2 # From configure.in Id: configure.in 51251 2008-01-16 16:09:00Z SC .
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
709 LIBGNOMEPRINTUI_CFLAGS
757 SAMPLES_RPATH_POSTLINK
813 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT
814 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT
815 COND_BUILD_DEBUG_UNICODE_0
816 COND_BUILD_DEBUG_UNICODE_1
818 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT
819 COND_BUILD_RELEASE_UNICODE_0
820 COND_BUILD_RELEASE_UNICODE_1
829 COND_MONOLITHIC_0_SHARED_0
830 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1
831 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
832 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1
833 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1
834 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1
835 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1
836 COND_MONOLITHIC_0_SHARED_0_USE_STC_1
837 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1
838 COND_MONOLITHIC_0_SHARED_1
839 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1
840 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
841 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1
842 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1
843 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1
844 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1
845 COND_MONOLITHIC_0_SHARED_1_USE_STC_1
846 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1
847 COND_MONOLITHIC_0_USE_AUI_1
848 COND_MONOLITHIC_0_USE_GUI_1
849 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1
850 COND_MONOLITHIC_0_USE_HTML_1
851 COND_MONOLITHIC_0_USE_MEDIA_1
852 COND_MONOLITHIC_0_USE_QA_1
853 COND_MONOLITHIC_0_USE_RICHTEXT_1
854 COND_MONOLITHIC_0_USE_STC_1
855 COND_MONOLITHIC_0_USE_XRC_1
857 COND_MONOLITHIC_1_SHARED_0
858 COND_MONOLITHIC_1_SHARED_1
859 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
860 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
861 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1
862 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
863 COND_PLATFORM_MACOSX_1
864 COND_PLATFORM_MACOSX_1_TOOLKIT_
865 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA
866 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK
867 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC
868 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1
869 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF
870 COND_PLATFORM_MACOSX_1_TOOLKIT_X11
871 COND_PLATFORM_MACOSX_1_USE_GUI_1
872 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
873 COND_PLATFORM_MACOS_1
875 COND_PLATFORM_MSDOS_0
876 COND_PLATFORM_MSDOS_1
880 COND_PLATFORM_UNIX_1_TOOLKIT_MGL
881 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1
882 COND_PLATFORM_UNIX_1_USE_GUI_1
883 COND_PLATFORM_UNIX_1_USE_PLUGINS_0
884 COND_PLATFORM_WIN32_0
885 COND_PLATFORM_WIN32_1
887 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0
888 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0
889 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0
890 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
891 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
892 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
893 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
894 COND_SHARED_0_USE_STC_1
895 COND_SHARED_0_WXUSE_EXPAT_BUILTIN
896 COND_SHARED_0_WXUSE_REGEX_BUILTIN
897 COND_SHARED_0_WXUSE_ZLIB_BUILTIN
899 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
902 COND_TOOLKIT_COCOA_USE_GUI_1
903 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
905 COND_TOOLKIT_DFB_USE_GUI_1
907 COND_TOOLKIT_GTK_TOOLKIT_VERSION_
908 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2
909 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1
910 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0
911 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_WXUNIV_0
912 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1
913 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0
914 COND_TOOLKIT_GTK_USE_GUI_1
916 COND_TOOLKIT_MAC_USE_GUI_1
917 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0
919 COND_TOOLKIT_MGL_USE_GUI_1
921 COND_TOOLKIT_MOTIF_USE_GUI_1
922 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
924 COND_TOOLKIT_MSW_USE_GUI_1
925 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
926 COND_TOOLKIT_MSW_WXUNIV_0
928 COND_TOOLKIT_PM_USE_GUI_1
929 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
931 COND_TOOLKIT_WINCE_USE_GUI_1
932 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0
933 COND_TOOLKIT_WINCE_WXUNIV_0
935 COND_TOOLKIT_X11_USE_GUI_1
937 COND_USE_EXCEPTIONS_0
938 COND_USE_EXCEPTIONS_1
941 COND_USE_GUI_1_USE_OPENGL_1
942 COND_USE_GUI_1_WXUNIV_0
943 COND_USE_GUI_1_WXUNIV_1
944 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
945 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
946 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
952 COND_USE_SOSYMLINKS_1
953 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1
954 COND_USE_SOVERLINUX_1
956 COND_USE_SOVERSOLARIS_1
961 COND_WINDOWS_IMPLIB_1
962 COND_WITH_PLUGIN_SDL_1
965 COND_WXUSE_EXPAT_BUILTIN
966 COND_WXUSE_LIBJPEG_BUILTIN
967 COND_WXUSE_LIBPNG_BUILTIN
968 COND_WXUSE_LIBTIFF_BUILTIN
969 COND_WXUSE_REGEX_BUILTIN
970 COND_WXUSE_ZLIB_BUILTIN
973 WX_LIBRARY_BASENAME_NOGUI
974 WX_LIBRARY_BASENAME_GUI
1006 WX_RESOURCES_MACOSX_ASCII
1007 WX_RESOURCES_MACOSX_DATA
1017 ac_precious_vars
='build_alias
1041 LIBGNOMEPRINTUI_CFLAGS
1042 LIBGNOMEPRINTUI_LIBS
1051 ac_subdirs_all
='src/tiff
1054 # Initialize some variables set by options.
1056 ac_init_version
=false
1057 # The variables have the same names as the options, with
1058 # dashes changed to underlines.
1059 cache_file
=/dev
/null
1066 program_transform_name
=s
,x
,x
,
1074 # Installation directory options.
1075 # These are left unexpanded so users can "make install exec_prefix=/foo"
1076 # and all the variables that are supposed to be based on exec_prefix
1077 # by default will actually change.
1078 # Use braces instead of parens because sh, perl, etc. also accept them.
1079 # (The list follows the same order as the GNU Coding Standards.)
1080 bindir
='${exec_prefix}/bin'
1081 sbindir
='${exec_prefix}/sbin'
1082 libexecdir
='${exec_prefix}/libexec'
1083 datarootdir
='${prefix}/share'
1084 datadir
='${datarootdir}'
1085 sysconfdir
='${prefix}/etc'
1086 sharedstatedir
='${prefix}/com'
1087 localstatedir
='${prefix}/var'
1088 includedir
='${prefix}/include'
1089 oldincludedir
='/usr/include'
1090 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
1091 infodir
='${datarootdir}/info'
1096 libdir
='${exec_prefix}/lib'
1097 localedir
='${datarootdir}/locale'
1098 mandir
='${datarootdir}/man'
1104 # If the previous option needs an argument, assign it.
1105 if test -n "$ac_prev"; then
1106 eval $ac_prev=\
$ac_option
1112 *=*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1116 # Accept the important Cygnus configure options, so we can diagnose typos.
1118 case $ac_dashdash$ac_option in
1122 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1124 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1125 bindir
=$ac_optarg ;;
1127 -build | --build | --buil | --bui | --bu)
1128 ac_prev
=build_alias
;;
1129 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1130 build_alias
=$ac_optarg ;;
1132 -cache-file | --cache-file | --cache-fil | --cache-fi \
1133 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1134 ac_prev
=cache_file
;;
1135 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1136 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1137 cache_file
=$ac_optarg ;;
1139 --config-cache | -C)
1140 cache_file
=config.cache
;;
1142 -datadir | --datadir | --datadi | --datad)
1144 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1145 datadir
=$ac_optarg ;;
1147 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1148 | --dataroo | --dataro | --datar)
1149 ac_prev
=datarootdir
;;
1150 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1151 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1152 datarootdir
=$ac_optarg ;;
1154 -disable-* | --disable-*)
1155 ac_feature
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1156 # Reject names that are not valid shell variable names.
1157 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1158 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1159 { (exit 1); exit 1; }; }
1160 ac_feature
=`echo $ac_feature | sed 's/[-.]/_/g'`
1161 eval enable_
$ac_feature=no
;;
1163 -docdir | --docdir | --docdi | --doc | --do)
1165 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1166 docdir
=$ac_optarg ;;
1168 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1170 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1171 dvidir
=$ac_optarg ;;
1173 -enable-* | --enable-*)
1174 ac_feature
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1175 # Reject names that are not valid shell variable names.
1176 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1177 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1178 { (exit 1); exit 1; }; }
1179 ac_feature
=`echo $ac_feature | sed 's/[-.]/_/g'`
1180 eval enable_
$ac_feature=\
$ac_optarg ;;
1182 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1183 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1184 | --exec | --exe | --ex)
1185 ac_prev
=exec_prefix
;;
1186 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1187 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1188 | --exec=* | --exe=* | --ex=*)
1189 exec_prefix
=$ac_optarg ;;
1191 -gas | --gas | --ga | --g)
1192 # Obsolete; use --with-gas.
1195 -help | --help | --hel | --he | -h)
1196 ac_init_help
=long
;;
1197 -help=r
* | --help=r
* | --hel=r
* | --he=r
* | -hr*)
1198 ac_init_help
=recursive
;;
1199 -help=s
* | --help=s
* | --hel=s
* | --he=s
* | -hs*)
1200 ac_init_help
=short
;;
1202 -host | --host | --hos | --ho)
1203 ac_prev
=host_alias
;;
1204 -host=* | --host=* | --hos=* | --ho=*)
1205 host_alias
=$ac_optarg ;;
1207 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1209 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1211 htmldir
=$ac_optarg ;;
1213 -includedir | --includedir | --includedi | --included | --include \
1214 | --includ | --inclu | --incl | --inc)
1215 ac_prev
=includedir
;;
1216 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1217 | --includ=* | --inclu=* | --incl=* | --inc=*)
1218 includedir
=$ac_optarg ;;
1220 -infodir | --infodir | --infodi | --infod | --info | --inf)
1222 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1223 infodir
=$ac_optarg ;;
1225 -libdir | --libdir | --libdi | --libd)
1227 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1228 libdir
=$ac_optarg ;;
1230 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1231 | --libexe | --libex | --libe)
1232 ac_prev
=libexecdir
;;
1233 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1234 | --libexe=* | --libex=* | --libe=*)
1235 libexecdir
=$ac_optarg ;;
1237 -localedir | --localedir | --localedi | --localed | --locale)
1238 ac_prev
=localedir
;;
1239 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1240 localedir
=$ac_optarg ;;
1242 -localstatedir | --localstatedir | --localstatedi | --localstated \
1243 | --localstate | --localstat | --localsta | --localst | --locals)
1244 ac_prev
=localstatedir
;;
1245 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1246 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1247 localstatedir
=$ac_optarg ;;
1249 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1251 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1252 mandir
=$ac_optarg ;;
1254 -nfp | --nfp | --nf)
1255 # Obsolete; use --without-fp.
1258 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1259 | --no-cr | --no-c | -n)
1262 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1263 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1266 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1267 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1268 | --oldin | --oldi | --old | --ol | --o)
1269 ac_prev
=oldincludedir
;;
1270 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1271 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1272 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1273 oldincludedir
=$ac_optarg ;;
1275 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1277 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1278 prefix
=$ac_optarg ;;
1280 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1281 | --program-pre | --program-pr | --program-p)
1282 ac_prev
=program_prefix
;;
1283 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1284 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1285 program_prefix
=$ac_optarg ;;
1287 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1288 | --program-suf | --program-su | --program-s)
1289 ac_prev
=program_suffix
;;
1290 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1291 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1292 program_suffix
=$ac_optarg ;;
1294 -program-transform-name | --program-transform-name \
1295 | --program-transform-nam | --program-transform-na \
1296 | --program-transform-n | --program-transform- \
1297 | --program-transform | --program-transfor \
1298 | --program-transfo | --program-transf \
1299 | --program-trans | --program-tran \
1300 | --progr-tra | --program-tr | --program-t)
1301 ac_prev
=program_transform_name
;;
1302 -program-transform-name=* | --program-transform-name=* \
1303 | --program-transform-nam=* | --program-transform-na=* \
1304 | --program-transform-n=* | --program-transform-=* \
1305 | --program-transform=* | --program-transfor=* \
1306 | --program-transfo=* | --program-transf=* \
1307 | --program-trans=* | --program-tran=* \
1308 | --progr-tra=* | --program-tr=* | --program-t=*)
1309 program_transform_name
=$ac_optarg ;;
1311 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1313 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1314 pdfdir
=$ac_optarg ;;
1316 -psdir | --psdir | --psdi | --psd | --ps)
1318 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1321 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1322 | -silent | --silent | --silen | --sile | --sil)
1325 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1327 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1329 sbindir
=$ac_optarg ;;
1331 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1332 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1333 | --sharedst | --shareds | --shared | --share | --shar \
1335 ac_prev
=sharedstatedir
;;
1336 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1337 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1338 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1340 sharedstatedir
=$ac_optarg ;;
1342 -site | --site | --sit)
1344 -site=* | --site=* | --sit=*)
1347 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1349 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1350 srcdir
=$ac_optarg ;;
1352 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1353 | --syscon | --sysco | --sysc | --sys | --sy)
1354 ac_prev
=sysconfdir
;;
1355 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1356 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1357 sysconfdir
=$ac_optarg ;;
1359 -target | --target | --targe | --targ | --tar | --ta | --t)
1360 ac_prev
=target_alias
;;
1361 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1362 target_alias
=$ac_optarg ;;
1364 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1367 -version | --version | --versio | --versi | --vers | -V)
1368 ac_init_version
=: ;;
1371 ac_package
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1372 # Reject names that are not valid shell variable names.
1373 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1374 { echo "$as_me: error: invalid package name: $ac_package" >&2
1375 { (exit 1); exit 1; }; }
1376 ac_package
=`echo $ac_package | sed 's/[-.]/_/g'`
1377 eval with_
$ac_package=\
$ac_optarg ;;
1379 -without-* | --without-*)
1380 ac_package
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1381 # Reject names that are not valid shell variable names.
1382 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1383 { echo "$as_me: error: invalid package name: $ac_package" >&2
1384 { (exit 1); exit 1; }; }
1385 ac_package
=`echo $ac_package | sed 's/[-.]/_/g'`
1386 eval with_
$ac_package=no
;;
1389 # Obsolete; use --with-x.
1392 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1393 | --x-incl | --x-inc | --x-in | --x-i)
1394 ac_prev
=x_includes
;;
1395 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1396 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1397 x_includes
=$ac_optarg ;;
1399 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1400 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1401 ac_prev
=x_libraries
;;
1402 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1403 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1404 x_libraries
=$ac_optarg ;;
1406 -*) { echo "$as_me: error: unrecognized option: $ac_option
1407 Try \`$0 --help' for more information." >&2
1408 { (exit 1); exit 1; }; }
1412 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1413 # Reject names that are not valid shell variable names.
1414 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
1415 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1416 { (exit 1); exit 1; }; }
1417 eval $ac_envvar=\
$ac_optarg
1418 export $ac_envvar ;;
1421 # FIXME: should be removed in autoconf 3.0.
1422 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1423 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1424 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1425 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1431 if test -n "$ac_prev"; then
1432 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1433 { echo "$as_me: error: missing argument to $ac_option" >&2
1434 { (exit 1); exit 1; }; }
1437 # Be sure to have absolute directory names.
1438 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1439 datadir sysconfdir sharedstatedir localstatedir includedir \
1440 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1441 libdir localedir mandir
1443 eval ac_val
=\$
$ac_var
1445 [\\/$
]* | ?
:[\\/]* ) continue;;
1446 NONE
| '' ) case $ac_var in *prefix
) continue;; esac;;
1448 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1449 { (exit 1); exit 1; }; }
1452 # There might be people who depend on the old broken behavior: `$host'
1453 # used to hold the argument of --host etc.
1454 # FIXME: To remove some day.
1457 target
=$target_alias
1459 # FIXME: To remove some day.
1460 if test "x$host_alias" != x
; then
1461 if test "x$build_alias" = x
; then
1462 cross_compiling
=maybe
1463 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1464 If a cross compiler is detected then cross compile mode will be used." >&2
1465 elif test "x$build_alias" != "x$host_alias"; then
1471 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1473 test "$silent" = yes && exec 6>/dev
/null
1476 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1477 ac_ls_di
=`ls -di .` &&
1478 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1479 { echo "$as_me: error: Working directory cannot be determined" >&2
1480 { (exit 1); exit 1; }; }
1481 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1482 { echo "$as_me: error: pwd does not report name of working directory" >&2
1483 { (exit 1); exit 1; }; }
1486 # Find the source files, if location was not specified.
1487 if test -z "$srcdir"; then
1488 ac_srcdir_defaulted
=yes
1489 # Try the directory containing this script, then the parent directory.
1490 ac_confdir
=`$as_dirname -- "$0" ||
1491 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1492 X"$0" : 'X\(//\)[^/]' \| \
1493 X"$0" : 'X\(//\)$' \| \
1494 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1496 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1514 if test ! -r "$srcdir/$ac_unique_file"; then
1518 ac_srcdir_defaulted
=no
1520 if test ! -r "$srcdir/$ac_unique_file"; then
1521 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1522 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1523 { (exit 1); exit 1; }; }
1525 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1527 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1528 { (exit 1); exit 1; }; }
1530 # When building in place, set srcdir=.
1531 if test "$ac_abs_confdir" = "$ac_pwd"; then
1534 # Remove unnecessary trailing slashes from srcdir.
1535 # Double slashes in file names in object file debugging info
1536 # mess up M-x gdb in Emacs.
1538 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1540 for ac_var
in $ac_precious_vars; do
1541 eval ac_env_
${ac_var}_set
=\
${${ac_var}+set}
1542 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1543 eval ac_cv_env_
${ac_var}_set
=\
${${ac_var}+set}
1544 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1548 # Report the --help message.
1550 if test "$ac_init_help" = "long"; then
1551 # Omit some internal or obsolete options to make the list less imposing.
1552 # This message is too long to be a string in the A/UX 3.1 sh.
1554 \`configure' configures wxWidgets 2.9.0 to adapt to many kinds of systems.
1556 Usage: $0 [OPTION]... [VAR=VALUE]...
1558 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1559 VAR=VALUE. See below for descriptions of some of the useful variables.
1561 Defaults for the options are specified in brackets.
1564 -h, --help display this help and exit
1565 --help=short display options specific to this package
1566 --help=recursive display the short help of all the included packages
1567 -V, --version display version information and exit
1568 -q, --quiet, --silent do not print \`checking...' messages
1569 --cache-file=FILE cache test results in FILE [disabled]
1570 -C, --config-cache alias for \`--cache-file=config.cache'
1571 -n, --no-create do not create output files
1572 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1574 Installation directories:
1575 --prefix=PREFIX install architecture-independent files in PREFIX
1576 [$ac_default_prefix]
1577 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1580 By default, \`make install' will install all the files in
1581 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1582 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1583 for instance \`--prefix=\$HOME'.
1585 For better control, use the options below.
1587 Fine tuning of the installation directories:
1588 --bindir=DIR user executables [EPREFIX/bin]
1589 --sbindir=DIR system admin executables [EPREFIX/sbin]
1590 --libexecdir=DIR program executables [EPREFIX/libexec]
1591 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1592 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1593 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1594 --libdir=DIR object code libraries [EPREFIX/lib]
1595 --includedir=DIR C header files [PREFIX/include]
1596 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1597 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1598 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1599 --infodir=DIR info documentation [DATAROOTDIR/info]
1600 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1601 --mandir=DIR man documentation [DATAROOTDIR/man]
1602 --docdir=DIR documentation root [DATAROOTDIR/doc/wxwidgets]
1603 --htmldir=DIR html documentation [DOCDIR]
1604 --dvidir=DIR dvi documentation [DOCDIR]
1605 --pdfdir=DIR pdf documentation [DOCDIR]
1606 --psdir=DIR ps documentation [DOCDIR]
1612 --x-includes=DIR X include files are
in DIR
1613 --x-libraries=DIR X library files are
in DIR
1616 --build=BUILD configure
for building on BUILD
[guessed
]
1617 --host=HOST cross
-compile to build programs to run on HOST
[BUILD
]
1618 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
1622 if test -n "$ac_init_help"; then
1623 case $ac_init_help in
1624 short
| recursive
) echo "Configuration of wxWidgets 2.9.0:";;
1629 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1630 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1631 --disable-gui don
't build GUI parts of the library
1632 --enable-monolithic build wxWidgets as single library
1633 --enable-plugins build parts of wxWidgets as loadable components
1634 --enable-official_build official build of wxWidgets (win32 DLL only)
1635 --enable-vendor=VENDOR vendor name (win32 DLL only)
1636 --disable-all-features disable all optional features to build minimal library
1637 --enable-universal use wxWidgets GUI controls instead of native ones
1638 --enable-nanox use NanoX
1639 --disable-gtk2 use GTK+ 1.2 instead of 2.0
1640 --enable-gpe use GNOME PDA Environment features if possible
1641 --disable-shared create static library instead of shared
1642 --disable-optimise create optimised code
1643 --enable-debug same as debug_flag and debug_info
1644 --enable-stl use STL for containers
1645 --enable-std_iostreams use standard C++ stream classes
1646 --enable-std_string use standard C++ string classes
1647 --disable-unicode compile without Unicode support
1648 --enable-mslu use MS Layer for Unicode on Windows 9x (Win32 only)
1649 --enable-utf8 use UTF-8 representation for strings (Unix only)
1650 --enable-utf8only only support UTF-8 locales in UTF-8 build (Unix only)
1651 --enable-extended_rtti use extended RTTI (XTI)
1652 --enable-omf use OMF object format
1653 --enable-debug_flag set __WXDEBUG__ flag (recommended for developers!)
1654 --enable-debug_info create code with debugging information
1655 --enable-debug_gdb create code with extra GDB debugging information
1656 --enable-debug_cntxt use wxDebugContext
1657 --enable-mem_tracing create code with memory tracing
1658 --enable-profile create code with profiling information
1659 --enable-no_rtti create code without RTTI information
1660 --enable-no_exceptions create code without C++ exceptions handling
1661 --enable-permissive compile code disregarding strict ANSI
1662 --enable-no_deps create code without dependency information
1663 --disable-vararg_macros don't use vararg macros
, even
if they are supported
1664 --enable-universal_binary create Mac PowerPC and Intel Universal binary
1665 --enable-compat26 enable wxWidgets
2.6 compatibility
1666 --disable-compat28 disable wxWidgets
2.8 compatibility
1667 --disable-rpath disable use of rpath
for uninstalled builds
1668 --enable-objc_uniquifying enable Objective
-C class name uniquifying
1669 --disable-visibility disable use of ELF symbols visibility even
if supported
1670 --enable-intl use internationalization system
1671 --enable-config use wxConfig
(and derived
) classes
1672 --enable-protocols use wxProtocol and derived classes
1673 --enable-ftp use wxFTP
(requires wxProtocol
1674 --enable-http use wxHTTP
(requires wxProtocol
1675 --enable-fileproto use wxFileProto class
(requires wxProtocol
1676 --enable-sockets use socket
/network classes
1677 --enable-ipv6 enable IPv6 support
in wxSocket
1678 --enable-ole use OLE classes
(Win32 only
)
1679 --enable-dataobj use data object classes
1680 --enable-ipc use interprocess communication
(wxSocket etc.
)
1681 --enable-baseevtloop use event loop
in console programs too
1682 --enable-epollloop use wxEpollDispatcher class
(Linux only
)
1683 --enable-selectloop use wxSelectDispatcher class
1684 --enable-apple_ieee use the Apple IEEE codec
1685 --enable-arcstream use wxArchive streams
1686 --enable-base64 use base64 encoding
/decoding functions
1687 --enable-backtrace use wxStackWalker class
for getting backtraces
1688 --enable-catch_segvs catch signals
in wxApp
::OnFatalException
(Unix only
)
1689 --enable-cmdline use wxCmdLineParser class
1690 --enable-datetime use wxDateTime class
1691 --enable-debugreport use wxDebugReport class
1692 --enable-dialupman use dialup network classes
1693 --enable-dynlib use wxLibrary class
for DLL loading
1694 --enable-dynamicloader use
(new
) wxDynamicLibrary class
1695 --enable-exceptions build exception
-safe library
1696 --enable-ffile use wxFFile class
1697 --enable-file use wxFile class
1698 --enable-filesystem use virtual
file systems classes
1699 --enable-fontenum use wxFontEnumerator class
1700 --enable-fontmap use font encodings conversion classes
1701 --enable-fs_archive use virtual archive filesystems
1702 --enable-fs_inet use virtual HTTP
/FTP filesystems
1703 --enable-fs_zip now replaced by fs_archive
1704 --enable-geometry use geometry class
1705 --enable-log use logging system
1706 --enable-longlong use wxLongLong class
1707 --enable-mimetype use wxMimeTypesManager
1708 --enable-snglinst use wxSingleInstanceChecker class
1709 --enable-stdpaths use wxStandardPaths class
1710 --enable-stopwatch use wxStopWatch class
1711 --enable-streams use wxStream etc classes
1712 --enable-sysoptions use wxSystemOptions
1713 --enable-tarstream use wxTar streams
1714 --enable-textbuf use wxTextBuffer class
1715 --enable-textfile use wxTextFile class
1716 --enable-timer use wxTimer class
1717 --enable-sound use wxSound class
1718 --enable-mediactrl use wxMediaCtrl class
1719 --enable-gstreamer8 force GStreamer
0.8 instead of
0.10 with the wxMediaCtrl class on unix
1720 --enable-printfposparam use wxVsnprintf
() which supports positional parameters
1721 --enable-zipstream use wxZip streams
1722 --enable-url use wxURL class
1723 --enable-variant use wxVariant class
1724 --enable-protocol use wxProtocol class
1725 --enable-protocol-http HTTP support
in wxProtocol
1726 --enable-protocol-ftp FTP support
in wxProtocol
1727 --enable-protocol-file FILE support
in wxProtocol
1728 --enable-threads use threads
1729 --enable-iniconf use wxIniConfig
(Win32 only
)
1730 --enable-regkey use wxRegKey class
(Win32 only
)
1731 --enable-docview use document view architecture
1732 --enable-help use
help subsystem
1733 --enable-mshtmlhelp use MS HTML Help
(win32
)
1734 --enable-html use wxHTML sub
-library
1735 --enable-htmlhelp use wxHTML
-based help
1736 --enable-xrc use XRC resources sub
-library
1737 --enable-aui use AUI docking library
1738 --enable-stc use wxStyledTextCtrl library
1739 --enable-constraints use layout
-constraints system
1740 --enable-printarch use printing architecture
1741 --enable-mdi use multiple document interface architecture
1742 --enable-mdidoc use docview architecture with MDI
1743 --enable-loggui use standard GUI logger
1744 --enable-logwin use wxLogWindow
1745 --enable-logdialog use wxLogDialog
1746 --enable-webkit use wxWebKitCtrl
(Mac
)
1747 --enable-richtext use wxRichTextCtrl
1748 --enable-graphics_ctx use graphics context
2D drawing API
1749 --enable-postscript use wxPostscriptDC device context
(default
for gtk
+)
1750 --enable-svg use wxSVGFileDC device context
1751 --enable-clipboard use wxClipboard class
1752 --enable-dnd use Drag
'n'Drop classes
1753 --enable-metafile use win32 metafiles
1754 --disable-controls disable compilation of all standard controls
1755 --enable-accel use accelerators
1756 --enable-animatectrl use wxAnimationCtrl class
1757 --enable-button use wxButton class
1758 --enable-bmpbutton use wxBitmapButton class
1759 --enable-bmpcombobox use wxBitmapComboBox class
1760 --enable-calendar use wxCalendarCtrl class
1761 --enable-caret use wxCaret class
1762 --enable-checkbox use wxCheckBox class
1763 --enable-checklst use wxCheckListBox
(listbox with checkboxes
) class
1764 --enable-choice use wxChoice class
1765 --enable-choicebook use wxChoicebook class
1766 --enable-collpane use wxCollapsiblePane class
1767 --enable-colourpicker use wxColourPickerCtrl class
1768 --enable-combobox use wxComboBox class
1769 --enable-comboctrl use wxComboCtrl class
1770 --enable-datepick use wxDatePickerCtrl class
1771 --enable-dirpicker use wxDirPickerCtrl class
1772 --enable-display use wxDisplay class
1773 --enable-detect_sm use code to detect X11 session manager
1774 --enable-editablebox use wxEditableListBox class
1775 --enable-filepicker use wxFilePickerCtrl class
1776 --enable-filectrl use wxFileCtrl class
1777 --enable-fontpicker use wxFontPickerCtrl class
1778 --enable-gauge use wxGauge class
1779 --enable-grid use wxGrid class
1780 --enable-dataviewctrl use wxDataViewCtrl class
1781 --enable-hyperlink use wxHyperlinkCtrl class
1782 --enable-imaglist use wxImageList class
1783 --enable-listbook use wxListbook class
1784 --enable-listbox use wxListBox class
1785 --enable-listctrl use wxListCtrl class
1786 --enable-notebook use wxNotebook class
1787 --enable-notifmsg use wxNotificationMessage class
1788 --enable-odcombobox use wxOwnerDrawnComboBox class
1789 --enable-radiobox use wxRadioBox class
1790 --enable-radiobtn use wxRadioButton class
1791 --enable-sash use wxSashWindow class
1792 --enable-scrollbar use wxScrollBar class and scrollable windows
1793 --enable-searchctrl use wxSearchCtrl class
1794 --enable-slider use wxSlider class
1795 --enable-spinbtn use wxSpinButton class
1796 --enable-spinctrl use wxSpinCtrl class
1797 --enable-splitter use wxSplitterWindow class
1798 --enable-statbmp use wxStaticBitmap class
1799 --enable-statbox use wxStaticBox class
1800 --enable-statline use wxStaticLine class
1801 --enable-stattext use wxStaticText class
1802 --enable-statusbar use wxStatusBar class
1803 --enable-tabdialog use wxTabControl class
1804 --enable-taskbaricon use wxTaskBarIcon class
1805 --enable-textctrl use wxTextCtrl class
1806 --enable-togglebtn use wxToggleButton class
1807 --enable-toolbar use wxToolBar class
1808 --enable-tbarnative use native wxToolBar class
1809 --enable-treebook use wxTreebook class
1810 --enable-toolbook use wxToolbook class
1811 --enable-treectrl use wxTreeCtrl class
1812 --enable-tipwindow use wxTipWindow class
1813 --enable-popupwin use wxPopUpWindow class
1814 --enable-commondlg use all common dialogs
1815 --enable-aboutdlg use wxAboutBox
1816 --enable-choicedlg use wxChoiceDialog
1817 --enable-coldlg use wxColourDialog
1818 --enable-filedlg use wxFileDialog
1819 --enable-finddlg use wxFindReplaceDialog
1820 --enable-fontdlg use wxFontDialog
1821 --enable-dirdlg use wxDirDialog
1822 --enable-msgdlg use wxMessageDialog
1823 --enable-numberdlg use wxNumberEntryDialog
1824 --enable-splash use wxSplashScreen
1825 --enable-textdlg use wxTextDialog
1826 --enable-tipdlg use startup tips
1827 --enable-progressdlg use wxProgressDialog
1828 --enable-wizarddlg use wxWizard
1829 --enable-menus use wxMenu
/wxMenuBar
/wxMenuItem classes
1830 --enable-miniframe use wxMiniFrame class
1831 --enable-tooltips use wxToolTip class
1832 --enable-splines use spline drawing code
1833 --enable-mousewheel use mousewheel
1834 --enable-validators use wxValidator and derived classes
1835 --enable-busyinfo use wxBusyInfo
1836 --enable-joystick use wxJoystick
1837 --enable-metafiles use wxMetaFile
(Win32 only
)
1838 --enable-dragimage use wxDragImage
1839 --enable-accessibility enable accessibility support
1840 --enable-palette use wxPalette class
1841 --enable-image use wxImage class
1842 --enable-gif use gif images
(GIF
file format
)
1843 --enable-pcx use pcx images
(PCX
file format
)
1844 --enable-tga use tga images
(TGA
file format
)
1845 --enable-iff use iff images
(IFF
file format
)
1846 --enable-pnm use pnm images
(PNM
file format
)
1847 --enable-xpm use xpm images
(XPM
file format
)
1848 --enable-ico_cur use Windows ICO and CUR formats
1849 --enable-dccache cache temporary wxDC objects
(Win32 only
)
1850 --enable-ps-in-msw use PS printing
in wxMSW
(Win32 only
)
1851 --enable-ownerdrawn use owner drawn controls
(Win32 and OS
/2 only
)
1852 --enable-uxtheme enable support
for Windows XP themed
look (Win32 only
)
1853 --enable-wxdib use wxDIB class
(Win32 only
)
1854 --enable-autoidman use automatic ids management
1855 --disable-largefile omit support
for large files
1856 --disable-gtktest do not try to compile and run a
test GTK
+ program
1857 --disable-gtktest Do not try to compile and run a
test GTK program
1858 --disable-sdltest Do not try to compile and run a
test SDL program
1859 --enable-omf use OMF object format
(OS
/2)
1860 --disable-dependency-tracking
1861 don
't use dependency tracking even if the compiler
1863 --disable-precomp-headers
1864 don't use precompiled headers even
if compiler can
1867 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1868 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1869 --without-subdirs don
't generate makefiles for samples/demos/...
1870 --with-flavour=NAME specify a name to identify this build
1871 --with-themes=all|list use only the specified comma-separated list of wxUniversal themes
1872 --with-gtk[=VERSION] use GTK+, VERSION can be 2 (default), 1 or "any"
1873 --with-motif use Motif/Lesstif
1874 --with-mac use Mac OS X
1875 --with-cocoa use Cocoa
1876 --with-wine use Wine
1877 --with-msw use MS-Windows
1878 --with-pm use OS/2 Presentation Manager
1879 --with-mgl use SciTech MGL
1880 --with-directfb use DirectFB
1881 --with-microwin use MicroWindows
1883 --with-libpng use libpng (PNG image format)
1884 --with-libjpeg use libjpeg (JPEG file format)
1885 --with-libtiff use libtiff (TIFF file format)
1886 --with-libxpm use libxpm (XPM file format)
1887 --with-libiconv use libiconv (character conversion)
1888 --with-libmspack use libmspack (CHM help files loading)
1889 --without-gtkprint don't use GTK printing support
1890 --without-gnomeprint don
't use GNOME printing libraries
1891 --with-gnomevfs use GNOME VFS for associating MIME types
1892 --with-hildon use Hildon framework for Nokia 770
1893 --with-opengl use OpenGL (or Mesa)
1894 --with-dmalloc use dmalloc library (http://dmalloc.com/)
1895 --with-sdl use SDL for audio on Unix
1896 --with-regex enable support for wxRegEx class
1897 --with-zlib use zlib for LZW compression
1898 --with-expat enable XML support using expat parser
1899 --with-macosx-sdk=PATH use an OS X SDK at PATH
1900 --with-macosx-version-min=VER build binaries which require at least this OS X version
1901 --with-gtk-prefix=PFX Prefix where GTK is installed (optional)
1902 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)
1903 --with-x use the X Window System
1904 --with-libiconv-prefix=DIR search for libiconv in DIR/include and DIR/lib
1905 --with-sdl-prefix=PFX Prefix where SDL is installed (optional)
1906 --with-sdl-exec-prefix=PFX Exec prefix where SDL is installed (optional)
1907 --with-cppunit-prefix=PFX Prefix where CppUnit is installed (optional)
1908 --with-cppunit-exec-prefix=PFX Exec prefix where CppUnit is installed (optional)
1910 Some influential environment variables:
1911 CC C compiler command
1912 CFLAGS C compiler flags
1913 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1914 nonstandard directory <lib dir>
1915 LIBS libraries to pass to the linker, e.g. -l<library>
1916 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1917 you have headers in a nonstandard directory <include dir>
1919 CXX C++ compiler command
1920 CXXFLAGS C++ compiler flags
1921 PKG_CONFIG path to pkg-config utility
1923 C compiler flags for DIRECTFB, overriding pkg-config
1925 linker flags for DIRECTFB, overriding pkg-config
1926 XMKMF Path to xmkmf, Makefile generator for X Window System
1928 C compiler flags for PANGOX, overriding pkg-config
1929 PANGOX_LIBS linker flags for PANGOX, overriding pkg-config
1931 C compiler flags for PANGOFT2, overriding pkg-config
1933 linker flags for PANGOFT2, overriding pkg-config
1935 C compiler flags for PANGOXFT, overriding pkg-config
1937 linker flags for PANGOXFT, overriding pkg-config
1939 C compiler flags for GTKPRINT, overriding pkg-config
1941 linker flags for GTKPRINT, overriding pkg-config
1942 LIBGNOMEPRINTUI_CFLAGS
1943 C compiler flags for LIBGNOMEPRINTUI, overriding pkg-config
1944 LIBGNOMEPRINTUI_LIBS
1945 linker flags for LIBGNOMEPRINTUI, overriding pkg-config
1947 C compiler flags for GNOMEVFS, overriding pkg-config
1949 linker flags for GNOMEVFS, overriding pkg-config
1951 C compiler flags for HILDON, overriding pkg-config
1952 HILDON_LIBS linker flags for HILDON, overriding pkg-config
1954 C compiler flags for CAIRO, overriding pkg-config
1955 CAIRO_LIBS linker flags for CAIRO, overriding pkg-config
1956 GST_CFLAGS C compiler flags for GST, overriding pkg-config
1957 GST_LIBS linker flags for GST, overriding pkg-config
1959 Use these variables to override the choices made by `configure' or to
help
1960 it to
find libraries and programs with nonstandard names
/locations.
1962 Report bugs to
<wx
-dev@lists.wxwidgets.org
>.
1967 if test "$ac_init_help" = "recursive"; then
1968 # If there are subdirs, report their specific --help.
1969 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
1970 test -d "$ac_dir" || continue
1974 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1976 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1977 # A ".." for each directory in $ac_dir_suffix.
1978 ac_top_builddir_sub
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1979 case $ac_top_builddir_sub in
1980 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1981 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
1984 ac_abs_top_builddir
=$ac_pwd
1985 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
1986 # for backward compatibility:
1987 ac_top_builddir
=$ac_top_build_prefix
1990 .
) # We are building in place.
1992 ac_top_srcdir
=$ac_top_builddir_sub
1993 ac_abs_top_srcdir
=$ac_pwd ;;
1994 [\\/]* | ?
:[\\/]* ) # Absolute name.
1995 ac_srcdir
=$srcdir$ac_dir_suffix;
1996 ac_top_srcdir
=$srcdir
1997 ac_abs_top_srcdir
=$srcdir ;;
1999 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
2000 ac_top_srcdir
=$ac_top_build_prefix$srcdir
2001 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
2003 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
2005 cd "$ac_dir" || { ac_status
=$?
; continue; }
2006 # Check for guested configure.
2007 if test -f "$ac_srcdir/configure.gnu"; then
2009 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2010 elif test -f "$ac_srcdir/configure"; then
2012 $SHELL "$ac_srcdir/configure" --help=recursive
2014 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2016 cd "$ac_pwd" || { ac_status
=$?
; break; }
2020 test -n "$ac_init_help" && exit $ac_status
2021 if $ac_init_version; then
2023 wxWidgets configure
2.9.0
2024 generated by GNU Autoconf
2.61
2026 Copyright
(C
) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
2027 2002, 2003, 2004, 2005, 2006 Free Software Foundation
, Inc.
2028 This configure
script is free software
; the Free Software Foundation
2029 gives unlimited permission to copy
, distribute and modify it.
2033 cat >config.log
<<_ACEOF
2034 This file contains any messages produced by compilers while
2035 running configure, to aid debugging if configure makes a mistake.
2037 It was created by wxWidgets $as_me 2.9.0, which was
2038 generated by GNU Autoconf 2.61. Invocation command line was
2050 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2051 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2052 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2053 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2054 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2056 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2057 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2059 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2060 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2061 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2062 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2063 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2064 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2065 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2069 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2073 test -z "$as_dir" && as_dir
=.
2074 echo "PATH: $as_dir"
2090 # Keep a trace of the command line.
2091 # Strip out --no-create and --no-recursion so they do not pile up.
2092 # Strip out --silent because we don't want to record it for future runs.
2093 # Also quote any args containing shell meta-characters.
2094 # Make two passes to allow for proper duplicate-argument suppression.
2098 ac_must_keep_next
=false
2104 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2105 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2106 | -silent | --silent | --silen | --sile | --sil)
2109 ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2112 1) ac_configure_args0
="$ac_configure_args0 '$ac_arg'" ;;
2114 ac_configure_args1
="$ac_configure_args1 '$ac_arg'"
2115 if test $ac_must_keep_next = true
; then
2116 ac_must_keep_next
=false
# Got value, back to normal.
2119 *=* | --config-cache | -C | -disable-* | --disable-* \
2120 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2121 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2122 | -with-* | --with-* | -without-* | --without-* | --x)
2123 case "$ac_configure_args0 " in
2124 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2127 -* ) ac_must_keep_next
=true
;;
2130 ac_configure_args
="$ac_configure_args '$ac_arg'"
2135 $as_unset ac_configure_args0
|| test "${ac_configure_args0+set}" != set || { ac_configure_args0
=; export ac_configure_args0
; }
2136 $as_unset ac_configure_args1
|| test "${ac_configure_args1+set}" != set || { ac_configure_args1
=; export ac_configure_args1
; }
2138 # When interrupted or exit'd, cleanup temporary files, and complete
2139 # config.log. We remove comments because anyway the quotes in there
2140 # would cause problems or look ugly.
2141 # WARNING: Use '\'' to represent an apostrophe within the trap.
2142 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2143 trap 'exit_status=$?
2144 # Save into config.log some information that might help in debugging.
2149 ## ---------------- ##
2150 ## Cache variables. ##
2151 ## ---------------- ##
2154 # The following way of writing the cache mishandles newlines in values,
2156 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2157 eval ac_val=\$$ac_var
2161 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
2162 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
2165 _ | IFS | as_nl) ;; #(
2166 *) $as_unset $ac_var ;;
2171 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2172 *${as_nl}ac_space=\ *)
2174 "s/'\''/'\''\\\\'\'''\''/g;
2175 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2178 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2186 ## ----------------- ##
2187 ## Output variables. ##
2188 ## ----------------- ##
2191 for ac_var in $ac_subst_vars
2193 eval ac_val=\$$ac_var
2195 *\'\''*) ac_val
=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2197 echo "$ac_var='\''$ac_val'\''"
2201 if test -n "$ac_subst_files"; then
2203 ## ------------------- ##
2204 ## File substitutions. ##
2205 ## ------------------- ##
2208 for ac_var
in $ac_subst_files
2210 eval ac_val
=\$
$ac_var
2212 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2214 echo "$ac_var='\''$ac_val'\''"
2219 if test -s confdefs.h; then
2229 test "$ac_signal" != 0 &&
2230 echo "$as_me: caught signal $ac_signal"
2231 echo "$as_me: exit $exit_status"
2233 rm -f core *.core core.conftest.* &&
2234 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2237 for ac_signal
in 1 2 13 15; do
2238 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
2242 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2243 rm -f -r conftest
* confdefs.h
2245 # Predefined preprocessor variables.
2247 cat >>confdefs.h
<<_ACEOF
2248 #define PACKAGE_NAME "$PACKAGE_NAME"
2252 cat >>confdefs.h
<<_ACEOF
2253 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2257 cat >>confdefs.h
<<_ACEOF
2258 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2262 cat >>confdefs.h
<<_ACEOF
2263 #define PACKAGE_STRING "$PACKAGE_STRING"
2267 cat >>confdefs.h
<<_ACEOF
2268 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2272 # Let the site file select an alternate cache file if it wants to.
2273 # Prefer explicitly selected file to automatically selected ones.
2274 if test -n "$CONFIG_SITE"; then
2275 set x
"$CONFIG_SITE"
2276 elif test "x$prefix" != xNONE
; then
2277 set x
"$prefix/share/config.site" "$prefix/etc/config.site"
2279 set x
"$ac_default_prefix/share/config.site" \
2280 "$ac_default_prefix/etc/config.site"
2285 if test -r "$ac_site_file"; then
2286 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
2287 echo "$as_me: loading site script $ac_site_file" >&6;}
2288 sed 's/^/| /' "$ac_site_file" >&5
2293 if test -r "$cache_file"; then
2294 # Some versions of bash will fail to source /dev/null (special
2295 # files actually), so we avoid doing that.
2296 if test -f "$cache_file"; then
2297 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
2298 echo "$as_me: loading cache $cache_file" >&6;}
2300 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
2301 *) .
"./$cache_file";;
2305 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
2306 echo "$as_me: creating cache $cache_file" >&6;}
2310 # Check that the precious variables saved in the cache have kept the same
2312 ac_cache_corrupted
=false
2313 for ac_var
in $ac_precious_vars; do
2314 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
2315 eval ac_new_set
=\
$ac_env_${ac_var}_set
2316 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
2317 eval ac_new_val
=\
$ac_env_${ac_var}_value
2318 case $ac_old_set,$ac_new_set in
2320 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2321 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2322 ac_cache_corrupted
=: ;;
2324 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
2325 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2326 ac_cache_corrupted
=: ;;
2329 if test "x$ac_old_val" != "x$ac_new_val"; then
2330 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
2331 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2332 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
2333 echo "$as_me: former value: $ac_old_val" >&2;}
2334 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
2335 echo "$as_me: current value: $ac_new_val" >&2;}
2336 ac_cache_corrupted
=:
2339 # Pass precious variables to config.status.
2340 if test "$ac_new_set" = set; then
2342 *\'*) ac_arg
=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2343 *) ac_arg
=$ac_var=$ac_new_val ;;
2345 case " $ac_configure_args " in
2346 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2347 *) ac_configure_args
="$ac_configure_args '$ac_arg'" ;;
2351 if $ac_cache_corrupted; then
2352 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
2353 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2354 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
2355 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
2356 { (exit 1); exit 1; }; }
2384 ac_cpp
='$CPP $CPPFLAGS'
2385 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2386 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2387 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2394 for ac_dir
in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2395 if test -f "$ac_dir/install-sh"; then
2397 ac_install_sh
="$ac_aux_dir/install-sh -c"
2399 elif test -f "$ac_dir/install.sh"; then
2401 ac_install_sh
="$ac_aux_dir/install.sh -c"
2403 elif test -f "$ac_dir/shtool"; then
2405 ac_install_sh
="$ac_aux_dir/shtool install -c"
2409 if test -z "$ac_aux_dir"; then
2410 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
2411 echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
2412 { (exit 1); exit 1; }; }
2415 # These three variables are undocumented and unsupported,
2416 # and are intended to be withdrawn in a future Autoconf release.
2417 # They can cause serious problems if a builder's source tree is in a directory
2418 # whose full name contains unusual characters.
2419 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2420 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2421 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2424 # Make sure we can run config.sub.
2425 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
2426 { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
2427 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
2428 { (exit 1); exit 1; }; }
2430 { echo "$as_me:$LINENO: checking build system type" >&5
2431 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
2432 if test "${ac_cv_build+set}" = set; then
2433 echo $ECHO_N "(cached) $ECHO_C" >&6
2435 ac_build_alias
=$build_alias
2436 test "x$ac_build_alias" = x
&&
2437 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
2438 test "x$ac_build_alias" = x
&&
2439 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
2440 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
2441 { (exit 1); exit 1; }; }
2442 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2443 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
2444 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
2445 { (exit 1); exit 1; }; }
2448 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
2449 echo "${ECHO_T}$ac_cv_build" >&6; }
2450 case $ac_cv_build in
2452 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
2453 echo "$as_me: error: invalid value of canonical build" >&2;}
2454 { (exit 1); exit 1; }; };;
2457 ac_save_IFS
=$IFS; IFS
='-'
2463 # Remember, the first character of IFS is used to create $*,
2464 # except with old shells:
2467 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
2470 { echo "$as_me:$LINENO: checking host system type" >&5
2471 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
2472 if test "${ac_cv_host+set}" = set; then
2473 echo $ECHO_N "(cached) $ECHO_C" >&6
2475 if test "x$host_alias" = x
; then
2476 ac_cv_host
=$ac_cv_build
2478 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2479 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
2480 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
2481 { (exit 1); exit 1; }; }
2485 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
2486 echo "${ECHO_T}$ac_cv_host" >&6; }
2489 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
2490 echo "$as_me: error: invalid value of canonical host" >&2;}
2491 { (exit 1); exit 1; }; };;
2494 ac_save_IFS
=$IFS; IFS
='-'
2500 # Remember, the first character of IFS is used to create $*,
2501 # except with old shells:
2504 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
2507 { echo "$as_me:$LINENO: checking target system type" >&5
2508 echo $ECHO_N "checking target system type... $ECHO_C" >&6; }
2509 if test "${ac_cv_target+set}" = set; then
2510 echo $ECHO_N "(cached) $ECHO_C" >&6
2512 if test "x$target_alias" = x
; then
2513 ac_cv_target
=$ac_cv_host
2515 ac_cv_target
=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2516 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&5
2517 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&2;}
2518 { (exit 1); exit 1; }; }
2522 { echo "$as_me:$LINENO: result: $ac_cv_target" >&5
2523 echo "${ECHO_T}$ac_cv_target" >&6; }
2524 case $ac_cv_target in
2526 *) { { echo "$as_me:$LINENO: error: invalid value of canonical target" >&5
2527 echo "$as_me: error: invalid value of canonical target" >&2;}
2528 { (exit 1); exit 1; }; };;
2530 target
=$ac_cv_target
2531 ac_save_IFS
=$IFS; IFS
='-'
2537 # Remember, the first character of IFS is used to create $*,
2538 # except with old shells:
2541 case $target_os in *\
*) target_os
=`echo "$target_os" | sed 's/ /-/g'`;; esac
2544 # The aliases save the names the user supplied, while $host etc.
2545 # will get canonicalized.
2546 test -n "$target_alias" &&
2547 test "$program_prefix$program_suffix$program_transform_name" = \
2549 program_prefix
=${target_alias}-
2553 wx_major_version_number
=2
2554 wx_minor_version_number
=9
2556 wx_subrelease_number
=0
2558 WX_RELEASE
=$wx_major_version_number.
$wx_minor_version_number
2559 WX_VERSION
=$WX_RELEASE.
$wx_release_number
2560 WX_SUBVERSION
=$WX_VERSION.
$wx_subrelease_number
2562 WX_MSW_VERSION
=$wx_major_version_number$wx_minor_version_number$wx_release_number
2565 wx_top_builddir
="`pwd`"
2578 USE_BSD
= USE_DARWIN
= USE_FREEBSD
=
2584 USE_SOLARIS
= USE_SUN
= USE_SUNOS
= USE_SVR4
= USE_SYSV
= USE_VMS
=
2590 NEEDS_D_REENTRANT_FOR_R_FUNCS
=0
2592 ALL_TOOLKITS
="COCOA GTK MAC MGL MICROWIN MOTIF MSW PM X11 DFB"
2594 DEFAULT_wxUSE_COCOA
=0
2598 DEFAULT_wxUSE_MICROWIN
=0
2599 DEFAULT_wxUSE_MOTIF
=0
2605 DEFAULT_DEFAULT_wxUSE_COCOA
=0
2606 DEFAULT_DEFAULT_wxUSE_GTK
=0
2607 DEFAULT_DEFAULT_wxUSE_MAC
=0
2608 DEFAULT_DEFAULT_wxUSE_MGL
=0
2609 DEFAULT_DEFAULT_wxUSE_MICROWIN
=0
2610 DEFAULT_DEFAULT_wxUSE_MOTIF
=0
2611 DEFAULT_DEFAULT_wxUSE_MSW
=0
2612 DEFAULT_DEFAULT_wxUSE_PM
=0
2613 DEFAULT_DEFAULT_wxUSE_X11
=0
2614 DEFAULT_DEFAULT_wxUSE_DFB
=0
2619 SAMPLES_RPATH_POSTLINK
=
2621 DEFAULT_STD_FLAG
=yes
2626 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
2627 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
2629 cat >>confdefs.h
<<\_ACEOF
2634 CPPFLAGS
="-D_HPUX_SOURCE $CPPFLAGS"
2638 cat >>confdefs.h
<<\_ACEOF
2643 if test "x$TMP" = "xalpha"; then
2645 cat >>confdefs.h
<<\_ACEOF
2650 DEFAULT_DEFAULT_wxUSE_GTK
=1
2652 *-*-gnu* | *-*-k*bsd
*-gnu )
2655 if test "x$TMP" = "xalpha"; then
2657 cat >>confdefs.h
<<\_ACEOF
2662 DEFAULT_DEFAULT_wxUSE_GTK
=1
2664 *-*-irix5* | *-*-irix6* )
2667 cat >>confdefs.h
<<\_ACEOF
2671 cat >>confdefs.h
<<\_ACEOF
2675 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
2681 cat >>confdefs.h
<<\_ACEOF
2685 cat >>confdefs.h
<<\_ACEOF
2686 #define __SOLARIS__ 1
2689 cat >>confdefs.h
<<\_ACEOF
2693 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
2694 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
2700 cat >>confdefs.h
<<\_ACEOF
2704 cat >>confdefs.h
<<\_ACEOF
2708 cat >>confdefs.h
<<\_ACEOF
2712 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
2717 cat >>confdefs.h
<<\_ACEOF
2718 #define __FREEBSD__ 1
2721 cat >>confdefs.h
<<\_ACEOF
2725 DEFAULT_DEFAULT_wxUSE_GTK
=1
2727 *-*-openbsd*|*-*-mirbsd*)
2730 cat >>confdefs.h
<<\_ACEOF
2731 #define __OPENBSD__ 1
2734 cat >>confdefs.h
<<\_ACEOF
2738 DEFAULT_DEFAULT_wxUSE_GTK
=1
2743 cat >>confdefs.h
<<\_ACEOF
2744 #define __NETBSD__ 1
2747 cat >>confdefs.h
<<\_ACEOF
2751 DEFAULT_DEFAULT_wxUSE_GTK
=1
2752 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
2754 CPPFLAGS
="-D_NETBSD_SOURCE -D_LIBC $CPPFLAGS"
2759 cat >>confdefs.h
<<\_ACEOF
2763 cat >>confdefs.h
<<\_ACEOF
2767 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
2768 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
2773 cat >>confdefs.h
<<\_ACEOF
2777 cat >>confdefs.h
<<\_ACEOF
2781 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
2786 cat >>confdefs.h
<<\_ACEOF
2790 cat >>confdefs.h
<<\_ACEOF
2794 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
2801 cat >>confdefs.h
<<\_ACEOF
2805 cat >>confdefs.h
<<\_ACEOF
2809 cat >>confdefs.h
<<\_ACEOF
2813 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
2820 cat >>confdefs.h
<<\_ACEOF
2821 #define __UNIXWARE__ 1
2826 *-*-cygwin* | *-*-mingw32* )
2829 DEFAULT_DEFAULT_wxUSE_MSW
=1
2835 cat >>confdefs.h
<<\_ACEOF
2840 DEFAULT_DEFAULT_wxUSE_MGL
=1
2843 *-pc-os2_emx | *-pc-os2-emx )
2844 cat >>confdefs.h
<<\_ACEOF
2849 cat >>confdefs.h
<<\_ACEOF
2854 DEFAULT_DEFAULT_wxUSE_PM
=1
2856 LDFLAGS
="$LDFLAGS -Zcrtdll"
2857 ac_executable_extensions
=".exe"
2858 export ac_executable_extensions
2862 for ac_dir
in $PATH; do
2864 if test -z "$ac_TEMP_PATH"; then
2865 ac_TEMP_PATH
="$ac_dir"
2867 ac_TEMP_PATH
="$ac_TEMP_PATH/$ac_dir"
2870 export PATH
="$ac_TEMP_PATH"
2879 cat >>confdefs.h
<<\_ACEOF
2883 cat >>confdefs.h
<<\_ACEOF
2884 #define __DARWIN__ 1
2887 cat >>confdefs.h
<<\_ACEOF
2888 #define TARGET_CARBON 1
2891 DEFAULT_DEFAULT_wxUSE_MAC
=1
2894 powerpc
-apple-macos* )
2896 ac_cv_c_bigendian
=yes
2898 DEFAULT_DEFAULT_wxUSE_MAC
=1
2904 cat >>confdefs.h
<<\_ACEOF
2911 { echo "$as_me:$LINENO: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&5
2912 echo "$as_me: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&2;}
2913 { echo "$as_me:$LINENO: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&5
2914 echo "$as_me: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&2;}
2916 DEFAULT_DEFAULT_wxUSE_X11
=1
2917 DEFAULT_wxUSE_SHARED
=no
2922 DEFAULT_wxUSE_ALL_FEATURES
=yes
2924 DEFAULT_wxUSE_STD_IOSTREAM
=$DEFAULT_STD_FLAG
2925 DEFAULT_wxUSE_STD_STRING
=$DEFAULT_STD_FLAG
2927 DEFAULT_wxUSE_DMALLOC
=no
2928 DEFAULT_wxUSE_LIBGNOMEVFS
=no
2929 DEFAULT_wxUSE_LIBHILDON
=no
2930 DEFAULT_wxUSE_LIBMSPACK
=no
2931 DEFAULT_wxUSE_LIBSDL
=no
2932 DEFAULT_wxUSE_OPENGL
=no
2934 DEFAULT_wxUSE_ACCESSIBILITY
=no
2935 DEFAULT_wxUSE_GRAPHICS_CONTEXT
=no
2936 DEFAULT_wxUSE_IPV6
=no
2937 DEFAULT_wxUSE_MEDIACTRL
=no
2938 DEFAULT_wxUSE_TAB_DIALOG
=no
2939 DEFAULT_wxUSE_GSTREAMER8
=no
2941 DEFAULT_wxUSE_UNICODE_UTF8
=auto
2942 DEFAULT_wxUSE_UNICODE_UTF8_LOCALE
=no
2944 DEFAULT_wxUSE_UNIVERSAL_BINARY
=no
2946 DEFAULT_wxUSE_OFFICIAL_BUILD
=no
2948 DEFAULT_wxUSE_GTK2
=yes
2950 DEFAULT_wxUSE_OBJC_UNIQUIFYING
=no
2956 enablestring
=disable
2958 if test -z "$defaultval"; then
2959 if test x
"$enablestring" = xdisable
; then
2966 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gui" >&5
2967 echo $ECHO_N "checking for --${enablestring:-enable}-gui... $ECHO_C" >&6; }
2968 # Check whether --enable-gui was given.
2969 if test "${enable_gui+set}" = set; then
2970 enableval
=$enable_gui;
2971 if test "$enableval" = yes; then
2972 wx_cv_use_gui
='wxUSE_GUI=yes'
2974 wx_cv_use_gui
='wxUSE_GUI=no'
2979 wx_cv_use_gui
='wxUSE_GUI=${'DEFAULT_wxUSE_GUI":-$defaultval}"
2984 eval "$wx_cv_use_gui"
2986 if test x"$enablestring" = xdisable; then
2987 if test $wxUSE_GUI = yes; then
2996 { echo "$as_me:$LINENO: result: $result" >&5
2997 echo "${ECHO_T}$result" >&6; }
3002 if test -z "$defaultval"; then
3003 if test x"$enablestring" = xdisable; then
3010 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-monolithic" >&5
3011 echo $ECHO_N "checking for --${enablestring:-enable}-monolithic... $ECHO_C" >&6; }
3012 # Check whether --enable-monolithic was given.
3013 if test "${enable_monolithic+set}" = set; then
3014 enableval=$enable_monolithic;
3015 if test "$enableval" = yes; then
3016 wx_cv_use_monolithic='wxUSE_MONOLITHIC
=yes'
3018 wx_cv_use_monolithic='wxUSE_MONOLITHIC
=no
'
3023 wx_cv_use_monolithic='wxUSE_MONOLITHIC
=${'DEFAULT_wxUSE_MONOLITHIC":-$defaultval}"
3028 eval "$wx_cv_use_monolithic"
3030 if test x"$enablestring" = xdisable; then
3031 if test $wxUSE_MONOLITHIC = yes; then
3037 result=$wxUSE_MONOLITHIC
3040 { echo "$as_me:$LINENO: result
: $result" >&5
3041 echo "${ECHO_T}$result" >&6; }
3046 if test -z "$defaultval"; then
3047 if test x"$enablestring" = xdisable; then
3054 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-plugins" >&5
3055 echo $ECHO_N "checking
for --${enablestring:-enable}-plugins...
$ECHO_C" >&6; }
3056 # Check whether --enable-plugins was given.
3057 if test "${enable_plugins+set}" = set; then
3058 enableval=$enable_plugins;
3059 if test "$enableval" = yes; then
3060 wx_cv_use_plugins='wxUSE_PLUGINS=yes'
3062 wx_cv_use_plugins='wxUSE_PLUGINS=no'
3067 wx_cv_use_plugins='wxUSE_PLUGINS=${'DEFAULT_wxUSE_PLUGINS":-$defaultval}"
3072 eval "$wx_cv_use_plugins"
3074 if test x
"$enablestring" = xdisable
; then
3075 if test $wxUSE_PLUGINS = yes; then
3081 result
=$wxUSE_PLUGINS
3084 { echo "$as_me:$LINENO: result: $result" >&5
3085 echo "${ECHO_T}$result" >&6; }
3089 defaultval
=$wxUSE_ALL_FEATURES
3090 if test -z "$defaultval"; then
3091 if test x
"$withstring" = xwithout
; then
3097 { echo "$as_me:$LINENO: checking for --${withstring:-with}-subdirs" >&5
3098 echo $ECHO_N "checking for --${withstring:-with}-subdirs... $ECHO_C" >&6; }
3100 # Check whether --with-subdirs was given.
3101 if test "${with_subdirs+set}" = set; then
3102 withval
=$with_subdirs;
3103 if test "$withval" = yes; then
3104 wx_cv_use_subdirs
='wxWITH_SUBDIRS=yes'
3106 wx_cv_use_subdirs
='wxWITH_SUBDIRS=no'
3111 wx_cv_use_subdirs
='wxWITH_SUBDIRS=${'DEFAULT_wxWITH_SUBDIRS":-$defaultval}"
3116 eval "$wx_cv_use_subdirs"
3118 if test x"$withstring" = xwithout; then
3119 if test $wxWITH_SUBDIRS = yes; then
3125 result=$wxWITH_SUBDIRS
3128 { echo "$as_me:$LINENO: result: $result" >&5
3129 echo "${ECHO_T}$result" >&6; }
3132 # Check whether --with-flavour was given.
3133 if test "${with_flavour+set}" = set; then
3134 withval=$with_flavour; WX_FLAVOUR="$withval"
3140 if test -z "$defaultval"; then
3141 if test x"$enablestring" = xdisable; then
3148 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-official_build" >&5
3149 echo $ECHO_N "checking for --${enablestring:-enable}-official_build... $ECHO_C" >&6; }
3150 # Check whether --enable-official_build was given.
3151 if test "${enable_official_build+set}" = set; then
3152 enableval=$enable_official_build;
3153 if test "$enableval" = yes; then
3154 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD
=yes'
3156 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD
=no
'
3161 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD
=${'DEFAULT_wxUSE_OFFICIAL_BUILD":-$defaultval}"
3166 eval "$wx_cv_use_official_build"
3168 if test x"$enablestring" = xdisable; then
3169 if test $wxUSE_OFFICIAL_BUILD = yes; then
3175 result=$wxUSE_OFFICIAL_BUILD
3178 { echo "$as_me:$LINENO: result
: $result" >&5
3179 echo "${ECHO_T}$result" >&6; }
3181 # Check whether --enable-vendor was given.
3182 if test "${enable_vendor+set}" = set; then
3183 enableval=$enable_vendor; VENDOR="$enableval"
3186 if test "x
$VENDOR" = "x
"; then
3191 enablestring=disable
3193 if test -z "$defaultval"; then
3194 if test x"$enablestring" = xdisable; then
3201 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-all-features" >&5
3202 echo $ECHO_N "checking
for --${enablestring:-enable}-all-features...
$ECHO_C" >&6; }
3203 # Check whether --enable-all-features was given.
3204 if test "${enable_all_features+set}" = set; then
3205 enableval=$enable_all_features;
3206 if test "$enableval" = yes; then
3207 wx_cv_use_all_features='wxUSE_ALL_FEATURES=yes'
3209 wx_cv_use_all_features='wxUSE_ALL_FEATURES=no'
3214 wx_cv_use_all_features='wxUSE_ALL_FEATURES=${'DEFAULT_wxUSE_ALL_FEATURES":-$defaultval}"
3219 eval "$wx_cv_use_all_features"
3221 if test x
"$enablestring" = xdisable
; then
3222 if test $wxUSE_ALL_FEATURES = yes; then
3228 result
=$wxUSE_ALL_FEATURES
3231 { echo "$as_me:$LINENO: result: $result" >&5
3232 echo "${ECHO_T}$result" >&6; }
3236 if test "$wxUSE_GUI" = "yes"; then
3241 if test -z "$defaultval"; then
3242 if test x
"$enablestring" = xdisable
; then
3249 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal" >&5
3250 echo $ECHO_N "checking for --${enablestring:-enable}-universal... $ECHO_C" >&6; }
3251 # Check whether --enable-universal was given.
3252 if test "${enable_universal+set}" = set; then
3253 enableval
=$enable_universal;
3254 if test "$enableval" = yes; then
3255 wx_cv_use_universal
='wxUSE_UNIVERSAL=yes'
3257 wx_cv_use_universal
='wxUSE_UNIVERSAL=no'
3262 wx_cv_use_universal
='wxUSE_UNIVERSAL=${'DEFAULT_wxUSE_UNIVERSAL":-$defaultval}"
3267 eval "$wx_cv_use_universal"
3269 if test x"$enablestring" = xdisable; then
3270 if test $wxUSE_UNIVERSAL = yes; then
3276 result=$wxUSE_UNIVERSAL
3279 { echo "$as_me:$LINENO: result: $result" >&5
3280 echo "${ECHO_T}$result" >&6; }
3282 if test "$wxUSE_UNIVERSAL" = "yes"; then
3284 # Check whether --with-themes was given.
3285 if test "${with_themes+set}" = set; then
3286 withval=$with_themes; wxUNIV_THEMES="$withval"
3292 # Check whether --with-gtk was given.
3293 if test "${with_gtk+set}" = set; then
3294 withval=$with_gtk; wxUSE_GTK="$withval" CACHE_GTK=1 TOOLKIT_GIVEN=1
3298 # Check whether --with-motif was given.
3299 if test "${with_motif+set}" = set; then
3300 withval=$with_motif; wxUSE_MOTIF="$withval" CACHE_MOTIF=1 TOOLKIT_GIVEN=1
3304 # Check whether --with-mac was given.
3305 if test "${with_mac+set}" = set; then
3306 withval=$with_mac; wxUSE_MAC="$withval" CACHE_MAC=1 TOOLKIT_GIVEN=1
3310 # Check whether --with-cocoa was given.
3311 if test "${with_cocoa+set}" = set; then
3312 withval=$with_cocoa; wxUSE_COCOA="$withval" CACHE_COCOA=1 TOOLKIT_GIVEN=1
3316 # Check whether --with-wine was given.
3317 if test "${with_wine+set}" = set; then
3318 withval=$with_wine; wxUSE_WINE="$withval" CACHE_WINE=1
3322 # Check whether --with-msw was given.
3323 if test "${with_msw+set}" = set; then
3324 withval=$with_msw; wxUSE_MSW="$withval" CACHE_MSW=1 TOOLKIT_GIVEN=1
3328 # Check whether --with-pm was given.
3329 if test "${with_pm+set}" = set; then
3330 withval=$with_pm; wxUSE_PM="$withval" CACHE_PM=1 TOOLKIT_GIVEN=1
3334 # Check whether --with-mgl was given.
3335 if test "${with_mgl+set}" = set; then
3336 withval=$with_mgl; wxUSE_MGL="$withval" wxUSE_UNIVERSAL="yes" CACHE_MGL=1 TOOLKIT_GIVEN=1
3340 # Check whether --with-directfb was given.
3341 if test "${with_directfb+set}" = set; then
3342 withval=$with_directfb; wxUSE_DFB="$withval" wxUSE_UNIVERSAL="yes" CACHE_DFB=1 TOOLKIT_GIVEN=1
3346 # Check whether --with-microwin was given.
3347 if test "${with_microwin+set}" = set; then
3348 withval=$with_microwin; wxUSE_MICROWIN="$withval" CACHE_MICROWIN=1 TOOLKIT_GIVEN=1
3352 # Check whether --with-x11 was given.
3353 if test "${with_x11+set}" = set; then
3354 withval=$with_x11; wxUSE_X11="$withval" wxUSE_UNIVERSAL="yes" CACHE_X11=1 TOOLKIT_GIVEN=1
3360 if test -z "$defaultval"; then
3361 if test x"$enablestring" = xdisable; then
3368 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-nanox" >&5
3369 echo $ECHO_N "checking for --${enablestring:-enable}-nanox... $ECHO_C" >&6; }
3370 # Check whether --enable-nanox was given.
3371 if test "${enable_nanox+set}" = set; then
3372 enableval=$enable_nanox;
3373 if test "$enableval" = yes; then
3374 wx_cv_use_nanox='wxUSE_NANOX
=yes'
3376 wx_cv_use_nanox='wxUSE_NANOX
=no
'
3381 wx_cv_use_nanox='wxUSE_NANOX
=${'DEFAULT_wxUSE_NANOX":-$defaultval}"
3386 eval "$wx_cv_use_nanox"
3388 if test x"$enablestring" = xdisable; then
3389 if test $wxUSE_NANOX = yes; then
3398 { echo "$as_me:$LINENO: result
: $result" >&5
3399 echo "${ECHO_T}$result" >&6; }
3402 # Check whether --enable-gtk2 was given.
3403 if test "${enable_gtk2+set}" = set; then
3404 enableval=$enable_gtk2; wxUSE_GTK2="$enableval"
3410 if test -z "$defaultval"; then
3411 if test x"$enablestring" = xdisable; then
3418 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-gpe" >&5
3419 echo $ECHO_N "checking
for --${enablestring:-enable}-gpe...
$ECHO_C" >&6; }
3420 # Check whether --enable-gpe was given.
3421 if test "${enable_gpe+set}" = set; then
3422 enableval=$enable_gpe;
3423 if test "$enableval" = yes; then
3424 wx_cv_use_gpe='wxUSE_GPE=yes'
3426 wx_cv_use_gpe='wxUSE_GPE=no'
3431 wx_cv_use_gpe='wxUSE_GPE=${'DEFAULT_wxUSE_GPE":-$defaultval}"
3436 eval "$wx_cv_use_gpe"
3438 if test x
"$enablestring" = xdisable
; then
3439 if test $wxUSE_GPE = yes; then
3448 { echo "$as_me:$LINENO: result: $result" >&5
3449 echo "${ECHO_T}$result" >&6; }
3453 { echo "$as_me:$LINENO: checking for toolkit" >&5
3454 echo $ECHO_N "checking for toolkit... $ECHO_C" >&6; }
3456 # In Wine, we need to default to MSW, not GTK or MOTIF
3457 if test "$wxUSE_WINE" = "yes"; then
3458 DEFAULT_DEFAULT_wxUSE_GTK
=0
3459 DEFAULT_DEFAULT_wxUSE_MOTIF
=0
3460 DEFAULT_DEFAULT_wxUSE_MSW
=1
3467 if test "$wxUSE_GUI" = "yes"; then
3469 if test "$USE_BEOS" = 1; then
3470 { { echo "$as_me:$LINENO: error: BeOS GUI is not supported yet, use --disable-gui" >&5
3471 echo "$as_me: error: BeOS GUI is not supported yet, use --disable-gui" >&2;}
3472 { (exit 1); exit 1; }; }
3475 if test "$TOOLKIT_GIVEN" = 1; then
3476 for toolkit
in $ALL_TOOLKITS; do
3478 eval "value=\$${var}"
3479 if test "x$value" = "xno"; then
3481 elif test "x$value" != "x"; then
3485 if test "x$value" != "x" -a "x$value" != "xyes" -a "x$value" != "xno"; then
3486 eval "wx${toolkit}_VERSION=$value"
3490 for toolkit
in $ALL_TOOLKITS; do
3491 var
=DEFAULT_DEFAULT_wxUSE_
$toolkit
3492 eval "wxUSE_$toolkit=\$${var}"
3496 NUM_TOOLKITS
=`expr ${wxUSE_COCOA:-0} + ${wxUSE_GTK:-0} + ${wxUSE_MAC:-0} \
3497 + ${wxUSE_MGL:-0} + ${wxUSE_DFB:-0} + ${wxUSE_MICROWIN:-0} \
3498 + ${wxUSE_MOTIF:-0} + ${wxUSE_MSW:-0} + ${wxUSE_X11:-0}`
3501 *-pc-os2_emx | *-pc-os2-emx )
3502 NUM_TOOLKITS
=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
3505 case "$NUM_TOOLKITS" in
3509 { { echo "$as_me:$LINENO: error: Please specify a toolkit -- cannot determine the default for ${host}" >&5
3510 echo "$as_me: error: Please specify a toolkit -- cannot determine the default for ${host}" >&2;}
3511 { (exit 1); exit 1; }; }
3514 { { echo "$as_me:$LINENO: error: Please specify at most one toolkit" >&5
3515 echo "$as_me: error: Please specify at most one toolkit" >&2;}
3516 { (exit 1); exit 1; }; }
3519 # to be removed when --disable-gtk2 isn't needed
3520 if test "x$wxUSE_GTK2" = "xyes"; then
3522 elif test "x$wxUSE_GTK2" = "xno"; then
3526 for toolkit
in $ALL_TOOLKITS; do
3528 eval "value=\$${var}"
3529 if test "$value" = 1; then
3530 toolkit_echo
=`echo $toolkit | tr '[A-Z]' '[a-z]'`
3531 { echo "$as_me:$LINENO: result: $toolkit_echo" >&5
3532 echo "${ECHO_T}$toolkit_echo" >&6; }
3536 if test "x$host_alias" != "x"; then
3537 { echo "$as_me:$LINENO: result: base ($host_alias hosted) only" >&5
3538 echo "${ECHO_T}base ($host_alias hosted) only" >&6; }
3540 { echo "$as_me:$LINENO: result: base only" >&5
3541 echo "${ECHO_T}base only" >&6; }
3547 { echo "$as_me:$LINENO: checking for --with-libpng" >&5
3548 echo $ECHO_N "checking for --with-libpng... $ECHO_C" >&6; }
3550 # Check whether --with-libpng was given.
3551 if test "${with_libpng+set}" = set; then
3552 withval
=$with_libpng;
3553 if test "$withval" = yes; then
3554 wx_cv_use_libpng
='wxUSE_LIBPNG=yes'
3555 elif test "$withval" = no
; then
3556 wx_cv_use_libpng
='wxUSE_LIBPNG=no'
3557 elif test "$withval" = sys
; then
3558 wx_cv_use_libpng
='wxUSE_LIBPNG=sys'
3559 elif test "$withval" = builtin; then
3560 wx_cv_use_libpng
='wxUSE_LIBPNG=builtin'
3562 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
3563 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
3564 { (exit 1); exit 1; }; }
3569 wx_cv_use_libpng
='wxUSE_LIBPNG=${'DEFAULT_wxUSE_LIBPNG":-$wxUSE_ALL_FEATURES}"
3574 eval "$wx_cv_use_libpng"
3576 if test "$wxUSE_LIBPNG" = yes; then
3577 { echo "$as_me:$LINENO: result: yes" >&5
3578 echo "${ECHO_T}yes" >&6; }
3579 elif test "$wxUSE_LIBPNG" = no; then
3580 { echo "$as_me:$LINENO: result: no" >&5
3581 echo "${ECHO_T}no" >&6; }
3582 elif test "$wxUSE_LIBPNG" = sys; then
3583 { echo "$as_me:$LINENO: result: system version" >&5
3584 echo "${ECHO_T}system version" >&6; }
3585 elif test "$wxUSE_LIBPNG" = builtin; then
3586 { echo "$as_me:$LINENO: result: builtin version" >&5
3587 echo "${ECHO_T}builtin version" >&6; }
3589 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
3590 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
3591 { (exit 1); exit 1; }; }
3595 { echo "$as_me:$LINENO: checking for --with-libjpeg" >&5
3596 echo $ECHO_N "checking for --with-libjpeg... $ECHO_C" >&6; }
3598 # Check whether --with-libjpeg was given.
3599 if test "${with_libjpeg+set}" = set; then
3600 withval=$with_libjpeg;
3601 if test "$withval" = yes; then
3602 wx_cv_use_libjpeg='wxUSE_LIBJPEG
=yes'
3603 elif test "$withval" = no; then
3604 wx_cv_use_libjpeg='wxUSE_LIBJPEG
=no
'
3605 elif test "$withval" = sys; then
3606 wx_cv_use_libjpeg='wxUSE_LIBJPEG
=sys
'
3607 elif test "$withval" = builtin; then
3608 wx_cv_use_libjpeg='wxUSE_LIBJPEG
=builtin'
3610 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
3611 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
3612 { (exit 1); exit 1; }; }
3617 wx_cv_use_libjpeg='wxUSE_LIBJPEG
=${'DEFAULT_wxUSE_LIBJPEG":-$wxUSE_ALL_FEATURES}"
3622 eval "$wx_cv_use_libjpeg"
3624 if test "$wxUSE_LIBJPEG" = yes; then
3625 { echo "$as_me:$LINENO: result
: yes" >&5
3626 echo "${ECHO_T}yes" >&6; }
3627 elif test "$wxUSE_LIBJPEG" = no; then
3628 { echo "$as_me:$LINENO: result
: no
" >&5
3629 echo "${ECHO_T}no
" >&6; }
3630 elif test "$wxUSE_LIBJPEG" = sys; then
3631 { echo "$as_me:$LINENO: result
: system version
" >&5
3632 echo "${ECHO_T}system version
" >&6; }
3633 elif test "$wxUSE_LIBJPEG" = builtin; then
3634 { echo "$as_me:$LINENO: result
: builtin version
" >&5
3635 echo "${ECHO_T}builtin version
" >&6; }
3637 { { echo "$as_me:$LINENO: error
: Invalid value
for --with-libjpeg: should be
yes, no
, sys
, or
builtin" >&5
3638 echo "$as_me: error
: Invalid value
for --with-libjpeg: should be
yes, no
, sys
, or
builtin" >&2;}
3639 { (exit 1); exit 1; }; }
3643 { echo "$as_me:$LINENO: checking
for --with-libtiff" >&5
3644 echo $ECHO_N "checking
for --with-libtiff...
$ECHO_C" >&6; }
3646 # Check whether --with-libtiff was given.
3647 if test "${with_libtiff+set}" = set; then
3648 withval=$with_libtiff;
3649 if test "$withval" = yes; then
3650 wx_cv_use_libtiff='wxUSE_LIBTIFF=yes'
3651 elif test "$withval" = no; then
3652 wx_cv_use_libtiff='wxUSE_LIBTIFF=no'
3653 elif test "$withval" = sys; then
3654 wx_cv_use_libtiff='wxUSE_LIBTIFF=sys'
3655 elif test "$withval" = builtin; then
3656 wx_cv_use_libtiff='wxUSE_LIBTIFF=builtin'
3658 { { echo "$as_me:$LINENO: error
: Invalid value
for --with-libtiff: should be
yes, no
, sys
, or
builtin" >&5
3659 echo "$as_me: error
: Invalid value
for --with-libtiff: should be
yes, no
, sys
, or
builtin" >&2;}
3660 { (exit 1); exit 1; }; }
3665 wx_cv_use_libtiff='wxUSE_LIBTIFF=${'DEFAULT_wxUSE_LIBTIFF":-$wxUSE_ALL_FEATURES}"
3670 eval "$wx_cv_use_libtiff"
3672 if test "$wxUSE_LIBTIFF" = yes; then
3673 { echo "$as_me:$LINENO: result: yes" >&5
3674 echo "${ECHO_T}yes" >&6; }
3675 elif test "$wxUSE_LIBTIFF" = no
; then
3676 { echo "$as_me:$LINENO: result: no" >&5
3677 echo "${ECHO_T}no" >&6; }
3678 elif test "$wxUSE_LIBTIFF" = sys
; then
3679 { echo "$as_me:$LINENO: result: system version" >&5
3680 echo "${ECHO_T}system version" >&6; }
3681 elif test "$wxUSE_LIBTIFF" = builtin; then
3682 { echo "$as_me:$LINENO: result: builtin version" >&5
3683 echo "${ECHO_T}builtin version" >&6; }
3685 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
3686 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
3687 { (exit 1); exit 1; }; }
3691 { echo "$as_me:$LINENO: checking for --with-libxpm" >&5
3692 echo $ECHO_N "checking for --with-libxpm... $ECHO_C" >&6; }
3694 # Check whether --with-libxpm was given.
3695 if test "${with_libxpm+set}" = set; then
3696 withval
=$with_libxpm;
3697 if test "$withval" = yes; then
3698 wx_cv_use_libxpm
='wxUSE_LIBXPM=yes'
3699 elif test "$withval" = no
; then
3700 wx_cv_use_libxpm
='wxUSE_LIBXPM=no'
3701 elif test "$withval" = sys
; then
3702 wx_cv_use_libxpm
='wxUSE_LIBXPM=sys'
3703 elif test "$withval" = builtin; then
3704 wx_cv_use_libxpm
='wxUSE_LIBXPM=builtin'
3706 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3707 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3708 { (exit 1); exit 1; }; }
3713 wx_cv_use_libxpm
='wxUSE_LIBXPM=${'DEFAULT_wxUSE_LIBXPM":-$wxUSE_ALL_FEATURES}"
3718 eval "$wx_cv_use_libxpm"
3720 if test "$wxUSE_LIBXPM" = yes; then
3721 { echo "$as_me:$LINENO: result: yes" >&5
3722 echo "${ECHO_T}yes" >&6; }
3723 elif test "$wxUSE_LIBXPM" = no; then
3724 { echo "$as_me:$LINENO: result: no" >&5
3725 echo "${ECHO_T}no" >&6; }
3726 elif test "$wxUSE_LIBXPM" = sys; then
3727 { echo "$as_me:$LINENO: result: system version" >&5
3728 echo "${ECHO_T}system version" >&6; }
3729 elif test "$wxUSE_LIBXPM" = builtin; then
3730 { echo "$as_me:$LINENO: result: builtin version" >&5
3731 echo "${ECHO_T}builtin version" >&6; }
3733 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3734 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3735 { (exit 1); exit 1; }; }
3740 defaultval=$wxUSE_ALL_FEATURES
3741 if test -z "$defaultval"; then
3742 if test x"$withstring" = xwithout; then
3748 { echo "$as_me:$LINENO: checking for --${withstring:-with}-libiconv" >&5
3749 echo $ECHO_N "checking for --${withstring:-with}-libiconv... $ECHO_C" >&6; }
3751 # Check whether --with-libiconv was given.
3752 if test "${with_libiconv+set}" = set; then
3753 withval=$with_libiconv;
3754 if test "$withval" = yes; then
3755 wx_cv_use_libiconv='wxUSE_LIBICONV
=yes'
3757 wx_cv_use_libiconv='wxUSE_LIBICONV
=no
'
3762 wx_cv_use_libiconv='wxUSE_LIBICONV
=${'DEFAULT_wxUSE_LIBICONV":-$defaultval}"
3767 eval "$wx_cv_use_libiconv"
3769 if test x"$withstring" = xwithout; then
3770 if test $wxUSE_LIBICONV = yes; then
3776 result=$wxUSE_LIBICONV
3779 { echo "$as_me:$LINENO: result
: $result" >&5
3780 echo "${ECHO_T}$result" >&6; }
3784 defaultval=$wxUSE_ALL_FEATURES
3785 if test -z "$defaultval"; then
3786 if test x"$withstring" = xwithout; then
3792 { echo "$as_me:$LINENO: checking
for --${withstring:-with}-libmspack" >&5
3793 echo $ECHO_N "checking
for --${withstring:-with}-libmspack...
$ECHO_C" >&6; }
3795 # Check whether --with-libmspack was given.
3796 if test "${with_libmspack+set}" = set; then
3797 withval=$with_libmspack;
3798 if test "$withval" = yes; then
3799 wx_cv_use_libmspack='wxUSE_LIBMSPACK=yes'
3801 wx_cv_use_libmspack='wxUSE_LIBMSPACK=no'
3806 wx_cv_use_libmspack='wxUSE_LIBMSPACK=${'DEFAULT_wxUSE_LIBMSPACK":-$defaultval}"
3811 eval "$wx_cv_use_libmspack"
3813 if test x
"$withstring" = xwithout
; then
3814 if test $wxUSE_LIBMSPACK = yes; then
3820 result
=$wxUSE_LIBMSPACK
3823 { echo "$as_me:$LINENO: result: $result" >&5
3824 echo "${ECHO_T}$result" >&6; }
3828 defaultval
=$wxUSE_ALL_FEATURES
3829 if test -z "$defaultval"; then
3830 if test x
"$withstring" = xwithout
; then
3836 { echo "$as_me:$LINENO: checking for --${withstring:-with}-gtkprint" >&5
3837 echo $ECHO_N "checking for --${withstring:-with}-gtkprint... $ECHO_C" >&6; }
3839 # Check whether --with-gtkprint was given.
3840 if test "${with_gtkprint+set}" = set; then
3841 withval
=$with_gtkprint;
3842 if test "$withval" = yes; then
3843 wx_cv_use_gtkprint
='wxUSE_GTKPRINT=yes'
3845 wx_cv_use_gtkprint
='wxUSE_GTKPRINT=no'
3850 wx_cv_use_gtkprint
='wxUSE_GTKPRINT=${'DEFAULT_wxUSE_GTKPRINT":-$defaultval}"
3855 eval "$wx_cv_use_gtkprint"
3857 if test x"$withstring" = xwithout; then
3858 if test $wxUSE_GTKPRINT = yes; then
3864 result=$wxUSE_GTKPRINT
3867 { echo "$as_me:$LINENO: result: $result" >&5
3868 echo "${ECHO_T}$result" >&6; }
3872 defaultval=$wxUSE_ALL_FEATURES
3873 if test -z "$defaultval"; then
3874 if test x"$withstring" = xwithout; then
3880 { echo "$as_me:$LINENO: checking for --${withstring:-with}-gnomeprint" >&5
3881 echo $ECHO_N "checking for --${withstring:-with}-gnomeprint... $ECHO_C" >&6; }
3883 # Check whether --with-gnomeprint was given.
3884 if test "${with_gnomeprint+set}" = set; then
3885 withval=$with_gnomeprint;
3886 if test "$withval" = yes; then
3887 wx_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT
=yes'
3889 wx_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT
=no
'
3894 wx_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT
=${'DEFAULT_wxUSE_LIBGNOMEPRINT":-$defaultval}"
3899 eval "$wx_cv_use_gnomeprint"
3901 if test x"$withstring" = xwithout; then
3902 if test $wxUSE_LIBGNOMEPRINT = yes; then
3908 result=$wxUSE_LIBGNOMEPRINT
3911 { echo "$as_me:$LINENO: result
: $result" >&5
3912 echo "${ECHO_T}$result" >&6; }
3916 defaultval=$wxUSE_ALL_FEATURES
3917 if test -z "$defaultval"; then
3918 if test x"$withstring" = xwithout; then
3924 { echo "$as_me:$LINENO: checking
for --${withstring:-with}-gnomevfs" >&5
3925 echo $ECHO_N "checking
for --${withstring:-with}-gnomevfs...
$ECHO_C" >&6; }
3927 # Check whether --with-gnomevfs was given.
3928 if test "${with_gnomevfs+set}" = set; then
3929 withval=$with_gnomevfs;
3930 if test "$withval" = yes; then
3931 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=yes'
3933 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=no'
3938 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=${'DEFAULT_wxUSE_LIBGNOMEVFS":-$defaultval}"
3943 eval "$wx_cv_use_gnomevfs"
3945 if test x
"$withstring" = xwithout
; then
3946 if test $wxUSE_LIBGNOMEVFS = yes; then
3952 result
=$wxUSE_LIBGNOMEVFS
3955 { echo "$as_me:$LINENO: result: $result" >&5
3956 echo "${ECHO_T}$result" >&6; }
3960 defaultval
=$wxUSE_ALL_FEATURES
3961 if test -z "$defaultval"; then
3962 if test x
"$withstring" = xwithout
; then
3968 { echo "$as_me:$LINENO: checking for --${withstring:-with}-hildon" >&5
3969 echo $ECHO_N "checking for --${withstring:-with}-hildon... $ECHO_C" >&6; }
3971 # Check whether --with-hildon was given.
3972 if test "${with_hildon+set}" = set; then
3973 withval
=$with_hildon;
3974 if test "$withval" = yes; then
3975 wx_cv_use_hildon
='wxUSE_LIBHILDON=yes'
3977 wx_cv_use_hildon
='wxUSE_LIBHILDON=no'
3982 wx_cv_use_hildon
='wxUSE_LIBHILDON=${'DEFAULT_wxUSE_LIBHILDON":-$defaultval}"
3987 eval "$wx_cv_use_hildon"
3989 if test x"$withstring" = xwithout; then
3990 if test $wxUSE_LIBHILDON = yes; then
3996 result=$wxUSE_LIBHILDON
3999 { echo "$as_me:$LINENO: result: $result" >&5
4000 echo "${ECHO_T}$result" >&6; }
4004 defaultval=$wxUSE_ALL_FEATURES
4005 if test -z "$defaultval"; then
4006 if test x"$withstring" = xwithout; then
4012 { echo "$as_me:$LINENO: checking for --${withstring:-with}-opengl" >&5
4013 echo $ECHO_N "checking for --${withstring:-with}-opengl... $ECHO_C" >&6; }
4015 # Check whether --with-opengl was given.
4016 if test "${with_opengl+set}" = set; then
4017 withval=$with_opengl;
4018 if test "$withval" = yes; then
4019 wx_cv_use_opengl='wxUSE_OPENGL
=yes'
4021 wx_cv_use_opengl='wxUSE_OPENGL
=no
'
4026 wx_cv_use_opengl='wxUSE_OPENGL
=${'DEFAULT_wxUSE_OPENGL":-$defaultval}"
4031 eval "$wx_cv_use_opengl"
4033 if test x"$withstring" = xwithout; then
4034 if test $wxUSE_OPENGL = yes; then
4040 result=$wxUSE_OPENGL
4043 { echo "$as_me:$LINENO: result
: $result" >&5
4044 echo "${ECHO_T}$result" >&6; }
4051 defaultval=$wxUSE_ALL_FEATURES
4052 if test -z "$defaultval"; then
4053 if test x"$withstring" = xwithout; then
4059 { echo "$as_me:$LINENO: checking
for --${withstring:-with}-dmalloc" >&5
4060 echo $ECHO_N "checking
for --${withstring:-with}-dmalloc...
$ECHO_C" >&6; }
4062 # Check whether --with-dmalloc was given.
4063 if test "${with_dmalloc+set}" = set; then
4064 withval=$with_dmalloc;
4065 if test "$withval" = yes; then
4066 wx_cv_use_dmalloc='wxUSE_DMALLOC=yes'
4068 wx_cv_use_dmalloc='wxUSE_DMALLOC=no'
4073 wx_cv_use_dmalloc='wxUSE_DMALLOC=${'DEFAULT_wxUSE_DMALLOC":-$defaultval}"
4078 eval "$wx_cv_use_dmalloc"
4080 if test x
"$withstring" = xwithout
; then
4081 if test $wxUSE_DMALLOC = yes; then
4087 result
=$wxUSE_DMALLOC
4090 { echo "$as_me:$LINENO: result: $result" >&5
4091 echo "${ECHO_T}$result" >&6; }
4095 defaultval
=$wxUSE_ALL_FEATURES
4096 if test -z "$defaultval"; then
4097 if test x
"$withstring" = xwithout
; then
4103 { echo "$as_me:$LINENO: checking for --${withstring:-with}-sdl" >&5
4104 echo $ECHO_N "checking for --${withstring:-with}-sdl... $ECHO_C" >&6; }
4106 # Check whether --with-sdl was given.
4107 if test "${with_sdl+set}" = set; then
4109 if test "$withval" = yes; then
4110 wx_cv_use_sdl
='wxUSE_LIBSDL=yes'
4112 wx_cv_use_sdl
='wxUSE_LIBSDL=no'
4117 wx_cv_use_sdl
='wxUSE_LIBSDL=${'DEFAULT_wxUSE_LIBSDL":-$defaultval}"
4122 eval "$wx_cv_use_sdl"
4124 if test x"$withstring" = xwithout; then
4125 if test $wxUSE_LIBSDL = yes; then
4131 result=$wxUSE_LIBSDL
4134 { echo "$as_me:$LINENO: result: $result" >&5
4135 echo "${ECHO_T}$result" >&6; }
4138 { echo "$as_me:$LINENO: checking for --with-regex" >&5
4139 echo $ECHO_N "checking for --with-regex... $ECHO_C" >&6; }
4141 # Check whether --with-regex was given.
4142 if test "${with_regex+set}" = set; then
4143 withval=$with_regex;
4144 if test "$withval" = yes; then
4145 wx_cv_use_regex='wxUSE_REGEX
=yes'
4146 elif test "$withval" = no; then
4147 wx_cv_use_regex='wxUSE_REGEX
=no
'
4148 elif test "$withval" = sys; then
4149 wx_cv_use_regex='wxUSE_REGEX
=sys
'
4150 elif test "$withval" = builtin; then
4151 wx_cv_use_regex='wxUSE_REGEX
=builtin'
4153 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
4154 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
4155 { (exit 1); exit 1; }; }
4160 wx_cv_use_regex='wxUSE_REGEX
=${'DEFAULT_wxUSE_REGEX":-$wxUSE_ALL_FEATURES}"
4165 eval "$wx_cv_use_regex"
4167 if test "$wxUSE_REGEX" = yes; then
4168 { echo "$as_me:$LINENO: result
: yes" >&5
4169 echo "${ECHO_T}yes" >&6; }
4170 elif test "$wxUSE_REGEX" = no; then
4171 { echo "$as_me:$LINENO: result
: no
" >&5
4172 echo "${ECHO_T}no
" >&6; }
4173 elif test "$wxUSE_REGEX" = sys; then
4174 { echo "$as_me:$LINENO: result
: system version
" >&5
4175 echo "${ECHO_T}system version
" >&6; }
4176 elif test "$wxUSE_REGEX" = builtin; then
4177 { echo "$as_me:$LINENO: result
: builtin version
" >&5
4178 echo "${ECHO_T}builtin version
" >&6; }
4180 { { echo "$as_me:$LINENO: error
: Invalid value
for --with-regex: should be
yes, no
, sys
, or
builtin" >&5
4181 echo "$as_me: error
: Invalid value
for --with-regex: should be
yes, no
, sys
, or
builtin" >&2;}
4182 { (exit 1); exit 1; }; }
4186 { echo "$as_me:$LINENO: checking
for --with-zlib" >&5
4187 echo $ECHO_N "checking
for --with-zlib...
$ECHO_C" >&6; }
4189 # Check whether --with-zlib was given.
4190 if test "${with_zlib+set}" = set; then
4192 if test "$withval" = yes; then
4193 wx_cv_use_zlib='wxUSE_ZLIB=yes'
4194 elif test "$withval" = no; then
4195 wx_cv_use_zlib='wxUSE_ZLIB=no'
4196 elif test "$withval" = sys; then
4197 wx_cv_use_zlib='wxUSE_ZLIB=sys'
4198 elif test "$withval" = builtin; then
4199 wx_cv_use_zlib='wxUSE_ZLIB=builtin'
4201 { { echo "$as_me:$LINENO: error
: Invalid value
for --with-zlib: should be
yes, no
, sys
, or
builtin" >&5
4202 echo "$as_me: error
: Invalid value
for --with-zlib: should be
yes, no
, sys
, or
builtin" >&2;}
4203 { (exit 1); exit 1; }; }
4208 wx_cv_use_zlib='wxUSE_ZLIB=${'DEFAULT_wxUSE_ZLIB":-$wxUSE_ALL_FEATURES}"
4213 eval "$wx_cv_use_zlib"
4215 if test "$wxUSE_ZLIB" = yes; then
4216 { echo "$as_me:$LINENO: result: yes" >&5
4217 echo "${ECHO_T}yes" >&6; }
4218 elif test "$wxUSE_ZLIB" = no
; then
4219 { echo "$as_me:$LINENO: result: no" >&5
4220 echo "${ECHO_T}no" >&6; }
4221 elif test "$wxUSE_ZLIB" = sys
; then
4222 { echo "$as_me:$LINENO: result: system version" >&5
4223 echo "${ECHO_T}system version" >&6; }
4224 elif test "$wxUSE_ZLIB" = builtin; then
4225 { echo "$as_me:$LINENO: result: builtin version" >&5
4226 echo "${ECHO_T}builtin version" >&6; }
4228 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
4229 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
4230 { (exit 1); exit 1; }; }
4234 { echo "$as_me:$LINENO: checking for --with-expat" >&5
4235 echo $ECHO_N "checking for --with-expat... $ECHO_C" >&6; }
4237 # Check whether --with-expat was given.
4238 if test "${with_expat+set}" = set; then
4239 withval
=$with_expat;
4240 if test "$withval" = yes; then
4241 wx_cv_use_expat
='wxUSE_EXPAT=yes'
4242 elif test "$withval" = no
; then
4243 wx_cv_use_expat
='wxUSE_EXPAT=no'
4244 elif test "$withval" = sys
; then
4245 wx_cv_use_expat
='wxUSE_EXPAT=sys'
4246 elif test "$withval" = builtin; then
4247 wx_cv_use_expat
='wxUSE_EXPAT=builtin'
4249 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
4250 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
4251 { (exit 1); exit 1; }; }
4256 wx_cv_use_expat
='wxUSE_EXPAT=${'DEFAULT_wxUSE_EXPAT":-$wxUSE_ALL_FEATURES}"
4261 eval "$wx_cv_use_expat"
4263 if test "$wxUSE_EXPAT" = yes; then
4264 { echo "$as_me:$LINENO: result: yes" >&5
4265 echo "${ECHO_T}yes" >&6; }
4266 elif test "$wxUSE_EXPAT" = no; then
4267 { echo "$as_me:$LINENO: result: no" >&5
4268 echo "${ECHO_T}no" >&6; }
4269 elif test "$wxUSE_EXPAT" = sys; then
4270 { echo "$as_me:$LINENO: result: system version" >&5
4271 echo "${ECHO_T}system version" >&6; }
4272 elif test "$wxUSE_EXPAT" = builtin; then
4273 { echo "$as_me:$LINENO: result: builtin version" >&5
4274 echo "${ECHO_T}builtin version" >&6; }
4276 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
4277 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
4278 { (exit 1); exit 1; }; }
4282 { echo "$as_me:$LINENO: checking for --with-macosx-sdk" >&5
4283 echo $ECHO_N "checking for --with-macosx-sdk... $ECHO_C" >&6; }
4285 # Check whether --with-macosx-sdk was given.
4286 if test "${with_macosx_sdk+set}" = set; then
4287 withval=$with_macosx_sdk;
4288 wxUSE_MACOSX_SDK=$withval
4289 wx_cv_use_macosx_sdk="wxUSE_MACOSX_SDK=$withval"
4293 { echo "$as_me:$LINENO: result: $wxUSE_MACOSX_SDK" >&5
4294 echo "${ECHO_T}$wxUSE_MACOSX_SDK" >&6; }
4296 { echo "$as_me:$LINENO: checking for --with-macosx-version-min" >&5
4297 echo $ECHO_N "checking for --with-macosx-version-min... $ECHO_C" >&6; }
4299 # Check whether --with-macosx-version-min was given.
4300 if test "${with_macosx_version_min+set}" = set; then
4301 withval=$with_macosx_version_min;
4302 wxUSE_MACOSX_VERSION_MIN=$withval
4303 wx_cv_use_macosx_version_min="wxUSE_MACOSX_VERSION_MIN=$withval"
4307 { echo "$as_me:$LINENO: result: $wxUSE_MACOSX_VERSION_MIN" >&5
4308 echo "${ECHO_T}$wxUSE_MACOSX_VERSION_MIN" >&6; }
4312 enablestring=disable
4314 if test -z "$defaultval"; then
4315 if test x"$enablestring" = xdisable; then
4322 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-shared" >&5
4323 echo $ECHO_N "checking for --${enablestring:-enable}-shared... $ECHO_C" >&6; }
4324 # Check whether --enable-shared was given.
4325 if test "${enable_shared+set}" = set; then
4326 enableval=$enable_shared;
4327 if test "$enableval" = yes; then
4328 wx_cv_use_shared='wxUSE_SHARED
=yes'
4330 wx_cv_use_shared='wxUSE_SHARED
=no
'
4335 wx_cv_use_shared='wxUSE_SHARED
=${'DEFAULT_wxUSE_SHARED":-$defaultval}"
4340 eval "$wx_cv_use_shared"
4342 if test x"$enablestring" = xdisable; then
4343 if test $wxUSE_SHARED = yes; then
4349 result=$wxUSE_SHARED
4352 { echo "$as_me:$LINENO: result
: $result" >&5
4353 echo "${ECHO_T}$result" >&6; }
4356 enablestring=disable
4358 if test -z "$defaultval"; then
4359 if test x"$enablestring" = xdisable; then
4366 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-optimise" >&5
4367 echo $ECHO_N "checking
for --${enablestring:-enable}-optimise...
$ECHO_C" >&6; }
4368 # Check whether --enable-optimise was given.
4369 if test "${enable_optimise+set}" = set; then
4370 enableval=$enable_optimise;
4371 if test "$enableval" = yes; then
4372 wx_cv_use_optimise='wxUSE_OPTIMISE=yes'
4374 wx_cv_use_optimise='wxUSE_OPTIMISE=no'
4379 wx_cv_use_optimise='wxUSE_OPTIMISE=${'DEFAULT_wxUSE_OPTIMISE":-$defaultval}"
4384 eval "$wx_cv_use_optimise"
4386 if test x
"$enablestring" = xdisable
; then
4387 if test $wxUSE_OPTIMISE = yes; then
4393 result
=$wxUSE_OPTIMISE
4396 { echo "$as_me:$LINENO: result: $result" >&5
4397 echo "${ECHO_T}$result" >&6; }
4402 if test -z "$defaultval"; then
4403 if test x
"$enablestring" = xdisable
; then
4410 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug" >&5
4411 echo $ECHO_N "checking for --${enablestring:-enable}-debug... $ECHO_C" >&6; }
4412 # Check whether --enable-debug was given.
4413 if test "${enable_debug+set}" = set; then
4414 enableval
=$enable_debug;
4415 if test "$enableval" = yes; then
4416 wx_cv_use_debug
='wxUSE_DEBUG=yes'
4418 wx_cv_use_debug
='wxUSE_DEBUG=no'
4423 wx_cv_use_debug
='wxUSE_DEBUG=${'DEFAULT_wxUSE_DEBUG":-$defaultval}"
4428 eval "$wx_cv_use_debug"
4430 if test x"$enablestring" = xdisable; then
4431 if test $wxUSE_DEBUG = yes; then
4440 { echo "$as_me:$LINENO: result: $result" >&5
4441 echo "${ECHO_T}$result" >&6; }
4446 if test -z "$defaultval"; then
4447 if test x"$enablestring" = xdisable; then
4454 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stl" >&5
4455 echo $ECHO_N "checking for --${enablestring:-enable}-stl... $ECHO_C" >&6; }
4456 # Check whether --enable-stl was given.
4457 if test "${enable_stl+set}" = set; then
4458 enableval=$enable_stl;
4459 if test "$enableval" = yes; then
4460 wx_cv_use_stl='wxUSE_STL
=yes'
4462 wx_cv_use_stl='wxUSE_STL
=no
'
4467 wx_cv_use_stl='wxUSE_STL
=${'DEFAULT_wxUSE_STL":-$defaultval}"
4472 eval "$wx_cv_use_stl"
4474 if test x"$enablestring" = xdisable; then
4475 if test $wxUSE_STL = yes; then
4484 { echo "$as_me:$LINENO: result
: $result" >&5
4485 echo "${ECHO_T}$result" >&6; }
4490 if test -z "$defaultval"; then
4491 if test x"$enablestring" = xdisable; then
4498 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-std_iostreams" >&5
4499 echo $ECHO_N "checking
for --${enablestring:-enable}-std_iostreams...
$ECHO_C" >&6; }
4500 # Check whether --enable-std_iostreams was given.
4501 if test "${enable_std_iostreams+set}" = set; then
4502 enableval=$enable_std_iostreams;
4503 if test "$enableval" = yes; then
4504 wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=yes'
4506 wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=no'
4511 wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=${'DEFAULT_wxUSE_STD_IOSTREAM":-$defaultval}"
4516 eval "$wx_cv_use_std_iostreams"
4518 if test x
"$enablestring" = xdisable
; then
4519 if test $wxUSE_STD_IOSTREAM = yes; then
4525 result
=$wxUSE_STD_IOSTREAM
4528 { echo "$as_me:$LINENO: result: $result" >&5
4529 echo "${ECHO_T}$result" >&6; }
4534 if test -z "$defaultval"; then
4535 if test x
"$enablestring" = xdisable
; then
4542 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_string" >&5
4543 echo $ECHO_N "checking for --${enablestring:-enable}-std_string... $ECHO_C" >&6; }
4544 # Check whether --enable-std_string was given.
4545 if test "${enable_std_string+set}" = set; then
4546 enableval
=$enable_std_string;
4547 if test "$enableval" = yes; then
4548 wx_cv_use_std_string
='wxUSE_STD_STRING=yes'
4550 wx_cv_use_std_string
='wxUSE_STD_STRING=no'
4555 wx_cv_use_std_string
='wxUSE_STD_STRING=${'DEFAULT_wxUSE_STD_STRING":-$defaultval}"
4560 eval "$wx_cv_use_std_string"
4562 if test x"$enablestring" = xdisable; then
4563 if test $wxUSE_STD_STRING = yes; then
4569 result=$wxUSE_STD_STRING
4572 { echo "$as_me:$LINENO: result: $result" >&5
4573 echo "${ECHO_T}$result" >&6; }
4576 enablestring=disable
4578 if test -z "$defaultval"; then
4579 if test x"$enablestring" = xdisable; then
4586 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-unicode" >&5
4587 echo $ECHO_N "checking for --${enablestring:-enable}-unicode... $ECHO_C" >&6; }
4588 # Check whether --enable-unicode was given.
4589 if test "${enable_unicode+set}" = set; then
4590 enableval=$enable_unicode;
4591 if test "$enableval" = yes; then
4592 wx_cv_use_unicode='wxUSE_UNICODE
=yes'
4594 wx_cv_use_unicode='wxUSE_UNICODE
=no
'
4599 wx_cv_use_unicode='wxUSE_UNICODE
=${'DEFAULT_wxUSE_UNICODE":-$defaultval}"
4604 eval "$wx_cv_use_unicode"
4606 if test x"$enablestring" = xdisable; then
4607 if test $wxUSE_UNICODE = yes; then
4613 result=$wxUSE_UNICODE
4616 { echo "$as_me:$LINENO: result
: $result" >&5
4617 echo "${ECHO_T}$result" >&6; }
4622 if test -z "$defaultval"; then
4623 if test x"$enablestring" = xdisable; then
4630 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-mslu" >&5
4631 echo $ECHO_N "checking
for --${enablestring:-enable}-mslu...
$ECHO_C" >&6; }
4632 # Check whether --enable-mslu was given.
4633 if test "${enable_mslu+set}" = set; then
4634 enableval=$enable_mslu;
4635 if test "$enableval" = yes; then
4636 wx_cv_use_mslu='wxUSE_UNICODE_MSLU=yes'
4638 wx_cv_use_mslu='wxUSE_UNICODE_MSLU=no'
4643 wx_cv_use_mslu='wxUSE_UNICODE_MSLU=${'DEFAULT_wxUSE_UNICODE_MSLU":-$defaultval}"
4648 eval "$wx_cv_use_mslu"
4650 if test x
"$enablestring" = xdisable
; then
4651 if test $wxUSE_UNICODE_MSLU = yes; then
4657 result
=$wxUSE_UNICODE_MSLU
4660 { echo "$as_me:$LINENO: result: $result" >&5
4661 echo "${ECHO_T}$result" >&6; }
4665 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-utf8" >&5
4666 echo $ECHO_N "checking for --${enablestring:-enable}-utf8... $ECHO_C" >&6; }
4667 # Check whether --enable-utf8 was given.
4668 if test "${enable_utf8+set}" = set; then
4669 enableval
=$enable_utf8;
4670 wx_cv_use_utf8
="wxUSE_UNICODE_UTF8='$enableval'"
4674 wx_cv_use_utf8
='wxUSE_UNICODE_UTF8='$DEFAULT_wxUSE_UNICODE_UTF8
4679 eval "$wx_cv_use_utf8"
4681 { echo "$as_me:$LINENO: result: $wxUSE_UNICODE_UTF8" >&5
4682 echo "${ECHO_T}$wxUSE_UNICODE_UTF8" >&6; }
4687 if test -z "$defaultval"; then
4688 if test x
"$enablestring" = xdisable
; then
4695 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-utf8only" >&5
4696 echo $ECHO_N "checking for --${enablestring:-enable}-utf8only... $ECHO_C" >&6; }
4697 # Check whether --enable-utf8only was given.
4698 if test "${enable_utf8only+set}" = set; then
4699 enableval
=$enable_utf8only;
4700 if test "$enableval" = yes; then
4701 wx_cv_use_utf8only
='wxUSE_UNICODE_UTF8_LOCALE=yes'
4703 wx_cv_use_utf8only
='wxUSE_UNICODE_UTF8_LOCALE=no'
4708 wx_cv_use_utf8only
='wxUSE_UNICODE_UTF8_LOCALE=${'DEFAULT_wxUSE_UNICODE_UTF8_LOCALE":-$defaultval}"
4713 eval "$wx_cv_use_utf8only"
4715 if test x"$enablestring" = xdisable; then
4716 if test $wxUSE_UNICODE_UTF8_LOCALE = yes; then
4722 result=$wxUSE_UNICODE_UTF8_LOCALE
4725 { echo "$as_me:$LINENO: result: $result" >&5
4726 echo "${ECHO_T}$result" >&6; }
4731 if test -z "$defaultval"; then
4732 if test x"$enablestring" = xdisable; then
4739 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-extended_rtti" >&5
4740 echo $ECHO_N "checking for --${enablestring:-enable}-extended_rtti... $ECHO_C" >&6; }
4741 # Check whether --enable-extended_rtti was given.
4742 if test "${enable_extended_rtti+set}" = set; then
4743 enableval=$enable_extended_rtti;
4744 if test "$enableval" = yes; then
4745 wx_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI
=yes'
4747 wx_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI
=no
'
4752 wx_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI
=${'DEFAULT_wxUSE_EXTENDED_RTTI":-$defaultval}"
4757 eval "$wx_cv_use_extended_rtti"
4759 if test x"$enablestring" = xdisable; then
4760 if test $wxUSE_EXTENDED_RTTI = yes; then
4766 result=$wxUSE_EXTENDED_RTTI
4769 { echo "$as_me:$LINENO: result
: $result" >&5
4770 echo "${ECHO_T}$result" >&6; }
4772 if test "$USE_OS2" = 1; then
4773 DEFAULT_wxUSE_OMF=no
4777 if test -z "$defaultval"; then
4778 if test x"$enablestring" = xdisable; then
4785 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-omf" >&5
4786 echo $ECHO_N "checking
for --${enablestring:-enable}-omf...
$ECHO_C" >&6; }
4787 # Check whether --enable-omf was given.
4788 if test "${enable_omf+set}" = set; then
4789 enableval=$enable_omf;
4790 if test "$enableval" = yes; then
4791 wx_cv_use_omf='wxUSE_OMF=yes'
4793 wx_cv_use_omf='wxUSE_OMF=no'
4798 wx_cv_use_omf='wxUSE_OMF=${'DEFAULT_wxUSE_OMF":-$defaultval}"
4803 eval "$wx_cv_use_omf"
4805 if test x
"$enablestring" = xdisable
; then
4806 if test $wxUSE_OMF = yes; then
4815 { echo "$as_me:$LINENO: result: $result" >&5
4816 echo "${ECHO_T}$result" >&6; }
4820 if test "$wxUSE_DEBUG" = "yes"; then
4821 DEFAULT_wxUSE_DEBUG_FLAG
=yes
4822 DEFAULT_wxUSE_DEBUG_INFO
=yes
4824 elif test "$wxUSE_DEBUG" = "no"; then
4825 DEFAULT_wxUSE_DEBUG_FLAG
=no
4826 DEFAULT_wxUSE_DEBUG_INFO
=no
4833 if test -z "$defaultval"; then
4834 if test x
"$enablestring" = xdisable
; then
4841 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_flag" >&5
4842 echo $ECHO_N "checking for --${enablestring:-enable}-debug_flag... $ECHO_C" >&6; }
4843 # Check whether --enable-debug_flag was given.
4844 if test "${enable_debug_flag+set}" = set; then
4845 enableval
=$enable_debug_flag;
4846 if test "$enableval" = yes; then
4847 wx_cv_use_debug_flag
='wxUSE_DEBUG_FLAG=yes'
4849 wx_cv_use_debug_flag
='wxUSE_DEBUG_FLAG=no'
4854 wx_cv_use_debug_flag
='wxUSE_DEBUG_FLAG=${'DEFAULT_wxUSE_DEBUG_FLAG":-$defaultval}"
4859 eval "$wx_cv_use_debug_flag"
4861 if test x"$enablestring" = xdisable; then
4862 if test $wxUSE_DEBUG_FLAG = yes; then
4868 result=$wxUSE_DEBUG_FLAG
4871 { echo "$as_me:$LINENO: result: $result" >&5
4872 echo "${ECHO_T}$result" >&6; }
4877 if test -z "$defaultval"; then
4878 if test x"$enablestring" = xdisable; then
4885 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_info" >&5
4886 echo $ECHO_N "checking for --${enablestring:-enable}-debug_info... $ECHO_C" >&6; }
4887 # Check whether --enable-debug_info was given.
4888 if test "${enable_debug_info+set}" = set; then
4889 enableval=$enable_debug_info;
4890 if test "$enableval" = yes; then
4891 wx_cv_use_debug_info='wxUSE_DEBUG_INFO
=yes'
4893 wx_cv_use_debug_info='wxUSE_DEBUG_INFO
=no
'
4898 wx_cv_use_debug_info='wxUSE_DEBUG_INFO
=${'DEFAULT_wxUSE_DEBUG_INFO":-$defaultval}"
4903 eval "$wx_cv_use_debug_info"
4905 if test x"$enablestring" = xdisable; then
4906 if test $wxUSE_DEBUG_INFO = yes; then
4912 result=$wxUSE_DEBUG_INFO
4915 { echo "$as_me:$LINENO: result
: $result" >&5
4916 echo "${ECHO_T}$result" >&6; }
4919 if test "$wxUSE_DEBUG_FLAG" = "yes" -a "$wxUSE_DEBUG_INFO" = "yes"; then
4927 if test -z "$defaultval"; then
4928 if test x"$enablestring" = xdisable; then
4935 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-debug_gdb" >&5
4936 echo $ECHO_N "checking
for --${enablestring:-enable}-debug_gdb...
$ECHO_C" >&6; }
4937 # Check whether --enable-debug_gdb was given.
4938 if test "${enable_debug_gdb+set}" = set; then
4939 enableval=$enable_debug_gdb;
4940 if test "$enableval" = yes; then
4941 wx_cv_use_debug_gdb='wxUSE_DEBUG_GDB=yes'
4943 wx_cv_use_debug_gdb='wxUSE_DEBUG_GDB=no'
4948 wx_cv_use_debug_gdb='wxUSE_DEBUG_GDB=${'DEFAULT_wxUSE_DEBUG_GDB":-$defaultval}"
4953 eval "$wx_cv_use_debug_gdb"
4955 if test x
"$enablestring" = xdisable
; then
4956 if test $wxUSE_DEBUG_GDB = yes; then
4962 result
=$wxUSE_DEBUG_GDB
4965 { echo "$as_me:$LINENO: result: $result" >&5
4966 echo "${ECHO_T}$result" >&6; }
4971 if test -z "$defaultval"; then
4972 if test x
"$enablestring" = xdisable
; then
4979 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_cntxt" >&5
4980 echo $ECHO_N "checking for --${enablestring:-enable}-debug_cntxt... $ECHO_C" >&6; }
4981 # Check whether --enable-debug_cntxt was given.
4982 if test "${enable_debug_cntxt+set}" = set; then
4983 enableval
=$enable_debug_cntxt;
4984 if test "$enableval" = yes; then
4985 wx_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT=yes'
4987 wx_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT=no'
4992 wx_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT=${'DEFAULT_wxUSE_DEBUG_CONTEXT":-$defaultval}"
4997 eval "$wx_cv_use_debug_cntxt"
4999 if test x"$enablestring" = xdisable; then
5000 if test $wxUSE_DEBUG_CONTEXT = yes; then
5006 result=$wxUSE_DEBUG_CONTEXT
5009 { echo "$as_me:$LINENO: result: $result" >&5
5010 echo "${ECHO_T}$result" >&6; }
5015 if test -z "$defaultval"; then
5016 if test x"$enablestring" = xdisable; then
5023 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mem_tracing" >&5
5024 echo $ECHO_N "checking for --${enablestring:-enable}-mem_tracing... $ECHO_C" >&6; }
5025 # Check whether --enable-mem_tracing was given.
5026 if test "${enable_mem_tracing+set}" = set; then
5027 enableval=$enable_mem_tracing;
5028 if test "$enableval" = yes; then
5029 wx_cv_use_mem_tracing='wxUSE_MEM_TRACING
=yes'
5031 wx_cv_use_mem_tracing='wxUSE_MEM_TRACING
=no
'
5036 wx_cv_use_mem_tracing='wxUSE_MEM_TRACING
=${'DEFAULT_wxUSE_MEM_TRACING":-$defaultval}"
5041 eval "$wx_cv_use_mem_tracing"
5043 if test x"$enablestring" = xdisable; then
5044 if test $wxUSE_MEM_TRACING = yes; then
5050 result=$wxUSE_MEM_TRACING
5053 { echo "$as_me:$LINENO: result
: $result" >&5
5054 echo "${ECHO_T}$result" >&6; }
5059 if test -z "$defaultval"; then
5060 if test x"$enablestring" = xdisable; then
5067 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-profile" >&5
5068 echo $ECHO_N "checking
for --${enablestring:-enable}-profile...
$ECHO_C" >&6; }
5069 # Check whether --enable-profile was given.
5070 if test "${enable_profile+set}" = set; then
5071 enableval=$enable_profile;
5072 if test "$enableval" = yes; then
5073 wx_cv_use_profile='wxUSE_PROFILE=yes'
5075 wx_cv_use_profile='wxUSE_PROFILE=no'
5080 wx_cv_use_profile='wxUSE_PROFILE=${'DEFAULT_wxUSE_PROFILE":-$defaultval}"
5085 eval "$wx_cv_use_profile"
5087 if test x
"$enablestring" = xdisable
; then
5088 if test $wxUSE_PROFILE = yes; then
5094 result
=$wxUSE_PROFILE
5097 { echo "$as_me:$LINENO: result: $result" >&5
5098 echo "${ECHO_T}$result" >&6; }
5103 if test -z "$defaultval"; then
5104 if test x
"$enablestring" = xdisable
; then
5111 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_rtti" >&5
5112 echo $ECHO_N "checking for --${enablestring:-enable}-no_rtti... $ECHO_C" >&6; }
5113 # Check whether --enable-no_rtti was given.
5114 if test "${enable_no_rtti+set}" = set; then
5115 enableval
=$enable_no_rtti;
5116 if test "$enableval" = yes; then
5117 wx_cv_use_no_rtti
='wxUSE_NO_RTTI=yes'
5119 wx_cv_use_no_rtti
='wxUSE_NO_RTTI=no'
5124 wx_cv_use_no_rtti
='wxUSE_NO_RTTI=${'DEFAULT_wxUSE_NO_RTTI":-$defaultval}"
5129 eval "$wx_cv_use_no_rtti"
5131 if test x"$enablestring" = xdisable; then
5132 if test $wxUSE_NO_RTTI = yes; then
5138 result=$wxUSE_NO_RTTI
5141 { echo "$as_me:$LINENO: result: $result" >&5
5142 echo "${ECHO_T}$result" >&6; }
5147 if test -z "$defaultval"; then
5148 if test x"$enablestring" = xdisable; then
5155 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_exceptions" >&5
5156 echo $ECHO_N "checking for --${enablestring:-enable}-no_exceptions... $ECHO_C" >&6; }
5157 # Check whether --enable-no_exceptions was given.
5158 if test "${enable_no_exceptions+set}" = set; then
5159 enableval=$enable_no_exceptions;
5160 if test "$enableval" = yes; then
5161 wx_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS
=yes'
5163 wx_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS
=no
'
5168 wx_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS
=${'DEFAULT_wxUSE_NO_EXCEPTIONS":-$defaultval}"
5173 eval "$wx_cv_use_no_exceptions"
5175 if test x"$enablestring" = xdisable; then
5176 if test $wxUSE_NO_EXCEPTIONS = yes; then
5182 result=$wxUSE_NO_EXCEPTIONS
5185 { echo "$as_me:$LINENO: result
: $result" >&5
5186 echo "${ECHO_T}$result" >&6; }
5191 if test -z "$defaultval"; then
5192 if test x"$enablestring" = xdisable; then
5199 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-permissive" >&5
5200 echo $ECHO_N "checking
for --${enablestring:-enable}-permissive...
$ECHO_C" >&6; }
5201 # Check whether --enable-permissive was given.
5202 if test "${enable_permissive+set}" = set; then
5203 enableval=$enable_permissive;
5204 if test "$enableval" = yes; then
5205 wx_cv_use_permissive='wxUSE_PERMISSIVE=yes'
5207 wx_cv_use_permissive='wxUSE_PERMISSIVE=no'
5212 wx_cv_use_permissive='wxUSE_PERMISSIVE=${'DEFAULT_wxUSE_PERMISSIVE":-$defaultval}"
5217 eval "$wx_cv_use_permissive"
5219 if test x
"$enablestring" = xdisable
; then
5220 if test $wxUSE_PERMISSIVE = yes; then
5226 result
=$wxUSE_PERMISSIVE
5229 { echo "$as_me:$LINENO: result: $result" >&5
5230 echo "${ECHO_T}$result" >&6; }
5235 if test -z "$defaultval"; then
5236 if test x
"$enablestring" = xdisable
; then
5243 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_deps" >&5
5244 echo $ECHO_N "checking for --${enablestring:-enable}-no_deps... $ECHO_C" >&6; }
5245 # Check whether --enable-no_deps was given.
5246 if test "${enable_no_deps+set}" = set; then
5247 enableval
=$enable_no_deps;
5248 if test "$enableval" = yes; then
5249 wx_cv_use_no_deps
='wxUSE_NO_DEPS=yes'
5251 wx_cv_use_no_deps
='wxUSE_NO_DEPS=no'
5256 wx_cv_use_no_deps
='wxUSE_NO_DEPS=${'DEFAULT_wxUSE_NO_DEPS":-$defaultval}"
5261 eval "$wx_cv_use_no_deps"
5263 if test x"$enablestring" = xdisable; then
5264 if test $wxUSE_NO_DEPS = yes; then
5270 result=$wxUSE_NO_DEPS
5273 { echo "$as_me:$LINENO: result: $result" >&5
5274 echo "${ECHO_T}$result" >&6; }
5277 enablestring=disable
5279 if test -z "$defaultval"; then
5280 if test x"$enablestring" = xdisable; then
5287 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-vararg_macros" >&5
5288 echo $ECHO_N "checking for --${enablestring:-enable}-vararg_macros... $ECHO_C" >&6; }
5289 # Check whether --enable-vararg_macros was given.
5290 if test "${enable_vararg_macros+set}" = set; then
5291 enableval=$enable_vararg_macros;
5292 if test "$enableval" = yes; then
5293 wx_cv_use_vararg_macros='wxUSE_VARARG_MACROS
=yes'
5295 wx_cv_use_vararg_macros='wxUSE_VARARG_MACROS
=no
'
5300 wx_cv_use_vararg_macros='wxUSE_VARARG_MACROS
=${'DEFAULT_wxUSE_VARARG_MACROS":-$defaultval}"
5305 eval "$wx_cv_use_vararg_macros"
5307 if test x"$enablestring" = xdisable; then
5308 if test $wxUSE_VARARG_MACROS = yes; then
5314 result=$wxUSE_VARARG_MACROS
5317 { echo "$as_me:$LINENO: result
: $result" >&5
5318 echo "${ECHO_T}$result" >&6; }
5322 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-universal_binary" >&5
5323 echo $ECHO_N "checking
for --${enablestring:-enable}-universal_binary...
$ECHO_C" >&6; }
5324 # Check whether --enable-universal_binary was given.
5325 if test "${enable_universal_binary+set}" = set; then
5326 enableval=$enable_universal_binary;
5327 wx_cv_use_universal_binary="wxUSE_UNIVERSAL_BINARY
='$enableval'"
5331 wx_cv_use_universal_binary='wxUSE_UNIVERSAL_BINARY='$DEFAULT_wxUSE_UNIVERSAL_BINARY
5336 eval "$wx_cv_use_universal_binary"
5338 { echo "$as_me:$LINENO: result
: $wxUSE_UNIVERSAL_BINARY" >&5
5339 echo "${ECHO_T}$wxUSE_UNIVERSAL_BINARY" >&6; }
5345 if test -z "$defaultval"; then
5346 if test x"$enablestring" = xdisable; then
5353 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-compat26" >&5
5354 echo $ECHO_N "checking
for --${enablestring:-enable}-compat26...
$ECHO_C" >&6; }
5355 # Check whether --enable-compat26 was given.
5356 if test "${enable_compat26+set}" = set; then
5357 enableval=$enable_compat26;
5358 if test "$enableval" = yes; then
5359 wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=yes'
5361 wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=no'
5366 wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=${'DEFAULT_WXWIN_COMPATIBILITY_2_6":-$defaultval}"
5371 eval "$wx_cv_use_compat26"
5373 if test x
"$enablestring" = xdisable
; then
5374 if test $WXWIN_COMPATIBILITY_2_6 = yes; then
5380 result
=$WXWIN_COMPATIBILITY_2_6
5383 { echo "$as_me:$LINENO: result: $result" >&5
5384 echo "${ECHO_T}$result" >&6; }
5387 enablestring
=disable
5389 if test -z "$defaultval"; then
5390 if test x
"$enablestring" = xdisable
; then
5397 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat28" >&5
5398 echo $ECHO_N "checking for --${enablestring:-enable}-compat28... $ECHO_C" >&6; }
5399 # Check whether --enable-compat28 was given.
5400 if test "${enable_compat28+set}" = set; then
5401 enableval
=$enable_compat28;
5402 if test "$enableval" = yes; then
5403 wx_cv_use_compat28
='WXWIN_COMPATIBILITY_2_8=yes'
5405 wx_cv_use_compat28
='WXWIN_COMPATIBILITY_2_8=no'
5410 wx_cv_use_compat28
='WXWIN_COMPATIBILITY_2_8=${'DEFAULT_WXWIN_COMPATIBILITY_2_8":-$defaultval}"
5415 eval "$wx_cv_use_compat28"
5417 if test x"$enablestring" = xdisable; then
5418 if test $WXWIN_COMPATIBILITY_2_8 = yes; then
5424 result=$WXWIN_COMPATIBILITY_2_8
5427 { echo "$as_me:$LINENO: result: $result" >&5
5428 echo "${ECHO_T}$result" >&6; }
5432 enablestring=disable
5434 if test -z "$defaultval"; then
5435 if test x"$enablestring" = xdisable; then
5442 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-rpath" >&5
5443 echo $ECHO_N "checking for --${enablestring:-enable}-rpath... $ECHO_C" >&6; }
5444 # Check whether --enable-rpath was given.
5445 if test "${enable_rpath+set}" = set; then
5446 enableval=$enable_rpath;
5447 if test "$enableval" = yes; then
5448 wx_cv_use_rpath='wxUSE_RPATH
=yes'
5450 wx_cv_use_rpath='wxUSE_RPATH
=no
'
5455 wx_cv_use_rpath='wxUSE_RPATH
=${'DEFAULT_wxUSE_RPATH":-$defaultval}"
5460 eval "$wx_cv_use_rpath"
5462 if test x"$enablestring" = xdisable; then
5463 if test $wxUSE_RPATH = yes; then
5472 { echo "$as_me:$LINENO: result
: $result" >&5
5473 echo "${ECHO_T}$result" >&6; }
5479 if test -z "$defaultval"; then
5480 if test x"$enablestring" = xdisable; then
5487 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-objc_uniquifying" >&5
5488 echo $ECHO_N "checking
for --${enablestring:-enable}-objc_uniquifying...
$ECHO_C" >&6; }
5489 # Check whether --enable-objc_uniquifying was given.
5490 if test "${enable_objc_uniquifying+set}" = set; then
5491 enableval=$enable_objc_uniquifying;
5492 if test "$enableval" = yes; then
5493 wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING=yes'
5495 wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING=no'
5500 wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING=${'DEFAULT_wxUSE_OBJC_UNIQUIFYING":-$defaultval}"
5505 eval "$wx_cv_use_objc_uniquifying"
5507 if test x
"$enablestring" = xdisable
; then
5508 if test $wxUSE_OBJC_UNIQUIFYING = yes; then
5514 result
=$wxUSE_OBJC_UNIQUIFYING
5517 { echo "$as_me:$LINENO: result: $result" >&5
5518 echo "${ECHO_T}$result" >&6; }
5522 enablestring
=disable
5524 if test -z "$defaultval"; then
5525 if test x
"$enablestring" = xdisable
; then
5532 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-visibility" >&5
5533 echo $ECHO_N "checking for --${enablestring:-enable}-visibility... $ECHO_C" >&6; }
5534 # Check whether --enable-visibility was given.
5535 if test "${enable_visibility+set}" = set; then
5536 enableval
=$enable_visibility;
5537 if test "$enableval" = yes; then
5538 wx_cv_use_visibility
='wxUSE_VISIBILITY=yes'
5540 wx_cv_use_visibility
='wxUSE_VISIBILITY=no'
5545 wx_cv_use_visibility
='wxUSE_VISIBILITY=${'DEFAULT_wxUSE_VISIBILITY":-$defaultval}"
5550 eval "$wx_cv_use_visibility"
5552 if test x"$enablestring" = xdisable; then
5553 if test $wxUSE_VISIBILITY = yes; then
5559 result=$wxUSE_VISIBILITY
5562 { echo "$as_me:$LINENO: result: $result" >&5
5563 echo "${ECHO_T}$result" >&6; }
5569 defaultval=$wxUSE_ALL_FEATURES
5570 if test -z "$defaultval"; then
5571 if test x"$enablestring" = xdisable; then
5578 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-intl" >&5
5579 echo $ECHO_N "checking for --${enablestring:-enable}-intl... $ECHO_C" >&6; }
5580 # Check whether --enable-intl was given.
5581 if test "${enable_intl+set}" = set; then
5582 enableval=$enable_intl;
5583 if test "$enableval" = yes; then
5584 wx_cv_use_intl='wxUSE_INTL
=yes'
5586 wx_cv_use_intl='wxUSE_INTL
=no
'
5591 wx_cv_use_intl='wxUSE_INTL
=${'DEFAULT_wxUSE_INTL":-$defaultval}"
5596 eval "$wx_cv_use_intl"
5598 if test x"$enablestring" = xdisable; then
5599 if test $wxUSE_INTL = yes; then
5608 { echo "$as_me:$LINENO: result
: $result" >&5
5609 echo "${ECHO_T}$result" >&6; }
5613 defaultval=$wxUSE_ALL_FEATURES
5614 if test -z "$defaultval"; then
5615 if test x"$enablestring" = xdisable; then
5622 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-config" >&5
5623 echo $ECHO_N "checking
for --${enablestring:-enable}-config...
$ECHO_C" >&6; }
5624 # Check whether --enable-config was given.
5625 if test "${enable_config+set}" = set; then
5626 enableval=$enable_config;
5627 if test "$enableval" = yes; then
5628 wx_cv_use_config='wxUSE_CONFIG=yes'
5630 wx_cv_use_config='wxUSE_CONFIG=no'
5635 wx_cv_use_config='wxUSE_CONFIG=${'DEFAULT_wxUSE_CONFIG":-$defaultval}"
5640 eval "$wx_cv_use_config"
5642 if test x
"$enablestring" = xdisable
; then
5643 if test $wxUSE_CONFIG = yes; then
5649 result
=$wxUSE_CONFIG
5652 { echo "$as_me:$LINENO: result: $result" >&5
5653 echo "${ECHO_T}$result" >&6; }
5658 defaultval
=$wxUSE_ALL_FEATURES
5659 if test -z "$defaultval"; then
5660 if test x
"$enablestring" = xdisable
; then
5667 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocols" >&5
5668 echo $ECHO_N "checking for --${enablestring:-enable}-protocols... $ECHO_C" >&6; }
5669 # Check whether --enable-protocols was given.
5670 if test "${enable_protocols+set}" = set; then
5671 enableval
=$enable_protocols;
5672 if test "$enableval" = yes; then
5673 wx_cv_use_protocols
='wxUSE_PROTOCOL=yes'
5675 wx_cv_use_protocols
='wxUSE_PROTOCOL=no'
5680 wx_cv_use_protocols
='wxUSE_PROTOCOL=${'DEFAULT_wxUSE_PROTOCOL":-$defaultval}"
5685 eval "$wx_cv_use_protocols"
5687 if test x"$enablestring" = xdisable; then
5688 if test $wxUSE_PROTOCOL = yes; then
5694 result=$wxUSE_PROTOCOL
5697 { echo "$as_me:$LINENO: result: $result" >&5
5698 echo "${ECHO_T}$result" >&6; }
5702 defaultval=$wxUSE_ALL_FEATURES
5703 if test -z "$defaultval"; then
5704 if test x"$enablestring" = xdisable; then
5711 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ftp" >&5
5712 echo $ECHO_N "checking for --${enablestring:-enable}-ftp... $ECHO_C" >&6; }
5713 # Check whether --enable-ftp was given.
5714 if test "${enable_ftp+set}" = set; then
5715 enableval=$enable_ftp;
5716 if test "$enableval" = yes; then
5717 wx_cv_use_ftp='wxUSE_PROTOCOL_FTP
=yes'
5719 wx_cv_use_ftp='wxUSE_PROTOCOL_FTP
=no
'
5724 wx_cv_use_ftp='wxUSE_PROTOCOL_FTP
=${'DEFAULT_wxUSE_PROTOCOL_FTP":-$defaultval}"
5729 eval "$wx_cv_use_ftp"
5731 if test x"$enablestring" = xdisable; then
5732 if test $wxUSE_PROTOCOL_FTP = yes; then
5738 result=$wxUSE_PROTOCOL_FTP
5741 { echo "$as_me:$LINENO: result
: $result" >&5
5742 echo "${ECHO_T}$result" >&6; }
5746 defaultval=$wxUSE_ALL_FEATURES
5747 if test -z "$defaultval"; then
5748 if test x"$enablestring" = xdisable; then
5755 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-http" >&5
5756 echo $ECHO_N "checking
for --${enablestring:-enable}-http...
$ECHO_C" >&6; }
5757 # Check whether --enable-http was given.
5758 if test "${enable_http+set}" = set; then
5759 enableval=$enable_http;
5760 if test "$enableval" = yes; then
5761 wx_cv_use_http='wxUSE_PROTOCOL_HTTP=yes'
5763 wx_cv_use_http='wxUSE_PROTOCOL_HTTP=no'
5768 wx_cv_use_http='wxUSE_PROTOCOL_HTTP=${'DEFAULT_wxUSE_PROTOCOL_HTTP":-$defaultval}"
5773 eval "$wx_cv_use_http"
5775 if test x
"$enablestring" = xdisable
; then
5776 if test $wxUSE_PROTOCOL_HTTP = yes; then
5782 result
=$wxUSE_PROTOCOL_HTTP
5785 { echo "$as_me:$LINENO: result: $result" >&5
5786 echo "${ECHO_T}$result" >&6; }
5790 defaultval
=$wxUSE_ALL_FEATURES
5791 if test -z "$defaultval"; then
5792 if test x
"$enablestring" = xdisable
; then
5799 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fileproto" >&5
5800 echo $ECHO_N "checking for --${enablestring:-enable}-fileproto... $ECHO_C" >&6; }
5801 # Check whether --enable-fileproto was given.
5802 if test "${enable_fileproto+set}" = set; then
5803 enableval
=$enable_fileproto;
5804 if test "$enableval" = yes; then
5805 wx_cv_use_fileproto
='wxUSE_PROTOCOL_FILE=yes'
5807 wx_cv_use_fileproto
='wxUSE_PROTOCOL_FILE=no'
5812 wx_cv_use_fileproto
='wxUSE_PROTOCOL_FILE=${'DEFAULT_wxUSE_PROTOCOL_FILE":-$defaultval}"
5817 eval "$wx_cv_use_fileproto"
5819 if test x"$enablestring" = xdisable; then
5820 if test $wxUSE_PROTOCOL_FILE = yes; then
5826 result=$wxUSE_PROTOCOL_FILE
5829 { echo "$as_me:$LINENO: result: $result" >&5
5830 echo "${ECHO_T}$result" >&6; }
5834 defaultval=$wxUSE_ALL_FEATURES
5835 if test -z "$defaultval"; then
5836 if test x"$enablestring" = xdisable; then
5843 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sockets" >&5
5844 echo $ECHO_N "checking for --${enablestring:-enable}-sockets... $ECHO_C" >&6; }
5845 # Check whether --enable-sockets was given.
5846 if test "${enable_sockets+set}" = set; then
5847 enableval=$enable_sockets;
5848 if test "$enableval" = yes; then
5849 wx_cv_use_sockets='wxUSE_SOCKETS
=yes'
5851 wx_cv_use_sockets='wxUSE_SOCKETS
=no
'
5856 wx_cv_use_sockets='wxUSE_SOCKETS
=${'DEFAULT_wxUSE_SOCKETS":-$defaultval}"
5861 eval "$wx_cv_use_sockets"
5863 if test x"$enablestring" = xdisable; then
5864 if test $wxUSE_SOCKETS = yes; then
5870 result=$wxUSE_SOCKETS
5873 { echo "$as_me:$LINENO: result
: $result" >&5
5874 echo "${ECHO_T}$result" >&6; }
5878 defaultval=$wxUSE_ALL_FEATURES
5879 if test -z "$defaultval"; then
5880 if test x"$enablestring" = xdisable; then
5887 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-ipv6" >&5
5888 echo $ECHO_N "checking
for --${enablestring:-enable}-ipv6...
$ECHO_C" >&6; }
5889 # Check whether --enable-ipv6 was given.
5890 if test "${enable_ipv6+set}" = set; then
5891 enableval=$enable_ipv6;
5892 if test "$enableval" = yes; then
5893 wx_cv_use_ipv6='wxUSE_IPV6=yes'
5895 wx_cv_use_ipv6='wxUSE_IPV6=no'
5900 wx_cv_use_ipv6='wxUSE_IPV6=${'DEFAULT_wxUSE_IPV6":-$defaultval}"
5905 eval "$wx_cv_use_ipv6"
5907 if test x
"$enablestring" = xdisable
; then
5908 if test $wxUSE_IPV6 = yes; then
5917 { echo "$as_me:$LINENO: result: $result" >&5
5918 echo "${ECHO_T}$result" >&6; }
5922 defaultval
=$wxUSE_ALL_FEATURES
5923 if test -z "$defaultval"; then
5924 if test x
"$enablestring" = xdisable
; then
5931 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ole" >&5
5932 echo $ECHO_N "checking for --${enablestring:-enable}-ole... $ECHO_C" >&6; }
5933 # Check whether --enable-ole was given.
5934 if test "${enable_ole+set}" = set; then
5935 enableval
=$enable_ole;
5936 if test "$enableval" = yes; then
5937 wx_cv_use_ole
='wxUSE_OLE=yes'
5939 wx_cv_use_ole
='wxUSE_OLE=no'
5944 wx_cv_use_ole
='wxUSE_OLE=${'DEFAULT_wxUSE_OLE":-$defaultval}"
5949 eval "$wx_cv_use_ole"
5951 if test x"$enablestring" = xdisable; then
5952 if test $wxUSE_OLE = yes; then
5961 { echo "$as_me:$LINENO: result: $result" >&5
5962 echo "${ECHO_T}$result" >&6; }
5966 defaultval=$wxUSE_ALL_FEATURES
5967 if test -z "$defaultval"; then
5968 if test x"$enablestring" = xdisable; then
5975 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataobj" >&5
5976 echo $ECHO_N "checking for --${enablestring:-enable}-dataobj... $ECHO_C" >&6; }
5977 # Check whether --enable-dataobj was given.
5978 if test "${enable_dataobj+set}" = set; then
5979 enableval=$enable_dataobj;
5980 if test "$enableval" = yes; then
5981 wx_cv_use_dataobj='wxUSE_DATAOBJ
=yes'
5983 wx_cv_use_dataobj='wxUSE_DATAOBJ
=no
'
5988 wx_cv_use_dataobj='wxUSE_DATAOBJ
=${'DEFAULT_wxUSE_DATAOBJ":-$defaultval}"
5993 eval "$wx_cv_use_dataobj"
5995 if test x"$enablestring" = xdisable; then
5996 if test $wxUSE_DATAOBJ = yes; then
6002 result=$wxUSE_DATAOBJ
6005 { echo "$as_me:$LINENO: result
: $result" >&5
6006 echo "${ECHO_T}$result" >&6; }
6011 defaultval=$wxUSE_ALL_FEATURES
6012 if test -z "$defaultval"; then
6013 if test x"$enablestring" = xdisable; then
6020 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-ipc" >&5
6021 echo $ECHO_N "checking
for --${enablestring:-enable}-ipc...
$ECHO_C" >&6; }
6022 # Check whether --enable-ipc was given.
6023 if test "${enable_ipc+set}" = set; then
6024 enableval=$enable_ipc;
6025 if test "$enableval" = yes; then
6026 wx_cv_use_ipc='wxUSE_IPC=yes'
6028 wx_cv_use_ipc='wxUSE_IPC=no'
6033 wx_cv_use_ipc='wxUSE_IPC=${'DEFAULT_wxUSE_IPC":-$defaultval}"
6038 eval "$wx_cv_use_ipc"
6040 if test x
"$enablestring" = xdisable
; then
6041 if test $wxUSE_IPC = yes; then
6050 { echo "$as_me:$LINENO: result: $result" >&5
6051 echo "${ECHO_T}$result" >&6; }
6056 defaultval
=$wxUSE_ALL_FEATURES
6057 if test -z "$defaultval"; then
6058 if test x
"$enablestring" = xdisable
; then
6065 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-baseevtloop" >&5
6066 echo $ECHO_N "checking for --${enablestring:-enable}-baseevtloop... $ECHO_C" >&6; }
6067 # Check whether --enable-baseevtloop was given.
6068 if test "${enable_baseevtloop+set}" = set; then
6069 enableval
=$enable_baseevtloop;
6070 if test "$enableval" = yes; then
6071 wx_cv_use_baseevtloop
='wxUSE_CONSOLE_EVENTLOOP=yes'
6073 wx_cv_use_baseevtloop
='wxUSE_CONSOLE_EVENTLOOP=no'
6078 wx_cv_use_baseevtloop
='wxUSE_CONSOLE_EVENTLOOP=${'DEFAULT_wxUSE_CONSOLE_EVENTLOOP":-$defaultval}"
6083 eval "$wx_cv_use_baseevtloop"
6085 if test x"$enablestring" = xdisable; then
6086 if test $wxUSE_CONSOLE_EVENTLOOP = yes; then
6092 result=$wxUSE_CONSOLE_EVENTLOOP
6095 { echo "$as_me:$LINENO: result: $result" >&5
6096 echo "${ECHO_T}$result" >&6; }
6100 defaultval=$wxUSE_ALL_FEATURES
6101 if test -z "$defaultval"; then
6102 if test x"$enablestring" = xdisable; then
6109 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-epollloop" >&5
6110 echo $ECHO_N "checking for --${enablestring:-enable}-epollloop... $ECHO_C" >&6; }
6111 # Check whether --enable-epollloop was given.
6112 if test "${enable_epollloop+set}" = set; then
6113 enableval=$enable_epollloop;
6114 if test "$enableval" = yes; then
6115 wx_cv_use_epollloop='wxUSE_EPOLL_DISPATCHER
=yes'
6117 wx_cv_use_epollloop='wxUSE_EPOLL_DISPATCHER
=no
'
6122 wx_cv_use_epollloop='wxUSE_EPOLL_DISPATCHER
=${'DEFAULT_wxUSE_EPOLL_DISPATCHER":-$defaultval}"
6127 eval "$wx_cv_use_epollloop"
6129 if test x"$enablestring" = xdisable; then
6130 if test $wxUSE_EPOLL_DISPATCHER = yes; then
6136 result=$wxUSE_EPOLL_DISPATCHER
6139 { echo "$as_me:$LINENO: result
: $result" >&5
6140 echo "${ECHO_T}$result" >&6; }
6144 defaultval=$wxUSE_ALL_FEATURES
6145 if test -z "$defaultval"; then
6146 if test x"$enablestring" = xdisable; then
6153 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-selectloop" >&5
6154 echo $ECHO_N "checking
for --${enablestring:-enable}-selectloop...
$ECHO_C" >&6; }
6155 # Check whether --enable-selectloop was given.
6156 if test "${enable_selectloop+set}" = set; then
6157 enableval=$enable_selectloop;
6158 if test "$enableval" = yes; then
6159 wx_cv_use_selectloop='wxUSE_SELECT_DISPATCHER=yes'
6161 wx_cv_use_selectloop='wxUSE_SELECT_DISPATCHER=no'
6166 wx_cv_use_selectloop='wxUSE_SELECT_DISPATCHER=${'DEFAULT_wxUSE_SELECT_DISPATCHER":-$defaultval}"
6171 eval "$wx_cv_use_selectloop"
6173 if test x
"$enablestring" = xdisable
; then
6174 if test $wxUSE_SELECT_DISPATCHER = yes; then
6180 result
=$wxUSE_SELECT_DISPATCHER
6183 { echo "$as_me:$LINENO: result: $result" >&5
6184 echo "${ECHO_T}$result" >&6; }
6189 defaultval
=$wxUSE_ALL_FEATURES
6190 if test -z "$defaultval"; then
6191 if test x
"$enablestring" = xdisable
; then
6198 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-apple_ieee" >&5
6199 echo $ECHO_N "checking for --${enablestring:-enable}-apple_ieee... $ECHO_C" >&6; }
6200 # Check whether --enable-apple_ieee was given.
6201 if test "${enable_apple_ieee+set}" = set; then
6202 enableval
=$enable_apple_ieee;
6203 if test "$enableval" = yes; then
6204 wx_cv_use_apple_ieee
='wxUSE_APPLE_IEEE=yes'
6206 wx_cv_use_apple_ieee
='wxUSE_APPLE_IEEE=no'
6211 wx_cv_use_apple_ieee
='wxUSE_APPLE_IEEE=${'DEFAULT_wxUSE_APPLE_IEEE":-$defaultval}"
6216 eval "$wx_cv_use_apple_ieee"
6218 if test x"$enablestring" = xdisable; then
6219 if test $wxUSE_APPLE_IEEE = yes; then
6225 result=$wxUSE_APPLE_IEEE
6228 { echo "$as_me:$LINENO: result: $result" >&5
6229 echo "${ECHO_T}$result" >&6; }
6233 defaultval=$wxUSE_ALL_FEATURES
6234 if test -z "$defaultval"; then
6235 if test x"$enablestring" = xdisable; then
6242 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-arcstream" >&5
6243 echo $ECHO_N "checking for --${enablestring:-enable}-arcstream... $ECHO_C" >&6; }
6244 # Check whether --enable-arcstream was given.
6245 if test "${enable_arcstream+set}" = set; then
6246 enableval=$enable_arcstream;
6247 if test "$enableval" = yes; then
6248 wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS
=yes'
6250 wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS
=no
'
6255 wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS
=${'DEFAULT_wxUSE_ARCHIVE_STREAMS":-$defaultval}"
6260 eval "$wx_cv_use_arcstream"
6262 if test x"$enablestring" = xdisable; then
6263 if test $wxUSE_ARCHIVE_STREAMS = yes; then
6269 result=$wxUSE_ARCHIVE_STREAMS
6272 { echo "$as_me:$LINENO: result
: $result" >&5
6273 echo "${ECHO_T}$result" >&6; }
6277 defaultval=$wxUSE_ALL_FEATURES
6278 if test -z "$defaultval"; then
6279 if test x"$enablestring" = xdisable; then
6286 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-base64" >&5
6287 echo $ECHO_N "checking
for --${enablestring:-enable}-base64...
$ECHO_C" >&6; }
6288 # Check whether --enable-base64 was given.
6289 if test "${enable_base64+set}" = set; then
6290 enableval=$enable_base64;
6291 if test "$enableval" = yes; then
6292 wx_cv_use_base64='wxUSE_BASE64=yes'
6294 wx_cv_use_base64='wxUSE_BASE64=no'
6299 wx_cv_use_base64='wxUSE_BASE64=${'DEFAULT_wxUSE_BASE64":-$defaultval}"
6304 eval "$wx_cv_use_base64"
6306 if test x
"$enablestring" = xdisable
; then
6307 if test $wxUSE_BASE64 = yes; then
6313 result
=$wxUSE_BASE64
6316 { echo "$as_me:$LINENO: result: $result" >&5
6317 echo "${ECHO_T}$result" >&6; }
6321 defaultval
=$wxUSE_ALL_FEATURES
6322 if test -z "$defaultval"; then
6323 if test x
"$enablestring" = xdisable
; then
6330 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-backtrace" >&5
6331 echo $ECHO_N "checking for --${enablestring:-enable}-backtrace... $ECHO_C" >&6; }
6332 # Check whether --enable-backtrace was given.
6333 if test "${enable_backtrace+set}" = set; then
6334 enableval
=$enable_backtrace;
6335 if test "$enableval" = yes; then
6336 wx_cv_use_backtrace
='wxUSE_STACKWALKER=yes'
6338 wx_cv_use_backtrace
='wxUSE_STACKWALKER=no'
6343 wx_cv_use_backtrace
='wxUSE_STACKWALKER=${'DEFAULT_wxUSE_STACKWALKER":-$defaultval}"
6348 eval "$wx_cv_use_backtrace"
6350 if test x"$enablestring" = xdisable; then
6351 if test $wxUSE_STACKWALKER = yes; then
6357 result=$wxUSE_STACKWALKER
6360 { echo "$as_me:$LINENO: result: $result" >&5
6361 echo "${ECHO_T}$result" >&6; }
6365 defaultval=$wxUSE_ALL_FEATURES
6366 if test -z "$defaultval"; then
6367 if test x"$enablestring" = xdisable; then
6374 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-catch_segvs" >&5
6375 echo $ECHO_N "checking for --${enablestring:-enable}-catch_segvs... $ECHO_C" >&6; }
6376 # Check whether --enable-catch_segvs was given.
6377 if test "${enable_catch_segvs+set}" = set; then
6378 enableval=$enable_catch_segvs;
6379 if test "$enableval" = yes; then
6380 wx_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION
=yes'
6382 wx_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION
=no
'
6387 wx_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION
=${'DEFAULT_wxUSE_ON_FATAL_EXCEPTION":-$defaultval}"
6392 eval "$wx_cv_use_catch_segvs"
6394 if test x"$enablestring" = xdisable; then
6395 if test $wxUSE_ON_FATAL_EXCEPTION = yes; then
6401 result=$wxUSE_ON_FATAL_EXCEPTION
6404 { echo "$as_me:$LINENO: result
: $result" >&5
6405 echo "${ECHO_T}$result" >&6; }
6409 defaultval=$wxUSE_ALL_FEATURES
6410 if test -z "$defaultval"; then
6411 if test x"$enablestring" = xdisable; then
6418 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-cmdline" >&5
6419 echo $ECHO_N "checking
for --${enablestring:-enable}-cmdline...
$ECHO_C" >&6; }
6420 # Check whether --enable-cmdline was given.
6421 if test "${enable_cmdline+set}" = set; then
6422 enableval=$enable_cmdline;
6423 if test "$enableval" = yes; then
6424 wx_cv_use_cmdline='wxUSE_CMDLINE_PARSER=yes'
6426 wx_cv_use_cmdline='wxUSE_CMDLINE_PARSER=no'
6431 wx_cv_use_cmdline='wxUSE_CMDLINE_PARSER=${'DEFAULT_wxUSE_CMDLINE_PARSER":-$defaultval}"
6436 eval "$wx_cv_use_cmdline"
6438 if test x
"$enablestring" = xdisable
; then
6439 if test $wxUSE_CMDLINE_PARSER = yes; then
6445 result
=$wxUSE_CMDLINE_PARSER
6448 { echo "$as_me:$LINENO: result: $result" >&5
6449 echo "${ECHO_T}$result" >&6; }
6453 defaultval
=$wxUSE_ALL_FEATURES
6454 if test -z "$defaultval"; then
6455 if test x
"$enablestring" = xdisable
; then
6462 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datetime" >&5
6463 echo $ECHO_N "checking for --${enablestring:-enable}-datetime... $ECHO_C" >&6; }
6464 # Check whether --enable-datetime was given.
6465 if test "${enable_datetime+set}" = set; then
6466 enableval
=$enable_datetime;
6467 if test "$enableval" = yes; then
6468 wx_cv_use_datetime
='wxUSE_DATETIME=yes'
6470 wx_cv_use_datetime
='wxUSE_DATETIME=no'
6475 wx_cv_use_datetime
='wxUSE_DATETIME=${'DEFAULT_wxUSE_DATETIME":-$defaultval}"
6480 eval "$wx_cv_use_datetime"
6482 if test x"$enablestring" = xdisable; then
6483 if test $wxUSE_DATETIME = yes; then
6489 result=$wxUSE_DATETIME
6492 { echo "$as_me:$LINENO: result: $result" >&5
6493 echo "${ECHO_T}$result" >&6; }
6497 defaultval=$wxUSE_ALL_FEATURES
6498 if test -z "$defaultval"; then
6499 if test x"$enablestring" = xdisable; then
6506 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debugreport" >&5
6507 echo $ECHO_N "checking for --${enablestring:-enable}-debugreport... $ECHO_C" >&6; }
6508 # Check whether --enable-debugreport was given.
6509 if test "${enable_debugreport+set}" = set; then
6510 enableval=$enable_debugreport;
6511 if test "$enableval" = yes; then
6512 wx_cv_use_debugreport='wxUSE_DEBUGREPORT
=yes'
6514 wx_cv_use_debugreport='wxUSE_DEBUGREPORT
=no
'
6519 wx_cv_use_debugreport='wxUSE_DEBUGREPORT
=${'DEFAULT_wxUSE_DEBUGREPORT":-$defaultval}"
6524 eval "$wx_cv_use_debugreport"
6526 if test x"$enablestring" = xdisable; then
6527 if test $wxUSE_DEBUGREPORT = yes; then
6533 result=$wxUSE_DEBUGREPORT
6536 { echo "$as_me:$LINENO: result
: $result" >&5
6537 echo "${ECHO_T}$result" >&6; }
6541 defaultval=$wxUSE_ALL_FEATURES
6542 if test -z "$defaultval"; then
6543 if test x"$enablestring" = xdisable; then
6550 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-dialupman" >&5
6551 echo $ECHO_N "checking
for --${enablestring:-enable}-dialupman...
$ECHO_C" >&6; }
6552 # Check whether --enable-dialupman was given.
6553 if test "${enable_dialupman+set}" = set; then
6554 enableval=$enable_dialupman;
6555 if test "$enableval" = yes; then
6556 wx_cv_use_dialupman='wxUSE_DIALUP_MANAGER=yes'
6558 wx_cv_use_dialupman='wxUSE_DIALUP_MANAGER=no'
6563 wx_cv_use_dialupman='wxUSE_DIALUP_MANAGER=${'DEFAULT_wxUSE_DIALUP_MANAGER":-$defaultval}"
6568 eval "$wx_cv_use_dialupman"
6570 if test x
"$enablestring" = xdisable
; then
6571 if test $wxUSE_DIALUP_MANAGER = yes; then
6577 result
=$wxUSE_DIALUP_MANAGER
6580 { echo "$as_me:$LINENO: result: $result" >&5
6581 echo "${ECHO_T}$result" >&6; }
6585 defaultval
=$wxUSE_ALL_FEATURES
6586 if test -z "$defaultval"; then
6587 if test x
"$enablestring" = xdisable
; then
6594 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynlib" >&5
6595 echo $ECHO_N "checking for --${enablestring:-enable}-dynlib... $ECHO_C" >&6; }
6596 # Check whether --enable-dynlib was given.
6597 if test "${enable_dynlib+set}" = set; then
6598 enableval
=$enable_dynlib;
6599 if test "$enableval" = yes; then
6600 wx_cv_use_dynlib
='wxUSE_DYNLIB_CLASS=yes'
6602 wx_cv_use_dynlib
='wxUSE_DYNLIB_CLASS=no'
6607 wx_cv_use_dynlib
='wxUSE_DYNLIB_CLASS=${'DEFAULT_wxUSE_DYNLIB_CLASS":-$defaultval}"
6612 eval "$wx_cv_use_dynlib"
6614 if test x"$enablestring" = xdisable; then
6615 if test $wxUSE_DYNLIB_CLASS = yes; then
6621 result=$wxUSE_DYNLIB_CLASS
6624 { echo "$as_me:$LINENO: result: $result" >&5
6625 echo "${ECHO_T}$result" >&6; }
6629 defaultval=$wxUSE_ALL_FEATURES
6630 if test -z "$defaultval"; then
6631 if test x"$enablestring" = xdisable; then
6638 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynamicloader" >&5
6639 echo $ECHO_N "checking for --${enablestring:-enable}-dynamicloader... $ECHO_C" >&6; }
6640 # Check whether --enable-dynamicloader was given.
6641 if test "${enable_dynamicloader+set}" = set; then
6642 enableval=$enable_dynamicloader;
6643 if test "$enableval" = yes; then
6644 wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER
=yes'
6646 wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER
=no
'
6651 wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER
=${'DEFAULT_wxUSE_DYNAMIC_LOADER":-$defaultval}"
6656 eval "$wx_cv_use_dynamicloader"
6658 if test x"$enablestring" = xdisable; then
6659 if test $wxUSE_DYNAMIC_LOADER = yes; then
6665 result=$wxUSE_DYNAMIC_LOADER
6668 { echo "$as_me:$LINENO: result
: $result" >&5
6669 echo "${ECHO_T}$result" >&6; }
6673 defaultval=$wxUSE_ALL_FEATURES
6674 if test -z "$defaultval"; then
6675 if test x"$enablestring" = xdisable; then
6682 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-exceptions" >&5
6683 echo $ECHO_N "checking
for --${enablestring:-enable}-exceptions...
$ECHO_C" >&6; }
6684 # Check whether --enable-exceptions was given.
6685 if test "${enable_exceptions+set}" = set; then
6686 enableval=$enable_exceptions;
6687 if test "$enableval" = yes; then
6688 wx_cv_use_exceptions='wxUSE_EXCEPTIONS=yes'
6690 wx_cv_use_exceptions='wxUSE_EXCEPTIONS=no'
6695 wx_cv_use_exceptions='wxUSE_EXCEPTIONS=${'DEFAULT_wxUSE_EXCEPTIONS":-$defaultval}"
6700 eval "$wx_cv_use_exceptions"
6702 if test x
"$enablestring" = xdisable
; then
6703 if test $wxUSE_EXCEPTIONS = yes; then
6709 result
=$wxUSE_EXCEPTIONS
6712 { echo "$as_me:$LINENO: result: $result" >&5
6713 echo "${ECHO_T}$result" >&6; }
6717 defaultval
=$wxUSE_ALL_FEATURES
6718 if test -z "$defaultval"; then
6719 if test x
"$enablestring" = xdisable
; then
6726 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ffile" >&5
6727 echo $ECHO_N "checking for --${enablestring:-enable}-ffile... $ECHO_C" >&6; }
6728 # Check whether --enable-ffile was given.
6729 if test "${enable_ffile+set}" = set; then
6730 enableval
=$enable_ffile;
6731 if test "$enableval" = yes; then
6732 wx_cv_use_ffile
='wxUSE_FFILE=yes'
6734 wx_cv_use_ffile
='wxUSE_FFILE=no'
6739 wx_cv_use_ffile
='wxUSE_FFILE=${'DEFAULT_wxUSE_FFILE":-$defaultval}"
6744 eval "$wx_cv_use_ffile"
6746 if test x"$enablestring" = xdisable; then
6747 if test $wxUSE_FFILE = yes; then
6756 { echo "$as_me:$LINENO: result: $result" >&5
6757 echo "${ECHO_T}$result" >&6; }
6761 defaultval=$wxUSE_ALL_FEATURES
6762 if test -z "$defaultval"; then
6763 if test x"$enablestring" = xdisable; then
6770 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-file" >&5
6771 echo $ECHO_N "checking for --${enablestring:-enable}-file... $ECHO_C" >&6; }
6772 # Check whether --enable-file was given.
6773 if test "${enable_file+set}" = set; then
6774 enableval=$enable_file;
6775 if test "$enableval" = yes; then
6776 wx_cv_use_file='wxUSE_FILE
=yes'
6778 wx_cv_use_file='wxUSE_FILE
=no
'
6783 wx_cv_use_file='wxUSE_FILE
=${'DEFAULT_wxUSE_FILE":-$defaultval}"
6788 eval "$wx_cv_use_file"
6790 if test x"$enablestring" = xdisable; then
6791 if test $wxUSE_FILE = yes; then
6800 { echo "$as_me:$LINENO: result
: $result" >&5
6801 echo "${ECHO_T}$result" >&6; }
6805 defaultval=$wxUSE_ALL_FEATURES
6806 if test -z "$defaultval"; then
6807 if test x"$enablestring" = xdisable; then
6814 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-filesystem" >&5
6815 echo $ECHO_N "checking
for --${enablestring:-enable}-filesystem...
$ECHO_C" >&6; }
6816 # Check whether --enable-filesystem was given.
6817 if test "${enable_filesystem+set}" = set; then
6818 enableval=$enable_filesystem;
6819 if test "$enableval" = yes; then
6820 wx_cv_use_filesystem='wxUSE_FILESYSTEM=yes'
6822 wx_cv_use_filesystem='wxUSE_FILESYSTEM=no'
6827 wx_cv_use_filesystem='wxUSE_FILESYSTEM=${'DEFAULT_wxUSE_FILESYSTEM":-$defaultval}"
6832 eval "$wx_cv_use_filesystem"
6834 if test x
"$enablestring" = xdisable
; then
6835 if test $wxUSE_FILESYSTEM = yes; then
6841 result
=$wxUSE_FILESYSTEM
6844 { echo "$as_me:$LINENO: result: $result" >&5
6845 echo "${ECHO_T}$result" >&6; }
6849 defaultval
=$wxUSE_ALL_FEATURES
6850 if test -z "$defaultval"; then
6851 if test x
"$enablestring" = xdisable
; then
6858 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontenum" >&5
6859 echo $ECHO_N "checking for --${enablestring:-enable}-fontenum... $ECHO_C" >&6; }
6860 # Check whether --enable-fontenum was given.
6861 if test "${enable_fontenum+set}" = set; then
6862 enableval
=$enable_fontenum;
6863 if test "$enableval" = yes; then
6864 wx_cv_use_fontenum
='wxUSE_FONTENUM=yes'
6866 wx_cv_use_fontenum
='wxUSE_FONTENUM=no'
6871 wx_cv_use_fontenum
='wxUSE_FONTENUM=${'DEFAULT_wxUSE_FONTENUM":-$defaultval}"
6876 eval "$wx_cv_use_fontenum"
6878 if test x"$enablestring" = xdisable; then
6879 if test $wxUSE_FONTENUM = yes; then
6885 result=$wxUSE_FONTENUM
6888 { echo "$as_me:$LINENO: result: $result" >&5
6889 echo "${ECHO_T}$result" >&6; }
6893 defaultval=$wxUSE_ALL_FEATURES
6894 if test -z "$defaultval"; then
6895 if test x"$enablestring" = xdisable; then
6902 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontmap" >&5
6903 echo $ECHO_N "checking for --${enablestring:-enable}-fontmap... $ECHO_C" >&6; }
6904 # Check whether --enable-fontmap was given.
6905 if test "${enable_fontmap+set}" = set; then
6906 enableval=$enable_fontmap;
6907 if test "$enableval" = yes; then
6908 wx_cv_use_fontmap='wxUSE_FONTMAP
=yes'
6910 wx_cv_use_fontmap='wxUSE_FONTMAP
=no
'
6915 wx_cv_use_fontmap='wxUSE_FONTMAP
=${'DEFAULT_wxUSE_FONTMAP":-$defaultval}"
6920 eval "$wx_cv_use_fontmap"
6922 if test x"$enablestring" = xdisable; then
6923 if test $wxUSE_FONTMAP = yes; then
6929 result=$wxUSE_FONTMAP
6932 { echo "$as_me:$LINENO: result
: $result" >&5
6933 echo "${ECHO_T}$result" >&6; }
6937 defaultval=$wxUSE_ALL_FEATURES
6938 if test -z "$defaultval"; then
6939 if test x"$enablestring" = xdisable; then
6946 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-fs_archive" >&5
6947 echo $ECHO_N "checking
for --${enablestring:-enable}-fs_archive...
$ECHO_C" >&6; }
6948 # Check whether --enable-fs_archive was given.
6949 if test "${enable_fs_archive+set}" = set; then
6950 enableval=$enable_fs_archive;
6951 if test "$enableval" = yes; then
6952 wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE=yes'
6954 wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE=no'
6959 wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE=${'DEFAULT_wxUSE_FS_ARCHIVE":-$defaultval}"
6964 eval "$wx_cv_use_fs_archive"
6966 if test x
"$enablestring" = xdisable
; then
6967 if test $wxUSE_FS_ARCHIVE = yes; then
6973 result
=$wxUSE_FS_ARCHIVE
6976 { echo "$as_me:$LINENO: result: $result" >&5
6977 echo "${ECHO_T}$result" >&6; }
6981 defaultval
=$wxUSE_ALL_FEATURES
6982 if test -z "$defaultval"; then
6983 if test x
"$enablestring" = xdisable
; then
6990 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_inet" >&5
6991 echo $ECHO_N "checking for --${enablestring:-enable}-fs_inet... $ECHO_C" >&6; }
6992 # Check whether --enable-fs_inet was given.
6993 if test "${enable_fs_inet+set}" = set; then
6994 enableval
=$enable_fs_inet;
6995 if test "$enableval" = yes; then
6996 wx_cv_use_fs_inet
='wxUSE_FS_INET=yes'
6998 wx_cv_use_fs_inet
='wxUSE_FS_INET=no'
7003 wx_cv_use_fs_inet
='wxUSE_FS_INET=${'DEFAULT_wxUSE_FS_INET":-$defaultval}"
7008 eval "$wx_cv_use_fs_inet"
7010 if test x"$enablestring" = xdisable; then
7011 if test $wxUSE_FS_INET = yes; then
7017 result=$wxUSE_FS_INET
7020 { echo "$as_me:$LINENO: result: $result" >&5
7021 echo "${ECHO_T}$result" >&6; }
7025 defaultval=$wxUSE_ALL_FEATURES
7026 if test -z "$defaultval"; then
7027 if test x"$enablestring" = xdisable; then
7034 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_zip" >&5
7035 echo $ECHO_N "checking for --${enablestring:-enable}-fs_zip... $ECHO_C" >&6; }
7036 # Check whether --enable-fs_zip was given.
7037 if test "${enable_fs_zip+set}" = set; then
7038 enableval=$enable_fs_zip;
7039 if test "$enableval" = yes; then
7040 wx_cv_use_fs_zip='wxUSE_FS_ZIP
=yes'
7042 wx_cv_use_fs_zip='wxUSE_FS_ZIP
=no
'
7047 wx_cv_use_fs_zip='wxUSE_FS_ZIP
=${'DEFAULT_wxUSE_FS_ZIP":-$defaultval}"
7052 eval "$wx_cv_use_fs_zip"
7054 if test x"$enablestring" = xdisable; then
7055 if test $wxUSE_FS_ZIP = yes; then
7061 result=$wxUSE_FS_ZIP
7064 { echo "$as_me:$LINENO: result
: $result" >&5
7065 echo "${ECHO_T}$result" >&6; }
7069 defaultval=$wxUSE_ALL_FEATURES
7070 if test -z "$defaultval"; then
7071 if test x"$enablestring" = xdisable; then
7078 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-geometry" >&5
7079 echo $ECHO_N "checking
for --${enablestring:-enable}-geometry...
$ECHO_C" >&6; }
7080 # Check whether --enable-geometry was given.
7081 if test "${enable_geometry+set}" = set; then
7082 enableval=$enable_geometry;
7083 if test "$enableval" = yes; then
7084 wx_cv_use_geometry='wxUSE_GEOMETRY=yes'
7086 wx_cv_use_geometry='wxUSE_GEOMETRY=no'
7091 wx_cv_use_geometry='wxUSE_GEOMETRY=${'DEFAULT_wxUSE_GEOMETRY":-$defaultval}"
7096 eval "$wx_cv_use_geometry"
7098 if test x
"$enablestring" = xdisable
; then
7099 if test $wxUSE_GEOMETRY = yes; then
7105 result
=$wxUSE_GEOMETRY
7108 { echo "$as_me:$LINENO: result: $result" >&5
7109 echo "${ECHO_T}$result" >&6; }
7113 defaultval
=$wxUSE_ALL_FEATURES
7114 if test -z "$defaultval"; then
7115 if test x
"$enablestring" = xdisable
; then
7122 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-log" >&5
7123 echo $ECHO_N "checking for --${enablestring:-enable}-log... $ECHO_C" >&6; }
7124 # Check whether --enable-log was given.
7125 if test "${enable_log+set}" = set; then
7126 enableval
=$enable_log;
7127 if test "$enableval" = yes; then
7128 wx_cv_use_log
='wxUSE_LOG=yes'
7130 wx_cv_use_log
='wxUSE_LOG=no'
7135 wx_cv_use_log
='wxUSE_LOG=${'DEFAULT_wxUSE_LOG":-$defaultval}"
7140 eval "$wx_cv_use_log"
7142 if test x"$enablestring" = xdisable; then
7143 if test $wxUSE_LOG = yes; then
7152 { echo "$as_me:$LINENO: result: $result" >&5
7153 echo "${ECHO_T}$result" >&6; }
7157 defaultval=$wxUSE_ALL_FEATURES
7158 if test -z "$defaultval"; then
7159 if test x"$enablestring" = xdisable; then
7166 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-longlong" >&5
7167 echo $ECHO_N "checking for --${enablestring:-enable}-longlong... $ECHO_C" >&6; }
7168 # Check whether --enable-longlong was given.
7169 if test "${enable_longlong+set}" = set; then
7170 enableval=$enable_longlong;
7171 if test "$enableval" = yes; then
7172 wx_cv_use_longlong='wxUSE_LONGLONG
=yes'
7174 wx_cv_use_longlong='wxUSE_LONGLONG
=no
'
7179 wx_cv_use_longlong='wxUSE_LONGLONG
=${'DEFAULT_wxUSE_LONGLONG":-$defaultval}"
7184 eval "$wx_cv_use_longlong"
7186 if test x"$enablestring" = xdisable; then
7187 if test $wxUSE_LONGLONG = yes; then
7193 result=$wxUSE_LONGLONG
7196 { echo "$as_me:$LINENO: result
: $result" >&5
7197 echo "${ECHO_T}$result" >&6; }
7201 defaultval=$wxUSE_ALL_FEATURES
7202 if test -z "$defaultval"; then
7203 if test x"$enablestring" = xdisable; then
7210 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-mimetype" >&5
7211 echo $ECHO_N "checking
for --${enablestring:-enable}-mimetype...
$ECHO_C" >&6; }
7212 # Check whether --enable-mimetype was given.
7213 if test "${enable_mimetype+set}" = set; then
7214 enableval=$enable_mimetype;
7215 if test "$enableval" = yes; then
7216 wx_cv_use_mimetype='wxUSE_MIMETYPE=yes'
7218 wx_cv_use_mimetype='wxUSE_MIMETYPE=no'
7223 wx_cv_use_mimetype='wxUSE_MIMETYPE=${'DEFAULT_wxUSE_MIMETYPE":-$defaultval}"
7228 eval "$wx_cv_use_mimetype"
7230 if test x
"$enablestring" = xdisable
; then
7231 if test $wxUSE_MIMETYPE = yes; then
7237 result
=$wxUSE_MIMETYPE
7240 { echo "$as_me:$LINENO: result: $result" >&5
7241 echo "${ECHO_T}$result" >&6; }
7245 defaultval
=$wxUSE_ALL_FEATURES
7246 if test -z "$defaultval"; then
7247 if test x
"$enablestring" = xdisable
; then
7254 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-snglinst" >&5
7255 echo $ECHO_N "checking for --${enablestring:-enable}-snglinst... $ECHO_C" >&6; }
7256 # Check whether --enable-snglinst was given.
7257 if test "${enable_snglinst+set}" = set; then
7258 enableval
=$enable_snglinst;
7259 if test "$enableval" = yes; then
7260 wx_cv_use_snglinst
='wxUSE_SNGLINST_CHECKER=yes'
7262 wx_cv_use_snglinst
='wxUSE_SNGLINST_CHECKER=no'
7267 wx_cv_use_snglinst
='wxUSE_SNGLINST_CHECKER=${'DEFAULT_wxUSE_SNGLINST_CHECKER":-$defaultval}"
7272 eval "$wx_cv_use_snglinst"
7274 if test x"$enablestring" = xdisable; then
7275 if test $wxUSE_SNGLINST_CHECKER = yes; then
7281 result=$wxUSE_SNGLINST_CHECKER
7284 { echo "$as_me:$LINENO: result: $result" >&5
7285 echo "${ECHO_T}$result" >&6; }
7289 defaultval=$wxUSE_ALL_FEATURES
7290 if test -z "$defaultval"; then
7291 if test x"$enablestring" = xdisable; then
7298 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stdpaths" >&5
7299 echo $ECHO_N "checking for --${enablestring:-enable}-stdpaths... $ECHO_C" >&6; }
7300 # Check whether --enable-stdpaths was given.
7301 if test "${enable_stdpaths+set}" = set; then
7302 enableval=$enable_stdpaths;
7303 if test "$enableval" = yes; then
7304 wx_cv_use_stdpaths='wxUSE_STDPATHS
=yes'
7306 wx_cv_use_stdpaths='wxUSE_STDPATHS
=no
'
7311 wx_cv_use_stdpaths='wxUSE_STDPATHS
=${'DEFAULT_wxUSE_STDPATHS":-$defaultval}"
7316 eval "$wx_cv_use_stdpaths"
7318 if test x"$enablestring" = xdisable; then
7319 if test $wxUSE_STDPATHS = yes; then
7325 result=$wxUSE_STDPATHS
7328 { echo "$as_me:$LINENO: result
: $result" >&5
7329 echo "${ECHO_T}$result" >&6; }
7333 defaultval=$wxUSE_ALL_FEATURES
7334 if test -z "$defaultval"; then
7335 if test x"$enablestring" = xdisable; then
7342 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-stopwatch" >&5
7343 echo $ECHO_N "checking
for --${enablestring:-enable}-stopwatch...
$ECHO_C" >&6; }
7344 # Check whether --enable-stopwatch was given.
7345 if test "${enable_stopwatch+set}" = set; then
7346 enableval=$enable_stopwatch;
7347 if test "$enableval" = yes; then
7348 wx_cv_use_stopwatch='wxUSE_STOPWATCH=yes'
7350 wx_cv_use_stopwatch='wxUSE_STOPWATCH=no'
7355 wx_cv_use_stopwatch='wxUSE_STOPWATCH=${'DEFAULT_wxUSE_STOPWATCH":-$defaultval}"
7360 eval "$wx_cv_use_stopwatch"
7362 if test x
"$enablestring" = xdisable
; then
7363 if test $wxUSE_STOPWATCH = yes; then
7369 result
=$wxUSE_STOPWATCH
7372 { echo "$as_me:$LINENO: result: $result" >&5
7373 echo "${ECHO_T}$result" >&6; }
7377 defaultval
=$wxUSE_ALL_FEATURES
7378 if test -z "$defaultval"; then
7379 if test x
"$enablestring" = xdisable
; then
7386 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-streams" >&5
7387 echo $ECHO_N "checking for --${enablestring:-enable}-streams... $ECHO_C" >&6; }
7388 # Check whether --enable-streams was given.
7389 if test "${enable_streams+set}" = set; then
7390 enableval
=$enable_streams;
7391 if test "$enableval" = yes; then
7392 wx_cv_use_streams
='wxUSE_STREAMS=yes'
7394 wx_cv_use_streams
='wxUSE_STREAMS=no'
7399 wx_cv_use_streams
='wxUSE_STREAMS=${'DEFAULT_wxUSE_STREAMS":-$defaultval}"
7404 eval "$wx_cv_use_streams"
7406 if test x"$enablestring" = xdisable; then
7407 if test $wxUSE_STREAMS = yes; then
7413 result=$wxUSE_STREAMS
7416 { echo "$as_me:$LINENO: result: $result" >&5
7417 echo "${ECHO_T}$result" >&6; }
7421 defaultval=$wxUSE_ALL_FEATURES
7422 if test -z "$defaultval"; then
7423 if test x"$enablestring" = xdisable; then
7430 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-system_options" >&5
7431 echo $ECHO_N "checking for --${enablestring:-enable}-system_options... $ECHO_C" >&6; }
7432 # Check whether --enable-system_options was given.
7433 if test "${enable_system_options+set}" = set; then
7434 enableval=$enable_system_options;
7435 if test "$enableval" = yes; then
7436 wx_cv_use_system_options='wxUSE_SYSTEM_OPTIONS
=yes'
7438 wx_cv_use_system_options='wxUSE_SYSTEM_OPTIONS
=no
'
7443 wx_cv_use_system_options='wxUSE_SYSTEM_OPTIONS
=${'DEFAULT_wxUSE_SYSTEM_OPTIONS":-$defaultval}"
7448 eval "$wx_cv_use_system_options"
7450 if test x"$enablestring" = xdisable; then
7451 if test $wxUSE_SYSTEM_OPTIONS = yes; then
7457 result=$wxUSE_SYSTEM_OPTIONS
7460 { echo "$as_me:$LINENO: result
: $result" >&5
7461 echo "${ECHO_T}$result" >&6; }
7465 defaultval=$wxUSE_ALL_FEATURES
7466 if test -z "$defaultval"; then
7467 if test x"$enablestring" = xdisable; then
7474 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-tarstream" >&5
7475 echo $ECHO_N "checking
for --${enablestring:-enable}-tarstream...
$ECHO_C" >&6; }
7476 # Check whether --enable-tarstream was given.
7477 if test "${enable_tarstream+set}" = set; then
7478 enableval=$enable_tarstream;
7479 if test "$enableval" = yes; then
7480 wx_cv_use_tarstream='wxUSE_TARSTREAM=yes'
7482 wx_cv_use_tarstream='wxUSE_TARSTREAM=no'
7487 wx_cv_use_tarstream='wxUSE_TARSTREAM=${'DEFAULT_wxUSE_TARSTREAM":-$defaultval}"
7492 eval "$wx_cv_use_tarstream"
7494 if test x
"$enablestring" = xdisable
; then
7495 if test $wxUSE_TARSTREAM = yes; then
7501 result
=$wxUSE_TARSTREAM
7504 { echo "$as_me:$LINENO: result: $result" >&5
7505 echo "${ECHO_T}$result" >&6; }
7509 defaultval
=$wxUSE_ALL_FEATURES
7510 if test -z "$defaultval"; then
7511 if test x
"$enablestring" = xdisable
; then
7518 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textbuf" >&5
7519 echo $ECHO_N "checking for --${enablestring:-enable}-textbuf... $ECHO_C" >&6; }
7520 # Check whether --enable-textbuf was given.
7521 if test "${enable_textbuf+set}" = set; then
7522 enableval
=$enable_textbuf;
7523 if test "$enableval" = yes; then
7524 wx_cv_use_textbuf
='wxUSE_TEXTBUFFER=yes'
7526 wx_cv_use_textbuf
='wxUSE_TEXTBUFFER=no'
7531 wx_cv_use_textbuf
='wxUSE_TEXTBUFFER=${'DEFAULT_wxUSE_TEXTBUFFER":-$defaultval}"
7536 eval "$wx_cv_use_textbuf"
7538 if test x"$enablestring" = xdisable; then
7539 if test $wxUSE_TEXTBUFFER = yes; then
7545 result=$wxUSE_TEXTBUFFER
7548 { echo "$as_me:$LINENO: result: $result" >&5
7549 echo "${ECHO_T}$result" >&6; }
7553 defaultval=$wxUSE_ALL_FEATURES
7554 if test -z "$defaultval"; then
7555 if test x"$enablestring" = xdisable; then
7562 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textfile" >&5
7563 echo $ECHO_N "checking for --${enablestring:-enable}-textfile... $ECHO_C" >&6; }
7564 # Check whether --enable-textfile was given.
7565 if test "${enable_textfile+set}" = set; then
7566 enableval=$enable_textfile;
7567 if test "$enableval" = yes; then
7568 wx_cv_use_textfile='wxUSE_TEXTFILE
=yes'
7570 wx_cv_use_textfile='wxUSE_TEXTFILE
=no
'
7575 wx_cv_use_textfile='wxUSE_TEXTFILE
=${'DEFAULT_wxUSE_TEXTFILE":-$defaultval}"
7580 eval "$wx_cv_use_textfile"
7582 if test x"$enablestring" = xdisable; then
7583 if test $wxUSE_TEXTFILE = yes; then
7589 result=$wxUSE_TEXTFILE
7592 { echo "$as_me:$LINENO: result
: $result" >&5
7593 echo "${ECHO_T}$result" >&6; }
7597 defaultval=$wxUSE_ALL_FEATURES
7598 if test -z "$defaultval"; then
7599 if test x"$enablestring" = xdisable; then
7606 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-timer" >&5
7607 echo $ECHO_N "checking
for --${enablestring:-enable}-timer...
$ECHO_C" >&6; }
7608 # Check whether --enable-timer was given.
7609 if test "${enable_timer+set}" = set; then
7610 enableval=$enable_timer;
7611 if test "$enableval" = yes; then
7612 wx_cv_use_timer='wxUSE_TIMER=yes'
7614 wx_cv_use_timer='wxUSE_TIMER=no'
7619 wx_cv_use_timer='wxUSE_TIMER=${'DEFAULT_wxUSE_TIMER":-$defaultval}"
7624 eval "$wx_cv_use_timer"
7626 if test x
"$enablestring" = xdisable
; then
7627 if test $wxUSE_TIMER = yes; then
7636 { echo "$as_me:$LINENO: result: $result" >&5
7637 echo "${ECHO_T}$result" >&6; }
7641 defaultval
=$wxUSE_ALL_FEATURES
7642 if test -z "$defaultval"; then
7643 if test x
"$enablestring" = xdisable
; then
7650 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sound" >&5
7651 echo $ECHO_N "checking for --${enablestring:-enable}-sound... $ECHO_C" >&6; }
7652 # Check whether --enable-sound was given.
7653 if test "${enable_sound+set}" = set; then
7654 enableval
=$enable_sound;
7655 if test "$enableval" = yes; then
7656 wx_cv_use_sound
='wxUSE_SOUND=yes'
7658 wx_cv_use_sound
='wxUSE_SOUND=no'
7663 wx_cv_use_sound
='wxUSE_SOUND=${'DEFAULT_wxUSE_SOUND":-$defaultval}"
7668 eval "$wx_cv_use_sound"
7670 if test x"$enablestring" = xdisable; then
7671 if test $wxUSE_SOUND = yes; then
7680 { echo "$as_me:$LINENO: result: $result" >&5
7681 echo "${ECHO_T}$result" >&6; }
7685 defaultval=$wxUSE_ALL_FEATURES
7686 if test -z "$defaultval"; then
7687 if test x"$enablestring" = xdisable; then
7694 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mediactrl" >&5
7695 echo $ECHO_N "checking for --${enablestring:-enable}-mediactrl... $ECHO_C" >&6; }
7696 # Check whether --enable-mediactrl was given.
7697 if test "${enable_mediactrl+set}" = set; then
7698 enableval=$enable_mediactrl;
7699 if test "$enableval" = yes; then
7700 wx_cv_use_mediactrl='wxUSE_MEDIACTRL
=yes'
7702 wx_cv_use_mediactrl='wxUSE_MEDIACTRL
=no
'
7707 wx_cv_use_mediactrl='wxUSE_MEDIACTRL
=${'DEFAULT_wxUSE_MEDIACTRL":-$defaultval}"
7712 eval "$wx_cv_use_mediactrl"
7714 if test x"$enablestring" = xdisable; then
7715 if test $wxUSE_MEDIACTRL = yes; then
7721 result=$wxUSE_MEDIACTRL
7724 { echo "$as_me:$LINENO: result
: $result" >&5
7725 echo "${ECHO_T}$result" >&6; }
7729 defaultval=$wxUSE_ALL_FEATURES
7730 if test -z "$defaultval"; then
7731 if test x"$enablestring" = xdisable; then
7738 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-gstreamer8" >&5
7739 echo $ECHO_N "checking
for --${enablestring:-enable}-gstreamer8...
$ECHO_C" >&6; }
7740 # Check whether --enable-gstreamer8 was given.
7741 if test "${enable_gstreamer8+set}" = set; then
7742 enableval=$enable_gstreamer8;
7743 if test "$enableval" = yes; then
7744 wx_cv_use_gstreamer8='wxUSE_GSTREAMER8=yes'
7746 wx_cv_use_gstreamer8='wxUSE_GSTREAMER8=no'
7751 wx_cv_use_gstreamer8='wxUSE_GSTREAMER8=${'DEFAULT_wxUSE_GSTREAMER8":-$defaultval}"
7756 eval "$wx_cv_use_gstreamer8"
7758 if test x
"$enablestring" = xdisable
; then
7759 if test $wxUSE_GSTREAMER8 = yes; then
7765 result
=$wxUSE_GSTREAMER8
7768 { echo "$as_me:$LINENO: result: $result" >&5
7769 echo "${ECHO_T}$result" >&6; }
7773 defaultval
=$wxUSE_ALL_FEATURES
7774 if test -z "$defaultval"; then
7775 if test x
"$enablestring" = xdisable
; then
7782 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printfposparam" >&5
7783 echo $ECHO_N "checking for --${enablestring:-enable}-printfposparam... $ECHO_C" >&6; }
7784 # Check whether --enable-printfposparam was given.
7785 if test "${enable_printfposparam+set}" = set; then
7786 enableval
=$enable_printfposparam;
7787 if test "$enableval" = yes; then
7788 wx_cv_use_printfposparam
='wxUSE_PRINTF_POS_PARAMS=yes'
7790 wx_cv_use_printfposparam
='wxUSE_PRINTF_POS_PARAMS=no'
7795 wx_cv_use_printfposparam
='wxUSE_PRINTF_POS_PARAMS=${'DEFAULT_wxUSE_PRINTF_POS_PARAMS":-$defaultval}"
7800 eval "$wx_cv_use_printfposparam"
7802 if test x"$enablestring" = xdisable; then
7803 if test $wxUSE_PRINTF_POS_PARAMS = yes; then
7809 result=$wxUSE_PRINTF_POS_PARAMS
7812 { echo "$as_me:$LINENO: result: $result" >&5
7813 echo "${ECHO_T}$result" >&6; }
7817 defaultval=$wxUSE_ALL_FEATURES
7818 if test -z "$defaultval"; then
7819 if test x"$enablestring" = xdisable; then
7826 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-zipstream" >&5
7827 echo $ECHO_N "checking for --${enablestring:-enable}-zipstream... $ECHO_C" >&6; }
7828 # Check whether --enable-zipstream was given.
7829 if test "${enable_zipstream+set}" = set; then
7830 enableval=$enable_zipstream;
7831 if test "$enableval" = yes; then
7832 wx_cv_use_zipstream='wxUSE_ZIPSTREAM
=yes'
7834 wx_cv_use_zipstream='wxUSE_ZIPSTREAM
=no
'
7839 wx_cv_use_zipstream='wxUSE_ZIPSTREAM
=${'DEFAULT_wxUSE_ZIPSTREAM":-$defaultval}"
7844 eval "$wx_cv_use_zipstream"
7846 if test x"$enablestring" = xdisable; then
7847 if test $wxUSE_ZIPSTREAM = yes; then
7853 result=$wxUSE_ZIPSTREAM
7856 { echo "$as_me:$LINENO: result
: $result" >&5
7857 echo "${ECHO_T}$result" >&6; }
7862 defaultval=$wxUSE_ALL_FEATURES
7863 if test -z "$defaultval"; then
7864 if test x"$enablestring" = xdisable; then
7871 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-url" >&5
7872 echo $ECHO_N "checking
for --${enablestring:-enable}-url...
$ECHO_C" >&6; }
7873 # Check whether --enable-url was given.
7874 if test "${enable_url+set}" = set; then
7875 enableval=$enable_url;
7876 if test "$enableval" = yes; then
7877 wx_cv_use_url='wxUSE_URL=yes'
7879 wx_cv_use_url='wxUSE_URL=no'
7884 wx_cv_use_url='wxUSE_URL=${'DEFAULT_wxUSE_URL":-$defaultval}"
7889 eval "$wx_cv_use_url"
7891 if test x
"$enablestring" = xdisable
; then
7892 if test $wxUSE_URL = yes; then
7901 { echo "$as_me:$LINENO: result: $result" >&5
7902 echo "${ECHO_T}$result" >&6; }
7906 defaultval
=$wxUSE_ALL_FEATURES
7907 if test -z "$defaultval"; then
7908 if test x
"$enablestring" = xdisable
; then
7915 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-variant" >&5
7916 echo $ECHO_N "checking for --${enablestring:-enable}-variant... $ECHO_C" >&6; }
7917 # Check whether --enable-variant was given.
7918 if test "${enable_variant+set}" = set; then
7919 enableval
=$enable_variant;
7920 if test "$enableval" = yes; then
7921 wx_cv_use_variant
='wxUSE_VARIANT=yes'
7923 wx_cv_use_variant
='wxUSE_VARIANT=no'
7928 wx_cv_use_variant
='wxUSE_VARIANT=${'DEFAULT_wxUSE_VARIANT":-$defaultval}"
7933 eval "$wx_cv_use_variant"
7935 if test x"$enablestring" = xdisable; then
7936 if test $wxUSE_VARIANT = yes; then
7942 result=$wxUSE_VARIANT
7945 { echo "$as_me:$LINENO: result: $result" >&5
7946 echo "${ECHO_T}$result" >&6; }
7950 defaultval=$wxUSE_ALL_FEATURES
7951 if test -z "$defaultval"; then
7952 if test x"$enablestring" = xdisable; then
7959 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol" >&5
7960 echo $ECHO_N "checking for --${enablestring:-enable}-protocol... $ECHO_C" >&6; }
7961 # Check whether --enable-protocol was given.
7962 if test "${enable_protocol+set}" = set; then
7963 enableval=$enable_protocol;
7964 if test "$enableval" = yes; then
7965 wx_cv_use_protocol='wxUSE_PROTOCOL
=yes'
7967 wx_cv_use_protocol='wxUSE_PROTOCOL
=no
'
7972 wx_cv_use_protocol='wxUSE_PROTOCOL
=${'DEFAULT_wxUSE_PROTOCOL":-$defaultval}"
7977 eval "$wx_cv_use_protocol"
7979 if test x"$enablestring" = xdisable; then
7980 if test $wxUSE_PROTOCOL = yes; then
7986 result=$wxUSE_PROTOCOL
7989 { echo "$as_me:$LINENO: result
: $result" >&5
7990 echo "${ECHO_T}$result" >&6; }
7994 defaultval=$wxUSE_ALL_FEATURES
7995 if test -z "$defaultval"; then
7996 if test x"$enablestring" = xdisable; then
8003 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-protocol_http" >&5
8004 echo $ECHO_N "checking
for --${enablestring:-enable}-protocol_http...
$ECHO_C" >&6; }
8005 # Check whether --enable-protocol_http was given.
8006 if test "${enable_protocol_http+set}" = set; then
8007 enableval=$enable_protocol_http;
8008 if test "$enableval" = yes; then
8009 wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=yes'
8011 wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=no'
8016 wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=${'DEFAULT_wxUSE_PROTOCOL_HTTP":-$defaultval}"
8021 eval "$wx_cv_use_protocol_http"
8023 if test x
"$enablestring" = xdisable
; then
8024 if test $wxUSE_PROTOCOL_HTTP = yes; then
8030 result
=$wxUSE_PROTOCOL_HTTP
8033 { echo "$as_me:$LINENO: result: $result" >&5
8034 echo "${ECHO_T}$result" >&6; }
8038 defaultval
=$wxUSE_ALL_FEATURES
8039 if test -z "$defaultval"; then
8040 if test x
"$enablestring" = xdisable
; then
8047 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_ftp" >&5
8048 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_ftp... $ECHO_C" >&6; }
8049 # Check whether --enable-protocol_ftp was given.
8050 if test "${enable_protocol_ftp+set}" = set; then
8051 enableval
=$enable_protocol_ftp;
8052 if test "$enableval" = yes; then
8053 wx_cv_use_protocol_ftp
='wxUSE_PROTOCOL_FTP=yes'
8055 wx_cv_use_protocol_ftp
='wxUSE_PROTOCOL_FTP=no'
8060 wx_cv_use_protocol_ftp
='wxUSE_PROTOCOL_FTP=${'DEFAULT_wxUSE_PROTOCOL_FTP":-$defaultval}"
8065 eval "$wx_cv_use_protocol_ftp"
8067 if test x"$enablestring" = xdisable; then
8068 if test $wxUSE_PROTOCOL_FTP = yes; then
8074 result=$wxUSE_PROTOCOL_FTP
8077 { echo "$as_me:$LINENO: result: $result" >&5
8078 echo "${ECHO_T}$result" >&6; }
8082 defaultval=$wxUSE_ALL_FEATURES
8083 if test -z "$defaultval"; then
8084 if test x"$enablestring" = xdisable; then
8091 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_file" >&5
8092 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_file... $ECHO_C" >&6; }
8093 # Check whether --enable-protocol_file was given.
8094 if test "${enable_protocol_file+set}" = set; then
8095 enableval=$enable_protocol_file;
8096 if test "$enableval" = yes; then
8097 wx_cv_use_protocol_file='wxUSE_PROTOCOL_FILE
=yes'
8099 wx_cv_use_protocol_file='wxUSE_PROTOCOL_FILE
=no
'
8104 wx_cv_use_protocol_file='wxUSE_PROTOCOL_FILE
=${'DEFAULT_wxUSE_PROTOCOL_FILE":-$defaultval}"
8109 eval "$wx_cv_use_protocol_file"
8111 if test x"$enablestring" = xdisable; then
8112 if test $wxUSE_PROTOCOL_FILE = yes; then
8118 result=$wxUSE_PROTOCOL_FILE
8121 { echo "$as_me:$LINENO: result
: $result" >&5
8122 echo "${ECHO_T}$result" >&6; }
8127 defaultval=$wxUSE_ALL_FEATURES
8128 if test -z "$defaultval"; then
8129 if test x"$enablestring" = xdisable; then
8136 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-threads" >&5
8137 echo $ECHO_N "checking
for --${enablestring:-enable}-threads...
$ECHO_C" >&6; }
8138 # Check whether --enable-threads was given.
8139 if test "${enable_threads+set}" = set; then
8140 enableval=$enable_threads;
8141 if test "$enableval" = yes; then
8142 wx_cv_use_threads='wxUSE_THREADS=yes'
8144 wx_cv_use_threads='wxUSE_THREADS=no'
8149 wx_cv_use_threads='wxUSE_THREADS=${'DEFAULT_wxUSE_THREADS":-$defaultval}"
8154 eval "$wx_cv_use_threads"
8156 if test x
"$enablestring" = xdisable
; then
8157 if test $wxUSE_THREADS = yes; then
8163 result
=$wxUSE_THREADS
8166 { echo "$as_me:$LINENO: result: $result" >&5
8167 echo "${ECHO_T}$result" >&6; }
8173 if test -z "$defaultval"; then
8174 if test x
"$enablestring" = xdisable
; then
8181 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-iniconf" >&5
8182 echo $ECHO_N "checking for --${enablestring:-enable}-iniconf... $ECHO_C" >&6; }
8183 # Check whether --enable-iniconf was given.
8184 if test "${enable_iniconf+set}" = set; then
8185 enableval
=$enable_iniconf;
8186 if test "$enableval" = yes; then
8187 wx_cv_use_iniconf
='wxUSE_INICONF=yes'
8189 wx_cv_use_iniconf
='wxUSE_INICONF=no'
8194 wx_cv_use_iniconf
='wxUSE_INICONF=${'DEFAULT_wxUSE_INICONF":-$defaultval}"
8199 eval "$wx_cv_use_iniconf"
8201 if test x"$enablestring" = xdisable; then
8202 if test $wxUSE_INICONF = yes; then
8208 result=$wxUSE_INICONF
8211 { echo "$as_me:$LINENO: result: $result" >&5
8212 echo "${ECHO_T}$result" >&6; }
8216 defaultval=$wxUSE_ALL_FEATURES
8217 if test -z "$defaultval"; then
8218 if test x"$enablestring" = xdisable; then
8225 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-regkey" >&5
8226 echo $ECHO_N "checking for --${enablestring:-enable}-regkey... $ECHO_C" >&6; }
8227 # Check whether --enable-regkey was given.
8228 if test "${enable_regkey+set}" = set; then
8229 enableval=$enable_regkey;
8230 if test "$enableval" = yes; then
8231 wx_cv_use_regkey='wxUSE_REGKEY
=yes'
8233 wx_cv_use_regkey='wxUSE_REGKEY
=no
'
8238 wx_cv_use_regkey='wxUSE_REGKEY
=${'DEFAULT_wxUSE_REGKEY":-$defaultval}"
8243 eval "$wx_cv_use_regkey"
8245 if test x"$enablestring" = xdisable; then
8246 if test $wxUSE_REGKEY = yes; then
8252 result=$wxUSE_REGKEY
8255 { echo "$as_me:$LINENO: result
: $result" >&5
8256 echo "${ECHO_T}$result" >&6; }
8259 if test "$wxUSE_GUI" = "yes"; then
8264 defaultval=$wxUSE_ALL_FEATURES
8265 if test -z "$defaultval"; then
8266 if test x"$enablestring" = xdisable; then
8273 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-docview" >&5
8274 echo $ECHO_N "checking
for --${enablestring:-enable}-docview...
$ECHO_C" >&6; }
8275 # Check whether --enable-docview was given.
8276 if test "${enable_docview+set}" = set; then
8277 enableval=$enable_docview;
8278 if test "$enableval" = yes; then
8279 wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=yes'
8281 wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=no'
8286 wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=${'DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE":-$defaultval}"
8291 eval "$wx_cv_use_docview"
8293 if test x
"$enablestring" = xdisable
; then
8294 if test $wxUSE_DOC_VIEW_ARCHITECTURE = yes; then
8300 result
=$wxUSE_DOC_VIEW_ARCHITECTURE
8303 { echo "$as_me:$LINENO: result: $result" >&5
8304 echo "${ECHO_T}$result" >&6; }
8308 defaultval
=$wxUSE_ALL_FEATURES
8309 if test -z "$defaultval"; then
8310 if test x
"$enablestring" = xdisable
; then
8317 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-help" >&5
8318 echo $ECHO_N "checking for --${enablestring:-enable}-help... $ECHO_C" >&6; }
8319 # Check whether --enable-help was given.
8320 if test "${enable_help+set}" = set; then
8321 enableval
=$enable_help;
8322 if test "$enableval" = yes; then
8323 wx_cv_use_help
='wxUSE_HELP=yes'
8325 wx_cv_use_help
='wxUSE_HELP=no'
8330 wx_cv_use_help
='wxUSE_HELP=${'DEFAULT_wxUSE_HELP":-$defaultval}"
8335 eval "$wx_cv_use_help"
8337 if test x"$enablestring" = xdisable; then
8338 if test $wxUSE_HELP = yes; then
8347 { echo "$as_me:$LINENO: result: $result" >&5
8348 echo "${ECHO_T}$result" >&6; }
8352 defaultval=$wxUSE_ALL_FEATURES
8353 if test -z "$defaultval"; then
8354 if test x"$enablestring" = xdisable; then
8361 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mshtmlhelp" >&5
8362 echo $ECHO_N "checking for --${enablestring:-enable}-mshtmlhelp... $ECHO_C" >&6; }
8363 # Check whether --enable-mshtmlhelp was given.
8364 if test "${enable_mshtmlhelp+set}" = set; then
8365 enableval=$enable_mshtmlhelp;
8366 if test "$enableval" = yes; then
8367 wx_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP
=yes'
8369 wx_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP
=no
'
8374 wx_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP
=${'DEFAULT_wxUSE_MS_HTML_HELP":-$defaultval}"
8379 eval "$wx_cv_use_mshtmlhelp"
8381 if test x"$enablestring" = xdisable; then
8382 if test $wxUSE_MS_HTML_HELP = yes; then
8388 result=$wxUSE_MS_HTML_HELP
8391 { echo "$as_me:$LINENO: result
: $result" >&5
8392 echo "${ECHO_T}$result" >&6; }
8396 defaultval=$wxUSE_ALL_FEATURES
8397 if test -z "$defaultval"; then
8398 if test x"$enablestring" = xdisable; then
8405 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-html" >&5
8406 echo $ECHO_N "checking
for --${enablestring:-enable}-html...
$ECHO_C" >&6; }
8407 # Check whether --enable-html was given.
8408 if test "${enable_html+set}" = set; then
8409 enableval=$enable_html;
8410 if test "$enableval" = yes; then
8411 wx_cv_use_html='wxUSE_HTML=yes'
8413 wx_cv_use_html='wxUSE_HTML=no'
8418 wx_cv_use_html='wxUSE_HTML=${'DEFAULT_wxUSE_HTML":-$defaultval}"
8423 eval "$wx_cv_use_html"
8425 if test x
"$enablestring" = xdisable
; then
8426 if test $wxUSE_HTML = yes; then
8435 { echo "$as_me:$LINENO: result: $result" >&5
8436 echo "${ECHO_T}$result" >&6; }
8440 defaultval
=$wxUSE_ALL_FEATURES
8441 if test -z "$defaultval"; then
8442 if test x
"$enablestring" = xdisable
; then
8449 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-htmlhelp" >&5
8450 echo $ECHO_N "checking for --${enablestring:-enable}-htmlhelp... $ECHO_C" >&6; }
8451 # Check whether --enable-htmlhelp was given.
8452 if test "${enable_htmlhelp+set}" = set; then
8453 enableval
=$enable_htmlhelp;
8454 if test "$enableval" = yes; then
8455 wx_cv_use_htmlhelp
='wxUSE_WXHTML_HELP=yes'
8457 wx_cv_use_htmlhelp
='wxUSE_WXHTML_HELP=no'
8462 wx_cv_use_htmlhelp
='wxUSE_WXHTML_HELP=${'DEFAULT_wxUSE_WXHTML_HELP":-$defaultval}"
8467 eval "$wx_cv_use_htmlhelp"
8469 if test x"$enablestring" = xdisable; then
8470 if test $wxUSE_WXHTML_HELP = yes; then
8476 result=$wxUSE_WXHTML_HELP
8479 { echo "$as_me:$LINENO: result: $result" >&5
8480 echo "${ECHO_T}$result" >&6; }
8484 defaultval=$wxUSE_ALL_FEATURES
8485 if test -z "$defaultval"; then
8486 if test x"$enablestring" = xdisable; then
8493 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xrc" >&5
8494 echo $ECHO_N "checking for --${enablestring:-enable}-xrc... $ECHO_C" >&6; }
8495 # Check whether --enable-xrc was given.
8496 if test "${enable_xrc+set}" = set; then
8497 enableval=$enable_xrc;
8498 if test "$enableval" = yes; then
8499 wx_cv_use_xrc='wxUSE_XRC
=yes'
8501 wx_cv_use_xrc='wxUSE_XRC
=no
'
8506 wx_cv_use_xrc='wxUSE_XRC
=${'DEFAULT_wxUSE_XRC":-$defaultval}"
8511 eval "$wx_cv_use_xrc"
8513 if test x"$enablestring" = xdisable; then
8514 if test $wxUSE_XRC = yes; then
8523 { echo "$as_me:$LINENO: result
: $result" >&5
8524 echo "${ECHO_T}$result" >&6; }
8528 defaultval=$wxUSE_ALL_FEATURES
8529 if test -z "$defaultval"; then
8530 if test x"$enablestring" = xdisable; then
8537 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-aui" >&5
8538 echo $ECHO_N "checking
for --${enablestring:-enable}-aui...
$ECHO_C" >&6; }
8539 # Check whether --enable-aui was given.
8540 if test "${enable_aui+set}" = set; then
8541 enableval=$enable_aui;
8542 if test "$enableval" = yes; then
8543 wx_cv_use_aui='wxUSE_AUI=yes'
8545 wx_cv_use_aui='wxUSE_AUI=no'
8550 wx_cv_use_aui='wxUSE_AUI=${'DEFAULT_wxUSE_AUI":-$defaultval}"
8555 eval "$wx_cv_use_aui"
8557 if test x
"$enablestring" = xdisable
; then
8558 if test $wxUSE_AUI = yes; then
8567 { echo "$as_me:$LINENO: result: $result" >&5
8568 echo "${ECHO_T}$result" >&6; }
8572 defaultval
=$wxUSE_ALL_FEATURES
8573 if test -z "$defaultval"; then
8574 if test x
"$enablestring" = xdisable
; then
8581 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stc" >&5
8582 echo $ECHO_N "checking for --${enablestring:-enable}-stc... $ECHO_C" >&6; }
8583 # Check whether --enable-stc was given.
8584 if test "${enable_stc+set}" = set; then
8585 enableval
=$enable_stc;
8586 if test "$enableval" = yes; then
8587 wx_cv_use_stc
='wxUSE_STC=yes'
8589 wx_cv_use_stc
='wxUSE_STC=no'
8594 wx_cv_use_stc
='wxUSE_STC=${'DEFAULT_wxUSE_STC":-$defaultval}"
8599 eval "$wx_cv_use_stc"
8601 if test x"$enablestring" = xdisable; then
8602 if test $wxUSE_STC = yes; then
8611 { echo "$as_me:$LINENO: result: $result" >&5
8612 echo "${ECHO_T}$result" >&6; }
8616 defaultval=$wxUSE_ALL_FEATURES
8617 if test -z "$defaultval"; then
8618 if test x"$enablestring" = xdisable; then
8625 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-constraints" >&5
8626 echo $ECHO_N "checking for --${enablestring:-enable}-constraints... $ECHO_C" >&6; }
8627 # Check whether --enable-constraints was given.
8628 if test "${enable_constraints+set}" = set; then
8629 enableval=$enable_constraints;
8630 if test "$enableval" = yes; then
8631 wx_cv_use_constraints='wxUSE_CONSTRAINTS
=yes'
8633 wx_cv_use_constraints='wxUSE_CONSTRAINTS
=no
'
8638 wx_cv_use_constraints='wxUSE_CONSTRAINTS
=${'DEFAULT_wxUSE_CONSTRAINTS":-$defaultval}"
8643 eval "$wx_cv_use_constraints"
8645 if test x"$enablestring" = xdisable; then
8646 if test $wxUSE_CONSTRAINTS = yes; then
8652 result=$wxUSE_CONSTRAINTS
8655 { echo "$as_me:$LINENO: result
: $result" >&5
8656 echo "${ECHO_T}$result" >&6; }
8660 defaultval=$wxUSE_ALL_FEATURES
8661 if test -z "$defaultval"; then
8662 if test x"$enablestring" = xdisable; then
8669 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-printarch" >&5
8670 echo $ECHO_N "checking
for --${enablestring:-enable}-printarch...
$ECHO_C" >&6; }
8671 # Check whether --enable-printarch was given.
8672 if test "${enable_printarch+set}" = set; then
8673 enableval=$enable_printarch;
8674 if test "$enableval" = yes; then
8675 wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=yes'
8677 wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=no'
8682 wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=${'DEFAULT_wxUSE_PRINTING_ARCHITECTURE":-$defaultval}"
8687 eval "$wx_cv_use_printarch"
8689 if test x
"$enablestring" = xdisable
; then
8690 if test $wxUSE_PRINTING_ARCHITECTURE = yes; then
8696 result
=$wxUSE_PRINTING_ARCHITECTURE
8699 { echo "$as_me:$LINENO: result: $result" >&5
8700 echo "${ECHO_T}$result" >&6; }
8704 defaultval
=$wxUSE_ALL_FEATURES
8705 if test -z "$defaultval"; then
8706 if test x
"$enablestring" = xdisable
; then
8713 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdi" >&5
8714 echo $ECHO_N "checking for --${enablestring:-enable}-mdi... $ECHO_C" >&6; }
8715 # Check whether --enable-mdi was given.
8716 if test "${enable_mdi+set}" = set; then
8717 enableval
=$enable_mdi;
8718 if test "$enableval" = yes; then
8719 wx_cv_use_mdi
='wxUSE_MDI=yes'
8721 wx_cv_use_mdi
='wxUSE_MDI=no'
8726 wx_cv_use_mdi
='wxUSE_MDI=${'DEFAULT_wxUSE_MDI":-$defaultval}"
8731 eval "$wx_cv_use_mdi"
8733 if test x"$enablestring" = xdisable; then
8734 if test $wxUSE_MDI = yes; then
8743 { echo "$as_me:$LINENO: result: $result" >&5
8744 echo "${ECHO_T}$result" >&6; }
8748 defaultval=$wxUSE_ALL_FEATURES
8749 if test -z "$defaultval"; then
8750 if test x"$enablestring" = xdisable; then
8757 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdidoc" >&5
8758 echo $ECHO_N "checking for --${enablestring:-enable}-mdidoc... $ECHO_C" >&6; }
8759 # Check whether --enable-mdidoc was given.
8760 if test "${enable_mdidoc+set}" = set; then
8761 enableval=$enable_mdidoc;
8762 if test "$enableval" = yes; then
8763 wx_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE
=yes'
8765 wx_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE
=no
'
8770 wx_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE
=${'DEFAULT_wxUSE_MDI_ARCHITECTURE":-$defaultval}"
8775 eval "$wx_cv_use_mdidoc"
8777 if test x"$enablestring" = xdisable; then
8778 if test $wxUSE_MDI_ARCHITECTURE = yes; then
8784 result=$wxUSE_MDI_ARCHITECTURE
8787 { echo "$as_me:$LINENO: result
: $result" >&5
8788 echo "${ECHO_T}$result" >&6; }
8792 defaultval=$wxUSE_ALL_FEATURES
8793 if test -z "$defaultval"; then
8794 if test x"$enablestring" = xdisable; then
8801 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-loggui" >&5
8802 echo $ECHO_N "checking
for --${enablestring:-enable}-loggui...
$ECHO_C" >&6; }
8803 # Check whether --enable-loggui was given.
8804 if test "${enable_loggui+set}" = set; then
8805 enableval=$enable_loggui;
8806 if test "$enableval" = yes; then
8807 wx_cv_use_loggui='wxUSE_LOGGUI=yes'
8809 wx_cv_use_loggui='wxUSE_LOGGUI=no'
8814 wx_cv_use_loggui='wxUSE_LOGGUI=${'DEFAULT_wxUSE_LOGGUI":-$defaultval}"
8819 eval "$wx_cv_use_loggui"
8821 if test x
"$enablestring" = xdisable
; then
8822 if test $wxUSE_LOGGUI = yes; then
8828 result
=$wxUSE_LOGGUI
8831 { echo "$as_me:$LINENO: result: $result" >&5
8832 echo "${ECHO_T}$result" >&6; }
8836 defaultval
=$wxUSE_ALL_FEATURES
8837 if test -z "$defaultval"; then
8838 if test x
"$enablestring" = xdisable
; then
8845 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logwin" >&5
8846 echo $ECHO_N "checking for --${enablestring:-enable}-logwin... $ECHO_C" >&6; }
8847 # Check whether --enable-logwin was given.
8848 if test "${enable_logwin+set}" = set; then
8849 enableval
=$enable_logwin;
8850 if test "$enableval" = yes; then
8851 wx_cv_use_logwin
='wxUSE_LOGWINDOW=yes'
8853 wx_cv_use_logwin
='wxUSE_LOGWINDOW=no'
8858 wx_cv_use_logwin
='wxUSE_LOGWINDOW=${'DEFAULT_wxUSE_LOGWINDOW":-$defaultval}"
8863 eval "$wx_cv_use_logwin"
8865 if test x"$enablestring" = xdisable; then
8866 if test $wxUSE_LOGWINDOW = yes; then
8872 result=$wxUSE_LOGWINDOW
8875 { echo "$as_me:$LINENO: result: $result" >&5
8876 echo "${ECHO_T}$result" >&6; }
8880 defaultval=$wxUSE_ALL_FEATURES
8881 if test -z "$defaultval"; then
8882 if test x"$enablestring" = xdisable; then
8889 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logdialog" >&5
8890 echo $ECHO_N "checking for --${enablestring:-enable}-logdialog... $ECHO_C" >&6; }
8891 # Check whether --enable-logdialog was given.
8892 if test "${enable_logdialog+set}" = set; then
8893 enableval=$enable_logdialog;
8894 if test "$enableval" = yes; then
8895 wx_cv_use_logdialog='wxUSE_LOGDIALOG
=yes'
8897 wx_cv_use_logdialog='wxUSE_LOGDIALOG
=no
'
8902 wx_cv_use_logdialog='wxUSE_LOGDIALOG
=${'DEFAULT_wxUSE_LOGDIALOG":-$defaultval}"
8907 eval "$wx_cv_use_logdialog"
8909 if test x"$enablestring" = xdisable; then
8910 if test $wxUSE_LOGDIALOG = yes; then
8916 result=$wxUSE_LOGDIALOG
8919 { echo "$as_me:$LINENO: result
: $result" >&5
8920 echo "${ECHO_T}$result" >&6; }
8924 defaultval=$wxUSE_ALL_FEATURES
8925 if test -z "$defaultval"; then
8926 if test x"$enablestring" = xdisable; then
8933 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-webkit" >&5
8934 echo $ECHO_N "checking
for --${enablestring:-enable}-webkit...
$ECHO_C" >&6; }
8935 # Check whether --enable-webkit was given.
8936 if test "${enable_webkit+set}" = set; then
8937 enableval=$enable_webkit;
8938 if test "$enableval" = yes; then
8939 wx_cv_use_webkit='wxUSE_WEBKIT=yes'
8941 wx_cv_use_webkit='wxUSE_WEBKIT=no'
8946 wx_cv_use_webkit='wxUSE_WEBKIT=${'DEFAULT_wxUSE_WEBKIT":-$defaultval}"
8951 eval "$wx_cv_use_webkit"
8953 if test x
"$enablestring" = xdisable
; then
8954 if test $wxUSE_WEBKIT = yes; then
8960 result
=$wxUSE_WEBKIT
8963 { echo "$as_me:$LINENO: result: $result" >&5
8964 echo "${ECHO_T}$result" >&6; }
8968 defaultval
=$wxUSE_ALL_FEATURES
8969 if test -z "$defaultval"; then
8970 if test x
"$enablestring" = xdisable
; then
8977 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-richtext" >&5
8978 echo $ECHO_N "checking for --${enablestring:-enable}-richtext... $ECHO_C" >&6; }
8979 # Check whether --enable-richtext was given.
8980 if test "${enable_richtext+set}" = set; then
8981 enableval
=$enable_richtext;
8982 if test "$enableval" = yes; then
8983 wx_cv_use_richtext
='wxUSE_RICHTEXT=yes'
8985 wx_cv_use_richtext
='wxUSE_RICHTEXT=no'
8990 wx_cv_use_richtext
='wxUSE_RICHTEXT=${'DEFAULT_wxUSE_RICHTEXT":-$defaultval}"
8995 eval "$wx_cv_use_richtext"
8997 if test x"$enablestring" = xdisable; then
8998 if test $wxUSE_RICHTEXT = yes; then
9004 result=$wxUSE_RICHTEXT
9007 { echo "$as_me:$LINENO: result: $result" >&5
9008 echo "${ECHO_T}$result" >&6; }
9012 defaultval=$wxUSE_ALL_FEATURES
9013 if test -z "$defaultval"; then
9014 if test x"$enablestring" = xdisable; then
9021 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-graphics_ctx" >&5
9022 echo $ECHO_N "checking for --${enablestring:-enable}-graphics_ctx... $ECHO_C" >&6; }
9023 # Check whether --enable-graphics_ctx was given.
9024 if test "${enable_graphics_ctx+set}" = set; then
9025 enableval=$enable_graphics_ctx;
9026 if test "$enableval" = yes; then
9027 wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT
=yes'
9029 wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT
=no
'
9034 wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT
=${'DEFAULT_wxUSE_GRAPHICS_CONTEXT":-$defaultval}"
9039 eval "$wx_cv_use_graphics_ctx"
9041 if test x"$enablestring" = xdisable; then
9042 if test $wxUSE_GRAPHICS_CONTEXT = yes; then
9048 result=$wxUSE_GRAPHICS_CONTEXT
9051 { echo "$as_me:$LINENO: result
: $result" >&5
9052 echo "${ECHO_T}$result" >&6; }
9056 defaultval=$wxUSE_ALL_FEATURES
9057 if test -z "$defaultval"; then
9058 if test x"$enablestring" = xdisable; then
9065 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-postscript" >&5
9066 echo $ECHO_N "checking
for --${enablestring:-enable}-postscript...
$ECHO_C" >&6; }
9067 # Check whether --enable-postscript was given.
9068 if test "${enable_postscript+set}" = set; then
9069 enableval=$enable_postscript;
9070 if test "$enableval" = yes; then
9071 wx_cv_use_postscript='wxUSE_POSTSCRIPT=yes'
9073 wx_cv_use_postscript='wxUSE_POSTSCRIPT=no'
9078 wx_cv_use_postscript='wxUSE_POSTSCRIPT=${'DEFAULT_wxUSE_POSTSCRIPT":-$defaultval}"
9083 eval "$wx_cv_use_postscript"
9085 if test x
"$enablestring" = xdisable
; then
9086 if test $wxUSE_POSTSCRIPT = yes; then
9092 result
=$wxUSE_POSTSCRIPT
9095 { echo "$as_me:$LINENO: result: $result" >&5
9096 echo "${ECHO_T}$result" >&6; }
9100 defaultval
=$wxUSE_ALL_FEATURES
9101 if test -z "$defaultval"; then
9102 if test x
"$enablestring" = xdisable
; then
9109 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-svg" >&5
9110 echo $ECHO_N "checking for --${enablestring:-enable}-svg... $ECHO_C" >&6; }
9111 # Check whether --enable-svg was given.
9112 if test "${enable_svg+set}" = set; then
9113 enableval
=$enable_svg;
9114 if test "$enableval" = yes; then
9115 wx_cv_use_svg
='wxUSE_SVG=yes'
9117 wx_cv_use_svg
='wxUSE_SVG=no'
9122 wx_cv_use_svg
='wxUSE_SVG=${'DEFAULT_wxUSE_SVG":-$defaultval}"
9127 eval "$wx_cv_use_svg"
9129 if test x"$enablestring" = xdisable; then
9130 if test $wxUSE_SVG = yes; then
9139 { echo "$as_me:$LINENO: result: $result" >&5
9140 echo "${ECHO_T}$result" >&6; }
9146 defaultval=$wxUSE_ALL_FEATURES
9147 if test -z "$defaultval"; then
9148 if test x"$enablestring" = xdisable; then
9155 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-clipboard" >&5
9156 echo $ECHO_N "checking for --${enablestring:-enable}-clipboard... $ECHO_C" >&6; }
9157 # Check whether --enable-clipboard was given.
9158 if test "${enable_clipboard+set}" = set; then
9159 enableval=$enable_clipboard;
9160 if test "$enableval" = yes; then
9161 wx_cv_use_clipboard='wxUSE_CLIPBOARD
=yes'
9163 wx_cv_use_clipboard='wxUSE_CLIPBOARD
=no
'
9168 wx_cv_use_clipboard='wxUSE_CLIPBOARD
=${'DEFAULT_wxUSE_CLIPBOARD":-$defaultval}"
9173 eval "$wx_cv_use_clipboard"
9175 if test x"$enablestring" = xdisable; then
9176 if test $wxUSE_CLIPBOARD = yes; then
9182 result=$wxUSE_CLIPBOARD
9185 { echo "$as_me:$LINENO: result
: $result" >&5
9186 echo "${ECHO_T}$result" >&6; }
9190 defaultval=$wxUSE_ALL_FEATURES
9191 if test -z "$defaultval"; then
9192 if test x"$enablestring" = xdisable; then
9199 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-dnd" >&5
9200 echo $ECHO_N "checking
for --${enablestring:-enable}-dnd...
$ECHO_C" >&6; }
9201 # Check whether --enable-dnd was given.
9202 if test "${enable_dnd+set}" = set; then
9203 enableval=$enable_dnd;
9204 if test "$enableval" = yes; then
9205 wx_cv_use_dnd='wxUSE_DRAG_AND_DROP=yes'
9207 wx_cv_use_dnd='wxUSE_DRAG_AND_DROP=no'
9212 wx_cv_use_dnd='wxUSE_DRAG_AND_DROP=${'DEFAULT_wxUSE_DRAG_AND_DROP":-$defaultval}"
9217 eval "$wx_cv_use_dnd"
9219 if test x
"$enablestring" = xdisable
; then
9220 if test $wxUSE_DRAG_AND_DROP = yes; then
9226 result
=$wxUSE_DRAG_AND_DROP
9229 { echo "$as_me:$LINENO: result: $result" >&5
9230 echo "${ECHO_T}$result" >&6; }
9234 defaultval
=$wxUSE_ALL_FEATURES
9235 if test -z "$defaultval"; then
9236 if test x
"$enablestring" = xdisable
; then
9243 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
9244 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6; }
9245 # Check whether --enable-metafile was given.
9246 if test "${enable_metafile+set}" = set; then
9247 enableval
=$enable_metafile;
9248 if test "$enableval" = yes; then
9249 wx_cv_use_metafile
='wxUSE_METAFILE=yes'
9251 wx_cv_use_metafile
='wxUSE_METAFILE=no'
9256 wx_cv_use_metafile
='wxUSE_METAFILE=${'DEFAULT_wxUSE_METAFILE":-$defaultval}"
9261 eval "$wx_cv_use_metafile"
9263 if test x"$enablestring" = xdisable; then
9264 if test $wxUSE_METAFILE = yes; then
9270 result=$wxUSE_METAFILE
9273 { echo "$as_me:$LINENO: result: $result" >&5
9274 echo "${ECHO_T}$result" >&6; }
9278 DEFAULT_wxUSE_CONTROLS=none
9280 enablestring=disable
9282 if test -z "$defaultval"; then
9283 if test x"$enablestring" = xdisable; then
9290 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-controls" >&5
9291 echo $ECHO_N "checking for --${enablestring:-enable}-controls... $ECHO_C" >&6; }
9292 # Check whether --enable-controls was given.
9293 if test "${enable_controls+set}" = set; then
9294 enableval=$enable_controls;
9295 if test "$enableval" = yes; then
9296 wx_cv_use_controls='wxUSE_CONTROLS
=yes'
9298 wx_cv_use_controls='wxUSE_CONTROLS
=no
'
9303 wx_cv_use_controls='wxUSE_CONTROLS
=${'DEFAULT_wxUSE_CONTROLS":-$defaultval}"
9308 eval "$wx_cv_use_controls"
9310 if test x"$enablestring" = xdisable; then
9311 if test $wxUSE_CONTROLS = yes; then
9317 result=$wxUSE_CONTROLS
9320 { echo "$as_me:$LINENO: result
: $result" >&5
9321 echo "${ECHO_T}$result" >&6; }
9324 if test "$wxUSE_CONTROLS" = "yes"; then
9325 DEFAULT_wxUSE_ACCEL=yes
9326 DEFAULT_wxUSE_ANIMATIONCTRL=yes
9327 DEFAULT_wxUSE_BMPBUTTON=yes
9328 DEFAULT_wxUSE_BUTTON=yes
9329 DEFAULT_wxUSE_CALCTRL=yes
9330 DEFAULT_wxUSE_CARET=yes
9331 DEFAULT_wxUSE_COMBOBOX=yes
9332 DEFAULT_wxUSE_CHECKBOX=yes
9333 DEFAULT_wxUSE_CHECKLISTBOX=yes
9334 DEFAULT_wxUSE_CHOICE=yes
9335 DEFAULT_wxUSE_CHOICEBOOK=yes
9336 DEFAULT_wxUSE_COLLPANE=yes
9337 DEFAULT_wxUSE_COLOURPICKERCTRL=yes
9338 DEFAULT_wxUSE_COMBOBOX=yes
9339 DEFAULT_wxUSE_DATEPICKCTRL=yes
9340 DEFAULT_wxUSE_DISPLAY=yes
9341 DEFAULT_wxUSE_DETECT_SM=yes
9342 DEFAULT_wxUSE_DIRPICKERCTRL=yes
9343 DEFAULT_wxUSE_FILECTRL=yes
9344 DEFAULT_wxUSE_FILEPICKERCTRL=yes
9345 DEFAULT_wxUSE_FONTPICKERCTRL=yes
9346 DEFAULT_wxUSE_GAUGE=yes
9347 DEFAULT_wxUSE_GRID=yes
9348 DEFAULT_wxUSE_HYPERLINKCTRL=yes
9349 DEFAULT_wxUSE_DATAVIEWCTRL=yes
9350 DEFAULT_wxUSE_IMAGLIST=yes
9351 DEFAULT_wxUSE_LISTBOOK=yes
9352 DEFAULT_wxUSE_LISTBOX=yes
9353 DEFAULT_wxUSE_LISTCTRL=yes
9354 DEFAULT_wxUSE_NOTEBOOK=yes
9355 DEFAULT_wxUSE_RADIOBOX=yes
9356 DEFAULT_wxUSE_RADIOBTN=yes
9357 DEFAULT_wxUSE_SASH=yes
9358 DEFAULT_wxUSE_SCROLLBAR=yes
9359 DEFAULT_wxUSE_SEARCHCTRL=yes
9360 DEFAULT_wxUSE_SLIDER=yes
9361 DEFAULT_wxUSE_SPINBTN=yes
9362 DEFAULT_wxUSE_SPINCTRL=yes
9363 DEFAULT_wxUSE_SPLITTER=yes
9364 DEFAULT_wxUSE_STATBMP=yes
9365 DEFAULT_wxUSE_STATBOX=yes
9366 DEFAULT_wxUSE_STATLINE=yes
9367 DEFAULT_wxUSE_STATUSBAR=yes
9368 DEFAULT_wxUSE_TAB_DIALOG=yes
9369 DEFAULT_wxUSE_TOGGLEBTN=yes
9370 DEFAULT_wxUSE_TOOLBAR=yes
9371 DEFAULT_wxUSE_TOOLBAR_NATIVE=yes
9372 DEFAULT_wxUSE_TOOLTIPS=yes
9373 DEFAULT_wxUSE_TREEBOOK=yes
9374 DEFAULT_wxUSE_TOOLBOOK=yes
9375 DEFAULT_wxUSE_TREECTRL=yes
9376 DEFAULT_wxUSE_POPUPWIN=yes
9377 DEFAULT_wxUSE_TIPWINDOW=yes
9378 elif test "$wxUSE_CONTROLS" = "no
"; then
9379 DEFAULT_wxUSE_ACCEL=no
9380 DEFAULT_wxUSE_ANIMATIONCTRL=no
9381 DEFAULT_wxUSE_BMPBUTTON=no
9382 DEFAULT_wxUSE_BUTTON=no
9383 DEFAULT_wxUSE_CALCTRL=no
9384 DEFAULT_wxUSE_CARET=no
9385 DEFAULT_wxUSE_COLLPANE=no
9386 DEFAULT_wxUSE_COMBOBOX=no
9387 DEFAULT_wxUSE_CHECKBOX=no
9388 DEFAULT_wxUSE_CHECKLISTBOX=no
9389 DEFAULT_wxUSE_CHOICE=no
9390 DEFAULT_wxUSE_CHOICEBOOK=no
9391 DEFAULT_wxUSE_COLOURPICKERCTRL=no
9392 DEFAULT_wxUSE_COMBOBOX=no
9393 DEFAULT_wxUSE_DATEPICKCTRL=no
9394 DEFAULT_wxUSE_DISPLAY=no
9395 DEFAULT_wxUSE_DETECT_SM=no
9396 DEFAULT_wxUSE_DIRPICKERCTRL=no
9397 DEFAULT_wxUSE_FILECTRL=no
9398 DEFAULT_wxUSE_FILEPICKERCTRL=no
9399 DEFAULT_wxUSE_FONTPICKERCTRL=no
9400 DEFAULT_wxUSE_GAUGE=no
9401 DEFAULT_wxUSE_GRID=no
9402 DEFAULT_wxUSE_HYPERLINKCTRL=no
9403 DEFAULT_wxUSE_DATAVIEWCTRL=no
9404 DEFAULT_wxUSE_IMAGLIST=no
9405 DEFAULT_wxUSE_LISTBOOK=no
9406 DEFAULT_wxUSE_LISTBOX=no
9407 DEFAULT_wxUSE_LISTCTRL=no
9408 DEFAULT_wxUSE_NOTEBOOK=no
9409 DEFAULT_wxUSE_RADIOBOX=no
9410 DEFAULT_wxUSE_RADIOBTN=no
9411 DEFAULT_wxUSE_SASH=no
9412 DEFAULT_wxUSE_SCROLLBAR=no
9413 DEFAULT_wxUSE_SEARCHCTRL=no
9414 DEFAULT_wxUSE_SLIDER=no
9415 DEFAULT_wxUSE_SPINBTN=no
9416 DEFAULT_wxUSE_SPINCTRL=no
9417 DEFAULT_wxUSE_SPLITTER=no
9418 DEFAULT_wxUSE_STATBMP=no
9419 DEFAULT_wxUSE_STATBOX=no
9420 DEFAULT_wxUSE_STATLINE=no
9421 DEFAULT_wxUSE_STATUSBAR=no
9422 DEFAULT_wxUSE_TAB_DIALOG=no
9423 DEFAULT_wxUSE_TOGGLEBTN=no
9424 DEFAULT_wxUSE_TOOLBAR=no
9425 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
9426 DEFAULT_wxUSE_TOOLTIPS=no
9427 DEFAULT_wxUSE_TREEBOOK=no
9428 DEFAULT_wxUSE_TOOLBOOK=no
9429 DEFAULT_wxUSE_TREECTRL=no
9430 DEFAULT_wxUSE_POPUPWIN=no
9431 DEFAULT_wxUSE_TIPWINDOW=no
9436 defaultval=$wxUSE_ALL_FEATURES
9437 if test -z "$defaultval"; then
9438 if test x"$enablestring" = xdisable; then
9445 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-accel" >&5
9446 echo $ECHO_N "checking
for --${enablestring:-enable}-accel...
$ECHO_C" >&6; }
9447 # Check whether --enable-accel was given.
9448 if test "${enable_accel+set}" = set; then
9449 enableval=$enable_accel;
9450 if test "$enableval" = yes; then
9451 wx_cv_use_accel='wxUSE_ACCEL=yes'
9453 wx_cv_use_accel='wxUSE_ACCEL=no'
9458 wx_cv_use_accel='wxUSE_ACCEL=${'DEFAULT_wxUSE_ACCEL":-$defaultval}"
9463 eval "$wx_cv_use_accel"
9465 if test x
"$enablestring" = xdisable
; then
9466 if test $wxUSE_ACCEL = yes; then
9475 { echo "$as_me:$LINENO: result: $result" >&5
9476 echo "${ECHO_T}$result" >&6; }
9480 defaultval
=$wxUSE_ALL_FEATURES
9481 if test -z "$defaultval"; then
9482 if test x
"$enablestring" = xdisable
; then
9489 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-animatectrl" >&5
9490 echo $ECHO_N "checking for --${enablestring:-enable}-animatectrl... $ECHO_C" >&6; }
9491 # Check whether --enable-animatectrl was given.
9492 if test "${enable_animatectrl+set}" = set; then
9493 enableval
=$enable_animatectrl;
9494 if test "$enableval" = yes; then
9495 wx_cv_use_animatectrl
='wxUSE_ANIMATIONCTRL=yes'
9497 wx_cv_use_animatectrl
='wxUSE_ANIMATIONCTRL=no'
9502 wx_cv_use_animatectrl
='wxUSE_ANIMATIONCTRL=${'DEFAULT_wxUSE_ANIMATIONCTRL":-$defaultval}"
9507 eval "$wx_cv_use_animatectrl"
9509 if test x"$enablestring" = xdisable; then
9510 if test $wxUSE_ANIMATIONCTRL = yes; then
9516 result=$wxUSE_ANIMATIONCTRL
9519 { echo "$as_me:$LINENO: result: $result" >&5
9520 echo "${ECHO_T}$result" >&6; }
9524 defaultval=$wxUSE_ALL_FEATURES
9525 if test -z "$defaultval"; then
9526 if test x"$enablestring" = xdisable; then
9533 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-button" >&5
9534 echo $ECHO_N "checking for --${enablestring:-enable}-button... $ECHO_C" >&6; }
9535 # Check whether --enable-button was given.
9536 if test "${enable_button+set}" = set; then
9537 enableval=$enable_button;
9538 if test "$enableval" = yes; then
9539 wx_cv_use_button='wxUSE_BUTTON
=yes'
9541 wx_cv_use_button='wxUSE_BUTTON
=no
'
9546 wx_cv_use_button='wxUSE_BUTTON
=${'DEFAULT_wxUSE_BUTTON":-$defaultval}"
9551 eval "$wx_cv_use_button"
9553 if test x"$enablestring" = xdisable; then
9554 if test $wxUSE_BUTTON = yes; then
9560 result=$wxUSE_BUTTON
9563 { echo "$as_me:$LINENO: result
: $result" >&5
9564 echo "${ECHO_T}$result" >&6; }
9568 defaultval=$wxUSE_ALL_FEATURES
9569 if test -z "$defaultval"; then
9570 if test x"$enablestring" = xdisable; then
9577 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-bmpbutton" >&5
9578 echo $ECHO_N "checking
for --${enablestring:-enable}-bmpbutton...
$ECHO_C" >&6; }
9579 # Check whether --enable-bmpbutton was given.
9580 if test "${enable_bmpbutton+set}" = set; then
9581 enableval=$enable_bmpbutton;
9582 if test "$enableval" = yes; then
9583 wx_cv_use_bmpbutton='wxUSE_BMPBUTTON=yes'
9585 wx_cv_use_bmpbutton='wxUSE_BMPBUTTON=no'
9590 wx_cv_use_bmpbutton='wxUSE_BMPBUTTON=${'DEFAULT_wxUSE_BMPBUTTON":-$defaultval}"
9595 eval "$wx_cv_use_bmpbutton"
9597 if test x
"$enablestring" = xdisable
; then
9598 if test $wxUSE_BMPBUTTON = yes; then
9604 result
=$wxUSE_BMPBUTTON
9607 { echo "$as_me:$LINENO: result: $result" >&5
9608 echo "${ECHO_T}$result" >&6; }
9612 defaultval
=$wxUSE_ALL_FEATURES
9613 if test -z "$defaultval"; then
9614 if test x
"$enablestring" = xdisable
; then
9621 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpcombobox" >&5
9622 echo $ECHO_N "checking for --${enablestring:-enable}-bmpcombobox... $ECHO_C" >&6; }
9623 # Check whether --enable-bmpcombobox was given.
9624 if test "${enable_bmpcombobox+set}" = set; then
9625 enableval
=$enable_bmpcombobox;
9626 if test "$enableval" = yes; then
9627 wx_cv_use_bmpcombobox
='wxUSE_BITMAPCOMBOBOX=yes'
9629 wx_cv_use_bmpcombobox
='wxUSE_BITMAPCOMBOBOX=no'
9634 wx_cv_use_bmpcombobox
='wxUSE_BITMAPCOMBOBOX=${'DEFAULT_wxUSE_BITMAPCOMBOBOX":-$defaultval}"
9639 eval "$wx_cv_use_bmpcombobox"
9641 if test x"$enablestring" = xdisable; then
9642 if test $wxUSE_BITMAPCOMBOBOX = yes; then
9648 result=$wxUSE_BITMAPCOMBOBOX
9651 { echo "$as_me:$LINENO: result: $result" >&5
9652 echo "${ECHO_T}$result" >&6; }
9656 defaultval=$wxUSE_ALL_FEATURES
9657 if test -z "$defaultval"; then
9658 if test x"$enablestring" = xdisable; then
9665 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-calendar" >&5
9666 echo $ECHO_N "checking for --${enablestring:-enable}-calendar... $ECHO_C" >&6; }
9667 # Check whether --enable-calendar was given.
9668 if test "${enable_calendar+set}" = set; then
9669 enableval=$enable_calendar;
9670 if test "$enableval" = yes; then
9671 wx_cv_use_calendar='wxUSE_CALCTRL
=yes'
9673 wx_cv_use_calendar='wxUSE_CALCTRL
=no
'
9678 wx_cv_use_calendar='wxUSE_CALCTRL
=${'DEFAULT_wxUSE_CALCTRL":-$defaultval}"
9683 eval "$wx_cv_use_calendar"
9685 if test x"$enablestring" = xdisable; then
9686 if test $wxUSE_CALCTRL = yes; then
9692 result=$wxUSE_CALCTRL
9695 { echo "$as_me:$LINENO: result
: $result" >&5
9696 echo "${ECHO_T}$result" >&6; }
9700 defaultval=$wxUSE_ALL_FEATURES
9701 if test -z "$defaultval"; then
9702 if test x"$enablestring" = xdisable; then
9709 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-caret" >&5
9710 echo $ECHO_N "checking
for --${enablestring:-enable}-caret...
$ECHO_C" >&6; }
9711 # Check whether --enable-caret was given.
9712 if test "${enable_caret+set}" = set; then
9713 enableval=$enable_caret;
9714 if test "$enableval" = yes; then
9715 wx_cv_use_caret='wxUSE_CARET=yes'
9717 wx_cv_use_caret='wxUSE_CARET=no'
9722 wx_cv_use_caret='wxUSE_CARET=${'DEFAULT_wxUSE_CARET":-$defaultval}"
9727 eval "$wx_cv_use_caret"
9729 if test x
"$enablestring" = xdisable
; then
9730 if test $wxUSE_CARET = yes; then
9739 { echo "$as_me:$LINENO: result: $result" >&5
9740 echo "${ECHO_T}$result" >&6; }
9744 defaultval
=$wxUSE_ALL_FEATURES
9745 if test -z "$defaultval"; then
9746 if test x
"$enablestring" = xdisable
; then
9753 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checkbox" >&5
9754 echo $ECHO_N "checking for --${enablestring:-enable}-checkbox... $ECHO_C" >&6; }
9755 # Check whether --enable-checkbox was given.
9756 if test "${enable_checkbox+set}" = set; then
9757 enableval
=$enable_checkbox;
9758 if test "$enableval" = yes; then
9759 wx_cv_use_checkbox
='wxUSE_CHECKBOX=yes'
9761 wx_cv_use_checkbox
='wxUSE_CHECKBOX=no'
9766 wx_cv_use_checkbox
='wxUSE_CHECKBOX=${'DEFAULT_wxUSE_CHECKBOX":-$defaultval}"
9771 eval "$wx_cv_use_checkbox"
9773 if test x"$enablestring" = xdisable; then
9774 if test $wxUSE_CHECKBOX = yes; then
9780 result=$wxUSE_CHECKBOX
9783 { echo "$as_me:$LINENO: result: $result" >&5
9784 echo "${ECHO_T}$result" >&6; }
9788 defaultval=$wxUSE_ALL_FEATURES
9789 if test -z "$defaultval"; then
9790 if test x"$enablestring" = xdisable; then
9797 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checklst" >&5
9798 echo $ECHO_N "checking for --${enablestring:-enable}-checklst... $ECHO_C" >&6; }
9799 # Check whether --enable-checklst was given.
9800 if test "${enable_checklst+set}" = set; then
9801 enableval=$enable_checklst;
9802 if test "$enableval" = yes; then
9803 wx_cv_use_checklst='wxUSE_CHECKLST
=yes'
9805 wx_cv_use_checklst='wxUSE_CHECKLST
=no
'
9810 wx_cv_use_checklst='wxUSE_CHECKLST
=${'DEFAULT_wxUSE_CHECKLST":-$defaultval}"
9815 eval "$wx_cv_use_checklst"
9817 if test x"$enablestring" = xdisable; then
9818 if test $wxUSE_CHECKLST = yes; then
9824 result=$wxUSE_CHECKLST
9827 { echo "$as_me:$LINENO: result
: $result" >&5
9828 echo "${ECHO_T}$result" >&6; }
9832 defaultval=$wxUSE_ALL_FEATURES
9833 if test -z "$defaultval"; then
9834 if test x"$enablestring" = xdisable; then
9841 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-choice" >&5
9842 echo $ECHO_N "checking
for --${enablestring:-enable}-choice...
$ECHO_C" >&6; }
9843 # Check whether --enable-choice was given.
9844 if test "${enable_choice+set}" = set; then
9845 enableval=$enable_choice;
9846 if test "$enableval" = yes; then
9847 wx_cv_use_choice='wxUSE_CHOICE=yes'
9849 wx_cv_use_choice='wxUSE_CHOICE=no'
9854 wx_cv_use_choice='wxUSE_CHOICE=${'DEFAULT_wxUSE_CHOICE":-$defaultval}"
9859 eval "$wx_cv_use_choice"
9861 if test x
"$enablestring" = xdisable
; then
9862 if test $wxUSE_CHOICE = yes; then
9868 result
=$wxUSE_CHOICE
9871 { echo "$as_me:$LINENO: result: $result" >&5
9872 echo "${ECHO_T}$result" >&6; }
9876 defaultval
=$wxUSE_ALL_FEATURES
9877 if test -z "$defaultval"; then
9878 if test x
"$enablestring" = xdisable
; then
9885 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicebook" >&5
9886 echo $ECHO_N "checking for --${enablestring:-enable}-choicebook... $ECHO_C" >&6; }
9887 # Check whether --enable-choicebook was given.
9888 if test "${enable_choicebook+set}" = set; then
9889 enableval
=$enable_choicebook;
9890 if test "$enableval" = yes; then
9891 wx_cv_use_choicebook
='wxUSE_CHOICEBOOK=yes'
9893 wx_cv_use_choicebook
='wxUSE_CHOICEBOOK=no'
9898 wx_cv_use_choicebook
='wxUSE_CHOICEBOOK=${'DEFAULT_wxUSE_CHOICEBOOK":-$defaultval}"
9903 eval "$wx_cv_use_choicebook"
9905 if test x"$enablestring" = xdisable; then
9906 if test $wxUSE_CHOICEBOOK = yes; then
9912 result=$wxUSE_CHOICEBOOK
9915 { echo "$as_me:$LINENO: result: $result" >&5
9916 echo "${ECHO_T}$result" >&6; }
9920 defaultval=$wxUSE_ALL_FEATURES
9921 if test -z "$defaultval"; then
9922 if test x"$enablestring" = xdisable; then
9929 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-collpane" >&5
9930 echo $ECHO_N "checking for --${enablestring:-enable}-collpane... $ECHO_C" >&6; }
9931 # Check whether --enable-collpane was given.
9932 if test "${enable_collpane+set}" = set; then
9933 enableval=$enable_collpane;
9934 if test "$enableval" = yes; then
9935 wx_cv_use_collpane='wxUSE_COLLPANE
=yes'
9937 wx_cv_use_collpane='wxUSE_COLLPANE
=no
'
9942 wx_cv_use_collpane='wxUSE_COLLPANE
=${'DEFAULT_wxUSE_COLLPANE":-$defaultval}"
9947 eval "$wx_cv_use_collpane"
9949 if test x"$enablestring" = xdisable; then
9950 if test $wxUSE_COLLPANE = yes; then
9956 result=$wxUSE_COLLPANE
9959 { echo "$as_me:$LINENO: result
: $result" >&5
9960 echo "${ECHO_T}$result" >&6; }
9964 defaultval=$wxUSE_ALL_FEATURES
9965 if test -z "$defaultval"; then
9966 if test x"$enablestring" = xdisable; then
9973 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-colourpicker" >&5
9974 echo $ECHO_N "checking
for --${enablestring:-enable}-colourpicker...
$ECHO_C" >&6; }
9975 # Check whether --enable-colourpicker was given.
9976 if test "${enable_colourpicker+set}" = set; then
9977 enableval=$enable_colourpicker;
9978 if test "$enableval" = yes; then
9979 wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=yes'
9981 wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=no'
9986 wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=${'DEFAULT_wxUSE_COLOURPICKERCTRL":-$defaultval}"
9991 eval "$wx_cv_use_colourpicker"
9993 if test x
"$enablestring" = xdisable
; then
9994 if test $wxUSE_COLOURPICKERCTRL = yes; then
10000 result
=$wxUSE_COLOURPICKERCTRL
10003 { echo "$as_me:$LINENO: result: $result" >&5
10004 echo "${ECHO_T}$result" >&6; }
10008 defaultval
=$wxUSE_ALL_FEATURES
10009 if test -z "$defaultval"; then
10010 if test x
"$enablestring" = xdisable
; then
10017 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-combobox" >&5
10018 echo $ECHO_N "checking for --${enablestring:-enable}-combobox... $ECHO_C" >&6; }
10019 # Check whether --enable-combobox was given.
10020 if test "${enable_combobox+set}" = set; then
10021 enableval
=$enable_combobox;
10022 if test "$enableval" = yes; then
10023 wx_cv_use_combobox
='wxUSE_COMBOBOX=yes'
10025 wx_cv_use_combobox
='wxUSE_COMBOBOX=no'
10030 wx_cv_use_combobox
='wxUSE_COMBOBOX=${'DEFAULT_wxUSE_COMBOBOX":-$defaultval}"
10035 eval "$wx_cv_use_combobox"
10037 if test x"$enablestring" = xdisable; then
10038 if test $wxUSE_COMBOBOX = yes; then
10044 result=$wxUSE_COMBOBOX
10047 { echo "$as_me:$LINENO: result: $result" >&5
10048 echo "${ECHO_T}$result" >&6; }
10052 defaultval=$wxUSE_ALL_FEATURES
10053 if test -z "$defaultval"; then
10054 if test x"$enablestring" = xdisable; then
10061 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-comboctrl" >&5
10062 echo $ECHO_N "checking for --${enablestring:-enable}-comboctrl... $ECHO_C" >&6; }
10063 # Check whether --enable-comboctrl was given.
10064 if test "${enable_comboctrl+set}" = set; then
10065 enableval=$enable_comboctrl;
10066 if test "$enableval" = yes; then
10067 wx_cv_use_comboctrl='wxUSE_COMBOCTRL
=yes'
10069 wx_cv_use_comboctrl='wxUSE_COMBOCTRL
=no
'
10074 wx_cv_use_comboctrl='wxUSE_COMBOCTRL
=${'DEFAULT_wxUSE_COMBOCTRL":-$defaultval}"
10079 eval "$wx_cv_use_comboctrl"
10081 if test x"$enablestring" = xdisable; then
10082 if test $wxUSE_COMBOCTRL = yes; then
10088 result=$wxUSE_COMBOCTRL
10091 { echo "$as_me:$LINENO: result
: $result" >&5
10092 echo "${ECHO_T}$result" >&6; }
10096 defaultval=$wxUSE_ALL_FEATURES
10097 if test -z "$defaultval"; then
10098 if test x"$enablestring" = xdisable; then
10105 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-datepick" >&5
10106 echo $ECHO_N "checking
for --${enablestring:-enable}-datepick...
$ECHO_C" >&6; }
10107 # Check whether --enable-datepick was given.
10108 if test "${enable_datepick+set}" = set; then
10109 enableval=$enable_datepick;
10110 if test "$enableval" = yes; then
10111 wx_cv_use_datepick='wxUSE_DATEPICKCTRL=yes'
10113 wx_cv_use_datepick='wxUSE_DATEPICKCTRL=no'
10118 wx_cv_use_datepick='wxUSE_DATEPICKCTRL=${'DEFAULT_wxUSE_DATEPICKCTRL":-$defaultval}"
10123 eval "$wx_cv_use_datepick"
10125 if test x
"$enablestring" = xdisable
; then
10126 if test $wxUSE_DATEPICKCTRL = yes; then
10132 result
=$wxUSE_DATEPICKCTRL
10135 { echo "$as_me:$LINENO: result: $result" >&5
10136 echo "${ECHO_T}$result" >&6; }
10140 defaultval
=$wxUSE_ALL_FEATURES
10141 if test -z "$defaultval"; then
10142 if test x
"$enablestring" = xdisable
; then
10149 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirpicker" >&5
10150 echo $ECHO_N "checking for --${enablestring:-enable}-dirpicker... $ECHO_C" >&6; }
10151 # Check whether --enable-dirpicker was given.
10152 if test "${enable_dirpicker+set}" = set; then
10153 enableval
=$enable_dirpicker;
10154 if test "$enableval" = yes; then
10155 wx_cv_use_dirpicker
='wxUSE_DIRPICKERCTRL=yes'
10157 wx_cv_use_dirpicker
='wxUSE_DIRPICKERCTRL=no'
10162 wx_cv_use_dirpicker
='wxUSE_DIRPICKERCTRL=${'DEFAULT_wxUSE_DIRPICKERCTRL":-$defaultval}"
10167 eval "$wx_cv_use_dirpicker"
10169 if test x"$enablestring" = xdisable; then
10170 if test $wxUSE_DIRPICKERCTRL = yes; then
10176 result=$wxUSE_DIRPICKERCTRL
10179 { echo "$as_me:$LINENO: result: $result" >&5
10180 echo "${ECHO_T}$result" >&6; }
10184 defaultval=$wxUSE_ALL_FEATURES
10185 if test -z "$defaultval"; then
10186 if test x"$enablestring" = xdisable; then
10193 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-display" >&5
10194 echo $ECHO_N "checking for --${enablestring:-enable}-display... $ECHO_C" >&6; }
10195 # Check whether --enable-display was given.
10196 if test "${enable_display+set}" = set; then
10197 enableval=$enable_display;
10198 if test "$enableval" = yes; then
10199 wx_cv_use_display='wxUSE_DISPLAY
=yes'
10201 wx_cv_use_display='wxUSE_DISPLAY
=no
'
10206 wx_cv_use_display='wxUSE_DISPLAY
=${'DEFAULT_wxUSE_DISPLAY":-$defaultval}"
10211 eval "$wx_cv_use_display"
10213 if test x"$enablestring" = xdisable; then
10214 if test $wxUSE_DISPLAY = yes; then
10220 result=$wxUSE_DISPLAY
10223 { echo "$as_me:$LINENO: result
: $result" >&5
10224 echo "${ECHO_T}$result" >&6; }
10228 defaultval=$wxUSE_ALL_FEATURES
10229 if test -z "$defaultval"; then
10230 if test x"$enablestring" = xdisable; then
10237 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-detect_sm" >&5
10238 echo $ECHO_N "checking
for --${enablestring:-enable}-detect_sm...
$ECHO_C" >&6; }
10239 # Check whether --enable-detect_sm was given.
10240 if test "${enable_detect_sm+set}" = set; then
10241 enableval=$enable_detect_sm;
10242 if test "$enableval" = yes; then
10243 wx_cv_use_detect_sm='wxUSE_DETECT_SM=yes'
10245 wx_cv_use_detect_sm='wxUSE_DETECT_SM=no'
10250 wx_cv_use_detect_sm='wxUSE_DETECT_SM=${'DEFAULT_wxUSE_DETECT_SM":-$defaultval}"
10255 eval "$wx_cv_use_detect_sm"
10257 if test x
"$enablestring" = xdisable
; then
10258 if test $wxUSE_DETECT_SM = yes; then
10264 result
=$wxUSE_DETECT_SM
10267 { echo "$as_me:$LINENO: result: $result" >&5
10268 echo "${ECHO_T}$result" >&6; }
10272 defaultval
=$wxUSE_ALL_FEATURES
10273 if test -z "$defaultval"; then
10274 if test x
"$enablestring" = xdisable
; then
10281 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-editablebox" >&5
10282 echo $ECHO_N "checking for --${enablestring:-enable}-editablebox... $ECHO_C" >&6; }
10283 # Check whether --enable-editablebox was given.
10284 if test "${enable_editablebox+set}" = set; then
10285 enableval
=$enable_editablebox;
10286 if test "$enableval" = yes; then
10287 wx_cv_use_editablebox
='wxUSE_EDITABLELISTBOX=yes'
10289 wx_cv_use_editablebox
='wxUSE_EDITABLELISTBOX=no'
10294 wx_cv_use_editablebox
='wxUSE_EDITABLELISTBOX=${'DEFAULT_wxUSE_EDITABLELISTBOX":-$defaultval}"
10299 eval "$wx_cv_use_editablebox"
10301 if test x"$enablestring" = xdisable; then
10302 if test $wxUSE_EDITABLELISTBOX = yes; then
10308 result=$wxUSE_EDITABLELISTBOX
10311 { echo "$as_me:$LINENO: result: $result" >&5
10312 echo "${ECHO_T}$result" >&6; }
10316 defaultval=$wxUSE_ALL_FEATURES
10317 if test -z "$defaultval"; then
10318 if test x"$enablestring" = xdisable; then
10325 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filepicker" >&5
10326 echo $ECHO_N "checking for --${enablestring:-enable}-filepicker... $ECHO_C" >&6; }
10327 # Check whether --enable-filepicker was given.
10328 if test "${enable_filepicker+set}" = set; then
10329 enableval=$enable_filepicker;
10330 if test "$enableval" = yes; then
10331 wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL
=yes'
10333 wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL
=no
'
10338 wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL
=${'DEFAULT_wxUSE_FILEPICKERCTRL":-$defaultval}"
10343 eval "$wx_cv_use_filepicker"
10345 if test x"$enablestring" = xdisable; then
10346 if test $wxUSE_FILEPICKERCTRL = yes; then
10352 result=$wxUSE_FILEPICKERCTRL
10355 { echo "$as_me:$LINENO: result
: $result" >&5
10356 echo "${ECHO_T}$result" >&6; }
10360 defaultval=$wxUSE_ALL_FEATURES
10361 if test -z "$defaultval"; then
10362 if test x"$enablestring" = xdisable; then
10369 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-filectrl" >&5
10370 echo $ECHO_N "checking
for --${enablestring:-enable}-filectrl...
$ECHO_C" >&6; }
10371 # Check whether --enable-filectrl was given.
10372 if test "${enable_filectrl+set}" = set; then
10373 enableval=$enable_filectrl;
10374 if test "$enableval" = yes; then
10375 wx_cv_use_filectrl='wxUSE_FILECTRL=yes'
10377 wx_cv_use_filectrl='wxUSE_FILECTRL=no'
10382 wx_cv_use_filectrl='wxUSE_FILECTRL=${'DEFAULT_wxUSE_FILECTRL":-$defaultval}"
10387 eval "$wx_cv_use_filectrl"
10389 if test x
"$enablestring" = xdisable
; then
10390 if test $wxUSE_FILECTRL = yes; then
10396 result
=$wxUSE_FILECTRL
10399 { echo "$as_me:$LINENO: result: $result" >&5
10400 echo "${ECHO_T}$result" >&6; }
10404 defaultval
=$wxUSE_ALL_FEATURES
10405 if test -z "$defaultval"; then
10406 if test x
"$enablestring" = xdisable
; then
10413 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontpicker" >&5
10414 echo $ECHO_N "checking for --${enablestring:-enable}-fontpicker... $ECHO_C" >&6; }
10415 # Check whether --enable-fontpicker was given.
10416 if test "${enable_fontpicker+set}" = set; then
10417 enableval
=$enable_fontpicker;
10418 if test "$enableval" = yes; then
10419 wx_cv_use_fontpicker
='wxUSE_FONTPICKERCTRL=yes'
10421 wx_cv_use_fontpicker
='wxUSE_FONTPICKERCTRL=no'
10426 wx_cv_use_fontpicker
='wxUSE_FONTPICKERCTRL=${'DEFAULT_wxUSE_FONTPICKERCTRL":-$defaultval}"
10431 eval "$wx_cv_use_fontpicker"
10433 if test x"$enablestring" = xdisable; then
10434 if test $wxUSE_FONTPICKERCTRL = yes; then
10440 result=$wxUSE_FONTPICKERCTRL
10443 { echo "$as_me:$LINENO: result: $result" >&5
10444 echo "${ECHO_T}$result" >&6; }
10448 defaultval=$wxUSE_ALL_FEATURES
10449 if test -z "$defaultval"; then
10450 if test x"$enablestring" = xdisable; then
10457 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gauge" >&5
10458 echo $ECHO_N "checking for --${enablestring:-enable}-gauge... $ECHO_C" >&6; }
10459 # Check whether --enable-gauge was given.
10460 if test "${enable_gauge+set}" = set; then
10461 enableval=$enable_gauge;
10462 if test "$enableval" = yes; then
10463 wx_cv_use_gauge='wxUSE_GAUGE
=yes'
10465 wx_cv_use_gauge='wxUSE_GAUGE
=no
'
10470 wx_cv_use_gauge='wxUSE_GAUGE
=${'DEFAULT_wxUSE_GAUGE":-$defaultval}"
10475 eval "$wx_cv_use_gauge"
10477 if test x"$enablestring" = xdisable; then
10478 if test $wxUSE_GAUGE = yes; then
10484 result=$wxUSE_GAUGE
10487 { echo "$as_me:$LINENO: result
: $result" >&5
10488 echo "${ECHO_T}$result" >&6; }
10492 defaultval=$wxUSE_ALL_FEATURES
10493 if test -z "$defaultval"; then
10494 if test x"$enablestring" = xdisable; then
10501 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-grid" >&5
10502 echo $ECHO_N "checking
for --${enablestring:-enable}-grid...
$ECHO_C" >&6; }
10503 # Check whether --enable-grid was given.
10504 if test "${enable_grid+set}" = set; then
10505 enableval=$enable_grid;
10506 if test "$enableval" = yes; then
10507 wx_cv_use_grid='wxUSE_GRID=yes'
10509 wx_cv_use_grid='wxUSE_GRID=no'
10514 wx_cv_use_grid='wxUSE_GRID=${'DEFAULT_wxUSE_GRID":-$defaultval}"
10519 eval "$wx_cv_use_grid"
10521 if test x
"$enablestring" = xdisable
; then
10522 if test $wxUSE_GRID = yes; then
10531 { echo "$as_me:$LINENO: result: $result" >&5
10532 echo "${ECHO_T}$result" >&6; }
10536 defaultval
=$wxUSE_ALL_FEATURES
10537 if test -z "$defaultval"; then
10538 if test x
"$enablestring" = xdisable
; then
10545 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataviewctrl" >&5
10546 echo $ECHO_N "checking for --${enablestring:-enable}-dataviewctrl... $ECHO_C" >&6; }
10547 # Check whether --enable-dataviewctrl was given.
10548 if test "${enable_dataviewctrl+set}" = set; then
10549 enableval
=$enable_dataviewctrl;
10550 if test "$enableval" = yes; then
10551 wx_cv_use_dataviewctrl
='wxUSE_DATAVIEWCTRL=yes'
10553 wx_cv_use_dataviewctrl
='wxUSE_DATAVIEWCTRL=no'
10558 wx_cv_use_dataviewctrl
='wxUSE_DATAVIEWCTRL=${'DEFAULT_wxUSE_DATAVIEWCTRL":-$defaultval}"
10563 eval "$wx_cv_use_dataviewctrl"
10565 if test x"$enablestring" = xdisable; then
10566 if test $wxUSE_DATAVIEWCTRL = yes; then
10572 result=$wxUSE_DATAVIEWCTRL
10575 { echo "$as_me:$LINENO: result: $result" >&5
10576 echo "${ECHO_T}$result" >&6; }
10580 defaultval=$wxUSE_ALL_FEATURES
10581 if test -z "$defaultval"; then
10582 if test x"$enablestring" = xdisable; then
10589 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-hyperlink" >&5
10590 echo $ECHO_N "checking for --${enablestring:-enable}-hyperlink... $ECHO_C" >&6; }
10591 # Check whether --enable-hyperlink was given.
10592 if test "${enable_hyperlink+set}" = set; then
10593 enableval=$enable_hyperlink;
10594 if test "$enableval" = yes; then
10595 wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL
=yes'
10597 wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL
=no
'
10602 wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL
=${'DEFAULT_wxUSE_HYPERLINKCTRL":-$defaultval}"
10607 eval "$wx_cv_use_hyperlink"
10609 if test x"$enablestring" = xdisable; then
10610 if test $wxUSE_HYPERLINKCTRL = yes; then
10616 result=$wxUSE_HYPERLINKCTRL
10619 { echo "$as_me:$LINENO: result
: $result" >&5
10620 echo "${ECHO_T}$result" >&6; }
10624 defaultval=$wxUSE_ALL_FEATURES
10625 if test -z "$defaultval"; then
10626 if test x"$enablestring" = xdisable; then
10633 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-imaglist" >&5
10634 echo $ECHO_N "checking
for --${enablestring:-enable}-imaglist...
$ECHO_C" >&6; }
10635 # Check whether --enable-imaglist was given.
10636 if test "${enable_imaglist+set}" = set; then
10637 enableval=$enable_imaglist;
10638 if test "$enableval" = yes; then
10639 wx_cv_use_imaglist='wxUSE_IMAGLIST=yes'
10641 wx_cv_use_imaglist='wxUSE_IMAGLIST=no'
10646 wx_cv_use_imaglist='wxUSE_IMAGLIST=${'DEFAULT_wxUSE_IMAGLIST":-$defaultval}"
10651 eval "$wx_cv_use_imaglist"
10653 if test x
"$enablestring" = xdisable
; then
10654 if test $wxUSE_IMAGLIST = yes; then
10660 result
=$wxUSE_IMAGLIST
10663 { echo "$as_me:$LINENO: result: $result" >&5
10664 echo "${ECHO_T}$result" >&6; }
10668 defaultval
=$wxUSE_ALL_FEATURES
10669 if test -z "$defaultval"; then
10670 if test x
"$enablestring" = xdisable
; then
10677 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbook" >&5
10678 echo $ECHO_N "checking for --${enablestring:-enable}-listbook... $ECHO_C" >&6; }
10679 # Check whether --enable-listbook was given.
10680 if test "${enable_listbook+set}" = set; then
10681 enableval
=$enable_listbook;
10682 if test "$enableval" = yes; then
10683 wx_cv_use_listbook
='wxUSE_LISTBOOK=yes'
10685 wx_cv_use_listbook
='wxUSE_LISTBOOK=no'
10690 wx_cv_use_listbook
='wxUSE_LISTBOOK=${'DEFAULT_wxUSE_LISTBOOK":-$defaultval}"
10695 eval "$wx_cv_use_listbook"
10697 if test x"$enablestring" = xdisable; then
10698 if test $wxUSE_LISTBOOK = yes; then
10704 result=$wxUSE_LISTBOOK
10707 { echo "$as_me:$LINENO: result: $result" >&5
10708 echo "${ECHO_T}$result" >&6; }
10712 defaultval=$wxUSE_ALL_FEATURES
10713 if test -z "$defaultval"; then
10714 if test x"$enablestring" = xdisable; then
10721 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbox" >&5
10722 echo $ECHO_N "checking for --${enablestring:-enable}-listbox... $ECHO_C" >&6; }
10723 # Check whether --enable-listbox was given.
10724 if test "${enable_listbox+set}" = set; then
10725 enableval=$enable_listbox;
10726 if test "$enableval" = yes; then
10727 wx_cv_use_listbox='wxUSE_LISTBOX
=yes'
10729 wx_cv_use_listbox='wxUSE_LISTBOX
=no
'
10734 wx_cv_use_listbox='wxUSE_LISTBOX
=${'DEFAULT_wxUSE_LISTBOX":-$defaultval}"
10739 eval "$wx_cv_use_listbox"
10741 if test x"$enablestring" = xdisable; then
10742 if test $wxUSE_LISTBOX = yes; then
10748 result=$wxUSE_LISTBOX
10751 { echo "$as_me:$LINENO: result
: $result" >&5
10752 echo "${ECHO_T}$result" >&6; }
10756 defaultval=$wxUSE_ALL_FEATURES
10757 if test -z "$defaultval"; then
10758 if test x"$enablestring" = xdisable; then
10765 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-listctrl" >&5
10766 echo $ECHO_N "checking
for --${enablestring:-enable}-listctrl...
$ECHO_C" >&6; }
10767 # Check whether --enable-listctrl was given.
10768 if test "${enable_listctrl+set}" = set; then
10769 enableval=$enable_listctrl;
10770 if test "$enableval" = yes; then
10771 wx_cv_use_listctrl='wxUSE_LISTCTRL=yes'
10773 wx_cv_use_listctrl='wxUSE_LISTCTRL=no'
10778 wx_cv_use_listctrl='wxUSE_LISTCTRL=${'DEFAULT_wxUSE_LISTCTRL":-$defaultval}"
10783 eval "$wx_cv_use_listctrl"
10785 if test x
"$enablestring" = xdisable
; then
10786 if test $wxUSE_LISTCTRL = yes; then
10792 result
=$wxUSE_LISTCTRL
10795 { echo "$as_me:$LINENO: result: $result" >&5
10796 echo "${ECHO_T}$result" >&6; }
10800 defaultval
=$wxUSE_ALL_FEATURES
10801 if test -z "$defaultval"; then
10802 if test x
"$enablestring" = xdisable
; then
10809 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-notebook" >&5
10810 echo $ECHO_N "checking for --${enablestring:-enable}-notebook... $ECHO_C" >&6; }
10811 # Check whether --enable-notebook was given.
10812 if test "${enable_notebook+set}" = set; then
10813 enableval
=$enable_notebook;
10814 if test "$enableval" = yes; then
10815 wx_cv_use_notebook
='wxUSE_NOTEBOOK=yes'
10817 wx_cv_use_notebook
='wxUSE_NOTEBOOK=no'
10822 wx_cv_use_notebook
='wxUSE_NOTEBOOK=${'DEFAULT_wxUSE_NOTEBOOK":-$defaultval}"
10827 eval "$wx_cv_use_notebook"
10829 if test x"$enablestring" = xdisable; then
10830 if test $wxUSE_NOTEBOOK = yes; then
10836 result=$wxUSE_NOTEBOOK
10839 { echo "$as_me:$LINENO: result: $result" >&5
10840 echo "${ECHO_T}$result" >&6; }
10844 defaultval=$wxUSE_ALL_FEATURES
10845 if test -z "$defaultval"; then
10846 if test x"$enablestring" = xdisable; then
10853 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-notifmsg" >&5
10854 echo $ECHO_N "checking for --${enablestring:-enable}-notifmsg... $ECHO_C" >&6; }
10855 # Check whether --enable-notifmsg was given.
10856 if test "${enable_notifmsg+set}" = set; then
10857 enableval=$enable_notifmsg;
10858 if test "$enableval" = yes; then
10859 wx_cv_use_notifmsg='wxUSE_NOTIFICATION_MESSAGE
=yes'
10861 wx_cv_use_notifmsg='wxUSE_NOTIFICATION_MESSAGE
=no
'
10866 wx_cv_use_notifmsg='wxUSE_NOTIFICATION_MESSAGE
=${'DEFAULT_wxUSE_NOTIFICATION_MESSAGE":-$defaultval}"
10871 eval "$wx_cv_use_notifmsg"
10873 if test x"$enablestring" = xdisable; then
10874 if test $wxUSE_NOTIFICATION_MESSAGE = yes; then
10880 result=$wxUSE_NOTIFICATION_MESSAGE
10883 { echo "$as_me:$LINENO: result
: $result" >&5
10884 echo "${ECHO_T}$result" >&6; }
10888 defaultval=$wxUSE_ALL_FEATURES
10889 if test -z "$defaultval"; then
10890 if test x"$enablestring" = xdisable; then
10897 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-odcombobox" >&5
10898 echo $ECHO_N "checking
for --${enablestring:-enable}-odcombobox...
$ECHO_C" >&6; }
10899 # Check whether --enable-odcombobox was given.
10900 if test "${enable_odcombobox+set}" = set; then
10901 enableval=$enable_odcombobox;
10902 if test "$enableval" = yes; then
10903 wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX=yes'
10905 wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX=no'
10910 wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX=${'DEFAULT_wxUSE_ODCOMBOBOX":-$defaultval}"
10915 eval "$wx_cv_use_odcombobox"
10917 if test x
"$enablestring" = xdisable
; then
10918 if test $wxUSE_ODCOMBOBOX = yes; then
10924 result
=$wxUSE_ODCOMBOBOX
10927 { echo "$as_me:$LINENO: result: $result" >&5
10928 echo "${ECHO_T}$result" >&6; }
10932 defaultval
=$wxUSE_ALL_FEATURES
10933 if test -z "$defaultval"; then
10934 if test x
"$enablestring" = xdisable
; then
10941 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobox" >&5
10942 echo $ECHO_N "checking for --${enablestring:-enable}-radiobox... $ECHO_C" >&6; }
10943 # Check whether --enable-radiobox was given.
10944 if test "${enable_radiobox+set}" = set; then
10945 enableval
=$enable_radiobox;
10946 if test "$enableval" = yes; then
10947 wx_cv_use_radiobox
='wxUSE_RADIOBOX=yes'
10949 wx_cv_use_radiobox
='wxUSE_RADIOBOX=no'
10954 wx_cv_use_radiobox
='wxUSE_RADIOBOX=${'DEFAULT_wxUSE_RADIOBOX":-$defaultval}"
10959 eval "$wx_cv_use_radiobox"
10961 if test x"$enablestring" = xdisable; then
10962 if test $wxUSE_RADIOBOX = yes; then
10968 result=$wxUSE_RADIOBOX
10971 { echo "$as_me:$LINENO: result: $result" >&5
10972 echo "${ECHO_T}$result" >&6; }
10976 defaultval=$wxUSE_ALL_FEATURES
10977 if test -z "$defaultval"; then
10978 if test x"$enablestring" = xdisable; then
10985 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobtn" >&5
10986 echo $ECHO_N "checking for --${enablestring:-enable}-radiobtn... $ECHO_C" >&6; }
10987 # Check whether --enable-radiobtn was given.
10988 if test "${enable_radiobtn+set}" = set; then
10989 enableval=$enable_radiobtn;
10990 if test "$enableval" = yes; then
10991 wx_cv_use_radiobtn='wxUSE_RADIOBTN
=yes'
10993 wx_cv_use_radiobtn='wxUSE_RADIOBTN
=no
'
10998 wx_cv_use_radiobtn='wxUSE_RADIOBTN
=${'DEFAULT_wxUSE_RADIOBTN":-$defaultval}"
11003 eval "$wx_cv_use_radiobtn"
11005 if test x"$enablestring" = xdisable; then
11006 if test $wxUSE_RADIOBTN = yes; then
11012 result=$wxUSE_RADIOBTN
11015 { echo "$as_me:$LINENO: result
: $result" >&5
11016 echo "${ECHO_T}$result" >&6; }
11020 defaultval=$wxUSE_ALL_FEATURES
11021 if test -z "$defaultval"; then
11022 if test x"$enablestring" = xdisable; then
11029 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-sash" >&5
11030 echo $ECHO_N "checking
for --${enablestring:-enable}-sash...
$ECHO_C" >&6; }
11031 # Check whether --enable-sash was given.
11032 if test "${enable_sash+set}" = set; then
11033 enableval=$enable_sash;
11034 if test "$enableval" = yes; then
11035 wx_cv_use_sash='wxUSE_SASH=yes'
11037 wx_cv_use_sash='wxUSE_SASH=no'
11042 wx_cv_use_sash='wxUSE_SASH=${'DEFAULT_wxUSE_SASH":-$defaultval}"
11047 eval "$wx_cv_use_sash"
11049 if test x
"$enablestring" = xdisable
; then
11050 if test $wxUSE_SASH = yes; then
11059 { echo "$as_me:$LINENO: result: $result" >&5
11060 echo "${ECHO_T}$result" >&6; }
11064 defaultval
=$wxUSE_ALL_FEATURES
11065 if test -z "$defaultval"; then
11066 if test x
"$enablestring" = xdisable
; then
11073 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-scrollbar" >&5
11074 echo $ECHO_N "checking for --${enablestring:-enable}-scrollbar... $ECHO_C" >&6; }
11075 # Check whether --enable-scrollbar was given.
11076 if test "${enable_scrollbar+set}" = set; then
11077 enableval
=$enable_scrollbar;
11078 if test "$enableval" = yes; then
11079 wx_cv_use_scrollbar
='wxUSE_SCROLLBAR=yes'
11081 wx_cv_use_scrollbar
='wxUSE_SCROLLBAR=no'
11086 wx_cv_use_scrollbar
='wxUSE_SCROLLBAR=${'DEFAULT_wxUSE_SCROLLBAR":-$defaultval}"
11091 eval "$wx_cv_use_scrollbar"
11093 if test x"$enablestring" = xdisable; then
11094 if test $wxUSE_SCROLLBAR = yes; then
11100 result=$wxUSE_SCROLLBAR
11103 { echo "$as_me:$LINENO: result: $result" >&5
11104 echo "${ECHO_T}$result" >&6; }
11108 defaultval=$wxUSE_ALL_FEATURES
11109 if test -z "$defaultval"; then
11110 if test x"$enablestring" = xdisable; then
11117 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-searchctrl" >&5
11118 echo $ECHO_N "checking for --${enablestring:-enable}-searchctrl... $ECHO_C" >&6; }
11119 # Check whether --enable-searchctrl was given.
11120 if test "${enable_searchctrl+set}" = set; then
11121 enableval=$enable_searchctrl;
11122 if test "$enableval" = yes; then
11123 wx_cv_use_searchctrl='wxUSE_SEARCHCTRL
=yes'
11125 wx_cv_use_searchctrl='wxUSE_SEARCHCTRL
=no
'
11130 wx_cv_use_searchctrl='wxUSE_SEARCHCTRL
=${'DEFAULT_wxUSE_SEARCHCTRL":-$defaultval}"
11135 eval "$wx_cv_use_searchctrl"
11137 if test x"$enablestring" = xdisable; then
11138 if test $wxUSE_SEARCHCTRL = yes; then
11144 result=$wxUSE_SEARCHCTRL
11147 { echo "$as_me:$LINENO: result
: $result" >&5
11148 echo "${ECHO_T}$result" >&6; }
11152 defaultval=$wxUSE_ALL_FEATURES
11153 if test -z "$defaultval"; then
11154 if test x"$enablestring" = xdisable; then
11161 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-slider" >&5
11162 echo $ECHO_N "checking
for --${enablestring:-enable}-slider...
$ECHO_C" >&6; }
11163 # Check whether --enable-slider was given.
11164 if test "${enable_slider+set}" = set; then
11165 enableval=$enable_slider;
11166 if test "$enableval" = yes; then
11167 wx_cv_use_slider='wxUSE_SLIDER=yes'
11169 wx_cv_use_slider='wxUSE_SLIDER=no'
11174 wx_cv_use_slider='wxUSE_SLIDER=${'DEFAULT_wxUSE_SLIDER":-$defaultval}"
11179 eval "$wx_cv_use_slider"
11181 if test x
"$enablestring" = xdisable
; then
11182 if test $wxUSE_SLIDER = yes; then
11188 result
=$wxUSE_SLIDER
11191 { echo "$as_me:$LINENO: result: $result" >&5
11192 echo "${ECHO_T}$result" >&6; }
11196 defaultval
=$wxUSE_ALL_FEATURES
11197 if test -z "$defaultval"; then
11198 if test x
"$enablestring" = xdisable
; then
11205 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinbtn" >&5
11206 echo $ECHO_N "checking for --${enablestring:-enable}-spinbtn... $ECHO_C" >&6; }
11207 # Check whether --enable-spinbtn was given.
11208 if test "${enable_spinbtn+set}" = set; then
11209 enableval
=$enable_spinbtn;
11210 if test "$enableval" = yes; then
11211 wx_cv_use_spinbtn
='wxUSE_SPINBTN=yes'
11213 wx_cv_use_spinbtn
='wxUSE_SPINBTN=no'
11218 wx_cv_use_spinbtn
='wxUSE_SPINBTN=${'DEFAULT_wxUSE_SPINBTN":-$defaultval}"
11223 eval "$wx_cv_use_spinbtn"
11225 if test x"$enablestring" = xdisable; then
11226 if test $wxUSE_SPINBTN = yes; then
11232 result=$wxUSE_SPINBTN
11235 { echo "$as_me:$LINENO: result: $result" >&5
11236 echo "${ECHO_T}$result" >&6; }
11240 defaultval=$wxUSE_ALL_FEATURES
11241 if test -z "$defaultval"; then
11242 if test x"$enablestring" = xdisable; then
11249 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinctrl" >&5
11250 echo $ECHO_N "checking for --${enablestring:-enable}-spinctrl... $ECHO_C" >&6; }
11251 # Check whether --enable-spinctrl was given.
11252 if test "${enable_spinctrl+set}" = set; then
11253 enableval=$enable_spinctrl;
11254 if test "$enableval" = yes; then
11255 wx_cv_use_spinctrl='wxUSE_SPINCTRL
=yes'
11257 wx_cv_use_spinctrl='wxUSE_SPINCTRL
=no
'
11262 wx_cv_use_spinctrl='wxUSE_SPINCTRL
=${'DEFAULT_wxUSE_SPINCTRL":-$defaultval}"
11267 eval "$wx_cv_use_spinctrl"
11269 if test x"$enablestring" = xdisable; then
11270 if test $wxUSE_SPINCTRL = yes; then
11276 result=$wxUSE_SPINCTRL
11279 { echo "$as_me:$LINENO: result
: $result" >&5
11280 echo "${ECHO_T}$result" >&6; }
11284 defaultval=$wxUSE_ALL_FEATURES
11285 if test -z "$defaultval"; then
11286 if test x"$enablestring" = xdisable; then
11293 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-splitter" >&5
11294 echo $ECHO_N "checking
for --${enablestring:-enable}-splitter...
$ECHO_C" >&6; }
11295 # Check whether --enable-splitter was given.
11296 if test "${enable_splitter+set}" = set; then
11297 enableval=$enable_splitter;
11298 if test "$enableval" = yes; then
11299 wx_cv_use_splitter='wxUSE_SPLITTER=yes'
11301 wx_cv_use_splitter='wxUSE_SPLITTER=no'
11306 wx_cv_use_splitter='wxUSE_SPLITTER=${'DEFAULT_wxUSE_SPLITTER":-$defaultval}"
11311 eval "$wx_cv_use_splitter"
11313 if test x
"$enablestring" = xdisable
; then
11314 if test $wxUSE_SPLITTER = yes; then
11320 result
=$wxUSE_SPLITTER
11323 { echo "$as_me:$LINENO: result: $result" >&5
11324 echo "${ECHO_T}$result" >&6; }
11328 defaultval
=$wxUSE_ALL_FEATURES
11329 if test -z "$defaultval"; then
11330 if test x
"$enablestring" = xdisable
; then
11337 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbmp" >&5
11338 echo $ECHO_N "checking for --${enablestring:-enable}-statbmp... $ECHO_C" >&6; }
11339 # Check whether --enable-statbmp was given.
11340 if test "${enable_statbmp+set}" = set; then
11341 enableval
=$enable_statbmp;
11342 if test "$enableval" = yes; then
11343 wx_cv_use_statbmp
='wxUSE_STATBMP=yes'
11345 wx_cv_use_statbmp
='wxUSE_STATBMP=no'
11350 wx_cv_use_statbmp
='wxUSE_STATBMP=${'DEFAULT_wxUSE_STATBMP":-$defaultval}"
11355 eval "$wx_cv_use_statbmp"
11357 if test x"$enablestring" = xdisable; then
11358 if test $wxUSE_STATBMP = yes; then
11364 result=$wxUSE_STATBMP
11367 { echo "$as_me:$LINENO: result: $result" >&5
11368 echo "${ECHO_T}$result" >&6; }
11372 defaultval=$wxUSE_ALL_FEATURES
11373 if test -z "$defaultval"; then
11374 if test x"$enablestring" = xdisable; then
11381 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbox" >&5
11382 echo $ECHO_N "checking for --${enablestring:-enable}-statbox... $ECHO_C" >&6; }
11383 # Check whether --enable-statbox was given.
11384 if test "${enable_statbox+set}" = set; then
11385 enableval=$enable_statbox;
11386 if test "$enableval" = yes; then
11387 wx_cv_use_statbox='wxUSE_STATBOX
=yes'
11389 wx_cv_use_statbox='wxUSE_STATBOX
=no
'
11394 wx_cv_use_statbox='wxUSE_STATBOX
=${'DEFAULT_wxUSE_STATBOX":-$defaultval}"
11399 eval "$wx_cv_use_statbox"
11401 if test x"$enablestring" = xdisable; then
11402 if test $wxUSE_STATBOX = yes; then
11408 result=$wxUSE_STATBOX
11411 { echo "$as_me:$LINENO: result
: $result" >&5
11412 echo "${ECHO_T}$result" >&6; }
11416 defaultval=$wxUSE_ALL_FEATURES
11417 if test -z "$defaultval"; then
11418 if test x"$enablestring" = xdisable; then
11425 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-statline" >&5
11426 echo $ECHO_N "checking
for --${enablestring:-enable}-statline...
$ECHO_C" >&6; }
11427 # Check whether --enable-statline was given.
11428 if test "${enable_statline+set}" = set; then
11429 enableval=$enable_statline;
11430 if test "$enableval" = yes; then
11431 wx_cv_use_statline='wxUSE_STATLINE=yes'
11433 wx_cv_use_statline='wxUSE_STATLINE=no'
11438 wx_cv_use_statline='wxUSE_STATLINE=${'DEFAULT_wxUSE_STATLINE":-$defaultval}"
11443 eval "$wx_cv_use_statline"
11445 if test x
"$enablestring" = xdisable
; then
11446 if test $wxUSE_STATLINE = yes; then
11452 result
=$wxUSE_STATLINE
11455 { echo "$as_me:$LINENO: result: $result" >&5
11456 echo "${ECHO_T}$result" >&6; }
11460 defaultval
=$wxUSE_ALL_FEATURES
11461 if test -z "$defaultval"; then
11462 if test x
"$enablestring" = xdisable
; then
11469 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stattext" >&5
11470 echo $ECHO_N "checking for --${enablestring:-enable}-stattext... $ECHO_C" >&6; }
11471 # Check whether --enable-stattext was given.
11472 if test "${enable_stattext+set}" = set; then
11473 enableval
=$enable_stattext;
11474 if test "$enableval" = yes; then
11475 wx_cv_use_stattext
='wxUSE_STATTEXT=yes'
11477 wx_cv_use_stattext
='wxUSE_STATTEXT=no'
11482 wx_cv_use_stattext
='wxUSE_STATTEXT=${'DEFAULT_wxUSE_STATTEXT":-$defaultval}"
11487 eval "$wx_cv_use_stattext"
11489 if test x"$enablestring" = xdisable; then
11490 if test $wxUSE_STATTEXT = yes; then
11496 result=$wxUSE_STATTEXT
11499 { echo "$as_me:$LINENO: result: $result" >&5
11500 echo "${ECHO_T}$result" >&6; }
11504 defaultval=$wxUSE_ALL_FEATURES
11505 if test -z "$defaultval"; then
11506 if test x"$enablestring" = xdisable; then
11513 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statusbar" >&5
11514 echo $ECHO_N "checking for --${enablestring:-enable}-statusbar... $ECHO_C" >&6; }
11515 # Check whether --enable-statusbar was given.
11516 if test "${enable_statusbar+set}" = set; then
11517 enableval=$enable_statusbar;
11518 if test "$enableval" = yes; then
11519 wx_cv_use_statusbar='wxUSE_STATUSBAR
=yes'
11521 wx_cv_use_statusbar='wxUSE_STATUSBAR
=no
'
11526 wx_cv_use_statusbar='wxUSE_STATUSBAR
=${'DEFAULT_wxUSE_STATUSBAR":-$defaultval}"
11531 eval "$wx_cv_use_statusbar"
11533 if test x"$enablestring" = xdisable; then
11534 if test $wxUSE_STATUSBAR = yes; then
11540 result=$wxUSE_STATUSBAR
11543 { echo "$as_me:$LINENO: result
: $result" >&5
11544 echo "${ECHO_T}$result" >&6; }
11548 defaultval=$wxUSE_ALL_FEATURES
11549 if test -z "$defaultval"; then
11550 if test x"$enablestring" = xdisable; then
11557 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-tabdialog" >&5
11558 echo $ECHO_N "checking
for --${enablestring:-enable}-tabdialog...
$ECHO_C" >&6; }
11559 # Check whether --enable-tabdialog was given.
11560 if test "${enable_tabdialog+set}" = set; then
11561 enableval=$enable_tabdialog;
11562 if test "$enableval" = yes; then
11563 wx_cv_use_tabdialog='wxUSE_TAB_DIALOG=yes'
11565 wx_cv_use_tabdialog='wxUSE_TAB_DIALOG=no'
11570 wx_cv_use_tabdialog='wxUSE_TAB_DIALOG=${'DEFAULT_wxUSE_TAB_DIALOG":-$defaultval}"
11575 eval "$wx_cv_use_tabdialog"
11577 if test x
"$enablestring" = xdisable
; then
11578 if test $wxUSE_TAB_DIALOG = yes; then
11584 result
=$wxUSE_TAB_DIALOG
11587 { echo "$as_me:$LINENO: result: $result" >&5
11588 echo "${ECHO_T}$result" >&6; }
11592 defaultval
=$wxUSE_ALL_FEATURES
11593 if test -z "$defaultval"; then
11594 if test x
"$enablestring" = xdisable
; then
11601 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-taskbaricon" >&5
11602 echo $ECHO_N "checking for --${enablestring:-enable}-taskbaricon... $ECHO_C" >&6; }
11603 # Check whether --enable-taskbaricon was given.
11604 if test "${enable_taskbaricon+set}" = set; then
11605 enableval
=$enable_taskbaricon;
11606 if test "$enableval" = yes; then
11607 wx_cv_use_taskbaricon
='wxUSE_TASKBARICON=yes'
11609 wx_cv_use_taskbaricon
='wxUSE_TASKBARICON=no'
11614 wx_cv_use_taskbaricon
='wxUSE_TASKBARICON=${'DEFAULT_wxUSE_TASKBARICON":-$defaultval}"
11619 eval "$wx_cv_use_taskbaricon"
11621 if test x"$enablestring" = xdisable; then
11622 if test $wxUSE_TASKBARICON = yes; then
11628 result=$wxUSE_TASKBARICON
11631 { echo "$as_me:$LINENO: result: $result" >&5
11632 echo "${ECHO_T}$result" >&6; }
11636 defaultval=$wxUSE_ALL_FEATURES
11637 if test -z "$defaultval"; then
11638 if test x"$enablestring" = xdisable; then
11645 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textctrl" >&5
11646 echo $ECHO_N "checking for --${enablestring:-enable}-textctrl... $ECHO_C" >&6; }
11647 # Check whether --enable-textctrl was given.
11648 if test "${enable_textctrl+set}" = set; then
11649 enableval=$enable_textctrl;
11650 if test "$enableval" = yes; then
11651 wx_cv_use_textctrl='wxUSE_TEXTCTRL
=yes'
11653 wx_cv_use_textctrl='wxUSE_TEXTCTRL
=no
'
11658 wx_cv_use_textctrl='wxUSE_TEXTCTRL
=${'DEFAULT_wxUSE_TEXTCTRL":-$defaultval}"
11663 eval "$wx_cv_use_textctrl"
11665 if test x"$enablestring" = xdisable; then
11666 if test $wxUSE_TEXTCTRL = yes; then
11672 result=$wxUSE_TEXTCTRL
11675 { echo "$as_me:$LINENO: result
: $result" >&5
11676 echo "${ECHO_T}$result" >&6; }
11680 defaultval=$wxUSE_ALL_FEATURES
11681 if test -z "$defaultval"; then
11682 if test x"$enablestring" = xdisable; then
11689 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-togglebtn" >&5
11690 echo $ECHO_N "checking
for --${enablestring:-enable}-togglebtn...
$ECHO_C" >&6; }
11691 # Check whether --enable-togglebtn was given.
11692 if test "${enable_togglebtn+set}" = set; then
11693 enableval=$enable_togglebtn;
11694 if test "$enableval" = yes; then
11695 wx_cv_use_togglebtn='wxUSE_TOGGLEBTN=yes'
11697 wx_cv_use_togglebtn='wxUSE_TOGGLEBTN=no'
11702 wx_cv_use_togglebtn='wxUSE_TOGGLEBTN=${'DEFAULT_wxUSE_TOGGLEBTN":-$defaultval}"
11707 eval "$wx_cv_use_togglebtn"
11709 if test x
"$enablestring" = xdisable
; then
11710 if test $wxUSE_TOGGLEBTN = yes; then
11716 result
=$wxUSE_TOGGLEBTN
11719 { echo "$as_me:$LINENO: result: $result" >&5
11720 echo "${ECHO_T}$result" >&6; }
11724 defaultval
=$wxUSE_ALL_FEATURES
11725 if test -z "$defaultval"; then
11726 if test x
"$enablestring" = xdisable
; then
11733 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbar" >&5
11734 echo $ECHO_N "checking for --${enablestring:-enable}-toolbar... $ECHO_C" >&6; }
11735 # Check whether --enable-toolbar was given.
11736 if test "${enable_toolbar+set}" = set; then
11737 enableval
=$enable_toolbar;
11738 if test "$enableval" = yes; then
11739 wx_cv_use_toolbar
='wxUSE_TOOLBAR=yes'
11741 wx_cv_use_toolbar
='wxUSE_TOOLBAR=no'
11746 wx_cv_use_toolbar
='wxUSE_TOOLBAR=${'DEFAULT_wxUSE_TOOLBAR":-$defaultval}"
11751 eval "$wx_cv_use_toolbar"
11753 if test x"$enablestring" = xdisable; then
11754 if test $wxUSE_TOOLBAR = yes; then
11760 result=$wxUSE_TOOLBAR
11763 { echo "$as_me:$LINENO: result: $result" >&5
11764 echo "${ECHO_T}$result" >&6; }
11768 defaultval=$wxUSE_ALL_FEATURES
11769 if test -z "$defaultval"; then
11770 if test x"$enablestring" = xdisable; then
11777 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarnative" >&5
11778 echo $ECHO_N "checking for --${enablestring:-enable}-tbarnative... $ECHO_C" >&6; }
11779 # Check whether --enable-tbarnative was given.
11780 if test "${enable_tbarnative+set}" = set; then
11781 enableval=$enable_tbarnative;
11782 if test "$enableval" = yes; then
11783 wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE
=yes'
11785 wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE
=no
'
11790 wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE
=${'DEFAULT_wxUSE_TOOLBAR_NATIVE":-$defaultval}"
11795 eval "$wx_cv_use_tbarnative"
11797 if test x"$enablestring" = xdisable; then
11798 if test $wxUSE_TOOLBAR_NATIVE = yes; then
11804 result=$wxUSE_TOOLBAR_NATIVE
11807 { echo "$as_me:$LINENO: result
: $result" >&5
11808 echo "${ECHO_T}$result" >&6; }
11812 defaultval=$wxUSE_ALL_FEATURES
11813 if test -z "$defaultval"; then
11814 if test x"$enablestring" = xdisable; then
11821 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-treebook" >&5
11822 echo $ECHO_N "checking
for --${enablestring:-enable}-treebook...
$ECHO_C" >&6; }
11823 # Check whether --enable-treebook was given.
11824 if test "${enable_treebook+set}" = set; then
11825 enableval=$enable_treebook;
11826 if test "$enableval" = yes; then
11827 wx_cv_use_treebook='wxUSE_TREEBOOK=yes'
11829 wx_cv_use_treebook='wxUSE_TREEBOOK=no'
11834 wx_cv_use_treebook='wxUSE_TREEBOOK=${'DEFAULT_wxUSE_TREEBOOK":-$defaultval}"
11839 eval "$wx_cv_use_treebook"
11841 if test x
"$enablestring" = xdisable
; then
11842 if test $wxUSE_TREEBOOK = yes; then
11848 result
=$wxUSE_TREEBOOK
11851 { echo "$as_me:$LINENO: result: $result" >&5
11852 echo "${ECHO_T}$result" >&6; }
11856 defaultval
=$wxUSE_ALL_FEATURES
11857 if test -z "$defaultval"; then
11858 if test x
"$enablestring" = xdisable
; then
11865 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbook" >&5
11866 echo $ECHO_N "checking for --${enablestring:-enable}-toolbook... $ECHO_C" >&6; }
11867 # Check whether --enable-toolbook was given.
11868 if test "${enable_toolbook+set}" = set; then
11869 enableval
=$enable_toolbook;
11870 if test "$enableval" = yes; then
11871 wx_cv_use_toolbook
='wxUSE_TOOLBOOK=yes'
11873 wx_cv_use_toolbook
='wxUSE_TOOLBOOK=no'
11878 wx_cv_use_toolbook
='wxUSE_TOOLBOOK=${'DEFAULT_wxUSE_TOOLBOOK":-$defaultval}"
11883 eval "$wx_cv_use_toolbook"
11885 if test x"$enablestring" = xdisable; then
11886 if test $wxUSE_TOOLBOOK = yes; then
11892 result=$wxUSE_TOOLBOOK
11895 { echo "$as_me:$LINENO: result: $result" >&5
11896 echo "${ECHO_T}$result" >&6; }
11900 defaultval=$wxUSE_ALL_FEATURES
11901 if test -z "$defaultval"; then
11902 if test x"$enablestring" = xdisable; then
11909 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treectrl" >&5
11910 echo $ECHO_N "checking for --${enablestring:-enable}-treectrl... $ECHO_C" >&6; }
11911 # Check whether --enable-treectrl was given.
11912 if test "${enable_treectrl+set}" = set; then
11913 enableval=$enable_treectrl;
11914 if test "$enableval" = yes; then
11915 wx_cv_use_treectrl='wxUSE_TREECTRL
=yes'
11917 wx_cv_use_treectrl='wxUSE_TREECTRL
=no
'
11922 wx_cv_use_treectrl='wxUSE_TREECTRL
=${'DEFAULT_wxUSE_TREECTRL":-$defaultval}"
11927 eval "$wx_cv_use_treectrl"
11929 if test x"$enablestring" = xdisable; then
11930 if test $wxUSE_TREECTRL = yes; then
11936 result=$wxUSE_TREECTRL
11939 { echo "$as_me:$LINENO: result
: $result" >&5
11940 echo "${ECHO_T}$result" >&6; }
11944 defaultval=$wxUSE_ALL_FEATURES
11945 if test -z "$defaultval"; then
11946 if test x"$enablestring" = xdisable; then
11953 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-tipwindow" >&5
11954 echo $ECHO_N "checking
for --${enablestring:-enable}-tipwindow...
$ECHO_C" >&6; }
11955 # Check whether --enable-tipwindow was given.
11956 if test "${enable_tipwindow+set}" = set; then
11957 enableval=$enable_tipwindow;
11958 if test "$enableval" = yes; then
11959 wx_cv_use_tipwindow='wxUSE_TIPWINDOW=yes'
11961 wx_cv_use_tipwindow='wxUSE_TIPWINDOW=no'
11966 wx_cv_use_tipwindow='wxUSE_TIPWINDOW=${'DEFAULT_wxUSE_TIPWINDOW":-$defaultval}"
11971 eval "$wx_cv_use_tipwindow"
11973 if test x
"$enablestring" = xdisable
; then
11974 if test $wxUSE_TIPWINDOW = yes; then
11980 result
=$wxUSE_TIPWINDOW
11983 { echo "$as_me:$LINENO: result: $result" >&5
11984 echo "${ECHO_T}$result" >&6; }
11988 defaultval
=$wxUSE_ALL_FEATURES
11989 if test -z "$defaultval"; then
11990 if test x
"$enablestring" = xdisable
; then
11997 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-popupwin" >&5
11998 echo $ECHO_N "checking for --${enablestring:-enable}-popupwin... $ECHO_C" >&6; }
11999 # Check whether --enable-popupwin was given.
12000 if test "${enable_popupwin+set}" = set; then
12001 enableval
=$enable_popupwin;
12002 if test "$enableval" = yes; then
12003 wx_cv_use_popupwin
='wxUSE_POPUPWIN=yes'
12005 wx_cv_use_popupwin
='wxUSE_POPUPWIN=no'
12010 wx_cv_use_popupwin
='wxUSE_POPUPWIN=${'DEFAULT_wxUSE_POPUPWIN":-$defaultval}"
12015 eval "$wx_cv_use_popupwin"
12017 if test x"$enablestring" = xdisable; then
12018 if test $wxUSE_POPUPWIN = yes; then
12024 result=$wxUSE_POPUPWIN
12027 { echo "$as_me:$LINENO: result: $result" >&5
12028 echo "${ECHO_T}$result" >&6; }
12034 defaultval=$wxUSE_ALL_FEATURES
12035 if test -z "$defaultval"; then
12036 if test x"$enablestring" = xdisable; then
12043 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-commondlg" >&5
12044 echo $ECHO_N "checking for --${enablestring:-enable}-commondlg... $ECHO_C" >&6; }
12045 # Check whether --enable-commondlg was given.
12046 if test "${enable_commondlg+set}" = set; then
12047 enableval=$enable_commondlg;
12048 if test "$enableval" = yes; then
12049 wx_cv_use_commondlg='wxUSE_COMMONDLGS
=yes'
12051 wx_cv_use_commondlg='wxUSE_COMMONDLGS
=no
'
12056 wx_cv_use_commondlg='wxUSE_COMMONDLGS
=${'DEFAULT_wxUSE_COMMONDLGS":-$defaultval}"
12061 eval "$wx_cv_use_commondlg"
12063 if test x"$enablestring" = xdisable; then
12064 if test $wxUSE_COMMONDLGS = yes; then
12070 result=$wxUSE_COMMONDLGS
12073 { echo "$as_me:$LINENO: result
: $result" >&5
12074 echo "${ECHO_T}$result" >&6; }
12078 defaultval=$wxUSE_ALL_FEATURES
12079 if test -z "$defaultval"; then
12080 if test x"$enablestring" = xdisable; then
12087 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-aboutdlg" >&5
12088 echo $ECHO_N "checking
for --${enablestring:-enable}-aboutdlg...
$ECHO_C" >&6; }
12089 # Check whether --enable-aboutdlg was given.
12090 if test "${enable_aboutdlg+set}" = set; then
12091 enableval=$enable_aboutdlg;
12092 if test "$enableval" = yes; then
12093 wx_cv_use_aboutdlg='wxUSE_ABOUTDLG=yes'
12095 wx_cv_use_aboutdlg='wxUSE_ABOUTDLG=no'
12100 wx_cv_use_aboutdlg='wxUSE_ABOUTDLG=${'DEFAULT_wxUSE_ABOUTDLG":-$defaultval}"
12105 eval "$wx_cv_use_aboutdlg"
12107 if test x
"$enablestring" = xdisable
; then
12108 if test $wxUSE_ABOUTDLG = yes; then
12114 result
=$wxUSE_ABOUTDLG
12117 { echo "$as_me:$LINENO: result: $result" >&5
12118 echo "${ECHO_T}$result" >&6; }
12122 defaultval
=$wxUSE_ALL_FEATURES
12123 if test -z "$defaultval"; then
12124 if test x
"$enablestring" = xdisable
; then
12131 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicedlg" >&5
12132 echo $ECHO_N "checking for --${enablestring:-enable}-choicedlg... $ECHO_C" >&6; }
12133 # Check whether --enable-choicedlg was given.
12134 if test "${enable_choicedlg+set}" = set; then
12135 enableval
=$enable_choicedlg;
12136 if test "$enableval" = yes; then
12137 wx_cv_use_choicedlg
='wxUSE_CHOICEDLG=yes'
12139 wx_cv_use_choicedlg
='wxUSE_CHOICEDLG=no'
12144 wx_cv_use_choicedlg
='wxUSE_CHOICEDLG=${'DEFAULT_wxUSE_CHOICEDLG":-$defaultval}"
12149 eval "$wx_cv_use_choicedlg"
12151 if test x"$enablestring" = xdisable; then
12152 if test $wxUSE_CHOICEDLG = yes; then
12158 result=$wxUSE_CHOICEDLG
12161 { echo "$as_me:$LINENO: result: $result" >&5
12162 echo "${ECHO_T}$result" >&6; }
12166 defaultval=$wxUSE_ALL_FEATURES
12167 if test -z "$defaultval"; then
12168 if test x"$enablestring" = xdisable; then
12175 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-coldlg" >&5
12176 echo $ECHO_N "checking for --${enablestring:-enable}-coldlg... $ECHO_C" >&6; }
12177 # Check whether --enable-coldlg was given.
12178 if test "${enable_coldlg+set}" = set; then
12179 enableval=$enable_coldlg;
12180 if test "$enableval" = yes; then
12181 wx_cv_use_coldlg='wxUSE_COLOURDLG
=yes'
12183 wx_cv_use_coldlg='wxUSE_COLOURDLG
=no
'
12188 wx_cv_use_coldlg='wxUSE_COLOURDLG
=${'DEFAULT_wxUSE_COLOURDLG":-$defaultval}"
12193 eval "$wx_cv_use_coldlg"
12195 if test x"$enablestring" = xdisable; then
12196 if test $wxUSE_COLOURDLG = yes; then
12202 result=$wxUSE_COLOURDLG
12205 { echo "$as_me:$LINENO: result
: $result" >&5
12206 echo "${ECHO_T}$result" >&6; }
12210 defaultval=$wxUSE_ALL_FEATURES
12211 if test -z "$defaultval"; then
12212 if test x"$enablestring" = xdisable; then
12219 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-filedlg" >&5
12220 echo $ECHO_N "checking
for --${enablestring:-enable}-filedlg...
$ECHO_C" >&6; }
12221 # Check whether --enable-filedlg was given.
12222 if test "${enable_filedlg+set}" = set; then
12223 enableval=$enable_filedlg;
12224 if test "$enableval" = yes; then
12225 wx_cv_use_filedlg='wxUSE_FILEDLG=yes'
12227 wx_cv_use_filedlg='wxUSE_FILEDLG=no'
12232 wx_cv_use_filedlg='wxUSE_FILEDLG=${'DEFAULT_wxUSE_FILEDLG":-$defaultval}"
12237 eval "$wx_cv_use_filedlg"
12239 if test x
"$enablestring" = xdisable
; then
12240 if test $wxUSE_FILEDLG = yes; then
12246 result
=$wxUSE_FILEDLG
12249 { echo "$as_me:$LINENO: result: $result" >&5
12250 echo "${ECHO_T}$result" >&6; }
12254 defaultval
=$wxUSE_ALL_FEATURES
12255 if test -z "$defaultval"; then
12256 if test x
"$enablestring" = xdisable
; then
12263 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-finddlg" >&5
12264 echo $ECHO_N "checking for --${enablestring:-enable}-finddlg... $ECHO_C" >&6; }
12265 # Check whether --enable-finddlg was given.
12266 if test "${enable_finddlg+set}" = set; then
12267 enableval
=$enable_finddlg;
12268 if test "$enableval" = yes; then
12269 wx_cv_use_finddlg
='wxUSE_FINDREPLDLG=yes'
12271 wx_cv_use_finddlg
='wxUSE_FINDREPLDLG=no'
12276 wx_cv_use_finddlg
='wxUSE_FINDREPLDLG=${'DEFAULT_wxUSE_FINDREPLDLG":-$defaultval}"
12281 eval "$wx_cv_use_finddlg"
12283 if test x"$enablestring" = xdisable; then
12284 if test $wxUSE_FINDREPLDLG = yes; then
12290 result=$wxUSE_FINDREPLDLG
12293 { echo "$as_me:$LINENO: result: $result" >&5
12294 echo "${ECHO_T}$result" >&6; }
12298 defaultval=$wxUSE_ALL_FEATURES
12299 if test -z "$defaultval"; then
12300 if test x"$enablestring" = xdisable; then
12307 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontdlg" >&5
12308 echo $ECHO_N "checking for --${enablestring:-enable}-fontdlg... $ECHO_C" >&6; }
12309 # Check whether --enable-fontdlg was given.
12310 if test "${enable_fontdlg+set}" = set; then
12311 enableval=$enable_fontdlg;
12312 if test "$enableval" = yes; then
12313 wx_cv_use_fontdlg='wxUSE_FONTDLG
=yes'
12315 wx_cv_use_fontdlg='wxUSE_FONTDLG
=no
'
12320 wx_cv_use_fontdlg='wxUSE_FONTDLG
=${'DEFAULT_wxUSE_FONTDLG":-$defaultval}"
12325 eval "$wx_cv_use_fontdlg"
12327 if test x"$enablestring" = xdisable; then
12328 if test $wxUSE_FONTDLG = yes; then
12334 result=$wxUSE_FONTDLG
12337 { echo "$as_me:$LINENO: result
: $result" >&5
12338 echo "${ECHO_T}$result" >&6; }
12342 defaultval=$wxUSE_ALL_FEATURES
12343 if test -z "$defaultval"; then
12344 if test x"$enablestring" = xdisable; then
12351 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-dirdlg" >&5
12352 echo $ECHO_N "checking
for --${enablestring:-enable}-dirdlg...
$ECHO_C" >&6; }
12353 # Check whether --enable-dirdlg was given.
12354 if test "${enable_dirdlg+set}" = set; then
12355 enableval=$enable_dirdlg;
12356 if test "$enableval" = yes; then
12357 wx_cv_use_dirdlg='wxUSE_DIRDLG=yes'
12359 wx_cv_use_dirdlg='wxUSE_DIRDLG=no'
12364 wx_cv_use_dirdlg='wxUSE_DIRDLG=${'DEFAULT_wxUSE_DIRDLG":-$defaultval}"
12369 eval "$wx_cv_use_dirdlg"
12371 if test x
"$enablestring" = xdisable
; then
12372 if test $wxUSE_DIRDLG = yes; then
12378 result
=$wxUSE_DIRDLG
12381 { echo "$as_me:$LINENO: result: $result" >&5
12382 echo "${ECHO_T}$result" >&6; }
12386 defaultval
=$wxUSE_ALL_FEATURES
12387 if test -z "$defaultval"; then
12388 if test x
"$enablestring" = xdisable
; then
12395 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-msgdlg" >&5
12396 echo $ECHO_N "checking for --${enablestring:-enable}-msgdlg... $ECHO_C" >&6; }
12397 # Check whether --enable-msgdlg was given.
12398 if test "${enable_msgdlg+set}" = set; then
12399 enableval
=$enable_msgdlg;
12400 if test "$enableval" = yes; then
12401 wx_cv_use_msgdlg
='wxUSE_MSGDLG=yes'
12403 wx_cv_use_msgdlg
='wxUSE_MSGDLG=no'
12408 wx_cv_use_msgdlg
='wxUSE_MSGDLG=${'DEFAULT_wxUSE_MSGDLG":-$defaultval}"
12413 eval "$wx_cv_use_msgdlg"
12415 if test x"$enablestring" = xdisable; then
12416 if test $wxUSE_MSGDLG = yes; then
12422 result=$wxUSE_MSGDLG
12425 { echo "$as_me:$LINENO: result: $result" >&5
12426 echo "${ECHO_T}$result" >&6; }
12430 defaultval=$wxUSE_ALL_FEATURES
12431 if test -z "$defaultval"; then
12432 if test x"$enablestring" = xdisable; then
12439 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-numberdlg" >&5
12440 echo $ECHO_N "checking for --${enablestring:-enable}-numberdlg... $ECHO_C" >&6; }
12441 # Check whether --enable-numberdlg was given.
12442 if test "${enable_numberdlg+set}" = set; then
12443 enableval=$enable_numberdlg;
12444 if test "$enableval" = yes; then
12445 wx_cv_use_numberdlg='wxUSE_NUMBERDLG
=yes'
12447 wx_cv_use_numberdlg='wxUSE_NUMBERDLG
=no
'
12452 wx_cv_use_numberdlg='wxUSE_NUMBERDLG
=${'DEFAULT_wxUSE_NUMBERDLG":-$defaultval}"
12457 eval "$wx_cv_use_numberdlg"
12459 if test x"$enablestring" = xdisable; then
12460 if test $wxUSE_NUMBERDLG = yes; then
12466 result=$wxUSE_NUMBERDLG
12469 { echo "$as_me:$LINENO: result
: $result" >&5
12470 echo "${ECHO_T}$result" >&6; }
12474 defaultval=$wxUSE_ALL_FEATURES
12475 if test -z "$defaultval"; then
12476 if test x"$enablestring" = xdisable; then
12483 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-splash" >&5
12484 echo $ECHO_N "checking
for --${enablestring:-enable}-splash...
$ECHO_C" >&6; }
12485 # Check whether --enable-splash was given.
12486 if test "${enable_splash+set}" = set; then
12487 enableval=$enable_splash;
12488 if test "$enableval" = yes; then
12489 wx_cv_use_splash='wxUSE_SPLASH=yes'
12491 wx_cv_use_splash='wxUSE_SPLASH=no'
12496 wx_cv_use_splash='wxUSE_SPLASH=${'DEFAULT_wxUSE_SPLASH":-$defaultval}"
12501 eval "$wx_cv_use_splash"
12503 if test x
"$enablestring" = xdisable
; then
12504 if test $wxUSE_SPLASH = yes; then
12510 result
=$wxUSE_SPLASH
12513 { echo "$as_me:$LINENO: result: $result" >&5
12514 echo "${ECHO_T}$result" >&6; }
12518 defaultval
=$wxUSE_ALL_FEATURES
12519 if test -z "$defaultval"; then
12520 if test x
"$enablestring" = xdisable
; then
12527 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textdlg" >&5
12528 echo $ECHO_N "checking for --${enablestring:-enable}-textdlg... $ECHO_C" >&6; }
12529 # Check whether --enable-textdlg was given.
12530 if test "${enable_textdlg+set}" = set; then
12531 enableval
=$enable_textdlg;
12532 if test "$enableval" = yes; then
12533 wx_cv_use_textdlg
='wxUSE_TEXTDLG=yes'
12535 wx_cv_use_textdlg
='wxUSE_TEXTDLG=no'
12540 wx_cv_use_textdlg
='wxUSE_TEXTDLG=${'DEFAULT_wxUSE_TEXTDLG":-$defaultval}"
12545 eval "$wx_cv_use_textdlg"
12547 if test x"$enablestring" = xdisable; then
12548 if test $wxUSE_TEXTDLG = yes; then
12554 result=$wxUSE_TEXTDLG
12557 { echo "$as_me:$LINENO: result: $result" >&5
12558 echo "${ECHO_T}$result" >&6; }
12562 defaultval=$wxUSE_ALL_FEATURES
12563 if test -z "$defaultval"; then
12564 if test x"$enablestring" = xdisable; then
12571 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipdlg" >&5
12572 echo $ECHO_N "checking for --${enablestring:-enable}-tipdlg... $ECHO_C" >&6; }
12573 # Check whether --enable-tipdlg was given.
12574 if test "${enable_tipdlg+set}" = set; then
12575 enableval=$enable_tipdlg;
12576 if test "$enableval" = yes; then
12577 wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS
=yes'
12579 wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS
=no
'
12584 wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS
=${'DEFAULT_wxUSE_STARTUP_TIPS":-$defaultval}"
12589 eval "$wx_cv_use_tipdlg"
12591 if test x"$enablestring" = xdisable; then
12592 if test $wxUSE_STARTUP_TIPS = yes; then
12598 result=$wxUSE_STARTUP_TIPS
12601 { echo "$as_me:$LINENO: result
: $result" >&5
12602 echo "${ECHO_T}$result" >&6; }
12606 defaultval=$wxUSE_ALL_FEATURES
12607 if test -z "$defaultval"; then
12608 if test x"$enablestring" = xdisable; then
12615 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-progressdlg" >&5
12616 echo $ECHO_N "checking
for --${enablestring:-enable}-progressdlg...
$ECHO_C" >&6; }
12617 # Check whether --enable-progressdlg was given.
12618 if test "${enable_progressdlg+set}" = set; then
12619 enableval=$enable_progressdlg;
12620 if test "$enableval" = yes; then
12621 wx_cv_use_progressdlg='wxUSE_PROGRESSDLG=yes'
12623 wx_cv_use_progressdlg='wxUSE_PROGRESSDLG=no'
12628 wx_cv_use_progressdlg='wxUSE_PROGRESSDLG=${'DEFAULT_wxUSE_PROGRESSDLG":-$defaultval}"
12633 eval "$wx_cv_use_progressdlg"
12635 if test x
"$enablestring" = xdisable
; then
12636 if test $wxUSE_PROGRESSDLG = yes; then
12642 result
=$wxUSE_PROGRESSDLG
12645 { echo "$as_me:$LINENO: result: $result" >&5
12646 echo "${ECHO_T}$result" >&6; }
12650 defaultval
=$wxUSE_ALL_FEATURES
12651 if test -z "$defaultval"; then
12652 if test x
"$enablestring" = xdisable
; then
12659 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wizarddlg" >&5
12660 echo $ECHO_N "checking for --${enablestring:-enable}-wizarddlg... $ECHO_C" >&6; }
12661 # Check whether --enable-wizarddlg was given.
12662 if test "${enable_wizarddlg+set}" = set; then
12663 enableval
=$enable_wizarddlg;
12664 if test "$enableval" = yes; then
12665 wx_cv_use_wizarddlg
='wxUSE_WIZARDDLG=yes'
12667 wx_cv_use_wizarddlg
='wxUSE_WIZARDDLG=no'
12672 wx_cv_use_wizarddlg
='wxUSE_WIZARDDLG=${'DEFAULT_wxUSE_WIZARDDLG":-$defaultval}"
12677 eval "$wx_cv_use_wizarddlg"
12679 if test x"$enablestring" = xdisable; then
12680 if test $wxUSE_WIZARDDLG = yes; then
12686 result=$wxUSE_WIZARDDLG
12689 { echo "$as_me:$LINENO: result: $result" >&5
12690 echo "${ECHO_T}$result" >&6; }
12696 defaultval=$wxUSE_ALL_FEATURES
12697 if test -z "$defaultval"; then
12698 if test x"$enablestring" = xdisable; then
12705 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-menus" >&5
12706 echo $ECHO_N "checking for --${enablestring:-enable}-menus... $ECHO_C" >&6; }
12707 # Check whether --enable-menus was given.
12708 if test "${enable_menus+set}" = set; then
12709 enableval=$enable_menus;
12710 if test "$enableval" = yes; then
12711 wx_cv_use_menus='wxUSE_MENUS
=yes'
12713 wx_cv_use_menus='wxUSE_MENUS
=no
'
12718 wx_cv_use_menus='wxUSE_MENUS
=${'DEFAULT_wxUSE_MENUS":-$defaultval}"
12723 eval "$wx_cv_use_menus"
12725 if test x"$enablestring" = xdisable; then
12726 if test $wxUSE_MENUS = yes; then
12732 result=$wxUSE_MENUS
12735 { echo "$as_me:$LINENO: result
: $result" >&5
12736 echo "${ECHO_T}$result" >&6; }
12740 defaultval=$wxUSE_ALL_FEATURES
12741 if test -z "$defaultval"; then
12742 if test x"$enablestring" = xdisable; then
12749 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-miniframe" >&5
12750 echo $ECHO_N "checking
for --${enablestring:-enable}-miniframe...
$ECHO_C" >&6; }
12751 # Check whether --enable-miniframe was given.
12752 if test "${enable_miniframe+set}" = set; then
12753 enableval=$enable_miniframe;
12754 if test "$enableval" = yes; then
12755 wx_cv_use_miniframe='wxUSE_MINIFRAME=yes'
12757 wx_cv_use_miniframe='wxUSE_MINIFRAME=no'
12762 wx_cv_use_miniframe='wxUSE_MINIFRAME=${'DEFAULT_wxUSE_MINIFRAME":-$defaultval}"
12767 eval "$wx_cv_use_miniframe"
12769 if test x
"$enablestring" = xdisable
; then
12770 if test $wxUSE_MINIFRAME = yes; then
12776 result
=$wxUSE_MINIFRAME
12779 { echo "$as_me:$LINENO: result: $result" >&5
12780 echo "${ECHO_T}$result" >&6; }
12784 defaultval
=$wxUSE_ALL_FEATURES
12785 if test -z "$defaultval"; then
12786 if test x
"$enablestring" = xdisable
; then
12793 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tooltips" >&5
12794 echo $ECHO_N "checking for --${enablestring:-enable}-tooltips... $ECHO_C" >&6; }
12795 # Check whether --enable-tooltips was given.
12796 if test "${enable_tooltips+set}" = set; then
12797 enableval
=$enable_tooltips;
12798 if test "$enableval" = yes; then
12799 wx_cv_use_tooltips
='wxUSE_TOOLTIPS=yes'
12801 wx_cv_use_tooltips
='wxUSE_TOOLTIPS=no'
12806 wx_cv_use_tooltips
='wxUSE_TOOLTIPS=${'DEFAULT_wxUSE_TOOLTIPS":-$defaultval}"
12811 eval "$wx_cv_use_tooltips"
12813 if test x"$enablestring" = xdisable; then
12814 if test $wxUSE_TOOLTIPS = yes; then
12820 result=$wxUSE_TOOLTIPS
12823 { echo "$as_me:$LINENO: result: $result" >&5
12824 echo "${ECHO_T}$result" >&6; }
12828 defaultval=$wxUSE_ALL_FEATURES
12829 if test -z "$defaultval"; then
12830 if test x"$enablestring" = xdisable; then
12837 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splines" >&5
12838 echo $ECHO_N "checking for --${enablestring:-enable}-splines... $ECHO_C" >&6; }
12839 # Check whether --enable-splines was given.
12840 if test "${enable_splines+set}" = set; then
12841 enableval=$enable_splines;
12842 if test "$enableval" = yes; then
12843 wx_cv_use_splines='wxUSE_SPLINES
=yes'
12845 wx_cv_use_splines='wxUSE_SPLINES
=no
'
12850 wx_cv_use_splines='wxUSE_SPLINES
=${'DEFAULT_wxUSE_SPLINES":-$defaultval}"
12855 eval "$wx_cv_use_splines"
12857 if test x"$enablestring" = xdisable; then
12858 if test $wxUSE_SPLINES = yes; then
12864 result=$wxUSE_SPLINES
12867 { echo "$as_me:$LINENO: result
: $result" >&5
12868 echo "${ECHO_T}$result" >&6; }
12872 defaultval=$wxUSE_ALL_FEATURES
12873 if test -z "$defaultval"; then
12874 if test x"$enablestring" = xdisable; then
12881 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-mousewheel" >&5
12882 echo $ECHO_N "checking
for --${enablestring:-enable}-mousewheel...
$ECHO_C" >&6; }
12883 # Check whether --enable-mousewheel was given.
12884 if test "${enable_mousewheel+set}" = set; then
12885 enableval=$enable_mousewheel;
12886 if test "$enableval" = yes; then
12887 wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL=yes'
12889 wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL=no'
12894 wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL=${'DEFAULT_wxUSE_MOUSEWHEEL":-$defaultval}"
12899 eval "$wx_cv_use_mousewheel"
12901 if test x
"$enablestring" = xdisable
; then
12902 if test $wxUSE_MOUSEWHEEL = yes; then
12908 result
=$wxUSE_MOUSEWHEEL
12911 { echo "$as_me:$LINENO: result: $result" >&5
12912 echo "${ECHO_T}$result" >&6; }
12916 defaultval
=$wxUSE_ALL_FEATURES
12917 if test -z "$defaultval"; then
12918 if test x
"$enablestring" = xdisable
; then
12925 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-validators" >&5
12926 echo $ECHO_N "checking for --${enablestring:-enable}-validators... $ECHO_C" >&6; }
12927 # Check whether --enable-validators was given.
12928 if test "${enable_validators+set}" = set; then
12929 enableval
=$enable_validators;
12930 if test "$enableval" = yes; then
12931 wx_cv_use_validators
='wxUSE_VALIDATORS=yes'
12933 wx_cv_use_validators
='wxUSE_VALIDATORS=no'
12938 wx_cv_use_validators
='wxUSE_VALIDATORS=${'DEFAULT_wxUSE_VALIDATORS":-$defaultval}"
12943 eval "$wx_cv_use_validators"
12945 if test x"$enablestring" = xdisable; then
12946 if test $wxUSE_VALIDATORS = yes; then
12952 result=$wxUSE_VALIDATORS
12955 { echo "$as_me:$LINENO: result: $result" >&5
12956 echo "${ECHO_T}$result" >&6; }
12960 defaultval=$wxUSE_ALL_FEATURES
12961 if test -z "$defaultval"; then
12962 if test x"$enablestring" = xdisable; then
12969 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-busyinfo" >&5
12970 echo $ECHO_N "checking for --${enablestring:-enable}-busyinfo... $ECHO_C" >&6; }
12971 # Check whether --enable-busyinfo was given.
12972 if test "${enable_busyinfo+set}" = set; then
12973 enableval=$enable_busyinfo;
12974 if test "$enableval" = yes; then
12975 wx_cv_use_busyinfo='wxUSE_BUSYINFO
=yes'
12977 wx_cv_use_busyinfo='wxUSE_BUSYINFO
=no
'
12982 wx_cv_use_busyinfo='wxUSE_BUSYINFO
=${'DEFAULT_wxUSE_BUSYINFO":-$defaultval}"
12987 eval "$wx_cv_use_busyinfo"
12989 if test x"$enablestring" = xdisable; then
12990 if test $wxUSE_BUSYINFO = yes; then
12996 result=$wxUSE_BUSYINFO
12999 { echo "$as_me:$LINENO: result
: $result" >&5
13000 echo "${ECHO_T}$result" >&6; }
13004 defaultval=$wxUSE_ALL_FEATURES
13005 if test -z "$defaultval"; then
13006 if test x"$enablestring" = xdisable; then
13013 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-joystick" >&5
13014 echo $ECHO_N "checking
for --${enablestring:-enable}-joystick...
$ECHO_C" >&6; }
13015 # Check whether --enable-joystick was given.
13016 if test "${enable_joystick+set}" = set; then
13017 enableval=$enable_joystick;
13018 if test "$enableval" = yes; then
13019 wx_cv_use_joystick='wxUSE_JOYSTICK=yes'
13021 wx_cv_use_joystick='wxUSE_JOYSTICK=no'
13026 wx_cv_use_joystick='wxUSE_JOYSTICK=${'DEFAULT_wxUSE_JOYSTICK":-$defaultval}"
13031 eval "$wx_cv_use_joystick"
13033 if test x
"$enablestring" = xdisable
; then
13034 if test $wxUSE_JOYSTICK = yes; then
13040 result
=$wxUSE_JOYSTICK
13043 { echo "$as_me:$LINENO: result: $result" >&5
13044 echo "${ECHO_T}$result" >&6; }
13048 defaultval
=$wxUSE_ALL_FEATURES
13049 if test -z "$defaultval"; then
13050 if test x
"$enablestring" = xdisable
; then
13057 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
13058 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6; }
13059 # Check whether --enable-metafile was given.
13060 if test "${enable_metafile+set}" = set; then
13061 enableval
=$enable_metafile;
13062 if test "$enableval" = yes; then
13063 wx_cv_use_metafile
='wxUSE_METAFILE=yes'
13065 wx_cv_use_metafile
='wxUSE_METAFILE=no'
13070 wx_cv_use_metafile
='wxUSE_METAFILE=${'DEFAULT_wxUSE_METAFILE":-$defaultval}"
13075 eval "$wx_cv_use_metafile"
13077 if test x"$enablestring" = xdisable; then
13078 if test $wxUSE_METAFILE = yes; then
13084 result=$wxUSE_METAFILE
13087 { echo "$as_me:$LINENO: result: $result" >&5
13088 echo "${ECHO_T}$result" >&6; }
13092 defaultval=$wxUSE_ALL_FEATURES
13093 if test -z "$defaultval"; then
13094 if test x"$enablestring" = xdisable; then
13101 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dragimage" >&5
13102 echo $ECHO_N "checking for --${enablestring:-enable}-dragimage... $ECHO_C" >&6; }
13103 # Check whether --enable-dragimage was given.
13104 if test "${enable_dragimage+set}" = set; then
13105 enableval=$enable_dragimage;
13106 if test "$enableval" = yes; then
13107 wx_cv_use_dragimage='wxUSE_DRAGIMAGE
=yes'
13109 wx_cv_use_dragimage='wxUSE_DRAGIMAGE
=no
'
13114 wx_cv_use_dragimage='wxUSE_DRAGIMAGE
=${'DEFAULT_wxUSE_DRAGIMAGE":-$defaultval}"
13119 eval "$wx_cv_use_dragimage"
13121 if test x"$enablestring" = xdisable; then
13122 if test $wxUSE_DRAGIMAGE = yes; then
13128 result=$wxUSE_DRAGIMAGE
13131 { echo "$as_me:$LINENO: result
: $result" >&5
13132 echo "${ECHO_T}$result" >&6; }
13136 defaultval=$wxUSE_ALL_FEATURES
13137 if test -z "$defaultval"; then
13138 if test x"$enablestring" = xdisable; then
13145 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-accessibility" >&5
13146 echo $ECHO_N "checking
for --${enablestring:-enable}-accessibility...
$ECHO_C" >&6; }
13147 # Check whether --enable-accessibility was given.
13148 if test "${enable_accessibility+set}" = set; then
13149 enableval=$enable_accessibility;
13150 if test "$enableval" = yes; then
13151 wx_cv_use_accessibility='wxUSE_ACCESSIBILITY=yes'
13153 wx_cv_use_accessibility='wxUSE_ACCESSIBILITY=no'
13158 wx_cv_use_accessibility='wxUSE_ACCESSIBILITY=${'DEFAULT_wxUSE_ACCESSIBILITY":-$defaultval}"
13163 eval "$wx_cv_use_accessibility"
13165 if test x
"$enablestring" = xdisable
; then
13166 if test $wxUSE_ACCESSIBILITY = yes; then
13172 result
=$wxUSE_ACCESSIBILITY
13175 { echo "$as_me:$LINENO: result: $result" >&5
13176 echo "${ECHO_T}$result" >&6; }
13182 defaultval
=$wxUSE_ALL_FEATURES
13183 if test -z "$defaultval"; then
13184 if test x
"$enablestring" = xdisable
; then
13191 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-palette" >&5
13192 echo $ECHO_N "checking for --${enablestring:-enable}-palette... $ECHO_C" >&6; }
13193 # Check whether --enable-palette was given.
13194 if test "${enable_palette+set}" = set; then
13195 enableval
=$enable_palette;
13196 if test "$enableval" = yes; then
13197 wx_cv_use_palette
='wxUSE_PALETTE=yes'
13199 wx_cv_use_palette
='wxUSE_PALETTE=no'
13204 wx_cv_use_palette
='wxUSE_PALETTE=${'DEFAULT_wxUSE_PALETTE":-$defaultval}"
13209 eval "$wx_cv_use_palette"
13211 if test x"$enablestring" = xdisable; then
13212 if test $wxUSE_PALETTE = yes; then
13218 result=$wxUSE_PALETTE
13221 { echo "$as_me:$LINENO: result: $result" >&5
13222 echo "${ECHO_T}$result" >&6; }
13226 defaultval=$wxUSE_ALL_FEATURES
13227 if test -z "$defaultval"; then
13228 if test x"$enablestring" = xdisable; then
13235 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-image" >&5
13236 echo $ECHO_N "checking for --${enablestring:-enable}-image... $ECHO_C" >&6; }
13237 # Check whether --enable-image was given.
13238 if test "${enable_image+set}" = set; then
13239 enableval=$enable_image;
13240 if test "$enableval" = yes; then
13241 wx_cv_use_image='wxUSE_IMAGE
=yes'
13243 wx_cv_use_image='wxUSE_IMAGE
=no
'
13248 wx_cv_use_image='wxUSE_IMAGE
=${'DEFAULT_wxUSE_IMAGE":-$defaultval}"
13253 eval "$wx_cv_use_image"
13255 if test x"$enablestring" = xdisable; then
13256 if test $wxUSE_IMAGE = yes; then
13262 result=$wxUSE_IMAGE
13265 { echo "$as_me:$LINENO: result
: $result" >&5
13266 echo "${ECHO_T}$result" >&6; }
13270 defaultval=$wxUSE_ALL_FEATURES
13271 if test -z "$defaultval"; then
13272 if test x"$enablestring" = xdisable; then
13279 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-gif" >&5
13280 echo $ECHO_N "checking
for --${enablestring:-enable}-gif...
$ECHO_C" >&6; }
13281 # Check whether --enable-gif was given.
13282 if test "${enable_gif+set}" = set; then
13283 enableval=$enable_gif;
13284 if test "$enableval" = yes; then
13285 wx_cv_use_gif='wxUSE_GIF=yes'
13287 wx_cv_use_gif='wxUSE_GIF=no'
13292 wx_cv_use_gif='wxUSE_GIF=${'DEFAULT_wxUSE_GIF":-$defaultval}"
13297 eval "$wx_cv_use_gif"
13299 if test x
"$enablestring" = xdisable
; then
13300 if test $wxUSE_GIF = yes; then
13309 { echo "$as_me:$LINENO: result: $result" >&5
13310 echo "${ECHO_T}$result" >&6; }
13314 defaultval
=$wxUSE_ALL_FEATURES
13315 if test -z "$defaultval"; then
13316 if test x
"$enablestring" = xdisable
; then
13323 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pcx" >&5
13324 echo $ECHO_N "checking for --${enablestring:-enable}-pcx... $ECHO_C" >&6; }
13325 # Check whether --enable-pcx was given.
13326 if test "${enable_pcx+set}" = set; then
13327 enableval
=$enable_pcx;
13328 if test "$enableval" = yes; then
13329 wx_cv_use_pcx
='wxUSE_PCX=yes'
13331 wx_cv_use_pcx
='wxUSE_PCX=no'
13336 wx_cv_use_pcx
='wxUSE_PCX=${'DEFAULT_wxUSE_PCX":-$defaultval}"
13341 eval "$wx_cv_use_pcx"
13343 if test x"$enablestring" = xdisable; then
13344 if test $wxUSE_PCX = yes; then
13353 { echo "$as_me:$LINENO: result: $result" >&5
13354 echo "${ECHO_T}$result" >&6; }
13358 defaultval=$wxUSE_ALL_FEATURES
13359 if test -z "$defaultval"; then
13360 if test x"$enablestring" = xdisable; then
13367 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tga" >&5
13368 echo $ECHO_N "checking for --${enablestring:-enable}-tga... $ECHO_C" >&6; }
13369 # Check whether --enable-tga was given.
13370 if test "${enable_tga+set}" = set; then
13371 enableval=$enable_tga;
13372 if test "$enableval" = yes; then
13373 wx_cv_use_tga='wxUSE_TGA
=yes'
13375 wx_cv_use_tga='wxUSE_TGA
=no
'
13380 wx_cv_use_tga='wxUSE_TGA
=${'DEFAULT_wxUSE_TGA":-$defaultval}"
13385 eval "$wx_cv_use_tga"
13387 if test x"$enablestring" = xdisable; then
13388 if test $wxUSE_TGA = yes; then
13397 { echo "$as_me:$LINENO: result
: $result" >&5
13398 echo "${ECHO_T}$result" >&6; }
13402 defaultval=$wxUSE_ALL_FEATURES
13403 if test -z "$defaultval"; then
13404 if test x"$enablestring" = xdisable; then
13411 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-iff" >&5
13412 echo $ECHO_N "checking
for --${enablestring:-enable}-iff...
$ECHO_C" >&6; }
13413 # Check whether --enable-iff was given.
13414 if test "${enable_iff+set}" = set; then
13415 enableval=$enable_iff;
13416 if test "$enableval" = yes; then
13417 wx_cv_use_iff='wxUSE_IFF=yes'
13419 wx_cv_use_iff='wxUSE_IFF=no'
13424 wx_cv_use_iff='wxUSE_IFF=${'DEFAULT_wxUSE_IFF":-$defaultval}"
13429 eval "$wx_cv_use_iff"
13431 if test x
"$enablestring" = xdisable
; then
13432 if test $wxUSE_IFF = yes; then
13441 { echo "$as_me:$LINENO: result: $result" >&5
13442 echo "${ECHO_T}$result" >&6; }
13446 defaultval
=$wxUSE_ALL_FEATURES
13447 if test -z "$defaultval"; then
13448 if test x
"$enablestring" = xdisable
; then
13455 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pnm" >&5
13456 echo $ECHO_N "checking for --${enablestring:-enable}-pnm... $ECHO_C" >&6; }
13457 # Check whether --enable-pnm was given.
13458 if test "${enable_pnm+set}" = set; then
13459 enableval
=$enable_pnm;
13460 if test "$enableval" = yes; then
13461 wx_cv_use_pnm
='wxUSE_PNM=yes'
13463 wx_cv_use_pnm
='wxUSE_PNM=no'
13468 wx_cv_use_pnm
='wxUSE_PNM=${'DEFAULT_wxUSE_PNM":-$defaultval}"
13473 eval "$wx_cv_use_pnm"
13475 if test x"$enablestring" = xdisable; then
13476 if test $wxUSE_PNM = yes; then
13485 { echo "$as_me:$LINENO: result: $result" >&5
13486 echo "${ECHO_T}$result" >&6; }
13490 defaultval=$wxUSE_ALL_FEATURES
13491 if test -z "$defaultval"; then
13492 if test x"$enablestring" = xdisable; then
13499 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xpm" >&5
13500 echo $ECHO_N "checking for --${enablestring:-enable}-xpm... $ECHO_C" >&6; }
13501 # Check whether --enable-xpm was given.
13502 if test "${enable_xpm+set}" = set; then
13503 enableval=$enable_xpm;
13504 if test "$enableval" = yes; then
13505 wx_cv_use_xpm='wxUSE_XPM
=yes'
13507 wx_cv_use_xpm='wxUSE_XPM
=no
'
13512 wx_cv_use_xpm='wxUSE_XPM
=${'DEFAULT_wxUSE_XPM":-$defaultval}"
13517 eval "$wx_cv_use_xpm"
13519 if test x"$enablestring" = xdisable; then
13520 if test $wxUSE_XPM = yes; then
13529 { echo "$as_me:$LINENO: result
: $result" >&5
13530 echo "${ECHO_T}$result" >&6; }
13534 defaultval=$wxUSE_ALL_FEATURES
13535 if test -z "$defaultval"; then
13536 if test x"$enablestring" = xdisable; then
13543 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-ico_cur" >&5
13544 echo $ECHO_N "checking
for --${enablestring:-enable}-ico_cur...
$ECHO_C" >&6; }
13545 # Check whether --enable-ico_cur was given.
13546 if test "${enable_ico_cur+set}" = set; then
13547 enableval=$enable_ico_cur;
13548 if test "$enableval" = yes; then
13549 wx_cv_use_ico_cur='wxUSE_ICO_CUR=yes'
13551 wx_cv_use_ico_cur='wxUSE_ICO_CUR=no'
13556 wx_cv_use_ico_cur='wxUSE_ICO_CUR=${'DEFAULT_wxUSE_ICO_CUR":-$defaultval}"
13561 eval "$wx_cv_use_ico_cur"
13563 if test x
"$enablestring" = xdisable
; then
13564 if test $wxUSE_ICO_CUR = yes; then
13570 result
=$wxUSE_ICO_CUR
13573 { echo "$as_me:$LINENO: result: $result" >&5
13574 echo "${ECHO_T}$result" >&6; }
13580 defaultval
=$wxUSE_ALL_FEATURES
13581 if test -z "$defaultval"; then
13582 if test x
"$enablestring" = xdisable
; then
13589 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dccache" >&5
13590 echo $ECHO_N "checking for --${enablestring:-enable}-dccache... $ECHO_C" >&6; }
13591 # Check whether --enable-dccache was given.
13592 if test "${enable_dccache+set}" = set; then
13593 enableval
=$enable_dccache;
13594 if test "$enableval" = yes; then
13595 wx_cv_use_dccache
='wxUSE_DC_CACHEING=yes'
13597 wx_cv_use_dccache
='wxUSE_DC_CACHEING=no'
13602 wx_cv_use_dccache
='wxUSE_DC_CACHEING=${'DEFAULT_wxUSE_DC_CACHEING":-$defaultval}"
13607 eval "$wx_cv_use_dccache"
13609 if test x"$enablestring" = xdisable; then
13610 if test $wxUSE_DC_CACHEING = yes; then
13616 result=$wxUSE_DC_CACHEING
13619 { echo "$as_me:$LINENO: result: $result" >&5
13620 echo "${ECHO_T}$result" >&6; }
13624 defaultval=$wxUSE_ALL_FEATURES
13625 if test -z "$defaultval"; then
13626 if test x"$enablestring" = xdisable; then
13633 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ps-in-msw" >&5
13634 echo $ECHO_N "checking for --${enablestring:-enable}-ps-in-msw... $ECHO_C" >&6; }
13635 # Check whether --enable-ps-in-msw was given.
13636 if test "${enable_ps_in_msw+set}" = set; then
13637 enableval=$enable_ps_in_msw;
13638 if test "$enableval" = yes; then
13639 wx_cv_use_ps_in_msw='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW
=yes'
13641 wx_cv_use_ps_in_msw='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW
=no
'
13646 wx_cv_use_ps_in_msw='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW
=${'DEFAULT_wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW":-$defaultval}"
13651 eval "$wx_cv_use_ps_in_msw"
13653 if test x"$enablestring" = xdisable; then
13654 if test $wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW = yes; then
13660 result=$wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW
13663 { echo "$as_me:$LINENO: result
: $result" >&5
13664 echo "${ECHO_T}$result" >&6; }
13668 defaultval=$wxUSE_ALL_FEATURES
13669 if test -z "$defaultval"; then
13670 if test x"$enablestring" = xdisable; then
13677 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-ownerdrawn" >&5
13678 echo $ECHO_N "checking
for --${enablestring:-enable}-ownerdrawn...
$ECHO_C" >&6; }
13679 # Check whether --enable-ownerdrawn was given.
13680 if test "${enable_ownerdrawn+set}" = set; then
13681 enableval=$enable_ownerdrawn;
13682 if test "$enableval" = yes; then
13683 wx_cv_use_ownerdrawn='wxUSE_OWNER_DRAWN=yes'
13685 wx_cv_use_ownerdrawn='wxUSE_OWNER_DRAWN=no'
13690 wx_cv_use_ownerdrawn='wxUSE_OWNER_DRAWN=${'DEFAULT_wxUSE_OWNER_DRAWN":-$defaultval}"
13695 eval "$wx_cv_use_ownerdrawn"
13697 if test x
"$enablestring" = xdisable
; then
13698 if test $wxUSE_OWNER_DRAWN = yes; then
13704 result
=$wxUSE_OWNER_DRAWN
13707 { echo "$as_me:$LINENO: result: $result" >&5
13708 echo "${ECHO_T}$result" >&6; }
13712 defaultval
=$wxUSE_ALL_FEATURES
13713 if test -z "$defaultval"; then
13714 if test x
"$enablestring" = xdisable
; then
13721 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-uxtheme" >&5
13722 echo $ECHO_N "checking for --${enablestring:-enable}-uxtheme... $ECHO_C" >&6; }
13723 # Check whether --enable-uxtheme was given.
13724 if test "${enable_uxtheme+set}" = set; then
13725 enableval
=$enable_uxtheme;
13726 if test "$enableval" = yes; then
13727 wx_cv_use_uxtheme
='wxUSE_UXTHEME=yes'
13729 wx_cv_use_uxtheme
='wxUSE_UXTHEME=no'
13734 wx_cv_use_uxtheme
='wxUSE_UXTHEME=${'DEFAULT_wxUSE_UXTHEME":-$defaultval}"
13739 eval "$wx_cv_use_uxtheme"
13741 if test x"$enablestring" = xdisable; then
13742 if test $wxUSE_UXTHEME = yes; then
13748 result=$wxUSE_UXTHEME
13751 { echo "$as_me:$LINENO: result: $result" >&5
13752 echo "${ECHO_T}$result" >&6; }
13756 defaultval=$wxUSE_ALL_FEATURES
13757 if test -z "$defaultval"; then
13758 if test x"$enablestring" = xdisable; then
13765 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wxdib" >&5
13766 echo $ECHO_N "checking for --${enablestring:-enable}-wxdib... $ECHO_C" >&6; }
13767 # Check whether --enable-wxdib was given.
13768 if test "${enable_wxdib+set}" = set; then
13769 enableval=$enable_wxdib;
13770 if test "$enableval" = yes; then
13771 wx_cv_use_wxdib='wxUSE_DIB
=yes'
13773 wx_cv_use_wxdib='wxUSE_DIB
=no
'
13778 wx_cv_use_wxdib='wxUSE_DIB
=${'DEFAULT_wxUSE_DIB":-$defaultval}"
13783 eval "$wx_cv_use_wxdib"
13785 if test x"$enablestring" = xdisable; then
13786 if test $wxUSE_DIB = yes; then
13795 { echo "$as_me:$LINENO: result
: $result" >&5
13796 echo "${ECHO_T}$result" >&6; }
13799 if test "$wxUSE_MSW" != 1; then
13800 DEFAULT_wxUSE_AUTOID_MANAGEMENT=no
13805 defaultval=$wxUSE_ALL_FEATURES
13806 if test -z "$defaultval"; then
13807 if test x"$enablestring" = xdisable; then
13814 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-autoidman" >&5
13815 echo $ECHO_N "checking
for --${enablestring:-enable}-autoidman...
$ECHO_C" >&6; }
13816 # Check whether --enable-autoidman was given.
13817 if test "${enable_autoidman+set}" = set; then
13818 enableval=$enable_autoidman;
13819 if test "$enableval" = yes; then
13820 wx_cv_use_autoidman='wxUSE_AUTOID_MANAGEMENT=yes'
13822 wx_cv_use_autoidman='wxUSE_AUTOID_MANAGEMENT=no'
13827 wx_cv_use_autoidman='wxUSE_AUTOID_MANAGEMENT=${'DEFAULT_wxUSE_AUTOID_MANAGEMENT":-$defaultval}"
13832 eval "$wx_cv_use_autoidman"
13834 if test x
"$enablestring" = xdisable
; then
13835 if test $wxUSE_AUTOID_MANAGEMENT = yes; then
13841 result
=$wxUSE_AUTOID_MANAGEMENT
13844 { echo "$as_me:$LINENO: result: $result" >&5
13845 echo "${ECHO_T}$result" >&6; }
13851 cat >confcache
<<\_ACEOF
13852 # This file is a shell script that caches the results of configure
13853 # tests run on this system so they can be shared between configure
13854 # scripts and configure runs, see configure's option --config-cache.
13855 # It is not useful on other systems. If it contains results you don't
13856 # want to keep, you may remove or edit it.
13858 # config.status only pays attention to the cache file if you give it
13859 # the --recheck option to rerun configure.
13861 # `ac_cv_env_foo' variables (set or unset) will be overridden when
13862 # loading this file, other *unset* `ac_cv_foo' will be assigned the
13863 # following values.
13867 # The following way of writing the cache mishandles newlines in values,
13868 # but we know of no workaround that is simple, portable, and efficient.
13869 # So, we kill variables containing newlines.
13870 # Ultrix sh set writes to stderr and can't be redirected directly,
13871 # and sets the high bit in the cache file unless we assign to the vars.
13873 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
13874 eval ac_val
=\$
$ac_var
13878 *_cv_
*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
13879 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
13882 _
| IFS
| as_nl
) ;; #(
13883 *) $as_unset $ac_var ;;
13889 case $as_nl`(ac_space=' '; set) 2>&1` in #(
13890 *${as_nl}ac_space
=\
*)
13891 # `set' does not quote correctly, so add quotes (double-quote
13892 # substitution turns \\\\ into \\, and sed turns \\ into \).
13895 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
13898 # `set' quotes correctly as required by POSIX, so do not add quotes.
13899 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
13908 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
13910 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
13912 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
13913 if test -w "$cache_file"; then
13914 test "x$cache_file" != "x/dev/null" &&
13915 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
13916 echo "$as_me: updating cache $cache_file" >&6;}
13917 cat confcache
>$cache_file
13919 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
13920 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
13930 ac_cpp
='$CPP $CPPFLAGS'
13931 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13932 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13933 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13934 if test -n "$ac_tool_prefix"; then
13935 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
13936 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
13937 { echo "$as_me:$LINENO: checking for $ac_word" >&5
13938 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
13939 if test "${ac_cv_prog_CC+set}" = set; then
13940 echo $ECHO_N "(cached) $ECHO_C" >&6
13942 if test -n "$CC"; then
13943 ac_cv_prog_CC
="$CC" # Let the user override the test.
13945 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13946 for as_dir
in $PATH
13949 test -z "$as_dir" && as_dir
=.
13950 for ac_exec_ext
in '' $ac_executable_extensions; do
13951 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13952 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
13953 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13963 if test -n "$CC"; then
13964 { echo "$as_me:$LINENO: result: $CC" >&5
13965 echo "${ECHO_T}$CC" >&6; }
13967 { echo "$as_me:$LINENO: result: no" >&5
13968 echo "${ECHO_T}no" >&6; }
13973 if test -z "$ac_cv_prog_CC"; then
13975 # Extract the first word of "gcc", so it can be a program name with args.
13976 set dummy gcc
; ac_word
=$2
13977 { echo "$as_me:$LINENO: checking for $ac_word" >&5
13978 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
13979 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
13980 echo $ECHO_N "(cached) $ECHO_C" >&6
13982 if test -n "$ac_ct_CC"; then
13983 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
13985 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13986 for as_dir
in $PATH
13989 test -z "$as_dir" && as_dir
=.
13990 for ac_exec_ext
in '' $ac_executable_extensions; do
13991 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13992 ac_cv_prog_ac_ct_CC
="gcc"
13993 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14002 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
14003 if test -n "$ac_ct_CC"; then
14004 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
14005 echo "${ECHO_T}$ac_ct_CC" >&6; }
14007 { echo "$as_me:$LINENO: result: no" >&5
14008 echo "${ECHO_T}no" >&6; }
14011 if test "x$ac_ct_CC" = x
; then
14014 case $cross_compiling:$ac_tool_warned in
14016 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
14017 whose name does not start with the host triplet. If you think this
14018 configuration is useful to you, please write to autoconf@gnu.org." >&5
14019 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
14020 whose name does not start with the host triplet. If you think this
14021 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
14022 ac_tool_warned
=yes ;;
14027 CC
="$ac_cv_prog_CC"
14030 if test -z "$CC"; then
14031 if test -n "$ac_tool_prefix"; then
14032 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
14033 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
14034 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14035 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14036 if test "${ac_cv_prog_CC+set}" = set; then
14037 echo $ECHO_N "(cached) $ECHO_C" >&6
14039 if test -n "$CC"; then
14040 ac_cv_prog_CC
="$CC" # Let the user override the test.
14042 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14043 for as_dir
in $PATH
14046 test -z "$as_dir" && as_dir
=.
14047 for ac_exec_ext
in '' $ac_executable_extensions; do
14048 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14049 ac_cv_prog_CC
="${ac_tool_prefix}cc"
14050 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14060 if test -n "$CC"; then
14061 { echo "$as_me:$LINENO: result: $CC" >&5
14062 echo "${ECHO_T}$CC" >&6; }
14064 { echo "$as_me:$LINENO: result: no" >&5
14065 echo "${ECHO_T}no" >&6; }
14071 if test -z "$CC"; then
14072 # Extract the first word of "cc", so it can be a program name with args.
14073 set dummy cc
; ac_word
=$2
14074 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14075 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14076 if test "${ac_cv_prog_CC+set}" = set; then
14077 echo $ECHO_N "(cached) $ECHO_C" >&6
14079 if test -n "$CC"; then
14080 ac_cv_prog_CC
="$CC" # Let the user override the test.
14082 ac_prog_rejected
=no
14083 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14084 for as_dir
in $PATH
14087 test -z "$as_dir" && as_dir
=.
14088 for ac_exec_ext
in '' $ac_executable_extensions; do
14089 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14090 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
14091 ac_prog_rejected
=yes
14095 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14102 if test $ac_prog_rejected = yes; then
14103 # We found a bogon in the path, so make sure we never use it.
14104 set dummy
$ac_cv_prog_CC
14106 if test $# != 0; then
14107 # We chose a different compiler from the bogus one.
14108 # However, it has the same basename, so the bogon will be chosen
14109 # first if we set CC to just the basename; use the full file name.
14111 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
14117 if test -n "$CC"; then
14118 { echo "$as_me:$LINENO: result: $CC" >&5
14119 echo "${ECHO_T}$CC" >&6; }
14121 { echo "$as_me:$LINENO: result: no" >&5
14122 echo "${ECHO_T}no" >&6; }
14127 if test -z "$CC"; then
14128 if test -n "$ac_tool_prefix"; then
14129 for ac_prog
in cl.exe
14131 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
14132 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
14133 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14134 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14135 if test "${ac_cv_prog_CC+set}" = set; then
14136 echo $ECHO_N "(cached) $ECHO_C" >&6
14138 if test -n "$CC"; then
14139 ac_cv_prog_CC
="$CC" # Let the user override the test.
14141 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14142 for as_dir
in $PATH
14145 test -z "$as_dir" && as_dir
=.
14146 for ac_exec_ext
in '' $ac_executable_extensions; do
14147 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14148 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
14149 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14159 if test -n "$CC"; then
14160 { echo "$as_me:$LINENO: result: $CC" >&5
14161 echo "${ECHO_T}$CC" >&6; }
14163 { echo "$as_me:$LINENO: result: no" >&5
14164 echo "${ECHO_T}no" >&6; }
14168 test -n "$CC" && break
14171 if test -z "$CC"; then
14173 for ac_prog
in cl.exe
14175 # Extract the first word of "$ac_prog", so it can be a program name with args.
14176 set dummy
$ac_prog; ac_word
=$2
14177 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14178 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14179 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
14180 echo $ECHO_N "(cached) $ECHO_C" >&6
14182 if test -n "$ac_ct_CC"; then
14183 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
14185 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14186 for as_dir
in $PATH
14189 test -z "$as_dir" && as_dir
=.
14190 for ac_exec_ext
in '' $ac_executable_extensions; do
14191 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14192 ac_cv_prog_ac_ct_CC
="$ac_prog"
14193 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14202 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
14203 if test -n "$ac_ct_CC"; then
14204 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
14205 echo "${ECHO_T}$ac_ct_CC" >&6; }
14207 { echo "$as_me:$LINENO: result: no" >&5
14208 echo "${ECHO_T}no" >&6; }
14212 test -n "$ac_ct_CC" && break
14215 if test "x$ac_ct_CC" = x
; then
14218 case $cross_compiling:$ac_tool_warned in
14220 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
14221 whose name does not start with the host triplet. If you think this
14222 configuration is useful to you, please write to autoconf@gnu.org." >&5
14223 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
14224 whose name does not start with the host triplet. If you think this
14225 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
14226 ac_tool_warned
=yes ;;
14235 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
14236 See \`config.log' for more details." >&5
14237 echo "$as_me: error: no acceptable C compiler found in \$PATH
14238 See \`config.log' for more details." >&2;}
14239 { (exit 1); exit 1; }; }
14241 # Provide some information about the compiler.
14242 echo "$as_me:$LINENO: checking for C compiler version" >&5
14243 ac_compiler
=`set X $ac_compile; echo $2`
14244 { (ac_try
="$ac_compiler --version >&5"
14245 case "(($ac_try" in
14246 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
14247 *) ac_try_echo=$ac_try;;
14249 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14250 (eval "$ac_compiler --version >&5") 2>&5
14252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14253 (exit $ac_status); }
14254 { (ac_try="$ac_compiler -v >&5"
14255 case "(($ac_try" in
14256 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
14257 *) ac_try_echo
=$ac_try;;
14259 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14260 (eval "$ac_compiler -v >&5") 2>&5
14262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14263 (exit $ac_status); }
14264 { (ac_try
="$ac_compiler -V >&5"
14265 case "(($ac_try" in
14266 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
14267 *) ac_try_echo=$ac_try;;
14269 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14270 (eval "$ac_compiler -V >&5") 2>&5
14272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14273 (exit $ac_status); }
14275 cat >conftest.$ac_ext <<_ACEOF
14278 cat confdefs.h >>conftest.$ac_ext
14279 cat >>conftest.$ac_ext <<_ACEOF
14280 /* end confdefs.h. */
14290 ac_clean_files_save=$ac_clean_files
14291 ac_clean_files="$ac_clean_files a.out a.exe b.out"
14292 # Try to create an executable without -o first, disregard a.out.
14293 # It will help us diagnose broken compilers, and finding out an intuition
14295 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
14296 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
14297 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
14299 # List of possible output files, starting from the most likely.
14300 # The algorithm is not robust to junk in `.
', hence go to wildcards (a.*)
14301 # only as a last resort. b.out is created by i960 compilers.
14302 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.
* conftest.
* b.out
'
14304 # The IRIX 6 linker writes into existing files which may not be
14305 # executable, retaining their permissions. Remove them first so a
14306 # subsequent execution test works.
14308 for ac_file in $ac_files
14311 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
14312 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
14317 if { (ac_try="$ac_link_default"
14318 case "(($ac_try" in
14319 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14320 *) ac_try_echo=$ac_try;;
14322 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14323 (eval "$ac_link_default") 2>&5
14325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14326 (exit $ac_status); }; then
14327 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
14328 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
14329 # in a Makefile. We should not override ac_cv_exeext if it was cached,
14330 # so that the user can short-circuit this test for compilers unknown to
14332 for ac_file
in $ac_files ''
14334 test -f "$ac_file" || continue
14336 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.map
| *.inf
| *.o
| *.obj
)
14339 # We found the default executable, but exeext='' is most
14343 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
14345 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
14347 # We set ac_cv_exeext here because the later test for it is not
14348 # safe: cross compilers may not add the suffix if given an `-o'
14349 # argument, so we may need to know it at that point already.
14350 # Even if this section looks crufty: it has the advantage of
14351 # actually working.
14357 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
14363 { echo "$as_me:$LINENO: result: $ac_file" >&5
14364 echo "${ECHO_T}$ac_file" >&6; }
14365 if test -z "$ac_file"; then
14366 echo "$as_me: failed program was:" >&5
14367 sed 's/^/| /' conftest.
$ac_ext >&5
14369 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
14370 See \`config.log' for more details." >&5
14371 echo "$as_me: error: C compiler cannot create executables
14372 See \`config.log' for more details." >&2;}
14373 { (exit 77); exit 77; }; }
14376 ac_exeext
=$ac_cv_exeext
14378 # Check that the compiler produces executables we can run. If not, either
14379 # the compiler is broken, or we cross compile.
14380 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
14381 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
14382 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
14383 # If not cross compiling, check that we can run a simple program.
14384 if test "$cross_compiling" != yes; then
14385 if { ac_try
='./$ac_file'
14386 { (case "(($ac_try" in
14387 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
14388 *) ac_try_echo=$ac_try;;
14390 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14391 (eval "$ac_try") 2>&5
14393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14394 (exit $ac_status); }; }; then
14397 if test "$cross_compiling" = maybe; then
14398 cross_compiling=yes
14400 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
14401 If you meant to cross compile, use \`--host'.
14402 See \`config.log' for more details.
" >&5
14403 echo "$as_me: error
: cannot run C compiled programs.
14404 If you meant to cross compile
, use \
`--host'.
14405 See \`config.log
' for more details." >&2;}
14406 { (exit 1); exit 1; }; }
14410 { echo "$as_me:$LINENO: result: yes" >&5
14411 echo "${ECHO_T}yes" >&6; }
14413 rm -f a.out a.exe conftest$ac_cv_exeext b.out
14414 ac_clean_files=$ac_clean_files_save
14415 # Check that the compiler produces executables we can run. If not, either
14416 # the compiler is broken, or we cross compile.
14417 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
14418 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
14419 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
14420 echo "${ECHO_T}$cross_compiling" >&6; }
14422 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
14423 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
14424 if { (ac_try="$ac_link"
14425 case "(($ac_try" in
14426 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14427 *) ac_try_echo=$ac_try;;
14429 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14430 (eval "$ac_link") 2>&5
14432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14433 (exit $ac_status); }; then
14434 # If both `conftest.exe' and
`conftest' are `present
' (well, observable)
14435 # catch `conftest.exe'. For instance with Cygwin
, `ls conftest' will
14436 # work properly (i.e., refer to `conftest.exe
'), while it won't with
14438 for ac_file
in conftest.exe conftest conftest.
*; do
14439 test -f "$ac_file" || continue
14441 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.map
| *.inf
| *.o
| *.obj
) ;;
14442 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
14448 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
14449 See \`config.log' for more details." >&5
14450 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
14451 See \`config.log' for more details." >&2;}
14452 { (exit 1); exit 1; }; }
14455 rm -f conftest
$ac_cv_exeext
14456 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
14457 echo "${ECHO_T}$ac_cv_exeext" >&6; }
14459 rm -f conftest.
$ac_ext
14460 EXEEXT
=$ac_cv_exeext
14462 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
14463 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
14464 if test "${ac_cv_objext+set}" = set; then
14465 echo $ECHO_N "(cached) $ECHO_C" >&6
14467 cat >conftest.
$ac_ext <<_ACEOF
14470 cat confdefs.h
>>conftest.
$ac_ext
14471 cat >>conftest.
$ac_ext <<_ACEOF
14472 /* end confdefs.h. */
14482 rm -f conftest.o conftest.obj
14483 if { (ac_try
="$ac_compile"
14484 case "(($ac_try" in
14485 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
14486 *) ac_try_echo=$ac_try;;
14488 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14489 (eval "$ac_compile") 2>&5
14491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14492 (exit $ac_status); }; then
14493 for ac_file in conftest.o conftest.obj conftest.*; do
14494 test -f "$ac_file" || continue;
14496 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
14497 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
14502 echo "$as_me: failed program was:" >&5
14503 sed 's/^/| /' conftest.$ac_ext >&5
14505 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
14506 See \`config.log
' for more details." >&5
14507 echo "$as_me: error: cannot compute suffix of object files: cannot compile
14508 See \`config.log' for more details.
" >&2;}
14509 { (exit 1); exit 1; }; }
14512 rm -f conftest.$ac_cv_objext conftest.$ac_ext
14514 { echo "$as_me:$LINENO: result
: $ac_cv_objext" >&5
14515 echo "${ECHO_T}$ac_cv_objext" >&6; }
14516 OBJEXT=$ac_cv_objext
14518 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler
" >&5
14519 echo $ECHO_N "checking whether we are using the GNU C compiler...
$ECHO_C" >&6; }
14520 if test "${ac_cv_c_compiler_gnu+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. */
14541 rm -f conftest.$ac_objext
14542 if { (ac_try="$ac_compile"
14543 case "(($ac_try" in
14544 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14545 *) ac_try_echo=$ac_try;;
14547 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
14548 (eval "$ac_compile") 2>conftest.er1
14550 grep -v '^ *+' conftest.er1 >conftest.err
14552 cat conftest.err >&5
14553 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
14554 (exit $ac_status); } && {
14555 test -z "$ac_c_werror_flag" ||
14556 test ! -s conftest.err
14557 } && test -s conftest.$ac_objext; then
14558 ac_compiler_gnu=yes
14560 echo "$as_me: failed program was
:" >&5
14561 sed 's/^/| /' conftest.$ac_ext >&5
14566 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14567 ac_cv_c_compiler_gnu=$ac_compiler_gnu
14570 { echo "$as_me:$LINENO: result
: $ac_cv_c_compiler_gnu" >&5
14571 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
14572 GCC=`test $ac_compiler_gnu = yes && echo yes`
14573 ac_test_CFLAGS=${CFLAGS+set}
14574 ac_save_CFLAGS=$CFLAGS
14575 { echo "$as_me:$LINENO: checking whether
$CC accepts
-g" >&5
14576 echo $ECHO_N "checking whether
$CC accepts
-g...
$ECHO_C" >&6; }
14577 if test "${ac_cv_prog_cc_g+set}" = set; then
14578 echo $ECHO_N "(cached
) $ECHO_C" >&6
14580 ac_save_c_werror_flag=$ac_c_werror_flag
14581 ac_c_werror_flag=yes
14584 cat >conftest.$ac_ext <<_ACEOF
14587 cat confdefs.h >>conftest.$ac_ext
14588 cat >>conftest.$ac_ext <<_ACEOF
14589 /* end confdefs.h. */
14599 rm -f conftest.$ac_objext
14600 if { (ac_try="$ac_compile"
14601 case "(($ac_try" in
14602 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14603 *) ac_try_echo=$ac_try;;
14605 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
14606 (eval "$ac_compile") 2>conftest.er1
14608 grep -v '^ *+' conftest.er1 >conftest.err
14610 cat conftest.err >&5
14611 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
14612 (exit $ac_status); } && {
14613 test -z "$ac_c_werror_flag" ||
14614 test ! -s conftest.err
14615 } && test -s conftest.$ac_objext; then
14616 ac_cv_prog_cc_g=yes
14618 echo "$as_me: failed program was
:" >&5
14619 sed 's/^/| /' conftest.$ac_ext >&5
14622 cat >conftest.$ac_ext <<_ACEOF
14625 cat confdefs.h >>conftest.$ac_ext
14626 cat >>conftest.$ac_ext <<_ACEOF
14627 /* end confdefs.h. */
14637 rm -f conftest.$ac_objext
14638 if { (ac_try="$ac_compile"
14639 case "(($ac_try" in
14640 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14641 *) ac_try_echo=$ac_try;;
14643 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
14644 (eval "$ac_compile") 2>conftest.er1
14646 grep -v '^ *+' conftest.er1 >conftest.err
14648 cat conftest.err >&5
14649 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
14650 (exit $ac_status); } && {
14651 test -z "$ac_c_werror_flag" ||
14652 test ! -s conftest.err
14653 } && test -s conftest.$ac_objext; then
14656 echo "$as_me: failed program was
:" >&5
14657 sed 's/^/| /' conftest.$ac_ext >&5
14659 ac_c_werror_flag=$ac_save_c_werror_flag
14661 cat >conftest.$ac_ext <<_ACEOF
14664 cat confdefs.h >>conftest.$ac_ext
14665 cat >>conftest.$ac_ext <<_ACEOF
14666 /* end confdefs.h. */
14676 rm -f conftest.$ac_objext
14677 if { (ac_try="$ac_compile"
14678 case "(($ac_try" in
14679 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14680 *) ac_try_echo=$ac_try;;
14682 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
14683 (eval "$ac_compile") 2>conftest.er1
14685 grep -v '^ *+' conftest.er1 >conftest.err
14687 cat conftest.err >&5
14688 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
14689 (exit $ac_status); } && {
14690 test -z "$ac_c_werror_flag" ||
14691 test ! -s conftest.err
14692 } && test -s conftest.$ac_objext; then
14693 ac_cv_prog_cc_g=yes
14695 echo "$as_me: failed program was
:" >&5
14696 sed 's/^/| /' conftest.$ac_ext >&5
14701 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14704 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14707 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14708 ac_c_werror_flag=$ac_save_c_werror_flag
14710 { echo "$as_me:$LINENO: result
: $ac_cv_prog_cc_g" >&5
14711 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
14712 if test "$ac_test_CFLAGS" = set; then
14713 CFLAGS=$ac_save_CFLAGS
14714 elif test $ac_cv_prog_cc_g = yes; then
14715 if test "$GCC" = yes; then
14721 if test "$GCC" = yes; then
14727 { echo "$as_me:$LINENO: checking
for $CC option to accept ISO C89
" >&5
14728 echo $ECHO_N "checking
for $CC option to accept ISO C89...
$ECHO_C" >&6; }
14729 if test "${ac_cv_prog_cc_c89+set}" = set; then
14730 echo $ECHO_N "(cached
) $ECHO_C" >&6
14732 ac_cv_prog_cc_c89=no
14734 cat >conftest.$ac_ext <<_ACEOF
14737 cat confdefs.h >>conftest.$ac_ext
14738 cat >>conftest.$ac_ext <<_ACEOF
14739 /* end confdefs.h. */
14740 #include <stdarg.h>
14742 #include <sys/types.h>
14743 #include <sys/stat.h>
14744 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
14745 struct buf { int x; };
14746 FILE * (*rcsopen) (struct buf *, struct stat *, int);
14747 static char *e (p, i)
14753 static char *f (char * (*g) (char **, int), char **p, ...)
14758 s = g (p, va_arg (v,int));
14763 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
14764 function prototypes and stuff, but not '\xHH' hex character constants.
14765 These don't provoke an error unfortunately, instead are silently treated
14766 as 'x'. The following induces an error, until -std is added to get
14767 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
14768 array size at least. It's necessary to write '\x00'==0 to get something
14769 that's true only with -std. */
14770 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
14772 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
14773 inside strings and character constants. */
14775 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
14777 int test (int i, double x);
14778 struct s1 {int (*f) (int a);};
14779 struct s2 {int (*f) (double a);};
14780 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
14786 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
14791 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
14792 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
14794 CC="$ac_save_CC $ac_arg"
14795 rm -f conftest.$ac_objext
14796 if { (ac_try="$ac_compile"
14797 case "(($ac_try" in
14798 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14799 *) ac_try_echo=$ac_try;;
14801 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
14802 (eval "$ac_compile") 2>conftest.er1
14804 grep -v '^ *+' conftest.er1 >conftest.err
14806 cat conftest.err >&5
14807 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
14808 (exit $ac_status); } && {
14809 test -z "$ac_c_werror_flag" ||
14810 test ! -s conftest.err
14811 } && test -s conftest.$ac_objext; then
14812 ac_cv_prog_cc_c89=$ac_arg
14814 echo "$as_me: failed program was
:" >&5
14815 sed 's/^/| /' conftest.$ac_ext >&5
14820 rm -f core conftest.err conftest.$ac_objext
14821 test "x
$ac_cv_prog_cc_c89" != "xno
" && break
14823 rm -f conftest.$ac_ext
14828 case "x
$ac_cv_prog_cc_c89" in
14830 { echo "$as_me:$LINENO: result
: none needed
" >&5
14831 echo "${ECHO_T}none needed
" >&6; } ;;
14833 { echo "$as_me:$LINENO: result
: unsupported
" >&5
14834 echo "${ECHO_T}unsupported
" >&6; } ;;
14836 CC="$CC $ac_cv_prog_cc_c89"
14837 { echo "$as_me:$LINENO: result
: $ac_cv_prog_cc_c89" >&5
14838 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
14843 ac_cpp='$CPP $CPPFLAGS'
14844 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14845 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14846 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14852 ac_cpp='$CPP $CPPFLAGS'
14853 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14854 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14855 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14857 { echo "$as_me:$LINENO: checking whether we are using the Intel C compiler
" >&5
14858 echo $ECHO_N "checking whether we are using the Intel C compiler...
$ECHO_C" >&6; }
14859 if test "${bakefile_cv_c_compiler___INTEL_COMPILER+set}" = set; then
14860 echo $ECHO_N "(cached
) $ECHO_C" >&6
14862 cat >conftest.$ac_ext <<_ACEOF
14865 cat confdefs.h >>conftest.$ac_ext
14866 cat >>conftest.$ac_ext <<_ACEOF
14867 /* end confdefs.h. */
14873 #ifndef __INTEL_COMPILER
14881 rm -f conftest.$ac_objext
14882 if { (ac_try="$ac_compile"
14883 case "(($ac_try" in
14884 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14885 *) ac_try_echo=$ac_try;;
14887 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
14888 (eval "$ac_compile") 2>conftest.er1
14890 grep -v '^ *+' conftest.er1 >conftest.err
14892 cat conftest.err >&5
14893 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
14894 (exit $ac_status); } && {
14895 test -z "$ac_c_werror_flag" ||
14896 test ! -s conftest.err
14897 } && test -s conftest.$ac_objext; then
14898 bakefile_cv_c_compiler___INTEL_COMPILER=yes
14900 echo "$as_me: failed program was
:" >&5
14901 sed 's/^/| /' conftest.$ac_ext >&5
14903 bakefile_cv_c_compiler___INTEL_COMPILER=no
14907 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14911 { echo "$as_me:$LINENO: result
: $bakefile_cv_c_compiler___INTEL_COMPILER" >&5
14912 echo "${ECHO_T}$bakefile_cv_c_compiler___INTEL_COMPILER" >&6; }
14913 if test "x
$bakefile_cv_c_compiler___INTEL_COMPILER" = "xyes
"; then
14919 ac_cpp='$CPP $CPPFLAGS'
14920 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14921 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14922 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14927 if test "x
$GCC" != "xyes
"; then
14928 if test "xCC
" = "xC
"; then
14929 { echo "$as_me:$LINENO: checking
if the C compiler requires
-ext o
" >&5
14930 echo $ECHO_N "checking
if the C compiler requires
-ext o...
$ECHO_C" >&6; }
14931 if test "${bakefile_cv_c_exto+set}" = set; then
14932 echo $ECHO_N "(cached
) $ECHO_C" >&6
14934 cat >conftest.$ac_ext <<_ACEOF
14937 cat confdefs.h >>conftest.$ac_ext
14938 cat >>conftest.$ac_ext <<_ACEOF
14939 /* end confdefs.h. */
14949 rm -f conftest.$ac_objext conftest.$ac_ext.o
14950 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14951 (eval $ac_compile) 2>&5
14953 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
14954 (exit $ac_status); }; then
14955 for ac_file in `(ls conftest.* 2>/dev/null)`; do
14957 conftest.$ac_ext.o)
14958 bakefile_cv_c_exto="-ext o
"
14965 { { echo "$as_me:$LINENO: error
: cannot figure out
if compiler needs
-ext o
: cannot compile
14966 See \
`config.log' for more details." >&5
14967 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
14968 See \`config.log
' for more details." >&2;}
14969 { (exit 1); exit 1; }; }
14973 rm -f conftest.$ac_ext.o conftest.$ac_objext conftest.$ac_ext
14976 { echo "$as_me:$LINENO: result: $bakefile_cv_c_exto" >&5
14977 echo "${ECHO_T}$bakefile_cv_c_exto" >&6; }
14978 if test "x$bakefile_cv_c_exto" '!=' "x"; then
14979 if test "c" = "c"; then
14980 CFLAGS="$bakefile_cv_c_exto $CFLAGS"
14982 if test "c" = "cxx"; then
14983 CXXFLAGS="$bakefile_cv_c_exto $CXXFLAGS"
14987 if test "x$bakefile_cv_c_exto" '!=' "x"; then
14988 unset ac_cv_prog_cc_g
14989 ac_test_CFLAGS=${CFLAGS+set}
14990 ac_save_CFLAGS=$CFLAGS
14991 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
14992 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
14993 if test "${ac_cv_prog_cc_g+set}" = set; then
14994 echo $ECHO_N "(cached) $ECHO_C" >&6
14996 ac_save_c_werror_flag=$ac_c_werror_flag
14997 ac_c_werror_flag=yes
15000 cat >conftest.$ac_ext <<_ACEOF
15003 cat confdefs.h >>conftest.$ac_ext
15004 cat >>conftest.$ac_ext <<_ACEOF
15005 /* end confdefs.h. */
15015 rm -f conftest.$ac_objext
15016 if { (ac_try="$ac_compile"
15017 case "(($ac_try" in
15018 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15019 *) ac_try_echo=$ac_try;;
15021 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15022 (eval "$ac_compile") 2>conftest.er1
15024 grep -v '^
*+' conftest.er1 >conftest.err
15026 cat conftest.err >&5
15027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15028 (exit $ac_status); } && {
15029 test -z "$ac_c_werror_flag" ||
15030 test ! -s conftest.err
15031 } && test -s conftest.$ac_objext; then
15032 ac_cv_prog_cc_g=yes
15034 echo "$as_me: failed program was:" >&5
15035 sed 's
/^
/| /' conftest.$ac_ext >&5
15038 cat >conftest.$ac_ext <<_ACEOF
15041 cat confdefs.h >>conftest.$ac_ext
15042 cat >>conftest.$ac_ext <<_ACEOF
15043 /* end confdefs.h. */
15053 rm -f conftest.$ac_objext
15054 if { (ac_try="$ac_compile"
15055 case "(($ac_try" in
15056 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15057 *) ac_try_echo=$ac_try;;
15059 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15060 (eval "$ac_compile") 2>conftest.er1
15062 grep -v '^
*+' conftest.er1 >conftest.err
15064 cat conftest.err >&5
15065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15066 (exit $ac_status); } && {
15067 test -z "$ac_c_werror_flag" ||
15068 test ! -s conftest.err
15069 } && test -s conftest.$ac_objext; then
15072 echo "$as_me: failed program was:" >&5
15073 sed 's
/^
/| /' conftest.$ac_ext >&5
15075 ac_c_werror_flag=$ac_save_c_werror_flag
15077 cat >conftest.$ac_ext <<_ACEOF
15080 cat confdefs.h >>conftest.$ac_ext
15081 cat >>conftest.$ac_ext <<_ACEOF
15082 /* end confdefs.h. */
15092 rm -f conftest.$ac_objext
15093 if { (ac_try="$ac_compile"
15094 case "(($ac_try" in
15095 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15096 *) ac_try_echo=$ac_try;;
15098 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15099 (eval "$ac_compile") 2>conftest.er1
15101 grep -v '^
*+' conftest.er1 >conftest.err
15103 cat conftest.err >&5
15104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15105 (exit $ac_status); } && {
15106 test -z "$ac_c_werror_flag" ||
15107 test ! -s conftest.err
15108 } && test -s conftest.$ac_objext; then
15109 ac_cv_prog_cc_g=yes
15111 echo "$as_me: failed program was:" >&5
15112 sed 's
/^
/| /' conftest.$ac_ext >&5
15117 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15120 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15123 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15124 ac_c_werror_flag=$ac_save_c_werror_flag
15126 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
15127 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
15128 if test "$ac_test_CFLAGS" = set; then
15129 CFLAGS=$ac_save_CFLAGS
15130 elif test $ac_cv_prog_cc_g = yes; then
15131 if test "$GCC" = yes; then
15137 if test "$GCC" = yes; then
15151 ac_cpp='$CPP $CPPFLAGS'
15152 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
15153 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
15154 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15156 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
15157 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6; }
15158 if test "${bakefile_cv_c_compiler___xlC__+set}" = set; then
15159 echo $ECHO_N "(cached) $ECHO_C" >&6
15161 cat >conftest.$ac_ext <<_ACEOF
15164 cat confdefs.h >>conftest.$ac_ext
15165 cat >>conftest.$ac_ext <<_ACEOF
15166 /* end confdefs.h. */
15180 rm -f conftest.$ac_objext
15181 if { (ac_try="$ac_compile"
15182 case "(($ac_try" in
15183 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15184 *) ac_try_echo=$ac_try;;
15186 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15187 (eval "$ac_compile") 2>conftest.er1
15189 grep -v '^
*+' conftest.er1 >conftest.err
15191 cat conftest.err >&5
15192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15193 (exit $ac_status); } && {
15194 test -z "$ac_c_werror_flag" ||
15195 test ! -s conftest.err
15196 } && test -s conftest.$ac_objext; then
15197 bakefile_cv_c_compiler___xlC__=yes
15199 echo "$as_me: failed program was:" >&5
15200 sed 's
/^
/| /' conftest.$ac_ext >&5
15202 bakefile_cv_c_compiler___xlC__=no
15206 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15210 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___xlC__" >&5
15211 echo "${ECHO_T}$bakefile_cv_c_compiler___xlC__" >&6; }
15212 if test "x$bakefile_cv_c_compiler___xlC__" = "xyes"; then
15218 ac_cpp='$CPP $CPPFLAGS'
15219 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
15220 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
15221 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15231 ac_cpp='$CPP $CPPFLAGS'
15232 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
15233 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
15234 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15236 { echo "$as_me:$LINENO: checking whether we are using the Metrowerks C compiler" >&5
15237 echo $ECHO_N "checking whether we are using the Metrowerks C compiler... $ECHO_C" >&6; }
15238 if test "${bakefile_cv_c_compiler___MWERKS__+set}" = set; then
15239 echo $ECHO_N "(cached) $ECHO_C" >&6
15241 cat >conftest.$ac_ext <<_ACEOF
15244 cat confdefs.h >>conftest.$ac_ext
15245 cat >>conftest.$ac_ext <<_ACEOF
15246 /* end confdefs.h. */
15260 rm -f conftest.$ac_objext
15261 if { (ac_try="$ac_compile"
15262 case "(($ac_try" in
15263 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15264 *) ac_try_echo=$ac_try;;
15266 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15267 (eval "$ac_compile") 2>conftest.er1
15269 grep -v '^
*+' conftest.er1 >conftest.err
15271 cat conftest.err >&5
15272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15273 (exit $ac_status); } && {
15274 test -z "$ac_c_werror_flag" ||
15275 test ! -s conftest.err
15276 } && test -s conftest.$ac_objext; then
15277 bakefile_cv_c_compiler___MWERKS__=yes
15279 echo "$as_me: failed program was:" >&5
15280 sed 's
/^
/| /' conftest.$ac_ext >&5
15282 bakefile_cv_c_compiler___MWERKS__=no
15286 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15290 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___MWERKS__" >&5
15291 echo "${ECHO_T}$bakefile_cv_c_compiler___MWERKS__" >&6; }
15292 if test "x$bakefile_cv_c_compiler___MWERKS__" = "xyes"; then
15298 ac_cpp='$CPP $CPPFLAGS'
15299 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
15300 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
15301 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15308 ac_cpp='$CPP $CPPFLAGS'
15309 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
15310 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
15311 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15313 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
15314 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6; }
15315 if test "${bakefile_cv_c_compiler___xlC__+set}" = set; then
15316 echo $ECHO_N "(cached) $ECHO_C" >&6
15318 cat >conftest.$ac_ext <<_ACEOF
15321 cat confdefs.h >>conftest.$ac_ext
15322 cat >>conftest.$ac_ext <<_ACEOF
15323 /* end confdefs.h. */
15337 rm -f conftest.$ac_objext
15338 if { (ac_try="$ac_compile"
15339 case "(($ac_try" in
15340 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15341 *) ac_try_echo=$ac_try;;
15343 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15344 (eval "$ac_compile") 2>conftest.er1
15346 grep -v '^
*+' conftest.er1 >conftest.err
15348 cat conftest.err >&5
15349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15350 (exit $ac_status); } && {
15351 test -z "$ac_c_werror_flag" ||
15352 test ! -s conftest.err
15353 } && test -s conftest.$ac_objext; then
15354 bakefile_cv_c_compiler___xlC__=yes
15356 echo "$as_me: failed program was:" >&5
15357 sed 's
/^
/| /' conftest.$ac_ext >&5
15359 bakefile_cv_c_compiler___xlC__=no
15363 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15367 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___xlC__" >&5
15368 echo "${ECHO_T}$bakefile_cv_c_compiler___xlC__" >&6; }
15369 if test "x$bakefile_cv_c_compiler___xlC__" = "xyes"; then
15375 ac_cpp='$CPP $CPPFLAGS'
15376 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
15377 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
15378 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15388 ac_cpp='$CPP $CPPFLAGS'
15389 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
15390 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
15391 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15393 { echo "$as_me:$LINENO: checking whether we are using the SGI C compiler" >&5
15394 echo $ECHO_N "checking whether we are using the SGI C compiler... $ECHO_C" >&6; }
15395 if test "${bakefile_cv_c_compiler__SGI_COMPILER_VERSION+set}" = set; then
15396 echo $ECHO_N "(cached) $ECHO_C" >&6
15398 cat >conftest.$ac_ext <<_ACEOF
15401 cat confdefs.h >>conftest.$ac_ext
15402 cat >>conftest.$ac_ext <<_ACEOF
15403 /* end confdefs.h. */
15409 #ifndef _SGI_COMPILER_VERSION
15417 rm -f conftest.$ac_objext
15418 if { (ac_try="$ac_compile"
15419 case "(($ac_try" in
15420 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15421 *) ac_try_echo=$ac_try;;
15423 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15424 (eval "$ac_compile") 2>conftest.er1
15426 grep -v '^
*+' conftest.er1 >conftest.err
15428 cat conftest.err >&5
15429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15430 (exit $ac_status); } && {
15431 test -z "$ac_c_werror_flag" ||
15432 test ! -s conftest.err
15433 } && test -s conftest.$ac_objext; then
15434 bakefile_cv_c_compiler__SGI_COMPILER_VERSION=yes
15436 echo "$as_me: failed program was:" >&5
15437 sed 's
/^
/| /' conftest.$ac_ext >&5
15439 bakefile_cv_c_compiler__SGI_COMPILER_VERSION=no
15443 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15447 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&5
15448 echo "${ECHO_T}$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&6; }
15449 if test "x$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" = "xyes"; then
15455 ac_cpp='$CPP $CPPFLAGS'
15456 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
15457 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
15458 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15468 ac_cpp='$CPP $CPPFLAGS'
15469 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
15470 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
15471 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15473 { echo "$as_me:$LINENO: checking whether we are using the Sun C compiler" >&5
15474 echo $ECHO_N "checking whether we are using the Sun C compiler... $ECHO_C" >&6; }
15475 if test "${bakefile_cv_c_compiler___SUNPRO_C+set}" = set; then
15476 echo $ECHO_N "(cached) $ECHO_C" >&6
15478 cat >conftest.$ac_ext <<_ACEOF
15481 cat confdefs.h >>conftest.$ac_ext
15482 cat >>conftest.$ac_ext <<_ACEOF
15483 /* end confdefs.h. */
15497 rm -f conftest.$ac_objext
15498 if { (ac_try="$ac_compile"
15499 case "(($ac_try" in
15500 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15501 *) ac_try_echo=$ac_try;;
15503 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15504 (eval "$ac_compile") 2>conftest.er1
15506 grep -v '^
*+' conftest.er1 >conftest.err
15508 cat conftest.err >&5
15509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15510 (exit $ac_status); } && {
15511 test -z "$ac_c_werror_flag" ||
15512 test ! -s conftest.err
15513 } && test -s conftest.$ac_objext; then
15514 bakefile_cv_c_compiler___SUNPRO_C=yes
15516 echo "$as_me: failed program was:" >&5
15517 sed 's
/^
/| /' conftest.$ac_ext >&5
15519 bakefile_cv_c_compiler___SUNPRO_C=no
15523 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15527 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
15528 echo "${ECHO_T}$bakefile_cv_c_compiler___SUNPRO_C" >&6; }
15529 if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
15535 ac_cpp='$CPP $CPPFLAGS'
15536 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
15537 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
15538 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15548 ac_cpp='$CPP $CPPFLAGS'
15549 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
15550 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
15551 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15553 { echo "$as_me:$LINENO: checking whether we are using the HP C compiler" >&5
15554 echo $ECHO_N "checking whether we are using the HP C compiler... $ECHO_C" >&6; }
15555 if test "${bakefile_cv_c_compiler___HP_cc+set}" = set; then
15556 echo $ECHO_N "(cached) $ECHO_C" >&6
15558 cat >conftest.$ac_ext <<_ACEOF
15561 cat confdefs.h >>conftest.$ac_ext
15562 cat >>conftest.$ac_ext <<_ACEOF
15563 /* end confdefs.h. */
15577 rm -f conftest.$ac_objext
15578 if { (ac_try="$ac_compile"
15579 case "(($ac_try" in
15580 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15581 *) ac_try_echo=$ac_try;;
15583 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15584 (eval "$ac_compile") 2>conftest.er1
15586 grep -v '^
*+' conftest.er1 >conftest.err
15588 cat conftest.err >&5
15589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15590 (exit $ac_status); } && {
15591 test -z "$ac_c_werror_flag" ||
15592 test ! -s conftest.err
15593 } && test -s conftest.$ac_objext; then
15594 bakefile_cv_c_compiler___HP_cc=yes
15596 echo "$as_me: failed program was:" >&5
15597 sed 's
/^
/| /' conftest.$ac_ext >&5
15599 bakefile_cv_c_compiler___HP_cc=no
15603 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15607 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___HP_cc" >&5
15608 echo "${ECHO_T}$bakefile_cv_c_compiler___HP_cc" >&6; }
15609 if test "x$bakefile_cv_c_compiler___HP_cc" = "xyes"; then
15615 ac_cpp='$CPP $CPPFLAGS'
15616 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
15617 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
15618 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15628 ac_cpp='$CPP $CPPFLAGS'
15629 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
15630 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
15631 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15633 { echo "$as_me:$LINENO: checking whether we are using the Compaq C compiler" >&5
15634 echo $ECHO_N "checking whether we are using the Compaq C compiler... $ECHO_C" >&6; }
15635 if test "${bakefile_cv_c_compiler___DECC+set}" = set; then
15636 echo $ECHO_N "(cached) $ECHO_C" >&6
15638 cat >conftest.$ac_ext <<_ACEOF
15641 cat confdefs.h >>conftest.$ac_ext
15642 cat >>conftest.$ac_ext <<_ACEOF
15643 /* end confdefs.h. */
15657 rm -f conftest.$ac_objext
15658 if { (ac_try="$ac_compile"
15659 case "(($ac_try" in
15660 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15661 *) ac_try_echo=$ac_try;;
15663 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15664 (eval "$ac_compile") 2>conftest.er1
15666 grep -v '^
*+' conftest.er1 >conftest.err
15668 cat conftest.err >&5
15669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15670 (exit $ac_status); } && {
15671 test -z "$ac_c_werror_flag" ||
15672 test ! -s conftest.err
15673 } && test -s conftest.$ac_objext; then
15674 bakefile_cv_c_compiler___DECC=yes
15676 echo "$as_me: failed program was:" >&5
15677 sed 's
/^
/| /' conftest.$ac_ext >&5
15679 bakefile_cv_c_compiler___DECC=no
15683 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15687 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___DECC" >&5
15688 echo "${ECHO_T}$bakefile_cv_c_compiler___DECC" >&6; }
15689 if test "x$bakefile_cv_c_compiler___DECC" = "xyes"; then
15695 ac_cpp='$CPP $CPPFLAGS'
15696 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
15697 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
15698 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15708 ac_cpp='$CPP $CPPFLAGS'
15709 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
15710 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
15711 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15713 { echo "$as_me:$LINENO: checking whether we are using the Sun C compiler" >&5
15714 echo $ECHO_N "checking whether we are using the Sun C compiler... $ECHO_C" >&6; }
15715 if test "${bakefile_cv_c_compiler___SUNPRO_C+set}" = set; then
15716 echo $ECHO_N "(cached) $ECHO_C" >&6
15718 cat >conftest.$ac_ext <<_ACEOF
15721 cat confdefs.h >>conftest.$ac_ext
15722 cat >>conftest.$ac_ext <<_ACEOF
15723 /* end confdefs.h. */
15737 rm -f conftest.$ac_objext
15738 if { (ac_try="$ac_compile"
15739 case "(($ac_try" in
15740 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15741 *) ac_try_echo=$ac_try;;
15743 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15744 (eval "$ac_compile") 2>conftest.er1
15746 grep -v '^
*+' conftest.er1 >conftest.err
15748 cat conftest.err >&5
15749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15750 (exit $ac_status); } && {
15751 test -z "$ac_c_werror_flag" ||
15752 test ! -s conftest.err
15753 } && test -s conftest.$ac_objext; then
15754 bakefile_cv_c_compiler___SUNPRO_C=yes
15756 echo "$as_me: failed program was:" >&5
15757 sed 's
/^
/| /' conftest.$ac_ext >&5
15759 bakefile_cv_c_compiler___SUNPRO_C=no
15763 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15767 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
15768 echo "${ECHO_T}$bakefile_cv_c_compiler___SUNPRO_C" >&6; }
15769 if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
15775 ac_cpp='$CPP $CPPFLAGS'
15776 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
15777 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
15778 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15789 ac_cpp='$CPP $CPPFLAGS'
15790 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
15791 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
15792 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15793 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
15794 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
15795 # On Suns, sometimes $CPP names a directory.
15796 if test -n "$CPP" && test -d "$CPP"; then
15799 if test -z "$CPP"; then
15800 if test "${ac_cv_prog_CPP+set}" = set; then
15801 echo $ECHO_N "(cached) $ECHO_C" >&6
15803 # Double quotes because CPP needs to be expanded
15804 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
15806 ac_preproc_ok=false
15807 for ac_c_preproc_warn_flag in '' yes
15809 # Use a header file that comes with gcc, so configuring glibc
15810 # with a fresh cross-compiler works.
15811 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15812 # <limits.h> exists even on freestanding compilers.
15813 # On the NeXT, cc -E runs the code through the compiler's parser
,
15814 # not just through cpp. "Syntax error" is here to catch this case.
15815 cat >conftest.
$ac_ext <<_ACEOF
15818 cat confdefs.h
>>conftest.
$ac_ext
15819 cat >>conftest.
$ac_ext <<_ACEOF
15820 /* end confdefs.h. */
15822 # include <limits.h>
15824 # include <assert.h>
15828 if { (ac_try
="$ac_cpp conftest.$ac_ext"
15829 case "(($ac_try" in
15830 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
15831 *) ac_try_echo=$ac_try;;
15833 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15834 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
15836 grep -v '^ *+' conftest.er1 >conftest.err
15838 cat conftest.err >&5
15839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15840 (exit $ac_status); } >/dev/null && {
15841 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
15842 test ! -s conftest.err
15846 echo "$as_me: failed program was:" >&5
15847 sed 's/^/| /' conftest.$ac_ext >&5
15849 # Broken: fails on valid input.
15853 rm -f conftest.err conftest.$ac_ext
15855 # OK, works on sane cases. Now check whether nonexistent headers
15856 # can be detected and how.
15857 cat >conftest.$ac_ext <<_ACEOF
15860 cat confdefs.h >>conftest.$ac_ext
15861 cat >>conftest.$ac_ext <<_ACEOF
15862 /* end confdefs.h. */
15863 #include <ac_nonexistent.h>
15865 if { (ac_try="$ac_cpp conftest.$ac_ext"
15866 case "(($ac_try" in
15867 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
15868 *) ac_try_echo
=$ac_try;;
15870 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15871 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
15873 grep -v '^ *+' conftest.er1
>conftest.err
15875 cat conftest.err
>&5
15876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15877 (exit $ac_status); } >/dev
/null
&& {
15878 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
15879 test ! -s conftest.err
15881 # Broken: success on invalid input.
15884 echo "$as_me: failed program was:" >&5
15885 sed 's/^/| /' conftest.
$ac_ext >&5
15887 # Passes both tests.
15892 rm -f conftest.err conftest.
$ac_ext
15895 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
15896 rm -f conftest.err conftest.
$ac_ext
15897 if $ac_preproc_ok; then
15902 ac_cv_prog_CPP
=$CPP
15905 CPP
=$ac_cv_prog_CPP
15907 ac_cv_prog_CPP
=$CPP
15909 { echo "$as_me:$LINENO: result: $CPP" >&5
15910 echo "${ECHO_T}$CPP" >&6; }
15911 ac_preproc_ok
=false
15912 for ac_c_preproc_warn_flag
in '' yes
15914 # Use a header file that comes with gcc, so configuring glibc
15915 # with a fresh cross-compiler works.
15916 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15917 # <limits.h> exists even on freestanding compilers.
15918 # On the NeXT, cc -E runs the code through the compiler's parser,
15919 # not just through cpp. "Syntax error" is here to catch this case.
15920 cat >conftest.
$ac_ext <<_ACEOF
15923 cat confdefs.h
>>conftest.
$ac_ext
15924 cat >>conftest.
$ac_ext <<_ACEOF
15925 /* end confdefs.h. */
15927 # include <limits.h>
15929 # include <assert.h>
15933 if { (ac_try
="$ac_cpp conftest.$ac_ext"
15934 case "(($ac_try" in
15935 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
15936 *) ac_try_echo=$ac_try;;
15938 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15939 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
15941 grep -v '^ *+' conftest.er1 >conftest.err
15943 cat conftest.err >&5
15944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15945 (exit $ac_status); } >/dev/null && {
15946 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
15947 test ! -s conftest.err
15951 echo "$as_me: failed program was:" >&5
15952 sed 's/^/| /' conftest.$ac_ext >&5
15954 # Broken: fails on valid input.
15958 rm -f conftest.err conftest.$ac_ext
15960 # OK, works on sane cases. Now check whether nonexistent headers
15961 # can be detected and how.
15962 cat >conftest.$ac_ext <<_ACEOF
15965 cat confdefs.h >>conftest.$ac_ext
15966 cat >>conftest.$ac_ext <<_ACEOF
15967 /* end confdefs.h. */
15968 #include <ac_nonexistent.h>
15970 if { (ac_try="$ac_cpp conftest.$ac_ext"
15971 case "(($ac_try" in
15972 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
15973 *) ac_try_echo
=$ac_try;;
15975 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15976 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
15978 grep -v '^ *+' conftest.er1
>conftest.err
15980 cat conftest.err
>&5
15981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15982 (exit $ac_status); } >/dev
/null
&& {
15983 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
15984 test ! -s conftest.err
15986 # Broken: success on invalid input.
15989 echo "$as_me: failed program was:" >&5
15990 sed 's/^/| /' conftest.
$ac_ext >&5
15992 # Passes both tests.
15997 rm -f conftest.err conftest.
$ac_ext
16000 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
16001 rm -f conftest.err conftest.
$ac_ext
16002 if $ac_preproc_ok; then
16005 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
16006 See \`config.log' for more details." >&5
16007 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
16008 See \`config.log' for more details." >&2;}
16009 { (exit 1); exit 1; }; }
16013 ac_cpp
='$CPP $CPPFLAGS'
16014 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16015 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16016 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
16019 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
16020 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
16021 if test "${ac_cv_path_GREP+set}" = set; then
16022 echo $ECHO_N "(cached) $ECHO_C" >&6
16024 # Extract the first word of "grep ggrep" to use in msg output
16025 if test -z "$GREP"; then
16026 set dummy
grep ggrep
; ac_prog_name
=$2
16027 if test "${ac_cv_path_GREP+set}" = set; then
16028 echo $ECHO_N "(cached) $ECHO_C" >&6
16030 ac_path_GREP_found
=false
16031 # Loop through the user's path and test for each of PROGNAME-LIST
16032 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16033 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
16036 test -z "$as_dir" && as_dir
=.
16037 for ac_prog
in grep ggrep
; do
16038 for ac_exec_ext
in '' $ac_executable_extensions; do
16039 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
16040 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
16041 # Check for GNU ac_path_GREP and select it if it is found.
16042 # Check for GNU $ac_path_GREP
16043 case `"$ac_path_GREP" --version 2>&1` in
16045 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
16048 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
16051 cat "conftest.in" "conftest.in" >"conftest.tmp"
16052 mv "conftest.tmp" "conftest.in"
16053 cp "conftest.in" "conftest.nl"
16054 echo 'GREP' >> "conftest.nl"
16055 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null
|| break
16056 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 || break
16057 ac_count
=`expr $ac_count + 1`
16058 if test $ac_count -gt ${ac_path_GREP_max-0}; then
16059 # Best one so far, save it but keep looking for a better one
16060 ac_cv_path_GREP
="$ac_path_GREP"
16061 ac_path_GREP_max
=$ac_count
16063 # 10*(2^10) chars as input seems more than enough
16064 test $ac_count -gt 10 && break
16066 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
16070 $ac_path_GREP_found && break 3
16080 GREP
="$ac_cv_path_GREP"
16081 if test -z "$GREP"; then
16082 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
16083 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
16084 { (exit 1); exit 1; }; }
16088 ac_cv_path_GREP
=$GREP
16093 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
16094 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
16095 GREP
="$ac_cv_path_GREP"
16098 { echo "$as_me:$LINENO: checking for egrep" >&5
16099 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
16100 if test "${ac_cv_path_EGREP+set}" = set; then
16101 echo $ECHO_N "(cached) $ECHO_C" >&6
16103 if echo a
| $GREP -E '(a|b)' >/dev
/null
2>&1
16104 then ac_cv_path_EGREP
="$GREP -E"
16106 # Extract the first word of "egrep" to use in msg output
16107 if test -z "$EGREP"; then
16108 set dummy
egrep; ac_prog_name
=$2
16109 if test "${ac_cv_path_EGREP+set}" = set; then
16110 echo $ECHO_N "(cached) $ECHO_C" >&6
16112 ac_path_EGREP_found
=false
16113 # Loop through the user's path and test for each of PROGNAME-LIST
16114 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16115 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
16118 test -z "$as_dir" && as_dir
=.
16119 for ac_prog
in egrep; do
16120 for ac_exec_ext
in '' $ac_executable_extensions; do
16121 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
16122 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
16123 # Check for GNU ac_path_EGREP and select it if it is found.
16124 # Check for GNU $ac_path_EGREP
16125 case `"$ac_path_EGREP" --version 2>&1` in
16127 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
16130 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
16133 cat "conftest.in" "conftest.in" >"conftest.tmp"
16134 mv "conftest.tmp" "conftest.in"
16135 cp "conftest.in" "conftest.nl"
16136 echo 'EGREP' >> "conftest.nl"
16137 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null
|| break
16138 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 || break
16139 ac_count
=`expr $ac_count + 1`
16140 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
16141 # Best one so far, save it but keep looking for a better one
16142 ac_cv_path_EGREP
="$ac_path_EGREP"
16143 ac_path_EGREP_max
=$ac_count
16145 # 10*(2^10) chars as input seems more than enough
16146 test $ac_count -gt 10 && break
16148 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
16152 $ac_path_EGREP_found && break 3
16162 EGREP
="$ac_cv_path_EGREP"
16163 if test -z "$EGREP"; then
16164 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
16165 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
16166 { (exit 1); exit 1; }; }
16170 ac_cv_path_EGREP
=$EGREP
16176 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
16177 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
16178 EGREP
="$ac_cv_path_EGREP"
16181 if test $ac_cv_c_compiler_gnu = yes; then
16182 { echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
16183 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6; }
16184 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
16185 echo $ECHO_N "(cached) $ECHO_C" >&6
16187 ac_pattern
="Autoconf.*'x'"
16188 cat >conftest.
$ac_ext <<_ACEOF
16191 cat confdefs.h
>>conftest.
$ac_ext
16192 cat >>conftest.
$ac_ext <<_ACEOF
16193 /* end confdefs.h. */
16197 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16198 $EGREP "$ac_pattern" >/dev
/null
2>&1; then
16199 ac_cv_prog_gcc_traditional
=yes
16201 ac_cv_prog_gcc_traditional
=no
16206 if test $ac_cv_prog_gcc_traditional = no
; then
16207 cat >conftest.
$ac_ext <<_ACEOF
16210 cat confdefs.h
>>conftest.
$ac_ext
16211 cat >>conftest.
$ac_ext <<_ACEOF
16212 /* end confdefs.h. */
16213 #include <termio.h>
16216 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16217 $EGREP "$ac_pattern" >/dev
/null
2>&1; then
16218 ac_cv_prog_gcc_traditional
=yes
16224 { echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
16225 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6; }
16226 if test $ac_cv_prog_gcc_traditional = yes; then
16227 CC
="$CC -traditional"
16232 CXXFLAGS
=${CXXFLAGS:=}
16237 ac_cpp
='$CXXCPP $CPPFLAGS'
16238 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16239 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16240 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
16241 if test -z "$CXX"; then
16242 if test -n "$CCC"; then
16245 if test -n "$ac_tool_prefix"; then
16246 for ac_prog
in g
++ c
++ gpp aCC CC cxx cc
++ cl.exe FCC KCC RCC xlC_r xlC
16248 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
16249 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
16250 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16251 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16252 if test "${ac_cv_prog_CXX+set}" = set; then
16253 echo $ECHO_N "(cached) $ECHO_C" >&6
16255 if test -n "$CXX"; then
16256 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
16258 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16259 for as_dir
in $PATH
16262 test -z "$as_dir" && as_dir
=.
16263 for ac_exec_ext
in '' $ac_executable_extensions; do
16264 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16265 ac_cv_prog_CXX
="$ac_tool_prefix$ac_prog"
16266 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16275 CXX
=$ac_cv_prog_CXX
16276 if test -n "$CXX"; then
16277 { echo "$as_me:$LINENO: result: $CXX" >&5
16278 echo "${ECHO_T}$CXX" >&6; }
16280 { echo "$as_me:$LINENO: result: no" >&5
16281 echo "${ECHO_T}no" >&6; }
16285 test -n "$CXX" && break
16288 if test -z "$CXX"; then
16290 for ac_prog
in g
++ c
++ gpp aCC CC cxx cc
++ cl.exe FCC KCC RCC xlC_r xlC
16292 # Extract the first word of "$ac_prog", so it can be a program name with args.
16293 set dummy
$ac_prog; ac_word
=$2
16294 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16295 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16296 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
16297 echo $ECHO_N "(cached) $ECHO_C" >&6
16299 if test -n "$ac_ct_CXX"; then
16300 ac_cv_prog_ac_ct_CXX
="$ac_ct_CXX" # Let the user override the test.
16302 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16303 for as_dir
in $PATH
16306 test -z "$as_dir" && as_dir
=.
16307 for ac_exec_ext
in '' $ac_executable_extensions; do
16308 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16309 ac_cv_prog_ac_ct_CXX
="$ac_prog"
16310 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16319 ac_ct_CXX
=$ac_cv_prog_ac_ct_CXX
16320 if test -n "$ac_ct_CXX"; then
16321 { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
16322 echo "${ECHO_T}$ac_ct_CXX" >&6; }
16324 { echo "$as_me:$LINENO: result: no" >&5
16325 echo "${ECHO_T}no" >&6; }
16329 test -n "$ac_ct_CXX" && break
16332 if test "x$ac_ct_CXX" = x
; then
16335 case $cross_compiling:$ac_tool_warned in
16337 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
16338 whose name does not start with the host triplet. If you think this
16339 configuration is useful to you, please write to autoconf@gnu.org." >&5
16340 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
16341 whose name does not start with the host triplet. If you think this
16342 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
16343 ac_tool_warned
=yes ;;
16351 # Provide some information about the compiler.
16352 echo "$as_me:$LINENO: checking for C++ compiler version" >&5
16353 ac_compiler
=`set X $ac_compile; echo $2`
16354 { (ac_try
="$ac_compiler --version >&5"
16355 case "(($ac_try" in
16356 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
16357 *) ac_try_echo=$ac_try;;
16359 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16360 (eval "$ac_compiler --version >&5") 2>&5
16362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16363 (exit $ac_status); }
16364 { (ac_try="$ac_compiler -v >&5"
16365 case "(($ac_try" in
16366 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
16367 *) ac_try_echo
=$ac_try;;
16369 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16370 (eval "$ac_compiler -v >&5") 2>&5
16372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16373 (exit $ac_status); }
16374 { (ac_try
="$ac_compiler -V >&5"
16375 case "(($ac_try" in
16376 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
16377 *) ac_try_echo=$ac_try;;
16379 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16380 (eval "$ac_compiler -V >&5") 2>&5
16382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16383 (exit $ac_status); }
16385 { echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
16386 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
16387 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
16388 echo $ECHO_N "(cached) $ECHO_C" >&6
16390 cat >conftest.$ac_ext <<_ACEOF
16393 cat confdefs.h >>conftest.$ac_ext
16394 cat >>conftest.$ac_ext <<_ACEOF
16395 /* end confdefs.h. */
16408 rm -f conftest.$ac_objext
16409 if { (ac_try="$ac_compile"
16410 case "(($ac_try" in
16411 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
16412 *) ac_try_echo
=$ac_try;;
16414 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16415 (eval "$ac_compile") 2>conftest.er1
16417 grep -v '^ *+' conftest.er1
>conftest.err
16419 cat conftest.err
>&5
16420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16421 (exit $ac_status); } && {
16422 test -z "$ac_cxx_werror_flag" ||
16423 test ! -s conftest.err
16424 } && test -s conftest.
$ac_objext; then
16425 ac_compiler_gnu
=yes
16427 echo "$as_me: failed program was:" >&5
16428 sed 's/^/| /' conftest.
$ac_ext >&5
16433 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16434 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
16437 { echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
16438 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
16439 GXX
=`test $ac_compiler_gnu = yes && echo yes`
16440 ac_test_CXXFLAGS
=${CXXFLAGS+set}
16441 ac_save_CXXFLAGS
=$CXXFLAGS
16442 { echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
16443 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
16444 if test "${ac_cv_prog_cxx_g+set}" = set; then
16445 echo $ECHO_N "(cached) $ECHO_C" >&6
16447 ac_save_cxx_werror_flag
=$ac_cxx_werror_flag
16448 ac_cxx_werror_flag
=yes
16449 ac_cv_prog_cxx_g
=no
16451 cat >conftest.
$ac_ext <<_ACEOF
16454 cat confdefs.h
>>conftest.
$ac_ext
16455 cat >>conftest.
$ac_ext <<_ACEOF
16456 /* end confdefs.h. */
16466 rm -f conftest.
$ac_objext
16467 if { (ac_try
="$ac_compile"
16468 case "(($ac_try" in
16469 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
16470 *) ac_try_echo=$ac_try;;
16472 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16473 (eval "$ac_compile") 2>conftest.er1
16475 grep -v '^ *+' conftest.er1 >conftest.err
16477 cat conftest.err >&5
16478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16479 (exit $ac_status); } && {
16480 test -z "$ac_cxx_werror_flag" ||
16481 test ! -s conftest.err
16482 } && test -s conftest.$ac_objext; then
16483 ac_cv_prog_cxx_g=yes
16485 echo "$as_me: failed program was:" >&5
16486 sed 's/^/| /' conftest.$ac_ext >&5
16489 cat >conftest.$ac_ext <<_ACEOF
16492 cat confdefs.h >>conftest.$ac_ext
16493 cat >>conftest.$ac_ext <<_ACEOF
16494 /* end confdefs.h. */
16504 rm -f conftest.$ac_objext
16505 if { (ac_try="$ac_compile"
16506 case "(($ac_try" in
16507 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
16508 *) ac_try_echo
=$ac_try;;
16510 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16511 (eval "$ac_compile") 2>conftest.er1
16513 grep -v '^ *+' conftest.er1
>conftest.err
16515 cat conftest.err
>&5
16516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16517 (exit $ac_status); } && {
16518 test -z "$ac_cxx_werror_flag" ||
16519 test ! -s conftest.err
16520 } && test -s conftest.
$ac_objext; then
16523 echo "$as_me: failed program was:" >&5
16524 sed 's/^/| /' conftest.
$ac_ext >&5
16526 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
16528 cat >conftest.
$ac_ext <<_ACEOF
16531 cat confdefs.h
>>conftest.
$ac_ext
16532 cat >>conftest.
$ac_ext <<_ACEOF
16533 /* end confdefs.h. */
16543 rm -f conftest.
$ac_objext
16544 if { (ac_try
="$ac_compile"
16545 case "(($ac_try" in
16546 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
16547 *) ac_try_echo=$ac_try;;
16549 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16550 (eval "$ac_compile") 2>conftest.er1
16552 grep -v '^ *+' conftest.er1 >conftest.err
16554 cat conftest.err >&5
16555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16556 (exit $ac_status); } && {
16557 test -z "$ac_cxx_werror_flag" ||
16558 test ! -s conftest.err
16559 } && test -s conftest.$ac_objext; then
16560 ac_cv_prog_cxx_g=yes
16562 echo "$as_me: failed program was:" >&5
16563 sed 's/^/| /' conftest.$ac_ext >&5
16568 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16571 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16574 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16575 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
16577 { echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
16578 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
16579 if test "$ac_test_CXXFLAGS" = set; then
16580 CXXFLAGS=$ac_save_CXXFLAGS
16581 elif test $ac_cv_prog_cxx_g = yes; then
16582 if test "$GXX" = yes; then
16588 if test "$GXX" = yes; then
16595 ac_cpp='$CPP $CPPFLAGS'
16596 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16597 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16598 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16604 ac_cpp='$CXXCPP $CPPFLAGS'
16605 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16606 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16607 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16609 { echo "$as_me:$LINENO: checking whether we are using the Intel C++ compiler" >&5
16610 echo $ECHO_N "checking whether we are using the Intel C++ compiler... $ECHO_C" >&6; }
16611 if test "${bakefile_cv_cxx_compiler___INTEL_COMPILER+set}" = set; then
16612 echo $ECHO_N "(cached) $ECHO_C" >&6
16614 cat >conftest.$ac_ext <<_ACEOF
16617 cat confdefs.h >>conftest.$ac_ext
16618 cat >>conftest.$ac_ext <<_ACEOF
16619 /* end confdefs.h. */
16625 #ifndef __INTEL_COMPILER
16633 rm -f conftest.$ac_objext
16634 if { (ac_try="$ac_compile"
16635 case "(($ac_try" in
16636 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
16637 *) ac_try_echo
=$ac_try;;
16639 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16640 (eval "$ac_compile") 2>conftest.er1
16642 grep -v '^ *+' conftest.er1
>conftest.err
16644 cat conftest.err
>&5
16645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16646 (exit $ac_status); } && {
16647 test -z "$ac_cxx_werror_flag" ||
16648 test ! -s conftest.err
16649 } && test -s conftest.
$ac_objext; then
16650 bakefile_cv_cxx_compiler___INTEL_COMPILER
=yes
16652 echo "$as_me: failed program was:" >&5
16653 sed 's/^/| /' conftest.
$ac_ext >&5
16655 bakefile_cv_cxx_compiler___INTEL_COMPILER
=no
16659 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16663 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER" >&5
16664 echo "${ECHO_T}$bakefile_cv_cxx_compiler___INTEL_COMPILER" >&6; }
16665 if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER" = "xyes"; then
16671 ac_cpp
='$CPP $CPPFLAGS'
16672 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16673 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16674 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
16679 if test "x$GCXX" != "xyes"; then
16680 if test "xCXX" = "xC"; then
16681 { echo "$as_me:$LINENO: checking if the C compiler requires -ext o" >&5
16682 echo $ECHO_N "checking if the C compiler requires -ext o... $ECHO_C" >&6; }
16683 if test "${bakefile_cv_c_exto+set}" = set; then
16684 echo $ECHO_N "(cached) $ECHO_C" >&6
16686 cat >conftest.
$ac_ext <<_ACEOF
16689 cat confdefs.h
>>conftest.
$ac_ext
16690 cat >>conftest.
$ac_ext <<_ACEOF
16691 /* end confdefs.h. */
16701 rm -f conftest.
$ac_objext conftest.
$ac_ext.o
16702 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16703 (eval $ac_compile) 2>&5
16705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16706 (exit $ac_status); }; then
16707 for ac_file
in `(ls conftest.* 2>/dev/null)`; do
16709 conftest.
$ac_ext.o
)
16710 bakefile_cv_c_exto
="-ext o"
16717 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
16718 See \`config.log' for more details." >&5
16719 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
16720 See \`config.log' for more details." >&2;}
16721 { (exit 1); exit 1; }; }
16725 rm -f conftest.
$ac_ext.o conftest.
$ac_objext conftest.
$ac_ext
16728 { echo "$as_me:$LINENO: result: $bakefile_cv_c_exto" >&5
16729 echo "${ECHO_T}$bakefile_cv_c_exto" >&6; }
16730 if test "x$bakefile_cv_c_exto" '!=' "x"; then
16731 if test "c" = "c"; then
16732 CFLAGS
="$bakefile_cv_c_exto $CFLAGS"
16734 if test "c" = "cxx"; then
16735 CXXFLAGS
="$bakefile_cv_c_exto $CXXFLAGS"
16739 if test "x$bakefile_cv_c_exto" '!=' "x"; then
16740 unset ac_cv_prog_cc_g
16741 ac_test_CFLAGS
=${CFLAGS+set}
16742 ac_save_CFLAGS
=$CFLAGS
16743 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
16744 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
16745 if test "${ac_cv_prog_cc_g+set}" = set; then
16746 echo $ECHO_N "(cached) $ECHO_C" >&6
16748 ac_save_c_werror_flag
=$ac_c_werror_flag
16749 ac_c_werror_flag
=yes
16752 cat >conftest.
$ac_ext <<_ACEOF
16755 cat confdefs.h
>>conftest.
$ac_ext
16756 cat >>conftest.
$ac_ext <<_ACEOF
16757 /* end confdefs.h. */
16767 rm -f conftest.
$ac_objext
16768 if { (ac_try
="$ac_compile"
16769 case "(($ac_try" in
16770 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
16771 *) ac_try_echo=$ac_try;;
16773 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16774 (eval "$ac_compile") 2>conftest.er1
16776 grep -v '^ *+' conftest.er1 >conftest.err
16778 cat conftest.err >&5
16779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16780 (exit $ac_status); } && {
16781 test -z "$ac_c_werror_flag" ||
16782 test ! -s conftest.err
16783 } && test -s conftest.$ac_objext; then
16784 ac_cv_prog_cc_g=yes
16786 echo "$as_me: failed program was:" >&5
16787 sed 's/^/| /' conftest.$ac_ext >&5
16790 cat >conftest.$ac_ext <<_ACEOF
16793 cat confdefs.h >>conftest.$ac_ext
16794 cat >>conftest.$ac_ext <<_ACEOF
16795 /* end confdefs.h. */
16805 rm -f conftest.$ac_objext
16806 if { (ac_try="$ac_compile"
16807 case "(($ac_try" in
16808 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
16809 *) ac_try_echo
=$ac_try;;
16811 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16812 (eval "$ac_compile") 2>conftest.er1
16814 grep -v '^ *+' conftest.er1
>conftest.err
16816 cat conftest.err
>&5
16817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16818 (exit $ac_status); } && {
16819 test -z "$ac_c_werror_flag" ||
16820 test ! -s conftest.err
16821 } && test -s conftest.
$ac_objext; then
16824 echo "$as_me: failed program was:" >&5
16825 sed 's/^/| /' conftest.
$ac_ext >&5
16827 ac_c_werror_flag
=$ac_save_c_werror_flag
16829 cat >conftest.
$ac_ext <<_ACEOF
16832 cat confdefs.h
>>conftest.
$ac_ext
16833 cat >>conftest.
$ac_ext <<_ACEOF
16834 /* end confdefs.h. */
16844 rm -f conftest.
$ac_objext
16845 if { (ac_try
="$ac_compile"
16846 case "(($ac_try" in
16847 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
16848 *) ac_try_echo=$ac_try;;
16850 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16851 (eval "$ac_compile") 2>conftest.er1
16853 grep -v '^ *+' conftest.er1 >conftest.err
16855 cat conftest.err >&5
16856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16857 (exit $ac_status); } && {
16858 test -z "$ac_c_werror_flag" ||
16859 test ! -s conftest.err
16860 } && test -s conftest.$ac_objext; then
16861 ac_cv_prog_cc_g=yes
16863 echo "$as_me: failed program was:" >&5
16864 sed 's/^/| /' conftest.$ac_ext >&5
16869 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16872 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16875 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16876 ac_c_werror_flag=$ac_save_c_werror_flag
16878 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
16879 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
16880 if test "$ac_test_CFLAGS" = set; then
16881 CFLAGS=$ac_save_CFLAGS
16882 elif test $ac_cv_prog_cc_g = yes; then
16883 if test "$GCC" = yes; then
16889 if test "$GCC" = yes; then
16903 ac_cpp='$CXXCPP $CPPFLAGS'
16904 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16905 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16906 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16908 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
16909 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6; }
16910 if test "${bakefile_cv_cxx_compiler___xlC__+set}" = set; then
16911 echo $ECHO_N "(cached) $ECHO_C" >&6
16913 cat >conftest.$ac_ext <<_ACEOF
16916 cat confdefs.h >>conftest.$ac_ext
16917 cat >>conftest.$ac_ext <<_ACEOF
16918 /* end confdefs.h. */
16932 rm -f conftest.$ac_objext
16933 if { (ac_try="$ac_compile"
16934 case "(($ac_try" in
16935 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
16936 *) ac_try_echo
=$ac_try;;
16938 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16939 (eval "$ac_compile") 2>conftest.er1
16941 grep -v '^ *+' conftest.er1
>conftest.err
16943 cat conftest.err
>&5
16944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16945 (exit $ac_status); } && {
16946 test -z "$ac_cxx_werror_flag" ||
16947 test ! -s conftest.err
16948 } && test -s conftest.
$ac_objext; then
16949 bakefile_cv_cxx_compiler___xlC__
=yes
16951 echo "$as_me: failed program was:" >&5
16952 sed 's/^/| /' conftest.
$ac_ext >&5
16954 bakefile_cv_cxx_compiler___xlC__
=no
16958 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16962 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___xlC__" >&5
16963 echo "${ECHO_T}$bakefile_cv_cxx_compiler___xlC__" >&6; }
16964 if test "x$bakefile_cv_cxx_compiler___xlC__" = "xyes"; then
16970 ac_cpp
='$CPP $CPPFLAGS'
16971 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16972 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16973 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
16983 ac_cpp
='$CXXCPP $CPPFLAGS'
16984 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16985 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16986 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
16988 { echo "$as_me:$LINENO: checking whether we are using the Metrowerks C++ compiler" >&5
16989 echo $ECHO_N "checking whether we are using the Metrowerks C++ compiler... $ECHO_C" >&6; }
16990 if test "${bakefile_cv_cxx_compiler___MWERKS__+set}" = set; then
16991 echo $ECHO_N "(cached) $ECHO_C" >&6
16993 cat >conftest.
$ac_ext <<_ACEOF
16996 cat confdefs.h
>>conftest.
$ac_ext
16997 cat >>conftest.
$ac_ext <<_ACEOF
16998 /* end confdefs.h. */
17012 rm -f conftest.
$ac_objext
17013 if { (ac_try
="$ac_compile"
17014 case "(($ac_try" in
17015 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
17016 *) ac_try_echo=$ac_try;;
17018 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17019 (eval "$ac_compile") 2>conftest.er1
17021 grep -v '^ *+' conftest.er1 >conftest.err
17023 cat conftest.err >&5
17024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17025 (exit $ac_status); } && {
17026 test -z "$ac_cxx_werror_flag" ||
17027 test ! -s conftest.err
17028 } && test -s conftest.$ac_objext; then
17029 bakefile_cv_cxx_compiler___MWERKS__=yes
17031 echo "$as_me: failed program was:" >&5
17032 sed 's/^/| /' conftest.$ac_ext >&5
17034 bakefile_cv_cxx_compiler___MWERKS__=no
17038 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17042 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___MWERKS__" >&5
17043 echo "${ECHO_T}$bakefile_cv_cxx_compiler___MWERKS__" >&6; }
17044 if test "x$bakefile_cv_cxx_compiler___MWERKS__" = "xyes"; then
17050 ac_cpp='$CPP $CPPFLAGS'
17051 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17052 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17053 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17060 ac_cpp='$CXXCPP $CPPFLAGS'
17061 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17062 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17063 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17065 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
17066 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6; }
17067 if test "${bakefile_cv_cxx_compiler___xlC__+set}" = set; then
17068 echo $ECHO_N "(cached) $ECHO_C" >&6
17070 cat >conftest.$ac_ext <<_ACEOF
17073 cat confdefs.h >>conftest.$ac_ext
17074 cat >>conftest.$ac_ext <<_ACEOF
17075 /* end confdefs.h. */
17089 rm -f conftest.$ac_objext
17090 if { (ac_try="$ac_compile"
17091 case "(($ac_try" in
17092 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
17093 *) ac_try_echo
=$ac_try;;
17095 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17096 (eval "$ac_compile") 2>conftest.er1
17098 grep -v '^ *+' conftest.er1
>conftest.err
17100 cat conftest.err
>&5
17101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17102 (exit $ac_status); } && {
17103 test -z "$ac_cxx_werror_flag" ||
17104 test ! -s conftest.err
17105 } && test -s conftest.
$ac_objext; then
17106 bakefile_cv_cxx_compiler___xlC__
=yes
17108 echo "$as_me: failed program was:" >&5
17109 sed 's/^/| /' conftest.
$ac_ext >&5
17111 bakefile_cv_cxx_compiler___xlC__
=no
17115 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17119 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___xlC__" >&5
17120 echo "${ECHO_T}$bakefile_cv_cxx_compiler___xlC__" >&6; }
17121 if test "x$bakefile_cv_cxx_compiler___xlC__" = "xyes"; then
17127 ac_cpp
='$CPP $CPPFLAGS'
17128 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17129 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17130 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
17140 ac_cpp
='$CXXCPP $CPPFLAGS'
17141 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17142 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17143 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
17145 { echo "$as_me:$LINENO: checking whether we are using the SGI C++ compiler" >&5
17146 echo $ECHO_N "checking whether we are using the SGI C++ compiler... $ECHO_C" >&6; }
17147 if test "${bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION+set}" = set; then
17148 echo $ECHO_N "(cached) $ECHO_C" >&6
17150 cat >conftest.
$ac_ext <<_ACEOF
17153 cat confdefs.h
>>conftest.
$ac_ext
17154 cat >>conftest.
$ac_ext <<_ACEOF
17155 /* end confdefs.h. */
17161 #ifndef _SGI_COMPILER_VERSION
17169 rm -f conftest.
$ac_objext
17170 if { (ac_try
="$ac_compile"
17171 case "(($ac_try" in
17172 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
17173 *) ac_try_echo=$ac_try;;
17175 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17176 (eval "$ac_compile") 2>conftest.er1
17178 grep -v '^ *+' conftest.er1 >conftest.err
17180 cat conftest.err >&5
17181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17182 (exit $ac_status); } && {
17183 test -z "$ac_cxx_werror_flag" ||
17184 test ! -s conftest.err
17185 } && test -s conftest.$ac_objext; then
17186 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=yes
17188 echo "$as_me: failed program was:" >&5
17189 sed 's/^/| /' conftest.$ac_ext >&5
17191 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=no
17195 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17199 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&5
17200 echo "${ECHO_T}$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&6; }
17201 if test "x$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" = "xyes"; then
17207 ac_cpp='$CPP $CPPFLAGS'
17208 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17209 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17210 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17220 ac_cpp='$CXXCPP $CPPFLAGS'
17221 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17222 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17223 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17225 { echo "$as_me:$LINENO: checking whether we are using the Sun C++ compiler" >&5
17226 echo $ECHO_N "checking whether we are using the Sun C++ compiler... $ECHO_C" >&6; }
17227 if test "${bakefile_cv_cxx_compiler___SUNPRO_CC+set}" = set; then
17228 echo $ECHO_N "(cached) $ECHO_C" >&6
17230 cat >conftest.$ac_ext <<_ACEOF
17233 cat confdefs.h >>conftest.$ac_ext
17234 cat >>conftest.$ac_ext <<_ACEOF
17235 /* end confdefs.h. */
17241 #ifndef __SUNPRO_CC
17249 rm -f conftest.$ac_objext
17250 if { (ac_try="$ac_compile"
17251 case "(($ac_try" in
17252 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
17253 *) ac_try_echo
=$ac_try;;
17255 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17256 (eval "$ac_compile") 2>conftest.er1
17258 grep -v '^ *+' conftest.er1
>conftest.err
17260 cat conftest.err
>&5
17261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17262 (exit $ac_status); } && {
17263 test -z "$ac_cxx_werror_flag" ||
17264 test ! -s conftest.err
17265 } && test -s conftest.
$ac_objext; then
17266 bakefile_cv_cxx_compiler___SUNPRO_CC
=yes
17268 echo "$as_me: failed program was:" >&5
17269 sed 's/^/| /' conftest.
$ac_ext >&5
17271 bakefile_cv_cxx_compiler___SUNPRO_CC
=no
17275 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17279 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
17280 echo "${ECHO_T}$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6; }
17281 if test "x$bakefile_cv_cxx_compiler___SUNPRO_CC" = "xyes"; then
17287 ac_cpp
='$CPP $CPPFLAGS'
17288 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17289 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17290 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
17300 ac_cpp
='$CXXCPP $CPPFLAGS'
17301 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17302 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17303 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
17305 { echo "$as_me:$LINENO: checking whether we are using the HP C++ compiler" >&5
17306 echo $ECHO_N "checking whether we are using the HP C++ compiler... $ECHO_C" >&6; }
17307 if test "${bakefile_cv_cxx_compiler___HP_aCC+set}" = set; then
17308 echo $ECHO_N "(cached) $ECHO_C" >&6
17310 cat >conftest.
$ac_ext <<_ACEOF
17313 cat confdefs.h
>>conftest.
$ac_ext
17314 cat >>conftest.
$ac_ext <<_ACEOF
17315 /* end confdefs.h. */
17329 rm -f conftest.
$ac_objext
17330 if { (ac_try
="$ac_compile"
17331 case "(($ac_try" in
17332 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
17333 *) ac_try_echo=$ac_try;;
17335 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17336 (eval "$ac_compile") 2>conftest.er1
17338 grep -v '^ *+' conftest.er1 >conftest.err
17340 cat conftest.err >&5
17341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17342 (exit $ac_status); } && {
17343 test -z "$ac_cxx_werror_flag" ||
17344 test ! -s conftest.err
17345 } && test -s conftest.$ac_objext; then
17346 bakefile_cv_cxx_compiler___HP_aCC=yes
17348 echo "$as_me: failed program was:" >&5
17349 sed 's/^/| /' conftest.$ac_ext >&5
17351 bakefile_cv_cxx_compiler___HP_aCC=no
17355 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17359 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___HP_aCC" >&5
17360 echo "${ECHO_T}$bakefile_cv_cxx_compiler___HP_aCC" >&6; }
17361 if test "x$bakefile_cv_cxx_compiler___HP_aCC" = "xyes"; then
17367 ac_cpp='$CPP $CPPFLAGS'
17368 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17369 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17370 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17380 ac_cpp='$CXXCPP $CPPFLAGS'
17381 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17382 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17383 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17385 { echo "$as_me:$LINENO: checking whether we are using the Compaq C++ compiler" >&5
17386 echo $ECHO_N "checking whether we are using the Compaq C++ compiler... $ECHO_C" >&6; }
17387 if test "${bakefile_cv_cxx_compiler___DECCXX+set}" = set; then
17388 echo $ECHO_N "(cached) $ECHO_C" >&6
17390 cat >conftest.$ac_ext <<_ACEOF
17393 cat confdefs.h >>conftest.$ac_ext
17394 cat >>conftest.$ac_ext <<_ACEOF
17395 /* end confdefs.h. */
17409 rm -f conftest.$ac_objext
17410 if { (ac_try="$ac_compile"
17411 case "(($ac_try" in
17412 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
17413 *) ac_try_echo
=$ac_try;;
17415 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17416 (eval "$ac_compile") 2>conftest.er1
17418 grep -v '^ *+' conftest.er1
>conftest.err
17420 cat conftest.err
>&5
17421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17422 (exit $ac_status); } && {
17423 test -z "$ac_cxx_werror_flag" ||
17424 test ! -s conftest.err
17425 } && test -s conftest.
$ac_objext; then
17426 bakefile_cv_cxx_compiler___DECCXX
=yes
17428 echo "$as_me: failed program was:" >&5
17429 sed 's/^/| /' conftest.
$ac_ext >&5
17431 bakefile_cv_cxx_compiler___DECCXX
=no
17435 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17439 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___DECCXX" >&5
17440 echo "${ECHO_T}$bakefile_cv_cxx_compiler___DECCXX" >&6; }
17441 if test "x$bakefile_cv_cxx_compiler___DECCXX" = "xyes"; then
17447 ac_cpp
='$CPP $CPPFLAGS'
17448 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17449 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17450 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
17460 ac_cpp
='$CXXCPP $CPPFLAGS'
17461 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17462 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17463 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
17465 { echo "$as_me:$LINENO: checking whether we are using the Sun C++ compiler" >&5
17466 echo $ECHO_N "checking whether we are using the Sun C++ compiler... $ECHO_C" >&6; }
17467 if test "${bakefile_cv_cxx_compiler___SUNPRO_CC+set}" = set; then
17468 echo $ECHO_N "(cached) $ECHO_C" >&6
17470 cat >conftest.
$ac_ext <<_ACEOF
17473 cat confdefs.h
>>conftest.
$ac_ext
17474 cat >>conftest.
$ac_ext <<_ACEOF
17475 /* end confdefs.h. */
17481 #ifndef __SUNPRO_CC
17489 rm -f conftest.
$ac_objext
17490 if { (ac_try
="$ac_compile"
17491 case "(($ac_try" in
17492 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
17493 *) ac_try_echo=$ac_try;;
17495 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17496 (eval "$ac_compile") 2>conftest.er1
17498 grep -v '^ *+' conftest.er1 >conftest.err
17500 cat conftest.err >&5
17501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17502 (exit $ac_status); } && {
17503 test -z "$ac_cxx_werror_flag" ||
17504 test ! -s conftest.err
17505 } && test -s conftest.$ac_objext; then
17506 bakefile_cv_cxx_compiler___SUNPRO_CC=yes
17508 echo "$as_me: failed program was:" >&5
17509 sed 's/^/| /' conftest.$ac_ext >&5
17511 bakefile_cv_cxx_compiler___SUNPRO_CC=no
17515 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17519 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
17520 echo "${ECHO_T}$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6; }
17521 if test "x$bakefile_cv_cxx_compiler___SUNPRO_CC" = "xyes"; then
17527 ac_cpp='$CPP $CPPFLAGS'
17528 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17529 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17530 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17540 if test "$CXX" = "g++" -a "$GXX" != "yes"; then
17541 { { echo "$as_me:$LINENO: error: C++ compiler is needed to build wxWidgets" >&5
17542 echo "$as_me: error: C++ compiler is needed to build wxWidgets" >&2;}
17543 { (exit 1); exit 1; }; }
17546 if test "x$SUNCXX" != xyes; then
17547 if test -n "$ac_tool_prefix"; then
17548 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
17549 set dummy ${ac_tool_prefix}ar; ac_word=$2
17550 { echo "$as_me:$LINENO: checking for $ac_word" >&5
17551 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
17552 if test "${ac_cv_prog_AR+set}" = set; then
17553 echo $ECHO_N "(cached) $ECHO_C" >&6
17555 if test -n "$AR"; then
17556 ac_cv_prog_AR="$AR" # Let the user override the test.
17558 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17559 for as_dir in $PATH
17562 test -z "$as_dir" && as_dir=.
17563 for ac_exec_ext in '' $ac_executable_extensions; do
17564 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
17565 ac_cv_prog_AR="${ac_tool_prefix}ar"
17566 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
17576 if test -n "$AR"; then
17577 { echo "$as_me:$LINENO: result: $AR" >&5
17578 echo "${ECHO_T}$AR" >&6; }
17580 { echo "$as_me:$LINENO: result: no" >&5
17581 echo "${ECHO_T}no" >&6; }
17586 if test -z "$ac_cv_prog_AR"; then
17588 # Extract the first word of "ar", so it can be a program name with args.
17589 set dummy ar; ac_word=$2
17590 { echo "$as_me:$LINENO: checking for $ac_word" >&5
17591 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
17592 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
17593 echo $ECHO_N "(cached) $ECHO_C" >&6
17595 if test -n "$ac_ct_AR"; then
17596 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
17598 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17599 for as_dir in $PATH
17602 test -z "$as_dir" && as_dir=.
17603 for ac_exec_ext in '' $ac_executable_extensions; do
17604 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
17605 ac_cv_prog_ac_ct_AR="ar"
17606 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
17615 ac_ct_AR=$ac_cv_prog_ac_ct_AR
17616 if test -n "$ac_ct_AR"; then
17617 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
17618 echo "${ECHO_T}$ac_ct_AR" >&6; }
17620 { echo "$as_me:$LINENO: result: no" >&5
17621 echo "${ECHO_T}no" >&6; }
17624 if test "x$ac_ct_AR" = x; then
17627 case $cross_compiling:$ac_tool_warned in
17629 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
17630 whose name does not start with the host triplet. If you think this
17631 configuration is useful to you, please write to autoconf@gnu.org." >&5
17632 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
17633 whose name does not start with the host triplet. If you think this
17634 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
17635 ac_tool_warned=yes ;;
17640 AR="$ac_cv_prog_AR"
17643 if test "x$AR" = "x" ; then
17644 { { echo "$as_me:$LINENO: error: ar is needed to build wxWidgets" >&5
17645 echo "$as_me: error: ar is needed to build wxWidgets" >&2;}
17646 { (exit 1); exit 1; }; }
17650 retest_macosx_linking=no
17652 #if test "$wxUSE_MAC" = 1; then
17653 if test "x$wxUSE_UNIVERSAL_BINARY" != xno ; then
17654 if test "x$wxUSE_UNIVERSAL_BINARY" == xyes; then
17655 # Implicitly turn on the new --with-macosx-sdk using the default
17656 # SDK which provides the behavior this option has always had.
17657 if test "x$wxUSE_MACOSX_SDK" = "x"; then
17658 { echo "$as_me:$LINENO: WARNING: Enabling default SDK due to --enable-universal_binary." >&5
17659 echo "$as_me: WARNING: Enabling default SDK due to --enable-universal_binary." >&2;}
17660 { echo "$as_me:$LINENO: WARNING: If you don't want this, specify --without-macosx-sdk" >&5
17661 echo "$as_me: WARNING: If you don't want this, specify --without-macosx-sdk" >&2;}
17662 wxUSE_MACOSX_SDK=yes
17665 # Complain to user if he specified an argument to --enable-universal_binary
17666 # and also 1) specified --with-macosx-sdk using the default (yes) or
17667 # 2) specified --with-macosx-sdk using a path or 3) specified
17668 # --without-macosx-sdk (no).
17669 if test "x$wxUSE_MACOSX_SDK" != "x" ; then
17670 { { echo "$as_me:$LINENO: error: Please specify the new --with-macosx-sdk=PATH and do not specify an arg to --enable-universal_binary
17671 See \`config.log
' for more details." >&5
17672 echo "$as_me: error: Please specify the new --with-macosx-sdk=PATH and do not specify an arg to --enable-universal_binary
17673 See \`config.log' for more details.
" >&2;}
17674 { (exit 1); exit 1; }; }
17676 # Put the SDK path into the wxUSE_MACOSX_SDK. We don't have to
17677 # special-case the empty string because the below test simply
17678 # converts "no
" to the empty string anyway.
17679 wxUSE_MACOSX_SDK="$wxUSE_UNIVERSAL_BINARY"
17680 { echo "$as_me:$LINENO: WARNING
: Please use
--with-macosx-sdk=PATH and
--enable-universal_binary without an argument
" >&5
17681 echo "$as_me: WARNING
: Please use
--with-macosx-sdk=PATH and
--enable-universal_binary without an argument
" >&2;}
17684 OSX_UNIV_OPTS="-arch ppc
-arch i386
"
17685 CXXFLAGS="$OSX_UNIV_OPTS $CXXFLAGS"
17686 CFLAGS="$OSX_UNIV_OPTS $CFLAGS"
17687 LDFLAGS="$OSX_UNIV_OPTS $LDFLAGS"
17688 retest_macosx_linking=yes
17690 { echo "$as_me:$LINENO: WARNING
: Disabling precompiled headers due to universal binary build.
" >&5
17691 echo "$as_me: WARNING
: Disabling precompiled headers due to universal binary build.
" >&2;}
17696 if test "x
$wxUSE_MACOSX_SDK" = "xno
"; then
17698 elif test "x
$wxUSE_MACOSX_SDK" = "xyes
"; then
17699 # TODO: Search for most recent SDK and use it.
17700 wxUSE_MACOSX_SDK="/Developer
/SDKs
/MacOSX10.4u.sdk
"
17704 if test "x
$wxUSE_MACOSX_SDK" != "x
"; then
17705 { echo "$as_me:$LINENO: checking
for SDK directory
$wxUSE_MACOSX_SDK" >&5
17706 echo $ECHO_N "checking
for SDK directory
$wxUSE_MACOSX_SDK...
$ECHO_C" >&6; }
17707 if ! test -d "$wxUSE_MACOSX_SDK"; then
17708 { { echo "$as_me:$LINENO: error
: not found
17709 See \
`config.log' for more details." >&5
17710 echo "$as_me: error: not found
17711 See \`config.log
' for more details." >&2;}
17712 { (exit 1); exit 1; }; }
17714 { echo "$as_me:$LINENO: result: exists" >&5
17715 echo "${ECHO_T}exists" >&6; }
17717 MACOSX_SDK_OPTS="-isysroot $wxUSE_MACOSX_SDK"
17718 eval "CC=\"$CC $MACOSX_SDK_OPTS\""
17719 eval "CXX=\"$CXX $MACOSX_SDK_OPTS\""
17720 eval "LD=\"$LD $MACOSX_SDK_OPTS\""
17721 retest_macosx_linking=yes
17724 if test "x$wxUSE_MACOSX_VERSION_MIN" = "xno"; then
17725 wxUSE_MACOSX_VERSION_MIN=
17726 elif test "x$wxUSE_MACOSX_VERSION_MIN" = "xyes"; then
17727 if test "x$wxUSE_MACOSX_SDK" != "x"; then
17728 { echo "$as_me:$LINENO: checking SDK deployment version" >&5
17729 echo $ECHO_N "checking SDK deployment version... $ECHO_C" >&6; }
17731 MACOSX_SDK_PLIST_VERSION_MIN=`defaults read "$wxUSE_MACOSX_SDK/SDKSettings" buildSettings | grep '^
*"\{0,1\}MACOSX_DEPLOYMENT_TARGET"\
{0,1\
} *= *"\{0,1\}[^"]*"\{0,1\}; *$' | sed 's/^ *"\
{0,1\
}MACOSX_DEPLOYMENT_TARGET
"\{0,1\} *= *"\
{0,1\
}\
([^
"]*\)"\
{0,1\
} *; *$
/\
1/'`
17733 # If that failed, try again with the new key
17734 if test "x$MACOSX_SDK_PLIST_VERSION_MIN" == "x"; then
17736 MACOSX_SDK_PLIST_VERSION_MIN=`defaults read "$wxUSE_MACOSX_SDK/SDKSettings" DefaultProperties | grep '^
*"\{0,1\}MACOSX_DEPLOYMENT_TARGET"\
{0,1\
} *= *"\{0,1\}[^"]*"\{0,1\}; *$' | sed 's/^ *"\
{0,1\
}MACOSX_DEPLOYMENT_TARGET
"\{0,1\} *= *"\
{0,1\
}\
([^
"]*\)"\
{0,1\
} *; *$
/\
1/'`
17740 if test "x$MACOSX_SDK_PLIST_VERSION_MIN" != "x"; then
17741 wxUSE_MACOSX_VERSION_MIN=$MACOSX_SDK_PLIST_VERSION_MIN
17742 { echo "$as_me:$LINENO: result: $wxUSE_MACOSX_VERSION_MIN" >&5
17743 echo "${ECHO_T}$wxUSE_MACOSX_VERSION_MIN" >&6; }
17745 { echo "$as_me:$LINENO: WARNING: Could not determine deployment target from SDKSettings.plist" >&5
17746 echo "$as_me: WARNING: Could not determine deployment target from SDKSettings.plist" >&2;}
17747 wxUSE_MACOSX_VERSION_MIN=
17750 wxUSE_MACOSX_VERSION_MIN=
17752 elif test "x$wxUSE_MACOSX_VERSION_MIN" = "x"; then
17753 if test "$wxUSE_MAC" = 1; then
17754 # otherwise configure stops on leopard for universal_binary
17755 wxUSE_MACOSX_VERSION_MIN=10.4
17759 if test "x$wxUSE_MACOSX_VERSION_MIN" != "x"; then
17760 MACOSX_VERSION_MIN_OPTS="-mmacosx-version-min=$wxUSE_MACOSX_VERSION_MIN"
17761 eval "CC=\"$CC $MACOSX_VERSION_MIN_OPTS\""
17762 eval "CXX=\"$CXX $MACOSX_VERSION_MIN_OPTS\""
17763 eval "LD=\"$LD $MACOSX_VERSION_MIN_OPTS\""
17764 retest_macosx_linking=yes
17767 if test "x$retest_macosx_linking" = "xyes"; then
17769 ac_cpp='$CPP $CPPFLAGS'
17770 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
17771 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
17772 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17774 { echo "$as_me:$LINENO: checking if C compiler works with SDK/version options" >&5
17775 echo $ECHO_N "checking if C compiler works with SDK/version options... $ECHO_C" >&6; }
17776 cat >conftest.$ac_ext <<_ACEOF
17779 cat confdefs.h >>conftest.$ac_ext
17780 cat >>conftest.$ac_ext <<_ACEOF
17781 /* end confdefs.h. */
17791 rm -f conftest.$ac_objext conftest$ac_exeext
17792 if { (ac_try="$ac_link"
17793 case "(($ac_try" in
17794 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17795 *) ac_try_echo=$ac_try;;
17797 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17798 (eval "$ac_link") 2>conftest.er1
17800 grep -v '^
*+' conftest.er1 >conftest.err
17802 cat conftest.err >&5
17803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17804 (exit $ac_status); } && {
17805 test -z "$ac_c_werror_flag" ||
17806 test ! -s conftest.err
17807 } && test -s conftest$ac_exeext &&
17808 $as_test_x conftest$ac_exeext; then
17809 { echo "$as_me:$LINENO: result: yes" >&5
17810 echo "${ECHO_T}yes" >&6; }
17812 echo "$as_me: failed program was:" >&5
17813 sed 's
/^
/| /' conftest.$ac_ext >&5
17815 { { echo "$as_me:$LINENO: error: no. Try a different SDK
17816 See \`config.log' for more details.
" >&5
17817 echo "$as_me: error
: no. Try a different SDK
17818 See \
`config.log' for more details." >&2;}
17819 { (exit 1); exit 1; }; }; exit 1
17822 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17823 conftest$ac_exeext conftest.$ac_ext
17825 ac_cpp='$CPP $CPPFLAGS'
17826 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17827 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17828 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17832 ac_cpp='$CXXCPP $CPPFLAGS'
17833 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17834 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17835 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17837 { echo "$as_me:$LINENO: checking if C++ compiler works with SDK/version options" >&5
17838 echo $ECHO_N "checking if C++ compiler works with SDK/version options... $ECHO_C" >&6; }
17839 cat >conftest.$ac_ext <<_ACEOF
17842 cat confdefs.h >>conftest.$ac_ext
17843 cat >>conftest.$ac_ext <<_ACEOF
17844 /* end confdefs.h. */
17854 rm -f conftest.$ac_objext conftest$ac_exeext
17855 if { (ac_try="$ac_link"
17856 case "(($ac_try" in
17857 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
17858 *) ac_try_echo
=$ac_try;;
17860 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17861 (eval "$ac_link") 2>conftest.er1
17863 grep -v '^ *+' conftest.er1
>conftest.err
17865 cat conftest.err
>&5
17866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17867 (exit $ac_status); } && {
17868 test -z "$ac_cxx_werror_flag" ||
17869 test ! -s conftest.err
17870 } && test -s conftest
$ac_exeext &&
17871 $as_test_x conftest
$ac_exeext; then
17872 { echo "$as_me:$LINENO: result: yes" >&5
17873 echo "${ECHO_T}yes" >&6; }
17875 echo "$as_me: failed program was:" >&5
17876 sed 's/^/| /' conftest.
$ac_ext >&5
17878 { { echo "$as_me:$LINENO: error: no. Try a different SDK
17879 See \`config.log' for more details." >&5
17880 echo "$as_me: error: no. Try a different SDK
17881 See \`config.log' for more details." >&2;}
17882 { (exit 1); exit 1; }; }; exit 1
17885 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
17886 conftest
$ac_exeext conftest.
$ac_ext
17888 ac_cpp
='$CPP $CPPFLAGS'
17889 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17890 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17891 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
17899 INSTALL_PROGRAM
="cp -fp"
17900 INSTALL_DATA
="cp -fp"
17907 if test "x$XLCXX" = "xyes" -a "x$USE_AIX" = "x1"; then
17908 CXXFLAGS
="-qunique $CXXFLAGS"
17912 powerpc
-*-darwin* )
17913 { echo "$as_me:$LINENO: checking if __POWERPC__ is already defined" >&5
17914 echo $ECHO_N "checking if __POWERPC__ is already defined... $ECHO_C" >&6; }
17915 cat >conftest.
$ac_ext <<_ACEOF
17918 cat confdefs.h
>>conftest.
$ac_ext
17919 cat >>conftest.
$ac_ext <<_ACEOF
17920 /* end confdefs.h. */
17925 #ifndef __POWERPC__
17926 choke me for lack of PowerPC
17933 rm -f conftest.
$ac_objext
17934 if { (ac_try
="$ac_compile"
17935 case "(($ac_try" in
17936 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
17937 *) ac_try_echo=$ac_try;;
17939 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17940 (eval "$ac_compile") 2>conftest.er1
17942 grep -v '^ *+' conftest.er1 >conftest.err
17944 cat conftest.err >&5
17945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17946 (exit $ac_status); } && {
17947 test -z "$ac_c_werror_flag" ||
17948 test ! -s conftest.err
17949 } && test -s conftest.$ac_objext; then
17950 { echo "$as_me:$LINENO: result: yes" >&5
17951 echo "${ECHO_T}yes" >&6; }
17953 echo "$as_me: failed program was:" >&5
17954 sed 's/^/| /' conftest.$ac_ext >&5
17956 { echo "$as_me:$LINENO: result: no" >&5
17957 echo "${ECHO_T}no" >&6; }
17958 cat >>confdefs.h <<\_ACEOF
17959 #define __POWERPC__ 1
17965 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17971 { echo "$as_me:$LINENO: checking if CoreFoundation/CFBase.h is usable" >&5
17972 echo $ECHO_N "checking if CoreFoundation/CFBase.h is usable... $ECHO_C" >&6; }
17973 cat >conftest.$ac_ext <<_ACEOF
17976 cat confdefs.h >>conftest.$ac_ext
17977 cat >>conftest.$ac_ext <<_ACEOF
17978 /* end confdefs.h. */
17979 #include <CoreFoundation/CFBase.h>
17989 rm -f conftest.$ac_objext
17990 if { (ac_try="$ac_compile"
17991 case "(($ac_try" in
17992 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
17993 *) ac_try_echo
=$ac_try;;
17995 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17996 (eval "$ac_compile") 2>conftest.er1
17998 grep -v '^ *+' conftest.er1
>conftest.err
18000 cat conftest.err
>&5
18001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18002 (exit $ac_status); } && {
18003 test -z "$ac_c_werror_flag" ||
18004 test ! -s conftest.err
18005 } && test -s conftest.
$ac_objext; then
18006 { echo "$as_me:$LINENO: result: yes" >&5
18007 echo "${ECHO_T}yes" >&6; }
18009 echo "$as_me: failed program was:" >&5
18010 sed 's/^/| /' conftest.
$ac_ext >&5
18012 { echo "$as_me:$LINENO: result: no" >&5
18013 echo "${ECHO_T}no" >&6; }
18014 { echo "$as_me:$LINENO: checking if __CF_USE_FRAMEWORK_INCLUDES__ is required" >&5
18015 echo $ECHO_N "checking if __CF_USE_FRAMEWORK_INCLUDES__ is required... $ECHO_C" >&6; }
18016 cat >conftest.
$ac_ext <<_ACEOF
18019 cat confdefs.h
>>conftest.
$ac_ext
18020 cat >>conftest.
$ac_ext <<_ACEOF
18021 /* end confdefs.h. */
18022 #define __CF_USE_FRAMEWORK_INCLUDES__
18023 #include <CoreFoundation/CFBase.h>
18033 rm -f conftest.
$ac_objext
18034 if { (ac_try
="$ac_compile"
18035 case "(($ac_try" in
18036 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
18037 *) ac_try_echo=$ac_try;;
18039 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18040 (eval "$ac_compile") 2>conftest.er1
18042 grep -v '^ *+' conftest.er1 >conftest.err
18044 cat conftest.err >&5
18045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18046 (exit $ac_status); } && {
18047 test -z "$ac_c_werror_flag" ||
18048 test ! -s conftest.err
18049 } && test -s conftest.$ac_objext; then
18050 { echo "$as_me:$LINENO: result: yes" >&5
18051 echo "${ECHO_T}yes" >&6; }
18052 CPPFLAGS="-D__CF_USE_FRAMEWORK_INCLUDES__ $CPPFLAGS"
18054 echo "$as_me: failed program was:" >&5
18055 sed 's/^/| /' conftest.$ac_ext >&5
18057 { { echo "$as_me:$LINENO: error: no. CoreFoundation not available.
18058 See \`config.log
' for more details." >&5
18059 echo "$as_me: error: no. CoreFoundation not available.
18060 See \`config.log' for more details.
" >&2;}
18061 { (exit 1); exit 1; }; }
18065 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18070 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18075 doesnt_want_win32=0
18078 if test "$wxUSE_MSW" = 1 ; then
18081 { echo "$as_me:$LINENO: checking
if -mno-cygwin is
in effect
" >&5
18082 echo $ECHO_N "checking
if -mno-cygwin is
in effect...
$ECHO_C" >&6; }
18083 if test "${wx_cv_nocygwin+set}" = set; then
18084 echo $ECHO_N "(cached
) $ECHO_C" >&6
18087 cat >conftest.$ac_ext <<_ACEOF
18090 cat confdefs.h >>conftest.$ac_ext
18091 cat >>conftest.$ac_ext <<_ACEOF
18092 /* end confdefs.h. */
18106 rm -f conftest.$ac_objext
18107 if { (ac_try="$ac_compile"
18108 case "(($ac_try" in
18109 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18110 *) ac_try_echo=$ac_try;;
18112 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
18113 (eval "$ac_compile") 2>conftest.er1
18115 grep -v '^ *+' conftest.er1 >conftest.err
18117 cat conftest.err >&5
18118 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
18119 (exit $ac_status); } && {
18120 test -z "$ac_c_werror_flag" ||
18121 test ! -s conftest.err
18122 } && test -s conftest.$ac_objext; then
18125 echo "$as_me: failed program was
:" >&5
18126 sed 's/^/| /' conftest.$ac_ext >&5
18132 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18136 { echo "$as_me:$LINENO: result
: $wx_cv_nocygwin" >&5
18137 echo "${ECHO_T}$wx_cv_nocygwin" >&6; }
18139 if test "$wx_cv_nocygwin" = "yes"; then
18142 doesnt_want_win32=1
18145 if test "$wants_win32" = 1 ; then
18146 BAKEFILE_FORCE_PLATFORM=win32
18154 if test "$wxUSE_WINE" = "yes"; then
18156 LDFLAGS_GUI="-mwindows"
18159 if test "$wants_win32" = 1 ; then
18162 cat >>confdefs.h <<\_ACEOF
18163 #define __WIN32__ 1
18166 cat >>confdefs.h <<\_ACEOF
18167 #define __WIN95__ 1
18170 cat >>confdefs.h <<\_ACEOF
18171 #define __WINDOWS__ 1
18174 cat >>confdefs.h <<\_ACEOF
18175 #define __GNUWIN32__ 1
18178 cat >>confdefs.h <<\_ACEOF
18183 if test "$doesnt_want_win32" = 1 ; then
18188 if test "$USE_UNIX" = 1 ; then
18190 cat >>confdefs.h <<\_ACEOF
18197 *-pc-os2_emx | *-pc-os2-emx )
18198 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
18199 { echo "$as_me:$LINENO: checking
for drand48
in -lcExt" >&5
18200 echo $ECHO_N "checking
for drand48
in -lcExt...
$ECHO_C" >&6; }
18201 if test "${ac_cv_lib_cExt_drand48+set}" = set; then
18202 echo $ECHO_N "(cached
) $ECHO_C" >&6
18204 ac_check_lib_save_LIBS=$LIBS
18205 LIBS="-lcExt $LIBS"
18206 cat >conftest.$ac_ext <<_ACEOF
18209 cat confdefs.h >>conftest.$ac_ext
18210 cat >>conftest.$ac_ext <<_ACEOF
18211 /* end confdefs.h. */
18213 /* Override any GCC internal prototype to avoid an error.
18214 Use char because int might match the return type of a GCC
18215 builtin and then its argument prototype would still apply. */
18228 rm -f conftest.$ac_objext conftest$ac_exeext
18229 if { (ac_try="$ac_link"
18230 case "(($ac_try" in
18231 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18232 *) ac_try_echo=$ac_try;;
18234 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
18235 (eval "$ac_link") 2>conftest.er1
18237 grep -v '^ *+' conftest.er1 >conftest.err
18239 cat conftest.err >&5
18240 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
18241 (exit $ac_status); } && {
18242 test -z "$ac_c_werror_flag" ||
18243 test ! -s conftest.err
18244 } && test -s conftest$ac_exeext &&
18245 $as_test_x conftest$ac_exeext; then
18246 ac_cv_lib_cExt_drand48=yes
18248 echo "$as_me: failed program was
:" >&5
18249 sed 's/^/| /' conftest.$ac_ext >&5
18251 ac_cv_lib_cExt_drand48=no
18254 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18255 conftest$ac_exeext conftest.$ac_ext
18256 LIBS=$ac_check_lib_save_LIBS
18258 { echo "$as_me:$LINENO: result
: $ac_cv_lib_cExt_drand48" >&5
18259 echo "${ECHO_T}$ac_cv_lib_cExt_drand48" >&6; }
18260 if test $ac_cv_lib_cExt_drand48 = yes; then
18261 LIBS="$LIBS -lcExt"
18265 RESPROGRAMOBJ="\
${top_srcdir}/include
/wx
/os
2/wx.res
"
18267 { echo "$as_me:$LINENO: checking
for gcc
/libc version
" >&5
18268 echo $ECHO_N "checking
for gcc
/libc version...
$ECHO_C" >&6; }
18269 if test "${wx_cv_gccversion+set}" = set; then
18270 echo $ECHO_N "(cached
) $ECHO_C" >&6
18273 if test "$cross_compiling" = yes; then
18274 wx_cv_gccversion="EMX2
"
18277 cat >conftest.$ac_ext <<_ACEOF
18280 cat confdefs.h >>conftest.$ac_ext
18281 cat >>conftest.$ac_ext <<_ACEOF
18282 /* end confdefs.h. */
18288 FILE *f=fopen("conftestval
", "w
");
18293 #elif (__GNUC__==3) && ((__GNUC_MINOR__ < 2) || ((__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__<2)))
18295 #elif (__GNUC__==3) && (__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__==2)
18305 rm -f conftest$ac_exeext
18306 if { (ac_try="$ac_link"
18307 case "(($ac_try" in
18308 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18309 *) ac_try_echo=$ac_try;;
18311 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
18312 (eval "$ac_link") 2>&5
18314 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
18315 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
18316 { (case "(($ac_try" in
18317 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18318 *) ac_try_echo=$ac_try;;
18320 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
18321 (eval "$ac_try") 2>&5
18323 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
18324 (exit $ac_status); }; }; then
18325 wx_cv_gccversion=`cat conftestval`
18327 echo "$as_me: program exited with status
$ac_status" >&5
18328 echo "$as_me: failed program was
:" >&5
18329 sed 's/^/| /' conftest.$ac_ext >&5
18331 ( exit $ac_status )
18332 wx_cv_gccversion="EMX2
"
18334 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
18340 { echo "$as_me:$LINENO: result
: $wx_cv_gccversion" >&5
18341 echo "${ECHO_T}$wx_cv_gccversion" >&6; }
18342 if test "$wx_cv_gccversion" = "EMX2
"; then
18343 LIBS="$LIBS -lstdcpp"
18344 LDFLAGS="$LDFLAGS -Zsysv-signals"
18346 if test "$wx_cv_gccversion" = "EMX3
"; then
18347 LIBS="$LIBS -lstdcxx -lgcc"
18348 LDFLAGS="$LDFLAGS -Zsysv-signals"
18350 LIBS="$LIBS -lstdc++"
18353 if test "$wxUSE_SHARED" = "yes" -a "$wxUSE_OMF" = "no
"; then
18354 { echo "$as_me:$LINENO: WARNING
: Building DLLs requires OMF mode
, enabled
" >&5
18355 echo "$as_me: WARNING
: Building DLLs requires OMF mode
, enabled
" >&2;}
18362 { echo "$as_me:$LINENO: checking
for strcasecmp
() in string.h
" >&5
18363 echo $ECHO_N "checking
for strcasecmp
() in string.h...
$ECHO_C" >&6; }
18364 if test "${ac_cv_string_strcasecmp+set}" = set; then
18365 echo $ECHO_N "(cached
) $ECHO_C" >&6
18368 cat >conftest.$ac_ext <<_ACEOF
18371 cat confdefs.h >>conftest.$ac_ext
18372 cat >>conftest.$ac_ext <<_ACEOF
18373 /* end confdefs.h. */
18375 #include <string.h>
18381 strcasecmp("foo
", "bar
");
18387 rm -f conftest.$ac_objext conftest$ac_exeext
18388 if { (ac_try="$ac_link"
18389 case "(($ac_try" in
18390 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18391 *) ac_try_echo=$ac_try;;
18393 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
18394 (eval "$ac_link") 2>conftest.er1
18396 grep -v '^ *+' conftest.er1 >conftest.err
18398 cat conftest.err >&5
18399 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
18400 (exit $ac_status); } && {
18401 test -z "$ac_c_werror_flag" ||
18402 test ! -s conftest.err
18403 } && test -s conftest$ac_exeext &&
18404 $as_test_x conftest$ac_exeext; then
18405 ac_cv_string_strcasecmp=yes
18407 echo "$as_me: failed program was
:" >&5
18408 sed 's/^/| /' conftest.$ac_ext >&5
18410 ac_cv_string_strcasecmp=no
18414 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18415 conftest$ac_exeext conftest.$ac_ext
18418 { echo "$as_me:$LINENO: result
: $ac_cv_string_strcasecmp" >&5
18419 echo "${ECHO_T}$ac_cv_string_strcasecmp" >&6; }
18421 if test x"$ac_cv_string_strcasecmp" = "xyes
"; then
18422 cat >>confdefs.h <<\_ACEOF
18423 #define HAVE_STRCASECMP_IN_STRING_H 1
18427 { echo "$as_me:$LINENO: checking
for strcasecmp
() in strings.h
" >&5
18428 echo $ECHO_N "checking
for strcasecmp
() in strings.h...
$ECHO_C" >&6; }
18429 if test "${ac_cv_strings_strcasecmp+set}" = set; then
18430 echo $ECHO_N "(cached
) $ECHO_C" >&6
18433 cat >conftest.$ac_ext <<_ACEOF
18436 cat confdefs.h >>conftest.$ac_ext
18437 cat >>conftest.$ac_ext <<_ACEOF
18438 /* end confdefs.h. */
18440 #include <strings.h>
18446 strcasecmp("foo
", "bar
");
18452 rm -f conftest.$ac_objext conftest$ac_exeext
18453 if { (ac_try="$ac_link"
18454 case "(($ac_try" in
18455 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18456 *) ac_try_echo=$ac_try;;
18458 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
18459 (eval "$ac_link") 2>conftest.er1
18461 grep -v '^ *+' conftest.er1 >conftest.err
18463 cat conftest.err >&5
18464 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
18465 (exit $ac_status); } && {
18466 test -z "$ac_c_werror_flag" ||
18467 test ! -s conftest.err
18468 } && test -s conftest$ac_exeext &&
18469 $as_test_x conftest$ac_exeext; then
18470 ac_cv_strings_strcasecmp=yes
18472 echo "$as_me: failed program was
:" >&5
18473 sed 's/^/| /' conftest.$ac_ext >&5
18475 ac_cv_strings_strcasecmp=no
18479 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18480 conftest$ac_exeext conftest.$ac_ext
18483 { echo "$as_me:$LINENO: result
: $ac_cv_strings_strcasecmp" >&5
18484 echo "${ECHO_T}$ac_cv_strings_strcasecmp" >&6; }
18486 if test x"$ac_cv_strings_strcasecmp" = "xyes
"; then
18487 cat >>confdefs.h <<\_ACEOF
18488 #define HAVE_STRCASECMP_IN_STRINGS_H 1
18492 { { echo "$as_me:$LINENO: error
: No
case-insensitive string comparison
function found.
" >&5
18493 echo "$as_me: error
: No
case-insensitive string comparison
function found.
" >&2;}
18494 { (exit 1); exit 1; }; }
18502 { echo "$as_me:$LINENO: checking
for ANSI C header files
" >&5
18503 echo $ECHO_N "checking
for ANSI C header files...
$ECHO_C" >&6; }
18504 if test "${ac_cv_header_stdc+set}" = set; then
18505 echo $ECHO_N "(cached
) $ECHO_C" >&6
18507 cat >conftest.$ac_ext <<_ACEOF
18510 cat confdefs.h >>conftest.$ac_ext
18511 cat >>conftest.$ac_ext <<_ACEOF
18512 /* end confdefs.h. */
18513 #include <stdlib.h>
18514 #include <stdarg.h>
18515 #include <string.h>
18526 rm -f conftest.$ac_objext
18527 if { (ac_try="$ac_compile"
18528 case "(($ac_try" in
18529 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18530 *) ac_try_echo=$ac_try;;
18532 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
18533 (eval "$ac_compile") 2>conftest.er1
18535 grep -v '^ *+' conftest.er1 >conftest.err
18537 cat conftest.err >&5
18538 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
18539 (exit $ac_status); } && {
18540 test -z "$ac_c_werror_flag" ||
18541 test ! -s conftest.err
18542 } && test -s conftest.$ac_objext; then
18543 ac_cv_header_stdc=yes
18545 echo "$as_me: failed program was
:" >&5
18546 sed 's/^/| /' conftest.$ac_ext >&5
18548 ac_cv_header_stdc=no
18551 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18553 if test $ac_cv_header_stdc = yes; then
18554 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
18555 cat >conftest.$ac_ext <<_ACEOF
18558 cat confdefs.h >>conftest.$ac_ext
18559 cat >>conftest.$ac_ext <<_ACEOF
18560 /* end confdefs.h. */
18561 #include <string.h>
18564 if (eval "$ac_cpp conftest.
$ac_ext") 2>&5 |
18565 $EGREP "memchr
" >/dev/null 2>&1; then
18568 ac_cv_header_stdc=no
18574 if test $ac_cv_header_stdc = yes; then
18575 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
18576 cat >conftest.$ac_ext <<_ACEOF
18579 cat confdefs.h >>conftest.$ac_ext
18580 cat >>conftest.$ac_ext <<_ACEOF
18581 /* end confdefs.h. */
18582 #include <stdlib.h>
18585 if (eval "$ac_cpp conftest.
$ac_ext") 2>&5 |
18586 $EGREP "free
" >/dev/null 2>&1; then
18589 ac_cv_header_stdc=no
18595 if test $ac_cv_header_stdc = yes; then
18596 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
18597 if test "$cross_compiling" = yes; then
18600 cat >conftest.$ac_ext <<_ACEOF
18603 cat confdefs.h >>conftest.$ac_ext
18604 cat >>conftest.$ac_ext <<_ACEOF
18605 /* end confdefs.h. */
18607 #include <stdlib.h>
18608 #if ((' ' & 0x0FF) == 0x020)
18609 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
18610 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
18612 # define ISLOWER(c) \
18613 (('a' <= (c) && (c) <= 'i') \
18614 || ('j' <= (c) && (c) <= 'r') \
18615 || ('s' <= (c) && (c) <= 'z'))
18616 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
18619 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
18624 for (i = 0; i < 256; i++)
18625 if (XOR (islower (i), ISLOWER (i))
18626 || toupper (i) != TOUPPER (i))
18631 rm -f conftest$ac_exeext
18632 if { (ac_try="$ac_link"
18633 case "(($ac_try" in
18634 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18635 *) ac_try_echo=$ac_try;;
18637 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
18638 (eval "$ac_link") 2>&5
18640 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
18641 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
18642 { (case "(($ac_try" in
18643 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18644 *) ac_try_echo=$ac_try;;
18646 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
18647 (eval "$ac_try") 2>&5
18649 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
18650 (exit $ac_status); }; }; then
18653 echo "$as_me: program exited with status
$ac_status" >&5
18654 echo "$as_me: failed program was
:" >&5
18655 sed 's/^/| /' conftest.$ac_ext >&5
18657 ( exit $ac_status )
18658 ac_cv_header_stdc=no
18660 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
18666 { echo "$as_me:$LINENO: result
: $ac_cv_header_stdc" >&5
18667 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
18668 if test $ac_cv_header_stdc = yes; then
18670 cat >>confdefs.h <<\_ACEOF
18671 #define STDC_HEADERS 1
18676 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
18686 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
18687 inttypes.h stdint.h unistd.h
18689 as_ac_Header=`echo "ac_cv_header_
$ac_header" | $as_tr_sh`
18690 { echo "$as_me:$LINENO: checking
for $ac_header" >&5
18691 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6; }
18692 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
18693 echo $ECHO_N "(cached
) $ECHO_C" >&6
18695 cat >conftest.$ac_ext <<_ACEOF
18698 cat confdefs.h >>conftest.$ac_ext
18699 cat >>conftest.$ac_ext <<_ACEOF
18700 /* end confdefs.h. */
18701 $ac_includes_default
18703 #include <$ac_header>
18705 rm -f conftest.$ac_objext
18706 if { (ac_try="$ac_compile"
18707 case "(($ac_try" in
18708 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18709 *) ac_try_echo=$ac_try;;
18711 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
18712 (eval "$ac_compile") 2>conftest.er1
18714 grep -v '^ *+' conftest.er1 >conftest.err
18716 cat conftest.err >&5
18717 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
18718 (exit $ac_status); } && {
18719 test -z "$ac_c_werror_flag" ||
18720 test ! -s conftest.err
18721 } && test -s conftest.$ac_objext; then
18722 eval "$as_ac_Header=yes"
18724 echo "$as_me: failed program was
:" >&5
18725 sed 's/^/| /' conftest.$ac_ext >&5
18727 eval "$as_ac_Header=no
"
18730 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18732 ac_res=`eval echo '${'$as_ac_Header'}'`
18733 { echo "$as_me:$LINENO: result
: $ac_res" >&5
18734 echo "${ECHO_T}$ac_res" >&6; }
18735 if test `eval echo '${'$as_ac_Header'}'` = yes; then
18736 cat >>confdefs.h <<_ACEOF
18737 #define `echo "HAVE_
$ac_header" | $as_tr_cpp` 1
18747 for ac_header in langinfo.h wchar.h
18749 as_ac_Header=`echo "ac_cv_header_
$ac_header" | $as_tr_sh`
18750 { echo "$as_me:$LINENO: checking
for $ac_header" >&5
18751 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6; }
18752 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
18753 echo $ECHO_N "(cached
) $ECHO_C" >&6
18755 cat >conftest.$ac_ext <<_ACEOF
18758 cat confdefs.h >>conftest.$ac_ext
18759 cat >>conftest.$ac_ext <<_ACEOF
18760 /* end confdefs.h. */
18761 $ac_includes_default
18763 #include <$ac_header>
18765 rm -f conftest.$ac_objext
18766 if { (ac_try="$ac_compile"
18767 case "(($ac_try" in
18768 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18769 *) ac_try_echo=$ac_try;;
18771 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
18772 (eval "$ac_compile") 2>conftest.er1
18774 grep -v '^ *+' conftest.er1 >conftest.err
18776 cat conftest.err >&5
18777 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
18778 (exit $ac_status); } && {
18779 test -z "$ac_c_werror_flag" ||
18780 test ! -s conftest.err
18781 } && test -s conftest.$ac_objext; then
18782 eval "$as_ac_Header=yes"
18784 echo "$as_me: failed program was
:" >&5
18785 sed 's/^/| /' conftest.$ac_ext >&5
18787 eval "$as_ac_Header=no
"
18790 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18792 ac_res=`eval echo '${'$as_ac_Header'}'`
18793 { echo "$as_me:$LINENO: result
: $ac_res" >&5
18794 echo "${ECHO_T}$ac_res" >&6; }
18795 if test `eval echo '${'$as_ac_Header'}'` = yes; then
18796 cat >>confdefs.h <<_ACEOF
18797 #define `echo "HAVE_
$ac_header" | $as_tr_cpp` 1
18805 if test "$ac_cv_header_wchar_h" != "yes"; then
18807 for ac_header in wcstr.h
18809 as_ac_Header=`echo "ac_cv_header_
$ac_header" | $as_tr_sh`
18810 { echo "$as_me:$LINENO: checking
for $ac_header" >&5
18811 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6; }
18812 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
18813 echo $ECHO_N "(cached
) $ECHO_C" >&6
18815 cat >conftest.$ac_ext <<_ACEOF
18818 cat confdefs.h >>conftest.$ac_ext
18819 cat >>conftest.$ac_ext <<_ACEOF
18820 /* end confdefs.h. */
18821 $ac_includes_default
18823 #include <$ac_header>
18825 rm -f conftest.$ac_objext
18826 if { (ac_try="$ac_compile"
18827 case "(($ac_try" in
18828 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18829 *) ac_try_echo=$ac_try;;
18831 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
18832 (eval "$ac_compile") 2>conftest.er1
18834 grep -v '^ *+' conftest.er1 >conftest.err
18836 cat conftest.err >&5
18837 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
18838 (exit $ac_status); } && {
18839 test -z "$ac_c_werror_flag" ||
18840 test ! -s conftest.err
18841 } && test -s conftest.$ac_objext; then
18842 eval "$as_ac_Header=yes"
18844 echo "$as_me: failed program was
:" >&5
18845 sed 's/^/| /' conftest.$ac_ext >&5
18847 eval "$as_ac_Header=no
"
18850 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18852 ac_res=`eval echo '${'$as_ac_Header'}'`
18853 { echo "$as_me:$LINENO: result
: $ac_res" >&5
18854 echo "${ECHO_T}$ac_res" >&6; }
18855 if test `eval echo '${'$as_ac_Header'}'` = yes; then
18856 cat >>confdefs.h <<_ACEOF
18857 #define `echo "HAVE_
$ac_header" | $as_tr_cpp` 1
18867 *-pc-os2_emx | *-pc-os2-emx )
18868 if test $ac_cv_header_langinfo_h = "yes" \
18869 -a \( "$wx_cv_gccversion" = "EMX2
" \
18870 -o "$wx_cv_gccversion" = "EMX3
" \
18871 -o "$wx_cv_gccversion" = "Innotek5
" \); then
18872 LIBS="$LIBS -lintl"
18877 if test "$USE_UNIX" = 1 ; then
18879 for ac_header in sys/select.h
18881 as_ac_Header=`echo "ac_cv_header_
$ac_header" | $as_tr_sh`
18882 { echo "$as_me:$LINENO: checking
for $ac_header" >&5
18883 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6; }
18884 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
18885 echo $ECHO_N "(cached
) $ECHO_C" >&6
18887 cat >conftest.$ac_ext <<_ACEOF
18890 cat confdefs.h >>conftest.$ac_ext
18891 cat >>conftest.$ac_ext <<_ACEOF
18892 /* end confdefs.h. */
18893 $ac_includes_default
18895 #include <$ac_header>
18897 rm -f conftest.$ac_objext
18898 if { (ac_try="$ac_compile"
18899 case "(($ac_try" in
18900 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18901 *) ac_try_echo=$ac_try;;
18903 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
18904 (eval "$ac_compile") 2>conftest.er1
18906 grep -v '^ *+' conftest.er1 >conftest.err
18908 cat conftest.err >&5
18909 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
18910 (exit $ac_status); } && {
18911 test -z "$ac_c_werror_flag" ||
18912 test ! -s conftest.err
18913 } && test -s conftest.$ac_objext; then
18914 eval "$as_ac_Header=yes"
18916 echo "$as_me: failed program was
:" >&5
18917 sed 's/^/| /' conftest.$ac_ext >&5
18919 eval "$as_ac_Header=no
"
18922 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18924 ac_res=`eval echo '${'$as_ac_Header'}'`
18925 { echo "$as_me:$LINENO: result
: $ac_res" >&5
18926 echo "${ECHO_T}$ac_res" >&6; }
18927 if test `eval echo '${'$as_ac_Header'}'` = yes; then
18928 cat >>confdefs.h <<_ACEOF
18929 #define `echo "HAVE_
$ac_header" | $as_tr_cpp` 1
18939 { echo "$as_me:$LINENO: checking
for an ANSI C
-conforming const
" >&5
18940 echo $ECHO_N "checking
for an ANSI C
-conforming const...
$ECHO_C" >&6; }
18941 if test "${ac_cv_c_const+set}" = set; then
18942 echo $ECHO_N "(cached
) $ECHO_C" >&6
18944 cat >conftest.$ac_ext <<_ACEOF
18947 cat confdefs.h >>conftest.$ac_ext
18948 cat >>conftest.$ac_ext <<_ACEOF
18949 /* end confdefs.h. */
18954 /* FIXME: Include the comments suggested by Paul. */
18955 #ifndef __cplusplus
18956 /* Ultrix mips cc rejects this. */
18957 typedef int charset[2];
18959 /* SunOS 4.1.1 cc rejects this. */
18960 char const *const *pcpcc;
18962 /* NEC SVR4.0.2 mips cc rejects this. */
18963 struct point {int x, y;};
18964 static struct point const zero = {0,0};
18965 /* AIX XL C 1.02.0.0 rejects this.
18966 It does not let you subtract one const X* pointer from another in
18967 an arm of an if-expression whose if-part is not a constant
18969 const char *g = "string
";
18970 pcpcc = &g + (g ? g-g : 0);
18971 /* HPUX 7.0 cc rejects these. */
18973 ppc = (char**) pcpcc;
18974 pcpcc = (char const *const *) ppc;
18975 { /* SCO 3.2v4 cc rejects this. */
18977 char const *s = 0 ? (char *) 0 : (char const *) 0;
18982 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
18983 int x[] = {25, 17};
18984 const int *foo = &x[0];
18987 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
18988 typedef const int *iptr;
18992 { /* AIX XL C 1.02.0.0 rejects this saying
18993 "k.c
", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
18994 struct s { int j; const int *ap[3]; };
18995 struct s *b; b->j = 5;
18997 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
18998 const int foo = 10;
18999 if (!foo) return 0;
19001 return !cs[0] && !zero.x;
19008 rm -f conftest.$ac_objext
19009 if { (ac_try="$ac_compile"
19010 case "(($ac_try" in
19011 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19012 *) ac_try_echo=$ac_try;;
19014 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19015 (eval "$ac_compile") 2>conftest.er1
19017 grep -v '^ *+' conftest.er1 >conftest.err
19019 cat conftest.err >&5
19020 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19021 (exit $ac_status); } && {
19022 test -z "$ac_c_werror_flag" ||
19023 test ! -s conftest.err
19024 } && test -s conftest.$ac_objext; then
19027 echo "$as_me: failed program was
:" >&5
19028 sed 's/^/| /' conftest.$ac_ext >&5
19033 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19035 { echo "$as_me:$LINENO: result
: $ac_cv_c_const" >&5
19036 echo "${ECHO_T}$ac_cv_c_const" >&6; }
19037 if test $ac_cv_c_const = no; then
19039 cat >>confdefs.h <<\_ACEOF
19045 { echo "$as_me:$LINENO: checking
for inline
" >&5
19046 echo $ECHO_N "checking
for inline...
$ECHO_C" >&6; }
19047 if test "${ac_cv_c_inline+set}" = set; then
19048 echo $ECHO_N "(cached
) $ECHO_C" >&6
19051 for ac_kw in inline __inline__ __inline; do
19052 cat >conftest.$ac_ext <<_ACEOF
19055 cat confdefs.h >>conftest.$ac_ext
19056 cat >>conftest.$ac_ext <<_ACEOF
19057 /* end confdefs.h. */
19058 #ifndef __cplusplus
19060 static $ac_kw foo_t static_foo () {return 0; }
19061 $ac_kw foo_t foo () {return 0; }
19065 rm -f conftest.$ac_objext
19066 if { (ac_try="$ac_compile"
19067 case "(($ac_try" in
19068 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19069 *) ac_try_echo=$ac_try;;
19071 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19072 (eval "$ac_compile") 2>conftest.er1
19074 grep -v '^ *+' conftest.er1 >conftest.err
19076 cat conftest.err >&5
19077 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19078 (exit $ac_status); } && {
19079 test -z "$ac_c_werror_flag" ||
19080 test ! -s conftest.err
19081 } && test -s conftest.$ac_objext; then
19082 ac_cv_c_inline=$ac_kw
19084 echo "$as_me: failed program was
:" >&5
19085 sed 's/^/| /' conftest.$ac_ext >&5
19090 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19091 test "$ac_cv_c_inline" != no && break
19095 { echo "$as_me:$LINENO: result
: $ac_cv_c_inline" >&5
19096 echo "${ECHO_T}$ac_cv_c_inline" >&6; }
19099 case $ac_cv_c_inline in
19102 case $ac_cv_c_inline in
19104 *) ac_val=$ac_cv_c_inline;;
19106 cat >>confdefs.h <<_ACEOF
19107 #ifndef __cplusplus
19108 #define inline $ac_val
19115 { echo "$as_me:$LINENO: checking
for short
" >&5
19116 echo $ECHO_N "checking
for short...
$ECHO_C" >&6; }
19117 if test "${ac_cv_type_short+set}" = set; then
19118 echo $ECHO_N "(cached
) $ECHO_C" >&6
19120 cat >conftest.$ac_ext <<_ACEOF
19123 cat confdefs.h >>conftest.$ac_ext
19124 cat >>conftest.$ac_ext <<_ACEOF
19125 /* end confdefs.h. */
19126 $ac_includes_default
19127 typedef short ac__type_new_;
19131 if ((ac__type_new_ *) 0)
19133 if (sizeof (ac__type_new_))
19139 rm -f conftest.$ac_objext
19140 if { (ac_try="$ac_compile"
19141 case "(($ac_try" in
19142 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19143 *) ac_try_echo=$ac_try;;
19145 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19146 (eval "$ac_compile") 2>conftest.er1
19148 grep -v '^ *+' conftest.er1 >conftest.err
19150 cat conftest.err >&5
19151 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19152 (exit $ac_status); } && {
19153 test -z "$ac_c_werror_flag" ||
19154 test ! -s conftest.err
19155 } && test -s conftest.$ac_objext; then
19156 ac_cv_type_short=yes
19158 echo "$as_me: failed program was
:" >&5
19159 sed 's/^/| /' conftest.$ac_ext >&5
19161 ac_cv_type_short=no
19164 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19166 { echo "$as_me:$LINENO: result
: $ac_cv_type_short" >&5
19167 echo "${ECHO_T}$ac_cv_type_short" >&6; }
19169 # The cast to long int works around a bug in the HP C Compiler
19170 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
19171 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
19172 # This bug is HP SR number 8606223364.
19173 { echo "$as_me:$LINENO: checking size of short
" >&5
19174 echo $ECHO_N "checking size of short...
$ECHO_C" >&6; }
19175 if test "${ac_cv_sizeof_short+set}" = set; then
19176 echo $ECHO_N "(cached
) $ECHO_C" >&6
19178 if test "$cross_compiling" = yes; then
19179 # Depending upon the size, compute the lo and hi bounds.
19180 cat >conftest.$ac_ext <<_ACEOF
19183 cat confdefs.h >>conftest.$ac_ext
19184 cat >>conftest.$ac_ext <<_ACEOF
19185 /* end confdefs.h. */
19186 $ac_includes_default
19187 typedef short ac__type_sizeof_;
19191 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
19198 rm -f conftest.$ac_objext
19199 if { (ac_try="$ac_compile"
19200 case "(($ac_try" in
19201 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19202 *) ac_try_echo=$ac_try;;
19204 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19205 (eval "$ac_compile") 2>conftest.er1
19207 grep -v '^ *+' conftest.er1 >conftest.err
19209 cat conftest.err >&5
19210 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19211 (exit $ac_status); } && {
19212 test -z "$ac_c_werror_flag" ||
19213 test ! -s conftest.err
19214 } && test -s conftest.$ac_objext; then
19217 cat >conftest.$ac_ext <<_ACEOF
19220 cat confdefs.h >>conftest.$ac_ext
19221 cat >>conftest.$ac_ext <<_ACEOF
19222 /* end confdefs.h. */
19223 $ac_includes_default
19224 typedef short ac__type_sizeof_;
19228 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
19235 rm -f conftest.$ac_objext
19236 if { (ac_try="$ac_compile"
19237 case "(($ac_try" in
19238 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19239 *) ac_try_echo=$ac_try;;
19241 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19242 (eval "$ac_compile") 2>conftest.er1
19244 grep -v '^ *+' conftest.er1 >conftest.err
19246 cat conftest.err >&5
19247 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19248 (exit $ac_status); } && {
19249 test -z "$ac_c_werror_flag" ||
19250 test ! -s conftest.err
19251 } && test -s conftest.$ac_objext; then
19252 ac_hi=$ac_mid; break
19254 echo "$as_me: failed program was
:" >&5
19255 sed 's/^/| /' conftest.$ac_ext >&5
19257 ac_lo=`expr $ac_mid + 1`
19258 if test $ac_lo -le $ac_mid; then
19262 ac_mid=`expr 2 '*' $ac_mid + 1`
19265 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19268 echo "$as_me: failed program was
:" >&5
19269 sed 's/^/| /' conftest.$ac_ext >&5
19271 cat >conftest.$ac_ext <<_ACEOF
19274 cat confdefs.h >>conftest.$ac_ext
19275 cat >>conftest.$ac_ext <<_ACEOF
19276 /* end confdefs.h. */
19277 $ac_includes_default
19278 typedef short ac__type_sizeof_;
19282 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
19289 rm -f conftest.$ac_objext
19290 if { (ac_try="$ac_compile"
19291 case "(($ac_try" in
19292 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19293 *) ac_try_echo=$ac_try;;
19295 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19296 (eval "$ac_compile") 2>conftest.er1
19298 grep -v '^ *+' conftest.er1 >conftest.err
19300 cat conftest.err >&5
19301 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19302 (exit $ac_status); } && {
19303 test -z "$ac_c_werror_flag" ||
19304 test ! -s conftest.err
19305 } && test -s conftest.$ac_objext; then
19308 cat >conftest.$ac_ext <<_ACEOF
19311 cat confdefs.h >>conftest.$ac_ext
19312 cat >>conftest.$ac_ext <<_ACEOF
19313 /* end confdefs.h. */
19314 $ac_includes_default
19315 typedef short ac__type_sizeof_;
19319 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
19326 rm -f conftest.$ac_objext
19327 if { (ac_try="$ac_compile"
19328 case "(($ac_try" in
19329 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19330 *) ac_try_echo=$ac_try;;
19332 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19333 (eval "$ac_compile") 2>conftest.er1
19335 grep -v '^ *+' conftest.er1 >conftest.err
19337 cat conftest.err >&5
19338 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19339 (exit $ac_status); } && {
19340 test -z "$ac_c_werror_flag" ||
19341 test ! -s conftest.err
19342 } && test -s conftest.$ac_objext; then
19343 ac_lo=$ac_mid; break
19345 echo "$as_me: failed program was
:" >&5
19346 sed 's/^/| /' conftest.$ac_ext >&5
19348 ac_hi=`expr '(' $ac_mid ')' - 1`
19349 if test $ac_mid -le $ac_hi; then
19353 ac_mid=`expr 2 '*' $ac_mid`
19356 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19359 echo "$as_me: failed program was
:" >&5
19360 sed 's/^/| /' conftest.$ac_ext >&5
19365 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19368 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19369 # Binary search between lo and hi bounds.
19370 while test "x
$ac_lo" != "x
$ac_hi"; do
19371 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
19372 cat >conftest.$ac_ext <<_ACEOF
19375 cat confdefs.h >>conftest.$ac_ext
19376 cat >>conftest.$ac_ext <<_ACEOF
19377 /* end confdefs.h. */
19378 $ac_includes_default
19379 typedef short ac__type_sizeof_;
19383 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
19390 rm -f conftest.$ac_objext
19391 if { (ac_try="$ac_compile"
19392 case "(($ac_try" in
19393 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19394 *) ac_try_echo=$ac_try;;
19396 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19397 (eval "$ac_compile") 2>conftest.er1
19399 grep -v '^ *+' conftest.er1 >conftest.err
19401 cat conftest.err >&5
19402 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19403 (exit $ac_status); } && {
19404 test -z "$ac_c_werror_flag" ||
19405 test ! -s conftest.err
19406 } && test -s conftest.$ac_objext; then
19409 echo "$as_me: failed program was
:" >&5
19410 sed 's/^/| /' conftest.$ac_ext >&5
19412 ac_lo=`expr '(' $ac_mid ')' + 1`
19415 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19418 ?*) ac_cv_sizeof_short=$ac_lo;;
19419 '') if test "$ac_cv_type_short" = yes; then
19420 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(short
)
19421 See \
`config.log' for more details." >&5
19422 echo "$as_me: error: cannot compute sizeof (short)
19423 See \`config.log
' for more details." >&2;}
19424 { (exit 77); exit 77; }; }
19426 ac_cv_sizeof_short=0
19430 cat >conftest.$ac_ext <<_ACEOF
19433 cat confdefs.h >>conftest.$ac_ext
19434 cat >>conftest.$ac_ext <<_ACEOF
19435 /* end confdefs.h. */
19436 $ac_includes_default
19437 typedef short ac__type_sizeof_;
19438 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
19439 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
19441 #include <stdlib.h>
19446 FILE *f = fopen ("conftest.val", "w");
19449 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
19451 long int i = longval ();
19452 if (i != ((long int) (sizeof (ac__type_sizeof_))))
19454 fprintf (f, "%ld\n", i);
19458 unsigned long int i = ulongval ();
19459 if (i != ((long int) (sizeof (ac__type_sizeof_))))
19461 fprintf (f, "%lu\n", i);
19463 return ferror (f) || fclose (f) != 0;
19469 rm -f conftest$ac_exeext
19470 if { (ac_try="$ac_link"
19471 case "(($ac_try" in
19472 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19473 *) ac_try_echo=$ac_try;;
19475 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19476 (eval "$ac_link") 2>&5
19478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19479 (exit $ac_status); } && { ac_try='.
/conftest
$ac_exeext'
19480 { (case "(($ac_try" in
19481 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19482 *) ac_try_echo=$ac_try;;
19484 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19485 (eval "$ac_try") 2>&5
19487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19488 (exit $ac_status); }; }; then
19489 ac_cv_sizeof_short=`cat conftest.val`
19491 echo "$as_me: program exited with status $ac_status" >&5
19492 echo "$as_me: failed program was:" >&5
19493 sed 's
/^
/| /' conftest.$ac_ext >&5
19495 ( exit $ac_status )
19496 if test "$ac_cv_type_short" = yes; then
19497 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short)
19498 See \`config.log' for more details.
" >&5
19499 echo "$as_me: error
: cannot compute sizeof
(short
)
19500 See \
`config.log' for more details." >&2;}
19501 { (exit 77); exit 77; }; }
19503 ac_cv_sizeof_short=0
19506 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19510 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
19511 echo "${ECHO_T}$ac_cv_sizeof_short" >&6; }
19515 cat >>confdefs.h <<_ACEOF
19516 #define SIZEOF_SHORT $ac_cv_sizeof_short
19520 { echo "$as_me:$LINENO: checking for void *" >&5
19521 echo $ECHO_N "checking for void *... $ECHO_C" >&6; }
19522 if test "${ac_cv_type_void_p+set}" = set; then
19523 echo $ECHO_N "(cached) $ECHO_C" >&6
19525 cat >conftest.$ac_ext <<_ACEOF
19528 cat confdefs.h >>conftest.$ac_ext
19529 cat >>conftest.$ac_ext <<_ACEOF
19530 /* end confdefs.h. */
19531 $ac_includes_default
19532 typedef void * ac__type_new_;
19536 if ((ac__type_new_ *) 0)
19538 if (sizeof (ac__type_new_))
19544 rm -f conftest.$ac_objext
19545 if { (ac_try="$ac_compile"
19546 case "(($ac_try" in
19547 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
19548 *) ac_try_echo
=$ac_try;;
19550 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19551 (eval "$ac_compile") 2>conftest.er1
19553 grep -v '^ *+' conftest.er1
>conftest.err
19555 cat conftest.err
>&5
19556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19557 (exit $ac_status); } && {
19558 test -z "$ac_c_werror_flag" ||
19559 test ! -s conftest.err
19560 } && test -s conftest.
$ac_objext; then
19561 ac_cv_type_void_p
=yes
19563 echo "$as_me: failed program was:" >&5
19564 sed 's/^/| /' conftest.
$ac_ext >&5
19566 ac_cv_type_void_p
=no
19569 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19571 { echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
19572 echo "${ECHO_T}$ac_cv_type_void_p" >&6; }
19574 # The cast to long int works around a bug in the HP C Compiler
19575 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
19576 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
19577 # This bug is HP SR number 8606223364.
19578 { echo "$as_me:$LINENO: checking size of void *" >&5
19579 echo $ECHO_N "checking size of void *... $ECHO_C" >&6; }
19580 if test "${ac_cv_sizeof_void_p+set}" = set; then
19581 echo $ECHO_N "(cached) $ECHO_C" >&6
19583 if test "$cross_compiling" = yes; then
19584 # Depending upon the size, compute the lo and hi bounds.
19585 cat >conftest.
$ac_ext <<_ACEOF
19588 cat confdefs.h
>>conftest.
$ac_ext
19589 cat >>conftest.
$ac_ext <<_ACEOF
19590 /* end confdefs.h. */
19591 $ac_includes_default
19592 typedef void * ac__type_sizeof_;
19596 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
19603 rm -f conftest.
$ac_objext
19604 if { (ac_try
="$ac_compile"
19605 case "(($ac_try" in
19606 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
19607 *) ac_try_echo=$ac_try;;
19609 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19610 (eval "$ac_compile") 2>conftest.er1
19612 grep -v '^ *+' conftest.er1 >conftest.err
19614 cat conftest.err >&5
19615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19616 (exit $ac_status); } && {
19617 test -z "$ac_c_werror_flag" ||
19618 test ! -s conftest.err
19619 } && test -s conftest.$ac_objext; then
19622 cat >conftest.$ac_ext <<_ACEOF
19625 cat confdefs.h >>conftest.$ac_ext
19626 cat >>conftest.$ac_ext <<_ACEOF
19627 /* end confdefs.h. */
19628 $ac_includes_default
19629 typedef void * ac__type_sizeof_;
19633 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
19640 rm -f conftest.$ac_objext
19641 if { (ac_try="$ac_compile"
19642 case "(($ac_try" in
19643 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
19644 *) ac_try_echo
=$ac_try;;
19646 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19647 (eval "$ac_compile") 2>conftest.er1
19649 grep -v '^ *+' conftest.er1
>conftest.err
19651 cat conftest.err
>&5
19652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19653 (exit $ac_status); } && {
19654 test -z "$ac_c_werror_flag" ||
19655 test ! -s conftest.err
19656 } && test -s conftest.
$ac_objext; then
19657 ac_hi
=$ac_mid; break
19659 echo "$as_me: failed program was:" >&5
19660 sed 's/^/| /' conftest.
$ac_ext >&5
19662 ac_lo
=`expr $ac_mid + 1`
19663 if test $ac_lo -le $ac_mid; then
19667 ac_mid
=`expr 2 '*' $ac_mid + 1`
19670 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19673 echo "$as_me: failed program was:" >&5
19674 sed 's/^/| /' conftest.
$ac_ext >&5
19676 cat >conftest.
$ac_ext <<_ACEOF
19679 cat confdefs.h
>>conftest.
$ac_ext
19680 cat >>conftest.
$ac_ext <<_ACEOF
19681 /* end confdefs.h. */
19682 $ac_includes_default
19683 typedef void * ac__type_sizeof_;
19687 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
19694 rm -f conftest.
$ac_objext
19695 if { (ac_try
="$ac_compile"
19696 case "(($ac_try" in
19697 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
19698 *) ac_try_echo=$ac_try;;
19700 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19701 (eval "$ac_compile") 2>conftest.er1
19703 grep -v '^ *+' conftest.er1 >conftest.err
19705 cat conftest.err >&5
19706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19707 (exit $ac_status); } && {
19708 test -z "$ac_c_werror_flag" ||
19709 test ! -s conftest.err
19710 } && test -s conftest.$ac_objext; then
19713 cat >conftest.$ac_ext <<_ACEOF
19716 cat confdefs.h >>conftest.$ac_ext
19717 cat >>conftest.$ac_ext <<_ACEOF
19718 /* end confdefs.h. */
19719 $ac_includes_default
19720 typedef void * ac__type_sizeof_;
19724 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
19731 rm -f conftest.$ac_objext
19732 if { (ac_try="$ac_compile"
19733 case "(($ac_try" in
19734 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
19735 *) ac_try_echo
=$ac_try;;
19737 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19738 (eval "$ac_compile") 2>conftest.er1
19740 grep -v '^ *+' conftest.er1
>conftest.err
19742 cat conftest.err
>&5
19743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19744 (exit $ac_status); } && {
19745 test -z "$ac_c_werror_flag" ||
19746 test ! -s conftest.err
19747 } && test -s conftest.
$ac_objext; then
19748 ac_lo
=$ac_mid; break
19750 echo "$as_me: failed program was:" >&5
19751 sed 's/^/| /' conftest.
$ac_ext >&5
19753 ac_hi
=`expr '(' $ac_mid ')' - 1`
19754 if test $ac_mid -le $ac_hi; then
19758 ac_mid
=`expr 2 '*' $ac_mid`
19761 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19764 echo "$as_me: failed program was:" >&5
19765 sed 's/^/| /' conftest.
$ac_ext >&5
19770 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19773 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19774 # Binary search between lo and hi bounds.
19775 while test "x$ac_lo" != "x$ac_hi"; do
19776 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
19777 cat >conftest.
$ac_ext <<_ACEOF
19780 cat confdefs.h
>>conftest.
$ac_ext
19781 cat >>conftest.
$ac_ext <<_ACEOF
19782 /* end confdefs.h. */
19783 $ac_includes_default
19784 typedef void * ac__type_sizeof_;
19788 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
19795 rm -f conftest.
$ac_objext
19796 if { (ac_try
="$ac_compile"
19797 case "(($ac_try" in
19798 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
19799 *) ac_try_echo=$ac_try;;
19801 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19802 (eval "$ac_compile") 2>conftest.er1
19804 grep -v '^ *+' conftest.er1 >conftest.err
19806 cat conftest.err >&5
19807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19808 (exit $ac_status); } && {
19809 test -z "$ac_c_werror_flag" ||
19810 test ! -s conftest.err
19811 } && test -s conftest.$ac_objext; then
19814 echo "$as_me: failed program was:" >&5
19815 sed 's/^/| /' conftest.$ac_ext >&5
19817 ac_lo=`expr '(' $ac_mid ')' + 1`
19820 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19823 ?*) ac_cv_sizeof_void_p=$ac_lo;;
19824 '') if test "$ac_cv_type_void_p" = yes; then
19825 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *)
19826 See \`config.log
' for more details." >&5
19827 echo "$as_me: error: cannot compute sizeof (void *)
19828 See \`config.log' for more details.
" >&2;}
19829 { (exit 77); exit 77; }; }
19831 ac_cv_sizeof_void_p=0
19835 cat >conftest.$ac_ext <<_ACEOF
19838 cat confdefs.h >>conftest.$ac_ext
19839 cat >>conftest.$ac_ext <<_ACEOF
19840 /* end confdefs.h. */
19841 $ac_includes_default
19842 typedef void * ac__type_sizeof_;
19843 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
19844 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
19846 #include <stdlib.h>
19851 FILE *f = fopen ("conftest.val
", "w
");
19854 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
19856 long int i = longval ();
19857 if (i != ((long int) (sizeof (ac__type_sizeof_))))
19859 fprintf (f, "%ld
\n", i);
19863 unsigned long int i = ulongval ();
19864 if (i != ((long int) (sizeof (ac__type_sizeof_))))
19866 fprintf (f, "%lu
\n", i);
19868 return ferror (f) || fclose (f) != 0;
19874 rm -f conftest$ac_exeext
19875 if { (ac_try="$ac_link"
19876 case "(($ac_try" in
19877 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19878 *) ac_try_echo=$ac_try;;
19880 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19881 (eval "$ac_link") 2>&5
19883 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19884 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
19885 { (case "(($ac_try" in
19886 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19887 *) ac_try_echo=$ac_try;;
19889 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19890 (eval "$ac_try") 2>&5
19892 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19893 (exit $ac_status); }; }; then
19894 ac_cv_sizeof_void_p=`cat conftest.val`
19896 echo "$as_me: program exited with status
$ac_status" >&5
19897 echo "$as_me: failed program was
:" >&5
19898 sed 's/^/| /' conftest.$ac_ext >&5
19900 ( exit $ac_status )
19901 if test "$ac_cv_type_void_p" = yes; then
19902 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(void
*)
19903 See \
`config.log' for more details." >&5
19904 echo "$as_me: error: cannot compute sizeof (void *)
19905 See \`config.log
' for more details." >&2;}
19906 { (exit 77); exit 77; }; }
19908 ac_cv_sizeof_void_p=0
19911 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19915 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
19916 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6; }
19920 cat >>confdefs.h <<_ACEOF
19921 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
19925 { echo "$as_me:$LINENO: checking for int" >&5
19926 echo $ECHO_N "checking for int... $ECHO_C" >&6; }
19927 if test "${ac_cv_type_int+set}" = set; then
19928 echo $ECHO_N "(cached) $ECHO_C" >&6
19930 cat >conftest.$ac_ext <<_ACEOF
19933 cat confdefs.h >>conftest.$ac_ext
19934 cat >>conftest.$ac_ext <<_ACEOF
19935 /* end confdefs.h. */
19936 $ac_includes_default
19937 typedef int ac__type_new_;
19941 if ((ac__type_new_ *) 0)
19943 if (sizeof (ac__type_new_))
19949 rm -f conftest.$ac_objext
19950 if { (ac_try="$ac_compile"
19951 case "(($ac_try" in
19952 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19953 *) ac_try_echo=$ac_try;;
19955 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19956 (eval "$ac_compile") 2>conftest.er1
19958 grep -v '^
*+' conftest.er1 >conftest.err
19960 cat conftest.err >&5
19961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19962 (exit $ac_status); } && {
19963 test -z "$ac_c_werror_flag" ||
19964 test ! -s conftest.err
19965 } && test -s conftest.$ac_objext; then
19968 echo "$as_me: failed program was:" >&5
19969 sed 's
/^
/| /' conftest.$ac_ext >&5
19974 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19976 { echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
19977 echo "${ECHO_T}$ac_cv_type_int" >&6; }
19979 # The cast to long int works around a bug in the HP C Compiler
19980 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
19981 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
19982 # This bug is HP SR number 8606223364.
19983 { echo "$as_me:$LINENO: checking size of int" >&5
19984 echo $ECHO_N "checking size of int... $ECHO_C" >&6; }
19985 if test "${ac_cv_sizeof_int+set}" = set; then
19986 echo $ECHO_N "(cached) $ECHO_C" >&6
19988 if test "$cross_compiling" = yes; then
19989 # Depending upon the size, compute the lo and hi bounds.
19990 cat >conftest.
$ac_ext <<_ACEOF
19993 cat confdefs.h
>>conftest.
$ac_ext
19994 cat >>conftest.
$ac_ext <<_ACEOF
19995 /* end confdefs.h. */
19996 $ac_includes_default
19997 typedef int ac__type_sizeof_;
20001 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
20008 rm -f conftest.
$ac_objext
20009 if { (ac_try
="$ac_compile"
20010 case "(($ac_try" in
20011 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
20012 *) ac_try_echo=$ac_try;;
20014 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20015 (eval "$ac_compile") 2>conftest.er1
20017 grep -v '^ *+' conftest.er1 >conftest.err
20019 cat conftest.err >&5
20020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20021 (exit $ac_status); } && {
20022 test -z "$ac_c_werror_flag" ||
20023 test ! -s conftest.err
20024 } && test -s conftest.$ac_objext; then
20027 cat >conftest.$ac_ext <<_ACEOF
20030 cat confdefs.h >>conftest.$ac_ext
20031 cat >>conftest.$ac_ext <<_ACEOF
20032 /* end confdefs.h. */
20033 $ac_includes_default
20034 typedef int ac__type_sizeof_;
20038 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20045 rm -f conftest.$ac_objext
20046 if { (ac_try="$ac_compile"
20047 case "(($ac_try" in
20048 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
20049 *) ac_try_echo
=$ac_try;;
20051 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20052 (eval "$ac_compile") 2>conftest.er1
20054 grep -v '^ *+' conftest.er1
>conftest.err
20056 cat conftest.err
>&5
20057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20058 (exit $ac_status); } && {
20059 test -z "$ac_c_werror_flag" ||
20060 test ! -s conftest.err
20061 } && test -s conftest.
$ac_objext; then
20062 ac_hi
=$ac_mid; break
20064 echo "$as_me: failed program was:" >&5
20065 sed 's/^/| /' conftest.
$ac_ext >&5
20067 ac_lo
=`expr $ac_mid + 1`
20068 if test $ac_lo -le $ac_mid; then
20072 ac_mid
=`expr 2 '*' $ac_mid + 1`
20075 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20078 echo "$as_me: failed program was:" >&5
20079 sed 's/^/| /' conftest.
$ac_ext >&5
20081 cat >conftest.
$ac_ext <<_ACEOF
20084 cat confdefs.h
>>conftest.
$ac_ext
20085 cat >>conftest.
$ac_ext <<_ACEOF
20086 /* end confdefs.h. */
20087 $ac_includes_default
20088 typedef int ac__type_sizeof_;
20092 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
20099 rm -f conftest.
$ac_objext
20100 if { (ac_try
="$ac_compile"
20101 case "(($ac_try" in
20102 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
20103 *) ac_try_echo=$ac_try;;
20105 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20106 (eval "$ac_compile") 2>conftest.er1
20108 grep -v '^ *+' conftest.er1 >conftest.err
20110 cat conftest.err >&5
20111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20112 (exit $ac_status); } && {
20113 test -z "$ac_c_werror_flag" ||
20114 test ! -s conftest.err
20115 } && test -s conftest.$ac_objext; then
20118 cat >conftest.$ac_ext <<_ACEOF
20121 cat confdefs.h >>conftest.$ac_ext
20122 cat >>conftest.$ac_ext <<_ACEOF
20123 /* end confdefs.h. */
20124 $ac_includes_default
20125 typedef int ac__type_sizeof_;
20129 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
20136 rm -f conftest.$ac_objext
20137 if { (ac_try="$ac_compile"
20138 case "(($ac_try" in
20139 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
20140 *) ac_try_echo
=$ac_try;;
20142 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20143 (eval "$ac_compile") 2>conftest.er1
20145 grep -v '^ *+' conftest.er1
>conftest.err
20147 cat conftest.err
>&5
20148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20149 (exit $ac_status); } && {
20150 test -z "$ac_c_werror_flag" ||
20151 test ! -s conftest.err
20152 } && test -s conftest.
$ac_objext; then
20153 ac_lo
=$ac_mid; break
20155 echo "$as_me: failed program was:" >&5
20156 sed 's/^/| /' conftest.
$ac_ext >&5
20158 ac_hi
=`expr '(' $ac_mid ')' - 1`
20159 if test $ac_mid -le $ac_hi; then
20163 ac_mid
=`expr 2 '*' $ac_mid`
20166 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20169 echo "$as_me: failed program was:" >&5
20170 sed 's/^/| /' conftest.
$ac_ext >&5
20175 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20178 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20179 # Binary search between lo and hi bounds.
20180 while test "x$ac_lo" != "x$ac_hi"; do
20181 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20182 cat >conftest.
$ac_ext <<_ACEOF
20185 cat confdefs.h
>>conftest.
$ac_ext
20186 cat >>conftest.
$ac_ext <<_ACEOF
20187 /* end confdefs.h. */
20188 $ac_includes_default
20189 typedef int ac__type_sizeof_;
20193 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20200 rm -f conftest.
$ac_objext
20201 if { (ac_try
="$ac_compile"
20202 case "(($ac_try" in
20203 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
20204 *) ac_try_echo=$ac_try;;
20206 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20207 (eval "$ac_compile") 2>conftest.er1
20209 grep -v '^ *+' conftest.er1 >conftest.err
20211 cat conftest.err >&5
20212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20213 (exit $ac_status); } && {
20214 test -z "$ac_c_werror_flag" ||
20215 test ! -s conftest.err
20216 } && test -s conftest.$ac_objext; then
20219 echo "$as_me: failed program was:" >&5
20220 sed 's/^/| /' conftest.$ac_ext >&5
20222 ac_lo=`expr '(' $ac_mid ')' + 1`
20225 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20228 ?*) ac_cv_sizeof_int=$ac_lo;;
20229 '') if test "$ac_cv_type_int" = yes; then
20230 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int)
20231 See \`config.log
' for more details." >&5
20232 echo "$as_me: error: cannot compute sizeof (int)
20233 See \`config.log' for more details.
" >&2;}
20234 { (exit 77); exit 77; }; }
20240 cat >conftest.$ac_ext <<_ACEOF
20243 cat confdefs.h >>conftest.$ac_ext
20244 cat >>conftest.$ac_ext <<_ACEOF
20245 /* end confdefs.h. */
20246 $ac_includes_default
20247 typedef int ac__type_sizeof_;
20248 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
20249 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
20251 #include <stdlib.h>
20256 FILE *f = fopen ("conftest.val
", "w
");
20259 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
20261 long int i = longval ();
20262 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20264 fprintf (f, "%ld
\n", i);
20268 unsigned long int i = ulongval ();
20269 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20271 fprintf (f, "%lu
\n", i);
20273 return ferror (f) || fclose (f) != 0;
20279 rm -f conftest$ac_exeext
20280 if { (ac_try="$ac_link"
20281 case "(($ac_try" in
20282 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20283 *) ac_try_echo=$ac_try;;
20285 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
20286 (eval "$ac_link") 2>&5
20288 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
20289 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20290 { (case "(($ac_try" in
20291 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20292 *) ac_try_echo=$ac_try;;
20294 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
20295 (eval "$ac_try") 2>&5
20297 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
20298 (exit $ac_status); }; }; then
20299 ac_cv_sizeof_int=`cat conftest.val`
20301 echo "$as_me: program exited with status
$ac_status" >&5
20302 echo "$as_me: failed program was
:" >&5
20303 sed 's/^/| /' conftest.$ac_ext >&5
20305 ( exit $ac_status )
20306 if test "$ac_cv_type_int" = yes; then
20307 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(int
)
20308 See \
`config.log' for more details." >&5
20309 echo "$as_me: error: cannot compute sizeof (int)
20310 See \`config.log
' for more details." >&2;}
20311 { (exit 77); exit 77; }; }
20316 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20320 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
20321 echo "${ECHO_T}$ac_cv_sizeof_int" >&6; }
20325 cat >>confdefs.h <<_ACEOF
20326 #define SIZEOF_INT $ac_cv_sizeof_int
20330 { echo "$as_me:$LINENO: checking for long" >&5
20331 echo $ECHO_N "checking for long... $ECHO_C" >&6; }
20332 if test "${ac_cv_type_long+set}" = set; then
20333 echo $ECHO_N "(cached) $ECHO_C" >&6
20335 cat >conftest.$ac_ext <<_ACEOF
20338 cat confdefs.h >>conftest.$ac_ext
20339 cat >>conftest.$ac_ext <<_ACEOF
20340 /* end confdefs.h. */
20341 $ac_includes_default
20342 typedef long ac__type_new_;
20346 if ((ac__type_new_ *) 0)
20348 if (sizeof (ac__type_new_))
20354 rm -f conftest.$ac_objext
20355 if { (ac_try="$ac_compile"
20356 case "(($ac_try" in
20357 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20358 *) ac_try_echo=$ac_try;;
20360 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20361 (eval "$ac_compile") 2>conftest.er1
20363 grep -v '^
*+' conftest.er1 >conftest.err
20365 cat conftest.err >&5
20366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20367 (exit $ac_status); } && {
20368 test -z "$ac_c_werror_flag" ||
20369 test ! -s conftest.err
20370 } && test -s conftest.$ac_objext; then
20371 ac_cv_type_long=yes
20373 echo "$as_me: failed program was:" >&5
20374 sed 's
/^
/| /' conftest.$ac_ext >&5
20379 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20381 { echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
20382 echo "${ECHO_T}$ac_cv_type_long" >&6; }
20384 # The cast to long int works around a bug in the HP C Compiler
20385 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20386 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20387 # This bug is HP SR number 8606223364.
20388 { echo "$as_me:$LINENO: checking size of long" >&5
20389 echo $ECHO_N "checking size of long... $ECHO_C" >&6; }
20390 if test "${ac_cv_sizeof_long+set}" = set; then
20391 echo $ECHO_N "(cached) $ECHO_C" >&6
20393 if test "$cross_compiling" = yes; then
20394 # Depending upon the size, compute the lo and hi bounds.
20395 cat >conftest.
$ac_ext <<_ACEOF
20398 cat confdefs.h
>>conftest.
$ac_ext
20399 cat >>conftest.
$ac_ext <<_ACEOF
20400 /* end confdefs.h. */
20401 $ac_includes_default
20402 typedef long ac__type_sizeof_;
20406 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
20413 rm -f conftest.
$ac_objext
20414 if { (ac_try
="$ac_compile"
20415 case "(($ac_try" in
20416 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
20417 *) ac_try_echo=$ac_try;;
20419 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20420 (eval "$ac_compile") 2>conftest.er1
20422 grep -v '^ *+' conftest.er1 >conftest.err
20424 cat conftest.err >&5
20425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20426 (exit $ac_status); } && {
20427 test -z "$ac_c_werror_flag" ||
20428 test ! -s conftest.err
20429 } && test -s conftest.$ac_objext; then
20432 cat >conftest.$ac_ext <<_ACEOF
20435 cat confdefs.h >>conftest.$ac_ext
20436 cat >>conftest.$ac_ext <<_ACEOF
20437 /* end confdefs.h. */
20438 $ac_includes_default
20439 typedef long ac__type_sizeof_;
20443 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20450 rm -f conftest.$ac_objext
20451 if { (ac_try="$ac_compile"
20452 case "(($ac_try" in
20453 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
20454 *) ac_try_echo
=$ac_try;;
20456 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20457 (eval "$ac_compile") 2>conftest.er1
20459 grep -v '^ *+' conftest.er1
>conftest.err
20461 cat conftest.err
>&5
20462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20463 (exit $ac_status); } && {
20464 test -z "$ac_c_werror_flag" ||
20465 test ! -s conftest.err
20466 } && test -s conftest.
$ac_objext; then
20467 ac_hi
=$ac_mid; break
20469 echo "$as_me: failed program was:" >&5
20470 sed 's/^/| /' conftest.
$ac_ext >&5
20472 ac_lo
=`expr $ac_mid + 1`
20473 if test $ac_lo -le $ac_mid; then
20477 ac_mid
=`expr 2 '*' $ac_mid + 1`
20480 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20483 echo "$as_me: failed program was:" >&5
20484 sed 's/^/| /' conftest.
$ac_ext >&5
20486 cat >conftest.
$ac_ext <<_ACEOF
20489 cat confdefs.h
>>conftest.
$ac_ext
20490 cat >>conftest.
$ac_ext <<_ACEOF
20491 /* end confdefs.h. */
20492 $ac_includes_default
20493 typedef long ac__type_sizeof_;
20497 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
20504 rm -f conftest.
$ac_objext
20505 if { (ac_try
="$ac_compile"
20506 case "(($ac_try" in
20507 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
20508 *) ac_try_echo=$ac_try;;
20510 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20511 (eval "$ac_compile") 2>conftest.er1
20513 grep -v '^ *+' conftest.er1 >conftest.err
20515 cat conftest.err >&5
20516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20517 (exit $ac_status); } && {
20518 test -z "$ac_c_werror_flag" ||
20519 test ! -s conftest.err
20520 } && test -s conftest.$ac_objext; then
20523 cat >conftest.$ac_ext <<_ACEOF
20526 cat confdefs.h >>conftest.$ac_ext
20527 cat >>conftest.$ac_ext <<_ACEOF
20528 /* end confdefs.h. */
20529 $ac_includes_default
20530 typedef long ac__type_sizeof_;
20534 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
20541 rm -f conftest.$ac_objext
20542 if { (ac_try="$ac_compile"
20543 case "(($ac_try" in
20544 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
20545 *) ac_try_echo
=$ac_try;;
20547 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20548 (eval "$ac_compile") 2>conftest.er1
20550 grep -v '^ *+' conftest.er1
>conftest.err
20552 cat conftest.err
>&5
20553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20554 (exit $ac_status); } && {
20555 test -z "$ac_c_werror_flag" ||
20556 test ! -s conftest.err
20557 } && test -s conftest.
$ac_objext; then
20558 ac_lo
=$ac_mid; break
20560 echo "$as_me: failed program was:" >&5
20561 sed 's/^/| /' conftest.
$ac_ext >&5
20563 ac_hi
=`expr '(' $ac_mid ')' - 1`
20564 if test $ac_mid -le $ac_hi; then
20568 ac_mid
=`expr 2 '*' $ac_mid`
20571 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20574 echo "$as_me: failed program was:" >&5
20575 sed 's/^/| /' conftest.
$ac_ext >&5
20580 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20583 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20584 # Binary search between lo and hi bounds.
20585 while test "x$ac_lo" != "x$ac_hi"; do
20586 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20587 cat >conftest.
$ac_ext <<_ACEOF
20590 cat confdefs.h
>>conftest.
$ac_ext
20591 cat >>conftest.
$ac_ext <<_ACEOF
20592 /* end confdefs.h. */
20593 $ac_includes_default
20594 typedef long ac__type_sizeof_;
20598 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20605 rm -f conftest.
$ac_objext
20606 if { (ac_try
="$ac_compile"
20607 case "(($ac_try" in
20608 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
20609 *) ac_try_echo=$ac_try;;
20611 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20612 (eval "$ac_compile") 2>conftest.er1
20614 grep -v '^ *+' conftest.er1 >conftest.err
20616 cat conftest.err >&5
20617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20618 (exit $ac_status); } && {
20619 test -z "$ac_c_werror_flag" ||
20620 test ! -s conftest.err
20621 } && test -s conftest.$ac_objext; then
20624 echo "$as_me: failed program was:" >&5
20625 sed 's/^/| /' conftest.$ac_ext >&5
20627 ac_lo=`expr '(' $ac_mid ')' + 1`
20630 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20633 ?*) ac_cv_sizeof_long=$ac_lo;;
20634 '') if test "$ac_cv_type_long" = yes; then
20635 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long)
20636 See \`config.log
' for more details." >&5
20637 echo "$as_me: error: cannot compute sizeof (long)
20638 See \`config.log' for more details.
" >&2;}
20639 { (exit 77); exit 77; }; }
20641 ac_cv_sizeof_long=0
20645 cat >conftest.$ac_ext <<_ACEOF
20648 cat confdefs.h >>conftest.$ac_ext
20649 cat >>conftest.$ac_ext <<_ACEOF
20650 /* end confdefs.h. */
20651 $ac_includes_default
20652 typedef long ac__type_sizeof_;
20653 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
20654 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
20656 #include <stdlib.h>
20661 FILE *f = fopen ("conftest.val
", "w
");
20664 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
20666 long int i = longval ();
20667 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20669 fprintf (f, "%ld
\n", i);
20673 unsigned long int i = ulongval ();
20674 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20676 fprintf (f, "%lu
\n", i);
20678 return ferror (f) || fclose (f) != 0;
20684 rm -f conftest$ac_exeext
20685 if { (ac_try="$ac_link"
20686 case "(($ac_try" in
20687 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20688 *) ac_try_echo=$ac_try;;
20690 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
20691 (eval "$ac_link") 2>&5
20693 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
20694 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20695 { (case "(($ac_try" in
20696 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20697 *) ac_try_echo=$ac_try;;
20699 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
20700 (eval "$ac_try") 2>&5
20702 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
20703 (exit $ac_status); }; }; then
20704 ac_cv_sizeof_long=`cat conftest.val`
20706 echo "$as_me: program exited with status
$ac_status" >&5
20707 echo "$as_me: failed program was
:" >&5
20708 sed 's/^/| /' conftest.$ac_ext >&5
20710 ( exit $ac_status )
20711 if test "$ac_cv_type_long" = yes; then
20712 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(long
)
20713 See \
`config.log' for more details." >&5
20714 echo "$as_me: error: cannot compute sizeof (long)
20715 See \`config.log
' for more details." >&2;}
20716 { (exit 77); exit 77; }; }
20718 ac_cv_sizeof_long=0
20721 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20725 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
20726 echo "${ECHO_T}$ac_cv_sizeof_long" >&6; }
20730 cat >>confdefs.h <<_ACEOF
20731 #define SIZEOF_LONG $ac_cv_sizeof_long
20735 { echo "$as_me:$LINENO: checking for size_t" >&5
20736 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
20737 if test "${ac_cv_type_size_t+set}" = set; then
20738 echo $ECHO_N "(cached) $ECHO_C" >&6
20740 cat >conftest.$ac_ext <<_ACEOF
20743 cat confdefs.h >>conftest.$ac_ext
20744 cat >>conftest.$ac_ext <<_ACEOF
20745 /* end confdefs.h. */
20746 $ac_includes_default
20747 typedef size_t ac__type_new_;
20751 if ((ac__type_new_ *) 0)
20753 if (sizeof (ac__type_new_))
20759 rm -f conftest.$ac_objext
20760 if { (ac_try="$ac_compile"
20761 case "(($ac_try" in
20762 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20763 *) ac_try_echo=$ac_try;;
20765 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20766 (eval "$ac_compile") 2>conftest.er1
20768 grep -v '^
*+' conftest.er1 >conftest.err
20770 cat conftest.err >&5
20771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20772 (exit $ac_status); } && {
20773 test -z "$ac_c_werror_flag" ||
20774 test ! -s conftest.err
20775 } && test -s conftest.$ac_objext; then
20776 ac_cv_type_size_t=yes
20778 echo "$as_me: failed program was:" >&5
20779 sed 's
/^
/| /' conftest.$ac_ext >&5
20781 ac_cv_type_size_t=no
20784 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20786 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
20787 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
20789 # The cast to long int works around a bug in the HP C Compiler
20790 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20791 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20792 # This bug is HP SR number 8606223364.
20793 { echo "$as_me:$LINENO: checking size of size_t" >&5
20794 echo $ECHO_N "checking size of size_t... $ECHO_C" >&6; }
20795 if test "${ac_cv_sizeof_size_t+set}" = set; then
20796 echo $ECHO_N "(cached) $ECHO_C" >&6
20798 if test "$cross_compiling" = yes; then
20799 # Depending upon the size, compute the lo and hi bounds.
20800 cat >conftest.
$ac_ext <<_ACEOF
20803 cat confdefs.h
>>conftest.
$ac_ext
20804 cat >>conftest.
$ac_ext <<_ACEOF
20805 /* end confdefs.h. */
20806 $ac_includes_default
20807 typedef size_t ac__type_sizeof_;
20811 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
20818 rm -f conftest.
$ac_objext
20819 if { (ac_try
="$ac_compile"
20820 case "(($ac_try" in
20821 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
20822 *) ac_try_echo=$ac_try;;
20824 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20825 (eval "$ac_compile") 2>conftest.er1
20827 grep -v '^ *+' conftest.er1 >conftest.err
20829 cat conftest.err >&5
20830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20831 (exit $ac_status); } && {
20832 test -z "$ac_c_werror_flag" ||
20833 test ! -s conftest.err
20834 } && test -s conftest.$ac_objext; then
20837 cat >conftest.$ac_ext <<_ACEOF
20840 cat confdefs.h >>conftest.$ac_ext
20841 cat >>conftest.$ac_ext <<_ACEOF
20842 /* end confdefs.h. */
20843 $ac_includes_default
20844 typedef size_t ac__type_sizeof_;
20848 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20855 rm -f conftest.$ac_objext
20856 if { (ac_try="$ac_compile"
20857 case "(($ac_try" in
20858 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
20859 *) ac_try_echo
=$ac_try;;
20861 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20862 (eval "$ac_compile") 2>conftest.er1
20864 grep -v '^ *+' conftest.er1
>conftest.err
20866 cat conftest.err
>&5
20867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20868 (exit $ac_status); } && {
20869 test -z "$ac_c_werror_flag" ||
20870 test ! -s conftest.err
20871 } && test -s conftest.
$ac_objext; then
20872 ac_hi
=$ac_mid; break
20874 echo "$as_me: failed program was:" >&5
20875 sed 's/^/| /' conftest.
$ac_ext >&5
20877 ac_lo
=`expr $ac_mid + 1`
20878 if test $ac_lo -le $ac_mid; then
20882 ac_mid
=`expr 2 '*' $ac_mid + 1`
20885 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20888 echo "$as_me: failed program was:" >&5
20889 sed 's/^/| /' conftest.
$ac_ext >&5
20891 cat >conftest.
$ac_ext <<_ACEOF
20894 cat confdefs.h
>>conftest.
$ac_ext
20895 cat >>conftest.
$ac_ext <<_ACEOF
20896 /* end confdefs.h. */
20897 $ac_includes_default
20898 typedef size_t ac__type_sizeof_;
20902 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
20909 rm -f conftest.
$ac_objext
20910 if { (ac_try
="$ac_compile"
20911 case "(($ac_try" in
20912 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
20913 *) ac_try_echo=$ac_try;;
20915 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20916 (eval "$ac_compile") 2>conftest.er1
20918 grep -v '^ *+' conftest.er1 >conftest.err
20920 cat conftest.err >&5
20921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20922 (exit $ac_status); } && {
20923 test -z "$ac_c_werror_flag" ||
20924 test ! -s conftest.err
20925 } && test -s conftest.$ac_objext; then
20928 cat >conftest.$ac_ext <<_ACEOF
20931 cat confdefs.h >>conftest.$ac_ext
20932 cat >>conftest.$ac_ext <<_ACEOF
20933 /* end confdefs.h. */
20934 $ac_includes_default
20935 typedef size_t ac__type_sizeof_;
20939 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
20946 rm -f conftest.$ac_objext
20947 if { (ac_try="$ac_compile"
20948 case "(($ac_try" in
20949 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
20950 *) ac_try_echo
=$ac_try;;
20952 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20953 (eval "$ac_compile") 2>conftest.er1
20955 grep -v '^ *+' conftest.er1
>conftest.err
20957 cat conftest.err
>&5
20958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20959 (exit $ac_status); } && {
20960 test -z "$ac_c_werror_flag" ||
20961 test ! -s conftest.err
20962 } && test -s conftest.
$ac_objext; then
20963 ac_lo
=$ac_mid; break
20965 echo "$as_me: failed program was:" >&5
20966 sed 's/^/| /' conftest.
$ac_ext >&5
20968 ac_hi
=`expr '(' $ac_mid ')' - 1`
20969 if test $ac_mid -le $ac_hi; then
20973 ac_mid
=`expr 2 '*' $ac_mid`
20976 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20979 echo "$as_me: failed program was:" >&5
20980 sed 's/^/| /' conftest.
$ac_ext >&5
20985 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20988 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20989 # Binary search between lo and hi bounds.
20990 while test "x$ac_lo" != "x$ac_hi"; do
20991 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20992 cat >conftest.
$ac_ext <<_ACEOF
20995 cat confdefs.h
>>conftest.
$ac_ext
20996 cat >>conftest.
$ac_ext <<_ACEOF
20997 /* end confdefs.h. */
20998 $ac_includes_default
20999 typedef size_t ac__type_sizeof_;
21003 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21010 rm -f conftest.
$ac_objext
21011 if { (ac_try
="$ac_compile"
21012 case "(($ac_try" in
21013 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
21014 *) ac_try_echo=$ac_try;;
21016 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21017 (eval "$ac_compile") 2>conftest.er1
21019 grep -v '^ *+' conftest.er1 >conftest.err
21021 cat conftest.err >&5
21022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21023 (exit $ac_status); } && {
21024 test -z "$ac_c_werror_flag" ||
21025 test ! -s conftest.err
21026 } && test -s conftest.$ac_objext; then
21029 echo "$as_me: failed program was:" >&5
21030 sed 's/^/| /' conftest.$ac_ext >&5
21032 ac_lo=`expr '(' $ac_mid ')' + 1`
21035 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21038 ?*) ac_cv_sizeof_size_t=$ac_lo;;
21039 '') if test "$ac_cv_type_size_t" = yes; then
21040 { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t)
21041 See \`config.log
' for more details." >&5
21042 echo "$as_me: error: cannot compute sizeof (size_t)
21043 See \`config.log' for more details.
" >&2;}
21044 { (exit 77); exit 77; }; }
21046 ac_cv_sizeof_size_t=0
21050 cat >conftest.$ac_ext <<_ACEOF
21053 cat confdefs.h >>conftest.$ac_ext
21054 cat >>conftest.$ac_ext <<_ACEOF
21055 /* end confdefs.h. */
21056 $ac_includes_default
21057 typedef size_t ac__type_sizeof_;
21058 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
21059 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
21061 #include <stdlib.h>
21066 FILE *f = fopen ("conftest.val
", "w
");
21069 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
21071 long int i = longval ();
21072 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21074 fprintf (f, "%ld
\n", i);
21078 unsigned long int i = ulongval ();
21079 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21081 fprintf (f, "%lu
\n", i);
21083 return ferror (f) || fclose (f) != 0;
21089 rm -f conftest$ac_exeext
21090 if { (ac_try="$ac_link"
21091 case "(($ac_try" in
21092 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21093 *) ac_try_echo=$ac_try;;
21095 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21096 (eval "$ac_link") 2>&5
21098 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21099 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21100 { (case "(($ac_try" in
21101 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21102 *) ac_try_echo=$ac_try;;
21104 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21105 (eval "$ac_try") 2>&5
21107 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21108 (exit $ac_status); }; }; then
21109 ac_cv_sizeof_size_t=`cat conftest.val`
21111 echo "$as_me: program exited with status
$ac_status" >&5
21112 echo "$as_me: failed program was
:" >&5
21113 sed 's/^/| /' conftest.$ac_ext >&5
21115 ( exit $ac_status )
21116 if test "$ac_cv_type_size_t" = yes; then
21117 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(size_t
)
21118 See \
`config.log' for more details." >&5
21119 echo "$as_me: error: cannot compute sizeof (size_t)
21120 See \`config.log
' for more details." >&2;}
21121 { (exit 77); exit 77; }; }
21123 ac_cv_sizeof_size_t=0
21126 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21130 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_size_t" >&5
21131 echo "${ECHO_T}$ac_cv_sizeof_size_t" >&6; }
21135 cat >>confdefs.h <<_ACEOF
21136 #define SIZEOF_SIZE_T $ac_cv_sizeof_size_t
21143 { echo "$as_me:$LINENO: checking for long long" >&5
21144 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
21145 if test "${ac_cv_type_long_long+set}" = set; then
21146 echo $ECHO_N "(cached) $ECHO_C" >&6
21148 cat >conftest.$ac_ext <<_ACEOF
21151 cat confdefs.h >>conftest.$ac_ext
21152 cat >>conftest.$ac_ext <<_ACEOF
21153 /* end confdefs.h. */
21154 $ac_includes_default
21155 typedef long long ac__type_new_;
21159 if ((ac__type_new_ *) 0)
21161 if (sizeof (ac__type_new_))
21167 rm -f conftest.$ac_objext
21168 if { (ac_try="$ac_compile"
21169 case "(($ac_try" in
21170 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21171 *) ac_try_echo=$ac_try;;
21173 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21174 (eval "$ac_compile") 2>conftest.er1
21176 grep -v '^
*+' conftest.er1 >conftest.err
21178 cat conftest.err >&5
21179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21180 (exit $ac_status); } && {
21181 test -z "$ac_c_werror_flag" ||
21182 test ! -s conftest.err
21183 } && test -s conftest.$ac_objext; then
21184 ac_cv_type_long_long=yes
21186 echo "$as_me: failed program was:" >&5
21187 sed 's
/^
/| /' conftest.$ac_ext >&5
21189 ac_cv_type_long_long=no
21192 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21194 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
21195 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
21197 # The cast to long int works around a bug in the HP C Compiler
21198 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21199 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21200 # This bug is HP SR number 8606223364.
21201 { echo "$as_me:$LINENO: checking size of long long" >&5
21202 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
21203 if test "${ac_cv_sizeof_long_long+set}" = set; then
21204 echo $ECHO_N "(cached) $ECHO_C" >&6
21206 if test "$cross_compiling" = yes; then
21207 # Depending upon the size, compute the lo and hi bounds.
21208 cat >conftest.
$ac_ext <<_ACEOF
21211 cat confdefs.h
>>conftest.
$ac_ext
21212 cat >>conftest.
$ac_ext <<_ACEOF
21213 /* end confdefs.h. */
21214 $ac_includes_default
21215 typedef long long ac__type_sizeof_;
21219 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
21226 rm -f conftest.
$ac_objext
21227 if { (ac_try
="$ac_compile"
21228 case "(($ac_try" in
21229 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
21230 *) ac_try_echo=$ac_try;;
21232 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21233 (eval "$ac_compile") 2>conftest.er1
21235 grep -v '^ *+' conftest.er1 >conftest.err
21237 cat conftest.err >&5
21238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21239 (exit $ac_status); } && {
21240 test -z "$ac_c_werror_flag" ||
21241 test ! -s conftest.err
21242 } && test -s conftest.$ac_objext; then
21245 cat >conftest.$ac_ext <<_ACEOF
21248 cat confdefs.h >>conftest.$ac_ext
21249 cat >>conftest.$ac_ext <<_ACEOF
21250 /* end confdefs.h. */
21251 $ac_includes_default
21252 typedef long long ac__type_sizeof_;
21256 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21263 rm -f conftest.$ac_objext
21264 if { (ac_try="$ac_compile"
21265 case "(($ac_try" in
21266 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
21267 *) ac_try_echo
=$ac_try;;
21269 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21270 (eval "$ac_compile") 2>conftest.er1
21272 grep -v '^ *+' conftest.er1
>conftest.err
21274 cat conftest.err
>&5
21275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21276 (exit $ac_status); } && {
21277 test -z "$ac_c_werror_flag" ||
21278 test ! -s conftest.err
21279 } && test -s conftest.
$ac_objext; then
21280 ac_hi
=$ac_mid; break
21282 echo "$as_me: failed program was:" >&5
21283 sed 's/^/| /' conftest.
$ac_ext >&5
21285 ac_lo
=`expr $ac_mid + 1`
21286 if test $ac_lo -le $ac_mid; then
21290 ac_mid
=`expr 2 '*' $ac_mid + 1`
21293 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21296 echo "$as_me: failed program was:" >&5
21297 sed 's/^/| /' conftest.
$ac_ext >&5
21299 cat >conftest.
$ac_ext <<_ACEOF
21302 cat confdefs.h
>>conftest.
$ac_ext
21303 cat >>conftest.
$ac_ext <<_ACEOF
21304 /* end confdefs.h. */
21305 $ac_includes_default
21306 typedef long long ac__type_sizeof_;
21310 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
21317 rm -f conftest.
$ac_objext
21318 if { (ac_try
="$ac_compile"
21319 case "(($ac_try" in
21320 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
21321 *) ac_try_echo=$ac_try;;
21323 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21324 (eval "$ac_compile") 2>conftest.er1
21326 grep -v '^ *+' conftest.er1 >conftest.err
21328 cat conftest.err >&5
21329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21330 (exit $ac_status); } && {
21331 test -z "$ac_c_werror_flag" ||
21332 test ! -s conftest.err
21333 } && test -s conftest.$ac_objext; then
21336 cat >conftest.$ac_ext <<_ACEOF
21339 cat confdefs.h >>conftest.$ac_ext
21340 cat >>conftest.$ac_ext <<_ACEOF
21341 /* end confdefs.h. */
21342 $ac_includes_default
21343 typedef long long ac__type_sizeof_;
21347 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
21354 rm -f conftest.$ac_objext
21355 if { (ac_try="$ac_compile"
21356 case "(($ac_try" in
21357 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
21358 *) ac_try_echo
=$ac_try;;
21360 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21361 (eval "$ac_compile") 2>conftest.er1
21363 grep -v '^ *+' conftest.er1
>conftest.err
21365 cat conftest.err
>&5
21366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21367 (exit $ac_status); } && {
21368 test -z "$ac_c_werror_flag" ||
21369 test ! -s conftest.err
21370 } && test -s conftest.
$ac_objext; then
21371 ac_lo
=$ac_mid; break
21373 echo "$as_me: failed program was:" >&5
21374 sed 's/^/| /' conftest.
$ac_ext >&5
21376 ac_hi
=`expr '(' $ac_mid ')' - 1`
21377 if test $ac_mid -le $ac_hi; then
21381 ac_mid
=`expr 2 '*' $ac_mid`
21384 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21387 echo "$as_me: failed program was:" >&5
21388 sed 's/^/| /' conftest.
$ac_ext >&5
21393 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21396 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21397 # Binary search between lo and hi bounds.
21398 while test "x$ac_lo" != "x$ac_hi"; do
21399 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21400 cat >conftest.
$ac_ext <<_ACEOF
21403 cat confdefs.h
>>conftest.
$ac_ext
21404 cat >>conftest.
$ac_ext <<_ACEOF
21405 /* end confdefs.h. */
21406 $ac_includes_default
21407 typedef long long ac__type_sizeof_;
21411 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21418 rm -f conftest.
$ac_objext
21419 if { (ac_try
="$ac_compile"
21420 case "(($ac_try" in
21421 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
21422 *) ac_try_echo=$ac_try;;
21424 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21425 (eval "$ac_compile") 2>conftest.er1
21427 grep -v '^ *+' conftest.er1 >conftest.err
21429 cat conftest.err >&5
21430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21431 (exit $ac_status); } && {
21432 test -z "$ac_c_werror_flag" ||
21433 test ! -s conftest.err
21434 } && test -s conftest.$ac_objext; then
21437 echo "$as_me: failed program was:" >&5
21438 sed 's/^/| /' conftest.$ac_ext >&5
21440 ac_lo=`expr '(' $ac_mid ')' + 1`
21443 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21446 ?*) ac_cv_sizeof_long_long=$ac_lo;;
21447 '') if test "$ac_cv_type_long_long" = yes; then
21448 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
21449 See \`config.log
' for more details." >&5
21450 echo "$as_me: error: cannot compute sizeof (long long)
21451 See \`config.log' for more details.
" >&2;}
21452 { (exit 77); exit 77; }; }
21454 ac_cv_sizeof_long_long=0
21458 cat >conftest.$ac_ext <<_ACEOF
21461 cat confdefs.h >>conftest.$ac_ext
21462 cat >>conftest.$ac_ext <<_ACEOF
21463 /* end confdefs.h. */
21464 $ac_includes_default
21465 typedef long long ac__type_sizeof_;
21466 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
21467 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
21469 #include <stdlib.h>
21474 FILE *f = fopen ("conftest.val
", "w
");
21477 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
21479 long int i = longval ();
21480 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21482 fprintf (f, "%ld
\n", i);
21486 unsigned long int i = ulongval ();
21487 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21489 fprintf (f, "%lu
\n", i);
21491 return ferror (f) || fclose (f) != 0;
21497 rm -f conftest$ac_exeext
21498 if { (ac_try="$ac_link"
21499 case "(($ac_try" in
21500 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21501 *) ac_try_echo=$ac_try;;
21503 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21504 (eval "$ac_link") 2>&5
21506 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21507 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21508 { (case "(($ac_try" in
21509 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21510 *) ac_try_echo=$ac_try;;
21512 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21513 (eval "$ac_try") 2>&5
21515 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21516 (exit $ac_status); }; }; then
21517 ac_cv_sizeof_long_long=`cat conftest.val`
21519 echo "$as_me: program exited with status
$ac_status" >&5
21520 echo "$as_me: failed program was
:" >&5
21521 sed 's/^/| /' conftest.$ac_ext >&5
21523 ( exit $ac_status )
21524 if test "$ac_cv_type_long_long" = yes; then
21525 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(long long
)
21526 See \
`config.log' for more details." >&5
21527 echo "$as_me: error: cannot compute sizeof (long long)
21528 See \`config.log
' for more details." >&2;}
21529 { (exit 77); exit 77; }; }
21531 ac_cv_sizeof_long_long=0
21534 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21538 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
21539 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
21543 cat >>confdefs.h <<_ACEOF
21544 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
21550 { echo "$as_me:$LINENO: checking for long long" >&5
21551 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
21552 if test "${ac_cv_type_long_long+set}" = set; then
21553 echo $ECHO_N "(cached) $ECHO_C" >&6
21555 cat >conftest.$ac_ext <<_ACEOF
21558 cat confdefs.h >>conftest.$ac_ext
21559 cat >>conftest.$ac_ext <<_ACEOF
21560 /* end confdefs.h. */
21561 $ac_includes_default
21562 typedef long long ac__type_new_;
21566 if ((ac__type_new_ *) 0)
21568 if (sizeof (ac__type_new_))
21574 rm -f conftest.$ac_objext
21575 if { (ac_try="$ac_compile"
21576 case "(($ac_try" in
21577 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21578 *) ac_try_echo=$ac_try;;
21580 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21581 (eval "$ac_compile") 2>conftest.er1
21583 grep -v '^
*+' conftest.er1 >conftest.err
21585 cat conftest.err >&5
21586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21587 (exit $ac_status); } && {
21588 test -z "$ac_c_werror_flag" ||
21589 test ! -s conftest.err
21590 } && test -s conftest.$ac_objext; then
21591 ac_cv_type_long_long=yes
21593 echo "$as_me: failed program was:" >&5
21594 sed 's
/^
/| /' conftest.$ac_ext >&5
21596 ac_cv_type_long_long=no
21599 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21601 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
21602 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
21604 # The cast to long int works around a bug in the HP C Compiler
21605 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21606 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21607 # This bug is HP SR number 8606223364.
21608 { echo "$as_me:$LINENO: checking size of long long" >&5
21609 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
21610 if test "${ac_cv_sizeof_long_long+set}" = set; then
21611 echo $ECHO_N "(cached) $ECHO_C" >&6
21613 if test "$cross_compiling" = yes; then
21614 # Depending upon the size, compute the lo and hi bounds.
21615 cat >conftest.
$ac_ext <<_ACEOF
21618 cat confdefs.h
>>conftest.
$ac_ext
21619 cat >>conftest.
$ac_ext <<_ACEOF
21620 /* end confdefs.h. */
21621 $ac_includes_default
21622 typedef long long ac__type_sizeof_;
21626 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
21633 rm -f conftest.
$ac_objext
21634 if { (ac_try
="$ac_compile"
21635 case "(($ac_try" in
21636 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
21637 *) ac_try_echo=$ac_try;;
21639 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21640 (eval "$ac_compile") 2>conftest.er1
21642 grep -v '^ *+' conftest.er1 >conftest.err
21644 cat conftest.err >&5
21645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21646 (exit $ac_status); } && {
21647 test -z "$ac_c_werror_flag" ||
21648 test ! -s conftest.err
21649 } && test -s conftest.$ac_objext; then
21652 cat >conftest.$ac_ext <<_ACEOF
21655 cat confdefs.h >>conftest.$ac_ext
21656 cat >>conftest.$ac_ext <<_ACEOF
21657 /* end confdefs.h. */
21658 $ac_includes_default
21659 typedef long long ac__type_sizeof_;
21663 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21670 rm -f conftest.$ac_objext
21671 if { (ac_try="$ac_compile"
21672 case "(($ac_try" in
21673 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
21674 *) ac_try_echo
=$ac_try;;
21676 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21677 (eval "$ac_compile") 2>conftest.er1
21679 grep -v '^ *+' conftest.er1
>conftest.err
21681 cat conftest.err
>&5
21682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21683 (exit $ac_status); } && {
21684 test -z "$ac_c_werror_flag" ||
21685 test ! -s conftest.err
21686 } && test -s conftest.
$ac_objext; then
21687 ac_hi
=$ac_mid; break
21689 echo "$as_me: failed program was:" >&5
21690 sed 's/^/| /' conftest.
$ac_ext >&5
21692 ac_lo
=`expr $ac_mid + 1`
21693 if test $ac_lo -le $ac_mid; then
21697 ac_mid
=`expr 2 '*' $ac_mid + 1`
21700 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21703 echo "$as_me: failed program was:" >&5
21704 sed 's/^/| /' conftest.
$ac_ext >&5
21706 cat >conftest.
$ac_ext <<_ACEOF
21709 cat confdefs.h
>>conftest.
$ac_ext
21710 cat >>conftest.
$ac_ext <<_ACEOF
21711 /* end confdefs.h. */
21712 $ac_includes_default
21713 typedef long long ac__type_sizeof_;
21717 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
21724 rm -f conftest.
$ac_objext
21725 if { (ac_try
="$ac_compile"
21726 case "(($ac_try" in
21727 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
21728 *) ac_try_echo=$ac_try;;
21730 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21731 (eval "$ac_compile") 2>conftest.er1
21733 grep -v '^ *+' conftest.er1 >conftest.err
21735 cat conftest.err >&5
21736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21737 (exit $ac_status); } && {
21738 test -z "$ac_c_werror_flag" ||
21739 test ! -s conftest.err
21740 } && test -s conftest.$ac_objext; then
21743 cat >conftest.$ac_ext <<_ACEOF
21746 cat confdefs.h >>conftest.$ac_ext
21747 cat >>conftest.$ac_ext <<_ACEOF
21748 /* end confdefs.h. */
21749 $ac_includes_default
21750 typedef long long ac__type_sizeof_;
21754 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
21761 rm -f conftest.$ac_objext
21762 if { (ac_try="$ac_compile"
21763 case "(($ac_try" in
21764 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
21765 *) ac_try_echo
=$ac_try;;
21767 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21768 (eval "$ac_compile") 2>conftest.er1
21770 grep -v '^ *+' conftest.er1
>conftest.err
21772 cat conftest.err
>&5
21773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21774 (exit $ac_status); } && {
21775 test -z "$ac_c_werror_flag" ||
21776 test ! -s conftest.err
21777 } && test -s conftest.
$ac_objext; then
21778 ac_lo
=$ac_mid; break
21780 echo "$as_me: failed program was:" >&5
21781 sed 's/^/| /' conftest.
$ac_ext >&5
21783 ac_hi
=`expr '(' $ac_mid ')' - 1`
21784 if test $ac_mid -le $ac_hi; then
21788 ac_mid
=`expr 2 '*' $ac_mid`
21791 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21794 echo "$as_me: failed program was:" >&5
21795 sed 's/^/| /' conftest.
$ac_ext >&5
21800 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21803 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21804 # Binary search between lo and hi bounds.
21805 while test "x$ac_lo" != "x$ac_hi"; do
21806 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21807 cat >conftest.
$ac_ext <<_ACEOF
21810 cat confdefs.h
>>conftest.
$ac_ext
21811 cat >>conftest.
$ac_ext <<_ACEOF
21812 /* end confdefs.h. */
21813 $ac_includes_default
21814 typedef long long ac__type_sizeof_;
21818 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21825 rm -f conftest.
$ac_objext
21826 if { (ac_try
="$ac_compile"
21827 case "(($ac_try" in
21828 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
21829 *) ac_try_echo=$ac_try;;
21831 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21832 (eval "$ac_compile") 2>conftest.er1
21834 grep -v '^ *+' conftest.er1 >conftest.err
21836 cat conftest.err >&5
21837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21838 (exit $ac_status); } && {
21839 test -z "$ac_c_werror_flag" ||
21840 test ! -s conftest.err
21841 } && test -s conftest.$ac_objext; then
21844 echo "$as_me: failed program was:" >&5
21845 sed 's/^/| /' conftest.$ac_ext >&5
21847 ac_lo=`expr '(' $ac_mid ')' + 1`
21850 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21853 ?*) ac_cv_sizeof_long_long=$ac_lo;;
21854 '') if test "$ac_cv_type_long_long" = yes; then
21855 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
21856 See \`config.log
' for more details." >&5
21857 echo "$as_me: error: cannot compute sizeof (long long)
21858 See \`config.log' for more details.
" >&2;}
21859 { (exit 77); exit 77; }; }
21861 ac_cv_sizeof_long_long=0
21865 cat >conftest.$ac_ext <<_ACEOF
21868 cat confdefs.h >>conftest.$ac_ext
21869 cat >>conftest.$ac_ext <<_ACEOF
21870 /* end confdefs.h. */
21871 $ac_includes_default
21872 typedef long long ac__type_sizeof_;
21873 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
21874 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
21876 #include <stdlib.h>
21881 FILE *f = fopen ("conftest.val
", "w
");
21884 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
21886 long int i = longval ();
21887 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21889 fprintf (f, "%ld
\n", i);
21893 unsigned long int i = ulongval ();
21894 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21896 fprintf (f, "%lu
\n", i);
21898 return ferror (f) || fclose (f) != 0;
21904 rm -f conftest$ac_exeext
21905 if { (ac_try="$ac_link"
21906 case "(($ac_try" in
21907 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21908 *) ac_try_echo=$ac_try;;
21910 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21911 (eval "$ac_link") 2>&5
21913 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21914 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21915 { (case "(($ac_try" in
21916 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21917 *) ac_try_echo=$ac_try;;
21919 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21920 (eval "$ac_try") 2>&5
21922 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21923 (exit $ac_status); }; }; then
21924 ac_cv_sizeof_long_long=`cat conftest.val`
21926 echo "$as_me: program exited with status
$ac_status" >&5
21927 echo "$as_me: failed program was
:" >&5
21928 sed 's/^/| /' conftest.$ac_ext >&5
21930 ( exit $ac_status )
21931 if test "$ac_cv_type_long_long" = yes; then
21932 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(long long
)
21933 See \
`config.log' for more details." >&5
21934 echo "$as_me: error: cannot compute sizeof (long long)
21935 See \`config.log
' for more details." >&2;}
21936 { (exit 77); exit 77; }; }
21938 ac_cv_sizeof_long_long=0
21941 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21945 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
21946 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
21950 cat >>confdefs.h <<_ACEOF
21951 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
21955 if test "$ac_cv_sizeof_long_long" != 0; then
21956 CPPFLAGS="-D_INCLUDE_LONGLONG $CPPFLAGS"
21960 { echo "$as_me:$LINENO: checking for long long" >&5
21961 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
21962 if test "${ac_cv_type_long_long+set}" = set; then
21963 echo $ECHO_N "(cached) $ECHO_C" >&6
21965 cat >conftest.$ac_ext <<_ACEOF
21968 cat confdefs.h >>conftest.$ac_ext
21969 cat >>conftest.$ac_ext <<_ACEOF
21970 /* end confdefs.h. */
21971 $ac_includes_default
21972 typedef long long ac__type_new_;
21976 if ((ac__type_new_ *) 0)
21978 if (sizeof (ac__type_new_))
21984 rm -f conftest.$ac_objext
21985 if { (ac_try="$ac_compile"
21986 case "(($ac_try" in
21987 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21988 *) ac_try_echo=$ac_try;;
21990 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21991 (eval "$ac_compile") 2>conftest.er1
21993 grep -v '^
*+' conftest.er1 >conftest.err
21995 cat conftest.err >&5
21996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21997 (exit $ac_status); } && {
21998 test -z "$ac_c_werror_flag" ||
21999 test ! -s conftest.err
22000 } && test -s conftest.$ac_objext; then
22001 ac_cv_type_long_long=yes
22003 echo "$as_me: failed program was:" >&5
22004 sed 's
/^
/| /' conftest.$ac_ext >&5
22006 ac_cv_type_long_long=no
22009 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22011 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
22012 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
22014 # The cast to long int works around a bug in the HP C Compiler
22015 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
22016 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
22017 # This bug is HP SR number 8606223364.
22018 { echo "$as_me:$LINENO: checking size of long long" >&5
22019 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
22020 if test "${ac_cv_sizeof_long_long+set}" = set; then
22021 echo $ECHO_N "(cached) $ECHO_C" >&6
22023 if test "$cross_compiling" = yes; then
22024 # Depending upon the size, compute the lo and hi bounds.
22025 cat >conftest.
$ac_ext <<_ACEOF
22028 cat confdefs.h
>>conftest.
$ac_ext
22029 cat >>conftest.
$ac_ext <<_ACEOF
22030 /* end confdefs.h. */
22031 $ac_includes_default
22032 typedef long long ac__type_sizeof_;
22036 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
22043 rm -f conftest.
$ac_objext
22044 if { (ac_try
="$ac_compile"
22045 case "(($ac_try" in
22046 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
22047 *) ac_try_echo=$ac_try;;
22049 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22050 (eval "$ac_compile") 2>conftest.er1
22052 grep -v '^ *+' conftest.er1 >conftest.err
22054 cat conftest.err >&5
22055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22056 (exit $ac_status); } && {
22057 test -z "$ac_c_werror_flag" ||
22058 test ! -s conftest.err
22059 } && test -s conftest.$ac_objext; then
22062 cat >conftest.$ac_ext <<_ACEOF
22065 cat confdefs.h >>conftest.$ac_ext
22066 cat >>conftest.$ac_ext <<_ACEOF
22067 /* end confdefs.h. */
22068 $ac_includes_default
22069 typedef long long ac__type_sizeof_;
22073 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22080 rm -f conftest.$ac_objext
22081 if { (ac_try="$ac_compile"
22082 case "(($ac_try" in
22083 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
22084 *) ac_try_echo
=$ac_try;;
22086 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22087 (eval "$ac_compile") 2>conftest.er1
22089 grep -v '^ *+' conftest.er1
>conftest.err
22091 cat conftest.err
>&5
22092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22093 (exit $ac_status); } && {
22094 test -z "$ac_c_werror_flag" ||
22095 test ! -s conftest.err
22096 } && test -s conftest.
$ac_objext; then
22097 ac_hi
=$ac_mid; break
22099 echo "$as_me: failed program was:" >&5
22100 sed 's/^/| /' conftest.
$ac_ext >&5
22102 ac_lo
=`expr $ac_mid + 1`
22103 if test $ac_lo -le $ac_mid; then
22107 ac_mid
=`expr 2 '*' $ac_mid + 1`
22110 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22113 echo "$as_me: failed program was:" >&5
22114 sed 's/^/| /' conftest.
$ac_ext >&5
22116 cat >conftest.
$ac_ext <<_ACEOF
22119 cat confdefs.h
>>conftest.
$ac_ext
22120 cat >>conftest.
$ac_ext <<_ACEOF
22121 /* end confdefs.h. */
22122 $ac_includes_default
22123 typedef long long ac__type_sizeof_;
22127 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
22134 rm -f conftest.
$ac_objext
22135 if { (ac_try
="$ac_compile"
22136 case "(($ac_try" in
22137 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
22138 *) ac_try_echo=$ac_try;;
22140 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22141 (eval "$ac_compile") 2>conftest.er1
22143 grep -v '^ *+' conftest.er1 >conftest.err
22145 cat conftest.err >&5
22146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22147 (exit $ac_status); } && {
22148 test -z "$ac_c_werror_flag" ||
22149 test ! -s conftest.err
22150 } && test -s conftest.$ac_objext; then
22153 cat >conftest.$ac_ext <<_ACEOF
22156 cat confdefs.h >>conftest.$ac_ext
22157 cat >>conftest.$ac_ext <<_ACEOF
22158 /* end confdefs.h. */
22159 $ac_includes_default
22160 typedef long long ac__type_sizeof_;
22164 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
22171 rm -f conftest.$ac_objext
22172 if { (ac_try="$ac_compile"
22173 case "(($ac_try" in
22174 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
22175 *) ac_try_echo
=$ac_try;;
22177 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22178 (eval "$ac_compile") 2>conftest.er1
22180 grep -v '^ *+' conftest.er1
>conftest.err
22182 cat conftest.err
>&5
22183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22184 (exit $ac_status); } && {
22185 test -z "$ac_c_werror_flag" ||
22186 test ! -s conftest.err
22187 } && test -s conftest.
$ac_objext; then
22188 ac_lo
=$ac_mid; break
22190 echo "$as_me: failed program was:" >&5
22191 sed 's/^/| /' conftest.
$ac_ext >&5
22193 ac_hi
=`expr '(' $ac_mid ')' - 1`
22194 if test $ac_mid -le $ac_hi; then
22198 ac_mid
=`expr 2 '*' $ac_mid`
22201 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22204 echo "$as_me: failed program was:" >&5
22205 sed 's/^/| /' conftest.
$ac_ext >&5
22210 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22213 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22214 # Binary search between lo and hi bounds.
22215 while test "x$ac_lo" != "x$ac_hi"; do
22216 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
22217 cat >conftest.
$ac_ext <<_ACEOF
22220 cat confdefs.h
>>conftest.
$ac_ext
22221 cat >>conftest.
$ac_ext <<_ACEOF
22222 /* end confdefs.h. */
22223 $ac_includes_default
22224 typedef long long ac__type_sizeof_;
22228 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22235 rm -f conftest.
$ac_objext
22236 if { (ac_try
="$ac_compile"
22237 case "(($ac_try" in
22238 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
22239 *) ac_try_echo=$ac_try;;
22241 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22242 (eval "$ac_compile") 2>conftest.er1
22244 grep -v '^ *+' conftest.er1 >conftest.err
22246 cat conftest.err >&5
22247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22248 (exit $ac_status); } && {
22249 test -z "$ac_c_werror_flag" ||
22250 test ! -s conftest.err
22251 } && test -s conftest.$ac_objext; then
22254 echo "$as_me: failed program was:" >&5
22255 sed 's/^/| /' conftest.$ac_ext >&5
22257 ac_lo=`expr '(' $ac_mid ')' + 1`
22260 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22263 ?*) ac_cv_sizeof_long_long=$ac_lo;;
22264 '') if test "$ac_cv_type_long_long" = yes; then
22265 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
22266 See \`config.log
' for more details." >&5
22267 echo "$as_me: error: cannot compute sizeof (long long)
22268 See \`config.log' for more details.
" >&2;}
22269 { (exit 77); exit 77; }; }
22271 ac_cv_sizeof_long_long=0
22275 cat >conftest.$ac_ext <<_ACEOF
22278 cat confdefs.h >>conftest.$ac_ext
22279 cat >>conftest.$ac_ext <<_ACEOF
22280 /* end confdefs.h. */
22281 $ac_includes_default
22282 typedef long long ac__type_sizeof_;
22283 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
22284 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
22286 #include <stdlib.h>
22291 FILE *f = fopen ("conftest.val
", "w
");
22294 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
22296 long int i = longval ();
22297 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22299 fprintf (f, "%ld
\n", i);
22303 unsigned long int i = ulongval ();
22304 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22306 fprintf (f, "%lu
\n", i);
22308 return ferror (f) || fclose (f) != 0;
22314 rm -f conftest$ac_exeext
22315 if { (ac_try="$ac_link"
22316 case "(($ac_try" in
22317 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22318 *) ac_try_echo=$ac_try;;
22320 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
22321 (eval "$ac_link") 2>&5
22323 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
22324 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22325 { (case "(($ac_try" in
22326 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22327 *) ac_try_echo=$ac_try;;
22329 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
22330 (eval "$ac_try") 2>&5
22332 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
22333 (exit $ac_status); }; }; then
22334 ac_cv_sizeof_long_long=`cat conftest.val`
22336 echo "$as_me: program exited with status
$ac_status" >&5
22337 echo "$as_me: failed program was
:" >&5
22338 sed 's/^/| /' conftest.$ac_ext >&5
22340 ( exit $ac_status )
22341 if test "$ac_cv_type_long_long" = yes; then
22342 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(long long
)
22343 See \
`config.log' for more details." >&5
22344 echo "$as_me: error: cannot compute sizeof (long long)
22345 See \`config.log
' for more details." >&2;}
22346 { (exit 77); exit 77; }; }
22348 ac_cv_sizeof_long_long=0
22351 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22355 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
22356 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
22360 cat >>confdefs.h <<_ACEOF
22361 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
22367 { echo "$as_me:$LINENO: checking for wchar_t" >&5
22368 echo $ECHO_N "checking for wchar_t... $ECHO_C" >&6; }
22369 if test "${ac_cv_type_wchar_t+set}" = set; then
22370 echo $ECHO_N "(cached) $ECHO_C" >&6
22372 cat >conftest.$ac_ext <<_ACEOF
22375 cat confdefs.h >>conftest.$ac_ext
22376 cat >>conftest.$ac_ext <<_ACEOF
22377 /* end confdefs.h. */
22379 /* DJGPP's wchar_t is now a keyword
in C
++ (still not C though
) */
22380 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
22381 # error "fake wchar_t"
22383 #ifdef HAVE_WCHAR_H
22385 # include <stddef.h>
22387 # include <wchar.h>
22389 #ifdef HAVE_STDLIB_H
22390 # include <stdlib.h>
22396 typedef wchar_t ac__type_new_
;
22400 if ((ac__type_new_
*) 0)
22402 if (sizeof
(ac__type_new_
))
22408 rm -f conftest.
$ac_objext
22409 if { (ac_try
="$ac_compile"
22410 case "(($ac_try" in
22411 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
22412 *) ac_try_echo=$ac_try;;
22414 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22415 (eval "$ac_compile") 2>conftest.er1
22417 grep -v '^ *+' conftest.er1 >conftest.err
22419 cat conftest.err >&5
22420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22421 (exit $ac_status); } && {
22422 test -z "$ac_c_werror_flag" ||
22423 test ! -s conftest.err
22424 } && test -s conftest.$ac_objext; then
22425 ac_cv_type_wchar_t=yes
22427 echo "$as_me: failed program was:" >&5
22428 sed 's/^/| /' conftest.$ac_ext >&5
22430 ac_cv_type_wchar_t=no
22433 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22435 { echo "$as_me:$LINENO: result: $ac_cv_type_wchar_t" >&5
22436 echo "${ECHO_T}$ac_cv_type_wchar_t" >&6; }
22438 # The cast to long int works around a bug in the HP C Compiler
22439 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
22440 # declarations like `int a3
[[(sizeof
(unsigned char
)) >= 0]];'.
22441 # This bug is HP SR number 8606223364.
22442 { echo "$as_me:$LINENO: checking size of wchar_t" >&5
22443 echo $ECHO_N "checking size of wchar_t... $ECHO_C" >&6; }
22444 if test "${ac_cv_sizeof_wchar_t+set}" = set; then
22445 echo $ECHO_N "(cached) $ECHO_C" >&6
22447 if test "$cross_compiling" = yes; then
22448 # Depending upon the size, compute the lo and hi bounds.
22449 cat >conftest.$ac_ext <<_ACEOF
22452 cat confdefs.h >>conftest.$ac_ext
22453 cat >>conftest.$ac_ext <<_ACEOF
22454 /* end confdefs.h. */
22456 /* DJGPP's wchar_t is now a keyword
in C
++ (still not C though
) */
22457 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
22458 # error "fake wchar_t"
22460 #ifdef HAVE_WCHAR_H
22462 # include <stddef.h>
22464 # include <wchar.h>
22466 #ifdef HAVE_STDLIB_H
22467 # include <stdlib.h>
22473 typedef wchar_t ac__type_sizeof_
;
22477 static int test_array
[1 - 2 * !(((long int
) (sizeof
(ac__type_sizeof_
))) >= 0)];
22484 rm -f conftest.
$ac_objext
22485 if { (ac_try
="$ac_compile"
22486 case "(($ac_try" in
22487 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
22488 *) ac_try_echo=$ac_try;;
22490 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22491 (eval "$ac_compile") 2>conftest.er1
22493 grep -v '^ *+' conftest.er1 >conftest.err
22495 cat conftest.err >&5
22496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22497 (exit $ac_status); } && {
22498 test -z "$ac_c_werror_flag" ||
22499 test ! -s conftest.err
22500 } && test -s conftest.$ac_objext; then
22503 cat >conftest.$ac_ext <<_ACEOF
22506 cat confdefs.h >>conftest.$ac_ext
22507 cat >>conftest.$ac_ext <<_ACEOF
22508 /* end confdefs.h. */
22510 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
22511 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
22512 # error "fake wchar_t"
22514 #ifdef HAVE_WCHAR_H
22516 # include <stddef.h>
22518 # include <wchar.h>
22520 #ifdef HAVE_STDLIB_H
22521 # include <stdlib.h>
22527 typedef wchar_t ac__type_sizeof_;
22531 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22538 rm -f conftest.$ac_objext
22539 if { (ac_try="$ac_compile"
22540 case "(($ac_try" in
22541 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
22542 *) ac_try_echo
=$ac_try;;
22544 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22545 (eval "$ac_compile") 2>conftest.er1
22547 grep -v '^ *+' conftest.er1
>conftest.err
22549 cat conftest.err
>&5
22550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22551 (exit $ac_status); } && {
22552 test -z "$ac_c_werror_flag" ||
22553 test ! -s conftest.err
22554 } && test -s conftest.
$ac_objext; then
22555 ac_hi
=$ac_mid; break
22557 echo "$as_me: failed program was:" >&5
22558 sed 's/^/| /' conftest.
$ac_ext >&5
22560 ac_lo
=`expr $ac_mid + 1`
22561 if test $ac_lo -le $ac_mid; then
22565 ac_mid
=`expr 2 '*' $ac_mid + 1`
22568 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22571 echo "$as_me: failed program was:" >&5
22572 sed 's/^/| /' conftest.
$ac_ext >&5
22574 cat >conftest.
$ac_ext <<_ACEOF
22577 cat confdefs.h
>>conftest.
$ac_ext
22578 cat >>conftest.
$ac_ext <<_ACEOF
22579 /* end confdefs.h. */
22581 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
22582 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
22583 # error "fake wchar_t"
22585 #ifdef HAVE_WCHAR_H
22587 # include <stddef.h>
22589 # include <wchar.h>
22591 #ifdef HAVE_STDLIB_H
22592 # include <stdlib.h>
22598 typedef wchar_t ac__type_sizeof_;
22602 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
22609 rm -f conftest.
$ac_objext
22610 if { (ac_try
="$ac_compile"
22611 case "(($ac_try" in
22612 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
22613 *) ac_try_echo=$ac_try;;
22615 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22616 (eval "$ac_compile") 2>conftest.er1
22618 grep -v '^ *+' conftest.er1 >conftest.err
22620 cat conftest.err >&5
22621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22622 (exit $ac_status); } && {
22623 test -z "$ac_c_werror_flag" ||
22624 test ! -s conftest.err
22625 } && test -s conftest.$ac_objext; then
22628 cat >conftest.$ac_ext <<_ACEOF
22631 cat confdefs.h >>conftest.$ac_ext
22632 cat >>conftest.$ac_ext <<_ACEOF
22633 /* end confdefs.h. */
22635 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
22636 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
22637 # error "fake wchar_t"
22639 #ifdef HAVE_WCHAR_H
22641 # include <stddef.h>
22643 # include <wchar.h>
22645 #ifdef HAVE_STDLIB_H
22646 # include <stdlib.h>
22652 typedef wchar_t ac__type_sizeof_;
22656 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
22663 rm -f conftest.$ac_objext
22664 if { (ac_try="$ac_compile"
22665 case "(($ac_try" in
22666 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
22667 *) ac_try_echo
=$ac_try;;
22669 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22670 (eval "$ac_compile") 2>conftest.er1
22672 grep -v '^ *+' conftest.er1
>conftest.err
22674 cat conftest.err
>&5
22675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22676 (exit $ac_status); } && {
22677 test -z "$ac_c_werror_flag" ||
22678 test ! -s conftest.err
22679 } && test -s conftest.
$ac_objext; then
22680 ac_lo
=$ac_mid; break
22682 echo "$as_me: failed program was:" >&5
22683 sed 's/^/| /' conftest.
$ac_ext >&5
22685 ac_hi
=`expr '(' $ac_mid ')' - 1`
22686 if test $ac_mid -le $ac_hi; then
22690 ac_mid
=`expr 2 '*' $ac_mid`
22693 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22696 echo "$as_me: failed program was:" >&5
22697 sed 's/^/| /' conftest.
$ac_ext >&5
22702 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22705 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22706 # Binary search between lo and hi bounds.
22707 while test "x$ac_lo" != "x$ac_hi"; do
22708 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
22709 cat >conftest.
$ac_ext <<_ACEOF
22712 cat confdefs.h
>>conftest.
$ac_ext
22713 cat >>conftest.
$ac_ext <<_ACEOF
22714 /* end confdefs.h. */
22716 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
22717 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
22718 # error "fake wchar_t"
22720 #ifdef HAVE_WCHAR_H
22722 # include <stddef.h>
22724 # include <wchar.h>
22726 #ifdef HAVE_STDLIB_H
22727 # include <stdlib.h>
22733 typedef wchar_t ac__type_sizeof_;
22737 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22744 rm -f conftest.
$ac_objext
22745 if { (ac_try
="$ac_compile"
22746 case "(($ac_try" in
22747 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
22748 *) ac_try_echo=$ac_try;;
22750 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22751 (eval "$ac_compile") 2>conftest.er1
22753 grep -v '^ *+' conftest.er1 >conftest.err
22755 cat conftest.err >&5
22756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22757 (exit $ac_status); } && {
22758 test -z "$ac_c_werror_flag" ||
22759 test ! -s conftest.err
22760 } && test -s conftest.$ac_objext; then
22763 echo "$as_me: failed program was:" >&5
22764 sed 's/^/| /' conftest.$ac_ext >&5
22766 ac_lo=`expr '(' $ac_mid ')' + 1`
22769 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22772 ?*) ac_cv_sizeof_wchar_t=$ac_lo;;
22773 '') if test "$ac_cv_type_wchar_t" = yes; then
22774 { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t)
22775 See \`config.log
' for more details." >&5
22776 echo "$as_me: error: cannot compute sizeof (wchar_t)
22777 See \`config.log' for more details.
" >&2;}
22778 { (exit 77); exit 77; }; }
22780 ac_cv_sizeof_wchar_t=0
22784 cat >conftest.$ac_ext <<_ACEOF
22787 cat confdefs.h >>conftest.$ac_ext
22788 cat >>conftest.$ac_ext <<_ACEOF
22789 /* end confdefs.h. */
22791 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
22792 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
22793 # error "fake wchar_t
"
22795 #ifdef HAVE_WCHAR_H
22797 # include <stddef.h>
22799 # include <wchar.h>
22801 #ifdef HAVE_STDLIB_H
22802 # include <stdlib.h>
22808 typedef wchar_t ac__type_sizeof_;
22809 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
22810 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
22812 #include <stdlib.h>
22817 FILE *f = fopen ("conftest.val
", "w
");
22820 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
22822 long int i = longval ();
22823 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22825 fprintf (f, "%ld
\n", i);
22829 unsigned long int i = ulongval ();
22830 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22832 fprintf (f, "%lu
\n", i);
22834 return ferror (f) || fclose (f) != 0;
22840 rm -f conftest$ac_exeext
22841 if { (ac_try="$ac_link"
22842 case "(($ac_try" in
22843 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22844 *) ac_try_echo=$ac_try;;
22846 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
22847 (eval "$ac_link") 2>&5
22849 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
22850 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22851 { (case "(($ac_try" in
22852 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22853 *) ac_try_echo=$ac_try;;
22855 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
22856 (eval "$ac_try") 2>&5
22858 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
22859 (exit $ac_status); }; }; then
22860 ac_cv_sizeof_wchar_t=`cat conftest.val`
22862 echo "$as_me: program exited with status
$ac_status" >&5
22863 echo "$as_me: failed program was
:" >&5
22864 sed 's/^/| /' conftest.$ac_ext >&5
22866 ( exit $ac_status )
22867 if test "$ac_cv_type_wchar_t" = yes; then
22868 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(wchar_t
)
22869 See \
`config.log' for more details." >&5
22870 echo "$as_me: error: cannot compute sizeof (wchar_t)
22871 See \`config.log
' for more details." >&2;}
22872 { (exit 77); exit 77; }; }
22874 ac_cv_sizeof_wchar_t=0
22877 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22881 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_wchar_t" >&5
22882 echo "${ECHO_T}$ac_cv_sizeof_wchar_t" >&6; }
22886 cat >>confdefs.h <<_ACEOF
22887 #define SIZEOF_WCHAR_T $ac_cv_sizeof_wchar_t
22891 if test "$ac_cv_sizeof_wchar_t" != 0; then
22897 { echo "$as_me:$LINENO: checking for va_copy" >&5
22898 echo $ECHO_N "checking for va_copy... $ECHO_C" >&6; }
22899 if test "${wx_cv_func_va_copy+set}" = set; then
22900 echo $ECHO_N "(cached) $ECHO_C" >&6
22904 ac_cpp='$CXXCPP $CPPFLAGS'
22905 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
22906 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
22907 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22909 cat >conftest.$ac_ext <<_ACEOF
22911 #include <stdarg.h>
22912 void foo(char *f, ...)
22926 rm -f conftest.$ac_objext conftest$ac_exeext
22927 if { (ac_try="$ac_link"
22928 case "(($ac_try" in
22929 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22930 *) ac_try_echo=$ac_try;;
22932 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22933 (eval "$ac_link") 2>conftest.er1
22935 grep -v '^
*+' conftest.er1 >conftest.err
22937 cat conftest.err >&5
22938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22939 (exit $ac_status); } && {
22940 test -z "$ac_cxx_werror_flag" ||
22941 test ! -s conftest.err
22942 } && test -s conftest$ac_exeext &&
22943 $as_test_x conftest$ac_exeext; then
22944 wx_cv_func_va_copy=yes
22946 echo "$as_me: failed program was:" >&5
22947 sed 's
/^
/| /' conftest.$ac_ext >&5
22949 wx_cv_func_va_copy=no
22953 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
22954 conftest$ac_exeext conftest.$ac_ext
22956 ac_cpp='$CPP $CPPFLAGS'
22957 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
22958 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
22959 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22964 { echo "$as_me:$LINENO: result: $wx_cv_func_va_copy" >&5
22965 echo "${ECHO_T}$wx_cv_func_va_copy" >&6; }
22967 if test $wx_cv_func_va_copy = "yes"; then
22968 cat >>confdefs.h <<\_ACEOF
22969 #define HAVE_VA_COPY 1
22973 { echo "$as_me:$LINENO: checking if va_list can be copied by value" >&5
22974 echo $ECHO_N "checking if va_list can be copied by value... $ECHO_C" >&6; }
22975 if test "${wx_cv_type_va_list_lvalue+set}" = set; then
22976 echo $ECHO_N "(cached) $ECHO_C" >&6
22979 if test "$cross_compiling" = yes; then
22980 wx_cv_type_va_list_lvalue=yes
22983 cat >conftest.$ac_ext <<_ACEOF
22985 #include <stdarg.h>
22986 int foo(char *f, ...)
22991 if ( va_arg(ap1, int) != 17 || va_arg(ap2, int) != 17 )
22999 return foo("hi", 17);
23002 rm -f conftest$ac_exeext
23003 if { (ac_try="$ac_link"
23004 case "(($ac_try" in
23005 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23006 *) ac_try_echo=$ac_try;;
23008 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23009 (eval "$ac_link") 2>&5
23011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23012 (exit $ac_status); } && { ac_try='.
/conftest
$ac_exeext'
23013 { (case "(($ac_try" in
23014 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23015 *) ac_try_echo=$ac_try;;
23017 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23018 (eval "$ac_try") 2>&5
23020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23021 (exit $ac_status); }; }; then
23022 wx_cv_type_va_list_lvalue=yes
23024 echo "$as_me: program exited with status $ac_status" >&5
23025 echo "$as_me: failed program was:" >&5
23026 sed 's
/^
/| /' conftest.$ac_ext >&5
23028 ( exit $ac_status )
23029 wx_cv_type_va_list_lvalue=no
23031 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
23038 { echo "$as_me:$LINENO: result: $wx_cv_type_va_list_lvalue" >&5
23039 echo "${ECHO_T}$wx_cv_type_va_list_lvalue" >&6; }
23041 if test $wx_cv_type_va_list_lvalue != "yes"; then
23042 cat >>confdefs.h <<\_ACEOF
23043 #define VA_LIST_IS_ARRAY 1
23049 if test "$wxUSE_VARARG_MACROS" = "yes"; then
23051 { echo "$as_me:$LINENO: checking whether the compiler supports variadic macros" >&5
23052 echo $ECHO_N "checking whether the compiler supports variadic macros... $ECHO_C" >&6; }
23053 if test "${wx_cv_have_variadic_macros+set}" = set; then
23054 echo $ECHO_N "(cached) $ECHO_C" >&6
23058 ac_cpp='$CXXCPP $CPPFLAGS'
23059 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
23060 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
23061 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23063 cat >conftest.$ac_ext <<_ACEOF
23066 cat confdefs.h >>conftest.$ac_ext
23067 cat >>conftest.$ac_ext <<_ACEOF
23068 /* end confdefs.h. */
23071 #define test(fmt, ...) printf(fmt, __VA_ARGS__)
23077 test("%s %d %p", "test", 1, 0);
23084 rm -f conftest.$ac_objext
23085 if { (ac_try="$ac_compile"
23086 case "(($ac_try" in
23087 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23088 *) ac_try_echo=$ac_try;;
23090 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23091 (eval "$ac_compile") 2>conftest.er1
23093 grep -v '^
*+' conftest.er1 >conftest.err
23095 cat conftest.err >&5
23096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23097 (exit $ac_status); } && {
23098 test -z "$ac_cxx_werror_flag" ||
23099 test ! -s conftest.err
23100 } && test -s conftest.$ac_objext; then
23101 wx_cv_have_variadic_macros=yes
23103 echo "$as_me: failed program was:" >&5
23104 sed 's
/^
/| /' conftest.$ac_ext >&5
23106 wx_cv_have_variadic_macros=no
23110 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23112 ac_cpp='$CPP $CPPFLAGS'
23113 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
23114 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
23115 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23120 { echo "$as_me:$LINENO: result: $wx_cv_have_variadic_macros" >&5
23121 echo "${ECHO_T}$wx_cv_have_variadic_macros" >&6; }
23123 if test $wx_cv_have_variadic_macros = "yes"; then
23124 cat >>confdefs.h <<\_ACEOF
23125 #define HAVE_VARIADIC_MACROS 1
23131 # Check whether --enable-largefile was given.
23132 if test "${enable_largefile+set}" = set; then
23133 enableval=$enable_largefile;
23136 if test "$enable_largefile" != no; then
23139 { echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
23140 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6; }
23141 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
23142 echo $ECHO_N "(cached) $ECHO_C" >&6
23145 cat >conftest.$ac_ext <<_ACEOF
23148 cat confdefs.h >>conftest.$ac_ext
23149 cat >>conftest.$ac_ext <<_ACEOF
23150 /* end confdefs.h. */
23151 #define _FILE_OFFSET_BITS 64
23152 #include <sys/types.h>
23157 unsigned int field: sizeof(off_t) == 8;
23164 rm -f conftest.$ac_objext
23165 if { (ac_try="$ac_compile"
23166 case "(($ac_try" in
23167 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23168 *) ac_try_echo=$ac_try;;
23170 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23171 (eval "$ac_compile") 2>conftest.er1
23173 grep -v '^
*+' conftest.er1 >conftest.err
23175 cat conftest.err >&5
23176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23177 (exit $ac_status); } && {
23178 test -z "$ac_c_werror_flag" ||
23179 test ! -s conftest.err
23180 } && test -s conftest.$ac_objext; then
23181 ac_cv_sys_file_offset_bits=64
23183 echo "$as_me: failed program was:" >&5
23184 sed 's
/^
/| /' conftest.$ac_ext >&5
23186 ac_cv_sys_file_offset_bits=no
23189 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23193 { echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
23194 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6; }
23196 if test "$ac_cv_sys_file_offset_bits" != no; then
23198 cat >>confdefs.h <<_ACEOF
23199 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
23204 if test "x$wx_largefile" != "xyes"; then
23206 { echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
23207 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6; }
23208 if test "${ac_cv_sys_large_files+set}" = set; then
23209 echo $ECHO_N "(cached) $ECHO_C" >&6
23212 cat >conftest.$ac_ext <<_ACEOF
23215 cat confdefs.h >>conftest.$ac_ext
23216 cat >>conftest.$ac_ext <<_ACEOF
23217 /* end confdefs.h. */
23218 #define _LARGE_FILES 1
23219 #include <sys/types.h>
23224 unsigned int field: sizeof(off_t) == 8;
23231 rm -f conftest.$ac_objext
23232 if { (ac_try="$ac_compile"
23233 case "(($ac_try" in
23234 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23235 *) ac_try_echo=$ac_try;;
23237 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23238 (eval "$ac_compile") 2>conftest.er1
23240 grep -v '^
*+' conftest.er1 >conftest.err
23242 cat conftest.err >&5
23243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23244 (exit $ac_status); } && {
23245 test -z "$ac_c_werror_flag" ||
23246 test ! -s conftest.err
23247 } && test -s conftest.$ac_objext; then
23248 ac_cv_sys_large_files=1
23250 echo "$as_me: failed program was:" >&5
23251 sed 's
/^
/| /' conftest.$ac_ext >&5
23253 ac_cv_sys_large_files=no
23256 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23260 { echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
23261 echo "${ECHO_T}$ac_cv_sys_large_files" >&6; }
23263 if test "$ac_cv_sys_large_files" != no; then
23265 cat >>confdefs.h <<_ACEOF
23266 #define _LARGE_FILES $ac_cv_sys_large_files
23273 { echo "$as_me:$LINENO: checking if large file support is available" >&5
23274 echo $ECHO_N "checking if large file support is available... $ECHO_C" >&6; }
23275 if test "x$wx_largefile" = "xyes"; then
23276 cat >>confdefs.h <<\_ACEOF
23277 #define HAVE_LARGEFILE_SUPPORT 1
23281 { echo "$as_me:$LINENO: result: $wx_largefile" >&5
23282 echo "${ECHO_T}$wx_largefile" >&6; }
23286 if test "x$wx_largefile" = "xyes"; then
23287 if test "x$ac_cv_sys_file_offset_bits" = "x64"; then
23288 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES"
23290 if test "$USE_HPUX" = 1 -a "$GXX" = "yes"; then
23291 { echo "$as_me:$LINENO: checking if -D__STDC_EXT__ is required" >&5
23292 echo $ECHO_N "checking if -D__STDC_EXT__ is required... $ECHO_C" >&6; }
23293 if test "${wx_cv_STDC_EXT_required+set}" = set; then
23294 echo $ECHO_N "(cached) $ECHO_C" >&6
23298 ac_cpp='$CXXCPP $CPPFLAGS'
23299 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
23300 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
23301 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23303 cat >conftest.$ac_ext <<_ACEOF
23306 cat confdefs.h >>conftest.$ac_ext
23307 cat >>conftest.$ac_ext <<_ACEOF
23308 /* end confdefs.h. */
23314 #ifndef __STDC_EXT__
23322 rm -f conftest.$ac_objext
23323 if { (ac_try="$ac_compile"
23324 case "(($ac_try" in
23325 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23326 *) ac_try_echo=$ac_try;;
23328 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23329 (eval "$ac_compile") 2>conftest.er1
23331 grep -v '^
*+' conftest.er1 >conftest.err
23333 cat conftest.err >&5
23334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23335 (exit $ac_status); } && {
23336 test -z "$ac_cxx_werror_flag" ||
23337 test ! -s conftest.err
23338 } && test -s conftest.$ac_objext; then
23339 wx_cv_STDC_EXT_required=no
23341 echo "$as_me: failed program was:" >&5
23342 sed 's
/^
/| /' conftest.$ac_ext >&5
23344 wx_cv_STDC_EXT_required=yes
23348 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23350 ac_cpp='$CPP $CPPFLAGS'
23351 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
23352 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
23353 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23358 { echo "$as_me:$LINENO: result: $wx_cv_STDC_EXT_required" >&5
23359 echo "${ECHO_T}$wx_cv_STDC_EXT_required" >&6; }
23360 if test "x$wx_cv_STDC_EXT_required" = "xyes"; then
23361 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -D__STDC_EXT__"
23365 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_LARGE_FILES"
23367 { echo "$as_me:$LINENO: checking for _LARGEFILE_SOURCE value needed for large files" >&5
23368 echo $ECHO_N "checking for _LARGEFILE_SOURCE value needed for large files... $ECHO_C" >&6; }
23369 if test "${ac_cv_sys_largefile_source+set}" = set; then
23370 echo $ECHO_N "(cached) $ECHO_C" >&6
23373 cat >conftest.$ac_ext <<_ACEOF
23376 cat confdefs.h >>conftest.$ac_ext
23377 cat >>conftest.$ac_ext <<_ACEOF
23378 /* end confdefs.h. */
23379 #include <sys/types.h> /* for off_t */
23384 int (*fp) (FILE *, off_t, int) = fseeko;
23385 return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
23390 rm -f conftest.$ac_objext conftest$ac_exeext
23391 if { (ac_try="$ac_link"
23392 case "(($ac_try" in
23393 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23394 *) ac_try_echo=$ac_try;;
23396 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23397 (eval "$ac_link") 2>conftest.er1
23399 grep -v '^
*+' conftest.er1 >conftest.err
23401 cat conftest.err >&5
23402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23403 (exit $ac_status); } && {
23404 test -z "$ac_c_werror_flag" ||
23405 test ! -s conftest.err
23406 } && test -s conftest$ac_exeext &&
23407 $as_test_x conftest$ac_exeext; then
23408 ac_cv_sys_largefile_source=no; break
23410 echo "$as_me: failed program was:" >&5
23411 sed 's
/^
/| /' conftest.$ac_ext >&5
23416 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
23417 conftest$ac_exeext conftest.$ac_ext
23418 cat >conftest.$ac_ext <<_ACEOF
23421 cat confdefs.h >>conftest.$ac_ext
23422 cat >>conftest.$ac_ext <<_ACEOF
23423 /* end confdefs.h. */
23424 #define _LARGEFILE_SOURCE 1
23425 #include <sys/types.h> /* for off_t */
23430 int (*fp) (FILE *, off_t, int) = fseeko;
23431 return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
23436 rm -f conftest.$ac_objext conftest$ac_exeext
23437 if { (ac_try="$ac_link"
23438 case "(($ac_try" in
23439 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23440 *) ac_try_echo=$ac_try;;
23442 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23443 (eval "$ac_link") 2>conftest.er1
23445 grep -v '^
*+' conftest.er1 >conftest.err
23447 cat conftest.err >&5
23448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23449 (exit $ac_status); } && {
23450 test -z "$ac_c_werror_flag" ||
23451 test ! -s conftest.err
23452 } && test -s conftest$ac_exeext &&
23453 $as_test_x conftest$ac_exeext; then
23454 ac_cv_sys_largefile_source=1; break
23456 echo "$as_me: failed program was:" >&5
23457 sed 's
/^
/| /' conftest.$ac_ext >&5
23462 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
23463 conftest$ac_exeext conftest.$ac_ext
23464 ac_cv_sys_largefile_source=unknown
23468 { echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_source" >&5
23469 echo "${ECHO_T}$ac_cv_sys_largefile_source" >&6; }
23470 case $ac_cv_sys_largefile_source in #(
23473 cat >>confdefs.h <<_ACEOF
23474 #define _LARGEFILE_SOURCE $ac_cv_sys_largefile_source
23480 # We used to try defining _XOPEN_SOURCE=500 too, to work around a bug
23481 # in glibc 2.1.3, but that breaks too many other things.
23482 # If you want fseeko and ftello with glibc, upgrade to a fixed glibc.
23483 if test $ac_cv_sys_largefile_source != unknown; then
23485 cat >>confdefs.h <<\_ACEOF
23486 #define HAVE_FSEEKO 1
23491 if test "$ac_cv_sys_largefile_source" != no; then
23492 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_LARGEFILE_SOURCE=$ac_cv_sys_largefile_source"
23496 { echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
23497 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6; }
23498 if test "${ac_cv_c_bigendian+set}" = set; then
23499 echo $ECHO_N "(cached) $ECHO_C" >&6
23501 ac_cv_c_bigendian=unknown
23502 # See if sys/param.h defines the BYTE_ORDER macro.
23503 cat >conftest.$ac_ext <<_ACEOF
23506 cat confdefs.h >>conftest.$ac_ext
23507 cat >>conftest.$ac_ext <<_ACEOF
23508 /* end confdefs.h. */
23509 #include <sys/types.h>
23510 #include <sys/param.h>
23515 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
23516 bogus endian macros
23522 rm -f conftest.$ac_objext
23523 if { (ac_try="$ac_compile"
23524 case "(($ac_try" in
23525 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23526 *) ac_try_echo=$ac_try;;
23528 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23529 (eval "$ac_compile") 2>conftest.er1
23531 grep -v '^
*+' conftest.er1 >conftest.err
23533 cat conftest.err >&5
23534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23535 (exit $ac_status); } && {
23536 test -z "$ac_c_werror_flag" ||
23537 test ! -s conftest.err
23538 } && test -s conftest.$ac_objext; then
23539 # It does; now see whether it defined to BIG_ENDIAN or not.
23540 cat >conftest.$ac_ext <<_ACEOF
23543 cat confdefs.h >>conftest.$ac_ext
23544 cat >>conftest.$ac_ext <<_ACEOF
23545 /* end confdefs.h. */
23546 #include <sys/types.h>
23547 #include <sys/param.h>
23552 #if BYTE_ORDER != BIG_ENDIAN
23559 rm -f conftest.$ac_objext
23560 if { (ac_try="$ac_compile"
23561 case "(($ac_try" in
23562 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23563 *) ac_try_echo=$ac_try;;
23565 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23566 (eval "$ac_compile") 2>conftest.er1
23568 grep -v '^
*+' conftest.er1 >conftest.err
23570 cat conftest.err >&5
23571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23572 (exit $ac_status); } && {
23573 test -z "$ac_c_werror_flag" ||
23574 test ! -s conftest.err
23575 } && test -s conftest.$ac_objext; then
23576 ac_cv_c_bigendian=yes
23578 echo "$as_me: failed program was:" >&5
23579 sed 's
/^
/| /' conftest.$ac_ext >&5
23581 ac_cv_c_bigendian=no
23584 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23586 echo "$as_me: failed program was:" >&5
23587 sed 's
/^
/| /' conftest.$ac_ext >&5
23592 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23593 if test $ac_cv_c_bigendian = unknown; then
23594 if test "$cross_compiling" = yes; then
23595 ac_cv_c_bigendian=unknown
23597 cat >conftest.$ac_ext <<_ACEOF
23600 cat confdefs.h >>conftest.$ac_ext
23601 cat >>conftest.$ac_ext <<_ACEOF
23602 /* end confdefs.h. */
23604 /* Are we little or big endian? From Harbison&Steele. */
23608 char c[sizeof (long)];
23611 exit (u.c[sizeof (long) - 1] == 1);
23614 rm -f conftest$ac_exeext
23615 if { (ac_try="$ac_link"
23616 case "(($ac_try" in
23617 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23618 *) ac_try_echo=$ac_try;;
23620 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23621 (eval "$ac_link") 2>&5
23623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23624 (exit $ac_status); } && { ac_try='.
/conftest
$ac_exeext'
23625 { (case "(($ac_try" in
23626 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23627 *) ac_try_echo=$ac_try;;
23629 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23630 (eval "$ac_try") 2>&5
23632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23633 (exit $ac_status); }; }; then
23634 ac_cv_c_bigendian=no
23636 echo "$as_me: program exited with status $ac_status" >&5
23637 echo "$as_me: failed program was:" >&5
23638 sed 's
/^
/| /' conftest.$ac_ext >&5
23640 ( exit $ac_status )
23641 ac_cv_c_bigendian=yes
23643 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
23649 { echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
23650 echo "${ECHO_T}$ac_cv_c_bigendian" >&6; }
23651 if test $ac_cv_c_bigendian = unknown; then
23652 { 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
23653 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;}
23655 if test $ac_cv_c_bigendian = yes; then
23656 cat >>confdefs.h <<\_ACEOF
23657 #define WORDS_BIGENDIAN 1
23666 ac_cpp='$CXXCPP $CPPFLAGS'
23667 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
23668 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
23669 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23673 for ac_header in iostream
23675 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
23676 { echo "$as_me:$LINENO: checking for $ac_header" >&5
23677 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
23678 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
23679 echo $ECHO_N "(cached) $ECHO_C" >&6
23681 cat >conftest.$ac_ext <<_ACEOF
23684 cat confdefs.h >>conftest.$ac_ext
23685 cat >>conftest.$ac_ext <<_ACEOF
23686 /* end confdefs.h. */
23689 #include <$ac_header>
23691 rm -f conftest.$ac_objext
23692 if { (ac_try="$ac_compile"
23693 case "(($ac_try" in
23694 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23695 *) ac_try_echo=$ac_try;;
23697 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23698 (eval "$ac_compile") 2>conftest.er1
23700 grep -v '^
*+' conftest.er1 >conftest.err
23702 cat conftest.err >&5
23703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23704 (exit $ac_status); } && {
23705 test -z "$ac_cxx_werror_flag" ||
23706 test ! -s conftest.err
23707 } && test -s conftest.$ac_objext; then
23708 eval "$as_ac_Header=yes"
23710 echo "$as_me: failed program was:" >&5
23711 sed 's
/^
/| /' conftest.$ac_ext >&5
23713 eval "$as_ac_Header=no"
23716 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23718 ac_res=`eval echo '${'$as_ac_Header'}'`
23719 { echo "$as_me:$LINENO: result: $ac_res" >&5
23720 echo "${ECHO_T}$ac_res" >&6; }
23721 if test `eval echo '${'$as_ac_Header'}'` = yes; then
23722 cat >>confdefs.h <<_ACEOF
23723 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
23731 if test "$ac_cv_header_iostream" = "yes" ; then
23734 cat >>confdefs.h <<\_ACEOF
23735 #define wxUSE_IOSTREAMH 1
23741 ac_cpp='$CPP $CPPFLAGS'
23742 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
23743 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
23744 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23749 { echo "$as_me:$LINENO: checking if C++ compiler supports bool" >&5
23750 echo $ECHO_N "checking if C++ compiler supports bool... $ECHO_C" >&6; }
23751 if test "${wx_cv_cpp_bool+set}" = set; then
23752 echo $ECHO_N "(cached) $ECHO_C" >&6
23757 ac_cpp='$CXXCPP $CPPFLAGS'
23758 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
23759 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
23760 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23763 cat >conftest.$ac_ext <<_ACEOF
23766 cat confdefs.h >>conftest.$ac_ext
23767 cat >>conftest.$ac_ext <<_ACEOF
23768 /* end confdefs.h. */
23783 rm -f conftest.$ac_objext
23784 if { (ac_try="$ac_compile"
23785 case "(($ac_try" in
23786 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23787 *) ac_try_echo=$ac_try;;
23789 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23790 (eval "$ac_compile") 2>conftest.er1
23792 grep -v '^
*+' conftest.er1 >conftest.err
23794 cat conftest.err >&5
23795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23796 (exit $ac_status); } && {
23797 test -z "$ac_cxx_werror_flag" ||
23798 test ! -s conftest.err
23799 } && test -s conftest.$ac_objext; then
23804 echo "$as_me: failed program was:" >&5
23805 sed 's
/^
/| /' conftest.$ac_ext >&5
23813 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23816 ac_cpp='$CPP $CPPFLAGS'
23817 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
23818 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
23819 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23823 { echo "$as_me:$LINENO: result: $wx_cv_cpp_bool" >&5
23824 echo "${ECHO_T}$wx_cv_cpp_bool" >&6; }
23826 if test "$wx_cv_cpp_bool" = "yes"; then
23827 cat >>confdefs.h <<\_ACEOF
23828 #define HAVE_BOOL 1
23835 { echo "$as_me:$LINENO: checking if C++ compiler supports the explicit keyword" >&5
23836 echo $ECHO_N "checking if C++ compiler supports the explicit keyword... $ECHO_C" >&6; }
23837 if test "${wx_cv_explicit+set}" = set; then
23838 echo $ECHO_N "(cached) $ECHO_C" >&6
23843 ac_cpp='$CXXCPP $CPPFLAGS'
23844 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
23845 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
23846 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23849 cat >conftest.$ac_ext <<_ACEOF
23852 cat confdefs.h >>conftest.$ac_ext
23853 cat >>conftest.$ac_ext <<_ACEOF
23854 /* end confdefs.h. */
23856 class Foo { public: explicit Foo(int) {} };
23868 rm -f conftest.$ac_objext
23869 if { (ac_try="$ac_compile"
23870 case "(($ac_try" in
23871 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23872 *) ac_try_echo=$ac_try;;
23874 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23875 (eval "$ac_compile") 2>conftest.er1
23877 grep -v '^
*+' conftest.er1 >conftest.err
23879 cat conftest.err >&5
23880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23881 (exit $ac_status); } && {
23882 test -z "$ac_cxx_werror_flag" ||
23883 test ! -s conftest.err
23884 } && test -s conftest.$ac_objext; then
23886 cat >conftest.$ac_ext <<_ACEOF
23889 cat confdefs.h >>conftest.$ac_ext
23890 cat >>conftest.$ac_ext <<_ACEOF
23891 /* end confdefs.h. */
23893 class Foo { public: explicit Foo(int) {} };
23894 static void TakeFoo(const Foo& foo) { }
23907 rm -f conftest.$ac_objext
23908 if { (ac_try="$ac_compile"
23909 case "(($ac_try" in
23910 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23911 *) ac_try_echo=$ac_try;;
23913 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23914 (eval "$ac_compile") 2>conftest.er1
23916 grep -v '^
*+' conftest.er1 >conftest.err
23918 cat conftest.err >&5
23919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23920 (exit $ac_status); } && {
23921 test -z "$ac_cxx_werror_flag" ||
23922 test ! -s conftest.err
23923 } && test -s conftest.$ac_objext; then
23926 echo "$as_me: failed program was:" >&5
23927 sed 's
/^
/| /' conftest.$ac_ext >&5
23933 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23936 echo "$as_me: failed program was:" >&5
23937 sed 's
/^
/| /' conftest.$ac_ext >&5
23943 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23946 ac_cpp='$CPP $CPPFLAGS'
23947 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
23948 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
23949 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23953 { echo "$as_me:$LINENO: result: $wx_cv_explicit" >&5
23954 echo "${ECHO_T}$wx_cv_explicit" >&6; }
23956 if test "$wx_cv_explicit" = "yes"; then
23957 cat >>confdefs.h <<\_ACEOF
23958 #define HAVE_EXPLICIT 1
23964 { echo "$as_me:$LINENO: checking whether the compiler supports const_cast<>" >&5
23965 echo $ECHO_N "checking whether the compiler supports const_cast<>... $ECHO_C" >&6; }
23966 if test "${ac_cv_cxx_const_cast+set}" = set; then
23967 echo $ECHO_N "(cached) $ECHO_C" >&6
23971 ac_cpp='$CXXCPP $CPPFLAGS'
23972 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
23973 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
23974 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23976 cat >conftest.$ac_ext <<_ACEOF
23979 cat confdefs.h >>conftest.$ac_ext
23980 cat >>conftest.$ac_ext <<_ACEOF
23981 /* end confdefs.h. */
23986 int x = 0;const int& y = x;int& z = const_cast<int&>(y);return z;
23991 rm -f conftest.$ac_objext
23992 if { (ac_try="$ac_compile"
23993 case "(($ac_try" in
23994 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23995 *) ac_try_echo=$ac_try;;
23997 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23998 (eval "$ac_compile") 2>conftest.er1
24000 grep -v '^
*+' conftest.er1 >conftest.err
24002 cat conftest.err >&5
24003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24004 (exit $ac_status); } && {
24005 test -z "$ac_cxx_werror_flag" ||
24006 test ! -s conftest.err
24007 } && test -s conftest.$ac_objext; then
24008 ac_cv_cxx_const_cast=yes
24010 echo "$as_me: failed program was:" >&5
24011 sed 's
/^
/| /' conftest.$ac_ext >&5
24013 ac_cv_cxx_const_cast=no
24016 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24018 ac_cpp='$CPP $CPPFLAGS'
24019 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
24020 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
24021 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24025 { echo "$as_me:$LINENO: result: $ac_cv_cxx_const_cast" >&5
24026 echo "${ECHO_T}$ac_cv_cxx_const_cast" >&6; }
24027 if test "$ac_cv_cxx_const_cast" = yes; then
24029 cat >>confdefs.h <<\_ACEOF
24030 #define HAVE_CONST_CAST
24035 { echo "$as_me:$LINENO: checking whether the compiler supports reinterpret_cast<>" >&5
24036 echo $ECHO_N "checking whether the compiler supports reinterpret_cast<>... $ECHO_C" >&6; }
24037 if test "${ac_cv_cxx_reinterpret_cast+set}" = set; then
24038 echo $ECHO_N "(cached) $ECHO_C" >&6
24042 ac_cpp='$CXXCPP $CPPFLAGS'
24043 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
24044 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
24045 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24047 cat >conftest.$ac_ext <<_ACEOF
24050 cat confdefs.h >>conftest.$ac_ext
24051 cat >>conftest.$ac_ext <<_ACEOF
24052 /* end confdefs.h. */
24053 #include <typeinfo>
24054 class Base { public : Base () {} virtual void f () = 0;};
24055 class Derived : public Base { public : Derived () {} virtual void f () {} };
24056 class Unrelated { public : Unrelated () {} };
24057 int g (Unrelated&) { return 0; }
24062 Derived d;Base& b=d;Unrelated& e=reinterpret_cast<Unrelated&>(b);return g(e);
24067 rm -f conftest.$ac_objext
24068 if { (ac_try="$ac_compile"
24069 case "(($ac_try" in
24070 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24071 *) ac_try_echo=$ac_try;;
24073 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24074 (eval "$ac_compile") 2>conftest.er1
24076 grep -v '^
*+' conftest.er1 >conftest.err
24078 cat conftest.err >&5
24079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24080 (exit $ac_status); } && {
24081 test -z "$ac_cxx_werror_flag" ||
24082 test ! -s conftest.err
24083 } && test -s conftest.$ac_objext; then
24084 ac_cv_cxx_reinterpret_cast=yes
24086 echo "$as_me: failed program was:" >&5
24087 sed 's
/^
/| /' conftest.$ac_ext >&5
24089 ac_cv_cxx_reinterpret_cast=no
24092 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24094 ac_cpp='$CPP $CPPFLAGS'
24095 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
24096 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
24097 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24101 { echo "$as_me:$LINENO: result: $ac_cv_cxx_reinterpret_cast" >&5
24102 echo "${ECHO_T}$ac_cv_cxx_reinterpret_cast" >&6; }
24103 if test "$ac_cv_cxx_reinterpret_cast" = yes; then
24105 cat >>confdefs.h <<\_ACEOF
24106 #define HAVE_REINTERPRET_CAST
24111 { echo "$as_me:$LINENO: checking whether the compiler supports static_cast<>" >&5
24112 echo $ECHO_N "checking whether the compiler supports static_cast<>... $ECHO_C" >&6; }
24113 if test "${ac_cv_cxx_static_cast+set}" = set; then
24114 echo $ECHO_N "(cached) $ECHO_C" >&6
24118 ac_cpp='$CXXCPP $CPPFLAGS'
24119 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
24120 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
24121 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24123 cat >conftest.$ac_ext <<_ACEOF
24126 cat confdefs.h >>conftest.$ac_ext
24127 cat >>conftest.$ac_ext <<_ACEOF
24128 /* end confdefs.h. */
24129 #include <typeinfo>
24130 class Base { public : Base () {} virtual void f () = 0; };
24131 class Derived : public Base { public : Derived () {} virtual void f () {} };
24132 int g (Derived&) { return 0; }
24137 Derived d; Base& b = d; Derived& s = static_cast<Derived&> (b); return g (s);
24142 rm -f conftest.$ac_objext
24143 if { (ac_try="$ac_compile"
24144 case "(($ac_try" in
24145 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24146 *) ac_try_echo=$ac_try;;
24148 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24149 (eval "$ac_compile") 2>conftest.er1
24151 grep -v '^
*+' conftest.er1 >conftest.err
24153 cat conftest.err >&5
24154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24155 (exit $ac_status); } && {
24156 test -z "$ac_cxx_werror_flag" ||
24157 test ! -s conftest.err
24158 } && test -s conftest.$ac_objext; then
24159 ac_cv_cxx_static_cast=yes
24161 echo "$as_me: failed program was:" >&5
24162 sed 's
/^
/| /' conftest.$ac_ext >&5
24164 ac_cv_cxx_static_cast=no
24167 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24169 ac_cpp='$CPP $CPPFLAGS'
24170 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
24171 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
24172 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24176 { echo "$as_me:$LINENO: result: $ac_cv_cxx_static_cast" >&5
24177 echo "${ECHO_T}$ac_cv_cxx_static_cast" >&6; }
24178 if test "$ac_cv_cxx_static_cast" = yes; then
24180 cat >>confdefs.h <<\_ACEOF
24181 #define HAVE_STATIC_CAST
24187 if test "x$SUNCXX" = xyes; then
24188 CXXFLAGS="-features=tmplife $CXXFLAGS"
24191 if test "x$SUNCC" = xyes; then
24192 CFLAGS="-erroff=E_NO_EXPLICIT_TYPE_GIVEN $CFLAGS"
24195 if test "x$SGICC" = "xyes"; then
24196 CFLAGS="-woff 3970 $CFLAGS"
24198 if test "x$SGICXX" = "xyes"; then
24199 CXXFLAGS="-woff 3970 $CXXFLAGS"
24202 if test "x$HPCC" = "xyes"; then
24203 CFLAGS="+W 2011,2450 $CFLAGS"
24205 if test "x$HPCXX" = "xyes"; then
24206 CXXFLAGS="+W 2340 $CXXFLAGS"
24209 if test "x$COMPAQCXX" = "xyes"; then
24210 CXXFLAGS="-w0 -msg_disable basclsnondto,unrimpret,intconlosbit"
24214 ac_cpp='$CXXCPP $CPPFLAGS'
24215 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
24216 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
24217 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24220 if test "$wxUSE_STD_STRING" = "yes" -o "$wxUSE_STL" = "yes"; then
24221 if test "$wxUSE_UNICODE" = "yes"; then
24222 std_string="std::wstring"
24223 char_type="wchar_t"
24225 std_string="std::string"
24229 { echo "$as_me:$LINENO: checking for $std_string in <string>" >&5
24230 echo $ECHO_N "checking for $std_string in <string>... $ECHO_C" >&6; }
24231 if test "${wx_cv_class_stdstring+set}" = set; then
24232 echo $ECHO_N "(cached) $ECHO_C" >&6
24235 cat >conftest.$ac_ext <<_ACEOF
24238 cat confdefs.h >>conftest.$ac_ext
24239 cat >>conftest.$ac_ext <<_ACEOF
24240 /* end confdefs.h. */
24250 rm -f conftest.$ac_objext
24251 if { (ac_try="$ac_compile"
24252 case "(($ac_try" in
24253 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24254 *) ac_try_echo=$ac_try;;
24256 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24257 (eval "$ac_compile") 2>conftest.er1
24259 grep -v '^
*+' conftest.er1 >conftest.err
24261 cat conftest.err >&5
24262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24263 (exit $ac_status); } && {
24264 test -z "$ac_cxx_werror_flag" ||
24265 test ! -s conftest.err
24266 } && test -s conftest.$ac_objext; then
24267 wx_cv_class_stdstring=yes
24269 echo "$as_me: failed program was:" >&5
24270 sed 's
/^
/| /' conftest.$ac_ext >&5
24272 wx_cv_class_stdstring=no
24276 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24280 { echo "$as_me:$LINENO: result: $wx_cv_class_stdstring" >&5
24281 echo "${ECHO_T}$wx_cv_class_stdstring" >&6; }
24283 if test "$wx_cv_class_stdstring" = yes; then
24284 if test "$wxUSE_UNICODE" = "yes"; then
24285 cat >>confdefs.h <<\_ACEOF
24286 #define HAVE_STD_WSTRING 1
24291 { echo "$as_me:$LINENO: checking if std::basic_string<$char_type> works" >&5
24292 echo $ECHO_N "checking if std::basic_string<$char_type> works... $ECHO_C" >&6; }
24293 if test "${wx_cv_class_stdbasicstring+set}" = set; then
24294 echo $ECHO_N "(cached) $ECHO_C" >&6
24297 cat >conftest.$ac_ext <<_ACEOF
24300 cat confdefs.h >>conftest.$ac_ext
24301 cat >>conftest.$ac_ext <<_ACEOF
24302 /* end confdefs.h. */
24304 #ifdef HAVE_WCHAR_H
24306 # include <stddef.h>
24308 # include <wchar.h>
24310 #ifdef HAVE_STDLIB_H
24311 # include <stdlib.h>
24319 std::basic_string<$char_type> foo;
24320 const $char_type* dummy = foo.c_str();
24325 rm -f conftest.$ac_objext
24326 if { (ac_try="$ac_compile"
24327 case "(($ac_try" in
24328 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24329 *) ac_try_echo=$ac_try;;
24331 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24332 (eval "$ac_compile") 2>conftest.er1
24334 grep -v '^
*+' conftest.er1 >conftest.err
24336 cat conftest.err >&5
24337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24338 (exit $ac_status); } && {
24339 test -z "$ac_cxx_werror_flag" ||
24340 test ! -s conftest.err
24341 } && test -s conftest.$ac_objext; then
24342 wx_cv_class_stdbasicstring=yes
24344 echo "$as_me: failed program was:" >&5
24345 sed 's
/^
/| /' conftest.$ac_ext >&5
24347 wx_cv_class_stdbasicstring=no
24351 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24355 { echo "$as_me:$LINENO: result: $wx_cv_class_stdbasicstring" >&5
24356 echo "${ECHO_T}$wx_cv_class_stdbasicstring" >&6; }
24358 if test "$wx_cv_class_stdbasicstring" != yes; then
24359 if test "$wxUSE_STL" = "yes"; then
24360 { { echo "$as_me:$LINENO: error: Can't use
--enable-stl without
$std_string or std
::basic_string
<$char_type>" >&5
24361 echo "$as_me: error
: Can
't use --enable-stl without $std_string or std::basic_string<$char_type>" >&2;}
24362 { (exit 1); exit 1; }; }
24363 elif test "$wxUSE_STD_STRING" = "yes"; then
24364 { { echo "$as_me:$LINENO: error: Can't use
--enable-std_string without
$std_string or std
::basic_string
<$char_type>" >&5
24365 echo "$as_me: error
: Can
't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&2;}
24366 { (exit 1); exit 1; }; }
24368 { echo "$as_me:$LINENO: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&5
24369 echo "$as_me: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&2;}
24370 wxUSE_STD_STRING=no
24376 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
24377 { echo "$as_me:$LINENO: checking for std::istream" >&5
24378 echo $ECHO_N "checking for std::istream... $ECHO_C" >&6; }
24379 if test "${ac_cv_type_std__istream+set}" = set; then
24380 echo $ECHO_N "(cached) $ECHO_C" >&6
24382 cat >conftest.$ac_ext <<_ACEOF
24385 cat confdefs.h >>conftest.$ac_ext
24386 cat >>conftest.$ac_ext <<_ACEOF
24387 /* end confdefs.h. */
24388 #include <iostream>
24390 typedef std::istream ac__type_new_;
24394 if ((ac__type_new_ *) 0)
24396 if (sizeof (ac__type_new_))
24402 rm -f conftest.$ac_objext
24403 if { (ac_try="$ac_compile"
24404 case "(($ac_try" in
24405 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24406 *) ac_try_echo=$ac_try;;
24408 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24409 (eval "$ac_compile") 2>conftest.er1
24411 grep -v '^
*+' conftest.er1 >conftest.err
24413 cat conftest.err >&5
24414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24415 (exit $ac_status); } && {
24416 test -z "$ac_cxx_werror_flag" ||
24417 test ! -s conftest.err
24418 } && test -s conftest.$ac_objext; then
24419 ac_cv_type_std__istream=yes
24421 echo "$as_me: failed program was:" >&5
24422 sed 's
/^
/| /' conftest.$ac_ext >&5
24424 ac_cv_type_std__istream=no
24427 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24429 { echo "$as_me:$LINENO: result: $ac_cv_type_std__istream" >&5
24430 echo "${ECHO_T}$ac_cv_type_std__istream" >&6; }
24431 if test $ac_cv_type_std__istream = yes; then
24433 cat >>confdefs.h <<_ACEOF
24434 #define HAVE_STD__ISTREAM 1
24439 wxUSE_STD_IOSTREAM=no
24441 { echo "$as_me:$LINENO: checking for std::ostream" >&5
24442 echo $ECHO_N "checking for std::ostream... $ECHO_C" >&6; }
24443 if test "${ac_cv_type_std__ostream+set}" = set; then
24444 echo $ECHO_N "(cached) $ECHO_C" >&6
24446 cat >conftest.$ac_ext <<_ACEOF
24449 cat confdefs.h >>conftest.$ac_ext
24450 cat >>conftest.$ac_ext <<_ACEOF
24451 /* end confdefs.h. */
24452 #include <iostream>
24454 typedef std::ostream ac__type_new_;
24458 if ((ac__type_new_ *) 0)
24460 if (sizeof (ac__type_new_))
24466 rm -f conftest.$ac_objext
24467 if { (ac_try="$ac_compile"
24468 case "(($ac_try" in
24469 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24470 *) ac_try_echo=$ac_try;;
24472 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24473 (eval "$ac_compile") 2>conftest.er1
24475 grep -v '^
*+' conftest.er1 >conftest.err
24477 cat conftest.err >&5
24478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24479 (exit $ac_status); } && {
24480 test -z "$ac_cxx_werror_flag" ||
24481 test ! -s conftest.err
24482 } && test -s conftest.$ac_objext; then
24483 ac_cv_type_std__ostream=yes
24485 echo "$as_me: failed program was:" >&5
24486 sed 's
/^
/| /' conftest.$ac_ext >&5
24488 ac_cv_type_std__ostream=no
24491 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24493 { echo "$as_me:$LINENO: result: $ac_cv_type_std__ostream" >&5
24494 echo "${ECHO_T}$ac_cv_type_std__ostream" >&6; }
24495 if test $ac_cv_type_std__ostream = yes; then
24497 cat >>confdefs.h <<_ACEOF
24498 #define HAVE_STD__OSTREAM 1
24503 wxUSE_STD_IOSTREAM=no
24507 if test "$wxUSE_STD_IOSTREAM" != "yes"; then
24508 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
24509 { { echo "$as_me:$LINENO: error: Can't use
--enable-std_iostreams without std
::istream and std
::ostream
" >&5
24510 echo "$as_me: error
: Can
't use --enable-std_iostreams without std::istream and std::ostream" >&2;}
24511 { (exit 1); exit 1; }; }
24513 { echo "$as_me:$LINENO: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&5
24514 echo "$as_me: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&2;}
24519 if test "$wxUSE_STL" = "yes"; then
24520 { echo "$as_me:$LINENO: checking for basic STL functionality" >&5
24521 echo $ECHO_N "checking for basic STL functionality... $ECHO_C" >&6; }
24522 if test "${wx_cv_lib_stl+set}" = set; then
24523 echo $ECHO_N "(cached) $ECHO_C" >&6
24525 cat >conftest.$ac_ext <<_ACEOF
24528 cat confdefs.h >>conftest.$ac_ext
24529 cat >>conftest.$ac_ext <<_ACEOF
24530 /* end confdefs.h. */
24532 #include <functional>
24533 #include <algorithm>
24539 std::vector<int> moo;
24540 std::list<int> foo;
24541 std::vector<int>::iterator it =
24542 std::find_if(moo.begin(), moo.end(),
24543 std::bind2nd(std::less<int>(), 3));
24548 rm -f conftest.$ac_objext
24549 if { (ac_try="$ac_compile"
24550 case "(($ac_try" in
24551 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24552 *) ac_try_echo=$ac_try;;
24554 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24555 (eval "$ac_compile") 2>conftest.er1
24557 grep -v '^
*+' conftest.er1 >conftest.err
24559 cat conftest.err >&5
24560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24561 (exit $ac_status); } && {
24562 test -z "$ac_cxx_werror_flag" ||
24563 test ! -s conftest.err
24564 } && test -s conftest.$ac_objext; then
24567 echo "$as_me: failed program was:" >&5
24568 sed 's
/^
/| /' conftest.$ac_ext >&5
24574 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24577 { echo "$as_me:$LINENO: result: $wx_cv_lib_stl" >&5
24578 echo "${ECHO_T}$wx_cv_lib_stl" >&6; }
24580 if test "$wx_cv_lib_stl" != yes; then
24581 { { echo "$as_me:$LINENO: error: Can't use
--enable-stl as basic STL functionality is missing
" >&5
24582 echo "$as_me: error
: Can
't use --enable-stl as basic STL functionality is missing" >&2;}
24583 { (exit 1); exit 1; }; }
24586 { echo "$as_me:$LINENO: checking for compliant std::string::compare" >&5
24587 echo $ECHO_N "checking for compliant std::string::compare... $ECHO_C" >&6; }
24588 if test "${wx_cv_func_stdstring_compare+set}" = set; then
24589 echo $ECHO_N "(cached) $ECHO_C" >&6
24591 cat >conftest.$ac_ext <<_ACEOF
24594 cat confdefs.h >>conftest.$ac_ext
24595 cat >>conftest.$ac_ext <<_ACEOF
24596 /* end confdefs.h. */
24601 std::string foo, bar;
24603 foo.compare(1, 1, bar);
24604 foo.compare(1, 1, bar, 1, 1);
24606 foo.compare(1, 1, "");
24607 foo.compare(1, 1, "", 2);
24612 rm -f conftest.$ac_objext
24613 if { (ac_try="$ac_compile"
24614 case "(($ac_try" in
24615 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24616 *) ac_try_echo=$ac_try;;
24618 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24619 (eval "$ac_compile") 2>conftest.er1
24621 grep -v '^
*+' conftest.er1 >conftest.err
24623 cat conftest.err >&5
24624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24625 (exit $ac_status); } && {
24626 test -z "$ac_cxx_werror_flag" ||
24627 test ! -s conftest.err
24628 } && test -s conftest.$ac_objext; then
24629 wx_cv_func_stdstring_compare=yes
24631 echo "$as_me: failed program was:" >&5
24632 sed 's
/^
/| /' conftest.$ac_ext >&5
24634 wx_cv_func_stdstring_compare=no
24638 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24641 { echo "$as_me:$LINENO: result: $wx_cv_func_stdstring_compare" >&5
24642 echo "${ECHO_T}$wx_cv_func_stdstring_compare" >&6; }
24644 if test "$wx_cv_func_stdstring_compare" = yes; then
24645 cat >>confdefs.h <<\_ACEOF
24646 #define HAVE_STD_STRING_COMPARE 1
24651 { echo "$as_me:$LINENO: checking for hash_map" >&5
24652 echo $ECHO_N "checking for hash_map... $ECHO_C" >&6; }
24653 if test "${ac_cv_header_hash_map+set}" = set; then
24654 echo $ECHO_N "(cached) $ECHO_C" >&6
24656 cat >conftest.$ac_ext <<_ACEOF
24659 cat confdefs.h >>conftest.$ac_ext
24660 cat >>conftest.$ac_ext <<_ACEOF
24661 /* end confdefs.h. */
24665 #include <hash_map>
24667 rm -f conftest.$ac_objext
24668 if { (ac_try="$ac_compile"
24669 case "(($ac_try" in
24670 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24671 *) ac_try_echo=$ac_try;;
24673 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24674 (eval "$ac_compile") 2>conftest.er1
24676 grep -v '^
*+' conftest.er1 >conftest.err
24678 cat conftest.err >&5
24679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24680 (exit $ac_status); } && {
24681 test -z "$ac_cxx_werror_flag" ||
24682 test ! -s conftest.err
24683 } && test -s conftest.$ac_objext; then
24684 ac_cv_header_hash_map=yes
24686 echo "$as_me: failed program was:" >&5
24687 sed 's
/^
/| /' conftest.$ac_ext >&5
24689 ac_cv_header_hash_map=no
24692 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24694 { echo "$as_me:$LINENO: result: $ac_cv_header_hash_map" >&5
24695 echo "${ECHO_T}$ac_cv_header_hash_map" >&6; }
24696 if test $ac_cv_header_hash_map = yes; then
24697 { echo "$as_me:$LINENO: checking for standard hash_map and hash_set" >&5
24698 echo $ECHO_N "checking for standard hash_map and hash_set... $ECHO_C" >&6; }
24699 if test "${wx_cv_class_stdhashmapset+set}" = set; then
24700 echo $ECHO_N "(cached) $ECHO_C" >&6
24702 cat >conftest.$ac_ext <<_ACEOF
24705 cat confdefs.h >>conftest.$ac_ext
24706 cat >>conftest.$ac_ext <<_ACEOF
24707 /* end confdefs.h. */
24708 #include <hash_map>
24709 #include <hash_set>
24713 std::hash_map<double*, char*, std::hash<double*>, std::equal_to<double*> > test1;
24714 std::hash_set<char*, std::hash<char*>, std::equal_to<char*> > test2;
24719 rm -f conftest.$ac_objext
24720 if { (ac_try="$ac_compile"
24721 case "(($ac_try" in
24722 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24723 *) ac_try_echo=$ac_try;;
24725 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24726 (eval "$ac_compile") 2>conftest.er1
24728 grep -v '^
*+' conftest.er1 >conftest.err
24730 cat conftest.err >&5
24731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24732 (exit $ac_status); } && {
24733 test -z "$ac_cxx_werror_flag" ||
24734 test ! -s conftest.err
24735 } && test -s conftest.$ac_objext; then
24736 wx_cv_class_stdhashmapset=yes
24738 echo "$as_me: failed program was:" >&5
24739 sed 's
/^
/| /' conftest.$ac_ext >&5
24741 wx_cv_class_stdhashmapset=no
24744 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24748 { echo "$as_me:$LINENO: result: $wx_cv_class_stdhashmapset" >&5
24749 echo "${ECHO_T}$wx_cv_class_stdhashmapset" >&6; }
24754 if test "$wx_cv_class_stdhashmapset" = yes; then
24755 cat >>confdefs.h <<\_ACEOF
24756 #define HAVE_HASH_MAP 1
24759 cat >>confdefs.h <<\_ACEOF
24760 #define HAVE_STD_HASH_MAP 1
24765 { echo "$as_me:$LINENO: checking for ext/hash_map" >&5
24766 echo $ECHO_N "checking for ext/hash_map... $ECHO_C" >&6; }
24767 if test "${ac_cv_header_ext_hash_map+set}" = set; then
24768 echo $ECHO_N "(cached) $ECHO_C" >&6
24770 cat >conftest.$ac_ext <<_ACEOF
24773 cat confdefs.h >>conftest.$ac_ext
24774 cat >>conftest.$ac_ext <<_ACEOF
24775 /* end confdefs.h. */
24779 #include <ext/hash_map>
24781 rm -f conftest.$ac_objext
24782 if { (ac_try="$ac_compile"
24783 case "(($ac_try" in
24784 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24785 *) ac_try_echo=$ac_try;;
24787 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24788 (eval "$ac_compile") 2>conftest.er1
24790 grep -v '^
*+' conftest.er1 >conftest.err
24792 cat conftest.err >&5
24793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24794 (exit $ac_status); } && {
24795 test -z "$ac_cxx_werror_flag" ||
24796 test ! -s conftest.err
24797 } && test -s conftest.$ac_objext; then
24798 ac_cv_header_ext_hash_map=yes
24800 echo "$as_me: failed program was:" >&5
24801 sed 's
/^
/| /' conftest.$ac_ext >&5
24803 ac_cv_header_ext_hash_map=no
24806 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24808 { echo "$as_me:$LINENO: result: $ac_cv_header_ext_hash_map" >&5
24809 echo "${ECHO_T}$ac_cv_header_ext_hash_map" >&6; }
24810 if test $ac_cv_header_ext_hash_map = yes; then
24811 { echo "$as_me:$LINENO: checking for GNU hash_map and hash_set" >&5
24812 echo $ECHO_N "checking for GNU hash_map and hash_set... $ECHO_C" >&6; }
24813 if test "${wx_cv_class_gnuhashmapset+set}" = set; then
24814 echo $ECHO_N "(cached) $ECHO_C" >&6
24816 cat >conftest.$ac_ext <<_ACEOF
24819 cat confdefs.h >>conftest.$ac_ext
24820 cat >>conftest.$ac_ext <<_ACEOF
24821 /* end confdefs.h. */
24822 #include <ext/hash_map>
24823 #include <ext/hash_set>
24827 __gnu_cxx::hash_map<double*, char*, __gnu_cxx::hash<double*>, std::equal_to<double*> > test1;
24828 __gnu_cxx::hash_set<char*, __gnu_cxx::hash<char*>, std::equal_to<char*> > test2;
24833 rm -f conftest.$ac_objext
24834 if { (ac_try="$ac_compile"
24835 case "(($ac_try" in
24836 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24837 *) ac_try_echo=$ac_try;;
24839 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24840 (eval "$ac_compile") 2>conftest.er1
24842 grep -v '^
*+' conftest.er1 >conftest.err
24844 cat conftest.err >&5
24845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24846 (exit $ac_status); } && {
24847 test -z "$ac_cxx_werror_flag" ||
24848 test ! -s conftest.err
24849 } && test -s conftest.$ac_objext; then
24850 wx_cv_class_gnuhashmapset=yes
24852 echo "$as_me: failed program was:" >&5
24853 sed 's
/^
/| /' conftest.$ac_ext >&5
24855 wx_cv_class_gnuhashmapset=no
24858 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24862 { echo "$as_me:$LINENO: result: $wx_cv_class_gnuhashmapset" >&5
24863 echo "${ECHO_T}$wx_cv_class_gnuhashmapset" >&6; }
24868 if test "$wx_cv_class_gnuhashmapset" = yes; then
24869 cat >>confdefs.h <<\_ACEOF
24870 #define HAVE_EXT_HASH_MAP 1
24873 cat >>confdefs.h <<\_ACEOF
24874 #define HAVE_GNU_CXX_HASH_MAP 1
24882 if test -n "$GCC"; then
24883 { echo "$as_me:$LINENO: checking for __sync_fetch_and_add and __sync_sub_and_fetch builtins" >&5
24884 echo $ECHO_N "checking for __sync_fetch_and_add and __sync_sub_and_fetch builtins... $ECHO_C" >&6; }
24885 if test "${wx_cv_cc_gcc_atomic_builtins+set}" = set; then
24886 echo $ECHO_N "(cached) $ECHO_C" >&6
24889 cat >conftest.$ac_ext <<_ACEOF
24892 cat confdefs.h >>conftest.$ac_ext
24893 cat >>conftest.$ac_ext <<_ACEOF
24894 /* end confdefs.h. */
24900 unsigned int value=0;
24901 /* wxAtomicInc doesn't use
return value here
*/
24902 __sync_fetch_and_add
(&value
, 2);
24903 __sync_sub_and_fetch
(&value
, 1);
24904 /* but wxAtomicDec does
, so mimic that
: */
24905 unsigned int r2
= __sync_sub_and_fetch
(&value
, 1);
24911 rm -f conftest.
$ac_objext conftest
$ac_exeext
24912 if { (ac_try
="$ac_link"
24913 case "(($ac_try" in
24914 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
24915 *) ac_try_echo=$ac_try;;
24917 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24918 (eval "$ac_link") 2>conftest.er1
24920 grep -v '^ *+' conftest.er1 >conftest.err
24922 cat conftest.err >&5
24923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24924 (exit $ac_status); } && {
24925 test -z "$ac_cxx_werror_flag" ||
24926 test ! -s conftest.err
24927 } && test -s conftest$ac_exeext &&
24928 $as_test_x conftest$ac_exeext; then
24929 wx_cv_cc_gcc_atomic_builtins=yes
24931 echo "$as_me: failed program was:" >&5
24932 sed 's/^/| /' conftest.$ac_ext >&5
24934 wx_cv_cc_gcc_atomic_builtins=no
24937 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24938 conftest$ac_exeext conftest.$ac_ext
24942 { echo "$as_me:$LINENO: result: $wx_cv_cc_gcc_atomic_builtins" >&5
24943 echo "${ECHO_T}$wx_cv_cc_gcc_atomic_builtins" >&6; }
24944 if test $wx_cv_cc_gcc_atomic_builtins = yes; then
24945 cat >>confdefs.h <<\_ACEOF
24946 #define HAVE_GCC_ATOMIC_BUILTINS 1
24954 ac_cpp='$CPP $CPPFLAGS'
24955 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24956 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24957 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24962 /usr/local/include \
24964 /usr/Motif-2.1/include \
24965 /usr/Motif-1.2/include \
24966 /usr/include/Motif1.2 \
24969 /usr/openwin/include \
24973 /usr/X11R6/include \
24974 /usr/X11R6.4/include \
24975 /usr/X11R5/include \
24976 /usr/X11R4/include \
24978 /usr/include/X11R6 \
24979 /usr/include/X11R5 \
24980 /usr/include/X11R4 \
24982 /usr/local/X11R6/include \
24983 /usr/local/X11R5/include \
24984 /usr/local/X11R4/include \
24986 /usr/local/include/X11R6 \
24987 /usr/local/include/X11R5 \
24988 /usr/local/include/X11R4 \
24992 /usr/local/X11/include \
24993 /usr/local/include/X11 \
24995 /usr/XFree86/include/X11 \
24998 /usr/openwin/share/include"
25000 { echo "$as_me:$LINENO: checking for libraries directory" >&5
25001 echo $ECHO_N "checking for libraries directory... $ECHO_C" >&6; }
25005 if test "${wx_cv_std_libpath+set}" = set; then
25006 echo $ECHO_N "(cached) $ECHO_C" >&6
25009 for d in /usr/lib /usr/lib32 /usr/lib/64 /usr/lib64; do
25010 for e in a so sl dylib dll.a; do
25012 if test -f $libc; then
25015 cat >conftest.$ac_ext <<_ACEOF
25016 int main() { return 0; }
25018 rm -f conftest.$ac_objext conftest$ac_exeext
25019 if { (ac_try="$ac_link"
25020 case "(($ac_try" in
25021 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
25022 *) ac_try_echo
=$ac_try;;
25024 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25025 (eval "$ac_link") 2>conftest.er1
25027 grep -v '^ *+' conftest.er1
>conftest.err
25029 cat conftest.err
>&5
25030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25031 (exit $ac_status); } && {
25032 test -z "$ac_c_werror_flag" ||
25033 test ! -s conftest.err
25034 } && test -s conftest
$ac_exeext &&
25035 $as_test_x conftest
$ac_exeext; then
25036 wx_cv_std_libpath
=`echo $d | sed s@/usr/@@`
25038 echo "$as_me: failed program was:" >&5
25039 sed 's/^/| /' conftest.
$ac_ext >&5
25044 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
25045 conftest
$ac_exeext conftest.
$ac_ext
25047 if test "x$wx_cv_std_libpath" != "x"; then
25053 if test "x$wx_cv_std_libpath" = "x"; then
25054 wx_cv_std_libpath
="lib"
25063 if test "$ac_cv_sizeof_void_p" = 8 -a -d "/usr/lib/64"; then
25064 wx_cv_std_libpath
="lib/64"
25066 wx_cv_std_libpath
="lib"
25071 if test "$ac_cv_sizeof_void_p" = 8 -a \
25072 -d "/usr/lib64" -a ! -h "/usr/lib64"; then
25073 wx_cv_std_libpath
="lib64"
25075 wx_cv_std_libpath
="lib"
25080 wx_cv_std_libpath
="lib";
25084 { echo "$as_me:$LINENO: result: $wx_cv_std_libpath" >&5
25085 echo "${ECHO_T}$wx_cv_std_libpath" >&6; }
25087 SEARCH_LIB
="`echo "$SEARCH_INCLUDE" | sed s@include@$wx_cv_std_libpath@g` /usr/$wx_cv_std_libpath"
25089 if test "$build" != "$host" -a "$GCC" = yes; then
25090 if cross_root
=`$CC -print-prog-name=ld 2>/dev/null`; then
25091 cross_root
=`dirname $cross_root`
25092 cross_root
=`dirname $cross_root`
25094 SEARCH_LIB
=`for x in $SEARCH_LIB; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
25095 SEARCH_INCLUDE
=`for x in $SEARCH_INCLUDE; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
25096 SEARCH_INCLUDE
="$SEARCH_INCLUDE $cross_root/include"
25098 if test -z "$PKG_CONFIG_PATH"; then
25099 PKG_CONFIG_PATH
="$cross_root/local/lib/pkgconfig:$cross_root/lib/pkgconfig"
25100 export PKG_CONFIG_PATH
25103 if test -z "$x_includes" -o "$x_includes" = NONE
; then
25106 for ac_dir
in $SEARCH_INCLUDE /usr
/include
;
25108 if test -f "$ac_dir/X11/Intrinsic.h"; then
25109 ac_find_includes
=$ac_dir
25114 x_includes
=$ac_find_includes
25116 if test -z "$x_libraries" -o "$x_libraries" = NONE
; then
25119 for ac_dir
in $SEARCH_LIB;
25121 for ac_extension
in a so sl dylib dll.a
; do
25122 if test -f "$ac_dir/libXt.$ac_extension"; then
25123 ac_find_libraries
=$ac_dir
25129 x_libraries
=$ac_find_libraries
25135 cat >confcache
<<\_ACEOF
25136 # This file is a shell script that caches the results of configure
25137 # tests run on this system so they can be shared between configure
25138 # scripts and configure runs, see configure's option --config-cache.
25139 # It is not useful on other systems. If it contains results you don't
25140 # want to keep, you may remove or edit it.
25142 # config.status only pays attention to the cache file if you give it
25143 # the --recheck option to rerun configure.
25145 # `ac_cv_env_foo' variables (set or unset) will be overridden when
25146 # loading this file, other *unset* `ac_cv_foo' will be assigned the
25147 # following values.
25151 # The following way of writing the cache mishandles newlines in values,
25152 # but we know of no workaround that is simple, portable, and efficient.
25153 # So, we kill variables containing newlines.
25154 # Ultrix sh set writes to stderr and can't be redirected directly,
25155 # and sets the high bit in the cache file unless we assign to the vars.
25157 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
25158 eval ac_val
=\$
$ac_var
25162 *_cv_
*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
25163 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
25166 _
| IFS
| as_nl
) ;; #(
25167 *) $as_unset $ac_var ;;
25173 case $as_nl`(ac_space=' '; set) 2>&1` in #(
25174 *${as_nl}ac_space
=\
*)
25175 # `set' does not quote correctly, so add quotes (double-quote
25176 # substitution turns \\\\ into \\, and sed turns \\ into \).
25179 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
25182 # `set' quotes correctly as required by POSIX, so do not add quotes.
25183 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
25192 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
25194 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
25196 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
25197 if test -w "$cache_file"; then
25198 test "x$cache_file" != "x/dev/null" &&
25199 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
25200 echo "$as_me: updating cache $cache_file" >&6;}
25201 cat confcache
>$cache_file
25203 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
25204 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
25209 if test "$USE_LINUX" = 1 -o "$USE_GNU" = 1; then
25210 { echo "$as_me:$LINENO: checking for glibc 2.1 or later" >&5
25211 echo $ECHO_N "checking for glibc 2.1 or later... $ECHO_C" >&6; }
25212 if test "${wx_cv_lib_glibc21+set}" = set; then
25213 echo $ECHO_N "(cached) $ECHO_C" >&6
25216 cat >conftest.
$ac_ext <<_ACEOF
25219 cat confdefs.h
>>conftest.
$ac_ext
25220 cat >>conftest.
$ac_ext <<_ACEOF
25221 /* end confdefs.h. */
25222 #include <features.h>
25227 #if (__GLIBC__ < 2) || (__GLIBC_MINOR__ < 1)
25235 rm -f conftest.
$ac_objext
25236 if { (ac_try
="$ac_compile"
25237 case "(($ac_try" in
25238 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
25239 *) ac_try_echo=$ac_try;;
25241 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25242 (eval "$ac_compile") 2>conftest.er1
25244 grep -v '^ *+' conftest.er1 >conftest.err
25246 cat conftest.err >&5
25247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25248 (exit $ac_status); } && {
25249 test -z "$ac_c_werror_flag" ||
25250 test ! -s conftest.err
25251 } && test -s conftest.$ac_objext; then
25253 wx_cv_lib_glibc21=yes
25256 echo "$as_me: failed program was:" >&5
25257 sed 's/^/| /' conftest.$ac_ext >&5
25260 wx_cv_lib_glibc21=no
25265 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25268 { echo "$as_me:$LINENO: result: $wx_cv_lib_glibc21" >&5
25269 echo "${ECHO_T}$wx_cv_lib_glibc21" >&6; }
25270 if test "$wx_cv_lib_glibc21" = "yes"; then
25271 cat >>confdefs.h <<\_ACEOF
25272 #define wxHAVE_GLIBC2 1
25278 if test "x$wx_cv_lib_glibc21" = "xyes"; then
25279 if test "$wxUSE_UNICODE" = "yes" -o "$wxUSE_THREADS" = "yes"; then
25280 cat >>confdefs.h <<\_ACEOF
25281 #define _GNU_SOURCE 1
25292 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25293 { echo "$as_me:$LINENO: checking for $ac_func" >&5
25294 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
25295 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
25296 echo $ECHO_N "(cached) $ECHO_C" >&6
25298 cat >conftest.$ac_ext <<_ACEOF
25301 cat confdefs.h >>conftest.$ac_ext
25302 cat >>conftest.$ac_ext <<_ACEOF
25303 /* end confdefs.h. */
25304 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25305 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25306 #define $ac_func innocuous_$ac_func
25308 /* System header to define __stub macros and hopefully few prototypes,
25309 which can conflict with char $ac_func (); below.
25310 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25311 <limits.h> exists even on freestanding compilers. */
25314 # include <limits.h>
25316 # include <assert.h>
25321 /* Override any GCC internal prototype to avoid an error.
25322 Use char because int might match the return type of a GCC
25323 builtin and then its argument prototype would still apply. */
25328 /* The GNU C library defines this for functions which it implements
25329 to always fail with ENOSYS. Some functions are actually named
25330 something starting with __ and the normal name is an alias. */
25331 #if defined __stub_$ac_func || defined __stub___$ac_func
25338 return $ac_func ();
25343 rm -f conftest.$ac_objext conftest$ac_exeext
25344 if { (ac_try="$ac_link"
25345 case "(($ac_try" in
25346 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
25347 *) ac_try_echo
=$ac_try;;
25349 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25350 (eval "$ac_link") 2>conftest.er1
25352 grep -v '^ *+' conftest.er1
>conftest.err
25354 cat conftest.err
>&5
25355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25356 (exit $ac_status); } && {
25357 test -z "$ac_c_werror_flag" ||
25358 test ! -s conftest.err
25359 } && test -s conftest
$ac_exeext &&
25360 $as_test_x conftest
$ac_exeext; then
25361 eval "$as_ac_var=yes"
25363 echo "$as_me: failed program was:" >&5
25364 sed 's/^/| /' conftest.
$ac_ext >&5
25366 eval "$as_ac_var=no"
25369 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
25370 conftest
$ac_exeext conftest.
$ac_ext
25372 ac_res
=`eval echo '${'$as_ac_var'}'`
25373 { echo "$as_me:$LINENO: result: $ac_res" >&5
25374 echo "${ECHO_T}$ac_res" >&6; }
25375 if test `eval echo '${'$as_ac_var'}'` = yes; then
25376 cat >>confdefs.h
<<_ACEOF
25377 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25384 for ac_func
in floor
25386 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25387 { echo "$as_me:$LINENO: checking for $ac_func" >&5
25388 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
25389 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
25390 echo $ECHO_N "(cached) $ECHO_C" >&6
25392 cat >conftest.
$ac_ext <<_ACEOF
25395 cat confdefs.h
>>conftest.
$ac_ext
25396 cat >>conftest.
$ac_ext <<_ACEOF
25397 /* end confdefs.h. */
25398 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25399 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25400 #define $ac_func innocuous_$ac_func
25402 /* System header to define __stub macros and hopefully few prototypes,
25403 which can conflict with char $ac_func (); below.
25404 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25405 <limits.h> exists even on freestanding compilers. */
25408 # include <limits.h>
25410 # include <assert.h>
25415 /* Override any GCC internal prototype to avoid an error.
25416 Use char because int might match the return type of a GCC
25417 builtin and then its argument prototype would still apply. */
25422 /* The GNU C library defines this for functions which it implements
25423 to always fail with ENOSYS. Some functions are actually named
25424 something starting with __ and the normal name is an alias. */
25425 #if defined __stub_$ac_func || defined __stub___$ac_func
25432 return $ac_func ();
25437 rm -f conftest.
$ac_objext conftest
$ac_exeext
25438 if { (ac_try
="$ac_link"
25439 case "(($ac_try" in
25440 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
25441 *) ac_try_echo=$ac_try;;
25443 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25444 (eval "$ac_link") 2>conftest.er1
25446 grep -v '^ *+' conftest.er1 >conftest.err
25448 cat conftest.err >&5
25449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25450 (exit $ac_status); } && {
25451 test -z "$ac_c_werror_flag" ||
25452 test ! -s conftest.err
25453 } && test -s conftest$ac_exeext &&
25454 $as_test_x conftest$ac_exeext; then
25455 eval "$as_ac_var=yes"
25457 echo "$as_me: failed program was:" >&5
25458 sed 's/^/| /' conftest.$ac_ext >&5
25460 eval "$as_ac_var=no"
25463 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25464 conftest$ac_exeext conftest.$ac_ext
25466 ac_res=`eval echo '${'$as_ac_var'}'`
25467 { echo "$as_me:$LINENO: result: $ac_res" >&5
25468 echo "${ECHO_T}$ac_res" >&6; }
25469 if test `eval echo '${'$as_ac_var'}'` = yes; then
25470 cat >>confdefs.h <<_ACEOF
25471 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25477 { echo "$as_me:$LINENO: checking if floating point functions link without -lm" >&5
25478 echo $ECHO_N "checking if floating point functions link without -lm... $ECHO_C" >&6; }
25479 if test "$have_cos" = 1 -a "$have_floor" = 1; then
25480 { echo "$as_me:$LINENO: result: yes" >&5
25481 echo "${ECHO_T}yes" >&6; }
25483 { echo "$as_me:$LINENO: result: no" >&5
25484 echo "${ECHO_T}no" >&6; }
25486 # use different functions to avoid configure caching
25492 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25493 { echo "$as_me:$LINENO: checking for $ac_func" >&5
25494 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
25495 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
25496 echo $ECHO_N "(cached) $ECHO_C" >&6
25498 cat >conftest.$ac_ext <<_ACEOF
25501 cat confdefs.h >>conftest.$ac_ext
25502 cat >>conftest.$ac_ext <<_ACEOF
25503 /* end confdefs.h. */
25504 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25505 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25506 #define $ac_func innocuous_$ac_func
25508 /* System header to define __stub macros and hopefully few prototypes,
25509 which can conflict with char $ac_func (); below.
25510 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25511 <limits.h> exists even on freestanding compilers. */
25514 # include <limits.h>
25516 # include <assert.h>
25521 /* Override any GCC internal prototype to avoid an error.
25522 Use char because int might match the return type of a GCC
25523 builtin and then its argument prototype would still apply. */
25528 /* The GNU C library defines this for functions which it implements
25529 to always fail with ENOSYS. Some functions are actually named
25530 something starting with __ and the normal name is an alias. */
25531 #if defined __stub_$ac_func || defined __stub___$ac_func
25538 return $ac_func ();
25543 rm -f conftest.$ac_objext conftest$ac_exeext
25544 if { (ac_try="$ac_link"
25545 case "(($ac_try" in
25546 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
25547 *) ac_try_echo
=$ac_try;;
25549 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25550 (eval "$ac_link") 2>conftest.er1
25552 grep -v '^ *+' conftest.er1
>conftest.err
25554 cat conftest.err
>&5
25555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25556 (exit $ac_status); } && {
25557 test -z "$ac_c_werror_flag" ||
25558 test ! -s conftest.err
25559 } && test -s conftest
$ac_exeext &&
25560 $as_test_x conftest
$ac_exeext; then
25561 eval "$as_ac_var=yes"
25563 echo "$as_me: failed program was:" >&5
25564 sed 's/^/| /' conftest.
$ac_ext >&5
25566 eval "$as_ac_var=no"
25569 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
25570 conftest
$ac_exeext conftest.
$ac_ext
25572 ac_res
=`eval echo '${'$as_ac_var'}'`
25573 { echo "$as_me:$LINENO: result: $ac_res" >&5
25574 echo "${ECHO_T}$ac_res" >&6; }
25575 if test `eval echo '${'$as_ac_var'}'` = yes; then
25576 cat >>confdefs.h
<<_ACEOF
25577 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25584 for ac_func
in ceil
25586 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25587 { echo "$as_me:$LINENO: checking for $ac_func" >&5
25588 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
25589 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
25590 echo $ECHO_N "(cached) $ECHO_C" >&6
25592 cat >conftest.
$ac_ext <<_ACEOF
25595 cat confdefs.h
>>conftest.
$ac_ext
25596 cat >>conftest.
$ac_ext <<_ACEOF
25597 /* end confdefs.h. */
25598 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25599 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25600 #define $ac_func innocuous_$ac_func
25602 /* System header to define __stub macros and hopefully few prototypes,
25603 which can conflict with char $ac_func (); below.
25604 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25605 <limits.h> exists even on freestanding compilers. */
25608 # include <limits.h>
25610 # include <assert.h>
25615 /* Override any GCC internal prototype to avoid an error.
25616 Use char because int might match the return type of a GCC
25617 builtin and then its argument prototype would still apply. */
25622 /* The GNU C library defines this for functions which it implements
25623 to always fail with ENOSYS. Some functions are actually named
25624 something starting with __ and the normal name is an alias. */
25625 #if defined __stub_$ac_func || defined __stub___$ac_func
25632 return $ac_func ();
25637 rm -f conftest.
$ac_objext conftest
$ac_exeext
25638 if { (ac_try
="$ac_link"
25639 case "(($ac_try" in
25640 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
25641 *) ac_try_echo=$ac_try;;
25643 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25644 (eval "$ac_link") 2>conftest.er1
25646 grep -v '^ *+' conftest.er1 >conftest.err
25648 cat conftest.err >&5
25649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25650 (exit $ac_status); } && {
25651 test -z "$ac_c_werror_flag" ||
25652 test ! -s conftest.err
25653 } && test -s conftest$ac_exeext &&
25654 $as_test_x conftest$ac_exeext; then
25655 eval "$as_ac_var=yes"
25657 echo "$as_me: failed program was:" >&5
25658 sed 's/^/| /' conftest.$ac_ext >&5
25660 eval "$as_ac_var=no"
25663 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25664 conftest$ac_exeext conftest.$ac_ext
25666 ac_res=`eval echo '${'$as_ac_var'}'`
25667 { echo "$as_me:$LINENO: result: $ac_res" >&5
25668 echo "${ECHO_T}$ac_res" >&6; }
25669 if test `eval echo '${'$as_ac_var'}'` = yes; then
25670 cat >>confdefs.h <<_ACEOF
25671 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25677 { echo "$as_me:$LINENO: checking if floating point functions link with -lm" >&5
25678 echo $ECHO_N "checking if floating point functions link with -lm... $ECHO_C" >&6; }
25679 if test "$have_sin" = 1 -a "$have_ceil" = 1; then
25680 { echo "$as_me:$LINENO: result: yes" >&5
25681 echo "${ECHO_T}yes" >&6; }
25683 { echo "$as_me:$LINENO: result: no" >&5
25684 echo "${ECHO_T}no" >&6; }
25685 # not sure we should warn the user, crash, etc.
25690 ac_cpp='$CXXCPP $CPPFLAGS'
25691 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25692 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25693 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25695 if test "wxUSE_UNICODE" = "yes"; then
25697 for wx_func in wcstoull
25699 { echo "$as_me:$LINENO: checking for $wx_func" >&5
25700 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
25701 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
25702 echo $ECHO_N "(cached) $ECHO_C" >&6
25705 cat >conftest.$ac_ext <<_ACEOF
25709 cat confdefs.h >>conftest.$ac_ext
25710 cat >>conftest.$ac_ext <<_ACEOF
25711 /* end confdefs.h. */
25714 $ac_includes_default
25730 rm -f conftest.$ac_objext conftest$ac_exeext
25731 if { (ac_try="$ac_link"
25732 case "(($ac_try" in
25733 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
25734 *) ac_try_echo
=$ac_try;;
25736 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25737 (eval "$ac_link") 2>conftest.er1
25739 grep -v '^ *+' conftest.er1
>conftest.err
25741 cat conftest.err
>&5
25742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25743 (exit $ac_status); } && {
25744 test -z "$ac_cxx_werror_flag" ||
25745 test ! -s conftest.err
25746 } && test -s conftest
$ac_exeext &&
25747 $as_test_x conftest
$ac_exeext; then
25748 eval wx_cv_func_
$wx_func=yes
25750 echo "$as_me: failed program was:" >&5
25751 sed 's/^/| /' conftest.
$ac_ext >&5
25753 eval wx_cv_func_
$wx_func=no
25756 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
25757 conftest
$ac_exeext conftest.
$ac_ext
25760 ac_res
=`eval echo '${'wx_cv_func_$wx_func'}'`
25761 { echo "$as_me:$LINENO: result: $ac_res" >&5
25762 echo "${ECHO_T}$ac_res" >&6; }
25764 if eval test \
$wx_cv_func_$wx_func = yes
25766 cat >>confdefs.h
<<_ACEOF
25767 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
25779 for wx_func
in strtoull
25781 { echo "$as_me:$LINENO: checking for $wx_func" >&5
25782 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
25783 if { as_var
=wx_cv_func_
$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
25784 echo $ECHO_N "(cached) $ECHO_C" >&6
25787 cat >conftest.
$ac_ext <<_ACEOF
25791 cat confdefs.h
>>conftest.
$ac_ext
25792 cat >>conftest.
$ac_ext <<_ACEOF
25793 /* end confdefs.h. */
25796 $ac_includes_default
25812 rm -f conftest.
$ac_objext conftest
$ac_exeext
25813 if { (ac_try
="$ac_link"
25814 case "(($ac_try" in
25815 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
25816 *) ac_try_echo=$ac_try;;
25818 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25819 (eval "$ac_link") 2>conftest.er1
25821 grep -v '^ *+' conftest.er1 >conftest.err
25823 cat conftest.err >&5
25824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25825 (exit $ac_status); } && {
25826 test -z "$ac_cxx_werror_flag" ||
25827 test ! -s conftest.err
25828 } && test -s conftest$ac_exeext &&
25829 $as_test_x conftest$ac_exeext; then
25830 eval wx_cv_func_$wx_func=yes
25832 echo "$as_me: failed program was:" >&5
25833 sed 's/^/| /' conftest.$ac_ext >&5
25835 eval wx_cv_func_$wx_func=no
25838 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25839 conftest$ac_exeext conftest.$ac_ext
25842 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
25843 { echo "$as_me:$LINENO: result: $ac_res" >&5
25844 echo "${ECHO_T}$ac_res" >&6; }
25846 if eval test \$wx_cv_func_$wx_func = yes
25848 cat >>confdefs.h <<_ACEOF
25849 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
25861 ac_cpp='$CPP $CPPFLAGS'
25862 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25863 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25864 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25869 if test "$wxUSE_REGEX" != "no"; then
25870 cat >>confdefs.h <<\_ACEOF
25871 #define wxUSE_REGEX 1
25875 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_REGEX" = "yes"; then
25876 { echo "$as_me:$LINENO: WARNING: Defaulting to the the builtin regex library for Unicode build." >&5
25877 echo "$as_me: WARNING: Defaulting to the the builtin regex library for Unicode build." >&2;}
25878 wxUSE_REGEX=builtin
25881 if test "$wxUSE_REGEX" = "sys" -o "$wxUSE_REGEX" = "yes" ; then
25882 { echo "$as_me:$LINENO: checking for regex.h" >&5
25883 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6; }
25884 if test "${ac_cv_header_regex_h+set}" = set; then
25885 echo $ECHO_N "(cached) $ECHO_C" >&6
25887 cat >conftest.$ac_ext <<_ACEOF
25890 cat confdefs.h >>conftest.$ac_ext
25891 cat >>conftest.$ac_ext <<_ACEOF
25892 /* end confdefs.h. */
25897 rm -f conftest.$ac_objext
25898 if { (ac_try="$ac_compile"
25899 case "(($ac_try" in
25900 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
25901 *) ac_try_echo
=$ac_try;;
25903 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25904 (eval "$ac_compile") 2>conftest.er1
25906 grep -v '^ *+' conftest.er1
>conftest.err
25908 cat conftest.err
>&5
25909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25910 (exit $ac_status); } && {
25911 test -z "$ac_c_werror_flag" ||
25912 test ! -s conftest.err
25913 } && test -s conftest.
$ac_objext; then
25914 ac_cv_header_regex_h
=yes
25916 echo "$as_me: failed program was:" >&5
25917 sed 's/^/| /' conftest.
$ac_ext >&5
25919 ac_cv_header_regex_h
=no
25922 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
25924 { echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
25925 echo "${ECHO_T}$ac_cv_header_regex_h" >&6; }
25926 if test $ac_cv_header_regex_h = yes; then
25929 for ac_func
in regcomp re_search
25931 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25932 { echo "$as_me:$LINENO: checking for $ac_func" >&5
25933 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
25934 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
25935 echo $ECHO_N "(cached) $ECHO_C" >&6
25937 cat >conftest.
$ac_ext <<_ACEOF
25940 cat confdefs.h
>>conftest.
$ac_ext
25941 cat >>conftest.
$ac_ext <<_ACEOF
25942 /* end confdefs.h. */
25943 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25944 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25945 #define $ac_func innocuous_$ac_func
25947 /* System header to define __stub macros and hopefully few prototypes,
25948 which can conflict with char $ac_func (); below.
25949 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25950 <limits.h> exists even on freestanding compilers. */
25953 # include <limits.h>
25955 # include <assert.h>
25960 /* Override any GCC internal prototype to avoid an error.
25961 Use char because int might match the return type of a GCC
25962 builtin and then its argument prototype would still apply. */
25967 /* The GNU C library defines this for functions which it implements
25968 to always fail with ENOSYS. Some functions are actually named
25969 something starting with __ and the normal name is an alias. */
25970 #if defined __stub_$ac_func || defined __stub___$ac_func
25977 return $ac_func ();
25982 rm -f conftest.
$ac_objext conftest
$ac_exeext
25983 if { (ac_try
="$ac_link"
25984 case "(($ac_try" in
25985 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
25986 *) ac_try_echo=$ac_try;;
25988 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25989 (eval "$ac_link") 2>conftest.er1
25991 grep -v '^ *+' conftest.er1 >conftest.err
25993 cat conftest.err >&5
25994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25995 (exit $ac_status); } && {
25996 test -z "$ac_c_werror_flag" ||
25997 test ! -s conftest.err
25998 } && test -s conftest$ac_exeext &&
25999 $as_test_x conftest$ac_exeext; then
26000 eval "$as_ac_var=yes"
26002 echo "$as_me: failed program was:" >&5
26003 sed 's/^/| /' conftest.$ac_ext >&5
26005 eval "$as_ac_var=no"
26008 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26009 conftest$ac_exeext conftest.$ac_ext
26011 ac_res=`eval echo '${'$as_ac_var'}'`
26012 { echo "$as_me:$LINENO: result: $ac_res" >&5
26013 echo "${ECHO_T}$ac_res" >&6; }
26014 if test `eval echo '${'$as_ac_var'}'` = yes; then
26015 cat >>confdefs.h <<_ACEOF
26016 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26026 if test "x$ac_cv_func_regcomp" != "xyes"; then
26027 if test "$wxUSE_REGEX" = "sys" ; then
26028 { { echo "$as_me:$LINENO: error: system regex library not found! Use --with-regex to use built-in version" >&5
26029 echo "$as_me: error: system regex library not found! Use --with-regex to use built-in version" >&2;}
26030 { (exit 1); exit 1; }; }
26032 { echo "$as_me:$LINENO: WARNING: system regex library not found, will use built-in instead" >&5
26033 echo "$as_me: WARNING: system regex library not found, will use built-in instead" >&2;}
26034 wxUSE_REGEX=builtin
26038 cat >>confdefs.h <<\_ACEOF
26039 #define WX_NO_REGEX_ADVANCED 1
26048 if test "$wxUSE_ZLIB" != "no" ; then
26049 cat >>confdefs.h <<\_ACEOF
26050 #define wxUSE_ZLIB 1
26054 if test "$wxUSE_ZLIB" = "sys" -o "$wxUSE_ZLIB" = "yes" ; then
26055 if test "$USE_DARWIN" = 1; then
26056 system_zlib_h_ok="yes"
26058 { echo "$as_me:$LINENO: checking for zlib.h >= 1.1.4" >&5
26059 echo $ECHO_N "checking for zlib.h >= 1.1.4... $ECHO_C" >&6; }
26060 if test "${ac_cv_header_zlib_h+set}" = set; then
26061 echo $ECHO_N "(cached) $ECHO_C" >&6
26063 if test "$cross_compiling" = yes; then
26064 unset ac_cv_header_zlib_h
26067 cat >conftest.$ac_ext <<_ACEOF
26070 cat confdefs.h >>conftest.$ac_ext
26071 cat >>conftest.$ac_ext <<_ACEOF
26072 /* end confdefs.h. */
26079 FILE *f=fopen("conftestval", "w");
26082 ZLIB_VERSION[0] == '1' &&
26083 (ZLIB_VERSION[2] > '1' ||
26084 (ZLIB_VERSION[2] == '1' &&
26085 ZLIB_VERSION[4] >= '4')) ? "yes" : "no");
26090 rm -f conftest$ac_exeext
26091 if { (ac_try="$ac_link"
26092 case "(($ac_try" in
26093 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
26094 *) ac_try_echo
=$ac_try;;
26096 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26097 (eval "$ac_link") 2>&5
26099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26100 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
26101 { (case "(($ac_try" in
26102 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
26103 *) ac_try_echo=$ac_try;;
26105 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26106 (eval "$ac_try") 2>&5
26108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26109 (exit $ac_status); }; }; then
26110 ac_cv_header_zlib_h=`cat conftestval
`
26112 echo "$as_me: program exited with status $ac_status" >&5
26113 echo "$as_me: failed program was:" >&5
26114 sed 's/^/| /' conftest.$ac_ext >&5
26116 ( exit $ac_status )
26117 ac_cv_header_zlib_h=no
26119 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
26125 { echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
26126 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6; }
26127 { echo "$as_me:$LINENO: checking for zlib.h" >&5
26128 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6; }
26129 if test "${ac_cv_header_zlib_h+set}" = set; then
26130 echo $ECHO_N "(cached) $ECHO_C" >&6
26132 cat >conftest.$ac_ext <<_ACEOF
26135 cat confdefs.h >>conftest.$ac_ext
26136 cat >>conftest.$ac_ext <<_ACEOF
26137 /* end confdefs.h. */
26142 rm -f conftest.$ac_objext
26143 if { (ac_try="$ac_compile"
26144 case "(($ac_try" in
26145 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
26146 *) ac_try_echo
=$ac_try;;
26148 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26149 (eval "$ac_compile") 2>conftest.er1
26151 grep -v '^ *+' conftest.er1
>conftest.err
26153 cat conftest.err
>&5
26154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26155 (exit $ac_status); } && {
26156 test -z "$ac_c_werror_flag" ||
26157 test ! -s conftest.err
26158 } && test -s conftest.
$ac_objext; then
26159 ac_cv_header_zlib_h
=yes
26161 echo "$as_me: failed program was:" >&5
26162 sed 's/^/| /' conftest.
$ac_ext >&5
26164 ac_cv_header_zlib_h
=no
26167 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
26169 { echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
26170 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6; }
26174 system_zlib_h_ok
=$ac_cv_header_zlib_h
26177 if test "$system_zlib_h_ok" = "yes"; then
26178 { echo "$as_me:$LINENO: checking for deflate in -lz" >&5
26179 echo $ECHO_N "checking for deflate in -lz... $ECHO_C" >&6; }
26180 if test "${ac_cv_lib_z_deflate+set}" = set; then
26181 echo $ECHO_N "(cached) $ECHO_C" >&6
26183 ac_check_lib_save_LIBS
=$LIBS
26185 cat >conftest.
$ac_ext <<_ACEOF
26188 cat confdefs.h
>>conftest.
$ac_ext
26189 cat >>conftest.
$ac_ext <<_ACEOF
26190 /* end confdefs.h. */
26192 /* Override any GCC internal prototype to avoid an error.
26193 Use char because int might match the return type of a GCC
26194 builtin and then its argument prototype would still apply. */
26207 rm -f conftest.
$ac_objext conftest
$ac_exeext
26208 if { (ac_try
="$ac_link"
26209 case "(($ac_try" in
26210 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
26211 *) ac_try_echo=$ac_try;;
26213 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26214 (eval "$ac_link") 2>conftest.er1
26216 grep -v '^ *+' conftest.er1 >conftest.err
26218 cat conftest.err >&5
26219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26220 (exit $ac_status); } && {
26221 test -z "$ac_c_werror_flag" ||
26222 test ! -s conftest.err
26223 } && test -s conftest$ac_exeext &&
26224 $as_test_x conftest$ac_exeext; then
26225 ac_cv_lib_z_deflate=yes
26227 echo "$as_me: failed program was:" >&5
26228 sed 's/^/| /' conftest.$ac_ext >&5
26230 ac_cv_lib_z_deflate=no
26233 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26234 conftest$ac_exeext conftest.$ac_ext
26235 LIBS=$ac_check_lib_save_LIBS
26237 { echo "$as_me:$LINENO: result: $ac_cv_lib_z_deflate" >&5
26238 echo "${ECHO_T}$ac_cv_lib_z_deflate" >&6; }
26239 if test $ac_cv_lib_z_deflate = yes; then
26245 if test "x$ZLIB_LINK" = "x" ; then
26246 if test "$wxUSE_ZLIB" = "sys" ; then
26247 { { echo "$as_me:$LINENO: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&5
26248 echo "$as_me: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&2;}
26249 { (exit 1); exit 1; }; }
26251 { echo "$as_me:$LINENO: WARNING: zlib library not found or too old, will use built-in instead" >&5
26252 echo "$as_me: WARNING: zlib library not found or too old, will use built-in instead" >&2;}
26263 if test "$wxUSE_LIBPNG" != "no" ; then
26264 cat >>confdefs.h <<\_ACEOF
26265 #define wxUSE_LIBPNG 1
26269 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBPNG" = "builtin" ; then
26270 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&5
26271 echo "$as_me: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&2;}
26275 if test "$wxUSE_MGL" != 1 -a "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
26276 { echo "$as_me:$LINENO: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&5
26277 echo "$as_me: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&2;}
26278 wxUSE_LIBPNG=builtin
26281 if test "$wxUSE_MGL" != 1 ; then
26282 if test "$wxUSE_LIBPNG" = "sys" -o "$wxUSE_LIBPNG" = "yes" ; then
26283 { echo "$as_me:$LINENO: checking for png.h > 0.90" >&5
26284 echo $ECHO_N "checking for png.h > 0.90... $ECHO_C" >&6; }
26285 if test "${ac_cv_header_png_h+set}" = set; then
26286 echo $ECHO_N "(cached) $ECHO_C" >&6
26288 if test "$cross_compiling" = yes; then
26289 unset ac_cv_header_png_h
26292 cat >conftest.$ac_ext <<_ACEOF
26295 cat confdefs.h >>conftest.$ac_ext
26296 cat >>conftest.$ac_ext <<_ACEOF
26297 /* end confdefs.h. */
26304 FILE *f=fopen("conftestval", "w");
26307 PNG_LIBPNG_VER > 90 ? "yes" : "no");
26312 rm -f conftest$ac_exeext
26313 if { (ac_try="$ac_link"
26314 case "(($ac_try" in
26315 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
26316 *) ac_try_echo
=$ac_try;;
26318 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26319 (eval "$ac_link") 2>&5
26321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26322 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
26323 { (case "(($ac_try" in
26324 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
26325 *) ac_try_echo=$ac_try;;
26327 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26328 (eval "$ac_try") 2>&5
26330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26331 (exit $ac_status); }; }; then
26332 ac_cv_header_png_h=`cat conftestval
`
26334 echo "$as_me: program exited with status $ac_status" >&5
26335 echo "$as_me: failed program was:" >&5
26336 sed 's/^/| /' conftest.$ac_ext >&5
26338 ( exit $ac_status )
26339 ac_cv_header_png_h=no
26341 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
26347 { echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
26348 echo "${ECHO_T}$ac_cv_header_png_h" >&6; }
26349 { echo "$as_me:$LINENO: checking for png.h" >&5
26350 echo $ECHO_N "checking for png.h... $ECHO_C" >&6; }
26351 if test "${ac_cv_header_png_h+set}" = set; then
26352 echo $ECHO_N "(cached) $ECHO_C" >&6
26354 cat >conftest.$ac_ext <<_ACEOF
26357 cat confdefs.h >>conftest.$ac_ext
26358 cat >>conftest.$ac_ext <<_ACEOF
26359 /* end confdefs.h. */
26364 rm -f conftest.$ac_objext
26365 if { (ac_try="$ac_compile"
26366 case "(($ac_try" in
26367 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
26368 *) ac_try_echo
=$ac_try;;
26370 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26371 (eval "$ac_compile") 2>conftest.er1
26373 grep -v '^ *+' conftest.er1
>conftest.err
26375 cat conftest.err
>&5
26376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26377 (exit $ac_status); } && {
26378 test -z "$ac_c_werror_flag" ||
26379 test ! -s conftest.err
26380 } && test -s conftest.
$ac_objext; then
26381 ac_cv_header_png_h
=yes
26383 echo "$as_me: failed program was:" >&5
26384 sed 's/^/| /' conftest.
$ac_ext >&5
26386 ac_cv_header_png_h
=no
26389 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
26391 { echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
26392 echo "${ECHO_T}$ac_cv_header_png_h" >&6; }
26396 if test "$ac_cv_header_png_h" = "yes"; then
26397 { echo "$as_me:$LINENO: checking for png_check_sig in -lpng" >&5
26398 echo $ECHO_N "checking for png_check_sig in -lpng... $ECHO_C" >&6; }
26399 if test "${ac_cv_lib_png_png_check_sig+set}" = set; then
26400 echo $ECHO_N "(cached) $ECHO_C" >&6
26402 ac_check_lib_save_LIBS
=$LIBS
26403 LIBS
="-lpng -lz -lm $LIBS"
26404 cat >conftest.
$ac_ext <<_ACEOF
26407 cat confdefs.h
>>conftest.
$ac_ext
26408 cat >>conftest.
$ac_ext <<_ACEOF
26409 /* end confdefs.h. */
26411 /* Override any GCC internal prototype to avoid an error.
26412 Use char because int might match the return type of a GCC
26413 builtin and then its argument prototype would still apply. */
26417 char png_check_sig ();
26421 return png_check_sig ();
26426 rm -f conftest.
$ac_objext conftest
$ac_exeext
26427 if { (ac_try
="$ac_link"
26428 case "(($ac_try" in
26429 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
26430 *) ac_try_echo=$ac_try;;
26432 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26433 (eval "$ac_link") 2>conftest.er1
26435 grep -v '^ *+' conftest.er1 >conftest.err
26437 cat conftest.err >&5
26438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26439 (exit $ac_status); } && {
26440 test -z "$ac_c_werror_flag" ||
26441 test ! -s conftest.err
26442 } && test -s conftest$ac_exeext &&
26443 $as_test_x conftest$ac_exeext; then
26444 ac_cv_lib_png_png_check_sig=yes
26446 echo "$as_me: failed program was:" >&5
26447 sed 's/^/| /' conftest.$ac_ext >&5
26449 ac_cv_lib_png_png_check_sig=no
26452 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26453 conftest$ac_exeext conftest.$ac_ext
26454 LIBS=$ac_check_lib_save_LIBS
26456 { echo "$as_me:$LINENO: result: $ac_cv_lib_png_png_check_sig" >&5
26457 echo "${ECHO_T}$ac_cv_lib_png_png_check_sig" >&6; }
26458 if test $ac_cv_lib_png_png_check_sig = yes; then
26459 PNG_LINK=" -lpng -lz"
26464 if test "x$PNG_LINK" = "x" ; then
26465 if test "$wxUSE_LIBPNG" = "sys" ; then
26466 { { echo "$as_me:$LINENO: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&5
26467 echo "$as_me: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&2;}
26468 { (exit 1); exit 1; }; }
26470 { echo "$as_me:$LINENO: WARNING: system png library not found or too old, will use built-in instead" >&5
26471 echo "$as_me: WARNING: system png library not found or too old, will use built-in instead" >&2;}
26472 wxUSE_LIBPNG=builtin
26483 if test "$wxUSE_LIBJPEG" != "no" ; then
26484 cat >>confdefs.h <<\_ACEOF
26485 #define wxUSE_LIBJPEG 1
26489 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBJPEG" = "builtin" ; then
26490 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&5
26491 echo "$as_me: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&2;}
26495 if test "$wxUSE_MGL" != 1 ; then
26496 if test "$wxUSE_LIBJPEG" = "sys" -o "$wxUSE_LIBJPEG" = "yes" ; then
26497 { echo "$as_me:$LINENO: checking for jpeglib.h" >&5
26498 echo $ECHO_N "checking for jpeglib.h... $ECHO_C" >&6; }
26499 if test "${ac_cv_header_jpeglib_h+set}" = set; then
26500 echo $ECHO_N "(cached) $ECHO_C" >&6
26502 cat >conftest.$ac_ext <<_ACEOF
26505 cat confdefs.h >>conftest.$ac_ext
26506 cat >>conftest.$ac_ext <<_ACEOF
26507 /* end confdefs.h. */
26509 #undef HAVE_STDLIB_H
26511 #include <jpeglib.h>
26522 rm -f conftest.$ac_objext
26523 if { (ac_try="$ac_compile"
26524 case "(($ac_try" in
26525 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
26526 *) ac_try_echo
=$ac_try;;
26528 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26529 (eval "$ac_compile") 2>conftest.er1
26531 grep -v '^ *+' conftest.er1
>conftest.err
26533 cat conftest.err
>&5
26534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26535 (exit $ac_status); } && {
26536 test -z "$ac_c_werror_flag" ||
26537 test ! -s conftest.err
26538 } && test -s conftest.
$ac_objext; then
26539 ac_cv_header_jpeglib_h
=yes
26541 echo "$as_me: failed program was:" >&5
26542 sed 's/^/| /' conftest.
$ac_ext >&5
26544 ac_cv_header_jpeglib_h
=no
26548 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
26552 { echo "$as_me:$LINENO: result: $ac_cv_header_jpeglib_h" >&5
26553 echo "${ECHO_T}$ac_cv_header_jpeglib_h" >&6; }
26555 if test "$ac_cv_header_jpeglib_h" = "yes"; then
26556 { echo "$as_me:$LINENO: checking for jpeg_read_header in -ljpeg" >&5
26557 echo $ECHO_N "checking for jpeg_read_header in -ljpeg... $ECHO_C" >&6; }
26558 if test "${ac_cv_lib_jpeg_jpeg_read_header+set}" = set; then
26559 echo $ECHO_N "(cached) $ECHO_C" >&6
26561 ac_check_lib_save_LIBS
=$LIBS
26562 LIBS
="-ljpeg $LIBS"
26563 cat >conftest.
$ac_ext <<_ACEOF
26566 cat confdefs.h
>>conftest.
$ac_ext
26567 cat >>conftest.
$ac_ext <<_ACEOF
26568 /* end confdefs.h. */
26570 /* Override any GCC internal prototype to avoid an error.
26571 Use char because int might match the return type of a GCC
26572 builtin and then its argument prototype would still apply. */
26576 char jpeg_read_header ();
26580 return jpeg_read_header ();
26585 rm -f conftest.
$ac_objext conftest
$ac_exeext
26586 if { (ac_try
="$ac_link"
26587 case "(($ac_try" in
26588 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
26589 *) ac_try_echo=$ac_try;;
26591 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26592 (eval "$ac_link") 2>conftest.er1
26594 grep -v '^ *+' conftest.er1 >conftest.err
26596 cat conftest.err >&5
26597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26598 (exit $ac_status); } && {
26599 test -z "$ac_c_werror_flag" ||
26600 test ! -s conftest.err
26601 } && test -s conftest$ac_exeext &&
26602 $as_test_x conftest$ac_exeext; then
26603 ac_cv_lib_jpeg_jpeg_read_header=yes
26605 echo "$as_me: failed program was:" >&5
26606 sed 's/^/| /' conftest.$ac_ext >&5
26608 ac_cv_lib_jpeg_jpeg_read_header=no
26611 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26612 conftest$ac_exeext conftest.$ac_ext
26613 LIBS=$ac_check_lib_save_LIBS
26615 { echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jpeg_read_header" >&5
26616 echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_read_header" >&6; }
26617 if test $ac_cv_lib_jpeg_jpeg_read_header = yes; then
26618 JPEG_LINK=" -ljpeg"
26623 if test "x$JPEG_LINK" = "x" ; then
26624 if test "$wxUSE_LIBJPEG" = "sys" ; then
26625 { { echo "$as_me:$LINENO: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&5
26626 echo "$as_me: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&2;}
26627 { (exit 1); exit 1; }; }
26629 { echo "$as_me:$LINENO: WARNING: system jpeg library not found, will use built-in instead" >&5
26630 echo "$as_me: WARNING: system jpeg library not found, will use built-in instead" >&2;}
26631 wxUSE_LIBJPEG=builtin
26636 if test "$wxUSE_MSW" = 1; then
26637 { echo "$as_me:$LINENO: checking for boolean" >&5
26638 echo $ECHO_N "checking for boolean... $ECHO_C" >&6; }
26639 if test "${ac_cv_type_boolean+set}" = set; then
26640 echo $ECHO_N "(cached) $ECHO_C" >&6
26642 cat >conftest.$ac_ext <<_ACEOF
26645 cat confdefs.h >>conftest.$ac_ext
26646 cat >>conftest.$ac_ext <<_ACEOF
26647 /* end confdefs.h. */
26648 #include <windows.h>
26650 typedef boolean ac__type_new_;
26654 if ((ac__type_new_ *) 0)
26656 if (sizeof (ac__type_new_))
26662 rm -f conftest.$ac_objext
26663 if { (ac_try="$ac_compile"
26664 case "(($ac_try" in
26665 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
26666 *) ac_try_echo
=$ac_try;;
26668 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26669 (eval "$ac_compile") 2>conftest.er1
26671 grep -v '^ *+' conftest.er1
>conftest.err
26673 cat conftest.err
>&5
26674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26675 (exit $ac_status); } && {
26676 test -z "$ac_c_werror_flag" ||
26677 test ! -s conftest.err
26678 } && test -s conftest.
$ac_objext; then
26679 ac_cv_type_boolean
=yes
26681 echo "$as_me: failed program was:" >&5
26682 sed 's/^/| /' conftest.
$ac_ext >&5
26684 ac_cv_type_boolean
=no
26687 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
26689 { echo "$as_me:$LINENO: result: $ac_cv_type_boolean" >&5
26690 echo "${ECHO_T}$ac_cv_type_boolean" >&6; }
26691 if test $ac_cv_type_boolean = yes; then
26693 cat >>confdefs.h
<<_ACEOF
26694 #define HAVE_BOOLEAN 1
26698 { echo "$as_me:$LINENO: checking for boolean" >&5
26699 echo $ECHO_N "checking for boolean... $ECHO_C" >&6; }
26700 if test "${ac_cv_type_boolean+set}" = set; then
26701 echo $ECHO_N "(cached) $ECHO_C" >&6
26703 cat >conftest.
$ac_ext <<_ACEOF
26706 cat confdefs.h
>>conftest.
$ac_ext
26707 cat >>conftest.
$ac_ext <<_ACEOF
26708 /* end confdefs.h. */
26710 #undef HAVE_BOOLEAN
26712 #include <jpeglib.h>
26715 typedef boolean ac__type_new_;
26719 if ((ac__type_new_ *) 0)
26721 if (sizeof (ac__type_new_))
26727 rm -f conftest.
$ac_objext
26728 if { (ac_try
="$ac_compile"
26729 case "(($ac_try" in
26730 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
26731 *) ac_try_echo=$ac_try;;
26733 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26734 (eval "$ac_compile") 2>conftest.er1
26736 grep -v '^ *+' conftest.er1 >conftest.err
26738 cat conftest.err >&5
26739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26740 (exit $ac_status); } && {
26741 test -z "$ac_c_werror_flag" ||
26742 test ! -s conftest.err
26743 } && test -s conftest.$ac_objext; then
26744 ac_cv_type_boolean=yes
26746 echo "$as_me: failed program was:" >&5
26747 sed 's/^/| /' conftest.$ac_ext >&5
26749 ac_cv_type_boolean=no
26752 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26754 { echo "$as_me:$LINENO: result: $ac_cv_type_boolean" >&5
26755 echo "${ECHO_T}$ac_cv_type_boolean" >&6; }
26757 # The cast to long int works around a bug in the HP C Compiler
26758 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
26759 # declarations like `int a3
[[(sizeof
(unsigned char
)) >= 0]];'.
26760 # This bug is HP SR number 8606223364.
26761 { echo "$as_me:$LINENO: checking size of boolean" >&5
26762 echo $ECHO_N "checking size of boolean... $ECHO_C" >&6; }
26763 if test "${ac_cv_sizeof_boolean+set}" = set; then
26764 echo $ECHO_N "(cached) $ECHO_C" >&6
26766 if test "$cross_compiling" = yes; then
26767 # Depending upon the size, compute the lo and hi bounds.
26768 cat >conftest.$ac_ext <<_ACEOF
26771 cat confdefs.h >>conftest.$ac_ext
26772 cat >>conftest.$ac_ext <<_ACEOF
26773 /* end confdefs.h. */
26775 #undef HAVE_BOOLEAN
26777 #include <jpeglib.h>
26780 typedef boolean ac__type_sizeof_;
26784 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
26791 rm -f conftest.$ac_objext
26792 if { (ac_try="$ac_compile"
26793 case "(($ac_try" in
26794 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26795 *) ac_try_echo=$ac_try;;
26797 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26798 (eval "$ac_compile") 2>conftest.er1
26800 grep -v '^
*+' conftest.er1 >conftest.err
26802 cat conftest.err >&5
26803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26804 (exit $ac_status); } && {
26805 test -z "$ac_c_werror_flag" ||
26806 test ! -s conftest.err
26807 } && test -s conftest.$ac_objext; then
26810 cat >conftest.$ac_ext <<_ACEOF
26813 cat confdefs.h >>conftest.$ac_ext
26814 cat >>conftest.$ac_ext <<_ACEOF
26815 /* end confdefs.h. */
26817 #undef HAVE_BOOLEAN
26819 #include <jpeglib.h>
26822 typedef boolean ac__type_sizeof_;
26826 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
26833 rm -f conftest.$ac_objext
26834 if { (ac_try="$ac_compile"
26835 case "(($ac_try" in
26836 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26837 *) ac_try_echo=$ac_try;;
26839 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26840 (eval "$ac_compile") 2>conftest.er1
26842 grep -v '^
*+' conftest.er1 >conftest.err
26844 cat conftest.err >&5
26845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26846 (exit $ac_status); } && {
26847 test -z "$ac_c_werror_flag" ||
26848 test ! -s conftest.err
26849 } && test -s conftest.$ac_objext; then
26850 ac_hi=$ac_mid; break
26852 echo "$as_me: failed program was:" >&5
26853 sed 's
/^
/| /' conftest.$ac_ext >&5
26855 ac_lo=`expr $ac_mid + 1`
26856 if test $ac_lo -le $ac_mid; then
26860 ac_mid=`expr 2 '*' $ac_mid + 1`
26863 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26866 echo "$as_me: failed program was:" >&5
26867 sed 's
/^
/| /' conftest.$ac_ext >&5
26869 cat >conftest.$ac_ext <<_ACEOF
26872 cat confdefs.h >>conftest.$ac_ext
26873 cat >>conftest.$ac_ext <<_ACEOF
26874 /* end confdefs.h. */
26876 #undef HAVE_BOOLEAN
26878 #include <jpeglib.h>
26881 typedef boolean ac__type_sizeof_;
26885 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
26892 rm -f conftest.$ac_objext
26893 if { (ac_try="$ac_compile"
26894 case "(($ac_try" in
26895 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26896 *) ac_try_echo=$ac_try;;
26898 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26899 (eval "$ac_compile") 2>conftest.er1
26901 grep -v '^
*+' conftest.er1 >conftest.err
26903 cat conftest.err >&5
26904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26905 (exit $ac_status); } && {
26906 test -z "$ac_c_werror_flag" ||
26907 test ! -s conftest.err
26908 } && test -s conftest.$ac_objext; then
26911 cat >conftest.$ac_ext <<_ACEOF
26914 cat confdefs.h >>conftest.$ac_ext
26915 cat >>conftest.$ac_ext <<_ACEOF
26916 /* end confdefs.h. */
26918 #undef HAVE_BOOLEAN
26920 #include <jpeglib.h>
26923 typedef boolean ac__type_sizeof_;
26927 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
26934 rm -f conftest.$ac_objext
26935 if { (ac_try="$ac_compile"
26936 case "(($ac_try" in
26937 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26938 *) ac_try_echo=$ac_try;;
26940 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26941 (eval "$ac_compile") 2>conftest.er1
26943 grep -v '^
*+' conftest.er1 >conftest.err
26945 cat conftest.err >&5
26946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26947 (exit $ac_status); } && {
26948 test -z "$ac_c_werror_flag" ||
26949 test ! -s conftest.err
26950 } && test -s conftest.$ac_objext; then
26951 ac_lo=$ac_mid; break
26953 echo "$as_me: failed program was:" >&5
26954 sed 's
/^
/| /' conftest.$ac_ext >&5
26956 ac_hi=`expr '(' $ac_mid ')' - 1`
26957 if test $ac_mid -le $ac_hi; then
26961 ac_mid=`expr 2 '*' $ac_mid`
26964 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26967 echo "$as_me: failed program was:" >&5
26968 sed 's
/^
/| /' conftest.$ac_ext >&5
26973 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26976 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26977 # Binary search between lo and hi bounds.
26978 while test "x$ac_lo" != "x$ac_hi"; do
26979 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
26980 cat >conftest.$ac_ext <<_ACEOF
26983 cat confdefs.h >>conftest.$ac_ext
26984 cat >>conftest.$ac_ext <<_ACEOF
26985 /* end confdefs.h. */
26987 #undef HAVE_BOOLEAN
26989 #include <jpeglib.h>
26992 typedef boolean ac__type_sizeof_;
26996 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
27003 rm -f conftest.$ac_objext
27004 if { (ac_try="$ac_compile"
27005 case "(($ac_try" in
27006 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27007 *) ac_try_echo=$ac_try;;
27009 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27010 (eval "$ac_compile") 2>conftest.er1
27012 grep -v '^
*+' conftest.er1 >conftest.err
27014 cat conftest.err >&5
27015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27016 (exit $ac_status); } && {
27017 test -z "$ac_c_werror_flag" ||
27018 test ! -s conftest.err
27019 } && test -s conftest.$ac_objext; then
27022 echo "$as_me: failed program was:" >&5
27023 sed 's
/^
/| /' conftest.$ac_ext >&5
27025 ac_lo=`expr '(' $ac_mid ')' + 1`
27028 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27031 ?*) ac_cv_sizeof_boolean=$ac_lo;;
27032 '') if test "$ac_cv_type_boolean" = yes; then
27033 { { echo "$as_me:$LINENO: error: cannot compute sizeof (boolean)
27034 See \`config.log' for more details.
" >&5
27035 echo "$as_me: error
: cannot compute sizeof
(boolean
)
27036 See \
`config.log' for more details." >&2;}
27037 { (exit 77); exit 77; }; }
27039 ac_cv_sizeof_boolean=0
27043 cat >conftest.$ac_ext <<_ACEOF
27046 cat confdefs.h >>conftest.$ac_ext
27047 cat >>conftest.$ac_ext <<_ACEOF
27048 /* end confdefs.h. */
27050 #undef HAVE_BOOLEAN
27052 #include <jpeglib.h>
27055 typedef boolean ac__type_sizeof_;
27056 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
27057 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
27059 #include <stdlib.h>
27064 FILE *f = fopen ("conftest.val", "w");
27067 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
27069 long int i = longval ();
27070 if (i != ((long int) (sizeof (ac__type_sizeof_))))
27072 fprintf (f, "%ld\n", i);
27076 unsigned long int i = ulongval ();
27077 if (i != ((long int) (sizeof (ac__type_sizeof_))))
27079 fprintf (f, "%lu\n", i);
27081 return ferror (f) || fclose (f) != 0;
27087 rm -f conftest$ac_exeext
27088 if { (ac_try="$ac_link"
27089 case "(($ac_try" in
27090 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
27091 *) ac_try_echo
=$ac_try;;
27093 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27094 (eval "$ac_link") 2>&5
27096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27097 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
27098 { (case "(($ac_try" in
27099 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
27100 *) ac_try_echo=$ac_try;;
27102 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27103 (eval "$ac_try") 2>&5
27105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27106 (exit $ac_status); }; }; then
27107 ac_cv_sizeof_boolean=`cat conftest.val
`
27109 echo "$as_me: program exited with status $ac_status" >&5
27110 echo "$as_me: failed program was:" >&5
27111 sed 's/^/| /' conftest.$ac_ext >&5
27113 ( exit $ac_status )
27114 if test "$ac_cv_type_boolean" = yes; then
27115 { { echo "$as_me:$LINENO: error: cannot compute sizeof (boolean)
27116 See \`config.log
' for more details." >&5
27117 echo "$as_me: error: cannot compute sizeof (boolean)
27118 See \`config.log' for more details.
" >&2;}
27119 { (exit 77); exit 77; }; }
27121 ac_cv_sizeof_boolean=0
27124 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
27128 { echo "$as_me:$LINENO: result
: $ac_cv_sizeof_boolean" >&5
27129 echo "${ECHO_T}$ac_cv_sizeof_boolean" >&6; }
27133 cat >>confdefs.h <<_ACEOF
27134 #define SIZEOF_BOOLEAN $ac_cv_sizeof_boolean
27138 cat >>confdefs.h <<_ACEOF
27139 #define wxHACK_BOOLEAN wxInt`expr 8 \* $ac_cv_sizeof_boolean`
27153 TIFF_PREREQ_LINKS=-lm
27154 if test "$wxUSE_LIBTIFF" != "no
" ; then
27155 cat >>confdefs.h <<\_ACEOF
27156 #define wxUSE_LIBTIFF 1
27160 if test "$wxUSE_LIBTIFF" = "sys
" -o "$wxUSE_LIBTIFF" = "yes" ; then
27161 if test "$wxUSE_LIBJPEG" = "sys
"; then
27162 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $JPEG_LINK"
27164 if test "$wxUSE_ZLIB" = "sys
"; then
27165 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $ZLIB_LINK"
27167 { echo "$as_me:$LINENO: checking
for tiffio.h
" >&5
27168 echo $ECHO_N "checking
for tiffio.h...
$ECHO_C" >&6; }
27169 if test "${ac_cv_header_tiffio_h+set}" = set; then
27170 echo $ECHO_N "(cached
) $ECHO_C" >&6
27172 cat >conftest.$ac_ext <<_ACEOF
27175 cat confdefs.h >>conftest.$ac_ext
27176 cat >>conftest.$ac_ext <<_ACEOF
27177 /* end confdefs.h. */
27181 #include <tiffio.h>
27183 rm -f conftest.$ac_objext
27184 if { (ac_try="$ac_compile"
27185 case "(($ac_try" in
27186 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27187 *) ac_try_echo=$ac_try;;
27189 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
27190 (eval "$ac_compile") 2>conftest.er1
27192 grep -v '^ *+' conftest.er1 >conftest.err
27194 cat conftest.err >&5
27195 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
27196 (exit $ac_status); } && {
27197 test -z "$ac_c_werror_flag" ||
27198 test ! -s conftest.err
27199 } && test -s conftest.$ac_objext; then
27200 ac_cv_header_tiffio_h=yes
27202 echo "$as_me: failed program was
:" >&5
27203 sed 's/^/| /' conftest.$ac_ext >&5
27205 ac_cv_header_tiffio_h=no
27208 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27210 { echo "$as_me:$LINENO: result
: $ac_cv_header_tiffio_h" >&5
27211 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6; }
27212 if test $ac_cv_header_tiffio_h = yes; then
27214 { echo "$as_me:$LINENO: checking
for TIFFError
in -ltiff" >&5
27215 echo $ECHO_N "checking
for TIFFError
in -ltiff...
$ECHO_C" >&6; }
27216 if test "${ac_cv_lib_tiff_TIFFError+set}" = set; then
27217 echo $ECHO_N "(cached
) $ECHO_C" >&6
27219 ac_check_lib_save_LIBS=$LIBS
27220 LIBS="-ltiff $TIFF_PREREQ_LINKS $LIBS"
27221 cat >conftest.$ac_ext <<_ACEOF
27224 cat confdefs.h >>conftest.$ac_ext
27225 cat >>conftest.$ac_ext <<_ACEOF
27226 /* end confdefs.h. */
27228 /* Override any GCC internal prototype to avoid an error.
27229 Use char because int might match the return type of a GCC
27230 builtin and then its argument prototype would still apply. */
27238 return TIFFError ();
27243 rm -f conftest.$ac_objext conftest$ac_exeext
27244 if { (ac_try="$ac_link"
27245 case "(($ac_try" in
27246 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27247 *) ac_try_echo=$ac_try;;
27249 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
27250 (eval "$ac_link") 2>conftest.er1
27252 grep -v '^ *+' conftest.er1 >conftest.err
27254 cat conftest.err >&5
27255 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
27256 (exit $ac_status); } && {
27257 test -z "$ac_c_werror_flag" ||
27258 test ! -s conftest.err
27259 } && test -s conftest$ac_exeext &&
27260 $as_test_x conftest$ac_exeext; then
27261 ac_cv_lib_tiff_TIFFError=yes
27263 echo "$as_me: failed program was
:" >&5
27264 sed 's/^/| /' conftest.$ac_ext >&5
27266 ac_cv_lib_tiff_TIFFError=no
27269 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27270 conftest$ac_exeext conftest.$ac_ext
27271 LIBS=$ac_check_lib_save_LIBS
27273 { echo "$as_me:$LINENO: result
: $ac_cv_lib_tiff_TIFFError" >&5
27274 echo "${ECHO_T}$ac_cv_lib_tiff_TIFFError" >&6; }
27275 if test $ac_cv_lib_tiff_TIFFError = yes; then
27276 TIFF_LINK=" -ltiff"
27284 if test "x
$TIFF_LINK" = "x
" ; then
27285 if test "$wxUSE_LIBTIFF" = "sys
" ; then
27286 { { echo "$as_me:$LINENO: error
: system tiff library not found
! Use
--with-libtiff=builtin to use built
-in version
" >&5
27287 echo "$as_me: error
: system tiff library not found
! Use
--with-libtiff=builtin to use built
-in version
" >&2;}
27288 { (exit 1); exit 1; }; }
27290 { echo "$as_me:$LINENO: WARNING
: system tiff library not found
, will use built
-in instead
" >&5
27291 echo "$as_me: WARNING
: system tiff library not found
, will use built
-in instead
" >&2;}
27292 wxUSE_LIBTIFF=builtin
27298 if test "$wxUSE_LIBTIFF" = "builtin" ; then
27299 if test "$wxUSE_LIBJPEG" = "no
"; then
27300 ac_configure_args="$ac_configure_args --disable-jpeg"
27302 subdirs="$subdirs src
/tiff
"
27308 if test "$wxUSE_WCHAR_T" != "yes"; then
27309 if test "$wxUSE_EXPAT" != "no
"; then
27310 { echo "$as_me:$LINENO: WARNING
: wxWidgets requires wchar_t to use expat
, disabling
" >&5
27311 echo "$as_me: WARNING
: wxWidgets requires wchar_t to use expat
, disabling
" >&2;}
27314 if test "$wxUSE_XML" != "no
"; then
27315 { echo "$as_me:$LINENO: WARNING
: wxWidgets requires wchar_t to use xml
, disabling
" >&5
27316 echo "$as_me: WARNING
: wxWidgets requires wchar_t to use xml
, disabling
" >&2;}
27321 if test "$wxUSE_EXPAT" != "no
"; then
27323 cat >>confdefs.h <<\_ACEOF
27324 #define wxUSE_EXPAT 1
27327 cat >>confdefs.h <<\_ACEOF
27328 #define wxUSE_XML 1
27332 if test "$wxUSE_EXPAT" = "sys
" -o "$wxUSE_EXPAT" = "yes" ; then
27333 { echo "$as_me:$LINENO: checking
for expat.h
" >&5
27334 echo $ECHO_N "checking
for expat.h...
$ECHO_C" >&6; }
27335 if test "${ac_cv_header_expat_h+set}" = set; then
27336 echo $ECHO_N "(cached
) $ECHO_C" >&6
27338 cat >conftest.$ac_ext <<_ACEOF
27341 cat confdefs.h >>conftest.$ac_ext
27342 cat >>conftest.$ac_ext <<_ACEOF
27343 /* end confdefs.h. */
27348 rm -f conftest.$ac_objext
27349 if { (ac_try="$ac_compile"
27350 case "(($ac_try" in
27351 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27352 *) ac_try_echo=$ac_try;;
27354 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
27355 (eval "$ac_compile") 2>conftest.er1
27357 grep -v '^ *+' conftest.er1 >conftest.err
27359 cat conftest.err >&5
27360 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
27361 (exit $ac_status); } && {
27362 test -z "$ac_c_werror_flag" ||
27363 test ! -s conftest.err
27364 } && test -s conftest.$ac_objext; then
27365 ac_cv_header_expat_h=yes
27367 echo "$as_me: failed program was
:" >&5
27368 sed 's/^/| /' conftest.$ac_ext >&5
27370 ac_cv_header_expat_h=no
27373 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27375 { echo "$as_me:$LINENO: result
: $ac_cv_header_expat_h" >&5
27376 echo "${ECHO_T}$ac_cv_header_expat_h" >&6; }
27377 if test $ac_cv_header_expat_h = yes; then
27382 if test "x
$found_expat_h" = "x1
"; then
27383 { echo "$as_me:$LINENO: checking
if expat.h is valid C
++ header
" >&5
27384 echo $ECHO_N "checking
if expat.h is valid C
++ header...
$ECHO_C" >&6; }
27385 if test "${wx_cv_expat_is_not_broken+set}" = set; then
27386 echo $ECHO_N "(cached
) $ECHO_C" >&6
27390 ac_cpp='$CXXCPP $CPPFLAGS'
27391 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27392 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27393 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27395 cat >conftest.$ac_ext <<_ACEOF
27398 cat confdefs.h >>conftest.$ac_ext
27399 cat >>conftest.$ac_ext <<_ACEOF
27400 /* end confdefs.h. */
27410 rm -f conftest.$ac_objext
27411 if { (ac_try="$ac_compile"
27412 case "(($ac_try" in
27413 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27414 *) ac_try_echo=$ac_try;;
27416 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
27417 (eval "$ac_compile") 2>conftest.er1
27419 grep -v '^ *+' conftest.er1 >conftest.err
27421 cat conftest.err >&5
27422 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
27423 (exit $ac_status); } && {
27424 test -z "$ac_cxx_werror_flag" ||
27425 test ! -s conftest.err
27426 } && test -s conftest.$ac_objext; then
27427 wx_cv_expat_is_not_broken=yes
27429 echo "$as_me: failed program was
:" >&5
27430 sed 's/^/| /' conftest.$ac_ext >&5
27432 wx_cv_expat_is_not_broken=no
27436 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27438 ac_cpp='$CPP $CPPFLAGS'
27439 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27440 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27441 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27446 { echo "$as_me:$LINENO: result
: $wx_cv_expat_is_not_broken" >&5
27447 echo "${ECHO_T}$wx_cv_expat_is_not_broken" >&6; }
27448 if test "$wx_cv_expat_is_not_broken" = "yes" ; then
27449 { echo "$as_me:$LINENO: checking
for XML_ParserCreate
in -lexpat" >&5
27450 echo $ECHO_N "checking
for XML_ParserCreate
in -lexpat...
$ECHO_C" >&6; }
27451 if test "${ac_cv_lib_expat_XML_ParserCreate+set}" = set; then
27452 echo $ECHO_N "(cached
) $ECHO_C" >&6
27454 ac_check_lib_save_LIBS=$LIBS
27455 LIBS="-lexpat $LIBS"
27456 cat >conftest.$ac_ext <<_ACEOF
27459 cat confdefs.h >>conftest.$ac_ext
27460 cat >>conftest.$ac_ext <<_ACEOF
27461 /* end confdefs.h. */
27463 /* Override any GCC internal prototype to avoid an error.
27464 Use char because int might match the return type of a GCC
27465 builtin and then its argument prototype would still apply. */
27469 char XML_ParserCreate ();
27473 return XML_ParserCreate ();
27478 rm -f conftest.$ac_objext conftest$ac_exeext
27479 if { (ac_try="$ac_link"
27480 case "(($ac_try" in
27481 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27482 *) ac_try_echo=$ac_try;;
27484 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
27485 (eval "$ac_link") 2>conftest.er1
27487 grep -v '^ *+' conftest.er1 >conftest.err
27489 cat conftest.err >&5
27490 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
27491 (exit $ac_status); } && {
27492 test -z "$ac_c_werror_flag" ||
27493 test ! -s conftest.err
27494 } && test -s conftest$ac_exeext &&
27495 $as_test_x conftest$ac_exeext; then
27496 ac_cv_lib_expat_XML_ParserCreate=yes
27498 echo "$as_me: failed program was
:" >&5
27499 sed 's/^/| /' conftest.$ac_ext >&5
27501 ac_cv_lib_expat_XML_ParserCreate=no
27504 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27505 conftest$ac_exeext conftest.$ac_ext
27506 LIBS=$ac_check_lib_save_LIBS
27508 { echo "$as_me:$LINENO: result
: $ac_cv_lib_expat_XML_ParserCreate" >&5
27509 echo "${ECHO_T}$ac_cv_lib_expat_XML_ParserCreate" >&6; }
27510 if test $ac_cv_lib_expat_XML_ParserCreate = yes; then
27511 EXPAT_LINK=" -lexpat"
27516 if test "x
$EXPAT_LINK" = "x
" ; then
27517 if test "$wxUSE_EXPAT" = "sys
" ; then
27518 { { echo "$as_me:$LINENO: error
: system expat library not found
! Use
--with-expat=builtin to use built
-in version
" >&5
27519 echo "$as_me: error
: system expat library not found
! Use
--with-expat=builtin to use built
-in version
" >&2;}
27520 { (exit 1); exit 1; }; }
27522 { echo "$as_me:$LINENO: WARNING
: system expat library not found
, will use built
-in instead
" >&5
27523 echo "$as_me: WARNING
: system expat library not found
, will use built
-in instead
" >&2;}
27524 wxUSE_EXPAT=builtin
27530 if test "$wxUSE_EXPAT" = "builtin" ; then
27531 subdirs="$subdirs src
/expat
"
27538 if test "$wxUSE_LIBMSPACK" != "no
"; then
27539 { echo "$as_me:$LINENO: checking
for mspack.h
" >&5
27540 echo $ECHO_N "checking
for mspack.h...
$ECHO_C" >&6; }
27541 if test "${ac_cv_header_mspack_h+set}" = set; then
27542 echo $ECHO_N "(cached
) $ECHO_C" >&6
27544 cat >conftest.$ac_ext <<_ACEOF
27547 cat confdefs.h >>conftest.$ac_ext
27548 cat >>conftest.$ac_ext <<_ACEOF
27549 /* end confdefs.h. */
27552 #include <mspack.h>
27554 rm -f conftest.$ac_objext
27555 if { (ac_try="$ac_compile"
27556 case "(($ac_try" in
27557 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27558 *) ac_try_echo=$ac_try;;
27560 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
27561 (eval "$ac_compile") 2>conftest.er1
27563 grep -v '^ *+' conftest.er1 >conftest.err
27565 cat conftest.err >&5
27566 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
27567 (exit $ac_status); } && {
27568 test -z "$ac_c_werror_flag" ||
27569 test ! -s conftest.err
27570 } && test -s conftest.$ac_objext; then
27571 ac_cv_header_mspack_h=yes
27573 echo "$as_me: failed program was
:" >&5
27574 sed 's/^/| /' conftest.$ac_ext >&5
27576 ac_cv_header_mspack_h=no
27579 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27581 { echo "$as_me:$LINENO: result
: $ac_cv_header_mspack_h" >&5
27582 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6; }
27583 if test $ac_cv_header_mspack_h = yes; then
27588 if test "x
$found_mspack_h" = "x1
"; then
27589 { echo "$as_me:$LINENO: checking
for mspack_create_chm_decompressor
in -lmspack" >&5
27590 echo $ECHO_N "checking
for mspack_create_chm_decompressor
in -lmspack...
$ECHO_C" >&6; }
27591 if test "${ac_cv_lib_mspack_mspack_create_chm_decompressor+set}" = set; then
27592 echo $ECHO_N "(cached
) $ECHO_C" >&6
27594 ac_check_lib_save_LIBS=$LIBS
27595 LIBS="-lmspack $LIBS"
27596 cat >conftest.$ac_ext <<_ACEOF
27599 cat confdefs.h >>conftest.$ac_ext
27600 cat >>conftest.$ac_ext <<_ACEOF
27601 /* end confdefs.h. */
27603 /* Override any GCC internal prototype to avoid an error.
27604 Use char because int might match the return type of a GCC
27605 builtin and then its argument prototype would still apply. */
27609 char mspack_create_chm_decompressor ();
27613 return mspack_create_chm_decompressor ();
27618 rm -f conftest.$ac_objext conftest$ac_exeext
27619 if { (ac_try="$ac_link"
27620 case "(($ac_try" in
27621 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27622 *) ac_try_echo=$ac_try;;
27624 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
27625 (eval "$ac_link") 2>conftest.er1
27627 grep -v '^ *+' conftest.er1 >conftest.err
27629 cat conftest.err >&5
27630 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
27631 (exit $ac_status); } && {
27632 test -z "$ac_c_werror_flag" ||
27633 test ! -s conftest.err
27634 } && test -s conftest$ac_exeext &&
27635 $as_test_x conftest$ac_exeext; then
27636 ac_cv_lib_mspack_mspack_create_chm_decompressor=yes
27638 echo "$as_me: failed program was
:" >&5
27639 sed 's/^/| /' conftest.$ac_ext >&5
27641 ac_cv_lib_mspack_mspack_create_chm_decompressor=no
27644 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27645 conftest$ac_exeext conftest.$ac_ext
27646 LIBS=$ac_check_lib_save_LIBS
27648 { echo "$as_me:$LINENO: result
: $ac_cv_lib_mspack_mspack_create_chm_decompressor" >&5
27649 echo "${ECHO_T}$ac_cv_lib_mspack_mspack_create_chm_decompressor" >&6; }
27650 if test $ac_cv_lib_mspack_mspack_create_chm_decompressor = yes; then
27651 MSPACK_LINK=" -lmspack"
27655 if test "x
$MSPACK_LINK" = "x
" ; then
27660 if test "$wxUSE_LIBMSPACK" != "no
"; then
27661 cat >>confdefs.h <<\_ACEOF
27662 #define wxUSE_LIBMSPACK 1
27676 if test "$USE_WIN32" = 1 ; then
27678 for ac_header in w32api.h
27680 as_ac_Header=`echo "ac_cv_header_
$ac_header" | $as_tr_sh`
27681 { echo "$as_me:$LINENO: checking
for $ac_header" >&5
27682 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6; }
27683 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
27684 echo $ECHO_N "(cached
) $ECHO_C" >&6
27686 cat >conftest.$ac_ext <<_ACEOF
27689 cat confdefs.h >>conftest.$ac_ext
27690 cat >>conftest.$ac_ext <<_ACEOF
27691 /* end confdefs.h. */
27694 #include <$ac_header>
27696 rm -f conftest.$ac_objext
27697 if { (ac_try="$ac_compile"
27698 case "(($ac_try" in
27699 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27700 *) ac_try_echo=$ac_try;;
27702 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
27703 (eval "$ac_compile") 2>conftest.er1
27705 grep -v '^ *+' conftest.er1 >conftest.err
27707 cat conftest.err >&5
27708 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
27709 (exit $ac_status); } && {
27710 test -z "$ac_c_werror_flag" ||
27711 test ! -s conftest.err
27712 } && test -s conftest.$ac_objext; then
27713 eval "$as_ac_Header=yes"
27715 echo "$as_me: failed program was
:" >&5
27716 sed 's/^/| /' conftest.$ac_ext >&5
27718 eval "$as_ac_Header=no
"
27721 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27723 ac_res=`eval echo '${'$as_ac_Header'}'`
27724 { echo "$as_me:$LINENO: result
: $ac_res" >&5
27725 echo "${ECHO_T}$ac_res" >&6; }
27726 if test `eval echo '${'$as_ac_Header'}'` = yes; then
27727 cat >>confdefs.h <<_ACEOF
27728 #define `echo "HAVE_
$ac_header" | $as_tr_cpp` 1
27735 { echo "$as_me:$LINENO: checking
for windows.h
" >&5
27736 echo $ECHO_N "checking
for windows.h...
$ECHO_C" >&6; }
27737 if test "${ac_cv_header_windows_h+set}" = set; then
27738 echo $ECHO_N "(cached
) $ECHO_C" >&6
27740 cat >conftest.$ac_ext <<_ACEOF
27743 cat confdefs.h >>conftest.$ac_ext
27744 cat >>conftest.$ac_ext <<_ACEOF
27745 /* end confdefs.h. */
27748 #include <windows.h>
27750 rm -f conftest.$ac_objext
27751 if { (ac_try="$ac_compile"
27752 case "(($ac_try" in
27753 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27754 *) ac_try_echo=$ac_try;;
27756 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
27757 (eval "$ac_compile") 2>conftest.er1
27759 grep -v '^ *+' conftest.er1 >conftest.err
27761 cat conftest.err >&5
27762 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
27763 (exit $ac_status); } && {
27764 test -z "$ac_c_werror_flag" ||
27765 test ! -s conftest.err
27766 } && test -s conftest.$ac_objext; then
27767 ac_cv_header_windows_h=yes
27769 echo "$as_me: failed program was
:" >&5
27770 sed 's/^/| /' conftest.$ac_ext >&5
27772 ac_cv_header_windows_h=no
27775 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27777 { echo "$as_me:$LINENO: result
: $ac_cv_header_windows_h" >&5
27778 echo "${ECHO_T}$ac_cv_header_windows_h" >&6; }
27779 if test $ac_cv_header_windows_h = yes; then
27783 { { echo "$as_me:$LINENO: error
: please
set CFLAGS to contain the location of windows.h
" >&5
27784 echo "$as_me: error
: please
set CFLAGS to contain the location of windows.h
" >&2;}
27785 { (exit 1); exit 1; }; }
27791 LIBS="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -lctl3d32 -ladvapi32 -lwsock32 -lgdi32"
27793 if test "$wxUSE_ACCESSIBILITY" = "yes" ; then
27794 LIBS="$LIBS -loleacc"
27799 LIBS="$LIBS -lkernel32 -luser32"
27802 RESFLAGS="--include-dir \
$(top_srcdir)/include
--include-dir \
$(top_srcdir)/\
$(program_dir) --define __WIN32__
--define __WIN95__
--define __GNUWIN32__
"
27803 RESPROGRAMOBJ="\
$(PROGRAM)_resources.o
"
27805 WXCONFIG_RESFLAGS="--define __WIN32__
--define __WIN95__
--define __GNUWIN32__
"
27807 WIN32INSTALL=win32install
27809 { echo "$as_me:$LINENO: checking
for pbt.h
" >&5
27810 echo $ECHO_N "checking
for pbt.h...
$ECHO_C" >&6; }
27811 if test "${ac_cv_header_pbt_h+set}" = set; then
27812 echo $ECHO_N "(cached
) $ECHO_C" >&6
27814 cat >conftest.$ac_ext <<_ACEOF
27817 cat confdefs.h >>conftest.$ac_ext
27818 cat >>conftest.$ac_ext <<_ACEOF
27819 /* end confdefs.h. */
27824 rm -f conftest.$ac_objext
27825 if { (ac_try="$ac_compile"
27826 case "(($ac_try" in
27827 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27828 *) ac_try_echo=$ac_try;;
27830 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
27831 (eval "$ac_compile") 2>conftest.er1
27833 grep -v '^ *+' conftest.er1 >conftest.err
27835 cat conftest.err >&5
27836 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
27837 (exit $ac_status); } && {
27838 test -z "$ac_c_werror_flag" ||
27839 test ! -s conftest.err
27840 } && test -s conftest.$ac_objext; then
27841 ac_cv_header_pbt_h=yes
27843 echo "$as_me: failed program was
:" >&5
27844 sed 's/^/| /' conftest.$ac_ext >&5
27846 ac_cv_header_pbt_h=no
27849 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27851 { echo "$as_me:$LINENO: result
: $ac_cv_header_pbt_h" >&5
27852 echo "${ECHO_T}$ac_cv_header_pbt_h" >&6; }
27853 if test $ac_cv_header_pbt_h = yes; then
27856 cat >>confdefs.h <<\_ACEOF
27857 #define NEED_PBT_H 1
27865 if test "$wxUSE_GUI" = "yes"; then
27875 if test "$wxUSE_COCOA" = 1 ; then
27876 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes"; then
27877 { echo "$as_me:$LINENO: WARNING
: Printing not supported under wxCocoa yet
, disabled
" >&5
27878 echo "$as_me: WARNING
: Printing not supported under wxCocoa yet
, disabled
" >&2;}
27879 wxUSE_PRINTING_ARCHITECTURE=no
27881 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
27882 { echo "$as_me:$LINENO: WARNING
: Drag and Drop not supported under wxCocoa yet
, disabled
" >&5
27883 echo "$as_me: WARNING
: Drag and Drop not supported under wxCocoa yet
, disabled
" >&2;}
27884 wxUSE_DRAG_AND_DROP=no
27886 if test "$wxUSE_DRAGIMAGE" = "yes"; then
27887 { echo "$as_me:$LINENO: WARNING
: wxDragImage not supported under wxCocoa yet
, disabled
" >&5
27888 echo "$as_me: WARNING
: wxDragImage not supported under wxCocoa yet
, disabled
" >&2;}
27893 if test "$wxUSE_MSW" = 1 ; then
27899 WXCONFIG_LDFLAGS_GUI="$LDFLAGS -Wl,--subsystem,windows
-mwindows"
27903 if test "$wxUSE_GTK" = 1; then
27904 { echo "$as_me:$LINENO: checking
for GTK
+ version
" >&5
27905 echo $ECHO_N "checking
for GTK
+ version...
$ECHO_C" >&6; }
27907 gtk_version_cached=1
27908 if test "${wx_cv_lib_gtk+set}" = set; then
27909 echo $ECHO_N "(cached
) $ECHO_C" >&6
27912 gtk_version_cached=0
27913 { echo "$as_me:$LINENO: result
: " >&5
27914 echo "${ECHO_T}" >&6; }
27917 if test "$wxUSE_THREADS" = "yes"; then
27918 GTK_MODULES=gthread
27922 if test "x
$wxGTK_VERSION" != "x1
"
27926 if test "$wxUSE_THREADS" = "yes" -a "$GCC" = yes; then
27931 # Check whether --enable-gtktest was given.
27932 if test "${enable_gtktest+set}" = set; then
27933 enableval=$enable_gtktest;
27939 pkg_config_args=gtk+-2.0
27940 for module in . $GTK_MODULES
27944 pkg_config_args="$pkg_config_args gthread
-2.0
"
27951 # Extract the first word of "pkg
-config", so it can be a program name with args.
27952 set dummy pkg-config; ac_word=$2
27953 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
27954 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
27955 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
27956 echo $ECHO_N "(cached
) $ECHO_C" >&6
27958 case $PKG_CONFIG in
27960 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
27963 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
27964 for as_dir in $PATH
27967 test -z "$as_dir" && as_dir=.
27968 for ac_exec_ext in '' $ac_executable_extensions; do
27969 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
27970 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
27971 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
27978 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no
"
27982 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
27983 if test -n "$PKG_CONFIG"; then
27984 { echo "$as_me:$LINENO: result
: $PKG_CONFIG" >&5
27985 echo "${ECHO_T}$PKG_CONFIG" >&6; }
27987 { echo "$as_me:$LINENO: result
: no
" >&5
27988 echo "${ECHO_T}no
" >&6; }
27993 if test x$PKG_CONFIG != xno ; then
27994 if pkg-config --atleast-pkgconfig-version 0.7 ; then
27997 echo "*** pkg
-config too old
; version
0.7 or better required.
"
28005 min_gtk_version=2.4.0
28006 { echo "$as_me:$LINENO: checking
for GTK
+ - version
>= $min_gtk_version" >&5
28007 echo $ECHO_N "checking
for GTK
+ - version
>= $min_gtk_version...
$ECHO_C" >&6; }
28009 if test x$PKG_CONFIG != xno ; then
28010 ## don't try to run the test against uninstalled libtool libs
28011 if $PKG_CONFIG --uninstalled $pkg_config_args; then
28012 echo "Will use uninstalled version of GTK
+ found
in PKG_CONFIG_PATH
"
28016 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
28023 if test x"$no_gtk" = x ; then
28024 GTK_CFLAGS=`$PKG_CONFIG $pkg_config_args --cflags`
28025 GTK_LIBS=`$PKG_CONFIG $pkg_config_args --libs`
28026 gtk_config_major_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
28027 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
28028 gtk_config_minor_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
28029 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
28030 gtk_config_micro_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
28031 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
28032 if test "x
$enable_gtktest" = "xyes
" ; then
28033 ac_save_CFLAGS="$CFLAGS"
28034 ac_save_LIBS="$LIBS"
28035 CFLAGS="$CFLAGS $GTK_CFLAGS"
28036 LIBS="$GTK_LIBS $LIBS"
28038 if test "$cross_compiling" = yes; then
28039 echo $ac_n "cross compiling
; assumed OK...
$ac_c"
28041 cat >conftest.$ac_ext <<_ACEOF
28044 cat confdefs.h >>conftest.$ac_ext
28045 cat >>conftest.$ac_ext <<_ACEOF
28046 /* end confdefs.h. */
28048 #include <gtk/gtk.h>
28050 #include <stdlib.h>
28055 int major, minor, micro;
28058 system ("touch conf.gtktest
");
28060 /* HP/UX 9 (%@#!) writes to sscanf strings */
28061 tmp_version = g_strdup("$min_gtk_version");
28062 if (sscanf(tmp_version, "%d.
%d.
%d
", &major, &minor, µ) != 3) {
28063 printf("%s
, bad version string
\n", "$min_gtk_version");
28067 if ((gtk_major_version != $gtk_config_major_version) ||
28068 (gtk_minor_version != $gtk_config_minor_version) ||
28069 (gtk_micro_version != $gtk_config_micro_version))
28071 printf("\n*** 'pkg-config --modversion gtk+-2.0' returned
%d.
%d.
%d
, but GTK
+ (%d.
%d.
%d
)\n",
28072 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
28073 gtk_major_version, gtk_minor_version, gtk_micro_version);
28074 printf ("*** was found
! If pkg
-config was correct
, then it is best
\n");
28075 printf ("*** to remove the old version of GTK
+. You may also be able to fix the error
\n");
28076 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable
, or by editing
\n");
28077 printf("*** /etc
/ld.so.conf. Make sure you have run ldconfig
if that is
\n");
28078 printf("*** required on your system.
\n");
28079 printf("*** If pkg
-config was wrong
, set the environment variable PKG_CONFIG_PATH
\n");
28080 printf("*** to point to the correct configuration files
\n");
28082 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
28083 (gtk_minor_version != GTK_MINOR_VERSION) ||
28084 (gtk_micro_version != GTK_MICRO_VERSION))
28086 printf("*** GTK
+ header files
(version
%d.
%d.
%d
) do not match
\n",
28087 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
28088 printf("*** library
(version
%d.
%d.
%d
)\n",
28089 gtk_major_version, gtk_minor_version, gtk_micro_version);
28093 if ((gtk_major_version > major) ||
28094 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
28095 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
28101 printf("\n*** An old version of GTK
+ (%d.
%d.
%d
) was found.
\n",
28102 gtk_major_version, gtk_minor_version, gtk_micro_version);
28103 printf("*** You need a version of GTK
+ newer than
%d.
%d.
%d. The latest version of
\n",
28104 major, minor, micro);
28105 printf("*** GTK
+ is always available from
ftp://ftp.gtk.org.
\n");
28107 printf("*** If you have already installed a sufficiently new version
, this error
\n");
28108 printf("*** probably means that the wrong copy of the pkg
-config shell
script is
\n");
28109 printf("*** being found. The easiest way to fix this is to remove the old version
\n");
28110 printf("*** of GTK
+, but you can also
set the PKG_CONFIG environment to point to the
\n");
28111 printf("*** correct copy of pkg
-config.
(In this
case, you will have to
\n");
28112 printf("*** modify your LD_LIBRARY_PATH enviroment variable
, or edit
/etc
/ld.so.conf
\n");
28113 printf("*** so that the correct libraries are found
at run
-time))\n");
28120 rm -f conftest$ac_exeext
28121 if { (ac_try="$ac_link"
28122 case "(($ac_try" in
28123 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28124 *) ac_try_echo=$ac_try;;
28126 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
28127 (eval "$ac_link") 2>&5
28129 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
28130 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
28131 { (case "(($ac_try" in
28132 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28133 *) ac_try_echo=$ac_try;;
28135 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
28136 (eval "$ac_try") 2>&5
28138 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
28139 (exit $ac_status); }; }; then
28142 echo "$as_me: program exited with status
$ac_status" >&5
28143 echo "$as_me: failed program was
:" >&5
28144 sed 's/^/| /' conftest.$ac_ext >&5
28146 ( exit $ac_status )
28149 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
28153 CFLAGS="$ac_save_CFLAGS"
28154 LIBS="$ac_save_LIBS"
28157 if test "x
$no_gtk" = x ; then
28158 { echo "$as_me:$LINENO: result
: yes (version
$gtk_config_major_version.
$gtk_config_minor_version.
$gtk_config_micro_version)" >&5
28159 echo "${ECHO_T}yes (version
$gtk_config_major_version.
$gtk_config_minor_version.
$gtk_config_micro_version)" >&6; }
28162 { echo "$as_me:$LINENO: result
: no
" >&5
28163 echo "${ECHO_T}no
" >&6; }
28164 if test "$PKG_CONFIG" = "no
" ; then
28165 echo "*** A new enough version of pkg
-config was not found.
"
28166 echo "*** See http
://pkgconfig.sourceforge.net
"
28168 if test -f conf.gtktest ; then
28171 echo "*** Could not run GTK
+ test program
, checking why...
"
28172 ac_save_CFLAGS="$CFLAGS"
28173 ac_save_LIBS="$LIBS"
28174 CFLAGS="$CFLAGS $GTK_CFLAGS"
28175 LIBS="$LIBS $GTK_LIBS"
28176 cat >conftest.$ac_ext <<_ACEOF
28179 cat confdefs.h >>conftest.$ac_ext
28180 cat >>conftest.$ac_ext <<_ACEOF
28181 /* end confdefs.h. */
28183 #include <gtk/gtk.h>
28189 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
28194 rm -f conftest.$ac_objext conftest$ac_exeext
28195 if { (ac_try="$ac_link"
28196 case "(($ac_try" in
28197 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28198 *) ac_try_echo=$ac_try;;
28200 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
28201 (eval "$ac_link") 2>conftest.er1
28203 grep -v '^ *+' conftest.er1 >conftest.err
28205 cat conftest.err >&5
28206 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
28207 (exit $ac_status); } && {
28208 test -z "$ac_c_werror_flag" ||
28209 test ! -s conftest.err
28210 } && test -s conftest$ac_exeext &&
28211 $as_test_x conftest$ac_exeext; then
28212 echo "*** The
test program compiled
, but did not run. This usually means
"
28213 echo "*** that the run
-time linker is not finding GTK
+ or finding the wrong
"
28214 echo "*** version of GTK
+. If it is not finding GTK
+, you
'll need to set your"
28215 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
28216 echo "*** to the installed location Also, make sure you have run ldconfig if that"
28217 echo "*** is required on your system"
28219 echo "*** If you have an old version installed, it is best to remove it, although"
28220 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
28222 echo "$as_me: failed program was:" >&5
28223 sed 's
/^
/| /' conftest.$ac_ext >&5
28225 echo "*** The test program failed to compile or link. See the file config.log for the"
28226 echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."
28229 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28230 conftest$ac_exeext conftest.$ac_ext
28231 CFLAGS="$ac_save_CFLAGS"
28232 LIBS="$ac_save_LIBS"
28246 if test "$wxUSE_SHARED" != "yes"; then
28247 GTK_LIBS="$GTK_LIBS -lX11"
28252 if test -z "$wx_cv_lib_gtk"; then
28253 if test "x$wxGTK_VERSION" = "x1" -o "x$wxGTK_VERSION" = "xany" ; then
28255 # Check whether --with-gtk-prefix was given.
28256 if test "${with_gtk_prefix+set}" = set; then
28257 withval=$with_gtk_prefix; gtk_config_prefix="$withval"
28259 gtk_config_prefix=""
28263 # Check whether --with-gtk-exec-prefix was given.
28264 if test "${with_gtk_exec_prefix+set}" = set; then
28265 withval=$with_gtk_exec_prefix; gtk_config_exec_prefix="$withval"
28267 gtk_config_exec_prefix=""
28270 # Check whether --enable-gtktest was given.
28271 if test "${enable_gtktest+set}" = set; then
28272 enableval=$enable_gtktest;
28278 for module in . $GTK_MODULES
28282 gtk_config_args="$gtk_config_args gthread"
28287 if test x$gtk_config_exec_prefix != x ; then
28288 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
28289 if test x${GTK_CONFIG+set} != xset ; then
28290 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
28293 if test x$gtk_config_prefix != x ; then
28294 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
28295 if test x${GTK_CONFIG+set} != xset ; then
28296 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
28300 # Extract the first word of "gtk-config", so it can be a program name with args.
28301 set dummy gtk-config; ac_word=$2
28302 { echo "$as_me:$LINENO: checking for $ac_word" >&5
28303 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
28304 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
28305 echo $ECHO_N "(cached) $ECHO_C" >&6
28307 case $GTK_CONFIG in
28309 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
28312 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
28313 for as_dir in $PATH
28316 test -z "$as_dir" && as_dir=.
28317 for ac_exec_ext in '' $ac_executable_extensions; do
28318 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
28319 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
28320 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
28327 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
28331 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
28332 if test -n "$GTK_CONFIG"; then
28333 { echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
28334 echo "${ECHO_T}$GTK_CONFIG" >&6; }
28336 { echo "$as_me:$LINENO: result: no" >&5
28337 echo "${ECHO_T}no" >&6; }
28341 min_gtk_version=1.2.7
28342 { echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
28343 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6; }
28345 if test "$GTK_CONFIG" = "no" ; then
28348 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
28349 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
28350 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
28351 sed 's
/\
([0-9]*\
).\
([0-9]*\
).\
([0-9]*\
)/\
1/'`
28352 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
28353 sed 's
/\
([0-9]*\
).\
([0-9]*\
).\
([0-9]*\
)/\
2/'`
28354 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
28355 sed 's
/\
([0-9]*\
).\
([0-9]*\
).\
([0-9]*\
)/\
3/'`
28356 if test "x$enable_gtktest" = "xyes" ; then
28357 ac_save_CFLAGS="$CFLAGS"
28358 ac_save_LIBS="$LIBS"
28359 CFLAGS="$CFLAGS $GTK_CFLAGS"
28360 LIBS="$GTK_LIBS $LIBS"
28362 if test "$cross_compiling" = yes; then
28363 echo $ac_n "cross compiling; assumed OK... $ac_c"
28365 cat >conftest.$ac_ext <<_ACEOF
28368 cat confdefs.h >>conftest.$ac_ext
28369 cat >>conftest.$ac_ext <<_ACEOF
28370 /* end confdefs.h. */
28372 #include <gtk/gtk.h>
28374 #include <stdlib.h>
28379 int major, minor, micro;
28382 system ("touch conf.gtktest");
28384 /* HP/UX 9 (%@#!) writes to sscanf strings */
28385 tmp_version = g_strdup("$min_gtk_version");
28386 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
28387 printf("%s, bad version string\n", "$min_gtk_version");
28391 if ((gtk_major_version != $gtk_config_major_version) ||
28392 (gtk_minor_version != $gtk_config_minor_version) ||
28393 (gtk_micro_version != $gtk_config_micro_version))
28395 printf("\n*** 'gtk
-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
28396 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
28397 gtk_major_version, gtk_minor_version, gtk_micro_version);
28398 printf ("*** was found! If gtk-config was correct, then it is best\n");
28399 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
28400 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
28401 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
28402 printf("*** required on your system.\n");
28403 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
28404 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
28405 printf("*** before re-running configure\n");
28407 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
28408 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
28409 (gtk_minor_version != GTK_MINOR_VERSION) ||
28410 (gtk_micro_version != GTK_MICRO_VERSION))
28412 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
28413 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
28414 printf("*** library (version %d.%d.%d)\n",
28415 gtk_major_version, gtk_minor_version, gtk_micro_version);
28417 #endif /* defined (GTK_MAJOR_VERSION) ... */
28420 if ((gtk_major_version > major) ||
28421 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
28422 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
28428 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
28429 gtk_major_version, gtk_minor_version, gtk_micro_version);
28430 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
28431 major, minor, micro);
28432 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
28434 printf("*** If you have already installed a sufficiently new version, this error\n");
28435 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
28436 printf("*** being found. The easiest way to fix this is to remove the old version\n");
28437 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
28438 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
28439 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
28440 printf("*** so that the correct libraries are found at run-time))\n");
28447 rm -f conftest$ac_exeext
28448 if { (ac_try="$ac_link"
28449 case "(($ac_try" in
28450 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28451 *) ac_try_echo=$ac_try;;
28453 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28454 (eval "$ac_link") 2>&5
28456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28457 (exit $ac_status); } && { ac_try='.
/conftest
$ac_exeext'
28458 { (case "(($ac_try" in
28459 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28460 *) ac_try_echo=$ac_try;;
28462 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28463 (eval "$ac_try") 2>&5
28465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28466 (exit $ac_status); }; }; then
28469 echo "$as_me: program exited with status $ac_status" >&5
28470 echo "$as_me: failed program was:" >&5
28471 sed 's
/^
/| /' conftest.$ac_ext >&5
28473 ( exit $ac_status )
28476 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
28480 CFLAGS="$ac_save_CFLAGS"
28481 LIBS="$ac_save_LIBS"
28484 if test "x$no_gtk" = x ; then
28485 { echo "$as_me:$LINENO: result: yes" >&5
28486 echo "${ECHO_T}yes" >&6; }
28487 wx_cv_lib_gtk=1.2.7
28489 { echo "$as_me:$LINENO: result: no" >&5
28490 echo "${ECHO_T}no" >&6; }
28491 if test "$GTK_CONFIG" = "no" ; then
28492 echo "*** The gtk-config script installed by GTK could not be found"
28493 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
28494 echo "*** your path, or set the GTK_CONFIG environment variable to the"
28495 echo "*** full path to gtk-config."
28497 if test -f conf.gtktest ; then
28500 echo "*** Could not run GTK test program, checking why..."
28501 CFLAGS="$CFLAGS $GTK_CFLAGS"
28502 LIBS="$LIBS $GTK_LIBS"
28503 cat >conftest.$ac_ext <<_ACEOF
28506 cat confdefs.h >>conftest.$ac_ext
28507 cat >>conftest.$ac_ext <<_ACEOF
28508 /* end confdefs.h. */
28510 #include <gtk/gtk.h>
28516 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
28521 rm -f conftest.$ac_objext conftest$ac_exeext
28522 if { (ac_try="$ac_link"
28523 case "(($ac_try" in
28524 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28525 *) ac_try_echo=$ac_try;;
28527 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28528 (eval "$ac_link") 2>conftest.er1
28530 grep -v '^
*+' conftest.er1 >conftest.err
28532 cat conftest.err >&5
28533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28534 (exit $ac_status); } && {
28535 test -z "$ac_c_werror_flag" ||
28536 test ! -s conftest.err
28537 } && test -s conftest$ac_exeext &&
28538 $as_test_x conftest$ac_exeext; then
28539 echo "*** The test program compiled, but did not run. This usually means"
28540 echo "*** that the run-time linker is not finding GTK or finding the wrong"
28541 echo "*** version of GTK. If it is not finding GTK, you'll need to
set your
"
28542 echo "*** LD_LIBRARY_PATH environment variable
, or edit
/etc
/ld.so.conf to point
"
28543 echo "*** to the installed location Also
, make sure you have run ldconfig
if that
"
28544 echo "*** is required on your system
"
28546 echo "*** If you have an old version installed
, it is best to remove it
, although
"
28547 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH
"
28549 echo "*** If you have a RedHat
5.0 system
, you should remove the GTK package that
"
28550 echo "*** came with the system with the
command"
28552 echo "*** rpm
--erase --nodeps gtk gtk
-devel"
28554 echo "$as_me: failed program was
:" >&5
28555 sed 's/^/| /' conftest.$ac_ext >&5
28557 echo "*** The
test program failed to compile or link. See the
file config.log
for the
"
28558 echo "*** exact error that occured. This usually means GTK was incorrectly installed
"
28559 echo "*** or that you have moved GTK since it was installed. In the latter
case, you
"
28560 echo "*** may want to edit the gtk
-config script: $GTK_CONFIG"
28563 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28564 conftest$ac_exeext conftest.$ac_ext
28565 CFLAGS="$ac_save_CFLAGS"
28566 LIBS="$ac_save_LIBS"
28578 if test -z "$wx_cv_lib_gtk"; then
28580 # Check whether --with-gtk-prefix was given.
28581 if test "${with_gtk_prefix+set}" = set; then
28582 withval=$with_gtk_prefix; gtk_config_prefix="$withval"
28584 gtk_config_prefix=""
28588 # Check whether --with-gtk-exec-prefix was given.
28589 if test "${with_gtk_exec_prefix+set}" = set; then
28590 withval=$with_gtk_exec_prefix; gtk_config_exec_prefix="$withval"
28592 gtk_config_exec_prefix=""
28595 # Check whether --enable-gtktest was given.
28596 if test "${enable_gtktest+set}" = set; then
28597 enableval=$enable_gtktest;
28603 for module in . $GTK_MODULES
28607 gtk_config_args="$gtk_config_args gthread
"
28612 if test x$gtk_config_exec_prefix != x ; then
28613 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
28614 if test x${GTK_CONFIG+set} != xset ; then
28615 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
28618 if test x$gtk_config_prefix != x ; then
28619 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
28620 if test x${GTK_CONFIG+set} != xset ; then
28621 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
28625 # Extract the first word of "gtk
-config", so it can be a program name with args.
28626 set dummy gtk-config; ac_word=$2
28627 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
28628 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
28629 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
28630 echo $ECHO_N "(cached
) $ECHO_C" >&6
28632 case $GTK_CONFIG in
28634 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
28637 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
28638 for as_dir in $PATH
28641 test -z "$as_dir" && as_dir=.
28642 for ac_exec_ext in '' $ac_executable_extensions; do
28643 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
28644 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
28645 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
28652 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no
"
28656 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
28657 if test -n "$GTK_CONFIG"; then
28658 { echo "$as_me:$LINENO: result
: $GTK_CONFIG" >&5
28659 echo "${ECHO_T}$GTK_CONFIG" >&6; }
28661 { echo "$as_me:$LINENO: result
: no
" >&5
28662 echo "${ECHO_T}no
" >&6; }
28666 min_gtk_version=1.2.3
28667 { echo "$as_me:$LINENO: checking
for GTK
- version
>= $min_gtk_version" >&5
28668 echo $ECHO_N "checking
for GTK
- version
>= $min_gtk_version...
$ECHO_C" >&6; }
28670 if test "$GTK_CONFIG" = "no
" ; then
28673 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
28674 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
28675 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
28676 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
28677 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
28678 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
28679 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
28680 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
28681 if test "x
$enable_gtktest" = "xyes
" ; then
28682 ac_save_CFLAGS="$CFLAGS"
28683 ac_save_LIBS="$LIBS"
28684 CFLAGS="$CFLAGS $GTK_CFLAGS"
28685 LIBS="$GTK_LIBS $LIBS"
28687 if test "$cross_compiling" = yes; then
28688 echo $ac_n "cross compiling
; assumed OK...
$ac_c"
28690 cat >conftest.$ac_ext <<_ACEOF
28693 cat confdefs.h >>conftest.$ac_ext
28694 cat >>conftest.$ac_ext <<_ACEOF
28695 /* end confdefs.h. */
28697 #include <gtk/gtk.h>
28699 #include <stdlib.h>
28704 int major, minor, micro;
28707 system ("touch conf.gtktest
");
28709 /* HP/UX 9 (%@#!) writes to sscanf strings */
28710 tmp_version = g_strdup("$min_gtk_version");
28711 if (sscanf(tmp_version, "%d.
%d.
%d
", &major, &minor, µ) != 3) {
28712 printf("%s
, bad version string
\n", "$min_gtk_version");
28716 if ((gtk_major_version != $gtk_config_major_version) ||
28717 (gtk_minor_version != $gtk_config_minor_version) ||
28718 (gtk_micro_version != $gtk_config_micro_version))
28720 printf("\n*** 'gtk-config --version' returned
%d.
%d.
%d
, but GTK
+ (%d.
%d.
%d
)\n",
28721 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
28722 gtk_major_version, gtk_minor_version, gtk_micro_version);
28723 printf ("*** was found
! If gtk
-config was correct
, then it is best
\n");
28724 printf ("*** to remove the old version of GTK
+. You may also be able to fix the error
\n");
28725 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable
, or by editing
\n");
28726 printf("*** /etc
/ld.so.conf. Make sure you have run ldconfig
if that is
\n");
28727 printf("*** required on your system.
\n");
28728 printf("*** If gtk
-config was wrong
, set the environment variable GTK_CONFIG
\n");
28729 printf("*** to point to the correct copy of gtk
-config, and remove the
file config.cache
\n");
28730 printf("*** before re
-running configure
\n");
28732 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
28733 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
28734 (gtk_minor_version != GTK_MINOR_VERSION) ||
28735 (gtk_micro_version != GTK_MICRO_VERSION))
28737 printf("*** GTK
+ header files
(version
%d.
%d.
%d
) do not match
\n",
28738 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
28739 printf("*** library
(version
%d.
%d.
%d
)\n",
28740 gtk_major_version, gtk_minor_version, gtk_micro_version);
28742 #endif /* defined (GTK_MAJOR_VERSION) ... */
28745 if ((gtk_major_version > major) ||
28746 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
28747 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
28753 printf("\n*** An old version of GTK
+ (%d.
%d.
%d
) was found.
\n",
28754 gtk_major_version, gtk_minor_version, gtk_micro_version);
28755 printf("*** You need a version of GTK
+ newer than
%d.
%d.
%d. The latest version of
\n",
28756 major, minor, micro);
28757 printf("*** GTK
+ is always available from
ftp://ftp.gtk.org.
\n");
28759 printf("*** If you have already installed a sufficiently new version
, this error
\n");
28760 printf("*** probably means that the wrong copy of the gtk
-config shell
script is
\n");
28761 printf("*** being found. The easiest way to fix this is to remove the old version
\n");
28762 printf("*** of GTK
+, but you can also
set the GTK_CONFIG environment to point to the
\n");
28763 printf("*** correct copy of gtk
-config.
(In this
case, you will have to
\n");
28764 printf("*** modify your LD_LIBRARY_PATH enviroment variable
, or edit
/etc
/ld.so.conf
\n");
28765 printf("*** so that the correct libraries are found
at run
-time))\n");
28772 rm -f conftest$ac_exeext
28773 if { (ac_try="$ac_link"
28774 case "(($ac_try" in
28775 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28776 *) ac_try_echo=$ac_try;;
28778 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
28779 (eval "$ac_link") 2>&5
28781 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
28782 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
28783 { (case "(($ac_try" in
28784 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28785 *) ac_try_echo=$ac_try;;
28787 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
28788 (eval "$ac_try") 2>&5
28790 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
28791 (exit $ac_status); }; }; then
28794 echo "$as_me: program exited with status
$ac_status" >&5
28795 echo "$as_me: failed program was
:" >&5
28796 sed 's/^/| /' conftest.$ac_ext >&5
28798 ( exit $ac_status )
28801 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
28805 CFLAGS="$ac_save_CFLAGS"
28806 LIBS="$ac_save_LIBS"
28809 if test "x
$no_gtk" = x ; then
28810 { echo "$as_me:$LINENO: result
: yes" >&5
28811 echo "${ECHO_T}yes" >&6; }
28812 wx_cv_lib_gtk=1.2.3
28814 { echo "$as_me:$LINENO: result
: no
" >&5
28815 echo "${ECHO_T}no
" >&6; }
28816 if test "$GTK_CONFIG" = "no
" ; then
28817 echo "*** The gtk
-config script installed by GTK could not be found
"
28818 echo "*** If GTK was installed
in PREFIX
, make sure PREFIX
/bin is
in"
28819 echo "*** your path
, or
set the GTK_CONFIG environment variable to the
"
28820 echo "*** full path to gtk
-config.
"
28822 if test -f conf.gtktest ; then
28825 echo "*** Could not run GTK
test program
, checking why...
"
28826 CFLAGS="$CFLAGS $GTK_CFLAGS"
28827 LIBS="$LIBS $GTK_LIBS"
28828 cat >conftest.$ac_ext <<_ACEOF
28831 cat confdefs.h >>conftest.$ac_ext
28832 cat >>conftest.$ac_ext <<_ACEOF
28833 /* end confdefs.h. */
28835 #include <gtk/gtk.h>
28841 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
28846 rm -f conftest.$ac_objext conftest$ac_exeext
28847 if { (ac_try="$ac_link"
28848 case "(($ac_try" in
28849 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28850 *) ac_try_echo=$ac_try;;
28852 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
28853 (eval "$ac_link") 2>conftest.er1
28855 grep -v '^ *+' conftest.er1 >conftest.err
28857 cat conftest.err >&5
28858 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
28859 (exit $ac_status); } && {
28860 test -z "$ac_c_werror_flag" ||
28861 test ! -s conftest.err
28862 } && test -s conftest$ac_exeext &&
28863 $as_test_x conftest$ac_exeext; then
28864 echo "*** The
test program compiled
, but did not run. This usually means
"
28865 echo "*** that the run
-time linker is not finding GTK or finding the wrong
"
28866 echo "*** version of GTK. If it is not finding GTK
, you
'll need to set your"
28867 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
28868 echo "*** to the installed location Also, make sure you have run ldconfig if that"
28869 echo "*** is required on your system"
28871 echo "*** If you have an old version installed, it is best to remove it, although"
28872 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
28874 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
28875 echo "*** came with the system with the command"
28877 echo "*** rpm --erase --nodeps gtk gtk-devel"
28879 echo "$as_me: failed program was:" >&5
28880 sed 's
/^
/| /' conftest.$ac_ext >&5
28882 echo "*** The test program failed to compile or link. See the file config.log for the"
28883 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
28884 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
28885 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
28888 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28889 conftest$ac_exeext conftest.$ac_ext
28890 CFLAGS="$ac_save_CFLAGS"
28891 LIBS="$ac_save_LIBS"
28906 if test -z "$wx_cv_lib_gtk"; then
28909 wx_cv_cflags_gtk=$GTK_CFLAGS
28910 wx_cv_libs_gtk=`echo $GTK_LIBS | sed -e 's
/ -l[^
]*cairo
[^
]*//g
'`
28917 if test "$gtk_version_cached" = 1; then
28918 { echo "$as_me:$LINENO: result: $wx_cv_lib_gtk" >&5
28919 echo "${ECHO_T}$wx_cv_lib_gtk" >&6; }
28922 case "$wx_cv_lib_gtk" in
28931 *) { { echo "$as_me:$LINENO: error:
28932 The development files for GTK+ were not found. For GTK+ 2, please
28933 ensure that pkg-config is in the path and that gtk+-2.0.pc is
28934 installed. For GTK+ 1.2 please check that gtk-config is in the path,
28935 and that the version is 1.2.3 or above. Also check that the
28936 libraries returned by 'pkg
-config gtk
+-2.0
--libs' or 'gtk
-config
28937 --libs' are in the LD_LIBRARY_PATH or equivalent.
28939 echo "$as_me: error:
28940 The development files for GTK+ were not found. For GTK+ 2, please
28941 ensure that pkg-config is in the path and that gtk+-2.0.pc is
28942 installed. For GTK+ 1.2 please check that gtk-config is in the path,
28943 and that the version is 1.2.3 or above. Also check that the
28944 libraries returned by 'pkg
-config gtk
+-2.0
--libs' or 'gtk
-config
28945 --libs' are in the LD_LIBRARY_PATH or equivalent.
28947 { (exit 1); exit 1; }; }
28951 if test "$WXGTK2" = 1; then
28952 save_CFLAGS="$CFLAGS"
28954 CFLAGS="$wx_cv_cflags_gtk $CFLAGS"
28955 LIBS="$LIBS $wx_cv_libs_gtk"
28957 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.10" >&5
28958 echo $ECHO_N "checking if GTK+ is version >= 2.10... $ECHO_C" >&6; }
28959 cat >conftest.$ac_ext <<_ACEOF
28962 cat confdefs.h >>conftest.$ac_ext
28963 cat >>conftest.$ac_ext <<_ACEOF
28964 /* end confdefs.h. */
28966 #include <gtk/gtk.h>
28972 #if !GTK_CHECK_VERSION(2,10,0)
28980 rm -f conftest.$ac_objext
28981 if { (ac_try="$ac_compile"
28982 case "(($ac_try" in
28983 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28984 *) ac_try_echo=$ac_try;;
28986 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28987 (eval "$ac_compile") 2>conftest.er1
28989 grep -v '^
*+' conftest.er1 >conftest.err
28991 cat conftest.err >&5
28992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28993 (exit $ac_status); } && {
28994 test -z "$ac_c_werror_flag" ||
28995 test ! -s conftest.err
28996 } && test -s conftest.$ac_objext; then
28998 cat >>confdefs.h <<\_ACEOF
28999 #define __WXGTK210__ 1
29002 cat >>confdefs.h <<\_ACEOF
29003 #define __WXGTK26__ 1
29006 { echo "$as_me:$LINENO: result: yes" >&5
29007 echo "${ECHO_T}yes" >&6; }
29011 echo "$as_me: failed program was:" >&5
29012 sed 's
/^
/| /' conftest.$ac_ext >&5
29015 { echo "$as_me:$LINENO: result: no" >&5
29016 echo "${ECHO_T}no" >&6; }
29021 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29023 if test "$ac_wxgtk210" = 0; then
29024 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.6" >&5
29025 echo $ECHO_N "checking if GTK+ is version >= 2.6... $ECHO_C" >&6; }
29026 cat >conftest.$ac_ext <<_ACEOF
29029 cat confdefs.h >>conftest.$ac_ext
29030 cat >>conftest.$ac_ext <<_ACEOF
29031 /* end confdefs.h. */
29033 #include <gtk/gtk.h>
29039 #if !GTK_CHECK_VERSION(2,6,0)
29047 rm -f conftest.$ac_objext
29048 if { (ac_try="$ac_compile"
29049 case "(($ac_try" in
29050 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29051 *) ac_try_echo=$ac_try;;
29053 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29054 (eval "$ac_compile") 2>conftest.er1
29056 grep -v '^
*+' conftest.er1 >conftest.err
29058 cat conftest.err >&5
29059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29060 (exit $ac_status); } && {
29061 test -z "$ac_c_werror_flag" ||
29062 test ! -s conftest.err
29063 } && test -s conftest.$ac_objext; then
29065 cat >>confdefs.h <<\_ACEOF
29066 #define __WXGTK26__ 1
29069 { echo "$as_me:$LINENO: result: yes" >&5
29070 echo "${ECHO_T}yes" >&6; }
29074 echo "$as_me: failed program was:" >&5
29075 sed 's
/^
/| /' conftest.$ac_ext >&5
29078 { echo "$as_me:$LINENO: result: no" >&5
29079 echo "${ECHO_T}no" >&6; }
29084 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29087 CFLAGS="$save_CFLAGS"
29090 if test "$wxUSE_UNICODE" = "yes"; then
29091 { echo "$as_me:$LINENO: WARNING: Unicode configuration not supported with GTK+ 1.x" >&5
29092 echo "$as_me: WARNING: Unicode configuration not supported with GTK+ 1.x" >&2;}
29096 { echo "$as_me:$LINENO: checking for gdk_im_open in -lgdk" >&5
29097 echo $ECHO_N "checking for gdk_im_open in -lgdk... $ECHO_C" >&6; }
29098 if test "${ac_cv_lib_gdk_gdk_im_open+set}" = set; then
29099 echo $ECHO_N "(cached) $ECHO_C" >&6
29101 ac_check_lib_save_LIBS=$LIBS
29103 cat >conftest.$ac_ext <<_ACEOF
29106 cat confdefs.h >>conftest.$ac_ext
29107 cat >>conftest.$ac_ext <<_ACEOF
29108 /* end confdefs.h. */
29110 /* Override any GCC internal prototype to avoid an error.
29111 Use char because int might match the return type of a GCC
29112 builtin and then its argument prototype would still apply. */
29116 char gdk_im_open ();
29120 return gdk_im_open ();
29125 rm -f conftest.$ac_objext conftest$ac_exeext
29126 if { (ac_try="$ac_link"
29127 case "(($ac_try" in
29128 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29129 *) ac_try_echo=$ac_try;;
29131 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29132 (eval "$ac_link") 2>conftest.er1
29134 grep -v '^
*+' conftest.er1 >conftest.err
29136 cat conftest.err >&5
29137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29138 (exit $ac_status); } && {
29139 test -z "$ac_c_werror_flag" ||
29140 test ! -s conftest.err
29141 } && test -s conftest$ac_exeext &&
29142 $as_test_x conftest$ac_exeext; then
29143 ac_cv_lib_gdk_gdk_im_open=yes
29145 echo "$as_me: failed program was:" >&5
29146 sed 's
/^
/| /' conftest.$ac_ext >&5
29148 ac_cv_lib_gdk_gdk_im_open=no
29151 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29152 conftest$ac_exeext conftest.$ac_ext
29153 LIBS=$ac_check_lib_save_LIBS
29155 { echo "$as_me:$LINENO: result: $ac_cv_lib_gdk_gdk_im_open" >&5
29156 echo "${ECHO_T}$ac_cv_lib_gdk_gdk_im_open" >&6; }
29157 if test $ac_cv_lib_gdk_gdk_im_open = yes; then
29158 cat >>confdefs.h <<\_ACEOF
29165 if test "$USE_DARWIN" != 1; then
29167 for ac_func in poll
29169 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29170 { echo "$as_me:$LINENO: checking for $ac_func" >&5
29171 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
29172 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
29173 echo $ECHO_N "(cached) $ECHO_C" >&6
29175 cat >conftest.$ac_ext <<_ACEOF
29178 cat confdefs.h >>conftest.$ac_ext
29179 cat >>conftest.$ac_ext <<_ACEOF
29180 /* end confdefs.h. */
29181 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29182 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29183 #define $ac_func innocuous_$ac_func
29185 /* System header to define __stub macros and hopefully few prototypes,
29186 which can conflict with char $ac_func (); below.
29187 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29188 <limits.h> exists even on freestanding compilers. */
29191 # include <limits.h>
29193 # include <assert.h>
29198 /* Override any GCC internal prototype to avoid an error.
29199 Use char because int might match the return type of a GCC
29200 builtin and then its argument prototype would still apply. */
29205 /* The GNU C library defines this for functions which it implements
29206 to always fail with ENOSYS. Some functions are actually named
29207 something starting with __ and the normal name is an alias. */
29208 #if defined __stub_$ac_func || defined __stub___$ac_func
29215 return $ac_func ();
29220 rm -f conftest.$ac_objext conftest$ac_exeext
29221 if { (ac_try="$ac_link"
29222 case "(($ac_try" in
29223 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29224 *) ac_try_echo=$ac_try;;
29226 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29227 (eval "$ac_link") 2>conftest.er1
29229 grep -v '^
*+' conftest.er1 >conftest.err
29231 cat conftest.err >&5
29232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29233 (exit $ac_status); } && {
29234 test -z "$ac_c_werror_flag" ||
29235 test ! -s conftest.err
29236 } && test -s conftest$ac_exeext &&
29237 $as_test_x conftest$ac_exeext; then
29238 eval "$as_ac_var=yes"
29240 echo "$as_me: failed program was:" >&5
29241 sed 's
/^
/| /' conftest.$ac_ext >&5
29243 eval "$as_ac_var=no"
29246 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29247 conftest$ac_exeext conftest.$ac_ext
29249 ac_res=`eval echo '${'$as_ac_var'}'`
29250 { echo "$as_me:$LINENO: result: $ac_res" >&5
29251 echo "${ECHO_T}$ac_res" >&6; }
29252 if test `eval echo '${'$as_ac_var'}'` = yes; then
29253 cat >>confdefs.h <<_ACEOF
29254 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29263 TOOLKIT_INCLUDE="$wx_cv_cflags_gtk"
29264 GUI_TK_LIBRARY="$wx_cv_libs_gtk $GUI_TK_LIBRARY"
29266 AFMINSTALL=afminstall
29270 if test "$wxUSE_GPE" = "yes"; then
29271 { echo "$as_me:$LINENO: checking for gpewidget library" >&5
29272 echo $ECHO_N "checking for gpewidget library... $ECHO_C" >&6; }
29275 for ac_dir in $SEARCH_LIB;
29277 for ac_extension in a so sl dylib dll.a; do
29278 if test -f "$ac_dir/libgpewidget.$ac_extension"; then
29279 ac_find_libraries=$ac_dir
29285 if test "$ac_find_libraries" != "" ; then
29287 if test "$ac_find_libraries" = "default location"; then
29290 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
29292 if test $result = 0; then
29295 ac_path_to_link=" -L$ac_find_libraries"
29299 GUI_TK_LIBRARY="-L${prefix}/lib -lgpewidget $GUI_TK_LIBRARY"
29301 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
29302 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
29304 { echo "$as_me:$LINENO: result: not found" >&5
29305 echo "${ECHO_T}not found" >&6; }
29311 if test "$wxUSE_MGL" = 1; then
29312 { echo "$as_me:$LINENO: checking for SciTech MGL library" >&5
29313 echo $ECHO_N "checking for SciTech MGL library... $ECHO_C" >&6; }
29314 if test "x$MGL_ROOT" = x ; then
29315 { echo "$as_me:$LINENO: result: not found" >&5
29316 echo "${ECHO_T}not found" >&6; }
29317 { { echo "$as_me:$LINENO: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&5
29318 echo "$as_me: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&2;}
29319 { (exit 1); exit 1; }; }
29321 { echo "$as_me:$LINENO: result: $MGL_ROOT" >&5
29322 echo "${ECHO_T}$MGL_ROOT" >&6; }
29325 { echo "$as_me:$LINENO: checking for libmgl location" >&5
29326 echo $ECHO_N "checking for libmgl location... $ECHO_C" >&6; }
29329 if test "x$wxUSE_SHARED" = xyes ; then
29330 mgl_os_candidates="linux/gcc/x86/so linux/gcc/x86/a linux/gcc/glibc.so linux/gcc/glibc"
29332 mgl_os_candidates="linux/gcc/x86/a linux/gcc/x86/so linux/gcc/glibc linux/gcc/glibc.so"
29336 mgl_os_candidates="dos32/dj2"
29339 { { echo "$as_me:$LINENO: error: This system type ${host} is not yet supported by wxMGL." >&5
29340 echo "$as_me: error: This system type ${host} is not yet supported by wxMGL." >&2;}
29341 { (exit 1); exit 1; }; }
29347 for mgl_os_i in $mgl_os_candidates ; do
29348 if test "x$mgl_os" = x ; then
29349 if test "$wxUSE_DEBUG_FLAG" = yes ; then
29350 if test -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.a -o \
29351 -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.so; then
29356 if test "x$mgl_lib_type" = x ; then
29357 if test -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.a -o \
29358 -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.so; then
29359 mgl_lib_type=release
29366 if test "x$mgl_os" = x ; then
29367 { echo "$as_me:$LINENO: result: not found" >&5
29368 echo "${ECHO_T}not found" >&6; }
29369 { { echo "$as_me:$LINENO: error: Cannot find MGL libraries, make sure they are compiled." >&5
29370 echo "$as_me: error: Cannot find MGL libraries, make sure they are compiled." >&2;}
29371 { (exit 1); exit 1; }; }
29373 { echo "$as_me:$LINENO: result: \"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&5
29374 echo "${ECHO_T}\"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&6; }
29376 wxUSE_UNIVERSAL="yes"
29378 TOOLKIT_INCLUDE="-I$MGL_ROOT/include"
29379 GUI_TK_LIBRARY="-L$MGL_ROOT/lib/$mgl_lib_type/$mgl_os -lmgl -lmglcpp -lpm"
29381 AFMINSTALL=afminstall
29386 if test "$wxUSE_DFB" = 1; then
29389 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
29390 if test -n "$ac_tool_prefix"; then
29391 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
29392 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
29393 { echo "$as_me:$LINENO: checking for $ac_word" >&5
29394 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
29395 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
29396 echo $ECHO_N "(cached) $ECHO_C" >&6
29398 case $PKG_CONFIG in
29400 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
29403 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
29404 for as_dir in $PATH
29407 test -z "$as_dir" && as_dir=.
29408 for ac_exec_ext in '' $ac_executable_extensions; do
29409 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
29410 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
29411 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
29421 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
29422 if test -n "$PKG_CONFIG"; then
29423 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
29424 echo "${ECHO_T}$PKG_CONFIG" >&6; }
29426 { echo "$as_me:$LINENO: result: no" >&5
29427 echo "${ECHO_T}no" >&6; }
29432 if test -z "$ac_cv_path_PKG_CONFIG"; then
29433 ac_pt_PKG_CONFIG=$PKG_CONFIG
29434 # Extract the first word of "pkg-config", so it can be a program name with args.
29435 set dummy pkg-config; ac_word=$2
29436 { echo "$as_me:$LINENO: checking for $ac_word" >&5
29437 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
29438 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
29439 echo $ECHO_N "(cached) $ECHO_C" >&6
29441 case $ac_pt_PKG_CONFIG in
29443 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
29446 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
29447 for as_dir in $PATH
29450 test -z "$as_dir" && as_dir=.
29451 for ac_exec_ext in '' $ac_executable_extensions; do
29452 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
29453 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
29454 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
29464 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
29465 if test -n "$ac_pt_PKG_CONFIG"; then
29466 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
29467 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
29469 { echo "$as_me:$LINENO: result: no" >&5
29470 echo "${ECHO_T}no" >&6; }
29473 if test "x$ac_pt_PKG_CONFIG" = x; then
29476 case $cross_compiling:$ac_tool_warned in
29478 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
29479 whose name does not start with the host triplet. If you think this
29480 configuration is useful to you, please write to autoconf@gnu.org." >&5
29481 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
29482 whose name does not start with the host triplet. If you think this
29483 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
29484 ac_tool_warned=yes ;;
29486 PKG_CONFIG=$ac_pt_PKG_CONFIG
29489 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
29493 if test -n "$PKG_CONFIG"; then
29494 _pkg_min_version=0.9.0
29495 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
29496 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
29497 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
29498 { echo "$as_me:$LINENO: result: yes" >&5
29499 echo "${ECHO_T}yes" >&6; }
29501 { echo "$as_me:$LINENO: result: no" >&5
29502 echo "${ECHO_T}no" >&6; }
29510 { echo "$as_me:$LINENO: checking for DIRECTFB" >&5
29511 echo $ECHO_N "checking for DIRECTFB... $ECHO_C" >&6; }
29513 if test -n "$PKG_CONFIG"; then
29514 if test -n "$DIRECTFB_CFLAGS"; then
29515 pkg_cv_DIRECTFB_CFLAGS="$DIRECTFB_CFLAGS"
29517 if test -n "$PKG_CONFIG" && \
29518 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\"") >&5
29519 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.23") 2>&5
29521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29522 (exit $ac_status); }; then
29523 pkg_cv_DIRECTFB_CFLAGS=`$PKG_CONFIG --cflags "directfb >= 0.9.23" 2>/dev/null`
29531 if test -n "$PKG_CONFIG"; then
29532 if test -n "$DIRECTFB_LIBS"; then
29533 pkg_cv_DIRECTFB_LIBS="$DIRECTFB_LIBS"
29535 if test -n "$PKG_CONFIG" && \
29536 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\"") >&5
29537 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.23") 2>&5
29539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29540 (exit $ac_status); }; then
29541 pkg_cv_DIRECTFB_LIBS=`$PKG_CONFIG --libs "directfb >= 0.9.23" 2>/dev/null`
29552 if test $pkg_failed = yes; then
29554 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
29555 _pkg_short_errors_supported=yes
29557 _pkg_short_errors_supported=no
29559 if test $_pkg_short_errors_supported = yes; then
29560 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "directfb >= 0.9.23"`
29562 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "directfb >= 0.9.23"`
29564 # Put the nasty error message in config.log where it belongs
29565 echo "$DIRECTFB_PKG_ERRORS" >&5
29568 { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
29569 echo "$as_me: error: DirectFB not found." >&2;}
29570 { (exit 1); exit 1; }; }
29573 elif test $pkg_failed = untried; then
29575 { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
29576 echo "$as_me: error: DirectFB not found." >&2;}
29577 { (exit 1); exit 1; }; }
29581 DIRECTFB_CFLAGS=$pkg_cv_DIRECTFB_CFLAGS
29582 DIRECTFB_LIBS=$pkg_cv_DIRECTFB_LIBS
29583 { echo "$as_me:$LINENO: result: yes" >&5
29584 echo "${ECHO_T}yes" >&6; }
29586 wxUSE_UNIVERSAL="yes"
29587 TOOLKIT_INCLUDE="$DIRECTFB_CFLAGS"
29588 GUI_TK_LIBRARY="$DIRECTFB_LIBS"
29595 if test "$wxUSE_MICROWIN" = 1; then
29596 { echo "$as_me:$LINENO: checking for MicroWindows" >&5
29597 echo $ECHO_N "checking for MicroWindows... $ECHO_C" >&6; }
29598 if test "x$MICROWINDOWS" = x ; then
29599 { echo "$as_me:$LINENO: result: not found" >&5
29600 echo "${ECHO_T}not found" >&6; }
29601 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&5
29602 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&2;}
29603 { (exit 1); exit 1; }; }
29605 { echo "$as_me:$LINENO: result: $MICROWINDOWS" >&5
29606 echo "${ECHO_T}$MICROWINDOWS" >&6; }
29609 if test -f $MICROWINDOWS/lib/libmwin.a; then
29610 { echo "$as_me:$LINENO: result: MicroWindows' libraries found.
" >&5
29611 echo "${ECHO_T}MicroWindows
' libraries found." >&6; }
29613 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows libraries, make sure they are compiled." >&5
29614 echo "$as_me: error: Cannot find MicroWindows libraries, make sure they are compiled." >&2;}
29615 { (exit 1); exit 1; }; }
29618 TOOLKIT_INCLUDE="-I$MICROWINDOWS/include"
29619 GUI_TK_LIBRARY="-L$MICROWINDOWS/lib -lmwin -lmwengine -mwfonts -mwdrivers -mwinlib"
29621 wxUSE_UNIVERSAL="yes"
29623 AFMINSTALL=afminstall
29625 GUIDIST=MICROWIN_DIST
29627 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXMSW__ -D__WIN95__ -D__WIN32__ -DMWIN -DMICROWIN_NOCONTROLS -DMICROWIN_TODO=1"
29630 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
29631 { echo "$as_me:$LINENO: checking for X" >&5
29632 echo $ECHO_N "checking for X... $ECHO_C" >&6; }
29635 # Check whether --with-x was given.
29636 if test "${with_x+set}" = set; then
29640 # $have_x is `yes', `no', `disabled
', or empty when we do not yet know.
29641 if test "x$with_x" = xno; then
29642 # The user explicitly disabled X.
29645 case $x_includes,$x_libraries in #(
29646 *\'*) { { echo "$as_me:$LINENO: error: Cannot use X directory names containing '" >&5
29647 echo "$as_me: error
: Cannot use X directory names containing
'" >&2;}
29648 { (exit 1); exit 1; }; };; #(
29649 *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then
29650 echo $ECHO_N "(cached) $ECHO_C" >&6
29652 # One or both of the vars are not set, and there is no cached value.
29653 ac_x_includes=no ac_x_libraries=no
29654 rm -f -r conftest.dir
29655 if mkdir conftest.dir; then
29657 cat >Imakefile <<'_ACEOF'
29659 @echo incroot='${INCROOT}'
29661 @echo usrlibdir='${USRLIBDIR}'
29663 @echo libdir='${LIBDIR}'
29665 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
29666 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
29667 for ac_var in incroot usrlibdir libdir; do
29668 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's
/^
$ac_var=//p
'\`"
29670 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
29671 for ac_extension in a so sl; do
29672 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
29673 test -f "$ac_im_libdir/libX11.$ac_extension"; then
29674 ac_im_usrlibdir=$ac_im_libdir; break
29677 # Screen out bogus values from the imake configuration. They are
29678 # bogus both because they are the default anyway, and because
29679 # using them would break gcc on systems where it needs fixed includes.
29680 case $ac_im_incroot in
29681 /usr/include) ac_x_includes= ;;
29682 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
29684 case $ac_im_usrlibdir in
29685 /usr/lib | /lib) ;;
29686 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
29690 rm -f -r conftest.dir
29693 # Standard set of common directories for X headers.
29694 # Check X11 before X11Rn because it is often a symlink to the current release.
29706 /usr
/local
/X
11/include
29707 /usr
/local
/X
11R
6/include
29708 /usr
/local
/X
11R
5/include
29709 /usr
/local
/X
11R
4/include
29711 /usr
/local
/include
/X11
29712 /usr
/local
/include
/X11R6
29713 /usr
/local
/include
/X11R5
29714 /usr
/local
/include
/X11R4
29718 /usr
/XFree
86/include
/X11
29722 /usr
/unsupported
/include
29723 /usr
/athena
/include
29724 /usr
/local
/x
11r
5/include
29725 /usr
/lpp
/Xamples
/include
29727 /usr
/openwin
/include
29728 /usr
/openwin
/share
/include
'
29730 if test "$ac_x_includes" = no; then
29731 # Guess where to find include files, by looking for Xlib.h.
29732 # First, try using that file with no special directory specified.
29733 cat >conftest.$ac_ext <<_ACEOF
29736 cat confdefs.h >>conftest.$ac_ext
29737 cat >>conftest.$ac_ext <<_ACEOF
29738 /* end confdefs.h. */
29739 #include <X11/Xlib.h>
29741 if { (ac_try="$ac_cpp conftest.$ac_ext"
29742 case "(($ac_try" in
29743 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29744 *) ac_try_echo=$ac_try;;
29746 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29747 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
29749 grep -v '^
*+' conftest.er1 >conftest.err
29751 cat conftest.err >&5
29752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29753 (exit $ac_status); } >/dev/null && {
29754 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
29755 test ! -s conftest.err
29757 # We can compile using X headers with no special include directory.
29760 echo "$as_me: failed program was:" >&5
29761 sed 's
/^
/| /' conftest.$ac_ext >&5
29763 for ac_dir in $ac_x_header_dirs; do
29764 if test -r "$ac_dir/X11/Xlib.h"; then
29765 ac_x_includes=$ac_dir
29771 rm -f conftest.err conftest.$ac_ext
29772 fi # $ac_x_includes = no
29774 if test "$ac_x_libraries" = no; then
29775 # Check for the libraries.
29776 # See if we find them without any special options.
29777 # Don't add to
$LIBS permanently.
29780 cat >conftest.
$ac_ext <<_ACEOF
29783 cat confdefs.h
>>conftest.
$ac_ext
29784 cat >>conftest.
$ac_ext <<_ACEOF
29785 /* end confdefs.h. */
29786 #include <X11/Xlib.h>
29795 rm -f conftest.
$ac_objext conftest
$ac_exeext
29796 if { (ac_try
="$ac_link"
29797 case "(($ac_try" in
29798 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
29799 *) ac_try_echo=$ac_try;;
29801 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29802 (eval "$ac_link") 2>conftest.er1
29804 grep -v '^ *+' conftest.er1 >conftest.err
29806 cat conftest.err >&5
29807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29808 (exit $ac_status); } && {
29809 test -z "$ac_c_werror_flag" ||
29810 test ! -s conftest.err
29811 } && test -s conftest$ac_exeext &&
29812 $as_test_x conftest$ac_exeext; then
29814 # We can link X programs with no special library path.
29817 echo "$as_me: failed program was:" >&5
29818 sed 's/^/| /' conftest.$ac_ext >&5
29821 for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s
/include
/lib
/g
`
29823 # Don't even attempt the hair of trying to link an X program!
29824 for ac_extension in a so sl; do
29825 if test -r "$ac_dir/libX11.$ac_extension"; then
29826 ac_x_libraries=$ac_dir
29833 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29834 conftest$ac_exeext conftest.$ac_ext
29835 fi # $ac_x_libraries = no
29837 case $ac_x_includes,$ac_x_libraries in #(
29838 no,* | *,no | *\'*)
29839 # Didn't find X, or a directory has "'" in its name.
29840 ac_cv_have_x="have_x=no";; #(
29842 # Record where we found X for the cache.
29843 ac_cv_have_x="have_x=yes\
29844 ac_x_includes='$ac_x_includes'\
29845 ac_x_libraries='$ac_x_libraries'"
29851 eval "$ac_cv_have_x"
29854 if test "$have_x" != yes; then
29855 { echo "$as_me:$LINENO: result: $have_x" >&5
29856 echo "${ECHO_T}$have_x" >&6; }
29859 # If each of the values was on the command line, it overrides each guess.
29860 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
29861 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
29862 # Update the cache value to reflect the command line values.
29863 ac_cv_have_x="have_x=yes\
29864 ac_x_includes='$x_includes'\
29865 ac_x_libraries='$x_libraries'"
29866 { echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
29867 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6; }
29870 if test "$no_x" = yes; then
29871 # Not all programs may use this symbol, but it does not hurt to define it.
29873 cat >>confdefs.h <<\_ACEOF
29874 #define X_DISPLAY_MISSING 1
29877 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
29879 if test -n "$x_includes"; then
29880 X_CFLAGS="$X_CFLAGS -I$x_includes"
29883 # It would also be nice to do this for all -L options, not just this one.
29884 if test -n "$x_libraries"; then
29885 X_LIBS="$X_LIBS -L$x_libraries"
29886 # For Solaris; some versions of Sun CC require a space after -R and
29887 # others require no space. Words are not sufficient . . . .
29888 { echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
29889 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6; }
29890 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
29891 ac_xsave_c_werror_flag=$ac_c_werror_flag
29892 ac_c_werror_flag=yes
29893 cat >conftest.$ac_ext <<_ACEOF
29896 cat confdefs.h >>conftest.$ac_ext
29897 cat >>conftest.$ac_ext <<_ACEOF
29898 /* end confdefs.h. */
29908 rm -f conftest.$ac_objext conftest$ac_exeext
29909 if { (ac_try="$ac_link"
29910 case "(($ac_try" in
29911 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
29912 *) ac_try_echo
=$ac_try;;
29914 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29915 (eval "$ac_link") 2>conftest.er1
29917 grep -v '^ *+' conftest.er1
>conftest.err
29919 cat conftest.err
>&5
29920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29921 (exit $ac_status); } && {
29922 test -z "$ac_c_werror_flag" ||
29923 test ! -s conftest.err
29924 } && test -s conftest
$ac_exeext &&
29925 $as_test_x conftest
$ac_exeext; then
29926 { echo "$as_me:$LINENO: result: no" >&5
29927 echo "${ECHO_T}no" >&6; }
29928 X_LIBS
="$X_LIBS -R$x_libraries"
29930 echo "$as_me: failed program was:" >&5
29931 sed 's/^/| /' conftest.
$ac_ext >&5
29933 LIBS
="$ac_xsave_LIBS -R $x_libraries"
29934 cat >conftest.
$ac_ext <<_ACEOF
29937 cat confdefs.h
>>conftest.
$ac_ext
29938 cat >>conftest.
$ac_ext <<_ACEOF
29939 /* end confdefs.h. */
29949 rm -f conftest.
$ac_objext conftest
$ac_exeext
29950 if { (ac_try
="$ac_link"
29951 case "(($ac_try" in
29952 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
29953 *) ac_try_echo=$ac_try;;
29955 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29956 (eval "$ac_link") 2>conftest.er1
29958 grep -v '^ *+' conftest.er1 >conftest.err
29960 cat conftest.err >&5
29961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29962 (exit $ac_status); } && {
29963 test -z "$ac_c_werror_flag" ||
29964 test ! -s conftest.err
29965 } && test -s conftest$ac_exeext &&
29966 $as_test_x conftest$ac_exeext; then
29967 { echo "$as_me:$LINENO: result: yes" >&5
29968 echo "${ECHO_T}yes" >&6; }
29969 X_LIBS="$X_LIBS -R $x_libraries"
29971 echo "$as_me: failed program was:" >&5
29972 sed 's/^/| /' conftest.$ac_ext >&5
29974 { echo "$as_me:$LINENO: result: neither works" >&5
29975 echo "${ECHO_T}neither works" >&6; }
29978 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29979 conftest$ac_exeext conftest.$ac_ext
29982 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29983 conftest$ac_exeext conftest.$ac_ext
29984 ac_c_werror_flag=$ac_xsave_c_werror_flag
29985 LIBS=$ac_xsave_LIBS
29988 # Check for system-dependent libraries X programs must link with.
29989 # Do this before checking for the system-independent R6 libraries
29990 # (-lICE), since we may need -lsocket or whatever for X linking.
29992 if test "$ISC" = yes; then
29993 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
29995 # Martyn Johnson says this is needed for Ultrix, if the X
29996 # libraries were built with DECnet support. And Karl Berry says
29997 # the Alpha needs dnet_stub (dnet does not exist).
29998 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
29999 cat >conftest.$ac_ext <<_ACEOF
30002 cat confdefs.h >>conftest.$ac_ext
30003 cat >>conftest.$ac_ext <<_ACEOF
30004 /* end confdefs.h. */
30006 /* Override any GCC internal prototype to avoid an error.
30007 Use char because int might match the return type of a GCC
30008 builtin and then its argument prototype would still apply. */
30012 char XOpenDisplay ();
30016 return XOpenDisplay ();
30021 rm -f conftest.$ac_objext conftest$ac_exeext
30022 if { (ac_try="$ac_link"
30023 case "(($ac_try" in
30024 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
30025 *) ac_try_echo
=$ac_try;;
30027 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30028 (eval "$ac_link") 2>conftest.er1
30030 grep -v '^ *+' conftest.er1
>conftest.err
30032 cat conftest.err
>&5
30033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30034 (exit $ac_status); } && {
30035 test -z "$ac_c_werror_flag" ||
30036 test ! -s conftest.err
30037 } && test -s conftest
$ac_exeext &&
30038 $as_test_x conftest
$ac_exeext; then
30041 echo "$as_me: failed program was:" >&5
30042 sed 's/^/| /' conftest.
$ac_ext >&5
30044 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
30045 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6; }
30046 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
30047 echo $ECHO_N "(cached) $ECHO_C" >&6
30049 ac_check_lib_save_LIBS
=$LIBS
30050 LIBS
="-ldnet $LIBS"
30051 cat >conftest.
$ac_ext <<_ACEOF
30054 cat confdefs.h
>>conftest.
$ac_ext
30055 cat >>conftest.
$ac_ext <<_ACEOF
30056 /* end confdefs.h. */
30058 /* Override any GCC internal prototype to avoid an error.
30059 Use char because int might match the return type of a GCC
30060 builtin and then its argument prototype would still apply. */
30068 return dnet_ntoa ();
30073 rm -f conftest.
$ac_objext conftest
$ac_exeext
30074 if { (ac_try
="$ac_link"
30075 case "(($ac_try" in
30076 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
30077 *) ac_try_echo=$ac_try;;
30079 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30080 (eval "$ac_link") 2>conftest.er1
30082 grep -v '^ *+' conftest.er1 >conftest.err
30084 cat conftest.err >&5
30085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30086 (exit $ac_status); } && {
30087 test -z "$ac_c_werror_flag" ||
30088 test ! -s conftest.err
30089 } && test -s conftest$ac_exeext &&
30090 $as_test_x conftest$ac_exeext; then
30091 ac_cv_lib_dnet_dnet_ntoa=yes
30093 echo "$as_me: failed program was:" >&5
30094 sed 's/^/| /' conftest.$ac_ext >&5
30096 ac_cv_lib_dnet_dnet_ntoa=no
30099 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30100 conftest$ac_exeext conftest.$ac_ext
30101 LIBS=$ac_check_lib_save_LIBS
30103 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
30104 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6; }
30105 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
30106 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
30109 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
30110 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
30111 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6; }
30112 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
30113 echo $ECHO_N "(cached) $ECHO_C" >&6
30115 ac_check_lib_save_LIBS=$LIBS
30116 LIBS="-ldnet_stub $LIBS"
30117 cat >conftest.$ac_ext <<_ACEOF
30120 cat confdefs.h >>conftest.$ac_ext
30121 cat >>conftest.$ac_ext <<_ACEOF
30122 /* end confdefs.h. */
30124 /* Override any GCC internal prototype to avoid an error.
30125 Use char because int might match the return type of a GCC
30126 builtin and then its argument prototype would still apply. */
30134 return dnet_ntoa ();
30139 rm -f conftest.$ac_objext conftest$ac_exeext
30140 if { (ac_try="$ac_link"
30141 case "(($ac_try" in
30142 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
30143 *) ac_try_echo
=$ac_try;;
30145 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30146 (eval "$ac_link") 2>conftest.er1
30148 grep -v '^ *+' conftest.er1
>conftest.err
30150 cat conftest.err
>&5
30151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30152 (exit $ac_status); } && {
30153 test -z "$ac_c_werror_flag" ||
30154 test ! -s conftest.err
30155 } && test -s conftest
$ac_exeext &&
30156 $as_test_x conftest
$ac_exeext; then
30157 ac_cv_lib_dnet_stub_dnet_ntoa
=yes
30159 echo "$as_me: failed program was:" >&5
30160 sed 's/^/| /' conftest.
$ac_ext >&5
30162 ac_cv_lib_dnet_stub_dnet_ntoa
=no
30165 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
30166 conftest
$ac_exeext conftest.
$ac_ext
30167 LIBS
=$ac_check_lib_save_LIBS
30169 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
30170 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
30171 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
30172 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
30178 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
30179 conftest
$ac_exeext conftest.
$ac_ext
30180 LIBS
="$ac_xsave_LIBS"
30182 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
30183 # to get the SysV transport functions.
30184 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
30186 # The nsl library prevents programs from opening the X display
30187 # on Irix 5.2, according to T.E. Dickey.
30188 # The functions gethostbyname, getservbyname, and inet_addr are
30189 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
30190 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
30191 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
30192 if test "${ac_cv_func_gethostbyname+set}" = set; then
30193 echo $ECHO_N "(cached) $ECHO_C" >&6
30195 cat >conftest.
$ac_ext <<_ACEOF
30198 cat confdefs.h
>>conftest.
$ac_ext
30199 cat >>conftest.
$ac_ext <<_ACEOF
30200 /* end confdefs.h. */
30201 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
30202 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30203 #define gethostbyname innocuous_gethostbyname
30205 /* System header to define __stub macros and hopefully few prototypes,
30206 which can conflict with char gethostbyname (); below.
30207 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30208 <limits.h> exists even on freestanding compilers. */
30211 # include <limits.h>
30213 # include <assert.h>
30216 #undef gethostbyname
30218 /* Override any GCC internal prototype to avoid an error.
30219 Use char because int might match the return type of a GCC
30220 builtin and then its argument prototype would still apply. */
30224 char gethostbyname ();
30225 /* The GNU C library defines this for functions which it implements
30226 to always fail with ENOSYS. Some functions are actually named
30227 something starting with __ and the normal name is an alias. */
30228 #if defined __stub_gethostbyname || defined __stub___gethostbyname
30235 return gethostbyname ();
30240 rm -f conftest.
$ac_objext conftest
$ac_exeext
30241 if { (ac_try
="$ac_link"
30242 case "(($ac_try" in
30243 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
30244 *) ac_try_echo=$ac_try;;
30246 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30247 (eval "$ac_link") 2>conftest.er1
30249 grep -v '^ *+' conftest.er1 >conftest.err
30251 cat conftest.err >&5
30252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30253 (exit $ac_status); } && {
30254 test -z "$ac_c_werror_flag" ||
30255 test ! -s conftest.err
30256 } && test -s conftest$ac_exeext &&
30257 $as_test_x conftest$ac_exeext; then
30258 ac_cv_func_gethostbyname=yes
30260 echo "$as_me: failed program was:" >&5
30261 sed 's/^/| /' conftest.$ac_ext >&5
30263 ac_cv_func_gethostbyname=no
30266 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30267 conftest$ac_exeext conftest.$ac_ext
30269 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
30270 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
30272 if test $ac_cv_func_gethostbyname = no; then
30273 { echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
30274 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6; }
30275 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
30276 echo $ECHO_N "(cached) $ECHO_C" >&6
30278 ac_check_lib_save_LIBS=$LIBS
30280 cat >conftest.$ac_ext <<_ACEOF
30283 cat confdefs.h >>conftest.$ac_ext
30284 cat >>conftest.$ac_ext <<_ACEOF
30285 /* end confdefs.h. */
30287 /* Override any GCC internal prototype to avoid an error.
30288 Use char because int might match the return type of a GCC
30289 builtin and then its argument prototype would still apply. */
30293 char gethostbyname ();
30297 return gethostbyname ();
30302 rm -f conftest.$ac_objext conftest$ac_exeext
30303 if { (ac_try="$ac_link"
30304 case "(($ac_try" in
30305 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
30306 *) ac_try_echo
=$ac_try;;
30308 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30309 (eval "$ac_link") 2>conftest.er1
30311 grep -v '^ *+' conftest.er1
>conftest.err
30313 cat conftest.err
>&5
30314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30315 (exit $ac_status); } && {
30316 test -z "$ac_c_werror_flag" ||
30317 test ! -s conftest.err
30318 } && test -s conftest
$ac_exeext &&
30319 $as_test_x conftest
$ac_exeext; then
30320 ac_cv_lib_nsl_gethostbyname
=yes
30322 echo "$as_me: failed program was:" >&5
30323 sed 's/^/| /' conftest.
$ac_ext >&5
30325 ac_cv_lib_nsl_gethostbyname
=no
30328 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
30329 conftest
$ac_exeext conftest.
$ac_ext
30330 LIBS
=$ac_check_lib_save_LIBS
30332 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
30333 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6; }
30334 if test $ac_cv_lib_nsl_gethostbyname = yes; then
30335 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
30338 if test $ac_cv_lib_nsl_gethostbyname = no
; then
30339 { echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
30340 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6; }
30341 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
30342 echo $ECHO_N "(cached) $ECHO_C" >&6
30344 ac_check_lib_save_LIBS
=$LIBS
30346 cat >conftest.
$ac_ext <<_ACEOF
30349 cat confdefs.h
>>conftest.
$ac_ext
30350 cat >>conftest.
$ac_ext <<_ACEOF
30351 /* end confdefs.h. */
30353 /* Override any GCC internal prototype to avoid an error.
30354 Use char because int might match the return type of a GCC
30355 builtin and then its argument prototype would still apply. */
30359 char gethostbyname ();
30363 return gethostbyname ();
30368 rm -f conftest.
$ac_objext conftest
$ac_exeext
30369 if { (ac_try
="$ac_link"
30370 case "(($ac_try" in
30371 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
30372 *) ac_try_echo=$ac_try;;
30374 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30375 (eval "$ac_link") 2>conftest.er1
30377 grep -v '^ *+' conftest.er1 >conftest.err
30379 cat conftest.err >&5
30380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30381 (exit $ac_status); } && {
30382 test -z "$ac_c_werror_flag" ||
30383 test ! -s conftest.err
30384 } && test -s conftest$ac_exeext &&
30385 $as_test_x conftest$ac_exeext; then
30386 ac_cv_lib_bsd_gethostbyname=yes
30388 echo "$as_me: failed program was:" >&5
30389 sed 's/^/| /' conftest.$ac_ext >&5
30391 ac_cv_lib_bsd_gethostbyname=no
30394 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30395 conftest$ac_exeext conftest.$ac_ext
30396 LIBS=$ac_check_lib_save_LIBS
30398 { echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
30399 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6; }
30400 if test $ac_cv_lib_bsd_gethostbyname = yes; then
30401 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
30407 # lieder@skyler.mavd.honeywell.com says without -lsocket,
30408 # socket/setsockopt and other routines are undefined under SCO ODT
30409 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
30410 # on later versions), says Simon Leinen: it contains gethostby*
30411 # variants that don't use the name server (or something). -lsocket
30412 # must be given before -lnsl if both are needed. We assume that
30413 # if connect needs -lnsl, so does gethostbyname.
30414 { echo "$as_me:$LINENO: checking for connect" >&5
30415 echo $ECHO_N "checking for connect... $ECHO_C" >&6; }
30416 if test "${ac_cv_func_connect+set}" = set; then
30417 echo $ECHO_N "(cached) $ECHO_C" >&6
30419 cat >conftest.$ac_ext <<_ACEOF
30422 cat confdefs.h >>conftest.$ac_ext
30423 cat >>conftest.$ac_ext <<_ACEOF
30424 /* end confdefs.h. */
30425 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
30426 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30427 #define connect innocuous_connect
30429 /* System header to define __stub macros and hopefully few prototypes,
30430 which can conflict with char connect (); below.
30431 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30432 <limits.h> exists even on freestanding compilers. */
30435 # include <limits.h>
30437 # include <assert.h>
30442 /* Override any GCC internal prototype to avoid an error.
30443 Use char because int might match the return type of a GCC
30444 builtin and then its argument prototype would still apply. */
30449 /* The GNU C library defines this for functions which it implements
30450 to always fail with ENOSYS. Some functions are actually named
30451 something starting with __ and the normal name is an alias. */
30452 #if defined __stub_connect || defined __stub___connect
30464 rm -f conftest.$ac_objext conftest$ac_exeext
30465 if { (ac_try="$ac_link"
30466 case "(($ac_try" in
30467 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
30468 *) ac_try_echo
=$ac_try;;
30470 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30471 (eval "$ac_link") 2>conftest.er1
30473 grep -v '^ *+' conftest.er1
>conftest.err
30475 cat conftest.err
>&5
30476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30477 (exit $ac_status); } && {
30478 test -z "$ac_c_werror_flag" ||
30479 test ! -s conftest.err
30480 } && test -s conftest
$ac_exeext &&
30481 $as_test_x conftest
$ac_exeext; then
30482 ac_cv_func_connect
=yes
30484 echo "$as_me: failed program was:" >&5
30485 sed 's/^/| /' conftest.
$ac_ext >&5
30487 ac_cv_func_connect
=no
30490 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
30491 conftest
$ac_exeext conftest.
$ac_ext
30493 { echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
30494 echo "${ECHO_T}$ac_cv_func_connect" >&6; }
30496 if test $ac_cv_func_connect = no
; then
30497 { echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
30498 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6; }
30499 if test "${ac_cv_lib_socket_connect+set}" = set; then
30500 echo $ECHO_N "(cached) $ECHO_C" >&6
30502 ac_check_lib_save_LIBS
=$LIBS
30503 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
30504 cat >conftest.
$ac_ext <<_ACEOF
30507 cat confdefs.h
>>conftest.
$ac_ext
30508 cat >>conftest.
$ac_ext <<_ACEOF
30509 /* end confdefs.h. */
30511 /* Override any GCC internal prototype to avoid an error.
30512 Use char because int might match the return type of a GCC
30513 builtin and then its argument prototype would still apply. */
30526 rm -f conftest.
$ac_objext conftest
$ac_exeext
30527 if { (ac_try
="$ac_link"
30528 case "(($ac_try" in
30529 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
30530 *) ac_try_echo=$ac_try;;
30532 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30533 (eval "$ac_link") 2>conftest.er1
30535 grep -v '^ *+' conftest.er1 >conftest.err
30537 cat conftest.err >&5
30538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30539 (exit $ac_status); } && {
30540 test -z "$ac_c_werror_flag" ||
30541 test ! -s conftest.err
30542 } && test -s conftest$ac_exeext &&
30543 $as_test_x conftest$ac_exeext; then
30544 ac_cv_lib_socket_connect=yes
30546 echo "$as_me: failed program was:" >&5
30547 sed 's/^/| /' conftest.$ac_ext >&5
30549 ac_cv_lib_socket_connect=no
30552 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30553 conftest$ac_exeext conftest.$ac_ext
30554 LIBS=$ac_check_lib_save_LIBS
30556 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
30557 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6; }
30558 if test $ac_cv_lib_socket_connect = yes; then
30559 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
30564 # Guillermo Gomez says -lposix is necessary on A/UX.
30565 { echo "$as_me:$LINENO: checking for remove" >&5
30566 echo $ECHO_N "checking for remove... $ECHO_C" >&6; }
30567 if test "${ac_cv_func_remove+set}" = set; then
30568 echo $ECHO_N "(cached) $ECHO_C" >&6
30570 cat >conftest.$ac_ext <<_ACEOF
30573 cat confdefs.h >>conftest.$ac_ext
30574 cat >>conftest.$ac_ext <<_ACEOF
30575 /* end confdefs.h. */
30576 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
30577 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30578 #define remove innocuous_remove
30580 /* System header to define __stub macros and hopefully few prototypes,
30581 which can conflict with char remove (); below.
30582 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30583 <limits.h> exists even on freestanding compilers. */
30586 # include <limits.h>
30588 # include <assert.h>
30593 /* Override any GCC internal prototype to avoid an error.
30594 Use char because int might match the return type of a GCC
30595 builtin and then its argument prototype would still apply. */
30600 /* The GNU C library defines this for functions which it implements
30601 to always fail with ENOSYS. Some functions are actually named
30602 something starting with __ and the normal name is an alias. */
30603 #if defined __stub_remove || defined __stub___remove
30615 rm -f conftest.$ac_objext conftest$ac_exeext
30616 if { (ac_try="$ac_link"
30617 case "(($ac_try" in
30618 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
30619 *) ac_try_echo
=$ac_try;;
30621 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30622 (eval "$ac_link") 2>conftest.er1
30624 grep -v '^ *+' conftest.er1
>conftest.err
30626 cat conftest.err
>&5
30627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30628 (exit $ac_status); } && {
30629 test -z "$ac_c_werror_flag" ||
30630 test ! -s conftest.err
30631 } && test -s conftest
$ac_exeext &&
30632 $as_test_x conftest
$ac_exeext; then
30633 ac_cv_func_remove
=yes
30635 echo "$as_me: failed program was:" >&5
30636 sed 's/^/| /' conftest.
$ac_ext >&5
30638 ac_cv_func_remove
=no
30641 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
30642 conftest
$ac_exeext conftest.
$ac_ext
30644 { echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
30645 echo "${ECHO_T}$ac_cv_func_remove" >&6; }
30647 if test $ac_cv_func_remove = no
; then
30648 { echo "$as_me:$LINENO: checking for remove in -lposix" >&5
30649 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6; }
30650 if test "${ac_cv_lib_posix_remove+set}" = set; then
30651 echo $ECHO_N "(cached) $ECHO_C" >&6
30653 ac_check_lib_save_LIBS
=$LIBS
30654 LIBS
="-lposix $LIBS"
30655 cat >conftest.
$ac_ext <<_ACEOF
30658 cat confdefs.h
>>conftest.
$ac_ext
30659 cat >>conftest.
$ac_ext <<_ACEOF
30660 /* end confdefs.h. */
30662 /* Override any GCC internal prototype to avoid an error.
30663 Use char because int might match the return type of a GCC
30664 builtin and then its argument prototype would still apply. */
30677 rm -f conftest.
$ac_objext conftest
$ac_exeext
30678 if { (ac_try
="$ac_link"
30679 case "(($ac_try" in
30680 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
30681 *) ac_try_echo=$ac_try;;
30683 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30684 (eval "$ac_link") 2>conftest.er1
30686 grep -v '^ *+' conftest.er1 >conftest.err
30688 cat conftest.err >&5
30689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30690 (exit $ac_status); } && {
30691 test -z "$ac_c_werror_flag" ||
30692 test ! -s conftest.err
30693 } && test -s conftest$ac_exeext &&
30694 $as_test_x conftest$ac_exeext; then
30695 ac_cv_lib_posix_remove=yes
30697 echo "$as_me: failed program was:" >&5
30698 sed 's/^/| /' conftest.$ac_ext >&5
30700 ac_cv_lib_posix_remove=no
30703 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30704 conftest$ac_exeext conftest.$ac_ext
30705 LIBS=$ac_check_lib_save_LIBS
30707 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
30708 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6; }
30709 if test $ac_cv_lib_posix_remove = yes; then
30710 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
30715 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
30716 { echo "$as_me:$LINENO: checking for shmat" >&5
30717 echo $ECHO_N "checking for shmat... $ECHO_C" >&6; }
30718 if test "${ac_cv_func_shmat+set}" = set; then
30719 echo $ECHO_N "(cached) $ECHO_C" >&6
30721 cat >conftest.$ac_ext <<_ACEOF
30724 cat confdefs.h >>conftest.$ac_ext
30725 cat >>conftest.$ac_ext <<_ACEOF
30726 /* end confdefs.h. */
30727 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
30728 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30729 #define shmat innocuous_shmat
30731 /* System header to define __stub macros and hopefully few prototypes,
30732 which can conflict with char shmat (); below.
30733 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30734 <limits.h> exists even on freestanding compilers. */
30737 # include <limits.h>
30739 # include <assert.h>
30744 /* Override any GCC internal prototype to avoid an error.
30745 Use char because int might match the return type of a GCC
30746 builtin and then its argument prototype would still apply. */
30751 /* The GNU C library defines this for functions which it implements
30752 to always fail with ENOSYS. Some functions are actually named
30753 something starting with __ and the normal name is an alias. */
30754 #if defined __stub_shmat || defined __stub___shmat
30766 rm -f conftest.$ac_objext conftest$ac_exeext
30767 if { (ac_try="$ac_link"
30768 case "(($ac_try" in
30769 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
30770 *) ac_try_echo
=$ac_try;;
30772 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30773 (eval "$ac_link") 2>conftest.er1
30775 grep -v '^ *+' conftest.er1
>conftest.err
30777 cat conftest.err
>&5
30778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30779 (exit $ac_status); } && {
30780 test -z "$ac_c_werror_flag" ||
30781 test ! -s conftest.err
30782 } && test -s conftest
$ac_exeext &&
30783 $as_test_x conftest
$ac_exeext; then
30784 ac_cv_func_shmat
=yes
30786 echo "$as_me: failed program was:" >&5
30787 sed 's/^/| /' conftest.
$ac_ext >&5
30789 ac_cv_func_shmat
=no
30792 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
30793 conftest
$ac_exeext conftest.
$ac_ext
30795 { echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
30796 echo "${ECHO_T}$ac_cv_func_shmat" >&6; }
30798 if test $ac_cv_func_shmat = no
; then
30799 { echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
30800 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6; }
30801 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
30802 echo $ECHO_N "(cached) $ECHO_C" >&6
30804 ac_check_lib_save_LIBS
=$LIBS
30806 cat >conftest.
$ac_ext <<_ACEOF
30809 cat confdefs.h
>>conftest.
$ac_ext
30810 cat >>conftest.
$ac_ext <<_ACEOF
30811 /* end confdefs.h. */
30813 /* Override any GCC internal prototype to avoid an error.
30814 Use char because int might match the return type of a GCC
30815 builtin and then its argument prototype would still apply. */
30828 rm -f conftest.
$ac_objext conftest
$ac_exeext
30829 if { (ac_try
="$ac_link"
30830 case "(($ac_try" in
30831 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
30832 *) ac_try_echo=$ac_try;;
30834 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30835 (eval "$ac_link") 2>conftest.er1
30837 grep -v '^ *+' conftest.er1 >conftest.err
30839 cat conftest.err >&5
30840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30841 (exit $ac_status); } && {
30842 test -z "$ac_c_werror_flag" ||
30843 test ! -s conftest.err
30844 } && test -s conftest$ac_exeext &&
30845 $as_test_x conftest$ac_exeext; then
30846 ac_cv_lib_ipc_shmat=yes
30848 echo "$as_me: failed program was:" >&5
30849 sed 's/^/| /' conftest.$ac_ext >&5
30851 ac_cv_lib_ipc_shmat=no
30854 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30855 conftest$ac_exeext conftest.$ac_ext
30856 LIBS=$ac_check_lib_save_LIBS
30858 { echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
30859 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6; }
30860 if test $ac_cv_lib_ipc_shmat = yes; then
30861 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
30867 # Check for libraries that X11R6 Xt/Xaw programs need.
30868 ac_save_LDFLAGS=$LDFLAGS
30869 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
30870 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
30871 # check for ICE first), but we must link in the order -lSM -lICE or
30872 # we get undefined symbols. So assume we have SM if we have ICE.
30873 # These have to be linked with before -lX11, unlike the other
30874 # libraries we check for below, so use a different variable.
30875 # John Interrante, Karl Berry
30876 { echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
30877 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6; }
30878 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
30879 echo $ECHO_N "(cached) $ECHO_C" >&6
30881 ac_check_lib_save_LIBS=$LIBS
30882 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
30883 cat >conftest.$ac_ext <<_ACEOF
30886 cat confdefs.h >>conftest.$ac_ext
30887 cat >>conftest.$ac_ext <<_ACEOF
30888 /* end confdefs.h. */
30890 /* Override any GCC internal prototype to avoid an error.
30891 Use char because int might match the return type of a GCC
30892 builtin and then its argument prototype would still apply. */
30896 char IceConnectionNumber ();
30900 return IceConnectionNumber ();
30905 rm -f conftest.$ac_objext conftest$ac_exeext
30906 if { (ac_try="$ac_link"
30907 case "(($ac_try" in
30908 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
30909 *) ac_try_echo
=$ac_try;;
30911 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30912 (eval "$ac_link") 2>conftest.er1
30914 grep -v '^ *+' conftest.er1
>conftest.err
30916 cat conftest.err
>&5
30917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30918 (exit $ac_status); } && {
30919 test -z "$ac_c_werror_flag" ||
30920 test ! -s conftest.err
30921 } && test -s conftest
$ac_exeext &&
30922 $as_test_x conftest
$ac_exeext; then
30923 ac_cv_lib_ICE_IceConnectionNumber
=yes
30925 echo "$as_me: failed program was:" >&5
30926 sed 's/^/| /' conftest.
$ac_ext >&5
30928 ac_cv_lib_ICE_IceConnectionNumber
=no
30931 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
30932 conftest
$ac_exeext conftest.
$ac_ext
30933 LIBS
=$ac_check_lib_save_LIBS
30935 { echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
30936 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
30937 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
30938 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
30941 LDFLAGS
=$ac_save_LDFLAGS
30946 if test "$no_x" = "yes"; then
30947 { { echo "$as_me:$LINENO: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&5
30948 echo "$as_me: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&2;}
30949 { (exit 1); exit 1; }; }
30952 GUI_TK_LIBRARY
=`echo $X_LIBS | sed 's/ -LNONE//' | sed 's/ -RNONE//'`
30953 TOOLKIT_INCLUDE
=`echo $X_CFLAGS | sed 's/ -INONE//'`
30954 AFMINSTALL
=afminstall
30955 COMPILED_X_PROGRAM
=0
30959 if test "$wxUSE_X11" = 1; then
30960 if test "$wxUSE_NANOX" = "yes"; then
30961 { echo "$as_me:$LINENO: checking for MicroWindows/NanoX distribution" >&5
30962 echo $ECHO_N "checking for MicroWindows/NanoX distribution... $ECHO_C" >&6; }
30963 if test "x$MICROWIN" = x
; then
30964 { echo "$as_me:$LINENO: result: not found" >&5
30965 echo "${ECHO_T}not found" >&6; }
30966 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&5
30967 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&2;}
30968 { (exit 1); exit 1; }; }
30970 { echo "$as_me:$LINENO: result: $MICROWIN" >&5
30971 echo "${ECHO_T}$MICROWIN" >&6; }
30972 cat >>confdefs.h
<<\_ACEOF
30973 #define wxUSE_NANOX 1
30979 if test "$wxUSE_UNICODE" = "yes"; then
30982 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
30983 if test -n "$ac_tool_prefix"; then
30984 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
30985 set dummy
${ac_tool_prefix}pkg
-config; ac_word
=$2
30986 { echo "$as_me:$LINENO: checking for $ac_word" >&5
30987 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
30988 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
30989 echo $ECHO_N "(cached) $ECHO_C" >&6
30991 case $PKG_CONFIG in
30993 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
30996 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
30997 for as_dir
in $PATH
31000 test -z "$as_dir" && as_dir
=.
31001 for ac_exec_ext
in '' $ac_executable_extensions; do
31002 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
31003 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
31004 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
31014 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
31015 if test -n "$PKG_CONFIG"; then
31016 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
31017 echo "${ECHO_T}$PKG_CONFIG" >&6; }
31019 { echo "$as_me:$LINENO: result: no" >&5
31020 echo "${ECHO_T}no" >&6; }
31025 if test -z "$ac_cv_path_PKG_CONFIG"; then
31026 ac_pt_PKG_CONFIG
=$PKG_CONFIG
31027 # Extract the first word of "pkg-config", so it can be a program name with args.
31028 set dummy pkg
-config; ac_word
=$2
31029 { echo "$as_me:$LINENO: checking for $ac_word" >&5
31030 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
31031 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
31032 echo $ECHO_N "(cached) $ECHO_C" >&6
31034 case $ac_pt_PKG_CONFIG in
31036 ac_cv_path_ac_pt_PKG_CONFIG
="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
31039 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
31040 for as_dir
in $PATH
31043 test -z "$as_dir" && as_dir
=.
31044 for ac_exec_ext
in '' $ac_executable_extensions; do
31045 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
31046 ac_cv_path_ac_pt_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
31047 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
31057 ac_pt_PKG_CONFIG
=$ac_cv_path_ac_pt_PKG_CONFIG
31058 if test -n "$ac_pt_PKG_CONFIG"; then
31059 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
31060 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
31062 { echo "$as_me:$LINENO: result: no" >&5
31063 echo "${ECHO_T}no" >&6; }
31066 if test "x$ac_pt_PKG_CONFIG" = x
; then
31069 case $cross_compiling:$ac_tool_warned in
31071 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
31072 whose name does not start with the host triplet. If you think this
31073 configuration is useful to you, please write to autoconf@gnu.org." >&5
31074 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
31075 whose name does not start with the host triplet. If you think this
31076 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
31077 ac_tool_warned
=yes ;;
31079 PKG_CONFIG
=$ac_pt_PKG_CONFIG
31082 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
31086 if test -n "$PKG_CONFIG"; then
31087 _pkg_min_version
=0.9.0
31088 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
31089 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
31090 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
31091 { echo "$as_me:$LINENO: result: yes" >&5
31092 echo "${ECHO_T}yes" >&6; }
31094 { echo "$as_me:$LINENO: result: no" >&5
31095 echo "${ECHO_T}no" >&6; }
31103 { echo "$as_me:$LINENO: checking for PANGOX" >&5
31104 echo $ECHO_N "checking for PANGOX... $ECHO_C" >&6; }
31106 if test -n "$PKG_CONFIG"; then
31107 if test -n "$PANGOX_CFLAGS"; then
31108 pkg_cv_PANGOX_CFLAGS
="$PANGOX_CFLAGS"
31110 if test -n "$PKG_CONFIG" && \
31111 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
31112 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
31114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31115 (exit $ac_status); }; then
31116 pkg_cv_PANGOX_CFLAGS
=`$PKG_CONFIG --cflags "pangox" 2>/dev/null`
31124 if test -n "$PKG_CONFIG"; then
31125 if test -n "$PANGOX_LIBS"; then
31126 pkg_cv_PANGOX_LIBS
="$PANGOX_LIBS"
31128 if test -n "$PKG_CONFIG" && \
31129 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
31130 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
31132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31133 (exit $ac_status); }; then
31134 pkg_cv_PANGOX_LIBS
=`$PKG_CONFIG --libs "pangox" 2>/dev/null`
31145 if test $pkg_failed = yes; then
31147 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
31148 _pkg_short_errors_supported
=yes
31150 _pkg_short_errors_supported
=no
31152 if test $_pkg_short_errors_supported = yes; then
31153 PANGOX_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangox"`
31155 PANGOX_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangox"`
31157 # Put the nasty error message in config.log where it belongs
31158 echo "$PANGOX_PKG_ERRORS" >&5
31161 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
31162 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
31163 { (exit 1); exit 1; }; }
31166 elif test $pkg_failed = untried
; then
31168 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
31169 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
31170 { (exit 1); exit 1; }; }
31174 PANGOX_CFLAGS
=$pkg_cv_PANGOX_CFLAGS
31175 PANGOX_LIBS
=$pkg_cv_PANGOX_LIBS
31176 { echo "$as_me:$LINENO: result: yes" >&5
31177 echo "${ECHO_T}yes" >&6; }
31179 CFLAGS
="$PANGOX_CFLAGS $CFLAGS"
31180 CXXFLAGS
="$PANGOX_CFLAGS $CXXFLAGS"
31181 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOX_LIBS"
31186 { echo "$as_me:$LINENO: checking for PANGOFT2" >&5
31187 echo $ECHO_N "checking for PANGOFT2... $ECHO_C" >&6; }
31189 if test -n "$PKG_CONFIG"; then
31190 if test -n "$PANGOFT2_CFLAGS"; then
31191 pkg_cv_PANGOFT2_CFLAGS
="$PANGOFT2_CFLAGS"
31193 if test -n "$PKG_CONFIG" && \
31194 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
31195 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
31197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31198 (exit $ac_status); }; then
31199 pkg_cv_PANGOFT2_CFLAGS
=`$PKG_CONFIG --cflags "pangoft2" 2>/dev/null`
31207 if test -n "$PKG_CONFIG"; then
31208 if test -n "$PANGOFT2_LIBS"; then
31209 pkg_cv_PANGOFT2_LIBS
="$PANGOFT2_LIBS"
31211 if test -n "$PKG_CONFIG" && \
31212 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
31213 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
31215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31216 (exit $ac_status); }; then
31217 pkg_cv_PANGOFT2_LIBS
=`$PKG_CONFIG --libs "pangoft2" 2>/dev/null`
31228 if test $pkg_failed = yes; then
31230 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
31231 _pkg_short_errors_supported
=yes
31233 _pkg_short_errors_supported
=no
31235 if test $_pkg_short_errors_supported = yes; then
31236 PANGOFT2_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoft2"`
31238 PANGOFT2_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
31240 # Put the nasty error message in config.log where it belongs
31241 echo "$PANGOFT2_PKG_ERRORS" >&5
31244 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
31245 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
31246 wxUSE_PRINTING_ARCHITECTURE
="no"
31249 elif test $pkg_failed = untried
; then
31251 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
31252 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
31253 wxUSE_PRINTING_ARCHITECTURE
="no"
31257 PANGOFT2_CFLAGS
=$pkg_cv_PANGOFT2_CFLAGS
31258 PANGOFT2_LIBS
=$pkg_cv_PANGOFT2_LIBS
31259 { echo "$as_me:$LINENO: result: yes" >&5
31260 echo "${ECHO_T}yes" >&6; }
31262 CFLAGS
="$PANGOFT2_CFLAGS $CFLAGS"
31263 CXXFLAGS
="$PANGOFT2_CFLAGS $CXXFLAGS"
31264 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
31269 { echo "$as_me:$LINENO: checking for PANGOXFT" >&5
31270 echo $ECHO_N "checking for PANGOXFT... $ECHO_C" >&6; }
31272 if test -n "$PKG_CONFIG"; then
31273 if test -n "$PANGOXFT_CFLAGS"; then
31274 pkg_cv_PANGOXFT_CFLAGS
="$PANGOXFT_CFLAGS"
31276 if test -n "$PKG_CONFIG" && \
31277 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
31278 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
31280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31281 (exit $ac_status); }; then
31282 pkg_cv_PANGOXFT_CFLAGS
=`$PKG_CONFIG --cflags "pangoxft" 2>/dev/null`
31290 if test -n "$PKG_CONFIG"; then
31291 if test -n "$PANGOXFT_LIBS"; then
31292 pkg_cv_PANGOXFT_LIBS
="$PANGOXFT_LIBS"
31294 if test -n "$PKG_CONFIG" && \
31295 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
31296 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
31298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31299 (exit $ac_status); }; then
31300 pkg_cv_PANGOXFT_LIBS
=`$PKG_CONFIG --libs "pangoxft" 2>/dev/null`
31311 if test $pkg_failed = yes; then
31313 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
31314 _pkg_short_errors_supported
=yes
31316 _pkg_short_errors_supported
=no
31318 if test $_pkg_short_errors_supported = yes; then
31319 PANGOXFT_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoxft"`
31321 PANGOXFT_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoxft"`
31323 # Put the nasty error message in config.log where it belongs
31324 echo "$PANGOXFT_PKG_ERRORS" >&5
31327 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
31328 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
31331 elif test $pkg_failed = untried
; then
31333 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
31334 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
31338 PANGOXFT_CFLAGS
=$pkg_cv_PANGOXFT_CFLAGS
31339 PANGOXFT_LIBS
=$pkg_cv_PANGOXFT_LIBS
31340 { echo "$as_me:$LINENO: result: yes" >&5
31341 echo "${ECHO_T}yes" >&6; }
31343 cat >>confdefs.h
<<\_ACEOF
31344 #define HAVE_PANGO_XFT 1
31347 CFLAGS
="$PANGOXFT_CFLAGS $CFLAGS"
31348 CXXFLAGS
="$PANGOXFT_CFLAGS $CXXFLAGS"
31349 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOXFT_LIBS"
31353 LIBS
="$LIBS $PANGOX_LIBS"
31355 for ac_func
in pango_font_family_is_monospace
31357 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31358 { echo "$as_me:$LINENO: checking for $ac_func" >&5
31359 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
31360 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
31361 echo $ECHO_N "(cached) $ECHO_C" >&6
31363 cat >conftest.
$ac_ext <<_ACEOF
31366 cat confdefs.h
>>conftest.
$ac_ext
31367 cat >>conftest.
$ac_ext <<_ACEOF
31368 /* end confdefs.h. */
31369 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31370 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31371 #define $ac_func innocuous_$ac_func
31373 /* System header to define __stub macros and hopefully few prototypes,
31374 which can conflict with char $ac_func (); below.
31375 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31376 <limits.h> exists even on freestanding compilers. */
31379 # include <limits.h>
31381 # include <assert.h>
31386 /* Override any GCC internal prototype to avoid an error.
31387 Use char because int might match the return type of a GCC
31388 builtin and then its argument prototype would still apply. */
31393 /* The GNU C library defines this for functions which it implements
31394 to always fail with ENOSYS. Some functions are actually named
31395 something starting with __ and the normal name is an alias. */
31396 #if defined __stub_$ac_func || defined __stub___$ac_func
31403 return $ac_func ();
31408 rm -f conftest.
$ac_objext conftest
$ac_exeext
31409 if { (ac_try
="$ac_link"
31410 case "(($ac_try" in
31411 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
31412 *) ac_try_echo=$ac_try;;
31414 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31415 (eval "$ac_link") 2>conftest.er1
31417 grep -v '^ *+' conftest.er1 >conftest.err
31419 cat conftest.err >&5
31420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31421 (exit $ac_status); } && {
31422 test -z "$ac_c_werror_flag" ||
31423 test ! -s conftest.err
31424 } && test -s conftest$ac_exeext &&
31425 $as_test_x conftest$ac_exeext; then
31426 eval "$as_ac_var=yes"
31428 echo "$as_me: failed program was:" >&5
31429 sed 's/^/| /' conftest.$ac_ext >&5
31431 eval "$as_ac_var=no"
31434 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31435 conftest$ac_exeext conftest.$ac_ext
31437 ac_res=`eval echo '${'$as_ac_var'}'`
31438 { echo "$as_me:$LINENO: result: $ac_res" >&5
31439 echo "${ECHO_T}$ac_res" >&6; }
31440 if test `eval echo '${'$as_ac_var'}'` = yes; then
31441 cat >>confdefs.h <<_ACEOF
31442 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31451 wxUSE_UNIVERSAL="yes"
31453 if test "$wxUSE_NANOX" = "yes"; then
31454 TOOLKIT_INCLUDE="-I\$(top_srcdir)/include/wx/x11/nanox -I\$(MICROWIN)/src/include $TOOLKIT_INCLUDE"
31455 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"
31456 GUI_TK_LIBRARY="$GUI_TK_LIBRARY \$(MICROWIN)/src/lib/libnano-X.a"
31458 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lX11"
31465 if test "$wxUSE_MOTIF" = 1; then
31466 { echo "$as_me:$LINENO: checking for Motif/Lesstif headers" >&5
31467 echo $ECHO_N "checking for Motif/Lesstif headers... $ECHO_C" >&6; }
31470 for ac_dir in $SEARCH_INCLUDE /usr/include;
31472 if test -f "$ac_dir/Xm/Xm.h"; then
31473 ac_find_includes=$ac_dir
31478 if test "$ac_find_includes" != "" ; then
31479 { echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
31480 echo "${ECHO_T}found in $ac_find_includes" >&6; }
31482 if test "x$ac_find_includes" = "x/usr/include"; then
31483 ac_path_to_include=""
31485 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev/null
31487 if test $result = 0; then
31488 ac_path_to_include=""
31490 ac_path_to_include=" -I$ac_find_includes"
31494 TOOLKIT_INCLUDE="$TOOLKIT_INCLUDE$ac_path_to_include"
31496 save_CFLAGS=$CFLAGS
31497 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
31499 cat >conftest.$ac_ext <<_ACEOF
31502 cat confdefs.h >>conftest.$ac_ext
31503 cat >>conftest.$ac_ext <<_ACEOF
31504 /* end confdefs.h. */
31513 version = xmUseVersion;
31519 rm -f conftest.$ac_objext
31520 if { (ac_try="$ac_compile"
31521 case "(($ac_try" in
31522 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
31523 *) ac_try_echo
=$ac_try;;
31525 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31526 (eval "$ac_compile") 2>conftest.er1
31528 grep -v '^ *+' conftest.er1
>conftest.err
31530 cat conftest.err
>&5
31531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31532 (exit $ac_status); } && {
31533 test -z "$ac_c_werror_flag" ||
31534 test ! -s conftest.err
31535 } && test -s conftest.
$ac_objext; then
31537 { echo "$as_me:$LINENO: result: found in default search path" >&5
31538 echo "${ECHO_T}found in default search path" >&6; }
31539 COMPILED_X_PROGRAM
=1
31542 echo "$as_me: failed program was:" >&5
31543 sed 's/^/| /' conftest.
$ac_ext >&5
31546 { echo "$as_me:$LINENO: result: no" >&5
31547 echo "${ECHO_T}no" >&6; }
31548 { { echo "$as_me:$LINENO: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&5
31549 echo "$as_me: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&2;}
31550 { (exit 1); exit 1; }; }
31555 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
31557 CFLAGS
=$save_CFLAGS
31561 { echo "$as_me:$LINENO: checking for Motif/Lesstif library" >&5
31562 echo $ECHO_N "checking for Motif/Lesstif library... $ECHO_C" >&6; }
31565 for ac_dir
in $SEARCH_LIB;
31567 for ac_extension
in a so sl dylib dll.a
; do
31568 if test -f "$ac_dir/libXm.$ac_extension"; then
31569 ac_find_libraries
=$ac_dir
31576 if test "x$ac_find_libraries" != "x" ; then
31577 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
31578 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
31581 if test "$ac_find_libraries" = "default location"; then
31584 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
31586 if test $result = 0; then
31589 ac_path_to_link
=" -L$ac_find_libraries"
31593 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY$ac_path_to_link"
31595 save_CFLAGS
=$CFLAGS
31596 CFLAGS
="$TOOLKIT_INCLUDE $CFLAGS"
31598 LIBS
="$GUI_TK_LIBRARY -lXm -lXmu -lXext -lX11"
31600 cat >conftest.
$ac_ext <<_ACEOF
31603 cat confdefs.h
>>conftest.
$ac_ext
31604 cat >>conftest.
$ac_ext <<_ACEOF
31605 /* end confdefs.h. */
31614 version = xmUseVersion;
31620 rm -f conftest.
$ac_objext conftest
$ac_exeext
31621 if { (ac_try
="$ac_link"
31622 case "(($ac_try" in
31623 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
31624 *) ac_try_echo=$ac_try;;
31626 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31627 (eval "$ac_link") 2>conftest.er1
31629 grep -v '^ *+' conftest.er1 >conftest.err
31631 cat conftest.err >&5
31632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31633 (exit $ac_status); } && {
31634 test -z "$ac_c_werror_flag" ||
31635 test ! -s conftest.err
31636 } && test -s conftest$ac_exeext &&
31637 $as_test_x conftest$ac_exeext; then
31639 { echo "$as_me:$LINENO: result: found in default search path" >&5
31640 echo "${ECHO_T}found in default search path" >&6; }
31641 COMPILED_X_PROGRAM=1
31644 echo "$as_me: failed program was:" >&5
31645 sed 's/^/| /' conftest.$ac_ext >&5
31648 { echo "$as_me:$LINENO: result: no" >&5
31649 echo "${ECHO_T}no" >&6; }
31650 { { echo "$as_me:$LINENO: error: please set LDFLAGS to contain the location of libXm" >&5
31651 echo "$as_me: error: please set LDFLAGS to contain the location of libXm" >&2;}
31652 { (exit 1); exit 1; }; }
31657 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31658 conftest$ac_exeext conftest.$ac_ext
31660 CFLAGS=$save_CFLAGS
31664 { echo "$as_me:$LINENO: checking if we need -lXp and/or -lSM -lICE" >&5
31665 echo $ECHO_N "checking if we need -lXp and/or -lSM -lICE... $ECHO_C" >&6; }
31669 for libp in "" " -lXp"; do
31670 if test "$libs_found" = 0; then
31671 for libsm_ice in "" " -lSM -lICE"; do
31672 if test "$libs_found" = 0; then
31674 LIBS="$GUI_TK_LIBRARY -lXm ${libp} -lXmu -lXext -lXt${libsm_ice} -lX11"
31675 save_CFLAGS=$CFLAGS
31676 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
31678 cat >conftest.$ac_ext <<_ACEOF
31681 cat confdefs.h >>conftest.$ac_ext
31682 cat >>conftest.$ac_ext <<_ACEOF
31683 /* end confdefs.h. */
31686 #include <Xm/List.h>
31692 XmString string = NULL;
31695 XmListAddItem(w, string, position);
31701 rm -f conftest.$ac_objext conftest$ac_exeext
31702 if { (ac_try="$ac_link"
31703 case "(($ac_try" in
31704 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
31705 *) ac_try_echo
=$ac_try;;
31707 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31708 (eval "$ac_link") 2>conftest.er1
31710 grep -v '^ *+' conftest.er1
>conftest.err
31712 cat conftest.err
>&5
31713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31714 (exit $ac_status); } && {
31715 test -z "$ac_c_werror_flag" ||
31716 test ! -s conftest.err
31717 } && test -s conftest
$ac_exeext &&
31718 $as_test_x conftest
$ac_exeext; then
31721 libsm_ice_link
="$libsm_ice"
31722 { echo "$as_me:$LINENO: result: need${libp_link}${libsm_ice_link}" >&5
31723 echo "${ECHO_T}need${libp_link}${libsm_ice_link}" >&6; }
31727 echo "$as_me: failed program was:" >&5
31728 sed 's/^/| /' conftest.
$ac_ext >&5
31734 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
31735 conftest
$ac_exeext conftest.
$ac_ext
31738 CFLAGS
=$save_CFLAGS
31744 if test "$libs_found" = 0; then
31745 { echo "$as_me:$LINENO: result: can't find the right libraries" >&5
31746 echo "${ECHO_T}can't find the right libraries" >&6; }
31747 { { echo "$as_me:$LINENO: error: can't link a simple motif program" >&5
31748 echo "$as_me: error: can't link a simple motif program" >&2;}
31749 { (exit 1); exit 1; }; }
31752 { echo "$as_me:$LINENO: checking for SgCreateList in -lSgm" >&5
31753 echo $ECHO_N "checking for SgCreateList in -lSgm... $ECHO_C" >&6; }
31754 if test "${ac_cv_lib_Sgm_SgCreateList+set}" = set; then
31755 echo $ECHO_N "(cached) $ECHO_C" >&6
31757 ac_check_lib_save_LIBS
=$LIBS
31759 cat >conftest.
$ac_ext <<_ACEOF
31762 cat confdefs.h
>>conftest.
$ac_ext
31763 cat >>conftest.
$ac_ext <<_ACEOF
31764 /* end confdefs.h. */
31766 /* Override any GCC internal prototype to avoid an error.
31767 Use char because int might match the return type of a GCC
31768 builtin and then its argument prototype would still apply. */
31772 char SgCreateList ();
31776 return SgCreateList ();
31781 rm -f conftest.
$ac_objext conftest
$ac_exeext
31782 if { (ac_try
="$ac_link"
31783 case "(($ac_try" in
31784 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
31785 *) ac_try_echo=$ac_try;;
31787 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31788 (eval "$ac_link") 2>conftest.er1
31790 grep -v '^ *+' conftest.er1 >conftest.err
31792 cat conftest.err >&5
31793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31794 (exit $ac_status); } && {
31795 test -z "$ac_c_werror_flag" ||
31796 test ! -s conftest.err
31797 } && test -s conftest$ac_exeext &&
31798 $as_test_x conftest$ac_exeext; then
31799 ac_cv_lib_Sgm_SgCreateList=yes
31801 echo "$as_me: failed program was:" >&5
31802 sed 's/^/| /' conftest.$ac_ext >&5
31804 ac_cv_lib_Sgm_SgCreateList=no
31807 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31808 conftest$ac_exeext conftest.$ac_ext
31809 LIBS=$ac_check_lib_save_LIBS
31811 { echo "$as_me:$LINENO: result: $ac_cv_lib_Sgm_SgCreateList" >&5
31812 echo "${ECHO_T}$ac_cv_lib_Sgm_SgCreateList" >&6; }
31813 if test $ac_cv_lib_Sgm_SgCreateList = yes; then
31814 libsgm_link=" -lSgm"
31818 save_CFLAGS=$CFLAGS
31819 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
31821 { echo "$as_me:$LINENO: checking for Motif 2" >&5
31822 echo $ECHO_N "checking for Motif 2... $ECHO_C" >&6; }
31823 if test "${wx_cv_lib_motif2+set}" = set; then
31824 echo $ECHO_N "(cached) $ECHO_C" >&6
31826 cat >conftest.$ac_ext <<_ACEOF
31829 cat confdefs.h >>conftest.$ac_ext
31830 cat >>conftest.$ac_ext <<_ACEOF
31831 /* end confdefs.h. */
31839 #if XmVersion < 2000
31847 rm -f conftest.$ac_objext
31848 if { (ac_try="$ac_compile"
31849 case "(($ac_try" in
31850 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
31851 *) ac_try_echo
=$ac_try;;
31853 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31854 (eval "$ac_compile") 2>conftest.er1
31856 grep -v '^ *+' conftest.er1
>conftest.err
31858 cat conftest.err
>&5
31859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31860 (exit $ac_status); } && {
31861 test -z "$ac_c_werror_flag" ||
31862 test ! -s conftest.err
31863 } && test -s conftest.
$ac_objext; then
31864 wx_cv_lib_motif2
="yes"
31866 echo "$as_me: failed program was:" >&5
31867 sed 's/^/| /' conftest.
$ac_ext >&5
31869 wx_cv_lib_motif2
="no"
31872 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
31874 { echo "$as_me:$LINENO: result: $wx_cv_lib_motif2" >&5
31875 echo "${ECHO_T}$wx_cv_lib_motif2" >&6; }
31876 if test "$wx_cv_lib_motif2" = "yes"; then
31877 cat >>confdefs.h
<<\_ACEOF
31878 #define __WXMOTIF20__ 1
31882 cat >>confdefs.h
<<\_ACEOF
31883 #define __WXMOTIF20__ 0
31888 { echo "$as_me:$LINENO: checking whether Motif is Lesstif" >&5
31889 echo $ECHO_N "checking whether Motif is Lesstif... $ECHO_C" >&6; }
31890 if test "${wx_cv_lib_lesstif+set}" = set; then
31891 echo $ECHO_N "(cached) $ECHO_C" >&6
31893 cat >conftest.
$ac_ext <<_ACEOF
31896 cat confdefs.h
>>conftest.
$ac_ext
31897 cat >>conftest.
$ac_ext <<_ACEOF
31898 /* end confdefs.h. */
31906 #if !defined(LesstifVersion) || LesstifVersion <= 0
31914 rm -f conftest.
$ac_objext
31915 if { (ac_try
="$ac_compile"
31916 case "(($ac_try" in
31917 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
31918 *) ac_try_echo=$ac_try;;
31920 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31921 (eval "$ac_compile") 2>conftest.er1
31923 grep -v '^ *+' conftest.er1 >conftest.err
31925 cat conftest.err >&5
31926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31927 (exit $ac_status); } && {
31928 test -z "$ac_c_werror_flag" ||
31929 test ! -s conftest.err
31930 } && test -s conftest.$ac_objext; then
31931 wx_cv_lib_lesstif="yes"
31933 echo "$as_me: failed program was:" >&5
31934 sed 's/^/| /' conftest.$ac_ext >&5
31936 wx_cv_lib_lesstif="no"
31939 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31942 { echo "$as_me:$LINENO: result: $wx_cv_lib_lesstif" >&5
31943 echo "${ECHO_T}$wx_cv_lib_lesstif" >&6; }
31944 if test "$wx_cv_lib_lesstif" = "yes"; then
31945 cat >>confdefs.h <<\_ACEOF
31946 #define __WXLESSTIF__ 1
31950 cat >>confdefs.h <<\_ACEOF
31951 #define __WXLESSTIF__ 0
31956 CFLAGS=$save_CFLAGS
31958 GUI_TK_LIBRARY="$GUI_TK_LIBRARY${libsgm_link} -lXm${libp_link} -lXmu -lXext -lXt${libsm_ice_link} -lX11"
31963 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
31964 if test "$wxUSE_LIBXPM" = "sys"; then
31965 { echo "$as_me:$LINENO: checking for Xpm library" >&5
31966 echo $ECHO_N "checking for Xpm library... $ECHO_C" >&6; }
31969 for ac_dir in $SEARCH_LIB;
31971 for ac_extension in a so sl dylib dll.a; do
31972 if test -f "$ac_dir/libXpm.$ac_extension"; then
31973 ac_find_libraries=$ac_dir
31979 if test "$ac_find_libraries" != "" ; then
31981 if test "$ac_find_libraries" = "default location"; then
31984 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
31986 if test $result = 0; then
31989 ac_path_to_link=" -L$ac_find_libraries"
31993 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
31994 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
31995 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
31997 { echo "$as_me:$LINENO: checking for X11/xpm.h" >&5
31998 echo $ECHO_N "checking for X11/xpm.h... $ECHO_C" >&6; }
31999 if test "${wx_cv_x11_xpm_h+set}" = set; then
32000 echo $ECHO_N "(cached) $ECHO_C" >&6
32003 save_CFLAGS=$CFLAGS
32004 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
32006 cat >conftest.$ac_ext <<_ACEOF
32009 cat confdefs.h >>conftest.$ac_ext
32010 cat >>conftest.$ac_ext <<_ACEOF
32011 /* end confdefs.h. */
32013 #include <X11/xpm.h>
32020 version = XpmLibraryVersion();
32026 rm -f conftest.$ac_objext
32027 if { (ac_try="$ac_compile"
32028 case "(($ac_try" in
32029 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
32030 *) ac_try_echo
=$ac_try;;
32032 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32033 (eval "$ac_compile") 2>conftest.er1
32035 grep -v '^ *+' conftest.er1
>conftest.err
32037 cat conftest.err
>&5
32038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32039 (exit $ac_status); } && {
32040 test -z "$ac_c_werror_flag" ||
32041 test ! -s conftest.err
32042 } && test -s conftest.
$ac_objext; then
32043 wx_cv_x11_xpm_h
=yes
32045 echo "$as_me: failed program was:" >&5
32046 sed 's/^/| /' conftest.
$ac_ext >&5
32052 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
32054 CFLAGS
=$save_CFLAGS
32058 { echo "$as_me:$LINENO: result: $wx_cv_x11_xpm_h" >&5
32059 echo "${ECHO_T}$wx_cv_x11_xpm_h" >&6; }
32061 if test $wx_cv_x11_xpm_h = "yes"; then
32062 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXpm"
32063 cat >>confdefs.h
<<\_ACEOF
32064 #define wxHAVE_LIB_XPM 1
32068 { echo "$as_me:$LINENO: WARNING: built-in less efficient XPM decoder will be used" >&5
32069 echo "$as_me: WARNING: built-in less efficient XPM decoder will be used" >&2;}
32075 { echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
32076 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6; }
32077 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
32078 echo $ECHO_N "(cached) $ECHO_C" >&6
32080 ac_check_lib_save_LIBS
=$LIBS
32081 LIBS
="-lXext $GUI_TK_LIBRARY -lX11 $LIBS"
32082 cat >conftest.
$ac_ext <<_ACEOF
32085 cat confdefs.h
>>conftest.
$ac_ext
32086 cat >>conftest.
$ac_ext <<_ACEOF
32087 /* end confdefs.h. */
32089 /* Override any GCC internal prototype to avoid an error.
32090 Use char because int might match the return type of a GCC
32091 builtin and then its argument prototype would still apply. */
32095 char XShapeQueryExtension ();
32099 return XShapeQueryExtension ();
32104 rm -f conftest.
$ac_objext conftest
$ac_exeext
32105 if { (ac_try
="$ac_link"
32106 case "(($ac_try" in
32107 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
32108 *) ac_try_echo=$ac_try;;
32110 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32111 (eval "$ac_link") 2>conftest.er1
32113 grep -v '^ *+' conftest.er1 >conftest.err
32115 cat conftest.err >&5
32116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32117 (exit $ac_status); } && {
32118 test -z "$ac_c_werror_flag" ||
32119 test ! -s conftest.err
32120 } && test -s conftest$ac_exeext &&
32121 $as_test_x conftest$ac_exeext; then
32122 ac_cv_lib_Xext_XShapeQueryExtension=yes
32124 echo "$as_me: failed program was:" >&5
32125 sed 's/^/| /' conftest.$ac_ext >&5
32127 ac_cv_lib_Xext_XShapeQueryExtension=no
32130 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32131 conftest$ac_exeext conftest.$ac_ext
32132 LIBS=$ac_check_lib_save_LIBS
32134 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
32135 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
32136 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
32138 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXext"
32144 if test "$wxHAVE_XEXT_LIB" = 1; then
32145 save_CFLAGS="$CFLAGS"
32146 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
32148 { echo "$as_me:$LINENO: checking for X11/extensions/shape.h" >&5
32149 echo $ECHO_N "checking for X11/extensions/shape.h... $ECHO_C" >&6; }
32150 cat >conftest.$ac_ext <<_ACEOF
32153 cat confdefs.h >>conftest.$ac_ext
32154 cat >>conftest.$ac_ext <<_ACEOF
32155 /* end confdefs.h. */
32157 #include <X11/Xlib.h>
32158 #include <X11/extensions/shape.h>
32164 int dummy1, dummy2;
32165 XShapeQueryExtension((Display*)NULL,
32166 (int*)NULL, (int*)NULL);
32172 rm -f conftest.$ac_objext
32173 if { (ac_try="$ac_compile"
32174 case "(($ac_try" in
32175 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
32176 *) ac_try_echo
=$ac_try;;
32178 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32179 (eval "$ac_compile") 2>conftest.er1
32181 grep -v '^ *+' conftest.er1
>conftest.err
32183 cat conftest.err
>&5
32184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32185 (exit $ac_status); } && {
32186 test -z "$ac_c_werror_flag" ||
32187 test ! -s conftest.err
32188 } && test -s conftest.
$ac_objext; then
32190 cat >>confdefs.h
<<\_ACEOF
32191 #define HAVE_XSHAPE 1
32194 { echo "$as_me:$LINENO: result: found" >&5
32195 echo "${ECHO_T}found" >&6; }
32198 echo "$as_me: failed program was:" >&5
32199 sed 's/^/| /' conftest.
$ac_ext >&5
32202 { echo "$as_me:$LINENO: result: not found" >&5
32203 echo "${ECHO_T}not found" >&6; }
32207 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
32208 CFLAGS
="$save_CFLAGS"
32213 if test "$wxUSE_MAC" = 1; then
32214 { echo "$as_me:$LINENO: checking for compiler syntax to enable Pascal strings" >&5
32215 echo $ECHO_N "checking for compiler syntax to enable Pascal strings... $ECHO_C" >&6; }
32216 if test "$GCC" = yes; then
32217 { echo "$as_me:$LINENO: result: gcc" >&5
32218 echo "${ECHO_T}gcc" >&6; }
32219 CPPFLAGS_PASCAL
="-fpascal-strings"
32220 elif test "`echo $CXX | sed -e 's@.*/@@'`" = "xlC"; then
32221 { echo "$as_me:$LINENO: result: xlc" >&5
32222 echo "${ECHO_T}xlc" >&6; }
32223 CPPFLAGS_PASCAL
="-qmacpstr"
32225 { echo "$as_me:$LINENO: result: none" >&5
32226 echo "${ECHO_T}none" >&6; }
32229 if test "x$wxUSE_UNIX" = "xyes"; then
32230 CPPFLAGS
="$CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -I/Developer/Headers/FlatCarbon $CPPFLAGS"
32232 CPPFLAGS
="$CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -DTARGET_CARBON $CPPFLAGS"
32237 WXBASEPORT
="_carbon"
32240 if test "$wxUSE_COCOA" = 1; then
32245 if test "$wxUSE_PM" = 1; then
32248 { echo "$as_me:$LINENO: checking for type SPBCDATA" >&5
32249 echo $ECHO_N "checking for type SPBCDATA... $ECHO_C" >&6; }
32250 if test "${wx_cv_spbcdata+set}" = set; then
32251 echo $ECHO_N "(cached) $ECHO_C" >&6
32254 cat >conftest.
$ac_ext <<_ACEOF
32257 cat confdefs.h
>>conftest.
$ac_ext
32258 cat >>conftest.
$ac_ext <<_ACEOF
32259 /* end confdefs.h. */
32274 rm -f conftest.
$ac_objext
32275 if { (ac_try
="$ac_compile"
32276 case "(($ac_try" in
32277 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
32278 *) ac_try_echo=$ac_try;;
32280 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32281 (eval "$ac_compile") 2>conftest.er1
32283 grep -v '^ *+' conftest.er1 >conftest.err
32285 cat conftest.err >&5
32286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32287 (exit $ac_status); } && {
32288 test -z "$ac_c_werror_flag" ||
32289 test ! -s conftest.err
32290 } && test -s conftest.$ac_objext; then
32293 echo "$as_me: failed program was:" >&5
32294 sed 's/^/| /' conftest.$ac_ext >&5
32300 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32304 { echo "$as_me:$LINENO: result: $wx_cv_spbcdata" >&5
32305 echo "${ECHO_T}$wx_cv_spbcdata" >&6; }
32307 if test $wx_cv_spbcdata = "yes"; then
32308 cat >>confdefs.h <<\_ACEOF
32309 #define HAVE_SPBCDATA 1
32315 if test "$TOOLKIT" = "PM" ; then
32318 TOOLKIT_DIR=`echo ${TOOLKIT} | tr '[A-Z]' '[a-z]'`
32321 if test "$wxUSE_UNIVERSAL" = "yes"; then
32322 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
32326 GUIDIST="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
32327 DISTDIR="wx\$(TOOLKIT)"
32333 if test "$USE_WIN32" = 1 ; then
32337 GUIDIST="BASE_DIST"
32343 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_UTF8" = "auto" ; then
32344 if test "$USE_UNIX" = 1 -a "$wxUSE_DARWIN" != 1 ; then
32345 wxUSE_UNICODE_UTF8=yes
32346 elif test "$USE_OS2" = 1 ; then
32347 wxUSE_UNICODE_UTF8=yes
32349 wxUSE_UNICODE_UTF8=no
32354 if test "$wxUSE_GUI" = "yes"; then
32355 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_PM" != 1; then
32357 for ac_header in X11/Xlib.h
32359 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
32360 { echo "$as_me:$LINENO: checking for $ac_header" >&5
32361 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
32362 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
32363 echo $ECHO_N "(cached) $ECHO_C" >&6
32365 cat >conftest.$ac_ext <<_ACEOF
32368 cat confdefs.h >>conftest.$ac_ext
32369 cat >>conftest.$ac_ext <<_ACEOF
32370 /* end confdefs.h. */
32373 #include <$ac_header>
32375 rm -f conftest.$ac_objext
32376 if { (ac_try="$ac_compile"
32377 case "(($ac_try" in
32378 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
32379 *) ac_try_echo
=$ac_try;;
32381 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32382 (eval "$ac_compile") 2>conftest.er1
32384 grep -v '^ *+' conftest.er1
>conftest.err
32386 cat conftest.err
>&5
32387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32388 (exit $ac_status); } && {
32389 test -z "$ac_c_werror_flag" ||
32390 test ! -s conftest.err
32391 } && test -s conftest.
$ac_objext; then
32392 eval "$as_ac_Header=yes"
32394 echo "$as_me: failed program was:" >&5
32395 sed 's/^/| /' conftest.
$ac_ext >&5
32397 eval "$as_ac_Header=no"
32400 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
32402 ac_res
=`eval echo '${'$as_ac_Header'}'`
32403 { echo "$as_me:$LINENO: result: $ac_res" >&5
32404 echo "${ECHO_T}$ac_res" >&6; }
32405 if test `eval echo '${'$as_ac_Header'}'` = yes; then
32406 cat >>confdefs.h
<<_ACEOF
32407 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
32415 for ac_header
in X
11/XKBlib.h
32417 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
32418 { echo "$as_me:$LINENO: checking for $ac_header" >&5
32419 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
32420 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
32421 echo $ECHO_N "(cached) $ECHO_C" >&6
32423 cat >conftest.
$ac_ext <<_ACEOF
32426 cat confdefs.h
>>conftest.
$ac_ext
32427 cat >>conftest.
$ac_ext <<_ACEOF
32428 /* end confdefs.h. */
32430 #if HAVE_X11_XLIB_H
32431 #include <X11/Xlib.h>
32435 #include <$ac_header>
32437 rm -f conftest.
$ac_objext
32438 if { (ac_try
="$ac_compile"
32439 case "(($ac_try" in
32440 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
32441 *) ac_try_echo=$ac_try;;
32443 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32444 (eval "$ac_compile") 2>conftest.er1
32446 grep -v '^ *+' conftest.er1 >conftest.err
32448 cat conftest.err >&5
32449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32450 (exit $ac_status); } && {
32451 test -z "$ac_c_werror_flag" ||
32452 test ! -s conftest.err
32453 } && test -s conftest.$ac_objext; then
32454 eval "$as_ac_Header=yes"
32456 echo "$as_me: failed program was:" >&5
32457 sed 's/^/| /' conftest.$ac_ext >&5
32459 eval "$as_ac_Header=no"
32462 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32464 ac_res=`eval echo '${'$as_ac_Header'}'`
32465 { echo "$as_me:$LINENO: result: $ac_res" >&5
32466 echo "${ECHO_T}$ac_res" >&6; }
32467 if test `eval echo '${'$as_ac_Header'}'` = yes; then
32468 cat >>confdefs.h <<_ACEOF
32469 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
32481 if test "$wxUSE_DISPLAY" = "yes"; then
32482 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1; then
32483 { echo "$as_me:$LINENO: checking for Xinerama" >&5
32484 echo $ECHO_N "checking for Xinerama... $ECHO_C" >&6; }
32487 for ac_dir in $SEARCH_LIB;
32489 for ac_extension in a so sl dylib dll.a; do
32490 if test -f "$ac_dir/libXinerama.$ac_extension"; then
32491 ac_find_libraries=$ac_dir
32497 if test "$ac_find_libraries" != "" ; then
32499 if test "$ac_find_libraries" = "default location"; then
32502 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
32504 if test $result = 0; then
32507 ac_path_to_link=" -L$ac_find_libraries"
32511 if test "$ac_path_to_link" != " -L/usr/lib" ; then
32512 LDFLAGS="$LDFLAGS $ac_path_to_link"
32514 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXinerama"
32515 { echo "$as_me:$LINENO: result: yes" >&5
32516 echo "${ECHO_T}yes" >&6; }
32518 { echo "$as_me:$LINENO: checking for Xxf86vm extension" >&5
32519 echo $ECHO_N "checking for Xxf86vm extension... $ECHO_C" >&6; }
32522 for ac_dir in $SEARCH_LIB;
32524 for ac_extension in a so sl dylib dll.a; do
32525 if test -f "$ac_dir/libXxf86vm.$ac_extension"; then
32526 ac_find_libraries=$ac_dir
32532 if test "$ac_find_libraries" != "" ; then
32533 { echo "$as_me:$LINENO: result: yes" >&5
32534 echo "${ECHO_T}yes" >&6; }
32536 for ac_header in X11/extensions/xf86vmode.h
32538 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
32539 { echo "$as_me:$LINENO: checking for $ac_header" >&5
32540 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
32541 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
32542 echo $ECHO_N "(cached) $ECHO_C" >&6
32544 cat >conftest.$ac_ext <<_ACEOF
32547 cat confdefs.h >>conftest.$ac_ext
32548 cat >>conftest.$ac_ext <<_ACEOF
32549 /* end confdefs.h. */
32551 #if HAVE_X11_XLIB_H
32552 #include <X11/Xlib.h>
32556 #include <$ac_header>
32558 rm -f conftest.$ac_objext
32559 if { (ac_try="$ac_compile"
32560 case "(($ac_try" in
32561 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
32562 *) ac_try_echo
=$ac_try;;
32564 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32565 (eval "$ac_compile") 2>conftest.er1
32567 grep -v '^ *+' conftest.er1
>conftest.err
32569 cat conftest.err
>&5
32570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32571 (exit $ac_status); } && {
32572 test -z "$ac_c_werror_flag" ||
32573 test ! -s conftest.err
32574 } && test -s conftest.
$ac_objext; then
32575 eval "$as_ac_Header=yes"
32577 echo "$as_me: failed program was:" >&5
32578 sed 's/^/| /' conftest.
$ac_ext >&5
32580 eval "$as_ac_Header=no"
32583 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
32585 ac_res
=`eval echo '${'$as_ac_Header'}'`
32586 { echo "$as_me:$LINENO: result: $ac_res" >&5
32587 echo "${ECHO_T}$ac_res" >&6; }
32588 if test `eval echo '${'$as_ac_Header'}'` = yes; then
32589 cat >>confdefs.h
<<_ACEOF
32590 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
32593 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXxf86vm"
32600 { echo "$as_me:$LINENO: result: no" >&5
32601 echo "${ECHO_T}no" >&6; }
32605 { echo "$as_me:$LINENO: result: no" >&5
32606 echo "${ECHO_T}no" >&6; }
32607 { echo "$as_me:$LINENO: WARNING: Xinerama not found; disabling wxDisplay" >&5
32608 echo "$as_me: WARNING: Xinerama not found; disabling wxDisplay" >&2;}
32611 elif test "$wxUSE_MSW" = 1; then
32612 { echo "$as_me:$LINENO: checking for ddraw.h" >&5
32613 echo $ECHO_N "checking for ddraw.h... $ECHO_C" >&6; }
32614 if test "${ac_cv_header_ddraw_h+set}" = set; then
32615 echo $ECHO_N "(cached) $ECHO_C" >&6
32617 cat >conftest.
$ac_ext <<_ACEOF
32620 cat confdefs.h
>>conftest.
$ac_ext
32621 cat >>conftest.
$ac_ext <<_ACEOF
32622 /* end confdefs.h. */
32623 #include <windows.h>
32627 rm -f conftest.
$ac_objext
32628 if { (ac_try
="$ac_compile"
32629 case "(($ac_try" in
32630 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
32631 *) ac_try_echo=$ac_try;;
32633 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32634 (eval "$ac_compile") 2>conftest.er1
32636 grep -v '^ *+' conftest.er1 >conftest.err
32638 cat conftest.err >&5
32639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32640 (exit $ac_status); } && {
32641 test -z "$ac_c_werror_flag" ||
32642 test ! -s conftest.err
32643 } && test -s conftest.$ac_objext; then
32644 ac_cv_header_ddraw_h=yes
32646 echo "$as_me: failed program was:" >&5
32647 sed 's/^/| /' conftest.$ac_ext >&5
32649 ac_cv_header_ddraw_h=no
32652 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32654 { echo "$as_me:$LINENO: result: $ac_cv_header_ddraw_h" >&5
32655 echo "${ECHO_T}$ac_cv_header_ddraw_h" >&6; }
32661 if test "$wxUSE_DETECT_SM" = "yes"; then
32662 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1; then
32663 { echo "$as_me:$LINENO: checking for -lSM - X11 session management" >&5
32664 echo $ECHO_N "checking for -lSM - X11 session management... $ECHO_C" >&6; }
32667 for ac_dir in $SEARCH_LIB;
32669 for ac_extension in a so sl dylib dll.a; do
32670 if test -f "$ac_dir/libSM.$ac_extension"; then
32671 ac_find_libraries=$ac_dir
32677 if test "$ac_find_libraries" != "" ; then
32679 if test "$ac_find_libraries" = "default location"; then
32682 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
32684 if test $result = 0; then
32687 ac_path_to_link=" -L$ac_find_libraries"
32691 if test "$ac_path_to_link" != " -L/usr/lib" ; then
32692 LDFLAGS="$LDFLAGS $ac_path_to_link"
32694 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lSM"
32695 { echo "$as_me:$LINENO: result: yes" >&5
32696 echo "${ECHO_T}yes" >&6; }
32698 { echo "$as_me:$LINENO: result: no" >&5
32699 echo "${ECHO_T}no" >&6; }
32700 { echo "$as_me:$LINENO: WARNING: libSM not found; disabling session management detection" >&5
32701 echo "$as_me: WARNING: libSM not found; disabling session management detection" >&2;}
32702 wxUSE_DETECT_SM="no"
32705 wxUSE_DETECT_SM="no"
32712 if test "$wxUSE_OPENGL" = "yes"; then
32713 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = 1; then
32714 { echo "$as_me:$LINENO: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&5
32715 echo "$as_me: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&2;}
32717 elif test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1; then
32718 OPENGL_LIBS="-framework OpenGL -framework AGL"
32719 elif test "$wxUSE_MSW" = 1; then
32720 OPENGL_LIBS="-lopengl32 -lglu32"
32722 { echo "$as_me:$LINENO: checking for OpenGL headers" >&5
32723 echo $ECHO_N "checking for OpenGL headers... $ECHO_C" >&6; }
32726 for ac_dir in $SEARCH_INCLUDE /opt/graphics/OpenGL/include /usr/include;
32728 if test -f "$ac_dir/GL/gl.h"; then
32729 ac_find_includes=$ac_dir
32734 if test "$ac_find_includes" != "" ; then
32735 { echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
32736 echo "${ECHO_T}found in $ac_find_includes" >&6; }
32738 if test "x$ac_find_includes" = "x/usr/include"; then
32739 ac_path_to_include=""
32741 echo "$CPPFLAGS" | grep "\-I$ac_find_includes" > /dev/null
32743 if test $result = 0; then
32744 ac_path_to_include=""
32746 ac_path_to_include=" -I$ac_find_includes"
32750 CPPFLAGS="$ac_path_to_include $CPPFLAGS"
32752 { echo "$as_me:$LINENO: result: not found" >&5
32753 echo "${ECHO_T}not found" >&6; }
32756 { echo "$as_me:$LINENO: checking for GL/gl.h" >&5
32757 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6; }
32758 if test "${ac_cv_header_GL_gl_h+set}" = set; then
32759 echo $ECHO_N "(cached) $ECHO_C" >&6
32761 cat >conftest.$ac_ext <<_ACEOF
32764 cat confdefs.h >>conftest.$ac_ext
32765 cat >>conftest.$ac_ext <<_ACEOF
32766 /* end confdefs.h. */
32771 rm -f conftest.$ac_objext
32772 if { (ac_try="$ac_compile"
32773 case "(($ac_try" in
32774 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
32775 *) ac_try_echo
=$ac_try;;
32777 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32778 (eval "$ac_compile") 2>conftest.er1
32780 grep -v '^ *+' conftest.er1
>conftest.err
32782 cat conftest.err
>&5
32783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32784 (exit $ac_status); } && {
32785 test -z "$ac_c_werror_flag" ||
32786 test ! -s conftest.err
32787 } && test -s conftest.
$ac_objext; then
32788 ac_cv_header_GL_gl_h
=yes
32790 echo "$as_me: failed program was:" >&5
32791 sed 's/^/| /' conftest.
$ac_ext >&5
32793 ac_cv_header_GL_gl_h
=no
32796 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
32798 { echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
32799 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6; }
32800 if test $ac_cv_header_GL_gl_h = yes; then
32802 { echo "$as_me:$LINENO: checking for GL/glu.h" >&5
32803 echo $ECHO_N "checking for GL/glu.h... $ECHO_C" >&6; }
32804 if test "${ac_cv_header_GL_glu_h+set}" = set; then
32805 echo $ECHO_N "(cached) $ECHO_C" >&6
32807 cat >conftest.
$ac_ext <<_ACEOF
32810 cat confdefs.h
>>conftest.
$ac_ext
32811 cat >>conftest.
$ac_ext <<_ACEOF
32812 /* end confdefs.h. */
32815 #include <GL/glu.h>
32817 rm -f conftest.
$ac_objext
32818 if { (ac_try
="$ac_compile"
32819 case "(($ac_try" in
32820 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
32821 *) ac_try_echo=$ac_try;;
32823 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32824 (eval "$ac_compile") 2>conftest.er1
32826 grep -v '^ *+' conftest.er1 >conftest.err
32828 cat conftest.err >&5
32829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32830 (exit $ac_status); } && {
32831 test -z "$ac_c_werror_flag" ||
32832 test ! -s conftest.err
32833 } && test -s conftest.$ac_objext; then
32834 ac_cv_header_GL_glu_h=yes
32836 echo "$as_me: failed program was:" >&5
32837 sed 's/^/| /' conftest.$ac_ext >&5
32839 ac_cv_header_GL_glu_h=no
32842 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32844 { echo "$as_me:$LINENO: result: $ac_cv_header_GL_glu_h" >&5
32845 echo "${ECHO_T}$ac_cv_header_GL_glu_h" >&6; }
32846 if test $ac_cv_header_GL_glu_h = yes; then
32850 { echo "$as_me:$LINENO: checking for -lGL" >&5
32851 echo $ECHO_N "checking for -lGL... $ECHO_C" >&6; }
32854 for ac_dir in $SEARCH_LIB /opt/graphics/OpenGL/lib;
32856 for ac_extension in a so sl dylib dll.a; do
32857 if test -f "$ac_dir/libGL.$ac_extension"; then
32858 ac_find_libraries=$ac_dir
32864 if test "$ac_find_libraries" != "" ; then
32865 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
32866 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
32869 if test "$ac_find_libraries" = "default location"; then
32872 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
32874 if test $result = 0; then
32877 ac_path_to_link=" -L$ac_find_libraries"
32881 if test "$ac_path_to_link" != " -L/usr/lib" ; then
32882 LDFLAGS_GL="$ac_path_to_link"
32885 { echo "$as_me:$LINENO: checking for -lGLU" >&5
32886 echo $ECHO_N "checking for -lGLU... $ECHO_C" >&6; }
32889 for ac_dir in $SEARCH_LIB;
32891 for ac_extension in a so sl dylib dll.a; do
32892 if test -f "$ac_dir/libGLU.$ac_extension"; then
32893 ac_find_libraries=$ac_dir
32899 if test "$ac_find_libraries" != "" ; then
32901 if test "$ac_find_libraries" = "default location"; then
32904 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
32906 if test $result = 0; then
32909 ac_path_to_link=" -L$ac_find_libraries"
32913 if test "$ac_path_to_link" != " -L/usr/lib" -a \
32914 "$ac_path_to_link" != "$LDFLAGS_GL"; then
32915 LDFLAGS_GL="$LDFLAGS_GL$ac_path_to_link"
32919 OPENGL_LIBS="-lGL -lGLU"
32920 { echo "$as_me:$LINENO: result: yes" >&5
32921 echo "${ECHO_T}yes" >&6; }
32923 { echo "$as_me:$LINENO: result: no" >&5
32924 echo "${ECHO_T}no" >&6; }
32927 { echo "$as_me:$LINENO: result: no" >&5
32928 echo "${ECHO_T}no" >&6; }
32931 if test "$found_gl" != 1; then
32932 { echo "$as_me:$LINENO: checking for -lMesaGL" >&5
32933 echo $ECHO_N "checking for -lMesaGL... $ECHO_C" >&6; }
32936 for ac_dir in $SEARCH_LIB;
32938 for ac_extension in a so sl dylib dll.a; do
32939 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
32940 ac_find_libraries=$ac_dir
32946 if test "$ac_find_libraries" != "" ; then
32948 if test "$ac_find_libraries" = "default location"; then
32951 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
32953 if test $result = 0; then
32956 ac_path_to_link=" -L$ac_find_libraries"
32960 LDFLAGS_GL="$LDFLAGS$ac_path_to_link"
32961 OPENGL_LIBS="-lMesaGL -lMesaGLU"
32962 { echo "$as_me:$LINENO: result: yes" >&5
32963 echo "${ECHO_T}yes" >&6; }
32965 { echo "$as_me:$LINENO: result: no" >&5
32966 echo "${ECHO_T}no" >&6; }
32978 if test "x$OPENGL_LIBS" = "x"; then
32979 { { echo "$as_me:$LINENO: error: OpenGL libraries not available" >&5
32980 echo "$as_me: error: OpenGL libraries not available" >&2;}
32981 { (exit 1); exit 1; }; }
32985 if test "$wxUSE_OPENGL" = "yes"; then
32987 cat >>confdefs.h <<\_ACEOF
32988 #define wxUSE_OPENGL 1
32991 cat >>confdefs.h <<\_ACEOF
32992 #define wxUSE_GLCANVAS 1
32995 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS opengl opengl/cube opengl/penguin opengl/isosurf"
33000 if test -n "$TOOLKIT" ; then
33001 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
33006 if test "$wxUSE_SHARED" = "yes"; then
33010 { echo "$as_me:$LINENO: WARNING: Host system doesn't support shared libraries, disabling" >&5
33011 echo "$as_me: WARNING: Host system doesn't support shared libraries, disabling" >&2;}
33016 if test "$wxUSE_SHARED" = "yes"; then
33020 *-*-cygwin* | *-*-mingw* )
33021 wx_cv_version_script=no
33025 { echo "$as_me:$LINENO: checking if the linker accepts --version-script" >&5
33026 echo $ECHO_N "checking if the linker accepts --version-script... $ECHO_C" >&6; }
33027 if test "${wx_cv_version_script+set}" = set; then
33028 echo $ECHO_N "(cached) $ECHO_C" >&6
33031 echo "VER_1 { *; };" >conftest.sym
33032 echo "int main() { return 0; }" >conftest.cpp
33035 $CXX -o conftest.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
33036 -Wl,--version-script,conftest.sym >/dev/null 2>conftest.stderr'
33037 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33038 (eval $ac_try) 2>&5
33040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33041 (exit $ac_status); }; } ; then
33042 if test -s conftest.stderr ; then
33043 wx_cv_version_script=no
33045 wx_cv_version_script=yes
33048 wx_cv_version_script=no
33051 if test $wx_cv_version_script = yes
33053 echo "struct B { virtual ~B() { } }; \
33054 struct D : public B { }; \
33055 void F() { D d; }" > conftest.cpp
33058 $CXX -shared -fPIC -o conftest1.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
33059 -Wl,--version-script,conftest.sym >/dev/null 2>/dev/null'
33060 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33061 (eval $ac_try) 2>&5
33063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33064 (exit $ac_status); }; } &&
33066 $CXX -shared -fPIC -o conftest2.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
33067 -Wl,--version-script,conftest.sym conftest1.output >/dev/null 2>/dev/null'
33068 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33069 (eval $ac_try) 2>&5
33071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33072 (exit $ac_status); }; }
33075 $CXX -shared -fPIC -o conftest3.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
33076 -Wl,--version-script,conftest.sym conftest2.output conftest1.output >/dev/null 2>/dev/null'
33077 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33078 (eval $ac_try) 2>&5
33080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33081 (exit $ac_status); }; }
33083 wx_cv_version_script=yes
33085 wx_cv_version_script=no
33090 rm -f conftest.output conftest.stderr conftest.sym conftest.cpp
33091 rm -f conftest1.output conftest2.output conftest3.output
33094 { echo "$as_me:$LINENO: result: $wx_cv_version_script" >&5
33095 echo "${ECHO_T}$wx_cv_version_script" >&6; }
33097 if test $wx_cv_version_script = yes ; then
33098 LDFLAGS_VERSIONING="-Wl,--version-script,\$(wx_top_builddir)/version-script"
33104 if test "$wxUSE_VISIBILITY" != "no"; then
33107 if test -n "$GCC"; then
33108 CFLAGS_VISIBILITY="-fvisibility=hidden"
33109 CXXFLAGS_VISIBILITY="-fvisibility=hidden -fvisibility-inlines-hidden"
33110 { echo "$as_me:$LINENO: checking for symbols visibility support" >&5
33111 echo $ECHO_N "checking for symbols visibility support... $ECHO_C" >&6; }
33112 if test "${wx_cv_cc_visibility+set}" = set; then
33113 echo $ECHO_N "(cached) $ECHO_C" >&6
33116 wx_save_CXXFLAGS="$CXXFLAGS"
33117 CXXFLAGS="$CXXFLAGS $CXXFLAGS_VISIBILITY"
33119 ac_cpp='$CXXCPP $CPPFLAGS'
33120 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33121 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33122 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33124 cat >conftest.$ac_ext <<_ACEOF
33127 cat confdefs.h >>conftest.$ac_ext
33128 cat >>conftest.$ac_ext <<_ACEOF
33129 /* end confdefs.h. */
33131 /* we need gcc >= 4.0, older versions with visibility support
33132 didn't have class visibility: */
33133 #if defined(__GNUC__) && __GNUC__ < 4
33134 error this gcc is too old;
33137 /* visibility only makes sense for ELF shared libs: */
33138 #if !defined(__ELF__) && !defined(__APPLE__)
33139 error this platform has no visibility;
33142 extern __attribute__((__visibility__("hidden"))) int hiddenvar;
33143 extern __attribute__((__visibility__("default"))) int exportedvar;
33144 extern __attribute__((__visibility__("hidden"))) int hiddenfunc (void);
33145 extern __attribute__((__visibility__("default"))) int exportedfunc (void);
33146 class __attribute__((__visibility__("default"))) Foo {
33158 rm -f conftest.$ac_objext
33159 if { (ac_try="$ac_compile"
33160 case "(($ac_try" in
33161 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
33162 *) ac_try_echo
=$ac_try;;
33164 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33165 (eval "$ac_compile") 2>conftest.er1
33167 grep -v '^ *+' conftest.er1
>conftest.err
33169 cat conftest.err
>&5
33170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33171 (exit $ac_status); } && {
33172 test -z "$ac_cxx_werror_flag" ||
33173 test ! -s conftest.err
33174 } && test -s conftest.
$ac_objext; then
33175 wx_cv_cc_visibility
=yes
33177 echo "$as_me: failed program was:" >&5
33178 sed 's/^/| /' conftest.
$ac_ext >&5
33180 wx_cv_cc_visibility
=no
33183 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
33185 ac_cpp
='$CPP $CPPFLAGS'
33186 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33187 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33188 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
33190 CXXFLAGS
="$wx_save_CXXFLAGS"
33193 { echo "$as_me:$LINENO: result: $wx_cv_cc_visibility" >&5
33194 echo "${ECHO_T}$wx_cv_cc_visibility" >&6; }
33195 if test $wx_cv_cc_visibility = yes; then
33196 { echo "$as_me:$LINENO: checking for broken libstdc++ visibility" >&5
33197 echo $ECHO_N "checking for broken libstdc++ visibility... $ECHO_C" >&6; }
33198 if test "${wx_cv_cc_broken_libstdcxx_visibility+set}" = set; then
33199 echo $ECHO_N "(cached) $ECHO_C" >&6
33202 wx_save_CXXFLAGS
="$CXXFLAGS"
33203 wx_save_LDFLAGS
="$LDFLAGS"
33204 CXXFLAGS
="$CXXFLAGS $CXXFLAGS_VISIBILITY"
33205 LDFLAGS
="$LDFLAGS -shared -fPIC"
33207 ac_cpp
='$CXXCPP $CPPFLAGS'
33208 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33209 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33210 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
33212 cat >conftest.
$ac_ext <<_ACEOF
33215 cat confdefs.h
>>conftest.
$ac_ext
33216 cat >>conftest.
$ac_ext <<_ACEOF
33217 /* end confdefs.h. */
33225 std::string s("hello");
33232 rm -f conftest.
$ac_objext conftest
$ac_exeext
33233 if { (ac_try
="$ac_link"
33234 case "(($ac_try" in
33235 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
33236 *) ac_try_echo=$ac_try;;
33238 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33239 (eval "$ac_link") 2>conftest.er1
33241 grep -v '^ *+' conftest.er1 >conftest.err
33243 cat conftest.err >&5
33244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33245 (exit $ac_status); } && {
33246 test -z "$ac_cxx_werror_flag" ||
33247 test ! -s conftest.err
33248 } && test -s conftest$ac_exeext &&
33249 $as_test_x conftest$ac_exeext; then
33250 wx_cv_cc_broken_libstdcxx_visibility=no
33252 echo "$as_me: failed program was:" >&5
33253 sed 's/^/| /' conftest.$ac_ext >&5
33255 wx_cv_cc_broken_libstdcxx_visibility=yes
33258 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33259 conftest$ac_exeext conftest.$ac_ext
33261 ac_cpp='$CPP $CPPFLAGS'
33262 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33263 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33264 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33266 CXXFLAGS="$wx_save_CXXFLAGS"
33267 LDFLAGS="$wx_save_LDFLAGS"
33270 { echo "$as_me:$LINENO: result: $wx_cv_cc_broken_libstdcxx_visibility" >&5
33271 echo "${ECHO_T}$wx_cv_cc_broken_libstdcxx_visibility" >&6; }
33273 if test $wx_cv_cc_broken_libstdcxx_visibility = yes; then
33274 { echo "$as_me:$LINENO: checking whether we can work around it" >&5
33275 echo $ECHO_N "checking whether we can work around it... $ECHO_C" >&6; }
33276 if test "${wx_cv_cc_visibility_workaround+set}" = set; then
33277 echo $ECHO_N "(cached) $ECHO_C" >&6
33281 ac_cpp='$CXXCPP $CPPFLAGS'
33282 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33283 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33284 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33286 cat >conftest.$ac_ext <<_ACEOF
33289 cat confdefs.h >>conftest.$ac_ext
33290 cat >>conftest.$ac_ext <<_ACEOF
33291 /* end confdefs.h. */
33293 #pragma GCC visibility push(default)
33295 #pragma GCC visibility pop
33301 std::string s("hello");
33308 rm -f conftest.$ac_objext conftest$ac_exeext
33309 if { (ac_try="$ac_link"
33310 case "(($ac_try" in
33311 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
33312 *) ac_try_echo
=$ac_try;;
33314 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33315 (eval "$ac_link") 2>conftest.er1
33317 grep -v '^ *+' conftest.er1
>conftest.err
33319 cat conftest.err
>&5
33320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33321 (exit $ac_status); } && {
33322 test -z "$ac_cxx_werror_flag" ||
33323 test ! -s conftest.err
33324 } && test -s conftest
$ac_exeext &&
33325 $as_test_x conftest
$ac_exeext; then
33326 wx_cv_cc_visibility_workaround
=no
33328 echo "$as_me: failed program was:" >&5
33329 sed 's/^/| /' conftest.
$ac_ext >&5
33331 wx_cv_cc_visibility_workaround
=yes
33334 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
33335 conftest
$ac_exeext conftest.
$ac_ext
33337 ac_cpp
='$CPP $CPPFLAGS'
33338 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33339 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33340 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
33345 { echo "$as_me:$LINENO: result: $wx_cv_cc_visibility_workaround" >&5
33346 echo "${ECHO_T}$wx_cv_cc_visibility_workaround" >&6; }
33348 if test $wx_cv_cc_visibility_workaround = no
; then
33349 wx_cv_cc_visibility
=no
33354 if test $wx_cv_cc_visibility = yes; then
33355 cat >>confdefs.h
<<\_ACEOF
33356 #define HAVE_VISIBILITY 1
33359 if test $wx_cv_cc_broken_libstdcxx_visibility = yes; then
33360 cat >>confdefs.h
<<\_ACEOF
33361 #define HAVE_BROKEN_LIBSTDCXX_VISIBILITY 1
33366 CFLAGS_VISIBILITY
=""
33367 CXXFLAGS_VISIBILITY
=""
33375 if test "x$SUNCXX" = xyes
; then
33376 SAMPLES_RPATH_FLAG
="-R\$(wx_top_builddir)/lib"
33377 WXCONFIG_RPATH
="-R\$libdir"
33380 *-*-linux* | *-*-gnu* )
33381 SAMPLES_RPATH_FLAG
="-Wl,-rpath,\$(wx_top_builddir)/lib"
33382 WXCONFIG_RPATH
="-Wl,-rpath,\$libdir"
33387 CPPFLAGS
="-isystem /usr/openwin/include $CPPFLAGS"
33389 saveLdflags
="$LDFLAGS"
33390 LDFLAGS
="$saveLdflags -Wl,-rpath,/"
33391 { echo "$as_me:$LINENO: checking if the linker accepts -rpath" >&5
33392 echo $ECHO_N "checking if the linker accepts -rpath... $ECHO_C" >&6; }
33393 cat >conftest.
$ac_ext <<_ACEOF
33396 cat confdefs.h
>>conftest.
$ac_ext
33397 cat >>conftest.
$ac_ext <<_ACEOF
33398 /* end confdefs.h. */
33408 rm -f conftest.
$ac_objext conftest
$ac_exeext
33409 if { (ac_try
="$ac_link"
33410 case "(($ac_try" in
33411 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
33412 *) ac_try_echo=$ac_try;;
33414 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33415 (eval "$ac_link") 2>conftest.er1
33417 grep -v '^ *+' conftest.er1 >conftest.err
33419 cat conftest.err >&5
33420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33421 (exit $ac_status); } && {
33422 test -z "$ac_c_werror_flag" ||
33423 test ! -s conftest.err
33424 } && test -s conftest$ac_exeext &&
33425 $as_test_x conftest$ac_exeext; then
33427 { echo "$as_me:$LINENO: result: yes" >&5
33428 echo "${ECHO_T}yes" >&6; }
33429 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(wx_top_builddir)/lib"
33430 WXCONFIG_RPATH="-Wl,-rpath,\$libdir"
33433 echo "$as_me: failed program was:" >&5
33434 sed 's/^/| /' conftest.$ac_ext >&5
33437 { echo "$as_me:$LINENO: result: no" >&5
33438 echo "${ECHO_T}no" >&6; }
33439 { echo "$as_me:$LINENO: checking if the linker accepts -R" >&5
33440 echo $ECHO_N "checking if the linker accepts -R... $ECHO_C" >&6; }
33441 LDFLAGS="$saveLdflags -Wl,-R,/"
33442 cat >conftest.$ac_ext <<_ACEOF
33445 cat confdefs.h >>conftest.$ac_ext
33446 cat >>conftest.$ac_ext <<_ACEOF
33447 /* end confdefs.h. */
33457 rm -f conftest.$ac_objext conftest$ac_exeext
33458 if { (ac_try="$ac_link"
33459 case "(($ac_try" in
33460 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
33461 *) ac_try_echo
=$ac_try;;
33463 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33464 (eval "$ac_link") 2>conftest.er1
33466 grep -v '^ *+' conftest.er1
>conftest.err
33468 cat conftest.err
>&5
33469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33470 (exit $ac_status); } && {
33471 test -z "$ac_c_werror_flag" ||
33472 test ! -s conftest.err
33473 } && test -s conftest
$ac_exeext &&
33474 $as_test_x conftest
$ac_exeext; then
33476 { echo "$as_me:$LINENO: result: yes" >&5
33477 echo "${ECHO_T}yes" >&6; }
33478 SAMPLES_RPATH_FLAG
="-Wl,-R,\$(wx_top_builddir)/lib"
33479 WXCONFIG_RPATH
="-Wl,-R,\$libdir"
33482 echo "$as_me: failed program was:" >&5
33483 sed 's/^/| /' conftest.
$ac_ext >&5
33486 { echo "$as_me:$LINENO: result: no" >&5
33487 echo "${ECHO_T}no" >&6; }
33491 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
33492 conftest
$ac_exeext conftest.
$ac_ext
33496 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
33497 conftest
$ac_exeext conftest.
$ac_ext
33498 LDFLAGS
="$saveLdflags"
33502 install_name_tool
=`which install_name_tool`
33503 if test "$install_name_tool" -a -x "$install_name_tool"; then
33504 SAMPLES_RPATH_POSTLINK
="\$(wx_top_builddir)/change-install-names \$(LIBDIRNAME) \$(prefix) \$@"
33505 cat <<EOF >change-install-names
33507 libnames=\`cd \${1} ; ls -1 | grep '\.[0-9][0-9]*\.dylib\$'\`
33508 inst_cmd="install_name_tool "
33509 for i in \${libnames} ; do
33510 inst_cmd="\${inst_cmd} -change \${2}/lib/\${i} \${1}/\${i}"
33514 chmod +x change
-install-names
33518 *-*-cygwin* | *-*-mingw32* )
33522 SAMPLES_RPATH_FLAG
="-Wl,+b,\$(wx_top_builddir)/lib"
33523 WXCONFIG_RPATH
="-Wl,+b,\$libdir"
33529 WXCONFIG_ONLY_CPPFLAGS
="$WXCONFIG_ONLY_CPPFLAGS -DWXUSINGDLL"
33531 if test $wxUSE_RPATH = "no"; then
33532 SAMPLES_RPATH_FLAG
=''
33533 SAMPLES_RPATH_POSTLINK
=''
33541 config_linkage_component
="-static"
33548 lib_unicode_suffix
=
33550 if test "$wxUSE_UNICODE" = "yes"; then
33551 lib_unicode_suffix
=u
33552 WX_CHARTYPE
="unicode"
33557 WX_DEBUGTYPE
="release"
33559 if test "$wxUSE_DEBUG_FLAG" = "yes"; then
33561 WX_DEBUGTYPE
="debug"
33565 WX_FLAVOUR
=${WX_FLAVOUR:+-$WX_FLAVOUR}
33566 WX_LIB_FLAVOUR
=`echo $WX_FLAVOUR | tr '-' '_'`
33569 if test "$wxUSE_DEBUG_INFO" = "yes"; then
33573 WX_VERSION_TAG
=`echo WX${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}_${WX_RELEASE} | tr '[a-z]' '[A-Z]'`
33575 TOOLCHAIN_NAME
="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}"
33577 TOOLCHAIN_FULLNAME
="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}-${WX_CHARTYPE}-${WX_DEBUGTYPE}${config_linkage_component}-${WX_RELEASE}${WX_FLAVOUR}"
33579 if test "$cross_compiling" = "yes"; then
33580 HOST_SUFFIX
="-$host_alias"
33581 TOOLCHAIN_NAME
="$TOOLCHAIN_NAME$HOST_SUFFIX"
33582 TOOLCHAIN_FULLNAME
="${host_alias}-$TOOLCHAIN_FULLNAME"
33585 WX_LIBRARY_BASENAME_NOGUI
="wx_base${WXBASEPORT}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
33586 if test "${TOOLKIT_DIR}" = "os2"; then
33587 WX_LIBRARY_BASENAME_GUI
="wx_pm${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
33589 WX_LIBRARY_BASENAME_GUI
="wx_${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
33594 if test "$wxUSE_COCOA" = 1; then
33597 ac_cpp
='$CPP $CPPFLAGS'
33598 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33599 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33600 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
33604 { echo "$as_me:$LINENO: checking if AppKit/NSEvent.h conflicts with CoreFoundation" >&5
33605 echo $ECHO_N "checking if AppKit/NSEvent.h conflicts with CoreFoundation... $ECHO_C" >&6; }
33606 cat >conftest.
$ac_ext <<_ACEOF
33609 cat confdefs.h
>>conftest.
$ac_ext
33610 cat >>conftest.
$ac_ext <<_ACEOF
33611 /* end confdefs.h. */
33612 #include <AppKit/NSEvent.h>
33613 #include <CoreFoundation/CoreFoundation.h>
33623 rm -f conftest.
$ac_objext
33624 if { (ac_try
="$ac_compile"
33625 case "(($ac_try" in
33626 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
33627 *) ac_try_echo=$ac_try;;
33629 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33630 (eval "$ac_compile") 2>conftest.er1
33632 grep -v '^ *+' conftest.er1 >conftest.err
33634 cat conftest.err >&5
33635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33636 (exit $ac_status); } && {
33637 test -z "$ac_c_werror_flag" ||
33638 test ! -s conftest.err
33639 } && test -s conftest.$ac_objext; then
33640 { echo "$as_me:$LINENO: result: no" >&5
33641 echo "${ECHO_T}no" >&6; }
33643 echo "$as_me: failed program was:" >&5
33644 sed 's/^/| /' conftest.$ac_ext >&5
33646 { echo "$as_me:$LINENO: result: yes" >&5
33647 echo "${ECHO_T}yes" >&6; }
33648 { echo "$as_me:$LINENO: checking if defining __Point__ will fix it" >&5
33649 echo $ECHO_N "checking if defining __Point__ will fix it... $ECHO_C" >&6; }
33650 cat >conftest.$ac_ext <<_ACEOF
33653 cat confdefs.h >>conftest.$ac_ext
33654 cat >>conftest.$ac_ext <<_ACEOF
33655 /* end confdefs.h. */
33656 #define __Point__ 1
33657 #include <AppKit/NSEvent.h>
33658 #include <CoreFoundation/CoreFoundation.h>
33668 rm -f conftest.$ac_objext
33669 if { (ac_try="$ac_compile"
33670 case "(($ac_try" in
33671 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
33672 *) ac_try_echo
=$ac_try;;
33674 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33675 (eval "$ac_compile") 2>conftest.er1
33677 grep -v '^ *+' conftest.er1
>conftest.err
33679 cat conftest.err
>&5
33680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33681 (exit $ac_status); } && {
33682 test -z "$ac_c_werror_flag" ||
33683 test ! -s conftest.err
33684 } && test -s conftest.
$ac_objext; then
33685 { echo "$as_me:$LINENO: result: yes" >&5
33686 echo "${ECHO_T}yes" >&6; }
33687 cat >>confdefs.h
<<\_ACEOF
33688 #define __Point__ 1
33693 echo "$as_me: failed program was:" >&5
33694 sed 's/^/| /' conftest.
$ac_ext >&5
33696 { { echo "$as_me:$LINENO: error: no
33697 See \`config.log' for more details." >&5
33698 echo "$as_me: error: no
33699 See \`config.log' for more details." >&2;}
33700 { (exit 1); exit 1; }; }
33704 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
33708 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
33710 ac_cpp
='$CPP $CPPFLAGS'
33711 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33712 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33713 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
33718 { echo "$as_me:$LINENO: checking for mode_t" >&5
33719 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6; }
33720 if test "${ac_cv_type_mode_t+set}" = set; then
33721 echo $ECHO_N "(cached) $ECHO_C" >&6
33723 cat >conftest.
$ac_ext <<_ACEOF
33726 cat confdefs.h
>>conftest.
$ac_ext
33727 cat >>conftest.
$ac_ext <<_ACEOF
33728 /* end confdefs.h. */
33729 $ac_includes_default
33730 typedef mode_t ac__type_new_;
33734 if ((ac__type_new_ *) 0)
33736 if (sizeof (ac__type_new_))
33742 rm -f conftest.
$ac_objext
33743 if { (ac_try
="$ac_compile"
33744 case "(($ac_try" in
33745 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
33746 *) ac_try_echo=$ac_try;;
33748 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33749 (eval "$ac_compile") 2>conftest.er1
33751 grep -v '^ *+' conftest.er1 >conftest.err
33753 cat conftest.err >&5
33754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33755 (exit $ac_status); } && {
33756 test -z "$ac_c_werror_flag" ||
33757 test ! -s conftest.err
33758 } && test -s conftest.$ac_objext; then
33759 ac_cv_type_mode_t=yes
33761 echo "$as_me: failed program was:" >&5
33762 sed 's/^/| /' conftest.$ac_ext >&5
33764 ac_cv_type_mode_t=no
33767 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33769 { echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
33770 echo "${ECHO_T}$ac_cv_type_mode_t" >&6; }
33771 if test $ac_cv_type_mode_t = yes; then
33775 cat >>confdefs.h <<_ACEOF
33781 { echo "$as_me:$LINENO: checking for off_t" >&5
33782 echo $ECHO_N "checking for off_t... $ECHO_C" >&6; }
33783 if test "${ac_cv_type_off_t+set}" = set; then
33784 echo $ECHO_N "(cached) $ECHO_C" >&6
33786 cat >conftest.$ac_ext <<_ACEOF
33789 cat confdefs.h >>conftest.$ac_ext
33790 cat >>conftest.$ac_ext <<_ACEOF
33791 /* end confdefs.h. */
33792 $ac_includes_default
33793 typedef off_t ac__type_new_;
33797 if ((ac__type_new_ *) 0)
33799 if (sizeof (ac__type_new_))
33805 rm -f conftest.$ac_objext
33806 if { (ac_try="$ac_compile"
33807 case "(($ac_try" in
33808 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
33809 *) ac_try_echo
=$ac_try;;
33811 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33812 (eval "$ac_compile") 2>conftest.er1
33814 grep -v '^ *+' conftest.er1
>conftest.err
33816 cat conftest.err
>&5
33817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33818 (exit $ac_status); } && {
33819 test -z "$ac_c_werror_flag" ||
33820 test ! -s conftest.err
33821 } && test -s conftest.
$ac_objext; then
33822 ac_cv_type_off_t
=yes
33824 echo "$as_me: failed program was:" >&5
33825 sed 's/^/| /' conftest.
$ac_ext >&5
33827 ac_cv_type_off_t
=no
33830 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
33832 { echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
33833 echo "${ECHO_T}$ac_cv_type_off_t" >&6; }
33834 if test $ac_cv_type_off_t = yes; then
33838 cat >>confdefs.h
<<_ACEOF
33839 #define off_t long int
33844 { echo "$as_me:$LINENO: checking for pid_t" >&5
33845 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6; }
33846 if test "${ac_cv_type_pid_t+set}" = set; then
33847 echo $ECHO_N "(cached) $ECHO_C" >&6
33849 cat >conftest.
$ac_ext <<_ACEOF
33852 cat confdefs.h
>>conftest.
$ac_ext
33853 cat >>conftest.
$ac_ext <<_ACEOF
33854 /* end confdefs.h. */
33855 $ac_includes_default
33856 typedef pid_t ac__type_new_;
33860 if ((ac__type_new_ *) 0)
33862 if (sizeof (ac__type_new_))
33868 rm -f conftest.
$ac_objext
33869 if { (ac_try
="$ac_compile"
33870 case "(($ac_try" in
33871 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
33872 *) ac_try_echo=$ac_try;;
33874 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33875 (eval "$ac_compile") 2>conftest.er1
33877 grep -v '^ *+' conftest.er1 >conftest.err
33879 cat conftest.err >&5
33880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33881 (exit $ac_status); } && {
33882 test -z "$ac_c_werror_flag" ||
33883 test ! -s conftest.err
33884 } && test -s conftest.$ac_objext; then
33885 ac_cv_type_pid_t=yes
33887 echo "$as_me: failed program was:" >&5
33888 sed 's/^/| /' conftest.$ac_ext >&5
33890 ac_cv_type_pid_t=no
33893 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33895 { echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
33896 echo "${ECHO_T}$ac_cv_type_pid_t" >&6; }
33897 if test $ac_cv_type_pid_t = yes; then
33901 cat >>confdefs.h <<_ACEOF
33907 { echo "$as_me:$LINENO: checking for size_t" >&5
33908 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
33909 if test "${ac_cv_type_size_t+set}" = set; then
33910 echo $ECHO_N "(cached) $ECHO_C" >&6
33912 cat >conftest.$ac_ext <<_ACEOF
33915 cat confdefs.h >>conftest.$ac_ext
33916 cat >>conftest.$ac_ext <<_ACEOF
33917 /* end confdefs.h. */
33918 $ac_includes_default
33919 typedef size_t ac__type_new_;
33923 if ((ac__type_new_ *) 0)
33925 if (sizeof (ac__type_new_))
33931 rm -f conftest.$ac_objext
33932 if { (ac_try="$ac_compile"
33933 case "(($ac_try" in
33934 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
33935 *) ac_try_echo
=$ac_try;;
33937 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33938 (eval "$ac_compile") 2>conftest.er1
33940 grep -v '^ *+' conftest.er1
>conftest.err
33942 cat conftest.err
>&5
33943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33944 (exit $ac_status); } && {
33945 test -z "$ac_c_werror_flag" ||
33946 test ! -s conftest.err
33947 } && test -s conftest.
$ac_objext; then
33948 ac_cv_type_size_t
=yes
33950 echo "$as_me: failed program was:" >&5
33951 sed 's/^/| /' conftest.
$ac_ext >&5
33953 ac_cv_type_size_t
=no
33956 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
33958 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
33959 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
33960 if test $ac_cv_type_size_t = yes; then
33964 cat >>confdefs.h
<<_ACEOF
33965 #define size_t unsigned int
33971 { echo "$as_me:$LINENO: checking for ssize_t" >&5
33972 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6; }
33973 if test "${ac_cv_type_ssize_t+set}" = set; then
33974 echo $ECHO_N "(cached) $ECHO_C" >&6
33976 cat >conftest.
$ac_ext <<_ACEOF
33979 cat confdefs.h
>>conftest.
$ac_ext
33980 cat >>conftest.
$ac_ext <<_ACEOF
33981 /* end confdefs.h. */
33982 $ac_includes_default
33983 typedef ssize_t ac__type_new_;
33987 if ((ac__type_new_ *) 0)
33989 if (sizeof (ac__type_new_))
33995 rm -f conftest.
$ac_objext
33996 if { (ac_try
="$ac_compile"
33997 case "(($ac_try" in
33998 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
33999 *) ac_try_echo=$ac_try;;
34001 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34002 (eval "$ac_compile") 2>conftest.er1
34004 grep -v '^ *+' conftest.er1 >conftest.err
34006 cat conftest.err >&5
34007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34008 (exit $ac_status); } && {
34009 test -z "$ac_c_werror_flag" ||
34010 test ! -s conftest.err
34011 } && test -s conftest.$ac_objext; then
34012 ac_cv_type_ssize_t=yes
34014 echo "$as_me: failed program was:" >&5
34015 sed 's/^/| /' conftest.$ac_ext >&5
34017 ac_cv_type_ssize_t=no
34020 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34022 { echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
34023 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6; }
34024 if test $ac_cv_type_ssize_t = yes; then
34026 cat >>confdefs.h <<_ACEOF
34027 #define HAVE_SSIZE_T 1
34035 ac_cpp='$CXXCPP $CPPFLAGS'
34036 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34037 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34038 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34039 { echo "$as_me:$LINENO: checking if size_t is unsigned int" >&5
34040 echo $ECHO_N "checking if size_t is unsigned int... $ECHO_C" >&6; }
34041 if test "${wx_cv_size_t_is_uint+set}" = set; then
34042 echo $ECHO_N "(cached) $ECHO_C" >&6
34045 cat >conftest.$ac_ext <<_ACEOF
34048 cat confdefs.h >>conftest.$ac_ext
34049 cat >>conftest.$ac_ext <<_ACEOF
34050 /* end confdefs.h. */
34051 #include <stddef.h>
34058 struct Foo { void foo(size_t); void foo(unsigned int); };
34066 rm -f conftest.$ac_objext
34067 if { (ac_try="$ac_compile"
34068 case "(($ac_try" in
34069 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
34070 *) ac_try_echo
=$ac_try;;
34072 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34073 (eval "$ac_compile") 2>conftest.er1
34075 grep -v '^ *+' conftest.er1
>conftest.err
34077 cat conftest.err
>&5
34078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34079 (exit $ac_status); } && {
34080 test -z "$ac_cxx_werror_flag" ||
34081 test ! -s conftest.err
34082 } && test -s conftest.
$ac_objext; then
34083 wx_cv_size_t_is_uint
=no
34085 echo "$as_me: failed program was:" >&5
34086 sed 's/^/| /' conftest.
$ac_ext >&5
34088 wx_cv_size_t_is_uint
=yes
34092 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
34096 { echo "$as_me:$LINENO: result: $wx_cv_size_t_is_uint" >&5
34097 echo "${ECHO_T}$wx_cv_size_t_is_uint" >&6; }
34099 if test "$wx_cv_size_t_is_uint" = "yes"; then
34100 cat >>confdefs.h
<<\_ACEOF
34101 #define wxSIZE_T_IS_UINT 1
34105 { echo "$as_me:$LINENO: checking if size_t is unsigned long" >&5
34106 echo $ECHO_N "checking if size_t is unsigned long... $ECHO_C" >&6; }
34107 if test "${wx_cv_size_t_is_ulong+set}" = set; then
34108 echo $ECHO_N "(cached) $ECHO_C" >&6
34110 cat >conftest.
$ac_ext <<_ACEOF
34113 cat confdefs.h
>>conftest.
$ac_ext
34114 cat >>conftest.
$ac_ext <<_ACEOF
34115 /* end confdefs.h. */
34116 #include <stddef.h>
34123 struct Foo { void foo(size_t); void foo(unsigned long); };
34131 rm -f conftest.
$ac_objext
34132 if { (ac_try
="$ac_compile"
34133 case "(($ac_try" in
34134 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
34135 *) ac_try_echo=$ac_try;;
34137 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34138 (eval "$ac_compile") 2>conftest.er1
34140 grep -v '^ *+' conftest.er1 >conftest.err
34142 cat conftest.err >&5
34143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34144 (exit $ac_status); } && {
34145 test -z "$ac_cxx_werror_flag" ||
34146 test ! -s conftest.err
34147 } && test -s conftest.$ac_objext; then
34148 wx_cv_size_t_is_ulong=no
34150 echo "$as_me: failed program was:" >&5
34151 sed 's/^/| /' conftest.$ac_ext >&5
34153 wx_cv_size_t_is_ulong=yes
34157 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34160 { echo "$as_me:$LINENO: result: $wx_cv_size_t_is_ulong" >&5
34161 echo "${ECHO_T}$wx_cv_size_t_is_ulong" >&6; }
34163 if test "$wx_cv_size_t_is_ulong" = "yes"; then
34164 cat >>confdefs.h <<\_ACEOF
34165 #define wxSIZE_T_IS_ULONG 1
34171 { echo "$as_me:$LINENO: checking if wchar_t is separate type" >&5
34172 echo $ECHO_N "checking if wchar_t is separate type... $ECHO_C" >&6; }
34173 if test "${wx_cv_wchar_t_is_separate_type+set}" = set; then
34174 echo $ECHO_N "(cached) $ECHO_C" >&6
34176 cat >conftest.$ac_ext <<_ACEOF
34179 cat confdefs.h >>conftest.$ac_ext
34180 cat >>conftest.$ac_ext <<_ACEOF
34181 /* end confdefs.h. */
34189 struct Foo { void foo(wchar_t);
34190 void foo(unsigned short);
34191 void foo(unsigned int);
34192 void foo(unsigned long); };
34200 rm -f conftest.$ac_objext
34201 if { (ac_try="$ac_compile"
34202 case "(($ac_try" in
34203 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
34204 *) ac_try_echo
=$ac_try;;
34206 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34207 (eval "$ac_compile") 2>conftest.er1
34209 grep -v '^ *+' conftest.er1
>conftest.err
34211 cat conftest.err
>&5
34212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34213 (exit $ac_status); } && {
34214 test -z "$ac_cxx_werror_flag" ||
34215 test ! -s conftest.err
34216 } && test -s conftest.
$ac_objext; then
34217 wx_cv_wchar_t_is_separate_type
=yes
34219 echo "$as_me: failed program was:" >&5
34220 sed 's/^/| /' conftest.
$ac_ext >&5
34222 wx_cv_wchar_t_is_separate_type
=no
34226 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
34229 { echo "$as_me:$LINENO: result: $wx_cv_wchar_t_is_separate_type" >&5
34230 echo "${ECHO_T}$wx_cv_wchar_t_is_separate_type" >&6; }
34232 if test "$wx_cv_wchar_t_is_separate_type" = "yes"; then
34233 cat >>confdefs.h
<<\_ACEOF
34234 #define wxWCHAR_T_IS_REAL_TYPE 1
34238 cat >>confdefs.h
<<\_ACEOF
34239 #define wxWCHAR_T_IS_REAL_TYPE 0
34245 ac_cpp
='$CPP $CPPFLAGS'
34246 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34247 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34248 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
34251 { echo "$as_me:$LINENO: checking for pw_gecos in struct passwd" >&5
34252 echo $ECHO_N "checking for pw_gecos in struct passwd... $ECHO_C" >&6; }
34253 if test "${wx_cv_struct_pw_gecos+set}" = set; then
34254 echo $ECHO_N "(cached) $ECHO_C" >&6
34257 cat >conftest.
$ac_ext <<_ACEOF
34260 cat confdefs.h
>>conftest.
$ac_ext
34261 cat >>conftest.
$ac_ext <<_ACEOF
34262 /* end confdefs.h. */
34276 rm -f conftest.
$ac_objext
34277 if { (ac_try
="$ac_compile"
34278 case "(($ac_try" in
34279 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
34280 *) ac_try_echo=$ac_try;;
34282 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34283 (eval "$ac_compile") 2>conftest.er1
34285 grep -v '^ *+' conftest.er1 >conftest.err
34287 cat conftest.err >&5
34288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34289 (exit $ac_status); } && {
34290 test -z "$ac_c_werror_flag" ||
34291 test ! -s conftest.err
34292 } && test -s conftest.$ac_objext; then
34294 wx_cv_struct_pw_gecos=yes
34297 echo "$as_me: failed program was:" >&5
34298 sed 's/^/| /' conftest.$ac_ext >&5
34301 wx_cv_struct_pw_gecos=no
34306 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34310 { echo "$as_me:$LINENO: result: $wx_cv_struct_pw_gecos" >&5
34311 echo "${ECHO_T}$wx_cv_struct_pw_gecos" >&6; }
34313 if test "$wx_cv_struct_pw_gecos" = "yes"; then
34314 cat >>confdefs.h <<\_ACEOF
34315 #define HAVE_PW_GECOS 1
34321 if test "$wxUSE_WCHAR_T" = "yes"; then
34322 cat >>confdefs.h <<\_ACEOF
34323 #define wxUSE_WCHAR_T 1
34330 for ac_func in wcslen
34332 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34333 { echo "$as_me:$LINENO: checking for $ac_func" >&5
34334 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
34335 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
34336 echo $ECHO_N "(cached) $ECHO_C" >&6
34338 cat >conftest.$ac_ext <<_ACEOF
34341 cat confdefs.h >>conftest.$ac_ext
34342 cat >>conftest.$ac_ext <<_ACEOF
34343 /* end confdefs.h. */
34344 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34345 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34346 #define $ac_func innocuous_$ac_func
34348 /* System header to define __stub macros and hopefully few prototypes,
34349 which can conflict with char $ac_func (); below.
34350 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34351 <limits.h> exists even on freestanding compilers. */
34354 # include <limits.h>
34356 # include <assert.h>
34361 /* Override any GCC internal prototype to avoid an error.
34362 Use char because int might match the return type of a GCC
34363 builtin and then its argument prototype would still apply. */
34368 /* The GNU C library defines this for functions which it implements
34369 to always fail with ENOSYS. Some functions are actually named
34370 something starting with __ and the normal name is an alias. */
34371 #if defined __stub_$ac_func || defined __stub___$ac_func
34378 return $ac_func ();
34383 rm -f conftest.$ac_objext conftest$ac_exeext
34384 if { (ac_try="$ac_link"
34385 case "(($ac_try" in
34386 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
34387 *) ac_try_echo
=$ac_try;;
34389 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34390 (eval "$ac_link") 2>conftest.er1
34392 grep -v '^ *+' conftest.er1
>conftest.err
34394 cat conftest.err
>&5
34395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34396 (exit $ac_status); } && {
34397 test -z "$ac_c_werror_flag" ||
34398 test ! -s conftest.err
34399 } && test -s conftest
$ac_exeext &&
34400 $as_test_x conftest
$ac_exeext; then
34401 eval "$as_ac_var=yes"
34403 echo "$as_me: failed program was:" >&5
34404 sed 's/^/| /' conftest.
$ac_ext >&5
34406 eval "$as_ac_var=no"
34409 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
34410 conftest
$ac_exeext conftest.
$ac_ext
34412 ac_res
=`eval echo '${'$as_ac_var'}'`
34413 { echo "$as_me:$LINENO: result: $ac_res" >&5
34414 echo "${ECHO_T}$ac_res" >&6; }
34415 if test `eval echo '${'$as_ac_var'}'` = yes; then
34416 cat >>confdefs.h
<<_ACEOF
34417 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34424 if test "$WCSLEN_FOUND" = 0; then
34425 if test "$TOOLKIT" = "MSW"; then
34426 { echo "$as_me:$LINENO: checking for wcslen in -lmsvcrt" >&5
34427 echo $ECHO_N "checking for wcslen in -lmsvcrt... $ECHO_C" >&6; }
34428 if test "${ac_cv_lib_msvcrt_wcslen+set}" = set; then
34429 echo $ECHO_N "(cached) $ECHO_C" >&6
34431 ac_check_lib_save_LIBS
=$LIBS
34432 LIBS
="-lmsvcrt $LIBS"
34433 cat >conftest.
$ac_ext <<_ACEOF
34436 cat confdefs.h
>>conftest.
$ac_ext
34437 cat >>conftest.
$ac_ext <<_ACEOF
34438 /* end confdefs.h. */
34440 /* Override any GCC internal prototype to avoid an error.
34441 Use char because int might match the return type of a GCC
34442 builtin and then its argument prototype would still apply. */
34455 rm -f conftest.
$ac_objext conftest
$ac_exeext
34456 if { (ac_try
="$ac_link"
34457 case "(($ac_try" in
34458 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
34459 *) ac_try_echo=$ac_try;;
34461 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34462 (eval "$ac_link") 2>conftest.er1
34464 grep -v '^ *+' conftest.er1 >conftest.err
34466 cat conftest.err >&5
34467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34468 (exit $ac_status); } && {
34469 test -z "$ac_c_werror_flag" ||
34470 test ! -s conftest.err
34471 } && test -s conftest$ac_exeext &&
34472 $as_test_x conftest$ac_exeext; then
34473 ac_cv_lib_msvcrt_wcslen=yes
34475 echo "$as_me: failed program was:" >&5
34476 sed 's/^/| /' conftest.$ac_ext >&5
34478 ac_cv_lib_msvcrt_wcslen=no
34481 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34482 conftest$ac_exeext conftest.$ac_ext
34483 LIBS=$ac_check_lib_save_LIBS
34485 { echo "$as_me:$LINENO: result: $ac_cv_lib_msvcrt_wcslen" >&5
34486 echo "${ECHO_T}$ac_cv_lib_msvcrt_wcslen" >&6; }
34487 if test $ac_cv_lib_msvcrt_wcslen = yes; then
34492 { echo "$as_me:$LINENO: checking for wcslen in -lw" >&5
34493 echo $ECHO_N "checking for wcslen in -lw... $ECHO_C" >&6; }
34494 if test "${ac_cv_lib_w_wcslen+set}" = set; then
34495 echo $ECHO_N "(cached) $ECHO_C" >&6
34497 ac_check_lib_save_LIBS=$LIBS
34499 cat >conftest.$ac_ext <<_ACEOF
34502 cat confdefs.h >>conftest.$ac_ext
34503 cat >>conftest.$ac_ext <<_ACEOF
34504 /* end confdefs.h. */
34506 /* Override any GCC internal prototype to avoid an error.
34507 Use char because int might match the return type of a GCC
34508 builtin and then its argument prototype would still apply. */
34521 rm -f conftest.$ac_objext conftest$ac_exeext
34522 if { (ac_try="$ac_link"
34523 case "(($ac_try" in
34524 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
34525 *) ac_try_echo
=$ac_try;;
34527 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34528 (eval "$ac_link") 2>conftest.er1
34530 grep -v '^ *+' conftest.er1
>conftest.err
34532 cat conftest.err
>&5
34533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34534 (exit $ac_status); } && {
34535 test -z "$ac_c_werror_flag" ||
34536 test ! -s conftest.err
34537 } && test -s conftest
$ac_exeext &&
34538 $as_test_x conftest
$ac_exeext; then
34539 ac_cv_lib_w_wcslen
=yes
34541 echo "$as_me: failed program was:" >&5
34542 sed 's/^/| /' conftest.
$ac_ext >&5
34544 ac_cv_lib_w_wcslen
=no
34547 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
34548 conftest
$ac_exeext conftest.
$ac_ext
34549 LIBS
=$ac_check_lib_save_LIBS
34551 { echo "$as_me:$LINENO: result: $ac_cv_lib_w_wcslen" >&5
34552 echo "${ECHO_T}$ac_cv_lib_w_wcslen" >&6; }
34553 if test $ac_cv_lib_w_wcslen = yes; then
34563 if test "$WCSLEN_FOUND" = 1; then
34564 cat >>confdefs.h
<<\_ACEOF
34565 #define HAVE_WCSLEN 1
34571 for ac_func
in wcsdup
34573 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34574 { echo "$as_me:$LINENO: checking for $ac_func" >&5
34575 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
34576 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
34577 echo $ECHO_N "(cached) $ECHO_C" >&6
34579 cat >conftest.
$ac_ext <<_ACEOF
34582 cat confdefs.h
>>conftest.
$ac_ext
34583 cat >>conftest.
$ac_ext <<_ACEOF
34584 /* end confdefs.h. */
34585 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34586 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34587 #define $ac_func innocuous_$ac_func
34589 /* System header to define __stub macros and hopefully few prototypes,
34590 which can conflict with char $ac_func (); below.
34591 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34592 <limits.h> exists even on freestanding compilers. */
34595 # include <limits.h>
34597 # include <assert.h>
34602 /* Override any GCC internal prototype to avoid an error.
34603 Use char because int might match the return type of a GCC
34604 builtin and then its argument prototype would still apply. */
34609 /* The GNU C library defines this for functions which it implements
34610 to always fail with ENOSYS. Some functions are actually named
34611 something starting with __ and the normal name is an alias. */
34612 #if defined __stub_$ac_func || defined __stub___$ac_func
34619 return $ac_func ();
34624 rm -f conftest.
$ac_objext conftest
$ac_exeext
34625 if { (ac_try
="$ac_link"
34626 case "(($ac_try" in
34627 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
34628 *) ac_try_echo=$ac_try;;
34630 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34631 (eval "$ac_link") 2>conftest.er1
34633 grep -v '^ *+' conftest.er1 >conftest.err
34635 cat conftest.err >&5
34636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34637 (exit $ac_status); } && {
34638 test -z "$ac_c_werror_flag" ||
34639 test ! -s conftest.err
34640 } && test -s conftest$ac_exeext &&
34641 $as_test_x conftest$ac_exeext; then
34642 eval "$as_ac_var=yes"
34644 echo "$as_me: failed program was:" >&5
34645 sed 's/^/| /' conftest.$ac_ext >&5
34647 eval "$as_ac_var=no"
34650 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34651 conftest$ac_exeext conftest.$ac_ext
34653 ac_res=`eval echo '${'$as_ac_var'}'`
34654 { echo "$as_me:$LINENO: result: $ac_res" >&5
34655 echo "${ECHO_T}$ac_res" >&6; }
34656 if test `eval echo '${'$as_ac_var'}'` = yes; then
34657 cat >>confdefs.h <<_ACEOF
34658 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34665 if test "$USE_HPUX" = 1 -a "$GCC" != "yes"; then
34666 CPPFLAGS="-D_INCLUDE__STDC_A1_SOURCE $CPPFLAGS"
34669 { echo "$as_me:$LINENO: checking for mbstate_t" >&5
34670 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6; }
34671 if test "${ac_cv_type_mbstate_t+set}" = set; then
34672 echo $ECHO_N "(cached) $ECHO_C" >&6
34674 cat >conftest.$ac_ext <<_ACEOF
34677 cat confdefs.h >>conftest.$ac_ext
34678 cat >>conftest.$ac_ext <<_ACEOF
34679 /* end confdefs.h. */
34682 typedef mbstate_t ac__type_new_;
34686 if ((ac__type_new_ *) 0)
34688 if (sizeof (ac__type_new_))
34694 rm -f conftest.$ac_objext
34695 if { (ac_try="$ac_compile"
34696 case "(($ac_try" in
34697 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
34698 *) ac_try_echo
=$ac_try;;
34700 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34701 (eval "$ac_compile") 2>conftest.er1
34703 grep -v '^ *+' conftest.er1
>conftest.err
34705 cat conftest.err
>&5
34706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34707 (exit $ac_status); } && {
34708 test -z "$ac_c_werror_flag" ||
34709 test ! -s conftest.err
34710 } && test -s conftest.
$ac_objext; then
34711 ac_cv_type_mbstate_t
=yes
34713 echo "$as_me: failed program was:" >&5
34714 sed 's/^/| /' conftest.
$ac_ext >&5
34716 ac_cv_type_mbstate_t
=no
34719 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
34721 { echo "$as_me:$LINENO: result: $ac_cv_type_mbstate_t" >&5
34722 echo "${ECHO_T}$ac_cv_type_mbstate_t" >&6; }
34723 if test $ac_cv_type_mbstate_t = yes; then
34725 cat >>confdefs.h
<<_ACEOF
34726 #define HAVE_MBSTATE_T 1
34730 for ac_func
in wcsrtombs
34732 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34733 { echo "$as_me:$LINENO: checking for $ac_func" >&5
34734 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
34735 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
34736 echo $ECHO_N "(cached) $ECHO_C" >&6
34738 cat >conftest.
$ac_ext <<_ACEOF
34741 cat confdefs.h
>>conftest.
$ac_ext
34742 cat >>conftest.
$ac_ext <<_ACEOF
34743 /* end confdefs.h. */
34744 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34745 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34746 #define $ac_func innocuous_$ac_func
34748 /* System header to define __stub macros and hopefully few prototypes,
34749 which can conflict with char $ac_func (); below.
34750 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34751 <limits.h> exists even on freestanding compilers. */
34754 # include <limits.h>
34756 # include <assert.h>
34761 /* Override any GCC internal prototype to avoid an error.
34762 Use char because int might match the return type of a GCC
34763 builtin and then its argument prototype would still apply. */
34768 /* The GNU C library defines this for functions which it implements
34769 to always fail with ENOSYS. Some functions are actually named
34770 something starting with __ and the normal name is an alias. */
34771 #if defined __stub_$ac_func || defined __stub___$ac_func
34778 return $ac_func ();
34783 rm -f conftest.
$ac_objext conftest
$ac_exeext
34784 if { (ac_try
="$ac_link"
34785 case "(($ac_try" in
34786 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
34787 *) ac_try_echo=$ac_try;;
34789 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34790 (eval "$ac_link") 2>conftest.er1
34792 grep -v '^ *+' conftest.er1 >conftest.err
34794 cat conftest.err >&5
34795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34796 (exit $ac_status); } && {
34797 test -z "$ac_c_werror_flag" ||
34798 test ! -s conftest.err
34799 } && test -s conftest$ac_exeext &&
34800 $as_test_x conftest$ac_exeext; then
34801 eval "$as_ac_var=yes"
34803 echo "$as_me: failed program was:" >&5
34804 sed 's/^/| /' conftest.$ac_ext >&5
34806 eval "$as_ac_var=no"
34809 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34810 conftest$ac_exeext conftest.$ac_ext
34812 ac_res=`eval echo '${'$as_ac_var'}'`
34813 { echo "$as_me:$LINENO: result: $ac_res" >&5
34814 echo "${ECHO_T}$ac_res" >&6; }
34815 if test `eval echo '${'$as_ac_var'}'` = yes; then
34816 cat >>confdefs.h <<_ACEOF
34817 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34826 { echo "$as_me:$LINENO: WARNING: Wide character support is unavailable" >&5
34827 echo "$as_me: WARNING: Wide character support is unavailable" >&2;}
34832 for ac_func in snprintf vsnprintf
34834 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34835 { echo "$as_me:$LINENO: checking for $ac_func" >&5
34836 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
34837 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
34838 echo $ECHO_N "(cached) $ECHO_C" >&6
34840 cat >conftest.$ac_ext <<_ACEOF
34843 cat confdefs.h >>conftest.$ac_ext
34844 cat >>conftest.$ac_ext <<_ACEOF
34845 /* end confdefs.h. */
34846 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34847 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34848 #define $ac_func innocuous_$ac_func
34850 /* System header to define __stub macros and hopefully few prototypes,
34851 which can conflict with char $ac_func (); below.
34852 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34853 <limits.h> exists even on freestanding compilers. */
34856 # include <limits.h>
34858 # include <assert.h>
34863 /* Override any GCC internal prototype to avoid an error.
34864 Use char because int might match the return type of a GCC
34865 builtin and then its argument prototype would still apply. */
34870 /* The GNU C library defines this for functions which it implements
34871 to always fail with ENOSYS. Some functions are actually named
34872 something starting with __ and the normal name is an alias. */
34873 #if defined __stub_$ac_func || defined __stub___$ac_func
34880 return $ac_func ();
34885 rm -f conftest.$ac_objext conftest$ac_exeext
34886 if { (ac_try="$ac_link"
34887 case "(($ac_try" in
34888 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
34889 *) ac_try_echo
=$ac_try;;
34891 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34892 (eval "$ac_link") 2>conftest.er1
34894 grep -v '^ *+' conftest.er1
>conftest.err
34896 cat conftest.err
>&5
34897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34898 (exit $ac_status); } && {
34899 test -z "$ac_c_werror_flag" ||
34900 test ! -s conftest.err
34901 } && test -s conftest
$ac_exeext &&
34902 $as_test_x conftest
$ac_exeext; then
34903 eval "$as_ac_var=yes"
34905 echo "$as_me: failed program was:" >&5
34906 sed 's/^/| /' conftest.
$ac_ext >&5
34908 eval "$as_ac_var=no"
34911 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
34912 conftest
$ac_exeext conftest.
$ac_ext
34914 ac_res
=`eval echo '${'$as_ac_var'}'`
34915 { echo "$as_me:$LINENO: result: $ac_res" >&5
34916 echo "${ECHO_T}$ac_res" >&6; }
34917 if test `eval echo '${'$as_ac_var'}'` = yes; then
34918 cat >>confdefs.h
<<_ACEOF
34919 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34926 if test "$ac_cv_func_vsnprintf" = "yes"; then
34927 { echo "$as_me:$LINENO: checking for vsnprintf declaration" >&5
34928 echo $ECHO_N "checking for vsnprintf declaration... $ECHO_C" >&6; }
34929 if test "${wx_cv_func_vsnprintf_decl+set}" = set; then
34930 echo $ECHO_N "(cached) $ECHO_C" >&6
34933 cat >conftest.
$ac_ext <<_ACEOF
34936 cat confdefs.h
>>conftest.
$ac_ext
34937 cat >>conftest.
$ac_ext <<_ACEOF
34938 /* end confdefs.h. */
34941 #include <stdarg.h>
34943 #if __MSL__ >= 0x6000
34945 using namespace std;
34955 vsnprintf(buf, 10u, "%s", ap);
34961 rm -f conftest.
$ac_objext
34962 if { (ac_try
="$ac_compile"
34963 case "(($ac_try" in
34964 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
34965 *) ac_try_echo=$ac_try;;
34967 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34968 (eval "$ac_compile") 2>conftest.er1
34970 grep -v '^ *+' conftest.er1 >conftest.err
34972 cat conftest.err >&5
34973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34974 (exit $ac_status); } && {
34975 test -z "$ac_c_werror_flag" ||
34976 test ! -s conftest.err
34977 } && test -s conftest.$ac_objext; then
34978 wx_cv_func_vsnprintf_decl=yes
34980 echo "$as_me: failed program was:" >&5
34981 sed 's/^/| /' conftest.$ac_ext >&5
34983 wx_cv_func_vsnprintf_decl=no
34987 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34991 { echo "$as_me:$LINENO: result: $wx_cv_func_vsnprintf_decl" >&5
34992 echo "${ECHO_T}$wx_cv_func_vsnprintf_decl" >&6; }
34994 if test "$wx_cv_func_vsnprintf_decl" = "yes"; then
34995 cat >>confdefs.h <<\_ACEOF
34996 #define HAVE_VSNPRINTF_DECL 1
35000 { echo "$as_me:$LINENO: checking if vsnprintf declaration is broken" >&5
35001 echo $ECHO_N "checking if vsnprintf declaration is broken... $ECHO_C" >&6; }
35002 if test "${wx_cv_func_broken_vsnprintf_decl+set}" = set; then
35003 echo $ECHO_N "(cached) $ECHO_C" >&6
35006 cat >conftest.$ac_ext <<_ACEOF
35009 cat confdefs.h >>conftest.$ac_ext
35010 cat >>conftest.$ac_ext <<_ACEOF
35011 /* end confdefs.h. */
35014 #include <stdarg.h>
35016 #if __MSL__ >= 0x6000
35018 using namespace std;
35028 const char *fmt = "%s";
35029 vsnprintf(buf, 10u, fmt, ap);
35035 rm -f conftest.$ac_objext
35036 if { (ac_try="$ac_compile"
35037 case "(($ac_try" in
35038 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
35039 *) ac_try_echo
=$ac_try;;
35041 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35042 (eval "$ac_compile") 2>conftest.er1
35044 grep -v '^ *+' conftest.er1
>conftest.err
35046 cat conftest.err
>&5
35047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35048 (exit $ac_status); } && {
35049 test -z "$ac_c_werror_flag" ||
35050 test ! -s conftest.err
35051 } && test -s conftest.
$ac_objext; then
35052 wx_cv_func_broken_vsnprintf_decl
=no
35054 echo "$as_me: failed program was:" >&5
35055 sed 's/^/| /' conftest.
$ac_ext >&5
35057 wx_cv_func_broken_vsnprintf_decl
=yes
35061 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
35065 { echo "$as_me:$LINENO: result: $wx_cv_func_broken_vsnprintf_decl" >&5
35066 echo "${ECHO_T}$wx_cv_func_broken_vsnprintf_decl" >&6; }
35068 if test "$wx_cv_func_broken_vsnprintf_decl" = "yes"; then
35069 cat >>confdefs.h
<<\_ACEOF
35070 #define HAVE_BROKEN_VSNPRINTF_DECL 1
35077 if test "$ac_cv_func_snprintf" = "yes"; then
35078 { echo "$as_me:$LINENO: checking for snprintf declaration" >&5
35079 echo $ECHO_N "checking for snprintf declaration... $ECHO_C" >&6; }
35080 if test "${wx_cv_func_snprintf_decl+set}" = set; then
35081 echo $ECHO_N "(cached) $ECHO_C" >&6
35084 cat >conftest.
$ac_ext <<_ACEOF
35087 cat confdefs.h
>>conftest.
$ac_ext
35088 cat >>conftest.
$ac_ext <<_ACEOF
35089 /* end confdefs.h. */
35092 #include <stdarg.h>
35094 #if __MSL__ >= 0x6000
35096 using namespace std;
35105 snprintf(buf, 10u, "%s", "wx");
35111 rm -f conftest.
$ac_objext
35112 if { (ac_try
="$ac_compile"
35113 case "(($ac_try" in
35114 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
35115 *) ac_try_echo=$ac_try;;
35117 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35118 (eval "$ac_compile") 2>conftest.er1
35120 grep -v '^ *+' conftest.er1 >conftest.err
35122 cat conftest.err >&5
35123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35124 (exit $ac_status); } && {
35125 test -z "$ac_c_werror_flag" ||
35126 test ! -s conftest.err
35127 } && test -s conftest.$ac_objext; then
35128 wx_cv_func_snprintf_decl=yes
35130 echo "$as_me: failed program was:" >&5
35131 sed 's/^/| /' conftest.$ac_ext >&5
35133 wx_cv_func_snprintf_decl=no
35137 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35141 { echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_decl" >&5
35142 echo "${ECHO_T}$wx_cv_func_snprintf_decl" >&6; }
35144 if test "$wx_cv_func_snprintf_decl" = "yes"; then
35145 cat >>confdefs.h <<\_ACEOF
35146 #define HAVE_SNPRINTF_DECL 1
35151 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
35153 { echo "$as_me:$LINENO: checking if snprintf supports positional arguments" >&5
35154 echo $ECHO_N "checking if snprintf supports positional arguments... $ECHO_C" >&6; }
35155 if test "${wx_cv_func_snprintf_pos_params+set}" = set; then
35156 echo $ECHO_N "(cached) $ECHO_C" >&6
35159 if test "$cross_compiling" = yes; then
35161 { echo "$as_me:$LINENO: WARNING: Assuming Unix98 printf() is not available,
35162 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&5
35163 echo "$as_me: WARNING: Assuming Unix98 printf() is not available,
35164 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&2;}
35165 wx_cv_func_snprintf_pos_params=no
35169 cat >conftest.$ac_ext <<_ACEOF
35172 cat confdefs.h >>conftest.$ac_ext
35173 cat >>conftest.$ac_ext <<_ACEOF
35174 /* end confdefs.h. */
35181 snprintf (buffer, 128, "%2$d %3$d %1$d", 1, 2, 3);
35182 if (strcmp ("2 3 1", buffer) == 0)
35188 rm -f conftest$ac_exeext
35189 if { (ac_try="$ac_link"
35190 case "(($ac_try" in
35191 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
35192 *) ac_try_echo
=$ac_try;;
35194 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35195 (eval "$ac_link") 2>&5
35197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35198 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
35199 { (case "(($ac_try" in
35200 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
35201 *) ac_try_echo=$ac_try;;
35203 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35204 (eval "$ac_try") 2>&5
35206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35207 (exit $ac_status); }; }; then
35208 wx_cv_func_snprintf_pos_params=no
35210 echo "$as_me: program exited with status $ac_status" >&5
35211 echo "$as_me: failed program was:" >&5
35212 sed 's/^/| /' conftest.$ac_ext >&5
35214 ( exit $ac_status )
35215 wx_cv_func_snprintf_pos_params=yes
35217 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
35224 { echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_pos_params" >&5
35225 echo "${ECHO_T}$wx_cv_func_snprintf_pos_params" >&6; }
35227 if test "$wx_cv_func_snprintf_pos_params" = "yes"; then
35228 cat >>confdefs.h <<\_ACEOF
35229 #define HAVE_UNIX98_PRINTF 1
35236 if test "$wxUSE_UNICODE" = yes; then
35238 wchar_headers="#include <stdio.h>
35239 #include <wchar.h>"
35243 for ac_header in widec.h
35245 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
35246 { echo "$as_me:$LINENO: checking for $ac_header" >&5
35247 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
35248 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
35249 echo $ECHO_N "(cached) $ECHO_C" >&6
35251 cat >conftest.$ac_ext <<_ACEOF
35254 cat confdefs.h >>conftest.$ac_ext
35255 cat >>conftest.$ac_ext <<_ACEOF
35256 /* end confdefs.h. */
35257 $ac_includes_default
35259 #include <$ac_header>
35261 rm -f conftest.$ac_objext
35262 if { (ac_try="$ac_compile"
35263 case "(($ac_try" in
35264 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
35265 *) ac_try_echo
=$ac_try;;
35267 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35268 (eval "$ac_compile") 2>conftest.er1
35270 grep -v '^ *+' conftest.er1
>conftest.err
35272 cat conftest.err
>&5
35273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35274 (exit $ac_status); } && {
35275 test -z "$ac_c_werror_flag" ||
35276 test ! -s conftest.err
35277 } && test -s conftest.
$ac_objext; then
35278 eval "$as_ac_Header=yes"
35280 echo "$as_me: failed program was:" >&5
35281 sed 's/^/| /' conftest.
$ac_ext >&5
35283 eval "$as_ac_Header=no"
35286 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
35288 ac_res
=`eval echo '${'$as_ac_Header'}'`
35289 { echo "$as_me:$LINENO: result: $ac_res" >&5
35290 echo "${ECHO_T}$ac_res" >&6; }
35291 if test `eval echo '${'$as_ac_Header'}'` = yes; then
35292 cat >>confdefs.h
<<_ACEOF
35293 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
35300 if test "$ac_cv_header_widec_h" = "yes"; then
35301 wchar_headers
="$wchar_headers
35302 #include <widec.h>"
35307 for wx_func
in putws fputws wprintf vswprintf vswscanf
35309 { echo "$as_me:$LINENO: checking for $wx_func" >&5
35310 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
35311 if { as_var
=wx_cv_func_
$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
35312 echo $ECHO_N "(cached) $ECHO_C" >&6
35315 cat >conftest.
$ac_ext <<_ACEOF
35319 cat confdefs.h
>>conftest.
$ac_ext
35320 cat >>conftest.
$ac_ext <<_ACEOF
35321 /* end confdefs.h. */
35324 $ac_includes_default
35340 rm -f conftest.
$ac_objext conftest
$ac_exeext
35341 if { (ac_try
="$ac_link"
35342 case "(($ac_try" in
35343 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
35344 *) ac_try_echo=$ac_try;;
35346 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35347 (eval "$ac_link") 2>conftest.er1
35349 grep -v '^ *+' conftest.er1 >conftest.err
35351 cat conftest.err >&5
35352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35353 (exit $ac_status); } && {
35354 test -z "$ac_c_werror_flag" ||
35355 test ! -s conftest.err
35356 } && test -s conftest$ac_exeext &&
35357 $as_test_x conftest$ac_exeext; then
35358 eval wx_cv_func_$wx_func=yes
35360 echo "$as_me: failed program was:" >&5
35361 sed 's/^/| /' conftest.$ac_ext >&5
35363 eval wx_cv_func_$wx_func=no
35366 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35367 conftest$ac_exeext conftest.$ac_ext
35370 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
35371 { echo "$as_me:$LINENO: result: $ac_res" >&5
35372 echo "${ECHO_T}$ac_res" >&6; }
35374 if eval test \$wx_cv_func_$wx_func = yes
35376 cat >>confdefs.h <<_ACEOF
35377 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
35388 { echo "$as_me:$LINENO: checking for _vsnwprintf" >&5
35389 echo $ECHO_N "checking for _vsnwprintf... $ECHO_C" >&6; }
35390 cat >conftest.$ac_ext <<_ACEOF
35393 cat confdefs.h >>conftest.$ac_ext
35394 cat >>conftest.$ac_ext <<_ACEOF
35395 /* end confdefs.h. */
35405 rm -f conftest.$ac_objext
35406 if { (ac_try="$ac_compile"
35407 case "(($ac_try" in
35408 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
35409 *) ac_try_echo
=$ac_try;;
35411 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35412 (eval "$ac_compile") 2>conftest.er1
35414 grep -v '^ *+' conftest.er1
>conftest.err
35416 cat conftest.err
>&5
35417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35418 (exit $ac_status); } && {
35419 test -z "$ac_c_werror_flag" ||
35420 test ! -s conftest.err
35421 } && test -s conftest.
$ac_objext; then
35422 { echo "$as_me:$LINENO: result: yes" >&5
35423 echo "${ECHO_T}yes" >&6; }
35424 cat >>confdefs.h
<<\_ACEOF
35425 #define HAVE__VSNWPRINTF 1
35429 echo "$as_me: failed program was:" >&5
35430 sed 's/^/| /' conftest.
$ac_ext >&5
35432 { echo "$as_me:$LINENO: result: no" >&5
35433 echo "${ECHO_T}no" >&6; }
35436 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext;
35439 if test "$wxUSE_FILE" = "yes"; then
35441 for wx_func
in fsync
35443 { echo "$as_me:$LINENO: checking for $wx_func" >&5
35444 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
35445 if { as_var
=wx_cv_func_
$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
35446 echo $ECHO_N "(cached) $ECHO_C" >&6
35449 cat >conftest.
$ac_ext <<_ACEOF
35453 cat confdefs.h
>>conftest.
$ac_ext
35454 cat >>conftest.
$ac_ext <<_ACEOF
35455 /* end confdefs.h. */
35458 $ac_includes_default
35474 rm -f conftest.
$ac_objext conftest
$ac_exeext
35475 if { (ac_try
="$ac_link"
35476 case "(($ac_try" in
35477 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
35478 *) ac_try_echo=$ac_try;;
35480 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35481 (eval "$ac_link") 2>conftest.er1
35483 grep -v '^ *+' conftest.er1 >conftest.err
35485 cat conftest.err >&5
35486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35487 (exit $ac_status); } && {
35488 test -z "$ac_c_werror_flag" ||
35489 test ! -s conftest.err
35490 } && test -s conftest$ac_exeext &&
35491 $as_test_x conftest$ac_exeext; then
35492 eval wx_cv_func_$wx_func=yes
35494 echo "$as_me: failed program was:" >&5
35495 sed 's/^/| /' conftest.$ac_ext >&5
35497 eval wx_cv_func_$wx_func=no
35500 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35501 conftest$ac_exeext conftest.$ac_ext
35504 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
35505 { echo "$as_me:$LINENO: result: $ac_res" >&5
35506 echo "${ECHO_T}$ac_res" >&6; }
35508 if eval test \$wx_cv_func_$wx_func = yes
35510 cat >>confdefs.h <<_ACEOF
35511 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
35524 ac_cpp='$CXXCPP $CPPFLAGS'
35525 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35526 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35527 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35530 for wx_func in round
35532 { echo "$as_me:$LINENO: checking for $wx_func" >&5
35533 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
35534 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
35535 echo $ECHO_N "(cached) $ECHO_C" >&6
35538 cat >conftest.$ac_ext <<_ACEOF
35542 cat confdefs.h >>conftest.$ac_ext
35543 cat >>conftest.$ac_ext <<_ACEOF
35544 /* end confdefs.h. */
35547 $ac_includes_default
35563 rm -f conftest.$ac_objext conftest$ac_exeext
35564 if { (ac_try="$ac_link"
35565 case "(($ac_try" in
35566 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
35567 *) ac_try_echo
=$ac_try;;
35569 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35570 (eval "$ac_link") 2>conftest.er1
35572 grep -v '^ *+' conftest.er1
>conftest.err
35574 cat conftest.err
>&5
35575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35576 (exit $ac_status); } && {
35577 test -z "$ac_cxx_werror_flag" ||
35578 test ! -s conftest.err
35579 } && test -s conftest
$ac_exeext &&
35580 $as_test_x conftest
$ac_exeext; then
35581 eval wx_cv_func_
$wx_func=yes
35583 echo "$as_me: failed program was:" >&5
35584 sed 's/^/| /' conftest.
$ac_ext >&5
35586 eval wx_cv_func_
$wx_func=no
35589 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
35590 conftest
$ac_exeext conftest.
$ac_ext
35593 ac_res
=`eval echo '${'wx_cv_func_$wx_func'}'`
35594 { echo "$as_me:$LINENO: result: $ac_res" >&5
35595 echo "${ECHO_T}$ac_res" >&6; }
35597 if eval test \
$wx_cv_func_$wx_func = yes
35599 cat >>confdefs.h
<<_ACEOF
35600 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
35611 ac_cpp
='$CPP $CPPFLAGS'
35612 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35613 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35614 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
35617 if test "$TOOLKIT" != "MSW"; then
35619 if test "$wxUSE_LIBICONV" != "no" ; then
35623 # Check whether --with-libiconv-prefix was given.
35624 if test "${with_libiconv_prefix+set}" = set; then
35625 withval
=$with_libiconv_prefix;
35626 for dir
in `echo "$withval" | tr : ' '`; do
35627 if test -d $dir/include
; then CPPFLAGS
="$CPPFLAGS -I$dir/include"; fi
35628 if test -d $dir/lib
; then LDFLAGS
="$LDFLAGS -L$dir/lib"; fi
35634 { echo "$as_me:$LINENO: checking for iconv" >&5
35635 echo $ECHO_N "checking for iconv... $ECHO_C" >&6; }
35636 if test "${am_cv_func_iconv+set}" = set; then
35637 echo $ECHO_N "(cached) $ECHO_C" >&6
35640 am_cv_func_iconv
="no, consider installing GNU libiconv"
35642 cat >conftest.
$ac_ext <<_ACEOF
35645 cat confdefs.h
>>conftest.
$ac_ext
35646 cat >>conftest.
$ac_ext <<_ACEOF
35647 /* end confdefs.h. */
35648 #include <stdlib.h>
35653 iconv_t cd = iconv_open("","");
35654 iconv(cd,NULL,NULL,NULL,NULL);
35660 rm -f conftest.
$ac_objext conftest
$ac_exeext
35661 if { (ac_try
="$ac_link"
35662 case "(($ac_try" in
35663 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
35664 *) ac_try_echo=$ac_try;;
35666 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35667 (eval "$ac_link") 2>conftest.er1
35669 grep -v '^ *+' conftest.er1 >conftest.err
35671 cat conftest.err >&5
35672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35673 (exit $ac_status); } && {
35674 test -z "$ac_c_werror_flag" ||
35675 test ! -s conftest.err
35676 } && test -s conftest$ac_exeext &&
35677 $as_test_x conftest$ac_exeext; then
35678 am_cv_func_iconv=yes
35680 echo "$as_me: failed program was:" >&5
35681 sed 's/^/| /' conftest.$ac_ext >&5
35686 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35687 conftest$ac_exeext conftest.$ac_ext
35688 if test "$am_cv_func_iconv" != yes; then
35689 am_save_LIBS="$LIBS"
35690 LIBS="$LIBS -liconv"
35691 cat >conftest.$ac_ext <<_ACEOF
35694 cat confdefs.h >>conftest.$ac_ext
35695 cat >>conftest.$ac_ext <<_ACEOF
35696 /* end confdefs.h. */
35697 #include <stdlib.h>
35702 iconv_t cd = iconv_open("","");
35703 iconv(cd,NULL,NULL,NULL,NULL);
35709 rm -f conftest.$ac_objext conftest$ac_exeext
35710 if { (ac_try="$ac_link"
35711 case "(($ac_try" in
35712 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
35713 *) ac_try_echo
=$ac_try;;
35715 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35716 (eval "$ac_link") 2>conftest.er1
35718 grep -v '^ *+' conftest.er1
>conftest.err
35720 cat conftest.err
>&5
35721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35722 (exit $ac_status); } && {
35723 test -z "$ac_c_werror_flag" ||
35724 test ! -s conftest.err
35725 } && test -s conftest
$ac_exeext &&
35726 $as_test_x conftest
$ac_exeext; then
35727 am_cv_lib_iconv
=yes
35728 am_cv_func_iconv
=yes
35730 echo "$as_me: failed program was:" >&5
35731 sed 's/^/| /' conftest.
$ac_ext >&5
35736 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
35737 conftest
$ac_exeext conftest.
$ac_ext
35738 LIBS
="$am_save_LIBS"
35742 { echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
35743 echo "${ECHO_T}$am_cv_func_iconv" >&6; }
35744 if test "$am_cv_func_iconv" = yes; then
35746 cat >>confdefs.h
<<\_ACEOF
35747 #define HAVE_ICONV 1
35750 { echo "$as_me:$LINENO: checking if iconv needs const" >&5
35751 echo $ECHO_N "checking if iconv needs const... $ECHO_C" >&6; }
35752 if test "${wx_cv_func_iconv_const+set}" = set; then
35753 echo $ECHO_N "(cached) $ECHO_C" >&6
35755 cat >conftest.
$ac_ext <<_ACEOF
35758 cat confdefs.h
>>conftest.
$ac_ext
35759 cat >>conftest.
$ac_ext <<_ACEOF
35760 /* end confdefs.h. */
35762 #include <stdlib.h>
35768 #if defined(__STDC__) || defined(__cplusplus)
35769 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
35782 rm -f conftest.
$ac_objext
35783 if { (ac_try
="$ac_compile"
35784 case "(($ac_try" in
35785 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
35786 *) ac_try_echo=$ac_try;;
35788 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35789 (eval "$ac_compile") 2>conftest.er1
35791 grep -v '^ *+' conftest.er1 >conftest.err
35793 cat conftest.err >&5
35794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35795 (exit $ac_status); } && {
35796 test -z "$ac_c_werror_flag" ||
35797 test ! -s conftest.err
35798 } && test -s conftest.$ac_objext; then
35799 wx_cv_func_iconv_const="no"
35801 echo "$as_me: failed program was:" >&5
35802 sed 's/^/| /' conftest.$ac_ext >&5
35804 wx_cv_func_iconv_const="yes"
35808 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35811 { echo "$as_me:$LINENO: result: $wx_cv_func_iconv_const" >&5
35812 echo "${ECHO_T}$wx_cv_func_iconv_const" >&6; }
35815 if test "x$wx_cv_func_iconv_const" = "xyes"; then
35816 iconv_const="const"
35820 cat >>confdefs.h <<_ACEOF
35821 #define ICONV_CONST $iconv_const
35826 if test "$am_cv_lib_iconv" = yes; then
35831 LIBS="$LIBICONV $LIBS"
35834 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
35836 for ac_func in sigaction
35838 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35839 { echo "$as_me:$LINENO: checking for $ac_func" >&5
35840 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
35841 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
35842 echo $ECHO_N "(cached) $ECHO_C" >&6
35844 cat >conftest.$ac_ext <<_ACEOF
35847 cat confdefs.h >>conftest.$ac_ext
35848 cat >>conftest.$ac_ext <<_ACEOF
35849 /* end confdefs.h. */
35850 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35851 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35852 #define $ac_func innocuous_$ac_func
35854 /* System header to define __stub macros and hopefully few prototypes,
35855 which can conflict with char $ac_func (); below.
35856 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35857 <limits.h> exists even on freestanding compilers. */
35860 # include <limits.h>
35862 # include <assert.h>
35867 /* Override any GCC internal prototype to avoid an error.
35868 Use char because int might match the return type of a GCC
35869 builtin and then its argument prototype would still apply. */
35874 /* The GNU C library defines this for functions which it implements
35875 to always fail with ENOSYS. Some functions are actually named
35876 something starting with __ and the normal name is an alias. */
35877 #if defined __stub_$ac_func || defined __stub___$ac_func
35884 return $ac_func ();
35889 rm -f conftest.$ac_objext conftest$ac_exeext
35890 if { (ac_try="$ac_link"
35891 case "(($ac_try" in
35892 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
35893 *) ac_try_echo
=$ac_try;;
35895 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35896 (eval "$ac_link") 2>conftest.er1
35898 grep -v '^ *+' conftest.er1
>conftest.err
35900 cat conftest.err
>&5
35901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35902 (exit $ac_status); } && {
35903 test -z "$ac_c_werror_flag" ||
35904 test ! -s conftest.err
35905 } && test -s conftest
$ac_exeext &&
35906 $as_test_x conftest
$ac_exeext; then
35907 eval "$as_ac_var=yes"
35909 echo "$as_me: failed program was:" >&5
35910 sed 's/^/| /' conftest.
$ac_ext >&5
35912 eval "$as_ac_var=no"
35915 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
35916 conftest
$ac_exeext conftest.
$ac_ext
35918 ac_res
=`eval echo '${'$as_ac_var'}'`
35919 { echo "$as_me:$LINENO: result: $ac_res" >&5
35920 echo "${ECHO_T}$ac_res" >&6; }
35921 if test `eval echo '${'$as_ac_var'}'` = yes; then
35922 cat >>confdefs.h
<<_ACEOF
35923 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35930 if test "$ac_cv_func_sigaction" = "no"; then
35931 { echo "$as_me:$LINENO: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&5
35932 echo "$as_me: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&2;}
35933 wxUSE_ON_FATAL_EXCEPTION
=no
35936 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
35937 { echo "$as_me:$LINENO: checking for sa_handler type" >&5
35938 echo $ECHO_N "checking for sa_handler type... $ECHO_C" >&6; }
35939 if test "${wx_cv_type_sa_handler+set}" = set; then
35940 echo $ECHO_N "(cached) $ECHO_C" >&6
35944 ac_cpp
='$CXXCPP $CPPFLAGS'
35945 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35946 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35947 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
35949 cat >conftest.
$ac_ext <<_ACEOF
35952 cat confdefs.h
>>conftest.
$ac_ext
35953 cat >>conftest.
$ac_ext <<_ACEOF
35954 /* end confdefs.h. */
35955 #include <signal.h>
35960 extern void testSigHandler(int);
35962 struct sigaction sa;
35963 sa.sa_handler = testSigHandler;
35969 rm -f conftest.
$ac_objext
35970 if { (ac_try
="$ac_compile"
35971 case "(($ac_try" in
35972 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
35973 *) ac_try_echo=$ac_try;;
35975 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35976 (eval "$ac_compile") 2>conftest.er1
35978 grep -v '^ *+' conftest.er1 >conftest.err
35980 cat conftest.err >&5
35981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35982 (exit $ac_status); } && {
35983 test -z "$ac_cxx_werror_flag" ||
35984 test ! -s conftest.err
35985 } && test -s conftest.$ac_objext; then
35987 wx_cv_type_sa_handler=int
35990 echo "$as_me: failed program was:" >&5
35991 sed 's/^/| /' conftest.$ac_ext >&5
35994 wx_cv_type_sa_handler=void
35998 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36000 ac_cpp='$CPP $CPPFLAGS'
36001 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36002 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36003 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36007 { echo "$as_me:$LINENO: result: $wx_cv_type_sa_handler" >&5
36008 echo "${ECHO_T}$wx_cv_type_sa_handler" >&6; }
36010 cat >>confdefs.h <<_ACEOF
36011 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
36017 if test "$wxUSE_STACKWALKER" = "yes" -a "$wxUSE_UNIX" = "yes"; then
36018 { echo "$as_me:$LINENO: checking for backtrace() in <execinfo.h>" >&5
36019 echo $ECHO_N "checking for backtrace() in <execinfo.h>... $ECHO_C" >&6; }
36020 if test "${wx_cv_func_backtrace+set}" = set; then
36021 echo $ECHO_N "(cached) $ECHO_C" >&6
36025 ac_cpp='$CXXCPP $CPPFLAGS'
36026 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36027 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36028 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36030 cat >conftest.$ac_ext <<_ACEOF
36033 cat confdefs.h >>conftest.$ac_ext
36034 cat >>conftest.$ac_ext <<_ACEOF
36035 /* end confdefs.h. */
36036 #include <execinfo.h>
36044 backtrace(trace, 1);
36045 messages = backtrace_symbols(trace, 1);
36051 rm -f conftest.$ac_objext
36052 if { (ac_try="$ac_compile"
36053 case "(($ac_try" in
36054 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
36055 *) ac_try_echo
=$ac_try;;
36057 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36058 (eval "$ac_compile") 2>conftest.er1
36060 grep -v '^ *+' conftest.er1
>conftest.err
36062 cat conftest.err
>&5
36063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36064 (exit $ac_status); } && {
36065 test -z "$ac_cxx_werror_flag" ||
36066 test ! -s conftest.err
36067 } && test -s conftest.
$ac_objext; then
36068 wx_cv_func_backtrace
=yes
36070 echo "$as_me: failed program was:" >&5
36071 sed 's/^/| /' conftest.
$ac_ext >&5
36073 wx_cv_func_backtrace
=no
36077 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
36079 ac_cpp
='$CPP $CPPFLAGS'
36080 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36081 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36082 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
36087 { echo "$as_me:$LINENO: result: $wx_cv_func_backtrace" >&5
36088 echo "${ECHO_T}$wx_cv_func_backtrace" >&6; }
36091 if test "$wx_cv_func_backtrace" = "no"; then
36092 { echo "$as_me:$LINENO: WARNING: backtrace() is not available, wxStackWalker will not be available" >&5
36093 echo "$as_me: WARNING: backtrace() is not available, wxStackWalker will not be available" >&2;}
36094 wxUSE_STACKWALKER
=no
36096 { echo "$as_me:$LINENO: checking for __cxa_demangle() in <cxxabi.h>" >&5
36097 echo $ECHO_N "checking for __cxa_demangle() in <cxxabi.h>... $ECHO_C" >&6; }
36098 if test "${wx_cv_func_cxa_demangle+set}" = set; then
36099 echo $ECHO_N "(cached) $ECHO_C" >&6
36103 ac_cpp
='$CXXCPP $CPPFLAGS'
36104 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36105 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36106 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
36108 cat >conftest.
$ac_ext <<_ACEOF
36111 cat confdefs.h
>>conftest.
$ac_ext
36112 cat >>conftest.
$ac_ext <<_ACEOF
36113 /* end confdefs.h. */
36114 #include <cxxabi.h>
36120 __cxxabiv1::__cxa_demangle("foo", 0, 0, &rc);
36126 rm -f conftest.
$ac_objext conftest
$ac_exeext
36127 if { (ac_try
="$ac_link"
36128 case "(($ac_try" in
36129 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
36130 *) ac_try_echo=$ac_try;;
36132 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36133 (eval "$ac_link") 2>conftest.er1
36135 grep -v '^ *+' conftest.er1 >conftest.err
36137 cat conftest.err >&5
36138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36139 (exit $ac_status); } && {
36140 test -z "$ac_cxx_werror_flag" ||
36141 test ! -s conftest.err
36142 } && test -s conftest$ac_exeext &&
36143 $as_test_x conftest$ac_exeext; then
36144 wx_cv_func_cxa_demangle=yes
36146 echo "$as_me: failed program was:" >&5
36147 sed 's/^/| /' conftest.$ac_ext >&5
36149 wx_cv_func_cxa_demangle=no
36153 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36154 conftest$ac_exeext conftest.$ac_ext
36156 ac_cpp='$CPP $CPPFLAGS'
36157 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36158 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36159 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36164 { echo "$as_me:$LINENO: result: $wx_cv_func_cxa_demangle" >&5
36165 echo "${ECHO_T}$wx_cv_func_cxa_demangle" >&6; }
36167 if test "$wx_cv_func_cxa_demangle" = "yes"; then
36168 cat >>confdefs.h <<\_ACEOF
36169 #define HAVE_CXA_DEMANGLE 1
36176 if test "$wxUSE_STACKWALKER" = "yes" -a "$USE_WIN32" != 1 -a "$USE_UNIX" != 1; then
36177 { echo "$as_me:$LINENO: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&5
36178 echo "$as_me: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&2;}
36179 wxUSE_STACKWALKER=no
36185 for ac_func in mkstemp mktemp
36187 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36188 { echo "$as_me:$LINENO: checking for $ac_func" >&5
36189 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
36190 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
36191 echo $ECHO_N "(cached) $ECHO_C" >&6
36193 cat >conftest.$ac_ext <<_ACEOF
36196 cat confdefs.h >>conftest.$ac_ext
36197 cat >>conftest.$ac_ext <<_ACEOF
36198 /* end confdefs.h. */
36199 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36200 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36201 #define $ac_func innocuous_$ac_func
36203 /* System header to define __stub macros and hopefully few prototypes,
36204 which can conflict with char $ac_func (); below.
36205 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36206 <limits.h> exists even on freestanding compilers. */
36209 # include <limits.h>
36211 # include <assert.h>
36216 /* Override any GCC internal prototype to avoid an error.
36217 Use char because int might match the return type of a GCC
36218 builtin and then its argument prototype would still apply. */
36223 /* The GNU C library defines this for functions which it implements
36224 to always fail with ENOSYS. Some functions are actually named
36225 something starting with __ and the normal name is an alias. */
36226 #if defined __stub_$ac_func || defined __stub___$ac_func
36233 return $ac_func ();
36238 rm -f conftest.$ac_objext conftest$ac_exeext
36239 if { (ac_try="$ac_link"
36240 case "(($ac_try" in
36241 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
36242 *) ac_try_echo
=$ac_try;;
36244 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36245 (eval "$ac_link") 2>conftest.er1
36247 grep -v '^ *+' conftest.er1
>conftest.err
36249 cat conftest.err
>&5
36250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36251 (exit $ac_status); } && {
36252 test -z "$ac_c_werror_flag" ||
36253 test ! -s conftest.err
36254 } && test -s conftest
$ac_exeext &&
36255 $as_test_x conftest
$ac_exeext; then
36256 eval "$as_ac_var=yes"
36258 echo "$as_me: failed program was:" >&5
36259 sed 's/^/| /' conftest.
$ac_ext >&5
36261 eval "$as_ac_var=no"
36264 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
36265 conftest
$ac_exeext conftest.
$ac_ext
36267 ac_res
=`eval echo '${'$as_ac_var'}'`
36268 { echo "$as_me:$LINENO: result: $ac_res" >&5
36269 echo "${ECHO_T}$ac_res" >&6; }
36270 if test `eval echo '${'$as_ac_var'}'` = yes; then
36271 cat >>confdefs.h
<<_ACEOF
36272 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36279 { echo "$as_me:$LINENO: checking for statfs" >&5
36280 echo $ECHO_N "checking for statfs... $ECHO_C" >&6; }
36281 if test "${wx_cv_func_statfs+set}" = set; then
36282 echo $ECHO_N "(cached) $ECHO_C" >&6
36284 cat >conftest.
$ac_ext <<_ACEOF
36287 cat confdefs.h
>>conftest.
$ac_ext
36288 cat >>conftest.
$ac_ext <<_ACEOF
36289 /* end confdefs.h. */
36291 #if defined(__BSD__)
36292 #include <sys/param.h>
36293 #include <sys/mount.h>
36295 #include <sys/vfs.h>
36313 rm -f conftest.
$ac_objext
36314 if { (ac_try
="$ac_compile"
36315 case "(($ac_try" in
36316 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
36317 *) ac_try_echo=$ac_try;;
36319 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36320 (eval "$ac_compile") 2>conftest.er1
36322 grep -v '^ *+' conftest.er1 >conftest.err
36324 cat conftest.err >&5
36325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36326 (exit $ac_status); } && {
36327 test -z "$ac_c_werror_flag" ||
36328 test ! -s conftest.err
36329 } && test -s conftest.$ac_objext; then
36330 wx_cv_func_statfs=yes
36332 echo "$as_me: failed program was:" >&5
36333 sed 's/^/| /' conftest.$ac_ext >&5
36335 wx_cv_func_statfs=no
36339 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36342 { echo "$as_me:$LINENO: result: $wx_cv_func_statfs" >&5
36343 echo "${ECHO_T}$wx_cv_func_statfs" >&6; }
36345 if test "$wx_cv_func_statfs" = "yes"; then
36346 { echo "$as_me:$LINENO: checking for statfs declaration" >&5
36347 echo $ECHO_N "checking for statfs declaration... $ECHO_C" >&6; }
36348 if test "${wx_cv_func_statfs_decl+set}" = set; then
36349 echo $ECHO_N "(cached) $ECHO_C" >&6
36352 ac_cpp='$CXXCPP $CPPFLAGS'
36353 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36354 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36355 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36357 cat >conftest.$ac_ext <<_ACEOF
36360 cat confdefs.h >>conftest.$ac_ext
36361 cat >>conftest.$ac_ext <<_ACEOF
36362 /* end confdefs.h. */
36364 #if defined(__BSD__)
36365 #include <sys/param.h>
36366 #include <sys/mount.h>
36368 #include <sys/vfs.h>
36382 rm -f conftest.$ac_objext
36383 if { (ac_try="$ac_compile"
36384 case "(($ac_try" in
36385 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
36386 *) ac_try_echo
=$ac_try;;
36388 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36389 (eval "$ac_compile") 2>conftest.er1
36391 grep -v '^ *+' conftest.er1
>conftest.err
36393 cat conftest.err
>&5
36394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36395 (exit $ac_status); } && {
36396 test -z "$ac_cxx_werror_flag" ||
36397 test ! -s conftest.err
36398 } && test -s conftest.
$ac_objext; then
36399 wx_cv_func_statfs_decl
=yes
36401 echo "$as_me: failed program was:" >&5
36402 sed 's/^/| /' conftest.
$ac_ext >&5
36404 wx_cv_func_statfs_decl
=no
36408 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
36410 ac_cpp
='$CPP $CPPFLAGS'
36411 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36412 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36413 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
36417 { echo "$as_me:$LINENO: result: $wx_cv_func_statfs_decl" >&5
36418 echo "${ECHO_T}$wx_cv_func_statfs_decl" >&6; }
36420 if test "$wx_cv_func_statfs_decl" = "yes"; then
36421 cat >>confdefs.h
<<\_ACEOF
36422 #define HAVE_STATFS_DECL 1
36427 wx_cv_type_statvfs_t
="struct statfs"
36428 cat >>confdefs.h
<<\_ACEOF
36429 #define HAVE_STATFS 1
36433 { echo "$as_me:$LINENO: checking for statvfs" >&5
36434 echo $ECHO_N "checking for statvfs... $ECHO_C" >&6; }
36435 if test "${wx_cv_func_statvfs+set}" = set; then
36436 echo $ECHO_N "(cached) $ECHO_C" >&6
36438 cat >conftest.
$ac_ext <<_ACEOF
36441 cat confdefs.h
>>conftest.
$ac_ext
36442 cat >>conftest.
$ac_ext <<_ACEOF
36443 /* end confdefs.h. */
36445 #include <stddef.h>
36446 #include <sys/statvfs.h>
36452 statvfs("/", NULL);
36458 rm -f conftest.
$ac_objext
36459 if { (ac_try
="$ac_compile"
36460 case "(($ac_try" in
36461 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
36462 *) ac_try_echo=$ac_try;;
36464 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36465 (eval "$ac_compile") 2>conftest.er1
36467 grep -v '^ *+' conftest.er1 >conftest.err
36469 cat conftest.err >&5
36470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36471 (exit $ac_status); } && {
36472 test -z "$ac_c_werror_flag" ||
36473 test ! -s conftest.err
36474 } && test -s conftest.$ac_objext; then
36475 wx_cv_func_statvfs=yes
36477 echo "$as_me: failed program was:" >&5
36478 sed 's/^/| /' conftest.$ac_ext >&5
36480 wx_cv_func_statvfs=no
36484 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36487 { echo "$as_me:$LINENO: result: $wx_cv_func_statvfs" >&5
36488 echo "${ECHO_T}$wx_cv_func_statvfs" >&6; }
36490 if test "$wx_cv_func_statvfs" = "yes"; then
36491 { echo "$as_me:$LINENO: checking for statvfs argument type" >&5
36492 echo $ECHO_N "checking for statvfs argument type... $ECHO_C" >&6; }
36493 if test "${wx_cv_type_statvfs_t+set}" = set; then
36494 echo $ECHO_N "(cached) $ECHO_C" >&6
36497 ac_cpp='$CXXCPP $CPPFLAGS'
36498 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36499 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36500 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36502 cat >conftest.$ac_ext <<_ACEOF
36505 cat confdefs.h >>conftest.$ac_ext
36506 cat >>conftest.$ac_ext <<_ACEOF
36507 /* end confdefs.h. */
36509 #include <sys/statvfs.h>
36526 rm -f conftest.$ac_objext
36527 if { (ac_try="$ac_compile"
36528 case "(($ac_try" in
36529 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
36530 *) ac_try_echo
=$ac_try;;
36532 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36533 (eval "$ac_compile") 2>conftest.er1
36535 grep -v '^ *+' conftest.er1
>conftest.err
36537 cat conftest.err
>&5
36538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36539 (exit $ac_status); } && {
36540 test -z "$ac_cxx_werror_flag" ||
36541 test ! -s conftest.err
36542 } && test -s conftest.
$ac_objext; then
36543 wx_cv_type_statvfs_t
=statvfs_t
36545 echo "$as_me: failed program was:" >&5
36546 sed 's/^/| /' conftest.
$ac_ext >&5
36549 cat >conftest.
$ac_ext <<_ACEOF
36552 cat confdefs.h
>>conftest.
$ac_ext
36553 cat >>conftest.
$ac_ext <<_ACEOF
36554 /* end confdefs.h. */
36556 #include <sys/statvfs.h>
36573 rm -f conftest.
$ac_objext
36574 if { (ac_try
="$ac_compile"
36575 case "(($ac_try" in
36576 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
36577 *) ac_try_echo=$ac_try;;
36579 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36580 (eval "$ac_compile") 2>conftest.er1
36582 grep -v '^ *+' conftest.er1 >conftest.err
36584 cat conftest.err >&5
36585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36586 (exit $ac_status); } && {
36587 test -z "$ac_cxx_werror_flag" ||
36588 test ! -s conftest.err
36589 } && test -s conftest.$ac_objext; then
36590 wx_cv_type_statvfs_t="struct statvfs"
36592 echo "$as_me: failed program was:" >&5
36593 sed 's/^/| /' conftest.$ac_ext >&5
36595 wx_cv_type_statvfs_t="unknown"
36599 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36604 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36606 ac_cpp='$CPP $CPPFLAGS'
36607 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36608 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36609 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36613 { echo "$as_me:$LINENO: result: $wx_cv_type_statvfs_t" >&5
36614 echo "${ECHO_T}$wx_cv_type_statvfs_t" >&6; }
36616 if test "$wx_cv_type_statvfs_t" != "unknown"; then
36617 cat >>confdefs.h <<\_ACEOF
36618 #define HAVE_STATVFS 1
36623 wx_cv_type_statvfs_t="unknown"
36627 if test "$wx_cv_type_statvfs_t" != "unknown"; then
36628 cat >>confdefs.h <<_ACEOF
36629 #define WX_STATFS_T $wx_cv_type_statvfs_t
36633 { echo "$as_me:$LINENO: WARNING: wxGetDiskSpace() function won't work without statfs()" >&5
36634 echo "$as_me: WARNING: wxGetDiskSpace() function won't work without statfs()" >&2;}
36637 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
36640 for ac_func in fcntl flock
36642 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36643 { echo "$as_me:$LINENO: checking for $ac_func" >&5
36644 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
36645 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
36646 echo $ECHO_N "(cached) $ECHO_C" >&6
36648 cat >conftest.$ac_ext <<_ACEOF
36651 cat confdefs.h >>conftest.$ac_ext
36652 cat >>conftest.$ac_ext <<_ACEOF
36653 /* end confdefs.h. */
36654 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36655 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36656 #define $ac_func innocuous_$ac_func
36658 /* System header to define __stub macros and hopefully few prototypes,
36659 which can conflict with char $ac_func (); below.
36660 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36661 <limits.h> exists even on freestanding compilers. */
36664 # include <limits.h>
36666 # include <assert.h>
36671 /* Override any GCC internal prototype to avoid an error.
36672 Use char because int might match the return type of a GCC
36673 builtin and then its argument prototype would still apply. */
36678 /* The GNU C library defines this for functions which it implements
36679 to always fail with ENOSYS. Some functions are actually named
36680 something starting with __ and the normal name is an alias. */
36681 #if defined __stub_$ac_func || defined __stub___$ac_func
36688 return $ac_func ();
36693 rm -f conftest.$ac_objext conftest$ac_exeext
36694 if { (ac_try="$ac_link"
36695 case "(($ac_try" in
36696 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
36697 *) ac_try_echo
=$ac_try;;
36699 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36700 (eval "$ac_link") 2>conftest.er1
36702 grep -v '^ *+' conftest.er1
>conftest.err
36704 cat conftest.err
>&5
36705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36706 (exit $ac_status); } && {
36707 test -z "$ac_c_werror_flag" ||
36708 test ! -s conftest.err
36709 } && test -s conftest
$ac_exeext &&
36710 $as_test_x conftest
$ac_exeext; then
36711 eval "$as_ac_var=yes"
36713 echo "$as_me: failed program was:" >&5
36714 sed 's/^/| /' conftest.
$ac_ext >&5
36716 eval "$as_ac_var=no"
36719 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
36720 conftest
$ac_exeext conftest.
$ac_ext
36722 ac_res
=`eval echo '${'$as_ac_var'}'`
36723 { echo "$as_me:$LINENO: result: $ac_res" >&5
36724 echo "${ECHO_T}$ac_res" >&6; }
36725 if test `eval echo '${'$as_ac_var'}'` = yes; then
36726 cat >>confdefs.h
<<_ACEOF
36727 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36734 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
36735 { echo "$as_me:$LINENO: WARNING: wxSingleInstanceChecker not available" >&5
36736 echo "$as_me: WARNING: wxSingleInstanceChecker not available" >&2;}
36737 wxUSE_SNGLINST_CHECKER
=no
36743 for ac_func
in setenv putenv
36745 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36746 { echo "$as_me:$LINENO: checking for $ac_func" >&5
36747 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
36748 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
36749 echo $ECHO_N "(cached) $ECHO_C" >&6
36751 cat >conftest.
$ac_ext <<_ACEOF
36754 cat confdefs.h
>>conftest.
$ac_ext
36755 cat >>conftest.
$ac_ext <<_ACEOF
36756 /* end confdefs.h. */
36757 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36758 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36759 #define $ac_func innocuous_$ac_func
36761 /* System header to define __stub macros and hopefully few prototypes,
36762 which can conflict with char $ac_func (); below.
36763 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36764 <limits.h> exists even on freestanding compilers. */
36767 # include <limits.h>
36769 # include <assert.h>
36774 /* Override any GCC internal prototype to avoid an error.
36775 Use char because int might match the return type of a GCC
36776 builtin and then its argument prototype would still apply. */
36781 /* The GNU C library defines this for functions which it implements
36782 to always fail with ENOSYS. Some functions are actually named
36783 something starting with __ and the normal name is an alias. */
36784 #if defined __stub_$ac_func || defined __stub___$ac_func
36791 return $ac_func ();
36796 rm -f conftest.
$ac_objext conftest
$ac_exeext
36797 if { (ac_try
="$ac_link"
36798 case "(($ac_try" in
36799 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
36800 *) ac_try_echo=$ac_try;;
36802 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36803 (eval "$ac_link") 2>conftest.er1
36805 grep -v '^ *+' conftest.er1 >conftest.err
36807 cat conftest.err >&5
36808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36809 (exit $ac_status); } && {
36810 test -z "$ac_c_werror_flag" ||
36811 test ! -s conftest.err
36812 } && test -s conftest$ac_exeext &&
36813 $as_test_x conftest$ac_exeext; then
36814 eval "$as_ac_var=yes"
36816 echo "$as_me: failed program was:" >&5
36817 sed 's/^/| /' conftest.$ac_ext >&5
36819 eval "$as_ac_var=no"
36822 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36823 conftest$ac_exeext conftest.$ac_ext
36825 ac_res=`eval echo '${'$as_ac_var'}'`
36826 { echo "$as_me:$LINENO: result: $ac_res" >&5
36827 echo "${ECHO_T}$ac_res" >&6; }
36828 if test `eval echo '${'$as_ac_var'}'` = yes; then
36829 cat >>confdefs.h <<_ACEOF
36830 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36836 if test "$ac_cv_func_setenv" = "yes"; then
36838 for ac_func in unsetenv
36840 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36841 { echo "$as_me:$LINENO: checking for $ac_func" >&5
36842 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
36843 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
36844 echo $ECHO_N "(cached) $ECHO_C" >&6
36846 cat >conftest.$ac_ext <<_ACEOF
36849 cat confdefs.h >>conftest.$ac_ext
36850 cat >>conftest.$ac_ext <<_ACEOF
36851 /* end confdefs.h. */
36852 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36853 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36854 #define $ac_func innocuous_$ac_func
36856 /* System header to define __stub macros and hopefully few prototypes,
36857 which can conflict with char $ac_func (); below.
36858 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36859 <limits.h> exists even on freestanding compilers. */
36862 # include <limits.h>
36864 # include <assert.h>
36869 /* Override any GCC internal prototype to avoid an error.
36870 Use char because int might match the return type of a GCC
36871 builtin and then its argument prototype would still apply. */
36876 /* The GNU C library defines this for functions which it implements
36877 to always fail with ENOSYS. Some functions are actually named
36878 something starting with __ and the normal name is an alias. */
36879 #if defined __stub_$ac_func || defined __stub___$ac_func
36886 return $ac_func ();
36891 rm -f conftest.$ac_objext conftest$ac_exeext
36892 if { (ac_try="$ac_link"
36893 case "(($ac_try" in
36894 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
36895 *) ac_try_echo
=$ac_try;;
36897 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36898 (eval "$ac_link") 2>conftest.er1
36900 grep -v '^ *+' conftest.er1
>conftest.err
36902 cat conftest.err
>&5
36903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36904 (exit $ac_status); } && {
36905 test -z "$ac_c_werror_flag" ||
36906 test ! -s conftest.err
36907 } && test -s conftest
$ac_exeext &&
36908 $as_test_x conftest
$ac_exeext; then
36909 eval "$as_ac_var=yes"
36911 echo "$as_me: failed program was:" >&5
36912 sed 's/^/| /' conftest.
$ac_ext >&5
36914 eval "$as_ac_var=no"
36917 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
36918 conftest
$ac_exeext conftest.
$ac_ext
36920 ac_res
=`eval echo '${'$as_ac_var'}'`
36921 { echo "$as_me:$LINENO: result: $ac_res" >&5
36922 echo "${ECHO_T}$ac_res" >&6; }
36923 if test `eval echo '${'$as_ac_var'}'` = yes; then
36924 cat >>confdefs.h
<<_ACEOF
36925 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36933 HAVE_SOME_SLEEP_FUNC
=0
36934 if test "$USE_BEOS" = 1; then
36935 cat >>confdefs.h
<<\_ACEOF
36936 #define HAVE_SLEEP 1
36939 HAVE_SOME_SLEEP_FUNC
=1
36942 if test "$USE_DARWIN" = 1; then
36943 cat >>confdefs.h
<<\_ACEOF
36944 #define HAVE_USLEEP 1
36947 HAVE_SOME_SLEEP_FUNC
=1
36950 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
36953 for ac_func
in nanosleep
36955 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36956 { echo "$as_me:$LINENO: checking for $ac_func" >&5
36957 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
36958 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
36959 echo $ECHO_N "(cached) $ECHO_C" >&6
36961 cat >conftest.
$ac_ext <<_ACEOF
36964 cat confdefs.h
>>conftest.
$ac_ext
36965 cat >>conftest.
$ac_ext <<_ACEOF
36966 /* end confdefs.h. */
36967 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36968 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36969 #define $ac_func innocuous_$ac_func
36971 /* System header to define __stub macros and hopefully few prototypes,
36972 which can conflict with char $ac_func (); below.
36973 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36974 <limits.h> exists even on freestanding compilers. */
36977 # include <limits.h>
36979 # include <assert.h>
36984 /* Override any GCC internal prototype to avoid an error.
36985 Use char because int might match the return type of a GCC
36986 builtin and then its argument prototype would still apply. */
36991 /* The GNU C library defines this for functions which it implements
36992 to always fail with ENOSYS. Some functions are actually named
36993 something starting with __ and the normal name is an alias. */
36994 #if defined __stub_$ac_func || defined __stub___$ac_func
37001 return $ac_func ();
37006 rm -f conftest.
$ac_objext conftest
$ac_exeext
37007 if { (ac_try
="$ac_link"
37008 case "(($ac_try" in
37009 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
37010 *) ac_try_echo=$ac_try;;
37012 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37013 (eval "$ac_link") 2>conftest.er1
37015 grep -v '^ *+' conftest.er1 >conftest.err
37017 cat conftest.err >&5
37018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37019 (exit $ac_status); } && {
37020 test -z "$ac_c_werror_flag" ||
37021 test ! -s conftest.err
37022 } && test -s conftest$ac_exeext &&
37023 $as_test_x conftest$ac_exeext; then
37024 eval "$as_ac_var=yes"
37026 echo "$as_me: failed program was:" >&5
37027 sed 's/^/| /' conftest.$ac_ext >&5
37029 eval "$as_ac_var=no"
37032 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37033 conftest$ac_exeext conftest.$ac_ext
37035 ac_res=`eval echo '${'$as_ac_var'}'`
37036 { echo "$as_me:$LINENO: result: $ac_res" >&5
37037 echo "${ECHO_T}$ac_res" >&6; }
37038 if test `eval echo '${'$as_ac_var'}'` = yes; then
37039 cat >>confdefs.h <<_ACEOF
37040 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37042 cat >>confdefs.h <<\_ACEOF
37043 #define HAVE_NANOSLEEP 1
37048 { echo "$as_me:$LINENO: checking for nanosleep in -lposix4" >&5
37049 echo $ECHO_N "checking for nanosleep in -lposix4... $ECHO_C" >&6; }
37050 if test "${ac_cv_lib_posix4_nanosleep+set}" = set; then
37051 echo $ECHO_N "(cached) $ECHO_C" >&6
37053 ac_check_lib_save_LIBS=$LIBS
37054 LIBS="-lposix4 $LIBS"
37055 cat >conftest.$ac_ext <<_ACEOF
37058 cat confdefs.h >>conftest.$ac_ext
37059 cat >>conftest.$ac_ext <<_ACEOF
37060 /* end confdefs.h. */
37062 /* Override any GCC internal prototype to avoid an error.
37063 Use char because int might match the return type of a GCC
37064 builtin and then its argument prototype would still apply. */
37072 return nanosleep ();
37077 rm -f conftest.$ac_objext conftest$ac_exeext
37078 if { (ac_try="$ac_link"
37079 case "(($ac_try" in
37080 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
37081 *) ac_try_echo
=$ac_try;;
37083 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37084 (eval "$ac_link") 2>conftest.er1
37086 grep -v '^ *+' conftest.er1
>conftest.err
37088 cat conftest.err
>&5
37089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37090 (exit $ac_status); } && {
37091 test -z "$ac_c_werror_flag" ||
37092 test ! -s conftest.err
37093 } && test -s conftest
$ac_exeext &&
37094 $as_test_x conftest
$ac_exeext; then
37095 ac_cv_lib_posix4_nanosleep
=yes
37097 echo "$as_me: failed program was:" >&5
37098 sed 's/^/| /' conftest.
$ac_ext >&5
37100 ac_cv_lib_posix4_nanosleep
=no
37103 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
37104 conftest
$ac_exeext conftest.
$ac_ext
37105 LIBS
=$ac_check_lib_save_LIBS
37107 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_nanosleep" >&5
37108 echo "${ECHO_T}$ac_cv_lib_posix4_nanosleep" >&6; }
37109 if test $ac_cv_lib_posix4_nanosleep = yes; then
37111 cat >>confdefs.h
<<\_ACEOF
37112 #define HAVE_NANOSLEEP 1
37115 POSIX4_LINK
=" -lposix4"
37120 for wx_func
in usleep
37122 { echo "$as_me:$LINENO: checking for $wx_func" >&5
37123 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
37124 if { as_var
=wx_cv_func_
$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
37125 echo $ECHO_N "(cached) $ECHO_C" >&6
37128 cat >conftest.
$ac_ext <<_ACEOF
37132 cat confdefs.h
>>conftest.
$ac_ext
37133 cat >>conftest.
$ac_ext <<_ACEOF
37134 /* end confdefs.h. */
37137 $ac_includes_default
37153 rm -f conftest.
$ac_objext conftest
$ac_exeext
37154 if { (ac_try
="$ac_link"
37155 case "(($ac_try" in
37156 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
37157 *) ac_try_echo=$ac_try;;
37159 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37160 (eval "$ac_link") 2>conftest.er1
37162 grep -v '^ *+' conftest.er1 >conftest.err
37164 cat conftest.err >&5
37165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37166 (exit $ac_status); } && {
37167 test -z "$ac_c_werror_flag" ||
37168 test ! -s conftest.err
37169 } && test -s conftest$ac_exeext &&
37170 $as_test_x conftest$ac_exeext; then
37171 eval wx_cv_func_$wx_func=yes
37173 echo "$as_me: failed program was:" >&5
37174 sed 's/^/| /' conftest.$ac_ext >&5
37176 eval wx_cv_func_$wx_func=no
37179 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37180 conftest$ac_exeext conftest.$ac_ext
37183 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
37184 { echo "$as_me:$LINENO: result: $ac_res" >&5
37185 echo "${ECHO_T}$ac_res" >&6; }
37187 if eval test \$wx_cv_func_$wx_func = yes
37189 cat >>confdefs.h <<_ACEOF
37190 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
37196 { echo "$as_me:$LINENO: WARNING: wxSleep() function will not work" >&5
37197 echo "$as_me: WARNING: wxSleep() function will not work" >&2;}
37214 for wx_func in uname
37216 { echo "$as_me:$LINENO: checking for $wx_func" >&5
37217 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
37218 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
37219 echo $ECHO_N "(cached) $ECHO_C" >&6
37222 cat >conftest.$ac_ext <<_ACEOF
37226 cat confdefs.h >>conftest.$ac_ext
37227 cat >>conftest.$ac_ext <<_ACEOF
37228 /* end confdefs.h. */
37230 #include <sys/utsname.h>
37231 $ac_includes_default
37247 rm -f conftest.$ac_objext conftest$ac_exeext
37248 if { (ac_try="$ac_link"
37249 case "(($ac_try" in
37250 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
37251 *) ac_try_echo
=$ac_try;;
37253 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37254 (eval "$ac_link") 2>conftest.er1
37256 grep -v '^ *+' conftest.er1
>conftest.err
37258 cat conftest.err
>&5
37259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37260 (exit $ac_status); } && {
37261 test -z "$ac_c_werror_flag" ||
37262 test ! -s conftest.err
37263 } && test -s conftest
$ac_exeext &&
37264 $as_test_x conftest
$ac_exeext; then
37265 eval wx_cv_func_
$wx_func=yes
37267 echo "$as_me: failed program was:" >&5
37268 sed 's/^/| /' conftest.
$ac_ext >&5
37270 eval wx_cv_func_
$wx_func=no
37273 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
37274 conftest
$ac_exeext conftest.
$ac_ext
37277 ac_res
=`eval echo '${'wx_cv_func_$wx_func'}'`
37278 { echo "$as_me:$LINENO: result: $ac_res" >&5
37279 echo "${ECHO_T}$ac_res" >&6; }
37281 if eval test \
$wx_cv_func_$wx_func = yes
37283 cat >>confdefs.h
<<_ACEOF
37284 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
37294 if test "$wx_cv_func_uname" != yes; then
37296 for wx_func
in gethostname
37298 { echo "$as_me:$LINENO: checking for $wx_func" >&5
37299 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
37300 if { as_var
=wx_cv_func_
$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
37301 echo $ECHO_N "(cached) $ECHO_C" >&6
37304 cat >conftest.
$ac_ext <<_ACEOF
37308 cat confdefs.h
>>conftest.
$ac_ext
37309 cat >>conftest.
$ac_ext <<_ACEOF
37310 /* end confdefs.h. */
37313 $ac_includes_default
37329 rm -f conftest.
$ac_objext conftest
$ac_exeext
37330 if { (ac_try
="$ac_link"
37331 case "(($ac_try" in
37332 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
37333 *) ac_try_echo=$ac_try;;
37335 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37336 (eval "$ac_link") 2>conftest.er1
37338 grep -v '^ *+' conftest.er1 >conftest.err
37340 cat conftest.err >&5
37341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37342 (exit $ac_status); } && {
37343 test -z "$ac_c_werror_flag" ||
37344 test ! -s conftest.err
37345 } && test -s conftest$ac_exeext &&
37346 $as_test_x conftest$ac_exeext; then
37347 eval wx_cv_func_$wx_func=yes
37349 echo "$as_me: failed program was:" >&5
37350 sed 's/^/| /' conftest.$ac_ext >&5
37352 eval wx_cv_func_$wx_func=no
37355 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37356 conftest$ac_exeext conftest.$ac_ext
37359 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
37360 { echo "$as_me:$LINENO: result: $ac_res" >&5
37361 echo "${ECHO_T}$ac_res" >&6; }
37363 if eval test \$wx_cv_func_$wx_func = yes
37365 cat >>confdefs.h <<_ACEOF
37366 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
37379 for wx_func in strtok_r
37381 { echo "$as_me:$LINENO: checking for $wx_func" >&5
37382 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
37383 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
37384 echo $ECHO_N "(cached) $ECHO_C" >&6
37387 cat >conftest.$ac_ext <<_ACEOF
37391 cat confdefs.h >>conftest.$ac_ext
37392 cat >>conftest.$ac_ext <<_ACEOF
37393 /* end confdefs.h. */
37396 $ac_includes_default
37412 rm -f conftest.$ac_objext conftest$ac_exeext
37413 if { (ac_try="$ac_link"
37414 case "(($ac_try" in
37415 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
37416 *) ac_try_echo
=$ac_try;;
37418 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37419 (eval "$ac_link") 2>conftest.er1
37421 grep -v '^ *+' conftest.er1
>conftest.err
37423 cat conftest.err
>&5
37424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37425 (exit $ac_status); } && {
37426 test -z "$ac_c_werror_flag" ||
37427 test ! -s conftest.err
37428 } && test -s conftest
$ac_exeext &&
37429 $as_test_x conftest
$ac_exeext; then
37430 eval wx_cv_func_
$wx_func=yes
37432 echo "$as_me: failed program was:" >&5
37433 sed 's/^/| /' conftest.
$ac_ext >&5
37435 eval wx_cv_func_
$wx_func=no
37438 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
37439 conftest
$ac_exeext conftest.
$ac_ext
37442 ac_res
=`eval echo '${'wx_cv_func_$wx_func'}'`
37443 { echo "$as_me:$LINENO: result: $ac_res" >&5
37444 echo "${ECHO_T}$ac_res" >&6; }
37446 if eval test \
$wx_cv_func_$wx_func = yes
37448 cat >>confdefs.h
<<_ACEOF
37449 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
37462 for ac_func
in inet_addr
37464 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37465 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37466 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37467 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37468 echo $ECHO_N "(cached) $ECHO_C" >&6
37470 cat >conftest.
$ac_ext <<_ACEOF
37473 cat confdefs.h
>>conftest.
$ac_ext
37474 cat >>conftest.
$ac_ext <<_ACEOF
37475 /* end confdefs.h. */
37476 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37477 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37478 #define $ac_func innocuous_$ac_func
37480 /* System header to define __stub macros and hopefully few prototypes,
37481 which can conflict with char $ac_func (); below.
37482 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37483 <limits.h> exists even on freestanding compilers. */
37486 # include <limits.h>
37488 # include <assert.h>
37493 /* Override any GCC internal prototype to avoid an error.
37494 Use char because int might match the return type of a GCC
37495 builtin and then its argument prototype would still apply. */
37500 /* The GNU C library defines this for functions which it implements
37501 to always fail with ENOSYS. Some functions are actually named
37502 something starting with __ and the normal name is an alias. */
37503 #if defined __stub_$ac_func || defined __stub___$ac_func
37510 return $ac_func ();
37515 rm -f conftest.
$ac_objext conftest
$ac_exeext
37516 if { (ac_try
="$ac_link"
37517 case "(($ac_try" in
37518 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
37519 *) ac_try_echo=$ac_try;;
37521 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37522 (eval "$ac_link") 2>conftest.er1
37524 grep -v '^ *+' conftest.er1 >conftest.err
37526 cat conftest.err >&5
37527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37528 (exit $ac_status); } && {
37529 test -z "$ac_c_werror_flag" ||
37530 test ! -s conftest.err
37531 } && test -s conftest$ac_exeext &&
37532 $as_test_x conftest$ac_exeext; then
37533 eval "$as_ac_var=yes"
37535 echo "$as_me: failed program was:" >&5
37536 sed 's/^/| /' conftest.$ac_ext >&5
37538 eval "$as_ac_var=no"
37541 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37542 conftest$ac_exeext conftest.$ac_ext
37544 ac_res=`eval echo '${'$as_ac_var'}'`
37545 { echo "$as_me:$LINENO: result: $ac_res" >&5
37546 echo "${ECHO_T}$ac_res" >&6; }
37547 if test `eval echo '${'$as_ac_var'}'` = yes; then
37548 cat >>confdefs.h <<_ACEOF
37549 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37551 cat >>confdefs.h <<\_ACEOF
37552 #define HAVE_INET_ADDR 1
37557 { echo "$as_me:$LINENO: checking for inet_addr in -lnsl" >&5
37558 echo $ECHO_N "checking for inet_addr in -lnsl... $ECHO_C" >&6; }
37559 if test "${ac_cv_lib_nsl_inet_addr+set}" = set; then
37560 echo $ECHO_N "(cached) $ECHO_C" >&6
37562 ac_check_lib_save_LIBS=$LIBS
37564 cat >conftest.$ac_ext <<_ACEOF
37567 cat confdefs.h >>conftest.$ac_ext
37568 cat >>conftest.$ac_ext <<_ACEOF
37569 /* end confdefs.h. */
37571 /* Override any GCC internal prototype to avoid an error.
37572 Use char because int might match the return type of a GCC
37573 builtin and then its argument prototype would still apply. */
37581 return inet_addr ();
37586 rm -f conftest.$ac_objext conftest$ac_exeext
37587 if { (ac_try="$ac_link"
37588 case "(($ac_try" in
37589 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
37590 *) ac_try_echo
=$ac_try;;
37592 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37593 (eval "$ac_link") 2>conftest.er1
37595 grep -v '^ *+' conftest.er1
>conftest.err
37597 cat conftest.err
>&5
37598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37599 (exit $ac_status); } && {
37600 test -z "$ac_c_werror_flag" ||
37601 test ! -s conftest.err
37602 } && test -s conftest
$ac_exeext &&
37603 $as_test_x conftest
$ac_exeext; then
37604 ac_cv_lib_nsl_inet_addr
=yes
37606 echo "$as_me: failed program was:" >&5
37607 sed 's/^/| /' conftest.
$ac_ext >&5
37609 ac_cv_lib_nsl_inet_addr
=no
37612 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
37613 conftest
$ac_exeext conftest.
$ac_ext
37614 LIBS
=$ac_check_lib_save_LIBS
37616 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_inet_addr" >&5
37617 echo "${ECHO_T}$ac_cv_lib_nsl_inet_addr" >&6; }
37618 if test $ac_cv_lib_nsl_inet_addr = yes; then
37622 { echo "$as_me:$LINENO: checking for inet_addr in -lresolv" >&5
37623 echo $ECHO_N "checking for inet_addr in -lresolv... $ECHO_C" >&6; }
37624 if test "${ac_cv_lib_resolv_inet_addr+set}" = set; then
37625 echo $ECHO_N "(cached) $ECHO_C" >&6
37627 ac_check_lib_save_LIBS
=$LIBS
37628 LIBS
="-lresolv $LIBS"
37629 cat >conftest.
$ac_ext <<_ACEOF
37632 cat confdefs.h
>>conftest.
$ac_ext
37633 cat >>conftest.
$ac_ext <<_ACEOF
37634 /* end confdefs.h. */
37636 /* Override any GCC internal prototype to avoid an error.
37637 Use char because int might match the return type of a GCC
37638 builtin and then its argument prototype would still apply. */
37646 return inet_addr ();
37651 rm -f conftest.
$ac_objext conftest
$ac_exeext
37652 if { (ac_try
="$ac_link"
37653 case "(($ac_try" in
37654 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
37655 *) ac_try_echo=$ac_try;;
37657 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37658 (eval "$ac_link") 2>conftest.er1
37660 grep -v '^ *+' conftest.er1 >conftest.err
37662 cat conftest.err >&5
37663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37664 (exit $ac_status); } && {
37665 test -z "$ac_c_werror_flag" ||
37666 test ! -s conftest.err
37667 } && test -s conftest$ac_exeext &&
37668 $as_test_x conftest$ac_exeext; then
37669 ac_cv_lib_resolv_inet_addr=yes
37671 echo "$as_me: failed program was:" >&5
37672 sed 's/^/| /' conftest.$ac_ext >&5
37674 ac_cv_lib_resolv_inet_addr=no
37677 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37678 conftest$ac_exeext conftest.$ac_ext
37679 LIBS=$ac_check_lib_save_LIBS
37681 { echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_addr" >&5
37682 echo "${ECHO_T}$ac_cv_lib_resolv_inet_addr" >&6; }
37683 if test $ac_cv_lib_resolv_inet_addr = yes; then
37687 { echo "$as_me:$LINENO: checking for inet_addr in -lsocket" >&5
37688 echo $ECHO_N "checking for inet_addr in -lsocket... $ECHO_C" >&6; }
37689 if test "${ac_cv_lib_socket_inet_addr+set}" = set; then
37690 echo $ECHO_N "(cached) $ECHO_C" >&6
37692 ac_check_lib_save_LIBS=$LIBS
37693 LIBS="-lsocket $LIBS"
37694 cat >conftest.$ac_ext <<_ACEOF
37697 cat confdefs.h >>conftest.$ac_ext
37698 cat >>conftest.$ac_ext <<_ACEOF
37699 /* end confdefs.h. */
37701 /* Override any GCC internal prototype to avoid an error.
37702 Use char because int might match the return type of a GCC
37703 builtin and then its argument prototype would still apply. */
37711 return inet_addr ();
37716 rm -f conftest.$ac_objext conftest$ac_exeext
37717 if { (ac_try="$ac_link"
37718 case "(($ac_try" in
37719 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
37720 *) ac_try_echo
=$ac_try;;
37722 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37723 (eval "$ac_link") 2>conftest.er1
37725 grep -v '^ *+' conftest.er1
>conftest.err
37727 cat conftest.err
>&5
37728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37729 (exit $ac_status); } && {
37730 test -z "$ac_c_werror_flag" ||
37731 test ! -s conftest.err
37732 } && test -s conftest
$ac_exeext &&
37733 $as_test_x conftest
$ac_exeext; then
37734 ac_cv_lib_socket_inet_addr
=yes
37736 echo "$as_me: failed program was:" >&5
37737 sed 's/^/| /' conftest.
$ac_ext >&5
37739 ac_cv_lib_socket_inet_addr
=no
37742 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
37743 conftest
$ac_exeext conftest.
$ac_ext
37744 LIBS
=$ac_check_lib_save_LIBS
37746 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_inet_addr" >&5
37747 echo "${ECHO_T}$ac_cv_lib_socket_inet_addr" >&6; }
37748 if test $ac_cv_lib_socket_inet_addr = yes; then
37768 for ac_func
in inet_aton
37770 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37771 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37772 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37773 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37774 echo $ECHO_N "(cached) $ECHO_C" >&6
37776 cat >conftest.
$ac_ext <<_ACEOF
37779 cat confdefs.h
>>conftest.
$ac_ext
37780 cat >>conftest.
$ac_ext <<_ACEOF
37781 /* end confdefs.h. */
37782 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37783 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37784 #define $ac_func innocuous_$ac_func
37786 /* System header to define __stub macros and hopefully few prototypes,
37787 which can conflict with char $ac_func (); below.
37788 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37789 <limits.h> exists even on freestanding compilers. */
37792 # include <limits.h>
37794 # include <assert.h>
37799 /* Override any GCC internal prototype to avoid an error.
37800 Use char because int might match the return type of a GCC
37801 builtin and then its argument prototype would still apply. */
37806 /* The GNU C library defines this for functions which it implements
37807 to always fail with ENOSYS. Some functions are actually named
37808 something starting with __ and the normal name is an alias. */
37809 #if defined __stub_$ac_func || defined __stub___$ac_func
37816 return $ac_func ();
37821 rm -f conftest.
$ac_objext conftest
$ac_exeext
37822 if { (ac_try
="$ac_link"
37823 case "(($ac_try" in
37824 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
37825 *) ac_try_echo=$ac_try;;
37827 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37828 (eval "$ac_link") 2>conftest.er1
37830 grep -v '^ *+' conftest.er1 >conftest.err
37832 cat conftest.err >&5
37833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37834 (exit $ac_status); } && {
37835 test -z "$ac_c_werror_flag" ||
37836 test ! -s conftest.err
37837 } && test -s conftest$ac_exeext &&
37838 $as_test_x conftest$ac_exeext; then
37839 eval "$as_ac_var=yes"
37841 echo "$as_me: failed program was:" >&5
37842 sed 's/^/| /' conftest.$ac_ext >&5
37844 eval "$as_ac_var=no"
37847 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37848 conftest$ac_exeext conftest.$ac_ext
37850 ac_res=`eval echo '${'$as_ac_var'}'`
37851 { echo "$as_me:$LINENO: result: $ac_res" >&5
37852 echo "${ECHO_T}$ac_res" >&6; }
37853 if test `eval echo '${'$as_ac_var'}'` = yes; then
37854 cat >>confdefs.h <<_ACEOF
37855 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37857 cat >>confdefs.h <<\_ACEOF
37858 #define HAVE_INET_ATON 1
37863 as_ac_Lib=`echo "ac_cv_lib_$INET_LINK''_inet_aton" | $as_tr_sh`
37864 { echo "$as_me:$LINENO: checking for inet_aton in -l$INET_LINK" >&5
37865 echo $ECHO_N "checking for inet_aton in -l$INET_LINK... $ECHO_C" >&6; }
37866 if { as_var=$as_ac_Lib; eval "test \"\${$as_var+set}\" = set"; }; then
37867 echo $ECHO_N "(cached) $ECHO_C" >&6
37869 ac_check_lib_save_LIBS=$LIBS
37870 LIBS="-l$INET_LINK $LIBS"
37871 cat >conftest.$ac_ext <<_ACEOF
37874 cat confdefs.h >>conftest.$ac_ext
37875 cat >>conftest.$ac_ext <<_ACEOF
37876 /* end confdefs.h. */
37878 /* Override any GCC internal prototype to avoid an error.
37879 Use char because int might match the return type of a GCC
37880 builtin and then its argument prototype would still apply. */
37888 return inet_aton ();
37893 rm -f conftest.$ac_objext conftest$ac_exeext
37894 if { (ac_try="$ac_link"
37895 case "(($ac_try" in
37896 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
37897 *) ac_try_echo
=$ac_try;;
37899 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37900 (eval "$ac_link") 2>conftest.er1
37902 grep -v '^ *+' conftest.er1
>conftest.err
37904 cat conftest.err
>&5
37905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37906 (exit $ac_status); } && {
37907 test -z "$ac_c_werror_flag" ||
37908 test ! -s conftest.err
37909 } && test -s conftest
$ac_exeext &&
37910 $as_test_x conftest
$ac_exeext; then
37911 eval "$as_ac_Lib=yes"
37913 echo "$as_me: failed program was:" >&5
37914 sed 's/^/| /' conftest.
$ac_ext >&5
37916 eval "$as_ac_Lib=no"
37919 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
37920 conftest
$ac_exeext conftest.
$ac_ext
37921 LIBS
=$ac_check_lib_save_LIBS
37923 ac_res
=`eval echo '${'$as_ac_Lib'}'`
37924 { echo "$as_me:$LINENO: result: $ac_res" >&5
37925 echo "${ECHO_T}$ac_res" >&6; }
37926 if test `eval echo '${'$as_ac_Lib'}'` = yes; then
37927 cat >>confdefs.h
<<\_ACEOF
37928 #define HAVE_INET_ATON 1
37938 if test "x$INET_LINK" != "x"; then
37939 cat >>confdefs.h
<<\_ACEOF
37940 #define HAVE_INET_ADDR 1
37943 INET_LINK
=" -l$INET_LINK"
37947 for wx_func
in fdopen
37949 { echo "$as_me:$LINENO: checking for $wx_func" >&5
37950 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
37951 if { as_var
=wx_cv_func_
$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
37952 echo $ECHO_N "(cached) $ECHO_C" >&6
37955 cat >conftest.
$ac_ext <<_ACEOF
37959 cat confdefs.h
>>conftest.
$ac_ext
37960 cat >>conftest.
$ac_ext <<_ACEOF
37961 /* end confdefs.h. */
37964 $ac_includes_default
37980 rm -f conftest.
$ac_objext conftest
$ac_exeext
37981 if { (ac_try
="$ac_link"
37982 case "(($ac_try" in
37983 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
37984 *) ac_try_echo=$ac_try;;
37986 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37987 (eval "$ac_link") 2>conftest.er1
37989 grep -v '^ *+' conftest.er1 >conftest.err
37991 cat conftest.err >&5
37992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37993 (exit $ac_status); } && {
37994 test -z "$ac_c_werror_flag" ||
37995 test ! -s conftest.err
37996 } && test -s conftest$ac_exeext &&
37997 $as_test_x conftest$ac_exeext; then
37998 eval wx_cv_func_$wx_func=yes
38000 echo "$as_me: failed program was:" >&5
38001 sed 's/^/| /' conftest.$ac_ext >&5
38003 eval wx_cv_func_$wx_func=no
38006 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38007 conftest$ac_exeext conftest.$ac_ext
38010 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
38011 { echo "$as_me:$LINENO: result: $ac_res" >&5
38012 echo "${ECHO_T}$ac_res" >&6; }
38014 if eval test \$wx_cv_func_$wx_func = yes
38016 cat >>confdefs.h <<_ACEOF
38017 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
38028 if test "$wxUSE_TARSTREAM" = "yes"; then
38030 for wx_func in sysconf
38032 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38033 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38034 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38035 echo $ECHO_N "(cached) $ECHO_C" >&6
38038 cat >conftest.$ac_ext <<_ACEOF
38042 cat confdefs.h >>conftest.$ac_ext
38043 cat >>conftest.$ac_ext <<_ACEOF
38044 /* end confdefs.h. */
38047 $ac_includes_default
38063 rm -f conftest.$ac_objext conftest$ac_exeext
38064 if { (ac_try="$ac_link"
38065 case "(($ac_try" in
38066 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
38067 *) ac_try_echo
=$ac_try;;
38069 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38070 (eval "$ac_link") 2>conftest.er1
38072 grep -v '^ *+' conftest.er1
>conftest.err
38074 cat conftest.err
>&5
38075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38076 (exit $ac_status); } && {
38077 test -z "$ac_c_werror_flag" ||
38078 test ! -s conftest.err
38079 } && test -s conftest
$ac_exeext &&
38080 $as_test_x conftest
$ac_exeext; then
38081 eval wx_cv_func_
$wx_func=yes
38083 echo "$as_me: failed program was:" >&5
38084 sed 's/^/| /' conftest.
$ac_ext >&5
38086 eval wx_cv_func_
$wx_func=no
38089 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
38090 conftest
$ac_exeext conftest.
$ac_ext
38093 ac_res
=`eval echo '${'wx_cv_func_$wx_func'}'`
38094 { echo "$as_me:$LINENO: result: $ac_res" >&5
38095 echo "${ECHO_T}$ac_res" >&6; }
38097 if eval test \
$wx_cv_func_$wx_func = yes
38099 cat >>confdefs.h
<<_ACEOF
38100 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
38112 for wx_func
in getpwuid_r
38114 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38115 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38116 if { as_var
=wx_cv_func_
$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38117 echo $ECHO_N "(cached) $ECHO_C" >&6
38120 cat >conftest.
$ac_ext <<_ACEOF
38124 cat confdefs.h
>>conftest.
$ac_ext
38125 cat >>conftest.
$ac_ext <<_ACEOF
38126 /* end confdefs.h. */
38132 $ac_includes_default
38142 struct passwd pw, *ppw;
38144 getpwuid_r(0, &pw, buf, sizeof(buf), &ppw)
38152 rm -f conftest.
$ac_objext conftest
$ac_exeext
38153 if { (ac_try
="$ac_link"
38154 case "(($ac_try" in
38155 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
38156 *) ac_try_echo=$ac_try;;
38158 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38159 (eval "$ac_link") 2>conftest.er1
38161 grep -v '^ *+' conftest.er1 >conftest.err
38163 cat conftest.err >&5
38164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38165 (exit $ac_status); } && {
38166 test -z "$ac_c_werror_flag" ||
38167 test ! -s conftest.err
38168 } && test -s conftest$ac_exeext &&
38169 $as_test_x conftest$ac_exeext; then
38170 eval wx_cv_func_$wx_func=yes
38172 echo "$as_me: failed program was:" >&5
38173 sed 's/^/| /' conftest.$ac_ext >&5
38175 eval wx_cv_func_$wx_func=no
38178 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38179 conftest$ac_exeext conftest.$ac_ext
38182 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
38183 { echo "$as_me:$LINENO: result: $ac_res" >&5
38184 echo "${ECHO_T}$ac_res" >&6; }
38186 if eval test \$wx_cv_func_$wx_func = yes
38188 cat >>confdefs.h <<_ACEOF
38189 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
38201 for wx_func in getgrgid_r
38203 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38204 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38205 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38206 echo $ECHO_N "(cached) $ECHO_C" >&6
38209 cat >conftest.$ac_ext <<_ACEOF
38213 cat confdefs.h >>conftest.$ac_ext
38214 cat >>conftest.$ac_ext <<_ACEOF
38215 /* end confdefs.h. */
38221 $ac_includes_default
38231 struct group grp, *pgrp;
38233 getgrgid_r(0, &grp, buf, sizeof(buf), &pgrp)
38241 rm -f conftest.$ac_objext conftest$ac_exeext
38242 if { (ac_try="$ac_link"
38243 case "(($ac_try" in
38244 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
38245 *) ac_try_echo
=$ac_try;;
38247 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38248 (eval "$ac_link") 2>conftest.er1
38250 grep -v '^ *+' conftest.er1
>conftest.err
38252 cat conftest.err
>&5
38253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38254 (exit $ac_status); } && {
38255 test -z "$ac_c_werror_flag" ||
38256 test ! -s conftest.err
38257 } && test -s conftest
$ac_exeext &&
38258 $as_test_x conftest
$ac_exeext; then
38259 eval wx_cv_func_
$wx_func=yes
38261 echo "$as_me: failed program was:" >&5
38262 sed 's/^/| /' conftest.
$ac_ext >&5
38264 eval wx_cv_func_
$wx_func=no
38267 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
38268 conftest
$ac_exeext conftest.
$ac_ext
38271 ac_res
=`eval echo '${'wx_cv_func_$wx_func'}'`
38272 { echo "$as_me:$LINENO: result: $ac_res" >&5
38273 echo "${ECHO_T}$ac_res" >&6; }
38275 if eval test \
$wx_cv_func_$wx_func = yes
38277 cat >>confdefs.h
<<_ACEOF
38278 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
38294 cat >confcache
<<\_ACEOF
38295 # This file is a shell script that caches the results of configure
38296 # tests run on this system so they can be shared between configure
38297 # scripts and configure runs, see configure's option --config-cache.
38298 # It is not useful on other systems. If it contains results you don't
38299 # want to keep, you may remove or edit it.
38301 # config.status only pays attention to the cache file if you give it
38302 # the --recheck option to rerun configure.
38304 # `ac_cv_env_foo' variables (set or unset) will be overridden when
38305 # loading this file, other *unset* `ac_cv_foo' will be assigned the
38306 # following values.
38310 # The following way of writing the cache mishandles newlines in values,
38311 # but we know of no workaround that is simple, portable, and efficient.
38312 # So, we kill variables containing newlines.
38313 # Ultrix sh set writes to stderr and can't be redirected directly,
38314 # and sets the high bit in the cache file unless we assign to the vars.
38316 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
38317 eval ac_val
=\$
$ac_var
38321 *_cv_
*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
38322 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
38325 _
| IFS
| as_nl
) ;; #(
38326 *) $as_unset $ac_var ;;
38332 case $as_nl`(ac_space=' '; set) 2>&1` in #(
38333 *${as_nl}ac_space
=\
*)
38334 # `set' does not quote correctly, so add quotes (double-quote
38335 # substitution turns \\\\ into \\, and sed turns \\ into \).
38338 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
38341 # `set' quotes correctly as required by POSIX, so do not add quotes.
38342 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
38351 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
38353 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
38355 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
38356 if test -w "$cache_file"; then
38357 test "x$cache_file" != "x/dev/null" &&
38358 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
38359 echo "$as_me: updating cache $cache_file" >&6;}
38360 cat confcache
>$cache_file
38362 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
38363 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
38369 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
38375 if test "$wxUSE_THREADS" = "yes" ; then
38376 if test "$USE_BEOS" = 1; then
38377 { echo "$as_me:$LINENO: WARNING: BeOS threads are not yet supported... disabled" >&5
38378 echo "$as_me: WARNING: BeOS threads are not yet supported... disabled" >&2;}
38383 if test "$wxUSE_THREADS" = "yes" ; then
38386 THREAD_OPTS
="-pthread"
38387 if test "x$SUNCXX" = xyes
; then
38388 THREAD_OPTS
="-mt lthread $THREAD_OPTS"
38392 *-*-solaris2* | *-*-sunos4* )
38393 if test "x$GCC" = "xyes"; then
38394 THREAD_OPTS
="-pthreads $THREAD_OPTS"
38398 THREAD_OPTS
="-kthread lthread $THREAD_OPTS c_r"
38400 *-*-darwin* | *-*-cygwin* )
38404 THREAD_OPTS
="pthreads"
38407 if test "x$GCC" = "xyes"; then
38408 $CXX -dumpspecs | grep 'pthread:' >/dev
/null
||
38416 if test "x$GCC" = "xyes"; then
38422 if test "x$GCC" != "xyes"; then
38423 THREAD_OPTS
="-Ethread"
38428 THREAD_OPTS
="$THREAD_OPTS pthread none"
38431 for flag
in $THREAD_OPTS; do
38434 { echo "$as_me:$LINENO: checking whether pthreads work without any flags" >&5
38435 echo $ECHO_N "checking whether pthreads work without any flags... $ECHO_C" >&6; }
38439 { echo "$as_me:$LINENO: checking whether pthreads work with $flag" >&5
38440 echo $ECHO_N "checking whether pthreads work with $flag... $ECHO_C" >&6; }
38441 THREADS_CFLAGS
="$flag"
38445 { echo "$as_me:$LINENO: checking for the pthreads library -l$flag" >&5
38446 echo $ECHO_N "checking for the pthreads library -l$flag... $ECHO_C" >&6; }
38447 THREADS_LINK
="-l$flag"
38452 save_CFLAGS
="$CFLAGS"
38453 LIBS
="$THREADS_LINK $LIBS"
38454 CFLAGS
="$THREADS_CFLAGS $CFLAGS"
38456 cat >conftest.
$ac_ext <<_ACEOF
38459 cat confdefs.h
>>conftest.
$ac_ext
38460 cat >>conftest.
$ac_ext <<_ACEOF
38461 /* end confdefs.h. */
38462 #include <pthread.h>
38466 pthread_create(0,0,0,0);
38471 rm -f conftest.
$ac_objext conftest
$ac_exeext
38472 if { (ac_try
="$ac_link"
38473 case "(($ac_try" in
38474 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
38475 *) ac_try_echo=$ac_try;;
38477 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38478 (eval "$ac_link") 2>conftest.er1
38480 grep -v '^ *+' conftest.er1 >conftest.err
38482 cat conftest.err >&5
38483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38484 (exit $ac_status); } && {
38485 test -z "$ac_c_werror_flag" ||
38486 test ! -s conftest.err
38487 } && test -s conftest$ac_exeext &&
38488 $as_test_x conftest$ac_exeext; then
38491 echo "$as_me: failed program was:" >&5
38492 sed 's/^/| /' conftest.$ac_ext >&5
38497 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38498 conftest$ac_exeext conftest.$ac_ext
38501 CFLAGS="$save_CFLAGS"
38503 { echo "$as_me:$LINENO: result: $THREADS_OK" >&5
38504 echo "${ECHO_T}$THREADS_OK" >&6; }
38505 if test "x$THREADS_OK" = "xyes"; then
38513 if test "x$THREADS_OK" != "xyes"; then
38515 { echo "$as_me:$LINENO: WARNING: No thread support on this system... disabled" >&5
38516 echo "$as_me: WARNING: No thread support on this system... disabled" >&2;}
38518 LDFLAGS="$THREADS_CFLAGS $LDFLAGS"
38519 LIBS="$THREADS_LINK $LIBS"
38521 { echo "$as_me:$LINENO: checking if more special flags are required for pthreads" >&5
38522 echo $ECHO_N "checking if more special flags are required for pthreads... $ECHO_C" >&6; }
38526 LDFLAGS="-L/usr/lib/threads $LDFLAGS"
38527 flag="-D_THREAD_SAFE"
38530 flag="-D_THREAD_SAFE"
38533 flag="-D_REENTRANT"
38534 if test "x$GCC" != "xyes"; then
38535 flag="$flag -D_RWSTD_MULTI_THREAD"
38538 *solaris* | alpha*-osf*)
38539 flag="-D_REENTRANT"
38542 { echo "$as_me:$LINENO: result: ${flag}" >&5
38543 echo "${ECHO_T}${flag}" >&6; }
38544 if test "x$flag" != xno; then
38545 THREADS_CFLAGS="$THREADS_CFLAGS $flag"
38548 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS $THREADS_CFLAGS"
38552 if test "$wxUSE_THREADS" = "yes" ; then
38554 for ac_func in thr_setconcurrency
38556 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38557 { echo "$as_me:$LINENO: checking for $ac_func" >&5
38558 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
38559 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
38560 echo $ECHO_N "(cached) $ECHO_C" >&6
38562 cat >conftest.$ac_ext <<_ACEOF
38565 cat confdefs.h >>conftest.$ac_ext
38566 cat >>conftest.$ac_ext <<_ACEOF
38567 /* end confdefs.h. */
38568 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38569 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38570 #define $ac_func innocuous_$ac_func
38572 /* System header to define __stub macros and hopefully few prototypes,
38573 which can conflict with char $ac_func (); below.
38574 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38575 <limits.h> exists even on freestanding compilers. */
38578 # include <limits.h>
38580 # include <assert.h>
38585 /* Override any GCC internal prototype to avoid an error.
38586 Use char because int might match the return type of a GCC
38587 builtin and then its argument prototype would still apply. */
38592 /* The GNU C library defines this for functions which it implements
38593 to always fail with ENOSYS. Some functions are actually named
38594 something starting with __ and the normal name is an alias. */
38595 #if defined __stub_$ac_func || defined __stub___$ac_func
38602 return $ac_func ();
38607 rm -f conftest.$ac_objext conftest$ac_exeext
38608 if { (ac_try="$ac_link"
38609 case "(($ac_try" in
38610 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
38611 *) ac_try_echo
=$ac_try;;
38613 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38614 (eval "$ac_link") 2>conftest.er1
38616 grep -v '^ *+' conftest.er1
>conftest.err
38618 cat conftest.err
>&5
38619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38620 (exit $ac_status); } && {
38621 test -z "$ac_c_werror_flag" ||
38622 test ! -s conftest.err
38623 } && test -s conftest
$ac_exeext &&
38624 $as_test_x conftest
$ac_exeext; then
38625 eval "$as_ac_var=yes"
38627 echo "$as_me: failed program was:" >&5
38628 sed 's/^/| /' conftest.
$ac_ext >&5
38630 eval "$as_ac_var=no"
38633 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
38634 conftest
$ac_exeext conftest.
$ac_ext
38636 ac_res
=`eval echo '${'$as_ac_var'}'`
38637 { echo "$as_me:$LINENO: result: $ac_res" >&5
38638 echo "${ECHO_T}$ac_res" >&6; }
38639 if test `eval echo '${'$as_ac_var'}'` = yes; then
38640 cat >>confdefs.h
<<_ACEOF
38641 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38648 { echo "$as_me:$LINENO: checking for pthread_cleanup_push/pop" >&5
38649 echo $ECHO_N "checking for pthread_cleanup_push/pop... $ECHO_C" >&6; }
38650 if test "${wx_cv_func_pthread_cleanup+set}" = set; then
38651 echo $ECHO_N "(cached) $ECHO_C" >&6
38655 ac_cpp
='$CXXCPP $CPPFLAGS'
38656 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38657 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38658 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
38660 cat >conftest.
$ac_ext <<_ACEOF
38663 cat confdefs.h
>>conftest.
$ac_ext
38664 cat >>conftest.
$ac_ext <<_ACEOF
38665 /* end confdefs.h. */
38666 #include <pthread.h>
38667 void ThreadCleanupFunc(void *p);
38674 pthread_cleanup_push(ThreadCleanupFunc, p);
38675 pthread_cleanup_pop(0);
38681 rm -f conftest.
$ac_objext
38682 if { (ac_try
="$ac_compile"
38683 case "(($ac_try" in
38684 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
38685 *) ac_try_echo=$ac_try;;
38687 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38688 (eval "$ac_compile") 2>conftest.er1
38690 grep -v '^ *+' conftest.er1 >conftest.err
38692 cat conftest.err >&5
38693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38694 (exit $ac_status); } && {
38695 test -z "$ac_cxx_werror_flag" ||
38696 test ! -s conftest.err
38697 } && test -s conftest.$ac_objext; then
38699 wx_cv_func_pthread_cleanup=yes
38702 echo "$as_me: failed program was:" >&5
38703 sed 's/^/| /' conftest.$ac_ext >&5
38706 wx_cv_func_pthread_cleanup=no
38711 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38713 ac_cpp='$CPP $CPPFLAGS'
38714 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38715 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38716 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38720 { echo "$as_me:$LINENO: result: $wx_cv_func_pthread_cleanup" >&5
38721 echo "${ECHO_T}$wx_cv_func_pthread_cleanup" >&6; }
38722 if test "x$wx_cv_func_pthread_cleanup" = "xyes"; then
38723 cat >>confdefs.h <<\_ACEOF
38724 #define wxHAVE_PTHREAD_CLEANUP 1
38730 for ac_header in sched.h
38732 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
38733 { echo "$as_me:$LINENO: checking for $ac_header" >&5
38734 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
38735 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
38736 echo $ECHO_N "(cached) $ECHO_C" >&6
38738 cat >conftest.$ac_ext <<_ACEOF
38741 cat confdefs.h >>conftest.$ac_ext
38742 cat >>conftest.$ac_ext <<_ACEOF
38743 /* end confdefs.h. */
38744 $ac_includes_default
38746 #include <$ac_header>
38748 rm -f conftest.$ac_objext
38749 if { (ac_try="$ac_compile"
38750 case "(($ac_try" in
38751 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
38752 *) ac_try_echo
=$ac_try;;
38754 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38755 (eval "$ac_compile") 2>conftest.er1
38757 grep -v '^ *+' conftest.er1
>conftest.err
38759 cat conftest.err
>&5
38760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38761 (exit $ac_status); } && {
38762 test -z "$ac_c_werror_flag" ||
38763 test ! -s conftest.err
38764 } && test -s conftest.
$ac_objext; then
38765 eval "$as_ac_Header=yes"
38767 echo "$as_me: failed program was:" >&5
38768 sed 's/^/| /' conftest.
$ac_ext >&5
38770 eval "$as_ac_Header=no"
38773 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
38775 ac_res
=`eval echo '${'$as_ac_Header'}'`
38776 { echo "$as_me:$LINENO: result: $ac_res" >&5
38777 echo "${ECHO_T}$ac_res" >&6; }
38778 if test `eval echo '${'$as_ac_Header'}'` = yes; then
38779 cat >>confdefs.h
<<_ACEOF
38780 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
38787 if test "$ac_cv_header_sched_h" = "yes"; then
38788 { echo "$as_me:$LINENO: checking for sched_yield" >&5
38789 echo $ECHO_N "checking for sched_yield... $ECHO_C" >&6; }
38790 if test "${ac_cv_func_sched_yield+set}" = set; then
38791 echo $ECHO_N "(cached) $ECHO_C" >&6
38793 cat >conftest.
$ac_ext <<_ACEOF
38796 cat confdefs.h
>>conftest.
$ac_ext
38797 cat >>conftest.
$ac_ext <<_ACEOF
38798 /* end confdefs.h. */
38799 /* Define sched_yield to an innocuous variant, in case <limits.h> declares sched_yield.
38800 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38801 #define sched_yield innocuous_sched_yield
38803 /* System header to define __stub macros and hopefully few prototypes,
38804 which can conflict with char sched_yield (); below.
38805 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38806 <limits.h> exists even on freestanding compilers. */
38809 # include <limits.h>
38811 # include <assert.h>
38816 /* Override any GCC internal prototype to avoid an error.
38817 Use char because int might match the return type of a GCC
38818 builtin and then its argument prototype would still apply. */
38822 char sched_yield ();
38823 /* The GNU C library defines this for functions which it implements
38824 to always fail with ENOSYS. Some functions are actually named
38825 something starting with __ and the normal name is an alias. */
38826 #if defined __stub_sched_yield || defined __stub___sched_yield
38833 return sched_yield ();
38838 rm -f conftest.
$ac_objext conftest
$ac_exeext
38839 if { (ac_try
="$ac_link"
38840 case "(($ac_try" in
38841 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
38842 *) ac_try_echo=$ac_try;;
38844 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38845 (eval "$ac_link") 2>conftest.er1
38847 grep -v '^ *+' conftest.er1 >conftest.err
38849 cat conftest.err >&5
38850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38851 (exit $ac_status); } && {
38852 test -z "$ac_c_werror_flag" ||
38853 test ! -s conftest.err
38854 } && test -s conftest$ac_exeext &&
38855 $as_test_x conftest$ac_exeext; then
38856 ac_cv_func_sched_yield=yes
38858 echo "$as_me: failed program was:" >&5
38859 sed 's/^/| /' conftest.$ac_ext >&5
38861 ac_cv_func_sched_yield=no
38864 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38865 conftest$ac_exeext conftest.$ac_ext
38867 { echo "$as_me:$LINENO: result: $ac_cv_func_sched_yield" >&5
38868 echo "${ECHO_T}$ac_cv_func_sched_yield" >&6; }
38869 if test $ac_cv_func_sched_yield = yes; then
38870 cat >>confdefs.h <<\_ACEOF
38871 #define HAVE_SCHED_YIELD 1
38876 { echo "$as_me:$LINENO: checking for sched_yield in -lposix4" >&5
38877 echo $ECHO_N "checking for sched_yield in -lposix4... $ECHO_C" >&6; }
38878 if test "${ac_cv_lib_posix4_sched_yield+set}" = set; then
38879 echo $ECHO_N "(cached) $ECHO_C" >&6
38881 ac_check_lib_save_LIBS=$LIBS
38882 LIBS="-lposix4 $LIBS"
38883 cat >conftest.$ac_ext <<_ACEOF
38886 cat confdefs.h >>conftest.$ac_ext
38887 cat >>conftest.$ac_ext <<_ACEOF
38888 /* end confdefs.h. */
38890 /* Override any GCC internal prototype to avoid an error.
38891 Use char because int might match the return type of a GCC
38892 builtin and then its argument prototype would still apply. */
38896 char sched_yield ();
38900 return sched_yield ();
38905 rm -f conftest.$ac_objext conftest$ac_exeext
38906 if { (ac_try="$ac_link"
38907 case "(($ac_try" in
38908 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
38909 *) ac_try_echo
=$ac_try;;
38911 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38912 (eval "$ac_link") 2>conftest.er1
38914 grep -v '^ *+' conftest.er1
>conftest.err
38916 cat conftest.err
>&5
38917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38918 (exit $ac_status); } && {
38919 test -z "$ac_c_werror_flag" ||
38920 test ! -s conftest.err
38921 } && test -s conftest
$ac_exeext &&
38922 $as_test_x conftest
$ac_exeext; then
38923 ac_cv_lib_posix4_sched_yield
=yes
38925 echo "$as_me: failed program was:" >&5
38926 sed 's/^/| /' conftest.
$ac_ext >&5
38928 ac_cv_lib_posix4_sched_yield
=no
38931 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
38932 conftest
$ac_exeext conftest.
$ac_ext
38933 LIBS
=$ac_check_lib_save_LIBS
38935 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_yield" >&5
38936 echo "${ECHO_T}$ac_cv_lib_posix4_sched_yield" >&6; }
38937 if test $ac_cv_lib_posix4_sched_yield = yes; then
38938 cat >>confdefs.h
<<\_ACEOF
38939 #define HAVE_SCHED_YIELD 1
38941 POSIX4_LINK
=" -lposix4"
38943 { echo "$as_me:$LINENO: WARNING: wxThread::Yield will not work properly" >&5
38944 echo "$as_me: WARNING: wxThread::Yield will not work properly" >&2;}
38955 { echo "$as_me:$LINENO: checking for pthread_attr_getschedpolicy" >&5
38956 echo $ECHO_N "checking for pthread_attr_getschedpolicy... $ECHO_C" >&6; }
38957 if test "${ac_cv_func_pthread_attr_getschedpolicy+set}" = set; then
38958 echo $ECHO_N "(cached) $ECHO_C" >&6
38960 cat >conftest.
$ac_ext <<_ACEOF
38963 cat confdefs.h
>>conftest.
$ac_ext
38964 cat >>conftest.
$ac_ext <<_ACEOF
38965 /* end confdefs.h. */
38966 /* Define pthread_attr_getschedpolicy to an innocuous variant, in case <limits.h> declares pthread_attr_getschedpolicy.
38967 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38968 #define pthread_attr_getschedpolicy innocuous_pthread_attr_getschedpolicy
38970 /* System header to define __stub macros and hopefully few prototypes,
38971 which can conflict with char pthread_attr_getschedpolicy (); below.
38972 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38973 <limits.h> exists even on freestanding compilers. */
38976 # include <limits.h>
38978 # include <assert.h>
38981 #undef pthread_attr_getschedpolicy
38983 /* Override any GCC internal prototype to avoid an error.
38984 Use char because int might match the return type of a GCC
38985 builtin and then its argument prototype would still apply. */
38989 char pthread_attr_getschedpolicy ();
38990 /* The GNU C library defines this for functions which it implements
38991 to always fail with ENOSYS. Some functions are actually named
38992 something starting with __ and the normal name is an alias. */
38993 #if defined __stub_pthread_attr_getschedpolicy || defined __stub___pthread_attr_getschedpolicy
39000 return pthread_attr_getschedpolicy ();
39005 rm -f conftest.
$ac_objext conftest
$ac_exeext
39006 if { (ac_try
="$ac_link"
39007 case "(($ac_try" in
39008 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
39009 *) ac_try_echo=$ac_try;;
39011 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39012 (eval "$ac_link") 2>conftest.er1
39014 grep -v '^ *+' conftest.er1 >conftest.err
39016 cat conftest.err >&5
39017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39018 (exit $ac_status); } && {
39019 test -z "$ac_c_werror_flag" ||
39020 test ! -s conftest.err
39021 } && test -s conftest$ac_exeext &&
39022 $as_test_x conftest$ac_exeext; then
39023 ac_cv_func_pthread_attr_getschedpolicy=yes
39025 echo "$as_me: failed program was:" >&5
39026 sed 's/^/| /' conftest.$ac_ext >&5
39028 ac_cv_func_pthread_attr_getschedpolicy=no
39031 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39032 conftest$ac_exeext conftest.$ac_ext
39034 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_getschedpolicy" >&5
39035 echo "${ECHO_T}$ac_cv_func_pthread_attr_getschedpolicy" >&6; }
39036 if test $ac_cv_func_pthread_attr_getschedpolicy = yes; then
39037 { echo "$as_me:$LINENO: checking for pthread_attr_setschedparam" >&5
39038 echo $ECHO_N "checking for pthread_attr_setschedparam... $ECHO_C" >&6; }
39039 if test "${ac_cv_func_pthread_attr_setschedparam+set}" = set; then
39040 echo $ECHO_N "(cached) $ECHO_C" >&6
39042 cat >conftest.$ac_ext <<_ACEOF
39045 cat confdefs.h >>conftest.$ac_ext
39046 cat >>conftest.$ac_ext <<_ACEOF
39047 /* end confdefs.h. */
39048 /* Define pthread_attr_setschedparam to an innocuous variant, in case <limits.h> declares pthread_attr_setschedparam.
39049 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39050 #define pthread_attr_setschedparam innocuous_pthread_attr_setschedparam
39052 /* System header to define __stub macros and hopefully few prototypes,
39053 which can conflict with char pthread_attr_setschedparam (); below.
39054 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39055 <limits.h> exists even on freestanding compilers. */
39058 # include <limits.h>
39060 # include <assert.h>
39063 #undef pthread_attr_setschedparam
39065 /* Override any GCC internal prototype to avoid an error.
39066 Use char because int might match the return type of a GCC
39067 builtin and then its argument prototype would still apply. */
39071 char pthread_attr_setschedparam ();
39072 /* The GNU C library defines this for functions which it implements
39073 to always fail with ENOSYS. Some functions are actually named
39074 something starting with __ and the normal name is an alias. */
39075 #if defined __stub_pthread_attr_setschedparam || defined __stub___pthread_attr_setschedparam
39082 return pthread_attr_setschedparam ();
39087 rm -f conftest.$ac_objext conftest$ac_exeext
39088 if { (ac_try="$ac_link"
39089 case "(($ac_try" in
39090 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
39091 *) ac_try_echo
=$ac_try;;
39093 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39094 (eval "$ac_link") 2>conftest.er1
39096 grep -v '^ *+' conftest.er1
>conftest.err
39098 cat conftest.err
>&5
39099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39100 (exit $ac_status); } && {
39101 test -z "$ac_c_werror_flag" ||
39102 test ! -s conftest.err
39103 } && test -s conftest
$ac_exeext &&
39104 $as_test_x conftest
$ac_exeext; then
39105 ac_cv_func_pthread_attr_setschedparam
=yes
39107 echo "$as_me: failed program was:" >&5
39108 sed 's/^/| /' conftest.
$ac_ext >&5
39110 ac_cv_func_pthread_attr_setschedparam
=no
39113 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
39114 conftest
$ac_exeext conftest.
$ac_ext
39116 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setschedparam" >&5
39117 echo "${ECHO_T}$ac_cv_func_pthread_attr_setschedparam" >&6; }
39118 if test $ac_cv_func_pthread_attr_setschedparam = yes; then
39119 { echo "$as_me:$LINENO: checking for sched_get_priority_max" >&5
39120 echo $ECHO_N "checking for sched_get_priority_max... $ECHO_C" >&6; }
39121 if test "${ac_cv_func_sched_get_priority_max+set}" = set; then
39122 echo $ECHO_N "(cached) $ECHO_C" >&6
39124 cat >conftest.
$ac_ext <<_ACEOF
39127 cat confdefs.h
>>conftest.
$ac_ext
39128 cat >>conftest.
$ac_ext <<_ACEOF
39129 /* end confdefs.h. */
39130 /* Define sched_get_priority_max to an innocuous variant, in case <limits.h> declares sched_get_priority_max.
39131 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39132 #define sched_get_priority_max innocuous_sched_get_priority_max
39134 /* System header to define __stub macros and hopefully few prototypes,
39135 which can conflict with char sched_get_priority_max (); below.
39136 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39137 <limits.h> exists even on freestanding compilers. */
39140 # include <limits.h>
39142 # include <assert.h>
39145 #undef sched_get_priority_max
39147 /* Override any GCC internal prototype to avoid an error.
39148 Use char because int might match the return type of a GCC
39149 builtin and then its argument prototype would still apply. */
39153 char sched_get_priority_max ();
39154 /* The GNU C library defines this for functions which it implements
39155 to always fail with ENOSYS. Some functions are actually named
39156 something starting with __ and the normal name is an alias. */
39157 #if defined __stub_sched_get_priority_max || defined __stub___sched_get_priority_max
39164 return sched_get_priority_max ();
39169 rm -f conftest.
$ac_objext conftest
$ac_exeext
39170 if { (ac_try
="$ac_link"
39171 case "(($ac_try" in
39172 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
39173 *) ac_try_echo=$ac_try;;
39175 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39176 (eval "$ac_link") 2>conftest.er1
39178 grep -v '^ *+' conftest.er1 >conftest.err
39180 cat conftest.err >&5
39181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39182 (exit $ac_status); } && {
39183 test -z "$ac_c_werror_flag" ||
39184 test ! -s conftest.err
39185 } && test -s conftest$ac_exeext &&
39186 $as_test_x conftest$ac_exeext; then
39187 ac_cv_func_sched_get_priority_max=yes
39189 echo "$as_me: failed program was:" >&5
39190 sed 's/^/| /' conftest.$ac_ext >&5
39192 ac_cv_func_sched_get_priority_max=no
39195 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39196 conftest$ac_exeext conftest.$ac_ext
39198 { echo "$as_me:$LINENO: result: $ac_cv_func_sched_get_priority_max" >&5
39199 echo "${ECHO_T}$ac_cv_func_sched_get_priority_max" >&6; }
39200 if test $ac_cv_func_sched_get_priority_max = yes; then
39203 { echo "$as_me:$LINENO: checking for sched_get_priority_max in -lposix4" >&5
39204 echo $ECHO_N "checking for sched_get_priority_max in -lposix4... $ECHO_C" >&6; }
39205 if test "${ac_cv_lib_posix4_sched_get_priority_max+set}" = set; then
39206 echo $ECHO_N "(cached) $ECHO_C" >&6
39208 ac_check_lib_save_LIBS=$LIBS
39209 LIBS="-lposix4 $LIBS"
39210 cat >conftest.$ac_ext <<_ACEOF
39213 cat confdefs.h >>conftest.$ac_ext
39214 cat >>conftest.$ac_ext <<_ACEOF
39215 /* end confdefs.h. */
39217 /* Override any GCC internal prototype to avoid an error.
39218 Use char because int might match the return type of a GCC
39219 builtin and then its argument prototype would still apply. */
39223 char sched_get_priority_max ();
39227 return sched_get_priority_max ();
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_lib_posix4_sched_get_priority_max
=yes
39252 echo "$as_me: failed program was:" >&5
39253 sed 's/^/| /' conftest.
$ac_ext >&5
39255 ac_cv_lib_posix4_sched_get_priority_max
=no
39258 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
39259 conftest
$ac_exeext conftest.
$ac_ext
39260 LIBS
=$ac_check_lib_save_LIBS
39262 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_get_priority_max" >&5
39263 echo "${ECHO_T}$ac_cv_lib_posix4_sched_get_priority_max" >&6; }
39264 if test $ac_cv_lib_posix4_sched_get_priority_max = yes; then
39267 POSIX4_LINK
=" -lposix4"
39281 if test "$HAVE_PRIOR_FUNCS" = 1; then
39282 cat >>confdefs.h
<<\_ACEOF
39283 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
39287 { echo "$as_me:$LINENO: WARNING: Setting thread priority will not work" >&5
39288 echo "$as_me: WARNING: Setting thread priority will not work" >&2;}
39291 { echo "$as_me:$LINENO: checking for pthread_cancel" >&5
39292 echo $ECHO_N "checking for pthread_cancel... $ECHO_C" >&6; }
39293 if test "${ac_cv_func_pthread_cancel+set}" = set; then
39294 echo $ECHO_N "(cached) $ECHO_C" >&6
39296 cat >conftest.
$ac_ext <<_ACEOF
39299 cat confdefs.h
>>conftest.
$ac_ext
39300 cat >>conftest.
$ac_ext <<_ACEOF
39301 /* end confdefs.h. */
39302 /* Define pthread_cancel to an innocuous variant, in case <limits.h> declares pthread_cancel.
39303 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39304 #define pthread_cancel innocuous_pthread_cancel
39306 /* System header to define __stub macros and hopefully few prototypes,
39307 which can conflict with char pthread_cancel (); below.
39308 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39309 <limits.h> exists even on freestanding compilers. */
39312 # include <limits.h>
39314 # include <assert.h>
39317 #undef pthread_cancel
39319 /* Override any GCC internal prototype to avoid an error.
39320 Use char because int might match the return type of a GCC
39321 builtin and then its argument prototype would still apply. */
39325 char pthread_cancel ();
39326 /* The GNU C library defines this for functions which it implements
39327 to always fail with ENOSYS. Some functions are actually named
39328 something starting with __ and the normal name is an alias. */
39329 #if defined __stub_pthread_cancel || defined __stub___pthread_cancel
39336 return pthread_cancel ();
39341 rm -f conftest.
$ac_objext conftest
$ac_exeext
39342 if { (ac_try
="$ac_link"
39343 case "(($ac_try" in
39344 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
39345 *) ac_try_echo=$ac_try;;
39347 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39348 (eval "$ac_link") 2>conftest.er1
39350 grep -v '^ *+' conftest.er1 >conftest.err
39352 cat conftest.err >&5
39353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39354 (exit $ac_status); } && {
39355 test -z "$ac_c_werror_flag" ||
39356 test ! -s conftest.err
39357 } && test -s conftest$ac_exeext &&
39358 $as_test_x conftest$ac_exeext; then
39359 ac_cv_func_pthread_cancel=yes
39361 echo "$as_me: failed program was:" >&5
39362 sed 's/^/| /' conftest.$ac_ext >&5
39364 ac_cv_func_pthread_cancel=no
39367 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39368 conftest$ac_exeext conftest.$ac_ext
39370 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_cancel" >&5
39371 echo "${ECHO_T}$ac_cv_func_pthread_cancel" >&6; }
39372 if test $ac_cv_func_pthread_cancel = yes; then
39373 cat >>confdefs.h <<\_ACEOF
39374 #define HAVE_PTHREAD_CANCEL 1
39378 { echo "$as_me:$LINENO: WARNING: wxThread::Kill() will not work properly" >&5
39379 echo "$as_me: WARNING: wxThread::Kill() will not work properly" >&2;}
39383 { echo "$as_me:$LINENO: checking for pthread_mutex_timedlock" >&5
39384 echo $ECHO_N "checking for pthread_mutex_timedlock... $ECHO_C" >&6; }
39385 if test "${ac_cv_func_pthread_mutex_timedlock+set}" = set; then
39386 echo $ECHO_N "(cached) $ECHO_C" >&6
39388 cat >conftest.$ac_ext <<_ACEOF
39391 cat confdefs.h >>conftest.$ac_ext
39392 cat >>conftest.$ac_ext <<_ACEOF
39393 /* end confdefs.h. */
39394 /* Define pthread_mutex_timedlock to an innocuous variant, in case <limits.h> declares pthread_mutex_timedlock.
39395 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39396 #define pthread_mutex_timedlock innocuous_pthread_mutex_timedlock
39398 /* System header to define __stub macros and hopefully few prototypes,
39399 which can conflict with char pthread_mutex_timedlock (); below.
39400 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39401 <limits.h> exists even on freestanding compilers. */
39404 # include <limits.h>
39406 # include <assert.h>
39409 #undef pthread_mutex_timedlock
39411 /* Override any GCC internal prototype to avoid an error.
39412 Use char because int might match the return type of a GCC
39413 builtin and then its argument prototype would still apply. */
39417 char pthread_mutex_timedlock ();
39418 /* The GNU C library defines this for functions which it implements
39419 to always fail with ENOSYS. Some functions are actually named
39420 something starting with __ and the normal name is an alias. */
39421 #if defined __stub_pthread_mutex_timedlock || defined __stub___pthread_mutex_timedlock
39428 return pthread_mutex_timedlock ();
39433 rm -f conftest.$ac_objext conftest$ac_exeext
39434 if { (ac_try="$ac_link"
39435 case "(($ac_try" in
39436 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
39437 *) ac_try_echo
=$ac_try;;
39439 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39440 (eval "$ac_link") 2>conftest.er1
39442 grep -v '^ *+' conftest.er1
>conftest.err
39444 cat conftest.err
>&5
39445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39446 (exit $ac_status); } && {
39447 test -z "$ac_c_werror_flag" ||
39448 test ! -s conftest.err
39449 } && test -s conftest
$ac_exeext &&
39450 $as_test_x conftest
$ac_exeext; then
39451 ac_cv_func_pthread_mutex_timedlock
=yes
39453 echo "$as_me: failed program was:" >&5
39454 sed 's/^/| /' conftest.
$ac_ext >&5
39456 ac_cv_func_pthread_mutex_timedlock
=no
39459 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
39460 conftest
$ac_exeext conftest.
$ac_ext
39462 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_mutex_timedlock" >&5
39463 echo "${ECHO_T}$ac_cv_func_pthread_mutex_timedlock" >&6; }
39464 if test $ac_cv_func_pthread_mutex_timedlock = yes; then
39465 cat >>confdefs.h
<<\_ACEOF
39466 #define HAVE_PTHREAD_MUTEX_TIMEDLOCK 1
39470 { echo "$as_me:$LINENO: WARNING: wxMutex::LockTimeout() will not work" >&5
39471 echo "$as_me: WARNING: wxMutex::LockTimeout() will not work" >&2;}
39475 { echo "$as_me:$LINENO: checking for pthread_attr_setstacksize" >&5
39476 echo $ECHO_N "checking for pthread_attr_setstacksize... $ECHO_C" >&6; }
39477 if test "${ac_cv_func_pthread_attr_setstacksize+set}" = set; then
39478 echo $ECHO_N "(cached) $ECHO_C" >&6
39480 cat >conftest.
$ac_ext <<_ACEOF
39483 cat confdefs.h
>>conftest.
$ac_ext
39484 cat >>conftest.
$ac_ext <<_ACEOF
39485 /* end confdefs.h. */
39486 /* Define pthread_attr_setstacksize to an innocuous variant, in case <limits.h> declares pthread_attr_setstacksize.
39487 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39488 #define pthread_attr_setstacksize innocuous_pthread_attr_setstacksize
39490 /* System header to define __stub macros and hopefully few prototypes,
39491 which can conflict with char pthread_attr_setstacksize (); below.
39492 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39493 <limits.h> exists even on freestanding compilers. */
39496 # include <limits.h>
39498 # include <assert.h>
39501 #undef pthread_attr_setstacksize
39503 /* Override any GCC internal prototype to avoid an error.
39504 Use char because int might match the return type of a GCC
39505 builtin and then its argument prototype would still apply. */
39509 char pthread_attr_setstacksize ();
39510 /* The GNU C library defines this for functions which it implements
39511 to always fail with ENOSYS. Some functions are actually named
39512 something starting with __ and the normal name is an alias. */
39513 #if defined __stub_pthread_attr_setstacksize || defined __stub___pthread_attr_setstacksize
39520 return pthread_attr_setstacksize ();
39525 rm -f conftest.
$ac_objext conftest
$ac_exeext
39526 if { (ac_try
="$ac_link"
39527 case "(($ac_try" in
39528 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
39529 *) ac_try_echo=$ac_try;;
39531 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39532 (eval "$ac_link") 2>conftest.er1
39534 grep -v '^ *+' conftest.er1 >conftest.err
39536 cat conftest.err >&5
39537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39538 (exit $ac_status); } && {
39539 test -z "$ac_c_werror_flag" ||
39540 test ! -s conftest.err
39541 } && test -s conftest$ac_exeext &&
39542 $as_test_x conftest$ac_exeext; then
39543 ac_cv_func_pthread_attr_setstacksize=yes
39545 echo "$as_me: failed program was:" >&5
39546 sed 's/^/| /' conftest.$ac_ext >&5
39548 ac_cv_func_pthread_attr_setstacksize=no
39551 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39552 conftest$ac_exeext conftest.$ac_ext
39554 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setstacksize" >&5
39555 echo "${ECHO_T}$ac_cv_func_pthread_attr_setstacksize" >&6; }
39556 if test $ac_cv_func_pthread_attr_setstacksize = yes; then
39557 cat >>confdefs.h <<\_ACEOF
39558 #define HAVE_PTHREAD_ATTR_SETSTACKSIZE 1
39565 { echo "$as_me:$LINENO: checking for pthread_mutexattr_t" >&5
39566 echo $ECHO_N "checking for pthread_mutexattr_t... $ECHO_C" >&6; }
39567 if test "${wx_cv_type_pthread_mutexattr_t+set}" = set; then
39568 echo $ECHO_N "(cached) $ECHO_C" >&6
39571 cat >conftest.$ac_ext <<_ACEOF
39574 cat confdefs.h >>conftest.$ac_ext
39575 cat >>conftest.$ac_ext <<_ACEOF
39576 /* end confdefs.h. */
39577 #include <pthread.h>
39582 pthread_mutexattr_t attr;
39583 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
39589 rm -f conftest.$ac_objext
39590 if { (ac_try="$ac_compile"
39591 case "(($ac_try" in
39592 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
39593 *) ac_try_echo
=$ac_try;;
39595 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39596 (eval "$ac_compile") 2>conftest.er1
39598 grep -v '^ *+' conftest.er1
>conftest.err
39600 cat conftest.err
>&5
39601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39602 (exit $ac_status); } && {
39603 test -z "$ac_c_werror_flag" ||
39604 test ! -s conftest.err
39605 } && test -s conftest.
$ac_objext; then
39606 wx_cv_type_pthread_mutexattr_t
=yes
39608 echo "$as_me: failed program was:" >&5
39609 sed 's/^/| /' conftest.
$ac_ext >&5
39611 wx_cv_type_pthread_mutexattr_t
=no
39615 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
39618 { echo "$as_me:$LINENO: result: $wx_cv_type_pthread_mutexattr_t" >&5
39619 echo "${ECHO_T}$wx_cv_type_pthread_mutexattr_t" >&6; }
39621 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
39622 cat >>confdefs.h
<<\_ACEOF
39623 #define HAVE_PTHREAD_MUTEXATTR_T 1
39627 { echo "$as_me:$LINENO: checking for pthread_mutexattr_settype declaration" >&5
39628 echo $ECHO_N "checking for pthread_mutexattr_settype declaration... $ECHO_C" >&6; }
39629 if test "${wx_cv_func_pthread_mutexattr_settype_decl+set}" = set; then
39630 echo $ECHO_N "(cached) $ECHO_C" >&6
39633 cat >conftest.
$ac_ext <<_ACEOF
39636 cat confdefs.h
>>conftest.
$ac_ext
39637 cat >>conftest.
$ac_ext <<_ACEOF
39638 /* end confdefs.h. */
39639 #include <pthread.h>
39644 pthread_mutexattr_t attr;
39645 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
39651 rm -f conftest.
$ac_objext
39652 if { (ac_try
="$ac_compile"
39653 case "(($ac_try" in
39654 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
39655 *) ac_try_echo=$ac_try;;
39657 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39658 (eval "$ac_compile") 2>conftest.er1
39660 grep -v '^ *+' conftest.er1 >conftest.err
39662 cat conftest.err >&5
39663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39664 (exit $ac_status); } && {
39665 test -z "$ac_c_werror_flag" ||
39666 test ! -s conftest.err
39667 } && test -s conftest.$ac_objext; then
39668 wx_cv_func_pthread_mutexattr_settype_decl=yes
39670 echo "$as_me: failed program was:" >&5
39671 sed 's/^/| /' conftest.$ac_ext >&5
39673 wx_cv_func_pthread_mutexattr_settype_decl=no
39677 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39680 { echo "$as_me:$LINENO: result: $wx_cv_func_pthread_mutexattr_settype_decl" >&5
39681 echo "${ECHO_T}$wx_cv_func_pthread_mutexattr_settype_decl" >&6; }
39682 if test "$wx_cv_func_pthread_mutexattr_settype_decl" = "yes"; then
39683 cat >>confdefs.h <<\_ACEOF
39684 #define HAVE_PTHREAD_MUTEXATTR_SETTYPE_DECL 1
39689 { echo "$as_me:$LINENO: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
39690 echo $ECHO_N "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER... $ECHO_C" >&6; }
39691 if test "${wx_cv_type_pthread_rec_mutex_init+set}" = set; then
39692 echo $ECHO_N "(cached) $ECHO_C" >&6
39695 cat >conftest.$ac_ext <<_ACEOF
39698 cat confdefs.h >>conftest.$ac_ext
39699 cat >>conftest.$ac_ext <<_ACEOF
39700 /* end confdefs.h. */
39701 #include <pthread.h>
39706 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
39712 rm -f conftest.$ac_objext
39713 if { (ac_try="$ac_compile"
39714 case "(($ac_try" in
39715 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
39716 *) ac_try_echo
=$ac_try;;
39718 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39719 (eval "$ac_compile") 2>conftest.er1
39721 grep -v '^ *+' conftest.er1
>conftest.err
39723 cat conftest.err
>&5
39724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39725 (exit $ac_status); } && {
39726 test -z "$ac_c_werror_flag" ||
39727 test ! -s conftest.err
39728 } && test -s conftest.
$ac_objext; then
39730 wx_cv_type_pthread_rec_mutex_init
=yes
39733 echo "$as_me: failed program was:" >&5
39734 sed 's/^/| /' conftest.
$ac_ext >&5
39737 wx_cv_type_pthread_rec_mutex_init
=no
39742 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
39745 { echo "$as_me:$LINENO: result: $wx_cv_type_pthread_rec_mutex_init" >&5
39746 echo "${ECHO_T}$wx_cv_type_pthread_rec_mutex_init" >&6; }
39747 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
39748 cat >>confdefs.h
<<\_ACEOF
39749 #define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1
39753 { echo "$as_me:$LINENO: WARNING: wxMutex won't be recursive on this platform" >&5
39754 echo "$as_me: WARNING: wxMutex won't be recursive on this platform" >&2;}
39760 if test "$wxUSE_THREADS" = "yes" ; then
39763 { echo "$as_me:$LINENO: checking if compiler supports -mthreads" >&5
39764 echo $ECHO_N "checking if compiler supports -mthreads... $ECHO_C" >&6; }
39765 if test "${wx_cv_cflags_mthread+set}" = set; then
39766 echo $ECHO_N "(cached) $ECHO_C" >&6
39769 CFLAGS_OLD
="$CFLAGS"
39770 CFLAGS
="-mthreads $CFLAGS"
39771 cat >conftest.
$ac_ext <<_ACEOF
39774 cat confdefs.h
>>conftest.
$ac_ext
39775 cat >>conftest.
$ac_ext <<_ACEOF
39776 /* end confdefs.h. */
39786 rm -f conftest.
$ac_objext
39787 if { (ac_try
="$ac_compile"
39788 case "(($ac_try" in
39789 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
39790 *) ac_try_echo=$ac_try;;
39792 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39793 (eval "$ac_compile") 2>conftest.er1
39795 grep -v '^ *+' conftest.er1 >conftest.err
39797 cat conftest.err >&5
39798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39799 (exit $ac_status); } && {
39800 test -z "$ac_c_werror_flag" ||
39801 test ! -s conftest.err
39802 } && test -s conftest.$ac_objext; then
39803 wx_cv_cflags_mthread=yes
39805 echo "$as_me: failed program was:" >&5
39806 sed 's/^/| /' conftest.$ac_ext >&5
39808 wx_cv_cflags_mthread=no
39812 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39816 { echo "$as_me:$LINENO: result: $wx_cv_cflags_mthread" >&5
39817 echo "${ECHO_T}$wx_cv_cflags_mthread" >&6; }
39819 if test "$wx_cv_cflags_mthread" = "yes"; then
39820 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -mthreads"
39821 LDFLAGS="$LDFLAGS -mthreads"
39823 CFLAGS="$CFLAGS_OLD"
39827 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -Zmt -D__ST_MT_ERRNO__"
39828 LDFLAGS="$LDFLAGS -Zmt"
39834 { echo "$as_me:$LINENO: checking for localtime_r" >&5
39835 echo $ECHO_N "checking for localtime_r... $ECHO_C" >&6; }
39836 if test "${ac_cv_func_localtime_r+set}" = set; then
39837 echo $ECHO_N "(cached) $ECHO_C" >&6
39839 cat >conftest.$ac_ext <<_ACEOF
39842 cat confdefs.h >>conftest.$ac_ext
39843 cat >>conftest.$ac_ext <<_ACEOF
39844 /* end confdefs.h. */
39845 /* Define localtime_r to an innocuous variant, in case <limits.h> declares localtime_r.
39846 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39847 #define localtime_r innocuous_localtime_r
39849 /* System header to define __stub macros and hopefully few prototypes,
39850 which can conflict with char localtime_r (); below.
39851 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39852 <limits.h> exists even on freestanding compilers. */
39855 # include <limits.h>
39857 # include <assert.h>
39862 /* Override any GCC internal prototype to avoid an error.
39863 Use char because int might match the return type of a GCC
39864 builtin and then its argument prototype would still apply. */
39868 char localtime_r ();
39869 /* The GNU C library defines this for functions which it implements
39870 to always fail with ENOSYS. Some functions are actually named
39871 something starting with __ and the normal name is an alias. */
39872 #if defined __stub_localtime_r || defined __stub___localtime_r
39879 return localtime_r ();
39884 rm -f conftest.$ac_objext conftest$ac_exeext
39885 if { (ac_try="$ac_link"
39886 case "(($ac_try" in
39887 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
39888 *) ac_try_echo
=$ac_try;;
39890 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39891 (eval "$ac_link") 2>conftest.er1
39893 grep -v '^ *+' conftest.er1
>conftest.err
39895 cat conftest.err
>&5
39896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39897 (exit $ac_status); } && {
39898 test -z "$ac_c_werror_flag" ||
39899 test ! -s conftest.err
39900 } && test -s conftest
$ac_exeext &&
39901 $as_test_x conftest
$ac_exeext; then
39902 ac_cv_func_localtime_r
=yes
39904 echo "$as_me: failed program was:" >&5
39905 sed 's/^/| /' conftest.
$ac_ext >&5
39907 ac_cv_func_localtime_r
=no
39910 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
39911 conftest
$ac_exeext conftest.
$ac_ext
39913 { echo "$as_me:$LINENO: result: $ac_cv_func_localtime_r" >&5
39914 echo "${ECHO_T}$ac_cv_func_localtime_r" >&6; }
39915 if test $ac_cv_func_localtime_r = yes; then
39916 cat >>confdefs.h
<<\_ACEOF
39917 #define HAVE_LOCALTIME_R 1
39922 { echo "$as_me:$LINENO: checking for gmtime_r" >&5
39923 echo $ECHO_N "checking for gmtime_r... $ECHO_C" >&6; }
39924 if test "${ac_cv_func_gmtime_r+set}" = set; then
39925 echo $ECHO_N "(cached) $ECHO_C" >&6
39927 cat >conftest.
$ac_ext <<_ACEOF
39930 cat confdefs.h
>>conftest.
$ac_ext
39931 cat >>conftest.
$ac_ext <<_ACEOF
39932 /* end confdefs.h. */
39933 /* Define gmtime_r to an innocuous variant, in case <limits.h> declares gmtime_r.
39934 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39935 #define gmtime_r innocuous_gmtime_r
39937 /* System header to define __stub macros and hopefully few prototypes,
39938 which can conflict with char gmtime_r (); below.
39939 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39940 <limits.h> exists even on freestanding compilers. */
39943 # include <limits.h>
39945 # include <assert.h>
39950 /* Override any GCC internal prototype to avoid an error.
39951 Use char because int might match the return type of a GCC
39952 builtin and then its argument prototype would still apply. */
39957 /* The GNU C library defines this for functions which it implements
39958 to always fail with ENOSYS. Some functions are actually named
39959 something starting with __ and the normal name is an alias. */
39960 #if defined __stub_gmtime_r || defined __stub___gmtime_r
39967 return gmtime_r ();
39972 rm -f conftest.
$ac_objext conftest
$ac_exeext
39973 if { (ac_try
="$ac_link"
39974 case "(($ac_try" in
39975 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
39976 *) ac_try_echo=$ac_try;;
39978 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39979 (eval "$ac_link") 2>conftest.er1
39981 grep -v '^ *+' conftest.er1 >conftest.err
39983 cat conftest.err >&5
39984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39985 (exit $ac_status); } && {
39986 test -z "$ac_c_werror_flag" ||
39987 test ! -s conftest.err
39988 } && test -s conftest$ac_exeext &&
39989 $as_test_x conftest$ac_exeext; then
39990 ac_cv_func_gmtime_r=yes
39992 echo "$as_me: failed program was:" >&5
39993 sed 's/^/| /' conftest.$ac_ext >&5
39995 ac_cv_func_gmtime_r=no
39998 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39999 conftest$ac_exeext conftest.$ac_ext
40001 { echo "$as_me:$LINENO: result: $ac_cv_func_gmtime_r" >&5
40002 echo "${ECHO_T}$ac_cv_func_gmtime_r" >&6; }
40003 if test $ac_cv_func_gmtime_r = yes; then
40004 cat >>confdefs.h <<\_ACEOF
40005 #define HAVE_GMTIME_R 1
40014 ac_cpp='$CPP $CPPFLAGS'
40015 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40016 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40017 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40019 { echo "$as_me:$LINENO: checking how many arguments gethostbyname_r() takes" >&5
40020 echo $ECHO_N "checking how many arguments gethostbyname_r() takes... $ECHO_C" >&6; }
40022 if test "${ac_cv_func_which_gethostbyname_r+set}" = set; then
40023 echo $ECHO_N "(cached) $ECHO_C" >&6
40027 ################################################################
40029 ac_cv_func_which_gethostbyname_r=unknown
40032 # ONE ARGUMENT (sanity check)
40035 # This should fail, as there is no variant of gethostbyname_r() that takes
40036 # a single argument. If it actually compiles, then we can assume that
40037 # netdb.h is not declaring the function, and the compiler is thereby
40038 # assuming an implicit prototype. In which case, we're out of luck.
40040 cat >conftest.$ac_ext <<_ACEOF
40043 cat confdefs.h >>conftest.$ac_ext
40044 cat >>conftest.$ac_ext <<_ACEOF
40045 /* end confdefs.h. */
40051 char *name = "www.gnu.org";
40052 (void)gethostbyname_r(name) /* ; */
40058 rm -f conftest.$ac_objext
40059 if { (ac_try="$ac_compile"
40060 case "(($ac_try" in
40061 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
40062 *) ac_try_echo
=$ac_try;;
40064 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40065 (eval "$ac_compile") 2>conftest.er1
40067 grep -v '^ *+' conftest.er1
>conftest.err
40069 cat conftest.err
>&5
40070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40071 (exit $ac_status); } && {
40072 test -z "$ac_c_werror_flag" ||
40073 test ! -s conftest.err
40074 } && test -s conftest.
$ac_objext; then
40075 ac_cv_func_which_gethostbyname_r
=no
40077 echo "$as_me: failed program was:" >&5
40078 sed 's/^/| /' conftest.
$ac_ext >&5
40083 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
40090 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
40092 cat >conftest.
$ac_ext <<_ACEOF
40095 cat confdefs.h
>>conftest.
$ac_ext
40096 cat >>conftest.
$ac_ext <<_ACEOF
40097 /* end confdefs.h. */
40103 char *name = "www.gnu.org";
40104 struct hostent ret, *retp;
40108 (void)gethostbyname_r(name, &ret, buf, buflen, &retp, &my_h_errno) /* ; */
40114 rm -f conftest.
$ac_objext
40115 if { (ac_try
="$ac_compile"
40116 case "(($ac_try" in
40117 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
40118 *) ac_try_echo=$ac_try;;
40120 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40121 (eval "$ac_compile") 2>conftest.er1
40123 grep -v '^ *+' conftest.er1 >conftest.err
40125 cat conftest.err >&5
40126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40127 (exit $ac_status); } && {
40128 test -z "$ac_c_werror_flag" ||
40129 test ! -s conftest.err
40130 } && test -s conftest.$ac_objext; then
40131 ac_cv_func_which_gethostbyname_r=six
40133 echo "$as_me: failed program was:" >&5
40134 sed 's/^/| /' conftest.$ac_ext >&5
40139 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40148 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
40150 cat >conftest.$ac_ext <<_ACEOF
40153 cat confdefs.h >>conftest.$ac_ext
40154 cat >>conftest.$ac_ext <<_ACEOF
40155 /* end confdefs.h. */
40161 char *name = "www.gnu.org";
40162 struct hostent ret;
40166 (void)gethostbyname_r(name, &ret, buf, buflen, &my_h_errno) /* ; */
40172 rm -f conftest.$ac_objext
40173 if { (ac_try="$ac_compile"
40174 case "(($ac_try" in
40175 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
40176 *) ac_try_echo
=$ac_try;;
40178 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40179 (eval "$ac_compile") 2>conftest.er1
40181 grep -v '^ *+' conftest.er1
>conftest.err
40183 cat conftest.err
>&5
40184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40185 (exit $ac_status); } && {
40186 test -z "$ac_c_werror_flag" ||
40187 test ! -s conftest.err
40188 } && test -s conftest.
$ac_objext; then
40189 ac_cv_func_which_gethostbyname_r
=five
40191 echo "$as_me: failed program was:" >&5
40192 sed 's/^/| /' conftest.
$ac_ext >&5
40197 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
40203 # (e.g. AIX, HP-UX, Tru64)
40206 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
40208 cat >conftest.
$ac_ext <<_ACEOF
40211 cat confdefs.h
>>conftest.
$ac_ext
40212 cat >>conftest.
$ac_ext <<_ACEOF
40213 /* end confdefs.h. */
40219 char *name = "www.gnu.org";
40220 struct hostent ret;
40221 struct hostent_data data;
40222 (void)gethostbyname_r(name, &ret, &data) /* ; */
40228 rm -f conftest.
$ac_objext
40229 if { (ac_try
="$ac_compile"
40230 case "(($ac_try" in
40231 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
40232 *) ac_try_echo=$ac_try;;
40234 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40235 (eval "$ac_compile") 2>conftest.er1
40237 grep -v '^ *+' conftest.er1 >conftest.err
40239 cat conftest.err >&5
40240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40241 (exit $ac_status); } && {
40242 test -z "$ac_c_werror_flag" ||
40243 test ! -s conftest.err
40244 } && test -s conftest.$ac_objext; then
40245 ac_cv_func_which_gethostbyname_r=three
40247 echo "$as_me: failed program was:" >&5
40248 sed 's/^/| /' conftest.$ac_ext >&5
40253 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40257 ################################################################
40262 case "$ac_cv_func_which_gethostbyname_r" in
40264 { echo "$as_me:$LINENO: result: three" >&5
40265 echo "${ECHO_T}three" >&6; }
40266 cat >>confdefs.h <<\_ACEOF
40267 #define HAVE_FUNC_GETHOSTBYNAME_R_3 1
40273 { echo "$as_me:$LINENO: result: five" >&5
40274 echo "${ECHO_T}five" >&6; }
40275 cat >>confdefs.h <<\_ACEOF
40276 #define HAVE_FUNC_GETHOSTBYNAME_R_5 1
40282 { echo "$as_me:$LINENO: result: six" >&5
40283 echo "${ECHO_T}six" >&6; }
40284 cat >>confdefs.h <<\_ACEOF
40285 #define HAVE_FUNC_GETHOSTBYNAME_R_6 1
40291 { echo "$as_me:$LINENO: result: cannot find function declaration in netdb.h" >&5
40292 echo "${ECHO_T}cannot find function declaration in netdb.h" >&6; }
40296 { echo "$as_me:$LINENO: result: can't tell" >&5
40297 echo "${ECHO_T}can't tell" >&6; }
40301 { { echo "$as_me:$LINENO: error: internal error" >&5
40302 echo "$as_me: error: internal error" >&2;}
40303 { (exit 1); exit 1; }; }
40308 ac_cpp='$CPP $CPPFLAGS'
40309 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40310 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40311 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40315 if test "x$ac_cv_func_which_gethostbyname_r" = "xno" -o \
40316 "x$ac_cv_func_which_gethostbyname_r" = "xunknown" ; then
40317 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
40318 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
40319 if test "${ac_cv_func_gethostbyname+set}" = set; then
40320 echo $ECHO_N "(cached) $ECHO_C" >&6
40322 cat >conftest.$ac_ext <<_ACEOF
40325 cat confdefs.h >>conftest.$ac_ext
40326 cat >>conftest.$ac_ext <<_ACEOF
40327 /* end confdefs.h. */
40328 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
40329 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40330 #define gethostbyname innocuous_gethostbyname
40332 /* System header to define __stub macros and hopefully few prototypes,
40333 which can conflict with char gethostbyname (); below.
40334 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40335 <limits.h> exists even on freestanding compilers. */
40338 # include <limits.h>
40340 # include <assert.h>
40343 #undef gethostbyname
40345 /* Override any GCC internal prototype to avoid an error.
40346 Use char because int might match the return type of a GCC
40347 builtin and then its argument prototype would still apply. */
40351 char gethostbyname ();
40352 /* The GNU C library defines this for functions which it implements
40353 to always fail with ENOSYS. Some functions are actually named
40354 something starting with __ and the normal name is an alias. */
40355 #if defined __stub_gethostbyname || defined __stub___gethostbyname
40362 return gethostbyname ();
40367 rm -f conftest.$ac_objext conftest$ac_exeext
40368 if { (ac_try="$ac_link"
40369 case "(($ac_try" in
40370 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
40371 *) ac_try_echo
=$ac_try;;
40373 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40374 (eval "$ac_link") 2>conftest.er1
40376 grep -v '^ *+' conftest.er1
>conftest.err
40378 cat conftest.err
>&5
40379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40380 (exit $ac_status); } && {
40381 test -z "$ac_c_werror_flag" ||
40382 test ! -s conftest.err
40383 } && test -s conftest
$ac_exeext &&
40384 $as_test_x conftest
$ac_exeext; then
40385 ac_cv_func_gethostbyname
=yes
40387 echo "$as_me: failed program was:" >&5
40388 sed 's/^/| /' conftest.
$ac_ext >&5
40390 ac_cv_func_gethostbyname
=no
40393 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
40394 conftest
$ac_exeext conftest.
$ac_ext
40396 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
40397 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
40398 if test $ac_cv_func_gethostbyname = yes; then
40399 cat >>confdefs.h
<<\_ACEOF
40400 #define HAVE_GETHOSTBYNAME 1
40407 { echo "$as_me:$LINENO: checking how many arguments getservbyname_r() takes" >&5
40408 echo $ECHO_N "checking how many arguments getservbyname_r() takes... $ECHO_C" >&6; }
40409 if test "${ac_cv_func_which_getservbyname_r+set}" = set; then
40410 echo $ECHO_N "(cached) $ECHO_C" >&6
40414 ac_cpp
='$CXXCPP $CPPFLAGS'
40415 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40416 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40417 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
40420 cat >conftest.
$ac_ext <<_ACEOF
40423 cat confdefs.h
>>conftest.
$ac_ext
40424 cat >>conftest.
$ac_ext <<_ACEOF
40425 /* end confdefs.h. */
40433 struct servent *se, *res;
40436 (void) getservbyname_r(name, proto, se, buffer, buflen, &res)
40442 rm -f conftest.
$ac_objext
40443 if { (ac_try
="$ac_compile"
40444 case "(($ac_try" in
40445 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
40446 *) ac_try_echo=$ac_try;;
40448 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40449 (eval "$ac_compile") 2>conftest.er1
40451 grep -v '^ *+' conftest.er1 >conftest.err
40453 cat conftest.err >&5
40454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40455 (exit $ac_status); } && {
40456 test -z "$ac_cxx_werror_flag" ||
40457 test ! -s conftest.err
40458 } && test -s conftest.$ac_objext; then
40459 ac_cv_func_which_getservbyname_r=six
40461 echo "$as_me: failed program was:" >&5
40462 sed 's/^/| /' conftest.$ac_ext >&5
40465 cat >conftest.$ac_ext <<_ACEOF
40468 cat confdefs.h >>conftest.$ac_ext
40469 cat >>conftest.$ac_ext <<_ACEOF
40470 /* end confdefs.h. */
40478 struct servent *se;
40481 (void) getservbyname_r(name, proto, se, buffer, buflen)
40487 rm -f conftest.$ac_objext
40488 if { (ac_try="$ac_compile"
40489 case "(($ac_try" in
40490 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
40491 *) ac_try_echo
=$ac_try;;
40493 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40494 (eval "$ac_compile") 2>conftest.er1
40496 grep -v '^ *+' conftest.er1
>conftest.err
40498 cat conftest.err
>&5
40499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40500 (exit $ac_status); } && {
40501 test -z "$ac_cxx_werror_flag" ||
40502 test ! -s conftest.err
40503 } && test -s conftest.
$ac_objext; then
40504 ac_cv_func_which_getservbyname_r
=five
40506 echo "$as_me: failed program was:" >&5
40507 sed 's/^/| /' conftest.
$ac_ext >&5
40510 cat >conftest.
$ac_ext <<_ACEOF
40513 cat confdefs.h
>>conftest.
$ac_ext
40514 cat >>conftest.
$ac_ext <<_ACEOF
40515 /* end confdefs.h. */
40523 struct servent *se;
40524 struct servent_data data;
40525 (void) getservbyname_r(name, proto, se, &data);
40531 rm -f conftest.
$ac_objext
40532 if { (ac_try
="$ac_compile"
40533 case "(($ac_try" in
40534 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
40535 *) ac_try_echo=$ac_try;;
40537 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40538 (eval "$ac_compile") 2>conftest.er1
40540 grep -v '^ *+' conftest.er1 >conftest.err
40542 cat conftest.err >&5
40543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40544 (exit $ac_status); } && {
40545 test -z "$ac_cxx_werror_flag" ||
40546 test ! -s conftest.err
40547 } && test -s conftest.$ac_objext; then
40548 ac_cv_func_which_getservbyname_r=four
40550 echo "$as_me: failed program was:" >&5
40551 sed 's/^/| /' conftest.$ac_ext >&5
40553 ac_cv_func_which_getservbyname_r=no
40557 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40562 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40567 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40569 ac_cpp='$CPP $CPPFLAGS'
40570 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40571 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40572 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40577 { echo "$as_me:$LINENO: result: $ac_cv_func_which_getservbyname_r" >&5
40578 echo "${ECHO_T}$ac_cv_func_which_getservbyname_r" >&6; }
40580 if test $ac_cv_func_which_getservbyname_r = six; then
40581 cat >>confdefs.h <<\_ACEOF
40582 #define HAVE_FUNC_GETSERVBYNAME_R_6 1
40585 elif test $ac_cv_func_which_getservbyname_r = five; then
40586 cat >>confdefs.h <<\_ACEOF
40587 #define HAVE_FUNC_GETSERVBYNAME_R_5 1
40590 elif test $ac_cv_func_which_getservbyname_r = four; then
40591 cat >>confdefs.h <<\_ACEOF
40592 #define HAVE_FUNC_GETSERVBYNAME_R_4 1
40598 if test "x$ac_cv_func_which_getservbyname_r" = "xno" -o \
40599 "x$ac_cv_func_which_getservbyname_r" = "xunknown" ; then
40601 for ac_func in getservbyname
40603 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40604 { echo "$as_me:$LINENO: checking for $ac_func" >&5
40605 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
40606 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
40607 echo $ECHO_N "(cached) $ECHO_C" >&6
40609 cat >conftest.$ac_ext <<_ACEOF
40612 cat confdefs.h >>conftest.$ac_ext
40613 cat >>conftest.$ac_ext <<_ACEOF
40614 /* end confdefs.h. */
40615 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40616 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40617 #define $ac_func innocuous_$ac_func
40619 /* System header to define __stub macros and hopefully few prototypes,
40620 which can conflict with char $ac_func (); below.
40621 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40622 <limits.h> exists even on freestanding compilers. */
40625 # include <limits.h>
40627 # include <assert.h>
40632 /* Override any GCC internal prototype to avoid an error.
40633 Use char because int might match the return type of a GCC
40634 builtin and then its argument prototype would still apply. */
40639 /* The GNU C library defines this for functions which it implements
40640 to always fail with ENOSYS. Some functions are actually named
40641 something starting with __ and the normal name is an alias. */
40642 #if defined __stub_$ac_func || defined __stub___$ac_func
40649 return $ac_func ();
40654 rm -f conftest.$ac_objext conftest$ac_exeext
40655 if { (ac_try="$ac_link"
40656 case "(($ac_try" in
40657 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
40658 *) ac_try_echo
=$ac_try;;
40660 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40661 (eval "$ac_link") 2>conftest.er1
40663 grep -v '^ *+' conftest.er1
>conftest.err
40665 cat conftest.err
>&5
40666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40667 (exit $ac_status); } && {
40668 test -z "$ac_c_werror_flag" ||
40669 test ! -s conftest.err
40670 } && test -s conftest
$ac_exeext &&
40671 $as_test_x conftest
$ac_exeext; then
40672 eval "$as_ac_var=yes"
40674 echo "$as_me: failed program was:" >&5
40675 sed 's/^/| /' conftest.
$ac_ext >&5
40677 eval "$as_ac_var=no"
40680 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
40681 conftest
$ac_exeext conftest.
$ac_ext
40683 ac_res
=`eval echo '${'$as_ac_var'}'`
40684 { echo "$as_me:$LINENO: result: $ac_res" >&5
40685 echo "${ECHO_T}$ac_res" >&6; }
40686 if test `eval echo '${'$as_ac_var'}'` = yes; then
40687 cat >>confdefs.h
<<_ACEOF
40688 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40690 cat >>confdefs.h
<<\_ACEOF
40691 #define HAVE_GETSERVBYNAME 1
40699 if test "$wxUSE_THREADS" = "yes"; then
40700 cat >>confdefs.h
<<\_ACEOF
40701 #define wxUSE_THREADS 1
40705 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS thread"
40707 if test "$wx_cv_func_strtok_r" = "yes"; then
40708 { echo "$as_me:$LINENO: checking if -D_REENTRANT is needed" >&5
40709 echo $ECHO_N "checking if -D_REENTRANT is needed... $ECHO_C" >&6; }
40710 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
40711 WXCONFIG_CPPFLAGS
="$WXCONFIG_CPPFLAGS -D_REENTRANT"
40712 { echo "$as_me:$LINENO: result: yes" >&5
40713 echo "${ECHO_T}yes" >&6; }
40715 { echo "$as_me:$LINENO: result: no" >&5
40716 echo "${ECHO_T}no" >&6; }
40721 if test "$WXGTK2" = 1 ; then
40722 cat >>confdefs.h
<<_ACEOF
40723 #define __WXGTK20__ $WXGTK2
40729 if test "$WXGTK12" = 1 ; then
40730 cat >>confdefs.h
<<_ACEOF
40731 #define __WXGTK12__ $WXGTK12
40736 if test "$WXGTK127" = 1 ; then
40737 cat >>confdefs.h
<<_ACEOF
40738 #define __WXGTK127__ $WXGTK127
40743 if test "$WXGPE" = 1 ; then
40744 cat >>confdefs.h
<<_ACEOF
40745 #define __WXGPE__ $WXGPE
40751 if test "$wxUSE_DEBUG_INFO" = "yes" ; then
40756 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
40757 wxUSE_DEBUG_INFO
=yes
40758 if test "$GCC" = yes; then
40759 DEBUG_CFLAGS
="-ggdb"
40763 if test "$wxUSE_DEBUG_FLAG" = "yes" ; then
40764 cat >>confdefs.h
<<\_ACEOF
40768 WXCONFIG_CPPFLAGS
="$WXCONFIG_CPPFLAGS -D__WXDEBUG__"
40770 if test "$wxUSE_GTK" = 1 ; then
40771 if test "x$wxGTK_VERSION" = "x1" ; then
40772 CPPFLAGS
="-DGTK_NO_CHECK_CASTS $CPPFLAGS"
40777 if test "$wxUSE_MEM_TRACING" = "yes" ; then
40778 cat >>confdefs.h
<<\_ACEOF
40779 #define wxUSE_MEMORY_TRACING 1
40782 cat >>confdefs.h
<<\_ACEOF
40783 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
40786 cat >>confdefs.h
<<\_ACEOF
40787 #define wxUSE_DEBUG_NEW_ALWAYS 1
40790 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS memcheck"
40793 if test "$wxUSE_DMALLOC" = "yes" ; then
40794 DMALLOC_LIBS
="-ldmallocthcxx"
40798 if test "$wxUSE_PROFILE" = "yes" ; then
40799 PROFILE_FLAGS
=" -pg"
40802 if test "$GCC" = "yes" ; then
40803 if test "$wxUSE_NO_RTTI" = "yes" ; then
40804 WXCONFIG_CXXFLAGS
="$WXCONFIG_CXXFLAGS -fno-rtti"
40806 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
40807 WXCONFIG_CXXFLAGS
="$WXCONFIG_CXXFLAGS -fno-exceptions"
40809 if test "$wxUSE_PERMISSIVE" = "yes" ; then
40810 WXCONFIG_CFLAGS
="$WXCONFIG_CFLAGS -fpermissive"
40815 WXCONFIG_CFLAGS
="$WXCONFIG_CFLAGS -mminimal-toc"
40818 WXCONFIG_CFLAGS
="$WXCONFIG_CFLAGS -ffunction-sections"
40824 if test "$wxUSE_OPTIMISE" = "no" ; then
40825 if test "$GCC" = yes ; then
40826 OPTIMISE_CFLAGS
="-O0"
40829 if test "$GCC" = yes ; then
40831 *-pc-os2_emx | *-pc-os2-emx )
40832 OPTIMISE_CFLAGS
="-O2"
40835 OPTIMISE_CFLAGS
="-O2 -fno-strict-aliasing"
40839 OPTIMISE_CFLAGS
="-O"
40844 if test "x$WXWIN_COMPATIBILITY_2_6" = "xyes"; then
40845 cat >>confdefs.h
<<\_ACEOF
40846 #define WXWIN_COMPATIBILITY_2_6 1
40850 WXWIN_COMPATIBILITY_2_8
="yes"
40853 if test "x$WXWIN_COMPATIBILITY_2_8" != "xno"; then
40854 cat >>confdefs.h
<<\_ACEOF
40855 #define WXWIN_COMPATIBILITY_2_8 1
40861 if test "$wxUSE_GUI" = "yes"; then
40862 cat >>confdefs.h
<<\_ACEOF
40863 #define wxUSE_GUI 1
40870 if test "$wxUSE_UNIX" = "yes"; then
40871 cat >>confdefs.h
<<\_ACEOF
40872 #define wxUSE_UNIX 1
40878 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
40882 if test "$wxUSE_DYNAMIC_LOADER" = "yes" -o "$wxUSE_DYNLIB_CLASS" = "yes" ; then
40883 if test "$USE_DARWIN" = 1; then
40885 elif test "$USE_DOS" = 1; then
40889 for ac_func
in dlopen
40891 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40892 { echo "$as_me:$LINENO: checking for $ac_func" >&5
40893 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
40894 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
40895 echo $ECHO_N "(cached) $ECHO_C" >&6
40897 cat >conftest.
$ac_ext <<_ACEOF
40900 cat confdefs.h
>>conftest.
$ac_ext
40901 cat >>conftest.
$ac_ext <<_ACEOF
40902 /* end confdefs.h. */
40903 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40904 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40905 #define $ac_func innocuous_$ac_func
40907 /* System header to define __stub macros and hopefully few prototypes,
40908 which can conflict with char $ac_func (); below.
40909 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40910 <limits.h> exists even on freestanding compilers. */
40913 # include <limits.h>
40915 # include <assert.h>
40920 /* Override any GCC internal prototype to avoid an error.
40921 Use char because int might match the return type of a GCC
40922 builtin and then its argument prototype would still apply. */
40927 /* The GNU C library defines this for functions which it implements
40928 to always fail with ENOSYS. Some functions are actually named
40929 something starting with __ and the normal name is an alias. */
40930 #if defined __stub_$ac_func || defined __stub___$ac_func
40937 return $ac_func ();
40942 rm -f conftest.
$ac_objext conftest
$ac_exeext
40943 if { (ac_try
="$ac_link"
40944 case "(($ac_try" in
40945 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
40946 *) ac_try_echo=$ac_try;;
40948 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40949 (eval "$ac_link") 2>conftest.er1
40951 grep -v '^ *+' conftest.er1 >conftest.err
40953 cat conftest.err >&5
40954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40955 (exit $ac_status); } && {
40956 test -z "$ac_c_werror_flag" ||
40957 test ! -s conftest.err
40958 } && test -s conftest$ac_exeext &&
40959 $as_test_x conftest$ac_exeext; then
40960 eval "$as_ac_var=yes"
40962 echo "$as_me: failed program was:" >&5
40963 sed 's/^/| /' conftest.$ac_ext >&5
40965 eval "$as_ac_var=no"
40968 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40969 conftest$ac_exeext conftest.$ac_ext
40971 ac_res=`eval echo '${'$as_ac_var'}'`
40972 { echo "$as_me:$LINENO: result: $ac_res" >&5
40973 echo "${ECHO_T}$ac_res" >&6; }
40974 if test `eval echo '${'$as_ac_var'}'` = yes; then
40975 cat >>confdefs.h <<_ACEOF
40976 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40979 cat >>confdefs.h <<\_ACEOF
40980 #define HAVE_DLOPEN 1
40987 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
40988 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
40989 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
40990 echo $ECHO_N "(cached) $ECHO_C" >&6
40992 ac_check_lib_save_LIBS=$LIBS
40994 cat >conftest.$ac_ext <<_ACEOF
40997 cat confdefs.h >>conftest.$ac_ext
40998 cat >>conftest.$ac_ext <<_ACEOF
40999 /* end confdefs.h. */
41001 /* Override any GCC internal prototype to avoid an error.
41002 Use char because int might match the return type of a GCC
41003 builtin and then its argument prototype would still apply. */
41016 rm -f conftest.$ac_objext conftest$ac_exeext
41017 if { (ac_try="$ac_link"
41018 case "(($ac_try" in
41019 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
41020 *) ac_try_echo
=$ac_try;;
41022 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41023 (eval "$ac_link") 2>conftest.er1
41025 grep -v '^ *+' conftest.er1
>conftest.err
41027 cat conftest.err
>&5
41028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41029 (exit $ac_status); } && {
41030 test -z "$ac_c_werror_flag" ||
41031 test ! -s conftest.err
41032 } && test -s conftest
$ac_exeext &&
41033 $as_test_x conftest
$ac_exeext; then
41034 ac_cv_lib_dl_dlopen
=yes
41036 echo "$as_me: failed program was:" >&5
41037 sed 's/^/| /' conftest.
$ac_ext >&5
41039 ac_cv_lib_dl_dlopen
=no
41042 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
41043 conftest
$ac_exeext conftest.
$ac_ext
41044 LIBS
=$ac_check_lib_save_LIBS
41046 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
41047 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
41048 if test $ac_cv_lib_dl_dlopen = yes; then
41050 cat >>confdefs.h
<<\_ACEOF
41051 #define HAVE_DLOPEN 1
41055 DL_LINK
=" -ldl$DL_LINK"
41060 for ac_func
in shl_load
41062 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41063 { echo "$as_me:$LINENO: checking for $ac_func" >&5
41064 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
41065 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
41066 echo $ECHO_N "(cached) $ECHO_C" >&6
41068 cat >conftest.
$ac_ext <<_ACEOF
41071 cat confdefs.h
>>conftest.
$ac_ext
41072 cat >>conftest.
$ac_ext <<_ACEOF
41073 /* end confdefs.h. */
41074 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41075 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41076 #define $ac_func innocuous_$ac_func
41078 /* System header to define __stub macros and hopefully few prototypes,
41079 which can conflict with char $ac_func (); below.
41080 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41081 <limits.h> exists even on freestanding compilers. */
41084 # include <limits.h>
41086 # include <assert.h>
41091 /* Override any GCC internal prototype to avoid an error.
41092 Use char because int might match the return type of a GCC
41093 builtin and then its argument prototype would still apply. */
41098 /* The GNU C library defines this for functions which it implements
41099 to always fail with ENOSYS. Some functions are actually named
41100 something starting with __ and the normal name is an alias. */
41101 #if defined __stub_$ac_func || defined __stub___$ac_func
41108 return $ac_func ();
41113 rm -f conftest.
$ac_objext conftest
$ac_exeext
41114 if { (ac_try
="$ac_link"
41115 case "(($ac_try" in
41116 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
41117 *) ac_try_echo=$ac_try;;
41119 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41120 (eval "$ac_link") 2>conftest.er1
41122 grep -v '^ *+' conftest.er1 >conftest.err
41124 cat conftest.err >&5
41125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41126 (exit $ac_status); } && {
41127 test -z "$ac_c_werror_flag" ||
41128 test ! -s conftest.err
41129 } && test -s conftest$ac_exeext &&
41130 $as_test_x conftest$ac_exeext; then
41131 eval "$as_ac_var=yes"
41133 echo "$as_me: failed program was:" >&5
41134 sed 's/^/| /' conftest.$ac_ext >&5
41136 eval "$as_ac_var=no"
41139 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41140 conftest$ac_exeext conftest.$ac_ext
41142 ac_res=`eval echo '${'$as_ac_var'}'`
41143 { echo "$as_me:$LINENO: result: $ac_res" >&5
41144 echo "${ECHO_T}$ac_res" >&6; }
41145 if test `eval echo '${'$as_ac_var'}'` = yes; then
41146 cat >>confdefs.h <<_ACEOF
41147 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41150 cat >>confdefs.h <<\_ACEOF
41151 #define HAVE_SHL_LOAD 1
41158 { echo "$as_me:$LINENO: checking for dld in -lshl_load" >&5
41159 echo $ECHO_N "checking for dld in -lshl_load... $ECHO_C" >&6; }
41160 if test "${ac_cv_lib_shl_load_dld+set}" = set; then
41161 echo $ECHO_N "(cached) $ECHO_C" >&6
41163 ac_check_lib_save_LIBS=$LIBS
41164 LIBS="-lshl_load $LIBS"
41165 cat >conftest.$ac_ext <<_ACEOF
41168 cat confdefs.h >>conftest.$ac_ext
41169 cat >>conftest.$ac_ext <<_ACEOF
41170 /* end confdefs.h. */
41172 /* Override any GCC internal prototype to avoid an error.
41173 Use char because int might match the return type of a GCC
41174 builtin and then its argument prototype would still apply. */
41187 rm -f conftest.$ac_objext conftest$ac_exeext
41188 if { (ac_try="$ac_link"
41189 case "(($ac_try" in
41190 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
41191 *) ac_try_echo
=$ac_try;;
41193 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41194 (eval "$ac_link") 2>conftest.er1
41196 grep -v '^ *+' conftest.er1
>conftest.err
41198 cat conftest.err
>&5
41199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41200 (exit $ac_status); } && {
41201 test -z "$ac_c_werror_flag" ||
41202 test ! -s conftest.err
41203 } && test -s conftest
$ac_exeext &&
41204 $as_test_x conftest
$ac_exeext; then
41205 ac_cv_lib_shl_load_dld
=yes
41207 echo "$as_me: failed program was:" >&5
41208 sed 's/^/| /' conftest.
$ac_ext >&5
41210 ac_cv_lib_shl_load_dld
=no
41213 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
41214 conftest
$ac_exeext conftest.
$ac_ext
41215 LIBS
=$ac_check_lib_save_LIBS
41217 { echo "$as_me:$LINENO: result: $ac_cv_lib_shl_load_dld" >&5
41218 echo "${ECHO_T}$ac_cv_lib_shl_load_dld" >&6; }
41219 if test $ac_cv_lib_shl_load_dld = yes; then
41222 DL_LINK
=" -ldld$DL_LINK"
41238 if test "$HAVE_DL_FUNCS" = 1; then
41240 for ac_func
in dlerror
41242 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41243 { echo "$as_me:$LINENO: checking for $ac_func" >&5
41244 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
41245 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
41246 echo $ECHO_N "(cached) $ECHO_C" >&6
41248 cat >conftest.
$ac_ext <<_ACEOF
41251 cat confdefs.h
>>conftest.
$ac_ext
41252 cat >>conftest.
$ac_ext <<_ACEOF
41253 /* end confdefs.h. */
41254 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41255 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41256 #define $ac_func innocuous_$ac_func
41258 /* System header to define __stub macros and hopefully few prototypes,
41259 which can conflict with char $ac_func (); below.
41260 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41261 <limits.h> exists even on freestanding compilers. */
41264 # include <limits.h>
41266 # include <assert.h>
41271 /* Override any GCC internal prototype to avoid an error.
41272 Use char because int might match the return type of a GCC
41273 builtin and then its argument prototype would still apply. */
41278 /* The GNU C library defines this for functions which it implements
41279 to always fail with ENOSYS. Some functions are actually named
41280 something starting with __ and the normal name is an alias. */
41281 #if defined __stub_$ac_func || defined __stub___$ac_func
41288 return $ac_func ();
41293 rm -f conftest.
$ac_objext conftest
$ac_exeext
41294 if { (ac_try
="$ac_link"
41295 case "(($ac_try" in
41296 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
41297 *) ac_try_echo=$ac_try;;
41299 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41300 (eval "$ac_link") 2>conftest.er1
41302 grep -v '^ *+' conftest.er1 >conftest.err
41304 cat conftest.err >&5
41305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41306 (exit $ac_status); } && {
41307 test -z "$ac_c_werror_flag" ||
41308 test ! -s conftest.err
41309 } && test -s conftest$ac_exeext &&
41310 $as_test_x conftest$ac_exeext; then
41311 eval "$as_ac_var=yes"
41313 echo "$as_me: failed program was:" >&5
41314 sed 's/^/| /' conftest.$ac_ext >&5
41316 eval "$as_ac_var=no"
41319 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41320 conftest$ac_exeext conftest.$ac_ext
41322 ac_res=`eval echo '${'$as_ac_var'}'`
41323 { echo "$as_me:$LINENO: result: $ac_res" >&5
41324 echo "${ECHO_T}$ac_res" >&6; }
41325 if test `eval echo '${'$as_ac_var'}'` = yes; then
41326 cat >>confdefs.h <<_ACEOF
41327 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41329 cat >>confdefs.h <<\_ACEOF
41330 #define HAVE_DLERROR 1
41335 { echo "$as_me:$LINENO: checking for dlerror in -ldl" >&5
41336 echo $ECHO_N "checking for dlerror in -ldl... $ECHO_C" >&6; }
41337 if test "${ac_cv_lib_dl_dlerror+set}" = set; then
41338 echo $ECHO_N "(cached) $ECHO_C" >&6
41340 ac_check_lib_save_LIBS=$LIBS
41342 cat >conftest.$ac_ext <<_ACEOF
41345 cat confdefs.h >>conftest.$ac_ext
41346 cat >>conftest.$ac_ext <<_ACEOF
41347 /* end confdefs.h. */
41349 /* Override any GCC internal prototype to avoid an error.
41350 Use char because int might match the return type of a GCC
41351 builtin and then its argument prototype would still apply. */
41364 rm -f conftest.$ac_objext conftest$ac_exeext
41365 if { (ac_try="$ac_link"
41366 case "(($ac_try" in
41367 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
41368 *) ac_try_echo
=$ac_try;;
41370 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41371 (eval "$ac_link") 2>conftest.er1
41373 grep -v '^ *+' conftest.er1
>conftest.err
41375 cat conftest.err
>&5
41376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41377 (exit $ac_status); } && {
41378 test -z "$ac_c_werror_flag" ||
41379 test ! -s conftest.err
41380 } && test -s conftest
$ac_exeext &&
41381 $as_test_x conftest
$ac_exeext; then
41382 ac_cv_lib_dl_dlerror
=yes
41384 echo "$as_me: failed program was:" >&5
41385 sed 's/^/| /' conftest.
$ac_ext >&5
41387 ac_cv_lib_dl_dlerror
=no
41390 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
41391 conftest
$ac_exeext conftest.
$ac_ext
41392 LIBS
=$ac_check_lib_save_LIBS
41394 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlerror" >&5
41395 echo "${ECHO_T}$ac_cv_lib_dl_dlerror" >&6; }
41396 if test $ac_cv_lib_dl_dlerror = yes; then
41397 cat >>confdefs.h
<<\_ACEOF
41398 #define HAVE_DLERROR 1
41411 if test "$HAVE_DL_FUNCS" = 0; then
41412 if test "$HAVE_SHL_FUNCS" = 0; then
41413 if test "$USE_UNIX" = 1 -o "$USE_DOS" = 1; then
41414 { echo "$as_me:$LINENO: WARNING: Missing dynamic loading support, several features will be disabled" >&5
41415 echo "$as_me: WARNING: Missing dynamic loading support, several features will be disabled" >&2;}
41416 wxUSE_DYNAMIC_LOADER
=no
41417 wxUSE_DYNLIB_CLASS
=no
41419 { echo "$as_me:$LINENO: WARNING: Assuming wxLibrary class works on this platform" >&5
41420 echo "$as_me: WARNING: Assuming wxLibrary class works on this platform" >&2;}
41427 if test "$wxUSE_DYNAMIC_LOADER" = "yes" ; then
41428 cat >>confdefs.h
<<\_ACEOF
41429 #define wxUSE_DYNAMIC_LOADER 1
41433 if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
41434 cat >>confdefs.h
<<\_ACEOF
41435 #define wxUSE_DYNLIB_CLASS 1
41442 if test "$wxUSE_PLUGINS" = "yes" ; then
41443 if test "$wxUSE_SHARED" = "no" ; then
41444 { echo "$as_me:$LINENO: WARNING: plugins supported only in shared build, disabling" >&5
41445 echo "$as_me: WARNING: plugins supported only in shared build, disabling" >&2;}
41448 if test "$wxUSE_MONOLITHIC" = "yes" ; then
41449 { echo "$as_me:$LINENO: WARNING: plugins not supported monolithic build, disabling" >&5
41450 echo "$as_me: WARNING: plugins not supported monolithic build, disabling" >&2;}
41453 if test "$wxUSE_DYNLIB_CLASS" = "no" ; then
41454 { echo "$as_me:$LINENO: WARNING: plugins require wxDynamicLibrary, disabling" >&5
41455 echo "$as_me: WARNING: plugins require wxDynamicLibrary, disabling" >&2;}
41458 if test "$wxUSE_PLUGINS" = "yes" ; then
41459 cat >>confdefs.h
<<\_ACEOF
41460 #define wxUSE_PLUGINS 1
41467 if test "$wxUSE_STL" = "yes"; then
41468 cat >>confdefs.h
<<\_ACEOF
41469 #define wxUSE_STL 1
41474 if test "$wxUSE_EXTENDED_RTTI" = "yes"; then
41475 cat >>confdefs.h
<<\_ACEOF
41476 #define wxUSE_EXTENDED_RTTI 1
41481 if test "$wxUSE_APPLE_IEEE" = "yes"; then
41482 cat >>confdefs.h
<<\_ACEOF
41483 #define wxUSE_APPLE_IEEE 1
41488 if test "$wxUSE_TIMER" = "yes"; then
41489 cat >>confdefs.h
<<\_ACEOF
41490 #define wxUSE_TIMER 1
41495 if test "$USE_UNIX" = 1 ; then
41496 if test "$wxUSE_MGL" != 1; then
41497 { echo "$as_me:$LINENO: checking for SNDCTL_DSP_SPEED in sys/soundcard.h" >&5
41498 echo $ECHO_N "checking for SNDCTL_DSP_SPEED in sys/soundcard.h... $ECHO_C" >&6; }
41499 if test "${ac_cv_header_sys_soundcard+set}" = set; then
41500 echo $ECHO_N "(cached) $ECHO_C" >&6
41503 cat >conftest.
$ac_ext <<_ACEOF
41506 cat confdefs.h
>>conftest.
$ac_ext
41507 cat >>conftest.
$ac_ext <<_ACEOF
41508 /* end confdefs.h. */
41510 #include <sys/ioctl.h>
41511 #include <sys/soundcard.h>
41517 ioctl(0, SNDCTL_DSP_SPEED, 0);
41523 rm -f conftest.
$ac_objext conftest
$ac_exeext
41524 if { (ac_try
="$ac_link"
41525 case "(($ac_try" in
41526 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
41527 *) ac_try_echo=$ac_try;;
41529 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41530 (eval "$ac_link") 2>conftest.er1
41532 grep -v '^ *+' conftest.er1 >conftest.err
41534 cat conftest.err >&5
41535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41536 (exit $ac_status); } && {
41537 test -z "$ac_c_werror_flag" ||
41538 test ! -s conftest.err
41539 } && test -s conftest$ac_exeext &&
41540 $as_test_x conftest$ac_exeext; then
41541 ac_cv_header_sys_soundcard=yes
41543 echo "$as_me: failed program was:" >&5
41544 sed 's/^/| /' conftest.$ac_ext >&5
41548 LIBS="$saveLibs -lossaudio"
41549 cat >conftest.$ac_ext <<_ACEOF
41552 cat confdefs.h >>conftest.$ac_ext
41553 cat >>conftest.$ac_ext <<_ACEOF
41554 /* end confdefs.h. */
41556 #include <sys/ioctl.h>
41557 #include <sys/soundcard.h>
41563 ioctl(0, SNDCTL_DSP_SPEED, 0);
41569 rm -f conftest.$ac_objext conftest$ac_exeext
41570 if { (ac_try="$ac_link"
41571 case "(($ac_try" in
41572 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
41573 *) ac_try_echo
=$ac_try;;
41575 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41576 (eval "$ac_link") 2>conftest.er1
41578 grep -v '^ *+' conftest.er1
>conftest.err
41580 cat conftest.err
>&5
41581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41582 (exit $ac_status); } && {
41583 test -z "$ac_c_werror_flag" ||
41584 test ! -s conftest.err
41585 } && test -s conftest
$ac_exeext &&
41586 $as_test_x conftest
$ac_exeext; then
41587 ac_cv_header_sys_soundcard
=yes
41589 echo "$as_me: failed program was:" >&5
41590 sed 's/^/| /' conftest.
$ac_ext >&5
41594 ac_cv_header_sys_soundcard
=no
41599 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
41600 conftest
$ac_exeext conftest.
$ac_ext
41605 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
41606 conftest
$ac_exeext conftest.
$ac_ext
41609 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_soundcard" >&5
41610 echo "${ECHO_T}$ac_cv_header_sys_soundcard" >&6; }
41613 if test "$ac_cv_header_sys_soundcard" = "yes"; then
41614 cat >>confdefs.h
<<\_ACEOF
41615 #define HAVE_SYS_SOUNDCARD_H 1
41622 if test "$wxUSE_SOUND" = "yes"; then
41623 if test "$USE_UNIX" = 1 ; then
41624 if test "$wxUSE_LIBSDL" != "no"; then
41626 # Check whether --with-sdl-prefix was given.
41627 if test "${with_sdl_prefix+set}" = set; then
41628 withval
=$with_sdl_prefix; sdl_prefix
="$withval"
41634 # Check whether --with-sdl-exec-prefix was given.
41635 if test "${with_sdl_exec_prefix+set}" = set; then
41636 withval
=$with_sdl_exec_prefix; sdl_exec_prefix
="$withval"
41641 # Check whether --enable-sdltest was given.
41642 if test "${enable_sdltest+set}" = set; then
41643 enableval
=$enable_sdltest;
41649 if test x
$sdl_exec_prefix != x
; then
41650 sdl_args
="$sdl_args --exec-prefix=$sdl_exec_prefix"
41651 if test x
${SDL_CONFIG+set} != xset
; then
41652 SDL_CONFIG
=$sdl_exec_prefix/bin
/sdl
-config
41655 if test x
$sdl_prefix != x
; then
41656 sdl_args
="$sdl_args --prefix=$sdl_prefix"
41657 if test x
${SDL_CONFIG+set} != xset
; then
41658 SDL_CONFIG
=$sdl_prefix/bin
/sdl
-config
41662 if test "x$prefix" != xNONE
; then
41663 PATH
="$prefix/bin:$prefix/usr/bin:$PATH"
41665 # Extract the first word of "sdl-config", so it can be a program name with args.
41666 set dummy sdl
-config; ac_word
=$2
41667 { echo "$as_me:$LINENO: checking for $ac_word" >&5
41668 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
41669 if test "${ac_cv_path_SDL_CONFIG+set}" = set; then
41670 echo $ECHO_N "(cached) $ECHO_C" >&6
41672 case $SDL_CONFIG in
41674 ac_cv_path_SDL_CONFIG
="$SDL_CONFIG" # Let the user override the test with a path.
41677 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
41678 for as_dir
in $PATH
41681 test -z "$as_dir" && as_dir
=.
41682 for ac_exec_ext
in '' $ac_executable_extensions; do
41683 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
41684 ac_cv_path_SDL_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
41685 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
41692 test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG
="no"
41696 SDL_CONFIG
=$ac_cv_path_SDL_CONFIG
41697 if test -n "$SDL_CONFIG"; then
41698 { echo "$as_me:$LINENO: result: $SDL_CONFIG" >&5
41699 echo "${ECHO_T}$SDL_CONFIG" >&6; }
41701 { echo "$as_me:$LINENO: result: no" >&5
41702 echo "${ECHO_T}no" >&6; }
41706 min_sdl_version
=1.2.0
41707 { echo "$as_me:$LINENO: checking for SDL - version >= $min_sdl_version" >&5
41708 echo $ECHO_N "checking for SDL - version >= $min_sdl_version... $ECHO_C" >&6; }
41710 if test "$SDL_CONFIG" = "no" ; then
41713 SDL_CFLAGS
=`$SDL_CONFIG $sdlconf_args --cflags`
41714 SDL_LIBS
=`$SDL_CONFIG $sdlconf_args --libs`
41716 sdl_major_version
=`$SDL_CONFIG $sdl_args --version | \
41717 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
41718 sdl_minor_version
=`$SDL_CONFIG $sdl_args --version | \
41719 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
41720 sdl_micro_version
=`$SDL_CONFIG $sdl_config_args --version | \
41721 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
41722 if test "x$enable_sdltest" = "xyes" ; then
41723 ac_save_CFLAGS
="$CFLAGS"
41724 ac_save_CXXFLAGS
="$CXXFLAGS"
41725 ac_save_LIBS
="$LIBS"
41726 CFLAGS
="$CFLAGS $SDL_CFLAGS"
41727 CXXFLAGS
="$CXXFLAGS $SDL_CFLAGS"
41728 LIBS
="$LIBS $SDL_LIBS"
41730 if test "$cross_compiling" = yes; then
41731 echo $ac_n "cross compiling; assumed OK... $ac_c"
41733 cat >conftest.
$ac_ext <<_ACEOF
41736 cat confdefs.h
>>conftest.
$ac_ext
41737 cat >>conftest.
$ac_ext <<_ACEOF
41738 /* end confdefs.h. */
41741 #include <stdlib.h>
41742 #include <string.h>
41746 my_strdup (char *str)
41752 new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
41753 strcpy (new_str, str);
41761 int main (int argc, char *argv[])
41763 int major, minor, micro;
41766 /* This hangs on some systems (?)
41767 system ("touch conf.sdltest");
41769 { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
41771 /* HP/UX 9 (%@#!) writes to sscanf strings */
41772 tmp_version = my_strdup("$min_sdl_version");
41773 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
41774 printf("%s, bad version string\n", "$min_sdl_version");
41778 if (($sdl_major_version > major) ||
41779 (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
41780 (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
41786 printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
41787 printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
41788 printf("*** best to upgrade to the required version.\n");
41789 printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
41790 printf("*** to point to the correct copy of sdl-config, and remove the file\n");
41791 printf("*** config.cache before re-running configure\n");
41798 rm -f conftest
$ac_exeext
41799 if { (ac_try
="$ac_link"
41800 case "(($ac_try" in
41801 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
41802 *) ac_try_echo=$ac_try;;
41804 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41805 (eval "$ac_link") 2>&5
41807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41808 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
41809 { (case "(($ac_try" in
41810 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
41811 *) ac_try_echo
=$ac_try;;
41813 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41814 (eval "$ac_try") 2>&5
41816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41817 (exit $ac_status); }; }; then
41820 echo "$as_me: program exited with status $ac_status" >&5
41821 echo "$as_me: failed program was:" >&5
41822 sed 's/^/| /' conftest.
$ac_ext >&5
41824 ( exit $ac_status )
41827 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
41831 CFLAGS
="$ac_save_CFLAGS"
41832 CXXFLAGS
="$ac_save_CXXFLAGS"
41833 LIBS
="$ac_save_LIBS"
41836 if test "x$no_sdl" = x
; then
41837 { echo "$as_me:$LINENO: result: yes" >&5
41838 echo "${ECHO_T}yes" >&6; }
41840 EXTRALIBS_SDL
="$SDL_LIBS"
41841 CFLAGS
="$SDL_CFLAGS $CFLAGS"
41842 CXXFLAGS
="$SDL_CFLAGS $CXXFLAGS"
41843 cat >>confdefs.h
<<\_ACEOF
41844 #define wxUSE_LIBSDL 1
41849 { echo "$as_me:$LINENO: result: no" >&5
41850 echo "${ECHO_T}no" >&6; }
41851 if test "$SDL_CONFIG" = "no" ; then
41852 echo "*** The sdl-config script installed by SDL could not be found"
41853 echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
41854 echo "*** your path, or set the SDL_CONFIG environment variable to the"
41855 echo "*** full path to sdl-config."
41857 if test -f conf.sdltest
; then
41860 echo "*** Could not run SDL test program, checking why..."
41861 CFLAGS
="$CFLAGS $SDL_CFLAGS"
41862 CXXFLAGS
="$CXXFLAGS $SDL_CFLAGS"
41863 LIBS
="$LIBS $SDL_LIBS"
41864 cat >conftest.
$ac_ext <<_ACEOF
41867 cat confdefs.h
>>conftest.
$ac_ext
41868 cat >>conftest.
$ac_ext <<_ACEOF
41869 /* end confdefs.h. */
41874 int main(int argc, char *argv[])
41877 #define main K_and_R_C_main
41887 rm -f conftest.
$ac_objext conftest
$ac_exeext
41888 if { (ac_try
="$ac_link"
41889 case "(($ac_try" in
41890 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
41891 *) ac_try_echo=$ac_try;;
41893 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41894 (eval "$ac_link") 2>conftest.er1
41896 grep -v '^ *+' conftest.er1 >conftest.err
41898 cat conftest.err >&5
41899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41900 (exit $ac_status); } && {
41901 test -z "$ac_c_werror_flag" ||
41902 test ! -s conftest.err
41903 } && test -s conftest$ac_exeext &&
41904 $as_test_x conftest$ac_exeext; then
41905 echo "*** The test program compiled, but did not run. This usually means"
41906 echo "*** that the run-time linker is not finding SDL or finding the wrong"
41907 echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
41908 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
41909 echo "*** to the installed location Also, make sure you have run ldconfig if that"
41910 echo "*** is required on your system"
41912 echo "*** If you have an old version installed, it is best to remove it, although"
41913 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
41915 echo "$as_me: failed program was:" >&5
41916 sed 's/^/| /' conftest.$ac_ext >&5
41918 echo "*** The test program failed to compile or link. See the file config.log for the"
41919 echo "*** exact error that occured. This usually means SDL was incorrectly installed"
41920 echo "*** or that you have moved SDL since it was installed. In the latter case, you"
41921 echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
41924 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41925 conftest$ac_exeext conftest.$ac_ext
41926 CFLAGS="$ac_save_CFLAGS"
41927 CXXFLAGS="$ac_save_CXXFLAGS"
41928 LIBS="$ac_save_LIBS"
41939 if test "$wxUSE_LIBSDL" = "yes" -a "$wxUSE_PLUGINS" = "yes" ; then
41944 if test "$wxUSE_MGL" = 1; then
41945 { echo "$as_me:$LINENO: WARNING: wxSound not supported in MGL under DOS... disabled" >&5
41946 echo "$as_me: WARNING: wxSound not supported in MGL under DOS... disabled" >&2;}
41952 if test "$wxUSE_SOUND" = "yes"; then
41953 cat >>confdefs.h <<\_ACEOF
41954 #define wxUSE_SOUND 1
41957 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sound"
41960 if test "$WXGTK2" = 1; then
41963 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
41964 if test -n "$ac_tool_prefix"; then
41965 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
41966 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
41967 { echo "$as_me:$LINENO: checking for $ac_word" >&5
41968 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
41969 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
41970 echo $ECHO_N "(cached) $ECHO_C" >&6
41972 case $PKG_CONFIG in
41974 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
41977 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
41978 for as_dir in $PATH
41981 test -z "$as_dir" && as_dir=.
41982 for ac_exec_ext in '' $ac_executable_extensions; do
41983 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
41984 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
41985 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
41995 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
41996 if test -n "$PKG_CONFIG"; then
41997 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
41998 echo "${ECHO_T}$PKG_CONFIG" >&6; }
42000 { echo "$as_me:$LINENO: result: no" >&5
42001 echo "${ECHO_T}no" >&6; }
42006 if test -z "$ac_cv_path_PKG_CONFIG"; then
42007 ac_pt_PKG_CONFIG=$PKG_CONFIG
42008 # Extract the first word of "pkg-config", so it can be a program name with args.
42009 set dummy pkg-config; ac_word=$2
42010 { echo "$as_me:$LINENO: checking for $ac_word" >&5
42011 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
42012 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
42013 echo $ECHO_N "(cached) $ECHO_C" >&6
42015 case $ac_pt_PKG_CONFIG in
42017 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
42020 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
42021 for as_dir in $PATH
42024 test -z "$as_dir" && as_dir=.
42025 for ac_exec_ext in '' $ac_executable_extensions; do
42026 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
42027 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
42028 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
42038 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
42039 if test -n "$ac_pt_PKG_CONFIG"; then
42040 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
42041 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
42043 { echo "$as_me:$LINENO: result: no" >&5
42044 echo "${ECHO_T}no" >&6; }
42047 if test "x$ac_pt_PKG_CONFIG" = x; then
42050 case $cross_compiling:$ac_tool_warned in
42052 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
42053 whose name does not start with the host triplet. If you think this
42054 configuration is useful to you, please write to autoconf@gnu.org." >&5
42055 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
42056 whose name does not start with the host triplet. If you think this
42057 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
42058 ac_tool_warned=yes ;;
42060 PKG_CONFIG=$ac_pt_PKG_CONFIG
42063 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
42067 if test -n "$PKG_CONFIG"; then
42068 _pkg_min_version=0.9.0
42069 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
42070 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
42071 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
42072 { echo "$as_me:$LINENO: result: yes" >&5
42073 echo "${ECHO_T}yes" >&6; }
42075 { echo "$as_me:$LINENO: result: no" >&5
42076 echo "${ECHO_T}no" >&6; }
42082 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
42084 if test "$wxUSE_GTKPRINT" = "yes" ; then
42088 { echo "$as_me:$LINENO: checking for GTKPRINT" >&5
42089 echo $ECHO_N "checking for GTKPRINT... $ECHO_C" >&6; }
42091 if test -n "$PKG_CONFIG"; then
42092 if test -n "$GTKPRINT_CFLAGS"; then
42093 pkg_cv_GTKPRINT_CFLAGS="$GTKPRINT_CFLAGS"
42095 if test -n "$PKG_CONFIG" && \
42096 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtk+-unix-print-2.0 >= 2.10\"") >&5
42097 ($PKG_CONFIG --exists --print-errors "gtk+-unix-print-2.0 >= 2.10") 2>&5
42099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42100 (exit $ac_status); }; then
42101 pkg_cv_GTKPRINT_CFLAGS=`$PKG_CONFIG --cflags "gtk+-unix-print-2.0 >= 2.10" 2>/dev
/null
`
42109 if test -n "$PKG_CONFIG"; then
42110 if test -n "$GTKPRINT_LIBS"; then
42111 pkg_cv_GTKPRINT_LIBS="$GTKPRINT_LIBS"
42113 if test -n "$PKG_CONFIG" && \
42114 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtk+-unix-print-2.0 >= 2.10\"") >&5
42115 ($PKG_CONFIG --exists --print-errors "gtk+-unix-print-2.0 >= 2.10") 2>&5
42117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42118 (exit $ac_status); }; then
42119 pkg_cv_GTKPRINT_LIBS=`$PKG_CONFIG --libs "gtk+-unix-print-2.0 >= 2.10" 2>/dev
/null
`
42130 if test $pkg_failed = yes; then
42132 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
42133 _pkg_short_errors_supported=yes
42135 _pkg_short_errors_supported=no
42137 if test $_pkg_short_errors_supported = yes; then
42138 GTKPRINT_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gtk+-unix-print-2.0 >= 2.10"`
42140 GTKPRINT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gtk+-unix-print-2.0 >= 2.10"`
42142 # Put the nasty error message in config.log where it belongs
42143 echo "$GTKPRINT_PKG_ERRORS" >&5
42146 { echo "$as_me:$LINENO: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&5
42147 echo "$as_me: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&2;}
42148 wxUSE_GTKPRINT="no"
42151 elif test $pkg_failed = untried; then
42153 { echo "$as_me:$LINENO: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&5
42154 echo "$as_me: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&2;}
42155 wxUSE_GTKPRINT="no"
42159 GTKPRINT_CFLAGS=$pkg_cv_GTKPRINT_CFLAGS
42160 GTKPRINT_LIBS=$pkg_cv_GTKPRINT_LIBS
42161 { echo "$as_me:$LINENO: result: yes" >&5
42162 echo "${ECHO_T}yes" >&6; }
42164 CFLAGS="$GTKPRINT_CFLAGS $CFLAGS"
42165 CXXFLAGS="$GTKPRINT_CFLAGS $CXXFLAGS"
42166 cat >>confdefs.h <<\_ACEOF
42167 #define wxUSE_GTKPRINT 1
42174 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
42178 { echo "$as_me:$LINENO: checking for LIBGNOMEPRINTUI" >&5
42179 echo $ECHO_N "checking for LIBGNOMEPRINTUI... $ECHO_C" >&6; }
42181 if test -n "$PKG_CONFIG"; then
42182 if test -n "$LIBGNOMEPRINTUI_CFLAGS"; then
42183 pkg_cv_LIBGNOMEPRINTUI_CFLAGS="$LIBGNOMEPRINTUI_CFLAGS"
42185 if test -n "$PKG_CONFIG" && \
42186 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
42187 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
42189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42190 (exit $ac_status); }; then
42191 pkg_cv_LIBGNOMEPRINTUI_CFLAGS=`$PKG_CONFIG --cflags "libgnomeprintui-2.2 >= 2.8" 2>/dev
/null
`
42199 if test -n "$PKG_CONFIG"; then
42200 if test -n "$LIBGNOMEPRINTUI_LIBS"; then
42201 pkg_cv_LIBGNOMEPRINTUI_LIBS="$LIBGNOMEPRINTUI_LIBS"
42203 if test -n "$PKG_CONFIG" && \
42204 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
42205 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
42207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42208 (exit $ac_status); }; then
42209 pkg_cv_LIBGNOMEPRINTUI_LIBS=`$PKG_CONFIG --libs "libgnomeprintui-2.2 >= 2.8" 2>/dev
/null
`
42220 if test $pkg_failed = yes; then
42222 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
42223 _pkg_short_errors_supported=yes
42225 _pkg_short_errors_supported=no
42227 if test $_pkg_short_errors_supported = yes; then
42228 LIBGNOMEPRINTUI_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
42230 LIBGNOMEPRINTUI_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
42232 # Put the nasty error message in config.log where it belongs
42233 echo "$LIBGNOMEPRINTUI_PKG_ERRORS" >&5
42236 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
42237 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
42238 wxUSE_LIBGNOMEPRINT="no"
42241 elif test $pkg_failed = untried; then
42243 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
42244 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
42245 wxUSE_LIBGNOMEPRINT="no"
42249 LIBGNOMEPRINTUI_CFLAGS=$pkg_cv_LIBGNOMEPRINTUI_CFLAGS
42250 LIBGNOMEPRINTUI_LIBS=$pkg_cv_LIBGNOMEPRINTUI_LIBS
42251 { echo "$as_me:$LINENO: result: yes" >&5
42252 echo "${ECHO_T}yes" >&6; }
42254 CFLAGS="$LIBGNOMEPRINTUI_CFLAGS $CFLAGS"
42255 CXXFLAGS="$LIBGNOMEPRINTUI_CFLAGS $CXXFLAGS"
42256 cat >>confdefs.h <<\_ACEOF
42257 #define wxUSE_LIBGNOMEPRINT 1
42265 if test "$wxUSE_MIMETYPE" = "yes" ; then
42266 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
42270 { echo "$as_me:$LINENO: checking for GNOMEVFS" >&5
42271 echo $ECHO_N "checking for GNOMEVFS... $ECHO_C" >&6; }
42273 if test -n "$PKG_CONFIG"; then
42274 if test -n "$GNOMEVFS_CFLAGS"; then
42275 pkg_cv_GNOMEVFS_CFLAGS="$GNOMEVFS_CFLAGS"
42277 if test -n "$PKG_CONFIG" && \
42278 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
42279 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
42281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42282 (exit $ac_status); }; then
42283 pkg_cv_GNOMEVFS_CFLAGS=`$PKG_CONFIG --cflags "gnome-vfs-2.0 >= 2.0" 2>/dev
/null
`
42291 if test -n "$PKG_CONFIG"; then
42292 if test -n "$GNOMEVFS_LIBS"; then
42293 pkg_cv_GNOMEVFS_LIBS="$GNOMEVFS_LIBS"
42295 if test -n "$PKG_CONFIG" && \
42296 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
42297 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
42299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42300 (exit $ac_status); }; then
42301 pkg_cv_GNOMEVFS_LIBS=`$PKG_CONFIG --libs "gnome-vfs-2.0 >= 2.0" 2>/dev
/null
`
42312 if test $pkg_failed = yes; then
42314 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
42315 _pkg_short_errors_supported=yes
42317 _pkg_short_errors_supported=no
42319 if test $_pkg_short_errors_supported = yes; then
42320 GNOMEVFS_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
42322 GNOMEVFS_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
42324 # Put the nasty error message in config.log where it belongs
42325 echo "$GNOMEVFS_PKG_ERRORS" >&5
42328 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
42329 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
42330 wxUSE_LIBGNOMEVFS="no"
42333 elif test $pkg_failed = untried; then
42335 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
42336 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
42337 wxUSE_LIBGNOMEVFS="no"
42341 GNOMEVFS_CFLAGS=$pkg_cv_GNOMEVFS_CFLAGS
42342 GNOMEVFS_LIBS=$pkg_cv_GNOMEVFS_LIBS
42343 { echo "$as_me:$LINENO: result: yes" >&5
42344 echo "${ECHO_T}yes" >&6; }
42346 CFLAGS="$GNOMEVFS_CFLAGS $CFLAGS"
42347 CXXFLAGS="$GNOMEVFS_CFLAGS $CXXFLAGS"
42348 cat >>confdefs.h <<\_ACEOF
42349 #define wxUSE_LIBGNOMEVFS 1
42357 if test "$wxUSE_LIBHILDON" = "yes" ; then
42360 { echo "$as_me:$LINENO: checking for HILDON" >&5
42361 echo $ECHO_N "checking for HILDON... $ECHO_C" >&6; }
42363 if test -n "$PKG_CONFIG"; then
42364 if test -n "$HILDON_CFLAGS"; then
42365 pkg_cv_HILDON_CFLAGS="$HILDON_CFLAGS"
42367 if test -n "$PKG_CONFIG" && \
42368 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
42369 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
42371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42372 (exit $ac_status); }; then
42373 pkg_cv_HILDON_CFLAGS=`$PKG_CONFIG --cflags "hildon-lgpl >= 0.9" 2>/dev
/null
`
42381 if test -n "$PKG_CONFIG"; then
42382 if test -n "$HILDON_LIBS"; then
42383 pkg_cv_HILDON_LIBS="$HILDON_LIBS"
42385 if test -n "$PKG_CONFIG" && \
42386 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
42387 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
42389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42390 (exit $ac_status); }; then
42391 pkg_cv_HILDON_LIBS=`$PKG_CONFIG --libs "hildon-lgpl >= 0.9" 2>/dev
/null
`
42402 if test $pkg_failed = yes; then
42404 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
42405 _pkg_short_errors_supported=yes
42407 _pkg_short_errors_supported=no
42409 if test $_pkg_short_errors_supported = yes; then
42410 HILDON_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
42412 HILDON_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
42414 # Put the nasty error message in config.log where it belongs
42415 echo "$HILDON_PKG_ERRORS" >&5
42418 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
42419 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
42420 wxUSE_LIBHILDON="no"
42423 elif test $pkg_failed = untried; then
42425 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
42426 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
42427 wxUSE_LIBHILDON="no"
42431 HILDON_CFLAGS=$pkg_cv_HILDON_CFLAGS
42432 HILDON_LIBS=$pkg_cv_HILDON_LIBS
42433 { echo "$as_me:$LINENO: result: yes" >&5
42434 echo "${ECHO_T}yes" >&6; }
42436 EXTRALIBS_HILDON="$HILDON_LIBS"
42437 CFLAGS="$CFLAGS $HILDON_CFLAGS"
42438 CXXFLAGS="$CXXFLAGS $HILDON_CFLAGS"
42439 cat >>confdefs.h <<\_ACEOF
42440 #define wxUSE_LIBHILDON 1
42448 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
42449 cat >>confdefs.h <<\_ACEOF
42450 #define wxUSE_CMDLINE_PARSER 1
42455 if test "$wxUSE_STOPWATCH" = "yes"; then
42456 cat >>confdefs.h <<\_ACEOF
42457 #define wxUSE_STOPWATCH 1
42462 if test "$wxUSE_DATETIME" = "yes"; then
42463 cat >>confdefs.h <<\_ACEOF
42464 #define wxUSE_DATETIME 1
42469 if test "$wxUSE_FILE" = "yes"; then
42470 cat >>confdefs.h <<\_ACEOF
42471 #define wxUSE_FILE 1
42476 if test "$wxUSE_FFILE" = "yes"; then
42477 cat >>confdefs.h <<\_ACEOF
42478 #define wxUSE_FFILE 1
42483 if test "$wxUSE_ARCHIVE_STREAMS" = "yes"; then
42484 if test "$wxUSE_STREAMS" != yes; then
42485 { echo "$as_me:$LINENO: WARNING: wxArchive requires wxStreams... disabled" >&5
42486 echo "$as_me: WARNING: wxArchive requires wxStreams... disabled" >&2;}
42487 wxUSE_ARCHIVE_STREAMS=no
42489 cat >>confdefs.h <<\_ACEOF
42490 #define wxUSE_ARCHIVE_STREAMS 1
42496 if test "$wxUSE_ZIPSTREAM" = "yes"; then
42497 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
42498 { echo "$as_me:$LINENO: WARNING: wxZip requires wxArchive... disabled" >&5
42499 echo "$as_me: WARNING: wxZip requires wxArchive... disabled" >&2;}
42500 elif test "$wxUSE_ZLIB" = "no"; then
42501 { echo "$as_me:$LINENO: WARNING: wxZip requires wxZlib... disabled" >&5
42502 echo "$as_me: WARNING: wxZip requires wxZlib... disabled" >&2;}
42504 cat >>confdefs.h <<\_ACEOF
42505 #define wxUSE_ZIPSTREAM 1
42511 if test "$wxUSE_TARSTREAM" = "yes"; then
42512 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
42513 { echo "$as_me:$LINENO: WARNING: wxTar requires wxArchive... disabled" >&5
42514 echo "$as_me: WARNING: wxTar requires wxArchive... disabled" >&2;}
42516 cat >>confdefs.h <<\_ACEOF
42517 #define wxUSE_TARSTREAM 1
42523 if test "$wxUSE_FILESYSTEM" = "yes"; then
42524 if test "$wxUSE_STREAMS" != yes -o \( "$wxUSE_FILE" != yes -a "$wxUSE_FFILE" != yes \); then
42525 { echo "$as_me:$LINENO: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&5
42526 echo "$as_me: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&2;}
42527 wxUSE_FILESYSTEM=no
42529 cat >>confdefs.h <<\_ACEOF
42530 #define wxUSE_FILESYSTEM 1
42536 if test "$wxUSE_FS_ARCHIVE" = "yes"; then
42537 if test "$wxUSE_FILESYSTEM" != yes -o "$wxUSE_ARCHIVE_STREAMS" != yes; then
42538 { echo "$as_me:$LINENO: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&5
42539 echo "$as_me: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&2;}
42541 cat >>confdefs.h <<\_ACEOF
42542 #define wxUSE_FS_ARCHIVE 1
42548 if test "$wxUSE_FS_ZIP" = "yes"; then
42549 if test "$wxUSE_FS_ARCHIVE" != yes; then
42550 { echo "$as_me:$LINENO: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&5
42551 echo "$as_me: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&2;}
42553 cat >>confdefs.h <<\_ACEOF
42554 #define wxUSE_FS_ZIP 1
42560 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
42561 if test "$USE_UNIX" != 1; then
42562 { echo "$as_me:$LINENO: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&5
42563 echo "$as_me: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&2;}
42564 wxUSE_ON_FATAL_EXCEPTION=no
42566 cat >>confdefs.h <<\_ACEOF
42567 #define wxUSE_ON_FATAL_EXCEPTION 1
42573 if test "$wxUSE_STACKWALKER" = "yes"; then
42574 cat >>confdefs.h <<\_ACEOF
42575 #define wxUSE_STACKWALKER 1
42580 if test "$wxUSE_DEBUGREPORT" = "yes"; then
42581 if test "$USE_UNIX" != 1 -a "$USE_WIN32" != 1; then
42582 { echo "$as_me:$LINENO: WARNING: Creating debug reports not currently supported on this system, disabled" >&5
42583 echo "$as_me: WARNING: Creating debug reports not currently supported on this system, disabled" >&2;}
42584 wxUSE_DEBUGREPORT=no
42586 cat >>confdefs.h <<\_ACEOF
42587 #define wxUSE_DEBUGREPORT 1
42590 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
42591 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS debugrpt"
42596 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
42597 cat >>confdefs.h <<\_ACEOF
42598 #define wxUSE_SNGLINST_CHECKER 1
42603 if test "$wxUSE_BUSYINFO" = "yes"; then
42604 cat >>confdefs.h <<\_ACEOF
42605 #define wxUSE_BUSYINFO 1
42610 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
42611 cat >>confdefs.h <<\_ACEOF
42612 #define wxUSE_STD_IOSTREAM 1
42617 if test "$wxUSE_STD_STRING" = "yes"; then
42618 cat >>confdefs.h <<\_ACEOF
42619 #define wxUSE_STD_STRING 1
42624 if test "$wxUSE_STDPATHS" = "yes"; then
42625 cat >>confdefs.h <<\_ACEOF
42626 #define wxUSE_STDPATHS 1
42631 if test "$wxUSE_TEXTBUFFER" = "yes"; then
42632 cat >>confdefs.h <<\_ACEOF
42633 #define wxUSE_TEXTBUFFER 1
42638 if test "$wxUSE_TEXTFILE" = "yes"; then
42639 if test "$wxUSE_FILE" != "yes" -o "$wxUSE_TEXTBUFFER" != "yes" ; then
42640 { echo "$as_me:$LINENO: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&5
42641 echo "$as_me: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&2;}
42643 cat >>confdefs.h <<\_ACEOF
42644 #define wxUSE_TEXTFILE 1
42650 if test "$wxUSE_CONFIG" = "yes" ; then
42651 if test "$wxUSE_TEXTFILE" != "yes"; then
42652 { echo "$as_me:$LINENO: WARNING: wxConfig requires wxTextFile... disabled" >&5
42653 echo "$as_me: WARNING: wxConfig requires wxTextFile... disabled" >&2;}
42655 cat >>confdefs.h <<\_ACEOF
42656 #define wxUSE_CONFIG 1
42659 cat >>confdefs.h <<\_ACEOF
42660 #define wxUSE_CONFIG_NATIVE 1
42663 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS config"
42667 if test "$wxUSE_INTL" = "yes" ; then
42668 if test "$wxUSE_FILE" != "yes"; then
42669 { echo "$as_me:$LINENO: WARNING: I18n code requires wxFile... disabled" >&5
42670 echo "$as_me: WARNING: I18n code requires wxFile... disabled" >&2;}
42672 cat >>confdefs.h <<\_ACEOF
42673 #define wxUSE_INTL 1
42676 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS internat"
42677 GUIDIST="$GUIDIST INTL_DIST"
42681 if test "$wxUSE_LOG" = "yes"; then
42682 cat >>confdefs.h <<\_ACEOF
42683 #define wxUSE_LOG 1
42687 if test "$wxUSE_LOGGUI" = "yes"; then
42688 cat >>confdefs.h <<\_ACEOF
42689 #define wxUSE_LOGGUI 1
42694 if test "$wxUSE_LOGWINDOW" = "yes"; then
42695 cat >>confdefs.h <<\_ACEOF
42696 #define wxUSE_LOGWINDOW 1
42701 if test "$wxUSE_LOGDIALOG" = "yes"; then
42702 cat >>confdefs.h <<\_ACEOF
42703 #define wxUSE_LOG_DIALOG 1
42708 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS keyboard"
42711 if test "$wxUSE_LONGLONG" = "yes"; then
42712 cat >>confdefs.h <<\_ACEOF
42713 #define wxUSE_LONGLONG 1
42718 if test "$wxUSE_GEOMETRY" = "yes"; then
42719 cat >>confdefs.h <<\_ACEOF
42720 #define wxUSE_GEOMETRY 1
42725 if test "$wxUSE_BASE64" = "yes"; then
42726 cat >>confdefs.h <<\_ACEOF
42727 #define wxUSE_BASE64 1
42732 if test "$wxUSE_STREAMS" = "yes" ; then
42733 cat >>confdefs.h <<\_ACEOF
42734 #define wxUSE_STREAMS 1
42739 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
42740 cat >>confdefs.h <<\_ACEOF
42741 #define wxUSE_PRINTF_POS_PARAMS 1
42746 if test "$wxUSE_OBJC_UNIQUIFYING" = "yes"; then
42747 cat >>confdefs.h <<\_ACEOF
42748 #define wxUSE_OBJC_UNIQUIFYING 1
42754 if test "$wxUSE_CONSOLE_EVENTLOOP" = "yes"; then
42755 cat >>confdefs.h <<\_ACEOF
42756 #define wxUSE_CONSOLE_EVENTLOOP 1
42760 if test "$wxUSE_UNIX" = "yes"; then
42761 if test "$wxUSE_SELECT_DISPATCHER" = "yes"; then
42762 cat >>confdefs.h <<\_ACEOF
42763 #define wxUSE_SELECT_DISPATCHER 1
42768 if test "$wxUSE_EPOLL_DISPATCHER" = "yes"; then
42770 for ac_header in sys/epoll.h
42772 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
42773 { echo "$as_me:$LINENO: checking for $ac_header" >&5
42774 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
42775 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
42776 echo $ECHO_N "(cached) $ECHO_C" >&6
42778 cat >conftest.$ac_ext <<_ACEOF
42781 cat confdefs.h >>conftest.$ac_ext
42782 cat >>conftest.$ac_ext <<_ACEOF
42783 /* end confdefs.h. */
42784 $ac_includes_default
42786 #include <$ac_header>
42788 rm -f conftest.$ac_objext
42789 if { (ac_try="$ac_compile"
42790 case "(($ac_try" in
42791 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
42792 *) ac_try_echo
=$ac_try;;
42794 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42795 (eval "$ac_compile") 2>conftest.er1
42797 grep -v '^ *+' conftest.er1
>conftest.err
42799 cat conftest.err
>&5
42800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42801 (exit $ac_status); } && {
42802 test -z "$ac_c_werror_flag" ||
42803 test ! -s conftest.err
42804 } && test -s conftest.
$ac_objext; then
42805 eval "$as_ac_Header=yes"
42807 echo "$as_me: failed program was:" >&5
42808 sed 's/^/| /' conftest.
$ac_ext >&5
42810 eval "$as_ac_Header=no"
42813 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
42815 ac_res
=`eval echo '${'$as_ac_Header'}'`
42816 { echo "$as_me:$LINENO: result: $ac_res" >&5
42817 echo "${ECHO_T}$ac_res" >&6; }
42818 if test `eval echo '${'$as_ac_Header'}'` = yes; then
42819 cat >>confdefs.h
<<_ACEOF
42820 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
42827 if test "$ac_cv_header_sys_epoll_h" = "yes"; then
42828 cat >>confdefs.h
<<\_ACEOF
42829 #define wxUSE_EPOLL_DISPATCHER 1
42833 { echo "$as_me:$LINENO: WARNING: sys/epoll.h not available, wxEpollDispatcher disabled" >&5
42834 echo "$as_me: WARNING: sys/epoll.h not available, wxEpollDispatcher disabled" >&2;}
42843 for ac_func
in gettimeofday ftime
42845 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42846 { echo "$as_me:$LINENO: checking for $ac_func" >&5
42847 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
42848 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
42849 echo $ECHO_N "(cached) $ECHO_C" >&6
42851 cat >conftest.
$ac_ext <<_ACEOF
42854 cat confdefs.h
>>conftest.
$ac_ext
42855 cat >>conftest.
$ac_ext <<_ACEOF
42856 /* end confdefs.h. */
42857 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42858 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42859 #define $ac_func innocuous_$ac_func
42861 /* System header to define __stub macros and hopefully few prototypes,
42862 which can conflict with char $ac_func (); below.
42863 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42864 <limits.h> exists even on freestanding compilers. */
42867 # include <limits.h>
42869 # include <assert.h>
42874 /* Override any GCC internal prototype to avoid an error.
42875 Use char because int might match the return type of a GCC
42876 builtin and then its argument prototype would still apply. */
42881 /* The GNU C library defines this for functions which it implements
42882 to always fail with ENOSYS. Some functions are actually named
42883 something starting with __ and the normal name is an alias. */
42884 #if defined __stub_$ac_func || defined __stub___$ac_func
42891 return $ac_func ();
42896 rm -f conftest.
$ac_objext conftest
$ac_exeext
42897 if { (ac_try
="$ac_link"
42898 case "(($ac_try" in
42899 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
42900 *) ac_try_echo=$ac_try;;
42902 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42903 (eval "$ac_link") 2>conftest.er1
42905 grep -v '^ *+' conftest.er1 >conftest.err
42907 cat conftest.err >&5
42908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42909 (exit $ac_status); } && {
42910 test -z "$ac_c_werror_flag" ||
42911 test ! -s conftest.err
42912 } && test -s conftest$ac_exeext &&
42913 $as_test_x conftest$ac_exeext; then
42914 eval "$as_ac_var=yes"
42916 echo "$as_me: failed program was:" >&5
42917 sed 's/^/| /' conftest.$ac_ext >&5
42919 eval "$as_ac_var=no"
42922 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42923 conftest$ac_exeext conftest.$ac_ext
42925 ac_res=`eval echo '${'$as_ac_var'}'`
42926 { echo "$as_me:$LINENO: result: $ac_res" >&5
42927 echo "${ECHO_T}$ac_res" >&6; }
42928 if test `eval echo '${'$as_ac_var'}'` = yes; then
42929 cat >>confdefs.h <<_ACEOF
42930 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42937 if test "$ac_cv_func_gettimeofday" = "yes"; then
42938 { echo "$as_me:$LINENO: checking whether gettimeofday takes two arguments" >&5
42939 echo $ECHO_N "checking whether gettimeofday takes two arguments... $ECHO_C" >&6; }
42940 if test "${wx_cv_func_gettimeofday_has_2_args+set}" = set; then
42941 echo $ECHO_N "(cached) $ECHO_C" >&6
42944 cat >conftest.$ac_ext <<_ACEOF
42947 cat confdefs.h >>conftest.$ac_ext
42948 cat >>conftest.$ac_ext <<_ACEOF
42949 /* end confdefs.h. */
42951 #include <sys/time.h>
42952 #include <unistd.h>
42959 gettimeofday(&tv, NULL);
42965 rm -f conftest.$ac_objext
42966 if { (ac_try="$ac_compile"
42967 case "(($ac_try" in
42968 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
42969 *) ac_try_echo
=$ac_try;;
42971 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42972 (eval "$ac_compile") 2>conftest.er1
42974 grep -v '^ *+' conftest.er1
>conftest.err
42976 cat conftest.err
>&5
42977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42978 (exit $ac_status); } && {
42979 test -z "$ac_c_werror_flag" ||
42980 test ! -s conftest.err
42981 } && test -s conftest.
$ac_objext; then
42982 wx_cv_func_gettimeofday_has_2_args
=yes
42984 echo "$as_me: failed program was:" >&5
42985 sed 's/^/| /' conftest.
$ac_ext >&5
42987 cat >conftest.
$ac_ext <<_ACEOF
42990 cat confdefs.h
>>conftest.
$ac_ext
42991 cat >>conftest.
$ac_ext <<_ACEOF
42992 /* end confdefs.h. */
42994 #include <sys/time.h>
42995 #include <unistd.h>
43008 rm -f conftest.
$ac_objext
43009 if { (ac_try
="$ac_compile"
43010 case "(($ac_try" in
43011 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
43012 *) ac_try_echo=$ac_try;;
43014 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43015 (eval "$ac_compile") 2>conftest.er1
43017 grep -v '^ *+' conftest.er1 >conftest.err
43019 cat conftest.err >&5
43020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43021 (exit $ac_status); } && {
43022 test -z "$ac_c_werror_flag" ||
43023 test ! -s conftest.err
43024 } && test -s conftest.$ac_objext; then
43025 wx_cv_func_gettimeofday_has_2_args=no
43027 echo "$as_me: failed program was:" >&5
43028 sed 's/^/| /' conftest.$ac_ext >&5
43031 { echo "$as_me:$LINENO: WARNING: failed to determine number of gettimeofday() arguments" >&5
43032 echo "$as_me: WARNING: failed to determine number of gettimeofday() arguments" >&2;}
43033 wx_cv_func_gettimeofday_has_2_args=unknown
43038 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43042 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43045 { echo "$as_me:$LINENO: result: $wx_cv_func_gettimeofday_has_2_args" >&5
43046 echo "${ECHO_T}$wx_cv_func_gettimeofday_has_2_args" >&6; }
43048 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
43049 cat >>confdefs.h <<\_ACEOF
43050 #define WX_GETTIMEOFDAY_NO_TZ 1
43056 if test "$wxUSE_DATETIME" = "yes"; then
43057 { echo "$as_me:$LINENO: checking for strptime" >&5
43058 echo $ECHO_N "checking for strptime... $ECHO_C" >&6; }
43059 if test "${ac_cv_func_strptime+set}" = set; then
43060 echo $ECHO_N "(cached) $ECHO_C" >&6
43062 cat >conftest.$ac_ext <<_ACEOF
43065 cat confdefs.h >>conftest.$ac_ext
43066 cat >>conftest.$ac_ext <<_ACEOF
43067 /* end confdefs.h. */
43068 /* Define strptime to an innocuous variant, in case <limits.h> declares strptime.
43069 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43070 #define strptime innocuous_strptime
43072 /* System header to define __stub macros and hopefully few prototypes,
43073 which can conflict with char strptime (); below.
43074 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43075 <limits.h> exists even on freestanding compilers. */
43078 # include <limits.h>
43080 # include <assert.h>
43085 /* Override any GCC internal prototype to avoid an error.
43086 Use char because int might match the return type of a GCC
43087 builtin and then its argument prototype would still apply. */
43092 /* The GNU C library defines this for functions which it implements
43093 to always fail with ENOSYS. Some functions are actually named
43094 something starting with __ and the normal name is an alias. */
43095 #if defined __stub_strptime || defined __stub___strptime
43102 return strptime ();
43107 rm -f conftest.$ac_objext conftest$ac_exeext
43108 if { (ac_try="$ac_link"
43109 case "(($ac_try" in
43110 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
43111 *) ac_try_echo
=$ac_try;;
43113 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43114 (eval "$ac_link") 2>conftest.er1
43116 grep -v '^ *+' conftest.er1
>conftest.err
43118 cat conftest.err
>&5
43119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43120 (exit $ac_status); } && {
43121 test -z "$ac_c_werror_flag" ||
43122 test ! -s conftest.err
43123 } && test -s conftest
$ac_exeext &&
43124 $as_test_x conftest
$ac_exeext; then
43125 ac_cv_func_strptime
=yes
43127 echo "$as_me: failed program was:" >&5
43128 sed 's/^/| /' conftest.
$ac_ext >&5
43130 ac_cv_func_strptime
=no
43133 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
43134 conftest
$ac_exeext conftest.
$ac_ext
43136 { echo "$as_me:$LINENO: result: $ac_cv_func_strptime" >&5
43137 echo "${ECHO_T}$ac_cv_func_strptime" >&6; }
43139 if test "$ac_cv_func_strptime" = "yes"; then
43140 { echo "$as_me:$LINENO: checking for strptime declaration" >&5
43141 echo $ECHO_N "checking for strptime declaration... $ECHO_C" >&6; }
43142 if test "${wx_cv_func_strptime_decl+set}" = set; then
43143 echo $ECHO_N "(cached) $ECHO_C" >&6
43147 ac_cpp
='$CXXCPP $CPPFLAGS'
43148 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43149 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43150 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
43152 cat >conftest.
$ac_ext <<_ACEOF
43155 cat confdefs.h
>>conftest.
$ac_ext
43156 cat >>conftest.
$ac_ext <<_ACEOF
43157 /* end confdefs.h. */
43166 strptime("foo", "bar", &t);
43172 rm -f conftest.
$ac_objext
43173 if { (ac_try
="$ac_compile"
43174 case "(($ac_try" in
43175 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
43176 *) ac_try_echo=$ac_try;;
43178 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43179 (eval "$ac_compile") 2>conftest.er1
43181 grep -v '^ *+' conftest.er1 >conftest.err
43183 cat conftest.err >&5
43184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43185 (exit $ac_status); } && {
43186 test -z "$ac_cxx_werror_flag" ||
43187 test ! -s conftest.err
43188 } && test -s conftest.$ac_objext; then
43189 wx_cv_func_strptime_decl=yes
43191 echo "$as_me: failed program was:" >&5
43192 sed 's/^/| /' conftest.$ac_ext >&5
43194 wx_cv_func_strptime_decl=no
43198 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43200 ac_cpp='$CPP $CPPFLAGS'
43201 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43202 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43203 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43208 { echo "$as_me:$LINENO: result: $wx_cv_func_strptime_decl" >&5
43209 echo "${ECHO_T}$wx_cv_func_strptime_decl" >&6; }
43211 if test "$wx_cv_func_strptime_decl" = "yes"; then
43212 cat >>confdefs.h <<\_ACEOF
43213 #define HAVE_STRPTIME_DECL 1
43217 wx_strptime_decl="extern char *strptime(const char *, const char *, struct tm *);"
43219 if test "$ac_cv_func_strptime" = "yes"; then
43220 { echo "$as_me:$LINENO: checking whether strptime() fails on invalid strings" >&5
43221 echo $ECHO_N "checking whether strptime() fails on invalid strings... $ECHO_C" >&6; }
43222 if test "${wx_cv_func_strptime_ok+set}" = set; then
43223 echo $ECHO_N "(cached) $ECHO_C" >&6
43225 if test "$cross_compiling" = yes; then
43226 wx_cv_func_strptime_ok=no
43229 cat >conftest.$ac_ext <<_ACEOF
43231 #include <stdlib.h>
43233 #include "confdefs.h"
43240 return !!strptime("", "%x", &t);
43244 rm -f conftest$ac_exeext
43245 if { (ac_try="$ac_link"
43246 case "(($ac_try" in
43247 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
43248 *) ac_try_echo
=$ac_try;;
43250 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43251 (eval "$ac_link") 2>&5
43253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43254 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
43255 { (case "(($ac_try" in
43256 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
43257 *) ac_try_echo=$ac_try;;
43259 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43260 (eval "$ac_try") 2>&5
43262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43263 (exit $ac_status); }; }; then
43264 wx_cv_func_strptime_ok=yes
43266 echo "$as_me: program exited with status $ac_status" >&5
43267 echo "$as_me: failed program was:" >&5
43268 sed 's/^/| /' conftest.$ac_ext >&5
43270 ( exit $ac_status )
43271 wx_cv_func_strptime_ok=no
43273 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
43279 { echo "$as_me:$LINENO: result: $wx_cv_func_strptime_ok" >&5
43280 echo "${ECHO_T}$wx_cv_func_strptime_ok" >&6; }
43282 if test "$wx_cv_func_strptime_ok" = "yes"; then
43283 cat >>confdefs.h <<\_ACEOF
43284 #define HAVE_STRPTIME 1
43290 { echo "$as_me:$LINENO: checking for timezone variable in <time.h>" >&5
43291 echo $ECHO_N "checking for timezone variable in <time.h>... $ECHO_C" >&6; }
43292 if test "${wx_cv_var_timezone+set}" = set; then
43293 echo $ECHO_N "(cached) $ECHO_C" >&6
43297 ac_cpp='$CXXCPP $CPPFLAGS'
43298 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43299 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43300 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43302 cat >conftest.$ac_ext <<_ACEOF
43305 cat confdefs.h >>conftest.$ac_ext
43306 cat >>conftest.$ac_ext <<_ACEOF
43307 /* end confdefs.h. */
43322 rm -f conftest.$ac_objext
43323 if { (ac_try="$ac_compile"
43324 case "(($ac_try" in
43325 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
43326 *) ac_try_echo
=$ac_try;;
43328 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43329 (eval "$ac_compile") 2>conftest.er1
43331 grep -v '^ *+' conftest.er1
>conftest.err
43333 cat conftest.err
>&5
43334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43335 (exit $ac_status); } && {
43336 test -z "$ac_cxx_werror_flag" ||
43337 test ! -s conftest.err
43338 } && test -s conftest.
$ac_objext; then
43340 wx_cv_var_timezone
=timezone
43343 echo "$as_me: failed program was:" >&5
43344 sed 's/^/| /' conftest.
$ac_ext >&5
43347 cat >conftest.
$ac_ext <<_ACEOF
43350 cat confdefs.h
>>conftest.
$ac_ext
43351 cat >>conftest.
$ac_ext <<_ACEOF
43352 /* end confdefs.h. */
43367 rm -f conftest.
$ac_objext
43368 if { (ac_try
="$ac_compile"
43369 case "(($ac_try" in
43370 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
43371 *) ac_try_echo=$ac_try;;
43373 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43374 (eval "$ac_compile") 2>conftest.er1
43376 grep -v '^ *+' conftest.er1 >conftest.err
43378 cat conftest.err >&5
43379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43380 (exit $ac_status); } && {
43381 test -z "$ac_cxx_werror_flag" ||
43382 test ! -s conftest.err
43383 } && test -s conftest.$ac_objext; then
43385 wx_cv_var_timezone=_timezone
43388 echo "$as_me: failed program was:" >&5
43389 sed 's/^/| /' conftest.$ac_ext >&5
43392 cat >conftest.$ac_ext <<_ACEOF
43395 cat confdefs.h >>conftest.$ac_ext
43396 cat >>conftest.$ac_ext <<_ACEOF
43397 /* end confdefs.h. */
43412 rm -f conftest.$ac_objext
43413 if { (ac_try="$ac_compile"
43414 case "(($ac_try" in
43415 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
43416 *) ac_try_echo
=$ac_try;;
43418 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43419 (eval "$ac_compile") 2>conftest.er1
43421 grep -v '^ *+' conftest.er1
>conftest.err
43423 cat conftest.err
>&5
43424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43425 (exit $ac_status); } && {
43426 test -z "$ac_cxx_werror_flag" ||
43427 test ! -s conftest.err
43428 } && test -s conftest.
$ac_objext; then
43430 wx_cv_var_timezone
=__timezone
43433 echo "$as_me: failed program was:" >&5
43434 sed 's/^/| /' conftest.
$ac_ext >&5
43437 if test "$USE_DOS" = 0 ; then
43438 { echo "$as_me:$LINENO: WARNING: no timezone variable" >&5
43439 echo "$as_me: WARNING: no timezone variable" >&2;}
43445 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
43450 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
43455 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
43457 ac_cpp
='$CPP $CPPFLAGS'
43458 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43459 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43460 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
43465 { echo "$as_me:$LINENO: result: $wx_cv_var_timezone" >&5
43466 echo "${ECHO_T}$wx_cv_var_timezone" >&6; }
43468 if test "x$wx_cv_var_timezone" != x
; then
43469 cat >>confdefs.h
<<_ACEOF
43470 #define WX_TIMEZONE $wx_cv_var_timezone
43476 for ac_func
in localtime
43478 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43479 { echo "$as_me:$LINENO: checking for $ac_func" >&5
43480 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
43481 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
43482 echo $ECHO_N "(cached) $ECHO_C" >&6
43484 cat >conftest.
$ac_ext <<_ACEOF
43487 cat confdefs.h
>>conftest.
$ac_ext
43488 cat >>conftest.
$ac_ext <<_ACEOF
43489 /* end confdefs.h. */
43490 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43491 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43492 #define $ac_func innocuous_$ac_func
43494 /* System header to define __stub macros and hopefully few prototypes,
43495 which can conflict with char $ac_func (); below.
43496 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43497 <limits.h> exists even on freestanding compilers. */
43500 # include <limits.h>
43502 # include <assert.h>
43507 /* Override any GCC internal prototype to avoid an error.
43508 Use char because int might match the return type of a GCC
43509 builtin and then its argument prototype would still apply. */
43514 /* The GNU C library defines this for functions which it implements
43515 to always fail with ENOSYS. Some functions are actually named
43516 something starting with __ and the normal name is an alias. */
43517 #if defined __stub_$ac_func || defined __stub___$ac_func
43524 return $ac_func ();
43529 rm -f conftest.
$ac_objext conftest
$ac_exeext
43530 if { (ac_try
="$ac_link"
43531 case "(($ac_try" in
43532 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
43533 *) ac_try_echo=$ac_try;;
43535 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43536 (eval "$ac_link") 2>conftest.er1
43538 grep -v '^ *+' conftest.er1 >conftest.err
43540 cat conftest.err >&5
43541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43542 (exit $ac_status); } && {
43543 test -z "$ac_c_werror_flag" ||
43544 test ! -s conftest.err
43545 } && test -s conftest$ac_exeext &&
43546 $as_test_x conftest$ac_exeext; then
43547 eval "$as_ac_var=yes"
43549 echo "$as_me: failed program was:" >&5
43550 sed 's/^/| /' conftest.$ac_ext >&5
43552 eval "$as_ac_var=no"
43555 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43556 conftest$ac_exeext conftest.$ac_ext
43558 ac_res=`eval echo '${'$as_ac_var'}'`
43559 { echo "$as_me:$LINENO: result: $ac_res" >&5
43560 echo "${ECHO_T}$ac_res" >&6; }
43561 if test `eval echo '${'$as_ac_var'}'` = yes; then
43562 cat >>confdefs.h <<_ACEOF
43563 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43570 if test "$ac_cv_func_localtime" = "yes"; then
43571 { echo "$as_me:$LINENO: checking for tm_gmtoff in struct tm" >&5
43572 echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6; }
43573 if test "${wx_cv_struct_tm_has_gmtoff+set}" = set; then
43574 echo $ECHO_N "(cached) $ECHO_C" >&6
43577 cat >conftest.$ac_ext <<_ACEOF
43580 cat confdefs.h >>conftest.$ac_ext
43581 cat >>conftest.$ac_ext <<_ACEOF
43582 /* end confdefs.h. */
43597 rm -f conftest.$ac_objext
43598 if { (ac_try="$ac_compile"
43599 case "(($ac_try" in
43600 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
43601 *) ac_try_echo
=$ac_try;;
43603 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43604 (eval "$ac_compile") 2>conftest.er1
43606 grep -v '^ *+' conftest.er1
>conftest.err
43608 cat conftest.err
>&5
43609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43610 (exit $ac_status); } && {
43611 test -z "$ac_c_werror_flag" ||
43612 test ! -s conftest.err
43613 } && test -s conftest.
$ac_objext; then
43615 wx_cv_struct_tm_has_gmtoff
=yes
43618 echo "$as_me: failed program was:" >&5
43619 sed 's/^/| /' conftest.
$ac_ext >&5
43621 wx_cv_struct_tm_has_gmtoff
=no
43625 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
43628 { echo "$as_me:$LINENO: result: $wx_cv_struct_tm_has_gmtoff" >&5
43629 echo "${ECHO_T}$wx_cv_struct_tm_has_gmtoff" >&6; }
43632 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
43633 cat >>confdefs.h
<<\_ACEOF
43634 #define WX_GMTOFF_IN_TM 1
43639 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS typetest"
43643 if test "$wxUSE_SOCKETS" = "yes"; then
43644 if test "$wxUSE_MGL" = 1; then
43645 { echo "$as_me:$LINENO: WARNING: wxSocket not yet supported under MGL... disabled" >&5
43646 echo "$as_me: WARNING: wxSocket not yet supported under MGL... disabled" >&2;}
43651 if test "$wxUSE_SOCKETS" = "yes"; then
43652 if test "$TOOLKIT" != "MSW"; then
43653 { echo "$as_me:$LINENO: checking for socket" >&5
43654 echo $ECHO_N "checking for socket... $ECHO_C" >&6; }
43655 if test "${ac_cv_func_socket+set}" = set; then
43656 echo $ECHO_N "(cached) $ECHO_C" >&6
43658 cat >conftest.
$ac_ext <<_ACEOF
43661 cat confdefs.h
>>conftest.
$ac_ext
43662 cat >>conftest.
$ac_ext <<_ACEOF
43663 /* end confdefs.h. */
43664 /* Define socket to an innocuous variant, in case <limits.h> declares socket.
43665 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43666 #define socket innocuous_socket
43668 /* System header to define __stub macros and hopefully few prototypes,
43669 which can conflict with char socket (); below.
43670 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43671 <limits.h> exists even on freestanding compilers. */
43674 # include <limits.h>
43676 # include <assert.h>
43681 /* Override any GCC internal prototype to avoid an error.
43682 Use char because int might match the return type of a GCC
43683 builtin and then its argument prototype would still apply. */
43688 /* The GNU C library defines this for functions which it implements
43689 to always fail with ENOSYS. Some functions are actually named
43690 something starting with __ and the normal name is an alias. */
43691 #if defined __stub_socket || defined __stub___socket
43703 rm -f conftest.
$ac_objext conftest
$ac_exeext
43704 if { (ac_try
="$ac_link"
43705 case "(($ac_try" in
43706 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
43707 *) ac_try_echo=$ac_try;;
43709 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43710 (eval "$ac_link") 2>conftest.er1
43712 grep -v '^ *+' conftest.er1 >conftest.err
43714 cat conftest.err >&5
43715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43716 (exit $ac_status); } && {
43717 test -z "$ac_c_werror_flag" ||
43718 test ! -s conftest.err
43719 } && test -s conftest$ac_exeext &&
43720 $as_test_x conftest$ac_exeext; then
43721 ac_cv_func_socket=yes
43723 echo "$as_me: failed program was:" >&5
43724 sed 's/^/| /' conftest.$ac_ext >&5
43726 ac_cv_func_socket=no
43729 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43730 conftest$ac_exeext conftest.$ac_ext
43732 { echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5
43733 echo "${ECHO_T}$ac_cv_func_socket" >&6; }
43734 if test $ac_cv_func_socket = yes; then
43738 { echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
43739 echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6; }
43740 if test "${ac_cv_lib_socket_socket+set}" = set; then
43741 echo $ECHO_N "(cached) $ECHO_C" >&6
43743 ac_check_lib_save_LIBS=$LIBS
43744 LIBS="-lsocket $LIBS"
43745 cat >conftest.$ac_ext <<_ACEOF
43748 cat confdefs.h >>conftest.$ac_ext
43749 cat >>conftest.$ac_ext <<_ACEOF
43750 /* end confdefs.h. */
43752 /* Override any GCC internal prototype to avoid an error.
43753 Use char because int might match the return type of a GCC
43754 builtin and then its argument prototype would still apply. */
43767 rm -f conftest.$ac_objext conftest$ac_exeext
43768 if { (ac_try="$ac_link"
43769 case "(($ac_try" in
43770 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
43771 *) ac_try_echo
=$ac_try;;
43773 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43774 (eval "$ac_link") 2>conftest.er1
43776 grep -v '^ *+' conftest.er1
>conftest.err
43778 cat conftest.err
>&5
43779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43780 (exit $ac_status); } && {
43781 test -z "$ac_c_werror_flag" ||
43782 test ! -s conftest.err
43783 } && test -s conftest
$ac_exeext &&
43784 $as_test_x conftest
$ac_exeext; then
43785 ac_cv_lib_socket_socket
=yes
43787 echo "$as_me: failed program was:" >&5
43788 sed 's/^/| /' conftest.
$ac_ext >&5
43790 ac_cv_lib_socket_socket
=no
43793 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
43794 conftest
$ac_exeext conftest.
$ac_ext
43795 LIBS
=$ac_check_lib_save_LIBS
43797 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
43798 echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6; }
43799 if test $ac_cv_lib_socket_socket = yes; then
43800 if test "$INET_LINK" != " -lsocket"; then
43801 INET_LINK
="$INET_LINK -lsocket"
43805 { echo "$as_me:$LINENO: WARNING: socket library not found - sockets will be disabled" >&5
43806 echo "$as_me: WARNING: socket library not found - sockets will be disabled" >&2;}
43819 if test "$wxUSE_SOCKETS" = "yes" ; then
43820 if test "$TOOLKIT" != "MSW"; then
43821 { echo "$as_me:$LINENO: checking what is the type of the third argument of getsockname" >&5
43822 echo $ECHO_N "checking what is the type of the third argument of getsockname... $ECHO_C" >&6; }
43823 if test "${wx_cv_type_getsockname3+set}" = set; then
43824 echo $ECHO_N "(cached) $ECHO_C" >&6
43828 ac_cpp
='$CXXCPP $CPPFLAGS'
43829 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43830 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43831 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
43833 cat >conftest.
$ac_ext <<_ACEOF
43836 cat confdefs.h
>>conftest.
$ac_ext
43837 cat >>conftest.
$ac_ext <<_ACEOF
43838 /* end confdefs.h. */
43840 #include <sys/types.h>
43841 #include <sys/socket.h>
43848 getsockname(0, 0, &len);
43854 rm -f conftest.
$ac_objext
43855 if { (ac_try
="$ac_compile"
43856 case "(($ac_try" in
43857 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
43858 *) ac_try_echo=$ac_try;;
43860 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43861 (eval "$ac_compile") 2>conftest.er1
43863 grep -v '^ *+' conftest.er1 >conftest.err
43865 cat conftest.err >&5
43866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43867 (exit $ac_status); } && {
43868 test -z "$ac_cxx_werror_flag" ||
43869 test ! -s conftest.err
43870 } && test -s conftest.$ac_objext; then
43871 wx_cv_type_getsockname3=socklen_t
43873 echo "$as_me: failed program was:" >&5
43874 sed 's/^/| /' conftest.$ac_ext >&5
43877 CFLAGS_OLD="$CFLAGS"
43878 if test "$GCC" = yes ; then
43879 CFLAGS="-Werror $CFLAGS"
43882 cat >conftest.$ac_ext <<_ACEOF
43885 cat confdefs.h >>conftest.$ac_ext
43886 cat >>conftest.$ac_ext <<_ACEOF
43887 /* end confdefs.h. */
43889 #include <sys/types.h>
43890 #include <sys/socket.h>
43897 getsockname(0, 0, &len);
43903 rm -f conftest.$ac_objext
43904 if { (ac_try="$ac_compile"
43905 case "(($ac_try" in
43906 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
43907 *) ac_try_echo
=$ac_try;;
43909 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43910 (eval "$ac_compile") 2>conftest.er1
43912 grep -v '^ *+' conftest.er1
>conftest.err
43914 cat conftest.err
>&5
43915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43916 (exit $ac_status); } && {
43917 test -z "$ac_cxx_werror_flag" ||
43918 test ! -s conftest.err
43919 } && test -s conftest.
$ac_objext; then
43920 wx_cv_type_getsockname3
=size_t
43922 echo "$as_me: failed program was:" >&5
43923 sed 's/^/| /' conftest.
$ac_ext >&5
43925 cat >conftest.
$ac_ext <<_ACEOF
43928 cat confdefs.h
>>conftest.
$ac_ext
43929 cat >>conftest.
$ac_ext <<_ACEOF
43930 /* end confdefs.h. */
43932 #include <sys/types.h>
43933 #include <sys/socket.h>
43940 getsockname(0, 0, &len);
43946 rm -f conftest.
$ac_objext
43947 if { (ac_try
="$ac_compile"
43948 case "(($ac_try" in
43949 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
43950 *) ac_try_echo=$ac_try;;
43952 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43953 (eval "$ac_compile") 2>conftest.er1
43955 grep -v '^ *+' conftest.er1 >conftest.err
43957 cat conftest.err >&5
43958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43959 (exit $ac_status); } && {
43960 test -z "$ac_cxx_werror_flag" ||
43961 test ! -s conftest.err
43962 } && test -s conftest.$ac_objext; then
43963 wx_cv_type_getsockname3=int
43965 echo "$as_me: failed program was:" >&5
43966 sed 's/^/| /' conftest.$ac_ext >&5
43968 wx_cv_type_getsockname3=unknown
43972 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43976 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43978 CFLAGS="$CFLAGS_OLD"
43983 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43985 ac_cpp='$CPP $CPPFLAGS'
43986 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43987 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43988 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43992 { echo "$as_me:$LINENO: result: $wx_cv_type_getsockname3" >&5
43993 echo "${ECHO_T}$wx_cv_type_getsockname3" >&6; }
43995 if test "$wx_cv_type_getsockname3" = "unknown"; then
43997 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
43998 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
44000 cat >>confdefs.h <<_ACEOF
44001 #define WX_SOCKLEN_T $wx_cv_type_getsockname3
44005 { echo "$as_me:$LINENO: checking what is the type of the fifth argument of getsockopt" >&5
44006 echo $ECHO_N "checking what is the type of the fifth argument of getsockopt... $ECHO_C" >&6; }
44007 if test "${wx_cv_type_getsockopt5+set}" = set; then
44008 echo $ECHO_N "(cached) $ECHO_C" >&6
44012 ac_cpp='$CXXCPP $CPPFLAGS'
44013 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44014 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44015 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44017 cat >conftest.$ac_ext <<_ACEOF
44020 cat confdefs.h >>conftest.$ac_ext
44021 cat >>conftest.$ac_ext <<_ACEOF
44022 /* end confdefs.h. */
44024 #include <sys/types.h>
44025 #include <sys/socket.h>
44032 getsockopt(0, 0, 0, 0, &len);
44038 rm -f conftest.$ac_objext
44039 if { (ac_try="$ac_compile"
44040 case "(($ac_try" in
44041 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
44042 *) ac_try_echo
=$ac_try;;
44044 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44045 (eval "$ac_compile") 2>conftest.er1
44047 grep -v '^ *+' conftest.er1
>conftest.err
44049 cat conftest.err
>&5
44050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44051 (exit $ac_status); } && {
44052 test -z "$ac_cxx_werror_flag" ||
44053 test ! -s conftest.err
44054 } && test -s conftest.
$ac_objext; then
44055 wx_cv_type_getsockopt5
=socklen_t
44057 echo "$as_me: failed program was:" >&5
44058 sed 's/^/| /' conftest.
$ac_ext >&5
44061 cat >conftest.
$ac_ext <<_ACEOF
44064 cat confdefs.h
>>conftest.
$ac_ext
44065 cat >>conftest.
$ac_ext <<_ACEOF
44066 /* end confdefs.h. */
44068 #include <sys/types.h>
44069 #include <sys/socket.h>
44076 getsockopt(0, 0, 0, 0, &len);
44082 rm -f conftest.
$ac_objext
44083 if { (ac_try
="$ac_compile"
44084 case "(($ac_try" in
44085 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
44086 *) ac_try_echo=$ac_try;;
44088 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44089 (eval "$ac_compile") 2>conftest.er1
44091 grep -v '^ *+' conftest.er1 >conftest.err
44093 cat conftest.err >&5
44094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44095 (exit $ac_status); } && {
44096 test -z "$ac_cxx_werror_flag" ||
44097 test ! -s conftest.err
44098 } && test -s conftest.$ac_objext; then
44099 wx_cv_type_getsockopt5=size_t
44101 echo "$as_me: failed program was:" >&5
44102 sed 's/^/| /' conftest.$ac_ext >&5
44104 cat >conftest.$ac_ext <<_ACEOF
44107 cat confdefs.h >>conftest.$ac_ext
44108 cat >>conftest.$ac_ext <<_ACEOF
44109 /* end confdefs.h. */
44111 #include <sys/types.h>
44112 #include <sys/socket.h>
44119 getsockopt(0, 0, 0, 0, &len);
44125 rm -f conftest.$ac_objext
44126 if { (ac_try="$ac_compile"
44127 case "(($ac_try" in
44128 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
44129 *) ac_try_echo
=$ac_try;;
44131 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44132 (eval "$ac_compile") 2>conftest.er1
44134 grep -v '^ *+' conftest.er1
>conftest.err
44136 cat conftest.err
>&5
44137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44138 (exit $ac_status); } && {
44139 test -z "$ac_cxx_werror_flag" ||
44140 test ! -s conftest.err
44141 } && test -s conftest.
$ac_objext; then
44142 wx_cv_type_getsockopt5
=int
44144 echo "$as_me: failed program was:" >&5
44145 sed 's/^/| /' conftest.
$ac_ext >&5
44147 wx_cv_type_getsockopt5
=unknown
44151 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
44155 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
44160 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
44162 ac_cpp
='$CPP $CPPFLAGS'
44163 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44164 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44165 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
44169 { echo "$as_me:$LINENO: result: $wx_cv_type_getsockopt5" >&5
44170 echo "${ECHO_T}$wx_cv_type_getsockopt5" >&6; }
44172 if test "$wx_cv_type_getsockopt5" = "unknown"; then
44174 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
44175 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
44177 cat >>confdefs.h
<<_ACEOF
44178 #define SOCKOPTLEN_T $wx_cv_type_getsockopt5
44185 if test "$wxUSE_SOCKETS" = "yes" ; then
44186 if test "$wxUSE_IPV6" = "yes"; then
44187 { echo "$as_me:$LINENO: checking whether we have sockaddr_in6" >&5
44188 echo $ECHO_N "checking whether we have sockaddr_in6... $ECHO_C" >&6; }
44189 if test "${wx_cv_type_sockaddr_in6+set}" = set; then
44190 echo $ECHO_N "(cached) $ECHO_C" >&6
44193 cat >conftest.
$ac_ext <<_ACEOF
44196 cat confdefs.h
>>conftest.
$ac_ext
44197 cat >>conftest.
$ac_ext <<_ACEOF
44198 /* end confdefs.h. */
44200 #include <sys/types.h>
44201 #include <sys/socket.h>
44202 #include <netinet/in.h>
44208 struct sockaddr_in6 sa6;
44214 rm -f conftest.
$ac_objext
44215 if { (ac_try
="$ac_compile"
44216 case "(($ac_try" in
44217 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
44218 *) ac_try_echo=$ac_try;;
44220 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44221 (eval "$ac_compile") 2>conftest.er1
44223 grep -v '^ *+' conftest.er1 >conftest.err
44225 cat conftest.err >&5
44226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44227 (exit $ac_status); } && {
44228 test -z "$ac_c_werror_flag" ||
44229 test ! -s conftest.err
44230 } && test -s conftest.$ac_objext; then
44231 wx_cv_type_sockaddr_in6=yes
44233 echo "$as_me: failed program was:" >&5
44234 sed 's/^/| /' conftest.$ac_ext >&5
44236 wx_cv_type_sockaddr_in6=no
44240 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44244 { echo "$as_me:$LINENO: result: $wx_cv_type_sockaddr_in6" >&5
44245 echo "${ECHO_T}$wx_cv_type_sockaddr_in6" >&6; }
44247 if test "$wx_cv_type_sockaddr_in6"="yes"; then
44248 cat >>confdefs.h <<\_ACEOF
44249 #define wxUSE_IPV6 1
44253 { echo "$as_me:$LINENO: WARNING: IPv6 support not available... disabled" >&5
44254 echo "$as_me: WARNING: IPv6 support not available... disabled" >&2;}
44258 cat >>confdefs.h <<\_ACEOF
44259 #define wxUSE_SOCKETS 1
44262 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sockets"
44265 if test "$wxUSE_PROTOCOL" = "yes"; then
44266 if test "$wxUSE_SOCKETS" != "yes"; then
44267 { echo "$as_me:$LINENO: WARNING: Protocol classes require sockets... disabled" >&5
44268 echo "$as_me: WARNING: Protocol classes require sockets... disabled" >&2;}
44273 if test "$wxUSE_PROTOCOL" = "yes"; then
44274 cat >>confdefs.h <<\_ACEOF
44275 #define wxUSE_PROTOCOL 1
44279 if test "$wxUSE_PROTOCOL_HTTP" = "yes"; then
44280 cat >>confdefs.h <<\_ACEOF
44281 #define wxUSE_PROTOCOL_HTTP 1
44285 if test "$wxUSE_PROTOCOL_FTP" = "yes"; then
44286 cat >>confdefs.h <<\_ACEOF
44287 #define wxUSE_PROTOCOL_FTP 1
44291 if test "$wxUSE_PROTOCOL_FILE" = "yes"; then
44292 cat >>confdefs.h <<\_ACEOF
44293 #define wxUSE_PROTOCOL_FILE 1
44298 if test "$wxUSE_FS_INET" = "yes"; then
44299 { echo "$as_me:$LINENO: WARNING: HTTP filesystem require protocol classes... disabled" >&5
44300 echo "$as_me: WARNING: HTTP filesystem require protocol classes... disabled" >&2;}
44305 if test "$wxUSE_URL" = "yes"; then
44306 if test "$wxUSE_PROTOCOL" != "yes"; then
44307 { echo "$as_me:$LINENO: WARNING: wxURL class requires wxProtocol... disabled" >&5
44308 echo "$as_me: WARNING: wxURL class requires wxProtocol... disabled" >&2;}
44311 if test "$wxUSE_URL" = "yes"; then
44312 cat >>confdefs.h <<\_ACEOF
44313 #define wxUSE_URL 1
44319 if test "$wxUSE_VARIANT" = "yes"; then
44320 cat >>confdefs.h <<\_ACEOF
44321 #define wxUSE_VARIANT 1
44326 if test "$wxUSE_FS_INET" = "yes"; then
44327 cat >>confdefs.h <<\_ACEOF
44328 #define wxUSE_FS_INET 1
44334 if test "$wxUSE_GUI" = "yes" -a "$wxUSE_JOYSTICK" = "yes"; then
44337 if test "$TOOLKIT" = "MSW"; then
44340 elif test "$TOOLKIT" = "MAC" -o "$TOOLKIT" = "COCOA"; then
44341 if test "$USE_DARWIN" = 1; then
44342 { echo "$as_me:$LINENO: checking headers have declarations needed for joystick support" >&5
44343 echo $ECHO_N "checking headers have declarations needed for joystick support... $ECHO_C" >&6; }
44345 ac_cpp='$CXXCPP $CPPFLAGS'
44346 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44347 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44348 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44350 cat >conftest.$ac_ext <<_ACEOF
44353 cat confdefs.h >>conftest.$ac_ext
44354 cat >>conftest.$ac_ext <<_ACEOF
44355 /* end confdefs.h. */
44356 #include <IOKit/hid/IOHIDLib.h>
44360 IOHIDQueueInterface *qi = NULL;
44361 IOHIDCallbackFunction cb = NULL;
44362 qi->setEventCallout(NULL, cb, NULL, NULL);
44367 rm -f conftest.$ac_objext
44368 if { (ac_try="$ac_compile"
44369 case "(($ac_try" in
44370 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
44371 *) ac_try_echo
=$ac_try;;
44373 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44374 (eval "$ac_compile") 2>conftest.er1
44376 grep -v '^ *+' conftest.er1
>conftest.err
44378 cat conftest.err
>&5
44379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44380 (exit $ac_status); } && {
44381 test -z "$ac_cxx_werror_flag" ||
44382 test ! -s conftest.err
44383 } && test -s conftest.
$ac_objext; then
44387 echo "$as_me: failed program was:" >&5
44388 sed 's/^/| /' conftest.
$ac_ext >&5
44393 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
44395 ac_cpp
='$CPP $CPPFLAGS'
44396 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44397 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44398 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
44400 { echo "$as_me:$LINENO: result: $wxUSE_JOYSTICK" >&5
44401 echo "${ECHO_T}$wxUSE_JOYSTICK" >&6; }
44405 if test "$wxUSE_MGL" != 1; then
44407 for ac_header
in linux
/joystick.h
44409 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
44410 { echo "$as_me:$LINENO: checking for $ac_header" >&5
44411 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
44412 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
44413 echo $ECHO_N "(cached) $ECHO_C" >&6
44415 cat >conftest.
$ac_ext <<_ACEOF
44418 cat confdefs.h
>>conftest.
$ac_ext
44419 cat >>conftest.
$ac_ext <<_ACEOF
44420 /* end confdefs.h. */
44421 $ac_includes_default
44423 #include <$ac_header>
44425 rm -f conftest.
$ac_objext
44426 if { (ac_try
="$ac_compile"
44427 case "(($ac_try" in
44428 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
44429 *) ac_try_echo=$ac_try;;
44431 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44432 (eval "$ac_compile") 2>conftest.er1
44434 grep -v '^ *+' conftest.er1 >conftest.err
44436 cat conftest.err >&5
44437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44438 (exit $ac_status); } && {
44439 test -z "$ac_c_werror_flag" ||
44440 test ! -s conftest.err
44441 } && test -s conftest.$ac_objext; then
44442 eval "$as_ac_Header=yes"
44444 echo "$as_me: failed program was:" >&5
44445 sed 's/^/| /' conftest.$ac_ext >&5
44447 eval "$as_ac_Header=no"
44450 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44452 ac_res=`eval echo '${'$as_ac_Header'}'`
44453 { echo "$as_me:$LINENO: result: $ac_res" >&5
44454 echo "${ECHO_T}$ac_res" >&6; }
44455 if test `eval echo '${'$as_ac_Header'}'` = yes; then
44456 cat >>confdefs.h <<_ACEOF
44457 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
44467 if test "$wxUSE_JOYSTICK" = "yes"; then
44468 cat >>confdefs.h <<\_ACEOF
44469 #define wxUSE_JOYSTICK 1
44472 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS joytest"
44474 { echo "$as_me:$LINENO: WARNING: Joystick not supported by this system... disabled" >&5
44475 echo "$as_me: WARNING: Joystick not supported by this system... disabled" >&2;}
44481 if test "$wxUSE_FONTENUM" = "yes" ; then
44482 cat >>confdefs.h <<\_ACEOF
44483 #define wxUSE_FONTENUM 1
44488 if test "$wxUSE_FONTMAP" = "yes" ; then
44489 cat >>confdefs.h <<\_ACEOF
44490 #define wxUSE_FONTMAP 1
44495 if test "$wxUSE_UNICODE" = "yes" ; then
44496 cat >>confdefs.h <<\_ACEOF
44497 #define wxUSE_UNICODE 1
44501 if test "$USE_WIN32" != 1; then
44502 wxUSE_UNICODE_MSLU=no
44505 if test "$USE_WIN32" = 1 -a "$wxUSE_UNICODE_MSLU" = "yes"; then
44506 { echo "$as_me:$LINENO: checking for main in -lunicows" >&5
44507 echo $ECHO_N "checking for main in -lunicows... $ECHO_C" >&6; }
44508 if test "${ac_cv_lib_unicows_main+set}" = set; then
44509 echo $ECHO_N "(cached) $ECHO_C" >&6
44511 ac_check_lib_save_LIBS=$LIBS
44512 LIBS="-lunicows $LIBS"
44513 cat >conftest.$ac_ext <<_ACEOF
44516 cat confdefs.h >>conftest.$ac_ext
44517 cat >>conftest.$ac_ext <<_ACEOF
44518 /* end confdefs.h. */
44529 rm -f conftest.$ac_objext conftest$ac_exeext
44530 if { (ac_try="$ac_link"
44531 case "(($ac_try" in
44532 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
44533 *) ac_try_echo
=$ac_try;;
44535 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44536 (eval "$ac_link") 2>conftest.er1
44538 grep -v '^ *+' conftest.er1
>conftest.err
44540 cat conftest.err
>&5
44541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44542 (exit $ac_status); } && {
44543 test -z "$ac_c_werror_flag" ||
44544 test ! -s conftest.err
44545 } && test -s conftest
$ac_exeext &&
44546 $as_test_x conftest
$ac_exeext; then
44547 ac_cv_lib_unicows_main
=yes
44549 echo "$as_me: failed program was:" >&5
44550 sed 's/^/| /' conftest.
$ac_ext >&5
44552 ac_cv_lib_unicows_main
=no
44555 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
44556 conftest
$ac_exeext conftest.
$ac_ext
44557 LIBS
=$ac_check_lib_save_LIBS
44559 { echo "$as_me:$LINENO: result: $ac_cv_lib_unicows_main" >&5
44560 echo "${ECHO_T}$ac_cv_lib_unicows_main" >&6; }
44561 if test $ac_cv_lib_unicows_main = yes; then
44563 cat >>confdefs.h
<<\_ACEOF
44564 #define wxUSE_UNICODE_MSLU 1
44570 { echo "$as_me:$LINENO: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
44571 Applications will only run on Windows NT/2000/XP!" >&5
44572 echo "$as_me: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
44573 Applications will only run on Windows NT/2000/XP!" >&2;}
44574 wxUSE_UNICODE_MSLU
=no
44581 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_UTF8" = "yes"; then
44582 cat >>confdefs.h
<<\_ACEOF
44583 #define wxUSE_UNICODE_UTF8 1
44587 if test "$wxUSE_UNICODE_UTF8_LOCALE" = "yes"; then
44588 cat >>confdefs.h
<<\_ACEOF
44589 #define wxUSE_UTF8_LOCALE_ONLY 1
44596 if test "$wxUSE_CONSTRAINTS" = "yes"; then
44597 cat >>confdefs.h
<<\_ACEOF
44598 #define wxUSE_CONSTRAINTS 1
44601 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS layout"
44604 if test "$wxUSE_MDI" = "yes"; then
44605 cat >>confdefs.h
<<\_ACEOF
44606 #define wxUSE_MDI 1
44610 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
44611 cat >>confdefs.h
<<\_ACEOF
44612 #define wxUSE_MDI_ARCHITECTURE 1
44615 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS mdi"
44619 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
44620 cat >>confdefs.h
<<\_ACEOF
44621 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
44624 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS docview"
44625 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
44626 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS docvwmdi"
44630 if test "$wxUSE_HELP" = "yes"; then
44631 cat >>confdefs.h
<<\_ACEOF
44632 #define wxUSE_HELP 1
44635 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS help"
44637 if test "$wxUSE_MSW" = 1; then
44638 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
44639 cat >>confdefs.h
<<\_ACEOF
44640 #define wxUSE_MS_HTML_HELP 1
44646 if test "$wxUSE_WXHTML_HELP" = "yes"; then
44647 if test "$wxUSE_HTML" = "yes"; then
44648 cat >>confdefs.h
<<\_ACEOF
44649 #define wxUSE_WXHTML_HELP 1
44653 { echo "$as_me:$LINENO: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&5
44654 echo "$as_me: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&2;}
44655 wxUSE_WXHTML_HELP
=no
44660 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
44661 if test "$wxUSE_CONSTRAINTS" != "yes"; then
44662 { echo "$as_me:$LINENO: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&5
44663 echo "$as_me: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&2;}
44665 cat >>confdefs.h
<<\_ACEOF
44666 #define wxUSE_PRINTING_ARCHITECTURE 1
44670 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS printing"
44673 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
44674 cat >>confdefs.h
<<\_ACEOF
44675 #define wxUSE_POSTSCRIPT 1
44680 cat >>confdefs.h
<<\_ACEOF
44681 #define wxUSE_AFM_FOR_POSTSCRIPT 1
44685 if test "$wxUSE_SVG" = "yes"; then
44686 cat >>confdefs.h
<<\_ACEOF
44687 #define wxUSE_SVG 1
44693 if test "$wxUSE_METAFILE" = "yes"; then
44694 if test "$wxUSE_MSW" != 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_PM" != 1; then
44695 { echo "$as_me:$LINENO: WARNING: wxMetafile is not available on this system... disabled" >&5
44696 echo "$as_me: WARNING: wxMetafile is not available on this system... disabled" >&2;}
44702 if test "$USE_WIN32" = 1 -a \
( "$wxUSE_DATAOBJ" = "yes" \
44703 -o "$wxUSE_CLIPBOARD" = "yes" \
44704 -o "$wxUSE_OLE" = "yes" \
44705 -o "$wxUSE_DRAG_AND_DROP" = "yes" \
) ; then
44706 { echo "$as_me:$LINENO: checking for ole2.h" >&5
44707 echo $ECHO_N "checking for ole2.h... $ECHO_C" >&6; }
44708 if test "${ac_cv_header_ole2_h+set}" = set; then
44709 echo $ECHO_N "(cached) $ECHO_C" >&6
44711 cat >conftest.
$ac_ext <<_ACEOF
44714 cat confdefs.h
>>conftest.
$ac_ext
44715 cat >>conftest.
$ac_ext <<_ACEOF
44716 /* end confdefs.h. */
44721 rm -f conftest.
$ac_objext
44722 if { (ac_try
="$ac_compile"
44723 case "(($ac_try" in
44724 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
44725 *) ac_try_echo=$ac_try;;
44727 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44728 (eval "$ac_compile") 2>conftest.er1
44730 grep -v '^ *+' conftest.er1 >conftest.err
44732 cat conftest.err >&5
44733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44734 (exit $ac_status); } && {
44735 test -z "$ac_c_werror_flag" ||
44736 test ! -s conftest.err
44737 } && test -s conftest.$ac_objext; then
44738 ac_cv_header_ole2_h=yes
44740 echo "$as_me: failed program was:" >&5
44741 sed 's/^/| /' conftest.$ac_ext >&5
44743 ac_cv_header_ole2_h=no
44746 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44748 { echo "$as_me:$LINENO: result: $ac_cv_header_ole2_h" >&5
44749 echo "${ECHO_T}$ac_cv_header_ole2_h" >&6; }
44753 if test "$ac_cv_header_ole2_h" = "yes" ; then
44754 if test "$GCC" = yes ; then
44755 { echo "$as_me:$LINENO: checking if g++ requires -fvtable-thunks" >&5
44756 echo $ECHO_N "checking if g++ requires -fvtable-thunks... $ECHO_C" >&6; }
44757 cat >conftest.$ac_ext <<_ACEOF
44760 cat confdefs.h >>conftest.$ac_ext
44761 cat >>conftest.$ac_ext <<_ACEOF
44762 /* end confdefs.h. */
44763 #include <windows.h>
44773 rm -f conftest.$ac_objext
44774 if { (ac_try="$ac_compile"
44775 case "(($ac_try" in
44776 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
44777 *) ac_try_echo
=$ac_try;;
44779 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44780 (eval "$ac_compile") 2>conftest.er1
44782 grep -v '^ *+' conftest.er1
>conftest.err
44784 cat conftest.err
>&5
44785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44786 (exit $ac_status); } && {
44787 test -z "$ac_c_werror_flag" ||
44788 test ! -s conftest.err
44789 } && test -s conftest.
$ac_objext; then
44790 { echo "$as_me:$LINENO: result: no" >&5
44791 echo "${ECHO_T}no" >&6; }
44793 echo "$as_me: failed program was:" >&5
44794 sed 's/^/| /' conftest.
$ac_ext >&5
44796 { echo "$as_me:$LINENO: result: yes" >&5
44797 echo "${ECHO_T}yes" >&6; }
44798 WXCONFIG_CXXFLAGS
="$WXCONFIG_CXXFLAGS -fvtable-thunks"
44801 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
44802 LIBS
=" -lrpcrt4 -loleaut32 -lole32 -luuid$LIBS"
44803 if test "$wxUSE_OLE" = "yes" ; then
44804 cat >>confdefs.h
<<\_ACEOF
44805 #define wxUSE_OLE 1
44808 cat >>confdefs.h
<<\_ACEOF
44809 #define wxUSE_OLE_AUTOMATION 1
44812 cat >>confdefs.h
<<\_ACEOF
44813 #define wxUSE_ACTIVEX 1
44816 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS oleauto"
44820 if test "$wxUSE_DATAOBJ" = "yes" ; then
44821 cat >>confdefs.h
<<\_ACEOF
44822 #define wxUSE_DATAOBJ 1
44827 { echo "$as_me:$LINENO: WARNING: Some features disabled because OLE headers not found" >&5
44828 echo "$as_me: WARNING: Some features disabled because OLE headers not found" >&2;}
44831 wxUSE_DRAG_AND_DROP
=no
44836 if test "$wxUSE_METAFILE" = "yes"; then
44837 cat >>confdefs.h
<<\_ACEOF
44838 #define wxUSE_METAFILE 1
44842 cat >>confdefs.h
<<\_ACEOF
44843 #define wxUSE_ENH_METAFILE 1
44849 if test "$wxUSE_IPC" = "yes"; then
44850 if test "$wxUSE_SOCKETS" != "yes" -a "$USE_WIN32" != 1; then
44851 { echo "$as_me:$LINENO: WARNING: wxWidgets IPC classes require sockets... disabled" >&5
44852 echo "$as_me: WARNING: wxWidgets IPC classes require sockets... disabled" >&2;}
44856 if test "$wxUSE_IPC" = "yes"; then
44857 cat >>confdefs.h
<<\_ACEOF
44858 #define wxUSE_IPC 1
44861 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS ipc"
44865 if test "$wxUSE_DATAOBJ" = "yes"; then
44866 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = 1; then
44867 { echo "$as_me:$LINENO: WARNING: wxDataObject not yet supported under $TOOLKIT... disabled" >&5
44868 echo "$as_me: WARNING: wxDataObject not yet supported under $TOOLKIT... disabled" >&2;}
44871 cat >>confdefs.h
<<\_ACEOF
44872 #define wxUSE_DATAOBJ 1
44877 { echo "$as_me:$LINENO: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&5
44878 echo "$as_me: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&2;}
44880 wxUSE_DRAG_AND_DROP
=no
44883 if test "$wxUSE_CLIPBOARD" = "yes"; then
44884 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = 1; then
44885 { echo "$as_me:$LINENO: WARNING: Clipboard not yet supported under $TOOLKIT... disabled" >&5
44886 echo "$as_me: WARNING: Clipboard not yet supported under $TOOLKIT... disabled" >&2;}
44890 if test "$wxUSE_CLIPBOARD" = "yes"; then
44891 cat >>confdefs.h
<<\_ACEOF
44892 #define wxUSE_CLIPBOARD 1
44898 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
44899 if test "$wxUSE_GTK" = 1; then
44900 if test "$WXGTK12" != 1; then
44901 { echo "$as_me:$LINENO: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&5
44902 echo "$as_me: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&2;}
44903 wxUSE_DRAG_AND_DROP
=no
44907 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_X11" = 1 -o "$wxUSE_MGL" = 1 -o \
44908 "$wxUSE_DFB" = 1; then
44909 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under $TOOLKIT... disabled" >&5
44910 echo "$as_me: WARNING: Drag and drop not yet supported under $TOOLKIT... disabled" >&2;}
44911 wxUSE_DRAG_AND_DROP
=no
44914 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
44915 cat >>confdefs.h
<<\_ACEOF
44916 #define wxUSE_DRAG_AND_DROP 1
44923 if test "$wxUSE_DRAG_AND_DROP" = "yes" -o "$wxUSE_CLIPBOARD" = "yes"; then
44924 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dnd"
44927 if test "$wxUSE_SPLINES" = "yes" ; then
44928 cat >>confdefs.h
<<\_ACEOF
44929 #define wxUSE_SPLINES 1
44934 if test "$wxUSE_MOUSEWHEEL" = "yes" ; then
44935 cat >>confdefs.h
<<\_ACEOF
44936 #define wxUSE_MOUSEWHEEL 1
44943 if test "$wxUSE_CONTROLS" = "yes"; then
44947 if test "$wxUSE_ACCEL" = "yes"; then
44948 cat >>confdefs.h
<<\_ACEOF
44949 #define wxUSE_ACCEL 1
44955 if test "$wxUSE_ANIMATIONCTRL" = "yes"; then
44956 cat >>confdefs.h
<<\_ACEOF
44957 #define wxUSE_ANIMATIONCTRL 1
44961 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS animate"
44964 if test "$wxUSE_BUTTON" = "yes"; then
44965 cat >>confdefs.h
<<\_ACEOF
44966 #define wxUSE_BUTTON 1
44972 if test "$wxUSE_BMPBUTTON" = "yes"; then
44973 cat >>confdefs.h
<<\_ACEOF
44974 #define wxUSE_BMPBUTTON 1
44980 if test "$wxUSE_CALCTRL" = "yes"; then
44981 cat >>confdefs.h
<<\_ACEOF
44982 #define wxUSE_CALENDARCTRL 1
44986 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS calendar"
44989 if test "$wxUSE_CARET" = "yes"; then
44990 cat >>confdefs.h
<<\_ACEOF
44991 #define wxUSE_CARET 1
44995 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS caret"
44998 if test "$wxUSE_COLLPANE" = "yes"; then
44999 cat >>confdefs.h
<<\_ACEOF
45000 #define wxUSE_COLLPANE 1
45004 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS collpane"
45007 if test "$wxUSE_COMBOBOX" = "yes"; then
45008 cat >>confdefs.h
<<\_ACEOF
45009 #define wxUSE_COMBOBOX 1
45015 if test "$wxUSE_COMBOCTRL" = "yes"; then
45016 cat >>confdefs.h
<<\_ACEOF
45017 #define wxUSE_COMBOCTRL 1
45023 if test "$wxUSE_CHOICE" = "yes"; then
45024 cat >>confdefs.h
<<\_ACEOF
45025 #define wxUSE_CHOICE 1
45031 if test "$wxUSE_CHOICEBOOK" = "yes"; then
45032 cat >>confdefs.h
<<\_ACEOF
45033 #define wxUSE_CHOICEBOOK 1
45039 if test "$wxUSE_CHECKBOX" = "yes"; then
45040 cat >>confdefs.h
<<\_ACEOF
45041 #define wxUSE_CHECKBOX 1
45047 if test "$wxUSE_CHECKLST" = "yes"; then
45048 cat >>confdefs.h
<<\_ACEOF
45049 #define wxUSE_CHECKLISTBOX 1
45055 if test "$wxUSE_COLOURPICKERCTRL" = "yes"; then
45056 cat >>confdefs.h
<<\_ACEOF
45057 #define wxUSE_COLOURPICKERCTRL 1
45063 if test "$wxUSE_DATEPICKCTRL" = "yes"; then
45064 cat >>confdefs.h
<<\_ACEOF
45065 #define wxUSE_DATEPICKCTRL 1
45071 if test "$wxUSE_DIRPICKERCTRL" = "yes"; then
45072 cat >>confdefs.h
<<\_ACEOF
45073 #define wxUSE_DIRPICKERCTRL 1
45079 if test "$wxUSE_FILECTRL" = "yes"; then
45080 cat >>confdefs.h
<<\_ACEOF
45081 #define wxUSE_FILECTRL 1
45087 if test "$wxUSE_FILEPICKERCTRL" = "yes"; then
45088 cat >>confdefs.h
<<\_ACEOF
45089 #define wxUSE_FILEPICKERCTRL 1
45095 if test "$wxUSE_FONTPICKERCTRL" = "yes"; then
45096 cat >>confdefs.h
<<\_ACEOF
45097 #define wxUSE_FONTPICKERCTRL 1
45103 if test "$wxUSE_DISPLAY" = "yes"; then
45104 if test "$wxUSE_DFB" = 1 -o "$wxUSE_MGL" = 1; then
45105 { echo "$as_me:$LINENO: WARNING: wxDisplay not yet supported under $TOOLKIT... disabled" >&5
45106 echo "$as_me: WARNING: wxDisplay not yet supported under $TOOLKIT... disabled" >&2;}
45109 cat >>confdefs.h
<<\_ACEOF
45110 #define wxUSE_DISPLAY 1
45113 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS display"
45117 if test "$wxUSE_DETECT_SM" = "yes"; then
45118 cat >>confdefs.h
<<\_ACEOF
45119 #define wxUSE_DETECT_SM 1
45124 if test "$wxUSE_GAUGE" = "yes"; then
45125 cat >>confdefs.h
<<\_ACEOF
45126 #define wxUSE_GAUGE 1
45132 if test "$wxUSE_GRID" = "yes"; then
45133 cat >>confdefs.h
<<\_ACEOF
45134 #define wxUSE_GRID 1
45138 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS grid"
45141 if test "$wxUSE_HYPERLINKCTRL" = "yes"; then
45142 cat >>confdefs.h
<<\_ACEOF
45143 #define wxUSE_HYPERLINKCTRL 1
45149 if test "$wxUSE_BITMAPCOMBOBOX" = "yes"; then
45150 cat >>confdefs.h
<<\_ACEOF
45151 #define wxUSE_BITMAPCOMBOBOX 1
45157 if test "$wxUSE_DATAVIEWCTRL" = "yes"; then
45158 cat >>confdefs.h
<<\_ACEOF
45159 #define wxUSE_DATAVIEWCTRL 1
45163 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dataview"
45166 if test "$wxUSE_IMAGLIST" = "yes"; then
45167 cat >>confdefs.h
<<\_ACEOF
45168 #define wxUSE_IMAGLIST 1
45173 if test "$wxUSE_LISTBOOK" = "yes"; then
45174 cat >>confdefs.h
<<\_ACEOF
45175 #define wxUSE_LISTBOOK 1
45181 if test "$wxUSE_LISTBOX" = "yes"; then
45182 cat >>confdefs.h
<<\_ACEOF
45183 #define wxUSE_LISTBOX 1
45189 if test "$wxUSE_LISTCTRL" = "yes"; then
45190 if test "$wxUSE_IMAGLIST" = "yes"; then
45191 cat >>confdefs.h
<<\_ACEOF
45192 #define wxUSE_LISTCTRL 1
45196 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS listctrl"
45198 { echo "$as_me:$LINENO: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&5
45199 echo "$as_me: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&2;}
45203 if test "$wxUSE_EDITABLELISTBOX" = "yes"; then
45204 cat >>confdefs.h
<<\_ACEOF
45205 #define wxUSE_EDITABLELISTBOX 1
45209 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS editlbox"
45212 if test "$wxUSE_NOTEBOOK" = "yes"; then
45213 cat >>confdefs.h
<<\_ACEOF
45214 #define wxUSE_NOTEBOOK 1
45218 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS notebook"
45221 if test "$wxUSE_NOTIFICATION_MESSAGE" = "yes"; then
45222 cat >>confdefs.h
<<\_ACEOF
45223 #define wxUSE_NOTIFICATION_MESSAGE 1
45228 if test "$wxUSE_ODCOMBOBOX" = "yes"; then
45229 cat >>confdefs.h
<<\_ACEOF
45230 #define wxUSE_ODCOMBOBOX 1
45234 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS combo"
45237 if test "$wxUSE_RADIOBOX" = "yes"; then
45238 cat >>confdefs.h
<<\_ACEOF
45239 #define wxUSE_RADIOBOX 1
45245 if test "$wxUSE_RADIOBTN" = "yes"; then
45246 cat >>confdefs.h
<<\_ACEOF
45247 #define wxUSE_RADIOBTN 1
45253 if test "$wxUSE_SASH" = "yes"; then
45254 cat >>confdefs.h
<<\_ACEOF
45255 #define wxUSE_SASH 1
45258 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sashtest"
45261 if test "$wxUSE_SCROLLBAR" = "yes"; then
45262 cat >>confdefs.h
<<\_ACEOF
45263 #define wxUSE_SCROLLBAR 1
45267 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS scroll scrollsub"
45270 if test "$wxUSE_SEARCHCTRL" = "yes"; then
45271 cat >>confdefs.h
<<\_ACEOF
45272 #define wxUSE_SEARCHCTRL 1
45278 if test "$wxUSE_SLIDER" = "yes"; then
45279 cat >>confdefs.h
<<\_ACEOF
45280 #define wxUSE_SLIDER 1
45286 if test "$wxUSE_SPINBTN" = "yes"; then
45287 cat >>confdefs.h
<<\_ACEOF
45288 #define wxUSE_SPINBTN 1
45294 if test "$wxUSE_SPINCTRL" = "yes"; then
45295 cat >>confdefs.h
<<\_ACEOF
45296 #define wxUSE_SPINCTRL 1
45302 if test "$wxUSE_SPLITTER" = "yes"; then
45303 cat >>confdefs.h
<<\_ACEOF
45304 #define wxUSE_SPLITTER 1
45307 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS splitter"
45310 if test "$wxUSE_STATBMP" = "yes"; then
45311 cat >>confdefs.h
<<\_ACEOF
45312 #define wxUSE_STATBMP 1
45318 if test "$wxUSE_STATBOX" = "yes"; then
45319 cat >>confdefs.h
<<\_ACEOF
45320 #define wxUSE_STATBOX 1
45326 if test "$wxUSE_STATTEXT" = "yes"; then
45327 cat >>confdefs.h
<<\_ACEOF
45328 #define wxUSE_STATTEXT 1
45334 if test "$wxUSE_STATLINE" = "yes"; then
45335 cat >>confdefs.h
<<\_ACEOF
45336 #define wxUSE_STATLINE 1
45342 if test "$wxUSE_STATUSBAR" = "yes"; then
45343 cat >>confdefs.h
<<\_ACEOF
45344 #define wxUSE_NATIVE_STATUSBAR 1
45347 cat >>confdefs.h
<<\_ACEOF
45348 #define wxUSE_STATUSBAR 1
45353 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS statbar"
45356 if test "$wxUSE_TAB_DIALOG" = "yes"; then
45357 cat >>confdefs.h
<<\_ACEOF
45358 #define wxUSE_TAB_DIALOG 1
45363 if test "$wxUSE_TEXTCTRL" = "yes"; then
45364 cat >>confdefs.h
<<\_ACEOF
45365 #define wxUSE_TEXTCTRL 1
45369 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS text"
45372 if test "$wxUSE_TOGGLEBTN" = "yes"; then
45373 if test "$wxUSE_COCOA" = 1 ; then
45374 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&5
45375 echo "$as_me: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&2;}
45379 if test "$wxUSE_TOGGLEBTN" = "yes"; then
45380 cat >>confdefs.h
<<\_ACEOF
45381 #define wxUSE_TOGGLEBTN 1
45388 if test "$wxUSE_TOOLBAR" = "yes"; then
45389 cat >>confdefs.h
<<\_ACEOF
45390 #define wxUSE_TOOLBAR 1
45395 if test "$wxUSE_UNIVERSAL" = "yes"; then
45396 wxUSE_TOOLBAR_NATIVE
="no"
45398 wxUSE_TOOLBAR_NATIVE
="yes"
45399 cat >>confdefs.h
<<\_ACEOF
45400 #define wxUSE_TOOLBAR_NATIVE 1
45405 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS toolbar"
45408 if test "$wxUSE_TOOLTIPS" = "yes"; then
45409 if test "$wxUSE_MOTIF" = 1; then
45410 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet under Motif... disabled" >&5
45411 echo "$as_me: WARNING: wxTooltip not supported yet under Motif... disabled" >&2;}
45413 if test "$wxUSE_UNIVERSAL" = "yes"; then
45414 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&5
45415 echo "$as_me: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&2;}
45417 cat >>confdefs.h
<<\_ACEOF
45418 #define wxUSE_TOOLTIPS 1
45425 if test "$wxUSE_TREEBOOK" = "yes"; then
45426 cat >>confdefs.h
<<\_ACEOF
45427 #define wxUSE_TREEBOOK 1
45433 if test "$wxUSE_TOOLBOOK" = "yes"; then
45434 cat >>confdefs.h
<<\_ACEOF
45435 #define wxUSE_TOOLBOOK 1
45441 if test "$wxUSE_TREECTRL" = "yes"; then
45442 if test "$wxUSE_IMAGLIST" = "yes"; then
45443 cat >>confdefs.h
<<\_ACEOF
45444 #define wxUSE_TREECTRL 1
45448 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS treectrl"
45450 { echo "$as_me:$LINENO: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&5
45451 echo "$as_me: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&2;}
45455 if test "$wxUSE_POPUPWIN" = "yes"; then
45456 if test "$wxUSE_COCOA" = 1 ; then
45457 { echo "$as_me:$LINENO: WARNING: Popup window not yet supported under Mac OS X... disabled" >&5
45458 echo "$as_me: WARNING: Popup window not yet supported under Mac OS X... disabled" >&2;}
45460 if test "$wxUSE_PM" = 1; then
45461 { echo "$as_me:$LINENO: WARNING: wxPopupWindow not yet supported under PM... disabled" >&5
45462 echo "$as_me: WARNING: wxPopupWindow not yet supported under PM... disabled" >&2;}
45464 cat >>confdefs.h
<<\_ACEOF
45465 #define wxUSE_POPUPWIN 1
45468 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS popup"
45475 if test "$wxUSE_DIALUP_MANAGER" = "yes"; then
45476 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 -o "$wxUSE_MGL" = 1; then
45477 { echo "$as_me:$LINENO: WARNING: Dialup manager not supported on this platform... disabled" >&5
45478 echo "$as_me: WARNING: Dialup manager not supported on this platform... disabled" >&2;}
45480 cat >>confdefs.h
<<\_ACEOF
45481 #define wxUSE_DIALUP_MANAGER 1
45484 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dialup"
45488 if test "$wxUSE_TIPWINDOW" = "yes"; then
45489 if test "$wxUSE_PM" = 1; then
45490 { echo "$as_me:$LINENO: WARNING: wxTipWindow not yet supported under PM... disabled" >&5
45491 echo "$as_me: WARNING: wxTipWindow not yet supported under PM... disabled" >&2;}
45493 cat >>confdefs.h
<<\_ACEOF
45494 #define wxUSE_TIPWINDOW 1
45500 if test "$USES_CONTROLS" = 1; then
45501 cat >>confdefs.h
<<\_ACEOF
45502 #define wxUSE_CONTROLS 1
45508 if test "$wxUSE_ACCESSIBILITY" = "yes"; then
45509 cat >>confdefs.h
<<\_ACEOF
45510 #define wxUSE_ACCESSIBILITY 1
45513 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS access"
45516 if test "$wxUSE_DRAGIMAGE" = "yes"; then
45517 cat >>confdefs.h
<<\_ACEOF
45518 #define wxUSE_DRAGIMAGE 1
45521 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dragimag"
45524 if test "$wxUSE_EXCEPTIONS" = "yes"; then
45525 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
45526 { echo "$as_me:$LINENO: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&5
45527 echo "$as_me: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&2;}
45529 cat >>confdefs.h
<<\_ACEOF
45530 #define wxUSE_EXCEPTIONS 1
45533 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS except"
45538 if test "$wxUSE_HTML" = "yes"; then
45539 cat >>confdefs.h
<<\_ACEOF
45540 #define wxUSE_HTML 1
45544 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS html html/about html/help html/helpview html/printing html/test html/virtual html/widget html/zip htlbox"
45545 if test "$wxUSE_MAC" = 1; then
45546 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS html/htmlctrl"
45549 if test "$wxUSE_WEBKIT" = "yes"; then
45550 if test "$wxUSE_MAC" = 1 -a "$USE_DARWIN" = 1; then
45551 old_CPPFLAGS
="$CPPFLAGS"
45552 CPPFLAGS
="-x objective-c++ $CPPFLAGS"
45553 { echo "$as_me:$LINENO: checking for WebKit/HIWebView.h" >&5
45554 echo $ECHO_N "checking for WebKit/HIWebView.h... $ECHO_C" >&6; }
45555 if test "${ac_cv_header_WebKit_HIWebView_h+set}" = set; then
45556 echo $ECHO_N "(cached) $ECHO_C" >&6
45558 cat >conftest.
$ac_ext <<_ACEOF
45561 cat confdefs.h
>>conftest.
$ac_ext
45562 cat >>conftest.
$ac_ext <<_ACEOF
45563 /* end confdefs.h. */
45565 #include <Carbon/Carbon.h>
45566 #include <WebKit/WebKit.h>
45569 #include <WebKit/HIWebView.h>
45571 rm -f conftest.
$ac_objext
45572 if { (ac_try
="$ac_compile"
45573 case "(($ac_try" in
45574 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
45575 *) ac_try_echo=$ac_try;;
45577 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45578 (eval "$ac_compile") 2>conftest.er1
45580 grep -v '^ *+' conftest.er1 >conftest.err
45582 cat conftest.err >&5
45583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45584 (exit $ac_status); } && {
45585 test -z "$ac_c_werror_flag" ||
45586 test ! -s conftest.err
45587 } && test -s conftest.$ac_objext; then
45588 ac_cv_header_WebKit_HIWebView_h=yes
45590 echo "$as_me: failed program was:" >&5
45591 sed 's/^/| /' conftest.$ac_ext >&5
45593 ac_cv_header_WebKit_HIWebView_h=no
45596 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45598 { echo "$as_me:$LINENO: result: $ac_cv_header_WebKit_HIWebView_h" >&5
45599 echo "${ECHO_T}$ac_cv_header_WebKit_HIWebView_h" >&6; }
45600 if test $ac_cv_header_WebKit_HIWebView_h = yes; then
45602 cat >>confdefs.h <<\_ACEOF
45603 #define wxUSE_WEBKIT 1
45606 WEBKIT_LINK="-framework WebKit"
45610 { echo "$as_me:$LINENO: WARNING: WebKit headers not found; disabling wxWebKit" >&5
45611 echo "$as_me: WARNING: WebKit headers not found; disabling wxWebKit" >&2;}
45617 CPPFLAGS="$old_CPPFLAGS"
45618 elif test "$wxUSE_COCOA" = 1; then
45619 cat >>confdefs.h <<\_ACEOF
45620 #define wxUSE_WEBKIT 1
45629 if test "$wxUSE_XRC" = "yes"; then
45630 if test "$wxUSE_XML" != "yes"; then
45631 { echo "$as_me:$LINENO: WARNING: XML library not built, XRC resources disabled" >&5
45632 echo "$as_me: WARNING: XML library not built, XRC resources disabled" >&2;}
45635 cat >>confdefs.h <<\_ACEOF
45636 #define wxUSE_XRC 1
45640 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS xrc"
45645 if test "$wxUSE_AUI" = "yes"; then
45646 cat >>confdefs.h <<\_ACEOF
45647 #define wxUSE_AUI 1
45651 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS aui"
45655 if test "$wxUSE_STC" = "yes"; then
45656 cat >>confdefs.h <<\_ACEOF
45657 #define wxUSE_STC 1
45661 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS stc"
45664 if test "$wxUSE_MENUS" = "yes"; then
45665 cat >>confdefs.h <<\_ACEOF
45666 #define wxUSE_MENUS 1
45669 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS menu"
45672 if test "$wxUSE_METAFILE" = "yes"; then
45673 cat >>confdefs.h <<\_ACEOF
45674 #define wxUSE_METAFILE 1
45679 if test "$wxUSE_MIMETYPE" = "yes"; then
45680 cat >>confdefs.h <<\_ACEOF
45681 #define wxUSE_MIMETYPE 1
45686 if test "$wxUSE_MINIFRAME" = "yes"; then
45687 cat >>confdefs.h <<\_ACEOF
45688 #define wxUSE_MINIFRAME 1
45693 if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
45694 cat >>confdefs.h <<\_ACEOF
45695 #define wxUSE_SYSTEM_OPTIONS 1
45700 if test "$wxUSE_TASKBARICON" = "yes"; then
45701 cat >>confdefs.h <<\_ACEOF
45702 #define wxUSE_TASKBARICON 1
45705 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS taskbar"
45709 if test "$wxUSE_VALIDATORS" = "yes"; then
45710 cat >>confdefs.h <<\_ACEOF
45711 #define wxUSE_VALIDATORS 1
45714 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS validate"
45717 if test "$wxUSE_PALETTE" = "yes" ; then
45718 if test "$wxUSE_DFB" = 1; then
45719 { echo "$as_me:$LINENO: WARNING: wxPalette not yet supported under DFB... disabled" >&5
45720 echo "$as_me: WARNING: wxPalette not yet supported under DFB... disabled" >&2;}
45723 cat >>confdefs.h <<\_ACEOF
45724 #define wxUSE_PALETTE 1
45730 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_MSLU" = "yes" ; then
45731 LIBS=" -lunicows $LIBS"
45735 if test "$wxUSE_RICHTEXT" = "yes"; then
45736 cat >>confdefs.h <<\_ACEOF
45737 #define wxUSE_RICHTEXT 1
45741 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS richtext"
45745 if test "$wxUSE_IMAGE" = "yes" ; then
45746 cat >>confdefs.h <<\_ACEOF
45747 #define wxUSE_IMAGE 1
45751 if test "$wxUSE_GIF" = "yes" ; then
45752 cat >>confdefs.h <<\_ACEOF
45753 #define wxUSE_GIF 1
45758 if test "$wxUSE_PCX" = "yes" ; then
45759 cat >>confdefs.h <<\_ACEOF
45760 #define wxUSE_PCX 1
45765 if test "$wxUSE_TGA" = "yes" ; then
45766 cat >>confdefs.h <<\_ACEOF
45767 #define wxUSE_TGA 1
45772 if test "$wxUSE_IFF" = "yes" ; then
45773 cat >>confdefs.h <<\_ACEOF
45774 #define wxUSE_IFF 1
45779 if test "$wxUSE_PNM" = "yes" ; then
45780 cat >>confdefs.h <<\_ACEOF
45781 #define wxUSE_PNM 1
45786 if test "$wxUSE_XPM" = "yes" ; then
45787 cat >>confdefs.h <<\_ACEOF
45788 #define wxUSE_XPM 1
45793 if test "$wxUSE_ICO_CUR" = "yes" ; then
45794 cat >>confdefs.h <<\_ACEOF
45795 #define wxUSE_ICO_CUR 1
45802 if test "$wxUSE_ABOUTDLG" = "yes"; then
45803 cat >>confdefs.h <<\_ACEOF
45804 #define wxUSE_ABOUTDLG 1
45809 if test "$wxUSE_CHOICEDLG" = "yes"; then
45810 cat >>confdefs.h <<\_ACEOF
45811 #define wxUSE_CHOICEDLG 1
45816 if test "$wxUSE_COLOURDLG" = "yes"; then
45817 cat >>confdefs.h <<\_ACEOF
45818 #define wxUSE_COLOURDLG 1
45823 if test "$wxUSE_FILEDLG" = "yes"; then
45824 cat >>confdefs.h <<\_ACEOF
45825 #define wxUSE_FILEDLG 1
45830 if test "$wxUSE_FINDREPLDLG" = "yes"; then
45831 cat >>confdefs.h <<\_ACEOF
45832 #define wxUSE_FINDREPLDLG 1
45837 if test "$wxUSE_FONTDLG" = "yes"; then
45838 cat >>confdefs.h <<\_ACEOF
45839 #define wxUSE_FONTDLG 1
45844 if test "$wxUSE_DIRDLG" = "yes"; then
45845 if test "$wxUSE_TREECTRL" != "yes"; then
45846 { echo "$as_me:$LINENO: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&5
45847 echo "$as_me: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&2;}
45849 cat >>confdefs.h <<\_ACEOF
45850 #define wxUSE_DIRDLG 1
45856 if test "$wxUSE_MSGDLG" = "yes"; then
45857 cat >>confdefs.h <<\_ACEOF
45858 #define wxUSE_MSGDLG 1
45863 if test "$wxUSE_NUMBERDLG" = "yes"; then
45864 cat >>confdefs.h <<\_ACEOF
45865 #define wxUSE_NUMBERDLG 1
45870 if test "$wxUSE_PROGRESSDLG" = "yes"; then
45871 if test "$wxUSE_CONSTRAINTS" != "yes"; then
45872 { echo "$as_me:$LINENO: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&5
45873 echo "$as_me: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&2;}
45875 cat >>confdefs.h <<\_ACEOF
45876 #define wxUSE_PROGRESSDLG 1
45882 if test "$wxUSE_SPLASH" = "yes"; then
45883 cat >>confdefs.h <<\_ACEOF
45884 #define wxUSE_SPLASH 1
45887 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splash"
45890 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
45891 if test "$wxUSE_CONSTRAINTS" != "yes"; then
45892 { echo "$as_me:$LINENO: WARNING: Startup tips requires constraints and won't be compiled without them" >&5
45893 echo "$as_me: WARNING: Startup tips requires constraints and won't be compiled without them" >&2;}
45895 cat >>confdefs.h <<\_ACEOF
45896 #define wxUSE_STARTUP_TIPS 1
45902 if test "$wxUSE_TEXTDLG" = "yes"; then
45903 cat >>confdefs.h <<\_ACEOF
45904 #define wxUSE_TEXTDLG 1
45909 if test "$wxUSE_WIZARDDLG" = "yes"; then
45910 cat >>confdefs.h <<\_ACEOF
45911 #define wxUSE_WIZARDDLG 1
45914 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS wizard"
45918 if test "$wxUSE_MSW" = 1 -o "$wxUSE_PM" = 1; then
45919 if test "$wxUSE_OWNER_DRAWN" = "yes"; then
45920 cat >>confdefs.h <<\_ACEOF
45921 #define wxUSE_OWNER_DRAWN 1
45928 if test "$wxUSE_MSW" = 1 ; then
45930 if test "$wxUSE_DC_CACHEING" = "yes"; then
45931 cat >>confdefs.h <<\_ACEOF
45932 #define wxUSE_DC_CACHEING 1
45937 if test "$wxUSE_DIB" = "yes"; then
45938 cat >>confdefs.h <<\_ACEOF
45939 #define wxUSE_WXDIB 1
45944 if test "$wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW" = "yes"; then
45945 cat >>confdefs.h <<\_ACEOF
45946 #define wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW 1
45951 if test "$wxUSE_UXTHEME" = "yes"; then
45952 cat >>confdefs.h <<\_ACEOF
45953 #define wxUSE_UXTHEME 1
45960 if test "$wxUSE_AUTOID_MANAGEMENT" = "yes"; then
45961 cat >>confdefs.h <<\_ACEOF
45962 #define wxUSE_AUTOID_MANAGEMENT 1
45967 if test "$USE_WIN32" = 1 ; then
45968 if test "$wxUSE_INICONF" = "yes"; then
45969 cat >>confdefs.h <<\_ACEOF
45970 #define wxUSE_INICONF 1
45975 if test "$wxUSE_REGKEY" = "yes"; then
45976 cat >>confdefs.h <<\_ACEOF
45977 #define wxUSE_REGKEY 1
45984 if test "$wxUSE_GRAPHICS_CONTEXT" = "yes"; then
45985 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1; then
45986 cat >>confdefs.h <<\_ACEOF
45987 #define wxUSE_GRAPHICS_CONTEXT 1
45990 elif test "$wxUSE_GTK" != 1; then
45991 cat >>confdefs.h <<\_ACEOF
45992 #define wxUSE_GRAPHICS_CONTEXT 1
45998 { echo "$as_me:$LINENO: checking for CAIRO" >&5
45999 echo $ECHO_N "checking for CAIRO... $ECHO_C" >&6; }
46001 if test -n "$PKG_CONFIG"; then
46002 if test -n "$CAIRO_CFLAGS"; then
46003 pkg_cv_CAIRO_CFLAGS="$CAIRO_CFLAGS"
46005 if test -n "$PKG_CONFIG" && \
46006 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo\"") >&5
46007 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
46009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46010 (exit $ac_status); }; then
46011 pkg_cv_CAIRO_CFLAGS=`$PKG_CONFIG --cflags "cairo" 2>/dev
/null
`
46019 if test -n "$PKG_CONFIG"; then
46020 if test -n "$CAIRO_LIBS"; then
46021 pkg_cv_CAIRO_LIBS="$CAIRO_LIBS"
46023 if test -n "$PKG_CONFIG" && \
46024 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo\"") >&5
46025 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
46027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46028 (exit $ac_status); }; then
46029 pkg_cv_CAIRO_LIBS=`$PKG_CONFIG --libs "cairo" 2>/dev
/null
`
46040 if test $pkg_failed = yes; then
46042 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
46043 _pkg_short_errors_supported=yes
46045 _pkg_short_errors_supported=no
46047 if test $_pkg_short_errors_supported = yes; then
46048 CAIRO_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "cairo"`
46050 CAIRO_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "cairo"`
46052 # Put the nasty error message in config.log where it belongs
46053 echo "$CAIRO_PKG_ERRORS" >&5
46055 { echo "$as_me:$LINENO: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&5
46056 echo "$as_me: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&2;}
46058 elif test $pkg_failed = untried; then
46059 { echo "$as_me:$LINENO: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&5
46060 echo "$as_me: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&2;}
46063 CAIRO_CFLAGS=$pkg_cv_CAIRO_CFLAGS
46064 CAIRO_LIBS=$pkg_cv_CAIRO_LIBS
46065 { echo "$as_me:$LINENO: result: yes" >&5
46066 echo "${ECHO_T}yes" >&6; }
46067 cat >>confdefs.h <<\_ACEOF
46068 #define wxUSE_GRAPHICS_CONTEXT 1
46078 if test "$wxUSE_MEDIACTRL" = "yes"; then
46081 if test "$wxUSE_GTK" = 1; then
46082 wxUSE_GSTREAMER="no"
46084 GST_VERSION_MAJOR=0
46085 GST_VERSION_MINOR=10
46086 GST_VERSION=$GST_VERSION_MAJOR.$GST_VERSION_MINOR
46088 if test "$wxUSE_GSTREAMER8" = "no"; then
46091 { echo "$as_me:$LINENO: checking for GST" >&5
46092 echo $ECHO_N "checking for GST... $ECHO_C" >&6; }
46094 if test -n "$PKG_CONFIG"; then
46095 if test -n "$GST_CFLAGS"; then
46096 pkg_cv_GST_CFLAGS="$GST_CFLAGS"
46098 if test -n "$PKG_CONFIG" && \
46099 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION gconf-2.0\"") >&5
46100 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0") 2>&5
46102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46103 (exit $ac_status); }; then
46104 pkg_cv_GST_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" 2>/dev
/null
`
46112 if test -n "$PKG_CONFIG"; then
46113 if test -n "$GST_LIBS"; then
46114 pkg_cv_GST_LIBS="$GST_LIBS"
46116 if test -n "$PKG_CONFIG" && \
46117 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION gconf-2.0\"") >&5
46118 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0") 2>&5
46120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46121 (exit $ac_status); }; then
46122 pkg_cv_GST_LIBS=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" 2>/dev
/null
`
46133 if test $pkg_failed = yes; then
46135 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
46136 _pkg_short_errors_supported=yes
46138 _pkg_short_errors_supported=no
46140 if test $_pkg_short_errors_supported = yes; then
46141 GST_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
46143 GST_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
46145 # Put the nasty error message in config.log where it belongs
46146 echo "$GST_PKG_ERRORS" >&5
46149 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
46150 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
46151 GST_VERSION_MINOR=8
46154 elif test $pkg_failed = untried; then
46156 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
46157 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
46158 GST_VERSION_MINOR=8
46162 GST_CFLAGS=$pkg_cv_GST_CFLAGS
46163 GST_LIBS=$pkg_cv_GST_LIBS
46164 { echo "$as_me:$LINENO: result: yes" >&5
46165 echo "${ECHO_T}yes" >&6; }
46167 wxUSE_GSTREAMER="yes"
46168 GST_LIBS="$GST_LIBS -lgstinterfaces-$GST_VERSION"
46172 GST_VERSION_MINOR=8
46175 if test $GST_VERSION_MINOR = "8"; then
46176 GST_VERSION=$GST_VERSION_MAJOR.$GST_VERSION_MINOR
46179 { echo "$as_me:$LINENO: checking for GST" >&5
46180 echo $ECHO_N "checking for GST... $ECHO_C" >&6; }
46182 if test -n "$PKG_CONFIG"; then
46183 if test -n "$GST_CFLAGS"; then
46184 pkg_cv_GST_CFLAGS="$GST_CFLAGS"
46186 if test -n "$PKG_CONFIG" && \
46187 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
46188 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
46190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46191 (exit $ac_status); }; then
46192 pkg_cv_GST_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev
/null
`
46200 if test -n "$PKG_CONFIG"; then
46201 if test -n "$GST_LIBS"; then
46202 pkg_cv_GST_LIBS="$GST_LIBS"
46204 if test -n "$PKG_CONFIG" && \
46205 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
46206 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
46208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46209 (exit $ac_status); }; then
46210 pkg_cv_GST_LIBS=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev
/null
`
46221 if test $pkg_failed = yes; then
46223 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
46224 _pkg_short_errors_supported=yes
46226 _pkg_short_errors_supported=no
46228 if test $_pkg_short_errors_supported = yes; then
46229 GST_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
46231 GST_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
46233 # Put the nasty error message in config.log where it belongs
46234 echo "$GST_PKG_ERRORS" >&5
46237 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
46238 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
46240 elif test $pkg_failed = untried; then
46242 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
46243 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
46246 GST_CFLAGS=$pkg_cv_GST_CFLAGS
46247 GST_LIBS=$pkg_cv_GST_LIBS
46248 { echo "$as_me:$LINENO: result: yes" >&5
46249 echo "${ECHO_T}yes" >&6; }
46250 wxUSE_GSTREAMER="yes"
46255 if test "$wxUSE_GSTREAMER" = "yes"; then
46256 CPPFLAGS="$GST_CFLAGS $CPPFLAGS"
46257 EXTRALIBS_MEDIA="$GST_LIBS"
46259 cat >>confdefs.h <<\_ACEOF
46260 #define wxUSE_GSTREAMER 1
46268 if test $USE_MEDIA = 1; then
46269 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mediaplayer"
46270 cat >>confdefs.h <<\_ACEOF
46271 #define wxUSE_MEDIACTRL 1
46278 if test "$cross_compiling" = "yes"; then
46281 OSINFO=`uname
-s -r -m`
46282 OSINFO="\"$OSINFO\""
46285 cat >>confdefs.h <<_ACEOF
46286 #define WXWIN_OS_DESCRIPTION $OSINFO
46291 if test "x$prefix" != "xNONE"; then
46294 wxPREFIX=$ac_default_prefix
46297 cat >>confdefs.h <<_ACEOF
46298 #define wxINSTALL_PREFIX "$wxPREFIX"
46304 STD_BASE_LIBS="base"
46306 BUILT_WX_LIBS="base"
46307 ALL_WX_LIBS="xrc stc gl media qa html adv core xml net base"
46309 if test "$wxUSE_SOCKETS" = "yes" ; then
46310 STD_BASE_LIBS="net $STD_BASE_LIBS"
46311 BUILT_WX_LIBS="net $BUILT_WX_LIBS"
46313 if test "$wxUSE_XML" = "yes" ; then
46314 STD_BASE_LIBS="xml $STD_BASE_LIBS"
46315 BUILT_WX_LIBS="xml $BUILT_WX_LIBS"
46318 if test "$wxUSE_GUI" = "yes"; then
46319 STD_GUI_LIBS="adv core"
46320 BUILT_WX_LIBS="$STD_GUI_LIBS $BUILT_WX_LIBS"
46322 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
46323 STD_GUI_LIBS="qa $STD_GUI_LIBS"
46324 BUILT_WX_LIBS="qa $BUILT_WX_LIBS"
46326 if test "$wxUSE_HTML" = "yes" ; then
46327 STD_GUI_LIBS="html $STD_GUI_LIBS"
46328 BUILT_WX_LIBS="html $BUILT_WX_LIBS"
46330 if test "$wxUSE_MEDIACTRL" = "yes" ; then
46331 BUILT_WX_LIBS="media $BUILT_WX_LIBS"
46333 if test "$wxUSE_OPENGL" = "yes" ; then
46334 BUILT_WX_LIBS="gl $BUILT_WX_LIBS"
46336 if test "$wxUSE_AUI" = "yes" ; then
46337 BUILT_WX_LIBS="aui $BUILT_WX_LIBS"
46339 if test "$wxUSE_STC" = "yes" ; then
46340 BUILT_WX_LIBS="stc $BUILT_WX_LIBS"
46342 if test "$wxUSE_XRC" = "yes" ; then
46343 STD_GUI_LIBS="xrc $STD_GUI_LIBS"
46344 BUILT_WX_LIBS="xrc $BUILT_WX_LIBS"
46355 if test "$wxUSE_MAC" = 1 ; then
46356 if test "$wxUSE_SOUND" = "yes" || test "$wxUSE_MEDIACTRL" = "yes"; then
46357 if test "$USE_DARWIN" = 1; then
46358 LDFLAGS="$LDFLAGS -framework QuickTime"
46360 LDFLAGS="$LDFLAGS -lQuickTimeLib"
46363 if test "$USE_DARWIN" = 1; then
46364 LDFLAGS="$LDFLAGS -framework IOKit -framework Carbon -framework Cocoa -framework System"
46366 LDFLAGS="$LDFLAGS -lCarbonLib"
46369 if test "$wxUSE_COCOA" = 1 ; then
46370 LDFLAGS="$LDFLAGS -framework IOKit -framework Cocoa"
46371 if test "$wxUSE_MEDIACTRL" = "yes"; then
46372 LDFLAGS="$LDFLAGS -framework QuickTime"
46375 if test "$USE_DARWIN" = 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1 ; then
46376 LDFLAGS="$LDFLAGS -framework IOKit -framework CoreServices -framework System -framework ApplicationServices"
46379 LIBS="$ZLIB_LINK $POSIX4_LINK $INET_LINK $WCHAR_LINK $DL_LINK $LIBS"
46381 if test "$wxUSE_GUI" = "yes"; then
46384 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS artprov controls dialogs drawing \
46385 erase event exec font image minimal mobile \
46386 mobile/wxedit mobile/styles render \
46387 shaped svg taborder vscroll widgets"
46389 if test "$wxUSE_MONOLITHIC" != "yes"; then
46390 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS console"
46392 if test "$TOOLKIT" = "MSW"; then
46393 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS regtest"
46394 if test "$wxUSE_UNIVERSAL" != "yes"; then
46395 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ownerdrw nativdlg"
46398 if test "$TOOLKIT" = "PM" -a "$wxUSE_UNIVERSAL" != "yes"; then
46399 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ownerdrw"
46402 SAMPLES_SUBDIRS="console"
46403 if test "$wxUSE_SOCKETS" = "yes" ; then
46404 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sockets"
46409 if test "x$INTELCC" = "xyes" ; then
46410 CWARNINGS="-Wall -wd810,869,981,1418,1572,1684"
46411 elif test "$GCC" = yes ; then
46412 CWARNINGS="-Wall -Wundef"
46415 if test "x$INTELCXX" = "xyes" ; then
46416 CXXWARNINGS="-Wall -wd279,383,444,810,869,981,1418,1419"
46417 elif test "$GXX" = yes ; then
46418 CXXWARNINGS="-Wall -Wundef -Wunused-parameter -Wno-ctor-dtor-privacy"
46422 WXCONFIG_CFLAGS=`echo $WXCONFIG_CFLAGS`
46423 WXCONFIG_CXXFLAGS=`echo $WXCONFIG_CFLAGS $WXCONFIG_CXXFLAGS`
46426 CPPFLAGS=`echo $WXCONFIG_CPPFLAGS \
46427 -I\\${wx_top_builddir}/lib
/wx
/include
/${TOOLCHAIN_FULLNAME} \
46428 -I\\${top_srcdir}/include
$TOOLKIT_INCLUDE \
46431 C_AND_CXX_FLAGS="$DEBUG_CFLAGS $PROFILE_FLAGS $OPTIMISE_CFLAGS"
46432 CFLAGS=`echo $WXCONFIG_CFLAGS $CWARNINGS $C_AND_CXX_FLAGS $CFLAGS `
46433 CXXFLAGS=`echo $WXCONFIG_CXXFLAGS $C_AND_CXX_FLAGS $CXXFLAGS `
46435 WXCONFIG_CPPFLAGS=`echo $WXCONFIG_CPPFLAGS $WXCONFIG_ONLY_CPPFLAGS`
46438 if test "x$MWCC" = "xyes"; then
46440 CC="$CC -cwd source -I-"
46441 CXX="$CXX -cwd source -I-"
46446 EXTRALIBS="$LDFLAGS $LDFLAGS_VERSIONING $LIBS $DMALLOC_LIBS"
46447 EXTRALIBS_XML="$EXPAT_LINK"
46448 EXTRALIBS_HTML="$MSPACK_LINK"
46449 EXTRALIBS_MEDIA="$GST_LIBS"
46450 EXTRALIBS_STC="-lwxscintilla${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX}"
46451 if test "$wxUSE_GUI" = "yes"; then
46452 EXTRALIBS_GUI=`echo $GUI_TK_LIBRARY $PNG_LINK $JPEG_LINK $TIFF_LINK $WEBKIT_LINK $EXTRALIBS_HILDON $EXTRALIBS_GNOMEVFS $EXTRALIBS_GNOMEPRINT`
46454 if test "$wxUSE_OPENGL" = "yes"; then
46455 EXTRALIBS_OPENGL="$LDFLAGS_GL $OPENGL_LIBS"
46458 LDFLAGS="$LDFLAGS $PROFILE_FLAGS"
46460 WXCONFIG_LIBS="$LIBS"
46462 if test "$wxUSE_REGEX" = "builtin" ; then
46463 wxconfig_3rdparty="regex${lib_unicode_suffix} $wxconfig_3rdparty"
46465 if test "$wxUSE_EXPAT" = "builtin" ; then
46466 wxconfig_3rdparty="expat $wxconfig_3rdparty"
46468 if test "$wxUSE_LIBTIFF" = "builtin" ; then
46469 wxconfig_3rdparty="tiff $wxconfig_3rdparty"
46471 if test "$wxUSE_LIBJPEG" = "builtin" ; then
46472 wxconfig_3rdparty="jpeg $wxconfig_3rdparty"
46474 if test "$wxUSE_LIBPNG" = "builtin" ; then
46475 wxconfig_3rdparty="png $wxconfig_3rdparty"
46477 if test "$wxUSE_ZLIB" = "builtin" ; then
46478 wxconfig_3rdparty="zlib $wxconfig_3rdparty"
46481 for i in $wxconfig_3rdparty ; do
46482 WXCONFIG_LIBS="-lwx${i}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX} $WXCONFIG_LIBS"
46486 if test "x$wxUSE_UNIVERSAL" = "xyes" ; then
46489 case "$wxUNIV_THEMES" in
46491 cat >>confdefs.h <<\_ACEOF
46492 #define wxUSE_ALL_THEMES 1
46498 for t in `echo $wxUNIV_THEMES | tr , ' ' | tr '[a-z]' '[A-Z]'`; do
46499 cat >>confdefs.h <<_ACEOF
46500 #define wxUSE_THEME_$t 1
46516 if test $wxUSE_MONOLITHIC = "yes" ; then
46522 if test $wxUSE_PLUGINS = "yes" ; then
46528 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
46534 if test $wxUSE_OFFICIAL_BUILD = "yes" ; then
46567 TOOLKIT_LOWERCASE=`echo $TOOLKIT | tr '[A-Z]' '[a-z]'`
46578 TOOLKIT_DESC="GTK+"
46579 if test "$WXGTK2" = 1; then
46580 TOOLKIT_DESC="$TOOLKIT_DESC 2"
46581 if test "$wxUSE_GTKPRINT" = "yes" ; then
46582 TOOLKIT_EXTRA="$TOOLKIT_EXTRA GTK+ printing";
46584 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
46585 TOOLKIT_EXTRA="$TOOLKIT_EXTRA gnomeprint";
46587 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
46588 TOOLKIT_EXTRA="$TOOLKIT_EXTRA gnomevfs"
46590 if test "$wxUSE_LIBHILDON" = "yes"; then
46591 TOOLKIT_EXTRA="$TOOLKIT_EXTRA hildon"
46594 if test "$TOOLKIT_EXTRA" != ""; then
46595 TOOLKIT_DESC="$TOOLKIT_DESC with support for `echo $TOOLKIT_EXTRA | tr -s ' '`"
46601 TOOLKIT_DESC=$TOOLKIT_LOWERCASE
46605 TOOLKIT_DESC="base only"
46609 if test "$wxUSE_WINE" = "yes"; then
46610 BAKEFILE_FORCE_PLATFORM=win32
46613 if test "$wxUSE_UNICODE" = yes -a "$GCC" = yes -a "$bk_use_pch" != no
46615 { echo "$as_me:$LINENO: checking for gcc precompiled header bug" >&5
46616 echo $ECHO_N "checking for gcc precompiled header bug... $ECHO_C" >&6; }
46617 if test "${wx_cv_gcc_pch_bug+set}" = set; then
46618 echo $ECHO_N "(cached) $ECHO_C" >&6
46621 echo '#include <stdio.h>
46622 const wchar_t test_var[] = L"awidetest";' > conftest.h
46624 echo '#include "conftest.h"
46627 printf("%ls", test_var);
46631 wx_cv_gcc_pch_bug="pch not supported"
46633 if $CXX conftest.h >/dev/null 2>&1
46637 if $CXX -o conftest$PROGRAM_EXT conftest.cpp >/dev/null 2>&1
46639 if tr -dc '[a-z]' < conftest$PROGRAM_EXT |
46640 grep awidetest >/dev/null
46642 wx_cv_gcc_pch_bug=no
46644 wx_cv_gcc_pch_bug=yes
46649 rm -f conftest.h conftest.gch conftest.cpp conftest$PROGRAM_EXT
46652 { echo "$as_me:$LINENO: result: $wx_cv_gcc_pch_bug" >&5
46653 echo "${ECHO_T}$wx_cv_gcc_pch_bug" >&6; }
46655 if test "$wx_cv_gcc_pch_bug" = yes; then
46663 if test "x$BAKEFILE_HOST" = "x"; then
46664 if test "x${host}" = "x" ; then
46665 { { echo "$as_me:$LINENO: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&5
46666 echo "$as_me: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&2;}
46667 { (exit 1); exit 1; }; }
46670 BAKEFILE_HOST="${host}"
46673 if test "x$BAKEFILE_CHECK_BASICS" != "xno"; then
46675 if test -n "$ac_tool_prefix"; then
46676 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
46677 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
46678 { echo "$as_me:$LINENO: checking for $ac_word" >&5
46679 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
46680 if test "${ac_cv_prog_RANLIB+set}" = set; then
46681 echo $ECHO_N "(cached) $ECHO_C" >&6
46683 if test -n "$RANLIB"; then
46684 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
46686 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
46687 for as_dir in $PATH
46690 test -z "$as_dir" && as_dir=.
46691 for ac_exec_ext in '' $ac_executable_extensions; do
46692 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
46693 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
46694 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
46703 RANLIB=$ac_cv_prog_RANLIB
46704 if test -n "$RANLIB"; then
46705 { echo "$as_me:$LINENO: result: $RANLIB" >&5
46706 echo "${ECHO_T}$RANLIB" >&6; }
46708 { echo "$as_me:$LINENO: result: no" >&5
46709 echo "${ECHO_T}no" >&6; }
46714 if test -z "$ac_cv_prog_RANLIB"; then
46715 ac_ct_RANLIB=$RANLIB
46716 # Extract the first word of "ranlib", so it can be a program name with args.
46717 set dummy ranlib; ac_word=$2
46718 { echo "$as_me:$LINENO: checking for $ac_word" >&5
46719 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
46720 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
46721 echo $ECHO_N "(cached) $ECHO_C" >&6
46723 if test -n "$ac_ct_RANLIB"; then
46724 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
46726 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
46727 for as_dir in $PATH
46730 test -z "$as_dir" && as_dir=.
46731 for ac_exec_ext in '' $ac_executable_extensions; do
46732 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
46733 ac_cv_prog_ac_ct_RANLIB="ranlib"
46734 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
46743 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
46744 if test -n "$ac_ct_RANLIB"; then
46745 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
46746 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
46748 { echo "$as_me:$LINENO: result: no" >&5
46749 echo "${ECHO_T}no" >&6; }
46752 if test "x$ac_ct_RANLIB" = x; then
46755 case $cross_compiling:$ac_tool_warned in
46757 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
46758 whose name does not start with the host triplet. If you think this
46759 configuration is useful to you, please write to autoconf@gnu.org." >&5
46760 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
46761 whose name does not start with the host triplet. If you think this
46762 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
46763 ac_tool_warned=yes ;;
46765 RANLIB=$ac_ct_RANLIB
46768 RANLIB="$ac_cv_prog_RANLIB"
46771 # Find a good install program. We prefer a C program (faster),
46772 # so one script is as good as another. But avoid the broken or
46773 # incompatible versions:
46774 # SysV /etc/install, /usr/sbin/install
46775 # SunOS /usr/etc/install
46776 # IRIX /sbin/install
46778 # AmigaOS /C/install, which installs bootblocks on floppy discs
46779 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
46780 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
46781 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
46782 # OS/2's system install, which has a completely different semantic
46783 # ./install, which can be erroneously created by make from ./install.sh.
46784 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
46785 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
46786 if test -z "$INSTALL"; then
46787 if test "${ac_cv_path_install+set}" = set; then
46788 echo $ECHO_N "(cached) $ECHO_C" >&6
46790 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
46791 for as_dir in $PATH
46794 test -z "$as_dir" && as_dir=.
46795 # Account for people who put trailing slashes in PATH elements.
46797 ./ | .// | /cC/* | \
46798 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
46799 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
46802 # OSF1 and SCO ODT 3.0 have their own names for install.
46803 # Don't use installbsd from OSF since it installs stuff as root
46805 for ac_prog in ginstall scoinst install; do
46806 for ac_exec_ext in '' $ac_executable_extensions; do
46807 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
46808 if test $ac_prog = install &&
46809 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
46810 # AIX install. It has an incompatible calling convention.
46812 elif test $ac_prog = install &&
46813 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
46814 # program-specific install script used by HP pwplus--don't use.
46817 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
46830 if test "${ac_cv_path_install+set}" = set; then
46831 INSTALL=$ac_cv_path_install
46833 # As a last resort, use the slow shell script. Don't cache a
46834 # value for INSTALL within a source directory, because that will
46835 # break other packages using the cache if that directory is
46836 # removed, or if the value is a relative name.
46837 INSTALL=$ac_install_sh
46840 { echo "$as_me:$LINENO: result: $INSTALL" >&5
46841 echo "${ECHO_T}$INSTALL" >&6; }
46843 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
46844 # It thinks the first close brace ends the variable substitution.
46845 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
46847 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
46849 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
46851 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
46852 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
46854 if test "$LN_S" = "ln -s"; then
46855 { echo "$as_me:$LINENO: result: yes" >&5
46856 echo "${ECHO_T}yes" >&6; }
46858 { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
46859 echo "${ECHO_T}no, using $LN_S" >&6; }
46863 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
46864 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
46865 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
46866 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
46867 echo $ECHO_N "(cached) $ECHO_C" >&6
46869 cat >conftest.make <<\_ACEOF
46872 @echo '@@@%%%=$(MAKE)=@@@%%%'
46874 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
46875 case `${MAKE-make} -f conftest.
make 2>/dev
/null
` in
46876 *@@@%%%=?*=@@@%%%*)
46877 eval ac_cv_prog_make_${ac_make}_set=yes;;
46879 eval ac_cv_prog_make_${ac_make}_set=no;;
46881 rm -f conftest.make
46883 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
46884 { echo "$as_me:$LINENO: result: yes" >&5
46885 echo "${ECHO_T}yes" >&6; }
46888 { echo "$as_me:$LINENO: result: no" >&5
46889 echo "${ECHO_T}no" >&6; }
46890 SET_MAKE="MAKE=${MAKE-make}"
46895 if test "x$SUNCXX" = "xyes"; then
46897 AROPTIONS="-xar -o"
46899 elif test "x$SGICC" = "xyes"; then
46904 if test -n "$ac_tool_prefix"; then
46905 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
46906 set dummy ${ac_tool_prefix}ar; ac_word=$2
46907 { echo "$as_me:$LINENO: checking for $ac_word" >&5
46908 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
46909 if test "${ac_cv_prog_AR+set}" = set; then
46910 echo $ECHO_N "(cached) $ECHO_C" >&6
46912 if test -n "$AR"; then
46913 ac_cv_prog_AR="$AR" # Let the user override the test.
46915 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
46916 for as_dir in $PATH
46919 test -z "$as_dir" && as_dir=.
46920 for ac_exec_ext in '' $ac_executable_extensions; do
46921 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
46922 ac_cv_prog_AR="${ac_tool_prefix}ar"
46923 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
46933 if test -n "$AR"; then
46934 { echo "$as_me:$LINENO: result: $AR" >&5
46935 echo "${ECHO_T}$AR" >&6; }
46937 { echo "$as_me:$LINENO: result: no" >&5
46938 echo "${ECHO_T}no" >&6; }
46943 if test -z "$ac_cv_prog_AR"; then
46945 # Extract the first word of "ar", so it can be a program name with args.
46946 set dummy ar; ac_word=$2
46947 { echo "$as_me:$LINENO: checking for $ac_word" >&5
46948 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
46949 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
46950 echo $ECHO_N "(cached) $ECHO_C" >&6
46952 if test -n "$ac_ct_AR"; then
46953 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
46955 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
46956 for as_dir in $PATH
46959 test -z "$as_dir" && as_dir=.
46960 for ac_exec_ext in '' $ac_executable_extensions; do
46961 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
46962 ac_cv_prog_ac_ct_AR="ar"
46963 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
46972 ac_ct_AR=$ac_cv_prog_ac_ct_AR
46973 if test -n "$ac_ct_AR"; then
46974 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
46975 echo "${ECHO_T}$ac_ct_AR" >&6; }
46977 { echo "$as_me:$LINENO: result: no" >&5
46978 echo "${ECHO_T}no" >&6; }
46981 if test "x$ac_ct_AR" = x; then
46984 case $cross_compiling:$ac_tool_warned in
46986 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
46987 whose name does not start with the host triplet. If you think this
46988 configuration is useful to you, please write to autoconf@gnu.org." >&5
46989 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
46990 whose name does not start with the host triplet. If you think this
46991 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
46992 ac_tool_warned=yes ;;
46997 AR="$ac_cv_prog_AR"
47004 if test -n "$ac_tool_prefix"; then
47005 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
47006 set dummy ${ac_tool_prefix}strip; ac_word=$2
47007 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47008 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47009 if test "${ac_cv_prog_STRIP+set}" = set; then
47010 echo $ECHO_N "(cached) $ECHO_C" >&6
47012 if test -n "$STRIP"; then
47013 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
47015 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47016 for as_dir in $PATH
47019 test -z "$as_dir" && as_dir=.
47020 for ac_exec_ext in '' $ac_executable_extensions; do
47021 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47022 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
47023 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47032 STRIP=$ac_cv_prog_STRIP
47033 if test -n "$STRIP"; then
47034 { echo "$as_me:$LINENO: result: $STRIP" >&5
47035 echo "${ECHO_T}$STRIP" >&6; }
47037 { echo "$as_me:$LINENO: result: no" >&5
47038 echo "${ECHO_T}no" >&6; }
47043 if test -z "$ac_cv_prog_STRIP"; then
47045 # Extract the first word of "strip", so it can be a program name with args.
47046 set dummy strip; ac_word=$2
47047 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47048 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47049 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
47050 echo $ECHO_N "(cached) $ECHO_C" >&6
47052 if test -n "$ac_ct_STRIP"; then
47053 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
47055 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47056 for as_dir in $PATH
47059 test -z "$as_dir" && as_dir=.
47060 for ac_exec_ext in '' $ac_executable_extensions; do
47061 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47062 ac_cv_prog_ac_ct_STRIP="strip"
47063 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47072 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
47073 if test -n "$ac_ct_STRIP"; then
47074 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
47075 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
47077 { echo "$as_me:$LINENO: result: no" >&5
47078 echo "${ECHO_T}no" >&6; }
47081 if test "x$ac_ct_STRIP" = x; then
47084 case $cross_compiling:$ac_tool_warned in
47086 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
47087 whose name does not start with the host triplet. If you think this
47088 configuration is useful to you, please write to autoconf@gnu.org." >&5
47089 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
47090 whose name does not start with the host triplet. If you think this
47091 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
47092 ac_tool_warned=yes ;;
47097 STRIP="$ac_cv_prog_STRIP"
47100 if test -n "$ac_tool_prefix"; then
47101 # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args.
47102 set dummy ${ac_tool_prefix}nm; ac_word=$2
47103 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47104 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47105 if test "${ac_cv_prog_NM+set}" = set; then
47106 echo $ECHO_N "(cached) $ECHO_C" >&6
47108 if test -n "$NM"; then
47109 ac_cv_prog_NM="$NM" # Let the user override the test.
47111 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47112 for as_dir in $PATH
47115 test -z "$as_dir" && as_dir=.
47116 for ac_exec_ext in '' $ac_executable_extensions; do
47117 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47118 ac_cv_prog_NM="${ac_tool_prefix}nm"
47119 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47129 if test -n "$NM"; then
47130 { echo "$as_me:$LINENO: result: $NM" >&5
47131 echo "${ECHO_T}$NM" >&6; }
47133 { echo "$as_me:$LINENO: result: no" >&5
47134 echo "${ECHO_T}no" >&6; }
47139 if test -z "$ac_cv_prog_NM"; then
47141 # Extract the first word of "nm", so it can be a program name with args.
47142 set dummy nm; ac_word=$2
47143 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47144 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47145 if test "${ac_cv_prog_ac_ct_NM+set}" = set; then
47146 echo $ECHO_N "(cached) $ECHO_C" >&6
47148 if test -n "$ac_ct_NM"; then
47149 ac_cv_prog_ac_ct_NM="$ac_ct_NM" # Let the user override the test.
47151 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47152 for as_dir in $PATH
47155 test -z "$as_dir" && as_dir=.
47156 for ac_exec_ext in '' $ac_executable_extensions; do
47157 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47158 ac_cv_prog_ac_ct_NM="nm"
47159 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47168 ac_ct_NM=$ac_cv_prog_ac_ct_NM
47169 if test -n "$ac_ct_NM"; then
47170 { echo "$as_me:$LINENO: result: $ac_ct_NM" >&5
47171 echo "${ECHO_T}$ac_ct_NM" >&6; }
47173 { echo "$as_me:$LINENO: result: no" >&5
47174 echo "${ECHO_T}no" >&6; }
47177 if test "x$ac_ct_NM" = x; then
47180 case $cross_compiling:$ac_tool_warned in
47182 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
47183 whose name does not start with the host triplet. If you think this
47184 configuration is useful to you, please write to autoconf@gnu.org." >&5
47185 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
47186 whose name does not start with the host triplet. If you think this
47187 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
47188 ac_tool_warned=yes ;;
47193 NM="$ac_cv_prog_NM"
47197 case ${BAKEFILE_HOST} in
47199 INSTALL_DIR="mkdir -p"
47202 INSTALL_DIR='$(INSTALL) -d'
47208 case ${BAKEFILE_HOST} in
47209 *-*-cygwin* | *-*-mingw32* )
47210 LDFLAGS_GUI="-mwindows"
47216 { echo "$as_me:$LINENO: checking if make is GNU make" >&5
47217 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6; }
47218 if test "${bakefile_cv_prog_makeisgnu+set}" = set; then
47219 echo $ECHO_N "(cached) $ECHO_C" >&6
47222 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev/null |
47223 egrep -s GNU > /dev/null); then
47224 bakefile_cv_prog_makeisgnu="yes"
47226 bakefile_cv_prog_makeisgnu="no"
47230 { echo "$as_me:$LINENO: result: $bakefile_cv_prog_makeisgnu" >&5
47231 echo "${ECHO_T}$bakefile_cv_prog_makeisgnu" >&6; }
47233 if test "x$bakefile_cv_prog_makeisgnu" = "xyes"; then
47250 if test "x$BAKEFILE_FORCE_PLATFORM" = "x"; then
47251 case "${BAKEFILE_HOST}" in
47258 *-pc-os2_emx | *-pc-os2-emx )
47268 powerpc-apple-macos* )
47277 case "$BAKEFILE_FORCE_PLATFORM" in
47312 # Check whether --enable-omf was given.
47313 if test "${enable_omf+set}" = set; then
47314 enableval=$enable_omf; bk_os2_use_omf="$enableval"
47318 case "${BAKEFILE_HOST}" in
47320 if test "x$GCC" = "xyes"; then
47321 CFLAGS="$CFLAGS -fno-common"
47322 CXXFLAGS="$CXXFLAGS -fno-common"
47324 if test "x$XLCC" = "xyes"; then
47325 CFLAGS="$CFLAGS -qnocommon"
47326 CXXFLAGS="$CXXFLAGS -qnocommon"
47330 *-pc-os2_emx | *-pc-os2-emx )
47331 if test "x$bk_os2_use_omf" = "xyes" ; then
47334 LDFLAGS="-Zomf $LDFLAGS"
47335 CFLAGS="-Zomf $CFLAGS"
47336 CXXFLAGS="-Zomf $CXXFLAGS"
47344 LDFLAGS="-L/boot/develop/lib/x86 $LDFLAGS"
47350 SO_SUFFIX_MODULE="so"
47355 DLLPREFIX_MODULE=""
47359 case "${BAKEFILE_HOST}" in
47362 SO_SUFFIX_MODULE="sl"
47366 SO_SUFFIX_MODULE="a"
47370 SO_SUFFIX_MODULE="dll"
47371 DLLIMP_SUFFIX="dll.a"
47378 SO_SUFFIX_MODULE="dll"
47379 DLLIMP_SUFFIX="dll.a"
47389 *-pc-os2_emx | *-pc-os2-emx )
47391 SO_SUFFIX_MODULE="dll"
47392 DLLIMP_SUFFIX=$OS2_LIBEXT
47396 LIBEXT=".$OS2_LIBEXT"
47401 SO_SUFFIX_MODULE="bundle"
47405 if test "x$DLLIMP_SUFFIX" = "x" ; then
47406 DLLIMP_SUFFIX="$SO_SUFFIX"
47421 if test "x$GCC" = "xyes"; then
47425 SHARED_LD_CC="\$(CC) -shared ${PIC_FLAG} -o"
47426 SHARED_LD_CXX="\$(CXX) -shared ${PIC_FLAG} -o"
47429 case "${BAKEFILE_HOST}" in
47431 if test "x$GCC" != "xyes"; then
47432 LDFLAGS="$LDFLAGS -L/usr/lib"
47434 SHARED_LD_CC="${CC} -b -o"
47435 SHARED_LD_CXX="${CXX} -b -o"
47441 if test "$INTELCC" = "yes"; then
47443 elif test "x$SUNCXX" = "xyes"; then
47444 SHARED_LD_CC="${CC} -G -o"
47445 SHARED_LD_CXX="${CXX} -G -o"
47451 if test "x$SUNCXX" = xyes ; then
47452 SHARED_LD_CC="${CC} -G -o"
47453 SHARED_LD_CXX="${CXX} -G -o"
47461 cat <<EOF >shared-ld-sh
47463 #-----------------------------------------------------------------------------
47464 #-- Name: distrib/mac/shared-ld-sh
47465 #-- Purpose: Link a mach-o dynamic shared library for Darwin / Mac OS X
47466 #-- Author: Gilles Depeyrot
47467 #-- Copyright: (c) 2002 Gilles Depeyrot
47468 #-- Licence: any use permitted
47469 #-----------------------------------------------------------------------------
47474 linking_flag="-dynamiclib"
47475 ldargs="-r -keep_private_externs -nostdlib"
47477 while test ${D}# -gt 0; do
47484 -o|-compatibility_version|-current_version|-framework|-undefined|-install_name)
47485 # collect these options and values
47486 args="${D}{args} ${D}1 ${D}2"
47491 # collect these load args
47492 ldargs="${D}{ldargs} ${D}1"
47495 -l*|-L*|-flat_namespace|-headerpad_max_install_names)
47496 # collect these options
47497 args="${D}{args} ${D}1"
47500 -dynamiclib|-bundle)
47501 linking_flag="${D}1"
47505 echo "shared-ld: unhandled option '${D}1'"
47509 *.o | *.a | *.dylib)
47510 # collect object files
47511 objects="${D}{objects} ${D}1"
47515 echo "shared-ld: unhandled argument '${D}1'"
47526 # Link one module containing all the others
47528 if test ${D}{verbose} = 1; then
47529 echo "c++ ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o"
47531 c++ ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o
47535 # Link the shared library from the single module created, but only if the
47536 # previous command didn't fail:
47538 if test ${D}{status} = 0; then
47539 if test ${D}{verbose} = 1; then
47540 echo "c++ ${D}{linking_flag} master.${D}${D}.o ${D}{args}"
47542 c++ ${D}{linking_flag} master.${D}${D}.o ${D}{args}
47547 # Remove intermediate module
47549 rm -f master.${D}${D}.o
47554 chmod +x shared-ld-sh
47556 SHARED_LD_MODULE_CC="`pwd`/shared-ld-sh -bundle -headerpad_max_install_names -o"
47557 SHARED_LD_MODULE_CXX="$SHARED_LD_MODULE_CC"
47560 { echo "$as_me:$LINENO: checking for gcc 3.1 or later" >&5
47561 echo $ECHO_N "checking for gcc 3.1 or later... $ECHO_C" >&6; }
47562 if test "${bakefile_cv_gcc31+set}" = set; then
47563 echo $ECHO_N "(cached) $ECHO_C" >&6
47566 cat >conftest.$ac_ext <<_ACEOF
47569 cat confdefs.h >>conftest.$ac_ext
47570 cat >>conftest.$ac_ext <<_ACEOF
47571 /* end confdefs.h. */
47577 #if (__GNUC__ < 3) || \
47578 ((__GNUC__ == 3) && (__GNUC_MINOR__ < 1))
47586 rm -f conftest.$ac_objext
47587 if { (ac_try="$ac_compile"
47588 case "(($ac_try" in
47589 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
47590 *) ac_try_echo
=$ac_try;;
47592 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47593 (eval "$ac_compile") 2>conftest.er1
47595 grep -v '^ *+' conftest.er1
>conftest.err
47597 cat conftest.err
>&5
47598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47599 (exit $ac_status); } && {
47600 test -z "$ac_c_werror_flag" ||
47601 test ! -s conftest.err
47602 } && test -s conftest.
$ac_objext; then
47604 bakefile_cv_gcc31
=yes
47607 echo "$as_me: failed program was:" >&5
47608 sed 's/^/| /' conftest.
$ac_ext >&5
47611 bakefile_cv_gcc31
=no
47616 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
47619 { echo "$as_me:$LINENO: result: $bakefile_cv_gcc31" >&5
47620 echo "${ECHO_T}$bakefile_cv_gcc31" >&6; }
47621 if test "$bakefile_cv_gcc31" = "no"; then
47622 SHARED_LD_CC
="`pwd`/shared-ld-sh -dynamiclib -headerpad_max_install_names -o"
47623 SHARED_LD_CXX
="$SHARED_LD_CC"
47625 SHARED_LD_CC
="\${CC} -dynamiclib -single_module -headerpad_max_install_names -o"
47626 SHARED_LD_CXX
="\${CXX} -dynamiclib -single_module -headerpad_max_install_names -o"
47629 if test "x$GCC" == "xyes"; then
47630 PIC_FLAG
="-dynamic -fPIC"
47632 if test "x$XLCC" = "xyes"; then
47633 PIC_FLAG
="-dynamic -DPIC"
47638 if test "x$GCC" = "xyes"; then
47641 case "${BAKEFILE_HOST}" in
47643 LD_EXPFULL
="-Wl,-bexpfull"
47647 SHARED_LD_CC
="\$(CC) -shared $LD_EXPFULL -o"
47648 SHARED_LD_CXX
="\$(CXX) -shared $LD_EXPFULL -o"
47650 # Extract the first word of "makeC++SharedLib", so it can be a program name with args.
47651 set dummy makeC
++SharedLib
; ac_word
=$2
47652 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47653 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47654 if test "${ac_cv_prog_AIX_CXX_LD+set}" = set; then
47655 echo $ECHO_N "(cached) $ECHO_C" >&6
47657 if test -n "$AIX_CXX_LD"; then
47658 ac_cv_prog_AIX_CXX_LD
="$AIX_CXX_LD" # Let the user override the test.
47660 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
47661 for as_dir
in $PATH
47664 test -z "$as_dir" && as_dir
=.
47665 for ac_exec_ext
in '' $ac_executable_extensions; do
47666 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47667 ac_cv_prog_AIX_CXX_LD
="makeC++SharedLib"
47668 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47675 test -z "$ac_cv_prog_AIX_CXX_LD" && ac_cv_prog_AIX_CXX_LD
="/usr/lpp/xlC/bin/makeC++SharedLib"
47678 AIX_CXX_LD
=$ac_cv_prog_AIX_CXX_LD
47679 if test -n "$AIX_CXX_LD"; then
47680 { echo "$as_me:$LINENO: result: $AIX_CXX_LD" >&5
47681 echo "${ECHO_T}$AIX_CXX_LD" >&6; }
47683 { echo "$as_me:$LINENO: result: no" >&5
47684 echo "${ECHO_T}no" >&6; }
47688 SHARED_LD_CC
="$AIX_CC_LD -p 0 -o"
47689 SHARED_LD_CXX
="$AIX_CXX_LD -p 0 -o"
47694 SHARED_LD_CC
="${LD} -nostart -o"
47695 SHARED_LD_CXX
="${LD} -nostart -o"
47699 if test "x$GCC" != "xyes"; then
47704 *-*-cygwin* | *-*-mingw32* )
47706 SHARED_LD_CC
="\$(CC) -shared -o"
47707 SHARED_LD_CXX
="\$(CXX) -shared -o"
47711 *-pc-os2_emx | *-pc-os2-emx )
47712 SHARED_LD_CC
="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
47713 SHARED_LD_CXX
="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
47717 cat <<EOF >dllar.sh
47720 # dllar - a tool to build both a .dll and an .a file
47721 # from a set of object (.o) files for EMX/OS2.
47723 # Written by Andrew Zabolotny, bit@freya.etu.ru
47724 # Ported to Unix like shell by Stefan Neis, Stefan.Neis@t-online.de
47726 # This script will accept a set of files on the command line.
47727 # All the public symbols from the .o files will be exported into
47728 # a .DEF file, then linker will be run (through gcc) against them to
47729 # build a shared library consisting of all given .o files. All libraries
47730 # (.a) will be first decompressed into component .o files then act as
47731 # described above. You can optionally give a description (-d "description")
47732 # which will be put into .DLL. To see the list of accepted options (as well
47733 # as command-line format) simply run this program without options. The .DLL
47734 # is built to be imported by name (there is no guarantee that new versions
47735 # of the library you build will have same ordinals for same symbols).
47737 # dllar is free software; you can redistribute it and/or modify
47738 # it under the terms of the GNU General Public License as published by
47739 # the Free Software Foundation; either version 2, or (at your option)
47740 # any later version.
47742 # dllar is distributed in the hope that it will be useful,
47743 # but WITHOUT ANY WARRANTY; without even the implied warranty of
47744 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
47745 # GNU General Public License for more details.
47747 # You should have received a copy of the GNU General Public License
47748 # along with dllar; see the file COPYING. If not, write to the Free
47749 # Software Foundation, 59 Temple Place - Suite 330, Boston, MA
47752 # To successfuly run this program you will need:
47753 # - Current drive should have LFN support (HPFS, ext2, network, etc)
47754 # (Sometimes dllar generates filenames which won't fit 8.3 scheme)
47756 # (used to build the .dll)
47758 # (used to create .def file from .o files)
47760 # (used to create .a file from .def file)
47761 # - GNU text utilites (cat, sort, uniq)
47762 # used to process emxexp output
47763 # - GNU file utilities (mv, rm)
47765 # - lxlite (optional, see flag below)
47766 # (used for general .dll cleanup)
47773 # basnam, variant of basename, which does _not_ remove the path, _iff_
47774 # second argument (suffix to remove) is given
47778 echo ${D}1 | sed 's/.*\\///' | sed 's/.*\\\\//'
47781 echo ${D}1 | sed 's/'${D}2'${D}//'
47784 echo "error in basnam ${D}*"
47790 # Cleanup temporary files and output
47793 for i in ${D}inputFiles ; do
47796 rm -rf \`basnam ${D}i !\`
47803 # Kill result in case of failure as there is just to many stupid make/nmake
47804 # things out there which doesn't do this.
47805 if [ ${D}# -eq 0 ]; then
47806 rm -f ${D}arcFile ${D}arcFile2 ${D}defFile ${D}dllFile
47810 # Print usage and exit script with rc=1.
47812 echo 'Usage: dllar.sh [-o[utput] output_file] [-i[mport] importlib_name]'
47813 echo ' [-name-mangler-script script.sh]'
47814 echo ' [-d[escription] "dll descrption"] [-cc "CC"] [-f[lags] "CFLAGS"]'
47815 echo ' [-ord[inals]] -ex[clude] "symbol(s)"'
47816 echo ' [-libf[lags] "{INIT|TERM}{GLOBAL|INSTANCE}"] [-nocrt[dll]] [-nolxl[ite]]'
47817 echo ' [*.o] [*.a]'
47818 echo '*> "output_file" should have no extension.'
47819 echo ' If it has the .o, .a or .dll extension, it is automatically removed.'
47820 echo ' The import library name is derived from this and is set to "name".a,'
47821 echo ' unless overridden by -import'
47822 echo '*> "importlib_name" should have no extension.'
47823 echo ' If it has the .o, or .a extension, it is automatically removed.'
47824 echo ' This name is used as the import library name and may be longer and'
47825 echo ' more descriptive than the DLL name which has to follow the old '
47826 echo ' 8.3 convention of FAT.'
47827 echo '*> "script.sh may be given to override the output_file name by a'
47828 echo ' different name. It is mainly useful if the regular make process'
47829 echo ' of some package does not take into account OS/2 restriction of'
47830 echo ' DLL name lengths. It takes the importlib name as input and is'
47831 echo ' supposed to procude a shorter name as output. The script should'
47832 echo ' expect to get importlib_name without extension and should produce'
47833 echo ' a (max.) 8 letter name without extension.'
47834 echo '*> "cc" is used to use another GCC executable. (default: gcc.exe)'
47835 echo '*> "flags" should be any set of valid GCC flags. (default: -s -Zcrtdll)'
47836 echo ' These flags will be put at the start of GCC command line.'
47837 echo '*> -ord[inals] tells dllar to export entries by ordinals. Be careful.'
47838 echo '*> -ex[clude] defines symbols which will not be exported. You can define'
47839 echo ' multiple symbols, for example -ex "myfunc yourfunc _GLOBAL*".'
47840 echo ' If the last character of a symbol is "*", all symbols beginning'
47841 echo ' with the prefix before "*" will be exclude, (see _GLOBAL* above).'
47842 echo '*> -libf[lags] can be used to add INITGLOBAL/INITINSTANCE and/or'
47843 echo ' TERMGLOBAL/TERMINSTANCE flags to the dynamically-linked library.'
47844 echo '*> -nocrt[dll] switch will disable linking the library against emx''s'
47845 echo ' C runtime DLLs.'
47846 echo '*> -nolxl[ite] switch will disable running lxlite on the resulting DLL.'
47847 echo '*> All other switches (for example -L./ or -lmylib) will be passed'
47848 echo ' unchanged to GCC at the end of command line.'
47849 echo '*> If you create a DLL from a library and you do not specify -o,'
47850 echo ' the basename for DLL and import library will be set to library name,'
47851 echo ' the initial library will be renamed to 'name'_s.a (_s for static)'
47852 echo ' i.e. "dllar gcc.a" will create gcc.dll and gcc.a, and the initial'
47853 echo ' library will be renamed into gcc_s.a.'
47856 echo ' dllar -o gcc290.dll libgcc.a -d "GNU C runtime library" -ord'
47857 echo ' -ex "__main __ctordtor*" -libf "INITINSTANCE TERMINSTANCE"'
47862 # Execute a command.
47863 # If exit code of the commnad <> 0 CleanUp() is called and we'll exit the script.
47864 # @Uses Whatever CleanUp() uses.
47870 if [ ${D}rcCmd -ne 0 ]; then
47871 echo "command failed, exit code="${D}rcCmd
47886 CFLAGS="-s -Zcrtdll"
47888 EXPORT_BY_ORDINALS=0
47893 case ${D}curDirS in
47897 curDirS=${D}{curDirS}"/"
47900 # Parse commandline
47903 while [ ${D}1 ]; do
47906 EXPORT_BY_ORDINALS=1;
47916 -name-mangler-script)
47937 exclude_symbols=${D}{exclude_symbols}${D}1" "
47941 library_flags=${D}{library_flags}${D}1" "
47960 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
47963 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS} \`basnam ${D}1 .dll\`"
47964 if [ ${D}omfLinking -eq 1 ]; then
47965 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.lib"
47967 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.a"
47972 if [ ${D}libsToLink -ne 0 ]; then
47973 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
47975 for file in ${D}1 ; do
47976 if [ -f ${D}file ]; then
47977 inputFiles="${D}{inputFiles} ${D}file"
47981 if [ ${D}found -eq 0 ]; then
47982 echo "ERROR: No file(s) found: "${D}1
47989 done # iterate cmdline words
47992 if [ -z "${D}inputFiles" ]; then
47993 echo "dllar: no input files"
47997 # Now extract all .o files from .a files
47999 for file in ${D}inputFiles ; do
48010 EXTRA_CFLAGS="${D}EXTRA_CFLAGS -Zomf"
48015 dirname=\`basnam ${D}file ${D}suffix\`"_%"
48017 if [ ${D}? -ne 0 ]; then
48018 echo "Failed to create subdirectory ./${D}dirname"
48022 # Append '!' to indicate archive
48023 newInputFiles="${D}newInputFiles ${D}{dirname}!"
48024 doCommand "cd ${D}dirname; ${D}AR x ../${D}file"
48027 for subfile in ${D}dirname/*.o* ; do
48028 if [ -f ${D}subfile ]; then
48030 if [ -s ${D}subfile ]; then
48031 # FIXME: This should be: is file size > 32 byte, _not_ > 0!
48032 newInputFiles="${D}newInputFiles ${D}subfile"
48036 if [ ${D}found -eq 0 ]; then
48037 echo "WARNING: there are no files in archive \\'${D}file\\'"
48041 newInputFiles="${D}{newInputFiles} ${D}file"
48045 inputFiles="${D}newInputFiles"
48047 # Output filename(s).
48049 if [ -z ${D}outFile ]; then
48051 set outFile ${D}inputFiles; outFile=${D}2
48054 # If it is an archive, remove the '!' and the '_%' suffixes
48055 case ${D}outFile in
48057 outFile=\`basnam ${D}outFile _%!\`
48062 case ${D}outFile in
48064 outFile=\`basnam ${D}outFile .dll\`
48067 outFile=\`basnam ${D}outFile .DLL\`
48070 outFile=\`basnam ${D}outFile .o\`
48073 outFile=\`basnam ${D}outFile .obj\`
48076 outFile=\`basnam ${D}outFile .a\`
48079 outFile=\`basnam ${D}outFile .lib\`
48084 case ${D}outimpFile in
48086 outimpFile=\`basnam ${D}outimpFile .a\`
48089 outimpFile=\`basnam ${D}outimpFile .lib\`
48094 if [ -z ${D}outimpFile ]; then
48095 outimpFile=${D}outFile
48097 defFile="${D}{outFile}.def"
48098 arcFile="${D}{outimpFile}.a"
48099 arcFile2="${D}{outimpFile}.lib"
48101 #create ${D}dllFile as something matching 8.3 restrictions,
48102 if [ -z ${D}renameScript ] ; then
48103 dllFile="${D}outFile"
48105 dllFile=\`${D}renameScript ${D}outimpFile\`
48108 if [ ${D}do_backup -ne 0 ] ; then
48109 if [ -f ${D}arcFile ] ; then
48110 doCommand "mv ${D}arcFile ${D}{outFile}_s.a"
48112 if [ -f ${D}arcFile2 ] ; then
48113 doCommand "mv ${D}arcFile2 ${D}{outFile}_s.lib"
48117 # Extract public symbols from all the object files.
48118 tmpdefFile=${D}{defFile}_%
48119 rm -f ${D}tmpdefFile
48120 for file in ${D}inputFiles ; do
48125 doCommand "emxexp -u ${D}file >> ${D}tmpdefFile"
48130 # Create the def file.
48132 echo "LIBRARY \`basnam ${D}dllFile\` ${D}library_flags" >> ${D}defFile
48133 dllFile="${D}{dllFile}.dll"
48134 if [ ! -z ${D}description ]; then
48135 echo "DESCRIPTION \\"${D}{description}\\"" >> ${D}defFile
48137 echo "EXPORTS" >> ${D}defFile
48139 doCommand "cat ${D}tmpdefFile | sort.exe | uniq.exe > ${D}{tmpdefFile}%"
48140 grep -v "^ *;" < ${D}{tmpdefFile}% | grep -v "^ *${D}" >${D}tmpdefFile
48142 # Checks if the export is ok or not.
48143 for word in ${D}exclude_symbols; do
48144 grep -v ${D}word < ${D}tmpdefFile >${D}{tmpdefFile}%
48145 mv ${D}{tmpdefFile}% ${D}tmpdefFile
48149 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
48150 sed "=" < ${D}tmpdefFile | \\
48154 s/^\\([0-9]\\+\\)\\([^;]*\\)\\(;.*\\)\\?/\\2 @\\1 NONAME/
48156 ' > ${D}{tmpdefFile}%
48157 grep -v "^ *${D}" < ${D}{tmpdefFile}% > ${D}tmpdefFile
48159 rm -f ${D}{tmpdefFile}%
48161 cat ${D}tmpdefFile >> ${D}defFile
48162 rm -f ${D}tmpdefFile
48164 # Do linking, create implib, and apply lxlite.
48166 for file in ${D}inputFiles ; do
48171 gccCmdl="${D}gccCmdl ${D}file"
48175 doCommand "${D}CC ${D}CFLAGS -Zdll -o ${D}dllFile ${D}defFile ${D}gccCmdl ${D}EXTRA_CFLAGS"
48176 touch "${D}{outFile}.dll"
48178 doCommand "emximp -o ${D}arcFile ${D}defFile"
48179 if [ ${D}flag_USE_LXLITE -ne 0 ]; then
48181 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
48184 doCommand "lxlite -cs -t: -mrn -mln ${D}add_flags ${D}dllFile"
48186 doCommand "emxomf -s -l ${D}arcFile"
48196 powerpc
-apple-macos* | \
48197 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | *-*-k*bsd
*-gnu | \
48207 { { echo "$as_me:$LINENO: error: unknown system type $BAKEFILE_HOST." >&5
48208 echo "$as_me: error: unknown system type $BAKEFILE_HOST." >&2;}
48209 { (exit 1); exit 1; }; }
48212 if test "x$PIC_FLAG" != "x" ; then
48213 PIC_FLAG
="$PIC_FLAG -DPIC"
48216 if test "x$SHARED_LD_MODULE_CC" = "x" ; then
48217 SHARED_LD_MODULE_CC
="$SHARED_LD_CC"
48219 if test "x$SHARED_LD_MODULE_CXX" = "x" ; then
48220 SHARED_LD_MODULE_CXX
="$SHARED_LD_CXX"
48239 case "${BAKEFILE_HOST}" in
48240 *-*-linux* | *-*-freebsd* | *-*-k*bsd
*-gnu )
48241 if test "x$SUNCXX" = "xyes"; then
48244 SONAME_FLAG
="-Wl,-soname,"
48279 # Check whether --enable-dependency-tracking was given.
48280 if test "${enable_dependency_tracking+set}" = set; then
48281 enableval
=$enable_dependency_tracking; bk_use_trackdeps
="$enableval"
48285 { echo "$as_me:$LINENO: checking for dependency tracking method" >&5
48286 echo $ECHO_N "checking for dependency tracking method... $ECHO_C" >&6; }
48289 if test "x$bk_use_trackdeps" = "xno" ; then
48291 { echo "$as_me:$LINENO: result: disabled" >&5
48292 echo "${ECHO_T}disabled" >&6; }
48296 if test "x$GCC" = "xyes"; then
48298 case "${BAKEFILE_HOST}" in
48300 DEPSFLAG
="-no-cpp-precomp -MMD"
48306 { echo "$as_me:$LINENO: result: gcc" >&5
48307 echo "${ECHO_T}gcc" >&6; }
48308 elif test "x$MWCC" = "xyes"; then
48311 { echo "$as_me:$LINENO: result: mwcc" >&5
48312 echo "${ECHO_T}mwcc" >&6; }
48313 elif test "x$SUNCC" = "xyes"; then
48316 { echo "$as_me:$LINENO: result: Sun cc" >&5
48317 echo "${ECHO_T}Sun cc" >&6; }
48318 elif test "x$SGICC" = "xyes"; then
48321 { echo "$as_me:$LINENO: result: SGI cc" >&5
48322 echo "${ECHO_T}SGI cc" >&6; }
48323 elif test "x$HPCC" = "xyes"; then
48326 { echo "$as_me:$LINENO: result: HP cc" >&5
48327 echo "${ECHO_T}HP cc" >&6; }
48328 elif test "x$COMPAQCC" = "xyes"; then
48331 { echo "$as_me:$LINENO: result: Compaq cc" >&5
48332 echo "${ECHO_T}Compaq cc" >&6; }
48335 { echo "$as_me:$LINENO: result: none" >&5
48336 echo "${ECHO_T}none" >&6; }
48339 if test $DEPS_TRACKING = 1 ; then
48345 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
48346 # script. It is used to track C/C++ files dependencies in portable way.
48348 # Permission is given to use this file in any way.
48350 DEPSMODE=${DEPSMODE}
48352 DEPSFLAG="${DEPSFLAG}"
48354 mkdir -p ${D}DEPSDIR
48356 if test ${D}DEPSMODE = gcc ; then
48357 ${D}* ${D}{DEPSFLAG}
48359 if test ${D}{status} != 0 ; then
48362 # move created file to the location we want it in:
48363 while test ${D}# -gt 0; do
48377 depfile=\`basename ${D}srcfile | sed -e 's/\\..*${D}/.d/g'\`
48378 depobjname=\`echo ${D}depfile |sed -e 's/\\.d/.o/g'\`
48379 if test -f ${D}depfile ; then
48380 sed -e "s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
48383 # "g++ -MMD -o fooobj.o foosrc.cpp" produces fooobj.d
48384 depfile=\`basename ${D}objfile | sed -e 's/\\..*${D}/.d/g'\`
48385 if test ! -f ${D}depfile ; then
48386 # "cxx -MD -o fooobj.o foosrc.cpp" creates fooobj.o.d (Compaq C++)
48387 depfile="${D}objfile.d"
48389 if test -f ${D}depfile ; then
48390 sed -e "/^${D}objfile/!s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
48395 elif test ${D}DEPSMODE = mwcc ; then
48396 ${D}* || exit ${D}?
48397 # Run mwcc again with -MM and redirect into the dep file we want
48398 # NOTE: We can't use shift here because we need ${D}* to be valid
48400 for arg in ${D}* ; do
48401 if test "${D}prevarg" = "-o"; then
48414 ${D}* ${D}DEPSFLAG >${D}{DEPSDIR}/${D}{objfile}.d
48416 elif test ${D}DEPSMODE = unixcc; then
48417 ${D}* || exit ${D}?
48418 # Run compiler again with deps flag and redirect into the dep file.
48419 # It doesn't work if the '-o FILE' option is used, but without it the
48420 # dependency file will contain the wrong name for the object. So it is
48421 # removed from the command line, and the dep file is fixed with sed.
48423 while test ${D}# -gt 0; do
48430 eval arg${D}#=\\${D}1
48431 cmd="${D}cmd \\${D}arg${D}#"
48436 eval "${D}cmd ${D}DEPSFLAG" | sed "s|.*:|${D}objfile:|" >${D}{DEPSDIR}/${D}{objfile}.d
48445 BK_DEPS
="`pwd`/bk-deps"
48453 case ${BAKEFILE_HOST} in
48454 *-*-cygwin* | *-*-mingw32* )
48455 if test -n "$ac_tool_prefix"; then
48456 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
48457 set dummy
${ac_tool_prefix}windres
; ac_word
=$2
48458 { echo "$as_me:$LINENO: checking for $ac_word" >&5
48459 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
48460 if test "${ac_cv_prog_WINDRES+set}" = set; then
48461 echo $ECHO_N "(cached) $ECHO_C" >&6
48463 if test -n "$WINDRES"; then
48464 ac_cv_prog_WINDRES
="$WINDRES" # Let the user override the test.
48466 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
48467 for as_dir
in $PATH
48470 test -z "$as_dir" && as_dir
=.
48471 for ac_exec_ext
in '' $ac_executable_extensions; do
48472 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
48473 ac_cv_prog_WINDRES
="${ac_tool_prefix}windres"
48474 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48483 WINDRES
=$ac_cv_prog_WINDRES
48484 if test -n "$WINDRES"; then
48485 { echo "$as_me:$LINENO: result: $WINDRES" >&5
48486 echo "${ECHO_T}$WINDRES" >&6; }
48488 { echo "$as_me:$LINENO: result: no" >&5
48489 echo "${ECHO_T}no" >&6; }
48494 if test -z "$ac_cv_prog_WINDRES"; then
48495 ac_ct_WINDRES
=$WINDRES
48496 # Extract the first word of "windres", so it can be a program name with args.
48497 set dummy windres
; ac_word
=$2
48498 { echo "$as_me:$LINENO: checking for $ac_word" >&5
48499 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
48500 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
48501 echo $ECHO_N "(cached) $ECHO_C" >&6
48503 if test -n "$ac_ct_WINDRES"; then
48504 ac_cv_prog_ac_ct_WINDRES
="$ac_ct_WINDRES" # Let the user override the test.
48506 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
48507 for as_dir
in $PATH
48510 test -z "$as_dir" && as_dir
=.
48511 for ac_exec_ext
in '' $ac_executable_extensions; do
48512 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
48513 ac_cv_prog_ac_ct_WINDRES
="windres"
48514 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48523 ac_ct_WINDRES
=$ac_cv_prog_ac_ct_WINDRES
48524 if test -n "$ac_ct_WINDRES"; then
48525 { echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
48526 echo "${ECHO_T}$ac_ct_WINDRES" >&6; }
48528 { echo "$as_me:$LINENO: result: no" >&5
48529 echo "${ECHO_T}no" >&6; }
48532 if test "x$ac_ct_WINDRES" = x
; then
48535 case $cross_compiling:$ac_tool_warned in
48537 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
48538 whose name does not start with the host triplet. If you think this
48539 configuration is useful to you, please write to autoconf@gnu.org." >&5
48540 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
48541 whose name does not start with the host triplet. If you think this
48542 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
48543 ac_tool_warned
=yes ;;
48545 WINDRES
=$ac_ct_WINDRES
48548 WINDRES
="$ac_cv_prog_WINDRES"
48553 *-*-darwin* | powerpc
-apple-macos* )
48554 # Extract the first word of "Rez", so it can be a program name with args.
48555 set dummy Rez
; ac_word
=$2
48556 { echo "$as_me:$LINENO: checking for $ac_word" >&5
48557 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
48558 if test "${ac_cv_prog_REZ+set}" = set; then
48559 echo $ECHO_N "(cached) $ECHO_C" >&6
48561 if test -n "$REZ"; then
48562 ac_cv_prog_REZ
="$REZ" # Let the user override the test.
48564 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
48565 for as_dir
in $PATH
48568 test -z "$as_dir" && as_dir
=.
48569 for ac_exec_ext
in '' $ac_executable_extensions; do
48570 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
48571 ac_cv_prog_REZ
="Rez"
48572 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48579 test -z "$ac_cv_prog_REZ" && ac_cv_prog_REZ
="/Developer/Tools/Rez"
48582 REZ
=$ac_cv_prog_REZ
48583 if test -n "$REZ"; then
48584 { echo "$as_me:$LINENO: result: $REZ" >&5
48585 echo "${ECHO_T}$REZ" >&6; }
48587 { echo "$as_me:$LINENO: result: no" >&5
48588 echo "${ECHO_T}no" >&6; }
48592 # Extract the first word of "SetFile", so it can be a program name with args.
48593 set dummy SetFile
; ac_word
=$2
48594 { echo "$as_me:$LINENO: checking for $ac_word" >&5
48595 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
48596 if test "${ac_cv_prog_SETFILE+set}" = set; then
48597 echo $ECHO_N "(cached) $ECHO_C" >&6
48599 if test -n "$SETFILE"; then
48600 ac_cv_prog_SETFILE
="$SETFILE" # Let the user override the test.
48602 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
48603 for as_dir
in $PATH
48606 test -z "$as_dir" && as_dir
=.
48607 for ac_exec_ext
in '' $ac_executable_extensions; do
48608 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
48609 ac_cv_prog_SETFILE
="SetFile"
48610 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48617 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE
="/Developer/Tools/SetFile"
48620 SETFILE
=$ac_cv_prog_SETFILE
48621 if test -n "$SETFILE"; then
48622 { echo "$as_me:$LINENO: result: $SETFILE" >&5
48623 echo "${ECHO_T}$SETFILE" >&6; }
48625 { echo "$as_me:$LINENO: result: no" >&5
48626 echo "${ECHO_T}no" >&6; }
48638 BAKEFILE_BAKEFILE_M4_VERSION
="0.2.2"
48641 BAKEFILE_AUTOCONF_INC_M4_VERSION
="0.2.2"
48645 # Check whether --enable-precomp-headers was given.
48646 if test "${enable_precomp_headers+set}" = set; then
48647 enableval
=$enable_precomp_headers; bk_use_pch
="$enableval"
48656 case ${BAKEFILE_HOST} in
48662 if test "x$bk_use_pch" = "x" -o "x$bk_use_pch" = "xyes" ; then
48663 if test "x$GCC" = "xyes"; then
48664 { echo "$as_me:$LINENO: checking if the compiler supports precompiled headers" >&5
48665 echo $ECHO_N "checking if the compiler supports precompiled headers... $ECHO_C" >&6; }
48666 cat >conftest.
$ac_ext <<_ACEOF
48669 cat confdefs.h
>>conftest.
$ac_ext
48670 cat >>conftest.
$ac_ext <<_ACEOF
48671 /* end confdefs.h. */
48677 #if !defined(__GNUC__) || !defined(__GNUC_MINOR__)
48678 There is no PCH support
48681 There is no PCH support
48683 #if (__GNUC__ == 3) && \
48684 ((!defined(__APPLE_CC__) && (__GNUC_MINOR__ < 4)) || \
48685 ( defined(__APPLE_CC__) && (__GNUC_MINOR__ < 3))) || \
48686 ( defined(__INTEL_COMPILER) )
48687 There is no PCH support
48694 rm -f conftest.
$ac_objext
48695 if { (ac_try
="$ac_compile"
48696 case "(($ac_try" in
48697 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
48698 *) ac_try_echo=$ac_try;;
48700 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48701 (eval "$ac_compile") 2>conftest.er1
48703 grep -v '^ *+' conftest.er1 >conftest.err
48705 cat conftest.err >&5
48706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48707 (exit $ac_status); } && {
48708 test -z "$ac_c_werror_flag" ||
48709 test ! -s conftest.err
48710 } && test -s conftest.$ac_objext; then
48712 { echo "$as_me:$LINENO: result: yes" >&5
48713 echo "${ECHO_T}yes" >&6; }
48717 echo "$as_me: failed program was:" >&5
48718 sed 's/^/| /' conftest.$ac_ext >&5
48721 cat >conftest.$ac_ext <<_ACEOF
48724 cat confdefs.h >>conftest.$ac_ext
48725 cat >>conftest.$ac_ext <<_ACEOF
48726 /* end confdefs.h. */
48732 #if !defined(__INTEL_COMPILER) || \
48733 (__INTEL_COMPILER < 800)
48734 There is no PCH support
48741 rm -f conftest.$ac_objext
48742 if { (ac_try="$ac_compile"
48743 case "(($ac_try" in
48744 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
48745 *) ac_try_echo
=$ac_try;;
48747 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48748 (eval "$ac_compile") 2>conftest.er1
48750 grep -v '^ *+' conftest.er1
>conftest.err
48752 cat conftest.err
>&5
48753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48754 (exit $ac_status); } && {
48755 test -z "$ac_c_werror_flag" ||
48756 test ! -s conftest.err
48757 } && test -s conftest.
$ac_objext; then
48759 { echo "$as_me:$LINENO: result: yes" >&5
48760 echo "${ECHO_T}yes" >&6; }
48764 echo "$as_me: failed program was:" >&5
48765 sed 's/^/| /' conftest.
$ac_ext >&5
48768 { echo "$as_me:$LINENO: result: no" >&5
48769 echo "${ECHO_T}no" >&6; }
48773 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
48777 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
48778 if test $GCC_PCH = 1 -o $ICC_PCH = 1 ; then
48782 cat <<EOF >bk-make-pch
48785 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
48786 # script. It is used to generated precompiled headers.
48788 # Permission is given to use this file in any way.
48798 while test ${D}{#} -gt 0; do
48802 incdir=\`echo ${D}{1} | sed -e 's/-I\\(.*\\)/\\1/g'\`
48803 if test "x${D}{headerfile}" = "x" -a -f "${D}{incdir}/${D}{header}" ; then
48804 headerfile="${D}{incdir}/${D}{header}"
48807 -use-pch|-use_pch )
48812 if test ${D}add_to_cmdline = 1 ; then
48813 compiler="${D}{compiler} ${D}{1}"
48818 if test "x${D}{headerfile}" = "x" ; then
48819 echo "error: can't find header ${D}{header} in include paths" >&2
48821 if test -f ${D}{outfile} ; then
48822 rm -f ${D}{outfile}
48824 mkdir -p \`dirname ${D}{outfile}\`
48826 depsfile=".deps/\`echo ${D}{outfile} | tr '/.' '__'\`.d"
48828 if test "x${GCC_PCH}" = "x1" ; then
48829 # can do this because gcc is >= 3.4:
48830 ${D}{compiler} -o ${D}{outfile} -MMD -MF "${D}{depsfile}" "${D}{headerfile}"
48831 elif test "x${ICC_PCH}" = "x1" ; then
48832 filename=pch_gen-${D}${D}
48833 file=${D}{filename}.c
48834 dfile=${D}{filename}.d
48835 cat > ${D}file <<EOT
48836 #include "${D}header"
48838 # using -MF icc complains about differing command lines in creation/use
48839 ${D}compiler -c -create_pch ${D}outfile -MMD ${D}file && \\
48840 sed -e "s,^.*:,${D}outfile:," -e "s, ${D}file,," < ${D}dfile > ${D}depsfile && \\
48841 rm -f ${D}file ${D}dfile ${D}{filename}.o
48847 chmod +x bk
-make-pch
48848 BK_MAKE_PCH
="`pwd`/bk-make-pch"
48857 COND_BUILD_DEBUG
="#"
48858 if test "x$BUILD" = "xdebug" ; then
48859 COND_BUILD_DEBUG
=""
48862 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT
="#"
48863 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
48864 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT
=""
48867 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT
="#"
48868 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
48869 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT
=""
48872 COND_BUILD_DEBUG_UNICODE_0
="#"
48873 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
48874 COND_BUILD_DEBUG_UNICODE_0
=""
48877 COND_BUILD_DEBUG_UNICODE_1
="#"
48878 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
48879 COND_BUILD_DEBUG_UNICODE_1
=""
48882 COND_BUILD_RELEASE
="#"
48883 if test "x$BUILD" = "xrelease" ; then
48884 COND_BUILD_RELEASE
=""
48887 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT
="#"
48888 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
48889 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT
=""
48892 COND_BUILD_RELEASE_UNICODE_0
="#"
48893 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
48894 COND_BUILD_RELEASE_UNICODE_0
=""
48897 COND_BUILD_RELEASE_UNICODE_1
="#"
48898 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
48899 COND_BUILD_RELEASE_UNICODE_1
=""
48902 COND_DEBUG_FLAG_1
="#"
48903 if test "x$DEBUG_FLAG" = "x1" ; then
48904 COND_DEBUG_FLAG_1
=""
48907 COND_DEBUG_INFO_0
="#"
48908 if test "x$DEBUG_INFO" = "x0" ; then
48909 COND_DEBUG_INFO_0
=""
48912 COND_DEBUG_INFO_1
="#"
48913 if test "x$DEBUG_INFO" = "x1" ; then
48914 COND_DEBUG_INFO_1
=""
48917 COND_DEPS_TRACKING_0
="#"
48918 if test "x$DEPS_TRACKING" = "x0" ; then
48919 COND_DEPS_TRACKING_0
=""
48922 COND_DEPS_TRACKING_1
="#"
48923 if test "x$DEPS_TRACKING" = "x1" ; then
48924 COND_DEPS_TRACKING_1
=""
48928 if test "x$GCC_PCH" = "x1" ; then
48933 if test "x$ICC_PCH" = "x1" ; then
48937 COND_MONOLITHIC_0
="#"
48938 if test "x$MONOLITHIC" = "x0" ; then
48939 COND_MONOLITHIC_0
=""
48942 COND_MONOLITHIC_0_SHARED_0
="#"
48943 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" ; then
48944 COND_MONOLITHIC_0_SHARED_0
=""
48947 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1
="#"
48948 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_AUI" = "x1" ; then
48949 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1
=""
48952 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
="#"
48953 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" ; then
48954 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
=""
48957 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1
="#"
48958 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
48959 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1
=""
48962 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1
="#"
48963 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
48964 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1
=""
48967 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1
="#"
48968 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
48969 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1
=""
48972 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1
="#"
48973 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
48974 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1
=""
48977 COND_MONOLITHIC_0_SHARED_0_USE_STC_1
="#"
48978 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_STC" = "x1" ; then
48979 COND_MONOLITHIC_0_SHARED_0_USE_STC_1
=""
48982 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1
="#"
48983 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
48984 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1
=""
48987 COND_MONOLITHIC_0_SHARED_1
="#"
48988 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" ; then
48989 COND_MONOLITHIC_0_SHARED_1
=""
48992 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1
="#"
48993 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_AUI" = "x1" ; then
48994 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1
=""
48997 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
="#"
48998 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" ; then
48999 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
=""
49002 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1
="#"
49003 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
49004 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1
=""
49007 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1
="#"
49008 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
49009 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1
=""
49012 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1
="#"
49013 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
49014 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1
=""
49017 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1
="#"
49018 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_RICHTEXT" = "x1" ; then
49019 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1
=""
49022 COND_MONOLITHIC_0_SHARED_1_USE_STC_1
="#"
49023 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_STC" = "x1" ; then
49024 COND_MONOLITHIC_0_SHARED_1_USE_STC_1
=""
49027 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1
="#"
49028 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
49029 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1
=""
49032 COND_MONOLITHIC_0_USE_AUI_1
="#"
49033 if test "x$MONOLITHIC" = "x0" -a "x$USE_AUI" = "x1" ; then
49034 COND_MONOLITHIC_0_USE_AUI_1
=""
49037 COND_MONOLITHIC_0_USE_GUI_1
="#"
49038 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" ; then
49039 COND_MONOLITHIC_0_USE_GUI_1
=""
49042 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1
="#"
49043 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
49044 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1
=""
49047 COND_MONOLITHIC_0_USE_HTML_1
="#"
49048 if test "x$MONOLITHIC" = "x0" -a "x$USE_HTML" = "x1" ; then
49049 COND_MONOLITHIC_0_USE_HTML_1
=""
49052 COND_MONOLITHIC_0_USE_MEDIA_1
="#"
49053 if test "x$MONOLITHIC" = "x0" -a "x$USE_MEDIA" = "x1" ; then
49054 COND_MONOLITHIC_0_USE_MEDIA_1
=""
49057 COND_MONOLITHIC_0_USE_QA_1
="#"
49058 if test "x$MONOLITHIC" = "x0" -a "x$USE_QA" = "x1" ; then
49059 COND_MONOLITHIC_0_USE_QA_1
=""
49062 COND_MONOLITHIC_0_USE_RICHTEXT_1
="#"
49063 if test "x$MONOLITHIC" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
49064 COND_MONOLITHIC_0_USE_RICHTEXT_1
=""
49067 COND_MONOLITHIC_0_USE_STC_1
="#"
49068 if test "x$MONOLITHIC" = "x0" -a "x$USE_STC" = "x1" ; then
49069 COND_MONOLITHIC_0_USE_STC_1
=""
49072 COND_MONOLITHIC_0_USE_XRC_1
="#"
49073 if test "x$MONOLITHIC" = "x0" -a "x$USE_XRC" = "x1" ; then
49074 COND_MONOLITHIC_0_USE_XRC_1
=""
49077 COND_MONOLITHIC_1
="#"
49078 if test "x$MONOLITHIC" = "x1" ; then
49079 COND_MONOLITHIC_1
=""
49082 COND_MONOLITHIC_1_SHARED_0
="#"
49083 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x0" ; then
49084 COND_MONOLITHIC_1_SHARED_0
=""
49087 COND_MONOLITHIC_1_SHARED_1
="#"
49088 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x1" ; then
49089 COND_MONOLITHIC_1_SHARED_1
=""
49092 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
="#"
49093 if test "x$OFFICIAL_BUILD" = "x0" -a "x$PLATFORM_WIN32" = "x1" ; then
49094 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
=""
49097 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
="#"
49098 if test "x$OFFICIAL_BUILD" = "x1" -a "x$PLATFORM_WIN32" = "x1" ; then
49099 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
=""
49102 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1
="#"
49103 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERCYGWIN" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
49104 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1
=""
49107 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
="#"
49108 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
49109 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
=""
49112 COND_PLATFORM_MACOSX_1
="#"
49113 if test "x$PLATFORM_MACOSX" = "x1" ; then
49114 COND_PLATFORM_MACOSX_1
=""
49117 COND_PLATFORM_MACOSX_1_TOOLKIT_
="#"
49118 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "x" ; then
49119 COND_PLATFORM_MACOSX_1_TOOLKIT_
=""
49122 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA
="#"
49123 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xCOCOA" ; then
49124 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA
=""
49127 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK
="#"
49128 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xGTK" ; then
49129 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK
=""
49132 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC
="#"
49133 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" ; then
49134 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC
=""
49137 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1
="#"
49138 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
49139 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1
=""
49142 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF
="#"
49143 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMOTIF" ; then
49144 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF
=""
49147 COND_PLATFORM_MACOSX_1_TOOLKIT_X11
="#"
49148 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xX11" ; then
49149 COND_PLATFORM_MACOSX_1_TOOLKIT_X11
=""
49152 COND_PLATFORM_MACOSX_1_USE_GUI_1
="#"
49153 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_GUI" = "x1" ; then
49154 COND_PLATFORM_MACOSX_1_USE_GUI_1
=""
49157 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
="#"
49158 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
49159 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
=""
49162 COND_PLATFORM_MACOS_1
="#"
49163 if test "x$PLATFORM_MACOS" = "x1" ; then
49164 COND_PLATFORM_MACOS_1
=""
49167 COND_PLATFORM_MAC_1
="#"
49168 if test "x$PLATFORM_MAC" = "x1" ; then
49169 COND_PLATFORM_MAC_1
=""
49172 COND_PLATFORM_MSDOS_0
="#"
49173 if test "x$PLATFORM_MSDOS" = "x0" ; then
49174 COND_PLATFORM_MSDOS_0
=""
49177 COND_PLATFORM_MSDOS_1
="#"
49178 if test "x$PLATFORM_MSDOS" = "x1" ; then
49179 COND_PLATFORM_MSDOS_1
=""
49182 COND_PLATFORM_OS2_1
="#"
49183 if test "x$PLATFORM_OS2" = "x1" ; then
49184 COND_PLATFORM_OS2_1
=""
49187 COND_PLATFORM_UNIX_0
="#"
49188 if test "x$PLATFORM_UNIX" = "x0" ; then
49189 COND_PLATFORM_UNIX_0
=""
49192 COND_PLATFORM_UNIX_1
="#"
49193 if test "x$PLATFORM_UNIX" = "x1" ; then
49194 COND_PLATFORM_UNIX_1
=""
49197 COND_PLATFORM_UNIX_1_TOOLKIT_MGL
="#"
49198 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xMGL" ; then
49199 COND_PLATFORM_UNIX_1_TOOLKIT_MGL
=""
49202 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1
="#"
49203 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
49204 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1
=""
49207 COND_PLATFORM_UNIX_1_USE_GUI_1
="#"
49208 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_GUI" = "x1" ; then
49209 COND_PLATFORM_UNIX_1_USE_GUI_1
=""
49212 COND_PLATFORM_UNIX_1_USE_PLUGINS_0
="#"
49213 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_PLUGINS" = "x0" ; then
49214 COND_PLATFORM_UNIX_1_USE_PLUGINS_0
=""
49217 COND_PLATFORM_WIN32_0
="#"
49218 if test "x$PLATFORM_WIN32" = "x0" ; then
49219 COND_PLATFORM_WIN32_0
=""
49222 COND_PLATFORM_WIN32_1
="#"
49223 if test "x$PLATFORM_WIN32" = "x1" ; then
49224 COND_PLATFORM_WIN32_1
=""
49228 if test "x$SHARED" = "x0" ; then
49232 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0
="#"
49233 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMAC" -a "x$WXUNIV" = "x0" ; then
49234 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0
=""
49237 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0
="#"
49238 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
49239 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0
=""
49242 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0
="#"
49243 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xPM" -a "x$WXUNIV" = "x0" ; then
49244 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0
=""
49247 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
="#"
49248 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
49249 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
=""
49252 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
="#"
49253 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
49254 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
=""
49257 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
="#"
49258 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
49259 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
=""
49262 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
="#"
49263 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
49264 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
=""
49267 COND_SHARED_0_USE_STC_1
="#"
49268 if test "x$SHARED" = "x0" -a "x$USE_STC" = "x1" ; then
49269 COND_SHARED_0_USE_STC_1
=""
49272 COND_SHARED_0_WXUSE_EXPAT_BUILTIN
="#"
49273 if test "x$SHARED" = "x0" -a "x$wxUSE_EXPAT" = "xbuiltin" ; then
49274 COND_SHARED_0_WXUSE_EXPAT_BUILTIN
=""
49277 COND_SHARED_0_WXUSE_REGEX_BUILTIN
="#"
49278 if test "x$SHARED" = "x0" -a "x$wxUSE_REGEX" = "xbuiltin" ; then
49279 COND_SHARED_0_WXUSE_REGEX_BUILTIN
=""
49282 COND_SHARED_0_WXUSE_ZLIB_BUILTIN
="#"
49283 if test "x$SHARED" = "x0" -a "x$wxUSE_ZLIB" = "xbuiltin" ; then
49284 COND_SHARED_0_WXUSE_ZLIB_BUILTIN
=""
49288 if test "x$SHARED" = "x1" ; then
49292 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
="#"
49293 if test "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
49294 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
=""
49298 if test "x$TOOLKIT" = "x" ; then
49302 COND_TOOLKIT_COCOA
="#"
49303 if test "x$TOOLKIT" = "xCOCOA" ; then
49304 COND_TOOLKIT_COCOA
=""
49307 COND_TOOLKIT_COCOA_USE_GUI_1
="#"
49308 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" ; then
49309 COND_TOOLKIT_COCOA_USE_GUI_1
=""
49312 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
="#"
49313 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49314 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
=""
49317 COND_TOOLKIT_DFB
="#"
49318 if test "x$TOOLKIT" = "xDFB" ; then
49319 COND_TOOLKIT_DFB
=""
49322 COND_TOOLKIT_DFB_USE_GUI_1
="#"
49323 if test "x$TOOLKIT" = "xDFB" -a "x$USE_GUI" = "x1" ; then
49324 COND_TOOLKIT_DFB_USE_GUI_1
=""
49327 COND_TOOLKIT_GTK
="#"
49328 if test "x$TOOLKIT" = "xGTK" ; then
49329 COND_TOOLKIT_GTK
=""
49332 COND_TOOLKIT_GTK_TOOLKIT_VERSION_
="#"
49333 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" ; then
49334 COND_TOOLKIT_GTK_TOOLKIT_VERSION_
=""
49337 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2
="#"
49338 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" ; then
49339 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2
=""
49342 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1
="#"
49343 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" ; then
49344 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1
=""
49347 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0
="#"
49348 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49349 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0
=""
49352 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_WXUNIV_0
="#"
49353 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$WXUNIV" = "x0" ; then
49354 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_WXUNIV_0
=""
49357 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1
="#"
49358 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" ; then
49359 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1
=""
49362 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0
="#"
49363 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49364 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0
=""
49367 COND_TOOLKIT_GTK_USE_GUI_1
="#"
49368 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" ; then
49369 COND_TOOLKIT_GTK_USE_GUI_1
=""
49372 COND_TOOLKIT_MAC
="#"
49373 if test "x$TOOLKIT" = "xMAC" ; then
49374 COND_TOOLKIT_MAC
=""
49377 COND_TOOLKIT_MAC_USE_GUI_1
="#"
49378 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
49379 COND_TOOLKIT_MAC_USE_GUI_1
=""
49382 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0
="#"
49383 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49384 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0
=""
49387 COND_TOOLKIT_MGL
="#"
49388 if test "x$TOOLKIT" = "xMGL" ; then
49389 COND_TOOLKIT_MGL
=""
49392 COND_TOOLKIT_MGL_USE_GUI_1
="#"
49393 if test "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
49394 COND_TOOLKIT_MGL_USE_GUI_1
=""
49397 COND_TOOLKIT_MOTIF
="#"
49398 if test "x$TOOLKIT" = "xMOTIF" ; then
49399 COND_TOOLKIT_MOTIF
=""
49402 COND_TOOLKIT_MOTIF_USE_GUI_1
="#"
49403 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" ; then
49404 COND_TOOLKIT_MOTIF_USE_GUI_1
=""
49407 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
="#"
49408 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49409 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
=""
49412 COND_TOOLKIT_MSW
="#"
49413 if test "x$TOOLKIT" = "xMSW" ; then
49414 COND_TOOLKIT_MSW
=""
49417 COND_TOOLKIT_MSW_USE_GUI_1
="#"
49418 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" ; then
49419 COND_TOOLKIT_MSW_USE_GUI_1
=""
49422 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
="#"
49423 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49424 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
=""
49427 COND_TOOLKIT_MSW_WXUNIV_0
="#"
49428 if test "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
49429 COND_TOOLKIT_MSW_WXUNIV_0
=""
49432 COND_TOOLKIT_PM
="#"
49433 if test "x$TOOLKIT" = "xPM" ; then
49437 COND_TOOLKIT_PM_USE_GUI_1
="#"
49438 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" ; then
49439 COND_TOOLKIT_PM_USE_GUI_1
=""
49442 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
="#"
49443 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49444 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
=""
49447 COND_TOOLKIT_WINCE
="#"
49448 if test "x$TOOLKIT" = "xWINCE" ; then
49449 COND_TOOLKIT_WINCE
=""
49452 COND_TOOLKIT_WINCE_USE_GUI_1
="#"
49453 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" ; then
49454 COND_TOOLKIT_WINCE_USE_GUI_1
=""
49457 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0
="#"
49458 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49459 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0
=""
49462 COND_TOOLKIT_WINCE_WXUNIV_0
="#"
49463 if test "x$TOOLKIT" = "xWINCE" -a "x$WXUNIV" = "x0" ; then
49464 COND_TOOLKIT_WINCE_WXUNIV_0
=""
49467 COND_TOOLKIT_X11
="#"
49468 if test "x$TOOLKIT" = "xX11" ; then
49469 COND_TOOLKIT_X11
=""
49472 COND_TOOLKIT_X11_USE_GUI_1
="#"
49473 if test "x$TOOLKIT" = "xX11" -a "x$USE_GUI" = "x1" ; then
49474 COND_TOOLKIT_X11_USE_GUI_1
=""
49478 if test "x$UNICODE" = "x1" ; then
49482 COND_USE_EXCEPTIONS_0
="#"
49483 if test "x$USE_EXCEPTIONS" = "x0" ; then
49484 COND_USE_EXCEPTIONS_0
=""
49487 COND_USE_EXCEPTIONS_1
="#"
49488 if test "x$USE_EXCEPTIONS" = "x1" ; then
49489 COND_USE_EXCEPTIONS_1
=""
49493 if test "x$USE_GUI" = "x0" ; then
49498 if test "x$USE_GUI" = "x1" ; then
49502 COND_USE_GUI_1_USE_OPENGL_1
="#"
49503 if test "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
49504 COND_USE_GUI_1_USE_OPENGL_1
=""
49507 COND_USE_GUI_1_WXUNIV_0
="#"
49508 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49509 COND_USE_GUI_1_WXUNIV_0
=""
49512 COND_USE_GUI_1_WXUNIV_1
="#"
49513 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
49514 COND_USE_GUI_1_WXUNIV_1
=""
49517 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
="#"
49518 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
49519 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
=""
49522 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
="#"
49523 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
49524 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
=""
49527 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
="#"
49528 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
49529 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
=""
49532 COND_USE_OPENGL_1
="#"
49533 if test "x$USE_OPENGL" = "x1" ; then
49534 COND_USE_OPENGL_1
=""
49538 if test "x$USE_PCH" = "x1" ; then
49542 COND_USE_PLUGINS_0
="#"
49543 if test "x$USE_PLUGINS" = "x0" ; then
49544 COND_USE_PLUGINS_0
=""
49547 COND_USE_RTTI_0
="#"
49548 if test "x$USE_RTTI" = "x0" ; then
49552 COND_USE_RTTI_1
="#"
49553 if test "x$USE_RTTI" = "x1" ; then
49557 COND_USE_SOSYMLINKS_1
="#"
49558 if test "x$USE_SOSYMLINKS" = "x1" ; then
49559 COND_USE_SOSYMLINKS_1
=""
49562 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1
="#"
49563 if test "x$USE_SOVERCYGWIN" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
49564 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1
=""
49567 COND_USE_SOVERLINUX_1
="#"
49568 if test "x$USE_SOVERLINUX" = "x1" ; then
49569 COND_USE_SOVERLINUX_1
=""
49572 COND_USE_SOVERSION_0
="#"
49573 if test "x$USE_SOVERSION" = "x0" ; then
49574 COND_USE_SOVERSION_0
=""
49577 COND_USE_SOVERSOLARIS_1
="#"
49578 if test "x$USE_SOVERSOLARIS" = "x1" ; then
49579 COND_USE_SOVERSOLARIS_1
=""
49583 if test "x$USE_STC" = "x1" ; then
49587 COND_USE_THREADS_0
="#"
49588 if test "x$USE_THREADS" = "x0" ; then
49589 COND_USE_THREADS_0
=""
49592 COND_USE_THREADS_1
="#"
49593 if test "x$USE_THREADS" = "x1" ; then
49594 COND_USE_THREADS_1
=""
49598 if test "x$USE_XRC" = "x1" ; then
49602 COND_WINDOWS_IMPLIB_1
="#"
49603 if test "x$WINDOWS_IMPLIB" = "x1" ; then
49604 COND_WINDOWS_IMPLIB_1
=""
49607 COND_WITH_PLUGIN_SDL_1
="#"
49608 if test "x$WITH_PLUGIN_SDL" = "x1" ; then
49609 COND_WITH_PLUGIN_SDL_1
=""
49613 if test "x$WXUNIV" = "x0" ; then
49618 if test "x$WXUNIV" = "x1" ; then
49622 COND_WXUSE_EXPAT_BUILTIN
="#"
49623 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
49624 COND_WXUSE_EXPAT_BUILTIN
=""
49627 COND_WXUSE_LIBJPEG_BUILTIN
="#"
49628 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
49629 COND_WXUSE_LIBJPEG_BUILTIN
=""
49632 COND_WXUSE_LIBPNG_BUILTIN
="#"
49633 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
49634 COND_WXUSE_LIBPNG_BUILTIN
=""
49637 COND_WXUSE_LIBTIFF_BUILTIN
="#"
49638 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
49639 COND_WXUSE_LIBTIFF_BUILTIN
=""
49642 COND_WXUSE_REGEX_BUILTIN
="#"
49643 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
49644 COND_WXUSE_REGEX_BUILTIN
=""
49647 COND_WXUSE_ZLIB_BUILTIN
="#"
49648 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
49649 COND_WXUSE_ZLIB_BUILTIN
=""
49654 if test "$BAKEFILE_AUTOCONF_INC_M4_VERSION" = "" ; then
49655 { { 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
49656 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;}
49657 { (exit 1); exit 1; }; }
49660 if test "$BAKEFILE_BAKEFILE_M4_VERSION" != "$BAKEFILE_AUTOCONF_INC_M4_VERSION" ; then
49661 { { 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
49662 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;}
49663 { (exit 1); exit 1; }; }
49670 ?
:* ) # Drive letter, considered as absolute.
49673 INSTALL
=`pwd`/${INSTALL} ;;
49676 if test "$wxUSE_GUI" = "yes"; then
49678 if test "$wxUSE_MSW" = 1 ; then
49679 if test "x$WINDRES" = "x"; then
49680 { { echo "$as_me:$LINENO: error: Required windres program not found" >&5
49681 echo "$as_me: error: Required windres program not found" >&2;}
49682 { (exit 1); exit 1; }; }
49688 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1; then
49689 WX_RESOURCES_MACOSX_ASCII
="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.r"
49690 WX_RESOURCES_MACOSX_DATA
="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.rsrc"
49692 LIBWXMACRES
="\$(wx_top_builddir)/lib/${WX_RESOURCES_MACOSX_ASCII}"
49694 # Extract the first word of "DeRez", so it can be a program name with args.
49695 set dummy DeRez
; ac_word
=$2
49696 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49697 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49698 if test "${ac_cv_prog_DEREZ+set}" = set; then
49699 echo $ECHO_N "(cached) $ECHO_C" >&6
49701 if test -n "$DEREZ"; then
49702 ac_cv_prog_DEREZ
="$DEREZ" # Let the user override the test.
49704 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
49705 for as_dir
in $PATH
49708 test -z "$as_dir" && as_dir
=.
49709 for ac_exec_ext
in '' $ac_executable_extensions; do
49710 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49711 ac_cv_prog_DEREZ
="DeRez"
49712 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49719 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ
="/Developer/Tools/DeRez"
49722 DEREZ
=$ac_cv_prog_DEREZ
49723 if test -n "$DEREZ"; then
49724 { echo "$as_me:$LINENO: result: $DEREZ" >&5
49725 echo "${ECHO_T}$DEREZ" >&6; }
49727 { echo "$as_me:$LINENO: result: no" >&5
49728 echo "${ECHO_T}no" >&6; }
49733 MACSETFILE
="\$(SETFILE)"
49735 if test "$wxUSE_MAC" = 1; then
49736 POSTLINK_COMMAND
="\$(REZ) -d __DARWIN__ -t APPL Carbon.r -o"
49738 WXCONFIG_RESFLAGS
="-d __DARWIN__ -t APPL Carbon.r -o"
49740 POSTLINK_COMMAND
="cat /dev/null | \$(REZ) -d __DARWIN__ -t APPL ${LIBWXMACRES}"
49741 RESCOMP
="cat /dev/null \| $REZ"
49742 WXCONFIG_RESFLAGS
="-d __DARWIN__ -t APPL \$libdir/$WX_RESOURCES_MACOSX_ASCII"
49748 if test "$wxUSE_PM" = 1; then
49750 WXCONFIG_RESFLAGS
="-ep"
49752 POSTLINK_COMMAND
="$RESCOMP $WXCONFIG_RESFLAGS"
49754 POSTLINK_COMMAND
="@true"
49761 if test $GCC_PCH = 1
49763 if test "$wx_cv_gcc_pch_bug" = yes; then
49764 { echo "$as_me:$LINENO: WARNING: *** Precompiled header support is broken on this compiler" >&5
49765 echo "$as_me: WARNING: *** Precompiled header support is broken on this compiler" >&2;}
49766 { echo "$as_me:$LINENO: WARNING: *** --enable-precomp-headers is not recommended" >&5
49767 echo "$as_me: WARNING: *** --enable-precomp-headers is not recommended" >&2;}
49768 { echo "$as_me:$LINENO: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&5
49769 echo "$as_me: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&2;}
49772 CPPFLAGS
="-DWX_PRECOMP $CPPFLAGS"
49776 if test "$wxUSE_MAC" = 1 ; then
49777 if test "x$wxUSE_UNIVERSAL_BINARY" != "xno" ; then
49778 sed "s/DEPSMODE=gcc/DEPSMODE=none/" < bk
-deps > temp
49784 if test "$wxUSE_SHARED" = "yes"; then
49786 *-pc-os2_emx | *-pc-os2-emx )
49787 SHARED_LD_CC
="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
49788 SHARED_LD_CXX
="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
49789 cp -p ${srcdir}/src
/os
2/dllnames.sh .
49790 cp -p ${srcdir}/src
/os
2/dllar.sh .
49794 if test "$wxUSE_OMF" = "yes"; then
49796 *-pc-os2_emx | *-pc-os2-emx )
49797 LDFLAGS
="$LDFLAGS -Zlinker /EXEPACK"
49798 LDFLAGS_GUI
="-Zlinker /PMTYPE:PM"
49799 WXCONFIG_LDFLAGS_GUI
="-Zlinker /PMTYPE:PM"
49804 WXCONFIG_CPPFLAGS
="$WXCONFIG_CPPFLAGS $TOOLCHAIN_DEFS"
49809 if test "$GCC" = yes; then
49810 CPPFLAGS
=`echo $CPPFLAGS | sed 's/-mt//'`
49811 LIBS
=`echo $LIBS | sed 's/-mt//'`
49812 EXTRALIBS_GUI
=`echo $EXTRALIBS_GUI | sed 's/-mt//'`
49817 if test "x$SUNCXX" = xyes
; then
49818 CPPFLAGS
=`echo $CPPFLAGS | sed 's/-pthread//'`
49819 LIBS
=`echo $LIBS | sed 's/-pthread//'`
49820 EXTRALIBS_GUI
=`echo $EXTRALIBS_GUI | sed 's/-pthread//'`
49825 CFLAGS
="$CFLAGS $CFLAGS_VISIBILITY"
49826 CXXFLAGS
="$CXXFLAGS $CXXFLAGS_VISIBILITY"
49828 SAMPLES_SUBDIRS
="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
49889 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
49890 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
49891 set x
${MAKE-make}; ac_make
=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
49892 if { as_var
=ac_cv_prog_make_
${ac_make}_set
; eval "test \"\${$as_var+set}\" = set"; }; then
49893 echo $ECHO_N "(cached) $ECHO_C" >&6
49895 cat >conftest.
make <<\_ACEOF
49898 @
echo '@@@%%%=$(MAKE)=@@@%%%'
49900 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
49901 case `${MAKE-make} -f conftest.make 2>/dev/null` in
49902 *@@@
%%%=?
*=@@@
%%%*)
49903 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
49905 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
49907 rm -f conftest.
make
49909 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
49910 { echo "$as_me:$LINENO: result: yes" >&5
49911 echo "${ECHO_T}yes" >&6; }
49914 { echo "$as_me:$LINENO: result: no" >&5
49915 echo "${ECHO_T}no" >&6; }
49916 SET_MAKE
="MAKE=${MAKE-make}"
49921 ac_config_headers
="$ac_config_headers lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in"
49924 if test "$USE_WIN32" = 1; then
49925 ac_config_commands
="$ac_config_commands
49931 ac_config_files
="$ac_config_files lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in"
49934 ac_config_files
="$ac_config_files lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in"
49937 if test "$wx_cv_version_script" = "yes"; then
49938 ac_config_files
="$ac_config_files version-script"
49941 ac_config_files
="$ac_config_files Makefile"
49944 ac_config_commands
="$ac_config_commands wx-config"
49948 if test "$wxWITH_SUBDIRS" != "no"; then
49949 if test "$wxUSE_GUI" = "yes"; then
49950 SUBDIRS
="samples demos utils"
49952 SUBDIRS
="samples utils"
49957 # Check whether --with-cppunit-prefix was given.
49958 if test "${with_cppunit_prefix+set}" = set; then
49959 withval
=$with_cppunit_prefix; cppunit_config_prefix
="$withval"
49961 cppunit_config_prefix
=""
49965 # Check whether --with-cppunit-exec-prefix was given.
49966 if test "${with_cppunit_exec_prefix+set}" = set; then
49967 withval
=$with_cppunit_exec_prefix; cppunit_config_exec_prefix
="$withval"
49969 cppunit_config_exec_prefix
=""
49973 if test x
$cppunit_config_exec_prefix != x
; then
49974 cppunit_config_args
="$cppunit_config_args --exec-prefix=$cppunit_config_exec_prefix"
49975 if test x
${CPPUNIT_CONFIG+set} != xset
; then
49976 CPPUNIT_CONFIG
=$cppunit_config_exec_prefix/bin
/cppunit
-config
49979 if test x
$cppunit_config_prefix != x
; then
49980 cppunit_config_args
="$cppunit_config_args --prefix=$cppunit_config_prefix"
49981 if test x
${CPPUNIT_CONFIG+set} != xset
; then
49982 CPPUNIT_CONFIG
=$cppunit_config_prefix/bin
/cppunit
-config
49986 # Extract the first word of "cppunit-config", so it can be a program name with args.
49987 set dummy cppunit
-config; ac_word
=$2
49988 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49989 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49990 if test "${ac_cv_path_CPPUNIT_CONFIG+set}" = set; then
49991 echo $ECHO_N "(cached) $ECHO_C" >&6
49993 case $CPPUNIT_CONFIG in
49995 ac_cv_path_CPPUNIT_CONFIG
="$CPPUNIT_CONFIG" # Let the user override the test with a path.
49998 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
49999 for as_dir
in $PATH
50002 test -z "$as_dir" && as_dir
=.
50003 for ac_exec_ext
in '' $ac_executable_extensions; do
50004 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
50005 ac_cv_path_CPPUNIT_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
50006 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
50013 test -z "$ac_cv_path_CPPUNIT_CONFIG" && ac_cv_path_CPPUNIT_CONFIG
="no"
50017 CPPUNIT_CONFIG
=$ac_cv_path_CPPUNIT_CONFIG
50018 if test -n "$CPPUNIT_CONFIG"; then
50019 { echo "$as_me:$LINENO: result: $CPPUNIT_CONFIG" >&5
50020 echo "${ECHO_T}$CPPUNIT_CONFIG" >&6; }
50022 { echo "$as_me:$LINENO: result: no" >&5
50023 echo "${ECHO_T}no" >&6; }
50027 cppunit_version_min
=1.8.0
50029 { echo "$as_me:$LINENO: checking for Cppunit - version >= $cppunit_version_min" >&5
50030 echo $ECHO_N "checking for Cppunit - version >= $cppunit_version_min... $ECHO_C" >&6; }
50032 if test "$CPPUNIT_CONFIG" = "no" ; then
50033 { echo "$as_me:$LINENO: result: no" >&5
50034 echo "${ECHO_T}no" >&6; }
50037 CPPUNIT_CFLAGS
=`$CPPUNIT_CONFIG --cflags`
50038 CPPUNIT_LIBS
=`$CPPUNIT_CONFIG --libs`
50039 cppunit_version
=`$CPPUNIT_CONFIG --version`
50041 cppunit_major_version
=`echo $cppunit_version | \
50042 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
50043 cppunit_minor_version
=`echo $cppunit_version | \
50044 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
50045 cppunit_micro_version
=`echo $cppunit_version | \
50046 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
50048 cppunit_major_min
=`echo $cppunit_version_min | \
50049 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
50050 cppunit_minor_min
=`echo $cppunit_version_min | \
50051 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
50052 cppunit_micro_min
=`echo $cppunit_version_min | \
50053 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
50055 cppunit_version_proper
=`expr \
50056 $cppunit_major_version \> $cppunit_major_min \| \
50057 $cppunit_major_version \= $cppunit_major_min \& \
50058 $cppunit_minor_version \> $cppunit_minor_min \| \
50059 $cppunit_major_version \= $cppunit_major_min \& \
50060 $cppunit_minor_version \= $cppunit_minor_min \& \
50061 $cppunit_micro_version \>= $cppunit_micro_min `
50063 if test "$cppunit_version_proper" = "1" ; then
50064 { echo "$as_me:$LINENO: result: $cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&5
50065 echo "${ECHO_T}$cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&6; }
50067 { echo "$as_me:$LINENO: result: no" >&5
50068 echo "${ECHO_T}no" >&6; }
50073 if test "x$no_cppunit" = x
; then
50074 SUBDIRS
="$SUBDIRS tests"
50085 for subdir
in $SUBDIRS; do
50086 if test -d ${srcdir}/${subdir} ; then
50087 if test "$wxUSE_GUI" = "yes"; then
50088 if test ${subdir} = "samples"; then
50089 makefiles
="samples/Makefile.in $makefiles"
50090 for sample
in $SAMPLES_SUBDIRS; do
50091 if test -d $srcdir/samples
/$sample; then
50092 makefiles
="samples/$sample/Makefile.in $makefiles"
50096 disabled_var
=DISABLED_
`echo $subdir | tr '[a-z]' '[A-Z]'`
50097 eval "disabled=\$$disabled_var"
50098 disabled
=/`echo X $disabled | sed 's@ @/|/@g'`/
50099 makefiles
=`(cd $srcdir ; find $subdir -name Makefile.in) | $EGREP -v "$disabled"`
50102 if test ${subdir} = "samples"; then
50103 makefiles
="samples/Makefile.in $makefiles"
50104 for sample
in `echo $SAMPLES_SUBDIRS`; do
50105 if test -d $srcdir/samples
/$sample; then
50106 makefiles
="samples/$sample/Makefile.in $makefiles"
50109 elif test ${subdir} = "utils"; then
50111 for util
in HelpGen tex2rtf
; do
50112 if test -d $srcdir/utils
/$util ; then
50113 makefiles
="utils/$util/Makefile.in \
50114 utils/$util/src/Makefile.in \
50119 makefiles
=`(cd $srcdir ; find $subdir -name Makefile.in)`
50123 for mkin
in $makefiles ; do
50124 mk
=`echo $mkin | sed 's/Makefile\.in/Makefile/g'`
50125 ac_config_files
="$ac_config_files $mk"
50131 cat >confcache
<<\_ACEOF
50132 # This file is a shell script that caches the results of configure
50133 # tests run on this system so they can be shared between configure
50134 # scripts and configure runs, see configure's option --config-cache.
50135 # It is not useful on other systems. If it contains results you don't
50136 # want to keep, you may remove or edit it.
50138 # config.status only pays attention to the cache file if you give it
50139 # the --recheck option to rerun configure.
50141 # `ac_cv_env_foo' variables (set or unset) will be overridden when
50142 # loading this file, other *unset* `ac_cv_foo' will be assigned the
50143 # following values.
50147 # The following way of writing the cache mishandles newlines in values,
50148 # but we know of no workaround that is simple, portable, and efficient.
50149 # So, we kill variables containing newlines.
50150 # Ultrix sh set writes to stderr and can't be redirected directly,
50151 # and sets the high bit in the cache file unless we assign to the vars.
50153 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
50154 eval ac_val
=\$
$ac_var
50158 *_cv_
*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
50159 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
50162 _
| IFS
| as_nl
) ;; #(
50163 *) $as_unset $ac_var ;;
50169 case $as_nl`(ac_space=' '; set) 2>&1` in #(
50170 *${as_nl}ac_space
=\
*)
50171 # `set' does not quote correctly, so add quotes (double-quote
50172 # substitution turns \\\\ into \\, and sed turns \\ into \).
50175 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
50178 # `set' quotes correctly as required by POSIX, so do not add quotes.
50179 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
50188 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
50190 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
50192 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
50193 if test -w "$cache_file"; then
50194 test "x$cache_file" != "x/dev/null" &&
50195 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
50196 echo "$as_me: updating cache $cache_file" >&6;}
50197 cat confcache
>$cache_file
50199 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
50200 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
50205 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
50206 # Let make expand exec_prefix.
50207 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
50209 DEFS
=-DHAVE_CONFIG_H
50213 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
50214 # 1. Remove the extension, and $U if already installed.
50215 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
50216 ac_i
=`echo "$ac_i" | sed "$ac_script"`
50217 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
50218 # will be set to the directory where LIBOBJS objects are built.
50219 ac_libobjs
="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
50220 ac_ltlibobjs
="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
50222 LIBOBJS
=$ac_libobjs
50224 LTLIBOBJS
=$ac_ltlibobjs
50228 : ${CONFIG_STATUS=./config.status}
50229 ac_clean_files_save
=$ac_clean_files
50230 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
50231 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
50232 echo "$as_me: creating $CONFIG_STATUS" >&6;}
50233 cat >$CONFIG_STATUS <<_ACEOF
50235 # Generated by $as_me.
50236 # Run this file to recreate the current configuration.
50237 # Compiler output produced by configure, useful for debugging
50238 # configure, is in config.log if it exists.
50241 ac_cs_recheck=false
50243 SHELL=\${CONFIG_SHELL-$SHELL}
50246 cat >>$CONFIG_STATUS <<\_ACEOF
50247 ## --------------------- ##
50248 ## M4sh Initialization. ##
50249 ## --------------------- ##
50251 # Be more Bourne compatible
50252 DUALCASE
=1; export DUALCASE
# for MKS sh
50253 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
50256 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
50257 # is contrary to our usage. Disable this feature.
50258 alias -g '${1+"$@"}'='"$@"'
50259 setopt NO_GLOB_SUBST
50261 case `(set -o) 2>/dev/null` in
50262 *posix
*) set -o posix
;;
50271 # Avoid depending upon Character Ranges.
50272 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
50273 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
50274 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
50275 as_cr_digits
='0123456789'
50276 as_cr_alnum
=$as_cr_Letters$as_cr_digits
50278 # The user is always right.
50279 if test "${PATH_SEPARATOR+set}" != set; then
50280 echo "#! /bin/sh" >conf$$.sh
50281 echo "exit 0" >>conf$$.sh
50283 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
50291 # Support unset when possible.
50292 if ( (MAIL
=60; unset MAIL
) || exit) >/dev
/null
2>&1; then
50300 # We need space, tab and new line, in precisely that order. Quoting is
50301 # there to prevent editors from complaining about space-tab.
50302 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
50303 # splitting by setting IFS to empty value.)
50308 # Find who we are. Look in the path if we contain no directory separator.
50310 *[\\/]* ) as_myself
=$0 ;;
50311 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
50312 for as_dir
in $PATH
50315 test -z "$as_dir" && as_dir
=.
50316 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
50322 # We did not find ourselves, most probably we were run as `sh COMMAND'
50323 # in which case we are not to be found in the path.
50324 if test "x$as_myself" = x
; then
50327 if test ! -f "$as_myself"; then
50328 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
50329 { (exit 1); exit 1; }
50332 # Work around bugs in pre-3.0 UWIN ksh.
50333 for as_var
in ENV MAIL MAILPATH
50334 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
50342 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
50343 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
50344 LC_TELEPHONE LC_TIME
50346 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
50347 eval $as_var=C
; export $as_var
50349 ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
50353 # Required to use basename.
50354 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
50355 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
50361 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
50362 as_basename
=basename
50368 # Name of the executable.
50369 as_me
=`$as_basename -- "$0" ||
50370 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
50371 X"$0" : 'X\(//\)$' \| \
50372 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
50374 sed '/^.*\/\([^/][^/]*\)\/*$/{
50393 as_lineno_1
=$LINENO
50394 as_lineno_2
=$LINENO
50395 test "x$as_lineno_1" != "x$as_lineno_2" &&
50396 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
50398 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
50399 # uniformly replaced by the line number. The first 'sed' inserts a
50400 # line-number line after each line using $LINENO; the second 'sed'
50401 # does the real work. The second script uses 'N' to pair each
50402 # line-number line with the line containing $LINENO, and appends
50403 # trailing '-' during substitution so that $LINENO is not a special
50404 # case at line end.
50405 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
50406 # scripts with optimization help from Paolo Bonzini. Blame Lee
50407 # E. McMahon (1931-1989) for sed's syntax. :-)
50419 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
50422 ' >$as_me.lineno
&&
50423 chmod +x
"$as_me.lineno" ||
50424 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
50425 { (exit 1); exit 1; }; }
50427 # Don't try to exec as it changes $[0], causing all sort of problems
50428 # (the dirname of $[0] is not the place where we might find the
50429 # original and so on. Autoconf is especially sensitive to this).
50430 .
"./$as_me.lineno"
50431 # Exit status is that of the last command.
50436 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
50442 ECHO_C
= ECHO_N
= ECHO_T
=
50443 case `echo -n x` in
50445 case `echo 'x\c'` in
50446 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
50453 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
50454 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
50460 rm -f conf$$ conf$$.exe conf$$.
file
50461 if test -d conf$$.dir
; then
50462 rm -f conf$$.dir
/conf$$.
file
50468 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
50470 # ... but there are two gotchas:
50471 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
50472 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
50473 # In both cases, we have to default to `cp -p'.
50474 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe
||
50476 elif ln conf$$.
file conf$$
2>/dev
/null
; then
50481 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
50482 rmdir conf$$.dir
2>/dev
/null
50484 if mkdir -p .
2>/dev
/null
; then
50487 test -d .
/-p && rmdir .
/-p
50491 if test -x / >/dev
/null
2>&1; then
50492 as_test_x
='test -x'
50494 if ls -dL / >/dev
/null
2>&1; then
50501 if test -d "$1"; then
50507 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
50508 ???[sx]*):;;*)false;;esac;fi
50512 as_executable_p
=$as_test_x
50514 # Sed expression to map a string onto a valid CPP name.
50515 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
50517 # Sed expression to map a string onto a valid variable name.
50518 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
50523 # Save the log message, to keep $[0] and so on meaningful, and to
50524 # report actual input values of CONFIG_FILES etc. instead of their
50525 # values after options handling.
50527 This file was extended by wxWidgets $as_me 2.9.0, which was
50528 generated by GNU Autoconf 2.61. Invocation command line was
50530 CONFIG_FILES = $CONFIG_FILES
50531 CONFIG_HEADERS = $CONFIG_HEADERS
50532 CONFIG_LINKS = $CONFIG_LINKS
50533 CONFIG_COMMANDS = $CONFIG_COMMANDS
50536 on `(hostname || uname -n) 2>/dev/null | sed 1q`
50541 cat >>$CONFIG_STATUS <<_ACEOF
50542 # Files that config.status was made for.
50543 config_files="$ac_config_files"
50544 config_headers="$ac_config_headers"
50545 config_commands="$ac_config_commands"
50549 cat >>$CONFIG_STATUS <<\_ACEOF
50551 \`$as_me' instantiates files from templates according to the
50552 current configuration.
50554 Usage: $0 [OPTIONS] [FILE]...
50556 -h, --help print this help, then exit
50557 -V, --version print version number and configuration settings, then exit
50558 -q, --quiet do not print progress messages
50559 -d, --debug don't remove temporary files
50560 --recheck update $as_me by reconfiguring in the same conditions
50561 --file=FILE[:TEMPLATE]
50562 instantiate the configuration file FILE
50563 --header=FILE[:TEMPLATE]
50564 instantiate the configuration header FILE
50566 Configuration files:
50569 Configuration headers:
50572 Configuration commands:
50575 Report bugs to <bug-autoconf@gnu.org>."
50578 cat >>$CONFIG_STATUS <<_ACEOF
50580 wxWidgets config.status 2.9.0
50581 configured by $0, generated by GNU Autoconf 2.61,
50582 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
50584 Copyright (C) 2006 Free Software Foundation, Inc.
50585 This config.status script is free software; the Free Software Foundation
50586 gives unlimited permission to copy, distribute and modify it."
50593 cat >>$CONFIG_STATUS <<\_ACEOF
50594 # If no file are specified by the user, then we need to provide default
50595 # value. By we need to know if files were specified by the user.
50601 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
50602 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
50613 # Handling of the options.
50614 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
50616 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
50617 echo "$ac_cs_version"; exit ;;
50618 --debug | --debu | --deb | --de | --d | -d )
50620 --file | --fil | --fi | --f )
50622 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
50623 ac_need_defaults
=false
;;
50624 --header | --heade | --head | --hea )
50626 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
50627 ac_need_defaults
=false
;;
50629 # Conflict between --help and --header
50630 { echo "$as_me: error: ambiguous option: $1
50631 Try \`$0 --help' for more information." >&2
50632 { (exit 1); exit 1; }; };;
50633 --help | --hel | -h )
50634 echo "$ac_cs_usage"; exit ;;
50635 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
50636 | -silent | --silent | --silen | --sile | --sil | --si | --s)
50639 # This is an error.
50640 -*) { echo "$as_me: error: unrecognized option: $1
50641 Try \`$0 --help' for more information." >&2
50642 { (exit 1); exit 1; }; } ;;
50644 *) ac_config_targets
="$ac_config_targets $1"
50645 ac_need_defaults
=false
;;
50651 ac_configure_extra_args
=
50653 if $ac_cs_silent; then
50655 ac_configure_extra_args
="$ac_configure_extra_args --silent"
50659 cat >>$CONFIG_STATUS <<_ACEOF
50660 if \$ac_cs_recheck; then
50661 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
50662 CONFIG_SHELL=$SHELL
50663 export CONFIG_SHELL
50664 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
50668 cat >>$CONFIG_STATUS <<\_ACEOF
50672 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
50673 ## Running $as_me. ##
50679 cat >>$CONFIG_STATUS <<_ACEOF
50685 infile="$srcdir/include/wx/msw/genrcdefs.h"
50686 outdir="lib/wx/include/$TOOLCHAIN_FULLNAME/wx/msw"
50689 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
50690 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
50691 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
50697 cat >>$CONFIG_STATUS <<\_ACEOF
50699 # Handling of arguments.
50700 for ac_config_target
in $ac_config_targets
50702 case $ac_config_target in
50703 "lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h") CONFIG_HEADERS
="$CONFIG_HEADERS lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in" ;;
50704 "rcdefs.h") CONFIG_COMMANDS
="$CONFIG_COMMANDS rcdefs.h" ;;
50705 "lib/wx/config/${TOOLCHAIN_FULLNAME}") CONFIG_FILES
="$CONFIG_FILES lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in" ;;
50706 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}") CONFIG_FILES
="$CONFIG_FILES lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in" ;;
50707 "version-script") CONFIG_FILES
="$CONFIG_FILES version-script" ;;
50708 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
50709 "wx-config") CONFIG_COMMANDS
="$CONFIG_COMMANDS wx-config" ;;
50710 "$mk") CONFIG_FILES
="$CONFIG_FILES $mk" ;;
50712 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
50713 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
50714 { (exit 1); exit 1; }; };;
50719 # If the user did not use the arguments to specify the items to instantiate,
50720 # then the envvar interface is used. Set only those that are not.
50721 # We use the long form for the default assignment because of an extremely
50722 # bizarre bug on SunOS 4.1.3.
50723 if $ac_need_defaults; then
50724 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
50725 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
50726 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
50729 # Have a temporary directory for convenience. Make it in the build tree
50730 # simply because there is no reason against having it here, and in addition,
50731 # creating and moving files from /tmp can sometimes cause problems.
50732 # Hook for its removal unless debugging.
50733 # Note that there is a small window in which the directory will not be cleaned:
50734 # after its creation but before its name has been assigned to `$tmp'.
50738 trap 'exit_status=$?
50739 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
50741 trap '{ (exit 1); exit 1; }' 1 2 13 15
50743 # Create a (secure) tmp directory for tmp files.
50746 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
50747 test -n "$tmp" && test -d "$tmp"
50750 tmp
=.
/conf$$
-$RANDOM
50751 (umask 077 && mkdir "$tmp")
50754 echo "$me: cannot create a temporary directory in ." >&2
50755 { (exit 1); exit 1; }
50759 # Set up the sed scripts for CONFIG_FILES section.
50762 # No need to generate the scripts if there are no CONFIG_FILES.
50763 # This happens for instance when ./config.status config.h
50764 if test -n "$CONFIG_FILES"; then
50771 for ac_last_try
in false false false false false
:; do
50772 cat >conf$
$subs.
sed <<_ACEOF
50773 SHELL!$SHELL$ac_delim
50774 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
50775 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
50776 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
50777 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
50778 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
50779 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
50780 exec_prefix!$exec_prefix$ac_delim
50781 prefix!$prefix$ac_delim
50782 program_transform_name!$program_transform_name$ac_delim
50783 bindir!$bindir$ac_delim
50784 sbindir!$sbindir$ac_delim
50785 libexecdir!$libexecdir$ac_delim
50786 datarootdir!$datarootdir$ac_delim
50787 datadir!$datadir$ac_delim
50788 sysconfdir!$sysconfdir$ac_delim
50789 sharedstatedir!$sharedstatedir$ac_delim
50790 localstatedir!$localstatedir$ac_delim
50791 includedir!$includedir$ac_delim
50792 oldincludedir!$oldincludedir$ac_delim
50793 docdir!$docdir$ac_delim
50794 infodir!$infodir$ac_delim
50795 htmldir!$htmldir$ac_delim
50796 dvidir!$dvidir$ac_delim
50797 pdfdir!$pdfdir$ac_delim
50798 psdir!$psdir$ac_delim
50799 libdir!$libdir$ac_delim
50800 localedir!$localedir$ac_delim
50801 mandir!$mandir$ac_delim
50802 DEFS!$DEFS$ac_delim
50803 ECHO_C!$ECHO_C$ac_delim
50804 ECHO_N!$ECHO_N$ac_delim
50805 ECHO_T!$ECHO_T$ac_delim
50806 LIBS!$LIBS$ac_delim
50807 build_alias!$build_alias$ac_delim
50808 host_alias!$host_alias$ac_delim
50809 target_alias!$target_alias$ac_delim
50810 build!$build$ac_delim
50811 build_cpu!$build_cpu$ac_delim
50812 build_vendor!$build_vendor$ac_delim
50813 build_os!$build_os$ac_delim
50814 host!$host$ac_delim
50815 host_cpu!$host_cpu$ac_delim
50816 host_vendor!$host_vendor$ac_delim
50817 host_os!$host_os$ac_delim
50818 target!$target$ac_delim
50819 target_cpu!$target_cpu$ac_delim
50820 target_vendor!$target_vendor$ac_delim
50821 target_os!$target_os$ac_delim
50822 wx_top_builddir!$wx_top_builddir$ac_delim
50824 CFLAGS!$CFLAGS$ac_delim
50825 LDFLAGS!$LDFLAGS$ac_delim
50826 CPPFLAGS!$CPPFLAGS$ac_delim
50827 ac_ct_CC!$ac_ct_CC$ac_delim
50828 EXEEXT!$EXEEXT$ac_delim
50829 OBJEXT!$OBJEXT$ac_delim
50831 GREP!$GREP$ac_delim
50832 EGREP!$EGREP$ac_delim
50834 CXXFLAGS!$CXXFLAGS$ac_delim
50835 ac_ct_CXX!$ac_ct_CXX$ac_delim
50837 subdirs!$subdirs$ac_delim
50838 PKG_CONFIG!$PKG_CONFIG$ac_delim
50839 GTK_CFLAGS!$GTK_CFLAGS$ac_delim
50840 GTK_LIBS!$GTK_LIBS$ac_delim
50841 GTK_CONFIG!$GTK_CONFIG$ac_delim
50842 DIRECTFB_CFLAGS!$DIRECTFB_CFLAGS$ac_delim
50843 DIRECTFB_LIBS!$DIRECTFB_LIBS$ac_delim
50844 XMKMF!$XMKMF$ac_delim
50845 X_CFLAGS!$X_CFLAGS$ac_delim
50846 X_PRE_LIBS!$X_PRE_LIBS$ac_delim
50847 X_LIBS!$X_LIBS$ac_delim
50848 X_EXTRA_LIBS!$X_EXTRA_LIBS$ac_delim
50849 PANGOX_CFLAGS!$PANGOX_CFLAGS$ac_delim
50850 PANGOX_LIBS!$PANGOX_LIBS$ac_delim
50851 PANGOFT2_CFLAGS!$PANGOFT2_CFLAGS$ac_delim
50852 PANGOFT2_LIBS!$PANGOFT2_LIBS$ac_delim
50853 PANGOXFT_CFLAGS!$PANGOXFT_CFLAGS$ac_delim
50854 PANGOXFT_LIBS!$PANGOXFT_LIBS$ac_delim
50855 CFLAGS_VISIBILITY!$CFLAGS_VISIBILITY$ac_delim
50856 CXXFLAGS_VISIBILITY!$CXXFLAGS_VISIBILITY$ac_delim
50857 LIBICONV!$LIBICONV$ac_delim
50858 SDL_CONFIG!$SDL_CONFIG$ac_delim
50859 SDL_CFLAGS!$SDL_CFLAGS$ac_delim
50860 SDL_LIBS!$SDL_LIBS$ac_delim
50861 GTKPRINT_CFLAGS!$GTKPRINT_CFLAGS$ac_delim
50862 GTKPRINT_LIBS!$GTKPRINT_LIBS$ac_delim
50863 LIBGNOMEPRINTUI_CFLAGS!$LIBGNOMEPRINTUI_CFLAGS$ac_delim
50864 LIBGNOMEPRINTUI_LIBS!$LIBGNOMEPRINTUI_LIBS$ac_delim
50865 GNOMEVFS_CFLAGS!$GNOMEVFS_CFLAGS$ac_delim
50866 GNOMEVFS_LIBS!$GNOMEVFS_LIBS$ac_delim
50867 HILDON_CFLAGS!$HILDON_CFLAGS$ac_delim
50868 HILDON_LIBS!$HILDON_LIBS$ac_delim
50869 CAIRO_CFLAGS!$CAIRO_CFLAGS$ac_delim
50872 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
50874 elif $ac_last_try; then
50875 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
50876 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
50877 { (exit 1); exit 1; }; }
50879 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
50883 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
50884 if test -n "$ac_eof"; then
50885 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
50886 ac_eof
=`expr $ac_eof + 1`
50889 cat >>$CONFIG_STATUS <<_ACEOF
50890 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
50891 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
50894 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
50895 s/^/s,@/; s/!/@,|#_!!_#|/
50898 s/'"$ac_delim"'$/,g/; t
50900 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
50901 ' >>$CONFIG_STATUS <conf$
$subs.
sed
50902 rm -f conf$
$subs.
sed
50903 cat >>$CONFIG_STATUS <<_ACEOF
50909 for ac_last_try
in false false false false false
:; do
50910 cat >conf$
$subs.
sed <<_ACEOF
50911 CAIRO_LIBS!$CAIRO_LIBS$ac_delim
50912 GST_CFLAGS!$GST_CFLAGS$ac_delim
50913 GST_LIBS!$GST_LIBS$ac_delim
50914 ALL_WX_LIBS!$ALL_WX_LIBS$ac_delim
50915 BUILT_WX_LIBS!$BUILT_WX_LIBS$ac_delim
50916 STD_BASE_LIBS!$STD_BASE_LIBS$ac_delim
50917 STD_GUI_LIBS!$STD_GUI_LIBS$ac_delim
50918 wxUSE_ZLIB!$wxUSE_ZLIB$ac_delim
50919 wxUSE_REGEX!$wxUSE_REGEX$ac_delim
50920 wxUSE_EXPAT!$wxUSE_EXPAT$ac_delim
50921 wxUSE_LIBJPEG!$wxUSE_LIBJPEG$ac_delim
50922 wxUSE_LIBPNG!$wxUSE_LIBPNG$ac_delim
50923 wxUSE_LIBTIFF!$wxUSE_LIBTIFF$ac_delim
50924 VENDOR!$VENDOR$ac_delim
50925 OFFICIAL_BUILD!$OFFICIAL_BUILD$ac_delim
50926 WX_FLAVOUR!$WX_FLAVOUR$ac_delim
50927 WX_LIB_FLAVOUR!$WX_LIB_FLAVOUR$ac_delim
50928 WXUNIV!$WXUNIV$ac_delim
50929 MONOLITHIC!$MONOLITHIC$ac_delim
50930 USE_PLUGINS!$USE_PLUGINS$ac_delim
50931 CXXWARNINGS!$CXXWARNINGS$ac_delim
50932 EXTRALIBS!$EXTRALIBS$ac_delim
50933 EXTRALIBS_XML!$EXTRALIBS_XML$ac_delim
50934 EXTRALIBS_HTML!$EXTRALIBS_HTML$ac_delim
50935 EXTRALIBS_MEDIA!$EXTRALIBS_MEDIA$ac_delim
50936 EXTRALIBS_GUI!$EXTRALIBS_GUI$ac_delim
50937 EXTRALIBS_OPENGL!$EXTRALIBS_OPENGL$ac_delim
50938 EXTRALIBS_SDL!$EXTRALIBS_SDL$ac_delim
50939 EXTRALIBS_STC!$EXTRALIBS_STC$ac_delim
50940 WITH_PLUGIN_SDL!$WITH_PLUGIN_SDL$ac_delim
50941 EXTRALIBS_GTKPRINT!$EXTRALIBS_GTKPRINT$ac_delim
50942 EXTRALIBS_GNOMEPRINT!$EXTRALIBS_GNOMEPRINT$ac_delim
50943 EXTRALIBS_GNOMEVFS!$EXTRALIBS_GNOMEVFS$ac_delim
50944 EXTRALIBS_HILDON!$EXTRALIBS_HILDON$ac_delim
50945 UNICODE!$UNICODE$ac_delim
50946 BUILD!$BUILD$ac_delim
50947 DEBUG_INFO!$DEBUG_INFO$ac_delim
50948 DEBUG_FLAG!$DEBUG_FLAG$ac_delim
50949 TOOLKIT_LOWERCASE!$TOOLKIT_LOWERCASE$ac_delim
50950 TOOLKIT_VERSION!$TOOLKIT_VERSION$ac_delim
50951 SAMPLES_RPATH_FLAG!$SAMPLES_RPATH_FLAG$ac_delim
50952 SAMPLES_RPATH_POSTLINK!$SAMPLES_RPATH_POSTLINK$ac_delim
50953 HOST_SUFFIX!$HOST_SUFFIX$ac_delim
50954 CPPUNIT_CFLAGS!$CPPUNIT_CFLAGS$ac_delim
50955 CPPUNIT_LIBS!$CPPUNIT_LIBS$ac_delim
50956 RANLIB!$RANLIB$ac_delim
50957 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
50958 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
50959 INSTALL_DATA!$INSTALL_DATA$ac_delim
50960 LN_S!$LN_S$ac_delim
50961 SET_MAKE!$SET_MAKE$ac_delim
50962 MAKE_SET!$MAKE_SET$ac_delim
50963 AROPTIONS!$AROPTIONS$ac_delim
50964 STRIP!$STRIP$ac_delim
50966 INSTALL_DIR!$INSTALL_DIR$ac_delim
50967 LDFLAGS_GUI!$LDFLAGS_GUI$ac_delim
50968 IF_GNU_MAKE!$IF_GNU_MAKE$ac_delim
50969 PLATFORM_UNIX!$PLATFORM_UNIX$ac_delim
50970 PLATFORM_WIN32!$PLATFORM_WIN32$ac_delim
50971 PLATFORM_MSDOS!$PLATFORM_MSDOS$ac_delim
50972 PLATFORM_MAC!$PLATFORM_MAC$ac_delim
50973 PLATFORM_MACOS!$PLATFORM_MACOS$ac_delim
50974 PLATFORM_MACOSX!$PLATFORM_MACOSX$ac_delim
50975 PLATFORM_OS2!$PLATFORM_OS2$ac_delim
50976 PLATFORM_BEOS!$PLATFORM_BEOS$ac_delim
50977 SO_SUFFIX!$SO_SUFFIX$ac_delim
50978 SO_SUFFIX_MODULE!$SO_SUFFIX_MODULE$ac_delim
50979 DLLIMP_SUFFIX!$DLLIMP_SUFFIX$ac_delim
50980 LIBPREFIX!$LIBPREFIX$ac_delim
50981 LIBEXT!$LIBEXT$ac_delim
50982 DLLPREFIX!$DLLPREFIX$ac_delim
50983 DLLPREFIX_MODULE!$DLLPREFIX_MODULE$ac_delim
50984 dlldir!$dlldir$ac_delim
50985 AIX_CXX_LD!$AIX_CXX_LD$ac_delim
50986 SHARED_LD_CC!$SHARED_LD_CC$ac_delim
50987 SHARED_LD_CXX!$SHARED_LD_CXX$ac_delim
50988 SHARED_LD_MODULE_CC!$SHARED_LD_MODULE_CC$ac_delim
50989 SHARED_LD_MODULE_CXX!$SHARED_LD_MODULE_CXX$ac_delim
50990 PIC_FLAG!$PIC_FLAG$ac_delim
50991 WINDOWS_IMPLIB!$WINDOWS_IMPLIB$ac_delim
50992 USE_SOVERSION!$USE_SOVERSION$ac_delim
50993 USE_SOVERLINUX!$USE_SOVERLINUX$ac_delim
50994 USE_SOVERSOLARIS!$USE_SOVERSOLARIS$ac_delim
50995 USE_SOVERCYGWIN!$USE_SOVERCYGWIN$ac_delim
50996 USE_MACVERSION!$USE_MACVERSION$ac_delim
50997 USE_SOSYMLINKS!$USE_SOSYMLINKS$ac_delim
50998 SONAME_FLAG!$SONAME_FLAG$ac_delim
50999 DEPS_TRACKING!$DEPS_TRACKING$ac_delim
51000 BK_DEPS!$BK_DEPS$ac_delim
51001 WINDRES!$WINDRES$ac_delim
51003 SETFILE!$SETFILE$ac_delim
51004 GCC_PCH!$GCC_PCH$ac_delim
51005 ICC_PCH!$ICC_PCH$ac_delim
51006 BK_MAKE_PCH!$BK_MAKE_PCH$ac_delim
51007 COND_BUILD_DEBUG!$COND_BUILD_DEBUG$ac_delim
51010 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
51012 elif $ac_last_try; then
51013 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
51014 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
51015 { (exit 1); exit 1; }; }
51017 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
51021 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
51022 if test -n "$ac_eof"; then
51023 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
51024 ac_eof
=`expr $ac_eof + 1`
51027 cat >>$CONFIG_STATUS <<_ACEOF
51028 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
51029 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
51032 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
51033 s/^/s,@/; s/!/@,|#_!!_#|/
51036 s/'"$ac_delim"'$/,g/; t
51038 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
51039 ' >>$CONFIG_STATUS <conf$
$subs.
sed
51040 rm -f conf$
$subs.
sed
51041 cat >>$CONFIG_STATUS <<_ACEOF
51047 for ac_last_try
in false false false false false
:; do
51048 cat >conf$
$subs.
sed <<_ACEOF
51049 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT!$COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT$ac_delim
51050 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT!$COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT$ac_delim
51051 COND_BUILD_DEBUG_UNICODE_0!$COND_BUILD_DEBUG_UNICODE_0$ac_delim
51052 COND_BUILD_DEBUG_UNICODE_1!$COND_BUILD_DEBUG_UNICODE_1$ac_delim
51053 COND_BUILD_RELEASE!$COND_BUILD_RELEASE$ac_delim
51054 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT!$COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT$ac_delim
51055 COND_BUILD_RELEASE_UNICODE_0!$COND_BUILD_RELEASE_UNICODE_0$ac_delim
51056 COND_BUILD_RELEASE_UNICODE_1!$COND_BUILD_RELEASE_UNICODE_1$ac_delim
51057 COND_DEBUG_FLAG_1!$COND_DEBUG_FLAG_1$ac_delim
51058 COND_DEBUG_INFO_0!$COND_DEBUG_INFO_0$ac_delim
51059 COND_DEBUG_INFO_1!$COND_DEBUG_INFO_1$ac_delim
51060 COND_DEPS_TRACKING_0!$COND_DEPS_TRACKING_0$ac_delim
51061 COND_DEPS_TRACKING_1!$COND_DEPS_TRACKING_1$ac_delim
51062 COND_GCC_PCH_1!$COND_GCC_PCH_1$ac_delim
51063 COND_ICC_PCH_1!$COND_ICC_PCH_1$ac_delim
51064 COND_MONOLITHIC_0!$COND_MONOLITHIC_0$ac_delim
51065 COND_MONOLITHIC_0_SHARED_0!$COND_MONOLITHIC_0_SHARED_0$ac_delim
51066 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1!$COND_MONOLITHIC_0_SHARED_0_USE_AUI_1$ac_delim
51067 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1$ac_delim
51068 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1$ac_delim
51069 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1$ac_delim
51070 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1$ac_delim
51071 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1!$COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1$ac_delim
51072 COND_MONOLITHIC_0_SHARED_0_USE_STC_1!$COND_MONOLITHIC_0_SHARED_0_USE_STC_1$ac_delim
51073 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1!$COND_MONOLITHIC_0_SHARED_0_USE_XRC_1$ac_delim
51074 COND_MONOLITHIC_0_SHARED_1!$COND_MONOLITHIC_0_SHARED_1$ac_delim
51075 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1!$COND_MONOLITHIC_0_SHARED_1_USE_AUI_1$ac_delim
51076 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1$ac_delim
51077 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1$ac_delim
51078 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1$ac_delim
51079 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1$ac_delim
51080 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1!$COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1$ac_delim
51081 COND_MONOLITHIC_0_SHARED_1_USE_STC_1!$COND_MONOLITHIC_0_SHARED_1_USE_STC_1$ac_delim
51082 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1!$COND_MONOLITHIC_0_SHARED_1_USE_XRC_1$ac_delim
51083 COND_MONOLITHIC_0_USE_AUI_1!$COND_MONOLITHIC_0_USE_AUI_1$ac_delim
51084 COND_MONOLITHIC_0_USE_GUI_1!$COND_MONOLITHIC_0_USE_GUI_1$ac_delim
51085 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1$ac_delim
51086 COND_MONOLITHIC_0_USE_HTML_1!$COND_MONOLITHIC_0_USE_HTML_1$ac_delim
51087 COND_MONOLITHIC_0_USE_MEDIA_1!$COND_MONOLITHIC_0_USE_MEDIA_1$ac_delim
51088 COND_MONOLITHIC_0_USE_QA_1!$COND_MONOLITHIC_0_USE_QA_1$ac_delim
51089 COND_MONOLITHIC_0_USE_RICHTEXT_1!$COND_MONOLITHIC_0_USE_RICHTEXT_1$ac_delim
51090 COND_MONOLITHIC_0_USE_STC_1!$COND_MONOLITHIC_0_USE_STC_1$ac_delim
51091 COND_MONOLITHIC_0_USE_XRC_1!$COND_MONOLITHIC_0_USE_XRC_1$ac_delim
51092 COND_MONOLITHIC_1!$COND_MONOLITHIC_1$ac_delim
51093 COND_MONOLITHIC_1_SHARED_0!$COND_MONOLITHIC_1_SHARED_0$ac_delim
51094 COND_MONOLITHIC_1_SHARED_1!$COND_MONOLITHIC_1_SHARED_1$ac_delim
51095 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1!$COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1$ac_delim
51096 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1!$COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1$ac_delim
51097 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1$ac_delim
51098 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_0_USE_SOVERSION_1$ac_delim
51099 COND_PLATFORM_MACOSX_1!$COND_PLATFORM_MACOSX_1$ac_delim
51100 COND_PLATFORM_MACOSX_1_TOOLKIT_!$COND_PLATFORM_MACOSX_1_TOOLKIT_$ac_delim
51101 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA!$COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA$ac_delim
51102 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK!$COND_PLATFORM_MACOSX_1_TOOLKIT_GTK$ac_delim
51103 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC!$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC$ac_delim
51104 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1!$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1$ac_delim
51105 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF!$COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF$ac_delim
51106 COND_PLATFORM_MACOSX_1_TOOLKIT_X11!$COND_PLATFORM_MACOSX_1_TOOLKIT_X11$ac_delim
51107 COND_PLATFORM_MACOSX_1_USE_GUI_1!$COND_PLATFORM_MACOSX_1_USE_GUI_1$ac_delim
51108 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_1_USE_SOVERSION_1$ac_delim
51109 COND_PLATFORM_MACOS_1!$COND_PLATFORM_MACOS_1$ac_delim
51110 COND_PLATFORM_MAC_1!$COND_PLATFORM_MAC_1$ac_delim
51111 COND_PLATFORM_MSDOS_0!$COND_PLATFORM_MSDOS_0$ac_delim
51112 COND_PLATFORM_MSDOS_1!$COND_PLATFORM_MSDOS_1$ac_delim
51113 COND_PLATFORM_OS2_1!$COND_PLATFORM_OS2_1$ac_delim
51114 COND_PLATFORM_UNIX_0!$COND_PLATFORM_UNIX_0$ac_delim
51115 COND_PLATFORM_UNIX_1!$COND_PLATFORM_UNIX_1$ac_delim
51116 COND_PLATFORM_UNIX_1_TOOLKIT_MGL!$COND_PLATFORM_UNIX_1_TOOLKIT_MGL$ac_delim
51117 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1!$COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1$ac_delim
51118 COND_PLATFORM_UNIX_1_USE_GUI_1!$COND_PLATFORM_UNIX_1_USE_GUI_1$ac_delim
51119 COND_PLATFORM_UNIX_1_USE_PLUGINS_0!$COND_PLATFORM_UNIX_1_USE_PLUGINS_0$ac_delim
51120 COND_PLATFORM_WIN32_0!$COND_PLATFORM_WIN32_0$ac_delim
51121 COND_PLATFORM_WIN32_1!$COND_PLATFORM_WIN32_1$ac_delim
51122 COND_SHARED_0!$COND_SHARED_0$ac_delim
51123 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0!$COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0$ac_delim
51124 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0!$COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0$ac_delim
51125 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0!$COND_SHARED_0_TOOLKIT_PM_WXUNIV_0$ac_delim
51126 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1!$COND_SHARED_0_USE_GUI_1_USE_OPENGL_1$ac_delim
51127 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN!$COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN$ac_delim
51128 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN!$COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN$ac_delim
51129 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN!$COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN$ac_delim
51130 COND_SHARED_0_USE_STC_1!$COND_SHARED_0_USE_STC_1$ac_delim
51131 COND_SHARED_0_WXUSE_EXPAT_BUILTIN!$COND_SHARED_0_WXUSE_EXPAT_BUILTIN$ac_delim
51132 COND_SHARED_0_WXUSE_REGEX_BUILTIN!$COND_SHARED_0_WXUSE_REGEX_BUILTIN$ac_delim
51133 COND_SHARED_0_WXUSE_ZLIB_BUILTIN!$COND_SHARED_0_WXUSE_ZLIB_BUILTIN$ac_delim
51134 COND_SHARED_1!$COND_SHARED_1$ac_delim
51135 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1!$COND_SHARED_1_USE_GUI_1_USE_OPENGL_1$ac_delim
51136 COND_TOOLKIT_!$COND_TOOLKIT_$ac_delim
51137 COND_TOOLKIT_COCOA!$COND_TOOLKIT_COCOA$ac_delim
51138 COND_TOOLKIT_COCOA_USE_GUI_1!$COND_TOOLKIT_COCOA_USE_GUI_1$ac_delim
51139 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0$ac_delim
51140 COND_TOOLKIT_DFB!$COND_TOOLKIT_DFB$ac_delim
51141 COND_TOOLKIT_DFB_USE_GUI_1!$COND_TOOLKIT_DFB_USE_GUI_1$ac_delim
51142 COND_TOOLKIT_GTK!$COND_TOOLKIT_GTK$ac_delim
51143 COND_TOOLKIT_GTK_TOOLKIT_VERSION_!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_$ac_delim
51144 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2$ac_delim
51145 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1$ac_delim
51148 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
51150 elif $ac_last_try; then
51151 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
51152 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
51153 { (exit 1); exit 1; }; }
51155 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
51159 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
51160 if test -n "$ac_eof"; then
51161 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
51162 ac_eof
=`expr $ac_eof + 1`
51165 cat >>$CONFIG_STATUS <<_ACEOF
51166 cat >"\$tmp/subs-3.sed" <<\CEOF$ac_eof
51167 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
51170 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
51171 s/^/s,@/; s/!/@,|#_!!_#|/
51174 s/'"$ac_delim"'$/,g/; t
51176 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
51177 ' >>$CONFIG_STATUS <conf$
$subs.
sed
51178 rm -f conf$
$subs.
sed
51179 cat >>$CONFIG_STATUS <<_ACEOF
51185 for ac_last_try
in false false false false false
:; do
51186 cat >conf$
$subs.
sed <<_ACEOF
51187 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0$ac_delim
51188 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_WXUNIV_0!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_WXUNIV_0$ac_delim
51189 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1!$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1$ac_delim
51190 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0$ac_delim
51191 COND_TOOLKIT_GTK_USE_GUI_1!$COND_TOOLKIT_GTK_USE_GUI_1$ac_delim
51192 COND_TOOLKIT_MAC!$COND_TOOLKIT_MAC$ac_delim
51193 COND_TOOLKIT_MAC_USE_GUI_1!$COND_TOOLKIT_MAC_USE_GUI_1$ac_delim
51194 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0$ac_delim
51195 COND_TOOLKIT_MGL!$COND_TOOLKIT_MGL$ac_delim
51196 COND_TOOLKIT_MGL_USE_GUI_1!$COND_TOOLKIT_MGL_USE_GUI_1$ac_delim
51197 COND_TOOLKIT_MOTIF!$COND_TOOLKIT_MOTIF$ac_delim
51198 COND_TOOLKIT_MOTIF_USE_GUI_1!$COND_TOOLKIT_MOTIF_USE_GUI_1$ac_delim
51199 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0$ac_delim
51200 COND_TOOLKIT_MSW!$COND_TOOLKIT_MSW$ac_delim
51201 COND_TOOLKIT_MSW_USE_GUI_1!$COND_TOOLKIT_MSW_USE_GUI_1$ac_delim
51202 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0$ac_delim
51203 COND_TOOLKIT_MSW_WXUNIV_0!$COND_TOOLKIT_MSW_WXUNIV_0$ac_delim
51204 COND_TOOLKIT_PM!$COND_TOOLKIT_PM$ac_delim
51205 COND_TOOLKIT_PM_USE_GUI_1!$COND_TOOLKIT_PM_USE_GUI_1$ac_delim
51206 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0$ac_delim
51207 COND_TOOLKIT_WINCE!$COND_TOOLKIT_WINCE$ac_delim
51208 COND_TOOLKIT_WINCE_USE_GUI_1!$COND_TOOLKIT_WINCE_USE_GUI_1$ac_delim
51209 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0$ac_delim
51210 COND_TOOLKIT_WINCE_WXUNIV_0!$COND_TOOLKIT_WINCE_WXUNIV_0$ac_delim
51211 COND_TOOLKIT_X11!$COND_TOOLKIT_X11$ac_delim
51212 COND_TOOLKIT_X11_USE_GUI_1!$COND_TOOLKIT_X11_USE_GUI_1$ac_delim
51213 COND_UNICODE_1!$COND_UNICODE_1$ac_delim
51214 COND_USE_EXCEPTIONS_0!$COND_USE_EXCEPTIONS_0$ac_delim
51215 COND_USE_EXCEPTIONS_1!$COND_USE_EXCEPTIONS_1$ac_delim
51216 COND_USE_GUI_0!$COND_USE_GUI_0$ac_delim
51217 COND_USE_GUI_1!$COND_USE_GUI_1$ac_delim
51218 COND_USE_GUI_1_USE_OPENGL_1!$COND_USE_GUI_1_USE_OPENGL_1$ac_delim
51219 COND_USE_GUI_1_WXUNIV_0!$COND_USE_GUI_1_WXUNIV_0$ac_delim
51220 COND_USE_GUI_1_WXUNIV_1!$COND_USE_GUI_1_WXUNIV_1$ac_delim
51221 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN$ac_delim
51222 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN$ac_delim
51223 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN$ac_delim
51224 COND_USE_OPENGL_1!$COND_USE_OPENGL_1$ac_delim
51225 COND_USE_PCH_1!$COND_USE_PCH_1$ac_delim
51226 COND_USE_PLUGINS_0!$COND_USE_PLUGINS_0$ac_delim
51227 COND_USE_RTTI_0!$COND_USE_RTTI_0$ac_delim
51228 COND_USE_RTTI_1!$COND_USE_RTTI_1$ac_delim
51229 COND_USE_SOSYMLINKS_1!$COND_USE_SOSYMLINKS_1$ac_delim
51230 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1!$COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1$ac_delim
51231 COND_USE_SOVERLINUX_1!$COND_USE_SOVERLINUX_1$ac_delim
51232 COND_USE_SOVERSION_0!$COND_USE_SOVERSION_0$ac_delim
51233 COND_USE_SOVERSOLARIS_1!$COND_USE_SOVERSOLARIS_1$ac_delim
51234 COND_USE_STC_1!$COND_USE_STC_1$ac_delim
51235 COND_USE_THREADS_0!$COND_USE_THREADS_0$ac_delim
51236 COND_USE_THREADS_1!$COND_USE_THREADS_1$ac_delim
51237 COND_USE_XRC_1!$COND_USE_XRC_1$ac_delim
51238 COND_WINDOWS_IMPLIB_1!$COND_WINDOWS_IMPLIB_1$ac_delim
51239 COND_WITH_PLUGIN_SDL_1!$COND_WITH_PLUGIN_SDL_1$ac_delim
51240 COND_WXUNIV_0!$COND_WXUNIV_0$ac_delim
51241 COND_WXUNIV_1!$COND_WXUNIV_1$ac_delim
51242 COND_WXUSE_EXPAT_BUILTIN!$COND_WXUSE_EXPAT_BUILTIN$ac_delim
51243 COND_WXUSE_LIBJPEG_BUILTIN!$COND_WXUSE_LIBJPEG_BUILTIN$ac_delim
51244 COND_WXUSE_LIBPNG_BUILTIN!$COND_WXUSE_LIBPNG_BUILTIN$ac_delim
51245 COND_WXUSE_LIBTIFF_BUILTIN!$COND_WXUSE_LIBTIFF_BUILTIN$ac_delim
51246 COND_WXUSE_REGEX_BUILTIN!$COND_WXUSE_REGEX_BUILTIN$ac_delim
51247 COND_WXUSE_ZLIB_BUILTIN!$COND_WXUSE_ZLIB_BUILTIN$ac_delim
51248 DEREZ!$DEREZ$ac_delim
51249 SHARED!$SHARED$ac_delim
51250 WX_LIBRARY_BASENAME_NOGUI!$WX_LIBRARY_BASENAME_NOGUI$ac_delim
51251 WX_LIBRARY_BASENAME_GUI!$WX_LIBRARY_BASENAME_GUI$ac_delim
51252 USE_GUI!$USE_GUI$ac_delim
51253 AFMINSTALL!$AFMINSTALL$ac_delim
51254 WIN32INSTALL!$WIN32INSTALL$ac_delim
51255 TOOLKIT!$TOOLKIT$ac_delim
51256 TOOLKIT_DIR!$TOOLKIT_DIR$ac_delim
51257 TOOLCHAIN_NAME!$TOOLCHAIN_NAME$ac_delim
51258 TOOLCHAIN_FULLNAME!$TOOLCHAIN_FULLNAME$ac_delim
51259 cross_compiling!$cross_compiling$ac_delim
51260 WIDGET_SET!$WIDGET_SET$ac_delim
51261 WX_RELEASE!$WX_RELEASE$ac_delim
51262 WX_VERSION!$WX_VERSION$ac_delim
51263 WX_SUBVERSION!$WX_SUBVERSION$ac_delim
51264 WX_CHARTYPE!$WX_CHARTYPE$ac_delim
51265 WX_DEBUGTYPE!$WX_DEBUGTYPE$ac_delim
51266 WXCONFIG_CPPFLAGS!$WXCONFIG_CPPFLAGS$ac_delim
51267 WXCONFIG_CFLAGS!$WXCONFIG_CFLAGS$ac_delim
51268 WXCONFIG_CXXFLAGS!$WXCONFIG_CXXFLAGS$ac_delim
51269 WXCONFIG_LIBS!$WXCONFIG_LIBS$ac_delim
51270 WXCONFIG_RPATH!$WXCONFIG_RPATH$ac_delim
51271 WXCONFIG_LDFLAGS_GUI!$WXCONFIG_LDFLAGS_GUI$ac_delim
51272 WXCONFIG_RESFLAGS!$WXCONFIG_RESFLAGS$ac_delim
51273 GUIDIST!$GUIDIST$ac_delim
51274 DISTDIR!$DISTDIR$ac_delim
51275 SAMPLES_SUBDIRS!$SAMPLES_SUBDIRS$ac_delim
51276 LDFLAGS_GL!$LDFLAGS_GL$ac_delim
51277 OPENGL_LIBS!$OPENGL_LIBS$ac_delim
51278 DMALLOC_LIBS!$DMALLOC_LIBS$ac_delim
51279 WX_VERSION_TAG!$WX_VERSION_TAG$ac_delim
51280 RESCOMP!$RESCOMP$ac_delim
51281 RESFLAGS!$RESFLAGS$ac_delim
51282 RESPROGRAMOBJ!$RESPROGRAMOBJ$ac_delim
51283 WX_RESOURCES_MACOSX_ASCII!$WX_RESOURCES_MACOSX_ASCII$ac_delim
51286 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
51288 elif $ac_last_try; then
51289 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
51290 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
51291 { (exit 1); exit 1; }; }
51293 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
51297 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
51298 if test -n "$ac_eof"; then
51299 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
51300 ac_eof
=`expr $ac_eof + 1`
51303 cat >>$CONFIG_STATUS <<_ACEOF
51304 cat >"\$tmp/subs-4.sed" <<\CEOF$ac_eof
51305 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
51308 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
51309 s/^/s,@/; s/!/@,|#_!!_#|/
51312 s/'"$ac_delim"'$/,g/; t
51314 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
51315 ' >>$CONFIG_STATUS <conf$
$subs.
sed
51316 rm -f conf$
$subs.
sed
51317 cat >>$CONFIG_STATUS <<_ACEOF
51323 for ac_last_try
in false false false false false
:; do
51324 cat >conf$
$subs.
sed <<_ACEOF
51325 WX_RESOURCES_MACOSX_DATA!$WX_RESOURCES_MACOSX_DATA$ac_delim
51326 LIBWXMACRES!$LIBWXMACRES$ac_delim
51327 POSTLINK_COMMAND!$POSTLINK_COMMAND$ac_delim
51328 MACSETFILE!$MACSETFILE$ac_delim
51330 DLLTOOL!$DLLTOOL$ac_delim
51331 CPPUNIT_CONFIG!$CPPUNIT_CONFIG$ac_delim
51332 LIBOBJS!$LIBOBJS$ac_delim
51333 LTLIBOBJS!$LTLIBOBJS$ac_delim
51336 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 9; then
51338 elif $ac_last_try; then
51339 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
51340 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
51341 { (exit 1); exit 1; }; }
51343 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
51347 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
51348 if test -n "$ac_eof"; then
51349 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
51350 ac_eof
=`expr $ac_eof + 1`
51353 cat >>$CONFIG_STATUS <<_ACEOF
51354 cat >"\$tmp/subs-5.sed" <<\CEOF$ac_eof
51355 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
51358 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
51359 s/^/s,@/; s/!/@,|#_!!_#|/
51362 s/'"$ac_delim"'$/,g/; t
51364 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
51365 ' >>$CONFIG_STATUS <conf$
$subs.
sed
51366 rm -f conf$
$subs.
sed
51367 cat >>$CONFIG_STATUS <<_ACEOF
51374 # VPATH may cause trouble with some makes, so we remove $(srcdir),
51375 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
51376 # trailing colons and then remove the whole line if VPATH becomes empty
51377 # (actually we leave an empty line to preserve line numbers).
51378 if test "x$srcdir" = x.
; then
51379 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
51380 s/:*\$(srcdir):*/:/
51381 s/:*\${srcdir}:*/:/
51383 s/^\([^=]*=[ ]*\):*/\1/
51389 cat >>$CONFIG_STATUS <<\_ACEOF
51390 fi # test -n "$CONFIG_FILES"
51393 for ac_tag
in :F
$CONFIG_FILES :H
$CONFIG_HEADERS :C
$CONFIG_COMMANDS
51396 :[FHLC
]) ac_mode
=$ac_tag; continue;;
51398 case $ac_mode$ac_tag in
51400 :L
* | :C
*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
51401 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
51402 { (exit 1); exit 1; }; };;
51403 :[FH
]-) ac_tag
=-:-;;
51404 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
51421 -) ac_f
="$tmp/stdin";;
51422 *) # Look for the file first in the build tree, then in the source tree
51423 # (if the path is not absolute). The absolute path cannot be DOS-style,
51424 # because $ac_f cannot contain `:'.
51428 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
51430 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
51431 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
51432 { (exit 1); exit 1; }; };;
51434 ac_file_inputs
="$ac_file_inputs $ac_f"
51437 # Let's still pretend it is `configure' which instantiates (i.e., don't
51438 # use $as_me), people would be surprised to read:
51439 # /* config.h. Generated by config.status. */
51440 configure_input
="Generated from "`IFS=:
51441 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
51442 if test x
"$ac_file" != x
-; then
51443 configure_input
="$ac_file. $configure_input"
51444 { echo "$as_me:$LINENO: creating $ac_file" >&5
51445 echo "$as_me: creating $ac_file" >&6;}
51449 *:-:* | *:-) cat >"$tmp/stdin";;
51454 ac_dir
=`$as_dirname -- "$ac_file" ||
51455 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
51456 X"$ac_file" : 'X\(//\)[^/]' \| \
51457 X"$ac_file" : 'X\(//\)$' \| \
51458 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
51460 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
51464 /^X\(\/\/\)[^/].*/{
51479 -*) as_dir
=.
/$as_dir;;
51481 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
51485 *\'*) as_qdir
=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
51486 *) as_qdir
=$as_dir;;
51488 as_dirs
="'$as_qdir' $as_dirs"
51489 as_dir
=`$as_dirname -- "$as_dir" ||
51490 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
51491 X"$as_dir" : 'X\(//\)[^/]' \| \
51492 X"$as_dir" : 'X\(//\)$' \| \
51493 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
51495 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
51499 /^X\(\/\/\)[^/].*/{
51512 test -d "$as_dir" && break
51514 test -z "$as_dirs" || eval "mkdir $as_dirs"
51515 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
51516 echo "$as_me: error: cannot create directory $as_dir" >&2;}
51517 { (exit 1); exit 1; }; }; }
51521 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
51523 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
51524 # A ".." for each directory in $ac_dir_suffix.
51525 ac_top_builddir_sub
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
51526 case $ac_top_builddir_sub in
51527 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
51528 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
51531 ac_abs_top_builddir
=$ac_pwd
51532 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
51533 # for backward compatibility:
51534 ac_top_builddir
=$ac_top_build_prefix
51537 .
) # We are building in place.
51539 ac_top_srcdir
=$ac_top_builddir_sub
51540 ac_abs_top_srcdir
=$ac_pwd ;;
51541 [\\/]* | ?
:[\\/]* ) # Absolute name.
51542 ac_srcdir
=$srcdir$ac_dir_suffix;
51543 ac_top_srcdir
=$srcdir
51544 ac_abs_top_srcdir
=$srcdir ;;
51545 *) # Relative name.
51546 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
51547 ac_top_srcdir
=$ac_top_build_prefix$srcdir
51548 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
51550 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
51560 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
51561 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
51565 cat >>$CONFIG_STATUS <<\_ACEOF
51566 # If the template does not know about datarootdir, expand it.
51567 # FIXME: This hack should be removed a few years after 2.60.
51568 ac_datarootdir_hack
=; ac_datarootdir_seen
=
51570 case `sed -n '/datarootdir/ {
51579 ' $ac_file_inputs` in
51580 *datarootdir
*) ac_datarootdir_seen
=yes;;
51581 *@datadir@
*|*@docdir@
*|*@infodir@
*|*@localedir@
*|*@mandir@
*)
51582 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
51583 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
51585 cat >>$CONFIG_STATUS <<_ACEOF
51586 ac_datarootdir_hack='
51587 s&@datadir@&$datadir&g
51588 s&@docdir@&$docdir&g
51589 s&@infodir@&$infodir&g
51590 s&@localedir@&$localedir&g
51591 s&@mandir@&$mandir&g
51592 s&\\\${datarootdir}&$datarootdir&g' ;;
51596 # Neutralize VPATH when `$srcdir' = `.'.
51597 # Shell code in configure.ac might set extrasub.
51598 # FIXME: do we really want to maintain this feature?
51599 cat >>$CONFIG_STATUS <<_ACEOF
51603 cat >>$CONFIG_STATUS <<\_ACEOF
51605 /@
[a
-zA-Z_][a
-zA-Z_0-9]*@
/!b
51606 s
&@configure_input@
&$configure_input&;t t
51607 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
51608 s
&@srcdir@
&$ac_srcdir&;t t
51609 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
51610 s
&@top_srcdir@
&$ac_top_srcdir&;t t
51611 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
51612 s
&@builddir@
&$ac_builddir&;t t
51613 s
&@abs_builddir@
&$ac_abs_builddir&;t t
51614 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
51615 s
&@INSTALL@
&$ac_INSTALL&;t t
51616 $ac_datarootdir_hack
51617 " $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
51619 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
51620 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
51621 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
51622 { echo "$as_me:$LINENO: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
51623 which seems to be undefined. Please make sure it is defined." >&5
51624 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
51625 which seems to be undefined. Please make sure it is defined." >&2;}
51629 -) cat "$tmp/out"; rm -f "$tmp/out";;
51630 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
51639 # Transform confdefs.h into a sed script `conftest.defines', that
51640 # substitutes the proper values into config.h.in to produce config.h.
51641 rm -f conftest.defines conftest.
tail
51642 # First, append a space to every undef/define line, to ease matching.
51643 echo 's/$/ /' >conftest.defines
51644 # Then, protect against being on the right side of a sed subst, or in
51645 # an unquoted here document, in config.status. If some macros were
51646 # called several times there might be several #defines for the same
51647 # symbol, which is useless. But do not sort them, since the last
51648 # AC_DEFINE must be honored.
51649 ac_word_re
=[_
$as_cr_Letters][_
$as_cr_alnum]*
51650 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
51651 # NAME is the cpp macro being defined, VALUE is the value it is being given.
51652 # PARAMS is the parameter list in the macro definition--in most cases, it's
51653 # just an empty string.
51654 ac_dA
='s,^\\([ #]*\\)[^ ]*\\([ ]*'
51655 ac_dB
='\\)[ (].*,\\1define\\2'
51663 s/^[ ]*#[ ]*define[ ][ ]*//
51668 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
51669 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
51670 ' >>conftest.defines
51672 # Remove the space that was appended to ease matching.
51673 # Then replace #undef with comments. This is necessary, for
51674 # example, in the case of _POSIX_SOURCE, which is predefined and required
51675 # on some systems where configure will not decide to define it.
51676 # (The regexp can be short, since the line contains either #define or #undef.)
51678 s,^[ #]*u.*,/* & */,' >>conftest.defines
51680 # Break up conftest.defines:
51681 ac_max_sed_lines
=50
51683 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
51684 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
51685 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
51687 ac_in
='$ac_file_inputs'
51688 ac_out
='"$tmp/out1"'
51689 ac_nxt
='"$tmp/out2"'
51693 # Write a here document:
51694 cat >>$CONFIG_STATUS <<_ACEOF
51695 # First, check the format of the line:
51696 cat >"\$tmp/defines.sed" <<\\CEOF
51697 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
51698 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
51702 sed ${ac_max_sed_lines}q conftest.defines
>>$CONFIG_STATUS
51704 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
51705 ac_in
=$ac_out; ac_out
=$ac_nxt; ac_nxt
=$ac_in
51706 sed 1,${ac_max_sed_lines}d conftest.defines
>conftest.
tail
51707 grep . conftest.
tail >/dev
/null
|| break
51708 rm -f conftest.defines
51709 mv conftest.
tail conftest.defines
51711 rm -f conftest.defines conftest.
tail
51713 echo "ac_result=$ac_in" >>$CONFIG_STATUS
51714 cat >>$CONFIG_STATUS <<\_ACEOF
51715 if test x
"$ac_file" != x
-; then
51716 echo "/* $configure_input */" >"$tmp/config.h"
51717 cat "$ac_result" >>"$tmp/config.h"
51718 if diff $ac_file "$tmp/config.h" >/dev
/null
2>&1; then
51719 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
51720 echo "$as_me: $ac_file is unchanged" >&6;}
51723 mv "$tmp/config.h" $ac_file
51726 echo "/* $configure_input */"
51732 :C
) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
51733 echo "$as_me: executing $ac_file commands" >&6;}
51738 case $ac_file$ac_mode in
51740 mkdir -p $outdir &&
51741 $CPP $infile | sed 's/^# *[1-9].*//;s/^ *//;/./,/^$/!d' > $outdir/rcdefs.h
51743 "lib/wx/config/${TOOLCHAIN_FULLNAME}":F
) chmod +x lib
/wx
/config
/${TOOLCHAIN_FULLNAME} ;;
51744 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}":F
) chmod +x lib
/wx
/config
/inplace
-${TOOLCHAIN_FULLNAME} ;;
51745 "wx-config":C
) rm -f wx
-config
51746 ${LN_S} lib
/wx
/config
/inplace
-${TOOLCHAIN_FULLNAME} wx
-config
51753 { (exit 0); exit 0; }
51755 chmod +x
$CONFIG_STATUS
51756 ac_clean_files
=$ac_clean_files_save
51759 # configure is writing to config.log, and then calls config.status.
51760 # config.status does its own redirection, appending to config.log.
51761 # Unfortunately, on DOS this fails, as config.log is still kept open
51762 # by configure, so config.status won't be able to write to it; its
51763 # output is simply discarded. So we exec the FD to /dev/null,
51764 # effectively closing config.log, so it can be properly (re)opened and
51765 # appended to by config.status. When coming back to configure, we
51766 # need to make the FD available again.
51767 if test "$no_create" != yes; then
51769 ac_config_status_args
=
51770 test "$silent" = yes &&
51771 ac_config_status_args
="$ac_config_status_args --quiet"
51773 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
51775 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
51776 # would make configure fail if this is the last instruction.
51777 $ac_cs_success || { (exit 1); exit 1; }
51781 # CONFIG_SUBDIRS section.
51783 if test "$no_recursion" != yes; then
51785 # Remove --cache-file and --srcdir arguments so they do not pile up.
51786 ac_sub_configure_args
=
51788 eval "set x $ac_configure_args"
51792 if test -n "$ac_prev"; then
51797 -cache-file | --cache-file | --cache-fil | --cache-fi \
51798 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
51799 ac_prev
=cache_file
;;
51800 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
51801 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
51804 --config-cache | -C)
51806 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
51808 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
51810 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
51812 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
51816 *\'*) ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
51818 ac_sub_configure_args
="$ac_sub_configure_args '$ac_arg'" ;;
51822 # Always prepend --prefix to ensure using the same prefix
51823 # in subdir configurations.
51824 ac_arg
="--prefix=$prefix"
51826 *\'*) ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
51828 ac_sub_configure_args
="'$ac_arg' $ac_sub_configure_args"
51831 if test "$silent" = yes; then
51832 ac_sub_configure_args
="--silent $ac_sub_configure_args"
51836 for ac_dir
in : $subdirs; do test "x$ac_dir" = x
: && continue
51838 # Do not complain, so a configure script can configure whichever
51839 # parts of a large source tree are present.
51840 test -d "$srcdir/$ac_dir" || continue
51842 ac_msg
="=== configuring in $ac_dir (`pwd`/$ac_dir)"
51843 echo "$as_me:$LINENO: $ac_msg" >&5
51847 -*) as_dir
=.
/$as_dir;;
51849 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
51853 *\'*) as_qdir
=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
51854 *) as_qdir
=$as_dir;;
51856 as_dirs
="'$as_qdir' $as_dirs"
51857 as_dir
=`$as_dirname -- "$as_dir" ||
51858 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
51859 X"$as_dir" : 'X\(//\)[^/]' \| \
51860 X"$as_dir" : 'X\(//\)$' \| \
51861 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
51863 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
51867 /^X\(\/\/\)[^/].*/{
51880 test -d "$as_dir" && break
51882 test -z "$as_dirs" || eval "mkdir $as_dirs"
51883 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
51884 echo "$as_me: error: cannot create directory $as_dir" >&2;}
51885 { (exit 1); exit 1; }; }; }
51889 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
51891 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
51892 # A ".." for each directory in $ac_dir_suffix.
51893 ac_top_builddir_sub
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
51894 case $ac_top_builddir_sub in
51895 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
51896 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
51899 ac_abs_top_builddir
=$ac_pwd
51900 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
51901 # for backward compatibility:
51902 ac_top_builddir
=$ac_top_build_prefix
51905 .
) # We are building in place.
51907 ac_top_srcdir
=$ac_top_builddir_sub
51908 ac_abs_top_srcdir
=$ac_pwd ;;
51909 [\\/]* | ?
:[\\/]* ) # Absolute name.
51910 ac_srcdir
=$srcdir$ac_dir_suffix;
51911 ac_top_srcdir
=$srcdir
51912 ac_abs_top_srcdir
=$srcdir ;;
51913 *) # Relative name.
51914 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
51915 ac_top_srcdir
=$ac_top_build_prefix$srcdir
51916 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
51918 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
51923 # Check for guested configure; otherwise get Cygnus style configure.
51924 if test -f "$ac_srcdir/configure.gnu"; then
51925 ac_sub_configure
=$ac_srcdir/configure.gnu
51926 elif test -f "$ac_srcdir/configure"; then
51927 ac_sub_configure
=$ac_srcdir/configure
51928 elif test -f "$ac_srcdir/configure.in"; then
51929 # This should be Cygnus configure.
51930 ac_sub_configure
=$ac_aux_dir/configure
51932 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
51933 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
51937 # The recursion is here.
51938 if test -n "$ac_sub_configure"; then
51939 # Make the cache file name correct relative to the subdirectory.
51940 case $cache_file in
51941 [\\/]* | ?
:[\\/]* ) ac_sub_cache_file
=$cache_file ;;
51942 *) # Relative name.
51943 ac_sub_cache_file
=$ac_top_build_prefix$cache_file ;;
51946 { echo "$as_me:$LINENO: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
51947 echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
51948 # The eval makes quoting arguments work.
51949 eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
51950 --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
51951 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
51952 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
51953 { (exit 1); exit 1; }; }
51962 echo "Configured wxWidgets ${WX_VERSION} for \`${host}'"
51964 echo " Which GUI toolkit should wxWidgets use? ${TOOLKIT_DESC}"
51965 echo " Should wxWidgets be compiled into single library? ${wxUSE_MONOLITHIC:-yes}"
51967 echo " Should wxWidgets be compiled in debug mode? ${wxUSE_DEBUG:-no}"
51968 echo " Should wxWidgets be linked as a shared library? ${wxUSE_SHARED:-no}"
51969 echo $ECHO_N " Should wxWidgets support Unicode? ${wxUSE_UNICODE:-no}$ECHO_C"
51970 if test "$wxUSE_UNICODE" = "yes"; then
51971 if test "$wxUSE_UNICODE_UTF8" = "yes"; then
51972 echo " (using UTF-8)"
51974 echo " (using wchar_t)"
51980 echo " What level of wxWidgets compatibility should be enabled?"
51981 echo " wxWidgets 2.6 ${WXWIN_COMPATIBILITY_2_6:-no}"
51982 echo " wxWidgets 2.8 ${WXWIN_COMPATIBILITY_2_8:-yes}"
51984 echo " Which libraries should wxWidgets use?"
51985 echo " STL ${wxUSE_STL}"
51986 echo " jpeg ${wxUSE_LIBJPEG-none}"
51987 echo " png ${wxUSE_LIBPNG-none}"
51988 echo " regex ${wxUSE_REGEX}"
51989 echo " tiff ${wxUSE_LIBTIFF-none}"
51990 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
51991 echo " xpm ${wxUSE_LIBXPM-none}"
51993 echo " zlib ${wxUSE_ZLIB}"
51994 echo " expat ${wxUSE_EXPAT}"
51995 echo " libmspack ${wxUSE_LIBMSPACK}"
51996 echo " sdl ${wxUSE_LIBSDL}"