2 # From configure.in Id: configure.in 51537 2008-02-04 00:16:33Z VZ .
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
876 COND_PLATFORM_MSDOS_0
877 COND_PLATFORM_MSDOS_1
881 COND_PLATFORM_UNIX_1_TOOLKIT_MGL
882 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1
883 COND_PLATFORM_UNIX_1_USE_GUI_1
884 COND_PLATFORM_UNIX_1_USE_PLUGINS_0
885 COND_PLATFORM_WIN32_0
886 COND_PLATFORM_WIN32_1
888 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0
889 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0
890 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0
891 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
892 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
893 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
894 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
895 COND_SHARED_0_USE_STC_1
896 COND_SHARED_0_WXUSE_EXPAT_BUILTIN
897 COND_SHARED_0_WXUSE_REGEX_BUILTIN
898 COND_SHARED_0_WXUSE_ZLIB_BUILTIN
900 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
903 COND_TOOLKIT_COCOA_USE_GUI_1
904 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
906 COND_TOOLKIT_DFB_USE_GUI_1
908 COND_TOOLKIT_GTK_TOOLKIT_VERSION_
909 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2
910 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1
911 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0
912 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_WXUNIV_0
913 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1
914 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0
915 COND_TOOLKIT_GTK_USE_GUI_1
917 COND_TOOLKIT_MAC_USE_GUI_1
918 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0
920 COND_TOOLKIT_MGL_USE_GUI_1
922 COND_TOOLKIT_MOTIF_USE_GUI_1
923 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
925 COND_TOOLKIT_MSW_USE_GUI_1
926 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
927 COND_TOOLKIT_MSW_WXUNIV_0
929 COND_TOOLKIT_PM_USE_GUI_1
930 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
932 COND_TOOLKIT_WINCE_USE_GUI_1
933 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0
934 COND_TOOLKIT_WINCE_WXUNIV_0
936 COND_TOOLKIT_X11_USE_GUI_1
938 COND_USE_EXCEPTIONS_0
939 COND_USE_EXCEPTIONS_1
942 COND_USE_GUI_1_USE_OPENGL_1
943 COND_USE_GUI_1_WXUNIV_0
944 COND_USE_GUI_1_WXUNIV_1
945 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
946 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
947 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
953 COND_USE_SOSYMLINKS_1
954 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1
955 COND_USE_SOVERLINUX_1
957 COND_USE_SOVERSOLARIS_1
962 COND_WINDOWS_IMPLIB_1
963 COND_WITH_PLUGIN_SDL_1
966 COND_WXUSE_EXPAT_BUILTIN
967 COND_WXUSE_LIBJPEG_BUILTIN
968 COND_WXUSE_LIBPNG_BUILTIN
969 COND_WXUSE_LIBTIFF_BUILTIN
970 COND_WXUSE_REGEX_BUILTIN
971 COND_WXUSE_ZLIB_BUILTIN
974 WX_LIBRARY_BASENAME_NOGUI
975 WX_LIBRARY_BASENAME_GUI
1007 WX_RESOURCES_MACOSX_ASCII
1008 WX_RESOURCES_MACOSX_DATA
1018 ac_precious_vars
='build_alias
1042 LIBGNOMEPRINTUI_CFLAGS
1043 LIBGNOMEPRINTUI_LIBS
1052 ac_subdirs_all
='src/tiff
1055 # Initialize some variables set by options.
1057 ac_init_version
=false
1058 # The variables have the same names as the options, with
1059 # dashes changed to underlines.
1060 cache_file
=/dev
/null
1067 program_transform_name
=s
,x
,x
,
1075 # Installation directory options.
1076 # These are left unexpanded so users can "make install exec_prefix=/foo"
1077 # and all the variables that are supposed to be based on exec_prefix
1078 # by default will actually change.
1079 # Use braces instead of parens because sh, perl, etc. also accept them.
1080 # (The list follows the same order as the GNU Coding Standards.)
1081 bindir
='${exec_prefix}/bin'
1082 sbindir
='${exec_prefix}/sbin'
1083 libexecdir
='${exec_prefix}/libexec'
1084 datarootdir
='${prefix}/share'
1085 datadir
='${datarootdir}'
1086 sysconfdir
='${prefix}/etc'
1087 sharedstatedir
='${prefix}/com'
1088 localstatedir
='${prefix}/var'
1089 includedir
='${prefix}/include'
1090 oldincludedir
='/usr/include'
1091 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
1092 infodir
='${datarootdir}/info'
1097 libdir
='${exec_prefix}/lib'
1098 localedir
='${datarootdir}/locale'
1099 mandir
='${datarootdir}/man'
1105 # If the previous option needs an argument, assign it.
1106 if test -n "$ac_prev"; then
1107 eval $ac_prev=\
$ac_option
1113 *=*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1117 # Accept the important Cygnus configure options, so we can diagnose typos.
1119 case $ac_dashdash$ac_option in
1123 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1125 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1126 bindir
=$ac_optarg ;;
1128 -build | --build | --buil | --bui | --bu)
1129 ac_prev
=build_alias
;;
1130 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1131 build_alias
=$ac_optarg ;;
1133 -cache-file | --cache-file | --cache-fil | --cache-fi \
1134 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1135 ac_prev
=cache_file
;;
1136 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1137 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1138 cache_file
=$ac_optarg ;;
1140 --config-cache | -C)
1141 cache_file
=config.cache
;;
1143 -datadir | --datadir | --datadi | --datad)
1145 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1146 datadir
=$ac_optarg ;;
1148 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1149 | --dataroo | --dataro | --datar)
1150 ac_prev
=datarootdir
;;
1151 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1152 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1153 datarootdir
=$ac_optarg ;;
1155 -disable-* | --disable-*)
1156 ac_feature
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1157 # Reject names that are not valid shell variable names.
1158 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1159 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1160 { (exit 1); exit 1; }; }
1161 ac_feature
=`echo $ac_feature | sed 's/[-.]/_/g'`
1162 eval enable_
$ac_feature=no
;;
1164 -docdir | --docdir | --docdi | --doc | --do)
1166 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1167 docdir
=$ac_optarg ;;
1169 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1171 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1172 dvidir
=$ac_optarg ;;
1174 -enable-* | --enable-*)
1175 ac_feature
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1176 # Reject names that are not valid shell variable names.
1177 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1178 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1179 { (exit 1); exit 1; }; }
1180 ac_feature
=`echo $ac_feature | sed 's/[-.]/_/g'`
1181 eval enable_
$ac_feature=\
$ac_optarg ;;
1183 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1184 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1185 | --exec | --exe | --ex)
1186 ac_prev
=exec_prefix
;;
1187 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1188 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1189 | --exec=* | --exe=* | --ex=*)
1190 exec_prefix
=$ac_optarg ;;
1192 -gas | --gas | --ga | --g)
1193 # Obsolete; use --with-gas.
1196 -help | --help | --hel | --he | -h)
1197 ac_init_help
=long
;;
1198 -help=r
* | --help=r
* | --hel=r
* | --he=r
* | -hr*)
1199 ac_init_help
=recursive
;;
1200 -help=s
* | --help=s
* | --hel=s
* | --he=s
* | -hs*)
1201 ac_init_help
=short
;;
1203 -host | --host | --hos | --ho)
1204 ac_prev
=host_alias
;;
1205 -host=* | --host=* | --hos=* | --ho=*)
1206 host_alias
=$ac_optarg ;;
1208 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1210 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1212 htmldir
=$ac_optarg ;;
1214 -includedir | --includedir | --includedi | --included | --include \
1215 | --includ | --inclu | --incl | --inc)
1216 ac_prev
=includedir
;;
1217 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1218 | --includ=* | --inclu=* | --incl=* | --inc=*)
1219 includedir
=$ac_optarg ;;
1221 -infodir | --infodir | --infodi | --infod | --info | --inf)
1223 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1224 infodir
=$ac_optarg ;;
1226 -libdir | --libdir | --libdi | --libd)
1228 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1229 libdir
=$ac_optarg ;;
1231 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1232 | --libexe | --libex | --libe)
1233 ac_prev
=libexecdir
;;
1234 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1235 | --libexe=* | --libex=* | --libe=*)
1236 libexecdir
=$ac_optarg ;;
1238 -localedir | --localedir | --localedi | --localed | --locale)
1239 ac_prev
=localedir
;;
1240 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1241 localedir
=$ac_optarg ;;
1243 -localstatedir | --localstatedir | --localstatedi | --localstated \
1244 | --localstate | --localstat | --localsta | --localst | --locals)
1245 ac_prev
=localstatedir
;;
1246 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1247 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1248 localstatedir
=$ac_optarg ;;
1250 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1252 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1253 mandir
=$ac_optarg ;;
1255 -nfp | --nfp | --nf)
1256 # Obsolete; use --without-fp.
1259 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1260 | --no-cr | --no-c | -n)
1263 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1264 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1267 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1268 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1269 | --oldin | --oldi | --old | --ol | --o)
1270 ac_prev
=oldincludedir
;;
1271 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1272 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1273 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1274 oldincludedir
=$ac_optarg ;;
1276 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1278 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1279 prefix
=$ac_optarg ;;
1281 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1282 | --program-pre | --program-pr | --program-p)
1283 ac_prev
=program_prefix
;;
1284 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1285 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1286 program_prefix
=$ac_optarg ;;
1288 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1289 | --program-suf | --program-su | --program-s)
1290 ac_prev
=program_suffix
;;
1291 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1292 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1293 program_suffix
=$ac_optarg ;;
1295 -program-transform-name | --program-transform-name \
1296 | --program-transform-nam | --program-transform-na \
1297 | --program-transform-n | --program-transform- \
1298 | --program-transform | --program-transfor \
1299 | --program-transfo | --program-transf \
1300 | --program-trans | --program-tran \
1301 | --progr-tra | --program-tr | --program-t)
1302 ac_prev
=program_transform_name
;;
1303 -program-transform-name=* | --program-transform-name=* \
1304 | --program-transform-nam=* | --program-transform-na=* \
1305 | --program-transform-n=* | --program-transform-=* \
1306 | --program-transform=* | --program-transfor=* \
1307 | --program-transfo=* | --program-transf=* \
1308 | --program-trans=* | --program-tran=* \
1309 | --progr-tra=* | --program-tr=* | --program-t=*)
1310 program_transform_name
=$ac_optarg ;;
1312 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1314 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1315 pdfdir
=$ac_optarg ;;
1317 -psdir | --psdir | --psdi | --psd | --ps)
1319 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1322 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1323 | -silent | --silent | --silen | --sile | --sil)
1326 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1328 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1330 sbindir
=$ac_optarg ;;
1332 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1333 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1334 | --sharedst | --shareds | --shared | --share | --shar \
1336 ac_prev
=sharedstatedir
;;
1337 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1338 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1339 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1341 sharedstatedir
=$ac_optarg ;;
1343 -site | --site | --sit)
1345 -site=* | --site=* | --sit=*)
1348 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1350 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1351 srcdir
=$ac_optarg ;;
1353 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1354 | --syscon | --sysco | --sysc | --sys | --sy)
1355 ac_prev
=sysconfdir
;;
1356 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1357 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1358 sysconfdir
=$ac_optarg ;;
1360 -target | --target | --targe | --targ | --tar | --ta | --t)
1361 ac_prev
=target_alias
;;
1362 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1363 target_alias
=$ac_optarg ;;
1365 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1368 -version | --version | --versio | --versi | --vers | -V)
1369 ac_init_version
=: ;;
1372 ac_package
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1373 # Reject names that are not valid shell variable names.
1374 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1375 { echo "$as_me: error: invalid package name: $ac_package" >&2
1376 { (exit 1); exit 1; }; }
1377 ac_package
=`echo $ac_package | sed 's/[-.]/_/g'`
1378 eval with_
$ac_package=\
$ac_optarg ;;
1380 -without-* | --without-*)
1381 ac_package
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1382 # Reject names that are not valid shell variable names.
1383 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1384 { echo "$as_me: error: invalid package name: $ac_package" >&2
1385 { (exit 1); exit 1; }; }
1386 ac_package
=`echo $ac_package | sed 's/[-.]/_/g'`
1387 eval with_
$ac_package=no
;;
1390 # Obsolete; use --with-x.
1393 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1394 | --x-incl | --x-inc | --x-in | --x-i)
1395 ac_prev
=x_includes
;;
1396 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1397 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1398 x_includes
=$ac_optarg ;;
1400 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1401 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1402 ac_prev
=x_libraries
;;
1403 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1404 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1405 x_libraries
=$ac_optarg ;;
1407 -*) { echo "$as_me: error: unrecognized option: $ac_option
1408 Try \`$0 --help' for more information." >&2
1409 { (exit 1); exit 1; }; }
1413 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1414 # Reject names that are not valid shell variable names.
1415 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
1416 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1417 { (exit 1); exit 1; }; }
1418 eval $ac_envvar=\
$ac_optarg
1419 export $ac_envvar ;;
1422 # FIXME: should be removed in autoconf 3.0.
1423 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1424 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1425 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1426 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1432 if test -n "$ac_prev"; then
1433 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1434 { echo "$as_me: error: missing argument to $ac_option" >&2
1435 { (exit 1); exit 1; }; }
1438 # Be sure to have absolute directory names.
1439 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1440 datadir sysconfdir sharedstatedir localstatedir includedir \
1441 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1442 libdir localedir mandir
1444 eval ac_val
=\$
$ac_var
1446 [\\/$
]* | ?
:[\\/]* ) continue;;
1447 NONE
| '' ) case $ac_var in *prefix
) continue;; esac;;
1449 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1450 { (exit 1); exit 1; }; }
1453 # There might be people who depend on the old broken behavior: `$host'
1454 # used to hold the argument of --host etc.
1455 # FIXME: To remove some day.
1458 target
=$target_alias
1460 # FIXME: To remove some day.
1461 if test "x$host_alias" != x
; then
1462 if test "x$build_alias" = x
; then
1463 cross_compiling
=maybe
1464 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1465 If a cross compiler is detected then cross compile mode will be used." >&2
1466 elif test "x$build_alias" != "x$host_alias"; then
1472 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1474 test "$silent" = yes && exec 6>/dev
/null
1477 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1478 ac_ls_di
=`ls -di .` &&
1479 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1480 { echo "$as_me: error: Working directory cannot be determined" >&2
1481 { (exit 1); exit 1; }; }
1482 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1483 { echo "$as_me: error: pwd does not report name of working directory" >&2
1484 { (exit 1); exit 1; }; }
1487 # Find the source files, if location was not specified.
1488 if test -z "$srcdir"; then
1489 ac_srcdir_defaulted
=yes
1490 # Try the directory containing this script, then the parent directory.
1491 ac_confdir
=`$as_dirname -- "$0" ||
1492 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1493 X"$0" : 'X\(//\)[^/]' \| \
1494 X"$0" : 'X\(//\)$' \| \
1495 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1497 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1515 if test ! -r "$srcdir/$ac_unique_file"; then
1519 ac_srcdir_defaulted
=no
1521 if test ! -r "$srcdir/$ac_unique_file"; then
1522 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1523 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1524 { (exit 1); exit 1; }; }
1526 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1528 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1529 { (exit 1); exit 1; }; }
1531 # When building in place, set srcdir=.
1532 if test "$ac_abs_confdir" = "$ac_pwd"; then
1535 # Remove unnecessary trailing slashes from srcdir.
1536 # Double slashes in file names in object file debugging info
1537 # mess up M-x gdb in Emacs.
1539 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1541 for ac_var
in $ac_precious_vars; do
1542 eval ac_env_
${ac_var}_set
=\
${${ac_var}+set}
1543 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1544 eval ac_cv_env_
${ac_var}_set
=\
${${ac_var}+set}
1545 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1549 # Report the --help message.
1551 if test "$ac_init_help" = "long"; then
1552 # Omit some internal or obsolete options to make the list less imposing.
1553 # This message is too long to be a string in the A/UX 3.1 sh.
1555 \`configure' configures wxWidgets 2.9.0 to adapt to many kinds of systems.
1557 Usage: $0 [OPTION]... [VAR=VALUE]...
1559 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1560 VAR=VALUE. See below for descriptions of some of the useful variables.
1562 Defaults for the options are specified in brackets.
1565 -h, --help display this help and exit
1566 --help=short display options specific to this package
1567 --help=recursive display the short help of all the included packages
1568 -V, --version display version information and exit
1569 -q, --quiet, --silent do not print \`checking...' messages
1570 --cache-file=FILE cache test results in FILE [disabled]
1571 -C, --config-cache alias for \`--cache-file=config.cache'
1572 -n, --no-create do not create output files
1573 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1575 Installation directories:
1576 --prefix=PREFIX install architecture-independent files in PREFIX
1577 [$ac_default_prefix]
1578 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1581 By default, \`make install' will install all the files in
1582 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1583 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1584 for instance \`--prefix=\$HOME'.
1586 For better control, use the options below.
1588 Fine tuning of the installation directories:
1589 --bindir=DIR user executables [EPREFIX/bin]
1590 --sbindir=DIR system admin executables [EPREFIX/sbin]
1591 --libexecdir=DIR program executables [EPREFIX/libexec]
1592 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1593 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1594 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1595 --libdir=DIR object code libraries [EPREFIX/lib]
1596 --includedir=DIR C header files [PREFIX/include]
1597 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1598 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1599 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1600 --infodir=DIR info documentation [DATAROOTDIR/info]
1601 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1602 --mandir=DIR man documentation [DATAROOTDIR/man]
1603 --docdir=DIR documentation root [DATAROOTDIR/doc/wxwidgets]
1604 --htmldir=DIR html documentation [DOCDIR]
1605 --dvidir=DIR dvi documentation [DOCDIR]
1606 --pdfdir=DIR pdf documentation [DOCDIR]
1607 --psdir=DIR ps documentation [DOCDIR]
1613 --x-includes=DIR X include files are
in DIR
1614 --x-libraries=DIR X library files are
in DIR
1617 --build=BUILD configure
for building on BUILD
[guessed
]
1618 --host=HOST cross
-compile to build programs to run on HOST
[BUILD
]
1619 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
1623 if test -n "$ac_init_help"; then
1624 case $ac_init_help in
1625 short
| recursive
) echo "Configuration of wxWidgets 2.9.0:";;
1630 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1631 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1632 --disable-gui don
't build GUI parts of the library
1633 --enable-monolithic build wxWidgets as single library
1634 --enable-plugins build parts of wxWidgets as loadable components
1635 --enable-official_build official build of wxWidgets (win32 DLL only)
1636 --enable-vendor=VENDOR vendor name (win32 DLL only)
1637 --disable-all-features disable all optional features to build minimal library
1638 --enable-universal use wxWidgets GUI controls instead of native ones
1639 --enable-nanox use NanoX
1640 --disable-gtk2 use GTK+ 1.2 instead of 2.0
1641 --enable-gpe use GNOME PDA Environment features if possible
1642 --disable-shared create static library instead of shared
1643 --disable-optimise create optimised code
1644 --enable-debug same as debug_flag and debug_info
1645 --enable-stl use STL for containers
1646 --enable-std_iostreams use standard C++ stream classes
1647 --enable-std_string use standard C++ string classes
1648 --disable-unicode compile without Unicode support
1649 --enable-mslu use MS Layer for Unicode on Windows 9x (Win32 only)
1650 --enable-utf8 use UTF-8 representation for strings (Unix only)
1651 --enable-utf8only only support UTF-8 locales in UTF-8 build (Unix only)
1652 --enable-extended_rtti use extended RTTI (XTI)
1653 --enable-omf use OMF object format
1654 --enable-debug_flag set __WXDEBUG__ flag (recommended for developers!)
1655 --enable-debug_info create code with debugging information
1656 --enable-debug_gdb create code with extra GDB debugging information
1657 --enable-debug_cntxt use wxDebugContext
1658 --enable-mem_tracing create code with memory tracing
1659 --enable-profile create code with profiling information
1660 --enable-no_rtti create code without RTTI information
1661 --enable-no_exceptions create code without C++ exceptions handling
1662 --enable-permissive compile code disregarding strict ANSI
1663 --enable-no_deps create code without dependency information
1664 --disable-vararg_macros don't use vararg macros
, even
if they are supported
1665 --enable-universal_binary create Mac PowerPC and Intel Universal binary
1666 --enable-compat26 enable wxWidgets
2.6 compatibility
1667 --disable-compat28 disable wxWidgets
2.8 compatibility
1668 --disable-rpath disable use of rpath
for uninstalled builds
1669 --enable-objc_uniquifying enable Objective
-C class name uniquifying
1670 --disable-visibility disable use of ELF symbols visibility even
if supported
1671 --enable-intl use internationalization system
1672 --enable-config use wxConfig
(and derived
) classes
1673 --enable-protocols use wxProtocol and derived classes
1674 --enable-ftp use wxFTP
(requires wxProtocol
1675 --enable-http use wxHTTP
(requires wxProtocol
1676 --enable-fileproto use wxFileProto class
(requires wxProtocol
1677 --enable-sockets use socket
/network classes
1678 --enable-ipv6 enable IPv6 support
in wxSocket
1679 --enable-ole use OLE classes
(Win32 only
)
1680 --enable-dataobj use data object classes
1681 --enable-ipc use interprocess communication
(wxSocket etc.
)
1682 --enable-baseevtloop use event loop
in console programs too
1683 --enable-epollloop use wxEpollDispatcher class
(Linux only
)
1684 --enable-selectloop use wxSelectDispatcher class
1685 --enable-apple_ieee use the Apple IEEE codec
1686 --enable-arcstream use wxArchive streams
1687 --enable-base64 use base64 encoding
/decoding functions
1688 --enable-backtrace use wxStackWalker class
for getting backtraces
1689 --enable-catch_segvs catch signals
in wxApp
::OnFatalException
(Unix only
)
1690 --enable-cmdline use wxCmdLineParser class
1691 --enable-datetime use wxDateTime class
1692 --enable-debugreport use wxDebugReport class
1693 --enable-dialupman use dialup network classes
1694 --enable-dynlib use wxLibrary class
for DLL loading
1695 --enable-dynamicloader use
(new
) wxDynamicLibrary class
1696 --enable-exceptions build exception
-safe library
1697 --enable-ffile use wxFFile class
1698 --enable-file use wxFile class
1699 --enable-filesystem use virtual
file systems classes
1700 --enable-fontenum use wxFontEnumerator class
1701 --enable-fontmap use font encodings conversion classes
1702 --enable-fs_archive use virtual archive filesystems
1703 --enable-fs_inet use virtual HTTP
/FTP filesystems
1704 --enable-fs_zip now replaced by fs_archive
1705 --enable-geometry use geometry class
1706 --enable-log use logging system
1707 --enable-longlong use wxLongLong class
1708 --enable-mimetype use wxMimeTypesManager
1709 --enable-snglinst use wxSingleInstanceChecker class
1710 --enable-stdpaths use wxStandardPaths class
1711 --enable-stopwatch use wxStopWatch class
1712 --enable-streams use wxStream etc classes
1713 --enable-sysoptions use wxSystemOptions
1714 --enable-tarstream use wxTar streams
1715 --enable-textbuf use wxTextBuffer class
1716 --enable-textfile use wxTextFile class
1717 --enable-timer use wxTimer class
1718 --enable-sound use wxSound class
1719 --enable-mediactrl use wxMediaCtrl class
1720 --enable-gstreamer8 force GStreamer
0.8 instead of
0.10 with the wxMediaCtrl class on unix
1721 --enable-printfposparam use wxVsnprintf
() which supports positional parameters
1722 --enable-zipstream use wxZip streams
1723 --enable-url use wxURL class
1724 --enable-variant use wxVariant class
1725 --enable-protocol use wxProtocol class
1726 --enable-protocol-http HTTP support
in wxProtocol
1727 --enable-protocol-ftp FTP support
in wxProtocol
1728 --enable-protocol-file FILE support
in wxProtocol
1729 --enable-threads use threads
1730 --enable-iniconf use wxIniConfig
(Win32 only
)
1731 --enable-regkey use wxRegKey class
(Win32 only
)
1732 --enable-docview use document view architecture
1733 --enable-help use
help subsystem
1734 --enable-mshtmlhelp use MS HTML Help
(win32
)
1735 --enable-html use wxHTML sub
-library
1736 --enable-htmlhelp use wxHTML
-based help
1737 --enable-xrc use XRC resources sub
-library
1738 --enable-aui use AUI docking library
1739 --enable-stc use wxStyledTextCtrl library
1740 --enable-constraints use layout
-constraints system
1741 --enable-printarch use printing architecture
1742 --enable-mdi use multiple document interface architecture
1743 --enable-mdidoc use docview architecture with MDI
1744 --enable-loggui use standard GUI logger
1745 --enable-logwin use wxLogWindow
1746 --enable-logdialog use wxLogDialog
1747 --enable-webkit use wxWebKitCtrl
(Mac
)
1748 --enable-richtext use wxRichTextCtrl
1749 --enable-graphics_ctx use graphics context
2D drawing API
1750 --enable-postscript use wxPostscriptDC device context
(default
for gtk
+)
1751 --enable-svg use wxSVGFileDC device context
1752 --enable-clipboard use wxClipboard class
1753 --enable-dnd use Drag
'n'Drop classes
1754 --enable-metafile use win32 metafiles
1755 --disable-controls disable compilation of all standard controls
1756 --enable-accel use accelerators
1757 --enable-animatectrl use wxAnimationCtrl class
1758 --enable-button use wxButton class
1759 --enable-bmpbutton use wxBitmapButton class
1760 --enable-bmpcombobox use wxBitmapComboBox class
1761 --enable-calendar use wxCalendarCtrl class
1762 --enable-caret use wxCaret class
1763 --enable-checkbox use wxCheckBox class
1764 --enable-checklst use wxCheckListBox
(listbox with checkboxes
) class
1765 --enable-choice use wxChoice class
1766 --enable-choicebook use wxChoicebook class
1767 --enable-collpane use wxCollapsiblePane class
1768 --enable-colourpicker use wxColourPickerCtrl class
1769 --enable-combobox use wxComboBox class
1770 --enable-comboctrl use wxComboCtrl class
1771 --enable-datepick use wxDatePickerCtrl class
1772 --enable-dirpicker use wxDirPickerCtrl class
1773 --enable-display use wxDisplay class
1774 --enable-detect_sm use code to detect X11 session manager
1775 --enable-editablebox use wxEditableListBox class
1776 --enable-filepicker use wxFilePickerCtrl class
1777 --enable-filectrl use wxFileCtrl class
1778 --enable-fontpicker use wxFontPickerCtrl class
1779 --enable-gauge use wxGauge class
1780 --enable-grid use wxGrid class
1781 --enable-dataviewctrl use wxDataViewCtrl class
1782 --enable-hyperlink use wxHyperlinkCtrl class
1783 --enable-imaglist use wxImageList class
1784 --enable-listbook use wxListbook class
1785 --enable-listbox use wxListBox class
1786 --enable-listctrl use wxListCtrl class
1787 --enable-notebook use wxNotebook class
1788 --enable-notifmsg use wxNotificationMessage class
1789 --enable-odcombobox use wxOwnerDrawnComboBox class
1790 --enable-radiobox use wxRadioBox class
1791 --enable-radiobtn use wxRadioButton class
1792 --enable-sash use wxSashWindow class
1793 --enable-scrollbar use wxScrollBar class and scrollable windows
1794 --enable-searchctrl use wxSearchCtrl class
1795 --enable-slider use wxSlider class
1796 --enable-spinbtn use wxSpinButton class
1797 --enable-spinctrl use wxSpinCtrl class
1798 --enable-splitter use wxSplitterWindow class
1799 --enable-statbmp use wxStaticBitmap class
1800 --enable-statbox use wxStaticBox class
1801 --enable-statline use wxStaticLine class
1802 --enable-stattext use wxStaticText class
1803 --enable-statusbar use wxStatusBar class
1804 --enable-tabdialog use wxTabControl class
1805 --enable-taskbaricon use wxTaskBarIcon class
1806 --enable-textctrl use wxTextCtrl class
1807 --enable-togglebtn use wxToggleButton class
1808 --enable-toolbar use wxToolBar class
1809 --enable-tbarnative use native wxToolBar class
1810 --enable-treebook use wxTreebook class
1811 --enable-toolbook use wxToolbook class
1812 --enable-treectrl use wxTreeCtrl class
1813 --enable-tipwindow use wxTipWindow class
1814 --enable-popupwin use wxPopUpWindow class
1815 --enable-commondlg use all common dialogs
1816 --enable-aboutdlg use wxAboutBox
1817 --enable-choicedlg use wxChoiceDialog
1818 --enable-coldlg use wxColourDialog
1819 --enable-filedlg use wxFileDialog
1820 --enable-finddlg use wxFindReplaceDialog
1821 --enable-fontdlg use wxFontDialog
1822 --enable-dirdlg use wxDirDialog
1823 --enable-msgdlg use wxMessageDialog
1824 --enable-numberdlg use wxNumberEntryDialog
1825 --enable-splash use wxSplashScreen
1826 --enable-textdlg use wxTextDialog
1827 --enable-tipdlg use startup tips
1828 --enable-progressdlg use wxProgressDialog
1829 --enable-wizarddlg use wxWizard
1830 --enable-menus use wxMenu
/wxMenuBar
/wxMenuItem classes
1831 --enable-miniframe use wxMiniFrame class
1832 --enable-tooltips use wxToolTip class
1833 --enable-splines use spline drawing code
1834 --enable-mousewheel use mousewheel
1835 --enable-validators use wxValidator and derived classes
1836 --enable-busyinfo use wxBusyInfo
1837 --enable-joystick use wxJoystick
1838 --enable-metafiles use wxMetaFile
(Win32 only
)
1839 --enable-dragimage use wxDragImage
1840 --enable-accessibility enable accessibility support
1841 --enable-palette use wxPalette class
1842 --enable-image use wxImage class
1843 --enable-gif use gif images
(GIF
file format
)
1844 --enable-pcx use pcx images
(PCX
file format
)
1845 --enable-tga use tga images
(TGA
file format
)
1846 --enable-iff use iff images
(IFF
file format
)
1847 --enable-pnm use pnm images
(PNM
file format
)
1848 --enable-xpm use xpm images
(XPM
file format
)
1849 --enable-ico_cur use Windows ICO and CUR formats
1850 --enable-dccache cache temporary wxDC objects
(Win32 only
)
1851 --enable-ps-in-msw use PS printing
in wxMSW
(Win32 only
)
1852 --enable-ownerdrawn use owner drawn controls
(Win32 and OS
/2 only
)
1853 --enable-uxtheme enable support
for Windows XP themed
look (Win32 only
)
1854 --enable-wxdib use wxDIB class
(Win32 only
)
1855 --enable-autoidman use automatic ids management
1856 --disable-largefile omit support
for large files
1857 --disable-gtktest do not try to compile and run a
test GTK
+ program
1858 --disable-gtktest Do not try to compile and run a
test GTK program
1859 --disable-sdltest Do not try to compile and run a
test SDL program
1860 --enable-omf use OMF object format
(OS
/2)
1861 --disable-dependency-tracking
1862 don
't use dependency tracking even if the compiler
1864 --disable-precomp-headers
1865 don't use precompiled headers even
if compiler can
1868 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1869 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1870 --without-subdirs don
't generate makefiles for samples/demos/...
1871 --with-flavour=NAME specify a name to identify this build
1872 --with-themes=all|list use only the specified comma-separated list of wxUniversal themes
1873 --with-gtk[=VERSION] use GTK+, VERSION can be 2 (default), 1 or "any"
1874 --with-motif use Motif/Lesstif
1875 --with-mac use Mac OS X
1876 --with-cocoa use Cocoa
1877 --with-wine use Wine
1878 --with-msw use MS-Windows
1879 --with-pm use OS/2 Presentation Manager
1880 --with-mgl use SciTech MGL
1881 --with-directfb use DirectFB
1882 --with-microwin use MicroWindows
1884 --with-libpng use libpng (PNG image format)
1885 --with-libjpeg use libjpeg (JPEG file format)
1886 --with-libtiff use libtiff (TIFF file format)
1887 --with-libxpm use libxpm (XPM file format)
1888 --with-libiconv use libiconv (character conversion)
1889 --with-libmspack use libmspack (CHM help files loading)
1890 --without-gtkprint don't use GTK printing support
1891 --without-gnomeprint don
't use GNOME printing libraries
1892 --with-gnomevfs use GNOME VFS for associating MIME types
1893 --with-hildon use Hildon framework for Nokia 770
1894 --with-opengl use OpenGL (or Mesa)
1895 --with-dmalloc use dmalloc library (http://dmalloc.com/)
1896 --with-sdl use SDL for audio on Unix
1897 --with-regex enable support for wxRegEx class
1898 --with-zlib use zlib for LZW compression
1899 --with-expat enable XML support using expat parser
1900 --with-macosx-sdk=PATH use an OS X SDK at PATH
1901 --with-macosx-version-min=VER build binaries which require at least this OS X version
1902 --with-gtk-prefix=PFX Prefix where GTK is installed (optional)
1903 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)
1904 --with-x use the X Window System
1905 --with-libiconv-prefix=DIR search for libiconv in DIR/include and DIR/lib
1906 --with-sdl-prefix=PFX Prefix where SDL is installed (optional)
1907 --with-sdl-exec-prefix=PFX Exec prefix where SDL is installed (optional)
1908 --with-cppunit-prefix=PFX Prefix where CppUnit is installed (optional)
1909 --with-cppunit-exec-prefix=PFX Exec prefix where CppUnit is installed (optional)
1911 Some influential environment variables:
1912 CC C compiler command
1913 CFLAGS C compiler flags
1914 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1915 nonstandard directory <lib dir>
1916 LIBS libraries to pass to the linker, e.g. -l<library>
1917 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1918 you have headers in a nonstandard directory <include dir>
1920 CXX C++ compiler command
1921 CXXFLAGS C++ compiler flags
1922 PKG_CONFIG path to pkg-config utility
1924 C compiler flags for DIRECTFB, overriding pkg-config
1926 linker flags for DIRECTFB, overriding pkg-config
1927 XMKMF Path to xmkmf, Makefile generator for X Window System
1929 C compiler flags for PANGOX, overriding pkg-config
1930 PANGOX_LIBS linker flags for PANGOX, overriding pkg-config
1932 C compiler flags for PANGOFT2, overriding pkg-config
1934 linker flags for PANGOFT2, overriding pkg-config
1936 C compiler flags for PANGOXFT, overriding pkg-config
1938 linker flags for PANGOXFT, overriding pkg-config
1940 C compiler flags for GTKPRINT, overriding pkg-config
1942 linker flags for GTKPRINT, overriding pkg-config
1943 LIBGNOMEPRINTUI_CFLAGS
1944 C compiler flags for LIBGNOMEPRINTUI, overriding pkg-config
1945 LIBGNOMEPRINTUI_LIBS
1946 linker flags for LIBGNOMEPRINTUI, overriding pkg-config
1948 C compiler flags for GNOMEVFS, overriding pkg-config
1950 linker flags for GNOMEVFS, overriding pkg-config
1952 C compiler flags for HILDON, overriding pkg-config
1953 HILDON_LIBS linker flags for HILDON, overriding pkg-config
1955 C compiler flags for CAIRO, overriding pkg-config
1956 CAIRO_LIBS linker flags for CAIRO, overriding pkg-config
1957 GST_CFLAGS C compiler flags for GST, overriding pkg-config
1958 GST_LIBS linker flags for GST, overriding pkg-config
1960 Use these variables to override the choices made by `configure' or to
help
1961 it to
find libraries and programs with nonstandard names
/locations.
1963 Report bugs to
<wx
-dev@lists.wxwidgets.org
>.
1968 if test "$ac_init_help" = "recursive"; then
1969 # If there are subdirs, report their specific --help.
1970 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
1971 test -d "$ac_dir" || continue
1975 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1977 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1978 # A ".." for each directory in $ac_dir_suffix.
1979 ac_top_builddir_sub
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1980 case $ac_top_builddir_sub in
1981 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1982 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
1985 ac_abs_top_builddir
=$ac_pwd
1986 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
1987 # for backward compatibility:
1988 ac_top_builddir
=$ac_top_build_prefix
1991 .
) # We are building in place.
1993 ac_top_srcdir
=$ac_top_builddir_sub
1994 ac_abs_top_srcdir
=$ac_pwd ;;
1995 [\\/]* | ?
:[\\/]* ) # Absolute name.
1996 ac_srcdir
=$srcdir$ac_dir_suffix;
1997 ac_top_srcdir
=$srcdir
1998 ac_abs_top_srcdir
=$srcdir ;;
2000 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
2001 ac_top_srcdir
=$ac_top_build_prefix$srcdir
2002 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
2004 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
2006 cd "$ac_dir" || { ac_status
=$?
; continue; }
2007 # Check for guested configure.
2008 if test -f "$ac_srcdir/configure.gnu"; then
2010 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2011 elif test -f "$ac_srcdir/configure"; then
2013 $SHELL "$ac_srcdir/configure" --help=recursive
2015 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2017 cd "$ac_pwd" || { ac_status
=$?
; break; }
2021 test -n "$ac_init_help" && exit $ac_status
2022 if $ac_init_version; then
2024 wxWidgets configure
2.9.0
2025 generated by GNU Autoconf
2.61
2027 Copyright
(C
) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
2028 2002, 2003, 2004, 2005, 2006 Free Software Foundation
, Inc.
2029 This configure
script is free software
; the Free Software Foundation
2030 gives unlimited permission to copy
, distribute and modify it.
2034 cat >config.log
<<_ACEOF
2035 This file contains any messages produced by compilers while
2036 running configure, to aid debugging if configure makes a mistake.
2038 It was created by wxWidgets $as_me 2.9.0, which was
2039 generated by GNU Autoconf 2.61. Invocation command line was
2051 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2052 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2053 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2054 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2055 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2057 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2058 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2060 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2061 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2062 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2063 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2064 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2065 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2066 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2070 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2074 test -z "$as_dir" && as_dir
=.
2075 echo "PATH: $as_dir"
2091 # Keep a trace of the command line.
2092 # Strip out --no-create and --no-recursion so they do not pile up.
2093 # Strip out --silent because we don't want to record it for future runs.
2094 # Also quote any args containing shell meta-characters.
2095 # Make two passes to allow for proper duplicate-argument suppression.
2099 ac_must_keep_next
=false
2105 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2106 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2107 | -silent | --silent | --silen | --sile | --sil)
2110 ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2113 1) ac_configure_args0
="$ac_configure_args0 '$ac_arg'" ;;
2115 ac_configure_args1
="$ac_configure_args1 '$ac_arg'"
2116 if test $ac_must_keep_next = true
; then
2117 ac_must_keep_next
=false
# Got value, back to normal.
2120 *=* | --config-cache | -C | -disable-* | --disable-* \
2121 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2122 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2123 | -with-* | --with-* | -without-* | --without-* | --x)
2124 case "$ac_configure_args0 " in
2125 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2128 -* ) ac_must_keep_next
=true
;;
2131 ac_configure_args
="$ac_configure_args '$ac_arg'"
2136 $as_unset ac_configure_args0
|| test "${ac_configure_args0+set}" != set || { ac_configure_args0
=; export ac_configure_args0
; }
2137 $as_unset ac_configure_args1
|| test "${ac_configure_args1+set}" != set || { ac_configure_args1
=; export ac_configure_args1
; }
2139 # When interrupted or exit'd, cleanup temporary files, and complete
2140 # config.log. We remove comments because anyway the quotes in there
2141 # would cause problems or look ugly.
2142 # WARNING: Use '\'' to represent an apostrophe within the trap.
2143 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2144 trap 'exit_status=$?
2145 # Save into config.log some information that might help in debugging.
2150 ## ---------------- ##
2151 ## Cache variables. ##
2152 ## ---------------- ##
2155 # The following way of writing the cache mishandles newlines in values,
2157 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2158 eval ac_val=\$$ac_var
2162 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
2163 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
2166 _ | IFS | as_nl) ;; #(
2167 *) $as_unset $ac_var ;;
2172 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2173 *${as_nl}ac_space=\ *)
2175 "s/'\''/'\''\\\\'\'''\''/g;
2176 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2179 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2187 ## ----------------- ##
2188 ## Output variables. ##
2189 ## ----------------- ##
2192 for ac_var in $ac_subst_vars
2194 eval ac_val=\$$ac_var
2196 *\'\''*) ac_val
=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2198 echo "$ac_var='\''$ac_val'\''"
2202 if test -n "$ac_subst_files"; then
2204 ## ------------------- ##
2205 ## File substitutions. ##
2206 ## ------------------- ##
2209 for ac_var
in $ac_subst_files
2211 eval ac_val
=\$
$ac_var
2213 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2215 echo "$ac_var='\''$ac_val'\''"
2220 if test -s confdefs.h; then
2230 test "$ac_signal" != 0 &&
2231 echo "$as_me: caught signal $ac_signal"
2232 echo "$as_me: exit $exit_status"
2234 rm -f core *.core core.conftest.* &&
2235 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2238 for ac_signal
in 1 2 13 15; do
2239 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
2243 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2244 rm -f -r conftest
* confdefs.h
2246 # Predefined preprocessor variables.
2248 cat >>confdefs.h
<<_ACEOF
2249 #define PACKAGE_NAME "$PACKAGE_NAME"
2253 cat >>confdefs.h
<<_ACEOF
2254 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2258 cat >>confdefs.h
<<_ACEOF
2259 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2263 cat >>confdefs.h
<<_ACEOF
2264 #define PACKAGE_STRING "$PACKAGE_STRING"
2268 cat >>confdefs.h
<<_ACEOF
2269 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2273 # Let the site file select an alternate cache file if it wants to.
2274 # Prefer explicitly selected file to automatically selected ones.
2275 if test -n "$CONFIG_SITE"; then
2276 set x
"$CONFIG_SITE"
2277 elif test "x$prefix" != xNONE
; then
2278 set x
"$prefix/share/config.site" "$prefix/etc/config.site"
2280 set x
"$ac_default_prefix/share/config.site" \
2281 "$ac_default_prefix/etc/config.site"
2286 if test -r "$ac_site_file"; then
2287 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
2288 echo "$as_me: loading site script $ac_site_file" >&6;}
2289 sed 's/^/| /' "$ac_site_file" >&5
2294 if test -r "$cache_file"; then
2295 # Some versions of bash will fail to source /dev/null (special
2296 # files actually), so we avoid doing that.
2297 if test -f "$cache_file"; then
2298 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
2299 echo "$as_me: loading cache $cache_file" >&6;}
2301 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
2302 *) .
"./$cache_file";;
2306 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
2307 echo "$as_me: creating cache $cache_file" >&6;}
2311 # Check that the precious variables saved in the cache have kept the same
2313 ac_cache_corrupted
=false
2314 for ac_var
in $ac_precious_vars; do
2315 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
2316 eval ac_new_set
=\
$ac_env_${ac_var}_set
2317 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
2318 eval ac_new_val
=\
$ac_env_${ac_var}_value
2319 case $ac_old_set,$ac_new_set in
2321 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2322 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2323 ac_cache_corrupted
=: ;;
2325 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
2326 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2327 ac_cache_corrupted
=: ;;
2330 if test "x$ac_old_val" != "x$ac_new_val"; then
2331 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
2332 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2333 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
2334 echo "$as_me: former value: $ac_old_val" >&2;}
2335 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
2336 echo "$as_me: current value: $ac_new_val" >&2;}
2337 ac_cache_corrupted
=:
2340 # Pass precious variables to config.status.
2341 if test "$ac_new_set" = set; then
2343 *\'*) ac_arg
=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2344 *) ac_arg
=$ac_var=$ac_new_val ;;
2346 case " $ac_configure_args " in
2347 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2348 *) ac_configure_args
="$ac_configure_args '$ac_arg'" ;;
2352 if $ac_cache_corrupted; then
2353 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
2354 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2355 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
2356 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
2357 { (exit 1); exit 1; }; }
2385 ac_cpp
='$CPP $CPPFLAGS'
2386 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2387 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2388 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2395 for ac_dir
in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2396 if test -f "$ac_dir/install-sh"; then
2398 ac_install_sh
="$ac_aux_dir/install-sh -c"
2400 elif test -f "$ac_dir/install.sh"; then
2402 ac_install_sh
="$ac_aux_dir/install.sh -c"
2404 elif test -f "$ac_dir/shtool"; then
2406 ac_install_sh
="$ac_aux_dir/shtool install -c"
2410 if test -z "$ac_aux_dir"; then
2411 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
2412 echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
2413 { (exit 1); exit 1; }; }
2416 # These three variables are undocumented and unsupported,
2417 # and are intended to be withdrawn in a future Autoconf release.
2418 # They can cause serious problems if a builder's source tree is in a directory
2419 # whose full name contains unusual characters.
2420 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2421 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2422 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2425 # Make sure we can run config.sub.
2426 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
2427 { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
2428 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
2429 { (exit 1); exit 1; }; }
2431 { echo "$as_me:$LINENO: checking build system type" >&5
2432 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
2433 if test "${ac_cv_build+set}" = set; then
2434 echo $ECHO_N "(cached) $ECHO_C" >&6
2436 ac_build_alias
=$build_alias
2437 test "x$ac_build_alias" = x
&&
2438 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
2439 test "x$ac_build_alias" = x
&&
2440 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
2441 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
2442 { (exit 1); exit 1; }; }
2443 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2444 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
2445 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
2446 { (exit 1); exit 1; }; }
2449 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
2450 echo "${ECHO_T}$ac_cv_build" >&6; }
2451 case $ac_cv_build in
2453 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
2454 echo "$as_me: error: invalid value of canonical build" >&2;}
2455 { (exit 1); exit 1; }; };;
2458 ac_save_IFS
=$IFS; IFS
='-'
2464 # Remember, the first character of IFS is used to create $*,
2465 # except with old shells:
2468 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
2471 { echo "$as_me:$LINENO: checking host system type" >&5
2472 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
2473 if test "${ac_cv_host+set}" = set; then
2474 echo $ECHO_N "(cached) $ECHO_C" >&6
2476 if test "x$host_alias" = x
; then
2477 ac_cv_host
=$ac_cv_build
2479 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2480 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
2481 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
2482 { (exit 1); exit 1; }; }
2486 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
2487 echo "${ECHO_T}$ac_cv_host" >&6; }
2490 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
2491 echo "$as_me: error: invalid value of canonical host" >&2;}
2492 { (exit 1); exit 1; }; };;
2495 ac_save_IFS
=$IFS; IFS
='-'
2501 # Remember, the first character of IFS is used to create $*,
2502 # except with old shells:
2505 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
2508 { echo "$as_me:$LINENO: checking target system type" >&5
2509 echo $ECHO_N "checking target system type... $ECHO_C" >&6; }
2510 if test "${ac_cv_target+set}" = set; then
2511 echo $ECHO_N "(cached) $ECHO_C" >&6
2513 if test "x$target_alias" = x
; then
2514 ac_cv_target
=$ac_cv_host
2516 ac_cv_target
=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2517 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&5
2518 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&2;}
2519 { (exit 1); exit 1; }; }
2523 { echo "$as_me:$LINENO: result: $ac_cv_target" >&5
2524 echo "${ECHO_T}$ac_cv_target" >&6; }
2525 case $ac_cv_target in
2527 *) { { echo "$as_me:$LINENO: error: invalid value of canonical target" >&5
2528 echo "$as_me: error: invalid value of canonical target" >&2;}
2529 { (exit 1); exit 1; }; };;
2531 target
=$ac_cv_target
2532 ac_save_IFS
=$IFS; IFS
='-'
2538 # Remember, the first character of IFS is used to create $*,
2539 # except with old shells:
2542 case $target_os in *\
*) target_os
=`echo "$target_os" | sed 's/ /-/g'`;; esac
2545 # The aliases save the names the user supplied, while $host etc.
2546 # will get canonicalized.
2547 test -n "$target_alias" &&
2548 test "$program_prefix$program_suffix$program_transform_name" = \
2550 program_prefix
=${target_alias}-
2554 wx_major_version_number
=2
2555 wx_minor_version_number
=9
2557 wx_subrelease_number
=0
2559 WX_RELEASE
=$wx_major_version_number.
$wx_minor_version_number
2560 WX_VERSION
=$WX_RELEASE.
$wx_release_number
2561 WX_SUBVERSION
=$WX_VERSION.
$wx_subrelease_number
2563 WX_MSW_VERSION
=$wx_major_version_number$wx_minor_version_number$wx_release_number
2566 wx_top_builddir
="`pwd`"
2579 USE_BSD
= USE_DARWIN
= USE_FREEBSD
=
2585 USE_SOLARIS
= USE_SUN
= USE_SUNOS
= USE_SVR4
= USE_SYSV
= USE_VMS
=
2591 NEEDS_D_REENTRANT_FOR_R_FUNCS
=0
2593 ALL_TOOLKITS
="COCOA GTK MAC MGL MICROWIN MOTIF MSW PM X11 DFB"
2595 DEFAULT_wxUSE_COCOA
=0
2599 DEFAULT_wxUSE_MICROWIN
=0
2600 DEFAULT_wxUSE_MOTIF
=0
2606 DEFAULT_DEFAULT_wxUSE_COCOA
=0
2607 DEFAULT_DEFAULT_wxUSE_GTK
=0
2608 DEFAULT_DEFAULT_wxUSE_MAC
=0
2609 DEFAULT_DEFAULT_wxUSE_MGL
=0
2610 DEFAULT_DEFAULT_wxUSE_MICROWIN
=0
2611 DEFAULT_DEFAULT_wxUSE_MOTIF
=0
2612 DEFAULT_DEFAULT_wxUSE_MSW
=0
2613 DEFAULT_DEFAULT_wxUSE_PM
=0
2614 DEFAULT_DEFAULT_wxUSE_X11
=0
2615 DEFAULT_DEFAULT_wxUSE_DFB
=0
2620 SAMPLES_RPATH_POSTLINK
=
2622 DEFAULT_STD_FLAG
=yes
2627 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
2628 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
2630 cat >>confdefs.h
<<\_ACEOF
2635 CPPFLAGS
="-D_HPUX_SOURCE $CPPFLAGS"
2639 cat >>confdefs.h
<<\_ACEOF
2644 if test "x$TMP" = "xalpha"; then
2646 cat >>confdefs.h
<<\_ACEOF
2651 DEFAULT_DEFAULT_wxUSE_GTK
=1
2653 *-*-gnu* | *-*-k*bsd
*-gnu )
2656 if test "x$TMP" = "xalpha"; then
2658 cat >>confdefs.h
<<\_ACEOF
2663 DEFAULT_DEFAULT_wxUSE_GTK
=1
2665 *-*-irix5* | *-*-irix6* )
2668 cat >>confdefs.h
<<\_ACEOF
2672 cat >>confdefs.h
<<\_ACEOF
2676 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
2682 cat >>confdefs.h
<<\_ACEOF
2686 cat >>confdefs.h
<<\_ACEOF
2687 #define __SOLARIS__ 1
2690 cat >>confdefs.h
<<\_ACEOF
2694 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
2695 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
2701 cat >>confdefs.h
<<\_ACEOF
2705 cat >>confdefs.h
<<\_ACEOF
2709 cat >>confdefs.h
<<\_ACEOF
2713 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
2718 cat >>confdefs.h
<<\_ACEOF
2719 #define __FREEBSD__ 1
2722 cat >>confdefs.h
<<\_ACEOF
2726 DEFAULT_DEFAULT_wxUSE_GTK
=1
2728 *-*-openbsd*|*-*-mirbsd*)
2731 cat >>confdefs.h
<<\_ACEOF
2732 #define __OPENBSD__ 1
2735 cat >>confdefs.h
<<\_ACEOF
2739 DEFAULT_DEFAULT_wxUSE_GTK
=1
2744 cat >>confdefs.h
<<\_ACEOF
2745 #define __NETBSD__ 1
2748 cat >>confdefs.h
<<\_ACEOF
2752 DEFAULT_DEFAULT_wxUSE_GTK
=1
2753 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
2755 CPPFLAGS
="-D_NETBSD_SOURCE -D_LIBC $CPPFLAGS"
2760 cat >>confdefs.h
<<\_ACEOF
2764 cat >>confdefs.h
<<\_ACEOF
2768 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
2769 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
2774 cat >>confdefs.h
<<\_ACEOF
2778 cat >>confdefs.h
<<\_ACEOF
2782 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
2787 cat >>confdefs.h
<<\_ACEOF
2791 cat >>confdefs.h
<<\_ACEOF
2795 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
2802 cat >>confdefs.h
<<\_ACEOF
2806 cat >>confdefs.h
<<\_ACEOF
2810 cat >>confdefs.h
<<\_ACEOF
2814 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
2821 cat >>confdefs.h
<<\_ACEOF
2822 #define __UNIXWARE__ 1
2827 *-*-cygwin* | *-*-mingw32* )
2830 DEFAULT_DEFAULT_wxUSE_MSW
=1
2836 cat >>confdefs.h
<<\_ACEOF
2841 DEFAULT_DEFAULT_wxUSE_MGL
=1
2844 *-pc-os2_emx | *-pc-os2-emx )
2845 cat >>confdefs.h
<<\_ACEOF
2850 cat >>confdefs.h
<<\_ACEOF
2855 DEFAULT_DEFAULT_wxUSE_PM
=1
2857 LDFLAGS
="$LDFLAGS -Zcrtdll"
2858 ac_executable_extensions
=".exe"
2859 export ac_executable_extensions
2863 for ac_dir
in $PATH; do
2865 if test -z "$ac_TEMP_PATH"; then
2866 ac_TEMP_PATH
="$ac_dir"
2868 ac_TEMP_PATH
="$ac_TEMP_PATH/$ac_dir"
2871 export PATH
="$ac_TEMP_PATH"
2880 cat >>confdefs.h
<<\_ACEOF
2884 cat >>confdefs.h
<<\_ACEOF
2885 #define __DARWIN__ 1
2888 cat >>confdefs.h
<<\_ACEOF
2889 #define TARGET_CARBON 1
2892 DEFAULT_DEFAULT_wxUSE_MAC
=1
2895 powerpc
-apple-macos* )
2897 ac_cv_c_bigendian
=yes
2899 DEFAULT_DEFAULT_wxUSE_MAC
=1
2905 cat >>confdefs.h
<<\_ACEOF
2912 { echo "$as_me:$LINENO: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&5
2913 echo "$as_me: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&2;}
2914 { echo "$as_me:$LINENO: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&5
2915 echo "$as_me: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&2;}
2917 DEFAULT_DEFAULT_wxUSE_X11
=1
2918 DEFAULT_wxUSE_SHARED
=no
2923 DEFAULT_wxUSE_ALL_FEATURES
=yes
2925 DEFAULT_wxUSE_STD_IOSTREAM
=$DEFAULT_STD_FLAG
2926 DEFAULT_wxUSE_STD_STRING
=$DEFAULT_STD_FLAG
2928 DEFAULT_wxUSE_DMALLOC
=no
2929 DEFAULT_wxUSE_LIBGNOMEVFS
=no
2930 DEFAULT_wxUSE_LIBHILDON
=no
2931 DEFAULT_wxUSE_LIBMSPACK
=no
2932 DEFAULT_wxUSE_LIBSDL
=no
2933 DEFAULT_wxUSE_OPENGL
=no
2935 DEFAULT_wxUSE_ACCESSIBILITY
=no
2936 DEFAULT_wxUSE_GRAPHICS_CONTEXT
=no
2937 DEFAULT_wxUSE_IPV6
=no
2938 DEFAULT_wxUSE_MEDIACTRL
=no
2939 DEFAULT_wxUSE_TAB_DIALOG
=no
2940 DEFAULT_wxUSE_GSTREAMER8
=no
2942 DEFAULT_wxUSE_UNICODE_UTF8
=auto
2943 DEFAULT_wxUSE_UNICODE_UTF8_LOCALE
=no
2945 DEFAULT_wxUSE_UNIVERSAL_BINARY
=no
2947 DEFAULT_wxUSE_OFFICIAL_BUILD
=no
2949 DEFAULT_wxUSE_GTK2
=yes
2951 DEFAULT_wxUSE_OBJC_UNIQUIFYING
=no
2957 enablestring
=disable
2959 if test -z "$defaultval"; then
2960 if test x
"$enablestring" = xdisable
; then
2967 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gui" >&5
2968 echo $ECHO_N "checking for --${enablestring:-enable}-gui... $ECHO_C" >&6; }
2969 # Check whether --enable-gui was given.
2970 if test "${enable_gui+set}" = set; then
2971 enableval
=$enable_gui;
2972 if test "$enableval" = yes; then
2973 wx_cv_use_gui
='wxUSE_GUI=yes'
2975 wx_cv_use_gui
='wxUSE_GUI=no'
2980 wx_cv_use_gui
='wxUSE_GUI=${'DEFAULT_wxUSE_GUI":-$defaultval}"
2985 eval "$wx_cv_use_gui"
2987 if test x"$enablestring" = xdisable; then
2988 if test $wxUSE_GUI = yes; then
2997 { echo "$as_me:$LINENO: result: $result" >&5
2998 echo "${ECHO_T}$result" >&6; }
3003 if test -z "$defaultval"; then
3004 if test x"$enablestring" = xdisable; then
3011 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-monolithic" >&5
3012 echo $ECHO_N "checking for --${enablestring:-enable}-monolithic... $ECHO_C" >&6; }
3013 # Check whether --enable-monolithic was given.
3014 if test "${enable_monolithic+set}" = set; then
3015 enableval=$enable_monolithic;
3016 if test "$enableval" = yes; then
3017 wx_cv_use_monolithic='wxUSE_MONOLITHIC
=yes'
3019 wx_cv_use_monolithic='wxUSE_MONOLITHIC
=no
'
3024 wx_cv_use_monolithic='wxUSE_MONOLITHIC
=${'DEFAULT_wxUSE_MONOLITHIC":-$defaultval}"
3029 eval "$wx_cv_use_monolithic"
3031 if test x"$enablestring" = xdisable; then
3032 if test $wxUSE_MONOLITHIC = yes; then
3038 result=$wxUSE_MONOLITHIC
3041 { echo "$as_me:$LINENO: result
: $result" >&5
3042 echo "${ECHO_T}$result" >&6; }
3047 if test -z "$defaultval"; then
3048 if test x"$enablestring" = xdisable; then
3055 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-plugins" >&5
3056 echo $ECHO_N "checking
for --${enablestring:-enable}-plugins...
$ECHO_C" >&6; }
3057 # Check whether --enable-plugins was given.
3058 if test "${enable_plugins+set}" = set; then
3059 enableval=$enable_plugins;
3060 if test "$enableval" = yes; then
3061 wx_cv_use_plugins='wxUSE_PLUGINS=yes'
3063 wx_cv_use_plugins='wxUSE_PLUGINS=no'
3068 wx_cv_use_plugins='wxUSE_PLUGINS=${'DEFAULT_wxUSE_PLUGINS":-$defaultval}"
3073 eval "$wx_cv_use_plugins"
3075 if test x
"$enablestring" = xdisable
; then
3076 if test $wxUSE_PLUGINS = yes; then
3082 result
=$wxUSE_PLUGINS
3085 { echo "$as_me:$LINENO: result: $result" >&5
3086 echo "${ECHO_T}$result" >&6; }
3090 defaultval
=$wxUSE_ALL_FEATURES
3091 if test -z "$defaultval"; then
3092 if test x
"$withstring" = xwithout
; then
3098 { echo "$as_me:$LINENO: checking for --${withstring:-with}-subdirs" >&5
3099 echo $ECHO_N "checking for --${withstring:-with}-subdirs... $ECHO_C" >&6; }
3101 # Check whether --with-subdirs was given.
3102 if test "${with_subdirs+set}" = set; then
3103 withval
=$with_subdirs;
3104 if test "$withval" = yes; then
3105 wx_cv_use_subdirs
='wxWITH_SUBDIRS=yes'
3107 wx_cv_use_subdirs
='wxWITH_SUBDIRS=no'
3112 wx_cv_use_subdirs
='wxWITH_SUBDIRS=${'DEFAULT_wxWITH_SUBDIRS":-$defaultval}"
3117 eval "$wx_cv_use_subdirs"
3119 if test x"$withstring" = xwithout; then
3120 if test $wxWITH_SUBDIRS = yes; then
3126 result=$wxWITH_SUBDIRS
3129 { echo "$as_me:$LINENO: result: $result" >&5
3130 echo "${ECHO_T}$result" >&6; }
3133 # Check whether --with-flavour was given.
3134 if test "${with_flavour+set}" = set; then
3135 withval=$with_flavour; WX_FLAVOUR="$withval"
3141 if test -z "$defaultval"; then
3142 if test x"$enablestring" = xdisable; then
3149 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-official_build" >&5
3150 echo $ECHO_N "checking for --${enablestring:-enable}-official_build... $ECHO_C" >&6; }
3151 # Check whether --enable-official_build was given.
3152 if test "${enable_official_build+set}" = set; then
3153 enableval=$enable_official_build;
3154 if test "$enableval" = yes; then
3155 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD
=yes'
3157 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD
=no
'
3162 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD
=${'DEFAULT_wxUSE_OFFICIAL_BUILD":-$defaultval}"
3167 eval "$wx_cv_use_official_build"
3169 if test x"$enablestring" = xdisable; then
3170 if test $wxUSE_OFFICIAL_BUILD = yes; then
3176 result=$wxUSE_OFFICIAL_BUILD
3179 { echo "$as_me:$LINENO: result
: $result" >&5
3180 echo "${ECHO_T}$result" >&6; }
3182 # Check whether --enable-vendor was given.
3183 if test "${enable_vendor+set}" = set; then
3184 enableval=$enable_vendor; VENDOR="$enableval"
3187 if test "x
$VENDOR" = "x
"; then
3192 enablestring=disable
3194 if test -z "$defaultval"; then
3195 if test x"$enablestring" = xdisable; then
3202 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-all-features" >&5
3203 echo $ECHO_N "checking
for --${enablestring:-enable}-all-features...
$ECHO_C" >&6; }
3204 # Check whether --enable-all-features was given.
3205 if test "${enable_all_features+set}" = set; then
3206 enableval=$enable_all_features;
3207 if test "$enableval" = yes; then
3208 wx_cv_use_all_features='wxUSE_ALL_FEATURES=yes'
3210 wx_cv_use_all_features='wxUSE_ALL_FEATURES=no'
3215 wx_cv_use_all_features='wxUSE_ALL_FEATURES=${'DEFAULT_wxUSE_ALL_FEATURES":-$defaultval}"
3220 eval "$wx_cv_use_all_features"
3222 if test x
"$enablestring" = xdisable
; then
3223 if test $wxUSE_ALL_FEATURES = yes; then
3229 result
=$wxUSE_ALL_FEATURES
3232 { echo "$as_me:$LINENO: result: $result" >&5
3233 echo "${ECHO_T}$result" >&6; }
3237 if test "$wxUSE_GUI" = "yes"; then
3242 if test -z "$defaultval"; then
3243 if test x
"$enablestring" = xdisable
; then
3250 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal" >&5
3251 echo $ECHO_N "checking for --${enablestring:-enable}-universal... $ECHO_C" >&6; }
3252 # Check whether --enable-universal was given.
3253 if test "${enable_universal+set}" = set; then
3254 enableval
=$enable_universal;
3255 if test "$enableval" = yes; then
3256 wx_cv_use_universal
='wxUSE_UNIVERSAL=yes'
3258 wx_cv_use_universal
='wxUSE_UNIVERSAL=no'
3263 wx_cv_use_universal
='wxUSE_UNIVERSAL=${'DEFAULT_wxUSE_UNIVERSAL":-$defaultval}"
3268 eval "$wx_cv_use_universal"
3270 if test x"$enablestring" = xdisable; then
3271 if test $wxUSE_UNIVERSAL = yes; then
3277 result=$wxUSE_UNIVERSAL
3280 { echo "$as_me:$LINENO: result: $result" >&5
3281 echo "${ECHO_T}$result" >&6; }
3283 if test "$wxUSE_UNIVERSAL" = "yes"; then
3285 # Check whether --with-themes was given.
3286 if test "${with_themes+set}" = set; then
3287 withval=$with_themes; wxUNIV_THEMES="$withval"
3293 # Check whether --with-gtk was given.
3294 if test "${with_gtk+set}" = set; then
3295 withval=$with_gtk; wxUSE_GTK="$withval" CACHE_GTK=1 TOOLKIT_GIVEN=1
3299 # Check whether --with-motif was given.
3300 if test "${with_motif+set}" = set; then
3301 withval=$with_motif; wxUSE_MOTIF="$withval" CACHE_MOTIF=1 TOOLKIT_GIVEN=1
3305 # Check whether --with-mac was given.
3306 if test "${with_mac+set}" = set; then
3307 withval=$with_mac; wxUSE_MAC="$withval" CACHE_MAC=1 TOOLKIT_GIVEN=1
3311 # Check whether --with-cocoa was given.
3312 if test "${with_cocoa+set}" = set; then
3313 withval=$with_cocoa; wxUSE_COCOA="$withval" CACHE_COCOA=1 TOOLKIT_GIVEN=1
3317 # Check whether --with-wine was given.
3318 if test "${with_wine+set}" = set; then
3319 withval=$with_wine; wxUSE_WINE="$withval" CACHE_WINE=1
3323 # Check whether --with-msw was given.
3324 if test "${with_msw+set}" = set; then
3325 withval=$with_msw; wxUSE_MSW="$withval" CACHE_MSW=1 TOOLKIT_GIVEN=1
3329 # Check whether --with-pm was given.
3330 if test "${with_pm+set}" = set; then
3331 withval=$with_pm; wxUSE_PM="$withval" CACHE_PM=1 TOOLKIT_GIVEN=1
3335 # Check whether --with-mgl was given.
3336 if test "${with_mgl+set}" = set; then
3337 withval=$with_mgl; wxUSE_MGL="$withval" wxUSE_UNIVERSAL="yes" CACHE_MGL=1 TOOLKIT_GIVEN=1
3341 # Check whether --with-directfb was given.
3342 if test "${with_directfb+set}" = set; then
3343 withval=$with_directfb; wxUSE_DFB="$withval" wxUSE_UNIVERSAL="yes" CACHE_DFB=1 TOOLKIT_GIVEN=1
3347 # Check whether --with-microwin was given.
3348 if test "${with_microwin+set}" = set; then
3349 withval=$with_microwin; wxUSE_MICROWIN="$withval" CACHE_MICROWIN=1 TOOLKIT_GIVEN=1
3353 # Check whether --with-x11 was given.
3354 if test "${with_x11+set}" = set; then
3355 withval=$with_x11; wxUSE_X11="$withval" wxUSE_UNIVERSAL="yes" CACHE_X11=1 TOOLKIT_GIVEN=1
3361 if test -z "$defaultval"; then
3362 if test x"$enablestring" = xdisable; then
3369 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-nanox" >&5
3370 echo $ECHO_N "checking for --${enablestring:-enable}-nanox... $ECHO_C" >&6; }
3371 # Check whether --enable-nanox was given.
3372 if test "${enable_nanox+set}" = set; then
3373 enableval=$enable_nanox;
3374 if test "$enableval" = yes; then
3375 wx_cv_use_nanox='wxUSE_NANOX
=yes'
3377 wx_cv_use_nanox='wxUSE_NANOX
=no
'
3382 wx_cv_use_nanox='wxUSE_NANOX
=${'DEFAULT_wxUSE_NANOX":-$defaultval}"
3387 eval "$wx_cv_use_nanox"
3389 if test x"$enablestring" = xdisable; then
3390 if test $wxUSE_NANOX = yes; then
3399 { echo "$as_me:$LINENO: result
: $result" >&5
3400 echo "${ECHO_T}$result" >&6; }
3403 # Check whether --enable-gtk2 was given.
3404 if test "${enable_gtk2+set}" = set; then
3405 enableval=$enable_gtk2; wxUSE_GTK2="$enableval"
3411 if test -z "$defaultval"; then
3412 if test x"$enablestring" = xdisable; then
3419 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-gpe" >&5
3420 echo $ECHO_N "checking
for --${enablestring:-enable}-gpe...
$ECHO_C" >&6; }
3421 # Check whether --enable-gpe was given.
3422 if test "${enable_gpe+set}" = set; then
3423 enableval=$enable_gpe;
3424 if test "$enableval" = yes; then
3425 wx_cv_use_gpe='wxUSE_GPE=yes'
3427 wx_cv_use_gpe='wxUSE_GPE=no'
3432 wx_cv_use_gpe='wxUSE_GPE=${'DEFAULT_wxUSE_GPE":-$defaultval}"
3437 eval "$wx_cv_use_gpe"
3439 if test x
"$enablestring" = xdisable
; then
3440 if test $wxUSE_GPE = yes; then
3449 { echo "$as_me:$LINENO: result: $result" >&5
3450 echo "${ECHO_T}$result" >&6; }
3454 { echo "$as_me:$LINENO: checking for toolkit" >&5
3455 echo $ECHO_N "checking for toolkit... $ECHO_C" >&6; }
3457 # In Wine, we need to default to MSW, not GTK or MOTIF
3458 if test "$wxUSE_WINE" = "yes"; then
3459 DEFAULT_DEFAULT_wxUSE_GTK
=0
3460 DEFAULT_DEFAULT_wxUSE_MOTIF
=0
3461 DEFAULT_DEFAULT_wxUSE_MSW
=1
3468 if test "$wxUSE_GUI" = "yes"; then
3470 if test "$USE_BEOS" = 1; then
3471 { { echo "$as_me:$LINENO: error: BeOS GUI is not supported yet, use --disable-gui" >&5
3472 echo "$as_me: error: BeOS GUI is not supported yet, use --disable-gui" >&2;}
3473 { (exit 1); exit 1; }; }
3476 if test "$TOOLKIT_GIVEN" = 1; then
3477 for toolkit
in $ALL_TOOLKITS; do
3479 eval "value=\$${var}"
3480 if test "x$value" = "xno"; then
3482 elif test "x$value" != "x"; then
3486 if test "x$value" != "x" -a "x$value" != "xyes" -a "x$value" != "xno"; then
3487 eval "wx${toolkit}_VERSION=$value"
3491 for toolkit
in $ALL_TOOLKITS; do
3492 var
=DEFAULT_DEFAULT_wxUSE_
$toolkit
3493 eval "wxUSE_$toolkit=\$${var}"
3497 NUM_TOOLKITS
=`expr ${wxUSE_COCOA:-0} + ${wxUSE_GTK:-0} + ${wxUSE_MAC:-0} \
3498 + ${wxUSE_MGL:-0} + ${wxUSE_DFB:-0} + ${wxUSE_MICROWIN:-0} \
3499 + ${wxUSE_MOTIF:-0} + ${wxUSE_MSW:-0} + ${wxUSE_X11:-0}`
3502 *-pc-os2_emx | *-pc-os2-emx )
3503 NUM_TOOLKITS
=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
3506 case "$NUM_TOOLKITS" in
3510 { { echo "$as_me:$LINENO: error: Please specify a toolkit -- cannot determine the default for ${host}" >&5
3511 echo "$as_me: error: Please specify a toolkit -- cannot determine the default for ${host}" >&2;}
3512 { (exit 1); exit 1; }; }
3515 { { echo "$as_me:$LINENO: error: Please specify at most one toolkit" >&5
3516 echo "$as_me: error: Please specify at most one toolkit" >&2;}
3517 { (exit 1); exit 1; }; }
3520 # to be removed when --disable-gtk2 isn't needed
3521 if test "x$wxUSE_GTK2" = "xyes"; then
3523 elif test "x$wxUSE_GTK2" = "xno"; then
3527 for toolkit
in $ALL_TOOLKITS; do
3529 eval "value=\$${var}"
3530 if test "$value" = 1; then
3531 toolkit_echo
=`echo $toolkit | tr '[A-Z]' '[a-z]'`
3532 { echo "$as_me:$LINENO: result: $toolkit_echo" >&5
3533 echo "${ECHO_T}$toolkit_echo" >&6; }
3537 if test "x$host_alias" != "x"; then
3538 { echo "$as_me:$LINENO: result: base ($host_alias hosted) only" >&5
3539 echo "${ECHO_T}base ($host_alias hosted) only" >&6; }
3541 { echo "$as_me:$LINENO: result: base only" >&5
3542 echo "${ECHO_T}base only" >&6; }
3548 { echo "$as_me:$LINENO: checking for --with-libpng" >&5
3549 echo $ECHO_N "checking for --with-libpng... $ECHO_C" >&6; }
3551 # Check whether --with-libpng was given.
3552 if test "${with_libpng+set}" = set; then
3553 withval
=$with_libpng;
3554 if test "$withval" = yes; then
3555 wx_cv_use_libpng
='wxUSE_LIBPNG=yes'
3556 elif test "$withval" = no
; then
3557 wx_cv_use_libpng
='wxUSE_LIBPNG=no'
3558 elif test "$withval" = sys
; then
3559 wx_cv_use_libpng
='wxUSE_LIBPNG=sys'
3560 elif test "$withval" = builtin; then
3561 wx_cv_use_libpng
='wxUSE_LIBPNG=builtin'
3563 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
3564 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
3565 { (exit 1); exit 1; }; }
3570 wx_cv_use_libpng
='wxUSE_LIBPNG=${'DEFAULT_wxUSE_LIBPNG":-$wxUSE_ALL_FEATURES}"
3575 eval "$wx_cv_use_libpng"
3577 if test "$wxUSE_LIBPNG" = yes; then
3578 { echo "$as_me:$LINENO: result: yes" >&5
3579 echo "${ECHO_T}yes" >&6; }
3580 elif test "$wxUSE_LIBPNG" = no; then
3581 { echo "$as_me:$LINENO: result: no" >&5
3582 echo "${ECHO_T}no" >&6; }
3583 elif test "$wxUSE_LIBPNG" = sys; then
3584 { echo "$as_me:$LINENO: result: system version" >&5
3585 echo "${ECHO_T}system version" >&6; }
3586 elif test "$wxUSE_LIBPNG" = builtin; then
3587 { echo "$as_me:$LINENO: result: builtin version" >&5
3588 echo "${ECHO_T}builtin version" >&6; }
3590 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
3591 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
3592 { (exit 1); exit 1; }; }
3596 { echo "$as_me:$LINENO: checking for --with-libjpeg" >&5
3597 echo $ECHO_N "checking for --with-libjpeg... $ECHO_C" >&6; }
3599 # Check whether --with-libjpeg was given.
3600 if test "${with_libjpeg+set}" = set; then
3601 withval=$with_libjpeg;
3602 if test "$withval" = yes; then
3603 wx_cv_use_libjpeg='wxUSE_LIBJPEG
=yes'
3604 elif test "$withval" = no; then
3605 wx_cv_use_libjpeg='wxUSE_LIBJPEG
=no
'
3606 elif test "$withval" = sys; then
3607 wx_cv_use_libjpeg='wxUSE_LIBJPEG
=sys
'
3608 elif test "$withval" = builtin; then
3609 wx_cv_use_libjpeg='wxUSE_LIBJPEG
=builtin'
3611 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
3612 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
3613 { (exit 1); exit 1; }; }
3618 wx_cv_use_libjpeg='wxUSE_LIBJPEG
=${'DEFAULT_wxUSE_LIBJPEG":-$wxUSE_ALL_FEATURES}"
3623 eval "$wx_cv_use_libjpeg"
3625 if test "$wxUSE_LIBJPEG" = yes; then
3626 { echo "$as_me:$LINENO: result
: yes" >&5
3627 echo "${ECHO_T}yes" >&6; }
3628 elif test "$wxUSE_LIBJPEG" = no; then
3629 { echo "$as_me:$LINENO: result
: no
" >&5
3630 echo "${ECHO_T}no
" >&6; }
3631 elif test "$wxUSE_LIBJPEG" = sys; then
3632 { echo "$as_me:$LINENO: result
: system version
" >&5
3633 echo "${ECHO_T}system version
" >&6; }
3634 elif test "$wxUSE_LIBJPEG" = builtin; then
3635 { echo "$as_me:$LINENO: result
: builtin version
" >&5
3636 echo "${ECHO_T}builtin version
" >&6; }
3638 { { echo "$as_me:$LINENO: error
: Invalid value
for --with-libjpeg: should be
yes, no
, sys
, or
builtin" >&5
3639 echo "$as_me: error
: Invalid value
for --with-libjpeg: should be
yes, no
, sys
, or
builtin" >&2;}
3640 { (exit 1); exit 1; }; }
3644 { echo "$as_me:$LINENO: checking
for --with-libtiff" >&5
3645 echo $ECHO_N "checking
for --with-libtiff...
$ECHO_C" >&6; }
3647 # Check whether --with-libtiff was given.
3648 if test "${with_libtiff+set}" = set; then
3649 withval=$with_libtiff;
3650 if test "$withval" = yes; then
3651 wx_cv_use_libtiff='wxUSE_LIBTIFF=yes'
3652 elif test "$withval" = no; then
3653 wx_cv_use_libtiff='wxUSE_LIBTIFF=no'
3654 elif test "$withval" = sys; then
3655 wx_cv_use_libtiff='wxUSE_LIBTIFF=sys'
3656 elif test "$withval" = builtin; then
3657 wx_cv_use_libtiff='wxUSE_LIBTIFF=builtin'
3659 { { echo "$as_me:$LINENO: error
: Invalid value
for --with-libtiff: should be
yes, no
, sys
, or
builtin" >&5
3660 echo "$as_me: error
: Invalid value
for --with-libtiff: should be
yes, no
, sys
, or
builtin" >&2;}
3661 { (exit 1); exit 1; }; }
3666 wx_cv_use_libtiff='wxUSE_LIBTIFF=${'DEFAULT_wxUSE_LIBTIFF":-$wxUSE_ALL_FEATURES}"
3671 eval "$wx_cv_use_libtiff"
3673 if test "$wxUSE_LIBTIFF" = yes; then
3674 { echo "$as_me:$LINENO: result: yes" >&5
3675 echo "${ECHO_T}yes" >&6; }
3676 elif test "$wxUSE_LIBTIFF" = no
; then
3677 { echo "$as_me:$LINENO: result: no" >&5
3678 echo "${ECHO_T}no" >&6; }
3679 elif test "$wxUSE_LIBTIFF" = sys
; then
3680 { echo "$as_me:$LINENO: result: system version" >&5
3681 echo "${ECHO_T}system version" >&6; }
3682 elif test "$wxUSE_LIBTIFF" = builtin; then
3683 { echo "$as_me:$LINENO: result: builtin version" >&5
3684 echo "${ECHO_T}builtin version" >&6; }
3686 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
3687 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
3688 { (exit 1); exit 1; }; }
3692 { echo "$as_me:$LINENO: checking for --with-libxpm" >&5
3693 echo $ECHO_N "checking for --with-libxpm... $ECHO_C" >&6; }
3695 # Check whether --with-libxpm was given.
3696 if test "${with_libxpm+set}" = set; then
3697 withval
=$with_libxpm;
3698 if test "$withval" = yes; then
3699 wx_cv_use_libxpm
='wxUSE_LIBXPM=yes'
3700 elif test "$withval" = no
; then
3701 wx_cv_use_libxpm
='wxUSE_LIBXPM=no'
3702 elif test "$withval" = sys
; then
3703 wx_cv_use_libxpm
='wxUSE_LIBXPM=sys'
3704 elif test "$withval" = builtin; then
3705 wx_cv_use_libxpm
='wxUSE_LIBXPM=builtin'
3707 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3708 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3709 { (exit 1); exit 1; }; }
3714 wx_cv_use_libxpm
='wxUSE_LIBXPM=${'DEFAULT_wxUSE_LIBXPM":-$wxUSE_ALL_FEATURES}"
3719 eval "$wx_cv_use_libxpm"
3721 if test "$wxUSE_LIBXPM" = yes; then
3722 { echo "$as_me:$LINENO: result: yes" >&5
3723 echo "${ECHO_T}yes" >&6; }
3724 elif test "$wxUSE_LIBXPM" = no; then
3725 { echo "$as_me:$LINENO: result: no" >&5
3726 echo "${ECHO_T}no" >&6; }
3727 elif test "$wxUSE_LIBXPM" = sys; then
3728 { echo "$as_me:$LINENO: result: system version" >&5
3729 echo "${ECHO_T}system version" >&6; }
3730 elif test "$wxUSE_LIBXPM" = builtin; then
3731 { echo "$as_me:$LINENO: result: builtin version" >&5
3732 echo "${ECHO_T}builtin version" >&6; }
3734 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3735 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3736 { (exit 1); exit 1; }; }
3741 defaultval=$wxUSE_ALL_FEATURES
3742 if test -z "$defaultval"; then
3743 if test x"$withstring" = xwithout; then
3749 { echo "$as_me:$LINENO: checking for --${withstring:-with}-libiconv" >&5
3750 echo $ECHO_N "checking for --${withstring:-with}-libiconv... $ECHO_C" >&6; }
3752 # Check whether --with-libiconv was given.
3753 if test "${with_libiconv+set}" = set; then
3754 withval=$with_libiconv;
3755 if test "$withval" = yes; then
3756 wx_cv_use_libiconv='wxUSE_LIBICONV
=yes'
3758 wx_cv_use_libiconv='wxUSE_LIBICONV
=no
'
3763 wx_cv_use_libiconv='wxUSE_LIBICONV
=${'DEFAULT_wxUSE_LIBICONV":-$defaultval}"
3768 eval "$wx_cv_use_libiconv"
3770 if test x"$withstring" = xwithout; then
3771 if test $wxUSE_LIBICONV = yes; then
3777 result=$wxUSE_LIBICONV
3780 { echo "$as_me:$LINENO: result
: $result" >&5
3781 echo "${ECHO_T}$result" >&6; }
3785 defaultval=$wxUSE_ALL_FEATURES
3786 if test -z "$defaultval"; then
3787 if test x"$withstring" = xwithout; then
3793 { echo "$as_me:$LINENO: checking
for --${withstring:-with}-libmspack" >&5
3794 echo $ECHO_N "checking
for --${withstring:-with}-libmspack...
$ECHO_C" >&6; }
3796 # Check whether --with-libmspack was given.
3797 if test "${with_libmspack+set}" = set; then
3798 withval=$with_libmspack;
3799 if test "$withval" = yes; then
3800 wx_cv_use_libmspack='wxUSE_LIBMSPACK=yes'
3802 wx_cv_use_libmspack='wxUSE_LIBMSPACK=no'
3807 wx_cv_use_libmspack='wxUSE_LIBMSPACK=${'DEFAULT_wxUSE_LIBMSPACK":-$defaultval}"
3812 eval "$wx_cv_use_libmspack"
3814 if test x
"$withstring" = xwithout
; then
3815 if test $wxUSE_LIBMSPACK = yes; then
3821 result
=$wxUSE_LIBMSPACK
3824 { echo "$as_me:$LINENO: result: $result" >&5
3825 echo "${ECHO_T}$result" >&6; }
3829 defaultval
=$wxUSE_ALL_FEATURES
3830 if test -z "$defaultval"; then
3831 if test x
"$withstring" = xwithout
; then
3837 { echo "$as_me:$LINENO: checking for --${withstring:-with}-gtkprint" >&5
3838 echo $ECHO_N "checking for --${withstring:-with}-gtkprint... $ECHO_C" >&6; }
3840 # Check whether --with-gtkprint was given.
3841 if test "${with_gtkprint+set}" = set; then
3842 withval
=$with_gtkprint;
3843 if test "$withval" = yes; then
3844 wx_cv_use_gtkprint
='wxUSE_GTKPRINT=yes'
3846 wx_cv_use_gtkprint
='wxUSE_GTKPRINT=no'
3851 wx_cv_use_gtkprint
='wxUSE_GTKPRINT=${'DEFAULT_wxUSE_GTKPRINT":-$defaultval}"
3856 eval "$wx_cv_use_gtkprint"
3858 if test x"$withstring" = xwithout; then
3859 if test $wxUSE_GTKPRINT = yes; then
3865 result=$wxUSE_GTKPRINT
3868 { echo "$as_me:$LINENO: result: $result" >&5
3869 echo "${ECHO_T}$result" >&6; }
3873 defaultval=$wxUSE_ALL_FEATURES
3874 if test -z "$defaultval"; then
3875 if test x"$withstring" = xwithout; then
3881 { echo "$as_me:$LINENO: checking for --${withstring:-with}-gnomeprint" >&5
3882 echo $ECHO_N "checking for --${withstring:-with}-gnomeprint... $ECHO_C" >&6; }
3884 # Check whether --with-gnomeprint was given.
3885 if test "${with_gnomeprint+set}" = set; then
3886 withval=$with_gnomeprint;
3887 if test "$withval" = yes; then
3888 wx_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT
=yes'
3890 wx_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT
=no
'
3895 wx_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT
=${'DEFAULT_wxUSE_LIBGNOMEPRINT":-$defaultval}"
3900 eval "$wx_cv_use_gnomeprint"
3902 if test x"$withstring" = xwithout; then
3903 if test $wxUSE_LIBGNOMEPRINT = yes; then
3909 result=$wxUSE_LIBGNOMEPRINT
3912 { echo "$as_me:$LINENO: result
: $result" >&5
3913 echo "${ECHO_T}$result" >&6; }
3917 defaultval=$wxUSE_ALL_FEATURES
3918 if test -z "$defaultval"; then
3919 if test x"$withstring" = xwithout; then
3925 { echo "$as_me:$LINENO: checking
for --${withstring:-with}-gnomevfs" >&5
3926 echo $ECHO_N "checking
for --${withstring:-with}-gnomevfs...
$ECHO_C" >&6; }
3928 # Check whether --with-gnomevfs was given.
3929 if test "${with_gnomevfs+set}" = set; then
3930 withval=$with_gnomevfs;
3931 if test "$withval" = yes; then
3932 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=yes'
3934 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=no'
3939 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=${'DEFAULT_wxUSE_LIBGNOMEVFS":-$defaultval}"
3944 eval "$wx_cv_use_gnomevfs"
3946 if test x
"$withstring" = xwithout
; then
3947 if test $wxUSE_LIBGNOMEVFS = yes; then
3953 result
=$wxUSE_LIBGNOMEVFS
3956 { echo "$as_me:$LINENO: result: $result" >&5
3957 echo "${ECHO_T}$result" >&6; }
3961 defaultval
=$wxUSE_ALL_FEATURES
3962 if test -z "$defaultval"; then
3963 if test x
"$withstring" = xwithout
; then
3969 { echo "$as_me:$LINENO: checking for --${withstring:-with}-hildon" >&5
3970 echo $ECHO_N "checking for --${withstring:-with}-hildon... $ECHO_C" >&6; }
3972 # Check whether --with-hildon was given.
3973 if test "${with_hildon+set}" = set; then
3974 withval
=$with_hildon;
3975 if test "$withval" = yes; then
3976 wx_cv_use_hildon
='wxUSE_LIBHILDON=yes'
3978 wx_cv_use_hildon
='wxUSE_LIBHILDON=no'
3983 wx_cv_use_hildon
='wxUSE_LIBHILDON=${'DEFAULT_wxUSE_LIBHILDON":-$defaultval}"
3988 eval "$wx_cv_use_hildon"
3990 if test x"$withstring" = xwithout; then
3991 if test $wxUSE_LIBHILDON = yes; then
3997 result=$wxUSE_LIBHILDON
4000 { echo "$as_me:$LINENO: result: $result" >&5
4001 echo "${ECHO_T}$result" >&6; }
4005 defaultval=$wxUSE_ALL_FEATURES
4006 if test -z "$defaultval"; then
4007 if test x"$withstring" = xwithout; then
4013 { echo "$as_me:$LINENO: checking for --${withstring:-with}-opengl" >&5
4014 echo $ECHO_N "checking for --${withstring:-with}-opengl... $ECHO_C" >&6; }
4016 # Check whether --with-opengl was given.
4017 if test "${with_opengl+set}" = set; then
4018 withval=$with_opengl;
4019 if test "$withval" = yes; then
4020 wx_cv_use_opengl='wxUSE_OPENGL
=yes'
4022 wx_cv_use_opengl='wxUSE_OPENGL
=no
'
4027 wx_cv_use_opengl='wxUSE_OPENGL
=${'DEFAULT_wxUSE_OPENGL":-$defaultval}"
4032 eval "$wx_cv_use_opengl"
4034 if test x"$withstring" = xwithout; then
4035 if test $wxUSE_OPENGL = yes; then
4041 result=$wxUSE_OPENGL
4044 { echo "$as_me:$LINENO: result
: $result" >&5
4045 echo "${ECHO_T}$result" >&6; }
4052 defaultval=$wxUSE_ALL_FEATURES
4053 if test -z "$defaultval"; then
4054 if test x"$withstring" = xwithout; then
4060 { echo "$as_me:$LINENO: checking
for --${withstring:-with}-dmalloc" >&5
4061 echo $ECHO_N "checking
for --${withstring:-with}-dmalloc...
$ECHO_C" >&6; }
4063 # Check whether --with-dmalloc was given.
4064 if test "${with_dmalloc+set}" = set; then
4065 withval=$with_dmalloc;
4066 if test "$withval" = yes; then
4067 wx_cv_use_dmalloc='wxUSE_DMALLOC=yes'
4069 wx_cv_use_dmalloc='wxUSE_DMALLOC=no'
4074 wx_cv_use_dmalloc='wxUSE_DMALLOC=${'DEFAULT_wxUSE_DMALLOC":-$defaultval}"
4079 eval "$wx_cv_use_dmalloc"
4081 if test x
"$withstring" = xwithout
; then
4082 if test $wxUSE_DMALLOC = yes; then
4088 result
=$wxUSE_DMALLOC
4091 { echo "$as_me:$LINENO: result: $result" >&5
4092 echo "${ECHO_T}$result" >&6; }
4096 defaultval
=$wxUSE_ALL_FEATURES
4097 if test -z "$defaultval"; then
4098 if test x
"$withstring" = xwithout
; then
4104 { echo "$as_me:$LINENO: checking for --${withstring:-with}-sdl" >&5
4105 echo $ECHO_N "checking for --${withstring:-with}-sdl... $ECHO_C" >&6; }
4107 # Check whether --with-sdl was given.
4108 if test "${with_sdl+set}" = set; then
4110 if test "$withval" = yes; then
4111 wx_cv_use_sdl
='wxUSE_LIBSDL=yes'
4113 wx_cv_use_sdl
='wxUSE_LIBSDL=no'
4118 wx_cv_use_sdl
='wxUSE_LIBSDL=${'DEFAULT_wxUSE_LIBSDL":-$defaultval}"
4123 eval "$wx_cv_use_sdl"
4125 if test x"$withstring" = xwithout; then
4126 if test $wxUSE_LIBSDL = yes; then
4132 result=$wxUSE_LIBSDL
4135 { echo "$as_me:$LINENO: result: $result" >&5
4136 echo "${ECHO_T}$result" >&6; }
4139 { echo "$as_me:$LINENO: checking for --with-regex" >&5
4140 echo $ECHO_N "checking for --with-regex... $ECHO_C" >&6; }
4142 # Check whether --with-regex was given.
4143 if test "${with_regex+set}" = set; then
4144 withval=$with_regex;
4145 if test "$withval" = yes; then
4146 wx_cv_use_regex='wxUSE_REGEX
=yes'
4147 elif test "$withval" = no; then
4148 wx_cv_use_regex='wxUSE_REGEX
=no
'
4149 elif test "$withval" = sys; then
4150 wx_cv_use_regex='wxUSE_REGEX
=sys
'
4151 elif test "$withval" = builtin; then
4152 wx_cv_use_regex='wxUSE_REGEX
=builtin'
4154 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
4155 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
4156 { (exit 1); exit 1; }; }
4161 wx_cv_use_regex='wxUSE_REGEX
=${'DEFAULT_wxUSE_REGEX":-$wxUSE_ALL_FEATURES}"
4166 eval "$wx_cv_use_regex"
4168 if test "$wxUSE_REGEX" = yes; then
4169 { echo "$as_me:$LINENO: result
: yes" >&5
4170 echo "${ECHO_T}yes" >&6; }
4171 elif test "$wxUSE_REGEX" = no; then
4172 { echo "$as_me:$LINENO: result
: no
" >&5
4173 echo "${ECHO_T}no
" >&6; }
4174 elif test "$wxUSE_REGEX" = sys; then
4175 { echo "$as_me:$LINENO: result
: system version
" >&5
4176 echo "${ECHO_T}system version
" >&6; }
4177 elif test "$wxUSE_REGEX" = builtin; then
4178 { echo "$as_me:$LINENO: result
: builtin version
" >&5
4179 echo "${ECHO_T}builtin version
" >&6; }
4181 { { echo "$as_me:$LINENO: error
: Invalid value
for --with-regex: should be
yes, no
, sys
, or
builtin" >&5
4182 echo "$as_me: error
: Invalid value
for --with-regex: should be
yes, no
, sys
, or
builtin" >&2;}
4183 { (exit 1); exit 1; }; }
4187 { echo "$as_me:$LINENO: checking
for --with-zlib" >&5
4188 echo $ECHO_N "checking
for --with-zlib...
$ECHO_C" >&6; }
4190 # Check whether --with-zlib was given.
4191 if test "${with_zlib+set}" = set; then
4193 if test "$withval" = yes; then
4194 wx_cv_use_zlib='wxUSE_ZLIB=yes'
4195 elif test "$withval" = no; then
4196 wx_cv_use_zlib='wxUSE_ZLIB=no'
4197 elif test "$withval" = sys; then
4198 wx_cv_use_zlib='wxUSE_ZLIB=sys'
4199 elif test "$withval" = builtin; then
4200 wx_cv_use_zlib='wxUSE_ZLIB=builtin'
4202 { { echo "$as_me:$LINENO: error
: Invalid value
for --with-zlib: should be
yes, no
, sys
, or
builtin" >&5
4203 echo "$as_me: error
: Invalid value
for --with-zlib: should be
yes, no
, sys
, or
builtin" >&2;}
4204 { (exit 1); exit 1; }; }
4209 wx_cv_use_zlib='wxUSE_ZLIB=${'DEFAULT_wxUSE_ZLIB":-$wxUSE_ALL_FEATURES}"
4214 eval "$wx_cv_use_zlib"
4216 if test "$wxUSE_ZLIB" = yes; then
4217 { echo "$as_me:$LINENO: result: yes" >&5
4218 echo "${ECHO_T}yes" >&6; }
4219 elif test "$wxUSE_ZLIB" = no
; then
4220 { echo "$as_me:$LINENO: result: no" >&5
4221 echo "${ECHO_T}no" >&6; }
4222 elif test "$wxUSE_ZLIB" = sys
; then
4223 { echo "$as_me:$LINENO: result: system version" >&5
4224 echo "${ECHO_T}system version" >&6; }
4225 elif test "$wxUSE_ZLIB" = builtin; then
4226 { echo "$as_me:$LINENO: result: builtin version" >&5
4227 echo "${ECHO_T}builtin version" >&6; }
4229 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
4230 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
4231 { (exit 1); exit 1; }; }
4235 { echo "$as_me:$LINENO: checking for --with-expat" >&5
4236 echo $ECHO_N "checking for --with-expat... $ECHO_C" >&6; }
4238 # Check whether --with-expat was given.
4239 if test "${with_expat+set}" = set; then
4240 withval
=$with_expat;
4241 if test "$withval" = yes; then
4242 wx_cv_use_expat
='wxUSE_EXPAT=yes'
4243 elif test "$withval" = no
; then
4244 wx_cv_use_expat
='wxUSE_EXPAT=no'
4245 elif test "$withval" = sys
; then
4246 wx_cv_use_expat
='wxUSE_EXPAT=sys'
4247 elif test "$withval" = builtin; then
4248 wx_cv_use_expat
='wxUSE_EXPAT=builtin'
4250 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
4251 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
4252 { (exit 1); exit 1; }; }
4257 wx_cv_use_expat
='wxUSE_EXPAT=${'DEFAULT_wxUSE_EXPAT":-$wxUSE_ALL_FEATURES}"
4262 eval "$wx_cv_use_expat"
4264 if test "$wxUSE_EXPAT" = yes; then
4265 { echo "$as_me:$LINENO: result: yes" >&5
4266 echo "${ECHO_T}yes" >&6; }
4267 elif test "$wxUSE_EXPAT" = no; then
4268 { echo "$as_me:$LINENO: result: no" >&5
4269 echo "${ECHO_T}no" >&6; }
4270 elif test "$wxUSE_EXPAT" = sys; then
4271 { echo "$as_me:$LINENO: result: system version" >&5
4272 echo "${ECHO_T}system version" >&6; }
4273 elif test "$wxUSE_EXPAT" = builtin; then
4274 { echo "$as_me:$LINENO: result: builtin version" >&5
4275 echo "${ECHO_T}builtin version" >&6; }
4277 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
4278 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
4279 { (exit 1); exit 1; }; }
4283 { echo "$as_me:$LINENO: checking for --with-macosx-sdk" >&5
4284 echo $ECHO_N "checking for --with-macosx-sdk... $ECHO_C" >&6; }
4286 # Check whether --with-macosx-sdk was given.
4287 if test "${with_macosx_sdk+set}" = set; then
4288 withval=$with_macosx_sdk;
4289 wxUSE_MACOSX_SDK=$withval
4290 wx_cv_use_macosx_sdk="wxUSE_MACOSX_SDK=$withval"
4294 { echo "$as_me:$LINENO: result: $wxUSE_MACOSX_SDK" >&5
4295 echo "${ECHO_T}$wxUSE_MACOSX_SDK" >&6; }
4297 { echo "$as_me:$LINENO: checking for --with-macosx-version-min" >&5
4298 echo $ECHO_N "checking for --with-macosx-version-min... $ECHO_C" >&6; }
4300 # Check whether --with-macosx-version-min was given.
4301 if test "${with_macosx_version_min+set}" = set; then
4302 withval=$with_macosx_version_min;
4303 wxUSE_MACOSX_VERSION_MIN=$withval
4304 wx_cv_use_macosx_version_min="wxUSE_MACOSX_VERSION_MIN=$withval"
4308 { echo "$as_me:$LINENO: result: $wxUSE_MACOSX_VERSION_MIN" >&5
4309 echo "${ECHO_T}$wxUSE_MACOSX_VERSION_MIN" >&6; }
4313 enablestring=disable
4315 if test -z "$defaultval"; then
4316 if test x"$enablestring" = xdisable; then
4323 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-shared" >&5
4324 echo $ECHO_N "checking for --${enablestring:-enable}-shared... $ECHO_C" >&6; }
4325 # Check whether --enable-shared was given.
4326 if test "${enable_shared+set}" = set; then
4327 enableval=$enable_shared;
4328 if test "$enableval" = yes; then
4329 wx_cv_use_shared='wxUSE_SHARED
=yes'
4331 wx_cv_use_shared='wxUSE_SHARED
=no
'
4336 wx_cv_use_shared='wxUSE_SHARED
=${'DEFAULT_wxUSE_SHARED":-$defaultval}"
4341 eval "$wx_cv_use_shared"
4343 if test x"$enablestring" = xdisable; then
4344 if test $wxUSE_SHARED = yes; then
4350 result=$wxUSE_SHARED
4353 { echo "$as_me:$LINENO: result
: $result" >&5
4354 echo "${ECHO_T}$result" >&6; }
4357 enablestring=disable
4359 if test -z "$defaultval"; then
4360 if test x"$enablestring" = xdisable; then
4367 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-optimise" >&5
4368 echo $ECHO_N "checking
for --${enablestring:-enable}-optimise...
$ECHO_C" >&6; }
4369 # Check whether --enable-optimise was given.
4370 if test "${enable_optimise+set}" = set; then
4371 enableval=$enable_optimise;
4372 if test "$enableval" = yes; then
4373 wx_cv_use_optimise='wxUSE_OPTIMISE=yes'
4375 wx_cv_use_optimise='wxUSE_OPTIMISE=no'
4380 wx_cv_use_optimise='wxUSE_OPTIMISE=${'DEFAULT_wxUSE_OPTIMISE":-$defaultval}"
4385 eval "$wx_cv_use_optimise"
4387 if test x
"$enablestring" = xdisable
; then
4388 if test $wxUSE_OPTIMISE = yes; then
4394 result
=$wxUSE_OPTIMISE
4397 { echo "$as_me:$LINENO: result: $result" >&5
4398 echo "${ECHO_T}$result" >&6; }
4403 if test -z "$defaultval"; then
4404 if test x
"$enablestring" = xdisable
; then
4411 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug" >&5
4412 echo $ECHO_N "checking for --${enablestring:-enable}-debug... $ECHO_C" >&6; }
4413 # Check whether --enable-debug was given.
4414 if test "${enable_debug+set}" = set; then
4415 enableval
=$enable_debug;
4416 if test "$enableval" = yes; then
4417 wx_cv_use_debug
='wxUSE_DEBUG=yes'
4419 wx_cv_use_debug
='wxUSE_DEBUG=no'
4424 wx_cv_use_debug
='wxUSE_DEBUG=${'DEFAULT_wxUSE_DEBUG":-$defaultval}"
4429 eval "$wx_cv_use_debug"
4431 if test x"$enablestring" = xdisable; then
4432 if test $wxUSE_DEBUG = yes; then
4441 { echo "$as_me:$LINENO: result: $result" >&5
4442 echo "${ECHO_T}$result" >&6; }
4447 if test -z "$defaultval"; then
4448 if test x"$enablestring" = xdisable; then
4455 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stl" >&5
4456 echo $ECHO_N "checking for --${enablestring:-enable}-stl... $ECHO_C" >&6; }
4457 # Check whether --enable-stl was given.
4458 if test "${enable_stl+set}" = set; then
4459 enableval=$enable_stl;
4460 if test "$enableval" = yes; then
4461 wx_cv_use_stl='wxUSE_STL
=yes'
4463 wx_cv_use_stl='wxUSE_STL
=no
'
4468 wx_cv_use_stl='wxUSE_STL
=${'DEFAULT_wxUSE_STL":-$defaultval}"
4473 eval "$wx_cv_use_stl"
4475 if test x"$enablestring" = xdisable; then
4476 if test $wxUSE_STL = yes; then
4485 { echo "$as_me:$LINENO: result
: $result" >&5
4486 echo "${ECHO_T}$result" >&6; }
4491 if test -z "$defaultval"; then
4492 if test x"$enablestring" = xdisable; then
4499 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-std_iostreams" >&5
4500 echo $ECHO_N "checking
for --${enablestring:-enable}-std_iostreams...
$ECHO_C" >&6; }
4501 # Check whether --enable-std_iostreams was given.
4502 if test "${enable_std_iostreams+set}" = set; then
4503 enableval=$enable_std_iostreams;
4504 if test "$enableval" = yes; then
4505 wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=yes'
4507 wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=no'
4512 wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=${'DEFAULT_wxUSE_STD_IOSTREAM":-$defaultval}"
4517 eval "$wx_cv_use_std_iostreams"
4519 if test x
"$enablestring" = xdisable
; then
4520 if test $wxUSE_STD_IOSTREAM = yes; then
4526 result
=$wxUSE_STD_IOSTREAM
4529 { echo "$as_me:$LINENO: result: $result" >&5
4530 echo "${ECHO_T}$result" >&6; }
4535 if test -z "$defaultval"; then
4536 if test x
"$enablestring" = xdisable
; then
4543 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_string" >&5
4544 echo $ECHO_N "checking for --${enablestring:-enable}-std_string... $ECHO_C" >&6; }
4545 # Check whether --enable-std_string was given.
4546 if test "${enable_std_string+set}" = set; then
4547 enableval
=$enable_std_string;
4548 if test "$enableval" = yes; then
4549 wx_cv_use_std_string
='wxUSE_STD_STRING=yes'
4551 wx_cv_use_std_string
='wxUSE_STD_STRING=no'
4556 wx_cv_use_std_string
='wxUSE_STD_STRING=${'DEFAULT_wxUSE_STD_STRING":-$defaultval}"
4561 eval "$wx_cv_use_std_string"
4563 if test x"$enablestring" = xdisable; then
4564 if test $wxUSE_STD_STRING = yes; then
4570 result=$wxUSE_STD_STRING
4573 { echo "$as_me:$LINENO: result: $result" >&5
4574 echo "${ECHO_T}$result" >&6; }
4577 enablestring=disable
4579 if test -z "$defaultval"; then
4580 if test x"$enablestring" = xdisable; then
4587 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-unicode" >&5
4588 echo $ECHO_N "checking for --${enablestring:-enable}-unicode... $ECHO_C" >&6; }
4589 # Check whether --enable-unicode was given.
4590 if test "${enable_unicode+set}" = set; then
4591 enableval=$enable_unicode;
4592 if test "$enableval" = yes; then
4593 wx_cv_use_unicode='wxUSE_UNICODE
=yes'
4595 wx_cv_use_unicode='wxUSE_UNICODE
=no
'
4600 wx_cv_use_unicode='wxUSE_UNICODE
=${'DEFAULT_wxUSE_UNICODE":-$defaultval}"
4605 eval "$wx_cv_use_unicode"
4607 if test x"$enablestring" = xdisable; then
4608 if test $wxUSE_UNICODE = yes; then
4614 result=$wxUSE_UNICODE
4617 { echo "$as_me:$LINENO: result
: $result" >&5
4618 echo "${ECHO_T}$result" >&6; }
4623 if test -z "$defaultval"; then
4624 if test x"$enablestring" = xdisable; then
4631 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-mslu" >&5
4632 echo $ECHO_N "checking
for --${enablestring:-enable}-mslu...
$ECHO_C" >&6; }
4633 # Check whether --enable-mslu was given.
4634 if test "${enable_mslu+set}" = set; then
4635 enableval=$enable_mslu;
4636 if test "$enableval" = yes; then
4637 wx_cv_use_mslu='wxUSE_UNICODE_MSLU=yes'
4639 wx_cv_use_mslu='wxUSE_UNICODE_MSLU=no'
4644 wx_cv_use_mslu='wxUSE_UNICODE_MSLU=${'DEFAULT_wxUSE_UNICODE_MSLU":-$defaultval}"
4649 eval "$wx_cv_use_mslu"
4651 if test x
"$enablestring" = xdisable
; then
4652 if test $wxUSE_UNICODE_MSLU = yes; then
4658 result
=$wxUSE_UNICODE_MSLU
4661 { echo "$as_me:$LINENO: result: $result" >&5
4662 echo "${ECHO_T}$result" >&6; }
4666 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-utf8" >&5
4667 echo $ECHO_N "checking for --${enablestring:-enable}-utf8... $ECHO_C" >&6; }
4668 # Check whether --enable-utf8 was given.
4669 if test "${enable_utf8+set}" = set; then
4670 enableval
=$enable_utf8;
4671 wx_cv_use_utf8
="wxUSE_UNICODE_UTF8='$enableval'"
4675 wx_cv_use_utf8
='wxUSE_UNICODE_UTF8='$DEFAULT_wxUSE_UNICODE_UTF8
4680 eval "$wx_cv_use_utf8"
4682 { echo "$as_me:$LINENO: result: $wxUSE_UNICODE_UTF8" >&5
4683 echo "${ECHO_T}$wxUSE_UNICODE_UTF8" >&6; }
4688 if test -z "$defaultval"; then
4689 if test x
"$enablestring" = xdisable
; then
4696 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-utf8only" >&5
4697 echo $ECHO_N "checking for --${enablestring:-enable}-utf8only... $ECHO_C" >&6; }
4698 # Check whether --enable-utf8only was given.
4699 if test "${enable_utf8only+set}" = set; then
4700 enableval
=$enable_utf8only;
4701 if test "$enableval" = yes; then
4702 wx_cv_use_utf8only
='wxUSE_UNICODE_UTF8_LOCALE=yes'
4704 wx_cv_use_utf8only
='wxUSE_UNICODE_UTF8_LOCALE=no'
4709 wx_cv_use_utf8only
='wxUSE_UNICODE_UTF8_LOCALE=${'DEFAULT_wxUSE_UNICODE_UTF8_LOCALE":-$defaultval}"
4714 eval "$wx_cv_use_utf8only"
4716 if test x"$enablestring" = xdisable; then
4717 if test $wxUSE_UNICODE_UTF8_LOCALE = yes; then
4723 result=$wxUSE_UNICODE_UTF8_LOCALE
4726 { echo "$as_me:$LINENO: result: $result" >&5
4727 echo "${ECHO_T}$result" >&6; }
4732 if test -z "$defaultval"; then
4733 if test x"$enablestring" = xdisable; then
4740 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-extended_rtti" >&5
4741 echo $ECHO_N "checking for --${enablestring:-enable}-extended_rtti... $ECHO_C" >&6; }
4742 # Check whether --enable-extended_rtti was given.
4743 if test "${enable_extended_rtti+set}" = set; then
4744 enableval=$enable_extended_rtti;
4745 if test "$enableval" = yes; then
4746 wx_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI
=yes'
4748 wx_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI
=no
'
4753 wx_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI
=${'DEFAULT_wxUSE_EXTENDED_RTTI":-$defaultval}"
4758 eval "$wx_cv_use_extended_rtti"
4760 if test x"$enablestring" = xdisable; then
4761 if test $wxUSE_EXTENDED_RTTI = yes; then
4767 result=$wxUSE_EXTENDED_RTTI
4770 { echo "$as_me:$LINENO: result
: $result" >&5
4771 echo "${ECHO_T}$result" >&6; }
4773 if test "$USE_OS2" = 1; then
4774 DEFAULT_wxUSE_OMF=no
4778 if test -z "$defaultval"; then
4779 if test x"$enablestring" = xdisable; then
4786 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-omf" >&5
4787 echo $ECHO_N "checking
for --${enablestring:-enable}-omf...
$ECHO_C" >&6; }
4788 # Check whether --enable-omf was given.
4789 if test "${enable_omf+set}" = set; then
4790 enableval=$enable_omf;
4791 if test "$enableval" = yes; then
4792 wx_cv_use_omf='wxUSE_OMF=yes'
4794 wx_cv_use_omf='wxUSE_OMF=no'
4799 wx_cv_use_omf='wxUSE_OMF=${'DEFAULT_wxUSE_OMF":-$defaultval}"
4804 eval "$wx_cv_use_omf"
4806 if test x
"$enablestring" = xdisable
; then
4807 if test $wxUSE_OMF = yes; then
4816 { echo "$as_me:$LINENO: result: $result" >&5
4817 echo "${ECHO_T}$result" >&6; }
4821 if test "$wxUSE_DEBUG" = "yes"; then
4822 DEFAULT_wxUSE_DEBUG_FLAG
=yes
4823 DEFAULT_wxUSE_DEBUG_INFO
=yes
4825 elif test "$wxUSE_DEBUG" = "no"; then
4826 DEFAULT_wxUSE_DEBUG_FLAG
=no
4827 DEFAULT_wxUSE_DEBUG_INFO
=no
4834 if test -z "$defaultval"; then
4835 if test x
"$enablestring" = xdisable
; then
4842 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_flag" >&5
4843 echo $ECHO_N "checking for --${enablestring:-enable}-debug_flag... $ECHO_C" >&6; }
4844 # Check whether --enable-debug_flag was given.
4845 if test "${enable_debug_flag+set}" = set; then
4846 enableval
=$enable_debug_flag;
4847 if test "$enableval" = yes; then
4848 wx_cv_use_debug_flag
='wxUSE_DEBUG_FLAG=yes'
4850 wx_cv_use_debug_flag
='wxUSE_DEBUG_FLAG=no'
4855 wx_cv_use_debug_flag
='wxUSE_DEBUG_FLAG=${'DEFAULT_wxUSE_DEBUG_FLAG":-$defaultval}"
4860 eval "$wx_cv_use_debug_flag"
4862 if test x"$enablestring" = xdisable; then
4863 if test $wxUSE_DEBUG_FLAG = yes; then
4869 result=$wxUSE_DEBUG_FLAG
4872 { echo "$as_me:$LINENO: result: $result" >&5
4873 echo "${ECHO_T}$result" >&6; }
4878 if test -z "$defaultval"; then
4879 if test x"$enablestring" = xdisable; then
4886 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_info" >&5
4887 echo $ECHO_N "checking for --${enablestring:-enable}-debug_info... $ECHO_C" >&6; }
4888 # Check whether --enable-debug_info was given.
4889 if test "${enable_debug_info+set}" = set; then
4890 enableval=$enable_debug_info;
4891 if test "$enableval" = yes; then
4892 wx_cv_use_debug_info='wxUSE_DEBUG_INFO
=yes'
4894 wx_cv_use_debug_info='wxUSE_DEBUG_INFO
=no
'
4899 wx_cv_use_debug_info='wxUSE_DEBUG_INFO
=${'DEFAULT_wxUSE_DEBUG_INFO":-$defaultval}"
4904 eval "$wx_cv_use_debug_info"
4906 if test x"$enablestring" = xdisable; then
4907 if test $wxUSE_DEBUG_INFO = yes; then
4913 result=$wxUSE_DEBUG_INFO
4916 { echo "$as_me:$LINENO: result
: $result" >&5
4917 echo "${ECHO_T}$result" >&6; }
4920 if test "$wxUSE_DEBUG_FLAG" = "yes" -a "$wxUSE_DEBUG_INFO" = "yes"; then
4928 if test -z "$defaultval"; then
4929 if test x"$enablestring" = xdisable; then
4936 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-debug_gdb" >&5
4937 echo $ECHO_N "checking
for --${enablestring:-enable}-debug_gdb...
$ECHO_C" >&6; }
4938 # Check whether --enable-debug_gdb was given.
4939 if test "${enable_debug_gdb+set}" = set; then
4940 enableval=$enable_debug_gdb;
4941 if test "$enableval" = yes; then
4942 wx_cv_use_debug_gdb='wxUSE_DEBUG_GDB=yes'
4944 wx_cv_use_debug_gdb='wxUSE_DEBUG_GDB=no'
4949 wx_cv_use_debug_gdb='wxUSE_DEBUG_GDB=${'DEFAULT_wxUSE_DEBUG_GDB":-$defaultval}"
4954 eval "$wx_cv_use_debug_gdb"
4956 if test x
"$enablestring" = xdisable
; then
4957 if test $wxUSE_DEBUG_GDB = yes; then
4963 result
=$wxUSE_DEBUG_GDB
4966 { echo "$as_me:$LINENO: result: $result" >&5
4967 echo "${ECHO_T}$result" >&6; }
4972 if test -z "$defaultval"; then
4973 if test x
"$enablestring" = xdisable
; then
4980 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_cntxt" >&5
4981 echo $ECHO_N "checking for --${enablestring:-enable}-debug_cntxt... $ECHO_C" >&6; }
4982 # Check whether --enable-debug_cntxt was given.
4983 if test "${enable_debug_cntxt+set}" = set; then
4984 enableval
=$enable_debug_cntxt;
4985 if test "$enableval" = yes; then
4986 wx_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT=yes'
4988 wx_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT=no'
4993 wx_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT=${'DEFAULT_wxUSE_DEBUG_CONTEXT":-$defaultval}"
4998 eval "$wx_cv_use_debug_cntxt"
5000 if test x"$enablestring" = xdisable; then
5001 if test $wxUSE_DEBUG_CONTEXT = yes; then
5007 result=$wxUSE_DEBUG_CONTEXT
5010 { echo "$as_me:$LINENO: result: $result" >&5
5011 echo "${ECHO_T}$result" >&6; }
5016 if test -z "$defaultval"; then
5017 if test x"$enablestring" = xdisable; then
5024 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mem_tracing" >&5
5025 echo $ECHO_N "checking for --${enablestring:-enable}-mem_tracing... $ECHO_C" >&6; }
5026 # Check whether --enable-mem_tracing was given.
5027 if test "${enable_mem_tracing+set}" = set; then
5028 enableval=$enable_mem_tracing;
5029 if test "$enableval" = yes; then
5030 wx_cv_use_mem_tracing='wxUSE_MEM_TRACING
=yes'
5032 wx_cv_use_mem_tracing='wxUSE_MEM_TRACING
=no
'
5037 wx_cv_use_mem_tracing='wxUSE_MEM_TRACING
=${'DEFAULT_wxUSE_MEM_TRACING":-$defaultval}"
5042 eval "$wx_cv_use_mem_tracing"
5044 if test x"$enablestring" = xdisable; then
5045 if test $wxUSE_MEM_TRACING = yes; then
5051 result=$wxUSE_MEM_TRACING
5054 { echo "$as_me:$LINENO: result
: $result" >&5
5055 echo "${ECHO_T}$result" >&6; }
5060 if test -z "$defaultval"; then
5061 if test x"$enablestring" = xdisable; then
5068 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-profile" >&5
5069 echo $ECHO_N "checking
for --${enablestring:-enable}-profile...
$ECHO_C" >&6; }
5070 # Check whether --enable-profile was given.
5071 if test "${enable_profile+set}" = set; then
5072 enableval=$enable_profile;
5073 if test "$enableval" = yes; then
5074 wx_cv_use_profile='wxUSE_PROFILE=yes'
5076 wx_cv_use_profile='wxUSE_PROFILE=no'
5081 wx_cv_use_profile='wxUSE_PROFILE=${'DEFAULT_wxUSE_PROFILE":-$defaultval}"
5086 eval "$wx_cv_use_profile"
5088 if test x
"$enablestring" = xdisable
; then
5089 if test $wxUSE_PROFILE = yes; then
5095 result
=$wxUSE_PROFILE
5098 { echo "$as_me:$LINENO: result: $result" >&5
5099 echo "${ECHO_T}$result" >&6; }
5104 if test -z "$defaultval"; then
5105 if test x
"$enablestring" = xdisable
; then
5112 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_rtti" >&5
5113 echo $ECHO_N "checking for --${enablestring:-enable}-no_rtti... $ECHO_C" >&6; }
5114 # Check whether --enable-no_rtti was given.
5115 if test "${enable_no_rtti+set}" = set; then
5116 enableval
=$enable_no_rtti;
5117 if test "$enableval" = yes; then
5118 wx_cv_use_no_rtti
='wxUSE_NO_RTTI=yes'
5120 wx_cv_use_no_rtti
='wxUSE_NO_RTTI=no'
5125 wx_cv_use_no_rtti
='wxUSE_NO_RTTI=${'DEFAULT_wxUSE_NO_RTTI":-$defaultval}"
5130 eval "$wx_cv_use_no_rtti"
5132 if test x"$enablestring" = xdisable; then
5133 if test $wxUSE_NO_RTTI = yes; then
5139 result=$wxUSE_NO_RTTI
5142 { echo "$as_me:$LINENO: result: $result" >&5
5143 echo "${ECHO_T}$result" >&6; }
5148 if test -z "$defaultval"; then
5149 if test x"$enablestring" = xdisable; then
5156 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_exceptions" >&5
5157 echo $ECHO_N "checking for --${enablestring:-enable}-no_exceptions... $ECHO_C" >&6; }
5158 # Check whether --enable-no_exceptions was given.
5159 if test "${enable_no_exceptions+set}" = set; then
5160 enableval=$enable_no_exceptions;
5161 if test "$enableval" = yes; then
5162 wx_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS
=yes'
5164 wx_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS
=no
'
5169 wx_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS
=${'DEFAULT_wxUSE_NO_EXCEPTIONS":-$defaultval}"
5174 eval "$wx_cv_use_no_exceptions"
5176 if test x"$enablestring" = xdisable; then
5177 if test $wxUSE_NO_EXCEPTIONS = yes; then
5183 result=$wxUSE_NO_EXCEPTIONS
5186 { echo "$as_me:$LINENO: result
: $result" >&5
5187 echo "${ECHO_T}$result" >&6; }
5192 if test -z "$defaultval"; then
5193 if test x"$enablestring" = xdisable; then
5200 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-permissive" >&5
5201 echo $ECHO_N "checking
for --${enablestring:-enable}-permissive...
$ECHO_C" >&6; }
5202 # Check whether --enable-permissive was given.
5203 if test "${enable_permissive+set}" = set; then
5204 enableval=$enable_permissive;
5205 if test "$enableval" = yes; then
5206 wx_cv_use_permissive='wxUSE_PERMISSIVE=yes'
5208 wx_cv_use_permissive='wxUSE_PERMISSIVE=no'
5213 wx_cv_use_permissive='wxUSE_PERMISSIVE=${'DEFAULT_wxUSE_PERMISSIVE":-$defaultval}"
5218 eval "$wx_cv_use_permissive"
5220 if test x
"$enablestring" = xdisable
; then
5221 if test $wxUSE_PERMISSIVE = yes; then
5227 result
=$wxUSE_PERMISSIVE
5230 { echo "$as_me:$LINENO: result: $result" >&5
5231 echo "${ECHO_T}$result" >&6; }
5236 if test -z "$defaultval"; then
5237 if test x
"$enablestring" = xdisable
; then
5244 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_deps" >&5
5245 echo $ECHO_N "checking for --${enablestring:-enable}-no_deps... $ECHO_C" >&6; }
5246 # Check whether --enable-no_deps was given.
5247 if test "${enable_no_deps+set}" = set; then
5248 enableval
=$enable_no_deps;
5249 if test "$enableval" = yes; then
5250 wx_cv_use_no_deps
='wxUSE_NO_DEPS=yes'
5252 wx_cv_use_no_deps
='wxUSE_NO_DEPS=no'
5257 wx_cv_use_no_deps
='wxUSE_NO_DEPS=${'DEFAULT_wxUSE_NO_DEPS":-$defaultval}"
5262 eval "$wx_cv_use_no_deps"
5264 if test x"$enablestring" = xdisable; then
5265 if test $wxUSE_NO_DEPS = yes; then
5271 result=$wxUSE_NO_DEPS
5274 { echo "$as_me:$LINENO: result: $result" >&5
5275 echo "${ECHO_T}$result" >&6; }
5278 enablestring=disable
5280 if test -z "$defaultval"; then
5281 if test x"$enablestring" = xdisable; then
5288 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-vararg_macros" >&5
5289 echo $ECHO_N "checking for --${enablestring:-enable}-vararg_macros... $ECHO_C" >&6; }
5290 # Check whether --enable-vararg_macros was given.
5291 if test "${enable_vararg_macros+set}" = set; then
5292 enableval=$enable_vararg_macros;
5293 if test "$enableval" = yes; then
5294 wx_cv_use_vararg_macros='wxUSE_VARARG_MACROS
=yes'
5296 wx_cv_use_vararg_macros='wxUSE_VARARG_MACROS
=no
'
5301 wx_cv_use_vararg_macros='wxUSE_VARARG_MACROS
=${'DEFAULT_wxUSE_VARARG_MACROS":-$defaultval}"
5306 eval "$wx_cv_use_vararg_macros"
5308 if test x"$enablestring" = xdisable; then
5309 if test $wxUSE_VARARG_MACROS = yes; then
5315 result=$wxUSE_VARARG_MACROS
5318 { echo "$as_me:$LINENO: result
: $result" >&5
5319 echo "${ECHO_T}$result" >&6; }
5323 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-universal_binary" >&5
5324 echo $ECHO_N "checking
for --${enablestring:-enable}-universal_binary...
$ECHO_C" >&6; }
5325 # Check whether --enable-universal_binary was given.
5326 if test "${enable_universal_binary+set}" = set; then
5327 enableval=$enable_universal_binary;
5328 wx_cv_use_universal_binary="wxUSE_UNIVERSAL_BINARY
='$enableval'"
5332 wx_cv_use_universal_binary='wxUSE_UNIVERSAL_BINARY='$DEFAULT_wxUSE_UNIVERSAL_BINARY
5337 eval "$wx_cv_use_universal_binary"
5339 { echo "$as_me:$LINENO: result
: $wxUSE_UNIVERSAL_BINARY" >&5
5340 echo "${ECHO_T}$wxUSE_UNIVERSAL_BINARY" >&6; }
5346 if test -z "$defaultval"; then
5347 if test x"$enablestring" = xdisable; then
5354 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-compat26" >&5
5355 echo $ECHO_N "checking
for --${enablestring:-enable}-compat26...
$ECHO_C" >&6; }
5356 # Check whether --enable-compat26 was given.
5357 if test "${enable_compat26+set}" = set; then
5358 enableval=$enable_compat26;
5359 if test "$enableval" = yes; then
5360 wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=yes'
5362 wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=no'
5367 wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=${'DEFAULT_WXWIN_COMPATIBILITY_2_6":-$defaultval}"
5372 eval "$wx_cv_use_compat26"
5374 if test x
"$enablestring" = xdisable
; then
5375 if test $WXWIN_COMPATIBILITY_2_6 = yes; then
5381 result
=$WXWIN_COMPATIBILITY_2_6
5384 { echo "$as_me:$LINENO: result: $result" >&5
5385 echo "${ECHO_T}$result" >&6; }
5388 enablestring
=disable
5390 if test -z "$defaultval"; then
5391 if test x
"$enablestring" = xdisable
; then
5398 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat28" >&5
5399 echo $ECHO_N "checking for --${enablestring:-enable}-compat28... $ECHO_C" >&6; }
5400 # Check whether --enable-compat28 was given.
5401 if test "${enable_compat28+set}" = set; then
5402 enableval
=$enable_compat28;
5403 if test "$enableval" = yes; then
5404 wx_cv_use_compat28
='WXWIN_COMPATIBILITY_2_8=yes'
5406 wx_cv_use_compat28
='WXWIN_COMPATIBILITY_2_8=no'
5411 wx_cv_use_compat28
='WXWIN_COMPATIBILITY_2_8=${'DEFAULT_WXWIN_COMPATIBILITY_2_8":-$defaultval}"
5416 eval "$wx_cv_use_compat28"
5418 if test x"$enablestring" = xdisable; then
5419 if test $WXWIN_COMPATIBILITY_2_8 = yes; then
5425 result=$WXWIN_COMPATIBILITY_2_8
5428 { echo "$as_me:$LINENO: result: $result" >&5
5429 echo "${ECHO_T}$result" >&6; }
5433 enablestring=disable
5435 if test -z "$defaultval"; then
5436 if test x"$enablestring" = xdisable; then
5443 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-rpath" >&5
5444 echo $ECHO_N "checking for --${enablestring:-enable}-rpath... $ECHO_C" >&6; }
5445 # Check whether --enable-rpath was given.
5446 if test "${enable_rpath+set}" = set; then
5447 enableval=$enable_rpath;
5448 if test "$enableval" = yes; then
5449 wx_cv_use_rpath='wxUSE_RPATH
=yes'
5451 wx_cv_use_rpath='wxUSE_RPATH
=no
'
5456 wx_cv_use_rpath='wxUSE_RPATH
=${'DEFAULT_wxUSE_RPATH":-$defaultval}"
5461 eval "$wx_cv_use_rpath"
5463 if test x"$enablestring" = xdisable; then
5464 if test $wxUSE_RPATH = yes; then
5473 { echo "$as_me:$LINENO: result
: $result" >&5
5474 echo "${ECHO_T}$result" >&6; }
5480 if test -z "$defaultval"; then
5481 if test x"$enablestring" = xdisable; then
5488 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-objc_uniquifying" >&5
5489 echo $ECHO_N "checking
for --${enablestring:-enable}-objc_uniquifying...
$ECHO_C" >&6; }
5490 # Check whether --enable-objc_uniquifying was given.
5491 if test "${enable_objc_uniquifying+set}" = set; then
5492 enableval=$enable_objc_uniquifying;
5493 if test "$enableval" = yes; then
5494 wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING=yes'
5496 wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING=no'
5501 wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING=${'DEFAULT_wxUSE_OBJC_UNIQUIFYING":-$defaultval}"
5506 eval "$wx_cv_use_objc_uniquifying"
5508 if test x
"$enablestring" = xdisable
; then
5509 if test $wxUSE_OBJC_UNIQUIFYING = yes; then
5515 result
=$wxUSE_OBJC_UNIQUIFYING
5518 { echo "$as_me:$LINENO: result: $result" >&5
5519 echo "${ECHO_T}$result" >&6; }
5523 enablestring
=disable
5525 if test -z "$defaultval"; then
5526 if test x
"$enablestring" = xdisable
; then
5533 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-visibility" >&5
5534 echo $ECHO_N "checking for --${enablestring:-enable}-visibility... $ECHO_C" >&6; }
5535 # Check whether --enable-visibility was given.
5536 if test "${enable_visibility+set}" = set; then
5537 enableval
=$enable_visibility;
5538 if test "$enableval" = yes; then
5539 wx_cv_use_visibility
='wxUSE_VISIBILITY=yes'
5541 wx_cv_use_visibility
='wxUSE_VISIBILITY=no'
5546 wx_cv_use_visibility
='wxUSE_VISIBILITY=${'DEFAULT_wxUSE_VISIBILITY":-$defaultval}"
5551 eval "$wx_cv_use_visibility"
5553 if test x"$enablestring" = xdisable; then
5554 if test $wxUSE_VISIBILITY = yes; then
5560 result=$wxUSE_VISIBILITY
5563 { echo "$as_me:$LINENO: result: $result" >&5
5564 echo "${ECHO_T}$result" >&6; }
5570 defaultval=$wxUSE_ALL_FEATURES
5571 if test -z "$defaultval"; then
5572 if test x"$enablestring" = xdisable; then
5579 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-intl" >&5
5580 echo $ECHO_N "checking for --${enablestring:-enable}-intl... $ECHO_C" >&6; }
5581 # Check whether --enable-intl was given.
5582 if test "${enable_intl+set}" = set; then
5583 enableval=$enable_intl;
5584 if test "$enableval" = yes; then
5585 wx_cv_use_intl='wxUSE_INTL
=yes'
5587 wx_cv_use_intl='wxUSE_INTL
=no
'
5592 wx_cv_use_intl='wxUSE_INTL
=${'DEFAULT_wxUSE_INTL":-$defaultval}"
5597 eval "$wx_cv_use_intl"
5599 if test x"$enablestring" = xdisable; then
5600 if test $wxUSE_INTL = yes; then
5609 { echo "$as_me:$LINENO: result
: $result" >&5
5610 echo "${ECHO_T}$result" >&6; }
5614 defaultval=$wxUSE_ALL_FEATURES
5615 if test -z "$defaultval"; then
5616 if test x"$enablestring" = xdisable; then
5623 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-config" >&5
5624 echo $ECHO_N "checking
for --${enablestring:-enable}-config...
$ECHO_C" >&6; }
5625 # Check whether --enable-config was given.
5626 if test "${enable_config+set}" = set; then
5627 enableval=$enable_config;
5628 if test "$enableval" = yes; then
5629 wx_cv_use_config='wxUSE_CONFIG=yes'
5631 wx_cv_use_config='wxUSE_CONFIG=no'
5636 wx_cv_use_config='wxUSE_CONFIG=${'DEFAULT_wxUSE_CONFIG":-$defaultval}"
5641 eval "$wx_cv_use_config"
5643 if test x
"$enablestring" = xdisable
; then
5644 if test $wxUSE_CONFIG = yes; then
5650 result
=$wxUSE_CONFIG
5653 { echo "$as_me:$LINENO: result: $result" >&5
5654 echo "${ECHO_T}$result" >&6; }
5659 defaultval
=$wxUSE_ALL_FEATURES
5660 if test -z "$defaultval"; then
5661 if test x
"$enablestring" = xdisable
; then
5668 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocols" >&5
5669 echo $ECHO_N "checking for --${enablestring:-enable}-protocols... $ECHO_C" >&6; }
5670 # Check whether --enable-protocols was given.
5671 if test "${enable_protocols+set}" = set; then
5672 enableval
=$enable_protocols;
5673 if test "$enableval" = yes; then
5674 wx_cv_use_protocols
='wxUSE_PROTOCOL=yes'
5676 wx_cv_use_protocols
='wxUSE_PROTOCOL=no'
5681 wx_cv_use_protocols
='wxUSE_PROTOCOL=${'DEFAULT_wxUSE_PROTOCOL":-$defaultval}"
5686 eval "$wx_cv_use_protocols"
5688 if test x"$enablestring" = xdisable; then
5689 if test $wxUSE_PROTOCOL = yes; then
5695 result=$wxUSE_PROTOCOL
5698 { echo "$as_me:$LINENO: result: $result" >&5
5699 echo "${ECHO_T}$result" >&6; }
5703 defaultval=$wxUSE_ALL_FEATURES
5704 if test -z "$defaultval"; then
5705 if test x"$enablestring" = xdisable; then
5712 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ftp" >&5
5713 echo $ECHO_N "checking for --${enablestring:-enable}-ftp... $ECHO_C" >&6; }
5714 # Check whether --enable-ftp was given.
5715 if test "${enable_ftp+set}" = set; then
5716 enableval=$enable_ftp;
5717 if test "$enableval" = yes; then
5718 wx_cv_use_ftp='wxUSE_PROTOCOL_FTP
=yes'
5720 wx_cv_use_ftp='wxUSE_PROTOCOL_FTP
=no
'
5725 wx_cv_use_ftp='wxUSE_PROTOCOL_FTP
=${'DEFAULT_wxUSE_PROTOCOL_FTP":-$defaultval}"
5730 eval "$wx_cv_use_ftp"
5732 if test x"$enablestring" = xdisable; then
5733 if test $wxUSE_PROTOCOL_FTP = yes; then
5739 result=$wxUSE_PROTOCOL_FTP
5742 { echo "$as_me:$LINENO: result
: $result" >&5
5743 echo "${ECHO_T}$result" >&6; }
5747 defaultval=$wxUSE_ALL_FEATURES
5748 if test -z "$defaultval"; then
5749 if test x"$enablestring" = xdisable; then
5756 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-http" >&5
5757 echo $ECHO_N "checking
for --${enablestring:-enable}-http...
$ECHO_C" >&6; }
5758 # Check whether --enable-http was given.
5759 if test "${enable_http+set}" = set; then
5760 enableval=$enable_http;
5761 if test "$enableval" = yes; then
5762 wx_cv_use_http='wxUSE_PROTOCOL_HTTP=yes'
5764 wx_cv_use_http='wxUSE_PROTOCOL_HTTP=no'
5769 wx_cv_use_http='wxUSE_PROTOCOL_HTTP=${'DEFAULT_wxUSE_PROTOCOL_HTTP":-$defaultval}"
5774 eval "$wx_cv_use_http"
5776 if test x
"$enablestring" = xdisable
; then
5777 if test $wxUSE_PROTOCOL_HTTP = yes; then
5783 result
=$wxUSE_PROTOCOL_HTTP
5786 { echo "$as_me:$LINENO: result: $result" >&5
5787 echo "${ECHO_T}$result" >&6; }
5791 defaultval
=$wxUSE_ALL_FEATURES
5792 if test -z "$defaultval"; then
5793 if test x
"$enablestring" = xdisable
; then
5800 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fileproto" >&5
5801 echo $ECHO_N "checking for --${enablestring:-enable}-fileproto... $ECHO_C" >&6; }
5802 # Check whether --enable-fileproto was given.
5803 if test "${enable_fileproto+set}" = set; then
5804 enableval
=$enable_fileproto;
5805 if test "$enableval" = yes; then
5806 wx_cv_use_fileproto
='wxUSE_PROTOCOL_FILE=yes'
5808 wx_cv_use_fileproto
='wxUSE_PROTOCOL_FILE=no'
5813 wx_cv_use_fileproto
='wxUSE_PROTOCOL_FILE=${'DEFAULT_wxUSE_PROTOCOL_FILE":-$defaultval}"
5818 eval "$wx_cv_use_fileproto"
5820 if test x"$enablestring" = xdisable; then
5821 if test $wxUSE_PROTOCOL_FILE = yes; then
5827 result=$wxUSE_PROTOCOL_FILE
5830 { echo "$as_me:$LINENO: result: $result" >&5
5831 echo "${ECHO_T}$result" >&6; }
5835 defaultval=$wxUSE_ALL_FEATURES
5836 if test -z "$defaultval"; then
5837 if test x"$enablestring" = xdisable; then
5844 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sockets" >&5
5845 echo $ECHO_N "checking for --${enablestring:-enable}-sockets... $ECHO_C" >&6; }
5846 # Check whether --enable-sockets was given.
5847 if test "${enable_sockets+set}" = set; then
5848 enableval=$enable_sockets;
5849 if test "$enableval" = yes; then
5850 wx_cv_use_sockets='wxUSE_SOCKETS
=yes'
5852 wx_cv_use_sockets='wxUSE_SOCKETS
=no
'
5857 wx_cv_use_sockets='wxUSE_SOCKETS
=${'DEFAULT_wxUSE_SOCKETS":-$defaultval}"
5862 eval "$wx_cv_use_sockets"
5864 if test x"$enablestring" = xdisable; then
5865 if test $wxUSE_SOCKETS = yes; then
5871 result=$wxUSE_SOCKETS
5874 { echo "$as_me:$LINENO: result
: $result" >&5
5875 echo "${ECHO_T}$result" >&6; }
5879 defaultval=$wxUSE_ALL_FEATURES
5880 if test -z "$defaultval"; then
5881 if test x"$enablestring" = xdisable; then
5888 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-ipv6" >&5
5889 echo $ECHO_N "checking
for --${enablestring:-enable}-ipv6...
$ECHO_C" >&6; }
5890 # Check whether --enable-ipv6 was given.
5891 if test "${enable_ipv6+set}" = set; then
5892 enableval=$enable_ipv6;
5893 if test "$enableval" = yes; then
5894 wx_cv_use_ipv6='wxUSE_IPV6=yes'
5896 wx_cv_use_ipv6='wxUSE_IPV6=no'
5901 wx_cv_use_ipv6='wxUSE_IPV6=${'DEFAULT_wxUSE_IPV6":-$defaultval}"
5906 eval "$wx_cv_use_ipv6"
5908 if test x
"$enablestring" = xdisable
; then
5909 if test $wxUSE_IPV6 = yes; then
5918 { echo "$as_me:$LINENO: result: $result" >&5
5919 echo "${ECHO_T}$result" >&6; }
5923 defaultval
=$wxUSE_ALL_FEATURES
5924 if test -z "$defaultval"; then
5925 if test x
"$enablestring" = xdisable
; then
5932 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ole" >&5
5933 echo $ECHO_N "checking for --${enablestring:-enable}-ole... $ECHO_C" >&6; }
5934 # Check whether --enable-ole was given.
5935 if test "${enable_ole+set}" = set; then
5936 enableval
=$enable_ole;
5937 if test "$enableval" = yes; then
5938 wx_cv_use_ole
='wxUSE_OLE=yes'
5940 wx_cv_use_ole
='wxUSE_OLE=no'
5945 wx_cv_use_ole
='wxUSE_OLE=${'DEFAULT_wxUSE_OLE":-$defaultval}"
5950 eval "$wx_cv_use_ole"
5952 if test x"$enablestring" = xdisable; then
5953 if test $wxUSE_OLE = yes; then
5962 { echo "$as_me:$LINENO: result: $result" >&5
5963 echo "${ECHO_T}$result" >&6; }
5967 defaultval=$wxUSE_ALL_FEATURES
5968 if test -z "$defaultval"; then
5969 if test x"$enablestring" = xdisable; then
5976 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataobj" >&5
5977 echo $ECHO_N "checking for --${enablestring:-enable}-dataobj... $ECHO_C" >&6; }
5978 # Check whether --enable-dataobj was given.
5979 if test "${enable_dataobj+set}" = set; then
5980 enableval=$enable_dataobj;
5981 if test "$enableval" = yes; then
5982 wx_cv_use_dataobj='wxUSE_DATAOBJ
=yes'
5984 wx_cv_use_dataobj='wxUSE_DATAOBJ
=no
'
5989 wx_cv_use_dataobj='wxUSE_DATAOBJ
=${'DEFAULT_wxUSE_DATAOBJ":-$defaultval}"
5994 eval "$wx_cv_use_dataobj"
5996 if test x"$enablestring" = xdisable; then
5997 if test $wxUSE_DATAOBJ = yes; then
6003 result=$wxUSE_DATAOBJ
6006 { echo "$as_me:$LINENO: result
: $result" >&5
6007 echo "${ECHO_T}$result" >&6; }
6012 defaultval=$wxUSE_ALL_FEATURES
6013 if test -z "$defaultval"; then
6014 if test x"$enablestring" = xdisable; then
6021 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-ipc" >&5
6022 echo $ECHO_N "checking
for --${enablestring:-enable}-ipc...
$ECHO_C" >&6; }
6023 # Check whether --enable-ipc was given.
6024 if test "${enable_ipc+set}" = set; then
6025 enableval=$enable_ipc;
6026 if test "$enableval" = yes; then
6027 wx_cv_use_ipc='wxUSE_IPC=yes'
6029 wx_cv_use_ipc='wxUSE_IPC=no'
6034 wx_cv_use_ipc='wxUSE_IPC=${'DEFAULT_wxUSE_IPC":-$defaultval}"
6039 eval "$wx_cv_use_ipc"
6041 if test x
"$enablestring" = xdisable
; then
6042 if test $wxUSE_IPC = yes; then
6051 { echo "$as_me:$LINENO: result: $result" >&5
6052 echo "${ECHO_T}$result" >&6; }
6057 defaultval
=$wxUSE_ALL_FEATURES
6058 if test -z "$defaultval"; then
6059 if test x
"$enablestring" = xdisable
; then
6066 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-baseevtloop" >&5
6067 echo $ECHO_N "checking for --${enablestring:-enable}-baseevtloop... $ECHO_C" >&6; }
6068 # Check whether --enable-baseevtloop was given.
6069 if test "${enable_baseevtloop+set}" = set; then
6070 enableval
=$enable_baseevtloop;
6071 if test "$enableval" = yes; then
6072 wx_cv_use_baseevtloop
='wxUSE_CONSOLE_EVENTLOOP=yes'
6074 wx_cv_use_baseevtloop
='wxUSE_CONSOLE_EVENTLOOP=no'
6079 wx_cv_use_baseevtloop
='wxUSE_CONSOLE_EVENTLOOP=${'DEFAULT_wxUSE_CONSOLE_EVENTLOOP":-$defaultval}"
6084 eval "$wx_cv_use_baseevtloop"
6086 if test x"$enablestring" = xdisable; then
6087 if test $wxUSE_CONSOLE_EVENTLOOP = yes; then
6093 result=$wxUSE_CONSOLE_EVENTLOOP
6096 { echo "$as_me:$LINENO: result: $result" >&5
6097 echo "${ECHO_T}$result" >&6; }
6101 defaultval=$wxUSE_ALL_FEATURES
6102 if test -z "$defaultval"; then
6103 if test x"$enablestring" = xdisable; then
6110 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-epollloop" >&5
6111 echo $ECHO_N "checking for --${enablestring:-enable}-epollloop... $ECHO_C" >&6; }
6112 # Check whether --enable-epollloop was given.
6113 if test "${enable_epollloop+set}" = set; then
6114 enableval=$enable_epollloop;
6115 if test "$enableval" = yes; then
6116 wx_cv_use_epollloop='wxUSE_EPOLL_DISPATCHER
=yes'
6118 wx_cv_use_epollloop='wxUSE_EPOLL_DISPATCHER
=no
'
6123 wx_cv_use_epollloop='wxUSE_EPOLL_DISPATCHER
=${'DEFAULT_wxUSE_EPOLL_DISPATCHER":-$defaultval}"
6128 eval "$wx_cv_use_epollloop"
6130 if test x"$enablestring" = xdisable; then
6131 if test $wxUSE_EPOLL_DISPATCHER = yes; then
6137 result=$wxUSE_EPOLL_DISPATCHER
6140 { echo "$as_me:$LINENO: result
: $result" >&5
6141 echo "${ECHO_T}$result" >&6; }
6145 defaultval=$wxUSE_ALL_FEATURES
6146 if test -z "$defaultval"; then
6147 if test x"$enablestring" = xdisable; then
6154 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-selectloop" >&5
6155 echo $ECHO_N "checking
for --${enablestring:-enable}-selectloop...
$ECHO_C" >&6; }
6156 # Check whether --enable-selectloop was given.
6157 if test "${enable_selectloop+set}" = set; then
6158 enableval=$enable_selectloop;
6159 if test "$enableval" = yes; then
6160 wx_cv_use_selectloop='wxUSE_SELECT_DISPATCHER=yes'
6162 wx_cv_use_selectloop='wxUSE_SELECT_DISPATCHER=no'
6167 wx_cv_use_selectloop='wxUSE_SELECT_DISPATCHER=${'DEFAULT_wxUSE_SELECT_DISPATCHER":-$defaultval}"
6172 eval "$wx_cv_use_selectloop"
6174 if test x
"$enablestring" = xdisable
; then
6175 if test $wxUSE_SELECT_DISPATCHER = yes; then
6181 result
=$wxUSE_SELECT_DISPATCHER
6184 { echo "$as_me:$LINENO: result: $result" >&5
6185 echo "${ECHO_T}$result" >&6; }
6190 defaultval
=$wxUSE_ALL_FEATURES
6191 if test -z "$defaultval"; then
6192 if test x
"$enablestring" = xdisable
; then
6199 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-apple_ieee" >&5
6200 echo $ECHO_N "checking for --${enablestring:-enable}-apple_ieee... $ECHO_C" >&6; }
6201 # Check whether --enable-apple_ieee was given.
6202 if test "${enable_apple_ieee+set}" = set; then
6203 enableval
=$enable_apple_ieee;
6204 if test "$enableval" = yes; then
6205 wx_cv_use_apple_ieee
='wxUSE_APPLE_IEEE=yes'
6207 wx_cv_use_apple_ieee
='wxUSE_APPLE_IEEE=no'
6212 wx_cv_use_apple_ieee
='wxUSE_APPLE_IEEE=${'DEFAULT_wxUSE_APPLE_IEEE":-$defaultval}"
6217 eval "$wx_cv_use_apple_ieee"
6219 if test x"$enablestring" = xdisable; then
6220 if test $wxUSE_APPLE_IEEE = yes; then
6226 result=$wxUSE_APPLE_IEEE
6229 { echo "$as_me:$LINENO: result: $result" >&5
6230 echo "${ECHO_T}$result" >&6; }
6234 defaultval=$wxUSE_ALL_FEATURES
6235 if test -z "$defaultval"; then
6236 if test x"$enablestring" = xdisable; then
6243 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-arcstream" >&5
6244 echo $ECHO_N "checking for --${enablestring:-enable}-arcstream... $ECHO_C" >&6; }
6245 # Check whether --enable-arcstream was given.
6246 if test "${enable_arcstream+set}" = set; then
6247 enableval=$enable_arcstream;
6248 if test "$enableval" = yes; then
6249 wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS
=yes'
6251 wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS
=no
'
6256 wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS
=${'DEFAULT_wxUSE_ARCHIVE_STREAMS":-$defaultval}"
6261 eval "$wx_cv_use_arcstream"
6263 if test x"$enablestring" = xdisable; then
6264 if test $wxUSE_ARCHIVE_STREAMS = yes; then
6270 result=$wxUSE_ARCHIVE_STREAMS
6273 { echo "$as_me:$LINENO: result
: $result" >&5
6274 echo "${ECHO_T}$result" >&6; }
6278 defaultval=$wxUSE_ALL_FEATURES
6279 if test -z "$defaultval"; then
6280 if test x"$enablestring" = xdisable; then
6287 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-base64" >&5
6288 echo $ECHO_N "checking
for --${enablestring:-enable}-base64...
$ECHO_C" >&6; }
6289 # Check whether --enable-base64 was given.
6290 if test "${enable_base64+set}" = set; then
6291 enableval=$enable_base64;
6292 if test "$enableval" = yes; then
6293 wx_cv_use_base64='wxUSE_BASE64=yes'
6295 wx_cv_use_base64='wxUSE_BASE64=no'
6300 wx_cv_use_base64='wxUSE_BASE64=${'DEFAULT_wxUSE_BASE64":-$defaultval}"
6305 eval "$wx_cv_use_base64"
6307 if test x
"$enablestring" = xdisable
; then
6308 if test $wxUSE_BASE64 = yes; then
6314 result
=$wxUSE_BASE64
6317 { echo "$as_me:$LINENO: result: $result" >&5
6318 echo "${ECHO_T}$result" >&6; }
6322 defaultval
=$wxUSE_ALL_FEATURES
6323 if test -z "$defaultval"; then
6324 if test x
"$enablestring" = xdisable
; then
6331 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-backtrace" >&5
6332 echo $ECHO_N "checking for --${enablestring:-enable}-backtrace... $ECHO_C" >&6; }
6333 # Check whether --enable-backtrace was given.
6334 if test "${enable_backtrace+set}" = set; then
6335 enableval
=$enable_backtrace;
6336 if test "$enableval" = yes; then
6337 wx_cv_use_backtrace
='wxUSE_STACKWALKER=yes'
6339 wx_cv_use_backtrace
='wxUSE_STACKWALKER=no'
6344 wx_cv_use_backtrace
='wxUSE_STACKWALKER=${'DEFAULT_wxUSE_STACKWALKER":-$defaultval}"
6349 eval "$wx_cv_use_backtrace"
6351 if test x"$enablestring" = xdisable; then
6352 if test $wxUSE_STACKWALKER = yes; then
6358 result=$wxUSE_STACKWALKER
6361 { echo "$as_me:$LINENO: result: $result" >&5
6362 echo "${ECHO_T}$result" >&6; }
6366 defaultval=$wxUSE_ALL_FEATURES
6367 if test -z "$defaultval"; then
6368 if test x"$enablestring" = xdisable; then
6375 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-catch_segvs" >&5
6376 echo $ECHO_N "checking for --${enablestring:-enable}-catch_segvs... $ECHO_C" >&6; }
6377 # Check whether --enable-catch_segvs was given.
6378 if test "${enable_catch_segvs+set}" = set; then
6379 enableval=$enable_catch_segvs;
6380 if test "$enableval" = yes; then
6381 wx_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION
=yes'
6383 wx_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION
=no
'
6388 wx_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION
=${'DEFAULT_wxUSE_ON_FATAL_EXCEPTION":-$defaultval}"
6393 eval "$wx_cv_use_catch_segvs"
6395 if test x"$enablestring" = xdisable; then
6396 if test $wxUSE_ON_FATAL_EXCEPTION = yes; then
6402 result=$wxUSE_ON_FATAL_EXCEPTION
6405 { echo "$as_me:$LINENO: result
: $result" >&5
6406 echo "${ECHO_T}$result" >&6; }
6410 defaultval=$wxUSE_ALL_FEATURES
6411 if test -z "$defaultval"; then
6412 if test x"$enablestring" = xdisable; then
6419 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-cmdline" >&5
6420 echo $ECHO_N "checking
for --${enablestring:-enable}-cmdline...
$ECHO_C" >&6; }
6421 # Check whether --enable-cmdline was given.
6422 if test "${enable_cmdline+set}" = set; then
6423 enableval=$enable_cmdline;
6424 if test "$enableval" = yes; then
6425 wx_cv_use_cmdline='wxUSE_CMDLINE_PARSER=yes'
6427 wx_cv_use_cmdline='wxUSE_CMDLINE_PARSER=no'
6432 wx_cv_use_cmdline='wxUSE_CMDLINE_PARSER=${'DEFAULT_wxUSE_CMDLINE_PARSER":-$defaultval}"
6437 eval "$wx_cv_use_cmdline"
6439 if test x
"$enablestring" = xdisable
; then
6440 if test $wxUSE_CMDLINE_PARSER = yes; then
6446 result
=$wxUSE_CMDLINE_PARSER
6449 { echo "$as_me:$LINENO: result: $result" >&5
6450 echo "${ECHO_T}$result" >&6; }
6454 defaultval
=$wxUSE_ALL_FEATURES
6455 if test -z "$defaultval"; then
6456 if test x
"$enablestring" = xdisable
; then
6463 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datetime" >&5
6464 echo $ECHO_N "checking for --${enablestring:-enable}-datetime... $ECHO_C" >&6; }
6465 # Check whether --enable-datetime was given.
6466 if test "${enable_datetime+set}" = set; then
6467 enableval
=$enable_datetime;
6468 if test "$enableval" = yes; then
6469 wx_cv_use_datetime
='wxUSE_DATETIME=yes'
6471 wx_cv_use_datetime
='wxUSE_DATETIME=no'
6476 wx_cv_use_datetime
='wxUSE_DATETIME=${'DEFAULT_wxUSE_DATETIME":-$defaultval}"
6481 eval "$wx_cv_use_datetime"
6483 if test x"$enablestring" = xdisable; then
6484 if test $wxUSE_DATETIME = yes; then
6490 result=$wxUSE_DATETIME
6493 { echo "$as_me:$LINENO: result: $result" >&5
6494 echo "${ECHO_T}$result" >&6; }
6498 defaultval=$wxUSE_ALL_FEATURES
6499 if test -z "$defaultval"; then
6500 if test x"$enablestring" = xdisable; then
6507 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debugreport" >&5
6508 echo $ECHO_N "checking for --${enablestring:-enable}-debugreport... $ECHO_C" >&6; }
6509 # Check whether --enable-debugreport was given.
6510 if test "${enable_debugreport+set}" = set; then
6511 enableval=$enable_debugreport;
6512 if test "$enableval" = yes; then
6513 wx_cv_use_debugreport='wxUSE_DEBUGREPORT
=yes'
6515 wx_cv_use_debugreport='wxUSE_DEBUGREPORT
=no
'
6520 wx_cv_use_debugreport='wxUSE_DEBUGREPORT
=${'DEFAULT_wxUSE_DEBUGREPORT":-$defaultval}"
6525 eval "$wx_cv_use_debugreport"
6527 if test x"$enablestring" = xdisable; then
6528 if test $wxUSE_DEBUGREPORT = yes; then
6534 result=$wxUSE_DEBUGREPORT
6537 { echo "$as_me:$LINENO: result
: $result" >&5
6538 echo "${ECHO_T}$result" >&6; }
6542 defaultval=$wxUSE_ALL_FEATURES
6543 if test -z "$defaultval"; then
6544 if test x"$enablestring" = xdisable; then
6551 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-dialupman" >&5
6552 echo $ECHO_N "checking
for --${enablestring:-enable}-dialupman...
$ECHO_C" >&6; }
6553 # Check whether --enable-dialupman was given.
6554 if test "${enable_dialupman+set}" = set; then
6555 enableval=$enable_dialupman;
6556 if test "$enableval" = yes; then
6557 wx_cv_use_dialupman='wxUSE_DIALUP_MANAGER=yes'
6559 wx_cv_use_dialupman='wxUSE_DIALUP_MANAGER=no'
6564 wx_cv_use_dialupman='wxUSE_DIALUP_MANAGER=${'DEFAULT_wxUSE_DIALUP_MANAGER":-$defaultval}"
6569 eval "$wx_cv_use_dialupman"
6571 if test x
"$enablestring" = xdisable
; then
6572 if test $wxUSE_DIALUP_MANAGER = yes; then
6578 result
=$wxUSE_DIALUP_MANAGER
6581 { echo "$as_me:$LINENO: result: $result" >&5
6582 echo "${ECHO_T}$result" >&6; }
6586 defaultval
=$wxUSE_ALL_FEATURES
6587 if test -z "$defaultval"; then
6588 if test x
"$enablestring" = xdisable
; then
6595 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynlib" >&5
6596 echo $ECHO_N "checking for --${enablestring:-enable}-dynlib... $ECHO_C" >&6; }
6597 # Check whether --enable-dynlib was given.
6598 if test "${enable_dynlib+set}" = set; then
6599 enableval
=$enable_dynlib;
6600 if test "$enableval" = yes; then
6601 wx_cv_use_dynlib
='wxUSE_DYNLIB_CLASS=yes'
6603 wx_cv_use_dynlib
='wxUSE_DYNLIB_CLASS=no'
6608 wx_cv_use_dynlib
='wxUSE_DYNLIB_CLASS=${'DEFAULT_wxUSE_DYNLIB_CLASS":-$defaultval}"
6613 eval "$wx_cv_use_dynlib"
6615 if test x"$enablestring" = xdisable; then
6616 if test $wxUSE_DYNLIB_CLASS = yes; then
6622 result=$wxUSE_DYNLIB_CLASS
6625 { echo "$as_me:$LINENO: result: $result" >&5
6626 echo "${ECHO_T}$result" >&6; }
6630 defaultval=$wxUSE_ALL_FEATURES
6631 if test -z "$defaultval"; then
6632 if test x"$enablestring" = xdisable; then
6639 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynamicloader" >&5
6640 echo $ECHO_N "checking for --${enablestring:-enable}-dynamicloader... $ECHO_C" >&6; }
6641 # Check whether --enable-dynamicloader was given.
6642 if test "${enable_dynamicloader+set}" = set; then
6643 enableval=$enable_dynamicloader;
6644 if test "$enableval" = yes; then
6645 wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER
=yes'
6647 wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER
=no
'
6652 wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER
=${'DEFAULT_wxUSE_DYNAMIC_LOADER":-$defaultval}"
6657 eval "$wx_cv_use_dynamicloader"
6659 if test x"$enablestring" = xdisable; then
6660 if test $wxUSE_DYNAMIC_LOADER = yes; then
6666 result=$wxUSE_DYNAMIC_LOADER
6669 { echo "$as_me:$LINENO: result
: $result" >&5
6670 echo "${ECHO_T}$result" >&6; }
6674 defaultval=$wxUSE_ALL_FEATURES
6675 if test -z "$defaultval"; then
6676 if test x"$enablestring" = xdisable; then
6683 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-exceptions" >&5
6684 echo $ECHO_N "checking
for --${enablestring:-enable}-exceptions...
$ECHO_C" >&6; }
6685 # Check whether --enable-exceptions was given.
6686 if test "${enable_exceptions+set}" = set; then
6687 enableval=$enable_exceptions;
6688 if test "$enableval" = yes; then
6689 wx_cv_use_exceptions='wxUSE_EXCEPTIONS=yes'
6691 wx_cv_use_exceptions='wxUSE_EXCEPTIONS=no'
6696 wx_cv_use_exceptions='wxUSE_EXCEPTIONS=${'DEFAULT_wxUSE_EXCEPTIONS":-$defaultval}"
6701 eval "$wx_cv_use_exceptions"
6703 if test x
"$enablestring" = xdisable
; then
6704 if test $wxUSE_EXCEPTIONS = yes; then
6710 result
=$wxUSE_EXCEPTIONS
6713 { echo "$as_me:$LINENO: result: $result" >&5
6714 echo "${ECHO_T}$result" >&6; }
6718 defaultval
=$wxUSE_ALL_FEATURES
6719 if test -z "$defaultval"; then
6720 if test x
"$enablestring" = xdisable
; then
6727 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ffile" >&5
6728 echo $ECHO_N "checking for --${enablestring:-enable}-ffile... $ECHO_C" >&6; }
6729 # Check whether --enable-ffile was given.
6730 if test "${enable_ffile+set}" = set; then
6731 enableval
=$enable_ffile;
6732 if test "$enableval" = yes; then
6733 wx_cv_use_ffile
='wxUSE_FFILE=yes'
6735 wx_cv_use_ffile
='wxUSE_FFILE=no'
6740 wx_cv_use_ffile
='wxUSE_FFILE=${'DEFAULT_wxUSE_FFILE":-$defaultval}"
6745 eval "$wx_cv_use_ffile"
6747 if test x"$enablestring" = xdisable; then
6748 if test $wxUSE_FFILE = yes; then
6757 { echo "$as_me:$LINENO: result: $result" >&5
6758 echo "${ECHO_T}$result" >&6; }
6762 defaultval=$wxUSE_ALL_FEATURES
6763 if test -z "$defaultval"; then
6764 if test x"$enablestring" = xdisable; then
6771 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-file" >&5
6772 echo $ECHO_N "checking for --${enablestring:-enable}-file... $ECHO_C" >&6; }
6773 # Check whether --enable-file was given.
6774 if test "${enable_file+set}" = set; then
6775 enableval=$enable_file;
6776 if test "$enableval" = yes; then
6777 wx_cv_use_file='wxUSE_FILE
=yes'
6779 wx_cv_use_file='wxUSE_FILE
=no
'
6784 wx_cv_use_file='wxUSE_FILE
=${'DEFAULT_wxUSE_FILE":-$defaultval}"
6789 eval "$wx_cv_use_file"
6791 if test x"$enablestring" = xdisable; then
6792 if test $wxUSE_FILE = yes; then
6801 { echo "$as_me:$LINENO: result
: $result" >&5
6802 echo "${ECHO_T}$result" >&6; }
6806 defaultval=$wxUSE_ALL_FEATURES
6807 if test -z "$defaultval"; then
6808 if test x"$enablestring" = xdisable; then
6815 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-filesystem" >&5
6816 echo $ECHO_N "checking
for --${enablestring:-enable}-filesystem...
$ECHO_C" >&6; }
6817 # Check whether --enable-filesystem was given.
6818 if test "${enable_filesystem+set}" = set; then
6819 enableval=$enable_filesystem;
6820 if test "$enableval" = yes; then
6821 wx_cv_use_filesystem='wxUSE_FILESYSTEM=yes'
6823 wx_cv_use_filesystem='wxUSE_FILESYSTEM=no'
6828 wx_cv_use_filesystem='wxUSE_FILESYSTEM=${'DEFAULT_wxUSE_FILESYSTEM":-$defaultval}"
6833 eval "$wx_cv_use_filesystem"
6835 if test x
"$enablestring" = xdisable
; then
6836 if test $wxUSE_FILESYSTEM = yes; then
6842 result
=$wxUSE_FILESYSTEM
6845 { echo "$as_me:$LINENO: result: $result" >&5
6846 echo "${ECHO_T}$result" >&6; }
6850 defaultval
=$wxUSE_ALL_FEATURES
6851 if test -z "$defaultval"; then
6852 if test x
"$enablestring" = xdisable
; then
6859 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontenum" >&5
6860 echo $ECHO_N "checking for --${enablestring:-enable}-fontenum... $ECHO_C" >&6; }
6861 # Check whether --enable-fontenum was given.
6862 if test "${enable_fontenum+set}" = set; then
6863 enableval
=$enable_fontenum;
6864 if test "$enableval" = yes; then
6865 wx_cv_use_fontenum
='wxUSE_FONTENUM=yes'
6867 wx_cv_use_fontenum
='wxUSE_FONTENUM=no'
6872 wx_cv_use_fontenum
='wxUSE_FONTENUM=${'DEFAULT_wxUSE_FONTENUM":-$defaultval}"
6877 eval "$wx_cv_use_fontenum"
6879 if test x"$enablestring" = xdisable; then
6880 if test $wxUSE_FONTENUM = yes; then
6886 result=$wxUSE_FONTENUM
6889 { echo "$as_me:$LINENO: result: $result" >&5
6890 echo "${ECHO_T}$result" >&6; }
6894 defaultval=$wxUSE_ALL_FEATURES
6895 if test -z "$defaultval"; then
6896 if test x"$enablestring" = xdisable; then
6903 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontmap" >&5
6904 echo $ECHO_N "checking for --${enablestring:-enable}-fontmap... $ECHO_C" >&6; }
6905 # Check whether --enable-fontmap was given.
6906 if test "${enable_fontmap+set}" = set; then
6907 enableval=$enable_fontmap;
6908 if test "$enableval" = yes; then
6909 wx_cv_use_fontmap='wxUSE_FONTMAP
=yes'
6911 wx_cv_use_fontmap='wxUSE_FONTMAP
=no
'
6916 wx_cv_use_fontmap='wxUSE_FONTMAP
=${'DEFAULT_wxUSE_FONTMAP":-$defaultval}"
6921 eval "$wx_cv_use_fontmap"
6923 if test x"$enablestring" = xdisable; then
6924 if test $wxUSE_FONTMAP = yes; then
6930 result=$wxUSE_FONTMAP
6933 { echo "$as_me:$LINENO: result
: $result" >&5
6934 echo "${ECHO_T}$result" >&6; }
6938 defaultval=$wxUSE_ALL_FEATURES
6939 if test -z "$defaultval"; then
6940 if test x"$enablestring" = xdisable; then
6947 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-fs_archive" >&5
6948 echo $ECHO_N "checking
for --${enablestring:-enable}-fs_archive...
$ECHO_C" >&6; }
6949 # Check whether --enable-fs_archive was given.
6950 if test "${enable_fs_archive+set}" = set; then
6951 enableval=$enable_fs_archive;
6952 if test "$enableval" = yes; then
6953 wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE=yes'
6955 wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE=no'
6960 wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE=${'DEFAULT_wxUSE_FS_ARCHIVE":-$defaultval}"
6965 eval "$wx_cv_use_fs_archive"
6967 if test x
"$enablestring" = xdisable
; then
6968 if test $wxUSE_FS_ARCHIVE = yes; then
6974 result
=$wxUSE_FS_ARCHIVE
6977 { echo "$as_me:$LINENO: result: $result" >&5
6978 echo "${ECHO_T}$result" >&6; }
6982 defaultval
=$wxUSE_ALL_FEATURES
6983 if test -z "$defaultval"; then
6984 if test x
"$enablestring" = xdisable
; then
6991 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_inet" >&5
6992 echo $ECHO_N "checking for --${enablestring:-enable}-fs_inet... $ECHO_C" >&6; }
6993 # Check whether --enable-fs_inet was given.
6994 if test "${enable_fs_inet+set}" = set; then
6995 enableval
=$enable_fs_inet;
6996 if test "$enableval" = yes; then
6997 wx_cv_use_fs_inet
='wxUSE_FS_INET=yes'
6999 wx_cv_use_fs_inet
='wxUSE_FS_INET=no'
7004 wx_cv_use_fs_inet
='wxUSE_FS_INET=${'DEFAULT_wxUSE_FS_INET":-$defaultval}"
7009 eval "$wx_cv_use_fs_inet"
7011 if test x"$enablestring" = xdisable; then
7012 if test $wxUSE_FS_INET = yes; then
7018 result=$wxUSE_FS_INET
7021 { echo "$as_me:$LINENO: result: $result" >&5
7022 echo "${ECHO_T}$result" >&6; }
7026 defaultval=$wxUSE_ALL_FEATURES
7027 if test -z "$defaultval"; then
7028 if test x"$enablestring" = xdisable; then
7035 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_zip" >&5
7036 echo $ECHO_N "checking for --${enablestring:-enable}-fs_zip... $ECHO_C" >&6; }
7037 # Check whether --enable-fs_zip was given.
7038 if test "${enable_fs_zip+set}" = set; then
7039 enableval=$enable_fs_zip;
7040 if test "$enableval" = yes; then
7041 wx_cv_use_fs_zip='wxUSE_FS_ZIP
=yes'
7043 wx_cv_use_fs_zip='wxUSE_FS_ZIP
=no
'
7048 wx_cv_use_fs_zip='wxUSE_FS_ZIP
=${'DEFAULT_wxUSE_FS_ZIP":-$defaultval}"
7053 eval "$wx_cv_use_fs_zip"
7055 if test x"$enablestring" = xdisable; then
7056 if test $wxUSE_FS_ZIP = yes; then
7062 result=$wxUSE_FS_ZIP
7065 { echo "$as_me:$LINENO: result
: $result" >&5
7066 echo "${ECHO_T}$result" >&6; }
7070 defaultval=$wxUSE_ALL_FEATURES
7071 if test -z "$defaultval"; then
7072 if test x"$enablestring" = xdisable; then
7079 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-geometry" >&5
7080 echo $ECHO_N "checking
for --${enablestring:-enable}-geometry...
$ECHO_C" >&6; }
7081 # Check whether --enable-geometry was given.
7082 if test "${enable_geometry+set}" = set; then
7083 enableval=$enable_geometry;
7084 if test "$enableval" = yes; then
7085 wx_cv_use_geometry='wxUSE_GEOMETRY=yes'
7087 wx_cv_use_geometry='wxUSE_GEOMETRY=no'
7092 wx_cv_use_geometry='wxUSE_GEOMETRY=${'DEFAULT_wxUSE_GEOMETRY":-$defaultval}"
7097 eval "$wx_cv_use_geometry"
7099 if test x
"$enablestring" = xdisable
; then
7100 if test $wxUSE_GEOMETRY = yes; then
7106 result
=$wxUSE_GEOMETRY
7109 { echo "$as_me:$LINENO: result: $result" >&5
7110 echo "${ECHO_T}$result" >&6; }
7114 defaultval
=$wxUSE_ALL_FEATURES
7115 if test -z "$defaultval"; then
7116 if test x
"$enablestring" = xdisable
; then
7123 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-log" >&5
7124 echo $ECHO_N "checking for --${enablestring:-enable}-log... $ECHO_C" >&6; }
7125 # Check whether --enable-log was given.
7126 if test "${enable_log+set}" = set; then
7127 enableval
=$enable_log;
7128 if test "$enableval" = yes; then
7129 wx_cv_use_log
='wxUSE_LOG=yes'
7131 wx_cv_use_log
='wxUSE_LOG=no'
7136 wx_cv_use_log
='wxUSE_LOG=${'DEFAULT_wxUSE_LOG":-$defaultval}"
7141 eval "$wx_cv_use_log"
7143 if test x"$enablestring" = xdisable; then
7144 if test $wxUSE_LOG = yes; then
7153 { echo "$as_me:$LINENO: result: $result" >&5
7154 echo "${ECHO_T}$result" >&6; }
7158 defaultval=$wxUSE_ALL_FEATURES
7159 if test -z "$defaultval"; then
7160 if test x"$enablestring" = xdisable; then
7167 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-longlong" >&5
7168 echo $ECHO_N "checking for --${enablestring:-enable}-longlong... $ECHO_C" >&6; }
7169 # Check whether --enable-longlong was given.
7170 if test "${enable_longlong+set}" = set; then
7171 enableval=$enable_longlong;
7172 if test "$enableval" = yes; then
7173 wx_cv_use_longlong='wxUSE_LONGLONG
=yes'
7175 wx_cv_use_longlong='wxUSE_LONGLONG
=no
'
7180 wx_cv_use_longlong='wxUSE_LONGLONG
=${'DEFAULT_wxUSE_LONGLONG":-$defaultval}"
7185 eval "$wx_cv_use_longlong"
7187 if test x"$enablestring" = xdisable; then
7188 if test $wxUSE_LONGLONG = yes; then
7194 result=$wxUSE_LONGLONG
7197 { echo "$as_me:$LINENO: result
: $result" >&5
7198 echo "${ECHO_T}$result" >&6; }
7202 defaultval=$wxUSE_ALL_FEATURES
7203 if test -z "$defaultval"; then
7204 if test x"$enablestring" = xdisable; then
7211 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-mimetype" >&5
7212 echo $ECHO_N "checking
for --${enablestring:-enable}-mimetype...
$ECHO_C" >&6; }
7213 # Check whether --enable-mimetype was given.
7214 if test "${enable_mimetype+set}" = set; then
7215 enableval=$enable_mimetype;
7216 if test "$enableval" = yes; then
7217 wx_cv_use_mimetype='wxUSE_MIMETYPE=yes'
7219 wx_cv_use_mimetype='wxUSE_MIMETYPE=no'
7224 wx_cv_use_mimetype='wxUSE_MIMETYPE=${'DEFAULT_wxUSE_MIMETYPE":-$defaultval}"
7229 eval "$wx_cv_use_mimetype"
7231 if test x
"$enablestring" = xdisable
; then
7232 if test $wxUSE_MIMETYPE = yes; then
7238 result
=$wxUSE_MIMETYPE
7241 { echo "$as_me:$LINENO: result: $result" >&5
7242 echo "${ECHO_T}$result" >&6; }
7246 defaultval
=$wxUSE_ALL_FEATURES
7247 if test -z "$defaultval"; then
7248 if test x
"$enablestring" = xdisable
; then
7255 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-snglinst" >&5
7256 echo $ECHO_N "checking for --${enablestring:-enable}-snglinst... $ECHO_C" >&6; }
7257 # Check whether --enable-snglinst was given.
7258 if test "${enable_snglinst+set}" = set; then
7259 enableval
=$enable_snglinst;
7260 if test "$enableval" = yes; then
7261 wx_cv_use_snglinst
='wxUSE_SNGLINST_CHECKER=yes'
7263 wx_cv_use_snglinst
='wxUSE_SNGLINST_CHECKER=no'
7268 wx_cv_use_snglinst
='wxUSE_SNGLINST_CHECKER=${'DEFAULT_wxUSE_SNGLINST_CHECKER":-$defaultval}"
7273 eval "$wx_cv_use_snglinst"
7275 if test x"$enablestring" = xdisable; then
7276 if test $wxUSE_SNGLINST_CHECKER = yes; then
7282 result=$wxUSE_SNGLINST_CHECKER
7285 { echo "$as_me:$LINENO: result: $result" >&5
7286 echo "${ECHO_T}$result" >&6; }
7290 defaultval=$wxUSE_ALL_FEATURES
7291 if test -z "$defaultval"; then
7292 if test x"$enablestring" = xdisable; then
7299 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stdpaths" >&5
7300 echo $ECHO_N "checking for --${enablestring:-enable}-stdpaths... $ECHO_C" >&6; }
7301 # Check whether --enable-stdpaths was given.
7302 if test "${enable_stdpaths+set}" = set; then
7303 enableval=$enable_stdpaths;
7304 if test "$enableval" = yes; then
7305 wx_cv_use_stdpaths='wxUSE_STDPATHS
=yes'
7307 wx_cv_use_stdpaths='wxUSE_STDPATHS
=no
'
7312 wx_cv_use_stdpaths='wxUSE_STDPATHS
=${'DEFAULT_wxUSE_STDPATHS":-$defaultval}"
7317 eval "$wx_cv_use_stdpaths"
7319 if test x"$enablestring" = xdisable; then
7320 if test $wxUSE_STDPATHS = yes; then
7326 result=$wxUSE_STDPATHS
7329 { echo "$as_me:$LINENO: result
: $result" >&5
7330 echo "${ECHO_T}$result" >&6; }
7334 defaultval=$wxUSE_ALL_FEATURES
7335 if test -z "$defaultval"; then
7336 if test x"$enablestring" = xdisable; then
7343 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-stopwatch" >&5
7344 echo $ECHO_N "checking
for --${enablestring:-enable}-stopwatch...
$ECHO_C" >&6; }
7345 # Check whether --enable-stopwatch was given.
7346 if test "${enable_stopwatch+set}" = set; then
7347 enableval=$enable_stopwatch;
7348 if test "$enableval" = yes; then
7349 wx_cv_use_stopwatch='wxUSE_STOPWATCH=yes'
7351 wx_cv_use_stopwatch='wxUSE_STOPWATCH=no'
7356 wx_cv_use_stopwatch='wxUSE_STOPWATCH=${'DEFAULT_wxUSE_STOPWATCH":-$defaultval}"
7361 eval "$wx_cv_use_stopwatch"
7363 if test x
"$enablestring" = xdisable
; then
7364 if test $wxUSE_STOPWATCH = yes; then
7370 result
=$wxUSE_STOPWATCH
7373 { echo "$as_me:$LINENO: result: $result" >&5
7374 echo "${ECHO_T}$result" >&6; }
7378 defaultval
=$wxUSE_ALL_FEATURES
7379 if test -z "$defaultval"; then
7380 if test x
"$enablestring" = xdisable
; then
7387 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-streams" >&5
7388 echo $ECHO_N "checking for --${enablestring:-enable}-streams... $ECHO_C" >&6; }
7389 # Check whether --enable-streams was given.
7390 if test "${enable_streams+set}" = set; then
7391 enableval
=$enable_streams;
7392 if test "$enableval" = yes; then
7393 wx_cv_use_streams
='wxUSE_STREAMS=yes'
7395 wx_cv_use_streams
='wxUSE_STREAMS=no'
7400 wx_cv_use_streams
='wxUSE_STREAMS=${'DEFAULT_wxUSE_STREAMS":-$defaultval}"
7405 eval "$wx_cv_use_streams"
7407 if test x"$enablestring" = xdisable; then
7408 if test $wxUSE_STREAMS = yes; then
7414 result=$wxUSE_STREAMS
7417 { echo "$as_me:$LINENO: result: $result" >&5
7418 echo "${ECHO_T}$result" >&6; }
7422 defaultval=$wxUSE_ALL_FEATURES
7423 if test -z "$defaultval"; then
7424 if test x"$enablestring" = xdisable; then
7431 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-system_options" >&5
7432 echo $ECHO_N "checking for --${enablestring:-enable}-system_options... $ECHO_C" >&6; }
7433 # Check whether --enable-system_options was given.
7434 if test "${enable_system_options+set}" = set; then
7435 enableval=$enable_system_options;
7436 if test "$enableval" = yes; then
7437 wx_cv_use_system_options='wxUSE_SYSTEM_OPTIONS
=yes'
7439 wx_cv_use_system_options='wxUSE_SYSTEM_OPTIONS
=no
'
7444 wx_cv_use_system_options='wxUSE_SYSTEM_OPTIONS
=${'DEFAULT_wxUSE_SYSTEM_OPTIONS":-$defaultval}"
7449 eval "$wx_cv_use_system_options"
7451 if test x"$enablestring" = xdisable; then
7452 if test $wxUSE_SYSTEM_OPTIONS = yes; then
7458 result=$wxUSE_SYSTEM_OPTIONS
7461 { echo "$as_me:$LINENO: result
: $result" >&5
7462 echo "${ECHO_T}$result" >&6; }
7466 defaultval=$wxUSE_ALL_FEATURES
7467 if test -z "$defaultval"; then
7468 if test x"$enablestring" = xdisable; then
7475 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-tarstream" >&5
7476 echo $ECHO_N "checking
for --${enablestring:-enable}-tarstream...
$ECHO_C" >&6; }
7477 # Check whether --enable-tarstream was given.
7478 if test "${enable_tarstream+set}" = set; then
7479 enableval=$enable_tarstream;
7480 if test "$enableval" = yes; then
7481 wx_cv_use_tarstream='wxUSE_TARSTREAM=yes'
7483 wx_cv_use_tarstream='wxUSE_TARSTREAM=no'
7488 wx_cv_use_tarstream='wxUSE_TARSTREAM=${'DEFAULT_wxUSE_TARSTREAM":-$defaultval}"
7493 eval "$wx_cv_use_tarstream"
7495 if test x
"$enablestring" = xdisable
; then
7496 if test $wxUSE_TARSTREAM = yes; then
7502 result
=$wxUSE_TARSTREAM
7505 { echo "$as_me:$LINENO: result: $result" >&5
7506 echo "${ECHO_T}$result" >&6; }
7510 defaultval
=$wxUSE_ALL_FEATURES
7511 if test -z "$defaultval"; then
7512 if test x
"$enablestring" = xdisable
; then
7519 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textbuf" >&5
7520 echo $ECHO_N "checking for --${enablestring:-enable}-textbuf... $ECHO_C" >&6; }
7521 # Check whether --enable-textbuf was given.
7522 if test "${enable_textbuf+set}" = set; then
7523 enableval
=$enable_textbuf;
7524 if test "$enableval" = yes; then
7525 wx_cv_use_textbuf
='wxUSE_TEXTBUFFER=yes'
7527 wx_cv_use_textbuf
='wxUSE_TEXTBUFFER=no'
7532 wx_cv_use_textbuf
='wxUSE_TEXTBUFFER=${'DEFAULT_wxUSE_TEXTBUFFER":-$defaultval}"
7537 eval "$wx_cv_use_textbuf"
7539 if test x"$enablestring" = xdisable; then
7540 if test $wxUSE_TEXTBUFFER = yes; then
7546 result=$wxUSE_TEXTBUFFER
7549 { echo "$as_me:$LINENO: result: $result" >&5
7550 echo "${ECHO_T}$result" >&6; }
7554 defaultval=$wxUSE_ALL_FEATURES
7555 if test -z "$defaultval"; then
7556 if test x"$enablestring" = xdisable; then
7563 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textfile" >&5
7564 echo $ECHO_N "checking for --${enablestring:-enable}-textfile... $ECHO_C" >&6; }
7565 # Check whether --enable-textfile was given.
7566 if test "${enable_textfile+set}" = set; then
7567 enableval=$enable_textfile;
7568 if test "$enableval" = yes; then
7569 wx_cv_use_textfile='wxUSE_TEXTFILE
=yes'
7571 wx_cv_use_textfile='wxUSE_TEXTFILE
=no
'
7576 wx_cv_use_textfile='wxUSE_TEXTFILE
=${'DEFAULT_wxUSE_TEXTFILE":-$defaultval}"
7581 eval "$wx_cv_use_textfile"
7583 if test x"$enablestring" = xdisable; then
7584 if test $wxUSE_TEXTFILE = yes; then
7590 result=$wxUSE_TEXTFILE
7593 { echo "$as_me:$LINENO: result
: $result" >&5
7594 echo "${ECHO_T}$result" >&6; }
7598 defaultval=$wxUSE_ALL_FEATURES
7599 if test -z "$defaultval"; then
7600 if test x"$enablestring" = xdisable; then
7607 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-timer" >&5
7608 echo $ECHO_N "checking
for --${enablestring:-enable}-timer...
$ECHO_C" >&6; }
7609 # Check whether --enable-timer was given.
7610 if test "${enable_timer+set}" = set; then
7611 enableval=$enable_timer;
7612 if test "$enableval" = yes; then
7613 wx_cv_use_timer='wxUSE_TIMER=yes'
7615 wx_cv_use_timer='wxUSE_TIMER=no'
7620 wx_cv_use_timer='wxUSE_TIMER=${'DEFAULT_wxUSE_TIMER":-$defaultval}"
7625 eval "$wx_cv_use_timer"
7627 if test x
"$enablestring" = xdisable
; then
7628 if test $wxUSE_TIMER = yes; then
7637 { echo "$as_me:$LINENO: result: $result" >&5
7638 echo "${ECHO_T}$result" >&6; }
7642 defaultval
=$wxUSE_ALL_FEATURES
7643 if test -z "$defaultval"; then
7644 if test x
"$enablestring" = xdisable
; then
7651 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sound" >&5
7652 echo $ECHO_N "checking for --${enablestring:-enable}-sound... $ECHO_C" >&6; }
7653 # Check whether --enable-sound was given.
7654 if test "${enable_sound+set}" = set; then
7655 enableval
=$enable_sound;
7656 if test "$enableval" = yes; then
7657 wx_cv_use_sound
='wxUSE_SOUND=yes'
7659 wx_cv_use_sound
='wxUSE_SOUND=no'
7664 wx_cv_use_sound
='wxUSE_SOUND=${'DEFAULT_wxUSE_SOUND":-$defaultval}"
7669 eval "$wx_cv_use_sound"
7671 if test x"$enablestring" = xdisable; then
7672 if test $wxUSE_SOUND = yes; then
7681 { echo "$as_me:$LINENO: result: $result" >&5
7682 echo "${ECHO_T}$result" >&6; }
7686 defaultval=$wxUSE_ALL_FEATURES
7687 if test -z "$defaultval"; then
7688 if test x"$enablestring" = xdisable; then
7695 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mediactrl" >&5
7696 echo $ECHO_N "checking for --${enablestring:-enable}-mediactrl... $ECHO_C" >&6; }
7697 # Check whether --enable-mediactrl was given.
7698 if test "${enable_mediactrl+set}" = set; then
7699 enableval=$enable_mediactrl;
7700 if test "$enableval" = yes; then
7701 wx_cv_use_mediactrl='wxUSE_MEDIACTRL
=yes'
7703 wx_cv_use_mediactrl='wxUSE_MEDIACTRL
=no
'
7708 wx_cv_use_mediactrl='wxUSE_MEDIACTRL
=${'DEFAULT_wxUSE_MEDIACTRL":-$defaultval}"
7713 eval "$wx_cv_use_mediactrl"
7715 if test x"$enablestring" = xdisable; then
7716 if test $wxUSE_MEDIACTRL = yes; then
7722 result=$wxUSE_MEDIACTRL
7725 { echo "$as_me:$LINENO: result
: $result" >&5
7726 echo "${ECHO_T}$result" >&6; }
7730 defaultval=$wxUSE_ALL_FEATURES
7731 if test -z "$defaultval"; then
7732 if test x"$enablestring" = xdisable; then
7739 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-gstreamer8" >&5
7740 echo $ECHO_N "checking
for --${enablestring:-enable}-gstreamer8...
$ECHO_C" >&6; }
7741 # Check whether --enable-gstreamer8 was given.
7742 if test "${enable_gstreamer8+set}" = set; then
7743 enableval=$enable_gstreamer8;
7744 if test "$enableval" = yes; then
7745 wx_cv_use_gstreamer8='wxUSE_GSTREAMER8=yes'
7747 wx_cv_use_gstreamer8='wxUSE_GSTREAMER8=no'
7752 wx_cv_use_gstreamer8='wxUSE_GSTREAMER8=${'DEFAULT_wxUSE_GSTREAMER8":-$defaultval}"
7757 eval "$wx_cv_use_gstreamer8"
7759 if test x
"$enablestring" = xdisable
; then
7760 if test $wxUSE_GSTREAMER8 = yes; then
7766 result
=$wxUSE_GSTREAMER8
7769 { echo "$as_me:$LINENO: result: $result" >&5
7770 echo "${ECHO_T}$result" >&6; }
7774 defaultval
=$wxUSE_ALL_FEATURES
7775 if test -z "$defaultval"; then
7776 if test x
"$enablestring" = xdisable
; then
7783 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printfposparam" >&5
7784 echo $ECHO_N "checking for --${enablestring:-enable}-printfposparam... $ECHO_C" >&6; }
7785 # Check whether --enable-printfposparam was given.
7786 if test "${enable_printfposparam+set}" = set; then
7787 enableval
=$enable_printfposparam;
7788 if test "$enableval" = yes; then
7789 wx_cv_use_printfposparam
='wxUSE_PRINTF_POS_PARAMS=yes'
7791 wx_cv_use_printfposparam
='wxUSE_PRINTF_POS_PARAMS=no'
7796 wx_cv_use_printfposparam
='wxUSE_PRINTF_POS_PARAMS=${'DEFAULT_wxUSE_PRINTF_POS_PARAMS":-$defaultval}"
7801 eval "$wx_cv_use_printfposparam"
7803 if test x"$enablestring" = xdisable; then
7804 if test $wxUSE_PRINTF_POS_PARAMS = yes; then
7810 result=$wxUSE_PRINTF_POS_PARAMS
7813 { echo "$as_me:$LINENO: result: $result" >&5
7814 echo "${ECHO_T}$result" >&6; }
7818 defaultval=$wxUSE_ALL_FEATURES
7819 if test -z "$defaultval"; then
7820 if test x"$enablestring" = xdisable; then
7827 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-zipstream" >&5
7828 echo $ECHO_N "checking for --${enablestring:-enable}-zipstream... $ECHO_C" >&6; }
7829 # Check whether --enable-zipstream was given.
7830 if test "${enable_zipstream+set}" = set; then
7831 enableval=$enable_zipstream;
7832 if test "$enableval" = yes; then
7833 wx_cv_use_zipstream='wxUSE_ZIPSTREAM
=yes'
7835 wx_cv_use_zipstream='wxUSE_ZIPSTREAM
=no
'
7840 wx_cv_use_zipstream='wxUSE_ZIPSTREAM
=${'DEFAULT_wxUSE_ZIPSTREAM":-$defaultval}"
7845 eval "$wx_cv_use_zipstream"
7847 if test x"$enablestring" = xdisable; then
7848 if test $wxUSE_ZIPSTREAM = yes; then
7854 result=$wxUSE_ZIPSTREAM
7857 { echo "$as_me:$LINENO: result
: $result" >&5
7858 echo "${ECHO_T}$result" >&6; }
7863 defaultval=$wxUSE_ALL_FEATURES
7864 if test -z "$defaultval"; then
7865 if test x"$enablestring" = xdisable; then
7872 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-url" >&5
7873 echo $ECHO_N "checking
for --${enablestring:-enable}-url...
$ECHO_C" >&6; }
7874 # Check whether --enable-url was given.
7875 if test "${enable_url+set}" = set; then
7876 enableval=$enable_url;
7877 if test "$enableval" = yes; then
7878 wx_cv_use_url='wxUSE_URL=yes'
7880 wx_cv_use_url='wxUSE_URL=no'
7885 wx_cv_use_url='wxUSE_URL=${'DEFAULT_wxUSE_URL":-$defaultval}"
7890 eval "$wx_cv_use_url"
7892 if test x
"$enablestring" = xdisable
; then
7893 if test $wxUSE_URL = yes; then
7902 { echo "$as_me:$LINENO: result: $result" >&5
7903 echo "${ECHO_T}$result" >&6; }
7907 defaultval
=$wxUSE_ALL_FEATURES
7908 if test -z "$defaultval"; then
7909 if test x
"$enablestring" = xdisable
; then
7916 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-variant" >&5
7917 echo $ECHO_N "checking for --${enablestring:-enable}-variant... $ECHO_C" >&6; }
7918 # Check whether --enable-variant was given.
7919 if test "${enable_variant+set}" = set; then
7920 enableval
=$enable_variant;
7921 if test "$enableval" = yes; then
7922 wx_cv_use_variant
='wxUSE_VARIANT=yes'
7924 wx_cv_use_variant
='wxUSE_VARIANT=no'
7929 wx_cv_use_variant
='wxUSE_VARIANT=${'DEFAULT_wxUSE_VARIANT":-$defaultval}"
7934 eval "$wx_cv_use_variant"
7936 if test x"$enablestring" = xdisable; then
7937 if test $wxUSE_VARIANT = yes; then
7943 result=$wxUSE_VARIANT
7946 { echo "$as_me:$LINENO: result: $result" >&5
7947 echo "${ECHO_T}$result" >&6; }
7951 defaultval=$wxUSE_ALL_FEATURES
7952 if test -z "$defaultval"; then
7953 if test x"$enablestring" = xdisable; then
7960 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol" >&5
7961 echo $ECHO_N "checking for --${enablestring:-enable}-protocol... $ECHO_C" >&6; }
7962 # Check whether --enable-protocol was given.
7963 if test "${enable_protocol+set}" = set; then
7964 enableval=$enable_protocol;
7965 if test "$enableval" = yes; then
7966 wx_cv_use_protocol='wxUSE_PROTOCOL
=yes'
7968 wx_cv_use_protocol='wxUSE_PROTOCOL
=no
'
7973 wx_cv_use_protocol='wxUSE_PROTOCOL
=${'DEFAULT_wxUSE_PROTOCOL":-$defaultval}"
7978 eval "$wx_cv_use_protocol"
7980 if test x"$enablestring" = xdisable; then
7981 if test $wxUSE_PROTOCOL = yes; then
7987 result=$wxUSE_PROTOCOL
7990 { echo "$as_me:$LINENO: result
: $result" >&5
7991 echo "${ECHO_T}$result" >&6; }
7995 defaultval=$wxUSE_ALL_FEATURES
7996 if test -z "$defaultval"; then
7997 if test x"$enablestring" = xdisable; then
8004 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-protocol_http" >&5
8005 echo $ECHO_N "checking
for --${enablestring:-enable}-protocol_http...
$ECHO_C" >&6; }
8006 # Check whether --enable-protocol_http was given.
8007 if test "${enable_protocol_http+set}" = set; then
8008 enableval=$enable_protocol_http;
8009 if test "$enableval" = yes; then
8010 wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=yes'
8012 wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=no'
8017 wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=${'DEFAULT_wxUSE_PROTOCOL_HTTP":-$defaultval}"
8022 eval "$wx_cv_use_protocol_http"
8024 if test x
"$enablestring" = xdisable
; then
8025 if test $wxUSE_PROTOCOL_HTTP = yes; then
8031 result
=$wxUSE_PROTOCOL_HTTP
8034 { echo "$as_me:$LINENO: result: $result" >&5
8035 echo "${ECHO_T}$result" >&6; }
8039 defaultval
=$wxUSE_ALL_FEATURES
8040 if test -z "$defaultval"; then
8041 if test x
"$enablestring" = xdisable
; then
8048 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_ftp" >&5
8049 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_ftp... $ECHO_C" >&6; }
8050 # Check whether --enable-protocol_ftp was given.
8051 if test "${enable_protocol_ftp+set}" = set; then
8052 enableval
=$enable_protocol_ftp;
8053 if test "$enableval" = yes; then
8054 wx_cv_use_protocol_ftp
='wxUSE_PROTOCOL_FTP=yes'
8056 wx_cv_use_protocol_ftp
='wxUSE_PROTOCOL_FTP=no'
8061 wx_cv_use_protocol_ftp
='wxUSE_PROTOCOL_FTP=${'DEFAULT_wxUSE_PROTOCOL_FTP":-$defaultval}"
8066 eval "$wx_cv_use_protocol_ftp"
8068 if test x"$enablestring" = xdisable; then
8069 if test $wxUSE_PROTOCOL_FTP = yes; then
8075 result=$wxUSE_PROTOCOL_FTP
8078 { echo "$as_me:$LINENO: result: $result" >&5
8079 echo "${ECHO_T}$result" >&6; }
8083 defaultval=$wxUSE_ALL_FEATURES
8084 if test -z "$defaultval"; then
8085 if test x"$enablestring" = xdisable; then
8092 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_file" >&5
8093 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_file... $ECHO_C" >&6; }
8094 # Check whether --enable-protocol_file was given.
8095 if test "${enable_protocol_file+set}" = set; then
8096 enableval=$enable_protocol_file;
8097 if test "$enableval" = yes; then
8098 wx_cv_use_protocol_file='wxUSE_PROTOCOL_FILE
=yes'
8100 wx_cv_use_protocol_file='wxUSE_PROTOCOL_FILE
=no
'
8105 wx_cv_use_protocol_file='wxUSE_PROTOCOL_FILE
=${'DEFAULT_wxUSE_PROTOCOL_FILE":-$defaultval}"
8110 eval "$wx_cv_use_protocol_file"
8112 if test x"$enablestring" = xdisable; then
8113 if test $wxUSE_PROTOCOL_FILE = yes; then
8119 result=$wxUSE_PROTOCOL_FILE
8122 { echo "$as_me:$LINENO: result
: $result" >&5
8123 echo "${ECHO_T}$result" >&6; }
8128 defaultval=$wxUSE_ALL_FEATURES
8129 if test -z "$defaultval"; then
8130 if test x"$enablestring" = xdisable; then
8137 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-threads" >&5
8138 echo $ECHO_N "checking
for --${enablestring:-enable}-threads...
$ECHO_C" >&6; }
8139 # Check whether --enable-threads was given.
8140 if test "${enable_threads+set}" = set; then
8141 enableval=$enable_threads;
8142 if test "$enableval" = yes; then
8143 wx_cv_use_threads='wxUSE_THREADS=yes'
8145 wx_cv_use_threads='wxUSE_THREADS=no'
8150 wx_cv_use_threads='wxUSE_THREADS=${'DEFAULT_wxUSE_THREADS":-$defaultval}"
8155 eval "$wx_cv_use_threads"
8157 if test x
"$enablestring" = xdisable
; then
8158 if test $wxUSE_THREADS = yes; then
8164 result
=$wxUSE_THREADS
8167 { echo "$as_me:$LINENO: result: $result" >&5
8168 echo "${ECHO_T}$result" >&6; }
8174 if test -z "$defaultval"; then
8175 if test x
"$enablestring" = xdisable
; then
8182 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-iniconf" >&5
8183 echo $ECHO_N "checking for --${enablestring:-enable}-iniconf... $ECHO_C" >&6; }
8184 # Check whether --enable-iniconf was given.
8185 if test "${enable_iniconf+set}" = set; then
8186 enableval
=$enable_iniconf;
8187 if test "$enableval" = yes; then
8188 wx_cv_use_iniconf
='wxUSE_INICONF=yes'
8190 wx_cv_use_iniconf
='wxUSE_INICONF=no'
8195 wx_cv_use_iniconf
='wxUSE_INICONF=${'DEFAULT_wxUSE_INICONF":-$defaultval}"
8200 eval "$wx_cv_use_iniconf"
8202 if test x"$enablestring" = xdisable; then
8203 if test $wxUSE_INICONF = yes; then
8209 result=$wxUSE_INICONF
8212 { echo "$as_me:$LINENO: result: $result" >&5
8213 echo "${ECHO_T}$result" >&6; }
8217 defaultval=$wxUSE_ALL_FEATURES
8218 if test -z "$defaultval"; then
8219 if test x"$enablestring" = xdisable; then
8226 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-regkey" >&5
8227 echo $ECHO_N "checking for --${enablestring:-enable}-regkey... $ECHO_C" >&6; }
8228 # Check whether --enable-regkey was given.
8229 if test "${enable_regkey+set}" = set; then
8230 enableval=$enable_regkey;
8231 if test "$enableval" = yes; then
8232 wx_cv_use_regkey='wxUSE_REGKEY
=yes'
8234 wx_cv_use_regkey='wxUSE_REGKEY
=no
'
8239 wx_cv_use_regkey='wxUSE_REGKEY
=${'DEFAULT_wxUSE_REGKEY":-$defaultval}"
8244 eval "$wx_cv_use_regkey"
8246 if test x"$enablestring" = xdisable; then
8247 if test $wxUSE_REGKEY = yes; then
8253 result=$wxUSE_REGKEY
8256 { echo "$as_me:$LINENO: result
: $result" >&5
8257 echo "${ECHO_T}$result" >&6; }
8260 if test "$wxUSE_GUI" = "yes"; then
8265 defaultval=$wxUSE_ALL_FEATURES
8266 if test -z "$defaultval"; then
8267 if test x"$enablestring" = xdisable; then
8274 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-docview" >&5
8275 echo $ECHO_N "checking
for --${enablestring:-enable}-docview...
$ECHO_C" >&6; }
8276 # Check whether --enable-docview was given.
8277 if test "${enable_docview+set}" = set; then
8278 enableval=$enable_docview;
8279 if test "$enableval" = yes; then
8280 wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=yes'
8282 wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=no'
8287 wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=${'DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE":-$defaultval}"
8292 eval "$wx_cv_use_docview"
8294 if test x
"$enablestring" = xdisable
; then
8295 if test $wxUSE_DOC_VIEW_ARCHITECTURE = yes; then
8301 result
=$wxUSE_DOC_VIEW_ARCHITECTURE
8304 { echo "$as_me:$LINENO: result: $result" >&5
8305 echo "${ECHO_T}$result" >&6; }
8309 defaultval
=$wxUSE_ALL_FEATURES
8310 if test -z "$defaultval"; then
8311 if test x
"$enablestring" = xdisable
; then
8318 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-help" >&5
8319 echo $ECHO_N "checking for --${enablestring:-enable}-help... $ECHO_C" >&6; }
8320 # Check whether --enable-help was given.
8321 if test "${enable_help+set}" = set; then
8322 enableval
=$enable_help;
8323 if test "$enableval" = yes; then
8324 wx_cv_use_help
='wxUSE_HELP=yes'
8326 wx_cv_use_help
='wxUSE_HELP=no'
8331 wx_cv_use_help
='wxUSE_HELP=${'DEFAULT_wxUSE_HELP":-$defaultval}"
8336 eval "$wx_cv_use_help"
8338 if test x"$enablestring" = xdisable; then
8339 if test $wxUSE_HELP = yes; then
8348 { echo "$as_me:$LINENO: result: $result" >&5
8349 echo "${ECHO_T}$result" >&6; }
8353 defaultval=$wxUSE_ALL_FEATURES
8354 if test -z "$defaultval"; then
8355 if test x"$enablestring" = xdisable; then
8362 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mshtmlhelp" >&5
8363 echo $ECHO_N "checking for --${enablestring:-enable}-mshtmlhelp... $ECHO_C" >&6; }
8364 # Check whether --enable-mshtmlhelp was given.
8365 if test "${enable_mshtmlhelp+set}" = set; then
8366 enableval=$enable_mshtmlhelp;
8367 if test "$enableval" = yes; then
8368 wx_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP
=yes'
8370 wx_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP
=no
'
8375 wx_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP
=${'DEFAULT_wxUSE_MS_HTML_HELP":-$defaultval}"
8380 eval "$wx_cv_use_mshtmlhelp"
8382 if test x"$enablestring" = xdisable; then
8383 if test $wxUSE_MS_HTML_HELP = yes; then
8389 result=$wxUSE_MS_HTML_HELP
8392 { echo "$as_me:$LINENO: result
: $result" >&5
8393 echo "${ECHO_T}$result" >&6; }
8397 defaultval=$wxUSE_ALL_FEATURES
8398 if test -z "$defaultval"; then
8399 if test x"$enablestring" = xdisable; then
8406 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-html" >&5
8407 echo $ECHO_N "checking
for --${enablestring:-enable}-html...
$ECHO_C" >&6; }
8408 # Check whether --enable-html was given.
8409 if test "${enable_html+set}" = set; then
8410 enableval=$enable_html;
8411 if test "$enableval" = yes; then
8412 wx_cv_use_html='wxUSE_HTML=yes'
8414 wx_cv_use_html='wxUSE_HTML=no'
8419 wx_cv_use_html='wxUSE_HTML=${'DEFAULT_wxUSE_HTML":-$defaultval}"
8424 eval "$wx_cv_use_html"
8426 if test x
"$enablestring" = xdisable
; then
8427 if test $wxUSE_HTML = yes; then
8436 { echo "$as_me:$LINENO: result: $result" >&5
8437 echo "${ECHO_T}$result" >&6; }
8441 defaultval
=$wxUSE_ALL_FEATURES
8442 if test -z "$defaultval"; then
8443 if test x
"$enablestring" = xdisable
; then
8450 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-htmlhelp" >&5
8451 echo $ECHO_N "checking for --${enablestring:-enable}-htmlhelp... $ECHO_C" >&6; }
8452 # Check whether --enable-htmlhelp was given.
8453 if test "${enable_htmlhelp+set}" = set; then
8454 enableval
=$enable_htmlhelp;
8455 if test "$enableval" = yes; then
8456 wx_cv_use_htmlhelp
='wxUSE_WXHTML_HELP=yes'
8458 wx_cv_use_htmlhelp
='wxUSE_WXHTML_HELP=no'
8463 wx_cv_use_htmlhelp
='wxUSE_WXHTML_HELP=${'DEFAULT_wxUSE_WXHTML_HELP":-$defaultval}"
8468 eval "$wx_cv_use_htmlhelp"
8470 if test x"$enablestring" = xdisable; then
8471 if test $wxUSE_WXHTML_HELP = yes; then
8477 result=$wxUSE_WXHTML_HELP
8480 { echo "$as_me:$LINENO: result: $result" >&5
8481 echo "${ECHO_T}$result" >&6; }
8485 defaultval=$wxUSE_ALL_FEATURES
8486 if test -z "$defaultval"; then
8487 if test x"$enablestring" = xdisable; then
8494 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xrc" >&5
8495 echo $ECHO_N "checking for --${enablestring:-enable}-xrc... $ECHO_C" >&6; }
8496 # Check whether --enable-xrc was given.
8497 if test "${enable_xrc+set}" = set; then
8498 enableval=$enable_xrc;
8499 if test "$enableval" = yes; then
8500 wx_cv_use_xrc='wxUSE_XRC
=yes'
8502 wx_cv_use_xrc='wxUSE_XRC
=no
'
8507 wx_cv_use_xrc='wxUSE_XRC
=${'DEFAULT_wxUSE_XRC":-$defaultval}"
8512 eval "$wx_cv_use_xrc"
8514 if test x"$enablestring" = xdisable; then
8515 if test $wxUSE_XRC = yes; then
8524 { echo "$as_me:$LINENO: result
: $result" >&5
8525 echo "${ECHO_T}$result" >&6; }
8529 defaultval=$wxUSE_ALL_FEATURES
8530 if test -z "$defaultval"; then
8531 if test x"$enablestring" = xdisable; then
8538 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-aui" >&5
8539 echo $ECHO_N "checking
for --${enablestring:-enable}-aui...
$ECHO_C" >&6; }
8540 # Check whether --enable-aui was given.
8541 if test "${enable_aui+set}" = set; then
8542 enableval=$enable_aui;
8543 if test "$enableval" = yes; then
8544 wx_cv_use_aui='wxUSE_AUI=yes'
8546 wx_cv_use_aui='wxUSE_AUI=no'
8551 wx_cv_use_aui='wxUSE_AUI=${'DEFAULT_wxUSE_AUI":-$defaultval}"
8556 eval "$wx_cv_use_aui"
8558 if test x
"$enablestring" = xdisable
; then
8559 if test $wxUSE_AUI = yes; then
8568 { echo "$as_me:$LINENO: result: $result" >&5
8569 echo "${ECHO_T}$result" >&6; }
8573 defaultval
=$wxUSE_ALL_FEATURES
8574 if test -z "$defaultval"; then
8575 if test x
"$enablestring" = xdisable
; then
8582 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stc" >&5
8583 echo $ECHO_N "checking for --${enablestring:-enable}-stc... $ECHO_C" >&6; }
8584 # Check whether --enable-stc was given.
8585 if test "${enable_stc+set}" = set; then
8586 enableval
=$enable_stc;
8587 if test "$enableval" = yes; then
8588 wx_cv_use_stc
='wxUSE_STC=yes'
8590 wx_cv_use_stc
='wxUSE_STC=no'
8595 wx_cv_use_stc
='wxUSE_STC=${'DEFAULT_wxUSE_STC":-$defaultval}"
8600 eval "$wx_cv_use_stc"
8602 if test x"$enablestring" = xdisable; then
8603 if test $wxUSE_STC = yes; then
8612 { echo "$as_me:$LINENO: result: $result" >&5
8613 echo "${ECHO_T}$result" >&6; }
8617 defaultval=$wxUSE_ALL_FEATURES
8618 if test -z "$defaultval"; then
8619 if test x"$enablestring" = xdisable; then
8626 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-constraints" >&5
8627 echo $ECHO_N "checking for --${enablestring:-enable}-constraints... $ECHO_C" >&6; }
8628 # Check whether --enable-constraints was given.
8629 if test "${enable_constraints+set}" = set; then
8630 enableval=$enable_constraints;
8631 if test "$enableval" = yes; then
8632 wx_cv_use_constraints='wxUSE_CONSTRAINTS
=yes'
8634 wx_cv_use_constraints='wxUSE_CONSTRAINTS
=no
'
8639 wx_cv_use_constraints='wxUSE_CONSTRAINTS
=${'DEFAULT_wxUSE_CONSTRAINTS":-$defaultval}"
8644 eval "$wx_cv_use_constraints"
8646 if test x"$enablestring" = xdisable; then
8647 if test $wxUSE_CONSTRAINTS = yes; then
8653 result=$wxUSE_CONSTRAINTS
8656 { echo "$as_me:$LINENO: result
: $result" >&5
8657 echo "${ECHO_T}$result" >&6; }
8661 defaultval=$wxUSE_ALL_FEATURES
8662 if test -z "$defaultval"; then
8663 if test x"$enablestring" = xdisable; then
8670 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-printarch" >&5
8671 echo $ECHO_N "checking
for --${enablestring:-enable}-printarch...
$ECHO_C" >&6; }
8672 # Check whether --enable-printarch was given.
8673 if test "${enable_printarch+set}" = set; then
8674 enableval=$enable_printarch;
8675 if test "$enableval" = yes; then
8676 wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=yes'
8678 wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=no'
8683 wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=${'DEFAULT_wxUSE_PRINTING_ARCHITECTURE":-$defaultval}"
8688 eval "$wx_cv_use_printarch"
8690 if test x
"$enablestring" = xdisable
; then
8691 if test $wxUSE_PRINTING_ARCHITECTURE = yes; then
8697 result
=$wxUSE_PRINTING_ARCHITECTURE
8700 { echo "$as_me:$LINENO: result: $result" >&5
8701 echo "${ECHO_T}$result" >&6; }
8705 defaultval
=$wxUSE_ALL_FEATURES
8706 if test -z "$defaultval"; then
8707 if test x
"$enablestring" = xdisable
; then
8714 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdi" >&5
8715 echo $ECHO_N "checking for --${enablestring:-enable}-mdi... $ECHO_C" >&6; }
8716 # Check whether --enable-mdi was given.
8717 if test "${enable_mdi+set}" = set; then
8718 enableval
=$enable_mdi;
8719 if test "$enableval" = yes; then
8720 wx_cv_use_mdi
='wxUSE_MDI=yes'
8722 wx_cv_use_mdi
='wxUSE_MDI=no'
8727 wx_cv_use_mdi
='wxUSE_MDI=${'DEFAULT_wxUSE_MDI":-$defaultval}"
8732 eval "$wx_cv_use_mdi"
8734 if test x"$enablestring" = xdisable; then
8735 if test $wxUSE_MDI = yes; then
8744 { echo "$as_me:$LINENO: result: $result" >&5
8745 echo "${ECHO_T}$result" >&6; }
8749 defaultval=$wxUSE_ALL_FEATURES
8750 if test -z "$defaultval"; then
8751 if test x"$enablestring" = xdisable; then
8758 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdidoc" >&5
8759 echo $ECHO_N "checking for --${enablestring:-enable}-mdidoc... $ECHO_C" >&6; }
8760 # Check whether --enable-mdidoc was given.
8761 if test "${enable_mdidoc+set}" = set; then
8762 enableval=$enable_mdidoc;
8763 if test "$enableval" = yes; then
8764 wx_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE
=yes'
8766 wx_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE
=no
'
8771 wx_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE
=${'DEFAULT_wxUSE_MDI_ARCHITECTURE":-$defaultval}"
8776 eval "$wx_cv_use_mdidoc"
8778 if test x"$enablestring" = xdisable; then
8779 if test $wxUSE_MDI_ARCHITECTURE = yes; then
8785 result=$wxUSE_MDI_ARCHITECTURE
8788 { echo "$as_me:$LINENO: result
: $result" >&5
8789 echo "${ECHO_T}$result" >&6; }
8793 defaultval=$wxUSE_ALL_FEATURES
8794 if test -z "$defaultval"; then
8795 if test x"$enablestring" = xdisable; then
8802 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-loggui" >&5
8803 echo $ECHO_N "checking
for --${enablestring:-enable}-loggui...
$ECHO_C" >&6; }
8804 # Check whether --enable-loggui was given.
8805 if test "${enable_loggui+set}" = set; then
8806 enableval=$enable_loggui;
8807 if test "$enableval" = yes; then
8808 wx_cv_use_loggui='wxUSE_LOGGUI=yes'
8810 wx_cv_use_loggui='wxUSE_LOGGUI=no'
8815 wx_cv_use_loggui='wxUSE_LOGGUI=${'DEFAULT_wxUSE_LOGGUI":-$defaultval}"
8820 eval "$wx_cv_use_loggui"
8822 if test x
"$enablestring" = xdisable
; then
8823 if test $wxUSE_LOGGUI = yes; then
8829 result
=$wxUSE_LOGGUI
8832 { echo "$as_me:$LINENO: result: $result" >&5
8833 echo "${ECHO_T}$result" >&6; }
8837 defaultval
=$wxUSE_ALL_FEATURES
8838 if test -z "$defaultval"; then
8839 if test x
"$enablestring" = xdisable
; then
8846 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logwin" >&5
8847 echo $ECHO_N "checking for --${enablestring:-enable}-logwin... $ECHO_C" >&6; }
8848 # Check whether --enable-logwin was given.
8849 if test "${enable_logwin+set}" = set; then
8850 enableval
=$enable_logwin;
8851 if test "$enableval" = yes; then
8852 wx_cv_use_logwin
='wxUSE_LOGWINDOW=yes'
8854 wx_cv_use_logwin
='wxUSE_LOGWINDOW=no'
8859 wx_cv_use_logwin
='wxUSE_LOGWINDOW=${'DEFAULT_wxUSE_LOGWINDOW":-$defaultval}"
8864 eval "$wx_cv_use_logwin"
8866 if test x"$enablestring" = xdisable; then
8867 if test $wxUSE_LOGWINDOW = yes; then
8873 result=$wxUSE_LOGWINDOW
8876 { echo "$as_me:$LINENO: result: $result" >&5
8877 echo "${ECHO_T}$result" >&6; }
8881 defaultval=$wxUSE_ALL_FEATURES
8882 if test -z "$defaultval"; then
8883 if test x"$enablestring" = xdisable; then
8890 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logdialog" >&5
8891 echo $ECHO_N "checking for --${enablestring:-enable}-logdialog... $ECHO_C" >&6; }
8892 # Check whether --enable-logdialog was given.
8893 if test "${enable_logdialog+set}" = set; then
8894 enableval=$enable_logdialog;
8895 if test "$enableval" = yes; then
8896 wx_cv_use_logdialog='wxUSE_LOGDIALOG
=yes'
8898 wx_cv_use_logdialog='wxUSE_LOGDIALOG
=no
'
8903 wx_cv_use_logdialog='wxUSE_LOGDIALOG
=${'DEFAULT_wxUSE_LOGDIALOG":-$defaultval}"
8908 eval "$wx_cv_use_logdialog"
8910 if test x"$enablestring" = xdisable; then
8911 if test $wxUSE_LOGDIALOG = yes; then
8917 result=$wxUSE_LOGDIALOG
8920 { echo "$as_me:$LINENO: result
: $result" >&5
8921 echo "${ECHO_T}$result" >&6; }
8925 defaultval=$wxUSE_ALL_FEATURES
8926 if test -z "$defaultval"; then
8927 if test x"$enablestring" = xdisable; then
8934 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-webkit" >&5
8935 echo $ECHO_N "checking
for --${enablestring:-enable}-webkit...
$ECHO_C" >&6; }
8936 # Check whether --enable-webkit was given.
8937 if test "${enable_webkit+set}" = set; then
8938 enableval=$enable_webkit;
8939 if test "$enableval" = yes; then
8940 wx_cv_use_webkit='wxUSE_WEBKIT=yes'
8942 wx_cv_use_webkit='wxUSE_WEBKIT=no'
8947 wx_cv_use_webkit='wxUSE_WEBKIT=${'DEFAULT_wxUSE_WEBKIT":-$defaultval}"
8952 eval "$wx_cv_use_webkit"
8954 if test x
"$enablestring" = xdisable
; then
8955 if test $wxUSE_WEBKIT = yes; then
8961 result
=$wxUSE_WEBKIT
8964 { echo "$as_me:$LINENO: result: $result" >&5
8965 echo "${ECHO_T}$result" >&6; }
8969 defaultval
=$wxUSE_ALL_FEATURES
8970 if test -z "$defaultval"; then
8971 if test x
"$enablestring" = xdisable
; then
8978 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-richtext" >&5
8979 echo $ECHO_N "checking for --${enablestring:-enable}-richtext... $ECHO_C" >&6; }
8980 # Check whether --enable-richtext was given.
8981 if test "${enable_richtext+set}" = set; then
8982 enableval
=$enable_richtext;
8983 if test "$enableval" = yes; then
8984 wx_cv_use_richtext
='wxUSE_RICHTEXT=yes'
8986 wx_cv_use_richtext
='wxUSE_RICHTEXT=no'
8991 wx_cv_use_richtext
='wxUSE_RICHTEXT=${'DEFAULT_wxUSE_RICHTEXT":-$defaultval}"
8996 eval "$wx_cv_use_richtext"
8998 if test x"$enablestring" = xdisable; then
8999 if test $wxUSE_RICHTEXT = yes; then
9005 result=$wxUSE_RICHTEXT
9008 { echo "$as_me:$LINENO: result: $result" >&5
9009 echo "${ECHO_T}$result" >&6; }
9013 defaultval=$wxUSE_ALL_FEATURES
9014 if test -z "$defaultval"; then
9015 if test x"$enablestring" = xdisable; then
9022 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-graphics_ctx" >&5
9023 echo $ECHO_N "checking for --${enablestring:-enable}-graphics_ctx... $ECHO_C" >&6; }
9024 # Check whether --enable-graphics_ctx was given.
9025 if test "${enable_graphics_ctx+set}" = set; then
9026 enableval=$enable_graphics_ctx;
9027 if test "$enableval" = yes; then
9028 wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT
=yes'
9030 wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT
=no
'
9035 wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT
=${'DEFAULT_wxUSE_GRAPHICS_CONTEXT":-$defaultval}"
9040 eval "$wx_cv_use_graphics_ctx"
9042 if test x"$enablestring" = xdisable; then
9043 if test $wxUSE_GRAPHICS_CONTEXT = yes; then
9049 result=$wxUSE_GRAPHICS_CONTEXT
9052 { echo "$as_me:$LINENO: result
: $result" >&5
9053 echo "${ECHO_T}$result" >&6; }
9057 defaultval=$wxUSE_ALL_FEATURES
9058 if test -z "$defaultval"; then
9059 if test x"$enablestring" = xdisable; then
9066 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-postscript" >&5
9067 echo $ECHO_N "checking
for --${enablestring:-enable}-postscript...
$ECHO_C" >&6; }
9068 # Check whether --enable-postscript was given.
9069 if test "${enable_postscript+set}" = set; then
9070 enableval=$enable_postscript;
9071 if test "$enableval" = yes; then
9072 wx_cv_use_postscript='wxUSE_POSTSCRIPT=yes'
9074 wx_cv_use_postscript='wxUSE_POSTSCRIPT=no'
9079 wx_cv_use_postscript='wxUSE_POSTSCRIPT=${'DEFAULT_wxUSE_POSTSCRIPT":-$defaultval}"
9084 eval "$wx_cv_use_postscript"
9086 if test x
"$enablestring" = xdisable
; then
9087 if test $wxUSE_POSTSCRIPT = yes; then
9093 result
=$wxUSE_POSTSCRIPT
9096 { echo "$as_me:$LINENO: result: $result" >&5
9097 echo "${ECHO_T}$result" >&6; }
9101 defaultval
=$wxUSE_ALL_FEATURES
9102 if test -z "$defaultval"; then
9103 if test x
"$enablestring" = xdisable
; then
9110 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-svg" >&5
9111 echo $ECHO_N "checking for --${enablestring:-enable}-svg... $ECHO_C" >&6; }
9112 # Check whether --enable-svg was given.
9113 if test "${enable_svg+set}" = set; then
9114 enableval
=$enable_svg;
9115 if test "$enableval" = yes; then
9116 wx_cv_use_svg
='wxUSE_SVG=yes'
9118 wx_cv_use_svg
='wxUSE_SVG=no'
9123 wx_cv_use_svg
='wxUSE_SVG=${'DEFAULT_wxUSE_SVG":-$defaultval}"
9128 eval "$wx_cv_use_svg"
9130 if test x"$enablestring" = xdisable; then
9131 if test $wxUSE_SVG = yes; then
9140 { echo "$as_me:$LINENO: result: $result" >&5
9141 echo "${ECHO_T}$result" >&6; }
9147 defaultval=$wxUSE_ALL_FEATURES
9148 if test -z "$defaultval"; then
9149 if test x"$enablestring" = xdisable; then
9156 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-clipboard" >&5
9157 echo $ECHO_N "checking for --${enablestring:-enable}-clipboard... $ECHO_C" >&6; }
9158 # Check whether --enable-clipboard was given.
9159 if test "${enable_clipboard+set}" = set; then
9160 enableval=$enable_clipboard;
9161 if test "$enableval" = yes; then
9162 wx_cv_use_clipboard='wxUSE_CLIPBOARD
=yes'
9164 wx_cv_use_clipboard='wxUSE_CLIPBOARD
=no
'
9169 wx_cv_use_clipboard='wxUSE_CLIPBOARD
=${'DEFAULT_wxUSE_CLIPBOARD":-$defaultval}"
9174 eval "$wx_cv_use_clipboard"
9176 if test x"$enablestring" = xdisable; then
9177 if test $wxUSE_CLIPBOARD = yes; then
9183 result=$wxUSE_CLIPBOARD
9186 { echo "$as_me:$LINENO: result
: $result" >&5
9187 echo "${ECHO_T}$result" >&6; }
9191 defaultval=$wxUSE_ALL_FEATURES
9192 if test -z "$defaultval"; then
9193 if test x"$enablestring" = xdisable; then
9200 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-dnd" >&5
9201 echo $ECHO_N "checking
for --${enablestring:-enable}-dnd...
$ECHO_C" >&6; }
9202 # Check whether --enable-dnd was given.
9203 if test "${enable_dnd+set}" = set; then
9204 enableval=$enable_dnd;
9205 if test "$enableval" = yes; then
9206 wx_cv_use_dnd='wxUSE_DRAG_AND_DROP=yes'
9208 wx_cv_use_dnd='wxUSE_DRAG_AND_DROP=no'
9213 wx_cv_use_dnd='wxUSE_DRAG_AND_DROP=${'DEFAULT_wxUSE_DRAG_AND_DROP":-$defaultval}"
9218 eval "$wx_cv_use_dnd"
9220 if test x
"$enablestring" = xdisable
; then
9221 if test $wxUSE_DRAG_AND_DROP = yes; then
9227 result
=$wxUSE_DRAG_AND_DROP
9230 { echo "$as_me:$LINENO: result: $result" >&5
9231 echo "${ECHO_T}$result" >&6; }
9235 defaultval
=$wxUSE_ALL_FEATURES
9236 if test -z "$defaultval"; then
9237 if test x
"$enablestring" = xdisable
; then
9244 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
9245 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6; }
9246 # Check whether --enable-metafile was given.
9247 if test "${enable_metafile+set}" = set; then
9248 enableval
=$enable_metafile;
9249 if test "$enableval" = yes; then
9250 wx_cv_use_metafile
='wxUSE_METAFILE=yes'
9252 wx_cv_use_metafile
='wxUSE_METAFILE=no'
9257 wx_cv_use_metafile
='wxUSE_METAFILE=${'DEFAULT_wxUSE_METAFILE":-$defaultval}"
9262 eval "$wx_cv_use_metafile"
9264 if test x"$enablestring" = xdisable; then
9265 if test $wxUSE_METAFILE = yes; then
9271 result=$wxUSE_METAFILE
9274 { echo "$as_me:$LINENO: result: $result" >&5
9275 echo "${ECHO_T}$result" >&6; }
9279 DEFAULT_wxUSE_CONTROLS=none
9281 enablestring=disable
9283 if test -z "$defaultval"; then
9284 if test x"$enablestring" = xdisable; then
9291 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-controls" >&5
9292 echo $ECHO_N "checking for --${enablestring:-enable}-controls... $ECHO_C" >&6; }
9293 # Check whether --enable-controls was given.
9294 if test "${enable_controls+set}" = set; then
9295 enableval=$enable_controls;
9296 if test "$enableval" = yes; then
9297 wx_cv_use_controls='wxUSE_CONTROLS
=yes'
9299 wx_cv_use_controls='wxUSE_CONTROLS
=no
'
9304 wx_cv_use_controls='wxUSE_CONTROLS
=${'DEFAULT_wxUSE_CONTROLS":-$defaultval}"
9309 eval "$wx_cv_use_controls"
9311 if test x"$enablestring" = xdisable; then
9312 if test $wxUSE_CONTROLS = yes; then
9318 result=$wxUSE_CONTROLS
9321 { echo "$as_me:$LINENO: result
: $result" >&5
9322 echo "${ECHO_T}$result" >&6; }
9325 if test "$wxUSE_CONTROLS" = "yes"; then
9326 DEFAULT_wxUSE_ACCEL=yes
9327 DEFAULT_wxUSE_ANIMATIONCTRL=yes
9328 DEFAULT_wxUSE_BMPBUTTON=yes
9329 DEFAULT_wxUSE_BUTTON=yes
9330 DEFAULT_wxUSE_CALCTRL=yes
9331 DEFAULT_wxUSE_CARET=yes
9332 DEFAULT_wxUSE_COMBOBOX=yes
9333 DEFAULT_wxUSE_CHECKBOX=yes
9334 DEFAULT_wxUSE_CHECKLISTBOX=yes
9335 DEFAULT_wxUSE_CHOICE=yes
9336 DEFAULT_wxUSE_CHOICEBOOK=yes
9337 DEFAULT_wxUSE_COLLPANE=yes
9338 DEFAULT_wxUSE_COLOURPICKERCTRL=yes
9339 DEFAULT_wxUSE_COMBOBOX=yes
9340 DEFAULT_wxUSE_DATEPICKCTRL=yes
9341 DEFAULT_wxUSE_DISPLAY=yes
9342 DEFAULT_wxUSE_DETECT_SM=yes
9343 DEFAULT_wxUSE_DIRPICKERCTRL=yes
9344 DEFAULT_wxUSE_FILECTRL=yes
9345 DEFAULT_wxUSE_FILEPICKERCTRL=yes
9346 DEFAULT_wxUSE_FONTPICKERCTRL=yes
9347 DEFAULT_wxUSE_GAUGE=yes
9348 DEFAULT_wxUSE_GRID=yes
9349 DEFAULT_wxUSE_HYPERLINKCTRL=yes
9350 DEFAULT_wxUSE_DATAVIEWCTRL=yes
9351 DEFAULT_wxUSE_IMAGLIST=yes
9352 DEFAULT_wxUSE_LISTBOOK=yes
9353 DEFAULT_wxUSE_LISTBOX=yes
9354 DEFAULT_wxUSE_LISTCTRL=yes
9355 DEFAULT_wxUSE_NOTEBOOK=yes
9356 DEFAULT_wxUSE_RADIOBOX=yes
9357 DEFAULT_wxUSE_RADIOBTN=yes
9358 DEFAULT_wxUSE_SASH=yes
9359 DEFAULT_wxUSE_SCROLLBAR=yes
9360 DEFAULT_wxUSE_SEARCHCTRL=yes
9361 DEFAULT_wxUSE_SLIDER=yes
9362 DEFAULT_wxUSE_SPINBTN=yes
9363 DEFAULT_wxUSE_SPINCTRL=yes
9364 DEFAULT_wxUSE_SPLITTER=yes
9365 DEFAULT_wxUSE_STATBMP=yes
9366 DEFAULT_wxUSE_STATBOX=yes
9367 DEFAULT_wxUSE_STATLINE=yes
9368 DEFAULT_wxUSE_STATUSBAR=yes
9369 DEFAULT_wxUSE_TAB_DIALOG=yes
9370 DEFAULT_wxUSE_TOGGLEBTN=yes
9371 DEFAULT_wxUSE_TOOLBAR=yes
9372 DEFAULT_wxUSE_TOOLBAR_NATIVE=yes
9373 DEFAULT_wxUSE_TOOLTIPS=yes
9374 DEFAULT_wxUSE_TREEBOOK=yes
9375 DEFAULT_wxUSE_TOOLBOOK=yes
9376 DEFAULT_wxUSE_TREECTRL=yes
9377 DEFAULT_wxUSE_POPUPWIN=yes
9378 DEFAULT_wxUSE_TIPWINDOW=yes
9379 elif test "$wxUSE_CONTROLS" = "no
"; then
9380 DEFAULT_wxUSE_ACCEL=no
9381 DEFAULT_wxUSE_ANIMATIONCTRL=no
9382 DEFAULT_wxUSE_BMPBUTTON=no
9383 DEFAULT_wxUSE_BUTTON=no
9384 DEFAULT_wxUSE_CALCTRL=no
9385 DEFAULT_wxUSE_CARET=no
9386 DEFAULT_wxUSE_COLLPANE=no
9387 DEFAULT_wxUSE_COMBOBOX=no
9388 DEFAULT_wxUSE_CHECKBOX=no
9389 DEFAULT_wxUSE_CHECKLISTBOX=no
9390 DEFAULT_wxUSE_CHOICE=no
9391 DEFAULT_wxUSE_CHOICEBOOK=no
9392 DEFAULT_wxUSE_COLOURPICKERCTRL=no
9393 DEFAULT_wxUSE_COMBOBOX=no
9394 DEFAULT_wxUSE_DATEPICKCTRL=no
9395 DEFAULT_wxUSE_DISPLAY=no
9396 DEFAULT_wxUSE_DETECT_SM=no
9397 DEFAULT_wxUSE_DIRPICKERCTRL=no
9398 DEFAULT_wxUSE_FILECTRL=no
9399 DEFAULT_wxUSE_FILEPICKERCTRL=no
9400 DEFAULT_wxUSE_FONTPICKERCTRL=no
9401 DEFAULT_wxUSE_GAUGE=no
9402 DEFAULT_wxUSE_GRID=no
9403 DEFAULT_wxUSE_HYPERLINKCTRL=no
9404 DEFAULT_wxUSE_DATAVIEWCTRL=no
9405 DEFAULT_wxUSE_IMAGLIST=no
9406 DEFAULT_wxUSE_LISTBOOK=no
9407 DEFAULT_wxUSE_LISTBOX=no
9408 DEFAULT_wxUSE_LISTCTRL=no
9409 DEFAULT_wxUSE_NOTEBOOK=no
9410 DEFAULT_wxUSE_RADIOBOX=no
9411 DEFAULT_wxUSE_RADIOBTN=no
9412 DEFAULT_wxUSE_SASH=no
9413 DEFAULT_wxUSE_SCROLLBAR=no
9414 DEFAULT_wxUSE_SEARCHCTRL=no
9415 DEFAULT_wxUSE_SLIDER=no
9416 DEFAULT_wxUSE_SPINBTN=no
9417 DEFAULT_wxUSE_SPINCTRL=no
9418 DEFAULT_wxUSE_SPLITTER=no
9419 DEFAULT_wxUSE_STATBMP=no
9420 DEFAULT_wxUSE_STATBOX=no
9421 DEFAULT_wxUSE_STATLINE=no
9422 DEFAULT_wxUSE_STATUSBAR=no
9423 DEFAULT_wxUSE_TAB_DIALOG=no
9424 DEFAULT_wxUSE_TOGGLEBTN=no
9425 DEFAULT_wxUSE_TOOLBAR=no
9426 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
9427 DEFAULT_wxUSE_TOOLTIPS=no
9428 DEFAULT_wxUSE_TREEBOOK=no
9429 DEFAULT_wxUSE_TOOLBOOK=no
9430 DEFAULT_wxUSE_TREECTRL=no
9431 DEFAULT_wxUSE_POPUPWIN=no
9432 DEFAULT_wxUSE_TIPWINDOW=no
9437 defaultval=$wxUSE_ALL_FEATURES
9438 if test -z "$defaultval"; then
9439 if test x"$enablestring" = xdisable; then
9446 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-accel" >&5
9447 echo $ECHO_N "checking
for --${enablestring:-enable}-accel...
$ECHO_C" >&6; }
9448 # Check whether --enable-accel was given.
9449 if test "${enable_accel+set}" = set; then
9450 enableval=$enable_accel;
9451 if test "$enableval" = yes; then
9452 wx_cv_use_accel='wxUSE_ACCEL=yes'
9454 wx_cv_use_accel='wxUSE_ACCEL=no'
9459 wx_cv_use_accel='wxUSE_ACCEL=${'DEFAULT_wxUSE_ACCEL":-$defaultval}"
9464 eval "$wx_cv_use_accel"
9466 if test x
"$enablestring" = xdisable
; then
9467 if test $wxUSE_ACCEL = yes; then
9476 { echo "$as_me:$LINENO: result: $result" >&5
9477 echo "${ECHO_T}$result" >&6; }
9481 defaultval
=$wxUSE_ALL_FEATURES
9482 if test -z "$defaultval"; then
9483 if test x
"$enablestring" = xdisable
; then
9490 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-animatectrl" >&5
9491 echo $ECHO_N "checking for --${enablestring:-enable}-animatectrl... $ECHO_C" >&6; }
9492 # Check whether --enable-animatectrl was given.
9493 if test "${enable_animatectrl+set}" = set; then
9494 enableval
=$enable_animatectrl;
9495 if test "$enableval" = yes; then
9496 wx_cv_use_animatectrl
='wxUSE_ANIMATIONCTRL=yes'
9498 wx_cv_use_animatectrl
='wxUSE_ANIMATIONCTRL=no'
9503 wx_cv_use_animatectrl
='wxUSE_ANIMATIONCTRL=${'DEFAULT_wxUSE_ANIMATIONCTRL":-$defaultval}"
9508 eval "$wx_cv_use_animatectrl"
9510 if test x"$enablestring" = xdisable; then
9511 if test $wxUSE_ANIMATIONCTRL = yes; then
9517 result=$wxUSE_ANIMATIONCTRL
9520 { echo "$as_me:$LINENO: result: $result" >&5
9521 echo "${ECHO_T}$result" >&6; }
9525 defaultval=$wxUSE_ALL_FEATURES
9526 if test -z "$defaultval"; then
9527 if test x"$enablestring" = xdisable; then
9534 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-button" >&5
9535 echo $ECHO_N "checking for --${enablestring:-enable}-button... $ECHO_C" >&6; }
9536 # Check whether --enable-button was given.
9537 if test "${enable_button+set}" = set; then
9538 enableval=$enable_button;
9539 if test "$enableval" = yes; then
9540 wx_cv_use_button='wxUSE_BUTTON
=yes'
9542 wx_cv_use_button='wxUSE_BUTTON
=no
'
9547 wx_cv_use_button='wxUSE_BUTTON
=${'DEFAULT_wxUSE_BUTTON":-$defaultval}"
9552 eval "$wx_cv_use_button"
9554 if test x"$enablestring" = xdisable; then
9555 if test $wxUSE_BUTTON = yes; then
9561 result=$wxUSE_BUTTON
9564 { echo "$as_me:$LINENO: result
: $result" >&5
9565 echo "${ECHO_T}$result" >&6; }
9569 defaultval=$wxUSE_ALL_FEATURES
9570 if test -z "$defaultval"; then
9571 if test x"$enablestring" = xdisable; then
9578 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-bmpbutton" >&5
9579 echo $ECHO_N "checking
for --${enablestring:-enable}-bmpbutton...
$ECHO_C" >&6; }
9580 # Check whether --enable-bmpbutton was given.
9581 if test "${enable_bmpbutton+set}" = set; then
9582 enableval=$enable_bmpbutton;
9583 if test "$enableval" = yes; then
9584 wx_cv_use_bmpbutton='wxUSE_BMPBUTTON=yes'
9586 wx_cv_use_bmpbutton='wxUSE_BMPBUTTON=no'
9591 wx_cv_use_bmpbutton='wxUSE_BMPBUTTON=${'DEFAULT_wxUSE_BMPBUTTON":-$defaultval}"
9596 eval "$wx_cv_use_bmpbutton"
9598 if test x
"$enablestring" = xdisable
; then
9599 if test $wxUSE_BMPBUTTON = yes; then
9605 result
=$wxUSE_BMPBUTTON
9608 { echo "$as_me:$LINENO: result: $result" >&5
9609 echo "${ECHO_T}$result" >&6; }
9613 defaultval
=$wxUSE_ALL_FEATURES
9614 if test -z "$defaultval"; then
9615 if test x
"$enablestring" = xdisable
; then
9622 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpcombobox" >&5
9623 echo $ECHO_N "checking for --${enablestring:-enable}-bmpcombobox... $ECHO_C" >&6; }
9624 # Check whether --enable-bmpcombobox was given.
9625 if test "${enable_bmpcombobox+set}" = set; then
9626 enableval
=$enable_bmpcombobox;
9627 if test "$enableval" = yes; then
9628 wx_cv_use_bmpcombobox
='wxUSE_BITMAPCOMBOBOX=yes'
9630 wx_cv_use_bmpcombobox
='wxUSE_BITMAPCOMBOBOX=no'
9635 wx_cv_use_bmpcombobox
='wxUSE_BITMAPCOMBOBOX=${'DEFAULT_wxUSE_BITMAPCOMBOBOX":-$defaultval}"
9640 eval "$wx_cv_use_bmpcombobox"
9642 if test x"$enablestring" = xdisable; then
9643 if test $wxUSE_BITMAPCOMBOBOX = yes; then
9649 result=$wxUSE_BITMAPCOMBOBOX
9652 { echo "$as_me:$LINENO: result: $result" >&5
9653 echo "${ECHO_T}$result" >&6; }
9657 defaultval=$wxUSE_ALL_FEATURES
9658 if test -z "$defaultval"; then
9659 if test x"$enablestring" = xdisable; then
9666 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-calendar" >&5
9667 echo $ECHO_N "checking for --${enablestring:-enable}-calendar... $ECHO_C" >&6; }
9668 # Check whether --enable-calendar was given.
9669 if test "${enable_calendar+set}" = set; then
9670 enableval=$enable_calendar;
9671 if test "$enableval" = yes; then
9672 wx_cv_use_calendar='wxUSE_CALCTRL
=yes'
9674 wx_cv_use_calendar='wxUSE_CALCTRL
=no
'
9679 wx_cv_use_calendar='wxUSE_CALCTRL
=${'DEFAULT_wxUSE_CALCTRL":-$defaultval}"
9684 eval "$wx_cv_use_calendar"
9686 if test x"$enablestring" = xdisable; then
9687 if test $wxUSE_CALCTRL = yes; then
9693 result=$wxUSE_CALCTRL
9696 { echo "$as_me:$LINENO: result
: $result" >&5
9697 echo "${ECHO_T}$result" >&6; }
9701 defaultval=$wxUSE_ALL_FEATURES
9702 if test -z "$defaultval"; then
9703 if test x"$enablestring" = xdisable; then
9710 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-caret" >&5
9711 echo $ECHO_N "checking
for --${enablestring:-enable}-caret...
$ECHO_C" >&6; }
9712 # Check whether --enable-caret was given.
9713 if test "${enable_caret+set}" = set; then
9714 enableval=$enable_caret;
9715 if test "$enableval" = yes; then
9716 wx_cv_use_caret='wxUSE_CARET=yes'
9718 wx_cv_use_caret='wxUSE_CARET=no'
9723 wx_cv_use_caret='wxUSE_CARET=${'DEFAULT_wxUSE_CARET":-$defaultval}"
9728 eval "$wx_cv_use_caret"
9730 if test x
"$enablestring" = xdisable
; then
9731 if test $wxUSE_CARET = yes; then
9740 { echo "$as_me:$LINENO: result: $result" >&5
9741 echo "${ECHO_T}$result" >&6; }
9745 defaultval
=$wxUSE_ALL_FEATURES
9746 if test -z "$defaultval"; then
9747 if test x
"$enablestring" = xdisable
; then
9754 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checkbox" >&5
9755 echo $ECHO_N "checking for --${enablestring:-enable}-checkbox... $ECHO_C" >&6; }
9756 # Check whether --enable-checkbox was given.
9757 if test "${enable_checkbox+set}" = set; then
9758 enableval
=$enable_checkbox;
9759 if test "$enableval" = yes; then
9760 wx_cv_use_checkbox
='wxUSE_CHECKBOX=yes'
9762 wx_cv_use_checkbox
='wxUSE_CHECKBOX=no'
9767 wx_cv_use_checkbox
='wxUSE_CHECKBOX=${'DEFAULT_wxUSE_CHECKBOX":-$defaultval}"
9772 eval "$wx_cv_use_checkbox"
9774 if test x"$enablestring" = xdisable; then
9775 if test $wxUSE_CHECKBOX = yes; then
9781 result=$wxUSE_CHECKBOX
9784 { echo "$as_me:$LINENO: result: $result" >&5
9785 echo "${ECHO_T}$result" >&6; }
9789 defaultval=$wxUSE_ALL_FEATURES
9790 if test -z "$defaultval"; then
9791 if test x"$enablestring" = xdisable; then
9798 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checklst" >&5
9799 echo $ECHO_N "checking for --${enablestring:-enable}-checklst... $ECHO_C" >&6; }
9800 # Check whether --enable-checklst was given.
9801 if test "${enable_checklst+set}" = set; then
9802 enableval=$enable_checklst;
9803 if test "$enableval" = yes; then
9804 wx_cv_use_checklst='wxUSE_CHECKLST
=yes'
9806 wx_cv_use_checklst='wxUSE_CHECKLST
=no
'
9811 wx_cv_use_checklst='wxUSE_CHECKLST
=${'DEFAULT_wxUSE_CHECKLST":-$defaultval}"
9816 eval "$wx_cv_use_checklst"
9818 if test x"$enablestring" = xdisable; then
9819 if test $wxUSE_CHECKLST = yes; then
9825 result=$wxUSE_CHECKLST
9828 { echo "$as_me:$LINENO: result
: $result" >&5
9829 echo "${ECHO_T}$result" >&6; }
9833 defaultval=$wxUSE_ALL_FEATURES
9834 if test -z "$defaultval"; then
9835 if test x"$enablestring" = xdisable; then
9842 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-choice" >&5
9843 echo $ECHO_N "checking
for --${enablestring:-enable}-choice...
$ECHO_C" >&6; }
9844 # Check whether --enable-choice was given.
9845 if test "${enable_choice+set}" = set; then
9846 enableval=$enable_choice;
9847 if test "$enableval" = yes; then
9848 wx_cv_use_choice='wxUSE_CHOICE=yes'
9850 wx_cv_use_choice='wxUSE_CHOICE=no'
9855 wx_cv_use_choice='wxUSE_CHOICE=${'DEFAULT_wxUSE_CHOICE":-$defaultval}"
9860 eval "$wx_cv_use_choice"
9862 if test x
"$enablestring" = xdisable
; then
9863 if test $wxUSE_CHOICE = yes; then
9869 result
=$wxUSE_CHOICE
9872 { echo "$as_me:$LINENO: result: $result" >&5
9873 echo "${ECHO_T}$result" >&6; }
9877 defaultval
=$wxUSE_ALL_FEATURES
9878 if test -z "$defaultval"; then
9879 if test x
"$enablestring" = xdisable
; then
9886 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicebook" >&5
9887 echo $ECHO_N "checking for --${enablestring:-enable}-choicebook... $ECHO_C" >&6; }
9888 # Check whether --enable-choicebook was given.
9889 if test "${enable_choicebook+set}" = set; then
9890 enableval
=$enable_choicebook;
9891 if test "$enableval" = yes; then
9892 wx_cv_use_choicebook
='wxUSE_CHOICEBOOK=yes'
9894 wx_cv_use_choicebook
='wxUSE_CHOICEBOOK=no'
9899 wx_cv_use_choicebook
='wxUSE_CHOICEBOOK=${'DEFAULT_wxUSE_CHOICEBOOK":-$defaultval}"
9904 eval "$wx_cv_use_choicebook"
9906 if test x"$enablestring" = xdisable; then
9907 if test $wxUSE_CHOICEBOOK = yes; then
9913 result=$wxUSE_CHOICEBOOK
9916 { echo "$as_me:$LINENO: result: $result" >&5
9917 echo "${ECHO_T}$result" >&6; }
9921 defaultval=$wxUSE_ALL_FEATURES
9922 if test -z "$defaultval"; then
9923 if test x"$enablestring" = xdisable; then
9930 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-collpane" >&5
9931 echo $ECHO_N "checking for --${enablestring:-enable}-collpane... $ECHO_C" >&6; }
9932 # Check whether --enable-collpane was given.
9933 if test "${enable_collpane+set}" = set; then
9934 enableval=$enable_collpane;
9935 if test "$enableval" = yes; then
9936 wx_cv_use_collpane='wxUSE_COLLPANE
=yes'
9938 wx_cv_use_collpane='wxUSE_COLLPANE
=no
'
9943 wx_cv_use_collpane='wxUSE_COLLPANE
=${'DEFAULT_wxUSE_COLLPANE":-$defaultval}"
9948 eval "$wx_cv_use_collpane"
9950 if test x"$enablestring" = xdisable; then
9951 if test $wxUSE_COLLPANE = yes; then
9957 result=$wxUSE_COLLPANE
9960 { echo "$as_me:$LINENO: result
: $result" >&5
9961 echo "${ECHO_T}$result" >&6; }
9965 defaultval=$wxUSE_ALL_FEATURES
9966 if test -z "$defaultval"; then
9967 if test x"$enablestring" = xdisable; then
9974 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-colourpicker" >&5
9975 echo $ECHO_N "checking
for --${enablestring:-enable}-colourpicker...
$ECHO_C" >&6; }
9976 # Check whether --enable-colourpicker was given.
9977 if test "${enable_colourpicker+set}" = set; then
9978 enableval=$enable_colourpicker;
9979 if test "$enableval" = yes; then
9980 wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=yes'
9982 wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=no'
9987 wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=${'DEFAULT_wxUSE_COLOURPICKERCTRL":-$defaultval}"
9992 eval "$wx_cv_use_colourpicker"
9994 if test x
"$enablestring" = xdisable
; then
9995 if test $wxUSE_COLOURPICKERCTRL = yes; then
10001 result
=$wxUSE_COLOURPICKERCTRL
10004 { echo "$as_me:$LINENO: result: $result" >&5
10005 echo "${ECHO_T}$result" >&6; }
10009 defaultval
=$wxUSE_ALL_FEATURES
10010 if test -z "$defaultval"; then
10011 if test x
"$enablestring" = xdisable
; then
10018 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-combobox" >&5
10019 echo $ECHO_N "checking for --${enablestring:-enable}-combobox... $ECHO_C" >&6; }
10020 # Check whether --enable-combobox was given.
10021 if test "${enable_combobox+set}" = set; then
10022 enableval
=$enable_combobox;
10023 if test "$enableval" = yes; then
10024 wx_cv_use_combobox
='wxUSE_COMBOBOX=yes'
10026 wx_cv_use_combobox
='wxUSE_COMBOBOX=no'
10031 wx_cv_use_combobox
='wxUSE_COMBOBOX=${'DEFAULT_wxUSE_COMBOBOX":-$defaultval}"
10036 eval "$wx_cv_use_combobox"
10038 if test x"$enablestring" = xdisable; then
10039 if test $wxUSE_COMBOBOX = yes; then
10045 result=$wxUSE_COMBOBOX
10048 { echo "$as_me:$LINENO: result: $result" >&5
10049 echo "${ECHO_T}$result" >&6; }
10053 defaultval=$wxUSE_ALL_FEATURES
10054 if test -z "$defaultval"; then
10055 if test x"$enablestring" = xdisable; then
10062 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-comboctrl" >&5
10063 echo $ECHO_N "checking for --${enablestring:-enable}-comboctrl... $ECHO_C" >&6; }
10064 # Check whether --enable-comboctrl was given.
10065 if test "${enable_comboctrl+set}" = set; then
10066 enableval=$enable_comboctrl;
10067 if test "$enableval" = yes; then
10068 wx_cv_use_comboctrl='wxUSE_COMBOCTRL
=yes'
10070 wx_cv_use_comboctrl='wxUSE_COMBOCTRL
=no
'
10075 wx_cv_use_comboctrl='wxUSE_COMBOCTRL
=${'DEFAULT_wxUSE_COMBOCTRL":-$defaultval}"
10080 eval "$wx_cv_use_comboctrl"
10082 if test x"$enablestring" = xdisable; then
10083 if test $wxUSE_COMBOCTRL = yes; then
10089 result=$wxUSE_COMBOCTRL
10092 { echo "$as_me:$LINENO: result
: $result" >&5
10093 echo "${ECHO_T}$result" >&6; }
10097 defaultval=$wxUSE_ALL_FEATURES
10098 if test -z "$defaultval"; then
10099 if test x"$enablestring" = xdisable; then
10106 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-datepick" >&5
10107 echo $ECHO_N "checking
for --${enablestring:-enable}-datepick...
$ECHO_C" >&6; }
10108 # Check whether --enable-datepick was given.
10109 if test "${enable_datepick+set}" = set; then
10110 enableval=$enable_datepick;
10111 if test "$enableval" = yes; then
10112 wx_cv_use_datepick='wxUSE_DATEPICKCTRL=yes'
10114 wx_cv_use_datepick='wxUSE_DATEPICKCTRL=no'
10119 wx_cv_use_datepick='wxUSE_DATEPICKCTRL=${'DEFAULT_wxUSE_DATEPICKCTRL":-$defaultval}"
10124 eval "$wx_cv_use_datepick"
10126 if test x
"$enablestring" = xdisable
; then
10127 if test $wxUSE_DATEPICKCTRL = yes; then
10133 result
=$wxUSE_DATEPICKCTRL
10136 { echo "$as_me:$LINENO: result: $result" >&5
10137 echo "${ECHO_T}$result" >&6; }
10141 defaultval
=$wxUSE_ALL_FEATURES
10142 if test -z "$defaultval"; then
10143 if test x
"$enablestring" = xdisable
; then
10150 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirpicker" >&5
10151 echo $ECHO_N "checking for --${enablestring:-enable}-dirpicker... $ECHO_C" >&6; }
10152 # Check whether --enable-dirpicker was given.
10153 if test "${enable_dirpicker+set}" = set; then
10154 enableval
=$enable_dirpicker;
10155 if test "$enableval" = yes; then
10156 wx_cv_use_dirpicker
='wxUSE_DIRPICKERCTRL=yes'
10158 wx_cv_use_dirpicker
='wxUSE_DIRPICKERCTRL=no'
10163 wx_cv_use_dirpicker
='wxUSE_DIRPICKERCTRL=${'DEFAULT_wxUSE_DIRPICKERCTRL":-$defaultval}"
10168 eval "$wx_cv_use_dirpicker"
10170 if test x"$enablestring" = xdisable; then
10171 if test $wxUSE_DIRPICKERCTRL = yes; then
10177 result=$wxUSE_DIRPICKERCTRL
10180 { echo "$as_me:$LINENO: result: $result" >&5
10181 echo "${ECHO_T}$result" >&6; }
10185 defaultval=$wxUSE_ALL_FEATURES
10186 if test -z "$defaultval"; then
10187 if test x"$enablestring" = xdisable; then
10194 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-display" >&5
10195 echo $ECHO_N "checking for --${enablestring:-enable}-display... $ECHO_C" >&6; }
10196 # Check whether --enable-display was given.
10197 if test "${enable_display+set}" = set; then
10198 enableval=$enable_display;
10199 if test "$enableval" = yes; then
10200 wx_cv_use_display='wxUSE_DISPLAY
=yes'
10202 wx_cv_use_display='wxUSE_DISPLAY
=no
'
10207 wx_cv_use_display='wxUSE_DISPLAY
=${'DEFAULT_wxUSE_DISPLAY":-$defaultval}"
10212 eval "$wx_cv_use_display"
10214 if test x"$enablestring" = xdisable; then
10215 if test $wxUSE_DISPLAY = yes; then
10221 result=$wxUSE_DISPLAY
10224 { echo "$as_me:$LINENO: result
: $result" >&5
10225 echo "${ECHO_T}$result" >&6; }
10229 defaultval=$wxUSE_ALL_FEATURES
10230 if test -z "$defaultval"; then
10231 if test x"$enablestring" = xdisable; then
10238 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-detect_sm" >&5
10239 echo $ECHO_N "checking
for --${enablestring:-enable}-detect_sm...
$ECHO_C" >&6; }
10240 # Check whether --enable-detect_sm was given.
10241 if test "${enable_detect_sm+set}" = set; then
10242 enableval=$enable_detect_sm;
10243 if test "$enableval" = yes; then
10244 wx_cv_use_detect_sm='wxUSE_DETECT_SM=yes'
10246 wx_cv_use_detect_sm='wxUSE_DETECT_SM=no'
10251 wx_cv_use_detect_sm='wxUSE_DETECT_SM=${'DEFAULT_wxUSE_DETECT_SM":-$defaultval}"
10256 eval "$wx_cv_use_detect_sm"
10258 if test x
"$enablestring" = xdisable
; then
10259 if test $wxUSE_DETECT_SM = yes; then
10265 result
=$wxUSE_DETECT_SM
10268 { echo "$as_me:$LINENO: result: $result" >&5
10269 echo "${ECHO_T}$result" >&6; }
10273 defaultval
=$wxUSE_ALL_FEATURES
10274 if test -z "$defaultval"; then
10275 if test x
"$enablestring" = xdisable
; then
10282 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-editablebox" >&5
10283 echo $ECHO_N "checking for --${enablestring:-enable}-editablebox... $ECHO_C" >&6; }
10284 # Check whether --enable-editablebox was given.
10285 if test "${enable_editablebox+set}" = set; then
10286 enableval
=$enable_editablebox;
10287 if test "$enableval" = yes; then
10288 wx_cv_use_editablebox
='wxUSE_EDITABLELISTBOX=yes'
10290 wx_cv_use_editablebox
='wxUSE_EDITABLELISTBOX=no'
10295 wx_cv_use_editablebox
='wxUSE_EDITABLELISTBOX=${'DEFAULT_wxUSE_EDITABLELISTBOX":-$defaultval}"
10300 eval "$wx_cv_use_editablebox"
10302 if test x"$enablestring" = xdisable; then
10303 if test $wxUSE_EDITABLELISTBOX = yes; then
10309 result=$wxUSE_EDITABLELISTBOX
10312 { echo "$as_me:$LINENO: result: $result" >&5
10313 echo "${ECHO_T}$result" >&6; }
10317 defaultval=$wxUSE_ALL_FEATURES
10318 if test -z "$defaultval"; then
10319 if test x"$enablestring" = xdisable; then
10326 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filepicker" >&5
10327 echo $ECHO_N "checking for --${enablestring:-enable}-filepicker... $ECHO_C" >&6; }
10328 # Check whether --enable-filepicker was given.
10329 if test "${enable_filepicker+set}" = set; then
10330 enableval=$enable_filepicker;
10331 if test "$enableval" = yes; then
10332 wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL
=yes'
10334 wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL
=no
'
10339 wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL
=${'DEFAULT_wxUSE_FILEPICKERCTRL":-$defaultval}"
10344 eval "$wx_cv_use_filepicker"
10346 if test x"$enablestring" = xdisable; then
10347 if test $wxUSE_FILEPICKERCTRL = yes; then
10353 result=$wxUSE_FILEPICKERCTRL
10356 { echo "$as_me:$LINENO: result
: $result" >&5
10357 echo "${ECHO_T}$result" >&6; }
10361 defaultval=$wxUSE_ALL_FEATURES
10362 if test -z "$defaultval"; then
10363 if test x"$enablestring" = xdisable; then
10370 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-filectrl" >&5
10371 echo $ECHO_N "checking
for --${enablestring:-enable}-filectrl...
$ECHO_C" >&6; }
10372 # Check whether --enable-filectrl was given.
10373 if test "${enable_filectrl+set}" = set; then
10374 enableval=$enable_filectrl;
10375 if test "$enableval" = yes; then
10376 wx_cv_use_filectrl='wxUSE_FILECTRL=yes'
10378 wx_cv_use_filectrl='wxUSE_FILECTRL=no'
10383 wx_cv_use_filectrl='wxUSE_FILECTRL=${'DEFAULT_wxUSE_FILECTRL":-$defaultval}"
10388 eval "$wx_cv_use_filectrl"
10390 if test x
"$enablestring" = xdisable
; then
10391 if test $wxUSE_FILECTRL = yes; then
10397 result
=$wxUSE_FILECTRL
10400 { echo "$as_me:$LINENO: result: $result" >&5
10401 echo "${ECHO_T}$result" >&6; }
10405 defaultval
=$wxUSE_ALL_FEATURES
10406 if test -z "$defaultval"; then
10407 if test x
"$enablestring" = xdisable
; then
10414 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontpicker" >&5
10415 echo $ECHO_N "checking for --${enablestring:-enable}-fontpicker... $ECHO_C" >&6; }
10416 # Check whether --enable-fontpicker was given.
10417 if test "${enable_fontpicker+set}" = set; then
10418 enableval
=$enable_fontpicker;
10419 if test "$enableval" = yes; then
10420 wx_cv_use_fontpicker
='wxUSE_FONTPICKERCTRL=yes'
10422 wx_cv_use_fontpicker
='wxUSE_FONTPICKERCTRL=no'
10427 wx_cv_use_fontpicker
='wxUSE_FONTPICKERCTRL=${'DEFAULT_wxUSE_FONTPICKERCTRL":-$defaultval}"
10432 eval "$wx_cv_use_fontpicker"
10434 if test x"$enablestring" = xdisable; then
10435 if test $wxUSE_FONTPICKERCTRL = yes; then
10441 result=$wxUSE_FONTPICKERCTRL
10444 { echo "$as_me:$LINENO: result: $result" >&5
10445 echo "${ECHO_T}$result" >&6; }
10449 defaultval=$wxUSE_ALL_FEATURES
10450 if test -z "$defaultval"; then
10451 if test x"$enablestring" = xdisable; then
10458 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gauge" >&5
10459 echo $ECHO_N "checking for --${enablestring:-enable}-gauge... $ECHO_C" >&6; }
10460 # Check whether --enable-gauge was given.
10461 if test "${enable_gauge+set}" = set; then
10462 enableval=$enable_gauge;
10463 if test "$enableval" = yes; then
10464 wx_cv_use_gauge='wxUSE_GAUGE
=yes'
10466 wx_cv_use_gauge='wxUSE_GAUGE
=no
'
10471 wx_cv_use_gauge='wxUSE_GAUGE
=${'DEFAULT_wxUSE_GAUGE":-$defaultval}"
10476 eval "$wx_cv_use_gauge"
10478 if test x"$enablestring" = xdisable; then
10479 if test $wxUSE_GAUGE = yes; then
10485 result=$wxUSE_GAUGE
10488 { echo "$as_me:$LINENO: result
: $result" >&5
10489 echo "${ECHO_T}$result" >&6; }
10493 defaultval=$wxUSE_ALL_FEATURES
10494 if test -z "$defaultval"; then
10495 if test x"$enablestring" = xdisable; then
10502 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-grid" >&5
10503 echo $ECHO_N "checking
for --${enablestring:-enable}-grid...
$ECHO_C" >&6; }
10504 # Check whether --enable-grid was given.
10505 if test "${enable_grid+set}" = set; then
10506 enableval=$enable_grid;
10507 if test "$enableval" = yes; then
10508 wx_cv_use_grid='wxUSE_GRID=yes'
10510 wx_cv_use_grid='wxUSE_GRID=no'
10515 wx_cv_use_grid='wxUSE_GRID=${'DEFAULT_wxUSE_GRID":-$defaultval}"
10520 eval "$wx_cv_use_grid"
10522 if test x
"$enablestring" = xdisable
; then
10523 if test $wxUSE_GRID = yes; then
10532 { echo "$as_me:$LINENO: result: $result" >&5
10533 echo "${ECHO_T}$result" >&6; }
10537 defaultval
=$wxUSE_ALL_FEATURES
10538 if test -z "$defaultval"; then
10539 if test x
"$enablestring" = xdisable
; then
10546 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataviewctrl" >&5
10547 echo $ECHO_N "checking for --${enablestring:-enable}-dataviewctrl... $ECHO_C" >&6; }
10548 # Check whether --enable-dataviewctrl was given.
10549 if test "${enable_dataviewctrl+set}" = set; then
10550 enableval
=$enable_dataviewctrl;
10551 if test "$enableval" = yes; then
10552 wx_cv_use_dataviewctrl
='wxUSE_DATAVIEWCTRL=yes'
10554 wx_cv_use_dataviewctrl
='wxUSE_DATAVIEWCTRL=no'
10559 wx_cv_use_dataviewctrl
='wxUSE_DATAVIEWCTRL=${'DEFAULT_wxUSE_DATAVIEWCTRL":-$defaultval}"
10564 eval "$wx_cv_use_dataviewctrl"
10566 if test x"$enablestring" = xdisable; then
10567 if test $wxUSE_DATAVIEWCTRL = yes; then
10573 result=$wxUSE_DATAVIEWCTRL
10576 { echo "$as_me:$LINENO: result: $result" >&5
10577 echo "${ECHO_T}$result" >&6; }
10581 defaultval=$wxUSE_ALL_FEATURES
10582 if test -z "$defaultval"; then
10583 if test x"$enablestring" = xdisable; then
10590 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-hyperlink" >&5
10591 echo $ECHO_N "checking for --${enablestring:-enable}-hyperlink... $ECHO_C" >&6; }
10592 # Check whether --enable-hyperlink was given.
10593 if test "${enable_hyperlink+set}" = set; then
10594 enableval=$enable_hyperlink;
10595 if test "$enableval" = yes; then
10596 wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL
=yes'
10598 wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL
=no
'
10603 wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL
=${'DEFAULT_wxUSE_HYPERLINKCTRL":-$defaultval}"
10608 eval "$wx_cv_use_hyperlink"
10610 if test x"$enablestring" = xdisable; then
10611 if test $wxUSE_HYPERLINKCTRL = yes; then
10617 result=$wxUSE_HYPERLINKCTRL
10620 { echo "$as_me:$LINENO: result
: $result" >&5
10621 echo "${ECHO_T}$result" >&6; }
10625 defaultval=$wxUSE_ALL_FEATURES
10626 if test -z "$defaultval"; then
10627 if test x"$enablestring" = xdisable; then
10634 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-imaglist" >&5
10635 echo $ECHO_N "checking
for --${enablestring:-enable}-imaglist...
$ECHO_C" >&6; }
10636 # Check whether --enable-imaglist was given.
10637 if test "${enable_imaglist+set}" = set; then
10638 enableval=$enable_imaglist;
10639 if test "$enableval" = yes; then
10640 wx_cv_use_imaglist='wxUSE_IMAGLIST=yes'
10642 wx_cv_use_imaglist='wxUSE_IMAGLIST=no'
10647 wx_cv_use_imaglist='wxUSE_IMAGLIST=${'DEFAULT_wxUSE_IMAGLIST":-$defaultval}"
10652 eval "$wx_cv_use_imaglist"
10654 if test x
"$enablestring" = xdisable
; then
10655 if test $wxUSE_IMAGLIST = yes; then
10661 result
=$wxUSE_IMAGLIST
10664 { echo "$as_me:$LINENO: result: $result" >&5
10665 echo "${ECHO_T}$result" >&6; }
10669 defaultval
=$wxUSE_ALL_FEATURES
10670 if test -z "$defaultval"; then
10671 if test x
"$enablestring" = xdisable
; then
10678 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbook" >&5
10679 echo $ECHO_N "checking for --${enablestring:-enable}-listbook... $ECHO_C" >&6; }
10680 # Check whether --enable-listbook was given.
10681 if test "${enable_listbook+set}" = set; then
10682 enableval
=$enable_listbook;
10683 if test "$enableval" = yes; then
10684 wx_cv_use_listbook
='wxUSE_LISTBOOK=yes'
10686 wx_cv_use_listbook
='wxUSE_LISTBOOK=no'
10691 wx_cv_use_listbook
='wxUSE_LISTBOOK=${'DEFAULT_wxUSE_LISTBOOK":-$defaultval}"
10696 eval "$wx_cv_use_listbook"
10698 if test x"$enablestring" = xdisable; then
10699 if test $wxUSE_LISTBOOK = yes; then
10705 result=$wxUSE_LISTBOOK
10708 { echo "$as_me:$LINENO: result: $result" >&5
10709 echo "${ECHO_T}$result" >&6; }
10713 defaultval=$wxUSE_ALL_FEATURES
10714 if test -z "$defaultval"; then
10715 if test x"$enablestring" = xdisable; then
10722 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbox" >&5
10723 echo $ECHO_N "checking for --${enablestring:-enable}-listbox... $ECHO_C" >&6; }
10724 # Check whether --enable-listbox was given.
10725 if test "${enable_listbox+set}" = set; then
10726 enableval=$enable_listbox;
10727 if test "$enableval" = yes; then
10728 wx_cv_use_listbox='wxUSE_LISTBOX
=yes'
10730 wx_cv_use_listbox='wxUSE_LISTBOX
=no
'
10735 wx_cv_use_listbox='wxUSE_LISTBOX
=${'DEFAULT_wxUSE_LISTBOX":-$defaultval}"
10740 eval "$wx_cv_use_listbox"
10742 if test x"$enablestring" = xdisable; then
10743 if test $wxUSE_LISTBOX = yes; then
10749 result=$wxUSE_LISTBOX
10752 { echo "$as_me:$LINENO: result
: $result" >&5
10753 echo "${ECHO_T}$result" >&6; }
10757 defaultval=$wxUSE_ALL_FEATURES
10758 if test -z "$defaultval"; then
10759 if test x"$enablestring" = xdisable; then
10766 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-listctrl" >&5
10767 echo $ECHO_N "checking
for --${enablestring:-enable}-listctrl...
$ECHO_C" >&6; }
10768 # Check whether --enable-listctrl was given.
10769 if test "${enable_listctrl+set}" = set; then
10770 enableval=$enable_listctrl;
10771 if test "$enableval" = yes; then
10772 wx_cv_use_listctrl='wxUSE_LISTCTRL=yes'
10774 wx_cv_use_listctrl='wxUSE_LISTCTRL=no'
10779 wx_cv_use_listctrl='wxUSE_LISTCTRL=${'DEFAULT_wxUSE_LISTCTRL":-$defaultval}"
10784 eval "$wx_cv_use_listctrl"
10786 if test x
"$enablestring" = xdisable
; then
10787 if test $wxUSE_LISTCTRL = yes; then
10793 result
=$wxUSE_LISTCTRL
10796 { echo "$as_me:$LINENO: result: $result" >&5
10797 echo "${ECHO_T}$result" >&6; }
10801 defaultval
=$wxUSE_ALL_FEATURES
10802 if test -z "$defaultval"; then
10803 if test x
"$enablestring" = xdisable
; then
10810 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-notebook" >&5
10811 echo $ECHO_N "checking for --${enablestring:-enable}-notebook... $ECHO_C" >&6; }
10812 # Check whether --enable-notebook was given.
10813 if test "${enable_notebook+set}" = set; then
10814 enableval
=$enable_notebook;
10815 if test "$enableval" = yes; then
10816 wx_cv_use_notebook
='wxUSE_NOTEBOOK=yes'
10818 wx_cv_use_notebook
='wxUSE_NOTEBOOK=no'
10823 wx_cv_use_notebook
='wxUSE_NOTEBOOK=${'DEFAULT_wxUSE_NOTEBOOK":-$defaultval}"
10828 eval "$wx_cv_use_notebook"
10830 if test x"$enablestring" = xdisable; then
10831 if test $wxUSE_NOTEBOOK = yes; then
10837 result=$wxUSE_NOTEBOOK
10840 { echo "$as_me:$LINENO: result: $result" >&5
10841 echo "${ECHO_T}$result" >&6; }
10845 defaultval=$wxUSE_ALL_FEATURES
10846 if test -z "$defaultval"; then
10847 if test x"$enablestring" = xdisable; then
10854 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-notifmsg" >&5
10855 echo $ECHO_N "checking for --${enablestring:-enable}-notifmsg... $ECHO_C" >&6; }
10856 # Check whether --enable-notifmsg was given.
10857 if test "${enable_notifmsg+set}" = set; then
10858 enableval=$enable_notifmsg;
10859 if test "$enableval" = yes; then
10860 wx_cv_use_notifmsg='wxUSE_NOTIFICATION_MESSAGE
=yes'
10862 wx_cv_use_notifmsg='wxUSE_NOTIFICATION_MESSAGE
=no
'
10867 wx_cv_use_notifmsg='wxUSE_NOTIFICATION_MESSAGE
=${'DEFAULT_wxUSE_NOTIFICATION_MESSAGE":-$defaultval}"
10872 eval "$wx_cv_use_notifmsg"
10874 if test x"$enablestring" = xdisable; then
10875 if test $wxUSE_NOTIFICATION_MESSAGE = yes; then
10881 result=$wxUSE_NOTIFICATION_MESSAGE
10884 { echo "$as_me:$LINENO: result
: $result" >&5
10885 echo "${ECHO_T}$result" >&6; }
10889 defaultval=$wxUSE_ALL_FEATURES
10890 if test -z "$defaultval"; then
10891 if test x"$enablestring" = xdisable; then
10898 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-odcombobox" >&5
10899 echo $ECHO_N "checking
for --${enablestring:-enable}-odcombobox...
$ECHO_C" >&6; }
10900 # Check whether --enable-odcombobox was given.
10901 if test "${enable_odcombobox+set}" = set; then
10902 enableval=$enable_odcombobox;
10903 if test "$enableval" = yes; then
10904 wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX=yes'
10906 wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX=no'
10911 wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX=${'DEFAULT_wxUSE_ODCOMBOBOX":-$defaultval}"
10916 eval "$wx_cv_use_odcombobox"
10918 if test x
"$enablestring" = xdisable
; then
10919 if test $wxUSE_ODCOMBOBOX = yes; then
10925 result
=$wxUSE_ODCOMBOBOX
10928 { echo "$as_me:$LINENO: result: $result" >&5
10929 echo "${ECHO_T}$result" >&6; }
10933 defaultval
=$wxUSE_ALL_FEATURES
10934 if test -z "$defaultval"; then
10935 if test x
"$enablestring" = xdisable
; then
10942 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobox" >&5
10943 echo $ECHO_N "checking for --${enablestring:-enable}-radiobox... $ECHO_C" >&6; }
10944 # Check whether --enable-radiobox was given.
10945 if test "${enable_radiobox+set}" = set; then
10946 enableval
=$enable_radiobox;
10947 if test "$enableval" = yes; then
10948 wx_cv_use_radiobox
='wxUSE_RADIOBOX=yes'
10950 wx_cv_use_radiobox
='wxUSE_RADIOBOX=no'
10955 wx_cv_use_radiobox
='wxUSE_RADIOBOX=${'DEFAULT_wxUSE_RADIOBOX":-$defaultval}"
10960 eval "$wx_cv_use_radiobox"
10962 if test x"$enablestring" = xdisable; then
10963 if test $wxUSE_RADIOBOX = yes; then
10969 result=$wxUSE_RADIOBOX
10972 { echo "$as_me:$LINENO: result: $result" >&5
10973 echo "${ECHO_T}$result" >&6; }
10977 defaultval=$wxUSE_ALL_FEATURES
10978 if test -z "$defaultval"; then
10979 if test x"$enablestring" = xdisable; then
10986 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobtn" >&5
10987 echo $ECHO_N "checking for --${enablestring:-enable}-radiobtn... $ECHO_C" >&6; }
10988 # Check whether --enable-radiobtn was given.
10989 if test "${enable_radiobtn+set}" = set; then
10990 enableval=$enable_radiobtn;
10991 if test "$enableval" = yes; then
10992 wx_cv_use_radiobtn='wxUSE_RADIOBTN
=yes'
10994 wx_cv_use_radiobtn='wxUSE_RADIOBTN
=no
'
10999 wx_cv_use_radiobtn='wxUSE_RADIOBTN
=${'DEFAULT_wxUSE_RADIOBTN":-$defaultval}"
11004 eval "$wx_cv_use_radiobtn"
11006 if test x"$enablestring" = xdisable; then
11007 if test $wxUSE_RADIOBTN = yes; then
11013 result=$wxUSE_RADIOBTN
11016 { echo "$as_me:$LINENO: result
: $result" >&5
11017 echo "${ECHO_T}$result" >&6; }
11021 defaultval=$wxUSE_ALL_FEATURES
11022 if test -z "$defaultval"; then
11023 if test x"$enablestring" = xdisable; then
11030 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-sash" >&5
11031 echo $ECHO_N "checking
for --${enablestring:-enable}-sash...
$ECHO_C" >&6; }
11032 # Check whether --enable-sash was given.
11033 if test "${enable_sash+set}" = set; then
11034 enableval=$enable_sash;
11035 if test "$enableval" = yes; then
11036 wx_cv_use_sash='wxUSE_SASH=yes'
11038 wx_cv_use_sash='wxUSE_SASH=no'
11043 wx_cv_use_sash='wxUSE_SASH=${'DEFAULT_wxUSE_SASH":-$defaultval}"
11048 eval "$wx_cv_use_sash"
11050 if test x
"$enablestring" = xdisable
; then
11051 if test $wxUSE_SASH = yes; then
11060 { echo "$as_me:$LINENO: result: $result" >&5
11061 echo "${ECHO_T}$result" >&6; }
11065 defaultval
=$wxUSE_ALL_FEATURES
11066 if test -z "$defaultval"; then
11067 if test x
"$enablestring" = xdisable
; then
11074 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-scrollbar" >&5
11075 echo $ECHO_N "checking for --${enablestring:-enable}-scrollbar... $ECHO_C" >&6; }
11076 # Check whether --enable-scrollbar was given.
11077 if test "${enable_scrollbar+set}" = set; then
11078 enableval
=$enable_scrollbar;
11079 if test "$enableval" = yes; then
11080 wx_cv_use_scrollbar
='wxUSE_SCROLLBAR=yes'
11082 wx_cv_use_scrollbar
='wxUSE_SCROLLBAR=no'
11087 wx_cv_use_scrollbar
='wxUSE_SCROLLBAR=${'DEFAULT_wxUSE_SCROLLBAR":-$defaultval}"
11092 eval "$wx_cv_use_scrollbar"
11094 if test x"$enablestring" = xdisable; then
11095 if test $wxUSE_SCROLLBAR = yes; then
11101 result=$wxUSE_SCROLLBAR
11104 { echo "$as_me:$LINENO: result: $result" >&5
11105 echo "${ECHO_T}$result" >&6; }
11109 defaultval=$wxUSE_ALL_FEATURES
11110 if test -z "$defaultval"; then
11111 if test x"$enablestring" = xdisable; then
11118 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-searchctrl" >&5
11119 echo $ECHO_N "checking for --${enablestring:-enable}-searchctrl... $ECHO_C" >&6; }
11120 # Check whether --enable-searchctrl was given.
11121 if test "${enable_searchctrl+set}" = set; then
11122 enableval=$enable_searchctrl;
11123 if test "$enableval" = yes; then
11124 wx_cv_use_searchctrl='wxUSE_SEARCHCTRL
=yes'
11126 wx_cv_use_searchctrl='wxUSE_SEARCHCTRL
=no
'
11131 wx_cv_use_searchctrl='wxUSE_SEARCHCTRL
=${'DEFAULT_wxUSE_SEARCHCTRL":-$defaultval}"
11136 eval "$wx_cv_use_searchctrl"
11138 if test x"$enablestring" = xdisable; then
11139 if test $wxUSE_SEARCHCTRL = yes; then
11145 result=$wxUSE_SEARCHCTRL
11148 { echo "$as_me:$LINENO: result
: $result" >&5
11149 echo "${ECHO_T}$result" >&6; }
11153 defaultval=$wxUSE_ALL_FEATURES
11154 if test -z "$defaultval"; then
11155 if test x"$enablestring" = xdisable; then
11162 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-slider" >&5
11163 echo $ECHO_N "checking
for --${enablestring:-enable}-slider...
$ECHO_C" >&6; }
11164 # Check whether --enable-slider was given.
11165 if test "${enable_slider+set}" = set; then
11166 enableval=$enable_slider;
11167 if test "$enableval" = yes; then
11168 wx_cv_use_slider='wxUSE_SLIDER=yes'
11170 wx_cv_use_slider='wxUSE_SLIDER=no'
11175 wx_cv_use_slider='wxUSE_SLIDER=${'DEFAULT_wxUSE_SLIDER":-$defaultval}"
11180 eval "$wx_cv_use_slider"
11182 if test x
"$enablestring" = xdisable
; then
11183 if test $wxUSE_SLIDER = yes; then
11189 result
=$wxUSE_SLIDER
11192 { echo "$as_me:$LINENO: result: $result" >&5
11193 echo "${ECHO_T}$result" >&6; }
11197 defaultval
=$wxUSE_ALL_FEATURES
11198 if test -z "$defaultval"; then
11199 if test x
"$enablestring" = xdisable
; then
11206 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinbtn" >&5
11207 echo $ECHO_N "checking for --${enablestring:-enable}-spinbtn... $ECHO_C" >&6; }
11208 # Check whether --enable-spinbtn was given.
11209 if test "${enable_spinbtn+set}" = set; then
11210 enableval
=$enable_spinbtn;
11211 if test "$enableval" = yes; then
11212 wx_cv_use_spinbtn
='wxUSE_SPINBTN=yes'
11214 wx_cv_use_spinbtn
='wxUSE_SPINBTN=no'
11219 wx_cv_use_spinbtn
='wxUSE_SPINBTN=${'DEFAULT_wxUSE_SPINBTN":-$defaultval}"
11224 eval "$wx_cv_use_spinbtn"
11226 if test x"$enablestring" = xdisable; then
11227 if test $wxUSE_SPINBTN = yes; then
11233 result=$wxUSE_SPINBTN
11236 { echo "$as_me:$LINENO: result: $result" >&5
11237 echo "${ECHO_T}$result" >&6; }
11241 defaultval=$wxUSE_ALL_FEATURES
11242 if test -z "$defaultval"; then
11243 if test x"$enablestring" = xdisable; then
11250 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinctrl" >&5
11251 echo $ECHO_N "checking for --${enablestring:-enable}-spinctrl... $ECHO_C" >&6; }
11252 # Check whether --enable-spinctrl was given.
11253 if test "${enable_spinctrl+set}" = set; then
11254 enableval=$enable_spinctrl;
11255 if test "$enableval" = yes; then
11256 wx_cv_use_spinctrl='wxUSE_SPINCTRL
=yes'
11258 wx_cv_use_spinctrl='wxUSE_SPINCTRL
=no
'
11263 wx_cv_use_spinctrl='wxUSE_SPINCTRL
=${'DEFAULT_wxUSE_SPINCTRL":-$defaultval}"
11268 eval "$wx_cv_use_spinctrl"
11270 if test x"$enablestring" = xdisable; then
11271 if test $wxUSE_SPINCTRL = yes; then
11277 result=$wxUSE_SPINCTRL
11280 { echo "$as_me:$LINENO: result
: $result" >&5
11281 echo "${ECHO_T}$result" >&6; }
11285 defaultval=$wxUSE_ALL_FEATURES
11286 if test -z "$defaultval"; then
11287 if test x"$enablestring" = xdisable; then
11294 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-splitter" >&5
11295 echo $ECHO_N "checking
for --${enablestring:-enable}-splitter...
$ECHO_C" >&6; }
11296 # Check whether --enable-splitter was given.
11297 if test "${enable_splitter+set}" = set; then
11298 enableval=$enable_splitter;
11299 if test "$enableval" = yes; then
11300 wx_cv_use_splitter='wxUSE_SPLITTER=yes'
11302 wx_cv_use_splitter='wxUSE_SPLITTER=no'
11307 wx_cv_use_splitter='wxUSE_SPLITTER=${'DEFAULT_wxUSE_SPLITTER":-$defaultval}"
11312 eval "$wx_cv_use_splitter"
11314 if test x
"$enablestring" = xdisable
; then
11315 if test $wxUSE_SPLITTER = yes; then
11321 result
=$wxUSE_SPLITTER
11324 { echo "$as_me:$LINENO: result: $result" >&5
11325 echo "${ECHO_T}$result" >&6; }
11329 defaultval
=$wxUSE_ALL_FEATURES
11330 if test -z "$defaultval"; then
11331 if test x
"$enablestring" = xdisable
; then
11338 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbmp" >&5
11339 echo $ECHO_N "checking for --${enablestring:-enable}-statbmp... $ECHO_C" >&6; }
11340 # Check whether --enable-statbmp was given.
11341 if test "${enable_statbmp+set}" = set; then
11342 enableval
=$enable_statbmp;
11343 if test "$enableval" = yes; then
11344 wx_cv_use_statbmp
='wxUSE_STATBMP=yes'
11346 wx_cv_use_statbmp
='wxUSE_STATBMP=no'
11351 wx_cv_use_statbmp
='wxUSE_STATBMP=${'DEFAULT_wxUSE_STATBMP":-$defaultval}"
11356 eval "$wx_cv_use_statbmp"
11358 if test x"$enablestring" = xdisable; then
11359 if test $wxUSE_STATBMP = yes; then
11365 result=$wxUSE_STATBMP
11368 { echo "$as_me:$LINENO: result: $result" >&5
11369 echo "${ECHO_T}$result" >&6; }
11373 defaultval=$wxUSE_ALL_FEATURES
11374 if test -z "$defaultval"; then
11375 if test x"$enablestring" = xdisable; then
11382 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbox" >&5
11383 echo $ECHO_N "checking for --${enablestring:-enable}-statbox... $ECHO_C" >&6; }
11384 # Check whether --enable-statbox was given.
11385 if test "${enable_statbox+set}" = set; then
11386 enableval=$enable_statbox;
11387 if test "$enableval" = yes; then
11388 wx_cv_use_statbox='wxUSE_STATBOX
=yes'
11390 wx_cv_use_statbox='wxUSE_STATBOX
=no
'
11395 wx_cv_use_statbox='wxUSE_STATBOX
=${'DEFAULT_wxUSE_STATBOX":-$defaultval}"
11400 eval "$wx_cv_use_statbox"
11402 if test x"$enablestring" = xdisable; then
11403 if test $wxUSE_STATBOX = yes; then
11409 result=$wxUSE_STATBOX
11412 { echo "$as_me:$LINENO: result
: $result" >&5
11413 echo "${ECHO_T}$result" >&6; }
11417 defaultval=$wxUSE_ALL_FEATURES
11418 if test -z "$defaultval"; then
11419 if test x"$enablestring" = xdisable; then
11426 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-statline" >&5
11427 echo $ECHO_N "checking
for --${enablestring:-enable}-statline...
$ECHO_C" >&6; }
11428 # Check whether --enable-statline was given.
11429 if test "${enable_statline+set}" = set; then
11430 enableval=$enable_statline;
11431 if test "$enableval" = yes; then
11432 wx_cv_use_statline='wxUSE_STATLINE=yes'
11434 wx_cv_use_statline='wxUSE_STATLINE=no'
11439 wx_cv_use_statline='wxUSE_STATLINE=${'DEFAULT_wxUSE_STATLINE":-$defaultval}"
11444 eval "$wx_cv_use_statline"
11446 if test x
"$enablestring" = xdisable
; then
11447 if test $wxUSE_STATLINE = yes; then
11453 result
=$wxUSE_STATLINE
11456 { echo "$as_me:$LINENO: result: $result" >&5
11457 echo "${ECHO_T}$result" >&6; }
11461 defaultval
=$wxUSE_ALL_FEATURES
11462 if test -z "$defaultval"; then
11463 if test x
"$enablestring" = xdisable
; then
11470 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stattext" >&5
11471 echo $ECHO_N "checking for --${enablestring:-enable}-stattext... $ECHO_C" >&6; }
11472 # Check whether --enable-stattext was given.
11473 if test "${enable_stattext+set}" = set; then
11474 enableval
=$enable_stattext;
11475 if test "$enableval" = yes; then
11476 wx_cv_use_stattext
='wxUSE_STATTEXT=yes'
11478 wx_cv_use_stattext
='wxUSE_STATTEXT=no'
11483 wx_cv_use_stattext
='wxUSE_STATTEXT=${'DEFAULT_wxUSE_STATTEXT":-$defaultval}"
11488 eval "$wx_cv_use_stattext"
11490 if test x"$enablestring" = xdisable; then
11491 if test $wxUSE_STATTEXT = yes; then
11497 result=$wxUSE_STATTEXT
11500 { echo "$as_me:$LINENO: result: $result" >&5
11501 echo "${ECHO_T}$result" >&6; }
11505 defaultval=$wxUSE_ALL_FEATURES
11506 if test -z "$defaultval"; then
11507 if test x"$enablestring" = xdisable; then
11514 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statusbar" >&5
11515 echo $ECHO_N "checking for --${enablestring:-enable}-statusbar... $ECHO_C" >&6; }
11516 # Check whether --enable-statusbar was given.
11517 if test "${enable_statusbar+set}" = set; then
11518 enableval=$enable_statusbar;
11519 if test "$enableval" = yes; then
11520 wx_cv_use_statusbar='wxUSE_STATUSBAR
=yes'
11522 wx_cv_use_statusbar='wxUSE_STATUSBAR
=no
'
11527 wx_cv_use_statusbar='wxUSE_STATUSBAR
=${'DEFAULT_wxUSE_STATUSBAR":-$defaultval}"
11532 eval "$wx_cv_use_statusbar"
11534 if test x"$enablestring" = xdisable; then
11535 if test $wxUSE_STATUSBAR = yes; then
11541 result=$wxUSE_STATUSBAR
11544 { echo "$as_me:$LINENO: result
: $result" >&5
11545 echo "${ECHO_T}$result" >&6; }
11549 defaultval=$wxUSE_ALL_FEATURES
11550 if test -z "$defaultval"; then
11551 if test x"$enablestring" = xdisable; then
11558 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-tabdialog" >&5
11559 echo $ECHO_N "checking
for --${enablestring:-enable}-tabdialog...
$ECHO_C" >&6; }
11560 # Check whether --enable-tabdialog was given.
11561 if test "${enable_tabdialog+set}" = set; then
11562 enableval=$enable_tabdialog;
11563 if test "$enableval" = yes; then
11564 wx_cv_use_tabdialog='wxUSE_TAB_DIALOG=yes'
11566 wx_cv_use_tabdialog='wxUSE_TAB_DIALOG=no'
11571 wx_cv_use_tabdialog='wxUSE_TAB_DIALOG=${'DEFAULT_wxUSE_TAB_DIALOG":-$defaultval}"
11576 eval "$wx_cv_use_tabdialog"
11578 if test x
"$enablestring" = xdisable
; then
11579 if test $wxUSE_TAB_DIALOG = yes; then
11585 result
=$wxUSE_TAB_DIALOG
11588 { echo "$as_me:$LINENO: result: $result" >&5
11589 echo "${ECHO_T}$result" >&6; }
11593 defaultval
=$wxUSE_ALL_FEATURES
11594 if test -z "$defaultval"; then
11595 if test x
"$enablestring" = xdisable
; then
11602 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-taskbaricon" >&5
11603 echo $ECHO_N "checking for --${enablestring:-enable}-taskbaricon... $ECHO_C" >&6; }
11604 # Check whether --enable-taskbaricon was given.
11605 if test "${enable_taskbaricon+set}" = set; then
11606 enableval
=$enable_taskbaricon;
11607 if test "$enableval" = yes; then
11608 wx_cv_use_taskbaricon
='wxUSE_TASKBARICON=yes'
11610 wx_cv_use_taskbaricon
='wxUSE_TASKBARICON=no'
11615 wx_cv_use_taskbaricon
='wxUSE_TASKBARICON=${'DEFAULT_wxUSE_TASKBARICON":-$defaultval}"
11620 eval "$wx_cv_use_taskbaricon"
11622 if test x"$enablestring" = xdisable; then
11623 if test $wxUSE_TASKBARICON = yes; then
11629 result=$wxUSE_TASKBARICON
11632 { echo "$as_me:$LINENO: result: $result" >&5
11633 echo "${ECHO_T}$result" >&6; }
11637 defaultval=$wxUSE_ALL_FEATURES
11638 if test -z "$defaultval"; then
11639 if test x"$enablestring" = xdisable; then
11646 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textctrl" >&5
11647 echo $ECHO_N "checking for --${enablestring:-enable}-textctrl... $ECHO_C" >&6; }
11648 # Check whether --enable-textctrl was given.
11649 if test "${enable_textctrl+set}" = set; then
11650 enableval=$enable_textctrl;
11651 if test "$enableval" = yes; then
11652 wx_cv_use_textctrl='wxUSE_TEXTCTRL
=yes'
11654 wx_cv_use_textctrl='wxUSE_TEXTCTRL
=no
'
11659 wx_cv_use_textctrl='wxUSE_TEXTCTRL
=${'DEFAULT_wxUSE_TEXTCTRL":-$defaultval}"
11664 eval "$wx_cv_use_textctrl"
11666 if test x"$enablestring" = xdisable; then
11667 if test $wxUSE_TEXTCTRL = yes; then
11673 result=$wxUSE_TEXTCTRL
11676 { echo "$as_me:$LINENO: result
: $result" >&5
11677 echo "${ECHO_T}$result" >&6; }
11681 defaultval=$wxUSE_ALL_FEATURES
11682 if test -z "$defaultval"; then
11683 if test x"$enablestring" = xdisable; then
11690 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-togglebtn" >&5
11691 echo $ECHO_N "checking
for --${enablestring:-enable}-togglebtn...
$ECHO_C" >&6; }
11692 # Check whether --enable-togglebtn was given.
11693 if test "${enable_togglebtn+set}" = set; then
11694 enableval=$enable_togglebtn;
11695 if test "$enableval" = yes; then
11696 wx_cv_use_togglebtn='wxUSE_TOGGLEBTN=yes'
11698 wx_cv_use_togglebtn='wxUSE_TOGGLEBTN=no'
11703 wx_cv_use_togglebtn='wxUSE_TOGGLEBTN=${'DEFAULT_wxUSE_TOGGLEBTN":-$defaultval}"
11708 eval "$wx_cv_use_togglebtn"
11710 if test x
"$enablestring" = xdisable
; then
11711 if test $wxUSE_TOGGLEBTN = yes; then
11717 result
=$wxUSE_TOGGLEBTN
11720 { echo "$as_me:$LINENO: result: $result" >&5
11721 echo "${ECHO_T}$result" >&6; }
11725 defaultval
=$wxUSE_ALL_FEATURES
11726 if test -z "$defaultval"; then
11727 if test x
"$enablestring" = xdisable
; then
11734 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbar" >&5
11735 echo $ECHO_N "checking for --${enablestring:-enable}-toolbar... $ECHO_C" >&6; }
11736 # Check whether --enable-toolbar was given.
11737 if test "${enable_toolbar+set}" = set; then
11738 enableval
=$enable_toolbar;
11739 if test "$enableval" = yes; then
11740 wx_cv_use_toolbar
='wxUSE_TOOLBAR=yes'
11742 wx_cv_use_toolbar
='wxUSE_TOOLBAR=no'
11747 wx_cv_use_toolbar
='wxUSE_TOOLBAR=${'DEFAULT_wxUSE_TOOLBAR":-$defaultval}"
11752 eval "$wx_cv_use_toolbar"
11754 if test x"$enablestring" = xdisable; then
11755 if test $wxUSE_TOOLBAR = yes; then
11761 result=$wxUSE_TOOLBAR
11764 { echo "$as_me:$LINENO: result: $result" >&5
11765 echo "${ECHO_T}$result" >&6; }
11769 defaultval=$wxUSE_ALL_FEATURES
11770 if test -z "$defaultval"; then
11771 if test x"$enablestring" = xdisable; then
11778 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarnative" >&5
11779 echo $ECHO_N "checking for --${enablestring:-enable}-tbarnative... $ECHO_C" >&6; }
11780 # Check whether --enable-tbarnative was given.
11781 if test "${enable_tbarnative+set}" = set; then
11782 enableval=$enable_tbarnative;
11783 if test "$enableval" = yes; then
11784 wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE
=yes'
11786 wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE
=no
'
11791 wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE
=${'DEFAULT_wxUSE_TOOLBAR_NATIVE":-$defaultval}"
11796 eval "$wx_cv_use_tbarnative"
11798 if test x"$enablestring" = xdisable; then
11799 if test $wxUSE_TOOLBAR_NATIVE = yes; then
11805 result=$wxUSE_TOOLBAR_NATIVE
11808 { echo "$as_me:$LINENO: result
: $result" >&5
11809 echo "${ECHO_T}$result" >&6; }
11813 defaultval=$wxUSE_ALL_FEATURES
11814 if test -z "$defaultval"; then
11815 if test x"$enablestring" = xdisable; then
11822 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-treebook" >&5
11823 echo $ECHO_N "checking
for --${enablestring:-enable}-treebook...
$ECHO_C" >&6; }
11824 # Check whether --enable-treebook was given.
11825 if test "${enable_treebook+set}" = set; then
11826 enableval=$enable_treebook;
11827 if test "$enableval" = yes; then
11828 wx_cv_use_treebook='wxUSE_TREEBOOK=yes'
11830 wx_cv_use_treebook='wxUSE_TREEBOOK=no'
11835 wx_cv_use_treebook='wxUSE_TREEBOOK=${'DEFAULT_wxUSE_TREEBOOK":-$defaultval}"
11840 eval "$wx_cv_use_treebook"
11842 if test x
"$enablestring" = xdisable
; then
11843 if test $wxUSE_TREEBOOK = yes; then
11849 result
=$wxUSE_TREEBOOK
11852 { echo "$as_me:$LINENO: result: $result" >&5
11853 echo "${ECHO_T}$result" >&6; }
11857 defaultval
=$wxUSE_ALL_FEATURES
11858 if test -z "$defaultval"; then
11859 if test x
"$enablestring" = xdisable
; then
11866 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbook" >&5
11867 echo $ECHO_N "checking for --${enablestring:-enable}-toolbook... $ECHO_C" >&6; }
11868 # Check whether --enable-toolbook was given.
11869 if test "${enable_toolbook+set}" = set; then
11870 enableval
=$enable_toolbook;
11871 if test "$enableval" = yes; then
11872 wx_cv_use_toolbook
='wxUSE_TOOLBOOK=yes'
11874 wx_cv_use_toolbook
='wxUSE_TOOLBOOK=no'
11879 wx_cv_use_toolbook
='wxUSE_TOOLBOOK=${'DEFAULT_wxUSE_TOOLBOOK":-$defaultval}"
11884 eval "$wx_cv_use_toolbook"
11886 if test x"$enablestring" = xdisable; then
11887 if test $wxUSE_TOOLBOOK = yes; then
11893 result=$wxUSE_TOOLBOOK
11896 { echo "$as_me:$LINENO: result: $result" >&5
11897 echo "${ECHO_T}$result" >&6; }
11901 defaultval=$wxUSE_ALL_FEATURES
11902 if test -z "$defaultval"; then
11903 if test x"$enablestring" = xdisable; then
11910 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treectrl" >&5
11911 echo $ECHO_N "checking for --${enablestring:-enable}-treectrl... $ECHO_C" >&6; }
11912 # Check whether --enable-treectrl was given.
11913 if test "${enable_treectrl+set}" = set; then
11914 enableval=$enable_treectrl;
11915 if test "$enableval" = yes; then
11916 wx_cv_use_treectrl='wxUSE_TREECTRL
=yes'
11918 wx_cv_use_treectrl='wxUSE_TREECTRL
=no
'
11923 wx_cv_use_treectrl='wxUSE_TREECTRL
=${'DEFAULT_wxUSE_TREECTRL":-$defaultval}"
11928 eval "$wx_cv_use_treectrl"
11930 if test x"$enablestring" = xdisable; then
11931 if test $wxUSE_TREECTRL = yes; then
11937 result=$wxUSE_TREECTRL
11940 { echo "$as_me:$LINENO: result
: $result" >&5
11941 echo "${ECHO_T}$result" >&6; }
11945 defaultval=$wxUSE_ALL_FEATURES
11946 if test -z "$defaultval"; then
11947 if test x"$enablestring" = xdisable; then
11954 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-tipwindow" >&5
11955 echo $ECHO_N "checking
for --${enablestring:-enable}-tipwindow...
$ECHO_C" >&6; }
11956 # Check whether --enable-tipwindow was given.
11957 if test "${enable_tipwindow+set}" = set; then
11958 enableval=$enable_tipwindow;
11959 if test "$enableval" = yes; then
11960 wx_cv_use_tipwindow='wxUSE_TIPWINDOW=yes'
11962 wx_cv_use_tipwindow='wxUSE_TIPWINDOW=no'
11967 wx_cv_use_tipwindow='wxUSE_TIPWINDOW=${'DEFAULT_wxUSE_TIPWINDOW":-$defaultval}"
11972 eval "$wx_cv_use_tipwindow"
11974 if test x
"$enablestring" = xdisable
; then
11975 if test $wxUSE_TIPWINDOW = yes; then
11981 result
=$wxUSE_TIPWINDOW
11984 { echo "$as_me:$LINENO: result: $result" >&5
11985 echo "${ECHO_T}$result" >&6; }
11989 defaultval
=$wxUSE_ALL_FEATURES
11990 if test -z "$defaultval"; then
11991 if test x
"$enablestring" = xdisable
; then
11998 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-popupwin" >&5
11999 echo $ECHO_N "checking for --${enablestring:-enable}-popupwin... $ECHO_C" >&6; }
12000 # Check whether --enable-popupwin was given.
12001 if test "${enable_popupwin+set}" = set; then
12002 enableval
=$enable_popupwin;
12003 if test "$enableval" = yes; then
12004 wx_cv_use_popupwin
='wxUSE_POPUPWIN=yes'
12006 wx_cv_use_popupwin
='wxUSE_POPUPWIN=no'
12011 wx_cv_use_popupwin
='wxUSE_POPUPWIN=${'DEFAULT_wxUSE_POPUPWIN":-$defaultval}"
12016 eval "$wx_cv_use_popupwin"
12018 if test x"$enablestring" = xdisable; then
12019 if test $wxUSE_POPUPWIN = yes; then
12025 result=$wxUSE_POPUPWIN
12028 { echo "$as_me:$LINENO: result: $result" >&5
12029 echo "${ECHO_T}$result" >&6; }
12035 defaultval=$wxUSE_ALL_FEATURES
12036 if test -z "$defaultval"; then
12037 if test x"$enablestring" = xdisable; then
12044 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-commondlg" >&5
12045 echo $ECHO_N "checking for --${enablestring:-enable}-commondlg... $ECHO_C" >&6; }
12046 # Check whether --enable-commondlg was given.
12047 if test "${enable_commondlg+set}" = set; then
12048 enableval=$enable_commondlg;
12049 if test "$enableval" = yes; then
12050 wx_cv_use_commondlg='wxUSE_COMMONDLGS
=yes'
12052 wx_cv_use_commondlg='wxUSE_COMMONDLGS
=no
'
12057 wx_cv_use_commondlg='wxUSE_COMMONDLGS
=${'DEFAULT_wxUSE_COMMONDLGS":-$defaultval}"
12062 eval "$wx_cv_use_commondlg"
12064 if test x"$enablestring" = xdisable; then
12065 if test $wxUSE_COMMONDLGS = yes; then
12071 result=$wxUSE_COMMONDLGS
12074 { echo "$as_me:$LINENO: result
: $result" >&5
12075 echo "${ECHO_T}$result" >&6; }
12079 defaultval=$wxUSE_ALL_FEATURES
12080 if test -z "$defaultval"; then
12081 if test x"$enablestring" = xdisable; then
12088 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-aboutdlg" >&5
12089 echo $ECHO_N "checking
for --${enablestring:-enable}-aboutdlg...
$ECHO_C" >&6; }
12090 # Check whether --enable-aboutdlg was given.
12091 if test "${enable_aboutdlg+set}" = set; then
12092 enableval=$enable_aboutdlg;
12093 if test "$enableval" = yes; then
12094 wx_cv_use_aboutdlg='wxUSE_ABOUTDLG=yes'
12096 wx_cv_use_aboutdlg='wxUSE_ABOUTDLG=no'
12101 wx_cv_use_aboutdlg='wxUSE_ABOUTDLG=${'DEFAULT_wxUSE_ABOUTDLG":-$defaultval}"
12106 eval "$wx_cv_use_aboutdlg"
12108 if test x
"$enablestring" = xdisable
; then
12109 if test $wxUSE_ABOUTDLG = yes; then
12115 result
=$wxUSE_ABOUTDLG
12118 { echo "$as_me:$LINENO: result: $result" >&5
12119 echo "${ECHO_T}$result" >&6; }
12123 defaultval
=$wxUSE_ALL_FEATURES
12124 if test -z "$defaultval"; then
12125 if test x
"$enablestring" = xdisable
; then
12132 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicedlg" >&5
12133 echo $ECHO_N "checking for --${enablestring:-enable}-choicedlg... $ECHO_C" >&6; }
12134 # Check whether --enable-choicedlg was given.
12135 if test "${enable_choicedlg+set}" = set; then
12136 enableval
=$enable_choicedlg;
12137 if test "$enableval" = yes; then
12138 wx_cv_use_choicedlg
='wxUSE_CHOICEDLG=yes'
12140 wx_cv_use_choicedlg
='wxUSE_CHOICEDLG=no'
12145 wx_cv_use_choicedlg
='wxUSE_CHOICEDLG=${'DEFAULT_wxUSE_CHOICEDLG":-$defaultval}"
12150 eval "$wx_cv_use_choicedlg"
12152 if test x"$enablestring" = xdisable; then
12153 if test $wxUSE_CHOICEDLG = yes; then
12159 result=$wxUSE_CHOICEDLG
12162 { echo "$as_me:$LINENO: result: $result" >&5
12163 echo "${ECHO_T}$result" >&6; }
12167 defaultval=$wxUSE_ALL_FEATURES
12168 if test -z "$defaultval"; then
12169 if test x"$enablestring" = xdisable; then
12176 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-coldlg" >&5
12177 echo $ECHO_N "checking for --${enablestring:-enable}-coldlg... $ECHO_C" >&6; }
12178 # Check whether --enable-coldlg was given.
12179 if test "${enable_coldlg+set}" = set; then
12180 enableval=$enable_coldlg;
12181 if test "$enableval" = yes; then
12182 wx_cv_use_coldlg='wxUSE_COLOURDLG
=yes'
12184 wx_cv_use_coldlg='wxUSE_COLOURDLG
=no
'
12189 wx_cv_use_coldlg='wxUSE_COLOURDLG
=${'DEFAULT_wxUSE_COLOURDLG":-$defaultval}"
12194 eval "$wx_cv_use_coldlg"
12196 if test x"$enablestring" = xdisable; then
12197 if test $wxUSE_COLOURDLG = yes; then
12203 result=$wxUSE_COLOURDLG
12206 { echo "$as_me:$LINENO: result
: $result" >&5
12207 echo "${ECHO_T}$result" >&6; }
12211 defaultval=$wxUSE_ALL_FEATURES
12212 if test -z "$defaultval"; then
12213 if test x"$enablestring" = xdisable; then
12220 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-filedlg" >&5
12221 echo $ECHO_N "checking
for --${enablestring:-enable}-filedlg...
$ECHO_C" >&6; }
12222 # Check whether --enable-filedlg was given.
12223 if test "${enable_filedlg+set}" = set; then
12224 enableval=$enable_filedlg;
12225 if test "$enableval" = yes; then
12226 wx_cv_use_filedlg='wxUSE_FILEDLG=yes'
12228 wx_cv_use_filedlg='wxUSE_FILEDLG=no'
12233 wx_cv_use_filedlg='wxUSE_FILEDLG=${'DEFAULT_wxUSE_FILEDLG":-$defaultval}"
12238 eval "$wx_cv_use_filedlg"
12240 if test x
"$enablestring" = xdisable
; then
12241 if test $wxUSE_FILEDLG = yes; then
12247 result
=$wxUSE_FILEDLG
12250 { echo "$as_me:$LINENO: result: $result" >&5
12251 echo "${ECHO_T}$result" >&6; }
12255 defaultval
=$wxUSE_ALL_FEATURES
12256 if test -z "$defaultval"; then
12257 if test x
"$enablestring" = xdisable
; then
12264 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-finddlg" >&5
12265 echo $ECHO_N "checking for --${enablestring:-enable}-finddlg... $ECHO_C" >&6; }
12266 # Check whether --enable-finddlg was given.
12267 if test "${enable_finddlg+set}" = set; then
12268 enableval
=$enable_finddlg;
12269 if test "$enableval" = yes; then
12270 wx_cv_use_finddlg
='wxUSE_FINDREPLDLG=yes'
12272 wx_cv_use_finddlg
='wxUSE_FINDREPLDLG=no'
12277 wx_cv_use_finddlg
='wxUSE_FINDREPLDLG=${'DEFAULT_wxUSE_FINDREPLDLG":-$defaultval}"
12282 eval "$wx_cv_use_finddlg"
12284 if test x"$enablestring" = xdisable; then
12285 if test $wxUSE_FINDREPLDLG = yes; then
12291 result=$wxUSE_FINDREPLDLG
12294 { echo "$as_me:$LINENO: result: $result" >&5
12295 echo "${ECHO_T}$result" >&6; }
12299 defaultval=$wxUSE_ALL_FEATURES
12300 if test -z "$defaultval"; then
12301 if test x"$enablestring" = xdisable; then
12308 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontdlg" >&5
12309 echo $ECHO_N "checking for --${enablestring:-enable}-fontdlg... $ECHO_C" >&6; }
12310 # Check whether --enable-fontdlg was given.
12311 if test "${enable_fontdlg+set}" = set; then
12312 enableval=$enable_fontdlg;
12313 if test "$enableval" = yes; then
12314 wx_cv_use_fontdlg='wxUSE_FONTDLG
=yes'
12316 wx_cv_use_fontdlg='wxUSE_FONTDLG
=no
'
12321 wx_cv_use_fontdlg='wxUSE_FONTDLG
=${'DEFAULT_wxUSE_FONTDLG":-$defaultval}"
12326 eval "$wx_cv_use_fontdlg"
12328 if test x"$enablestring" = xdisable; then
12329 if test $wxUSE_FONTDLG = yes; then
12335 result=$wxUSE_FONTDLG
12338 { echo "$as_me:$LINENO: result
: $result" >&5
12339 echo "${ECHO_T}$result" >&6; }
12343 defaultval=$wxUSE_ALL_FEATURES
12344 if test -z "$defaultval"; then
12345 if test x"$enablestring" = xdisable; then
12352 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-dirdlg" >&5
12353 echo $ECHO_N "checking
for --${enablestring:-enable}-dirdlg...
$ECHO_C" >&6; }
12354 # Check whether --enable-dirdlg was given.
12355 if test "${enable_dirdlg+set}" = set; then
12356 enableval=$enable_dirdlg;
12357 if test "$enableval" = yes; then
12358 wx_cv_use_dirdlg='wxUSE_DIRDLG=yes'
12360 wx_cv_use_dirdlg='wxUSE_DIRDLG=no'
12365 wx_cv_use_dirdlg='wxUSE_DIRDLG=${'DEFAULT_wxUSE_DIRDLG":-$defaultval}"
12370 eval "$wx_cv_use_dirdlg"
12372 if test x
"$enablestring" = xdisable
; then
12373 if test $wxUSE_DIRDLG = yes; then
12379 result
=$wxUSE_DIRDLG
12382 { echo "$as_me:$LINENO: result: $result" >&5
12383 echo "${ECHO_T}$result" >&6; }
12387 defaultval
=$wxUSE_ALL_FEATURES
12388 if test -z "$defaultval"; then
12389 if test x
"$enablestring" = xdisable
; then
12396 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-msgdlg" >&5
12397 echo $ECHO_N "checking for --${enablestring:-enable}-msgdlg... $ECHO_C" >&6; }
12398 # Check whether --enable-msgdlg was given.
12399 if test "${enable_msgdlg+set}" = set; then
12400 enableval
=$enable_msgdlg;
12401 if test "$enableval" = yes; then
12402 wx_cv_use_msgdlg
='wxUSE_MSGDLG=yes'
12404 wx_cv_use_msgdlg
='wxUSE_MSGDLG=no'
12409 wx_cv_use_msgdlg
='wxUSE_MSGDLG=${'DEFAULT_wxUSE_MSGDLG":-$defaultval}"
12414 eval "$wx_cv_use_msgdlg"
12416 if test x"$enablestring" = xdisable; then
12417 if test $wxUSE_MSGDLG = yes; then
12423 result=$wxUSE_MSGDLG
12426 { echo "$as_me:$LINENO: result: $result" >&5
12427 echo "${ECHO_T}$result" >&6; }
12431 defaultval=$wxUSE_ALL_FEATURES
12432 if test -z "$defaultval"; then
12433 if test x"$enablestring" = xdisable; then
12440 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-numberdlg" >&5
12441 echo $ECHO_N "checking for --${enablestring:-enable}-numberdlg... $ECHO_C" >&6; }
12442 # Check whether --enable-numberdlg was given.
12443 if test "${enable_numberdlg+set}" = set; then
12444 enableval=$enable_numberdlg;
12445 if test "$enableval" = yes; then
12446 wx_cv_use_numberdlg='wxUSE_NUMBERDLG
=yes'
12448 wx_cv_use_numberdlg='wxUSE_NUMBERDLG
=no
'
12453 wx_cv_use_numberdlg='wxUSE_NUMBERDLG
=${'DEFAULT_wxUSE_NUMBERDLG":-$defaultval}"
12458 eval "$wx_cv_use_numberdlg"
12460 if test x"$enablestring" = xdisable; then
12461 if test $wxUSE_NUMBERDLG = yes; then
12467 result=$wxUSE_NUMBERDLG
12470 { echo "$as_me:$LINENO: result
: $result" >&5
12471 echo "${ECHO_T}$result" >&6; }
12475 defaultval=$wxUSE_ALL_FEATURES
12476 if test -z "$defaultval"; then
12477 if test x"$enablestring" = xdisable; then
12484 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-splash" >&5
12485 echo $ECHO_N "checking
for --${enablestring:-enable}-splash...
$ECHO_C" >&6; }
12486 # Check whether --enable-splash was given.
12487 if test "${enable_splash+set}" = set; then
12488 enableval=$enable_splash;
12489 if test "$enableval" = yes; then
12490 wx_cv_use_splash='wxUSE_SPLASH=yes'
12492 wx_cv_use_splash='wxUSE_SPLASH=no'
12497 wx_cv_use_splash='wxUSE_SPLASH=${'DEFAULT_wxUSE_SPLASH":-$defaultval}"
12502 eval "$wx_cv_use_splash"
12504 if test x
"$enablestring" = xdisable
; then
12505 if test $wxUSE_SPLASH = yes; then
12511 result
=$wxUSE_SPLASH
12514 { echo "$as_me:$LINENO: result: $result" >&5
12515 echo "${ECHO_T}$result" >&6; }
12519 defaultval
=$wxUSE_ALL_FEATURES
12520 if test -z "$defaultval"; then
12521 if test x
"$enablestring" = xdisable
; then
12528 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textdlg" >&5
12529 echo $ECHO_N "checking for --${enablestring:-enable}-textdlg... $ECHO_C" >&6; }
12530 # Check whether --enable-textdlg was given.
12531 if test "${enable_textdlg+set}" = set; then
12532 enableval
=$enable_textdlg;
12533 if test "$enableval" = yes; then
12534 wx_cv_use_textdlg
='wxUSE_TEXTDLG=yes'
12536 wx_cv_use_textdlg
='wxUSE_TEXTDLG=no'
12541 wx_cv_use_textdlg
='wxUSE_TEXTDLG=${'DEFAULT_wxUSE_TEXTDLG":-$defaultval}"
12546 eval "$wx_cv_use_textdlg"
12548 if test x"$enablestring" = xdisable; then
12549 if test $wxUSE_TEXTDLG = yes; then
12555 result=$wxUSE_TEXTDLG
12558 { echo "$as_me:$LINENO: result: $result" >&5
12559 echo "${ECHO_T}$result" >&6; }
12563 defaultval=$wxUSE_ALL_FEATURES
12564 if test -z "$defaultval"; then
12565 if test x"$enablestring" = xdisable; then
12572 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipdlg" >&5
12573 echo $ECHO_N "checking for --${enablestring:-enable}-tipdlg... $ECHO_C" >&6; }
12574 # Check whether --enable-tipdlg was given.
12575 if test "${enable_tipdlg+set}" = set; then
12576 enableval=$enable_tipdlg;
12577 if test "$enableval" = yes; then
12578 wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS
=yes'
12580 wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS
=no
'
12585 wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS
=${'DEFAULT_wxUSE_STARTUP_TIPS":-$defaultval}"
12590 eval "$wx_cv_use_tipdlg"
12592 if test x"$enablestring" = xdisable; then
12593 if test $wxUSE_STARTUP_TIPS = yes; then
12599 result=$wxUSE_STARTUP_TIPS
12602 { echo "$as_me:$LINENO: result
: $result" >&5
12603 echo "${ECHO_T}$result" >&6; }
12607 defaultval=$wxUSE_ALL_FEATURES
12608 if test -z "$defaultval"; then
12609 if test x"$enablestring" = xdisable; then
12616 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-progressdlg" >&5
12617 echo $ECHO_N "checking
for --${enablestring:-enable}-progressdlg...
$ECHO_C" >&6; }
12618 # Check whether --enable-progressdlg was given.
12619 if test "${enable_progressdlg+set}" = set; then
12620 enableval=$enable_progressdlg;
12621 if test "$enableval" = yes; then
12622 wx_cv_use_progressdlg='wxUSE_PROGRESSDLG=yes'
12624 wx_cv_use_progressdlg='wxUSE_PROGRESSDLG=no'
12629 wx_cv_use_progressdlg='wxUSE_PROGRESSDLG=${'DEFAULT_wxUSE_PROGRESSDLG":-$defaultval}"
12634 eval "$wx_cv_use_progressdlg"
12636 if test x
"$enablestring" = xdisable
; then
12637 if test $wxUSE_PROGRESSDLG = yes; then
12643 result
=$wxUSE_PROGRESSDLG
12646 { echo "$as_me:$LINENO: result: $result" >&5
12647 echo "${ECHO_T}$result" >&6; }
12651 defaultval
=$wxUSE_ALL_FEATURES
12652 if test -z "$defaultval"; then
12653 if test x
"$enablestring" = xdisable
; then
12660 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wizarddlg" >&5
12661 echo $ECHO_N "checking for --${enablestring:-enable}-wizarddlg... $ECHO_C" >&6; }
12662 # Check whether --enable-wizarddlg was given.
12663 if test "${enable_wizarddlg+set}" = set; then
12664 enableval
=$enable_wizarddlg;
12665 if test "$enableval" = yes; then
12666 wx_cv_use_wizarddlg
='wxUSE_WIZARDDLG=yes'
12668 wx_cv_use_wizarddlg
='wxUSE_WIZARDDLG=no'
12673 wx_cv_use_wizarddlg
='wxUSE_WIZARDDLG=${'DEFAULT_wxUSE_WIZARDDLG":-$defaultval}"
12678 eval "$wx_cv_use_wizarddlg"
12680 if test x"$enablestring" = xdisable; then
12681 if test $wxUSE_WIZARDDLG = yes; then
12687 result=$wxUSE_WIZARDDLG
12690 { echo "$as_me:$LINENO: result: $result" >&5
12691 echo "${ECHO_T}$result" >&6; }
12697 defaultval=$wxUSE_ALL_FEATURES
12698 if test -z "$defaultval"; then
12699 if test x"$enablestring" = xdisable; then
12706 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-menus" >&5
12707 echo $ECHO_N "checking for --${enablestring:-enable}-menus... $ECHO_C" >&6; }
12708 # Check whether --enable-menus was given.
12709 if test "${enable_menus+set}" = set; then
12710 enableval=$enable_menus;
12711 if test "$enableval" = yes; then
12712 wx_cv_use_menus='wxUSE_MENUS
=yes'
12714 wx_cv_use_menus='wxUSE_MENUS
=no
'
12719 wx_cv_use_menus='wxUSE_MENUS
=${'DEFAULT_wxUSE_MENUS":-$defaultval}"
12724 eval "$wx_cv_use_menus"
12726 if test x"$enablestring" = xdisable; then
12727 if test $wxUSE_MENUS = yes; then
12733 result=$wxUSE_MENUS
12736 { echo "$as_me:$LINENO: result
: $result" >&5
12737 echo "${ECHO_T}$result" >&6; }
12741 defaultval=$wxUSE_ALL_FEATURES
12742 if test -z "$defaultval"; then
12743 if test x"$enablestring" = xdisable; then
12750 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-miniframe" >&5
12751 echo $ECHO_N "checking
for --${enablestring:-enable}-miniframe...
$ECHO_C" >&6; }
12752 # Check whether --enable-miniframe was given.
12753 if test "${enable_miniframe+set}" = set; then
12754 enableval=$enable_miniframe;
12755 if test "$enableval" = yes; then
12756 wx_cv_use_miniframe='wxUSE_MINIFRAME=yes'
12758 wx_cv_use_miniframe='wxUSE_MINIFRAME=no'
12763 wx_cv_use_miniframe='wxUSE_MINIFRAME=${'DEFAULT_wxUSE_MINIFRAME":-$defaultval}"
12768 eval "$wx_cv_use_miniframe"
12770 if test x
"$enablestring" = xdisable
; then
12771 if test $wxUSE_MINIFRAME = yes; then
12777 result
=$wxUSE_MINIFRAME
12780 { echo "$as_me:$LINENO: result: $result" >&5
12781 echo "${ECHO_T}$result" >&6; }
12785 defaultval
=$wxUSE_ALL_FEATURES
12786 if test -z "$defaultval"; then
12787 if test x
"$enablestring" = xdisable
; then
12794 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tooltips" >&5
12795 echo $ECHO_N "checking for --${enablestring:-enable}-tooltips... $ECHO_C" >&6; }
12796 # Check whether --enable-tooltips was given.
12797 if test "${enable_tooltips+set}" = set; then
12798 enableval
=$enable_tooltips;
12799 if test "$enableval" = yes; then
12800 wx_cv_use_tooltips
='wxUSE_TOOLTIPS=yes'
12802 wx_cv_use_tooltips
='wxUSE_TOOLTIPS=no'
12807 wx_cv_use_tooltips
='wxUSE_TOOLTIPS=${'DEFAULT_wxUSE_TOOLTIPS":-$defaultval}"
12812 eval "$wx_cv_use_tooltips"
12814 if test x"$enablestring" = xdisable; then
12815 if test $wxUSE_TOOLTIPS = yes; then
12821 result=$wxUSE_TOOLTIPS
12824 { echo "$as_me:$LINENO: result: $result" >&5
12825 echo "${ECHO_T}$result" >&6; }
12829 defaultval=$wxUSE_ALL_FEATURES
12830 if test -z "$defaultval"; then
12831 if test x"$enablestring" = xdisable; then
12838 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splines" >&5
12839 echo $ECHO_N "checking for --${enablestring:-enable}-splines... $ECHO_C" >&6; }
12840 # Check whether --enable-splines was given.
12841 if test "${enable_splines+set}" = set; then
12842 enableval=$enable_splines;
12843 if test "$enableval" = yes; then
12844 wx_cv_use_splines='wxUSE_SPLINES
=yes'
12846 wx_cv_use_splines='wxUSE_SPLINES
=no
'
12851 wx_cv_use_splines='wxUSE_SPLINES
=${'DEFAULT_wxUSE_SPLINES":-$defaultval}"
12856 eval "$wx_cv_use_splines"
12858 if test x"$enablestring" = xdisable; then
12859 if test $wxUSE_SPLINES = yes; then
12865 result=$wxUSE_SPLINES
12868 { echo "$as_me:$LINENO: result
: $result" >&5
12869 echo "${ECHO_T}$result" >&6; }
12873 defaultval=$wxUSE_ALL_FEATURES
12874 if test -z "$defaultval"; then
12875 if test x"$enablestring" = xdisable; then
12882 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-mousewheel" >&5
12883 echo $ECHO_N "checking
for --${enablestring:-enable}-mousewheel...
$ECHO_C" >&6; }
12884 # Check whether --enable-mousewheel was given.
12885 if test "${enable_mousewheel+set}" = set; then
12886 enableval=$enable_mousewheel;
12887 if test "$enableval" = yes; then
12888 wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL=yes'
12890 wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL=no'
12895 wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL=${'DEFAULT_wxUSE_MOUSEWHEEL":-$defaultval}"
12900 eval "$wx_cv_use_mousewheel"
12902 if test x
"$enablestring" = xdisable
; then
12903 if test $wxUSE_MOUSEWHEEL = yes; then
12909 result
=$wxUSE_MOUSEWHEEL
12912 { echo "$as_me:$LINENO: result: $result" >&5
12913 echo "${ECHO_T}$result" >&6; }
12917 defaultval
=$wxUSE_ALL_FEATURES
12918 if test -z "$defaultval"; then
12919 if test x
"$enablestring" = xdisable
; then
12926 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-validators" >&5
12927 echo $ECHO_N "checking for --${enablestring:-enable}-validators... $ECHO_C" >&6; }
12928 # Check whether --enable-validators was given.
12929 if test "${enable_validators+set}" = set; then
12930 enableval
=$enable_validators;
12931 if test "$enableval" = yes; then
12932 wx_cv_use_validators
='wxUSE_VALIDATORS=yes'
12934 wx_cv_use_validators
='wxUSE_VALIDATORS=no'
12939 wx_cv_use_validators
='wxUSE_VALIDATORS=${'DEFAULT_wxUSE_VALIDATORS":-$defaultval}"
12944 eval "$wx_cv_use_validators"
12946 if test x"$enablestring" = xdisable; then
12947 if test $wxUSE_VALIDATORS = yes; then
12953 result=$wxUSE_VALIDATORS
12956 { echo "$as_me:$LINENO: result: $result" >&5
12957 echo "${ECHO_T}$result" >&6; }
12961 defaultval=$wxUSE_ALL_FEATURES
12962 if test -z "$defaultval"; then
12963 if test x"$enablestring" = xdisable; then
12970 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-busyinfo" >&5
12971 echo $ECHO_N "checking for --${enablestring:-enable}-busyinfo... $ECHO_C" >&6; }
12972 # Check whether --enable-busyinfo was given.
12973 if test "${enable_busyinfo+set}" = set; then
12974 enableval=$enable_busyinfo;
12975 if test "$enableval" = yes; then
12976 wx_cv_use_busyinfo='wxUSE_BUSYINFO
=yes'
12978 wx_cv_use_busyinfo='wxUSE_BUSYINFO
=no
'
12983 wx_cv_use_busyinfo='wxUSE_BUSYINFO
=${'DEFAULT_wxUSE_BUSYINFO":-$defaultval}"
12988 eval "$wx_cv_use_busyinfo"
12990 if test x"$enablestring" = xdisable; then
12991 if test $wxUSE_BUSYINFO = yes; then
12997 result=$wxUSE_BUSYINFO
13000 { echo "$as_me:$LINENO: result
: $result" >&5
13001 echo "${ECHO_T}$result" >&6; }
13005 defaultval=$wxUSE_ALL_FEATURES
13006 if test -z "$defaultval"; then
13007 if test x"$enablestring" = xdisable; then
13014 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-joystick" >&5
13015 echo $ECHO_N "checking
for --${enablestring:-enable}-joystick...
$ECHO_C" >&6; }
13016 # Check whether --enable-joystick was given.
13017 if test "${enable_joystick+set}" = set; then
13018 enableval=$enable_joystick;
13019 if test "$enableval" = yes; then
13020 wx_cv_use_joystick='wxUSE_JOYSTICK=yes'
13022 wx_cv_use_joystick='wxUSE_JOYSTICK=no'
13027 wx_cv_use_joystick='wxUSE_JOYSTICK=${'DEFAULT_wxUSE_JOYSTICK":-$defaultval}"
13032 eval "$wx_cv_use_joystick"
13034 if test x
"$enablestring" = xdisable
; then
13035 if test $wxUSE_JOYSTICK = yes; then
13041 result
=$wxUSE_JOYSTICK
13044 { echo "$as_me:$LINENO: result: $result" >&5
13045 echo "${ECHO_T}$result" >&6; }
13049 defaultval
=$wxUSE_ALL_FEATURES
13050 if test -z "$defaultval"; then
13051 if test x
"$enablestring" = xdisable
; then
13058 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
13059 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6; }
13060 # Check whether --enable-metafile was given.
13061 if test "${enable_metafile+set}" = set; then
13062 enableval
=$enable_metafile;
13063 if test "$enableval" = yes; then
13064 wx_cv_use_metafile
='wxUSE_METAFILE=yes'
13066 wx_cv_use_metafile
='wxUSE_METAFILE=no'
13071 wx_cv_use_metafile
='wxUSE_METAFILE=${'DEFAULT_wxUSE_METAFILE":-$defaultval}"
13076 eval "$wx_cv_use_metafile"
13078 if test x"$enablestring" = xdisable; then
13079 if test $wxUSE_METAFILE = yes; then
13085 result=$wxUSE_METAFILE
13088 { echo "$as_me:$LINENO: result: $result" >&5
13089 echo "${ECHO_T}$result" >&6; }
13093 defaultval=$wxUSE_ALL_FEATURES
13094 if test -z "$defaultval"; then
13095 if test x"$enablestring" = xdisable; then
13102 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dragimage" >&5
13103 echo $ECHO_N "checking for --${enablestring:-enable}-dragimage... $ECHO_C" >&6; }
13104 # Check whether --enable-dragimage was given.
13105 if test "${enable_dragimage+set}" = set; then
13106 enableval=$enable_dragimage;
13107 if test "$enableval" = yes; then
13108 wx_cv_use_dragimage='wxUSE_DRAGIMAGE
=yes'
13110 wx_cv_use_dragimage='wxUSE_DRAGIMAGE
=no
'
13115 wx_cv_use_dragimage='wxUSE_DRAGIMAGE
=${'DEFAULT_wxUSE_DRAGIMAGE":-$defaultval}"
13120 eval "$wx_cv_use_dragimage"
13122 if test x"$enablestring" = xdisable; then
13123 if test $wxUSE_DRAGIMAGE = yes; then
13129 result=$wxUSE_DRAGIMAGE
13132 { echo "$as_me:$LINENO: result
: $result" >&5
13133 echo "${ECHO_T}$result" >&6; }
13137 defaultval=$wxUSE_ALL_FEATURES
13138 if test -z "$defaultval"; then
13139 if test x"$enablestring" = xdisable; then
13146 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-accessibility" >&5
13147 echo $ECHO_N "checking
for --${enablestring:-enable}-accessibility...
$ECHO_C" >&6; }
13148 # Check whether --enable-accessibility was given.
13149 if test "${enable_accessibility+set}" = set; then
13150 enableval=$enable_accessibility;
13151 if test "$enableval" = yes; then
13152 wx_cv_use_accessibility='wxUSE_ACCESSIBILITY=yes'
13154 wx_cv_use_accessibility='wxUSE_ACCESSIBILITY=no'
13159 wx_cv_use_accessibility='wxUSE_ACCESSIBILITY=${'DEFAULT_wxUSE_ACCESSIBILITY":-$defaultval}"
13164 eval "$wx_cv_use_accessibility"
13166 if test x
"$enablestring" = xdisable
; then
13167 if test $wxUSE_ACCESSIBILITY = yes; then
13173 result
=$wxUSE_ACCESSIBILITY
13176 { echo "$as_me:$LINENO: result: $result" >&5
13177 echo "${ECHO_T}$result" >&6; }
13183 defaultval
=$wxUSE_ALL_FEATURES
13184 if test -z "$defaultval"; then
13185 if test x
"$enablestring" = xdisable
; then
13192 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-palette" >&5
13193 echo $ECHO_N "checking for --${enablestring:-enable}-palette... $ECHO_C" >&6; }
13194 # Check whether --enable-palette was given.
13195 if test "${enable_palette+set}" = set; then
13196 enableval
=$enable_palette;
13197 if test "$enableval" = yes; then
13198 wx_cv_use_palette
='wxUSE_PALETTE=yes'
13200 wx_cv_use_palette
='wxUSE_PALETTE=no'
13205 wx_cv_use_palette
='wxUSE_PALETTE=${'DEFAULT_wxUSE_PALETTE":-$defaultval}"
13210 eval "$wx_cv_use_palette"
13212 if test x"$enablestring" = xdisable; then
13213 if test $wxUSE_PALETTE = yes; then
13219 result=$wxUSE_PALETTE
13222 { echo "$as_me:$LINENO: result: $result" >&5
13223 echo "${ECHO_T}$result" >&6; }
13227 defaultval=$wxUSE_ALL_FEATURES
13228 if test -z "$defaultval"; then
13229 if test x"$enablestring" = xdisable; then
13236 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-image" >&5
13237 echo $ECHO_N "checking for --${enablestring:-enable}-image... $ECHO_C" >&6; }
13238 # Check whether --enable-image was given.
13239 if test "${enable_image+set}" = set; then
13240 enableval=$enable_image;
13241 if test "$enableval" = yes; then
13242 wx_cv_use_image='wxUSE_IMAGE
=yes'
13244 wx_cv_use_image='wxUSE_IMAGE
=no
'
13249 wx_cv_use_image='wxUSE_IMAGE
=${'DEFAULT_wxUSE_IMAGE":-$defaultval}"
13254 eval "$wx_cv_use_image"
13256 if test x"$enablestring" = xdisable; then
13257 if test $wxUSE_IMAGE = yes; then
13263 result=$wxUSE_IMAGE
13266 { echo "$as_me:$LINENO: result
: $result" >&5
13267 echo "${ECHO_T}$result" >&6; }
13271 defaultval=$wxUSE_ALL_FEATURES
13272 if test -z "$defaultval"; then
13273 if test x"$enablestring" = xdisable; then
13280 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-gif" >&5
13281 echo $ECHO_N "checking
for --${enablestring:-enable}-gif...
$ECHO_C" >&6; }
13282 # Check whether --enable-gif was given.
13283 if test "${enable_gif+set}" = set; then
13284 enableval=$enable_gif;
13285 if test "$enableval" = yes; then
13286 wx_cv_use_gif='wxUSE_GIF=yes'
13288 wx_cv_use_gif='wxUSE_GIF=no'
13293 wx_cv_use_gif='wxUSE_GIF=${'DEFAULT_wxUSE_GIF":-$defaultval}"
13298 eval "$wx_cv_use_gif"
13300 if test x
"$enablestring" = xdisable
; then
13301 if test $wxUSE_GIF = yes; then
13310 { echo "$as_me:$LINENO: result: $result" >&5
13311 echo "${ECHO_T}$result" >&6; }
13315 defaultval
=$wxUSE_ALL_FEATURES
13316 if test -z "$defaultval"; then
13317 if test x
"$enablestring" = xdisable
; then
13324 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pcx" >&5
13325 echo $ECHO_N "checking for --${enablestring:-enable}-pcx... $ECHO_C" >&6; }
13326 # Check whether --enable-pcx was given.
13327 if test "${enable_pcx+set}" = set; then
13328 enableval
=$enable_pcx;
13329 if test "$enableval" = yes; then
13330 wx_cv_use_pcx
='wxUSE_PCX=yes'
13332 wx_cv_use_pcx
='wxUSE_PCX=no'
13337 wx_cv_use_pcx
='wxUSE_PCX=${'DEFAULT_wxUSE_PCX":-$defaultval}"
13342 eval "$wx_cv_use_pcx"
13344 if test x"$enablestring" = xdisable; then
13345 if test $wxUSE_PCX = yes; then
13354 { echo "$as_me:$LINENO: result: $result" >&5
13355 echo "${ECHO_T}$result" >&6; }
13359 defaultval=$wxUSE_ALL_FEATURES
13360 if test -z "$defaultval"; then
13361 if test x"$enablestring" = xdisable; then
13368 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tga" >&5
13369 echo $ECHO_N "checking for --${enablestring:-enable}-tga... $ECHO_C" >&6; }
13370 # Check whether --enable-tga was given.
13371 if test "${enable_tga+set}" = set; then
13372 enableval=$enable_tga;
13373 if test "$enableval" = yes; then
13374 wx_cv_use_tga='wxUSE_TGA
=yes'
13376 wx_cv_use_tga='wxUSE_TGA
=no
'
13381 wx_cv_use_tga='wxUSE_TGA
=${'DEFAULT_wxUSE_TGA":-$defaultval}"
13386 eval "$wx_cv_use_tga"
13388 if test x"$enablestring" = xdisable; then
13389 if test $wxUSE_TGA = yes; then
13398 { echo "$as_me:$LINENO: result
: $result" >&5
13399 echo "${ECHO_T}$result" >&6; }
13403 defaultval=$wxUSE_ALL_FEATURES
13404 if test -z "$defaultval"; then
13405 if test x"$enablestring" = xdisable; then
13412 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-iff" >&5
13413 echo $ECHO_N "checking
for --${enablestring:-enable}-iff...
$ECHO_C" >&6; }
13414 # Check whether --enable-iff was given.
13415 if test "${enable_iff+set}" = set; then
13416 enableval=$enable_iff;
13417 if test "$enableval" = yes; then
13418 wx_cv_use_iff='wxUSE_IFF=yes'
13420 wx_cv_use_iff='wxUSE_IFF=no'
13425 wx_cv_use_iff='wxUSE_IFF=${'DEFAULT_wxUSE_IFF":-$defaultval}"
13430 eval "$wx_cv_use_iff"
13432 if test x
"$enablestring" = xdisable
; then
13433 if test $wxUSE_IFF = yes; then
13442 { echo "$as_me:$LINENO: result: $result" >&5
13443 echo "${ECHO_T}$result" >&6; }
13447 defaultval
=$wxUSE_ALL_FEATURES
13448 if test -z "$defaultval"; then
13449 if test x
"$enablestring" = xdisable
; then
13456 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pnm" >&5
13457 echo $ECHO_N "checking for --${enablestring:-enable}-pnm... $ECHO_C" >&6; }
13458 # Check whether --enable-pnm was given.
13459 if test "${enable_pnm+set}" = set; then
13460 enableval
=$enable_pnm;
13461 if test "$enableval" = yes; then
13462 wx_cv_use_pnm
='wxUSE_PNM=yes'
13464 wx_cv_use_pnm
='wxUSE_PNM=no'
13469 wx_cv_use_pnm
='wxUSE_PNM=${'DEFAULT_wxUSE_PNM":-$defaultval}"
13474 eval "$wx_cv_use_pnm"
13476 if test x"$enablestring" = xdisable; then
13477 if test $wxUSE_PNM = yes; then
13486 { echo "$as_me:$LINENO: result: $result" >&5
13487 echo "${ECHO_T}$result" >&6; }
13491 defaultval=$wxUSE_ALL_FEATURES
13492 if test -z "$defaultval"; then
13493 if test x"$enablestring" = xdisable; then
13500 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xpm" >&5
13501 echo $ECHO_N "checking for --${enablestring:-enable}-xpm... $ECHO_C" >&6; }
13502 # Check whether --enable-xpm was given.
13503 if test "${enable_xpm+set}" = set; then
13504 enableval=$enable_xpm;
13505 if test "$enableval" = yes; then
13506 wx_cv_use_xpm='wxUSE_XPM
=yes'
13508 wx_cv_use_xpm='wxUSE_XPM
=no
'
13513 wx_cv_use_xpm='wxUSE_XPM
=${'DEFAULT_wxUSE_XPM":-$defaultval}"
13518 eval "$wx_cv_use_xpm"
13520 if test x"$enablestring" = xdisable; then
13521 if test $wxUSE_XPM = yes; then
13530 { echo "$as_me:$LINENO: result
: $result" >&5
13531 echo "${ECHO_T}$result" >&6; }
13535 defaultval=$wxUSE_ALL_FEATURES
13536 if test -z "$defaultval"; then
13537 if test x"$enablestring" = xdisable; then
13544 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-ico_cur" >&5
13545 echo $ECHO_N "checking
for --${enablestring:-enable}-ico_cur...
$ECHO_C" >&6; }
13546 # Check whether --enable-ico_cur was given.
13547 if test "${enable_ico_cur+set}" = set; then
13548 enableval=$enable_ico_cur;
13549 if test "$enableval" = yes; then
13550 wx_cv_use_ico_cur='wxUSE_ICO_CUR=yes'
13552 wx_cv_use_ico_cur='wxUSE_ICO_CUR=no'
13557 wx_cv_use_ico_cur='wxUSE_ICO_CUR=${'DEFAULT_wxUSE_ICO_CUR":-$defaultval}"
13562 eval "$wx_cv_use_ico_cur"
13564 if test x
"$enablestring" = xdisable
; then
13565 if test $wxUSE_ICO_CUR = yes; then
13571 result
=$wxUSE_ICO_CUR
13574 { echo "$as_me:$LINENO: result: $result" >&5
13575 echo "${ECHO_T}$result" >&6; }
13581 defaultval
=$wxUSE_ALL_FEATURES
13582 if test -z "$defaultval"; then
13583 if test x
"$enablestring" = xdisable
; then
13590 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dccache" >&5
13591 echo $ECHO_N "checking for --${enablestring:-enable}-dccache... $ECHO_C" >&6; }
13592 # Check whether --enable-dccache was given.
13593 if test "${enable_dccache+set}" = set; then
13594 enableval
=$enable_dccache;
13595 if test "$enableval" = yes; then
13596 wx_cv_use_dccache
='wxUSE_DC_CACHEING=yes'
13598 wx_cv_use_dccache
='wxUSE_DC_CACHEING=no'
13603 wx_cv_use_dccache
='wxUSE_DC_CACHEING=${'DEFAULT_wxUSE_DC_CACHEING":-$defaultval}"
13608 eval "$wx_cv_use_dccache"
13610 if test x"$enablestring" = xdisable; then
13611 if test $wxUSE_DC_CACHEING = yes; then
13617 result=$wxUSE_DC_CACHEING
13620 { echo "$as_me:$LINENO: result: $result" >&5
13621 echo "${ECHO_T}$result" >&6; }
13625 defaultval=$wxUSE_ALL_FEATURES
13626 if test -z "$defaultval"; then
13627 if test x"$enablestring" = xdisable; then
13634 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ps-in-msw" >&5
13635 echo $ECHO_N "checking for --${enablestring:-enable}-ps-in-msw... $ECHO_C" >&6; }
13636 # Check whether --enable-ps-in-msw was given.
13637 if test "${enable_ps_in_msw+set}" = set; then
13638 enableval=$enable_ps_in_msw;
13639 if test "$enableval" = yes; then
13640 wx_cv_use_ps_in_msw='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW
=yes'
13642 wx_cv_use_ps_in_msw='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW
=no
'
13647 wx_cv_use_ps_in_msw='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW
=${'DEFAULT_wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW":-$defaultval}"
13652 eval "$wx_cv_use_ps_in_msw"
13654 if test x"$enablestring" = xdisable; then
13655 if test $wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW = yes; then
13661 result=$wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW
13664 { echo "$as_me:$LINENO: result
: $result" >&5
13665 echo "${ECHO_T}$result" >&6; }
13669 defaultval=$wxUSE_ALL_FEATURES
13670 if test -z "$defaultval"; then
13671 if test x"$enablestring" = xdisable; then
13678 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-ownerdrawn" >&5
13679 echo $ECHO_N "checking
for --${enablestring:-enable}-ownerdrawn...
$ECHO_C" >&6; }
13680 # Check whether --enable-ownerdrawn was given.
13681 if test "${enable_ownerdrawn+set}" = set; then
13682 enableval=$enable_ownerdrawn;
13683 if test "$enableval" = yes; then
13684 wx_cv_use_ownerdrawn='wxUSE_OWNER_DRAWN=yes'
13686 wx_cv_use_ownerdrawn='wxUSE_OWNER_DRAWN=no'
13691 wx_cv_use_ownerdrawn='wxUSE_OWNER_DRAWN=${'DEFAULT_wxUSE_OWNER_DRAWN":-$defaultval}"
13696 eval "$wx_cv_use_ownerdrawn"
13698 if test x
"$enablestring" = xdisable
; then
13699 if test $wxUSE_OWNER_DRAWN = yes; then
13705 result
=$wxUSE_OWNER_DRAWN
13708 { echo "$as_me:$LINENO: result: $result" >&5
13709 echo "${ECHO_T}$result" >&6; }
13713 defaultval
=$wxUSE_ALL_FEATURES
13714 if test -z "$defaultval"; then
13715 if test x
"$enablestring" = xdisable
; then
13722 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-uxtheme" >&5
13723 echo $ECHO_N "checking for --${enablestring:-enable}-uxtheme... $ECHO_C" >&6; }
13724 # Check whether --enable-uxtheme was given.
13725 if test "${enable_uxtheme+set}" = set; then
13726 enableval
=$enable_uxtheme;
13727 if test "$enableval" = yes; then
13728 wx_cv_use_uxtheme
='wxUSE_UXTHEME=yes'
13730 wx_cv_use_uxtheme
='wxUSE_UXTHEME=no'
13735 wx_cv_use_uxtheme
='wxUSE_UXTHEME=${'DEFAULT_wxUSE_UXTHEME":-$defaultval}"
13740 eval "$wx_cv_use_uxtheme"
13742 if test x"$enablestring" = xdisable; then
13743 if test $wxUSE_UXTHEME = yes; then
13749 result=$wxUSE_UXTHEME
13752 { echo "$as_me:$LINENO: result: $result" >&5
13753 echo "${ECHO_T}$result" >&6; }
13757 defaultval=$wxUSE_ALL_FEATURES
13758 if test -z "$defaultval"; then
13759 if test x"$enablestring" = xdisable; then
13766 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wxdib" >&5
13767 echo $ECHO_N "checking for --${enablestring:-enable}-wxdib... $ECHO_C" >&6; }
13768 # Check whether --enable-wxdib was given.
13769 if test "${enable_wxdib+set}" = set; then
13770 enableval=$enable_wxdib;
13771 if test "$enableval" = yes; then
13772 wx_cv_use_wxdib='wxUSE_DIB
=yes'
13774 wx_cv_use_wxdib='wxUSE_DIB
=no
'
13779 wx_cv_use_wxdib='wxUSE_DIB
=${'DEFAULT_wxUSE_DIB":-$defaultval}"
13784 eval "$wx_cv_use_wxdib"
13786 if test x"$enablestring" = xdisable; then
13787 if test $wxUSE_DIB = yes; then
13796 { echo "$as_me:$LINENO: result
: $result" >&5
13797 echo "${ECHO_T}$result" >&6; }
13800 if test "$wxUSE_MSW" != 1; then
13801 DEFAULT_wxUSE_AUTOID_MANAGEMENT=no
13806 defaultval=$wxUSE_ALL_FEATURES
13807 if test -z "$defaultval"; then
13808 if test x"$enablestring" = xdisable; then
13815 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-autoidman" >&5
13816 echo $ECHO_N "checking
for --${enablestring:-enable}-autoidman...
$ECHO_C" >&6; }
13817 # Check whether --enable-autoidman was given.
13818 if test "${enable_autoidman+set}" = set; then
13819 enableval=$enable_autoidman;
13820 if test "$enableval" = yes; then
13821 wx_cv_use_autoidman='wxUSE_AUTOID_MANAGEMENT=yes'
13823 wx_cv_use_autoidman='wxUSE_AUTOID_MANAGEMENT=no'
13828 wx_cv_use_autoidman='wxUSE_AUTOID_MANAGEMENT=${'DEFAULT_wxUSE_AUTOID_MANAGEMENT":-$defaultval}"
13833 eval "$wx_cv_use_autoidman"
13835 if test x
"$enablestring" = xdisable
; then
13836 if test $wxUSE_AUTOID_MANAGEMENT = yes; then
13842 result
=$wxUSE_AUTOID_MANAGEMENT
13845 { echo "$as_me:$LINENO: result: $result" >&5
13846 echo "${ECHO_T}$result" >&6; }
13852 cat >confcache
<<\_ACEOF
13853 # This file is a shell script that caches the results of configure
13854 # tests run on this system so they can be shared between configure
13855 # scripts and configure runs, see configure's option --config-cache.
13856 # It is not useful on other systems. If it contains results you don't
13857 # want to keep, you may remove or edit it.
13859 # config.status only pays attention to the cache file if you give it
13860 # the --recheck option to rerun configure.
13862 # `ac_cv_env_foo' variables (set or unset) will be overridden when
13863 # loading this file, other *unset* `ac_cv_foo' will be assigned the
13864 # following values.
13868 # The following way of writing the cache mishandles newlines in values,
13869 # but we know of no workaround that is simple, portable, and efficient.
13870 # So, we kill variables containing newlines.
13871 # Ultrix sh set writes to stderr and can't be redirected directly,
13872 # and sets the high bit in the cache file unless we assign to the vars.
13874 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
13875 eval ac_val
=\$
$ac_var
13879 *_cv_
*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
13880 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
13883 _
| IFS
| as_nl
) ;; #(
13884 *) $as_unset $ac_var ;;
13890 case $as_nl`(ac_space=' '; set) 2>&1` in #(
13891 *${as_nl}ac_space
=\
*)
13892 # `set' does not quote correctly, so add quotes (double-quote
13893 # substitution turns \\\\ into \\, and sed turns \\ into \).
13896 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
13899 # `set' quotes correctly as required by POSIX, so do not add quotes.
13900 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
13909 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
13911 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
13913 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
13914 if test -w "$cache_file"; then
13915 test "x$cache_file" != "x/dev/null" &&
13916 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
13917 echo "$as_me: updating cache $cache_file" >&6;}
13918 cat confcache
>$cache_file
13920 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
13921 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
13931 ac_cpp
='$CPP $CPPFLAGS'
13932 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13933 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13934 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13935 if test -n "$ac_tool_prefix"; then
13936 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
13937 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
13938 { echo "$as_me:$LINENO: checking for $ac_word" >&5
13939 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
13940 if test "${ac_cv_prog_CC+set}" = set; then
13941 echo $ECHO_N "(cached) $ECHO_C" >&6
13943 if test -n "$CC"; then
13944 ac_cv_prog_CC
="$CC" # Let the user override the test.
13946 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13947 for as_dir
in $PATH
13950 test -z "$as_dir" && as_dir
=.
13951 for ac_exec_ext
in '' $ac_executable_extensions; do
13952 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13953 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
13954 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13964 if test -n "$CC"; then
13965 { echo "$as_me:$LINENO: result: $CC" >&5
13966 echo "${ECHO_T}$CC" >&6; }
13968 { echo "$as_me:$LINENO: result: no" >&5
13969 echo "${ECHO_T}no" >&6; }
13974 if test -z "$ac_cv_prog_CC"; then
13976 # Extract the first word of "gcc", so it can be a program name with args.
13977 set dummy gcc
; ac_word
=$2
13978 { echo "$as_me:$LINENO: checking for $ac_word" >&5
13979 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
13980 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
13981 echo $ECHO_N "(cached) $ECHO_C" >&6
13983 if test -n "$ac_ct_CC"; then
13984 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
13986 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13987 for as_dir
in $PATH
13990 test -z "$as_dir" && as_dir
=.
13991 for ac_exec_ext
in '' $ac_executable_extensions; do
13992 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13993 ac_cv_prog_ac_ct_CC
="gcc"
13994 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14003 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
14004 if test -n "$ac_ct_CC"; then
14005 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
14006 echo "${ECHO_T}$ac_ct_CC" >&6; }
14008 { echo "$as_me:$LINENO: result: no" >&5
14009 echo "${ECHO_T}no" >&6; }
14012 if test "x$ac_ct_CC" = x
; then
14015 case $cross_compiling:$ac_tool_warned in
14017 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
14018 whose name does not start with the host triplet. If you think this
14019 configuration is useful to you, please write to autoconf@gnu.org." >&5
14020 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
14021 whose name does not start with the host triplet. If you think this
14022 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
14023 ac_tool_warned
=yes ;;
14028 CC
="$ac_cv_prog_CC"
14031 if test -z "$CC"; then
14032 if test -n "$ac_tool_prefix"; then
14033 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
14034 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
14035 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14036 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14037 if test "${ac_cv_prog_CC+set}" = set; then
14038 echo $ECHO_N "(cached) $ECHO_C" >&6
14040 if test -n "$CC"; then
14041 ac_cv_prog_CC
="$CC" # Let the user override the test.
14043 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14044 for as_dir
in $PATH
14047 test -z "$as_dir" && as_dir
=.
14048 for ac_exec_ext
in '' $ac_executable_extensions; do
14049 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14050 ac_cv_prog_CC
="${ac_tool_prefix}cc"
14051 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14061 if test -n "$CC"; then
14062 { echo "$as_me:$LINENO: result: $CC" >&5
14063 echo "${ECHO_T}$CC" >&6; }
14065 { echo "$as_me:$LINENO: result: no" >&5
14066 echo "${ECHO_T}no" >&6; }
14072 if test -z "$CC"; then
14073 # Extract the first word of "cc", so it can be a program name with args.
14074 set dummy cc
; ac_word
=$2
14075 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14076 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14077 if test "${ac_cv_prog_CC+set}" = set; then
14078 echo $ECHO_N "(cached) $ECHO_C" >&6
14080 if test -n "$CC"; then
14081 ac_cv_prog_CC
="$CC" # Let the user override the test.
14083 ac_prog_rejected
=no
14084 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14085 for as_dir
in $PATH
14088 test -z "$as_dir" && as_dir
=.
14089 for ac_exec_ext
in '' $ac_executable_extensions; do
14090 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14091 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
14092 ac_prog_rejected
=yes
14096 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14103 if test $ac_prog_rejected = yes; then
14104 # We found a bogon in the path, so make sure we never use it.
14105 set dummy
$ac_cv_prog_CC
14107 if test $# != 0; then
14108 # We chose a different compiler from the bogus one.
14109 # However, it has the same basename, so the bogon will be chosen
14110 # first if we set CC to just the basename; use the full file name.
14112 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
14118 if test -n "$CC"; then
14119 { echo "$as_me:$LINENO: result: $CC" >&5
14120 echo "${ECHO_T}$CC" >&6; }
14122 { echo "$as_me:$LINENO: result: no" >&5
14123 echo "${ECHO_T}no" >&6; }
14128 if test -z "$CC"; then
14129 if test -n "$ac_tool_prefix"; then
14130 for ac_prog
in cl.exe
14132 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
14133 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
14134 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14135 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14136 if test "${ac_cv_prog_CC+set}" = set; then
14137 echo $ECHO_N "(cached) $ECHO_C" >&6
14139 if test -n "$CC"; then
14140 ac_cv_prog_CC
="$CC" # Let the user override the test.
14142 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14143 for as_dir
in $PATH
14146 test -z "$as_dir" && as_dir
=.
14147 for ac_exec_ext
in '' $ac_executable_extensions; do
14148 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14149 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
14150 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14160 if test -n "$CC"; then
14161 { echo "$as_me:$LINENO: result: $CC" >&5
14162 echo "${ECHO_T}$CC" >&6; }
14164 { echo "$as_me:$LINENO: result: no" >&5
14165 echo "${ECHO_T}no" >&6; }
14169 test -n "$CC" && break
14172 if test -z "$CC"; then
14174 for ac_prog
in cl.exe
14176 # Extract the first word of "$ac_prog", so it can be a program name with args.
14177 set dummy
$ac_prog; ac_word
=$2
14178 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14179 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14180 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
14181 echo $ECHO_N "(cached) $ECHO_C" >&6
14183 if test -n "$ac_ct_CC"; then
14184 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
14186 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14187 for as_dir
in $PATH
14190 test -z "$as_dir" && as_dir
=.
14191 for ac_exec_ext
in '' $ac_executable_extensions; do
14192 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14193 ac_cv_prog_ac_ct_CC
="$ac_prog"
14194 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14203 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
14204 if test -n "$ac_ct_CC"; then
14205 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
14206 echo "${ECHO_T}$ac_ct_CC" >&6; }
14208 { echo "$as_me:$LINENO: result: no" >&5
14209 echo "${ECHO_T}no" >&6; }
14213 test -n "$ac_ct_CC" && break
14216 if test "x$ac_ct_CC" = x
; then
14219 case $cross_compiling:$ac_tool_warned in
14221 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
14222 whose name does not start with the host triplet. If you think this
14223 configuration is useful to you, please write to autoconf@gnu.org." >&5
14224 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
14225 whose name does not start with the host triplet. If you think this
14226 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
14227 ac_tool_warned
=yes ;;
14236 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
14237 See \`config.log' for more details." >&5
14238 echo "$as_me: error: no acceptable C compiler found in \$PATH
14239 See \`config.log' for more details." >&2;}
14240 { (exit 1); exit 1; }; }
14242 # Provide some information about the compiler.
14243 echo "$as_me:$LINENO: checking for C compiler version" >&5
14244 ac_compiler
=`set X $ac_compile; echo $2`
14245 { (ac_try
="$ac_compiler --version >&5"
14246 case "(($ac_try" in
14247 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
14248 *) ac_try_echo=$ac_try;;
14250 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14251 (eval "$ac_compiler --version >&5") 2>&5
14253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14254 (exit $ac_status); }
14255 { (ac_try="$ac_compiler -v >&5"
14256 case "(($ac_try" in
14257 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
14258 *) ac_try_echo
=$ac_try;;
14260 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14261 (eval "$ac_compiler -v >&5") 2>&5
14263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14264 (exit $ac_status); }
14265 { (ac_try
="$ac_compiler -V >&5"
14266 case "(($ac_try" in
14267 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
14268 *) ac_try_echo=$ac_try;;
14270 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14271 (eval "$ac_compiler -V >&5") 2>&5
14273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14274 (exit $ac_status); }
14276 cat >conftest.$ac_ext <<_ACEOF
14279 cat confdefs.h >>conftest.$ac_ext
14280 cat >>conftest.$ac_ext <<_ACEOF
14281 /* end confdefs.h. */
14291 ac_clean_files_save=$ac_clean_files
14292 ac_clean_files="$ac_clean_files a.out a.exe b.out"
14293 # Try to create an executable without -o first, disregard a.out.
14294 # It will help us diagnose broken compilers, and finding out an intuition
14296 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
14297 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
14298 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
14300 # List of possible output files, starting from the most likely.
14301 # The algorithm is not robust to junk in `.
', hence go to wildcards (a.*)
14302 # only as a last resort. b.out is created by i960 compilers.
14303 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.
* conftest.
* b.out
'
14305 # The IRIX 6 linker writes into existing files which may not be
14306 # executable, retaining their permissions. Remove them first so a
14307 # subsequent execution test works.
14309 for ac_file in $ac_files
14312 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
14313 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
14318 if { (ac_try="$ac_link_default"
14319 case "(($ac_try" in
14320 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14321 *) ac_try_echo=$ac_try;;
14323 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14324 (eval "$ac_link_default") 2>&5
14326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14327 (exit $ac_status); }; then
14328 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
14329 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
14330 # in a Makefile. We should not override ac_cv_exeext if it was cached,
14331 # so that the user can short-circuit this test for compilers unknown to
14333 for ac_file
in $ac_files ''
14335 test -f "$ac_file" || continue
14337 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.map
| *.inf
| *.o
| *.obj
)
14340 # We found the default executable, but exeext='' is most
14344 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
14346 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
14348 # We set ac_cv_exeext here because the later test for it is not
14349 # safe: cross compilers may not add the suffix if given an `-o'
14350 # argument, so we may need to know it at that point already.
14351 # Even if this section looks crufty: it has the advantage of
14352 # actually working.
14358 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
14364 { echo "$as_me:$LINENO: result: $ac_file" >&5
14365 echo "${ECHO_T}$ac_file" >&6; }
14366 if test -z "$ac_file"; then
14367 echo "$as_me: failed program was:" >&5
14368 sed 's/^/| /' conftest.
$ac_ext >&5
14370 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
14371 See \`config.log' for more details." >&5
14372 echo "$as_me: error: C compiler cannot create executables
14373 See \`config.log' for more details." >&2;}
14374 { (exit 77); exit 77; }; }
14377 ac_exeext
=$ac_cv_exeext
14379 # Check that the compiler produces executables we can run. If not, either
14380 # the compiler is broken, or we cross compile.
14381 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
14382 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
14383 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
14384 # If not cross compiling, check that we can run a simple program.
14385 if test "$cross_compiling" != yes; then
14386 if { ac_try
='./$ac_file'
14387 { (case "(($ac_try" in
14388 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
14389 *) ac_try_echo=$ac_try;;
14391 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14392 (eval "$ac_try") 2>&5
14394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14395 (exit $ac_status); }; }; then
14398 if test "$cross_compiling" = maybe; then
14399 cross_compiling=yes
14401 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
14402 If you meant to cross compile, use \`--host'.
14403 See \`config.log' for more details.
" >&5
14404 echo "$as_me: error
: cannot run C compiled programs.
14405 If you meant to cross compile
, use \
`--host'.
14406 See \`config.log
' for more details." >&2;}
14407 { (exit 1); exit 1; }; }
14411 { echo "$as_me:$LINENO: result: yes" >&5
14412 echo "${ECHO_T}yes" >&6; }
14414 rm -f a.out a.exe conftest$ac_cv_exeext b.out
14415 ac_clean_files=$ac_clean_files_save
14416 # Check that the compiler produces executables we can run. If not, either
14417 # the compiler is broken, or we cross compile.
14418 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
14419 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
14420 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
14421 echo "${ECHO_T}$cross_compiling" >&6; }
14423 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
14424 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
14425 if { (ac_try="$ac_link"
14426 case "(($ac_try" in
14427 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14428 *) ac_try_echo=$ac_try;;
14430 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14431 (eval "$ac_link") 2>&5
14433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14434 (exit $ac_status); }; then
14435 # If both `conftest.exe' and
`conftest' are `present
' (well, observable)
14436 # catch `conftest.exe'. For instance with Cygwin
, `ls conftest' will
14437 # work properly (i.e., refer to `conftest.exe
'), while it won't with
14439 for ac_file
in conftest.exe conftest conftest.
*; do
14440 test -f "$ac_file" || continue
14442 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.map
| *.inf
| *.o
| *.obj
) ;;
14443 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
14449 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
14450 See \`config.log' for more details." >&5
14451 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
14452 See \`config.log' for more details." >&2;}
14453 { (exit 1); exit 1; }; }
14456 rm -f conftest
$ac_cv_exeext
14457 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
14458 echo "${ECHO_T}$ac_cv_exeext" >&6; }
14460 rm -f conftest.
$ac_ext
14461 EXEEXT
=$ac_cv_exeext
14463 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
14464 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
14465 if test "${ac_cv_objext+set}" = set; then
14466 echo $ECHO_N "(cached) $ECHO_C" >&6
14468 cat >conftest.
$ac_ext <<_ACEOF
14471 cat confdefs.h
>>conftest.
$ac_ext
14472 cat >>conftest.
$ac_ext <<_ACEOF
14473 /* end confdefs.h. */
14483 rm -f conftest.o conftest.obj
14484 if { (ac_try
="$ac_compile"
14485 case "(($ac_try" in
14486 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
14487 *) ac_try_echo=$ac_try;;
14489 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14490 (eval "$ac_compile") 2>&5
14492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14493 (exit $ac_status); }; then
14494 for ac_file in conftest.o conftest.obj conftest.*; do
14495 test -f "$ac_file" || continue;
14497 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
14498 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
14503 echo "$as_me: failed program was:" >&5
14504 sed 's/^/| /' conftest.$ac_ext >&5
14506 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
14507 See \`config.log
' for more details." >&5
14508 echo "$as_me: error: cannot compute suffix of object files: cannot compile
14509 See \`config.log' for more details.
" >&2;}
14510 { (exit 1); exit 1; }; }
14513 rm -f conftest.$ac_cv_objext conftest.$ac_ext
14515 { echo "$as_me:$LINENO: result
: $ac_cv_objext" >&5
14516 echo "${ECHO_T}$ac_cv_objext" >&6; }
14517 OBJEXT=$ac_cv_objext
14519 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler
" >&5
14520 echo $ECHO_N "checking whether we are using the GNU C compiler...
$ECHO_C" >&6; }
14521 if test "${ac_cv_c_compiler_gnu+set}" = set; then
14522 echo $ECHO_N "(cached
) $ECHO_C" >&6
14524 cat >conftest.$ac_ext <<_ACEOF
14527 cat confdefs.h >>conftest.$ac_ext
14528 cat >>conftest.$ac_ext <<_ACEOF
14529 /* end confdefs.h. */
14542 rm -f conftest.$ac_objext
14543 if { (ac_try="$ac_compile"
14544 case "(($ac_try" in
14545 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14546 *) ac_try_echo=$ac_try;;
14548 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
14549 (eval "$ac_compile") 2>conftest.er1
14551 grep -v '^ *+' conftest.er1 >conftest.err
14553 cat conftest.err >&5
14554 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
14555 (exit $ac_status); } && {
14556 test -z "$ac_c_werror_flag" ||
14557 test ! -s conftest.err
14558 } && test -s conftest.$ac_objext; then
14559 ac_compiler_gnu=yes
14561 echo "$as_me: failed program was
:" >&5
14562 sed 's/^/| /' conftest.$ac_ext >&5
14567 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14568 ac_cv_c_compiler_gnu=$ac_compiler_gnu
14571 { echo "$as_me:$LINENO: result
: $ac_cv_c_compiler_gnu" >&5
14572 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
14573 GCC=`test $ac_compiler_gnu = yes && echo yes`
14574 ac_test_CFLAGS=${CFLAGS+set}
14575 ac_save_CFLAGS=$CFLAGS
14576 { echo "$as_me:$LINENO: checking whether
$CC accepts
-g" >&5
14577 echo $ECHO_N "checking whether
$CC accepts
-g...
$ECHO_C" >&6; }
14578 if test "${ac_cv_prog_cc_g+set}" = set; then
14579 echo $ECHO_N "(cached
) $ECHO_C" >&6
14581 ac_save_c_werror_flag=$ac_c_werror_flag
14582 ac_c_werror_flag=yes
14585 cat >conftest.$ac_ext <<_ACEOF
14588 cat confdefs.h >>conftest.$ac_ext
14589 cat >>conftest.$ac_ext <<_ACEOF
14590 /* end confdefs.h. */
14600 rm -f conftest.$ac_objext
14601 if { (ac_try="$ac_compile"
14602 case "(($ac_try" in
14603 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14604 *) ac_try_echo=$ac_try;;
14606 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
14607 (eval "$ac_compile") 2>conftest.er1
14609 grep -v '^ *+' conftest.er1 >conftest.err
14611 cat conftest.err >&5
14612 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
14613 (exit $ac_status); } && {
14614 test -z "$ac_c_werror_flag" ||
14615 test ! -s conftest.err
14616 } && test -s conftest.$ac_objext; then
14617 ac_cv_prog_cc_g=yes
14619 echo "$as_me: failed program was
:" >&5
14620 sed 's/^/| /' conftest.$ac_ext >&5
14623 cat >conftest.$ac_ext <<_ACEOF
14626 cat confdefs.h >>conftest.$ac_ext
14627 cat >>conftest.$ac_ext <<_ACEOF
14628 /* end confdefs.h. */
14638 rm -f conftest.$ac_objext
14639 if { (ac_try="$ac_compile"
14640 case "(($ac_try" in
14641 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14642 *) ac_try_echo=$ac_try;;
14644 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
14645 (eval "$ac_compile") 2>conftest.er1
14647 grep -v '^ *+' conftest.er1 >conftest.err
14649 cat conftest.err >&5
14650 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
14651 (exit $ac_status); } && {
14652 test -z "$ac_c_werror_flag" ||
14653 test ! -s conftest.err
14654 } && test -s conftest.$ac_objext; then
14657 echo "$as_me: failed program was
:" >&5
14658 sed 's/^/| /' conftest.$ac_ext >&5
14660 ac_c_werror_flag=$ac_save_c_werror_flag
14662 cat >conftest.$ac_ext <<_ACEOF
14665 cat confdefs.h >>conftest.$ac_ext
14666 cat >>conftest.$ac_ext <<_ACEOF
14667 /* end confdefs.h. */
14677 rm -f conftest.$ac_objext
14678 if { (ac_try="$ac_compile"
14679 case "(($ac_try" in
14680 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14681 *) ac_try_echo=$ac_try;;
14683 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
14684 (eval "$ac_compile") 2>conftest.er1
14686 grep -v '^ *+' conftest.er1 >conftest.err
14688 cat conftest.err >&5
14689 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
14690 (exit $ac_status); } && {
14691 test -z "$ac_c_werror_flag" ||
14692 test ! -s conftest.err
14693 } && test -s conftest.$ac_objext; then
14694 ac_cv_prog_cc_g=yes
14696 echo "$as_me: failed program was
:" >&5
14697 sed 's/^/| /' conftest.$ac_ext >&5
14702 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14705 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14708 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14709 ac_c_werror_flag=$ac_save_c_werror_flag
14711 { echo "$as_me:$LINENO: result
: $ac_cv_prog_cc_g" >&5
14712 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
14713 if test "$ac_test_CFLAGS" = set; then
14714 CFLAGS=$ac_save_CFLAGS
14715 elif test $ac_cv_prog_cc_g = yes; then
14716 if test "$GCC" = yes; then
14722 if test "$GCC" = yes; then
14728 { echo "$as_me:$LINENO: checking
for $CC option to accept ISO C89
" >&5
14729 echo $ECHO_N "checking
for $CC option to accept ISO C89...
$ECHO_C" >&6; }
14730 if test "${ac_cv_prog_cc_c89+set}" = set; then
14731 echo $ECHO_N "(cached
) $ECHO_C" >&6
14733 ac_cv_prog_cc_c89=no
14735 cat >conftest.$ac_ext <<_ACEOF
14738 cat confdefs.h >>conftest.$ac_ext
14739 cat >>conftest.$ac_ext <<_ACEOF
14740 /* end confdefs.h. */
14741 #include <stdarg.h>
14743 #include <sys/types.h>
14744 #include <sys/stat.h>
14745 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
14746 struct buf { int x; };
14747 FILE * (*rcsopen) (struct buf *, struct stat *, int);
14748 static char *e (p, i)
14754 static char *f (char * (*g) (char **, int), char **p, ...)
14759 s = g (p, va_arg (v,int));
14764 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
14765 function prototypes and stuff, but not '\xHH' hex character constants.
14766 These don't provoke an error unfortunately, instead are silently treated
14767 as 'x'. The following induces an error, until -std is added to get
14768 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
14769 array size at least. It's necessary to write '\x00'==0 to get something
14770 that's true only with -std. */
14771 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
14773 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
14774 inside strings and character constants. */
14776 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
14778 int test (int i, double x);
14779 struct s1 {int (*f) (int a);};
14780 struct s2 {int (*f) (double a);};
14781 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
14787 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
14792 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
14793 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
14795 CC="$ac_save_CC $ac_arg"
14796 rm -f conftest.$ac_objext
14797 if { (ac_try="$ac_compile"
14798 case "(($ac_try" in
14799 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14800 *) ac_try_echo=$ac_try;;
14802 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
14803 (eval "$ac_compile") 2>conftest.er1
14805 grep -v '^ *+' conftest.er1 >conftest.err
14807 cat conftest.err >&5
14808 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
14809 (exit $ac_status); } && {
14810 test -z "$ac_c_werror_flag" ||
14811 test ! -s conftest.err
14812 } && test -s conftest.$ac_objext; then
14813 ac_cv_prog_cc_c89=$ac_arg
14815 echo "$as_me: failed program was
:" >&5
14816 sed 's/^/| /' conftest.$ac_ext >&5
14821 rm -f core conftest.err conftest.$ac_objext
14822 test "x
$ac_cv_prog_cc_c89" != "xno
" && break
14824 rm -f conftest.$ac_ext
14829 case "x
$ac_cv_prog_cc_c89" in
14831 { echo "$as_me:$LINENO: result
: none needed
" >&5
14832 echo "${ECHO_T}none needed
" >&6; } ;;
14834 { echo "$as_me:$LINENO: result
: unsupported
" >&5
14835 echo "${ECHO_T}unsupported
" >&6; } ;;
14837 CC="$CC $ac_cv_prog_cc_c89"
14838 { echo "$as_me:$LINENO: result
: $ac_cv_prog_cc_c89" >&5
14839 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
14844 ac_cpp='$CPP $CPPFLAGS'
14845 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14846 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14847 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14853 ac_cpp='$CPP $CPPFLAGS'
14854 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14855 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14856 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14858 { echo "$as_me:$LINENO: checking whether we are using the Intel C compiler
" >&5
14859 echo $ECHO_N "checking whether we are using the Intel C compiler...
$ECHO_C" >&6; }
14860 if test "${bakefile_cv_c_compiler___INTEL_COMPILER+set}" = set; then
14861 echo $ECHO_N "(cached
) $ECHO_C" >&6
14863 cat >conftest.$ac_ext <<_ACEOF
14866 cat confdefs.h >>conftest.$ac_ext
14867 cat >>conftest.$ac_ext <<_ACEOF
14868 /* end confdefs.h. */
14874 #ifndef __INTEL_COMPILER
14882 rm -f conftest.$ac_objext
14883 if { (ac_try="$ac_compile"
14884 case "(($ac_try" in
14885 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14886 *) ac_try_echo=$ac_try;;
14888 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
14889 (eval "$ac_compile") 2>conftest.er1
14891 grep -v '^ *+' conftest.er1 >conftest.err
14893 cat conftest.err >&5
14894 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
14895 (exit $ac_status); } && {
14896 test -z "$ac_c_werror_flag" ||
14897 test ! -s conftest.err
14898 } && test -s conftest.$ac_objext; then
14899 bakefile_cv_c_compiler___INTEL_COMPILER=yes
14901 echo "$as_me: failed program was
:" >&5
14902 sed 's/^/| /' conftest.$ac_ext >&5
14904 bakefile_cv_c_compiler___INTEL_COMPILER=no
14908 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14912 { echo "$as_me:$LINENO: result
: $bakefile_cv_c_compiler___INTEL_COMPILER" >&5
14913 echo "${ECHO_T}$bakefile_cv_c_compiler___INTEL_COMPILER" >&6; }
14914 if test "x
$bakefile_cv_c_compiler___INTEL_COMPILER" = "xyes
"; then
14920 ac_cpp='$CPP $CPPFLAGS'
14921 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14922 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14923 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14928 if test "x
$GCC" != "xyes
"; then
14929 if test "xCC
" = "xC
"; then
14930 { echo "$as_me:$LINENO: checking
if the C compiler requires
-ext o
" >&5
14931 echo $ECHO_N "checking
if the C compiler requires
-ext o...
$ECHO_C" >&6; }
14932 if test "${bakefile_cv_c_exto+set}" = set; then
14933 echo $ECHO_N "(cached
) $ECHO_C" >&6
14935 cat >conftest.$ac_ext <<_ACEOF
14938 cat confdefs.h >>conftest.$ac_ext
14939 cat >>conftest.$ac_ext <<_ACEOF
14940 /* end confdefs.h. */
14950 rm -f conftest.$ac_objext conftest.$ac_ext.o
14951 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14952 (eval $ac_compile) 2>&5
14954 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
14955 (exit $ac_status); }; then
14956 for ac_file in `(ls conftest.* 2>/dev/null)`; do
14958 conftest.$ac_ext.o)
14959 bakefile_cv_c_exto="-ext o
"
14966 { { echo "$as_me:$LINENO: error
: cannot figure out
if compiler needs
-ext o
: cannot compile
14967 See \
`config.log' for more details." >&5
14968 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
14969 See \`config.log
' for more details." >&2;}
14970 { (exit 1); exit 1; }; }
14974 rm -f conftest.$ac_ext.o conftest.$ac_objext conftest.$ac_ext
14977 { echo "$as_me:$LINENO: result: $bakefile_cv_c_exto" >&5
14978 echo "${ECHO_T}$bakefile_cv_c_exto" >&6; }
14979 if test "x$bakefile_cv_c_exto" '!=' "x"; then
14980 if test "c" = "c"; then
14981 CFLAGS="$bakefile_cv_c_exto $CFLAGS"
14983 if test "c" = "cxx"; then
14984 CXXFLAGS="$bakefile_cv_c_exto $CXXFLAGS"
14988 if test "x$bakefile_cv_c_exto" '!=' "x"; then
14989 unset ac_cv_prog_cc_g
14990 ac_test_CFLAGS=${CFLAGS+set}
14991 ac_save_CFLAGS=$CFLAGS
14992 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
14993 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
14994 if test "${ac_cv_prog_cc_g+set}" = set; then
14995 echo $ECHO_N "(cached) $ECHO_C" >&6
14997 ac_save_c_werror_flag=$ac_c_werror_flag
14998 ac_c_werror_flag=yes
15001 cat >conftest.$ac_ext <<_ACEOF
15004 cat confdefs.h >>conftest.$ac_ext
15005 cat >>conftest.$ac_ext <<_ACEOF
15006 /* end confdefs.h. */
15016 rm -f conftest.$ac_objext
15017 if { (ac_try="$ac_compile"
15018 case "(($ac_try" in
15019 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15020 *) ac_try_echo=$ac_try;;
15022 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15023 (eval "$ac_compile") 2>conftest.er1
15025 grep -v '^
*+' conftest.er1 >conftest.err
15027 cat conftest.err >&5
15028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15029 (exit $ac_status); } && {
15030 test -z "$ac_c_werror_flag" ||
15031 test ! -s conftest.err
15032 } && test -s conftest.$ac_objext; then
15033 ac_cv_prog_cc_g=yes
15035 echo "$as_me: failed program was:" >&5
15036 sed 's
/^
/| /' conftest.$ac_ext >&5
15039 cat >conftest.$ac_ext <<_ACEOF
15042 cat confdefs.h >>conftest.$ac_ext
15043 cat >>conftest.$ac_ext <<_ACEOF
15044 /* end confdefs.h. */
15054 rm -f conftest.$ac_objext
15055 if { (ac_try="$ac_compile"
15056 case "(($ac_try" in
15057 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15058 *) ac_try_echo=$ac_try;;
15060 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15061 (eval "$ac_compile") 2>conftest.er1
15063 grep -v '^
*+' conftest.er1 >conftest.err
15065 cat conftest.err >&5
15066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15067 (exit $ac_status); } && {
15068 test -z "$ac_c_werror_flag" ||
15069 test ! -s conftest.err
15070 } && test -s conftest.$ac_objext; then
15073 echo "$as_me: failed program was:" >&5
15074 sed 's
/^
/| /' conftest.$ac_ext >&5
15076 ac_c_werror_flag=$ac_save_c_werror_flag
15078 cat >conftest.$ac_ext <<_ACEOF
15081 cat confdefs.h >>conftest.$ac_ext
15082 cat >>conftest.$ac_ext <<_ACEOF
15083 /* end confdefs.h. */
15093 rm -f conftest.$ac_objext
15094 if { (ac_try="$ac_compile"
15095 case "(($ac_try" in
15096 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15097 *) ac_try_echo=$ac_try;;
15099 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15100 (eval "$ac_compile") 2>conftest.er1
15102 grep -v '^
*+' conftest.er1 >conftest.err
15104 cat conftest.err >&5
15105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15106 (exit $ac_status); } && {
15107 test -z "$ac_c_werror_flag" ||
15108 test ! -s conftest.err
15109 } && test -s conftest.$ac_objext; then
15110 ac_cv_prog_cc_g=yes
15112 echo "$as_me: failed program was:" >&5
15113 sed 's
/^
/| /' conftest.$ac_ext >&5
15118 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15121 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15124 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15125 ac_c_werror_flag=$ac_save_c_werror_flag
15127 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
15128 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
15129 if test "$ac_test_CFLAGS" = set; then
15130 CFLAGS=$ac_save_CFLAGS
15131 elif test $ac_cv_prog_cc_g = yes; then
15132 if test "$GCC" = yes; then
15138 if test "$GCC" = yes; then
15152 ac_cpp='$CPP $CPPFLAGS'
15153 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
15154 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
15155 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15157 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
15158 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6; }
15159 if test "${bakefile_cv_c_compiler___xlC__+set}" = set; then
15160 echo $ECHO_N "(cached) $ECHO_C" >&6
15162 cat >conftest.$ac_ext <<_ACEOF
15165 cat confdefs.h >>conftest.$ac_ext
15166 cat >>conftest.$ac_ext <<_ACEOF
15167 /* end confdefs.h. */
15181 rm -f conftest.$ac_objext
15182 if { (ac_try="$ac_compile"
15183 case "(($ac_try" in
15184 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15185 *) ac_try_echo=$ac_try;;
15187 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15188 (eval "$ac_compile") 2>conftest.er1
15190 grep -v '^
*+' conftest.er1 >conftest.err
15192 cat conftest.err >&5
15193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15194 (exit $ac_status); } && {
15195 test -z "$ac_c_werror_flag" ||
15196 test ! -s conftest.err
15197 } && test -s conftest.$ac_objext; then
15198 bakefile_cv_c_compiler___xlC__=yes
15200 echo "$as_me: failed program was:" >&5
15201 sed 's
/^
/| /' conftest.$ac_ext >&5
15203 bakefile_cv_c_compiler___xlC__=no
15207 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15211 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___xlC__" >&5
15212 echo "${ECHO_T}$bakefile_cv_c_compiler___xlC__" >&6; }
15213 if test "x$bakefile_cv_c_compiler___xlC__" = "xyes"; then
15219 ac_cpp='$CPP $CPPFLAGS'
15220 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
15221 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
15222 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15232 ac_cpp='$CPP $CPPFLAGS'
15233 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
15234 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
15235 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15237 { echo "$as_me:$LINENO: checking whether we are using the Metrowerks C compiler" >&5
15238 echo $ECHO_N "checking whether we are using the Metrowerks C compiler... $ECHO_C" >&6; }
15239 if test "${bakefile_cv_c_compiler___MWERKS__+set}" = set; then
15240 echo $ECHO_N "(cached) $ECHO_C" >&6
15242 cat >conftest.$ac_ext <<_ACEOF
15245 cat confdefs.h >>conftest.$ac_ext
15246 cat >>conftest.$ac_ext <<_ACEOF
15247 /* end confdefs.h. */
15261 rm -f conftest.$ac_objext
15262 if { (ac_try="$ac_compile"
15263 case "(($ac_try" in
15264 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15265 *) ac_try_echo=$ac_try;;
15267 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15268 (eval "$ac_compile") 2>conftest.er1
15270 grep -v '^
*+' conftest.er1 >conftest.err
15272 cat conftest.err >&5
15273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15274 (exit $ac_status); } && {
15275 test -z "$ac_c_werror_flag" ||
15276 test ! -s conftest.err
15277 } && test -s conftest.$ac_objext; then
15278 bakefile_cv_c_compiler___MWERKS__=yes
15280 echo "$as_me: failed program was:" >&5
15281 sed 's
/^
/| /' conftest.$ac_ext >&5
15283 bakefile_cv_c_compiler___MWERKS__=no
15287 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15291 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___MWERKS__" >&5
15292 echo "${ECHO_T}$bakefile_cv_c_compiler___MWERKS__" >&6; }
15293 if test "x$bakefile_cv_c_compiler___MWERKS__" = "xyes"; then
15299 ac_cpp='$CPP $CPPFLAGS'
15300 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
15301 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
15302 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15309 ac_cpp='$CPP $CPPFLAGS'
15310 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
15311 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
15312 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15314 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
15315 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6; }
15316 if test "${bakefile_cv_c_compiler___xlC__+set}" = set; then
15317 echo $ECHO_N "(cached) $ECHO_C" >&6
15319 cat >conftest.$ac_ext <<_ACEOF
15322 cat confdefs.h >>conftest.$ac_ext
15323 cat >>conftest.$ac_ext <<_ACEOF
15324 /* end confdefs.h. */
15338 rm -f conftest.$ac_objext
15339 if { (ac_try="$ac_compile"
15340 case "(($ac_try" in
15341 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15342 *) ac_try_echo=$ac_try;;
15344 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15345 (eval "$ac_compile") 2>conftest.er1
15347 grep -v '^
*+' conftest.er1 >conftest.err
15349 cat conftest.err >&5
15350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15351 (exit $ac_status); } && {
15352 test -z "$ac_c_werror_flag" ||
15353 test ! -s conftest.err
15354 } && test -s conftest.$ac_objext; then
15355 bakefile_cv_c_compiler___xlC__=yes
15357 echo "$as_me: failed program was:" >&5
15358 sed 's
/^
/| /' conftest.$ac_ext >&5
15360 bakefile_cv_c_compiler___xlC__=no
15364 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15368 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___xlC__" >&5
15369 echo "${ECHO_T}$bakefile_cv_c_compiler___xlC__" >&6; }
15370 if test "x$bakefile_cv_c_compiler___xlC__" = "xyes"; then
15376 ac_cpp='$CPP $CPPFLAGS'
15377 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
15378 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
15379 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15389 ac_cpp='$CPP $CPPFLAGS'
15390 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
15391 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
15392 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15394 { echo "$as_me:$LINENO: checking whether we are using the SGI C compiler" >&5
15395 echo $ECHO_N "checking whether we are using the SGI C compiler... $ECHO_C" >&6; }
15396 if test "${bakefile_cv_c_compiler__SGI_COMPILER_VERSION+set}" = set; then
15397 echo $ECHO_N "(cached) $ECHO_C" >&6
15399 cat >conftest.$ac_ext <<_ACEOF
15402 cat confdefs.h >>conftest.$ac_ext
15403 cat >>conftest.$ac_ext <<_ACEOF
15404 /* end confdefs.h. */
15410 #ifndef _SGI_COMPILER_VERSION
15418 rm -f conftest.$ac_objext
15419 if { (ac_try="$ac_compile"
15420 case "(($ac_try" in
15421 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15422 *) ac_try_echo=$ac_try;;
15424 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15425 (eval "$ac_compile") 2>conftest.er1
15427 grep -v '^
*+' conftest.er1 >conftest.err
15429 cat conftest.err >&5
15430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15431 (exit $ac_status); } && {
15432 test -z "$ac_c_werror_flag" ||
15433 test ! -s conftest.err
15434 } && test -s conftest.$ac_objext; then
15435 bakefile_cv_c_compiler__SGI_COMPILER_VERSION=yes
15437 echo "$as_me: failed program was:" >&5
15438 sed 's
/^
/| /' conftest.$ac_ext >&5
15440 bakefile_cv_c_compiler__SGI_COMPILER_VERSION=no
15444 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15448 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&5
15449 echo "${ECHO_T}$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&6; }
15450 if test "x$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" = "xyes"; then
15456 ac_cpp='$CPP $CPPFLAGS'
15457 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
15458 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
15459 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15469 ac_cpp='$CPP $CPPFLAGS'
15470 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
15471 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
15472 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15474 { echo "$as_me:$LINENO: checking whether we are using the Sun C compiler" >&5
15475 echo $ECHO_N "checking whether we are using the Sun C compiler... $ECHO_C" >&6; }
15476 if test "${bakefile_cv_c_compiler___SUNPRO_C+set}" = set; then
15477 echo $ECHO_N "(cached) $ECHO_C" >&6
15479 cat >conftest.$ac_ext <<_ACEOF
15482 cat confdefs.h >>conftest.$ac_ext
15483 cat >>conftest.$ac_ext <<_ACEOF
15484 /* end confdefs.h. */
15498 rm -f conftest.$ac_objext
15499 if { (ac_try="$ac_compile"
15500 case "(($ac_try" in
15501 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15502 *) ac_try_echo=$ac_try;;
15504 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15505 (eval "$ac_compile") 2>conftest.er1
15507 grep -v '^
*+' conftest.er1 >conftest.err
15509 cat conftest.err >&5
15510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15511 (exit $ac_status); } && {
15512 test -z "$ac_c_werror_flag" ||
15513 test ! -s conftest.err
15514 } && test -s conftest.$ac_objext; then
15515 bakefile_cv_c_compiler___SUNPRO_C=yes
15517 echo "$as_me: failed program was:" >&5
15518 sed 's
/^
/| /' conftest.$ac_ext >&5
15520 bakefile_cv_c_compiler___SUNPRO_C=no
15524 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15528 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
15529 echo "${ECHO_T}$bakefile_cv_c_compiler___SUNPRO_C" >&6; }
15530 if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
15536 ac_cpp='$CPP $CPPFLAGS'
15537 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
15538 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
15539 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15549 ac_cpp='$CPP $CPPFLAGS'
15550 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
15551 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
15552 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15554 { echo "$as_me:$LINENO: checking whether we are using the HP C compiler" >&5
15555 echo $ECHO_N "checking whether we are using the HP C compiler... $ECHO_C" >&6; }
15556 if test "${bakefile_cv_c_compiler___HP_cc+set}" = set; then
15557 echo $ECHO_N "(cached) $ECHO_C" >&6
15559 cat >conftest.$ac_ext <<_ACEOF
15562 cat confdefs.h >>conftest.$ac_ext
15563 cat >>conftest.$ac_ext <<_ACEOF
15564 /* end confdefs.h. */
15578 rm -f conftest.$ac_objext
15579 if { (ac_try="$ac_compile"
15580 case "(($ac_try" in
15581 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15582 *) ac_try_echo=$ac_try;;
15584 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15585 (eval "$ac_compile") 2>conftest.er1
15587 grep -v '^
*+' conftest.er1 >conftest.err
15589 cat conftest.err >&5
15590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15591 (exit $ac_status); } && {
15592 test -z "$ac_c_werror_flag" ||
15593 test ! -s conftest.err
15594 } && test -s conftest.$ac_objext; then
15595 bakefile_cv_c_compiler___HP_cc=yes
15597 echo "$as_me: failed program was:" >&5
15598 sed 's
/^
/| /' conftest.$ac_ext >&5
15600 bakefile_cv_c_compiler___HP_cc=no
15604 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15608 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___HP_cc" >&5
15609 echo "${ECHO_T}$bakefile_cv_c_compiler___HP_cc" >&6; }
15610 if test "x$bakefile_cv_c_compiler___HP_cc" = "xyes"; then
15616 ac_cpp='$CPP $CPPFLAGS'
15617 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
15618 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
15619 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15629 ac_cpp='$CPP $CPPFLAGS'
15630 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
15631 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
15632 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15634 { echo "$as_me:$LINENO: checking whether we are using the Compaq C compiler" >&5
15635 echo $ECHO_N "checking whether we are using the Compaq C compiler... $ECHO_C" >&6; }
15636 if test "${bakefile_cv_c_compiler___DECC+set}" = set; then
15637 echo $ECHO_N "(cached) $ECHO_C" >&6
15639 cat >conftest.$ac_ext <<_ACEOF
15642 cat confdefs.h >>conftest.$ac_ext
15643 cat >>conftest.$ac_ext <<_ACEOF
15644 /* end confdefs.h. */
15658 rm -f conftest.$ac_objext
15659 if { (ac_try="$ac_compile"
15660 case "(($ac_try" in
15661 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15662 *) ac_try_echo=$ac_try;;
15664 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15665 (eval "$ac_compile") 2>conftest.er1
15667 grep -v '^
*+' conftest.er1 >conftest.err
15669 cat conftest.err >&5
15670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15671 (exit $ac_status); } && {
15672 test -z "$ac_c_werror_flag" ||
15673 test ! -s conftest.err
15674 } && test -s conftest.$ac_objext; then
15675 bakefile_cv_c_compiler___DECC=yes
15677 echo "$as_me: failed program was:" >&5
15678 sed 's
/^
/| /' conftest.$ac_ext >&5
15680 bakefile_cv_c_compiler___DECC=no
15684 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15688 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___DECC" >&5
15689 echo "${ECHO_T}$bakefile_cv_c_compiler___DECC" >&6; }
15690 if test "x$bakefile_cv_c_compiler___DECC" = "xyes"; then
15696 ac_cpp='$CPP $CPPFLAGS'
15697 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
15698 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
15699 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15709 ac_cpp='$CPP $CPPFLAGS'
15710 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
15711 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
15712 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15714 { echo "$as_me:$LINENO: checking whether we are using the Sun C compiler" >&5
15715 echo $ECHO_N "checking whether we are using the Sun C compiler... $ECHO_C" >&6; }
15716 if test "${bakefile_cv_c_compiler___SUNPRO_C+set}" = set; then
15717 echo $ECHO_N "(cached) $ECHO_C" >&6
15719 cat >conftest.$ac_ext <<_ACEOF
15722 cat confdefs.h >>conftest.$ac_ext
15723 cat >>conftest.$ac_ext <<_ACEOF
15724 /* end confdefs.h. */
15738 rm -f conftest.$ac_objext
15739 if { (ac_try="$ac_compile"
15740 case "(($ac_try" in
15741 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15742 *) ac_try_echo=$ac_try;;
15744 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15745 (eval "$ac_compile") 2>conftest.er1
15747 grep -v '^
*+' conftest.er1 >conftest.err
15749 cat conftest.err >&5
15750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15751 (exit $ac_status); } && {
15752 test -z "$ac_c_werror_flag" ||
15753 test ! -s conftest.err
15754 } && test -s conftest.$ac_objext; then
15755 bakefile_cv_c_compiler___SUNPRO_C=yes
15757 echo "$as_me: failed program was:" >&5
15758 sed 's
/^
/| /' conftest.$ac_ext >&5
15760 bakefile_cv_c_compiler___SUNPRO_C=no
15764 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15768 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
15769 echo "${ECHO_T}$bakefile_cv_c_compiler___SUNPRO_C" >&6; }
15770 if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
15776 ac_cpp='$CPP $CPPFLAGS'
15777 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
15778 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
15779 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15790 ac_cpp='$CPP $CPPFLAGS'
15791 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
15792 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
15793 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15794 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
15795 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
15796 # On Suns, sometimes $CPP names a directory.
15797 if test -n "$CPP" && test -d "$CPP"; then
15800 if test -z "$CPP"; then
15801 if test "${ac_cv_prog_CPP+set}" = set; then
15802 echo $ECHO_N "(cached) $ECHO_C" >&6
15804 # Double quotes because CPP needs to be expanded
15805 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
15807 ac_preproc_ok=false
15808 for ac_c_preproc_warn_flag in '' yes
15810 # Use a header file that comes with gcc, so configuring glibc
15811 # with a fresh cross-compiler works.
15812 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15813 # <limits.h> exists even on freestanding compilers.
15814 # On the NeXT, cc -E runs the code through the compiler's parser
,
15815 # not just through cpp. "Syntax error" is here to catch this case.
15816 cat >conftest.
$ac_ext <<_ACEOF
15819 cat confdefs.h
>>conftest.
$ac_ext
15820 cat >>conftest.
$ac_ext <<_ACEOF
15821 /* end confdefs.h. */
15823 # include <limits.h>
15825 # include <assert.h>
15829 if { (ac_try
="$ac_cpp conftest.$ac_ext"
15830 case "(($ac_try" in
15831 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
15832 *) ac_try_echo=$ac_try;;
15834 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15835 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
15837 grep -v '^ *+' conftest.er1 >conftest.err
15839 cat conftest.err >&5
15840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15841 (exit $ac_status); } >/dev/null && {
15842 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
15843 test ! -s conftest.err
15847 echo "$as_me: failed program was:" >&5
15848 sed 's/^/| /' conftest.$ac_ext >&5
15850 # Broken: fails on valid input.
15854 rm -f conftest.err conftest.$ac_ext
15856 # OK, works on sane cases. Now check whether nonexistent headers
15857 # can be detected and how.
15858 cat >conftest.$ac_ext <<_ACEOF
15861 cat confdefs.h >>conftest.$ac_ext
15862 cat >>conftest.$ac_ext <<_ACEOF
15863 /* end confdefs.h. */
15864 #include <ac_nonexistent.h>
15866 if { (ac_try="$ac_cpp conftest.$ac_ext"
15867 case "(($ac_try" in
15868 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
15869 *) ac_try_echo
=$ac_try;;
15871 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15872 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
15874 grep -v '^ *+' conftest.er1
>conftest.err
15876 cat conftest.err
>&5
15877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15878 (exit $ac_status); } >/dev
/null
&& {
15879 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
15880 test ! -s conftest.err
15882 # Broken: success on invalid input.
15885 echo "$as_me: failed program was:" >&5
15886 sed 's/^/| /' conftest.
$ac_ext >&5
15888 # Passes both tests.
15893 rm -f conftest.err conftest.
$ac_ext
15896 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
15897 rm -f conftest.err conftest.
$ac_ext
15898 if $ac_preproc_ok; then
15903 ac_cv_prog_CPP
=$CPP
15906 CPP
=$ac_cv_prog_CPP
15908 ac_cv_prog_CPP
=$CPP
15910 { echo "$as_me:$LINENO: result: $CPP" >&5
15911 echo "${ECHO_T}$CPP" >&6; }
15912 ac_preproc_ok
=false
15913 for ac_c_preproc_warn_flag
in '' yes
15915 # Use a header file that comes with gcc, so configuring glibc
15916 # with a fresh cross-compiler works.
15917 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15918 # <limits.h> exists even on freestanding compilers.
15919 # On the NeXT, cc -E runs the code through the compiler's parser,
15920 # not just through cpp. "Syntax error" is here to catch this case.
15921 cat >conftest.
$ac_ext <<_ACEOF
15924 cat confdefs.h
>>conftest.
$ac_ext
15925 cat >>conftest.
$ac_ext <<_ACEOF
15926 /* end confdefs.h. */
15928 # include <limits.h>
15930 # include <assert.h>
15934 if { (ac_try
="$ac_cpp conftest.$ac_ext"
15935 case "(($ac_try" in
15936 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
15937 *) ac_try_echo=$ac_try;;
15939 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15940 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
15942 grep -v '^ *+' conftest.er1 >conftest.err
15944 cat conftest.err >&5
15945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15946 (exit $ac_status); } >/dev/null && {
15947 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
15948 test ! -s conftest.err
15952 echo "$as_me: failed program was:" >&5
15953 sed 's/^/| /' conftest.$ac_ext >&5
15955 # Broken: fails on valid input.
15959 rm -f conftest.err conftest.$ac_ext
15961 # OK, works on sane cases. Now check whether nonexistent headers
15962 # can be detected and how.
15963 cat >conftest.$ac_ext <<_ACEOF
15966 cat confdefs.h >>conftest.$ac_ext
15967 cat >>conftest.$ac_ext <<_ACEOF
15968 /* end confdefs.h. */
15969 #include <ac_nonexistent.h>
15971 if { (ac_try="$ac_cpp conftest.$ac_ext"
15972 case "(($ac_try" in
15973 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
15974 *) ac_try_echo
=$ac_try;;
15976 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15977 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
15979 grep -v '^ *+' conftest.er1
>conftest.err
15981 cat conftest.err
>&5
15982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15983 (exit $ac_status); } >/dev
/null
&& {
15984 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
15985 test ! -s conftest.err
15987 # Broken: success on invalid input.
15990 echo "$as_me: failed program was:" >&5
15991 sed 's/^/| /' conftest.
$ac_ext >&5
15993 # Passes both tests.
15998 rm -f conftest.err conftest.
$ac_ext
16001 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
16002 rm -f conftest.err conftest.
$ac_ext
16003 if $ac_preproc_ok; then
16006 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
16007 See \`config.log' for more details." >&5
16008 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
16009 See \`config.log' for more details." >&2;}
16010 { (exit 1); exit 1; }; }
16014 ac_cpp
='$CPP $CPPFLAGS'
16015 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16016 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16017 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
16020 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
16021 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
16022 if test "${ac_cv_path_GREP+set}" = set; then
16023 echo $ECHO_N "(cached) $ECHO_C" >&6
16025 # Extract the first word of "grep ggrep" to use in msg output
16026 if test -z "$GREP"; then
16027 set dummy
grep ggrep
; ac_prog_name
=$2
16028 if test "${ac_cv_path_GREP+set}" = set; then
16029 echo $ECHO_N "(cached) $ECHO_C" >&6
16031 ac_path_GREP_found
=false
16032 # Loop through the user's path and test for each of PROGNAME-LIST
16033 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16034 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
16037 test -z "$as_dir" && as_dir
=.
16038 for ac_prog
in grep ggrep
; do
16039 for ac_exec_ext
in '' $ac_executable_extensions; do
16040 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
16041 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
16042 # Check for GNU ac_path_GREP and select it if it is found.
16043 # Check for GNU $ac_path_GREP
16044 case `"$ac_path_GREP" --version 2>&1` in
16046 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
16049 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
16052 cat "conftest.in" "conftest.in" >"conftest.tmp"
16053 mv "conftest.tmp" "conftest.in"
16054 cp "conftest.in" "conftest.nl"
16055 echo 'GREP' >> "conftest.nl"
16056 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null
|| break
16057 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 || break
16058 ac_count
=`expr $ac_count + 1`
16059 if test $ac_count -gt ${ac_path_GREP_max-0}; then
16060 # Best one so far, save it but keep looking for a better one
16061 ac_cv_path_GREP
="$ac_path_GREP"
16062 ac_path_GREP_max
=$ac_count
16064 # 10*(2^10) chars as input seems more than enough
16065 test $ac_count -gt 10 && break
16067 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
16071 $ac_path_GREP_found && break 3
16081 GREP
="$ac_cv_path_GREP"
16082 if test -z "$GREP"; then
16083 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
16084 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
16085 { (exit 1); exit 1; }; }
16089 ac_cv_path_GREP
=$GREP
16094 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
16095 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
16096 GREP
="$ac_cv_path_GREP"
16099 { echo "$as_me:$LINENO: checking for egrep" >&5
16100 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
16101 if test "${ac_cv_path_EGREP+set}" = set; then
16102 echo $ECHO_N "(cached) $ECHO_C" >&6
16104 if echo a
| $GREP -E '(a|b)' >/dev
/null
2>&1
16105 then ac_cv_path_EGREP
="$GREP -E"
16107 # Extract the first word of "egrep" to use in msg output
16108 if test -z "$EGREP"; then
16109 set dummy
egrep; ac_prog_name
=$2
16110 if test "${ac_cv_path_EGREP+set}" = set; then
16111 echo $ECHO_N "(cached) $ECHO_C" >&6
16113 ac_path_EGREP_found
=false
16114 # Loop through the user's path and test for each of PROGNAME-LIST
16115 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16116 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
16119 test -z "$as_dir" && as_dir
=.
16120 for ac_prog
in egrep; do
16121 for ac_exec_ext
in '' $ac_executable_extensions; do
16122 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
16123 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
16124 # Check for GNU ac_path_EGREP and select it if it is found.
16125 # Check for GNU $ac_path_EGREP
16126 case `"$ac_path_EGREP" --version 2>&1` in
16128 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
16131 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
16134 cat "conftest.in" "conftest.in" >"conftest.tmp"
16135 mv "conftest.tmp" "conftest.in"
16136 cp "conftest.in" "conftest.nl"
16137 echo 'EGREP' >> "conftest.nl"
16138 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null
|| break
16139 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 || break
16140 ac_count
=`expr $ac_count + 1`
16141 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
16142 # Best one so far, save it but keep looking for a better one
16143 ac_cv_path_EGREP
="$ac_path_EGREP"
16144 ac_path_EGREP_max
=$ac_count
16146 # 10*(2^10) chars as input seems more than enough
16147 test $ac_count -gt 10 && break
16149 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
16153 $ac_path_EGREP_found && break 3
16163 EGREP
="$ac_cv_path_EGREP"
16164 if test -z "$EGREP"; then
16165 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
16166 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
16167 { (exit 1); exit 1; }; }
16171 ac_cv_path_EGREP
=$EGREP
16177 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
16178 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
16179 EGREP
="$ac_cv_path_EGREP"
16182 if test $ac_cv_c_compiler_gnu = yes; then
16183 { echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
16184 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6; }
16185 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
16186 echo $ECHO_N "(cached) $ECHO_C" >&6
16188 ac_pattern
="Autoconf.*'x'"
16189 cat >conftest.
$ac_ext <<_ACEOF
16192 cat confdefs.h
>>conftest.
$ac_ext
16193 cat >>conftest.
$ac_ext <<_ACEOF
16194 /* end confdefs.h. */
16198 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16199 $EGREP "$ac_pattern" >/dev
/null
2>&1; then
16200 ac_cv_prog_gcc_traditional
=yes
16202 ac_cv_prog_gcc_traditional
=no
16207 if test $ac_cv_prog_gcc_traditional = no
; then
16208 cat >conftest.
$ac_ext <<_ACEOF
16211 cat confdefs.h
>>conftest.
$ac_ext
16212 cat >>conftest.
$ac_ext <<_ACEOF
16213 /* end confdefs.h. */
16214 #include <termio.h>
16217 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16218 $EGREP "$ac_pattern" >/dev
/null
2>&1; then
16219 ac_cv_prog_gcc_traditional
=yes
16225 { echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
16226 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6; }
16227 if test $ac_cv_prog_gcc_traditional = yes; then
16228 CC
="$CC -traditional"
16233 CXXFLAGS
=${CXXFLAGS:=}
16238 ac_cpp
='$CXXCPP $CPPFLAGS'
16239 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16240 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16241 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
16242 if test -z "$CXX"; then
16243 if test -n "$CCC"; then
16246 if test -n "$ac_tool_prefix"; then
16247 for ac_prog
in g
++ c
++ gpp aCC CC cxx cc
++ cl.exe FCC KCC RCC xlC_r xlC
16249 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
16250 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
16251 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16252 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16253 if test "${ac_cv_prog_CXX+set}" = set; then
16254 echo $ECHO_N "(cached) $ECHO_C" >&6
16256 if test -n "$CXX"; then
16257 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
16259 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16260 for as_dir
in $PATH
16263 test -z "$as_dir" && as_dir
=.
16264 for ac_exec_ext
in '' $ac_executable_extensions; do
16265 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16266 ac_cv_prog_CXX
="$ac_tool_prefix$ac_prog"
16267 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16276 CXX
=$ac_cv_prog_CXX
16277 if test -n "$CXX"; then
16278 { echo "$as_me:$LINENO: result: $CXX" >&5
16279 echo "${ECHO_T}$CXX" >&6; }
16281 { echo "$as_me:$LINENO: result: no" >&5
16282 echo "${ECHO_T}no" >&6; }
16286 test -n "$CXX" && break
16289 if test -z "$CXX"; then
16291 for ac_prog
in g
++ c
++ gpp aCC CC cxx cc
++ cl.exe FCC KCC RCC xlC_r xlC
16293 # Extract the first word of "$ac_prog", so it can be a program name with args.
16294 set dummy
$ac_prog; ac_word
=$2
16295 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16296 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16297 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
16298 echo $ECHO_N "(cached) $ECHO_C" >&6
16300 if test -n "$ac_ct_CXX"; then
16301 ac_cv_prog_ac_ct_CXX
="$ac_ct_CXX" # Let the user override the test.
16303 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16304 for as_dir
in $PATH
16307 test -z "$as_dir" && as_dir
=.
16308 for ac_exec_ext
in '' $ac_executable_extensions; do
16309 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16310 ac_cv_prog_ac_ct_CXX
="$ac_prog"
16311 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16320 ac_ct_CXX
=$ac_cv_prog_ac_ct_CXX
16321 if test -n "$ac_ct_CXX"; then
16322 { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
16323 echo "${ECHO_T}$ac_ct_CXX" >&6; }
16325 { echo "$as_me:$LINENO: result: no" >&5
16326 echo "${ECHO_T}no" >&6; }
16330 test -n "$ac_ct_CXX" && break
16333 if test "x$ac_ct_CXX" = x
; then
16336 case $cross_compiling:$ac_tool_warned in
16338 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
16339 whose name does not start with the host triplet. If you think this
16340 configuration is useful to you, please write to autoconf@gnu.org." >&5
16341 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
16342 whose name does not start with the host triplet. If you think this
16343 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
16344 ac_tool_warned
=yes ;;
16352 # Provide some information about the compiler.
16353 echo "$as_me:$LINENO: checking for C++ compiler version" >&5
16354 ac_compiler
=`set X $ac_compile; echo $2`
16355 { (ac_try
="$ac_compiler --version >&5"
16356 case "(($ac_try" in
16357 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
16358 *) ac_try_echo=$ac_try;;
16360 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16361 (eval "$ac_compiler --version >&5") 2>&5
16363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16364 (exit $ac_status); }
16365 { (ac_try="$ac_compiler -v >&5"
16366 case "(($ac_try" in
16367 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
16368 *) ac_try_echo
=$ac_try;;
16370 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16371 (eval "$ac_compiler -v >&5") 2>&5
16373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16374 (exit $ac_status); }
16375 { (ac_try
="$ac_compiler -V >&5"
16376 case "(($ac_try" in
16377 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
16378 *) ac_try_echo=$ac_try;;
16380 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16381 (eval "$ac_compiler -V >&5") 2>&5
16383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16384 (exit $ac_status); }
16386 { echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
16387 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
16388 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
16389 echo $ECHO_N "(cached) $ECHO_C" >&6
16391 cat >conftest.$ac_ext <<_ACEOF
16394 cat confdefs.h >>conftest.$ac_ext
16395 cat >>conftest.$ac_ext <<_ACEOF
16396 /* end confdefs.h. */
16409 rm -f conftest.$ac_objext
16410 if { (ac_try="$ac_compile"
16411 case "(($ac_try" in
16412 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
16413 *) ac_try_echo
=$ac_try;;
16415 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16416 (eval "$ac_compile") 2>conftest.er1
16418 grep -v '^ *+' conftest.er1
>conftest.err
16420 cat conftest.err
>&5
16421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16422 (exit $ac_status); } && {
16423 test -z "$ac_cxx_werror_flag" ||
16424 test ! -s conftest.err
16425 } && test -s conftest.
$ac_objext; then
16426 ac_compiler_gnu
=yes
16428 echo "$as_me: failed program was:" >&5
16429 sed 's/^/| /' conftest.
$ac_ext >&5
16434 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16435 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
16438 { echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
16439 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
16440 GXX
=`test $ac_compiler_gnu = yes && echo yes`
16441 ac_test_CXXFLAGS
=${CXXFLAGS+set}
16442 ac_save_CXXFLAGS
=$CXXFLAGS
16443 { echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
16444 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
16445 if test "${ac_cv_prog_cxx_g+set}" = set; then
16446 echo $ECHO_N "(cached) $ECHO_C" >&6
16448 ac_save_cxx_werror_flag
=$ac_cxx_werror_flag
16449 ac_cxx_werror_flag
=yes
16450 ac_cv_prog_cxx_g
=no
16452 cat >conftest.
$ac_ext <<_ACEOF
16455 cat confdefs.h
>>conftest.
$ac_ext
16456 cat >>conftest.
$ac_ext <<_ACEOF
16457 /* end confdefs.h. */
16467 rm -f conftest.
$ac_objext
16468 if { (ac_try
="$ac_compile"
16469 case "(($ac_try" in
16470 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
16471 *) ac_try_echo=$ac_try;;
16473 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16474 (eval "$ac_compile") 2>conftest.er1
16476 grep -v '^ *+' conftest.er1 >conftest.err
16478 cat conftest.err >&5
16479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16480 (exit $ac_status); } && {
16481 test -z "$ac_cxx_werror_flag" ||
16482 test ! -s conftest.err
16483 } && test -s conftest.$ac_objext; then
16484 ac_cv_prog_cxx_g=yes
16486 echo "$as_me: failed program was:" >&5
16487 sed 's/^/| /' conftest.$ac_ext >&5
16490 cat >conftest.$ac_ext <<_ACEOF
16493 cat confdefs.h >>conftest.$ac_ext
16494 cat >>conftest.$ac_ext <<_ACEOF
16495 /* end confdefs.h. */
16505 rm -f conftest.$ac_objext
16506 if { (ac_try="$ac_compile"
16507 case "(($ac_try" in
16508 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
16509 *) ac_try_echo
=$ac_try;;
16511 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16512 (eval "$ac_compile") 2>conftest.er1
16514 grep -v '^ *+' conftest.er1
>conftest.err
16516 cat conftest.err
>&5
16517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16518 (exit $ac_status); } && {
16519 test -z "$ac_cxx_werror_flag" ||
16520 test ! -s conftest.err
16521 } && test -s conftest.
$ac_objext; then
16524 echo "$as_me: failed program was:" >&5
16525 sed 's/^/| /' conftest.
$ac_ext >&5
16527 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
16529 cat >conftest.
$ac_ext <<_ACEOF
16532 cat confdefs.h
>>conftest.
$ac_ext
16533 cat >>conftest.
$ac_ext <<_ACEOF
16534 /* end confdefs.h. */
16544 rm -f conftest.
$ac_objext
16545 if { (ac_try
="$ac_compile"
16546 case "(($ac_try" in
16547 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
16548 *) ac_try_echo=$ac_try;;
16550 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16551 (eval "$ac_compile") 2>conftest.er1
16553 grep -v '^ *+' conftest.er1 >conftest.err
16555 cat conftest.err >&5
16556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16557 (exit $ac_status); } && {
16558 test -z "$ac_cxx_werror_flag" ||
16559 test ! -s conftest.err
16560 } && test -s conftest.$ac_objext; then
16561 ac_cv_prog_cxx_g=yes
16563 echo "$as_me: failed program was:" >&5
16564 sed 's/^/| /' conftest.$ac_ext >&5
16569 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16572 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16575 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16576 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
16578 { echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
16579 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
16580 if test "$ac_test_CXXFLAGS" = set; then
16581 CXXFLAGS=$ac_save_CXXFLAGS
16582 elif test $ac_cv_prog_cxx_g = yes; then
16583 if test "$GXX" = yes; then
16589 if test "$GXX" = yes; then
16596 ac_cpp='$CPP $CPPFLAGS'
16597 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16598 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16599 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16605 ac_cpp='$CXXCPP $CPPFLAGS'
16606 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16607 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16608 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16610 { echo "$as_me:$LINENO: checking whether we are using the Intel C++ compiler" >&5
16611 echo $ECHO_N "checking whether we are using the Intel C++ compiler... $ECHO_C" >&6; }
16612 if test "${bakefile_cv_cxx_compiler___INTEL_COMPILER+set}" = set; then
16613 echo $ECHO_N "(cached) $ECHO_C" >&6
16615 cat >conftest.$ac_ext <<_ACEOF
16618 cat confdefs.h >>conftest.$ac_ext
16619 cat >>conftest.$ac_ext <<_ACEOF
16620 /* end confdefs.h. */
16626 #ifndef __INTEL_COMPILER
16634 rm -f conftest.$ac_objext
16635 if { (ac_try="$ac_compile"
16636 case "(($ac_try" in
16637 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
16638 *) ac_try_echo
=$ac_try;;
16640 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16641 (eval "$ac_compile") 2>conftest.er1
16643 grep -v '^ *+' conftest.er1
>conftest.err
16645 cat conftest.err
>&5
16646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16647 (exit $ac_status); } && {
16648 test -z "$ac_cxx_werror_flag" ||
16649 test ! -s conftest.err
16650 } && test -s conftest.
$ac_objext; then
16651 bakefile_cv_cxx_compiler___INTEL_COMPILER
=yes
16653 echo "$as_me: failed program was:" >&5
16654 sed 's/^/| /' conftest.
$ac_ext >&5
16656 bakefile_cv_cxx_compiler___INTEL_COMPILER
=no
16660 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16664 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER" >&5
16665 echo "${ECHO_T}$bakefile_cv_cxx_compiler___INTEL_COMPILER" >&6; }
16666 if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER" = "xyes"; then
16672 ac_cpp
='$CPP $CPPFLAGS'
16673 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16674 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16675 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
16680 if test "x$GCXX" != "xyes"; then
16681 if test "xCXX" = "xC"; then
16682 { echo "$as_me:$LINENO: checking if the C compiler requires -ext o" >&5
16683 echo $ECHO_N "checking if the C compiler requires -ext o... $ECHO_C" >&6; }
16684 if test "${bakefile_cv_c_exto+set}" = set; then
16685 echo $ECHO_N "(cached) $ECHO_C" >&6
16687 cat >conftest.
$ac_ext <<_ACEOF
16690 cat confdefs.h
>>conftest.
$ac_ext
16691 cat >>conftest.
$ac_ext <<_ACEOF
16692 /* end confdefs.h. */
16702 rm -f conftest.
$ac_objext conftest.
$ac_ext.o
16703 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16704 (eval $ac_compile) 2>&5
16706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16707 (exit $ac_status); }; then
16708 for ac_file
in `(ls conftest.* 2>/dev/null)`; do
16710 conftest.
$ac_ext.o
)
16711 bakefile_cv_c_exto
="-ext o"
16718 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
16719 See \`config.log' for more details." >&5
16720 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
16721 See \`config.log' for more details." >&2;}
16722 { (exit 1); exit 1; }; }
16726 rm -f conftest.
$ac_ext.o conftest.
$ac_objext conftest.
$ac_ext
16729 { echo "$as_me:$LINENO: result: $bakefile_cv_c_exto" >&5
16730 echo "${ECHO_T}$bakefile_cv_c_exto" >&6; }
16731 if test "x$bakefile_cv_c_exto" '!=' "x"; then
16732 if test "c" = "c"; then
16733 CFLAGS
="$bakefile_cv_c_exto $CFLAGS"
16735 if test "c" = "cxx"; then
16736 CXXFLAGS
="$bakefile_cv_c_exto $CXXFLAGS"
16740 if test "x$bakefile_cv_c_exto" '!=' "x"; then
16741 unset ac_cv_prog_cc_g
16742 ac_test_CFLAGS
=${CFLAGS+set}
16743 ac_save_CFLAGS
=$CFLAGS
16744 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
16745 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
16746 if test "${ac_cv_prog_cc_g+set}" = set; then
16747 echo $ECHO_N "(cached) $ECHO_C" >&6
16749 ac_save_c_werror_flag
=$ac_c_werror_flag
16750 ac_c_werror_flag
=yes
16753 cat >conftest.
$ac_ext <<_ACEOF
16756 cat confdefs.h
>>conftest.
$ac_ext
16757 cat >>conftest.
$ac_ext <<_ACEOF
16758 /* end confdefs.h. */
16768 rm -f conftest.
$ac_objext
16769 if { (ac_try
="$ac_compile"
16770 case "(($ac_try" in
16771 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
16772 *) ac_try_echo=$ac_try;;
16774 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16775 (eval "$ac_compile") 2>conftest.er1
16777 grep -v '^ *+' conftest.er1 >conftest.err
16779 cat conftest.err >&5
16780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16781 (exit $ac_status); } && {
16782 test -z "$ac_c_werror_flag" ||
16783 test ! -s conftest.err
16784 } && test -s conftest.$ac_objext; then
16785 ac_cv_prog_cc_g=yes
16787 echo "$as_me: failed program was:" >&5
16788 sed 's/^/| /' conftest.$ac_ext >&5
16791 cat >conftest.$ac_ext <<_ACEOF
16794 cat confdefs.h >>conftest.$ac_ext
16795 cat >>conftest.$ac_ext <<_ACEOF
16796 /* end confdefs.h. */
16806 rm -f conftest.$ac_objext
16807 if { (ac_try="$ac_compile"
16808 case "(($ac_try" in
16809 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
16810 *) ac_try_echo
=$ac_try;;
16812 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16813 (eval "$ac_compile") 2>conftest.er1
16815 grep -v '^ *+' conftest.er1
>conftest.err
16817 cat conftest.err
>&5
16818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16819 (exit $ac_status); } && {
16820 test -z "$ac_c_werror_flag" ||
16821 test ! -s conftest.err
16822 } && test -s conftest.
$ac_objext; then
16825 echo "$as_me: failed program was:" >&5
16826 sed 's/^/| /' conftest.
$ac_ext >&5
16828 ac_c_werror_flag
=$ac_save_c_werror_flag
16830 cat >conftest.
$ac_ext <<_ACEOF
16833 cat confdefs.h
>>conftest.
$ac_ext
16834 cat >>conftest.
$ac_ext <<_ACEOF
16835 /* end confdefs.h. */
16845 rm -f conftest.
$ac_objext
16846 if { (ac_try
="$ac_compile"
16847 case "(($ac_try" in
16848 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
16849 *) ac_try_echo=$ac_try;;
16851 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16852 (eval "$ac_compile") 2>conftest.er1
16854 grep -v '^ *+' conftest.er1 >conftest.err
16856 cat conftest.err >&5
16857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16858 (exit $ac_status); } && {
16859 test -z "$ac_c_werror_flag" ||
16860 test ! -s conftest.err
16861 } && test -s conftest.$ac_objext; then
16862 ac_cv_prog_cc_g=yes
16864 echo "$as_me: failed program was:" >&5
16865 sed 's/^/| /' conftest.$ac_ext >&5
16870 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16873 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16876 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16877 ac_c_werror_flag=$ac_save_c_werror_flag
16879 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
16880 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
16881 if test "$ac_test_CFLAGS" = set; then
16882 CFLAGS=$ac_save_CFLAGS
16883 elif test $ac_cv_prog_cc_g = yes; then
16884 if test "$GCC" = yes; then
16890 if test "$GCC" = yes; then
16904 ac_cpp='$CXXCPP $CPPFLAGS'
16905 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16906 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16907 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16909 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
16910 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6; }
16911 if test "${bakefile_cv_cxx_compiler___xlC__+set}" = set; then
16912 echo $ECHO_N "(cached) $ECHO_C" >&6
16914 cat >conftest.$ac_ext <<_ACEOF
16917 cat confdefs.h >>conftest.$ac_ext
16918 cat >>conftest.$ac_ext <<_ACEOF
16919 /* end confdefs.h. */
16933 rm -f conftest.$ac_objext
16934 if { (ac_try="$ac_compile"
16935 case "(($ac_try" in
16936 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
16937 *) ac_try_echo
=$ac_try;;
16939 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16940 (eval "$ac_compile") 2>conftest.er1
16942 grep -v '^ *+' conftest.er1
>conftest.err
16944 cat conftest.err
>&5
16945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16946 (exit $ac_status); } && {
16947 test -z "$ac_cxx_werror_flag" ||
16948 test ! -s conftest.err
16949 } && test -s conftest.
$ac_objext; then
16950 bakefile_cv_cxx_compiler___xlC__
=yes
16952 echo "$as_me: failed program was:" >&5
16953 sed 's/^/| /' conftest.
$ac_ext >&5
16955 bakefile_cv_cxx_compiler___xlC__
=no
16959 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16963 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___xlC__" >&5
16964 echo "${ECHO_T}$bakefile_cv_cxx_compiler___xlC__" >&6; }
16965 if test "x$bakefile_cv_cxx_compiler___xlC__" = "xyes"; then
16971 ac_cpp
='$CPP $CPPFLAGS'
16972 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16973 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16974 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
16984 ac_cpp
='$CXXCPP $CPPFLAGS'
16985 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16986 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16987 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
16989 { echo "$as_me:$LINENO: checking whether we are using the Metrowerks C++ compiler" >&5
16990 echo $ECHO_N "checking whether we are using the Metrowerks C++ compiler... $ECHO_C" >&6; }
16991 if test "${bakefile_cv_cxx_compiler___MWERKS__+set}" = set; then
16992 echo $ECHO_N "(cached) $ECHO_C" >&6
16994 cat >conftest.
$ac_ext <<_ACEOF
16997 cat confdefs.h
>>conftest.
$ac_ext
16998 cat >>conftest.
$ac_ext <<_ACEOF
16999 /* end confdefs.h. */
17013 rm -f conftest.
$ac_objext
17014 if { (ac_try
="$ac_compile"
17015 case "(($ac_try" in
17016 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
17017 *) ac_try_echo=$ac_try;;
17019 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17020 (eval "$ac_compile") 2>conftest.er1
17022 grep -v '^ *+' conftest.er1 >conftest.err
17024 cat conftest.err >&5
17025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17026 (exit $ac_status); } && {
17027 test -z "$ac_cxx_werror_flag" ||
17028 test ! -s conftest.err
17029 } && test -s conftest.$ac_objext; then
17030 bakefile_cv_cxx_compiler___MWERKS__=yes
17032 echo "$as_me: failed program was:" >&5
17033 sed 's/^/| /' conftest.$ac_ext >&5
17035 bakefile_cv_cxx_compiler___MWERKS__=no
17039 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17043 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___MWERKS__" >&5
17044 echo "${ECHO_T}$bakefile_cv_cxx_compiler___MWERKS__" >&6; }
17045 if test "x$bakefile_cv_cxx_compiler___MWERKS__" = "xyes"; then
17051 ac_cpp='$CPP $CPPFLAGS'
17052 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17053 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17054 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17061 ac_cpp='$CXXCPP $CPPFLAGS'
17062 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17063 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17064 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17066 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
17067 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6; }
17068 if test "${bakefile_cv_cxx_compiler___xlC__+set}" = set; then
17069 echo $ECHO_N "(cached) $ECHO_C" >&6
17071 cat >conftest.$ac_ext <<_ACEOF
17074 cat confdefs.h >>conftest.$ac_ext
17075 cat >>conftest.$ac_ext <<_ACEOF
17076 /* end confdefs.h. */
17090 rm -f conftest.$ac_objext
17091 if { (ac_try="$ac_compile"
17092 case "(($ac_try" in
17093 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
17094 *) ac_try_echo
=$ac_try;;
17096 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17097 (eval "$ac_compile") 2>conftest.er1
17099 grep -v '^ *+' conftest.er1
>conftest.err
17101 cat conftest.err
>&5
17102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17103 (exit $ac_status); } && {
17104 test -z "$ac_cxx_werror_flag" ||
17105 test ! -s conftest.err
17106 } && test -s conftest.
$ac_objext; then
17107 bakefile_cv_cxx_compiler___xlC__
=yes
17109 echo "$as_me: failed program was:" >&5
17110 sed 's/^/| /' conftest.
$ac_ext >&5
17112 bakefile_cv_cxx_compiler___xlC__
=no
17116 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17120 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___xlC__" >&5
17121 echo "${ECHO_T}$bakefile_cv_cxx_compiler___xlC__" >&6; }
17122 if test "x$bakefile_cv_cxx_compiler___xlC__" = "xyes"; then
17128 ac_cpp
='$CPP $CPPFLAGS'
17129 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17130 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17131 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
17141 ac_cpp
='$CXXCPP $CPPFLAGS'
17142 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17143 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17144 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
17146 { echo "$as_me:$LINENO: checking whether we are using the SGI C++ compiler" >&5
17147 echo $ECHO_N "checking whether we are using the SGI C++ compiler... $ECHO_C" >&6; }
17148 if test "${bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION+set}" = set; then
17149 echo $ECHO_N "(cached) $ECHO_C" >&6
17151 cat >conftest.
$ac_ext <<_ACEOF
17154 cat confdefs.h
>>conftest.
$ac_ext
17155 cat >>conftest.
$ac_ext <<_ACEOF
17156 /* end confdefs.h. */
17162 #ifndef _SGI_COMPILER_VERSION
17170 rm -f conftest.
$ac_objext
17171 if { (ac_try
="$ac_compile"
17172 case "(($ac_try" in
17173 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
17174 *) ac_try_echo=$ac_try;;
17176 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17177 (eval "$ac_compile") 2>conftest.er1
17179 grep -v '^ *+' conftest.er1 >conftest.err
17181 cat conftest.err >&5
17182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17183 (exit $ac_status); } && {
17184 test -z "$ac_cxx_werror_flag" ||
17185 test ! -s conftest.err
17186 } && test -s conftest.$ac_objext; then
17187 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=yes
17189 echo "$as_me: failed program was:" >&5
17190 sed 's/^/| /' conftest.$ac_ext >&5
17192 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=no
17196 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17200 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&5
17201 echo "${ECHO_T}$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&6; }
17202 if test "x$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" = "xyes"; then
17208 ac_cpp='$CPP $CPPFLAGS'
17209 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17210 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17211 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17221 ac_cpp='$CXXCPP $CPPFLAGS'
17222 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17223 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17224 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17226 { echo "$as_me:$LINENO: checking whether we are using the Sun C++ compiler" >&5
17227 echo $ECHO_N "checking whether we are using the Sun C++ compiler... $ECHO_C" >&6; }
17228 if test "${bakefile_cv_cxx_compiler___SUNPRO_CC+set}" = set; then
17229 echo $ECHO_N "(cached) $ECHO_C" >&6
17231 cat >conftest.$ac_ext <<_ACEOF
17234 cat confdefs.h >>conftest.$ac_ext
17235 cat >>conftest.$ac_ext <<_ACEOF
17236 /* end confdefs.h. */
17242 #ifndef __SUNPRO_CC
17250 rm -f conftest.$ac_objext
17251 if { (ac_try="$ac_compile"
17252 case "(($ac_try" in
17253 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
17254 *) ac_try_echo
=$ac_try;;
17256 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17257 (eval "$ac_compile") 2>conftest.er1
17259 grep -v '^ *+' conftest.er1
>conftest.err
17261 cat conftest.err
>&5
17262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17263 (exit $ac_status); } && {
17264 test -z "$ac_cxx_werror_flag" ||
17265 test ! -s conftest.err
17266 } && test -s conftest.
$ac_objext; then
17267 bakefile_cv_cxx_compiler___SUNPRO_CC
=yes
17269 echo "$as_me: failed program was:" >&5
17270 sed 's/^/| /' conftest.
$ac_ext >&5
17272 bakefile_cv_cxx_compiler___SUNPRO_CC
=no
17276 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17280 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
17281 echo "${ECHO_T}$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6; }
17282 if test "x$bakefile_cv_cxx_compiler___SUNPRO_CC" = "xyes"; then
17288 ac_cpp
='$CPP $CPPFLAGS'
17289 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17290 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17291 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
17301 ac_cpp
='$CXXCPP $CPPFLAGS'
17302 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17303 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17304 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
17306 { echo "$as_me:$LINENO: checking whether we are using the HP C++ compiler" >&5
17307 echo $ECHO_N "checking whether we are using the HP C++ compiler... $ECHO_C" >&6; }
17308 if test "${bakefile_cv_cxx_compiler___HP_aCC+set}" = set; then
17309 echo $ECHO_N "(cached) $ECHO_C" >&6
17311 cat >conftest.
$ac_ext <<_ACEOF
17314 cat confdefs.h
>>conftest.
$ac_ext
17315 cat >>conftest.
$ac_ext <<_ACEOF
17316 /* end confdefs.h. */
17330 rm -f conftest.
$ac_objext
17331 if { (ac_try
="$ac_compile"
17332 case "(($ac_try" in
17333 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
17334 *) ac_try_echo=$ac_try;;
17336 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17337 (eval "$ac_compile") 2>conftest.er1
17339 grep -v '^ *+' conftest.er1 >conftest.err
17341 cat conftest.err >&5
17342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17343 (exit $ac_status); } && {
17344 test -z "$ac_cxx_werror_flag" ||
17345 test ! -s conftest.err
17346 } && test -s conftest.$ac_objext; then
17347 bakefile_cv_cxx_compiler___HP_aCC=yes
17349 echo "$as_me: failed program was:" >&5
17350 sed 's/^/| /' conftest.$ac_ext >&5
17352 bakefile_cv_cxx_compiler___HP_aCC=no
17356 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17360 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___HP_aCC" >&5
17361 echo "${ECHO_T}$bakefile_cv_cxx_compiler___HP_aCC" >&6; }
17362 if test "x$bakefile_cv_cxx_compiler___HP_aCC" = "xyes"; then
17368 ac_cpp='$CPP $CPPFLAGS'
17369 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17370 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17371 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17381 ac_cpp='$CXXCPP $CPPFLAGS'
17382 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17383 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17384 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17386 { echo "$as_me:$LINENO: checking whether we are using the Compaq C++ compiler" >&5
17387 echo $ECHO_N "checking whether we are using the Compaq C++ compiler... $ECHO_C" >&6; }
17388 if test "${bakefile_cv_cxx_compiler___DECCXX+set}" = set; then
17389 echo $ECHO_N "(cached) $ECHO_C" >&6
17391 cat >conftest.$ac_ext <<_ACEOF
17394 cat confdefs.h >>conftest.$ac_ext
17395 cat >>conftest.$ac_ext <<_ACEOF
17396 /* end confdefs.h. */
17410 rm -f conftest.$ac_objext
17411 if { (ac_try="$ac_compile"
17412 case "(($ac_try" in
17413 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
17414 *) ac_try_echo
=$ac_try;;
17416 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17417 (eval "$ac_compile") 2>conftest.er1
17419 grep -v '^ *+' conftest.er1
>conftest.err
17421 cat conftest.err
>&5
17422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17423 (exit $ac_status); } && {
17424 test -z "$ac_cxx_werror_flag" ||
17425 test ! -s conftest.err
17426 } && test -s conftest.
$ac_objext; then
17427 bakefile_cv_cxx_compiler___DECCXX
=yes
17429 echo "$as_me: failed program was:" >&5
17430 sed 's/^/| /' conftest.
$ac_ext >&5
17432 bakefile_cv_cxx_compiler___DECCXX
=no
17436 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17440 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___DECCXX" >&5
17441 echo "${ECHO_T}$bakefile_cv_cxx_compiler___DECCXX" >&6; }
17442 if test "x$bakefile_cv_cxx_compiler___DECCXX" = "xyes"; then
17448 ac_cpp
='$CPP $CPPFLAGS'
17449 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17450 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17451 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
17461 ac_cpp
='$CXXCPP $CPPFLAGS'
17462 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17463 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17464 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
17466 { echo "$as_me:$LINENO: checking whether we are using the Sun C++ compiler" >&5
17467 echo $ECHO_N "checking whether we are using the Sun C++ compiler... $ECHO_C" >&6; }
17468 if test "${bakefile_cv_cxx_compiler___SUNPRO_CC+set}" = set; then
17469 echo $ECHO_N "(cached) $ECHO_C" >&6
17471 cat >conftest.
$ac_ext <<_ACEOF
17474 cat confdefs.h
>>conftest.
$ac_ext
17475 cat >>conftest.
$ac_ext <<_ACEOF
17476 /* end confdefs.h. */
17482 #ifndef __SUNPRO_CC
17490 rm -f conftest.
$ac_objext
17491 if { (ac_try
="$ac_compile"
17492 case "(($ac_try" in
17493 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
17494 *) ac_try_echo=$ac_try;;
17496 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17497 (eval "$ac_compile") 2>conftest.er1
17499 grep -v '^ *+' conftest.er1 >conftest.err
17501 cat conftest.err >&5
17502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17503 (exit $ac_status); } && {
17504 test -z "$ac_cxx_werror_flag" ||
17505 test ! -s conftest.err
17506 } && test -s conftest.$ac_objext; then
17507 bakefile_cv_cxx_compiler___SUNPRO_CC=yes
17509 echo "$as_me: failed program was:" >&5
17510 sed 's/^/| /' conftest.$ac_ext >&5
17512 bakefile_cv_cxx_compiler___SUNPRO_CC=no
17516 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17520 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
17521 echo "${ECHO_T}$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6; }
17522 if test "x$bakefile_cv_cxx_compiler___SUNPRO_CC" = "xyes"; then
17528 ac_cpp='$CPP $CPPFLAGS'
17529 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17530 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17531 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17541 if test "$CXX" = "g++" -a "$GXX" != "yes"; then
17542 { { echo "$as_me:$LINENO: error: C++ compiler is needed to build wxWidgets" >&5
17543 echo "$as_me: error: C++ compiler is needed to build wxWidgets" >&2;}
17544 { (exit 1); exit 1; }; }
17547 if test "x$SUNCXX" != xyes; then
17548 if test -n "$ac_tool_prefix"; then
17549 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
17550 set dummy ${ac_tool_prefix}ar; ac_word=$2
17551 { echo "$as_me:$LINENO: checking for $ac_word" >&5
17552 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
17553 if test "${ac_cv_prog_AR+set}" = set; then
17554 echo $ECHO_N "(cached) $ECHO_C" >&6
17556 if test -n "$AR"; then
17557 ac_cv_prog_AR="$AR" # Let the user override the test.
17559 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17560 for as_dir in $PATH
17563 test -z "$as_dir" && as_dir=.
17564 for ac_exec_ext in '' $ac_executable_extensions; do
17565 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
17566 ac_cv_prog_AR="${ac_tool_prefix}ar"
17567 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
17577 if test -n "$AR"; then
17578 { echo "$as_me:$LINENO: result: $AR" >&5
17579 echo "${ECHO_T}$AR" >&6; }
17581 { echo "$as_me:$LINENO: result: no" >&5
17582 echo "${ECHO_T}no" >&6; }
17587 if test -z "$ac_cv_prog_AR"; then
17589 # Extract the first word of "ar", so it can be a program name with args.
17590 set dummy ar; ac_word=$2
17591 { echo "$as_me:$LINENO: checking for $ac_word" >&5
17592 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
17593 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
17594 echo $ECHO_N "(cached) $ECHO_C" >&6
17596 if test -n "$ac_ct_AR"; then
17597 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
17599 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17600 for as_dir in $PATH
17603 test -z "$as_dir" && as_dir=.
17604 for ac_exec_ext in '' $ac_executable_extensions; do
17605 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
17606 ac_cv_prog_ac_ct_AR="ar"
17607 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
17616 ac_ct_AR=$ac_cv_prog_ac_ct_AR
17617 if test -n "$ac_ct_AR"; then
17618 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
17619 echo "${ECHO_T}$ac_ct_AR" >&6; }
17621 { echo "$as_me:$LINENO: result: no" >&5
17622 echo "${ECHO_T}no" >&6; }
17625 if test "x$ac_ct_AR" = x; then
17628 case $cross_compiling:$ac_tool_warned in
17630 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
17631 whose name does not start with the host triplet. If you think this
17632 configuration is useful to you, please write to autoconf@gnu.org." >&5
17633 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
17634 whose name does not start with the host triplet. If you think this
17635 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
17636 ac_tool_warned=yes ;;
17641 AR="$ac_cv_prog_AR"
17644 if test "x$AR" = "x" ; then
17645 { { echo "$as_me:$LINENO: error: ar is needed to build wxWidgets" >&5
17646 echo "$as_me: error: ar is needed to build wxWidgets" >&2;}
17647 { (exit 1); exit 1; }; }
17651 retest_macosx_linking=no
17653 #if test "$wxUSE_MAC" = 1; then
17654 if test "x$wxUSE_UNIVERSAL_BINARY" != xno ; then
17655 if test "x$wxUSE_UNIVERSAL_BINARY" == xyes; then
17656 # Implicitly turn on the new --with-macosx-sdk using the default
17657 # SDK which provides the behavior this option has always had.
17658 if test "x$wxUSE_MACOSX_SDK" = "x"; then
17659 { echo "$as_me:$LINENO: WARNING: Enabling default SDK due to --enable-universal_binary." >&5
17660 echo "$as_me: WARNING: Enabling default SDK due to --enable-universal_binary." >&2;}
17661 { echo "$as_me:$LINENO: WARNING: If you don't want this, specify --without-macosx-sdk" >&5
17662 echo "$as_me: WARNING: If you don't want this, specify --without-macosx-sdk" >&2;}
17663 wxUSE_MACOSX_SDK=yes
17666 # Complain to user if he specified an argument to --enable-universal_binary
17667 # and also 1) specified --with-macosx-sdk using the default (yes) or
17668 # 2) specified --with-macosx-sdk using a path or 3) specified
17669 # --without-macosx-sdk (no).
17670 if test "x$wxUSE_MACOSX_SDK" != "x" ; then
17671 { { echo "$as_me:$LINENO: error: Please specify the new --with-macosx-sdk=PATH and do not specify an arg to --enable-universal_binary
17672 See \`config.log
' for more details." >&5
17673 echo "$as_me: error: Please specify the new --with-macosx-sdk=PATH and do not specify an arg to --enable-universal_binary
17674 See \`config.log' for more details.
" >&2;}
17675 { (exit 1); exit 1; }; }
17677 # Put the SDK path into the wxUSE_MACOSX_SDK. We don't have to
17678 # special-case the empty string because the below test simply
17679 # converts "no
" to the empty string anyway.
17680 wxUSE_MACOSX_SDK="$wxUSE_UNIVERSAL_BINARY"
17681 { echo "$as_me:$LINENO: WARNING
: Please use
--with-macosx-sdk=PATH and
--enable-universal_binary without an argument
" >&5
17682 echo "$as_me: WARNING
: Please use
--with-macosx-sdk=PATH and
--enable-universal_binary without an argument
" >&2;}
17685 OSX_UNIV_OPTS="-arch ppc
-arch i386
"
17686 CXXFLAGS="$OSX_UNIV_OPTS $CXXFLAGS"
17687 CFLAGS="$OSX_UNIV_OPTS $CFLAGS"
17688 LDFLAGS="$OSX_UNIV_OPTS $LDFLAGS"
17689 retest_macosx_linking=yes
17691 { echo "$as_me:$LINENO: WARNING
: Disabling precompiled headers due to universal binary build.
" >&5
17692 echo "$as_me: WARNING
: Disabling precompiled headers due to universal binary build.
" >&2;}
17697 if test "x
$wxUSE_MACOSX_SDK" = "xno
"; then
17699 elif test "x
$wxUSE_MACOSX_SDK" = "xyes
"; then
17700 # TODO: Search for most recent SDK and use it.
17701 wxUSE_MACOSX_SDK="/Developer
/SDKs
/MacOSX10.4u.sdk
"
17705 if test "x
$wxUSE_MACOSX_SDK" != "x
"; then
17706 { echo "$as_me:$LINENO: checking
for SDK directory
$wxUSE_MACOSX_SDK" >&5
17707 echo $ECHO_N "checking
for SDK directory
$wxUSE_MACOSX_SDK...
$ECHO_C" >&6; }
17708 if ! test -d "$wxUSE_MACOSX_SDK"; then
17709 { { echo "$as_me:$LINENO: error
: not found
17710 See \
`config.log' for more details." >&5
17711 echo "$as_me: error: not found
17712 See \`config.log
' for more details." >&2;}
17713 { (exit 1); exit 1; }; }
17715 { echo "$as_me:$LINENO: result: exists" >&5
17716 echo "${ECHO_T}exists" >&6; }
17718 MACOSX_SDK_OPTS="-isysroot $wxUSE_MACOSX_SDK"
17719 eval "CC=\"$CC $MACOSX_SDK_OPTS\""
17720 eval "CXX=\"$CXX $MACOSX_SDK_OPTS\""
17721 eval "LD=\"$LD $MACOSX_SDK_OPTS\""
17722 retest_macosx_linking=yes
17725 if test "x$wxUSE_MACOSX_VERSION_MIN" = "xno"; then
17726 wxUSE_MACOSX_VERSION_MIN=
17727 elif test "x$wxUSE_MACOSX_VERSION_MIN" = "xyes"; then
17728 if test "x$wxUSE_MACOSX_SDK" != "x"; then
17729 { echo "$as_me:$LINENO: checking SDK deployment version" >&5
17730 echo $ECHO_N "checking SDK deployment version... $ECHO_C" >&6; }
17732 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/'`
17734 # If that failed, try again with the new key
17735 if test "x$MACOSX_SDK_PLIST_VERSION_MIN" == "x"; then
17737 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/'`
17741 if test "x$MACOSX_SDK_PLIST_VERSION_MIN" != "x"; then
17742 wxUSE_MACOSX_VERSION_MIN=$MACOSX_SDK_PLIST_VERSION_MIN
17743 { echo "$as_me:$LINENO: result: $wxUSE_MACOSX_VERSION_MIN" >&5
17744 echo "${ECHO_T}$wxUSE_MACOSX_VERSION_MIN" >&6; }
17746 { echo "$as_me:$LINENO: WARNING: Could not determine deployment target from SDKSettings.plist" >&5
17747 echo "$as_me: WARNING: Could not determine deployment target from SDKSettings.plist" >&2;}
17748 wxUSE_MACOSX_VERSION_MIN=
17751 wxUSE_MACOSX_VERSION_MIN=
17753 elif test "x$wxUSE_MACOSX_VERSION_MIN" = "x"; then
17754 if test "$wxUSE_MAC" = 1; then
17755 # otherwise configure stops on leopard for universal_binary
17756 wxUSE_MACOSX_VERSION_MIN=10.4
17760 if test "x$wxUSE_MACOSX_VERSION_MIN" != "x"; then
17761 MACOSX_VERSION_MIN_OPTS="-mmacosx-version-min=$wxUSE_MACOSX_VERSION_MIN"
17762 eval "CC=\"$CC $MACOSX_VERSION_MIN_OPTS\""
17763 eval "CXX=\"$CXX $MACOSX_VERSION_MIN_OPTS\""
17764 eval "LD=\"$LD $MACOSX_VERSION_MIN_OPTS\""
17765 retest_macosx_linking=yes
17768 if test "x$retest_macosx_linking" = "xyes"; then
17770 ac_cpp='$CPP $CPPFLAGS'
17771 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
17772 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
17773 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17775 { echo "$as_me:$LINENO: checking if C compiler works with SDK/version options" >&5
17776 echo $ECHO_N "checking if C compiler works with SDK/version options... $ECHO_C" >&6; }
17777 cat >conftest.$ac_ext <<_ACEOF
17780 cat confdefs.h >>conftest.$ac_ext
17781 cat >>conftest.$ac_ext <<_ACEOF
17782 /* end confdefs.h. */
17792 rm -f conftest.$ac_objext conftest$ac_exeext
17793 if { (ac_try="$ac_link"
17794 case "(($ac_try" in
17795 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17796 *) ac_try_echo=$ac_try;;
17798 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17799 (eval "$ac_link") 2>conftest.er1
17801 grep -v '^
*+' conftest.er1 >conftest.err
17803 cat conftest.err >&5
17804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17805 (exit $ac_status); } && {
17806 test -z "$ac_c_werror_flag" ||
17807 test ! -s conftest.err
17808 } && test -s conftest$ac_exeext &&
17809 $as_test_x conftest$ac_exeext; then
17810 { echo "$as_me:$LINENO: result: yes" >&5
17811 echo "${ECHO_T}yes" >&6; }
17813 echo "$as_me: failed program was:" >&5
17814 sed 's
/^
/| /' conftest.$ac_ext >&5
17816 { { echo "$as_me:$LINENO: error: no. Try a different SDK
17817 See \`config.log' for more details.
" >&5
17818 echo "$as_me: error
: no. Try a different SDK
17819 See \
`config.log' for more details." >&2;}
17820 { (exit 1); exit 1; }; }; exit 1
17823 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17824 conftest$ac_exeext conftest.$ac_ext
17826 ac_cpp='$CPP $CPPFLAGS'
17827 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17828 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17829 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17833 ac_cpp='$CXXCPP $CPPFLAGS'
17834 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17835 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17836 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17838 { echo "$as_me:$LINENO: checking if C++ compiler works with SDK/version options" >&5
17839 echo $ECHO_N "checking if C++ compiler works with SDK/version options... $ECHO_C" >&6; }
17840 cat >conftest.$ac_ext <<_ACEOF
17843 cat confdefs.h >>conftest.$ac_ext
17844 cat >>conftest.$ac_ext <<_ACEOF
17845 /* end confdefs.h. */
17855 rm -f conftest.$ac_objext conftest$ac_exeext
17856 if { (ac_try="$ac_link"
17857 case "(($ac_try" in
17858 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
17859 *) ac_try_echo
=$ac_try;;
17861 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17862 (eval "$ac_link") 2>conftest.er1
17864 grep -v '^ *+' conftest.er1
>conftest.err
17866 cat conftest.err
>&5
17867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17868 (exit $ac_status); } && {
17869 test -z "$ac_cxx_werror_flag" ||
17870 test ! -s conftest.err
17871 } && test -s conftest
$ac_exeext &&
17872 $as_test_x conftest
$ac_exeext; then
17873 { echo "$as_me:$LINENO: result: yes" >&5
17874 echo "${ECHO_T}yes" >&6; }
17876 echo "$as_me: failed program was:" >&5
17877 sed 's/^/| /' conftest.
$ac_ext >&5
17879 { { echo "$as_me:$LINENO: error: no. Try a different SDK
17880 See \`config.log' for more details." >&5
17881 echo "$as_me: error: no. Try a different SDK
17882 See \`config.log' for more details." >&2;}
17883 { (exit 1); exit 1; }; }; exit 1
17886 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
17887 conftest
$ac_exeext conftest.
$ac_ext
17889 ac_cpp
='$CPP $CPPFLAGS'
17890 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17891 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17892 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
17900 INSTALL_PROGRAM
="cp -fp"
17901 INSTALL_DATA
="cp -fp"
17908 if test "x$XLCXX" = "xyes" -a "x$USE_AIX" = "x1"; then
17909 CXXFLAGS
="-qunique $CXXFLAGS"
17913 powerpc
-*-darwin* )
17914 { echo "$as_me:$LINENO: checking if __POWERPC__ is already defined" >&5
17915 echo $ECHO_N "checking if __POWERPC__ is already defined... $ECHO_C" >&6; }
17916 cat >conftest.
$ac_ext <<_ACEOF
17919 cat confdefs.h
>>conftest.
$ac_ext
17920 cat >>conftest.
$ac_ext <<_ACEOF
17921 /* end confdefs.h. */
17926 #ifndef __POWERPC__
17927 choke me for lack of PowerPC
17934 rm -f conftest.
$ac_objext
17935 if { (ac_try
="$ac_compile"
17936 case "(($ac_try" in
17937 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
17938 *) ac_try_echo=$ac_try;;
17940 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17941 (eval "$ac_compile") 2>conftest.er1
17943 grep -v '^ *+' conftest.er1 >conftest.err
17945 cat conftest.err >&5
17946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17947 (exit $ac_status); } && {
17948 test -z "$ac_c_werror_flag" ||
17949 test ! -s conftest.err
17950 } && test -s conftest.$ac_objext; then
17951 { echo "$as_me:$LINENO: result: yes" >&5
17952 echo "${ECHO_T}yes" >&6; }
17954 echo "$as_me: failed program was:" >&5
17955 sed 's/^/| /' conftest.$ac_ext >&5
17957 { echo "$as_me:$LINENO: result: no" >&5
17958 echo "${ECHO_T}no" >&6; }
17959 cat >>confdefs.h <<\_ACEOF
17960 #define __POWERPC__ 1
17966 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17972 { echo "$as_me:$LINENO: checking if CoreFoundation/CFBase.h is usable" >&5
17973 echo $ECHO_N "checking if CoreFoundation/CFBase.h is usable... $ECHO_C" >&6; }
17974 cat >conftest.$ac_ext <<_ACEOF
17977 cat confdefs.h >>conftest.$ac_ext
17978 cat >>conftest.$ac_ext <<_ACEOF
17979 /* end confdefs.h. */
17980 #include <CoreFoundation/CFBase.h>
17990 rm -f conftest.$ac_objext
17991 if { (ac_try="$ac_compile"
17992 case "(($ac_try" in
17993 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
17994 *) ac_try_echo
=$ac_try;;
17996 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17997 (eval "$ac_compile") 2>conftest.er1
17999 grep -v '^ *+' conftest.er1
>conftest.err
18001 cat conftest.err
>&5
18002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18003 (exit $ac_status); } && {
18004 test -z "$ac_c_werror_flag" ||
18005 test ! -s conftest.err
18006 } && test -s conftest.
$ac_objext; then
18007 { echo "$as_me:$LINENO: result: yes" >&5
18008 echo "${ECHO_T}yes" >&6; }
18010 echo "$as_me: failed program was:" >&5
18011 sed 's/^/| /' conftest.
$ac_ext >&5
18013 { echo "$as_me:$LINENO: result: no" >&5
18014 echo "${ECHO_T}no" >&6; }
18015 { echo "$as_me:$LINENO: checking if __CF_USE_FRAMEWORK_INCLUDES__ is required" >&5
18016 echo $ECHO_N "checking if __CF_USE_FRAMEWORK_INCLUDES__ is required... $ECHO_C" >&6; }
18017 cat >conftest.
$ac_ext <<_ACEOF
18020 cat confdefs.h
>>conftest.
$ac_ext
18021 cat >>conftest.
$ac_ext <<_ACEOF
18022 /* end confdefs.h. */
18023 #define __CF_USE_FRAMEWORK_INCLUDES__
18024 #include <CoreFoundation/CFBase.h>
18034 rm -f conftest.
$ac_objext
18035 if { (ac_try
="$ac_compile"
18036 case "(($ac_try" in
18037 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
18038 *) ac_try_echo=$ac_try;;
18040 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18041 (eval "$ac_compile") 2>conftest.er1
18043 grep -v '^ *+' conftest.er1 >conftest.err
18045 cat conftest.err >&5
18046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18047 (exit $ac_status); } && {
18048 test -z "$ac_c_werror_flag" ||
18049 test ! -s conftest.err
18050 } && test -s conftest.$ac_objext; then
18051 { echo "$as_me:$LINENO: result: yes" >&5
18052 echo "${ECHO_T}yes" >&6; }
18053 CPPFLAGS="-D__CF_USE_FRAMEWORK_INCLUDES__ $CPPFLAGS"
18055 echo "$as_me: failed program was:" >&5
18056 sed 's/^/| /' conftest.$ac_ext >&5
18058 { { echo "$as_me:$LINENO: error: no. CoreFoundation not available.
18059 See \`config.log
' for more details." >&5
18060 echo "$as_me: error: no. CoreFoundation not available.
18061 See \`config.log' for more details.
" >&2;}
18062 { (exit 1); exit 1; }; }
18066 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18071 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18076 doesnt_want_win32=0
18079 if test "$wxUSE_MSW" = 1 ; then
18082 { echo "$as_me:$LINENO: checking
if -mno-cygwin is
in effect
" >&5
18083 echo $ECHO_N "checking
if -mno-cygwin is
in effect...
$ECHO_C" >&6; }
18084 if test "${wx_cv_nocygwin+set}" = set; then
18085 echo $ECHO_N "(cached
) $ECHO_C" >&6
18088 cat >conftest.$ac_ext <<_ACEOF
18091 cat confdefs.h >>conftest.$ac_ext
18092 cat >>conftest.$ac_ext <<_ACEOF
18093 /* end confdefs.h. */
18107 rm -f conftest.$ac_objext
18108 if { (ac_try="$ac_compile"
18109 case "(($ac_try" in
18110 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18111 *) ac_try_echo=$ac_try;;
18113 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
18114 (eval "$ac_compile") 2>conftest.er1
18116 grep -v '^ *+' conftest.er1 >conftest.err
18118 cat conftest.err >&5
18119 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
18120 (exit $ac_status); } && {
18121 test -z "$ac_c_werror_flag" ||
18122 test ! -s conftest.err
18123 } && test -s conftest.$ac_objext; then
18126 echo "$as_me: failed program was
:" >&5
18127 sed 's/^/| /' conftest.$ac_ext >&5
18133 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18137 { echo "$as_me:$LINENO: result
: $wx_cv_nocygwin" >&5
18138 echo "${ECHO_T}$wx_cv_nocygwin" >&6; }
18140 if test "$wx_cv_nocygwin" = "yes"; then
18143 doesnt_want_win32=1
18146 if test "$wants_win32" = 1 ; then
18147 BAKEFILE_FORCE_PLATFORM=win32
18155 if test "$wxUSE_WINE" = "yes"; then
18157 LDFLAGS_GUI="-mwindows"
18160 if test "$wants_win32" = 1 ; then
18163 cat >>confdefs.h <<\_ACEOF
18164 #define __WIN32__ 1
18167 cat >>confdefs.h <<\_ACEOF
18168 #define __WIN95__ 1
18171 cat >>confdefs.h <<\_ACEOF
18172 #define __WINDOWS__ 1
18175 cat >>confdefs.h <<\_ACEOF
18176 #define __GNUWIN32__ 1
18179 cat >>confdefs.h <<\_ACEOF
18184 if test "$doesnt_want_win32" = 1 ; then
18189 if test "$USE_UNIX" = 1 ; then
18191 cat >>confdefs.h <<\_ACEOF
18198 *-pc-os2_emx | *-pc-os2-emx )
18199 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
18200 { echo "$as_me:$LINENO: checking
for drand48
in -lcExt" >&5
18201 echo $ECHO_N "checking
for drand48
in -lcExt...
$ECHO_C" >&6; }
18202 if test "${ac_cv_lib_cExt_drand48+set}" = set; then
18203 echo $ECHO_N "(cached
) $ECHO_C" >&6
18205 ac_check_lib_save_LIBS=$LIBS
18206 LIBS="-lcExt $LIBS"
18207 cat >conftest.$ac_ext <<_ACEOF
18210 cat confdefs.h >>conftest.$ac_ext
18211 cat >>conftest.$ac_ext <<_ACEOF
18212 /* end confdefs.h. */
18214 /* Override any GCC internal prototype to avoid an error.
18215 Use char because int might match the return type of a GCC
18216 builtin and then its argument prototype would still apply. */
18229 rm -f conftest.$ac_objext conftest$ac_exeext
18230 if { (ac_try="$ac_link"
18231 case "(($ac_try" in
18232 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18233 *) ac_try_echo=$ac_try;;
18235 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
18236 (eval "$ac_link") 2>conftest.er1
18238 grep -v '^ *+' conftest.er1 >conftest.err
18240 cat conftest.err >&5
18241 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
18242 (exit $ac_status); } && {
18243 test -z "$ac_c_werror_flag" ||
18244 test ! -s conftest.err
18245 } && test -s conftest$ac_exeext &&
18246 $as_test_x conftest$ac_exeext; then
18247 ac_cv_lib_cExt_drand48=yes
18249 echo "$as_me: failed program was
:" >&5
18250 sed 's/^/| /' conftest.$ac_ext >&5
18252 ac_cv_lib_cExt_drand48=no
18255 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18256 conftest$ac_exeext conftest.$ac_ext
18257 LIBS=$ac_check_lib_save_LIBS
18259 { echo "$as_me:$LINENO: result
: $ac_cv_lib_cExt_drand48" >&5
18260 echo "${ECHO_T}$ac_cv_lib_cExt_drand48" >&6; }
18261 if test $ac_cv_lib_cExt_drand48 = yes; then
18262 LIBS="$LIBS -lcExt"
18266 RESPROGRAMOBJ="\
${top_srcdir}/include
/wx
/os
2/wx.res
"
18268 { echo "$as_me:$LINENO: checking
for gcc
/libc version
" >&5
18269 echo $ECHO_N "checking
for gcc
/libc version...
$ECHO_C" >&6; }
18270 if test "${wx_cv_gccversion+set}" = set; then
18271 echo $ECHO_N "(cached
) $ECHO_C" >&6
18274 if test "$cross_compiling" = yes; then
18275 wx_cv_gccversion="EMX2
"
18278 cat >conftest.$ac_ext <<_ACEOF
18281 cat confdefs.h >>conftest.$ac_ext
18282 cat >>conftest.$ac_ext <<_ACEOF
18283 /* end confdefs.h. */
18289 FILE *f=fopen("conftestval
", "w
");
18294 #elif (__GNUC__==3) && ((__GNUC_MINOR__ < 2) || ((__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__<2)))
18296 #elif (__GNUC__==3) && (__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__==2)
18306 rm -f conftest$ac_exeext
18307 if { (ac_try="$ac_link"
18308 case "(($ac_try" in
18309 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18310 *) ac_try_echo=$ac_try;;
18312 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
18313 (eval "$ac_link") 2>&5
18315 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
18316 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
18317 { (case "(($ac_try" in
18318 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18319 *) ac_try_echo=$ac_try;;
18321 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
18322 (eval "$ac_try") 2>&5
18324 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
18325 (exit $ac_status); }; }; then
18326 wx_cv_gccversion=`cat conftestval`
18328 echo "$as_me: program exited with status
$ac_status" >&5
18329 echo "$as_me: failed program was
:" >&5
18330 sed 's/^/| /' conftest.$ac_ext >&5
18332 ( exit $ac_status )
18333 wx_cv_gccversion="EMX2
"
18335 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
18341 { echo "$as_me:$LINENO: result
: $wx_cv_gccversion" >&5
18342 echo "${ECHO_T}$wx_cv_gccversion" >&6; }
18343 if test "$wx_cv_gccversion" = "EMX2
"; then
18344 LIBS="$LIBS -lstdcpp"
18345 LDFLAGS="$LDFLAGS -Zsysv-signals"
18347 if test "$wx_cv_gccversion" = "EMX3
"; then
18348 LIBS="$LIBS -lstdcxx -lgcc"
18349 LDFLAGS="$LDFLAGS -Zsysv-signals"
18351 LIBS="$LIBS -lstdc++"
18354 if test "$wxUSE_SHARED" = "yes" -a "$wxUSE_OMF" = "no
"; then
18355 { echo "$as_me:$LINENO: WARNING
: Building DLLs requires OMF mode
, enabled
" >&5
18356 echo "$as_me: WARNING
: Building DLLs requires OMF mode
, enabled
" >&2;}
18363 { echo "$as_me:$LINENO: checking
for strcasecmp
() in string.h
" >&5
18364 echo $ECHO_N "checking
for strcasecmp
() in string.h...
$ECHO_C" >&6; }
18365 if test "${ac_cv_string_strcasecmp+set}" = set; then
18366 echo $ECHO_N "(cached
) $ECHO_C" >&6
18369 cat >conftest.$ac_ext <<_ACEOF
18372 cat confdefs.h >>conftest.$ac_ext
18373 cat >>conftest.$ac_ext <<_ACEOF
18374 /* end confdefs.h. */
18376 #include <string.h>
18382 strcasecmp("foo
", "bar
");
18388 rm -f conftest.$ac_objext conftest$ac_exeext
18389 if { (ac_try="$ac_link"
18390 case "(($ac_try" in
18391 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18392 *) ac_try_echo=$ac_try;;
18394 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
18395 (eval "$ac_link") 2>conftest.er1
18397 grep -v '^ *+' conftest.er1 >conftest.err
18399 cat conftest.err >&5
18400 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
18401 (exit $ac_status); } && {
18402 test -z "$ac_c_werror_flag" ||
18403 test ! -s conftest.err
18404 } && test -s conftest$ac_exeext &&
18405 $as_test_x conftest$ac_exeext; then
18406 ac_cv_string_strcasecmp=yes
18408 echo "$as_me: failed program was
:" >&5
18409 sed 's/^/| /' conftest.$ac_ext >&5
18411 ac_cv_string_strcasecmp=no
18415 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18416 conftest$ac_exeext conftest.$ac_ext
18419 { echo "$as_me:$LINENO: result
: $ac_cv_string_strcasecmp" >&5
18420 echo "${ECHO_T}$ac_cv_string_strcasecmp" >&6; }
18422 if test x"$ac_cv_string_strcasecmp" = "xyes
"; then
18423 cat >>confdefs.h <<\_ACEOF
18424 #define HAVE_STRCASECMP_IN_STRING_H 1
18428 { echo "$as_me:$LINENO: checking
for strcasecmp
() in strings.h
" >&5
18429 echo $ECHO_N "checking
for strcasecmp
() in strings.h...
$ECHO_C" >&6; }
18430 if test "${ac_cv_strings_strcasecmp+set}" = set; then
18431 echo $ECHO_N "(cached
) $ECHO_C" >&6
18434 cat >conftest.$ac_ext <<_ACEOF
18437 cat confdefs.h >>conftest.$ac_ext
18438 cat >>conftest.$ac_ext <<_ACEOF
18439 /* end confdefs.h. */
18441 #include <strings.h>
18447 strcasecmp("foo
", "bar
");
18453 rm -f conftest.$ac_objext conftest$ac_exeext
18454 if { (ac_try="$ac_link"
18455 case "(($ac_try" in
18456 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18457 *) ac_try_echo=$ac_try;;
18459 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
18460 (eval "$ac_link") 2>conftest.er1
18462 grep -v '^ *+' conftest.er1 >conftest.err
18464 cat conftest.err >&5
18465 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
18466 (exit $ac_status); } && {
18467 test -z "$ac_c_werror_flag" ||
18468 test ! -s conftest.err
18469 } && test -s conftest$ac_exeext &&
18470 $as_test_x conftest$ac_exeext; then
18471 ac_cv_strings_strcasecmp=yes
18473 echo "$as_me: failed program was
:" >&5
18474 sed 's/^/| /' conftest.$ac_ext >&5
18476 ac_cv_strings_strcasecmp=no
18480 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18481 conftest$ac_exeext conftest.$ac_ext
18484 { echo "$as_me:$LINENO: result
: $ac_cv_strings_strcasecmp" >&5
18485 echo "${ECHO_T}$ac_cv_strings_strcasecmp" >&6; }
18487 if test x"$ac_cv_strings_strcasecmp" = "xyes
"; then
18488 cat >>confdefs.h <<\_ACEOF
18489 #define HAVE_STRCASECMP_IN_STRINGS_H 1
18493 { { echo "$as_me:$LINENO: error
: No
case-insensitive string comparison
function found.
" >&5
18494 echo "$as_me: error
: No
case-insensitive string comparison
function found.
" >&2;}
18495 { (exit 1); exit 1; }; }
18503 { echo "$as_me:$LINENO: checking
for ANSI C header files
" >&5
18504 echo $ECHO_N "checking
for ANSI C header files...
$ECHO_C" >&6; }
18505 if test "${ac_cv_header_stdc+set}" = set; then
18506 echo $ECHO_N "(cached
) $ECHO_C" >&6
18508 cat >conftest.$ac_ext <<_ACEOF
18511 cat confdefs.h >>conftest.$ac_ext
18512 cat >>conftest.$ac_ext <<_ACEOF
18513 /* end confdefs.h. */
18514 #include <stdlib.h>
18515 #include <stdarg.h>
18516 #include <string.h>
18527 rm -f conftest.$ac_objext
18528 if { (ac_try="$ac_compile"
18529 case "(($ac_try" in
18530 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18531 *) ac_try_echo=$ac_try;;
18533 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
18534 (eval "$ac_compile") 2>conftest.er1
18536 grep -v '^ *+' conftest.er1 >conftest.err
18538 cat conftest.err >&5
18539 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
18540 (exit $ac_status); } && {
18541 test -z "$ac_c_werror_flag" ||
18542 test ! -s conftest.err
18543 } && test -s conftest.$ac_objext; then
18544 ac_cv_header_stdc=yes
18546 echo "$as_me: failed program was
:" >&5
18547 sed 's/^/| /' conftest.$ac_ext >&5
18549 ac_cv_header_stdc=no
18552 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18554 if test $ac_cv_header_stdc = yes; then
18555 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
18556 cat >conftest.$ac_ext <<_ACEOF
18559 cat confdefs.h >>conftest.$ac_ext
18560 cat >>conftest.$ac_ext <<_ACEOF
18561 /* end confdefs.h. */
18562 #include <string.h>
18565 if (eval "$ac_cpp conftest.
$ac_ext") 2>&5 |
18566 $EGREP "memchr
" >/dev/null 2>&1; then
18569 ac_cv_header_stdc=no
18575 if test $ac_cv_header_stdc = yes; then
18576 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
18577 cat >conftest.$ac_ext <<_ACEOF
18580 cat confdefs.h >>conftest.$ac_ext
18581 cat >>conftest.$ac_ext <<_ACEOF
18582 /* end confdefs.h. */
18583 #include <stdlib.h>
18586 if (eval "$ac_cpp conftest.
$ac_ext") 2>&5 |
18587 $EGREP "free
" >/dev/null 2>&1; then
18590 ac_cv_header_stdc=no
18596 if test $ac_cv_header_stdc = yes; then
18597 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
18598 if test "$cross_compiling" = yes; then
18601 cat >conftest.$ac_ext <<_ACEOF
18604 cat confdefs.h >>conftest.$ac_ext
18605 cat >>conftest.$ac_ext <<_ACEOF
18606 /* end confdefs.h. */
18608 #include <stdlib.h>
18609 #if ((' ' & 0x0FF) == 0x020)
18610 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
18611 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
18613 # define ISLOWER(c) \
18614 (('a' <= (c) && (c) <= 'i') \
18615 || ('j' <= (c) && (c) <= 'r') \
18616 || ('s' <= (c) && (c) <= 'z'))
18617 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
18620 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
18625 for (i = 0; i < 256; i++)
18626 if (XOR (islower (i), ISLOWER (i))
18627 || toupper (i) != TOUPPER (i))
18632 rm -f conftest$ac_exeext
18633 if { (ac_try="$ac_link"
18634 case "(($ac_try" in
18635 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18636 *) ac_try_echo=$ac_try;;
18638 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
18639 (eval "$ac_link") 2>&5
18641 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
18642 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
18643 { (case "(($ac_try" in
18644 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18645 *) ac_try_echo=$ac_try;;
18647 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
18648 (eval "$ac_try") 2>&5
18650 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
18651 (exit $ac_status); }; }; then
18654 echo "$as_me: program exited with status
$ac_status" >&5
18655 echo "$as_me: failed program was
:" >&5
18656 sed 's/^/| /' conftest.$ac_ext >&5
18658 ( exit $ac_status )
18659 ac_cv_header_stdc=no
18661 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
18667 { echo "$as_me:$LINENO: result
: $ac_cv_header_stdc" >&5
18668 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
18669 if test $ac_cv_header_stdc = yes; then
18671 cat >>confdefs.h <<\_ACEOF
18672 #define STDC_HEADERS 1
18677 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
18687 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
18688 inttypes.h stdint.h unistd.h
18690 as_ac_Header=`echo "ac_cv_header_
$ac_header" | $as_tr_sh`
18691 { echo "$as_me:$LINENO: checking
for $ac_header" >&5
18692 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6; }
18693 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
18694 echo $ECHO_N "(cached
) $ECHO_C" >&6
18696 cat >conftest.$ac_ext <<_ACEOF
18699 cat confdefs.h >>conftest.$ac_ext
18700 cat >>conftest.$ac_ext <<_ACEOF
18701 /* end confdefs.h. */
18702 $ac_includes_default
18704 #include <$ac_header>
18706 rm -f conftest.$ac_objext
18707 if { (ac_try="$ac_compile"
18708 case "(($ac_try" in
18709 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18710 *) ac_try_echo=$ac_try;;
18712 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
18713 (eval "$ac_compile") 2>conftest.er1
18715 grep -v '^ *+' conftest.er1 >conftest.err
18717 cat conftest.err >&5
18718 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
18719 (exit $ac_status); } && {
18720 test -z "$ac_c_werror_flag" ||
18721 test ! -s conftest.err
18722 } && test -s conftest.$ac_objext; then
18723 eval "$as_ac_Header=yes"
18725 echo "$as_me: failed program was
:" >&5
18726 sed 's/^/| /' conftest.$ac_ext >&5
18728 eval "$as_ac_Header=no
"
18731 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18733 ac_res=`eval echo '${'$as_ac_Header'}'`
18734 { echo "$as_me:$LINENO: result
: $ac_res" >&5
18735 echo "${ECHO_T}$ac_res" >&6; }
18736 if test `eval echo '${'$as_ac_Header'}'` = yes; then
18737 cat >>confdefs.h <<_ACEOF
18738 #define `echo "HAVE_
$ac_header" | $as_tr_cpp` 1
18748 for ac_header in langinfo.h wchar.h
18750 as_ac_Header=`echo "ac_cv_header_
$ac_header" | $as_tr_sh`
18751 { echo "$as_me:$LINENO: checking
for $ac_header" >&5
18752 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6; }
18753 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
18754 echo $ECHO_N "(cached
) $ECHO_C" >&6
18756 cat >conftest.$ac_ext <<_ACEOF
18759 cat confdefs.h >>conftest.$ac_ext
18760 cat >>conftest.$ac_ext <<_ACEOF
18761 /* end confdefs.h. */
18762 $ac_includes_default
18764 #include <$ac_header>
18766 rm -f conftest.$ac_objext
18767 if { (ac_try="$ac_compile"
18768 case "(($ac_try" in
18769 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18770 *) ac_try_echo=$ac_try;;
18772 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
18773 (eval "$ac_compile") 2>conftest.er1
18775 grep -v '^ *+' conftest.er1 >conftest.err
18777 cat conftest.err >&5
18778 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
18779 (exit $ac_status); } && {
18780 test -z "$ac_c_werror_flag" ||
18781 test ! -s conftest.err
18782 } && test -s conftest.$ac_objext; then
18783 eval "$as_ac_Header=yes"
18785 echo "$as_me: failed program was
:" >&5
18786 sed 's/^/| /' conftest.$ac_ext >&5
18788 eval "$as_ac_Header=no
"
18791 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18793 ac_res=`eval echo '${'$as_ac_Header'}'`
18794 { echo "$as_me:$LINENO: result
: $ac_res" >&5
18795 echo "${ECHO_T}$ac_res" >&6; }
18796 if test `eval echo '${'$as_ac_Header'}'` = yes; then
18797 cat >>confdefs.h <<_ACEOF
18798 #define `echo "HAVE_
$ac_header" | $as_tr_cpp` 1
18806 if test "$ac_cv_header_wchar_h" != "yes"; then
18808 for ac_header in wcstr.h
18810 as_ac_Header=`echo "ac_cv_header_
$ac_header" | $as_tr_sh`
18811 { echo "$as_me:$LINENO: checking
for $ac_header" >&5
18812 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6; }
18813 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
18814 echo $ECHO_N "(cached
) $ECHO_C" >&6
18816 cat >conftest.$ac_ext <<_ACEOF
18819 cat confdefs.h >>conftest.$ac_ext
18820 cat >>conftest.$ac_ext <<_ACEOF
18821 /* end confdefs.h. */
18822 $ac_includes_default
18824 #include <$ac_header>
18826 rm -f conftest.$ac_objext
18827 if { (ac_try="$ac_compile"
18828 case "(($ac_try" in
18829 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18830 *) ac_try_echo=$ac_try;;
18832 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
18833 (eval "$ac_compile") 2>conftest.er1
18835 grep -v '^ *+' conftest.er1 >conftest.err
18837 cat conftest.err >&5
18838 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
18839 (exit $ac_status); } && {
18840 test -z "$ac_c_werror_flag" ||
18841 test ! -s conftest.err
18842 } && test -s conftest.$ac_objext; then
18843 eval "$as_ac_Header=yes"
18845 echo "$as_me: failed program was
:" >&5
18846 sed 's/^/| /' conftest.$ac_ext >&5
18848 eval "$as_ac_Header=no
"
18851 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18853 ac_res=`eval echo '${'$as_ac_Header'}'`
18854 { echo "$as_me:$LINENO: result
: $ac_res" >&5
18855 echo "${ECHO_T}$ac_res" >&6; }
18856 if test `eval echo '${'$as_ac_Header'}'` = yes; then
18857 cat >>confdefs.h <<_ACEOF
18858 #define `echo "HAVE_
$ac_header" | $as_tr_cpp` 1
18868 *-pc-os2_emx | *-pc-os2-emx )
18869 if test $ac_cv_header_langinfo_h = "yes" \
18870 -a \( "$wx_cv_gccversion" = "EMX2
" \
18871 -o "$wx_cv_gccversion" = "EMX3
" \
18872 -o "$wx_cv_gccversion" = "Innotek5
" \); then
18873 LIBS="$LIBS -lintl"
18878 if test "$USE_UNIX" = 1 ; then
18880 for ac_header in sys/select.h
18882 as_ac_Header=`echo "ac_cv_header_
$ac_header" | $as_tr_sh`
18883 { echo "$as_me:$LINENO: checking
for $ac_header" >&5
18884 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6; }
18885 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
18886 echo $ECHO_N "(cached
) $ECHO_C" >&6
18888 cat >conftest.$ac_ext <<_ACEOF
18891 cat confdefs.h >>conftest.$ac_ext
18892 cat >>conftest.$ac_ext <<_ACEOF
18893 /* end confdefs.h. */
18894 $ac_includes_default
18896 #include <$ac_header>
18898 rm -f conftest.$ac_objext
18899 if { (ac_try="$ac_compile"
18900 case "(($ac_try" in
18901 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18902 *) ac_try_echo=$ac_try;;
18904 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
18905 (eval "$ac_compile") 2>conftest.er1
18907 grep -v '^ *+' conftest.er1 >conftest.err
18909 cat conftest.err >&5
18910 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
18911 (exit $ac_status); } && {
18912 test -z "$ac_c_werror_flag" ||
18913 test ! -s conftest.err
18914 } && test -s conftest.$ac_objext; then
18915 eval "$as_ac_Header=yes"
18917 echo "$as_me: failed program was
:" >&5
18918 sed 's/^/| /' conftest.$ac_ext >&5
18920 eval "$as_ac_Header=no
"
18923 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18925 ac_res=`eval echo '${'$as_ac_Header'}'`
18926 { echo "$as_me:$LINENO: result
: $ac_res" >&5
18927 echo "${ECHO_T}$ac_res" >&6; }
18928 if test `eval echo '${'$as_ac_Header'}'` = yes; then
18929 cat >>confdefs.h <<_ACEOF
18930 #define `echo "HAVE_
$ac_header" | $as_tr_cpp` 1
18940 { echo "$as_me:$LINENO: checking
for an ANSI C
-conforming const
" >&5
18941 echo $ECHO_N "checking
for an ANSI C
-conforming const...
$ECHO_C" >&6; }
18942 if test "${ac_cv_c_const+set}" = set; then
18943 echo $ECHO_N "(cached
) $ECHO_C" >&6
18945 cat >conftest.$ac_ext <<_ACEOF
18948 cat confdefs.h >>conftest.$ac_ext
18949 cat >>conftest.$ac_ext <<_ACEOF
18950 /* end confdefs.h. */
18955 /* FIXME: Include the comments suggested by Paul. */
18956 #ifndef __cplusplus
18957 /* Ultrix mips cc rejects this. */
18958 typedef int charset[2];
18960 /* SunOS 4.1.1 cc rejects this. */
18961 char const *const *pcpcc;
18963 /* NEC SVR4.0.2 mips cc rejects this. */
18964 struct point {int x, y;};
18965 static struct point const zero = {0,0};
18966 /* AIX XL C 1.02.0.0 rejects this.
18967 It does not let you subtract one const X* pointer from another in
18968 an arm of an if-expression whose if-part is not a constant
18970 const char *g = "string
";
18971 pcpcc = &g + (g ? g-g : 0);
18972 /* HPUX 7.0 cc rejects these. */
18974 ppc = (char**) pcpcc;
18975 pcpcc = (char const *const *) ppc;
18976 { /* SCO 3.2v4 cc rejects this. */
18978 char const *s = 0 ? (char *) 0 : (char const *) 0;
18983 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
18984 int x[] = {25, 17};
18985 const int *foo = &x[0];
18988 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
18989 typedef const int *iptr;
18993 { /* AIX XL C 1.02.0.0 rejects this saying
18994 "k.c
", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
18995 struct s { int j; const int *ap[3]; };
18996 struct s *b; b->j = 5;
18998 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
18999 const int foo = 10;
19000 if (!foo) return 0;
19002 return !cs[0] && !zero.x;
19009 rm -f conftest.$ac_objext
19010 if { (ac_try="$ac_compile"
19011 case "(($ac_try" in
19012 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19013 *) ac_try_echo=$ac_try;;
19015 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19016 (eval "$ac_compile") 2>conftest.er1
19018 grep -v '^ *+' conftest.er1 >conftest.err
19020 cat conftest.err >&5
19021 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19022 (exit $ac_status); } && {
19023 test -z "$ac_c_werror_flag" ||
19024 test ! -s conftest.err
19025 } && test -s conftest.$ac_objext; then
19028 echo "$as_me: failed program was
:" >&5
19029 sed 's/^/| /' conftest.$ac_ext >&5
19034 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19036 { echo "$as_me:$LINENO: result
: $ac_cv_c_const" >&5
19037 echo "${ECHO_T}$ac_cv_c_const" >&6; }
19038 if test $ac_cv_c_const = no; then
19040 cat >>confdefs.h <<\_ACEOF
19046 { echo "$as_me:$LINENO: checking
for inline
" >&5
19047 echo $ECHO_N "checking
for inline...
$ECHO_C" >&6; }
19048 if test "${ac_cv_c_inline+set}" = set; then
19049 echo $ECHO_N "(cached
) $ECHO_C" >&6
19052 for ac_kw in inline __inline__ __inline; do
19053 cat >conftest.$ac_ext <<_ACEOF
19056 cat confdefs.h >>conftest.$ac_ext
19057 cat >>conftest.$ac_ext <<_ACEOF
19058 /* end confdefs.h. */
19059 #ifndef __cplusplus
19061 static $ac_kw foo_t static_foo () {return 0; }
19062 $ac_kw foo_t foo () {return 0; }
19066 rm -f conftest.$ac_objext
19067 if { (ac_try="$ac_compile"
19068 case "(($ac_try" in
19069 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19070 *) ac_try_echo=$ac_try;;
19072 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19073 (eval "$ac_compile") 2>conftest.er1
19075 grep -v '^ *+' conftest.er1 >conftest.err
19077 cat conftest.err >&5
19078 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19079 (exit $ac_status); } && {
19080 test -z "$ac_c_werror_flag" ||
19081 test ! -s conftest.err
19082 } && test -s conftest.$ac_objext; then
19083 ac_cv_c_inline=$ac_kw
19085 echo "$as_me: failed program was
:" >&5
19086 sed 's/^/| /' conftest.$ac_ext >&5
19091 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19092 test "$ac_cv_c_inline" != no && break
19096 { echo "$as_me:$LINENO: result
: $ac_cv_c_inline" >&5
19097 echo "${ECHO_T}$ac_cv_c_inline" >&6; }
19100 case $ac_cv_c_inline in
19103 case $ac_cv_c_inline in
19105 *) ac_val=$ac_cv_c_inline;;
19107 cat >>confdefs.h <<_ACEOF
19108 #ifndef __cplusplus
19109 #define inline $ac_val
19116 { echo "$as_me:$LINENO: checking
for short
" >&5
19117 echo $ECHO_N "checking
for short...
$ECHO_C" >&6; }
19118 if test "${ac_cv_type_short+set}" = set; then
19119 echo $ECHO_N "(cached
) $ECHO_C" >&6
19121 cat >conftest.$ac_ext <<_ACEOF
19124 cat confdefs.h >>conftest.$ac_ext
19125 cat >>conftest.$ac_ext <<_ACEOF
19126 /* end confdefs.h. */
19127 $ac_includes_default
19128 typedef short ac__type_new_;
19132 if ((ac__type_new_ *) 0)
19134 if (sizeof (ac__type_new_))
19140 rm -f conftest.$ac_objext
19141 if { (ac_try="$ac_compile"
19142 case "(($ac_try" in
19143 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19144 *) ac_try_echo=$ac_try;;
19146 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19147 (eval "$ac_compile") 2>conftest.er1
19149 grep -v '^ *+' conftest.er1 >conftest.err
19151 cat conftest.err >&5
19152 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19153 (exit $ac_status); } && {
19154 test -z "$ac_c_werror_flag" ||
19155 test ! -s conftest.err
19156 } && test -s conftest.$ac_objext; then
19157 ac_cv_type_short=yes
19159 echo "$as_me: failed program was
:" >&5
19160 sed 's/^/| /' conftest.$ac_ext >&5
19162 ac_cv_type_short=no
19165 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19167 { echo "$as_me:$LINENO: result
: $ac_cv_type_short" >&5
19168 echo "${ECHO_T}$ac_cv_type_short" >&6; }
19170 # The cast to long int works around a bug in the HP C Compiler
19171 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
19172 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
19173 # This bug is HP SR number 8606223364.
19174 { echo "$as_me:$LINENO: checking size of short
" >&5
19175 echo $ECHO_N "checking size of short...
$ECHO_C" >&6; }
19176 if test "${ac_cv_sizeof_short+set}" = set; then
19177 echo $ECHO_N "(cached
) $ECHO_C" >&6
19179 if test "$cross_compiling" = yes; then
19180 # Depending upon the size, compute the lo and hi bounds.
19181 cat >conftest.$ac_ext <<_ACEOF
19184 cat confdefs.h >>conftest.$ac_ext
19185 cat >>conftest.$ac_ext <<_ACEOF
19186 /* end confdefs.h. */
19187 $ac_includes_default
19188 typedef short ac__type_sizeof_;
19192 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
19199 rm -f conftest.$ac_objext
19200 if { (ac_try="$ac_compile"
19201 case "(($ac_try" in
19202 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19203 *) ac_try_echo=$ac_try;;
19205 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19206 (eval "$ac_compile") 2>conftest.er1
19208 grep -v '^ *+' conftest.er1 >conftest.err
19210 cat conftest.err >&5
19211 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19212 (exit $ac_status); } && {
19213 test -z "$ac_c_werror_flag" ||
19214 test ! -s conftest.err
19215 } && test -s conftest.$ac_objext; then
19218 cat >conftest.$ac_ext <<_ACEOF
19221 cat confdefs.h >>conftest.$ac_ext
19222 cat >>conftest.$ac_ext <<_ACEOF
19223 /* end confdefs.h. */
19224 $ac_includes_default
19225 typedef short ac__type_sizeof_;
19229 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
19236 rm -f conftest.$ac_objext
19237 if { (ac_try="$ac_compile"
19238 case "(($ac_try" in
19239 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19240 *) ac_try_echo=$ac_try;;
19242 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19243 (eval "$ac_compile") 2>conftest.er1
19245 grep -v '^ *+' conftest.er1 >conftest.err
19247 cat conftest.err >&5
19248 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19249 (exit $ac_status); } && {
19250 test -z "$ac_c_werror_flag" ||
19251 test ! -s conftest.err
19252 } && test -s conftest.$ac_objext; then
19253 ac_hi=$ac_mid; break
19255 echo "$as_me: failed program was
:" >&5
19256 sed 's/^/| /' conftest.$ac_ext >&5
19258 ac_lo=`expr $ac_mid + 1`
19259 if test $ac_lo -le $ac_mid; then
19263 ac_mid=`expr 2 '*' $ac_mid + 1`
19266 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19269 echo "$as_me: failed program was
:" >&5
19270 sed 's/^/| /' conftest.$ac_ext >&5
19272 cat >conftest.$ac_ext <<_ACEOF
19275 cat confdefs.h >>conftest.$ac_ext
19276 cat >>conftest.$ac_ext <<_ACEOF
19277 /* end confdefs.h. */
19278 $ac_includes_default
19279 typedef short ac__type_sizeof_;
19283 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
19290 rm -f conftest.$ac_objext
19291 if { (ac_try="$ac_compile"
19292 case "(($ac_try" in
19293 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19294 *) ac_try_echo=$ac_try;;
19296 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19297 (eval "$ac_compile") 2>conftest.er1
19299 grep -v '^ *+' conftest.er1 >conftest.err
19301 cat conftest.err >&5
19302 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19303 (exit $ac_status); } && {
19304 test -z "$ac_c_werror_flag" ||
19305 test ! -s conftest.err
19306 } && test -s conftest.$ac_objext; then
19309 cat >conftest.$ac_ext <<_ACEOF
19312 cat confdefs.h >>conftest.$ac_ext
19313 cat >>conftest.$ac_ext <<_ACEOF
19314 /* end confdefs.h. */
19315 $ac_includes_default
19316 typedef short ac__type_sizeof_;
19320 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
19327 rm -f conftest.$ac_objext
19328 if { (ac_try="$ac_compile"
19329 case "(($ac_try" in
19330 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19331 *) ac_try_echo=$ac_try;;
19333 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19334 (eval "$ac_compile") 2>conftest.er1
19336 grep -v '^ *+' conftest.er1 >conftest.err
19338 cat conftest.err >&5
19339 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19340 (exit $ac_status); } && {
19341 test -z "$ac_c_werror_flag" ||
19342 test ! -s conftest.err
19343 } && test -s conftest.$ac_objext; then
19344 ac_lo=$ac_mid; break
19346 echo "$as_me: failed program was
:" >&5
19347 sed 's/^/| /' conftest.$ac_ext >&5
19349 ac_hi=`expr '(' $ac_mid ')' - 1`
19350 if test $ac_mid -le $ac_hi; then
19354 ac_mid=`expr 2 '*' $ac_mid`
19357 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19360 echo "$as_me: failed program was
:" >&5
19361 sed 's/^/| /' conftest.$ac_ext >&5
19366 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19369 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19370 # Binary search between lo and hi bounds.
19371 while test "x
$ac_lo" != "x
$ac_hi"; do
19372 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
19373 cat >conftest.$ac_ext <<_ACEOF
19376 cat confdefs.h >>conftest.$ac_ext
19377 cat >>conftest.$ac_ext <<_ACEOF
19378 /* end confdefs.h. */
19379 $ac_includes_default
19380 typedef short ac__type_sizeof_;
19384 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
19391 rm -f conftest.$ac_objext
19392 if { (ac_try="$ac_compile"
19393 case "(($ac_try" in
19394 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19395 *) ac_try_echo=$ac_try;;
19397 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19398 (eval "$ac_compile") 2>conftest.er1
19400 grep -v '^ *+' conftest.er1 >conftest.err
19402 cat conftest.err >&5
19403 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19404 (exit $ac_status); } && {
19405 test -z "$ac_c_werror_flag" ||
19406 test ! -s conftest.err
19407 } && test -s conftest.$ac_objext; then
19410 echo "$as_me: failed program was
:" >&5
19411 sed 's/^/| /' conftest.$ac_ext >&5
19413 ac_lo=`expr '(' $ac_mid ')' + 1`
19416 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19419 ?*) ac_cv_sizeof_short=$ac_lo;;
19420 '') if test "$ac_cv_type_short" = yes; then
19421 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(short
)
19422 See \
`config.log' for more details." >&5
19423 echo "$as_me: error: cannot compute sizeof (short)
19424 See \`config.log
' for more details." >&2;}
19425 { (exit 77); exit 77; }; }
19427 ac_cv_sizeof_short=0
19431 cat >conftest.$ac_ext <<_ACEOF
19434 cat confdefs.h >>conftest.$ac_ext
19435 cat >>conftest.$ac_ext <<_ACEOF
19436 /* end confdefs.h. */
19437 $ac_includes_default
19438 typedef short ac__type_sizeof_;
19439 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
19440 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
19442 #include <stdlib.h>
19447 FILE *f = fopen ("conftest.val", "w");
19450 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
19452 long int i = longval ();
19453 if (i != ((long int) (sizeof (ac__type_sizeof_))))
19455 fprintf (f, "%ld\n", i);
19459 unsigned long int i = ulongval ();
19460 if (i != ((long int) (sizeof (ac__type_sizeof_))))
19462 fprintf (f, "%lu\n", i);
19464 return ferror (f) || fclose (f) != 0;
19470 rm -f conftest$ac_exeext
19471 if { (ac_try="$ac_link"
19472 case "(($ac_try" in
19473 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19474 *) ac_try_echo=$ac_try;;
19476 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19477 (eval "$ac_link") 2>&5
19479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19480 (exit $ac_status); } && { ac_try='.
/conftest
$ac_exeext'
19481 { (case "(($ac_try" in
19482 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19483 *) ac_try_echo=$ac_try;;
19485 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19486 (eval "$ac_try") 2>&5
19488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19489 (exit $ac_status); }; }; then
19490 ac_cv_sizeof_short=`cat conftest.val`
19492 echo "$as_me: program exited with status $ac_status" >&5
19493 echo "$as_me: failed program was:" >&5
19494 sed 's
/^
/| /' conftest.$ac_ext >&5
19496 ( exit $ac_status )
19497 if test "$ac_cv_type_short" = yes; then
19498 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short)
19499 See \`config.log' for more details.
" >&5
19500 echo "$as_me: error
: cannot compute sizeof
(short
)
19501 See \
`config.log' for more details." >&2;}
19502 { (exit 77); exit 77; }; }
19504 ac_cv_sizeof_short=0
19507 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19511 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
19512 echo "${ECHO_T}$ac_cv_sizeof_short" >&6; }
19516 cat >>confdefs.h <<_ACEOF
19517 #define SIZEOF_SHORT $ac_cv_sizeof_short
19521 { echo "$as_me:$LINENO: checking for void *" >&5
19522 echo $ECHO_N "checking for void *... $ECHO_C" >&6; }
19523 if test "${ac_cv_type_void_p+set}" = set; then
19524 echo $ECHO_N "(cached) $ECHO_C" >&6
19526 cat >conftest.$ac_ext <<_ACEOF
19529 cat confdefs.h >>conftest.$ac_ext
19530 cat >>conftest.$ac_ext <<_ACEOF
19531 /* end confdefs.h. */
19532 $ac_includes_default
19533 typedef void * ac__type_new_;
19537 if ((ac__type_new_ *) 0)
19539 if (sizeof (ac__type_new_))
19545 rm -f conftest.$ac_objext
19546 if { (ac_try="$ac_compile"
19547 case "(($ac_try" in
19548 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
19549 *) ac_try_echo
=$ac_try;;
19551 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19552 (eval "$ac_compile") 2>conftest.er1
19554 grep -v '^ *+' conftest.er1
>conftest.err
19556 cat conftest.err
>&5
19557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19558 (exit $ac_status); } && {
19559 test -z "$ac_c_werror_flag" ||
19560 test ! -s conftest.err
19561 } && test -s conftest.
$ac_objext; then
19562 ac_cv_type_void_p
=yes
19564 echo "$as_me: failed program was:" >&5
19565 sed 's/^/| /' conftest.
$ac_ext >&5
19567 ac_cv_type_void_p
=no
19570 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19572 { echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
19573 echo "${ECHO_T}$ac_cv_type_void_p" >&6; }
19575 # The cast to long int works around a bug in the HP C Compiler
19576 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
19577 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
19578 # This bug is HP SR number 8606223364.
19579 { echo "$as_me:$LINENO: checking size of void *" >&5
19580 echo $ECHO_N "checking size of void *... $ECHO_C" >&6; }
19581 if test "${ac_cv_sizeof_void_p+set}" = set; then
19582 echo $ECHO_N "(cached) $ECHO_C" >&6
19584 if test "$cross_compiling" = yes; then
19585 # Depending upon the size, compute the lo and hi bounds.
19586 cat >conftest.
$ac_ext <<_ACEOF
19589 cat confdefs.h
>>conftest.
$ac_ext
19590 cat >>conftest.
$ac_ext <<_ACEOF
19591 /* end confdefs.h. */
19592 $ac_includes_default
19593 typedef void * ac__type_sizeof_;
19597 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
19604 rm -f conftest.
$ac_objext
19605 if { (ac_try
="$ac_compile"
19606 case "(($ac_try" in
19607 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
19608 *) ac_try_echo=$ac_try;;
19610 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19611 (eval "$ac_compile") 2>conftest.er1
19613 grep -v '^ *+' conftest.er1 >conftest.err
19615 cat conftest.err >&5
19616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19617 (exit $ac_status); } && {
19618 test -z "$ac_c_werror_flag" ||
19619 test ! -s conftest.err
19620 } && test -s conftest.$ac_objext; then
19623 cat >conftest.$ac_ext <<_ACEOF
19626 cat confdefs.h >>conftest.$ac_ext
19627 cat >>conftest.$ac_ext <<_ACEOF
19628 /* end confdefs.h. */
19629 $ac_includes_default
19630 typedef void * ac__type_sizeof_;
19634 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
19641 rm -f conftest.$ac_objext
19642 if { (ac_try="$ac_compile"
19643 case "(($ac_try" in
19644 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
19645 *) ac_try_echo
=$ac_try;;
19647 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19648 (eval "$ac_compile") 2>conftest.er1
19650 grep -v '^ *+' conftest.er1
>conftest.err
19652 cat conftest.err
>&5
19653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19654 (exit $ac_status); } && {
19655 test -z "$ac_c_werror_flag" ||
19656 test ! -s conftest.err
19657 } && test -s conftest.
$ac_objext; then
19658 ac_hi
=$ac_mid; break
19660 echo "$as_me: failed program was:" >&5
19661 sed 's/^/| /' conftest.
$ac_ext >&5
19663 ac_lo
=`expr $ac_mid + 1`
19664 if test $ac_lo -le $ac_mid; then
19668 ac_mid
=`expr 2 '*' $ac_mid + 1`
19671 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19674 echo "$as_me: failed program was:" >&5
19675 sed 's/^/| /' conftest.
$ac_ext >&5
19677 cat >conftest.
$ac_ext <<_ACEOF
19680 cat confdefs.h
>>conftest.
$ac_ext
19681 cat >>conftest.
$ac_ext <<_ACEOF
19682 /* end confdefs.h. */
19683 $ac_includes_default
19684 typedef void * ac__type_sizeof_;
19688 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
19695 rm -f conftest.
$ac_objext
19696 if { (ac_try
="$ac_compile"
19697 case "(($ac_try" in
19698 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
19699 *) ac_try_echo=$ac_try;;
19701 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19702 (eval "$ac_compile") 2>conftest.er1
19704 grep -v '^ *+' conftest.er1 >conftest.err
19706 cat conftest.err >&5
19707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19708 (exit $ac_status); } && {
19709 test -z "$ac_c_werror_flag" ||
19710 test ! -s conftest.err
19711 } && test -s conftest.$ac_objext; then
19714 cat >conftest.$ac_ext <<_ACEOF
19717 cat confdefs.h >>conftest.$ac_ext
19718 cat >>conftest.$ac_ext <<_ACEOF
19719 /* end confdefs.h. */
19720 $ac_includes_default
19721 typedef void * ac__type_sizeof_;
19725 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
19732 rm -f conftest.$ac_objext
19733 if { (ac_try="$ac_compile"
19734 case "(($ac_try" in
19735 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
19736 *) ac_try_echo
=$ac_try;;
19738 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19739 (eval "$ac_compile") 2>conftest.er1
19741 grep -v '^ *+' conftest.er1
>conftest.err
19743 cat conftest.err
>&5
19744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19745 (exit $ac_status); } && {
19746 test -z "$ac_c_werror_flag" ||
19747 test ! -s conftest.err
19748 } && test -s conftest.
$ac_objext; then
19749 ac_lo
=$ac_mid; break
19751 echo "$as_me: failed program was:" >&5
19752 sed 's/^/| /' conftest.
$ac_ext >&5
19754 ac_hi
=`expr '(' $ac_mid ')' - 1`
19755 if test $ac_mid -le $ac_hi; then
19759 ac_mid
=`expr 2 '*' $ac_mid`
19762 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19765 echo "$as_me: failed program was:" >&5
19766 sed 's/^/| /' conftest.
$ac_ext >&5
19771 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19774 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19775 # Binary search between lo and hi bounds.
19776 while test "x$ac_lo" != "x$ac_hi"; do
19777 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
19778 cat >conftest.
$ac_ext <<_ACEOF
19781 cat confdefs.h
>>conftest.
$ac_ext
19782 cat >>conftest.
$ac_ext <<_ACEOF
19783 /* end confdefs.h. */
19784 $ac_includes_default
19785 typedef void * ac__type_sizeof_;
19789 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
19796 rm -f conftest.
$ac_objext
19797 if { (ac_try
="$ac_compile"
19798 case "(($ac_try" in
19799 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
19800 *) ac_try_echo=$ac_try;;
19802 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19803 (eval "$ac_compile") 2>conftest.er1
19805 grep -v '^ *+' conftest.er1 >conftest.err
19807 cat conftest.err >&5
19808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19809 (exit $ac_status); } && {
19810 test -z "$ac_c_werror_flag" ||
19811 test ! -s conftest.err
19812 } && test -s conftest.$ac_objext; then
19815 echo "$as_me: failed program was:" >&5
19816 sed 's/^/| /' conftest.$ac_ext >&5
19818 ac_lo=`expr '(' $ac_mid ')' + 1`
19821 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19824 ?*) ac_cv_sizeof_void_p=$ac_lo;;
19825 '') if test "$ac_cv_type_void_p" = yes; then
19826 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *)
19827 See \`config.log
' for more details." >&5
19828 echo "$as_me: error: cannot compute sizeof (void *)
19829 See \`config.log' for more details.
" >&2;}
19830 { (exit 77); exit 77; }; }
19832 ac_cv_sizeof_void_p=0
19836 cat >conftest.$ac_ext <<_ACEOF
19839 cat confdefs.h >>conftest.$ac_ext
19840 cat >>conftest.$ac_ext <<_ACEOF
19841 /* end confdefs.h. */
19842 $ac_includes_default
19843 typedef void * ac__type_sizeof_;
19844 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
19845 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
19847 #include <stdlib.h>
19852 FILE *f = fopen ("conftest.val
", "w
");
19855 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
19857 long int i = longval ();
19858 if (i != ((long int) (sizeof (ac__type_sizeof_))))
19860 fprintf (f, "%ld
\n", i);
19864 unsigned long int i = ulongval ();
19865 if (i != ((long int) (sizeof (ac__type_sizeof_))))
19867 fprintf (f, "%lu
\n", i);
19869 return ferror (f) || fclose (f) != 0;
19875 rm -f conftest$ac_exeext
19876 if { (ac_try="$ac_link"
19877 case "(($ac_try" in
19878 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19879 *) ac_try_echo=$ac_try;;
19881 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19882 (eval "$ac_link") 2>&5
19884 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19885 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
19886 { (case "(($ac_try" in
19887 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19888 *) ac_try_echo=$ac_try;;
19890 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19891 (eval "$ac_try") 2>&5
19893 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19894 (exit $ac_status); }; }; then
19895 ac_cv_sizeof_void_p=`cat conftest.val`
19897 echo "$as_me: program exited with status
$ac_status" >&5
19898 echo "$as_me: failed program was
:" >&5
19899 sed 's/^/| /' conftest.$ac_ext >&5
19901 ( exit $ac_status )
19902 if test "$ac_cv_type_void_p" = yes; then
19903 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(void
*)
19904 See \
`config.log' for more details." >&5
19905 echo "$as_me: error: cannot compute sizeof (void *)
19906 See \`config.log
' for more details." >&2;}
19907 { (exit 77); exit 77; }; }
19909 ac_cv_sizeof_void_p=0
19912 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19916 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
19917 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6; }
19921 cat >>confdefs.h <<_ACEOF
19922 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
19926 { echo "$as_me:$LINENO: checking for int" >&5
19927 echo $ECHO_N "checking for int... $ECHO_C" >&6; }
19928 if test "${ac_cv_type_int+set}" = set; then
19929 echo $ECHO_N "(cached) $ECHO_C" >&6
19931 cat >conftest.$ac_ext <<_ACEOF
19934 cat confdefs.h >>conftest.$ac_ext
19935 cat >>conftest.$ac_ext <<_ACEOF
19936 /* end confdefs.h. */
19937 $ac_includes_default
19938 typedef int ac__type_new_;
19942 if ((ac__type_new_ *) 0)
19944 if (sizeof (ac__type_new_))
19950 rm -f conftest.$ac_objext
19951 if { (ac_try="$ac_compile"
19952 case "(($ac_try" in
19953 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19954 *) ac_try_echo=$ac_try;;
19956 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19957 (eval "$ac_compile") 2>conftest.er1
19959 grep -v '^
*+' conftest.er1 >conftest.err
19961 cat conftest.err >&5
19962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19963 (exit $ac_status); } && {
19964 test -z "$ac_c_werror_flag" ||
19965 test ! -s conftest.err
19966 } && test -s conftest.$ac_objext; then
19969 echo "$as_me: failed program was:" >&5
19970 sed 's
/^
/| /' conftest.$ac_ext >&5
19975 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19977 { echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
19978 echo "${ECHO_T}$ac_cv_type_int" >&6; }
19980 # The cast to long int works around a bug in the HP C Compiler
19981 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
19982 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
19983 # This bug is HP SR number 8606223364.
19984 { echo "$as_me:$LINENO: checking size of int" >&5
19985 echo $ECHO_N "checking size of int... $ECHO_C" >&6; }
19986 if test "${ac_cv_sizeof_int+set}" = set; then
19987 echo $ECHO_N "(cached) $ECHO_C" >&6
19989 if test "$cross_compiling" = yes; then
19990 # Depending upon the size, compute the lo and hi bounds.
19991 cat >conftest.
$ac_ext <<_ACEOF
19994 cat confdefs.h
>>conftest.
$ac_ext
19995 cat >>conftest.
$ac_ext <<_ACEOF
19996 /* end confdefs.h. */
19997 $ac_includes_default
19998 typedef int ac__type_sizeof_;
20002 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
20009 rm -f conftest.
$ac_objext
20010 if { (ac_try
="$ac_compile"
20011 case "(($ac_try" in
20012 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
20013 *) ac_try_echo=$ac_try;;
20015 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20016 (eval "$ac_compile") 2>conftest.er1
20018 grep -v '^ *+' conftest.er1 >conftest.err
20020 cat conftest.err >&5
20021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20022 (exit $ac_status); } && {
20023 test -z "$ac_c_werror_flag" ||
20024 test ! -s conftest.err
20025 } && test -s conftest.$ac_objext; then
20028 cat >conftest.$ac_ext <<_ACEOF
20031 cat confdefs.h >>conftest.$ac_ext
20032 cat >>conftest.$ac_ext <<_ACEOF
20033 /* end confdefs.h. */
20034 $ac_includes_default
20035 typedef int ac__type_sizeof_;
20039 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20046 rm -f conftest.$ac_objext
20047 if { (ac_try="$ac_compile"
20048 case "(($ac_try" in
20049 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
20050 *) ac_try_echo
=$ac_try;;
20052 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20053 (eval "$ac_compile") 2>conftest.er1
20055 grep -v '^ *+' conftest.er1
>conftest.err
20057 cat conftest.err
>&5
20058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20059 (exit $ac_status); } && {
20060 test -z "$ac_c_werror_flag" ||
20061 test ! -s conftest.err
20062 } && test -s conftest.
$ac_objext; then
20063 ac_hi
=$ac_mid; break
20065 echo "$as_me: failed program was:" >&5
20066 sed 's/^/| /' conftest.
$ac_ext >&5
20068 ac_lo
=`expr $ac_mid + 1`
20069 if test $ac_lo -le $ac_mid; then
20073 ac_mid
=`expr 2 '*' $ac_mid + 1`
20076 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20079 echo "$as_me: failed program was:" >&5
20080 sed 's/^/| /' conftest.
$ac_ext >&5
20082 cat >conftest.
$ac_ext <<_ACEOF
20085 cat confdefs.h
>>conftest.
$ac_ext
20086 cat >>conftest.
$ac_ext <<_ACEOF
20087 /* end confdefs.h. */
20088 $ac_includes_default
20089 typedef int ac__type_sizeof_;
20093 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
20100 rm -f conftest.
$ac_objext
20101 if { (ac_try
="$ac_compile"
20102 case "(($ac_try" in
20103 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
20104 *) ac_try_echo=$ac_try;;
20106 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20107 (eval "$ac_compile") 2>conftest.er1
20109 grep -v '^ *+' conftest.er1 >conftest.err
20111 cat conftest.err >&5
20112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20113 (exit $ac_status); } && {
20114 test -z "$ac_c_werror_flag" ||
20115 test ! -s conftest.err
20116 } && test -s conftest.$ac_objext; then
20119 cat >conftest.$ac_ext <<_ACEOF
20122 cat confdefs.h >>conftest.$ac_ext
20123 cat >>conftest.$ac_ext <<_ACEOF
20124 /* end confdefs.h. */
20125 $ac_includes_default
20126 typedef int ac__type_sizeof_;
20130 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
20137 rm -f conftest.$ac_objext
20138 if { (ac_try="$ac_compile"
20139 case "(($ac_try" in
20140 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
20141 *) ac_try_echo
=$ac_try;;
20143 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20144 (eval "$ac_compile") 2>conftest.er1
20146 grep -v '^ *+' conftest.er1
>conftest.err
20148 cat conftest.err
>&5
20149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20150 (exit $ac_status); } && {
20151 test -z "$ac_c_werror_flag" ||
20152 test ! -s conftest.err
20153 } && test -s conftest.
$ac_objext; then
20154 ac_lo
=$ac_mid; break
20156 echo "$as_me: failed program was:" >&5
20157 sed 's/^/| /' conftest.
$ac_ext >&5
20159 ac_hi
=`expr '(' $ac_mid ')' - 1`
20160 if test $ac_mid -le $ac_hi; then
20164 ac_mid
=`expr 2 '*' $ac_mid`
20167 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20170 echo "$as_me: failed program was:" >&5
20171 sed 's/^/| /' conftest.
$ac_ext >&5
20176 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20179 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20180 # Binary search between lo and hi bounds.
20181 while test "x$ac_lo" != "x$ac_hi"; do
20182 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20183 cat >conftest.
$ac_ext <<_ACEOF
20186 cat confdefs.h
>>conftest.
$ac_ext
20187 cat >>conftest.
$ac_ext <<_ACEOF
20188 /* end confdefs.h. */
20189 $ac_includes_default
20190 typedef int ac__type_sizeof_;
20194 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20201 rm -f conftest.
$ac_objext
20202 if { (ac_try
="$ac_compile"
20203 case "(($ac_try" in
20204 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
20205 *) ac_try_echo=$ac_try;;
20207 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20208 (eval "$ac_compile") 2>conftest.er1
20210 grep -v '^ *+' conftest.er1 >conftest.err
20212 cat conftest.err >&5
20213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20214 (exit $ac_status); } && {
20215 test -z "$ac_c_werror_flag" ||
20216 test ! -s conftest.err
20217 } && test -s conftest.$ac_objext; then
20220 echo "$as_me: failed program was:" >&5
20221 sed 's/^/| /' conftest.$ac_ext >&5
20223 ac_lo=`expr '(' $ac_mid ')' + 1`
20226 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20229 ?*) ac_cv_sizeof_int=$ac_lo;;
20230 '') if test "$ac_cv_type_int" = yes; then
20231 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int)
20232 See \`config.log
' for more details." >&5
20233 echo "$as_me: error: cannot compute sizeof (int)
20234 See \`config.log' for more details.
" >&2;}
20235 { (exit 77); exit 77; }; }
20241 cat >conftest.$ac_ext <<_ACEOF
20244 cat confdefs.h >>conftest.$ac_ext
20245 cat >>conftest.$ac_ext <<_ACEOF
20246 /* end confdefs.h. */
20247 $ac_includes_default
20248 typedef int ac__type_sizeof_;
20249 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
20250 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
20252 #include <stdlib.h>
20257 FILE *f = fopen ("conftest.val
", "w
");
20260 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
20262 long int i = longval ();
20263 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20265 fprintf (f, "%ld
\n", i);
20269 unsigned long int i = ulongval ();
20270 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20272 fprintf (f, "%lu
\n", i);
20274 return ferror (f) || fclose (f) != 0;
20280 rm -f conftest$ac_exeext
20281 if { (ac_try="$ac_link"
20282 case "(($ac_try" in
20283 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20284 *) ac_try_echo=$ac_try;;
20286 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
20287 (eval "$ac_link") 2>&5
20289 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
20290 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20291 { (case "(($ac_try" in
20292 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20293 *) ac_try_echo=$ac_try;;
20295 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
20296 (eval "$ac_try") 2>&5
20298 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
20299 (exit $ac_status); }; }; then
20300 ac_cv_sizeof_int=`cat conftest.val`
20302 echo "$as_me: program exited with status
$ac_status" >&5
20303 echo "$as_me: failed program was
:" >&5
20304 sed 's/^/| /' conftest.$ac_ext >&5
20306 ( exit $ac_status )
20307 if test "$ac_cv_type_int" = yes; then
20308 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(int
)
20309 See \
`config.log' for more details." >&5
20310 echo "$as_me: error: cannot compute sizeof (int)
20311 See \`config.log
' for more details." >&2;}
20312 { (exit 77); exit 77; }; }
20317 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20321 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
20322 echo "${ECHO_T}$ac_cv_sizeof_int" >&6; }
20326 cat >>confdefs.h <<_ACEOF
20327 #define SIZEOF_INT $ac_cv_sizeof_int
20331 { echo "$as_me:$LINENO: checking for long" >&5
20332 echo $ECHO_N "checking for long... $ECHO_C" >&6; }
20333 if test "${ac_cv_type_long+set}" = set; then
20334 echo $ECHO_N "(cached) $ECHO_C" >&6
20336 cat >conftest.$ac_ext <<_ACEOF
20339 cat confdefs.h >>conftest.$ac_ext
20340 cat >>conftest.$ac_ext <<_ACEOF
20341 /* end confdefs.h. */
20342 $ac_includes_default
20343 typedef long ac__type_new_;
20347 if ((ac__type_new_ *) 0)
20349 if (sizeof (ac__type_new_))
20355 rm -f conftest.$ac_objext
20356 if { (ac_try="$ac_compile"
20357 case "(($ac_try" in
20358 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20359 *) ac_try_echo=$ac_try;;
20361 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20362 (eval "$ac_compile") 2>conftest.er1
20364 grep -v '^
*+' conftest.er1 >conftest.err
20366 cat conftest.err >&5
20367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20368 (exit $ac_status); } && {
20369 test -z "$ac_c_werror_flag" ||
20370 test ! -s conftest.err
20371 } && test -s conftest.$ac_objext; then
20372 ac_cv_type_long=yes
20374 echo "$as_me: failed program was:" >&5
20375 sed 's
/^
/| /' conftest.$ac_ext >&5
20380 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20382 { echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
20383 echo "${ECHO_T}$ac_cv_type_long" >&6; }
20385 # The cast to long int works around a bug in the HP C Compiler
20386 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20387 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20388 # This bug is HP SR number 8606223364.
20389 { echo "$as_me:$LINENO: checking size of long" >&5
20390 echo $ECHO_N "checking size of long... $ECHO_C" >&6; }
20391 if test "${ac_cv_sizeof_long+set}" = set; then
20392 echo $ECHO_N "(cached) $ECHO_C" >&6
20394 if test "$cross_compiling" = yes; then
20395 # Depending upon the size, compute the lo and hi bounds.
20396 cat >conftest.
$ac_ext <<_ACEOF
20399 cat confdefs.h
>>conftest.
$ac_ext
20400 cat >>conftest.
$ac_ext <<_ACEOF
20401 /* end confdefs.h. */
20402 $ac_includes_default
20403 typedef long ac__type_sizeof_;
20407 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
20414 rm -f conftest.
$ac_objext
20415 if { (ac_try
="$ac_compile"
20416 case "(($ac_try" in
20417 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
20418 *) ac_try_echo=$ac_try;;
20420 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20421 (eval "$ac_compile") 2>conftest.er1
20423 grep -v '^ *+' conftest.er1 >conftest.err
20425 cat conftest.err >&5
20426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20427 (exit $ac_status); } && {
20428 test -z "$ac_c_werror_flag" ||
20429 test ! -s conftest.err
20430 } && test -s conftest.$ac_objext; then
20433 cat >conftest.$ac_ext <<_ACEOF
20436 cat confdefs.h >>conftest.$ac_ext
20437 cat >>conftest.$ac_ext <<_ACEOF
20438 /* end confdefs.h. */
20439 $ac_includes_default
20440 typedef long ac__type_sizeof_;
20444 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20451 rm -f conftest.$ac_objext
20452 if { (ac_try="$ac_compile"
20453 case "(($ac_try" in
20454 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
20455 *) ac_try_echo
=$ac_try;;
20457 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20458 (eval "$ac_compile") 2>conftest.er1
20460 grep -v '^ *+' conftest.er1
>conftest.err
20462 cat conftest.err
>&5
20463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20464 (exit $ac_status); } && {
20465 test -z "$ac_c_werror_flag" ||
20466 test ! -s conftest.err
20467 } && test -s conftest.
$ac_objext; then
20468 ac_hi
=$ac_mid; break
20470 echo "$as_me: failed program was:" >&5
20471 sed 's/^/| /' conftest.
$ac_ext >&5
20473 ac_lo
=`expr $ac_mid + 1`
20474 if test $ac_lo -le $ac_mid; then
20478 ac_mid
=`expr 2 '*' $ac_mid + 1`
20481 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20484 echo "$as_me: failed program was:" >&5
20485 sed 's/^/| /' conftest.
$ac_ext >&5
20487 cat >conftest.
$ac_ext <<_ACEOF
20490 cat confdefs.h
>>conftest.
$ac_ext
20491 cat >>conftest.
$ac_ext <<_ACEOF
20492 /* end confdefs.h. */
20493 $ac_includes_default
20494 typedef long ac__type_sizeof_;
20498 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
20505 rm -f conftest.
$ac_objext
20506 if { (ac_try
="$ac_compile"
20507 case "(($ac_try" in
20508 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
20509 *) ac_try_echo=$ac_try;;
20511 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20512 (eval "$ac_compile") 2>conftest.er1
20514 grep -v '^ *+' conftest.er1 >conftest.err
20516 cat conftest.err >&5
20517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20518 (exit $ac_status); } && {
20519 test -z "$ac_c_werror_flag" ||
20520 test ! -s conftest.err
20521 } && test -s conftest.$ac_objext; then
20524 cat >conftest.$ac_ext <<_ACEOF
20527 cat confdefs.h >>conftest.$ac_ext
20528 cat >>conftest.$ac_ext <<_ACEOF
20529 /* end confdefs.h. */
20530 $ac_includes_default
20531 typedef long ac__type_sizeof_;
20535 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
20542 rm -f conftest.$ac_objext
20543 if { (ac_try="$ac_compile"
20544 case "(($ac_try" in
20545 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
20546 *) ac_try_echo
=$ac_try;;
20548 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20549 (eval "$ac_compile") 2>conftest.er1
20551 grep -v '^ *+' conftest.er1
>conftest.err
20553 cat conftest.err
>&5
20554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20555 (exit $ac_status); } && {
20556 test -z "$ac_c_werror_flag" ||
20557 test ! -s conftest.err
20558 } && test -s conftest.
$ac_objext; then
20559 ac_lo
=$ac_mid; break
20561 echo "$as_me: failed program was:" >&5
20562 sed 's/^/| /' conftest.
$ac_ext >&5
20564 ac_hi
=`expr '(' $ac_mid ')' - 1`
20565 if test $ac_mid -le $ac_hi; then
20569 ac_mid
=`expr 2 '*' $ac_mid`
20572 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20575 echo "$as_me: failed program was:" >&5
20576 sed 's/^/| /' conftest.
$ac_ext >&5
20581 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20584 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20585 # Binary search between lo and hi bounds.
20586 while test "x$ac_lo" != "x$ac_hi"; do
20587 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20588 cat >conftest.
$ac_ext <<_ACEOF
20591 cat confdefs.h
>>conftest.
$ac_ext
20592 cat >>conftest.
$ac_ext <<_ACEOF
20593 /* end confdefs.h. */
20594 $ac_includes_default
20595 typedef long ac__type_sizeof_;
20599 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20606 rm -f conftest.
$ac_objext
20607 if { (ac_try
="$ac_compile"
20608 case "(($ac_try" in
20609 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
20610 *) ac_try_echo=$ac_try;;
20612 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20613 (eval "$ac_compile") 2>conftest.er1
20615 grep -v '^ *+' conftest.er1 >conftest.err
20617 cat conftest.err >&5
20618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20619 (exit $ac_status); } && {
20620 test -z "$ac_c_werror_flag" ||
20621 test ! -s conftest.err
20622 } && test -s conftest.$ac_objext; then
20625 echo "$as_me: failed program was:" >&5
20626 sed 's/^/| /' conftest.$ac_ext >&5
20628 ac_lo=`expr '(' $ac_mid ')' + 1`
20631 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20634 ?*) ac_cv_sizeof_long=$ac_lo;;
20635 '') if test "$ac_cv_type_long" = yes; then
20636 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long)
20637 See \`config.log
' for more details." >&5
20638 echo "$as_me: error: cannot compute sizeof (long)
20639 See \`config.log' for more details.
" >&2;}
20640 { (exit 77); exit 77; }; }
20642 ac_cv_sizeof_long=0
20646 cat >conftest.$ac_ext <<_ACEOF
20649 cat confdefs.h >>conftest.$ac_ext
20650 cat >>conftest.$ac_ext <<_ACEOF
20651 /* end confdefs.h. */
20652 $ac_includes_default
20653 typedef long ac__type_sizeof_;
20654 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
20655 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
20657 #include <stdlib.h>
20662 FILE *f = fopen ("conftest.val
", "w
");
20665 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
20667 long int i = longval ();
20668 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20670 fprintf (f, "%ld
\n", i);
20674 unsigned long int i = ulongval ();
20675 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20677 fprintf (f, "%lu
\n", i);
20679 return ferror (f) || fclose (f) != 0;
20685 rm -f conftest$ac_exeext
20686 if { (ac_try="$ac_link"
20687 case "(($ac_try" in
20688 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20689 *) ac_try_echo=$ac_try;;
20691 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
20692 (eval "$ac_link") 2>&5
20694 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
20695 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20696 { (case "(($ac_try" in
20697 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20698 *) ac_try_echo=$ac_try;;
20700 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
20701 (eval "$ac_try") 2>&5
20703 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
20704 (exit $ac_status); }; }; then
20705 ac_cv_sizeof_long=`cat conftest.val`
20707 echo "$as_me: program exited with status
$ac_status" >&5
20708 echo "$as_me: failed program was
:" >&5
20709 sed 's/^/| /' conftest.$ac_ext >&5
20711 ( exit $ac_status )
20712 if test "$ac_cv_type_long" = yes; then
20713 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(long
)
20714 See \
`config.log' for more details." >&5
20715 echo "$as_me: error: cannot compute sizeof (long)
20716 See \`config.log
' for more details." >&2;}
20717 { (exit 77); exit 77; }; }
20719 ac_cv_sizeof_long=0
20722 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20726 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
20727 echo "${ECHO_T}$ac_cv_sizeof_long" >&6; }
20731 cat >>confdefs.h <<_ACEOF
20732 #define SIZEOF_LONG $ac_cv_sizeof_long
20736 { echo "$as_me:$LINENO: checking for size_t" >&5
20737 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
20738 if test "${ac_cv_type_size_t+set}" = set; then
20739 echo $ECHO_N "(cached) $ECHO_C" >&6
20741 cat >conftest.$ac_ext <<_ACEOF
20744 cat confdefs.h >>conftest.$ac_ext
20745 cat >>conftest.$ac_ext <<_ACEOF
20746 /* end confdefs.h. */
20747 $ac_includes_default
20748 typedef size_t ac__type_new_;
20752 if ((ac__type_new_ *) 0)
20754 if (sizeof (ac__type_new_))
20760 rm -f conftest.$ac_objext
20761 if { (ac_try="$ac_compile"
20762 case "(($ac_try" in
20763 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20764 *) ac_try_echo=$ac_try;;
20766 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20767 (eval "$ac_compile") 2>conftest.er1
20769 grep -v '^
*+' conftest.er1 >conftest.err
20771 cat conftest.err >&5
20772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20773 (exit $ac_status); } && {
20774 test -z "$ac_c_werror_flag" ||
20775 test ! -s conftest.err
20776 } && test -s conftest.$ac_objext; then
20777 ac_cv_type_size_t=yes
20779 echo "$as_me: failed program was:" >&5
20780 sed 's
/^
/| /' conftest.$ac_ext >&5
20782 ac_cv_type_size_t=no
20785 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20787 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
20788 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
20790 # The cast to long int works around a bug in the HP C Compiler
20791 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20792 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20793 # This bug is HP SR number 8606223364.
20794 { echo "$as_me:$LINENO: checking size of size_t" >&5
20795 echo $ECHO_N "checking size of size_t... $ECHO_C" >&6; }
20796 if test "${ac_cv_sizeof_size_t+set}" = set; then
20797 echo $ECHO_N "(cached) $ECHO_C" >&6
20799 if test "$cross_compiling" = yes; then
20800 # Depending upon the size, compute the lo and hi bounds.
20801 cat >conftest.
$ac_ext <<_ACEOF
20804 cat confdefs.h
>>conftest.
$ac_ext
20805 cat >>conftest.
$ac_ext <<_ACEOF
20806 /* end confdefs.h. */
20807 $ac_includes_default
20808 typedef size_t ac__type_sizeof_;
20812 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
20819 rm -f conftest.
$ac_objext
20820 if { (ac_try
="$ac_compile"
20821 case "(($ac_try" in
20822 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
20823 *) ac_try_echo=$ac_try;;
20825 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20826 (eval "$ac_compile") 2>conftest.er1
20828 grep -v '^ *+' conftest.er1 >conftest.err
20830 cat conftest.err >&5
20831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20832 (exit $ac_status); } && {
20833 test -z "$ac_c_werror_flag" ||
20834 test ! -s conftest.err
20835 } && test -s conftest.$ac_objext; then
20838 cat >conftest.$ac_ext <<_ACEOF
20841 cat confdefs.h >>conftest.$ac_ext
20842 cat >>conftest.$ac_ext <<_ACEOF
20843 /* end confdefs.h. */
20844 $ac_includes_default
20845 typedef size_t ac__type_sizeof_;
20849 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20856 rm -f conftest.$ac_objext
20857 if { (ac_try="$ac_compile"
20858 case "(($ac_try" in
20859 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
20860 *) ac_try_echo
=$ac_try;;
20862 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20863 (eval "$ac_compile") 2>conftest.er1
20865 grep -v '^ *+' conftest.er1
>conftest.err
20867 cat conftest.err
>&5
20868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20869 (exit $ac_status); } && {
20870 test -z "$ac_c_werror_flag" ||
20871 test ! -s conftest.err
20872 } && test -s conftest.
$ac_objext; then
20873 ac_hi
=$ac_mid; break
20875 echo "$as_me: failed program was:" >&5
20876 sed 's/^/| /' conftest.
$ac_ext >&5
20878 ac_lo
=`expr $ac_mid + 1`
20879 if test $ac_lo -le $ac_mid; then
20883 ac_mid
=`expr 2 '*' $ac_mid + 1`
20886 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20889 echo "$as_me: failed program was:" >&5
20890 sed 's/^/| /' conftest.
$ac_ext >&5
20892 cat >conftest.
$ac_ext <<_ACEOF
20895 cat confdefs.h
>>conftest.
$ac_ext
20896 cat >>conftest.
$ac_ext <<_ACEOF
20897 /* end confdefs.h. */
20898 $ac_includes_default
20899 typedef size_t ac__type_sizeof_;
20903 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
20910 rm -f conftest.
$ac_objext
20911 if { (ac_try
="$ac_compile"
20912 case "(($ac_try" in
20913 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
20914 *) ac_try_echo=$ac_try;;
20916 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20917 (eval "$ac_compile") 2>conftest.er1
20919 grep -v '^ *+' conftest.er1 >conftest.err
20921 cat conftest.err >&5
20922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20923 (exit $ac_status); } && {
20924 test -z "$ac_c_werror_flag" ||
20925 test ! -s conftest.err
20926 } && test -s conftest.$ac_objext; then
20929 cat >conftest.$ac_ext <<_ACEOF
20932 cat confdefs.h >>conftest.$ac_ext
20933 cat >>conftest.$ac_ext <<_ACEOF
20934 /* end confdefs.h. */
20935 $ac_includes_default
20936 typedef size_t ac__type_sizeof_;
20940 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
20947 rm -f conftest.$ac_objext
20948 if { (ac_try="$ac_compile"
20949 case "(($ac_try" in
20950 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
20951 *) ac_try_echo
=$ac_try;;
20953 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20954 (eval "$ac_compile") 2>conftest.er1
20956 grep -v '^ *+' conftest.er1
>conftest.err
20958 cat conftest.err
>&5
20959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20960 (exit $ac_status); } && {
20961 test -z "$ac_c_werror_flag" ||
20962 test ! -s conftest.err
20963 } && test -s conftest.
$ac_objext; then
20964 ac_lo
=$ac_mid; break
20966 echo "$as_me: failed program was:" >&5
20967 sed 's/^/| /' conftest.
$ac_ext >&5
20969 ac_hi
=`expr '(' $ac_mid ')' - 1`
20970 if test $ac_mid -le $ac_hi; then
20974 ac_mid
=`expr 2 '*' $ac_mid`
20977 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20980 echo "$as_me: failed program was:" >&5
20981 sed 's/^/| /' conftest.
$ac_ext >&5
20986 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20989 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20990 # Binary search between lo and hi bounds.
20991 while test "x$ac_lo" != "x$ac_hi"; do
20992 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20993 cat >conftest.
$ac_ext <<_ACEOF
20996 cat confdefs.h
>>conftest.
$ac_ext
20997 cat >>conftest.
$ac_ext <<_ACEOF
20998 /* end confdefs.h. */
20999 $ac_includes_default
21000 typedef size_t ac__type_sizeof_;
21004 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21011 rm -f conftest.
$ac_objext
21012 if { (ac_try
="$ac_compile"
21013 case "(($ac_try" in
21014 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
21015 *) ac_try_echo=$ac_try;;
21017 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21018 (eval "$ac_compile") 2>conftest.er1
21020 grep -v '^ *+' conftest.er1 >conftest.err
21022 cat conftest.err >&5
21023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21024 (exit $ac_status); } && {
21025 test -z "$ac_c_werror_flag" ||
21026 test ! -s conftest.err
21027 } && test -s conftest.$ac_objext; then
21030 echo "$as_me: failed program was:" >&5
21031 sed 's/^/| /' conftest.$ac_ext >&5
21033 ac_lo=`expr '(' $ac_mid ')' + 1`
21036 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21039 ?*) ac_cv_sizeof_size_t=$ac_lo;;
21040 '') if test "$ac_cv_type_size_t" = yes; then
21041 { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t)
21042 See \`config.log
' for more details." >&5
21043 echo "$as_me: error: cannot compute sizeof (size_t)
21044 See \`config.log' for more details.
" >&2;}
21045 { (exit 77); exit 77; }; }
21047 ac_cv_sizeof_size_t=0
21051 cat >conftest.$ac_ext <<_ACEOF
21054 cat confdefs.h >>conftest.$ac_ext
21055 cat >>conftest.$ac_ext <<_ACEOF
21056 /* end confdefs.h. */
21057 $ac_includes_default
21058 typedef size_t ac__type_sizeof_;
21059 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
21060 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
21062 #include <stdlib.h>
21067 FILE *f = fopen ("conftest.val
", "w
");
21070 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
21072 long int i = longval ();
21073 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21075 fprintf (f, "%ld
\n", i);
21079 unsigned long int i = ulongval ();
21080 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21082 fprintf (f, "%lu
\n", i);
21084 return ferror (f) || fclose (f) != 0;
21090 rm -f conftest$ac_exeext
21091 if { (ac_try="$ac_link"
21092 case "(($ac_try" in
21093 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21094 *) ac_try_echo=$ac_try;;
21096 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21097 (eval "$ac_link") 2>&5
21099 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21100 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21101 { (case "(($ac_try" in
21102 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21103 *) ac_try_echo=$ac_try;;
21105 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21106 (eval "$ac_try") 2>&5
21108 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21109 (exit $ac_status); }; }; then
21110 ac_cv_sizeof_size_t=`cat conftest.val`
21112 echo "$as_me: program exited with status
$ac_status" >&5
21113 echo "$as_me: failed program was
:" >&5
21114 sed 's/^/| /' conftest.$ac_ext >&5
21116 ( exit $ac_status )
21117 if test "$ac_cv_type_size_t" = yes; then
21118 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(size_t
)
21119 See \
`config.log' for more details." >&5
21120 echo "$as_me: error: cannot compute sizeof (size_t)
21121 See \`config.log
' for more details." >&2;}
21122 { (exit 77); exit 77; }; }
21124 ac_cv_sizeof_size_t=0
21127 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21131 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_size_t" >&5
21132 echo "${ECHO_T}$ac_cv_sizeof_size_t" >&6; }
21136 cat >>confdefs.h <<_ACEOF
21137 #define SIZEOF_SIZE_T $ac_cv_sizeof_size_t
21144 { echo "$as_me:$LINENO: checking for long long" >&5
21145 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
21146 if test "${ac_cv_type_long_long+set}" = set; then
21147 echo $ECHO_N "(cached) $ECHO_C" >&6
21149 cat >conftest.$ac_ext <<_ACEOF
21152 cat confdefs.h >>conftest.$ac_ext
21153 cat >>conftest.$ac_ext <<_ACEOF
21154 /* end confdefs.h. */
21155 $ac_includes_default
21156 typedef long long ac__type_new_;
21160 if ((ac__type_new_ *) 0)
21162 if (sizeof (ac__type_new_))
21168 rm -f conftest.$ac_objext
21169 if { (ac_try="$ac_compile"
21170 case "(($ac_try" in
21171 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21172 *) ac_try_echo=$ac_try;;
21174 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21175 (eval "$ac_compile") 2>conftest.er1
21177 grep -v '^
*+' conftest.er1 >conftest.err
21179 cat conftest.err >&5
21180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21181 (exit $ac_status); } && {
21182 test -z "$ac_c_werror_flag" ||
21183 test ! -s conftest.err
21184 } && test -s conftest.$ac_objext; then
21185 ac_cv_type_long_long=yes
21187 echo "$as_me: failed program was:" >&5
21188 sed 's
/^
/| /' conftest.$ac_ext >&5
21190 ac_cv_type_long_long=no
21193 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21195 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
21196 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
21198 # The cast to long int works around a bug in the HP C Compiler
21199 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21200 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21201 # This bug is HP SR number 8606223364.
21202 { echo "$as_me:$LINENO: checking size of long long" >&5
21203 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
21204 if test "${ac_cv_sizeof_long_long+set}" = set; then
21205 echo $ECHO_N "(cached) $ECHO_C" >&6
21207 if test "$cross_compiling" = yes; then
21208 # Depending upon the size, compute the lo and hi bounds.
21209 cat >conftest.
$ac_ext <<_ACEOF
21212 cat confdefs.h
>>conftest.
$ac_ext
21213 cat >>conftest.
$ac_ext <<_ACEOF
21214 /* end confdefs.h. */
21215 $ac_includes_default
21216 typedef long long ac__type_sizeof_;
21220 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
21227 rm -f conftest.
$ac_objext
21228 if { (ac_try
="$ac_compile"
21229 case "(($ac_try" in
21230 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
21231 *) ac_try_echo=$ac_try;;
21233 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21234 (eval "$ac_compile") 2>conftest.er1
21236 grep -v '^ *+' conftest.er1 >conftest.err
21238 cat conftest.err >&5
21239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21240 (exit $ac_status); } && {
21241 test -z "$ac_c_werror_flag" ||
21242 test ! -s conftest.err
21243 } && test -s conftest.$ac_objext; then
21246 cat >conftest.$ac_ext <<_ACEOF
21249 cat confdefs.h >>conftest.$ac_ext
21250 cat >>conftest.$ac_ext <<_ACEOF
21251 /* end confdefs.h. */
21252 $ac_includes_default
21253 typedef long long ac__type_sizeof_;
21257 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21264 rm -f conftest.$ac_objext
21265 if { (ac_try="$ac_compile"
21266 case "(($ac_try" in
21267 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
21268 *) ac_try_echo
=$ac_try;;
21270 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21271 (eval "$ac_compile") 2>conftest.er1
21273 grep -v '^ *+' conftest.er1
>conftest.err
21275 cat conftest.err
>&5
21276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21277 (exit $ac_status); } && {
21278 test -z "$ac_c_werror_flag" ||
21279 test ! -s conftest.err
21280 } && test -s conftest.
$ac_objext; then
21281 ac_hi
=$ac_mid; break
21283 echo "$as_me: failed program was:" >&5
21284 sed 's/^/| /' conftest.
$ac_ext >&5
21286 ac_lo
=`expr $ac_mid + 1`
21287 if test $ac_lo -le $ac_mid; then
21291 ac_mid
=`expr 2 '*' $ac_mid + 1`
21294 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21297 echo "$as_me: failed program was:" >&5
21298 sed 's/^/| /' conftest.
$ac_ext >&5
21300 cat >conftest.
$ac_ext <<_ACEOF
21303 cat confdefs.h
>>conftest.
$ac_ext
21304 cat >>conftest.
$ac_ext <<_ACEOF
21305 /* end confdefs.h. */
21306 $ac_includes_default
21307 typedef long long ac__type_sizeof_;
21311 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
21318 rm -f conftest.
$ac_objext
21319 if { (ac_try
="$ac_compile"
21320 case "(($ac_try" in
21321 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
21322 *) ac_try_echo=$ac_try;;
21324 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21325 (eval "$ac_compile") 2>conftest.er1
21327 grep -v '^ *+' conftest.er1 >conftest.err
21329 cat conftest.err >&5
21330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21331 (exit $ac_status); } && {
21332 test -z "$ac_c_werror_flag" ||
21333 test ! -s conftest.err
21334 } && test -s conftest.$ac_objext; then
21337 cat >conftest.$ac_ext <<_ACEOF
21340 cat confdefs.h >>conftest.$ac_ext
21341 cat >>conftest.$ac_ext <<_ACEOF
21342 /* end confdefs.h. */
21343 $ac_includes_default
21344 typedef long long ac__type_sizeof_;
21348 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
21355 rm -f conftest.$ac_objext
21356 if { (ac_try="$ac_compile"
21357 case "(($ac_try" in
21358 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
21359 *) ac_try_echo
=$ac_try;;
21361 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21362 (eval "$ac_compile") 2>conftest.er1
21364 grep -v '^ *+' conftest.er1
>conftest.err
21366 cat conftest.err
>&5
21367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21368 (exit $ac_status); } && {
21369 test -z "$ac_c_werror_flag" ||
21370 test ! -s conftest.err
21371 } && test -s conftest.
$ac_objext; then
21372 ac_lo
=$ac_mid; break
21374 echo "$as_me: failed program was:" >&5
21375 sed 's/^/| /' conftest.
$ac_ext >&5
21377 ac_hi
=`expr '(' $ac_mid ')' - 1`
21378 if test $ac_mid -le $ac_hi; then
21382 ac_mid
=`expr 2 '*' $ac_mid`
21385 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21388 echo "$as_me: failed program was:" >&5
21389 sed 's/^/| /' conftest.
$ac_ext >&5
21394 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21397 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21398 # Binary search between lo and hi bounds.
21399 while test "x$ac_lo" != "x$ac_hi"; do
21400 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21401 cat >conftest.
$ac_ext <<_ACEOF
21404 cat confdefs.h
>>conftest.
$ac_ext
21405 cat >>conftest.
$ac_ext <<_ACEOF
21406 /* end confdefs.h. */
21407 $ac_includes_default
21408 typedef long long ac__type_sizeof_;
21412 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21419 rm -f conftest.
$ac_objext
21420 if { (ac_try
="$ac_compile"
21421 case "(($ac_try" in
21422 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
21423 *) ac_try_echo=$ac_try;;
21425 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21426 (eval "$ac_compile") 2>conftest.er1
21428 grep -v '^ *+' conftest.er1 >conftest.err
21430 cat conftest.err >&5
21431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21432 (exit $ac_status); } && {
21433 test -z "$ac_c_werror_flag" ||
21434 test ! -s conftest.err
21435 } && test -s conftest.$ac_objext; then
21438 echo "$as_me: failed program was:" >&5
21439 sed 's/^/| /' conftest.$ac_ext >&5
21441 ac_lo=`expr '(' $ac_mid ')' + 1`
21444 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21447 ?*) ac_cv_sizeof_long_long=$ac_lo;;
21448 '') if test "$ac_cv_type_long_long" = yes; then
21449 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
21450 See \`config.log
' for more details." >&5
21451 echo "$as_me: error: cannot compute sizeof (long long)
21452 See \`config.log' for more details.
" >&2;}
21453 { (exit 77); exit 77; }; }
21455 ac_cv_sizeof_long_long=0
21459 cat >conftest.$ac_ext <<_ACEOF
21462 cat confdefs.h >>conftest.$ac_ext
21463 cat >>conftest.$ac_ext <<_ACEOF
21464 /* end confdefs.h. */
21465 $ac_includes_default
21466 typedef long long ac__type_sizeof_;
21467 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
21468 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
21470 #include <stdlib.h>
21475 FILE *f = fopen ("conftest.val
", "w
");
21478 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
21480 long int i = longval ();
21481 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21483 fprintf (f, "%ld
\n", i);
21487 unsigned long int i = ulongval ();
21488 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21490 fprintf (f, "%lu
\n", i);
21492 return ferror (f) || fclose (f) != 0;
21498 rm -f conftest$ac_exeext
21499 if { (ac_try="$ac_link"
21500 case "(($ac_try" in
21501 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21502 *) ac_try_echo=$ac_try;;
21504 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21505 (eval "$ac_link") 2>&5
21507 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21508 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21509 { (case "(($ac_try" in
21510 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21511 *) ac_try_echo=$ac_try;;
21513 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21514 (eval "$ac_try") 2>&5
21516 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21517 (exit $ac_status); }; }; then
21518 ac_cv_sizeof_long_long=`cat conftest.val`
21520 echo "$as_me: program exited with status
$ac_status" >&5
21521 echo "$as_me: failed program was
:" >&5
21522 sed 's/^/| /' conftest.$ac_ext >&5
21524 ( exit $ac_status )
21525 if test "$ac_cv_type_long_long" = yes; then
21526 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(long long
)
21527 See \
`config.log' for more details." >&5
21528 echo "$as_me: error: cannot compute sizeof (long long)
21529 See \`config.log
' for more details." >&2;}
21530 { (exit 77); exit 77; }; }
21532 ac_cv_sizeof_long_long=0
21535 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21539 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
21540 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
21544 cat >>confdefs.h <<_ACEOF
21545 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
21551 { echo "$as_me:$LINENO: checking for long long" >&5
21552 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
21553 if test "${ac_cv_type_long_long+set}" = set; then
21554 echo $ECHO_N "(cached) $ECHO_C" >&6
21556 cat >conftest.$ac_ext <<_ACEOF
21559 cat confdefs.h >>conftest.$ac_ext
21560 cat >>conftest.$ac_ext <<_ACEOF
21561 /* end confdefs.h. */
21562 $ac_includes_default
21563 typedef long long ac__type_new_;
21567 if ((ac__type_new_ *) 0)
21569 if (sizeof (ac__type_new_))
21575 rm -f conftest.$ac_objext
21576 if { (ac_try="$ac_compile"
21577 case "(($ac_try" in
21578 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21579 *) ac_try_echo=$ac_try;;
21581 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21582 (eval "$ac_compile") 2>conftest.er1
21584 grep -v '^
*+' conftest.er1 >conftest.err
21586 cat conftest.err >&5
21587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21588 (exit $ac_status); } && {
21589 test -z "$ac_c_werror_flag" ||
21590 test ! -s conftest.err
21591 } && test -s conftest.$ac_objext; then
21592 ac_cv_type_long_long=yes
21594 echo "$as_me: failed program was:" >&5
21595 sed 's
/^
/| /' conftest.$ac_ext >&5
21597 ac_cv_type_long_long=no
21600 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21602 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
21603 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
21605 # The cast to long int works around a bug in the HP C Compiler
21606 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21607 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21608 # This bug is HP SR number 8606223364.
21609 { echo "$as_me:$LINENO: checking size of long long" >&5
21610 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
21611 if test "${ac_cv_sizeof_long_long+set}" = set; then
21612 echo $ECHO_N "(cached) $ECHO_C" >&6
21614 if test "$cross_compiling" = yes; then
21615 # Depending upon the size, compute the lo and hi bounds.
21616 cat >conftest.
$ac_ext <<_ACEOF
21619 cat confdefs.h
>>conftest.
$ac_ext
21620 cat >>conftest.
$ac_ext <<_ACEOF
21621 /* end confdefs.h. */
21622 $ac_includes_default
21623 typedef long long ac__type_sizeof_;
21627 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
21634 rm -f conftest.
$ac_objext
21635 if { (ac_try
="$ac_compile"
21636 case "(($ac_try" in
21637 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
21638 *) ac_try_echo=$ac_try;;
21640 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21641 (eval "$ac_compile") 2>conftest.er1
21643 grep -v '^ *+' conftest.er1 >conftest.err
21645 cat conftest.err >&5
21646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21647 (exit $ac_status); } && {
21648 test -z "$ac_c_werror_flag" ||
21649 test ! -s conftest.err
21650 } && test -s conftest.$ac_objext; then
21653 cat >conftest.$ac_ext <<_ACEOF
21656 cat confdefs.h >>conftest.$ac_ext
21657 cat >>conftest.$ac_ext <<_ACEOF
21658 /* end confdefs.h. */
21659 $ac_includes_default
21660 typedef long long ac__type_sizeof_;
21664 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21671 rm -f conftest.$ac_objext
21672 if { (ac_try="$ac_compile"
21673 case "(($ac_try" in
21674 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
21675 *) ac_try_echo
=$ac_try;;
21677 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21678 (eval "$ac_compile") 2>conftest.er1
21680 grep -v '^ *+' conftest.er1
>conftest.err
21682 cat conftest.err
>&5
21683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21684 (exit $ac_status); } && {
21685 test -z "$ac_c_werror_flag" ||
21686 test ! -s conftest.err
21687 } && test -s conftest.
$ac_objext; then
21688 ac_hi
=$ac_mid; break
21690 echo "$as_me: failed program was:" >&5
21691 sed 's/^/| /' conftest.
$ac_ext >&5
21693 ac_lo
=`expr $ac_mid + 1`
21694 if test $ac_lo -le $ac_mid; then
21698 ac_mid
=`expr 2 '*' $ac_mid + 1`
21701 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21704 echo "$as_me: failed program was:" >&5
21705 sed 's/^/| /' conftest.
$ac_ext >&5
21707 cat >conftest.
$ac_ext <<_ACEOF
21710 cat confdefs.h
>>conftest.
$ac_ext
21711 cat >>conftest.
$ac_ext <<_ACEOF
21712 /* end confdefs.h. */
21713 $ac_includes_default
21714 typedef long long ac__type_sizeof_;
21718 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
21725 rm -f conftest.
$ac_objext
21726 if { (ac_try
="$ac_compile"
21727 case "(($ac_try" in
21728 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
21729 *) ac_try_echo=$ac_try;;
21731 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21732 (eval "$ac_compile") 2>conftest.er1
21734 grep -v '^ *+' conftest.er1 >conftest.err
21736 cat conftest.err >&5
21737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21738 (exit $ac_status); } && {
21739 test -z "$ac_c_werror_flag" ||
21740 test ! -s conftest.err
21741 } && test -s conftest.$ac_objext; then
21744 cat >conftest.$ac_ext <<_ACEOF
21747 cat confdefs.h >>conftest.$ac_ext
21748 cat >>conftest.$ac_ext <<_ACEOF
21749 /* end confdefs.h. */
21750 $ac_includes_default
21751 typedef long long ac__type_sizeof_;
21755 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
21762 rm -f conftest.$ac_objext
21763 if { (ac_try="$ac_compile"
21764 case "(($ac_try" in
21765 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
21766 *) ac_try_echo
=$ac_try;;
21768 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21769 (eval "$ac_compile") 2>conftest.er1
21771 grep -v '^ *+' conftest.er1
>conftest.err
21773 cat conftest.err
>&5
21774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21775 (exit $ac_status); } && {
21776 test -z "$ac_c_werror_flag" ||
21777 test ! -s conftest.err
21778 } && test -s conftest.
$ac_objext; then
21779 ac_lo
=$ac_mid; break
21781 echo "$as_me: failed program was:" >&5
21782 sed 's/^/| /' conftest.
$ac_ext >&5
21784 ac_hi
=`expr '(' $ac_mid ')' - 1`
21785 if test $ac_mid -le $ac_hi; then
21789 ac_mid
=`expr 2 '*' $ac_mid`
21792 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21795 echo "$as_me: failed program was:" >&5
21796 sed 's/^/| /' conftest.
$ac_ext >&5
21801 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21804 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21805 # Binary search between lo and hi bounds.
21806 while test "x$ac_lo" != "x$ac_hi"; do
21807 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21808 cat >conftest.
$ac_ext <<_ACEOF
21811 cat confdefs.h
>>conftest.
$ac_ext
21812 cat >>conftest.
$ac_ext <<_ACEOF
21813 /* end confdefs.h. */
21814 $ac_includes_default
21815 typedef long long ac__type_sizeof_;
21819 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21826 rm -f conftest.
$ac_objext
21827 if { (ac_try
="$ac_compile"
21828 case "(($ac_try" in
21829 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
21830 *) ac_try_echo=$ac_try;;
21832 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21833 (eval "$ac_compile") 2>conftest.er1
21835 grep -v '^ *+' conftest.er1 >conftest.err
21837 cat conftest.err >&5
21838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21839 (exit $ac_status); } && {
21840 test -z "$ac_c_werror_flag" ||
21841 test ! -s conftest.err
21842 } && test -s conftest.$ac_objext; then
21845 echo "$as_me: failed program was:" >&5
21846 sed 's/^/| /' conftest.$ac_ext >&5
21848 ac_lo=`expr '(' $ac_mid ')' + 1`
21851 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21854 ?*) ac_cv_sizeof_long_long=$ac_lo;;
21855 '') if test "$ac_cv_type_long_long" = yes; then
21856 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
21857 See \`config.log
' for more details." >&5
21858 echo "$as_me: error: cannot compute sizeof (long long)
21859 See \`config.log' for more details.
" >&2;}
21860 { (exit 77); exit 77; }; }
21862 ac_cv_sizeof_long_long=0
21866 cat >conftest.$ac_ext <<_ACEOF
21869 cat confdefs.h >>conftest.$ac_ext
21870 cat >>conftest.$ac_ext <<_ACEOF
21871 /* end confdefs.h. */
21872 $ac_includes_default
21873 typedef long long ac__type_sizeof_;
21874 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
21875 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
21877 #include <stdlib.h>
21882 FILE *f = fopen ("conftest.val
", "w
");
21885 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
21887 long int i = longval ();
21888 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21890 fprintf (f, "%ld
\n", i);
21894 unsigned long int i = ulongval ();
21895 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21897 fprintf (f, "%lu
\n", i);
21899 return ferror (f) || fclose (f) != 0;
21905 rm -f conftest$ac_exeext
21906 if { (ac_try="$ac_link"
21907 case "(($ac_try" in
21908 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21909 *) ac_try_echo=$ac_try;;
21911 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21912 (eval "$ac_link") 2>&5
21914 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21915 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21916 { (case "(($ac_try" in
21917 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21918 *) ac_try_echo=$ac_try;;
21920 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21921 (eval "$ac_try") 2>&5
21923 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21924 (exit $ac_status); }; }; then
21925 ac_cv_sizeof_long_long=`cat conftest.val`
21927 echo "$as_me: program exited with status
$ac_status" >&5
21928 echo "$as_me: failed program was
:" >&5
21929 sed 's/^/| /' conftest.$ac_ext >&5
21931 ( exit $ac_status )
21932 if test "$ac_cv_type_long_long" = yes; then
21933 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(long long
)
21934 See \
`config.log' for more details." >&5
21935 echo "$as_me: error: cannot compute sizeof (long long)
21936 See \`config.log
' for more details." >&2;}
21937 { (exit 77); exit 77; }; }
21939 ac_cv_sizeof_long_long=0
21942 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21946 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
21947 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
21951 cat >>confdefs.h <<_ACEOF
21952 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
21956 if test "$ac_cv_sizeof_long_long" != 0; then
21957 CPPFLAGS="-D_INCLUDE_LONGLONG $CPPFLAGS"
21961 { echo "$as_me:$LINENO: checking for long long" >&5
21962 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
21963 if test "${ac_cv_type_long_long+set}" = set; then
21964 echo $ECHO_N "(cached) $ECHO_C" >&6
21966 cat >conftest.$ac_ext <<_ACEOF
21969 cat confdefs.h >>conftest.$ac_ext
21970 cat >>conftest.$ac_ext <<_ACEOF
21971 /* end confdefs.h. */
21972 $ac_includes_default
21973 typedef long long ac__type_new_;
21977 if ((ac__type_new_ *) 0)
21979 if (sizeof (ac__type_new_))
21985 rm -f conftest.$ac_objext
21986 if { (ac_try="$ac_compile"
21987 case "(($ac_try" in
21988 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21989 *) ac_try_echo=$ac_try;;
21991 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21992 (eval "$ac_compile") 2>conftest.er1
21994 grep -v '^
*+' conftest.er1 >conftest.err
21996 cat conftest.err >&5
21997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21998 (exit $ac_status); } && {
21999 test -z "$ac_c_werror_flag" ||
22000 test ! -s conftest.err
22001 } && test -s conftest.$ac_objext; then
22002 ac_cv_type_long_long=yes
22004 echo "$as_me: failed program was:" >&5
22005 sed 's
/^
/| /' conftest.$ac_ext >&5
22007 ac_cv_type_long_long=no
22010 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22012 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
22013 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
22015 # The cast to long int works around a bug in the HP C Compiler
22016 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
22017 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
22018 # This bug is HP SR number 8606223364.
22019 { echo "$as_me:$LINENO: checking size of long long" >&5
22020 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
22021 if test "${ac_cv_sizeof_long_long+set}" = set; then
22022 echo $ECHO_N "(cached) $ECHO_C" >&6
22024 if test "$cross_compiling" = yes; then
22025 # Depending upon the size, compute the lo and hi bounds.
22026 cat >conftest.
$ac_ext <<_ACEOF
22029 cat confdefs.h
>>conftest.
$ac_ext
22030 cat >>conftest.
$ac_ext <<_ACEOF
22031 /* end confdefs.h. */
22032 $ac_includes_default
22033 typedef long long ac__type_sizeof_;
22037 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
22044 rm -f conftest.
$ac_objext
22045 if { (ac_try
="$ac_compile"
22046 case "(($ac_try" in
22047 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
22048 *) ac_try_echo=$ac_try;;
22050 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22051 (eval "$ac_compile") 2>conftest.er1
22053 grep -v '^ *+' conftest.er1 >conftest.err
22055 cat conftest.err >&5
22056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22057 (exit $ac_status); } && {
22058 test -z "$ac_c_werror_flag" ||
22059 test ! -s conftest.err
22060 } && test -s conftest.$ac_objext; then
22063 cat >conftest.$ac_ext <<_ACEOF
22066 cat confdefs.h >>conftest.$ac_ext
22067 cat >>conftest.$ac_ext <<_ACEOF
22068 /* end confdefs.h. */
22069 $ac_includes_default
22070 typedef long long ac__type_sizeof_;
22074 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22081 rm -f conftest.$ac_objext
22082 if { (ac_try="$ac_compile"
22083 case "(($ac_try" in
22084 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
22085 *) ac_try_echo
=$ac_try;;
22087 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22088 (eval "$ac_compile") 2>conftest.er1
22090 grep -v '^ *+' conftest.er1
>conftest.err
22092 cat conftest.err
>&5
22093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22094 (exit $ac_status); } && {
22095 test -z "$ac_c_werror_flag" ||
22096 test ! -s conftest.err
22097 } && test -s conftest.
$ac_objext; then
22098 ac_hi
=$ac_mid; break
22100 echo "$as_me: failed program was:" >&5
22101 sed 's/^/| /' conftest.
$ac_ext >&5
22103 ac_lo
=`expr $ac_mid + 1`
22104 if test $ac_lo -le $ac_mid; then
22108 ac_mid
=`expr 2 '*' $ac_mid + 1`
22111 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22114 echo "$as_me: failed program was:" >&5
22115 sed 's/^/| /' conftest.
$ac_ext >&5
22117 cat >conftest.
$ac_ext <<_ACEOF
22120 cat confdefs.h
>>conftest.
$ac_ext
22121 cat >>conftest.
$ac_ext <<_ACEOF
22122 /* end confdefs.h. */
22123 $ac_includes_default
22124 typedef long long ac__type_sizeof_;
22128 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
22135 rm -f conftest.
$ac_objext
22136 if { (ac_try
="$ac_compile"
22137 case "(($ac_try" in
22138 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
22139 *) ac_try_echo=$ac_try;;
22141 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22142 (eval "$ac_compile") 2>conftest.er1
22144 grep -v '^ *+' conftest.er1 >conftest.err
22146 cat conftest.err >&5
22147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22148 (exit $ac_status); } && {
22149 test -z "$ac_c_werror_flag" ||
22150 test ! -s conftest.err
22151 } && test -s conftest.$ac_objext; then
22154 cat >conftest.$ac_ext <<_ACEOF
22157 cat confdefs.h >>conftest.$ac_ext
22158 cat >>conftest.$ac_ext <<_ACEOF
22159 /* end confdefs.h. */
22160 $ac_includes_default
22161 typedef long long ac__type_sizeof_;
22165 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
22172 rm -f conftest.$ac_objext
22173 if { (ac_try="$ac_compile"
22174 case "(($ac_try" in
22175 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
22176 *) ac_try_echo
=$ac_try;;
22178 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22179 (eval "$ac_compile") 2>conftest.er1
22181 grep -v '^ *+' conftest.er1
>conftest.err
22183 cat conftest.err
>&5
22184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22185 (exit $ac_status); } && {
22186 test -z "$ac_c_werror_flag" ||
22187 test ! -s conftest.err
22188 } && test -s conftest.
$ac_objext; then
22189 ac_lo
=$ac_mid; break
22191 echo "$as_me: failed program was:" >&5
22192 sed 's/^/| /' conftest.
$ac_ext >&5
22194 ac_hi
=`expr '(' $ac_mid ')' - 1`
22195 if test $ac_mid -le $ac_hi; then
22199 ac_mid
=`expr 2 '*' $ac_mid`
22202 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22205 echo "$as_me: failed program was:" >&5
22206 sed 's/^/| /' conftest.
$ac_ext >&5
22211 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22214 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22215 # Binary search between lo and hi bounds.
22216 while test "x$ac_lo" != "x$ac_hi"; do
22217 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
22218 cat >conftest.
$ac_ext <<_ACEOF
22221 cat confdefs.h
>>conftest.
$ac_ext
22222 cat >>conftest.
$ac_ext <<_ACEOF
22223 /* end confdefs.h. */
22224 $ac_includes_default
22225 typedef long long ac__type_sizeof_;
22229 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22236 rm -f conftest.
$ac_objext
22237 if { (ac_try
="$ac_compile"
22238 case "(($ac_try" in
22239 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
22240 *) ac_try_echo=$ac_try;;
22242 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22243 (eval "$ac_compile") 2>conftest.er1
22245 grep -v '^ *+' conftest.er1 >conftest.err
22247 cat conftest.err >&5
22248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22249 (exit $ac_status); } && {
22250 test -z "$ac_c_werror_flag" ||
22251 test ! -s conftest.err
22252 } && test -s conftest.$ac_objext; then
22255 echo "$as_me: failed program was:" >&5
22256 sed 's/^/| /' conftest.$ac_ext >&5
22258 ac_lo=`expr '(' $ac_mid ')' + 1`
22261 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22264 ?*) ac_cv_sizeof_long_long=$ac_lo;;
22265 '') if test "$ac_cv_type_long_long" = yes; then
22266 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
22267 See \`config.log
' for more details." >&5
22268 echo "$as_me: error: cannot compute sizeof (long long)
22269 See \`config.log' for more details.
" >&2;}
22270 { (exit 77); exit 77; }; }
22272 ac_cv_sizeof_long_long=0
22276 cat >conftest.$ac_ext <<_ACEOF
22279 cat confdefs.h >>conftest.$ac_ext
22280 cat >>conftest.$ac_ext <<_ACEOF
22281 /* end confdefs.h. */
22282 $ac_includes_default
22283 typedef long long ac__type_sizeof_;
22284 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
22285 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
22287 #include <stdlib.h>
22292 FILE *f = fopen ("conftest.val
", "w
");
22295 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
22297 long int i = longval ();
22298 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22300 fprintf (f, "%ld
\n", i);
22304 unsigned long int i = ulongval ();
22305 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22307 fprintf (f, "%lu
\n", i);
22309 return ferror (f) || fclose (f) != 0;
22315 rm -f conftest$ac_exeext
22316 if { (ac_try="$ac_link"
22317 case "(($ac_try" in
22318 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22319 *) ac_try_echo=$ac_try;;
22321 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
22322 (eval "$ac_link") 2>&5
22324 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
22325 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22326 { (case "(($ac_try" in
22327 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22328 *) ac_try_echo=$ac_try;;
22330 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
22331 (eval "$ac_try") 2>&5
22333 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
22334 (exit $ac_status); }; }; then
22335 ac_cv_sizeof_long_long=`cat conftest.val`
22337 echo "$as_me: program exited with status
$ac_status" >&5
22338 echo "$as_me: failed program was
:" >&5
22339 sed 's/^/| /' conftest.$ac_ext >&5
22341 ( exit $ac_status )
22342 if test "$ac_cv_type_long_long" = yes; then
22343 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(long long
)
22344 See \
`config.log' for more details." >&5
22345 echo "$as_me: error: cannot compute sizeof (long long)
22346 See \`config.log
' for more details." >&2;}
22347 { (exit 77); exit 77; }; }
22349 ac_cv_sizeof_long_long=0
22352 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22356 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
22357 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
22361 cat >>confdefs.h <<_ACEOF
22362 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
22368 { echo "$as_me:$LINENO: checking for wchar_t" >&5
22369 echo $ECHO_N "checking for wchar_t... $ECHO_C" >&6; }
22370 if test "${ac_cv_type_wchar_t+set}" = set; then
22371 echo $ECHO_N "(cached) $ECHO_C" >&6
22373 cat >conftest.$ac_ext <<_ACEOF
22376 cat confdefs.h >>conftest.$ac_ext
22377 cat >>conftest.$ac_ext <<_ACEOF
22378 /* end confdefs.h. */
22380 /* DJGPP's wchar_t is now a keyword
in C
++ (still not C though
) */
22381 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
22382 # error "fake wchar_t"
22384 #ifdef HAVE_WCHAR_H
22386 # include <stddef.h>
22388 # include <wchar.h>
22390 #ifdef HAVE_STDLIB_H
22391 # include <stdlib.h>
22397 typedef wchar_t ac__type_new_
;
22401 if ((ac__type_new_
*) 0)
22403 if (sizeof
(ac__type_new_
))
22409 rm -f conftest.
$ac_objext
22410 if { (ac_try
="$ac_compile"
22411 case "(($ac_try" in
22412 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
22413 *) ac_try_echo=$ac_try;;
22415 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22416 (eval "$ac_compile") 2>conftest.er1
22418 grep -v '^ *+' conftest.er1 >conftest.err
22420 cat conftest.err >&5
22421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22422 (exit $ac_status); } && {
22423 test -z "$ac_c_werror_flag" ||
22424 test ! -s conftest.err
22425 } && test -s conftest.$ac_objext; then
22426 ac_cv_type_wchar_t=yes
22428 echo "$as_me: failed program was:" >&5
22429 sed 's/^/| /' conftest.$ac_ext >&5
22431 ac_cv_type_wchar_t=no
22434 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22436 { echo "$as_me:$LINENO: result: $ac_cv_type_wchar_t" >&5
22437 echo "${ECHO_T}$ac_cv_type_wchar_t" >&6; }
22439 # The cast to long int works around a bug in the HP C Compiler
22440 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
22441 # declarations like `int a3
[[(sizeof
(unsigned char
)) >= 0]];'.
22442 # This bug is HP SR number 8606223364.
22443 { echo "$as_me:$LINENO: checking size of wchar_t" >&5
22444 echo $ECHO_N "checking size of wchar_t... $ECHO_C" >&6; }
22445 if test "${ac_cv_sizeof_wchar_t+set}" = set; then
22446 echo $ECHO_N "(cached) $ECHO_C" >&6
22448 if test "$cross_compiling" = yes; then
22449 # Depending upon the size, compute the lo and hi bounds.
22450 cat >conftest.$ac_ext <<_ACEOF
22453 cat confdefs.h >>conftest.$ac_ext
22454 cat >>conftest.$ac_ext <<_ACEOF
22455 /* end confdefs.h. */
22457 /* DJGPP's wchar_t is now a keyword
in C
++ (still not C though
) */
22458 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
22459 # error "fake wchar_t"
22461 #ifdef HAVE_WCHAR_H
22463 # include <stddef.h>
22465 # include <wchar.h>
22467 #ifdef HAVE_STDLIB_H
22468 # include <stdlib.h>
22474 typedef wchar_t ac__type_sizeof_
;
22478 static int test_array
[1 - 2 * !(((long int
) (sizeof
(ac__type_sizeof_
))) >= 0)];
22485 rm -f conftest.
$ac_objext
22486 if { (ac_try
="$ac_compile"
22487 case "(($ac_try" in
22488 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
22489 *) ac_try_echo=$ac_try;;
22491 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22492 (eval "$ac_compile") 2>conftest.er1
22494 grep -v '^ *+' conftest.er1 >conftest.err
22496 cat conftest.err >&5
22497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22498 (exit $ac_status); } && {
22499 test -z "$ac_c_werror_flag" ||
22500 test ! -s conftest.err
22501 } && test -s conftest.$ac_objext; then
22504 cat >conftest.$ac_ext <<_ACEOF
22507 cat confdefs.h >>conftest.$ac_ext
22508 cat >>conftest.$ac_ext <<_ACEOF
22509 /* end confdefs.h. */
22511 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
22512 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
22513 # error "fake wchar_t"
22515 #ifdef HAVE_WCHAR_H
22517 # include <stddef.h>
22519 # include <wchar.h>
22521 #ifdef HAVE_STDLIB_H
22522 # include <stdlib.h>
22528 typedef wchar_t ac__type_sizeof_;
22532 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22539 rm -f conftest.$ac_objext
22540 if { (ac_try="$ac_compile"
22541 case "(($ac_try" in
22542 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
22543 *) ac_try_echo
=$ac_try;;
22545 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22546 (eval "$ac_compile") 2>conftest.er1
22548 grep -v '^ *+' conftest.er1
>conftest.err
22550 cat conftest.err
>&5
22551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22552 (exit $ac_status); } && {
22553 test -z "$ac_c_werror_flag" ||
22554 test ! -s conftest.err
22555 } && test -s conftest.
$ac_objext; then
22556 ac_hi
=$ac_mid; break
22558 echo "$as_me: failed program was:" >&5
22559 sed 's/^/| /' conftest.
$ac_ext >&5
22561 ac_lo
=`expr $ac_mid + 1`
22562 if test $ac_lo -le $ac_mid; then
22566 ac_mid
=`expr 2 '*' $ac_mid + 1`
22569 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22572 echo "$as_me: failed program was:" >&5
22573 sed 's/^/| /' conftest.
$ac_ext >&5
22575 cat >conftest.
$ac_ext <<_ACEOF
22578 cat confdefs.h
>>conftest.
$ac_ext
22579 cat >>conftest.
$ac_ext <<_ACEOF
22580 /* end confdefs.h. */
22582 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
22583 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
22584 # error "fake wchar_t"
22586 #ifdef HAVE_WCHAR_H
22588 # include <stddef.h>
22590 # include <wchar.h>
22592 #ifdef HAVE_STDLIB_H
22593 # include <stdlib.h>
22599 typedef wchar_t ac__type_sizeof_;
22603 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
22610 rm -f conftest.
$ac_objext
22611 if { (ac_try
="$ac_compile"
22612 case "(($ac_try" in
22613 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
22614 *) ac_try_echo=$ac_try;;
22616 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22617 (eval "$ac_compile") 2>conftest.er1
22619 grep -v '^ *+' conftest.er1 >conftest.err
22621 cat conftest.err >&5
22622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22623 (exit $ac_status); } && {
22624 test -z "$ac_c_werror_flag" ||
22625 test ! -s conftest.err
22626 } && test -s conftest.$ac_objext; then
22629 cat >conftest.$ac_ext <<_ACEOF
22632 cat confdefs.h >>conftest.$ac_ext
22633 cat >>conftest.$ac_ext <<_ACEOF
22634 /* end confdefs.h. */
22636 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
22637 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
22638 # error "fake wchar_t"
22640 #ifdef HAVE_WCHAR_H
22642 # include <stddef.h>
22644 # include <wchar.h>
22646 #ifdef HAVE_STDLIB_H
22647 # include <stdlib.h>
22653 typedef wchar_t ac__type_sizeof_;
22657 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
22664 rm -f conftest.$ac_objext
22665 if { (ac_try="$ac_compile"
22666 case "(($ac_try" in
22667 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
22668 *) ac_try_echo
=$ac_try;;
22670 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22671 (eval "$ac_compile") 2>conftest.er1
22673 grep -v '^ *+' conftest.er1
>conftest.err
22675 cat conftest.err
>&5
22676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22677 (exit $ac_status); } && {
22678 test -z "$ac_c_werror_flag" ||
22679 test ! -s conftest.err
22680 } && test -s conftest.
$ac_objext; then
22681 ac_lo
=$ac_mid; break
22683 echo "$as_me: failed program was:" >&5
22684 sed 's/^/| /' conftest.
$ac_ext >&5
22686 ac_hi
=`expr '(' $ac_mid ')' - 1`
22687 if test $ac_mid -le $ac_hi; then
22691 ac_mid
=`expr 2 '*' $ac_mid`
22694 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22697 echo "$as_me: failed program was:" >&5
22698 sed 's/^/| /' conftest.
$ac_ext >&5
22703 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22706 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22707 # Binary search between lo and hi bounds.
22708 while test "x$ac_lo" != "x$ac_hi"; do
22709 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
22710 cat >conftest.
$ac_ext <<_ACEOF
22713 cat confdefs.h
>>conftest.
$ac_ext
22714 cat >>conftest.
$ac_ext <<_ACEOF
22715 /* end confdefs.h. */
22717 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
22718 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
22719 # error "fake wchar_t"
22721 #ifdef HAVE_WCHAR_H
22723 # include <stddef.h>
22725 # include <wchar.h>
22727 #ifdef HAVE_STDLIB_H
22728 # include <stdlib.h>
22734 typedef wchar_t ac__type_sizeof_;
22738 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22745 rm -f conftest.
$ac_objext
22746 if { (ac_try
="$ac_compile"
22747 case "(($ac_try" in
22748 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
22749 *) ac_try_echo=$ac_try;;
22751 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22752 (eval "$ac_compile") 2>conftest.er1
22754 grep -v '^ *+' conftest.er1 >conftest.err
22756 cat conftest.err >&5
22757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22758 (exit $ac_status); } && {
22759 test -z "$ac_c_werror_flag" ||
22760 test ! -s conftest.err
22761 } && test -s conftest.$ac_objext; then
22764 echo "$as_me: failed program was:" >&5
22765 sed 's/^/| /' conftest.$ac_ext >&5
22767 ac_lo=`expr '(' $ac_mid ')' + 1`
22770 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22773 ?*) ac_cv_sizeof_wchar_t=$ac_lo;;
22774 '') if test "$ac_cv_type_wchar_t" = yes; then
22775 { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t)
22776 See \`config.log
' for more details." >&5
22777 echo "$as_me: error: cannot compute sizeof (wchar_t)
22778 See \`config.log' for more details.
" >&2;}
22779 { (exit 77); exit 77; }; }
22781 ac_cv_sizeof_wchar_t=0
22785 cat >conftest.$ac_ext <<_ACEOF
22788 cat confdefs.h >>conftest.$ac_ext
22789 cat >>conftest.$ac_ext <<_ACEOF
22790 /* end confdefs.h. */
22792 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
22793 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
22794 # error "fake wchar_t
"
22796 #ifdef HAVE_WCHAR_H
22798 # include <stddef.h>
22800 # include <wchar.h>
22802 #ifdef HAVE_STDLIB_H
22803 # include <stdlib.h>
22809 typedef wchar_t ac__type_sizeof_;
22810 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
22811 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
22813 #include <stdlib.h>
22818 FILE *f = fopen ("conftest.val
", "w
");
22821 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
22823 long int i = longval ();
22824 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22826 fprintf (f, "%ld
\n", i);
22830 unsigned long int i = ulongval ();
22831 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22833 fprintf (f, "%lu
\n", i);
22835 return ferror (f) || fclose (f) != 0;
22841 rm -f conftest$ac_exeext
22842 if { (ac_try="$ac_link"
22843 case "(($ac_try" in
22844 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22845 *) ac_try_echo=$ac_try;;
22847 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
22848 (eval "$ac_link") 2>&5
22850 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
22851 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22852 { (case "(($ac_try" in
22853 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22854 *) ac_try_echo=$ac_try;;
22856 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
22857 (eval "$ac_try") 2>&5
22859 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
22860 (exit $ac_status); }; }; then
22861 ac_cv_sizeof_wchar_t=`cat conftest.val`
22863 echo "$as_me: program exited with status
$ac_status" >&5
22864 echo "$as_me: failed program was
:" >&5
22865 sed 's/^/| /' conftest.$ac_ext >&5
22867 ( exit $ac_status )
22868 if test "$ac_cv_type_wchar_t" = yes; then
22869 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(wchar_t
)
22870 See \
`config.log' for more details." >&5
22871 echo "$as_me: error: cannot compute sizeof (wchar_t)
22872 See \`config.log
' for more details." >&2;}
22873 { (exit 77); exit 77; }; }
22875 ac_cv_sizeof_wchar_t=0
22878 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22882 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_wchar_t" >&5
22883 echo "${ECHO_T}$ac_cv_sizeof_wchar_t" >&6; }
22887 cat >>confdefs.h <<_ACEOF
22888 #define SIZEOF_WCHAR_T $ac_cv_sizeof_wchar_t
22892 if test "$ac_cv_sizeof_wchar_t" != 0; then
22898 { echo "$as_me:$LINENO: checking for va_copy" >&5
22899 echo $ECHO_N "checking for va_copy... $ECHO_C" >&6; }
22900 if test "${wx_cv_func_va_copy+set}" = set; then
22901 echo $ECHO_N "(cached) $ECHO_C" >&6
22905 ac_cpp='$CXXCPP $CPPFLAGS'
22906 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
22907 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
22908 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22910 cat >conftest.$ac_ext <<_ACEOF
22912 #include <stdarg.h>
22913 void foo(char *f, ...)
22927 rm -f conftest.$ac_objext conftest$ac_exeext
22928 if { (ac_try="$ac_link"
22929 case "(($ac_try" in
22930 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22931 *) ac_try_echo=$ac_try;;
22933 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22934 (eval "$ac_link") 2>conftest.er1
22936 grep -v '^
*+' conftest.er1 >conftest.err
22938 cat conftest.err >&5
22939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22940 (exit $ac_status); } && {
22941 test -z "$ac_cxx_werror_flag" ||
22942 test ! -s conftest.err
22943 } && test -s conftest$ac_exeext &&
22944 $as_test_x conftest$ac_exeext; then
22945 wx_cv_func_va_copy=yes
22947 echo "$as_me: failed program was:" >&5
22948 sed 's
/^
/| /' conftest.$ac_ext >&5
22950 wx_cv_func_va_copy=no
22954 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
22955 conftest$ac_exeext conftest.$ac_ext
22957 ac_cpp='$CPP $CPPFLAGS'
22958 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
22959 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
22960 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22965 { echo "$as_me:$LINENO: result: $wx_cv_func_va_copy" >&5
22966 echo "${ECHO_T}$wx_cv_func_va_copy" >&6; }
22968 if test $wx_cv_func_va_copy = "yes"; then
22969 cat >>confdefs.h <<\_ACEOF
22970 #define HAVE_VA_COPY 1
22974 { echo "$as_me:$LINENO: checking if va_list can be copied by value" >&5
22975 echo $ECHO_N "checking if va_list can be copied by value... $ECHO_C" >&6; }
22976 if test "${wx_cv_type_va_list_lvalue+set}" = set; then
22977 echo $ECHO_N "(cached) $ECHO_C" >&6
22980 if test "$cross_compiling" = yes; then
22981 wx_cv_type_va_list_lvalue=yes
22984 cat >conftest.$ac_ext <<_ACEOF
22986 #include <stdarg.h>
22987 int foo(char *f, ...)
22992 if ( va_arg(ap1, int) != 17 || va_arg(ap2, int) != 17 )
23000 return foo("hi", 17);
23003 rm -f conftest$ac_exeext
23004 if { (ac_try="$ac_link"
23005 case "(($ac_try" in
23006 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23007 *) ac_try_echo=$ac_try;;
23009 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23010 (eval "$ac_link") 2>&5
23012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23013 (exit $ac_status); } && { ac_try='.
/conftest
$ac_exeext'
23014 { (case "(($ac_try" in
23015 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23016 *) ac_try_echo=$ac_try;;
23018 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23019 (eval "$ac_try") 2>&5
23021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23022 (exit $ac_status); }; }; then
23023 wx_cv_type_va_list_lvalue=yes
23025 echo "$as_me: program exited with status $ac_status" >&5
23026 echo "$as_me: failed program was:" >&5
23027 sed 's
/^
/| /' conftest.$ac_ext >&5
23029 ( exit $ac_status )
23030 wx_cv_type_va_list_lvalue=no
23032 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
23039 { echo "$as_me:$LINENO: result: $wx_cv_type_va_list_lvalue" >&5
23040 echo "${ECHO_T}$wx_cv_type_va_list_lvalue" >&6; }
23042 if test $wx_cv_type_va_list_lvalue != "yes"; then
23043 cat >>confdefs.h <<\_ACEOF
23044 #define VA_LIST_IS_ARRAY 1
23050 if test "$wxUSE_VARARG_MACROS" = "yes"; then
23052 { echo "$as_me:$LINENO: checking whether the compiler supports variadic macros" >&5
23053 echo $ECHO_N "checking whether the compiler supports variadic macros... $ECHO_C" >&6; }
23054 if test "${wx_cv_have_variadic_macros+set}" = set; then
23055 echo $ECHO_N "(cached) $ECHO_C" >&6
23059 ac_cpp='$CXXCPP $CPPFLAGS'
23060 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
23061 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
23062 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23064 cat >conftest.$ac_ext <<_ACEOF
23067 cat confdefs.h >>conftest.$ac_ext
23068 cat >>conftest.$ac_ext <<_ACEOF
23069 /* end confdefs.h. */
23072 #define test(fmt, ...) printf(fmt, __VA_ARGS__)
23078 test("%s %d %p", "test", 1, 0);
23085 rm -f conftest.$ac_objext
23086 if { (ac_try="$ac_compile"
23087 case "(($ac_try" in
23088 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23089 *) ac_try_echo=$ac_try;;
23091 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23092 (eval "$ac_compile") 2>conftest.er1
23094 grep -v '^
*+' conftest.er1 >conftest.err
23096 cat conftest.err >&5
23097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23098 (exit $ac_status); } && {
23099 test -z "$ac_cxx_werror_flag" ||
23100 test ! -s conftest.err
23101 } && test -s conftest.$ac_objext; then
23102 wx_cv_have_variadic_macros=yes
23104 echo "$as_me: failed program was:" >&5
23105 sed 's
/^
/| /' conftest.$ac_ext >&5
23107 wx_cv_have_variadic_macros=no
23111 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23113 ac_cpp='$CPP $CPPFLAGS'
23114 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
23115 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
23116 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23121 { echo "$as_me:$LINENO: result: $wx_cv_have_variadic_macros" >&5
23122 echo "${ECHO_T}$wx_cv_have_variadic_macros" >&6; }
23124 if test $wx_cv_have_variadic_macros = "yes"; then
23125 cat >>confdefs.h <<\_ACEOF
23126 #define HAVE_VARIADIC_MACROS 1
23132 # Check whether --enable-largefile was given.
23133 if test "${enable_largefile+set}" = set; then
23134 enableval=$enable_largefile;
23137 if test "$enable_largefile" != no; then
23140 { echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
23141 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6; }
23142 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
23143 echo $ECHO_N "(cached) $ECHO_C" >&6
23146 cat >conftest.$ac_ext <<_ACEOF
23149 cat confdefs.h >>conftest.$ac_ext
23150 cat >>conftest.$ac_ext <<_ACEOF
23151 /* end confdefs.h. */
23152 #define _FILE_OFFSET_BITS 64
23153 #include <sys/types.h>
23158 unsigned int field: sizeof(off_t) == 8;
23165 rm -f conftest.$ac_objext
23166 if { (ac_try="$ac_compile"
23167 case "(($ac_try" in
23168 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23169 *) ac_try_echo=$ac_try;;
23171 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23172 (eval "$ac_compile") 2>conftest.er1
23174 grep -v '^
*+' conftest.er1 >conftest.err
23176 cat conftest.err >&5
23177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23178 (exit $ac_status); } && {
23179 test -z "$ac_c_werror_flag" ||
23180 test ! -s conftest.err
23181 } && test -s conftest.$ac_objext; then
23182 ac_cv_sys_file_offset_bits=64
23184 echo "$as_me: failed program was:" >&5
23185 sed 's
/^
/| /' conftest.$ac_ext >&5
23187 ac_cv_sys_file_offset_bits=no
23190 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23194 { echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
23195 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6; }
23197 if test "$ac_cv_sys_file_offset_bits" != no; then
23199 cat >>confdefs.h <<_ACEOF
23200 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
23205 if test "x$wx_largefile" != "xyes"; then
23207 { echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
23208 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6; }
23209 if test "${ac_cv_sys_large_files+set}" = set; then
23210 echo $ECHO_N "(cached) $ECHO_C" >&6
23213 cat >conftest.$ac_ext <<_ACEOF
23216 cat confdefs.h >>conftest.$ac_ext
23217 cat >>conftest.$ac_ext <<_ACEOF
23218 /* end confdefs.h. */
23219 #define _LARGE_FILES 1
23220 #include <sys/types.h>
23225 unsigned int field: sizeof(off_t) == 8;
23232 rm -f conftest.$ac_objext
23233 if { (ac_try="$ac_compile"
23234 case "(($ac_try" in
23235 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23236 *) ac_try_echo=$ac_try;;
23238 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23239 (eval "$ac_compile") 2>conftest.er1
23241 grep -v '^
*+' conftest.er1 >conftest.err
23243 cat conftest.err >&5
23244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23245 (exit $ac_status); } && {
23246 test -z "$ac_c_werror_flag" ||
23247 test ! -s conftest.err
23248 } && test -s conftest.$ac_objext; then
23249 ac_cv_sys_large_files=1
23251 echo "$as_me: failed program was:" >&5
23252 sed 's
/^
/| /' conftest.$ac_ext >&5
23254 ac_cv_sys_large_files=no
23257 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23261 { echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
23262 echo "${ECHO_T}$ac_cv_sys_large_files" >&6; }
23264 if test "$ac_cv_sys_large_files" != no; then
23266 cat >>confdefs.h <<_ACEOF
23267 #define _LARGE_FILES $ac_cv_sys_large_files
23274 { echo "$as_me:$LINENO: checking if large file support is available" >&5
23275 echo $ECHO_N "checking if large file support is available... $ECHO_C" >&6; }
23276 if test "x$wx_largefile" = "xyes"; then
23277 cat >>confdefs.h <<\_ACEOF
23278 #define HAVE_LARGEFILE_SUPPORT 1
23282 { echo "$as_me:$LINENO: result: $wx_largefile" >&5
23283 echo "${ECHO_T}$wx_largefile" >&6; }
23287 if test "x$wx_largefile" = "xyes"; then
23288 if test "x$ac_cv_sys_file_offset_bits" = "x64"; then
23289 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES"
23291 if test "$USE_HPUX" = 1 -a "$GXX" = "yes"; then
23292 { echo "$as_me:$LINENO: checking if -D__STDC_EXT__ is required" >&5
23293 echo $ECHO_N "checking if -D__STDC_EXT__ is required... $ECHO_C" >&6; }
23294 if test "${wx_cv_STDC_EXT_required+set}" = set; then
23295 echo $ECHO_N "(cached) $ECHO_C" >&6
23299 ac_cpp='$CXXCPP $CPPFLAGS'
23300 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
23301 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
23302 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23304 cat >conftest.$ac_ext <<_ACEOF
23307 cat confdefs.h >>conftest.$ac_ext
23308 cat >>conftest.$ac_ext <<_ACEOF
23309 /* end confdefs.h. */
23315 #ifndef __STDC_EXT__
23323 rm -f conftest.$ac_objext
23324 if { (ac_try="$ac_compile"
23325 case "(($ac_try" in
23326 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23327 *) ac_try_echo=$ac_try;;
23329 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23330 (eval "$ac_compile") 2>conftest.er1
23332 grep -v '^
*+' conftest.er1 >conftest.err
23334 cat conftest.err >&5
23335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23336 (exit $ac_status); } && {
23337 test -z "$ac_cxx_werror_flag" ||
23338 test ! -s conftest.err
23339 } && test -s conftest.$ac_objext; then
23340 wx_cv_STDC_EXT_required=no
23342 echo "$as_me: failed program was:" >&5
23343 sed 's
/^
/| /' conftest.$ac_ext >&5
23345 wx_cv_STDC_EXT_required=yes
23349 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23351 ac_cpp='$CPP $CPPFLAGS'
23352 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
23353 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
23354 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23359 { echo "$as_me:$LINENO: result: $wx_cv_STDC_EXT_required" >&5
23360 echo "${ECHO_T}$wx_cv_STDC_EXT_required" >&6; }
23361 if test "x$wx_cv_STDC_EXT_required" = "xyes"; then
23362 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -D__STDC_EXT__"
23366 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_LARGE_FILES"
23368 { echo "$as_me:$LINENO: checking for _LARGEFILE_SOURCE value needed for large files" >&5
23369 echo $ECHO_N "checking for _LARGEFILE_SOURCE value needed for large files... $ECHO_C" >&6; }
23370 if test "${ac_cv_sys_largefile_source+set}" = set; then
23371 echo $ECHO_N "(cached) $ECHO_C" >&6
23374 cat >conftest.$ac_ext <<_ACEOF
23377 cat confdefs.h >>conftest.$ac_ext
23378 cat >>conftest.$ac_ext <<_ACEOF
23379 /* end confdefs.h. */
23380 #include <sys/types.h> /* for off_t */
23385 int (*fp) (FILE *, off_t, int) = fseeko;
23386 return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
23391 rm -f conftest.$ac_objext conftest$ac_exeext
23392 if { (ac_try="$ac_link"
23393 case "(($ac_try" in
23394 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23395 *) ac_try_echo=$ac_try;;
23397 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23398 (eval "$ac_link") 2>conftest.er1
23400 grep -v '^
*+' conftest.er1 >conftest.err
23402 cat conftest.err >&5
23403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23404 (exit $ac_status); } && {
23405 test -z "$ac_c_werror_flag" ||
23406 test ! -s conftest.err
23407 } && test -s conftest$ac_exeext &&
23408 $as_test_x conftest$ac_exeext; then
23409 ac_cv_sys_largefile_source=no; break
23411 echo "$as_me: failed program was:" >&5
23412 sed 's
/^
/| /' conftest.$ac_ext >&5
23417 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
23418 conftest$ac_exeext conftest.$ac_ext
23419 cat >conftest.$ac_ext <<_ACEOF
23422 cat confdefs.h >>conftest.$ac_ext
23423 cat >>conftest.$ac_ext <<_ACEOF
23424 /* end confdefs.h. */
23425 #define _LARGEFILE_SOURCE 1
23426 #include <sys/types.h> /* for off_t */
23431 int (*fp) (FILE *, off_t, int) = fseeko;
23432 return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
23437 rm -f conftest.$ac_objext conftest$ac_exeext
23438 if { (ac_try="$ac_link"
23439 case "(($ac_try" in
23440 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23441 *) ac_try_echo=$ac_try;;
23443 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23444 (eval "$ac_link") 2>conftest.er1
23446 grep -v '^
*+' conftest.er1 >conftest.err
23448 cat conftest.err >&5
23449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23450 (exit $ac_status); } && {
23451 test -z "$ac_c_werror_flag" ||
23452 test ! -s conftest.err
23453 } && test -s conftest$ac_exeext &&
23454 $as_test_x conftest$ac_exeext; then
23455 ac_cv_sys_largefile_source=1; break
23457 echo "$as_me: failed program was:" >&5
23458 sed 's
/^
/| /' conftest.$ac_ext >&5
23463 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
23464 conftest$ac_exeext conftest.$ac_ext
23465 ac_cv_sys_largefile_source=unknown
23469 { echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_source" >&5
23470 echo "${ECHO_T}$ac_cv_sys_largefile_source" >&6; }
23471 case $ac_cv_sys_largefile_source in #(
23474 cat >>confdefs.h <<_ACEOF
23475 #define _LARGEFILE_SOURCE $ac_cv_sys_largefile_source
23481 # We used to try defining _XOPEN_SOURCE=500 too, to work around a bug
23482 # in glibc 2.1.3, but that breaks too many other things.
23483 # If you want fseeko and ftello with glibc, upgrade to a fixed glibc.
23484 if test $ac_cv_sys_largefile_source != unknown; then
23486 cat >>confdefs.h <<\_ACEOF
23487 #define HAVE_FSEEKO 1
23492 if test "$ac_cv_sys_largefile_source" != no; then
23493 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_LARGEFILE_SOURCE=$ac_cv_sys_largefile_source"
23497 { echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
23498 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6; }
23499 if test "${ac_cv_c_bigendian+set}" = set; then
23500 echo $ECHO_N "(cached) $ECHO_C" >&6
23502 ac_cv_c_bigendian=unknown
23503 # See if sys/param.h defines the BYTE_ORDER macro.
23504 cat >conftest.$ac_ext <<_ACEOF
23507 cat confdefs.h >>conftest.$ac_ext
23508 cat >>conftest.$ac_ext <<_ACEOF
23509 /* end confdefs.h. */
23510 #include <sys/types.h>
23511 #include <sys/param.h>
23516 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
23517 bogus endian macros
23523 rm -f conftest.$ac_objext
23524 if { (ac_try="$ac_compile"
23525 case "(($ac_try" in
23526 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23527 *) ac_try_echo=$ac_try;;
23529 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23530 (eval "$ac_compile") 2>conftest.er1
23532 grep -v '^
*+' conftest.er1 >conftest.err
23534 cat conftest.err >&5
23535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23536 (exit $ac_status); } && {
23537 test -z "$ac_c_werror_flag" ||
23538 test ! -s conftest.err
23539 } && test -s conftest.$ac_objext; then
23540 # It does; now see whether it defined to BIG_ENDIAN or not.
23541 cat >conftest.$ac_ext <<_ACEOF
23544 cat confdefs.h >>conftest.$ac_ext
23545 cat >>conftest.$ac_ext <<_ACEOF
23546 /* end confdefs.h. */
23547 #include <sys/types.h>
23548 #include <sys/param.h>
23553 #if BYTE_ORDER != BIG_ENDIAN
23560 rm -f conftest.$ac_objext
23561 if { (ac_try="$ac_compile"
23562 case "(($ac_try" in
23563 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23564 *) ac_try_echo=$ac_try;;
23566 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23567 (eval "$ac_compile") 2>conftest.er1
23569 grep -v '^
*+' conftest.er1 >conftest.err
23571 cat conftest.err >&5
23572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23573 (exit $ac_status); } && {
23574 test -z "$ac_c_werror_flag" ||
23575 test ! -s conftest.err
23576 } && test -s conftest.$ac_objext; then
23577 ac_cv_c_bigendian=yes
23579 echo "$as_me: failed program was:" >&5
23580 sed 's
/^
/| /' conftest.$ac_ext >&5
23582 ac_cv_c_bigendian=no
23585 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23587 echo "$as_me: failed program was:" >&5
23588 sed 's
/^
/| /' conftest.$ac_ext >&5
23593 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23594 if test $ac_cv_c_bigendian = unknown; then
23595 if test "$cross_compiling" = yes; then
23596 ac_cv_c_bigendian=unknown
23598 cat >conftest.$ac_ext <<_ACEOF
23601 cat confdefs.h >>conftest.$ac_ext
23602 cat >>conftest.$ac_ext <<_ACEOF
23603 /* end confdefs.h. */
23605 /* Are we little or big endian? From Harbison&Steele. */
23609 char c[sizeof (long)];
23612 exit (u.c[sizeof (long) - 1] == 1);
23615 rm -f conftest$ac_exeext
23616 if { (ac_try="$ac_link"
23617 case "(($ac_try" in
23618 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23619 *) ac_try_echo=$ac_try;;
23621 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23622 (eval "$ac_link") 2>&5
23624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23625 (exit $ac_status); } && { ac_try='.
/conftest
$ac_exeext'
23626 { (case "(($ac_try" in
23627 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23628 *) ac_try_echo=$ac_try;;
23630 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23631 (eval "$ac_try") 2>&5
23633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23634 (exit $ac_status); }; }; then
23635 ac_cv_c_bigendian=no
23637 echo "$as_me: program exited with status $ac_status" >&5
23638 echo "$as_me: failed program was:" >&5
23639 sed 's
/^
/| /' conftest.$ac_ext >&5
23641 ( exit $ac_status )
23642 ac_cv_c_bigendian=yes
23644 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
23650 { echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
23651 echo "${ECHO_T}$ac_cv_c_bigendian" >&6; }
23652 if test $ac_cv_c_bigendian = unknown; then
23653 { 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
23654 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;}
23656 if test $ac_cv_c_bigendian = yes; then
23657 cat >>confdefs.h <<\_ACEOF
23658 #define WORDS_BIGENDIAN 1
23667 ac_cpp='$CXXCPP $CPPFLAGS'
23668 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
23669 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
23670 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23674 for ac_header in iostream
23676 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
23677 { echo "$as_me:$LINENO: checking for $ac_header" >&5
23678 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
23679 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
23680 echo $ECHO_N "(cached) $ECHO_C" >&6
23682 cat >conftest.$ac_ext <<_ACEOF
23685 cat confdefs.h >>conftest.$ac_ext
23686 cat >>conftest.$ac_ext <<_ACEOF
23687 /* end confdefs.h. */
23690 #include <$ac_header>
23692 rm -f conftest.$ac_objext
23693 if { (ac_try="$ac_compile"
23694 case "(($ac_try" in
23695 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23696 *) ac_try_echo=$ac_try;;
23698 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23699 (eval "$ac_compile") 2>conftest.er1
23701 grep -v '^
*+' conftest.er1 >conftest.err
23703 cat conftest.err >&5
23704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23705 (exit $ac_status); } && {
23706 test -z "$ac_cxx_werror_flag" ||
23707 test ! -s conftest.err
23708 } && test -s conftest.$ac_objext; then
23709 eval "$as_ac_Header=yes"
23711 echo "$as_me: failed program was:" >&5
23712 sed 's
/^
/| /' conftest.$ac_ext >&5
23714 eval "$as_ac_Header=no"
23717 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23719 ac_res=`eval echo '${'$as_ac_Header'}'`
23720 { echo "$as_me:$LINENO: result: $ac_res" >&5
23721 echo "${ECHO_T}$ac_res" >&6; }
23722 if test `eval echo '${'$as_ac_Header'}'` = yes; then
23723 cat >>confdefs.h <<_ACEOF
23724 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
23732 if test "$ac_cv_header_iostream" = "yes" ; then
23735 cat >>confdefs.h <<\_ACEOF
23736 #define wxUSE_IOSTREAMH 1
23742 ac_cpp='$CPP $CPPFLAGS'
23743 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
23744 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
23745 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23750 { echo "$as_me:$LINENO: checking if C++ compiler supports bool" >&5
23751 echo $ECHO_N "checking if C++ compiler supports bool... $ECHO_C" >&6; }
23752 if test "${wx_cv_cpp_bool+set}" = set; then
23753 echo $ECHO_N "(cached) $ECHO_C" >&6
23758 ac_cpp='$CXXCPP $CPPFLAGS'
23759 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
23760 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
23761 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23764 cat >conftest.$ac_ext <<_ACEOF
23767 cat confdefs.h >>conftest.$ac_ext
23768 cat >>conftest.$ac_ext <<_ACEOF
23769 /* end confdefs.h. */
23784 rm -f conftest.$ac_objext
23785 if { (ac_try="$ac_compile"
23786 case "(($ac_try" in
23787 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23788 *) ac_try_echo=$ac_try;;
23790 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23791 (eval "$ac_compile") 2>conftest.er1
23793 grep -v '^
*+' conftest.er1 >conftest.err
23795 cat conftest.err >&5
23796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23797 (exit $ac_status); } && {
23798 test -z "$ac_cxx_werror_flag" ||
23799 test ! -s conftest.err
23800 } && test -s conftest.$ac_objext; then
23805 echo "$as_me: failed program was:" >&5
23806 sed 's
/^
/| /' conftest.$ac_ext >&5
23814 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23817 ac_cpp='$CPP $CPPFLAGS'
23818 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
23819 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
23820 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23824 { echo "$as_me:$LINENO: result: $wx_cv_cpp_bool" >&5
23825 echo "${ECHO_T}$wx_cv_cpp_bool" >&6; }
23827 if test "$wx_cv_cpp_bool" = "yes"; then
23828 cat >>confdefs.h <<\_ACEOF
23829 #define HAVE_BOOL 1
23836 { echo "$as_me:$LINENO: checking if C++ compiler supports the explicit keyword" >&5
23837 echo $ECHO_N "checking if C++ compiler supports the explicit keyword... $ECHO_C" >&6; }
23838 if test "${wx_cv_explicit+set}" = set; then
23839 echo $ECHO_N "(cached) $ECHO_C" >&6
23844 ac_cpp='$CXXCPP $CPPFLAGS'
23845 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
23846 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
23847 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23850 cat >conftest.$ac_ext <<_ACEOF
23853 cat confdefs.h >>conftest.$ac_ext
23854 cat >>conftest.$ac_ext <<_ACEOF
23855 /* end confdefs.h. */
23857 class Foo { public: explicit Foo(int) {} };
23869 rm -f conftest.$ac_objext
23870 if { (ac_try="$ac_compile"
23871 case "(($ac_try" in
23872 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23873 *) ac_try_echo=$ac_try;;
23875 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23876 (eval "$ac_compile") 2>conftest.er1
23878 grep -v '^
*+' conftest.er1 >conftest.err
23880 cat conftest.err >&5
23881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23882 (exit $ac_status); } && {
23883 test -z "$ac_cxx_werror_flag" ||
23884 test ! -s conftest.err
23885 } && test -s conftest.$ac_objext; then
23887 cat >conftest.$ac_ext <<_ACEOF
23890 cat confdefs.h >>conftest.$ac_ext
23891 cat >>conftest.$ac_ext <<_ACEOF
23892 /* end confdefs.h. */
23894 class Foo { public: explicit Foo(int) {} };
23895 static void TakeFoo(const Foo& foo) { }
23908 rm -f conftest.$ac_objext
23909 if { (ac_try="$ac_compile"
23910 case "(($ac_try" in
23911 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23912 *) ac_try_echo=$ac_try;;
23914 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23915 (eval "$ac_compile") 2>conftest.er1
23917 grep -v '^
*+' conftest.er1 >conftest.err
23919 cat conftest.err >&5
23920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23921 (exit $ac_status); } && {
23922 test -z "$ac_cxx_werror_flag" ||
23923 test ! -s conftest.err
23924 } && test -s conftest.$ac_objext; then
23927 echo "$as_me: failed program was:" >&5
23928 sed 's
/^
/| /' conftest.$ac_ext >&5
23934 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23937 echo "$as_me: failed program was:" >&5
23938 sed 's
/^
/| /' conftest.$ac_ext >&5
23944 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23947 ac_cpp='$CPP $CPPFLAGS'
23948 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
23949 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
23950 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23954 { echo "$as_me:$LINENO: result: $wx_cv_explicit" >&5
23955 echo "${ECHO_T}$wx_cv_explicit" >&6; }
23957 if test "$wx_cv_explicit" = "yes"; then
23958 cat >>confdefs.h <<\_ACEOF
23959 #define HAVE_EXPLICIT 1
23965 { echo "$as_me:$LINENO: checking whether the compiler supports const_cast<>" >&5
23966 echo $ECHO_N "checking whether the compiler supports const_cast<>... $ECHO_C" >&6; }
23967 if test "${ac_cv_cxx_const_cast+set}" = set; then
23968 echo $ECHO_N "(cached) $ECHO_C" >&6
23972 ac_cpp='$CXXCPP $CPPFLAGS'
23973 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
23974 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
23975 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23977 cat >conftest.$ac_ext <<_ACEOF
23980 cat confdefs.h >>conftest.$ac_ext
23981 cat >>conftest.$ac_ext <<_ACEOF
23982 /* end confdefs.h. */
23987 int x = 0;const int& y = x;int& z = const_cast<int&>(y);return z;
23992 rm -f conftest.$ac_objext
23993 if { (ac_try="$ac_compile"
23994 case "(($ac_try" in
23995 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23996 *) ac_try_echo=$ac_try;;
23998 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23999 (eval "$ac_compile") 2>conftest.er1
24001 grep -v '^
*+' conftest.er1 >conftest.err
24003 cat conftest.err >&5
24004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24005 (exit $ac_status); } && {
24006 test -z "$ac_cxx_werror_flag" ||
24007 test ! -s conftest.err
24008 } && test -s conftest.$ac_objext; then
24009 ac_cv_cxx_const_cast=yes
24011 echo "$as_me: failed program was:" >&5
24012 sed 's
/^
/| /' conftest.$ac_ext >&5
24014 ac_cv_cxx_const_cast=no
24017 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24019 ac_cpp='$CPP $CPPFLAGS'
24020 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
24021 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
24022 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24026 { echo "$as_me:$LINENO: result: $ac_cv_cxx_const_cast" >&5
24027 echo "${ECHO_T}$ac_cv_cxx_const_cast" >&6; }
24028 if test "$ac_cv_cxx_const_cast" = yes; then
24030 cat >>confdefs.h <<\_ACEOF
24031 #define HAVE_CONST_CAST
24036 { echo "$as_me:$LINENO: checking whether the compiler supports reinterpret_cast<>" >&5
24037 echo $ECHO_N "checking whether the compiler supports reinterpret_cast<>... $ECHO_C" >&6; }
24038 if test "${ac_cv_cxx_reinterpret_cast+set}" = set; then
24039 echo $ECHO_N "(cached) $ECHO_C" >&6
24043 ac_cpp='$CXXCPP $CPPFLAGS'
24044 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
24045 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
24046 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24048 cat >conftest.$ac_ext <<_ACEOF
24051 cat confdefs.h >>conftest.$ac_ext
24052 cat >>conftest.$ac_ext <<_ACEOF
24053 /* end confdefs.h. */
24054 #include <typeinfo>
24055 class Base { public : Base () {} virtual void f () = 0;};
24056 class Derived : public Base { public : Derived () {} virtual void f () {} };
24057 class Unrelated { public : Unrelated () {} };
24058 int g (Unrelated&) { return 0; }
24063 Derived d;Base& b=d;Unrelated& e=reinterpret_cast<Unrelated&>(b);return g(e);
24068 rm -f conftest.$ac_objext
24069 if { (ac_try="$ac_compile"
24070 case "(($ac_try" in
24071 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24072 *) ac_try_echo=$ac_try;;
24074 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24075 (eval "$ac_compile") 2>conftest.er1
24077 grep -v '^
*+' conftest.er1 >conftest.err
24079 cat conftest.err >&5
24080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24081 (exit $ac_status); } && {
24082 test -z "$ac_cxx_werror_flag" ||
24083 test ! -s conftest.err
24084 } && test -s conftest.$ac_objext; then
24085 ac_cv_cxx_reinterpret_cast=yes
24087 echo "$as_me: failed program was:" >&5
24088 sed 's
/^
/| /' conftest.$ac_ext >&5
24090 ac_cv_cxx_reinterpret_cast=no
24093 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24095 ac_cpp='$CPP $CPPFLAGS'
24096 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
24097 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
24098 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24102 { echo "$as_me:$LINENO: result: $ac_cv_cxx_reinterpret_cast" >&5
24103 echo "${ECHO_T}$ac_cv_cxx_reinterpret_cast" >&6; }
24104 if test "$ac_cv_cxx_reinterpret_cast" = yes; then
24106 cat >>confdefs.h <<\_ACEOF
24107 #define HAVE_REINTERPRET_CAST
24112 { echo "$as_me:$LINENO: checking whether the compiler supports static_cast<>" >&5
24113 echo $ECHO_N "checking whether the compiler supports static_cast<>... $ECHO_C" >&6; }
24114 if test "${ac_cv_cxx_static_cast+set}" = set; then
24115 echo $ECHO_N "(cached) $ECHO_C" >&6
24119 ac_cpp='$CXXCPP $CPPFLAGS'
24120 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
24121 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
24122 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24124 cat >conftest.$ac_ext <<_ACEOF
24127 cat confdefs.h >>conftest.$ac_ext
24128 cat >>conftest.$ac_ext <<_ACEOF
24129 /* end confdefs.h. */
24130 #include <typeinfo>
24131 class Base { public : Base () {} virtual void f () = 0; };
24132 class Derived : public Base { public : Derived () {} virtual void f () {} };
24133 int g (Derived&) { return 0; }
24138 Derived d; Base& b = d; Derived& s = static_cast<Derived&> (b); return g (s);
24143 rm -f conftest.$ac_objext
24144 if { (ac_try="$ac_compile"
24145 case "(($ac_try" in
24146 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24147 *) ac_try_echo=$ac_try;;
24149 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24150 (eval "$ac_compile") 2>conftest.er1
24152 grep -v '^
*+' conftest.er1 >conftest.err
24154 cat conftest.err >&5
24155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24156 (exit $ac_status); } && {
24157 test -z "$ac_cxx_werror_flag" ||
24158 test ! -s conftest.err
24159 } && test -s conftest.$ac_objext; then
24160 ac_cv_cxx_static_cast=yes
24162 echo "$as_me: failed program was:" >&5
24163 sed 's
/^
/| /' conftest.$ac_ext >&5
24165 ac_cv_cxx_static_cast=no
24168 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24170 ac_cpp='$CPP $CPPFLAGS'
24171 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
24172 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
24173 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24177 { echo "$as_me:$LINENO: result: $ac_cv_cxx_static_cast" >&5
24178 echo "${ECHO_T}$ac_cv_cxx_static_cast" >&6; }
24179 if test "$ac_cv_cxx_static_cast" = yes; then
24181 cat >>confdefs.h <<\_ACEOF
24182 #define HAVE_STATIC_CAST
24188 if test "x$SUNCXX" = xyes; then
24189 CXXFLAGS="-features=tmplife $CXXFLAGS"
24192 if test "x$SUNCC" = xyes; then
24193 CFLAGS="-erroff=E_NO_EXPLICIT_TYPE_GIVEN $CFLAGS"
24196 if test "x$SGICC" = "xyes"; then
24197 CFLAGS="-woff 3970 $CFLAGS"
24199 if test "x$SGICXX" = "xyes"; then
24200 CXXFLAGS="-woff 3970 $CXXFLAGS"
24203 if test "x$HPCC" = "xyes"; then
24204 CFLAGS="+W 2011,2450 $CFLAGS"
24206 if test "x$HPCXX" = "xyes"; then
24207 CXXFLAGS="+W 2340 $CXXFLAGS"
24210 if test "x$COMPAQCXX" = "xyes"; then
24211 CXXFLAGS="-w0 -msg_disable basclsnondto,unrimpret,intconlosbit"
24215 ac_cpp='$CXXCPP $CPPFLAGS'
24216 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
24217 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
24218 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24221 if test "$wxUSE_STD_STRING" = "yes" -o "$wxUSE_STL" = "yes"; then
24222 if test "$wxUSE_UNICODE" = "yes"; then
24223 std_string="std::wstring"
24224 char_type="wchar_t"
24226 std_string="std::string"
24230 { echo "$as_me:$LINENO: checking for $std_string in <string>" >&5
24231 echo $ECHO_N "checking for $std_string in <string>... $ECHO_C" >&6; }
24232 if test "${wx_cv_class_stdstring+set}" = set; then
24233 echo $ECHO_N "(cached) $ECHO_C" >&6
24236 cat >conftest.$ac_ext <<_ACEOF
24239 cat confdefs.h >>conftest.$ac_ext
24240 cat >>conftest.$ac_ext <<_ACEOF
24241 /* end confdefs.h. */
24251 rm -f conftest.$ac_objext
24252 if { (ac_try="$ac_compile"
24253 case "(($ac_try" in
24254 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24255 *) ac_try_echo=$ac_try;;
24257 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24258 (eval "$ac_compile") 2>conftest.er1
24260 grep -v '^
*+' conftest.er1 >conftest.err
24262 cat conftest.err >&5
24263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24264 (exit $ac_status); } && {
24265 test -z "$ac_cxx_werror_flag" ||
24266 test ! -s conftest.err
24267 } && test -s conftest.$ac_objext; then
24268 wx_cv_class_stdstring=yes
24270 echo "$as_me: failed program was:" >&5
24271 sed 's
/^
/| /' conftest.$ac_ext >&5
24273 wx_cv_class_stdstring=no
24277 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24281 { echo "$as_me:$LINENO: result: $wx_cv_class_stdstring" >&5
24282 echo "${ECHO_T}$wx_cv_class_stdstring" >&6; }
24284 if test "$wx_cv_class_stdstring" = yes; then
24285 if test "$wxUSE_UNICODE" = "yes"; then
24286 cat >>confdefs.h <<\_ACEOF
24287 #define HAVE_STD_WSTRING 1
24292 { echo "$as_me:$LINENO: checking if std::basic_string<$char_type> works" >&5
24293 echo $ECHO_N "checking if std::basic_string<$char_type> works... $ECHO_C" >&6; }
24294 if test "${wx_cv_class_stdbasicstring+set}" = set; then
24295 echo $ECHO_N "(cached) $ECHO_C" >&6
24298 cat >conftest.$ac_ext <<_ACEOF
24301 cat confdefs.h >>conftest.$ac_ext
24302 cat >>conftest.$ac_ext <<_ACEOF
24303 /* end confdefs.h. */
24305 #ifdef HAVE_WCHAR_H
24307 # include <stddef.h>
24309 # include <wchar.h>
24311 #ifdef HAVE_STDLIB_H
24312 # include <stdlib.h>
24320 std::basic_string<$char_type> foo;
24321 const $char_type* dummy = foo.c_str();
24326 rm -f conftest.$ac_objext
24327 if { (ac_try="$ac_compile"
24328 case "(($ac_try" in
24329 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24330 *) ac_try_echo=$ac_try;;
24332 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24333 (eval "$ac_compile") 2>conftest.er1
24335 grep -v '^
*+' conftest.er1 >conftest.err
24337 cat conftest.err >&5
24338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24339 (exit $ac_status); } && {
24340 test -z "$ac_cxx_werror_flag" ||
24341 test ! -s conftest.err
24342 } && test -s conftest.$ac_objext; then
24343 wx_cv_class_stdbasicstring=yes
24345 echo "$as_me: failed program was:" >&5
24346 sed 's
/^
/| /' conftest.$ac_ext >&5
24348 wx_cv_class_stdbasicstring=no
24352 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24356 { echo "$as_me:$LINENO: result: $wx_cv_class_stdbasicstring" >&5
24357 echo "${ECHO_T}$wx_cv_class_stdbasicstring" >&6; }
24359 if test "$wx_cv_class_stdbasicstring" != yes; then
24360 if test "$wxUSE_STL" = "yes"; then
24361 { { echo "$as_me:$LINENO: error: Can't use
--enable-stl without
$std_string or std
::basic_string
<$char_type>" >&5
24362 echo "$as_me: error
: Can
't use --enable-stl without $std_string or std::basic_string<$char_type>" >&2;}
24363 { (exit 1); exit 1; }; }
24364 elif test "$wxUSE_STD_STRING" = "yes"; then
24365 { { echo "$as_me:$LINENO: error: Can't use
--enable-std_string without
$std_string or std
::basic_string
<$char_type>" >&5
24366 echo "$as_me: error
: Can
't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&2;}
24367 { (exit 1); exit 1; }; }
24369 { echo "$as_me:$LINENO: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&5
24370 echo "$as_me: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&2;}
24371 wxUSE_STD_STRING=no
24377 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
24378 { echo "$as_me:$LINENO: checking for std::istream" >&5
24379 echo $ECHO_N "checking for std::istream... $ECHO_C" >&6; }
24380 if test "${ac_cv_type_std__istream+set}" = set; then
24381 echo $ECHO_N "(cached) $ECHO_C" >&6
24383 cat >conftest.$ac_ext <<_ACEOF
24386 cat confdefs.h >>conftest.$ac_ext
24387 cat >>conftest.$ac_ext <<_ACEOF
24388 /* end confdefs.h. */
24389 #include <iostream>
24391 typedef std::istream ac__type_new_;
24395 if ((ac__type_new_ *) 0)
24397 if (sizeof (ac__type_new_))
24403 rm -f conftest.$ac_objext
24404 if { (ac_try="$ac_compile"
24405 case "(($ac_try" in
24406 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24407 *) ac_try_echo=$ac_try;;
24409 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24410 (eval "$ac_compile") 2>conftest.er1
24412 grep -v '^
*+' conftest.er1 >conftest.err
24414 cat conftest.err >&5
24415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24416 (exit $ac_status); } && {
24417 test -z "$ac_cxx_werror_flag" ||
24418 test ! -s conftest.err
24419 } && test -s conftest.$ac_objext; then
24420 ac_cv_type_std__istream=yes
24422 echo "$as_me: failed program was:" >&5
24423 sed 's
/^
/| /' conftest.$ac_ext >&5
24425 ac_cv_type_std__istream=no
24428 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24430 { echo "$as_me:$LINENO: result: $ac_cv_type_std__istream" >&5
24431 echo "${ECHO_T}$ac_cv_type_std__istream" >&6; }
24432 if test $ac_cv_type_std__istream = yes; then
24434 cat >>confdefs.h <<_ACEOF
24435 #define HAVE_STD__ISTREAM 1
24440 wxUSE_STD_IOSTREAM=no
24442 { echo "$as_me:$LINENO: checking for std::ostream" >&5
24443 echo $ECHO_N "checking for std::ostream... $ECHO_C" >&6; }
24444 if test "${ac_cv_type_std__ostream+set}" = set; then
24445 echo $ECHO_N "(cached) $ECHO_C" >&6
24447 cat >conftest.$ac_ext <<_ACEOF
24450 cat confdefs.h >>conftest.$ac_ext
24451 cat >>conftest.$ac_ext <<_ACEOF
24452 /* end confdefs.h. */
24453 #include <iostream>
24455 typedef std::ostream ac__type_new_;
24459 if ((ac__type_new_ *) 0)
24461 if (sizeof (ac__type_new_))
24467 rm -f conftest.$ac_objext
24468 if { (ac_try="$ac_compile"
24469 case "(($ac_try" in
24470 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24471 *) ac_try_echo=$ac_try;;
24473 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24474 (eval "$ac_compile") 2>conftest.er1
24476 grep -v '^
*+' conftest.er1 >conftest.err
24478 cat conftest.err >&5
24479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24480 (exit $ac_status); } && {
24481 test -z "$ac_cxx_werror_flag" ||
24482 test ! -s conftest.err
24483 } && test -s conftest.$ac_objext; then
24484 ac_cv_type_std__ostream=yes
24486 echo "$as_me: failed program was:" >&5
24487 sed 's
/^
/| /' conftest.$ac_ext >&5
24489 ac_cv_type_std__ostream=no
24492 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24494 { echo "$as_me:$LINENO: result: $ac_cv_type_std__ostream" >&5
24495 echo "${ECHO_T}$ac_cv_type_std__ostream" >&6; }
24496 if test $ac_cv_type_std__ostream = yes; then
24498 cat >>confdefs.h <<_ACEOF
24499 #define HAVE_STD__OSTREAM 1
24504 wxUSE_STD_IOSTREAM=no
24508 if test "$wxUSE_STD_IOSTREAM" != "yes"; then
24509 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
24510 { { echo "$as_me:$LINENO: error: Can't use
--enable-std_iostreams without std
::istream and std
::ostream
" >&5
24511 echo "$as_me: error
: Can
't use --enable-std_iostreams without std::istream and std::ostream" >&2;}
24512 { (exit 1); exit 1; }; }
24514 { echo "$as_me:$LINENO: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&5
24515 echo "$as_me: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&2;}
24520 if test "$wxUSE_STL" = "yes"; then
24521 { echo "$as_me:$LINENO: checking for basic STL functionality" >&5
24522 echo $ECHO_N "checking for basic STL functionality... $ECHO_C" >&6; }
24523 if test "${wx_cv_lib_stl+set}" = set; then
24524 echo $ECHO_N "(cached) $ECHO_C" >&6
24526 cat >conftest.$ac_ext <<_ACEOF
24529 cat confdefs.h >>conftest.$ac_ext
24530 cat >>conftest.$ac_ext <<_ACEOF
24531 /* end confdefs.h. */
24533 #include <functional>
24534 #include <algorithm>
24540 std::vector<int> moo;
24541 std::list<int> foo;
24542 std::vector<int>::iterator it =
24543 std::find_if(moo.begin(), moo.end(),
24544 std::bind2nd(std::less<int>(), 3));
24549 rm -f conftest.$ac_objext
24550 if { (ac_try="$ac_compile"
24551 case "(($ac_try" in
24552 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24553 *) ac_try_echo=$ac_try;;
24555 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24556 (eval "$ac_compile") 2>conftest.er1
24558 grep -v '^
*+' conftest.er1 >conftest.err
24560 cat conftest.err >&5
24561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24562 (exit $ac_status); } && {
24563 test -z "$ac_cxx_werror_flag" ||
24564 test ! -s conftest.err
24565 } && test -s conftest.$ac_objext; then
24568 echo "$as_me: failed program was:" >&5
24569 sed 's
/^
/| /' conftest.$ac_ext >&5
24575 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24578 { echo "$as_me:$LINENO: result: $wx_cv_lib_stl" >&5
24579 echo "${ECHO_T}$wx_cv_lib_stl" >&6; }
24581 if test "$wx_cv_lib_stl" != yes; then
24582 { { echo "$as_me:$LINENO: error: Can't use
--enable-stl as basic STL functionality is missing
" >&5
24583 echo "$as_me: error
: Can
't use --enable-stl as basic STL functionality is missing" >&2;}
24584 { (exit 1); exit 1; }; }
24587 { echo "$as_me:$LINENO: checking for compliant std::string::compare" >&5
24588 echo $ECHO_N "checking for compliant std::string::compare... $ECHO_C" >&6; }
24589 if test "${wx_cv_func_stdstring_compare+set}" = set; then
24590 echo $ECHO_N "(cached) $ECHO_C" >&6
24592 cat >conftest.$ac_ext <<_ACEOF
24595 cat confdefs.h >>conftest.$ac_ext
24596 cat >>conftest.$ac_ext <<_ACEOF
24597 /* end confdefs.h. */
24602 std::string foo, bar;
24604 foo.compare(1, 1, bar);
24605 foo.compare(1, 1, bar, 1, 1);
24607 foo.compare(1, 1, "");
24608 foo.compare(1, 1, "", 2);
24613 rm -f conftest.$ac_objext
24614 if { (ac_try="$ac_compile"
24615 case "(($ac_try" in
24616 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24617 *) ac_try_echo=$ac_try;;
24619 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24620 (eval "$ac_compile") 2>conftest.er1
24622 grep -v '^
*+' conftest.er1 >conftest.err
24624 cat conftest.err >&5
24625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24626 (exit $ac_status); } && {
24627 test -z "$ac_cxx_werror_flag" ||
24628 test ! -s conftest.err
24629 } && test -s conftest.$ac_objext; then
24630 wx_cv_func_stdstring_compare=yes
24632 echo "$as_me: failed program was:" >&5
24633 sed 's
/^
/| /' conftest.$ac_ext >&5
24635 wx_cv_func_stdstring_compare=no
24639 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24642 { echo "$as_me:$LINENO: result: $wx_cv_func_stdstring_compare" >&5
24643 echo "${ECHO_T}$wx_cv_func_stdstring_compare" >&6; }
24645 if test "$wx_cv_func_stdstring_compare" = yes; then
24646 cat >>confdefs.h <<\_ACEOF
24647 #define HAVE_STD_STRING_COMPARE 1
24652 { echo "$as_me:$LINENO: checking for hash_map" >&5
24653 echo $ECHO_N "checking for hash_map... $ECHO_C" >&6; }
24654 if test "${ac_cv_header_hash_map+set}" = set; then
24655 echo $ECHO_N "(cached) $ECHO_C" >&6
24657 cat >conftest.$ac_ext <<_ACEOF
24660 cat confdefs.h >>conftest.$ac_ext
24661 cat >>conftest.$ac_ext <<_ACEOF
24662 /* end confdefs.h. */
24666 #include <hash_map>
24668 rm -f conftest.$ac_objext
24669 if { (ac_try="$ac_compile"
24670 case "(($ac_try" in
24671 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24672 *) ac_try_echo=$ac_try;;
24674 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24675 (eval "$ac_compile") 2>conftest.er1
24677 grep -v '^
*+' conftest.er1 >conftest.err
24679 cat conftest.err >&5
24680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24681 (exit $ac_status); } && {
24682 test -z "$ac_cxx_werror_flag" ||
24683 test ! -s conftest.err
24684 } && test -s conftest.$ac_objext; then
24685 ac_cv_header_hash_map=yes
24687 echo "$as_me: failed program was:" >&5
24688 sed 's
/^
/| /' conftest.$ac_ext >&5
24690 ac_cv_header_hash_map=no
24693 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24695 { echo "$as_me:$LINENO: result: $ac_cv_header_hash_map" >&5
24696 echo "${ECHO_T}$ac_cv_header_hash_map" >&6; }
24697 if test $ac_cv_header_hash_map = yes; then
24698 { echo "$as_me:$LINENO: checking for standard hash_map and hash_set" >&5
24699 echo $ECHO_N "checking for standard hash_map and hash_set... $ECHO_C" >&6; }
24700 if test "${wx_cv_class_stdhashmapset+set}" = set; then
24701 echo $ECHO_N "(cached) $ECHO_C" >&6
24703 cat >conftest.$ac_ext <<_ACEOF
24706 cat confdefs.h >>conftest.$ac_ext
24707 cat >>conftest.$ac_ext <<_ACEOF
24708 /* end confdefs.h. */
24709 #include <hash_map>
24710 #include <hash_set>
24714 std::hash_map<double*, char*, std::hash<double*>, std::equal_to<double*> > test1;
24715 std::hash_set<char*, std::hash<char*>, std::equal_to<char*> > test2;
24720 rm -f conftest.$ac_objext
24721 if { (ac_try="$ac_compile"
24722 case "(($ac_try" in
24723 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24724 *) ac_try_echo=$ac_try;;
24726 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24727 (eval "$ac_compile") 2>conftest.er1
24729 grep -v '^
*+' conftest.er1 >conftest.err
24731 cat conftest.err >&5
24732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24733 (exit $ac_status); } && {
24734 test -z "$ac_cxx_werror_flag" ||
24735 test ! -s conftest.err
24736 } && test -s conftest.$ac_objext; then
24737 wx_cv_class_stdhashmapset=yes
24739 echo "$as_me: failed program was:" >&5
24740 sed 's
/^
/| /' conftest.$ac_ext >&5
24742 wx_cv_class_stdhashmapset=no
24745 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24749 { echo "$as_me:$LINENO: result: $wx_cv_class_stdhashmapset" >&5
24750 echo "${ECHO_T}$wx_cv_class_stdhashmapset" >&6; }
24755 if test "$wx_cv_class_stdhashmapset" = yes; then
24756 cat >>confdefs.h <<\_ACEOF
24757 #define HAVE_HASH_MAP 1
24760 cat >>confdefs.h <<\_ACEOF
24761 #define HAVE_STD_HASH_MAP 1
24766 { echo "$as_me:$LINENO: checking for ext/hash_map" >&5
24767 echo $ECHO_N "checking for ext/hash_map... $ECHO_C" >&6; }
24768 if test "${ac_cv_header_ext_hash_map+set}" = set; then
24769 echo $ECHO_N "(cached) $ECHO_C" >&6
24771 cat >conftest.$ac_ext <<_ACEOF
24774 cat confdefs.h >>conftest.$ac_ext
24775 cat >>conftest.$ac_ext <<_ACEOF
24776 /* end confdefs.h. */
24780 #include <ext/hash_map>
24782 rm -f conftest.$ac_objext
24783 if { (ac_try="$ac_compile"
24784 case "(($ac_try" in
24785 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24786 *) ac_try_echo=$ac_try;;
24788 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24789 (eval "$ac_compile") 2>conftest.er1
24791 grep -v '^
*+' conftest.er1 >conftest.err
24793 cat conftest.err >&5
24794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24795 (exit $ac_status); } && {
24796 test -z "$ac_cxx_werror_flag" ||
24797 test ! -s conftest.err
24798 } && test -s conftest.$ac_objext; then
24799 ac_cv_header_ext_hash_map=yes
24801 echo "$as_me: failed program was:" >&5
24802 sed 's
/^
/| /' conftest.$ac_ext >&5
24804 ac_cv_header_ext_hash_map=no
24807 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24809 { echo "$as_me:$LINENO: result: $ac_cv_header_ext_hash_map" >&5
24810 echo "${ECHO_T}$ac_cv_header_ext_hash_map" >&6; }
24811 if test $ac_cv_header_ext_hash_map = yes; then
24812 { echo "$as_me:$LINENO: checking for GNU hash_map and hash_set" >&5
24813 echo $ECHO_N "checking for GNU hash_map and hash_set... $ECHO_C" >&6; }
24814 if test "${wx_cv_class_gnuhashmapset+set}" = set; then
24815 echo $ECHO_N "(cached) $ECHO_C" >&6
24817 cat >conftest.$ac_ext <<_ACEOF
24820 cat confdefs.h >>conftest.$ac_ext
24821 cat >>conftest.$ac_ext <<_ACEOF
24822 /* end confdefs.h. */
24823 #include <ext/hash_map>
24824 #include <ext/hash_set>
24828 __gnu_cxx::hash_map<double*, char*, __gnu_cxx::hash<double*>, std::equal_to<double*> > test1;
24829 __gnu_cxx::hash_set<char*, __gnu_cxx::hash<char*>, std::equal_to<char*> > test2;
24834 rm -f conftest.$ac_objext
24835 if { (ac_try="$ac_compile"
24836 case "(($ac_try" in
24837 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24838 *) ac_try_echo=$ac_try;;
24840 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24841 (eval "$ac_compile") 2>conftest.er1
24843 grep -v '^
*+' conftest.er1 >conftest.err
24845 cat conftest.err >&5
24846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24847 (exit $ac_status); } && {
24848 test -z "$ac_cxx_werror_flag" ||
24849 test ! -s conftest.err
24850 } && test -s conftest.$ac_objext; then
24851 wx_cv_class_gnuhashmapset=yes
24853 echo "$as_me: failed program was:" >&5
24854 sed 's
/^
/| /' conftest.$ac_ext >&5
24856 wx_cv_class_gnuhashmapset=no
24859 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24863 { echo "$as_me:$LINENO: result: $wx_cv_class_gnuhashmapset" >&5
24864 echo "${ECHO_T}$wx_cv_class_gnuhashmapset" >&6; }
24869 if test "$wx_cv_class_gnuhashmapset" = yes; then
24870 cat >>confdefs.h <<\_ACEOF
24871 #define HAVE_EXT_HASH_MAP 1
24874 cat >>confdefs.h <<\_ACEOF
24875 #define HAVE_GNU_CXX_HASH_MAP 1
24883 if test -n "$GCC"; then
24884 { echo "$as_me:$LINENO: checking for __sync_fetch_and_add and __sync_sub_and_fetch builtins" >&5
24885 echo $ECHO_N "checking for __sync_fetch_and_add and __sync_sub_and_fetch builtins... $ECHO_C" >&6; }
24886 if test "${wx_cv_cc_gcc_atomic_builtins+set}" = set; then
24887 echo $ECHO_N "(cached) $ECHO_C" >&6
24890 cat >conftest.$ac_ext <<_ACEOF
24893 cat confdefs.h >>conftest.$ac_ext
24894 cat >>conftest.$ac_ext <<_ACEOF
24895 /* end confdefs.h. */
24901 unsigned int value=0;
24902 /* wxAtomicInc doesn't use
return value here
*/
24903 __sync_fetch_and_add
(&value
, 2);
24904 __sync_sub_and_fetch
(&value
, 1);
24905 /* but wxAtomicDec does
, so mimic that
: */
24906 unsigned int r2
= __sync_sub_and_fetch
(&value
, 1);
24912 rm -f conftest.
$ac_objext conftest
$ac_exeext
24913 if { (ac_try
="$ac_link"
24914 case "(($ac_try" in
24915 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
24916 *) ac_try_echo=$ac_try;;
24918 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24919 (eval "$ac_link") 2>conftest.er1
24921 grep -v '^ *+' conftest.er1 >conftest.err
24923 cat conftest.err >&5
24924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24925 (exit $ac_status); } && {
24926 test -z "$ac_cxx_werror_flag" ||
24927 test ! -s conftest.err
24928 } && test -s conftest$ac_exeext &&
24929 $as_test_x conftest$ac_exeext; then
24930 wx_cv_cc_gcc_atomic_builtins=yes
24932 echo "$as_me: failed program was:" >&5
24933 sed 's/^/| /' conftest.$ac_ext >&5
24935 wx_cv_cc_gcc_atomic_builtins=no
24938 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24939 conftest$ac_exeext conftest.$ac_ext
24943 { echo "$as_me:$LINENO: result: $wx_cv_cc_gcc_atomic_builtins" >&5
24944 echo "${ECHO_T}$wx_cv_cc_gcc_atomic_builtins" >&6; }
24945 if test $wx_cv_cc_gcc_atomic_builtins = yes; then
24946 cat >>confdefs.h <<\_ACEOF
24947 #define HAVE_GCC_ATOMIC_BUILTINS 1
24955 ac_cpp='$CPP $CPPFLAGS'
24956 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24957 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24958 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24963 /usr/local/include \
24965 /usr/Motif-2.1/include \
24966 /usr/Motif-1.2/include \
24967 /usr/include/Motif1.2 \
24970 /usr/openwin/include \
24974 /usr/X11R6/include \
24975 /usr/X11R6.4/include \
24976 /usr/X11R5/include \
24977 /usr/X11R4/include \
24979 /usr/include/X11R6 \
24980 /usr/include/X11R5 \
24981 /usr/include/X11R4 \
24983 /usr/local/X11R6/include \
24984 /usr/local/X11R5/include \
24985 /usr/local/X11R4/include \
24987 /usr/local/include/X11R6 \
24988 /usr/local/include/X11R5 \
24989 /usr/local/include/X11R4 \
24993 /usr/local/X11/include \
24994 /usr/local/include/X11 \
24996 /usr/XFree86/include/X11 \
24999 /usr/openwin/share/include"
25001 { echo "$as_me:$LINENO: checking for libraries directory" >&5
25002 echo $ECHO_N "checking for libraries directory... $ECHO_C" >&6; }
25006 if test "${wx_cv_std_libpath+set}" = set; then
25007 echo $ECHO_N "(cached) $ECHO_C" >&6
25010 for d in /usr/lib /usr/lib32 /usr/lib/64 /usr/lib64; do
25011 for e in a so sl dylib dll.a; do
25013 if test -f $libc; then
25016 cat >conftest.$ac_ext <<_ACEOF
25017 int main() { return 0; }
25019 rm -f conftest.$ac_objext conftest$ac_exeext
25020 if { (ac_try="$ac_link"
25021 case "(($ac_try" in
25022 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
25023 *) ac_try_echo
=$ac_try;;
25025 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25026 (eval "$ac_link") 2>conftest.er1
25028 grep -v '^ *+' conftest.er1
>conftest.err
25030 cat conftest.err
>&5
25031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25032 (exit $ac_status); } && {
25033 test -z "$ac_c_werror_flag" ||
25034 test ! -s conftest.err
25035 } && test -s conftest
$ac_exeext &&
25036 $as_test_x conftest
$ac_exeext; then
25037 wx_cv_std_libpath
=`echo $d | sed s@/usr/@@`
25039 echo "$as_me: failed program was:" >&5
25040 sed 's/^/| /' conftest.
$ac_ext >&5
25045 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
25046 conftest
$ac_exeext conftest.
$ac_ext
25048 if test "x$wx_cv_std_libpath" != "x"; then
25054 if test "x$wx_cv_std_libpath" = "x"; then
25055 wx_cv_std_libpath
="lib"
25064 if test "$ac_cv_sizeof_void_p" = 8 -a -d "/usr/lib/64"; then
25065 wx_cv_std_libpath
="lib/64"
25067 wx_cv_std_libpath
="lib"
25072 if test "$ac_cv_sizeof_void_p" = 8 -a \
25073 -d "/usr/lib64" -a ! -h "/usr/lib64"; then
25074 wx_cv_std_libpath
="lib64"
25076 wx_cv_std_libpath
="lib"
25081 wx_cv_std_libpath
="lib";
25085 { echo "$as_me:$LINENO: result: $wx_cv_std_libpath" >&5
25086 echo "${ECHO_T}$wx_cv_std_libpath" >&6; }
25088 SEARCH_LIB
="`echo "$SEARCH_INCLUDE" | sed s@include@$wx_cv_std_libpath@g` /usr/$wx_cv_std_libpath"
25090 if test "$build" != "$host" -a "$GCC" = yes; then
25091 if cross_root
=`$CC -print-prog-name=ld 2>/dev/null`; then
25092 cross_root
=`dirname $cross_root`
25093 cross_root
=`dirname $cross_root`
25095 SEARCH_LIB
=`for x in $SEARCH_LIB; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
25096 SEARCH_INCLUDE
=`for x in $SEARCH_INCLUDE; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
25097 SEARCH_INCLUDE
="$SEARCH_INCLUDE $cross_root/include"
25099 if test -z "$PKG_CONFIG_PATH"; then
25100 PKG_CONFIG_PATH
="$cross_root/local/lib/pkgconfig:$cross_root/lib/pkgconfig"
25101 export PKG_CONFIG_PATH
25104 if test -z "$x_includes" -o "$x_includes" = NONE
; then
25107 for ac_dir
in $SEARCH_INCLUDE /usr
/include
;
25109 if test -f "$ac_dir/X11/Intrinsic.h"; then
25110 ac_find_includes
=$ac_dir
25115 x_includes
=$ac_find_includes
25117 if test -z "$x_libraries" -o "$x_libraries" = NONE
; then
25120 for ac_dir
in $SEARCH_LIB;
25122 for ac_extension
in a so sl dylib dll.a
; do
25123 if test -f "$ac_dir/libXt.$ac_extension"; then
25124 ac_find_libraries
=$ac_dir
25130 x_libraries
=$ac_find_libraries
25136 cat >confcache
<<\_ACEOF
25137 # This file is a shell script that caches the results of configure
25138 # tests run on this system so they can be shared between configure
25139 # scripts and configure runs, see configure's option --config-cache.
25140 # It is not useful on other systems. If it contains results you don't
25141 # want to keep, you may remove or edit it.
25143 # config.status only pays attention to the cache file if you give it
25144 # the --recheck option to rerun configure.
25146 # `ac_cv_env_foo' variables (set or unset) will be overridden when
25147 # loading this file, other *unset* `ac_cv_foo' will be assigned the
25148 # following values.
25152 # The following way of writing the cache mishandles newlines in values,
25153 # but we know of no workaround that is simple, portable, and efficient.
25154 # So, we kill variables containing newlines.
25155 # Ultrix sh set writes to stderr and can't be redirected directly,
25156 # and sets the high bit in the cache file unless we assign to the vars.
25158 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
25159 eval ac_val
=\$
$ac_var
25163 *_cv_
*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
25164 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
25167 _
| IFS
| as_nl
) ;; #(
25168 *) $as_unset $ac_var ;;
25174 case $as_nl`(ac_space=' '; set) 2>&1` in #(
25175 *${as_nl}ac_space
=\
*)
25176 # `set' does not quote correctly, so add quotes (double-quote
25177 # substitution turns \\\\ into \\, and sed turns \\ into \).
25180 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
25183 # `set' quotes correctly as required by POSIX, so do not add quotes.
25184 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
25193 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
25195 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
25197 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
25198 if test -w "$cache_file"; then
25199 test "x$cache_file" != "x/dev/null" &&
25200 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
25201 echo "$as_me: updating cache $cache_file" >&6;}
25202 cat confcache
>$cache_file
25204 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
25205 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
25210 if test "$USE_LINUX" = 1 -o "$USE_GNU" = 1; then
25211 { echo "$as_me:$LINENO: checking for glibc 2.1 or later" >&5
25212 echo $ECHO_N "checking for glibc 2.1 or later... $ECHO_C" >&6; }
25213 if test "${wx_cv_lib_glibc21+set}" = set; then
25214 echo $ECHO_N "(cached) $ECHO_C" >&6
25217 cat >conftest.
$ac_ext <<_ACEOF
25220 cat confdefs.h
>>conftest.
$ac_ext
25221 cat >>conftest.
$ac_ext <<_ACEOF
25222 /* end confdefs.h. */
25223 #include <features.h>
25228 #if (__GLIBC__ < 2) || (__GLIBC_MINOR__ < 1)
25236 rm -f conftest.
$ac_objext
25237 if { (ac_try
="$ac_compile"
25238 case "(($ac_try" in
25239 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
25240 *) ac_try_echo=$ac_try;;
25242 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25243 (eval "$ac_compile") 2>conftest.er1
25245 grep -v '^ *+' conftest.er1 >conftest.err
25247 cat conftest.err >&5
25248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25249 (exit $ac_status); } && {
25250 test -z "$ac_c_werror_flag" ||
25251 test ! -s conftest.err
25252 } && test -s conftest.$ac_objext; then
25254 wx_cv_lib_glibc21=yes
25257 echo "$as_me: failed program was:" >&5
25258 sed 's/^/| /' conftest.$ac_ext >&5
25261 wx_cv_lib_glibc21=no
25266 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25269 { echo "$as_me:$LINENO: result: $wx_cv_lib_glibc21" >&5
25270 echo "${ECHO_T}$wx_cv_lib_glibc21" >&6; }
25271 if test "$wx_cv_lib_glibc21" = "yes"; then
25272 cat >>confdefs.h <<\_ACEOF
25273 #define wxHAVE_GLIBC2 1
25279 if test "x$wx_cv_lib_glibc21" = "xyes"; then
25280 if test "$wxUSE_UNICODE" = "yes" -o "$wxUSE_THREADS" = "yes"; then
25281 cat >>confdefs.h <<\_ACEOF
25282 #define _GNU_SOURCE 1
25293 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25294 { echo "$as_me:$LINENO: checking for $ac_func" >&5
25295 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
25296 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
25297 echo $ECHO_N "(cached) $ECHO_C" >&6
25299 cat >conftest.$ac_ext <<_ACEOF
25302 cat confdefs.h >>conftest.$ac_ext
25303 cat >>conftest.$ac_ext <<_ACEOF
25304 /* end confdefs.h. */
25305 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25306 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25307 #define $ac_func innocuous_$ac_func
25309 /* System header to define __stub macros and hopefully few prototypes,
25310 which can conflict with char $ac_func (); below.
25311 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25312 <limits.h> exists even on freestanding compilers. */
25315 # include <limits.h>
25317 # include <assert.h>
25322 /* Override any GCC internal prototype to avoid an error.
25323 Use char because int might match the return type of a GCC
25324 builtin and then its argument prototype would still apply. */
25329 /* The GNU C library defines this for functions which it implements
25330 to always fail with ENOSYS. Some functions are actually named
25331 something starting with __ and the normal name is an alias. */
25332 #if defined __stub_$ac_func || defined __stub___$ac_func
25339 return $ac_func ();
25344 rm -f conftest.$ac_objext conftest$ac_exeext
25345 if { (ac_try="$ac_link"
25346 case "(($ac_try" in
25347 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
25348 *) ac_try_echo
=$ac_try;;
25350 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25351 (eval "$ac_link") 2>conftest.er1
25353 grep -v '^ *+' conftest.er1
>conftest.err
25355 cat conftest.err
>&5
25356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25357 (exit $ac_status); } && {
25358 test -z "$ac_c_werror_flag" ||
25359 test ! -s conftest.err
25360 } && test -s conftest
$ac_exeext &&
25361 $as_test_x conftest
$ac_exeext; then
25362 eval "$as_ac_var=yes"
25364 echo "$as_me: failed program was:" >&5
25365 sed 's/^/| /' conftest.
$ac_ext >&5
25367 eval "$as_ac_var=no"
25370 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
25371 conftest
$ac_exeext conftest.
$ac_ext
25373 ac_res
=`eval echo '${'$as_ac_var'}'`
25374 { echo "$as_me:$LINENO: result: $ac_res" >&5
25375 echo "${ECHO_T}$ac_res" >&6; }
25376 if test `eval echo '${'$as_ac_var'}'` = yes; then
25377 cat >>confdefs.h
<<_ACEOF
25378 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25385 for ac_func
in floor
25387 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25388 { echo "$as_me:$LINENO: checking for $ac_func" >&5
25389 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
25390 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
25391 echo $ECHO_N "(cached) $ECHO_C" >&6
25393 cat >conftest.
$ac_ext <<_ACEOF
25396 cat confdefs.h
>>conftest.
$ac_ext
25397 cat >>conftest.
$ac_ext <<_ACEOF
25398 /* end confdefs.h. */
25399 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25400 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25401 #define $ac_func innocuous_$ac_func
25403 /* System header to define __stub macros and hopefully few prototypes,
25404 which can conflict with char $ac_func (); below.
25405 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25406 <limits.h> exists even on freestanding compilers. */
25409 # include <limits.h>
25411 # include <assert.h>
25416 /* Override any GCC internal prototype to avoid an error.
25417 Use char because int might match the return type of a GCC
25418 builtin and then its argument prototype would still apply. */
25423 /* The GNU C library defines this for functions which it implements
25424 to always fail with ENOSYS. Some functions are actually named
25425 something starting with __ and the normal name is an alias. */
25426 #if defined __stub_$ac_func || defined __stub___$ac_func
25433 return $ac_func ();
25438 rm -f conftest.
$ac_objext conftest
$ac_exeext
25439 if { (ac_try
="$ac_link"
25440 case "(($ac_try" in
25441 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
25442 *) ac_try_echo=$ac_try;;
25444 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25445 (eval "$ac_link") 2>conftest.er1
25447 grep -v '^ *+' conftest.er1 >conftest.err
25449 cat conftest.err >&5
25450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25451 (exit $ac_status); } && {
25452 test -z "$ac_c_werror_flag" ||
25453 test ! -s conftest.err
25454 } && test -s conftest$ac_exeext &&
25455 $as_test_x conftest$ac_exeext; then
25456 eval "$as_ac_var=yes"
25458 echo "$as_me: failed program was:" >&5
25459 sed 's/^/| /' conftest.$ac_ext >&5
25461 eval "$as_ac_var=no"
25464 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25465 conftest$ac_exeext conftest.$ac_ext
25467 ac_res=`eval echo '${'$as_ac_var'}'`
25468 { echo "$as_me:$LINENO: result: $ac_res" >&5
25469 echo "${ECHO_T}$ac_res" >&6; }
25470 if test `eval echo '${'$as_ac_var'}'` = yes; then
25471 cat >>confdefs.h <<_ACEOF
25472 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25478 { echo "$as_me:$LINENO: checking if floating point functions link without -lm" >&5
25479 echo $ECHO_N "checking if floating point functions link without -lm... $ECHO_C" >&6; }
25480 if test "$have_cos" = 1 -a "$have_floor" = 1; then
25481 { echo "$as_me:$LINENO: result: yes" >&5
25482 echo "${ECHO_T}yes" >&6; }
25484 { echo "$as_me:$LINENO: result: no" >&5
25485 echo "${ECHO_T}no" >&6; }
25487 # use different functions to avoid configure caching
25493 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25494 { echo "$as_me:$LINENO: checking for $ac_func" >&5
25495 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
25496 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
25497 echo $ECHO_N "(cached) $ECHO_C" >&6
25499 cat >conftest.$ac_ext <<_ACEOF
25502 cat confdefs.h >>conftest.$ac_ext
25503 cat >>conftest.$ac_ext <<_ACEOF
25504 /* end confdefs.h. */
25505 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25506 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25507 #define $ac_func innocuous_$ac_func
25509 /* System header to define __stub macros and hopefully few prototypes,
25510 which can conflict with char $ac_func (); below.
25511 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25512 <limits.h> exists even on freestanding compilers. */
25515 # include <limits.h>
25517 # include <assert.h>
25522 /* Override any GCC internal prototype to avoid an error.
25523 Use char because int might match the return type of a GCC
25524 builtin and then its argument prototype would still apply. */
25529 /* The GNU C library defines this for functions which it implements
25530 to always fail with ENOSYS. Some functions are actually named
25531 something starting with __ and the normal name is an alias. */
25532 #if defined __stub_$ac_func || defined __stub___$ac_func
25539 return $ac_func ();
25544 rm -f conftest.$ac_objext conftest$ac_exeext
25545 if { (ac_try="$ac_link"
25546 case "(($ac_try" in
25547 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
25548 *) ac_try_echo
=$ac_try;;
25550 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25551 (eval "$ac_link") 2>conftest.er1
25553 grep -v '^ *+' conftest.er1
>conftest.err
25555 cat conftest.err
>&5
25556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25557 (exit $ac_status); } && {
25558 test -z "$ac_c_werror_flag" ||
25559 test ! -s conftest.err
25560 } && test -s conftest
$ac_exeext &&
25561 $as_test_x conftest
$ac_exeext; then
25562 eval "$as_ac_var=yes"
25564 echo "$as_me: failed program was:" >&5
25565 sed 's/^/| /' conftest.
$ac_ext >&5
25567 eval "$as_ac_var=no"
25570 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
25571 conftest
$ac_exeext conftest.
$ac_ext
25573 ac_res
=`eval echo '${'$as_ac_var'}'`
25574 { echo "$as_me:$LINENO: result: $ac_res" >&5
25575 echo "${ECHO_T}$ac_res" >&6; }
25576 if test `eval echo '${'$as_ac_var'}'` = yes; then
25577 cat >>confdefs.h
<<_ACEOF
25578 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25585 for ac_func
in ceil
25587 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25588 { echo "$as_me:$LINENO: checking for $ac_func" >&5
25589 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
25590 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
25591 echo $ECHO_N "(cached) $ECHO_C" >&6
25593 cat >conftest.
$ac_ext <<_ACEOF
25596 cat confdefs.h
>>conftest.
$ac_ext
25597 cat >>conftest.
$ac_ext <<_ACEOF
25598 /* end confdefs.h. */
25599 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25600 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25601 #define $ac_func innocuous_$ac_func
25603 /* System header to define __stub macros and hopefully few prototypes,
25604 which can conflict with char $ac_func (); below.
25605 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25606 <limits.h> exists even on freestanding compilers. */
25609 # include <limits.h>
25611 # include <assert.h>
25616 /* Override any GCC internal prototype to avoid an error.
25617 Use char because int might match the return type of a GCC
25618 builtin and then its argument prototype would still apply. */
25623 /* The GNU C library defines this for functions which it implements
25624 to always fail with ENOSYS. Some functions are actually named
25625 something starting with __ and the normal name is an alias. */
25626 #if defined __stub_$ac_func || defined __stub___$ac_func
25633 return $ac_func ();
25638 rm -f conftest.
$ac_objext conftest
$ac_exeext
25639 if { (ac_try
="$ac_link"
25640 case "(($ac_try" in
25641 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
25642 *) ac_try_echo=$ac_try;;
25644 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25645 (eval "$ac_link") 2>conftest.er1
25647 grep -v '^ *+' conftest.er1 >conftest.err
25649 cat conftest.err >&5
25650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25651 (exit $ac_status); } && {
25652 test -z "$ac_c_werror_flag" ||
25653 test ! -s conftest.err
25654 } && test -s conftest$ac_exeext &&
25655 $as_test_x conftest$ac_exeext; then
25656 eval "$as_ac_var=yes"
25658 echo "$as_me: failed program was:" >&5
25659 sed 's/^/| /' conftest.$ac_ext >&5
25661 eval "$as_ac_var=no"
25664 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25665 conftest$ac_exeext conftest.$ac_ext
25667 ac_res=`eval echo '${'$as_ac_var'}'`
25668 { echo "$as_me:$LINENO: result: $ac_res" >&5
25669 echo "${ECHO_T}$ac_res" >&6; }
25670 if test `eval echo '${'$as_ac_var'}'` = yes; then
25671 cat >>confdefs.h <<_ACEOF
25672 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25678 { echo "$as_me:$LINENO: checking if floating point functions link with -lm" >&5
25679 echo $ECHO_N "checking if floating point functions link with -lm... $ECHO_C" >&6; }
25680 if test "$have_sin" = 1 -a "$have_ceil" = 1; then
25681 { echo "$as_me:$LINENO: result: yes" >&5
25682 echo "${ECHO_T}yes" >&6; }
25684 { echo "$as_me:$LINENO: result: no" >&5
25685 echo "${ECHO_T}no" >&6; }
25686 # not sure we should warn the user, crash, etc.
25691 ac_cpp='$CXXCPP $CPPFLAGS'
25692 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25693 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25694 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25696 if test "wxUSE_UNICODE" = "yes"; then
25698 for wx_func in wcstoull
25700 { echo "$as_me:$LINENO: checking for $wx_func" >&5
25701 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
25702 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
25703 echo $ECHO_N "(cached) $ECHO_C" >&6
25706 cat >conftest.$ac_ext <<_ACEOF
25710 cat confdefs.h >>conftest.$ac_ext
25711 cat >>conftest.$ac_ext <<_ACEOF
25712 /* end confdefs.h. */
25715 $ac_includes_default
25731 rm -f conftest.$ac_objext conftest$ac_exeext
25732 if { (ac_try="$ac_link"
25733 case "(($ac_try" in
25734 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
25735 *) ac_try_echo
=$ac_try;;
25737 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25738 (eval "$ac_link") 2>conftest.er1
25740 grep -v '^ *+' conftest.er1
>conftest.err
25742 cat conftest.err
>&5
25743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25744 (exit $ac_status); } && {
25745 test -z "$ac_cxx_werror_flag" ||
25746 test ! -s conftest.err
25747 } && test -s conftest
$ac_exeext &&
25748 $as_test_x conftest
$ac_exeext; then
25749 eval wx_cv_func_
$wx_func=yes
25751 echo "$as_me: failed program was:" >&5
25752 sed 's/^/| /' conftest.
$ac_ext >&5
25754 eval wx_cv_func_
$wx_func=no
25757 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
25758 conftest
$ac_exeext conftest.
$ac_ext
25761 ac_res
=`eval echo '${'wx_cv_func_$wx_func'}'`
25762 { echo "$as_me:$LINENO: result: $ac_res" >&5
25763 echo "${ECHO_T}$ac_res" >&6; }
25765 if eval test \
$wx_cv_func_$wx_func = yes
25767 cat >>confdefs.h
<<_ACEOF
25768 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
25780 for wx_func
in strtoull
25782 { echo "$as_me:$LINENO: checking for $wx_func" >&5
25783 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
25784 if { as_var
=wx_cv_func_
$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
25785 echo $ECHO_N "(cached) $ECHO_C" >&6
25788 cat >conftest.
$ac_ext <<_ACEOF
25792 cat confdefs.h
>>conftest.
$ac_ext
25793 cat >>conftest.
$ac_ext <<_ACEOF
25794 /* end confdefs.h. */
25797 $ac_includes_default
25813 rm -f conftest.
$ac_objext conftest
$ac_exeext
25814 if { (ac_try
="$ac_link"
25815 case "(($ac_try" in
25816 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
25817 *) ac_try_echo=$ac_try;;
25819 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25820 (eval "$ac_link") 2>conftest.er1
25822 grep -v '^ *+' conftest.er1 >conftest.err
25824 cat conftest.err >&5
25825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25826 (exit $ac_status); } && {
25827 test -z "$ac_cxx_werror_flag" ||
25828 test ! -s conftest.err
25829 } && test -s conftest$ac_exeext &&
25830 $as_test_x conftest$ac_exeext; then
25831 eval wx_cv_func_$wx_func=yes
25833 echo "$as_me: failed program was:" >&5
25834 sed 's/^/| /' conftest.$ac_ext >&5
25836 eval wx_cv_func_$wx_func=no
25839 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25840 conftest$ac_exeext conftest.$ac_ext
25843 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
25844 { echo "$as_me:$LINENO: result: $ac_res" >&5
25845 echo "${ECHO_T}$ac_res" >&6; }
25847 if eval test \$wx_cv_func_$wx_func = yes
25849 cat >>confdefs.h <<_ACEOF
25850 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
25862 ac_cpp='$CPP $CPPFLAGS'
25863 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25864 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25865 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25870 if test "$wxUSE_REGEX" != "no"; then
25871 cat >>confdefs.h <<\_ACEOF
25872 #define wxUSE_REGEX 1
25876 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_REGEX" = "yes"; then
25877 { echo "$as_me:$LINENO: WARNING: Defaulting to the builtin regex library for Unicode build." >&5
25878 echo "$as_me: WARNING: Defaulting to the builtin regex library for Unicode build." >&2;}
25879 wxUSE_REGEX=builtin
25882 if test "$wxUSE_REGEX" = "sys" -o "$wxUSE_REGEX" = "yes" ; then
25883 { echo "$as_me:$LINENO: checking for regex.h" >&5
25884 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6; }
25885 if test "${ac_cv_header_regex_h+set}" = set; then
25886 echo $ECHO_N "(cached) $ECHO_C" >&6
25888 cat >conftest.$ac_ext <<_ACEOF
25891 cat confdefs.h >>conftest.$ac_ext
25892 cat >>conftest.$ac_ext <<_ACEOF
25893 /* end confdefs.h. */
25898 rm -f conftest.$ac_objext
25899 if { (ac_try="$ac_compile"
25900 case "(($ac_try" in
25901 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
25902 *) ac_try_echo
=$ac_try;;
25904 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25905 (eval "$ac_compile") 2>conftest.er1
25907 grep -v '^ *+' conftest.er1
>conftest.err
25909 cat conftest.err
>&5
25910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25911 (exit $ac_status); } && {
25912 test -z "$ac_c_werror_flag" ||
25913 test ! -s conftest.err
25914 } && test -s conftest.
$ac_objext; then
25915 ac_cv_header_regex_h
=yes
25917 echo "$as_me: failed program was:" >&5
25918 sed 's/^/| /' conftest.
$ac_ext >&5
25920 ac_cv_header_regex_h
=no
25923 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
25925 { echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
25926 echo "${ECHO_T}$ac_cv_header_regex_h" >&6; }
25927 if test $ac_cv_header_regex_h = yes; then
25930 for ac_func
in regcomp re_search
25932 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25933 { echo "$as_me:$LINENO: checking for $ac_func" >&5
25934 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
25935 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
25936 echo $ECHO_N "(cached) $ECHO_C" >&6
25938 cat >conftest.
$ac_ext <<_ACEOF
25941 cat confdefs.h
>>conftest.
$ac_ext
25942 cat >>conftest.
$ac_ext <<_ACEOF
25943 /* end confdefs.h. */
25944 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25945 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25946 #define $ac_func innocuous_$ac_func
25948 /* System header to define __stub macros and hopefully few prototypes,
25949 which can conflict with char $ac_func (); below.
25950 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25951 <limits.h> exists even on freestanding compilers. */
25954 # include <limits.h>
25956 # include <assert.h>
25961 /* Override any GCC internal prototype to avoid an error.
25962 Use char because int might match the return type of a GCC
25963 builtin and then its argument prototype would still apply. */
25968 /* The GNU C library defines this for functions which it implements
25969 to always fail with ENOSYS. Some functions are actually named
25970 something starting with __ and the normal name is an alias. */
25971 #if defined __stub_$ac_func || defined __stub___$ac_func
25978 return $ac_func ();
25983 rm -f conftest.
$ac_objext conftest
$ac_exeext
25984 if { (ac_try
="$ac_link"
25985 case "(($ac_try" in
25986 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
25987 *) ac_try_echo=$ac_try;;
25989 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25990 (eval "$ac_link") 2>conftest.er1
25992 grep -v '^ *+' conftest.er1 >conftest.err
25994 cat conftest.err >&5
25995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25996 (exit $ac_status); } && {
25997 test -z "$ac_c_werror_flag" ||
25998 test ! -s conftest.err
25999 } && test -s conftest$ac_exeext &&
26000 $as_test_x conftest$ac_exeext; then
26001 eval "$as_ac_var=yes"
26003 echo "$as_me: failed program was:" >&5
26004 sed 's/^/| /' conftest.$ac_ext >&5
26006 eval "$as_ac_var=no"
26009 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26010 conftest$ac_exeext conftest.$ac_ext
26012 ac_res=`eval echo '${'$as_ac_var'}'`
26013 { echo "$as_me:$LINENO: result: $ac_res" >&5
26014 echo "${ECHO_T}$ac_res" >&6; }
26015 if test `eval echo '${'$as_ac_var'}'` = yes; then
26016 cat >>confdefs.h <<_ACEOF
26017 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26027 if test "x$ac_cv_func_regcomp" != "xyes"; then
26028 if test "$wxUSE_REGEX" = "sys" ; then
26029 { { echo "$as_me:$LINENO: error: system regex library not found! Use --with-regex to use built-in version" >&5
26030 echo "$as_me: error: system regex library not found! Use --with-regex to use built-in version" >&2;}
26031 { (exit 1); exit 1; }; }
26033 { echo "$as_me:$LINENO: WARNING: system regex library not found, will use built-in instead" >&5
26034 echo "$as_me: WARNING: system regex library not found, will use built-in instead" >&2;}
26035 wxUSE_REGEX=builtin
26039 cat >>confdefs.h <<\_ACEOF
26040 #define WX_NO_REGEX_ADVANCED 1
26049 if test "$wxUSE_ZLIB" != "no" ; then
26050 cat >>confdefs.h <<\_ACEOF
26051 #define wxUSE_ZLIB 1
26055 if test "$wxUSE_ZLIB" = "sys" -o "$wxUSE_ZLIB" = "yes" ; then
26056 if test "$USE_DARWIN" = 1; then
26057 system_zlib_h_ok="yes"
26059 { echo "$as_me:$LINENO: checking for zlib.h >= 1.1.4" >&5
26060 echo $ECHO_N "checking for zlib.h >= 1.1.4... $ECHO_C" >&6; }
26061 if test "${ac_cv_header_zlib_h+set}" = set; then
26062 echo $ECHO_N "(cached) $ECHO_C" >&6
26064 if test "$cross_compiling" = yes; then
26065 unset ac_cv_header_zlib_h
26068 cat >conftest.$ac_ext <<_ACEOF
26071 cat confdefs.h >>conftest.$ac_ext
26072 cat >>conftest.$ac_ext <<_ACEOF
26073 /* end confdefs.h. */
26080 FILE *f=fopen("conftestval", "w");
26083 ZLIB_VERSION[0] == '1' &&
26084 (ZLIB_VERSION[2] > '1' ||
26085 (ZLIB_VERSION[2] == '1' &&
26086 ZLIB_VERSION[4] >= '4')) ? "yes" : "no");
26091 rm -f conftest$ac_exeext
26092 if { (ac_try="$ac_link"
26093 case "(($ac_try" in
26094 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
26095 *) ac_try_echo
=$ac_try;;
26097 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26098 (eval "$ac_link") 2>&5
26100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26101 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
26102 { (case "(($ac_try" in
26103 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
26104 *) ac_try_echo=$ac_try;;
26106 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26107 (eval "$ac_try") 2>&5
26109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26110 (exit $ac_status); }; }; then
26111 ac_cv_header_zlib_h=`cat conftestval
`
26113 echo "$as_me: program exited with status $ac_status" >&5
26114 echo "$as_me: failed program was:" >&5
26115 sed 's/^/| /' conftest.$ac_ext >&5
26117 ( exit $ac_status )
26118 ac_cv_header_zlib_h=no
26120 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
26126 { echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
26127 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6; }
26128 { echo "$as_me:$LINENO: checking for zlib.h" >&5
26129 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6; }
26130 if test "${ac_cv_header_zlib_h+set}" = set; then
26131 echo $ECHO_N "(cached) $ECHO_C" >&6
26133 cat >conftest.$ac_ext <<_ACEOF
26136 cat confdefs.h >>conftest.$ac_ext
26137 cat >>conftest.$ac_ext <<_ACEOF
26138 /* end confdefs.h. */
26143 rm -f conftest.$ac_objext
26144 if { (ac_try="$ac_compile"
26145 case "(($ac_try" in
26146 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
26147 *) ac_try_echo
=$ac_try;;
26149 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26150 (eval "$ac_compile") 2>conftest.er1
26152 grep -v '^ *+' conftest.er1
>conftest.err
26154 cat conftest.err
>&5
26155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26156 (exit $ac_status); } && {
26157 test -z "$ac_c_werror_flag" ||
26158 test ! -s conftest.err
26159 } && test -s conftest.
$ac_objext; then
26160 ac_cv_header_zlib_h
=yes
26162 echo "$as_me: failed program was:" >&5
26163 sed 's/^/| /' conftest.
$ac_ext >&5
26165 ac_cv_header_zlib_h
=no
26168 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
26170 { echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
26171 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6; }
26175 system_zlib_h_ok
=$ac_cv_header_zlib_h
26178 if test "$system_zlib_h_ok" = "yes"; then
26179 { echo "$as_me:$LINENO: checking for deflate in -lz" >&5
26180 echo $ECHO_N "checking for deflate in -lz... $ECHO_C" >&6; }
26181 if test "${ac_cv_lib_z_deflate+set}" = set; then
26182 echo $ECHO_N "(cached) $ECHO_C" >&6
26184 ac_check_lib_save_LIBS
=$LIBS
26186 cat >conftest.
$ac_ext <<_ACEOF
26189 cat confdefs.h
>>conftest.
$ac_ext
26190 cat >>conftest.
$ac_ext <<_ACEOF
26191 /* end confdefs.h. */
26193 /* Override any GCC internal prototype to avoid an error.
26194 Use char because int might match the return type of a GCC
26195 builtin and then its argument prototype would still apply. */
26208 rm -f conftest.
$ac_objext conftest
$ac_exeext
26209 if { (ac_try
="$ac_link"
26210 case "(($ac_try" in
26211 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
26212 *) ac_try_echo=$ac_try;;
26214 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26215 (eval "$ac_link") 2>conftest.er1
26217 grep -v '^ *+' conftest.er1 >conftest.err
26219 cat conftest.err >&5
26220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26221 (exit $ac_status); } && {
26222 test -z "$ac_c_werror_flag" ||
26223 test ! -s conftest.err
26224 } && test -s conftest$ac_exeext &&
26225 $as_test_x conftest$ac_exeext; then
26226 ac_cv_lib_z_deflate=yes
26228 echo "$as_me: failed program was:" >&5
26229 sed 's/^/| /' conftest.$ac_ext >&5
26231 ac_cv_lib_z_deflate=no
26234 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26235 conftest$ac_exeext conftest.$ac_ext
26236 LIBS=$ac_check_lib_save_LIBS
26238 { echo "$as_me:$LINENO: result: $ac_cv_lib_z_deflate" >&5
26239 echo "${ECHO_T}$ac_cv_lib_z_deflate" >&6; }
26240 if test $ac_cv_lib_z_deflate = yes; then
26246 if test "x$ZLIB_LINK" = "x" ; then
26247 if test "$wxUSE_ZLIB" = "sys" ; then
26248 { { echo "$as_me:$LINENO: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&5
26249 echo "$as_me: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&2;}
26250 { (exit 1); exit 1; }; }
26252 { echo "$as_me:$LINENO: WARNING: zlib library not found or too old, will use built-in instead" >&5
26253 echo "$as_me: WARNING: zlib library not found or too old, will use built-in instead" >&2;}
26264 if test "$wxUSE_LIBPNG" != "no" ; then
26265 cat >>confdefs.h <<\_ACEOF
26266 #define wxUSE_LIBPNG 1
26270 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBPNG" = "builtin" ; then
26271 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&5
26272 echo "$as_me: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&2;}
26276 if test "$wxUSE_MGL" != 1 -a "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
26277 { echo "$as_me:$LINENO: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&5
26278 echo "$as_me: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&2;}
26279 wxUSE_LIBPNG=builtin
26282 if test "$wxUSE_MGL" != 1 ; then
26283 if test "$wxUSE_LIBPNG" = "sys" -o "$wxUSE_LIBPNG" = "yes" ; then
26284 { echo "$as_me:$LINENO: checking for png.h > 0.90" >&5
26285 echo $ECHO_N "checking for png.h > 0.90... $ECHO_C" >&6; }
26286 if test "${ac_cv_header_png_h+set}" = set; then
26287 echo $ECHO_N "(cached) $ECHO_C" >&6
26289 if test "$cross_compiling" = yes; then
26290 unset ac_cv_header_png_h
26293 cat >conftest.$ac_ext <<_ACEOF
26296 cat confdefs.h >>conftest.$ac_ext
26297 cat >>conftest.$ac_ext <<_ACEOF
26298 /* end confdefs.h. */
26305 FILE *f=fopen("conftestval", "w");
26308 PNG_LIBPNG_VER > 90 ? "yes" : "no");
26313 rm -f conftest$ac_exeext
26314 if { (ac_try="$ac_link"
26315 case "(($ac_try" in
26316 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
26317 *) ac_try_echo
=$ac_try;;
26319 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26320 (eval "$ac_link") 2>&5
26322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26323 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
26324 { (case "(($ac_try" in
26325 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
26326 *) ac_try_echo=$ac_try;;
26328 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26329 (eval "$ac_try") 2>&5
26331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26332 (exit $ac_status); }; }; then
26333 ac_cv_header_png_h=`cat conftestval
`
26335 echo "$as_me: program exited with status $ac_status" >&5
26336 echo "$as_me: failed program was:" >&5
26337 sed 's/^/| /' conftest.$ac_ext >&5
26339 ( exit $ac_status )
26340 ac_cv_header_png_h=no
26342 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
26348 { echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
26349 echo "${ECHO_T}$ac_cv_header_png_h" >&6; }
26350 { echo "$as_me:$LINENO: checking for png.h" >&5
26351 echo $ECHO_N "checking for png.h... $ECHO_C" >&6; }
26352 if test "${ac_cv_header_png_h+set}" = set; then
26353 echo $ECHO_N "(cached) $ECHO_C" >&6
26355 cat >conftest.$ac_ext <<_ACEOF
26358 cat confdefs.h >>conftest.$ac_ext
26359 cat >>conftest.$ac_ext <<_ACEOF
26360 /* end confdefs.h. */
26365 rm -f conftest.$ac_objext
26366 if { (ac_try="$ac_compile"
26367 case "(($ac_try" in
26368 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
26369 *) ac_try_echo
=$ac_try;;
26371 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26372 (eval "$ac_compile") 2>conftest.er1
26374 grep -v '^ *+' conftest.er1
>conftest.err
26376 cat conftest.err
>&5
26377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26378 (exit $ac_status); } && {
26379 test -z "$ac_c_werror_flag" ||
26380 test ! -s conftest.err
26381 } && test -s conftest.
$ac_objext; then
26382 ac_cv_header_png_h
=yes
26384 echo "$as_me: failed program was:" >&5
26385 sed 's/^/| /' conftest.
$ac_ext >&5
26387 ac_cv_header_png_h
=no
26390 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
26392 { echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
26393 echo "${ECHO_T}$ac_cv_header_png_h" >&6; }
26397 if test "$ac_cv_header_png_h" = "yes"; then
26398 { echo "$as_me:$LINENO: checking for png_check_sig in -lpng" >&5
26399 echo $ECHO_N "checking for png_check_sig in -lpng... $ECHO_C" >&6; }
26400 if test "${ac_cv_lib_png_png_check_sig+set}" = set; then
26401 echo $ECHO_N "(cached) $ECHO_C" >&6
26403 ac_check_lib_save_LIBS
=$LIBS
26404 LIBS
="-lpng -lz -lm $LIBS"
26405 cat >conftest.
$ac_ext <<_ACEOF
26408 cat confdefs.h
>>conftest.
$ac_ext
26409 cat >>conftest.
$ac_ext <<_ACEOF
26410 /* end confdefs.h. */
26412 /* Override any GCC internal prototype to avoid an error.
26413 Use char because int might match the return type of a GCC
26414 builtin and then its argument prototype would still apply. */
26418 char png_check_sig ();
26422 return png_check_sig ();
26427 rm -f conftest.
$ac_objext conftest
$ac_exeext
26428 if { (ac_try
="$ac_link"
26429 case "(($ac_try" in
26430 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
26431 *) ac_try_echo=$ac_try;;
26433 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26434 (eval "$ac_link") 2>conftest.er1
26436 grep -v '^ *+' conftest.er1 >conftest.err
26438 cat conftest.err >&5
26439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26440 (exit $ac_status); } && {
26441 test -z "$ac_c_werror_flag" ||
26442 test ! -s conftest.err
26443 } && test -s conftest$ac_exeext &&
26444 $as_test_x conftest$ac_exeext; then
26445 ac_cv_lib_png_png_check_sig=yes
26447 echo "$as_me: failed program was:" >&5
26448 sed 's/^/| /' conftest.$ac_ext >&5
26450 ac_cv_lib_png_png_check_sig=no
26453 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26454 conftest$ac_exeext conftest.$ac_ext
26455 LIBS=$ac_check_lib_save_LIBS
26457 { echo "$as_me:$LINENO: result: $ac_cv_lib_png_png_check_sig" >&5
26458 echo "${ECHO_T}$ac_cv_lib_png_png_check_sig" >&6; }
26459 if test $ac_cv_lib_png_png_check_sig = yes; then
26460 PNG_LINK=" -lpng -lz"
26465 if test "x$PNG_LINK" = "x" ; then
26466 if test "$wxUSE_LIBPNG" = "sys" ; then
26467 { { echo "$as_me:$LINENO: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&5
26468 echo "$as_me: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&2;}
26469 { (exit 1); exit 1; }; }
26471 { echo "$as_me:$LINENO: WARNING: system png library not found or too old, will use built-in instead" >&5
26472 echo "$as_me: WARNING: system png library not found or too old, will use built-in instead" >&2;}
26473 wxUSE_LIBPNG=builtin
26484 if test "$wxUSE_LIBJPEG" != "no" ; then
26485 cat >>confdefs.h <<\_ACEOF
26486 #define wxUSE_LIBJPEG 1
26490 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBJPEG" = "builtin" ; then
26491 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&5
26492 echo "$as_me: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&2;}
26496 if test "$wxUSE_MGL" != 1 ; then
26497 if test "$wxUSE_LIBJPEG" = "sys" -o "$wxUSE_LIBJPEG" = "yes" ; then
26498 { echo "$as_me:$LINENO: checking for jpeglib.h" >&5
26499 echo $ECHO_N "checking for jpeglib.h... $ECHO_C" >&6; }
26500 if test "${ac_cv_header_jpeglib_h+set}" = set; then
26501 echo $ECHO_N "(cached) $ECHO_C" >&6
26503 cat >conftest.$ac_ext <<_ACEOF
26506 cat confdefs.h >>conftest.$ac_ext
26507 cat >>conftest.$ac_ext <<_ACEOF
26508 /* end confdefs.h. */
26510 #undef HAVE_STDLIB_H
26512 #include <jpeglib.h>
26523 rm -f conftest.$ac_objext
26524 if { (ac_try="$ac_compile"
26525 case "(($ac_try" in
26526 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
26527 *) ac_try_echo
=$ac_try;;
26529 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26530 (eval "$ac_compile") 2>conftest.er1
26532 grep -v '^ *+' conftest.er1
>conftest.err
26534 cat conftest.err
>&5
26535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26536 (exit $ac_status); } && {
26537 test -z "$ac_c_werror_flag" ||
26538 test ! -s conftest.err
26539 } && test -s conftest.
$ac_objext; then
26540 ac_cv_header_jpeglib_h
=yes
26542 echo "$as_me: failed program was:" >&5
26543 sed 's/^/| /' conftest.
$ac_ext >&5
26545 ac_cv_header_jpeglib_h
=no
26549 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
26553 { echo "$as_me:$LINENO: result: $ac_cv_header_jpeglib_h" >&5
26554 echo "${ECHO_T}$ac_cv_header_jpeglib_h" >&6; }
26556 if test "$ac_cv_header_jpeglib_h" = "yes"; then
26557 { echo "$as_me:$LINENO: checking for jpeg_read_header in -ljpeg" >&5
26558 echo $ECHO_N "checking for jpeg_read_header in -ljpeg... $ECHO_C" >&6; }
26559 if test "${ac_cv_lib_jpeg_jpeg_read_header+set}" = set; then
26560 echo $ECHO_N "(cached) $ECHO_C" >&6
26562 ac_check_lib_save_LIBS
=$LIBS
26563 LIBS
="-ljpeg $LIBS"
26564 cat >conftest.
$ac_ext <<_ACEOF
26567 cat confdefs.h
>>conftest.
$ac_ext
26568 cat >>conftest.
$ac_ext <<_ACEOF
26569 /* end confdefs.h. */
26571 /* Override any GCC internal prototype to avoid an error.
26572 Use char because int might match the return type of a GCC
26573 builtin and then its argument prototype would still apply. */
26577 char jpeg_read_header ();
26581 return jpeg_read_header ();
26586 rm -f conftest.
$ac_objext conftest
$ac_exeext
26587 if { (ac_try
="$ac_link"
26588 case "(($ac_try" in
26589 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
26590 *) ac_try_echo=$ac_try;;
26592 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26593 (eval "$ac_link") 2>conftest.er1
26595 grep -v '^ *+' conftest.er1 >conftest.err
26597 cat conftest.err >&5
26598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26599 (exit $ac_status); } && {
26600 test -z "$ac_c_werror_flag" ||
26601 test ! -s conftest.err
26602 } && test -s conftest$ac_exeext &&
26603 $as_test_x conftest$ac_exeext; then
26604 ac_cv_lib_jpeg_jpeg_read_header=yes
26606 echo "$as_me: failed program was:" >&5
26607 sed 's/^/| /' conftest.$ac_ext >&5
26609 ac_cv_lib_jpeg_jpeg_read_header=no
26612 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26613 conftest$ac_exeext conftest.$ac_ext
26614 LIBS=$ac_check_lib_save_LIBS
26616 { echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jpeg_read_header" >&5
26617 echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_read_header" >&6; }
26618 if test $ac_cv_lib_jpeg_jpeg_read_header = yes; then
26619 JPEG_LINK=" -ljpeg"
26624 if test "x$JPEG_LINK" = "x" ; then
26625 if test "$wxUSE_LIBJPEG" = "sys" ; then
26626 { { echo "$as_me:$LINENO: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&5
26627 echo "$as_me: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&2;}
26628 { (exit 1); exit 1; }; }
26630 { echo "$as_me:$LINENO: WARNING: system jpeg library not found, will use built-in instead" >&5
26631 echo "$as_me: WARNING: system jpeg library not found, will use built-in instead" >&2;}
26632 wxUSE_LIBJPEG=builtin
26637 if test "$wxUSE_MSW" = 1; then
26638 { echo "$as_me:$LINENO: checking for boolean" >&5
26639 echo $ECHO_N "checking for boolean... $ECHO_C" >&6; }
26640 if test "${ac_cv_type_boolean+set}" = set; then
26641 echo $ECHO_N "(cached) $ECHO_C" >&6
26643 cat >conftest.$ac_ext <<_ACEOF
26646 cat confdefs.h >>conftest.$ac_ext
26647 cat >>conftest.$ac_ext <<_ACEOF
26648 /* end confdefs.h. */
26649 #include <windows.h>
26651 typedef boolean ac__type_new_;
26655 if ((ac__type_new_ *) 0)
26657 if (sizeof (ac__type_new_))
26663 rm -f conftest.$ac_objext
26664 if { (ac_try="$ac_compile"
26665 case "(($ac_try" in
26666 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
26667 *) ac_try_echo
=$ac_try;;
26669 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26670 (eval "$ac_compile") 2>conftest.er1
26672 grep -v '^ *+' conftest.er1
>conftest.err
26674 cat conftest.err
>&5
26675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26676 (exit $ac_status); } && {
26677 test -z "$ac_c_werror_flag" ||
26678 test ! -s conftest.err
26679 } && test -s conftest.
$ac_objext; then
26680 ac_cv_type_boolean
=yes
26682 echo "$as_me: failed program was:" >&5
26683 sed 's/^/| /' conftest.
$ac_ext >&5
26685 ac_cv_type_boolean
=no
26688 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
26690 { echo "$as_me:$LINENO: result: $ac_cv_type_boolean" >&5
26691 echo "${ECHO_T}$ac_cv_type_boolean" >&6; }
26692 if test $ac_cv_type_boolean = yes; then
26694 cat >>confdefs.h
<<_ACEOF
26695 #define HAVE_BOOLEAN 1
26699 { echo "$as_me:$LINENO: checking for boolean" >&5
26700 echo $ECHO_N "checking for boolean... $ECHO_C" >&6; }
26701 if test "${ac_cv_type_boolean+set}" = set; then
26702 echo $ECHO_N "(cached) $ECHO_C" >&6
26704 cat >conftest.
$ac_ext <<_ACEOF
26707 cat confdefs.h
>>conftest.
$ac_ext
26708 cat >>conftest.
$ac_ext <<_ACEOF
26709 /* end confdefs.h. */
26711 #undef HAVE_BOOLEAN
26713 #include <jpeglib.h>
26716 typedef boolean ac__type_new_;
26720 if ((ac__type_new_ *) 0)
26722 if (sizeof (ac__type_new_))
26728 rm -f conftest.
$ac_objext
26729 if { (ac_try
="$ac_compile"
26730 case "(($ac_try" in
26731 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
26732 *) ac_try_echo=$ac_try;;
26734 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26735 (eval "$ac_compile") 2>conftest.er1
26737 grep -v '^ *+' conftest.er1 >conftest.err
26739 cat conftest.err >&5
26740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26741 (exit $ac_status); } && {
26742 test -z "$ac_c_werror_flag" ||
26743 test ! -s conftest.err
26744 } && test -s conftest.$ac_objext; then
26745 ac_cv_type_boolean=yes
26747 echo "$as_me: failed program was:" >&5
26748 sed 's/^/| /' conftest.$ac_ext >&5
26750 ac_cv_type_boolean=no
26753 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26755 { echo "$as_me:$LINENO: result: $ac_cv_type_boolean" >&5
26756 echo "${ECHO_T}$ac_cv_type_boolean" >&6; }
26758 # The cast to long int works around a bug in the HP C Compiler
26759 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
26760 # declarations like `int a3
[[(sizeof
(unsigned char
)) >= 0]];'.
26761 # This bug is HP SR number 8606223364.
26762 { echo "$as_me:$LINENO: checking size of boolean" >&5
26763 echo $ECHO_N "checking size of boolean... $ECHO_C" >&6; }
26764 if test "${ac_cv_sizeof_boolean+set}" = set; then
26765 echo $ECHO_N "(cached) $ECHO_C" >&6
26767 if test "$cross_compiling" = yes; then
26768 # Depending upon the size, compute the lo and hi bounds.
26769 cat >conftest.$ac_ext <<_ACEOF
26772 cat confdefs.h >>conftest.$ac_ext
26773 cat >>conftest.$ac_ext <<_ACEOF
26774 /* end confdefs.h. */
26776 #undef HAVE_BOOLEAN
26778 #include <jpeglib.h>
26781 typedef boolean ac__type_sizeof_;
26785 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
26792 rm -f conftest.$ac_objext
26793 if { (ac_try="$ac_compile"
26794 case "(($ac_try" in
26795 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26796 *) ac_try_echo=$ac_try;;
26798 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26799 (eval "$ac_compile") 2>conftest.er1
26801 grep -v '^
*+' conftest.er1 >conftest.err
26803 cat conftest.err >&5
26804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26805 (exit $ac_status); } && {
26806 test -z "$ac_c_werror_flag" ||
26807 test ! -s conftest.err
26808 } && test -s conftest.$ac_objext; then
26811 cat >conftest.$ac_ext <<_ACEOF
26814 cat confdefs.h >>conftest.$ac_ext
26815 cat >>conftest.$ac_ext <<_ACEOF
26816 /* end confdefs.h. */
26818 #undef HAVE_BOOLEAN
26820 #include <jpeglib.h>
26823 typedef boolean ac__type_sizeof_;
26827 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
26834 rm -f conftest.$ac_objext
26835 if { (ac_try="$ac_compile"
26836 case "(($ac_try" in
26837 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26838 *) ac_try_echo=$ac_try;;
26840 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26841 (eval "$ac_compile") 2>conftest.er1
26843 grep -v '^
*+' conftest.er1 >conftest.err
26845 cat conftest.err >&5
26846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26847 (exit $ac_status); } && {
26848 test -z "$ac_c_werror_flag" ||
26849 test ! -s conftest.err
26850 } && test -s conftest.$ac_objext; then
26851 ac_hi=$ac_mid; break
26853 echo "$as_me: failed program was:" >&5
26854 sed 's
/^
/| /' conftest.$ac_ext >&5
26856 ac_lo=`expr $ac_mid + 1`
26857 if test $ac_lo -le $ac_mid; then
26861 ac_mid=`expr 2 '*' $ac_mid + 1`
26864 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26867 echo "$as_me: failed program was:" >&5
26868 sed 's
/^
/| /' conftest.$ac_ext >&5
26870 cat >conftest.$ac_ext <<_ACEOF
26873 cat confdefs.h >>conftest.$ac_ext
26874 cat >>conftest.$ac_ext <<_ACEOF
26875 /* end confdefs.h. */
26877 #undef HAVE_BOOLEAN
26879 #include <jpeglib.h>
26882 typedef boolean ac__type_sizeof_;
26886 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
26893 rm -f conftest.$ac_objext
26894 if { (ac_try="$ac_compile"
26895 case "(($ac_try" in
26896 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26897 *) ac_try_echo=$ac_try;;
26899 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26900 (eval "$ac_compile") 2>conftest.er1
26902 grep -v '^
*+' conftest.er1 >conftest.err
26904 cat conftest.err >&5
26905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26906 (exit $ac_status); } && {
26907 test -z "$ac_c_werror_flag" ||
26908 test ! -s conftest.err
26909 } && test -s conftest.$ac_objext; then
26912 cat >conftest.$ac_ext <<_ACEOF
26915 cat confdefs.h >>conftest.$ac_ext
26916 cat >>conftest.$ac_ext <<_ACEOF
26917 /* end confdefs.h. */
26919 #undef HAVE_BOOLEAN
26921 #include <jpeglib.h>
26924 typedef boolean ac__type_sizeof_;
26928 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
26935 rm -f conftest.$ac_objext
26936 if { (ac_try="$ac_compile"
26937 case "(($ac_try" in
26938 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26939 *) ac_try_echo=$ac_try;;
26941 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26942 (eval "$ac_compile") 2>conftest.er1
26944 grep -v '^
*+' conftest.er1 >conftest.err
26946 cat conftest.err >&5
26947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26948 (exit $ac_status); } && {
26949 test -z "$ac_c_werror_flag" ||
26950 test ! -s conftest.err
26951 } && test -s conftest.$ac_objext; then
26952 ac_lo=$ac_mid; break
26954 echo "$as_me: failed program was:" >&5
26955 sed 's
/^
/| /' conftest.$ac_ext >&5
26957 ac_hi=`expr '(' $ac_mid ')' - 1`
26958 if test $ac_mid -le $ac_hi; then
26962 ac_mid=`expr 2 '*' $ac_mid`
26965 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26968 echo "$as_me: failed program was:" >&5
26969 sed 's
/^
/| /' conftest.$ac_ext >&5
26974 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26977 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26978 # Binary search between lo and hi bounds.
26979 while test "x$ac_lo" != "x$ac_hi"; do
26980 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
26981 cat >conftest.$ac_ext <<_ACEOF
26984 cat confdefs.h >>conftest.$ac_ext
26985 cat >>conftest.$ac_ext <<_ACEOF
26986 /* end confdefs.h. */
26988 #undef HAVE_BOOLEAN
26990 #include <jpeglib.h>
26993 typedef boolean ac__type_sizeof_;
26997 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
27004 rm -f conftest.$ac_objext
27005 if { (ac_try="$ac_compile"
27006 case "(($ac_try" in
27007 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27008 *) ac_try_echo=$ac_try;;
27010 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27011 (eval "$ac_compile") 2>conftest.er1
27013 grep -v '^
*+' conftest.er1 >conftest.err
27015 cat conftest.err >&5
27016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27017 (exit $ac_status); } && {
27018 test -z "$ac_c_werror_flag" ||
27019 test ! -s conftest.err
27020 } && test -s conftest.$ac_objext; then
27023 echo "$as_me: failed program was:" >&5
27024 sed 's
/^
/| /' conftest.$ac_ext >&5
27026 ac_lo=`expr '(' $ac_mid ')' + 1`
27029 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27032 ?*) ac_cv_sizeof_boolean=$ac_lo;;
27033 '') if test "$ac_cv_type_boolean" = yes; then
27034 { { echo "$as_me:$LINENO: error: cannot compute sizeof (boolean)
27035 See \`config.log' for more details.
" >&5
27036 echo "$as_me: error
: cannot compute sizeof
(boolean
)
27037 See \
`config.log' for more details." >&2;}
27038 { (exit 77); exit 77; }; }
27040 ac_cv_sizeof_boolean=0
27044 cat >conftest.$ac_ext <<_ACEOF
27047 cat confdefs.h >>conftest.$ac_ext
27048 cat >>conftest.$ac_ext <<_ACEOF
27049 /* end confdefs.h. */
27051 #undef HAVE_BOOLEAN
27053 #include <jpeglib.h>
27056 typedef boolean ac__type_sizeof_;
27057 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
27058 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
27060 #include <stdlib.h>
27065 FILE *f = fopen ("conftest.val", "w");
27068 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
27070 long int i = longval ();
27071 if (i != ((long int) (sizeof (ac__type_sizeof_))))
27073 fprintf (f, "%ld\n", i);
27077 unsigned long int i = ulongval ();
27078 if (i != ((long int) (sizeof (ac__type_sizeof_))))
27080 fprintf (f, "%lu\n", i);
27082 return ferror (f) || fclose (f) != 0;
27088 rm -f conftest$ac_exeext
27089 if { (ac_try="$ac_link"
27090 case "(($ac_try" in
27091 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
27092 *) ac_try_echo
=$ac_try;;
27094 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27095 (eval "$ac_link") 2>&5
27097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27098 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
27099 { (case "(($ac_try" in
27100 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
27101 *) ac_try_echo=$ac_try;;
27103 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27104 (eval "$ac_try") 2>&5
27106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27107 (exit $ac_status); }; }; then
27108 ac_cv_sizeof_boolean=`cat conftest.val
`
27110 echo "$as_me: program exited with status $ac_status" >&5
27111 echo "$as_me: failed program was:" >&5
27112 sed 's/^/| /' conftest.$ac_ext >&5
27114 ( exit $ac_status )
27115 if test "$ac_cv_type_boolean" = yes; then
27116 { { echo "$as_me:$LINENO: error: cannot compute sizeof (boolean)
27117 See \`config.log
' for more details." >&5
27118 echo "$as_me: error: cannot compute sizeof (boolean)
27119 See \`config.log' for more details.
" >&2;}
27120 { (exit 77); exit 77; }; }
27122 ac_cv_sizeof_boolean=0
27125 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
27129 { echo "$as_me:$LINENO: result
: $ac_cv_sizeof_boolean" >&5
27130 echo "${ECHO_T}$ac_cv_sizeof_boolean" >&6; }
27134 cat >>confdefs.h <<_ACEOF
27135 #define SIZEOF_BOOLEAN $ac_cv_sizeof_boolean
27139 cat >>confdefs.h <<_ACEOF
27140 #define wxHACK_BOOLEAN wxInt`expr 8 \* $ac_cv_sizeof_boolean`
27154 TIFF_PREREQ_LINKS=-lm
27155 if test "$wxUSE_LIBTIFF" != "no
" ; then
27156 cat >>confdefs.h <<\_ACEOF
27157 #define wxUSE_LIBTIFF 1
27161 if test "$wxUSE_LIBTIFF" = "sys
" -o "$wxUSE_LIBTIFF" = "yes" ; then
27162 if test "$wxUSE_LIBJPEG" = "sys
"; then
27163 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $JPEG_LINK"
27165 if test "$wxUSE_ZLIB" = "sys
"; then
27166 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $ZLIB_LINK"
27168 { echo "$as_me:$LINENO: checking
for tiffio.h
" >&5
27169 echo $ECHO_N "checking
for tiffio.h...
$ECHO_C" >&6; }
27170 if test "${ac_cv_header_tiffio_h+set}" = set; then
27171 echo $ECHO_N "(cached
) $ECHO_C" >&6
27173 cat >conftest.$ac_ext <<_ACEOF
27176 cat confdefs.h >>conftest.$ac_ext
27177 cat >>conftest.$ac_ext <<_ACEOF
27178 /* end confdefs.h. */
27182 #include <tiffio.h>
27184 rm -f conftest.$ac_objext
27185 if { (ac_try="$ac_compile"
27186 case "(($ac_try" in
27187 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27188 *) ac_try_echo=$ac_try;;
27190 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
27191 (eval "$ac_compile") 2>conftest.er1
27193 grep -v '^ *+' conftest.er1 >conftest.err
27195 cat conftest.err >&5
27196 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
27197 (exit $ac_status); } && {
27198 test -z "$ac_c_werror_flag" ||
27199 test ! -s conftest.err
27200 } && test -s conftest.$ac_objext; then
27201 ac_cv_header_tiffio_h=yes
27203 echo "$as_me: failed program was
:" >&5
27204 sed 's/^/| /' conftest.$ac_ext >&5
27206 ac_cv_header_tiffio_h=no
27209 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27211 { echo "$as_me:$LINENO: result
: $ac_cv_header_tiffio_h" >&5
27212 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6; }
27213 if test $ac_cv_header_tiffio_h = yes; then
27215 { echo "$as_me:$LINENO: checking
for TIFFError
in -ltiff" >&5
27216 echo $ECHO_N "checking
for TIFFError
in -ltiff...
$ECHO_C" >&6; }
27217 if test "${ac_cv_lib_tiff_TIFFError+set}" = set; then
27218 echo $ECHO_N "(cached
) $ECHO_C" >&6
27220 ac_check_lib_save_LIBS=$LIBS
27221 LIBS="-ltiff $TIFF_PREREQ_LINKS $LIBS"
27222 cat >conftest.$ac_ext <<_ACEOF
27225 cat confdefs.h >>conftest.$ac_ext
27226 cat >>conftest.$ac_ext <<_ACEOF
27227 /* end confdefs.h. */
27229 /* Override any GCC internal prototype to avoid an error.
27230 Use char because int might match the return type of a GCC
27231 builtin and then its argument prototype would still apply. */
27239 return TIFFError ();
27244 rm -f conftest.$ac_objext conftest$ac_exeext
27245 if { (ac_try="$ac_link"
27246 case "(($ac_try" in
27247 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27248 *) ac_try_echo=$ac_try;;
27250 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
27251 (eval "$ac_link") 2>conftest.er1
27253 grep -v '^ *+' conftest.er1 >conftest.err
27255 cat conftest.err >&5
27256 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
27257 (exit $ac_status); } && {
27258 test -z "$ac_c_werror_flag" ||
27259 test ! -s conftest.err
27260 } && test -s conftest$ac_exeext &&
27261 $as_test_x conftest$ac_exeext; then
27262 ac_cv_lib_tiff_TIFFError=yes
27264 echo "$as_me: failed program was
:" >&5
27265 sed 's/^/| /' conftest.$ac_ext >&5
27267 ac_cv_lib_tiff_TIFFError=no
27270 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27271 conftest$ac_exeext conftest.$ac_ext
27272 LIBS=$ac_check_lib_save_LIBS
27274 { echo "$as_me:$LINENO: result
: $ac_cv_lib_tiff_TIFFError" >&5
27275 echo "${ECHO_T}$ac_cv_lib_tiff_TIFFError" >&6; }
27276 if test $ac_cv_lib_tiff_TIFFError = yes; then
27277 TIFF_LINK=" -ltiff"
27285 if test "x
$TIFF_LINK" = "x
" ; then
27286 if test "$wxUSE_LIBTIFF" = "sys
" ; then
27287 { { echo "$as_me:$LINENO: error
: system tiff library not found
! Use
--with-libtiff=builtin to use built
-in version
" >&5
27288 echo "$as_me: error
: system tiff library not found
! Use
--with-libtiff=builtin to use built
-in version
" >&2;}
27289 { (exit 1); exit 1; }; }
27291 { echo "$as_me:$LINENO: WARNING
: system tiff library not found
, will use built
-in instead
" >&5
27292 echo "$as_me: WARNING
: system tiff library not found
, will use built
-in instead
" >&2;}
27293 wxUSE_LIBTIFF=builtin
27299 if test "$wxUSE_LIBTIFF" = "builtin" ; then
27300 if test "$wxUSE_LIBJPEG" = "no
"; then
27301 ac_configure_args="$ac_configure_args --disable-jpeg"
27303 subdirs="$subdirs src
/tiff
"
27309 if test "$wxUSE_WCHAR_T" != "yes"; then
27310 if test "$wxUSE_EXPAT" != "no
"; then
27311 { echo "$as_me:$LINENO: WARNING
: wxWidgets requires wchar_t to use expat
, disabling
" >&5
27312 echo "$as_me: WARNING
: wxWidgets requires wchar_t to use expat
, disabling
" >&2;}
27315 if test "$wxUSE_XML" != "no
"; then
27316 { echo "$as_me:$LINENO: WARNING
: wxWidgets requires wchar_t to use xml
, disabling
" >&5
27317 echo "$as_me: WARNING
: wxWidgets requires wchar_t to use xml
, disabling
" >&2;}
27322 if test "$wxUSE_EXPAT" != "no
"; then
27324 cat >>confdefs.h <<\_ACEOF
27325 #define wxUSE_EXPAT 1
27328 cat >>confdefs.h <<\_ACEOF
27329 #define wxUSE_XML 1
27333 if test "$wxUSE_EXPAT" = "sys
" -o "$wxUSE_EXPAT" = "yes" ; then
27334 { echo "$as_me:$LINENO: checking
for expat.h
" >&5
27335 echo $ECHO_N "checking
for expat.h...
$ECHO_C" >&6; }
27336 if test "${ac_cv_header_expat_h+set}" = set; then
27337 echo $ECHO_N "(cached
) $ECHO_C" >&6
27339 cat >conftest.$ac_ext <<_ACEOF
27342 cat confdefs.h >>conftest.$ac_ext
27343 cat >>conftest.$ac_ext <<_ACEOF
27344 /* end confdefs.h. */
27349 rm -f conftest.$ac_objext
27350 if { (ac_try="$ac_compile"
27351 case "(($ac_try" in
27352 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27353 *) ac_try_echo=$ac_try;;
27355 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
27356 (eval "$ac_compile") 2>conftest.er1
27358 grep -v '^ *+' conftest.er1 >conftest.err
27360 cat conftest.err >&5
27361 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
27362 (exit $ac_status); } && {
27363 test -z "$ac_c_werror_flag" ||
27364 test ! -s conftest.err
27365 } && test -s conftest.$ac_objext; then
27366 ac_cv_header_expat_h=yes
27368 echo "$as_me: failed program was
:" >&5
27369 sed 's/^/| /' conftest.$ac_ext >&5
27371 ac_cv_header_expat_h=no
27374 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27376 { echo "$as_me:$LINENO: result
: $ac_cv_header_expat_h" >&5
27377 echo "${ECHO_T}$ac_cv_header_expat_h" >&6; }
27378 if test $ac_cv_header_expat_h = yes; then
27383 if test "x
$found_expat_h" = "x1
"; then
27384 { echo "$as_me:$LINENO: checking
if expat.h is valid C
++ header
" >&5
27385 echo $ECHO_N "checking
if expat.h is valid C
++ header...
$ECHO_C" >&6; }
27386 if test "${wx_cv_expat_is_not_broken+set}" = set; then
27387 echo $ECHO_N "(cached
) $ECHO_C" >&6
27391 ac_cpp='$CXXCPP $CPPFLAGS'
27392 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27393 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27394 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27396 cat >conftest.$ac_ext <<_ACEOF
27399 cat confdefs.h >>conftest.$ac_ext
27400 cat >>conftest.$ac_ext <<_ACEOF
27401 /* end confdefs.h. */
27411 rm -f conftest.$ac_objext
27412 if { (ac_try="$ac_compile"
27413 case "(($ac_try" in
27414 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27415 *) ac_try_echo=$ac_try;;
27417 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
27418 (eval "$ac_compile") 2>conftest.er1
27420 grep -v '^ *+' conftest.er1 >conftest.err
27422 cat conftest.err >&5
27423 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
27424 (exit $ac_status); } && {
27425 test -z "$ac_cxx_werror_flag" ||
27426 test ! -s conftest.err
27427 } && test -s conftest.$ac_objext; then
27428 wx_cv_expat_is_not_broken=yes
27430 echo "$as_me: failed program was
:" >&5
27431 sed 's/^/| /' conftest.$ac_ext >&5
27433 wx_cv_expat_is_not_broken=no
27437 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27439 ac_cpp='$CPP $CPPFLAGS'
27440 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27441 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27442 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27447 { echo "$as_me:$LINENO: result
: $wx_cv_expat_is_not_broken" >&5
27448 echo "${ECHO_T}$wx_cv_expat_is_not_broken" >&6; }
27449 if test "$wx_cv_expat_is_not_broken" = "yes" ; then
27450 { echo "$as_me:$LINENO: checking
for XML_ParserCreate
in -lexpat" >&5
27451 echo $ECHO_N "checking
for XML_ParserCreate
in -lexpat...
$ECHO_C" >&6; }
27452 if test "${ac_cv_lib_expat_XML_ParserCreate+set}" = set; then
27453 echo $ECHO_N "(cached
) $ECHO_C" >&6
27455 ac_check_lib_save_LIBS=$LIBS
27456 LIBS="-lexpat $LIBS"
27457 cat >conftest.$ac_ext <<_ACEOF
27460 cat confdefs.h >>conftest.$ac_ext
27461 cat >>conftest.$ac_ext <<_ACEOF
27462 /* end confdefs.h. */
27464 /* Override any GCC internal prototype to avoid an error.
27465 Use char because int might match the return type of a GCC
27466 builtin and then its argument prototype would still apply. */
27470 char XML_ParserCreate ();
27474 return XML_ParserCreate ();
27479 rm -f conftest.$ac_objext conftest$ac_exeext
27480 if { (ac_try="$ac_link"
27481 case "(($ac_try" in
27482 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27483 *) ac_try_echo=$ac_try;;
27485 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
27486 (eval "$ac_link") 2>conftest.er1
27488 grep -v '^ *+' conftest.er1 >conftest.err
27490 cat conftest.err >&5
27491 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
27492 (exit $ac_status); } && {
27493 test -z "$ac_c_werror_flag" ||
27494 test ! -s conftest.err
27495 } && test -s conftest$ac_exeext &&
27496 $as_test_x conftest$ac_exeext; then
27497 ac_cv_lib_expat_XML_ParserCreate=yes
27499 echo "$as_me: failed program was
:" >&5
27500 sed 's/^/| /' conftest.$ac_ext >&5
27502 ac_cv_lib_expat_XML_ParserCreate=no
27505 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27506 conftest$ac_exeext conftest.$ac_ext
27507 LIBS=$ac_check_lib_save_LIBS
27509 { echo "$as_me:$LINENO: result
: $ac_cv_lib_expat_XML_ParserCreate" >&5
27510 echo "${ECHO_T}$ac_cv_lib_expat_XML_ParserCreate" >&6; }
27511 if test $ac_cv_lib_expat_XML_ParserCreate = yes; then
27512 EXPAT_LINK=" -lexpat"
27517 if test "x
$EXPAT_LINK" = "x
" ; then
27518 if test "$wxUSE_EXPAT" = "sys
" ; then
27519 { { echo "$as_me:$LINENO: error
: system expat library not found
! Use
--with-expat=builtin to use built
-in version
" >&5
27520 echo "$as_me: error
: system expat library not found
! Use
--with-expat=builtin to use built
-in version
" >&2;}
27521 { (exit 1); exit 1; }; }
27523 { echo "$as_me:$LINENO: WARNING
: system expat library not found
, will use built
-in instead
" >&5
27524 echo "$as_me: WARNING
: system expat library not found
, will use built
-in instead
" >&2;}
27525 wxUSE_EXPAT=builtin
27531 if test "$wxUSE_EXPAT" = "builtin" ; then
27532 subdirs="$subdirs src
/expat
"
27539 if test "$wxUSE_LIBMSPACK" != "no
"; then
27540 { echo "$as_me:$LINENO: checking
for mspack.h
" >&5
27541 echo $ECHO_N "checking
for mspack.h...
$ECHO_C" >&6; }
27542 if test "${ac_cv_header_mspack_h+set}" = set; then
27543 echo $ECHO_N "(cached
) $ECHO_C" >&6
27545 cat >conftest.$ac_ext <<_ACEOF
27548 cat confdefs.h >>conftest.$ac_ext
27549 cat >>conftest.$ac_ext <<_ACEOF
27550 /* end confdefs.h. */
27553 #include <mspack.h>
27555 rm -f conftest.$ac_objext
27556 if { (ac_try="$ac_compile"
27557 case "(($ac_try" in
27558 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27559 *) ac_try_echo=$ac_try;;
27561 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
27562 (eval "$ac_compile") 2>conftest.er1
27564 grep -v '^ *+' conftest.er1 >conftest.err
27566 cat conftest.err >&5
27567 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
27568 (exit $ac_status); } && {
27569 test -z "$ac_c_werror_flag" ||
27570 test ! -s conftest.err
27571 } && test -s conftest.$ac_objext; then
27572 ac_cv_header_mspack_h=yes
27574 echo "$as_me: failed program was
:" >&5
27575 sed 's/^/| /' conftest.$ac_ext >&5
27577 ac_cv_header_mspack_h=no
27580 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27582 { echo "$as_me:$LINENO: result
: $ac_cv_header_mspack_h" >&5
27583 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6; }
27584 if test $ac_cv_header_mspack_h = yes; then
27589 if test "x
$found_mspack_h" = "x1
"; then
27590 { echo "$as_me:$LINENO: checking
for mspack_create_chm_decompressor
in -lmspack" >&5
27591 echo $ECHO_N "checking
for mspack_create_chm_decompressor
in -lmspack...
$ECHO_C" >&6; }
27592 if test "${ac_cv_lib_mspack_mspack_create_chm_decompressor+set}" = set; then
27593 echo $ECHO_N "(cached
) $ECHO_C" >&6
27595 ac_check_lib_save_LIBS=$LIBS
27596 LIBS="-lmspack $LIBS"
27597 cat >conftest.$ac_ext <<_ACEOF
27600 cat confdefs.h >>conftest.$ac_ext
27601 cat >>conftest.$ac_ext <<_ACEOF
27602 /* end confdefs.h. */
27604 /* Override any GCC internal prototype to avoid an error.
27605 Use char because int might match the return type of a GCC
27606 builtin and then its argument prototype would still apply. */
27610 char mspack_create_chm_decompressor ();
27614 return mspack_create_chm_decompressor ();
27619 rm -f conftest.$ac_objext conftest$ac_exeext
27620 if { (ac_try="$ac_link"
27621 case "(($ac_try" in
27622 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27623 *) ac_try_echo=$ac_try;;
27625 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
27626 (eval "$ac_link") 2>conftest.er1
27628 grep -v '^ *+' conftest.er1 >conftest.err
27630 cat conftest.err >&5
27631 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
27632 (exit $ac_status); } && {
27633 test -z "$ac_c_werror_flag" ||
27634 test ! -s conftest.err
27635 } && test -s conftest$ac_exeext &&
27636 $as_test_x conftest$ac_exeext; then
27637 ac_cv_lib_mspack_mspack_create_chm_decompressor=yes
27639 echo "$as_me: failed program was
:" >&5
27640 sed 's/^/| /' conftest.$ac_ext >&5
27642 ac_cv_lib_mspack_mspack_create_chm_decompressor=no
27645 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27646 conftest$ac_exeext conftest.$ac_ext
27647 LIBS=$ac_check_lib_save_LIBS
27649 { echo "$as_me:$LINENO: result
: $ac_cv_lib_mspack_mspack_create_chm_decompressor" >&5
27650 echo "${ECHO_T}$ac_cv_lib_mspack_mspack_create_chm_decompressor" >&6; }
27651 if test $ac_cv_lib_mspack_mspack_create_chm_decompressor = yes; then
27652 MSPACK_LINK=" -lmspack"
27656 if test "x
$MSPACK_LINK" = "x
" ; then
27661 if test "$wxUSE_LIBMSPACK" != "no
"; then
27662 cat >>confdefs.h <<\_ACEOF
27663 #define wxUSE_LIBMSPACK 1
27677 if test "$USE_WIN32" = 1 ; then
27679 for ac_header in w32api.h
27681 as_ac_Header=`echo "ac_cv_header_
$ac_header" | $as_tr_sh`
27682 { echo "$as_me:$LINENO: checking
for $ac_header" >&5
27683 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6; }
27684 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
27685 echo $ECHO_N "(cached
) $ECHO_C" >&6
27687 cat >conftest.$ac_ext <<_ACEOF
27690 cat confdefs.h >>conftest.$ac_ext
27691 cat >>conftest.$ac_ext <<_ACEOF
27692 /* end confdefs.h. */
27695 #include <$ac_header>
27697 rm -f conftest.$ac_objext
27698 if { (ac_try="$ac_compile"
27699 case "(($ac_try" in
27700 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27701 *) ac_try_echo=$ac_try;;
27703 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
27704 (eval "$ac_compile") 2>conftest.er1
27706 grep -v '^ *+' conftest.er1 >conftest.err
27708 cat conftest.err >&5
27709 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
27710 (exit $ac_status); } && {
27711 test -z "$ac_c_werror_flag" ||
27712 test ! -s conftest.err
27713 } && test -s conftest.$ac_objext; then
27714 eval "$as_ac_Header=yes"
27716 echo "$as_me: failed program was
:" >&5
27717 sed 's/^/| /' conftest.$ac_ext >&5
27719 eval "$as_ac_Header=no
"
27722 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27724 ac_res=`eval echo '${'$as_ac_Header'}'`
27725 { echo "$as_me:$LINENO: result
: $ac_res" >&5
27726 echo "${ECHO_T}$ac_res" >&6; }
27727 if test `eval echo '${'$as_ac_Header'}'` = yes; then
27728 cat >>confdefs.h <<_ACEOF
27729 #define `echo "HAVE_
$ac_header" | $as_tr_cpp` 1
27736 { echo "$as_me:$LINENO: checking
for windows.h
" >&5
27737 echo $ECHO_N "checking
for windows.h...
$ECHO_C" >&6; }
27738 if test "${ac_cv_header_windows_h+set}" = set; then
27739 echo $ECHO_N "(cached
) $ECHO_C" >&6
27741 cat >conftest.$ac_ext <<_ACEOF
27744 cat confdefs.h >>conftest.$ac_ext
27745 cat >>conftest.$ac_ext <<_ACEOF
27746 /* end confdefs.h. */
27749 #include <windows.h>
27751 rm -f conftest.$ac_objext
27752 if { (ac_try="$ac_compile"
27753 case "(($ac_try" in
27754 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27755 *) ac_try_echo=$ac_try;;
27757 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
27758 (eval "$ac_compile") 2>conftest.er1
27760 grep -v '^ *+' conftest.er1 >conftest.err
27762 cat conftest.err >&5
27763 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
27764 (exit $ac_status); } && {
27765 test -z "$ac_c_werror_flag" ||
27766 test ! -s conftest.err
27767 } && test -s conftest.$ac_objext; then
27768 ac_cv_header_windows_h=yes
27770 echo "$as_me: failed program was
:" >&5
27771 sed 's/^/| /' conftest.$ac_ext >&5
27773 ac_cv_header_windows_h=no
27776 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27778 { echo "$as_me:$LINENO: result
: $ac_cv_header_windows_h" >&5
27779 echo "${ECHO_T}$ac_cv_header_windows_h" >&6; }
27780 if test $ac_cv_header_windows_h = yes; then
27784 { { echo "$as_me:$LINENO: error
: please
set CFLAGS to contain the location of windows.h
" >&5
27785 echo "$as_me: error
: please
set CFLAGS to contain the location of windows.h
" >&2;}
27786 { (exit 1); exit 1; }; }
27792 LIBS="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -lctl3d32 -ladvapi32 -lwsock32 -lgdi32"
27794 if test "$wxUSE_ACCESSIBILITY" = "yes" ; then
27795 LIBS="$LIBS -loleacc"
27800 LIBS="$LIBS -lkernel32 -luser32"
27803 RESFLAGS="--include-dir \
$(top_srcdir)/include
--include-dir \
$(top_srcdir)/\
$(program_dir) --define __WIN32__
--define __WIN95__
--define __GNUWIN32__
"
27804 RESPROGRAMOBJ="\
$(PROGRAM)_resources.o
"
27806 WXCONFIG_RESFLAGS="--define __WIN32__
--define __WIN95__
--define __GNUWIN32__
"
27808 WIN32INSTALL=win32install
27810 { echo "$as_me:$LINENO: checking
for pbt.h
" >&5
27811 echo $ECHO_N "checking
for pbt.h...
$ECHO_C" >&6; }
27812 if test "${ac_cv_header_pbt_h+set}" = set; then
27813 echo $ECHO_N "(cached
) $ECHO_C" >&6
27815 cat >conftest.$ac_ext <<_ACEOF
27818 cat confdefs.h >>conftest.$ac_ext
27819 cat >>conftest.$ac_ext <<_ACEOF
27820 /* end confdefs.h. */
27825 rm -f conftest.$ac_objext
27826 if { (ac_try="$ac_compile"
27827 case "(($ac_try" in
27828 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27829 *) ac_try_echo=$ac_try;;
27831 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
27832 (eval "$ac_compile") 2>conftest.er1
27834 grep -v '^ *+' conftest.er1 >conftest.err
27836 cat conftest.err >&5
27837 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
27838 (exit $ac_status); } && {
27839 test -z "$ac_c_werror_flag" ||
27840 test ! -s conftest.err
27841 } && test -s conftest.$ac_objext; then
27842 ac_cv_header_pbt_h=yes
27844 echo "$as_me: failed program was
:" >&5
27845 sed 's/^/| /' conftest.$ac_ext >&5
27847 ac_cv_header_pbt_h=no
27850 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27852 { echo "$as_me:$LINENO: result
: $ac_cv_header_pbt_h" >&5
27853 echo "${ECHO_T}$ac_cv_header_pbt_h" >&6; }
27854 if test $ac_cv_header_pbt_h = yes; then
27857 cat >>confdefs.h <<\_ACEOF
27858 #define NEED_PBT_H 1
27866 if test "$wxUSE_GUI" = "yes"; then
27876 if test "$wxUSE_COCOA" = 1 ; then
27877 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes"; then
27878 { echo "$as_me:$LINENO: WARNING
: Printing not supported under wxCocoa yet
, disabled
" >&5
27879 echo "$as_me: WARNING
: Printing not supported under wxCocoa yet
, disabled
" >&2;}
27880 wxUSE_PRINTING_ARCHITECTURE=no
27882 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
27883 { echo "$as_me:$LINENO: WARNING
: Drag and Drop not supported under wxCocoa yet
, disabled
" >&5
27884 echo "$as_me: WARNING
: Drag and Drop not supported under wxCocoa yet
, disabled
" >&2;}
27885 wxUSE_DRAG_AND_DROP=no
27887 if test "$wxUSE_DRAGIMAGE" = "yes"; then
27888 { echo "$as_me:$LINENO: WARNING
: wxDragImage not supported under wxCocoa yet
, disabled
" >&5
27889 echo "$as_me: WARNING
: wxDragImage not supported under wxCocoa yet
, disabled
" >&2;}
27894 if test "$wxUSE_MSW" = 1 ; then
27900 WXCONFIG_LDFLAGS_GUI="$LDFLAGS -Wl,--subsystem,windows
-mwindows"
27904 if test "$wxUSE_GTK" = 1; then
27905 { echo "$as_me:$LINENO: checking
for GTK
+ version
" >&5
27906 echo $ECHO_N "checking
for GTK
+ version...
$ECHO_C" >&6; }
27908 gtk_version_cached=1
27909 if test "${wx_cv_lib_gtk+set}" = set; then
27910 echo $ECHO_N "(cached
) $ECHO_C" >&6
27913 gtk_version_cached=0
27914 { echo "$as_me:$LINENO: result
: " >&5
27915 echo "${ECHO_T}" >&6; }
27918 if test "$wxUSE_THREADS" = "yes"; then
27919 GTK_MODULES=gthread
27923 if test "x
$wxGTK_VERSION" != "x1
"
27927 if test "$wxUSE_THREADS" = "yes" -a "$GCC" = yes; then
27932 # Check whether --enable-gtktest was given.
27933 if test "${enable_gtktest+set}" = set; then
27934 enableval=$enable_gtktest;
27940 pkg_config_args=gtk+-2.0
27941 for module in . $GTK_MODULES
27945 pkg_config_args="$pkg_config_args gthread
-2.0
"
27952 # Extract the first word of "pkg
-config", so it can be a program name with args.
27953 set dummy pkg-config; ac_word=$2
27954 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
27955 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
27956 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
27957 echo $ECHO_N "(cached
) $ECHO_C" >&6
27959 case $PKG_CONFIG in
27961 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
27964 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
27965 for as_dir in $PATH
27968 test -z "$as_dir" && as_dir=.
27969 for ac_exec_ext in '' $ac_executable_extensions; do
27970 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
27971 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
27972 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
27979 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no
"
27983 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
27984 if test -n "$PKG_CONFIG"; then
27985 { echo "$as_me:$LINENO: result
: $PKG_CONFIG" >&5
27986 echo "${ECHO_T}$PKG_CONFIG" >&6; }
27988 { echo "$as_me:$LINENO: result
: no
" >&5
27989 echo "${ECHO_T}no
" >&6; }
27994 if test x$PKG_CONFIG != xno ; then
27995 if pkg-config --atleast-pkgconfig-version 0.7 ; then
27998 echo "*** pkg
-config too old
; version
0.7 or better required.
"
28006 min_gtk_version=2.4.0
28007 { echo "$as_me:$LINENO: checking
for GTK
+ - version
>= $min_gtk_version" >&5
28008 echo $ECHO_N "checking
for GTK
+ - version
>= $min_gtk_version...
$ECHO_C" >&6; }
28010 if test x$PKG_CONFIG != xno ; then
28011 ## don't try to run the test against uninstalled libtool libs
28012 if $PKG_CONFIG --uninstalled $pkg_config_args; then
28013 echo "Will use uninstalled version of GTK
+ found
in PKG_CONFIG_PATH
"
28017 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
28024 if test x"$no_gtk" = x ; then
28025 GTK_CFLAGS=`$PKG_CONFIG $pkg_config_args --cflags`
28026 GTK_LIBS=`$PKG_CONFIG $pkg_config_args --libs`
28027 gtk_config_major_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
28028 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
28029 gtk_config_minor_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
28030 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
28031 gtk_config_micro_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
28032 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
28033 if test "x
$enable_gtktest" = "xyes
" ; then
28034 ac_save_CFLAGS="$CFLAGS"
28035 ac_save_LIBS="$LIBS"
28036 CFLAGS="$CFLAGS $GTK_CFLAGS"
28037 LIBS="$GTK_LIBS $LIBS"
28039 if test "$cross_compiling" = yes; then
28040 echo $ac_n "cross compiling
; assumed OK...
$ac_c"
28042 cat >conftest.$ac_ext <<_ACEOF
28045 cat confdefs.h >>conftest.$ac_ext
28046 cat >>conftest.$ac_ext <<_ACEOF
28047 /* end confdefs.h. */
28049 #include <gtk/gtk.h>
28051 #include <stdlib.h>
28056 int major, minor, micro;
28059 system ("touch conf.gtktest
");
28061 /* HP/UX 9 (%@#!) writes to sscanf strings */
28062 tmp_version = g_strdup("$min_gtk_version");
28063 if (sscanf(tmp_version, "%d.
%d.
%d
", &major, &minor, µ) != 3) {
28064 printf("%s
, bad version string
\n", "$min_gtk_version");
28068 if ((gtk_major_version != $gtk_config_major_version) ||
28069 (gtk_minor_version != $gtk_config_minor_version) ||
28070 (gtk_micro_version != $gtk_config_micro_version))
28072 printf("\n*** 'pkg-config --modversion gtk+-2.0' returned
%d.
%d.
%d
, but GTK
+ (%d.
%d.
%d
)\n",
28073 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
28074 gtk_major_version, gtk_minor_version, gtk_micro_version);
28075 printf ("*** was found
! If pkg
-config was correct
, then it is best
\n");
28076 printf ("*** to remove the old version of GTK
+. You may also be able to fix the error
\n");
28077 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable
, or by editing
\n");
28078 printf("*** /etc
/ld.so.conf. Make sure you have run ldconfig
if that is
\n");
28079 printf("*** required on your system.
\n");
28080 printf("*** If pkg
-config was wrong
, set the environment variable PKG_CONFIG_PATH
\n");
28081 printf("*** to point to the correct configuration files
\n");
28083 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
28084 (gtk_minor_version != GTK_MINOR_VERSION) ||
28085 (gtk_micro_version != GTK_MICRO_VERSION))
28087 printf("*** GTK
+ header files
(version
%d.
%d.
%d
) do not match
\n",
28088 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
28089 printf("*** library
(version
%d.
%d.
%d
)\n",
28090 gtk_major_version, gtk_minor_version, gtk_micro_version);
28094 if ((gtk_major_version > major) ||
28095 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
28096 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
28102 printf("\n*** An old version of GTK
+ (%d.
%d.
%d
) was found.
\n",
28103 gtk_major_version, gtk_minor_version, gtk_micro_version);
28104 printf("*** You need a version of GTK
+ newer than
%d.
%d.
%d. The latest version of
\n",
28105 major, minor, micro);
28106 printf("*** GTK
+ is always available from
ftp://ftp.gtk.org.
\n");
28108 printf("*** If you have already installed a sufficiently new version
, this error
\n");
28109 printf("*** probably means that the wrong copy of the pkg
-config shell
script is
\n");
28110 printf("*** being found. The easiest way to fix this is to remove the old version
\n");
28111 printf("*** of GTK
+, but you can also
set the PKG_CONFIG environment to point to the
\n");
28112 printf("*** correct copy of pkg
-config.
(In this
case, you will have to
\n");
28113 printf("*** modify your LD_LIBRARY_PATH enviroment variable
, or edit
/etc
/ld.so.conf
\n");
28114 printf("*** so that the correct libraries are found
at run
-time))\n");
28121 rm -f conftest$ac_exeext
28122 if { (ac_try="$ac_link"
28123 case "(($ac_try" in
28124 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28125 *) ac_try_echo=$ac_try;;
28127 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
28128 (eval "$ac_link") 2>&5
28130 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
28131 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
28132 { (case "(($ac_try" in
28133 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28134 *) ac_try_echo=$ac_try;;
28136 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
28137 (eval "$ac_try") 2>&5
28139 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
28140 (exit $ac_status); }; }; then
28143 echo "$as_me: program exited with status
$ac_status" >&5
28144 echo "$as_me: failed program was
:" >&5
28145 sed 's/^/| /' conftest.$ac_ext >&5
28147 ( exit $ac_status )
28150 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
28154 CFLAGS="$ac_save_CFLAGS"
28155 LIBS="$ac_save_LIBS"
28158 if test "x
$no_gtk" = x ; then
28159 { echo "$as_me:$LINENO: result
: yes (version
$gtk_config_major_version.
$gtk_config_minor_version.
$gtk_config_micro_version)" >&5
28160 echo "${ECHO_T}yes (version
$gtk_config_major_version.
$gtk_config_minor_version.
$gtk_config_micro_version)" >&6; }
28163 { echo "$as_me:$LINENO: result
: no
" >&5
28164 echo "${ECHO_T}no
" >&6; }
28165 if test "$PKG_CONFIG" = "no
" ; then
28166 echo "*** A new enough version of pkg
-config was not found.
"
28167 echo "*** See http
://pkgconfig.sourceforge.net
"
28169 if test -f conf.gtktest ; then
28172 echo "*** Could not run GTK
+ test program
, checking why...
"
28173 ac_save_CFLAGS="$CFLAGS"
28174 ac_save_LIBS="$LIBS"
28175 CFLAGS="$CFLAGS $GTK_CFLAGS"
28176 LIBS="$LIBS $GTK_LIBS"
28177 cat >conftest.$ac_ext <<_ACEOF
28180 cat confdefs.h >>conftest.$ac_ext
28181 cat >>conftest.$ac_ext <<_ACEOF
28182 /* end confdefs.h. */
28184 #include <gtk/gtk.h>
28190 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
28195 rm -f conftest.$ac_objext conftest$ac_exeext
28196 if { (ac_try="$ac_link"
28197 case "(($ac_try" in
28198 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28199 *) ac_try_echo=$ac_try;;
28201 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
28202 (eval "$ac_link") 2>conftest.er1
28204 grep -v '^ *+' conftest.er1 >conftest.err
28206 cat conftest.err >&5
28207 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
28208 (exit $ac_status); } && {
28209 test -z "$ac_c_werror_flag" ||
28210 test ! -s conftest.err
28211 } && test -s conftest$ac_exeext &&
28212 $as_test_x conftest$ac_exeext; then
28213 echo "*** The
test program compiled
, but did not run. This usually means
"
28214 echo "*** that the run
-time linker is not finding GTK
+ or finding the wrong
"
28215 echo "*** version of GTK
+. If it is not finding GTK
+, you
'll need to set your"
28216 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
28217 echo "*** to the installed location Also, make sure you have run ldconfig if that"
28218 echo "*** is required on your system"
28220 echo "*** If you have an old version installed, it is best to remove it, although"
28221 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
28223 echo "$as_me: failed program was:" >&5
28224 sed 's
/^
/| /' conftest.$ac_ext >&5
28226 echo "*** The test program failed to compile or link. See the file config.log for the"
28227 echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."
28230 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28231 conftest$ac_exeext conftest.$ac_ext
28232 CFLAGS="$ac_save_CFLAGS"
28233 LIBS="$ac_save_LIBS"
28247 if test "$wxUSE_SHARED" != "yes"; then
28248 GTK_LIBS="$GTK_LIBS -lX11"
28253 if test -z "$wx_cv_lib_gtk"; then
28254 if test "x$wxGTK_VERSION" = "x1" -o "x$wxGTK_VERSION" = "xany" ; then
28256 # Check whether --with-gtk-prefix was given.
28257 if test "${with_gtk_prefix+set}" = set; then
28258 withval=$with_gtk_prefix; gtk_config_prefix="$withval"
28260 gtk_config_prefix=""
28264 # Check whether --with-gtk-exec-prefix was given.
28265 if test "${with_gtk_exec_prefix+set}" = set; then
28266 withval=$with_gtk_exec_prefix; gtk_config_exec_prefix="$withval"
28268 gtk_config_exec_prefix=""
28271 # Check whether --enable-gtktest was given.
28272 if test "${enable_gtktest+set}" = set; then
28273 enableval=$enable_gtktest;
28279 for module in . $GTK_MODULES
28283 gtk_config_args="$gtk_config_args gthread"
28288 if test x$gtk_config_exec_prefix != x ; then
28289 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
28290 if test x${GTK_CONFIG+set} != xset ; then
28291 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
28294 if test x$gtk_config_prefix != x ; then
28295 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
28296 if test x${GTK_CONFIG+set} != xset ; then
28297 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
28301 # Extract the first word of "gtk-config", so it can be a program name with args.
28302 set dummy gtk-config; ac_word=$2
28303 { echo "$as_me:$LINENO: checking for $ac_word" >&5
28304 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
28305 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
28306 echo $ECHO_N "(cached) $ECHO_C" >&6
28308 case $GTK_CONFIG in
28310 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
28313 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
28314 for as_dir in $PATH
28317 test -z "$as_dir" && as_dir=.
28318 for ac_exec_ext in '' $ac_executable_extensions; do
28319 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
28320 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
28321 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
28328 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
28332 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
28333 if test -n "$GTK_CONFIG"; then
28334 { echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
28335 echo "${ECHO_T}$GTK_CONFIG" >&6; }
28337 { echo "$as_me:$LINENO: result: no" >&5
28338 echo "${ECHO_T}no" >&6; }
28342 min_gtk_version=1.2.7
28343 { echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
28344 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6; }
28346 if test "$GTK_CONFIG" = "no" ; then
28349 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
28350 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
28351 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
28352 sed 's
/\
([0-9]*\
).\
([0-9]*\
).\
([0-9]*\
)/\
1/'`
28353 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
28354 sed 's
/\
([0-9]*\
).\
([0-9]*\
).\
([0-9]*\
)/\
2/'`
28355 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
28356 sed 's
/\
([0-9]*\
).\
([0-9]*\
).\
([0-9]*\
)/\
3/'`
28357 if test "x$enable_gtktest" = "xyes" ; then
28358 ac_save_CFLAGS="$CFLAGS"
28359 ac_save_LIBS="$LIBS"
28360 CFLAGS="$CFLAGS $GTK_CFLAGS"
28361 LIBS="$GTK_LIBS $LIBS"
28363 if test "$cross_compiling" = yes; then
28364 echo $ac_n "cross compiling; assumed OK... $ac_c"
28366 cat >conftest.$ac_ext <<_ACEOF
28369 cat confdefs.h >>conftest.$ac_ext
28370 cat >>conftest.$ac_ext <<_ACEOF
28371 /* end confdefs.h. */
28373 #include <gtk/gtk.h>
28375 #include <stdlib.h>
28380 int major, minor, micro;
28383 system ("touch conf.gtktest");
28385 /* HP/UX 9 (%@#!) writes to sscanf strings */
28386 tmp_version = g_strdup("$min_gtk_version");
28387 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
28388 printf("%s, bad version string\n", "$min_gtk_version");
28392 if ((gtk_major_version != $gtk_config_major_version) ||
28393 (gtk_minor_version != $gtk_config_minor_version) ||
28394 (gtk_micro_version != $gtk_config_micro_version))
28396 printf("\n*** 'gtk
-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
28397 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
28398 gtk_major_version, gtk_minor_version, gtk_micro_version);
28399 printf ("*** was found! If gtk-config was correct, then it is best\n");
28400 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
28401 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
28402 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
28403 printf("*** required on your system.\n");
28404 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
28405 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
28406 printf("*** before re-running configure\n");
28408 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
28409 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
28410 (gtk_minor_version != GTK_MINOR_VERSION) ||
28411 (gtk_micro_version != GTK_MICRO_VERSION))
28413 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
28414 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
28415 printf("*** library (version %d.%d.%d)\n",
28416 gtk_major_version, gtk_minor_version, gtk_micro_version);
28418 #endif /* defined (GTK_MAJOR_VERSION) ... */
28421 if ((gtk_major_version > major) ||
28422 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
28423 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
28429 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
28430 gtk_major_version, gtk_minor_version, gtk_micro_version);
28431 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
28432 major, minor, micro);
28433 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
28435 printf("*** If you have already installed a sufficiently new version, this error\n");
28436 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
28437 printf("*** being found. The easiest way to fix this is to remove the old version\n");
28438 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
28439 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
28440 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
28441 printf("*** so that the correct libraries are found at run-time))\n");
28448 rm -f conftest$ac_exeext
28449 if { (ac_try="$ac_link"
28450 case "(($ac_try" in
28451 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28452 *) ac_try_echo=$ac_try;;
28454 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28455 (eval "$ac_link") 2>&5
28457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28458 (exit $ac_status); } && { ac_try='.
/conftest
$ac_exeext'
28459 { (case "(($ac_try" in
28460 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28461 *) ac_try_echo=$ac_try;;
28463 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28464 (eval "$ac_try") 2>&5
28466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28467 (exit $ac_status); }; }; then
28470 echo "$as_me: program exited with status $ac_status" >&5
28471 echo "$as_me: failed program was:" >&5
28472 sed 's
/^
/| /' conftest.$ac_ext >&5
28474 ( exit $ac_status )
28477 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
28481 CFLAGS="$ac_save_CFLAGS"
28482 LIBS="$ac_save_LIBS"
28485 if test "x$no_gtk" = x ; then
28486 { echo "$as_me:$LINENO: result: yes" >&5
28487 echo "${ECHO_T}yes" >&6; }
28488 wx_cv_lib_gtk=1.2.7
28490 { echo "$as_me:$LINENO: result: no" >&5
28491 echo "${ECHO_T}no" >&6; }
28492 if test "$GTK_CONFIG" = "no" ; then
28493 echo "*** The gtk-config script installed by GTK could not be found"
28494 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
28495 echo "*** your path, or set the GTK_CONFIG environment variable to the"
28496 echo "*** full path to gtk-config."
28498 if test -f conf.gtktest ; then
28501 echo "*** Could not run GTK test program, checking why..."
28502 CFLAGS="$CFLAGS $GTK_CFLAGS"
28503 LIBS="$LIBS $GTK_LIBS"
28504 cat >conftest.$ac_ext <<_ACEOF
28507 cat confdefs.h >>conftest.$ac_ext
28508 cat >>conftest.$ac_ext <<_ACEOF
28509 /* end confdefs.h. */
28511 #include <gtk/gtk.h>
28517 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
28522 rm -f conftest.$ac_objext conftest$ac_exeext
28523 if { (ac_try="$ac_link"
28524 case "(($ac_try" in
28525 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28526 *) ac_try_echo=$ac_try;;
28528 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28529 (eval "$ac_link") 2>conftest.er1
28531 grep -v '^
*+' conftest.er1 >conftest.err
28533 cat conftest.err >&5
28534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28535 (exit $ac_status); } && {
28536 test -z "$ac_c_werror_flag" ||
28537 test ! -s conftest.err
28538 } && test -s conftest$ac_exeext &&
28539 $as_test_x conftest$ac_exeext; then
28540 echo "*** The test program compiled, but did not run. This usually means"
28541 echo "*** that the run-time linker is not finding GTK or finding the wrong"
28542 echo "*** version of GTK. If it is not finding GTK, you'll need to
set your
"
28543 echo "*** LD_LIBRARY_PATH environment variable
, or edit
/etc
/ld.so.conf to point
"
28544 echo "*** to the installed location Also
, make sure you have run ldconfig
if that
"
28545 echo "*** is required on your system
"
28547 echo "*** If you have an old version installed
, it is best to remove it
, although
"
28548 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH
"
28550 echo "*** If you have a RedHat
5.0 system
, you should remove the GTK package that
"
28551 echo "*** came with the system with the
command"
28553 echo "*** rpm
--erase --nodeps gtk gtk
-devel"
28555 echo "$as_me: failed program was
:" >&5
28556 sed 's/^/| /' conftest.$ac_ext >&5
28558 echo "*** The
test program failed to compile or link. See the
file config.log
for the
"
28559 echo "*** exact error that occured. This usually means GTK was incorrectly installed
"
28560 echo "*** or that you have moved GTK since it was installed. In the latter
case, you
"
28561 echo "*** may want to edit the gtk
-config script: $GTK_CONFIG"
28564 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28565 conftest$ac_exeext conftest.$ac_ext
28566 CFLAGS="$ac_save_CFLAGS"
28567 LIBS="$ac_save_LIBS"
28579 if test -z "$wx_cv_lib_gtk"; then
28581 # Check whether --with-gtk-prefix was given.
28582 if test "${with_gtk_prefix+set}" = set; then
28583 withval=$with_gtk_prefix; gtk_config_prefix="$withval"
28585 gtk_config_prefix=""
28589 # Check whether --with-gtk-exec-prefix was given.
28590 if test "${with_gtk_exec_prefix+set}" = set; then
28591 withval=$with_gtk_exec_prefix; gtk_config_exec_prefix="$withval"
28593 gtk_config_exec_prefix=""
28596 # Check whether --enable-gtktest was given.
28597 if test "${enable_gtktest+set}" = set; then
28598 enableval=$enable_gtktest;
28604 for module in . $GTK_MODULES
28608 gtk_config_args="$gtk_config_args gthread
"
28613 if test x$gtk_config_exec_prefix != x ; then
28614 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
28615 if test x${GTK_CONFIG+set} != xset ; then
28616 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
28619 if test x$gtk_config_prefix != x ; then
28620 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
28621 if test x${GTK_CONFIG+set} != xset ; then
28622 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
28626 # Extract the first word of "gtk
-config", so it can be a program name with args.
28627 set dummy gtk-config; ac_word=$2
28628 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
28629 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
28630 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
28631 echo $ECHO_N "(cached
) $ECHO_C" >&6
28633 case $GTK_CONFIG in
28635 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
28638 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
28639 for as_dir in $PATH
28642 test -z "$as_dir" && as_dir=.
28643 for ac_exec_ext in '' $ac_executable_extensions; do
28644 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
28645 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
28646 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
28653 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no
"
28657 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
28658 if test -n "$GTK_CONFIG"; then
28659 { echo "$as_me:$LINENO: result
: $GTK_CONFIG" >&5
28660 echo "${ECHO_T}$GTK_CONFIG" >&6; }
28662 { echo "$as_me:$LINENO: result
: no
" >&5
28663 echo "${ECHO_T}no
" >&6; }
28667 min_gtk_version=1.2.3
28668 { echo "$as_me:$LINENO: checking
for GTK
- version
>= $min_gtk_version" >&5
28669 echo $ECHO_N "checking
for GTK
- version
>= $min_gtk_version...
$ECHO_C" >&6; }
28671 if test "$GTK_CONFIG" = "no
" ; then
28674 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
28675 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
28676 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
28677 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
28678 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
28679 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
28680 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
28681 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
28682 if test "x
$enable_gtktest" = "xyes
" ; then
28683 ac_save_CFLAGS="$CFLAGS"
28684 ac_save_LIBS="$LIBS"
28685 CFLAGS="$CFLAGS $GTK_CFLAGS"
28686 LIBS="$GTK_LIBS $LIBS"
28688 if test "$cross_compiling" = yes; then
28689 echo $ac_n "cross compiling
; assumed OK...
$ac_c"
28691 cat >conftest.$ac_ext <<_ACEOF
28694 cat confdefs.h >>conftest.$ac_ext
28695 cat >>conftest.$ac_ext <<_ACEOF
28696 /* end confdefs.h. */
28698 #include <gtk/gtk.h>
28700 #include <stdlib.h>
28705 int major, minor, micro;
28708 system ("touch conf.gtktest
");
28710 /* HP/UX 9 (%@#!) writes to sscanf strings */
28711 tmp_version = g_strdup("$min_gtk_version");
28712 if (sscanf(tmp_version, "%d.
%d.
%d
", &major, &minor, µ) != 3) {
28713 printf("%s
, bad version string
\n", "$min_gtk_version");
28717 if ((gtk_major_version != $gtk_config_major_version) ||
28718 (gtk_minor_version != $gtk_config_minor_version) ||
28719 (gtk_micro_version != $gtk_config_micro_version))
28721 printf("\n*** 'gtk-config --version' returned
%d.
%d.
%d
, but GTK
+ (%d.
%d.
%d
)\n",
28722 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
28723 gtk_major_version, gtk_minor_version, gtk_micro_version);
28724 printf ("*** was found
! If gtk
-config was correct
, then it is best
\n");
28725 printf ("*** to remove the old version of GTK
+. You may also be able to fix the error
\n");
28726 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable
, or by editing
\n");
28727 printf("*** /etc
/ld.so.conf. Make sure you have run ldconfig
if that is
\n");
28728 printf("*** required on your system.
\n");
28729 printf("*** If gtk
-config was wrong
, set the environment variable GTK_CONFIG
\n");
28730 printf("*** to point to the correct copy of gtk
-config, and remove the
file config.cache
\n");
28731 printf("*** before re
-running configure
\n");
28733 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
28734 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
28735 (gtk_minor_version != GTK_MINOR_VERSION) ||
28736 (gtk_micro_version != GTK_MICRO_VERSION))
28738 printf("*** GTK
+ header files
(version
%d.
%d.
%d
) do not match
\n",
28739 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
28740 printf("*** library
(version
%d.
%d.
%d
)\n",
28741 gtk_major_version, gtk_minor_version, gtk_micro_version);
28743 #endif /* defined (GTK_MAJOR_VERSION) ... */
28746 if ((gtk_major_version > major) ||
28747 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
28748 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
28754 printf("\n*** An old version of GTK
+ (%d.
%d.
%d
) was found.
\n",
28755 gtk_major_version, gtk_minor_version, gtk_micro_version);
28756 printf("*** You need a version of GTK
+ newer than
%d.
%d.
%d. The latest version of
\n",
28757 major, minor, micro);
28758 printf("*** GTK
+ is always available from
ftp://ftp.gtk.org.
\n");
28760 printf("*** If you have already installed a sufficiently new version
, this error
\n");
28761 printf("*** probably means that the wrong copy of the gtk
-config shell
script is
\n");
28762 printf("*** being found. The easiest way to fix this is to remove the old version
\n");
28763 printf("*** of GTK
+, but you can also
set the GTK_CONFIG environment to point to the
\n");
28764 printf("*** correct copy of gtk
-config.
(In this
case, you will have to
\n");
28765 printf("*** modify your LD_LIBRARY_PATH enviroment variable
, or edit
/etc
/ld.so.conf
\n");
28766 printf("*** so that the correct libraries are found
at run
-time))\n");
28773 rm -f conftest$ac_exeext
28774 if { (ac_try="$ac_link"
28775 case "(($ac_try" in
28776 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28777 *) ac_try_echo=$ac_try;;
28779 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
28780 (eval "$ac_link") 2>&5
28782 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
28783 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
28784 { (case "(($ac_try" in
28785 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28786 *) ac_try_echo=$ac_try;;
28788 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
28789 (eval "$ac_try") 2>&5
28791 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
28792 (exit $ac_status); }; }; then
28795 echo "$as_me: program exited with status
$ac_status" >&5
28796 echo "$as_me: failed program was
:" >&5
28797 sed 's/^/| /' conftest.$ac_ext >&5
28799 ( exit $ac_status )
28802 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
28806 CFLAGS="$ac_save_CFLAGS"
28807 LIBS="$ac_save_LIBS"
28810 if test "x
$no_gtk" = x ; then
28811 { echo "$as_me:$LINENO: result
: yes" >&5
28812 echo "${ECHO_T}yes" >&6; }
28813 wx_cv_lib_gtk=1.2.3
28815 { echo "$as_me:$LINENO: result
: no
" >&5
28816 echo "${ECHO_T}no
" >&6; }
28817 if test "$GTK_CONFIG" = "no
" ; then
28818 echo "*** The gtk
-config script installed by GTK could not be found
"
28819 echo "*** If GTK was installed
in PREFIX
, make sure PREFIX
/bin is
in"
28820 echo "*** your path
, or
set the GTK_CONFIG environment variable to the
"
28821 echo "*** full path to gtk
-config.
"
28823 if test -f conf.gtktest ; then
28826 echo "*** Could not run GTK
test program
, checking why...
"
28827 CFLAGS="$CFLAGS $GTK_CFLAGS"
28828 LIBS="$LIBS $GTK_LIBS"
28829 cat >conftest.$ac_ext <<_ACEOF
28832 cat confdefs.h >>conftest.$ac_ext
28833 cat >>conftest.$ac_ext <<_ACEOF
28834 /* end confdefs.h. */
28836 #include <gtk/gtk.h>
28842 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
28847 rm -f conftest.$ac_objext conftest$ac_exeext
28848 if { (ac_try="$ac_link"
28849 case "(($ac_try" in
28850 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28851 *) ac_try_echo=$ac_try;;
28853 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
28854 (eval "$ac_link") 2>conftest.er1
28856 grep -v '^ *+' conftest.er1 >conftest.err
28858 cat conftest.err >&5
28859 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
28860 (exit $ac_status); } && {
28861 test -z "$ac_c_werror_flag" ||
28862 test ! -s conftest.err
28863 } && test -s conftest$ac_exeext &&
28864 $as_test_x conftest$ac_exeext; then
28865 echo "*** The
test program compiled
, but did not run. This usually means
"
28866 echo "*** that the run
-time linker is not finding GTK or finding the wrong
"
28867 echo "*** version of GTK. If it is not finding GTK
, you
'll need to set your"
28868 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
28869 echo "*** to the installed location Also, make sure you have run ldconfig if that"
28870 echo "*** is required on your system"
28872 echo "*** If you have an old version installed, it is best to remove it, although"
28873 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
28875 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
28876 echo "*** came with the system with the command"
28878 echo "*** rpm --erase --nodeps gtk gtk-devel"
28880 echo "$as_me: failed program was:" >&5
28881 sed 's
/^
/| /' conftest.$ac_ext >&5
28883 echo "*** The test program failed to compile or link. See the file config.log for the"
28884 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
28885 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
28886 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
28889 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28890 conftest$ac_exeext conftest.$ac_ext
28891 CFLAGS="$ac_save_CFLAGS"
28892 LIBS="$ac_save_LIBS"
28907 if test -z "$wx_cv_lib_gtk"; then
28910 wx_cv_cflags_gtk=$GTK_CFLAGS
28911 wx_cv_libs_gtk=`echo $GTK_LIBS | sed -e 's
/ -l[^
]*cairo
[^
]*//g
'`
28918 if test "$gtk_version_cached" = 1; then
28919 { echo "$as_me:$LINENO: result: $wx_cv_lib_gtk" >&5
28920 echo "${ECHO_T}$wx_cv_lib_gtk" >&6; }
28923 case "$wx_cv_lib_gtk" in
28932 *) { { echo "$as_me:$LINENO: error:
28933 The development files for GTK+ were not found. For GTK+ 2, please
28934 ensure that pkg-config is in the path and that gtk+-2.0.pc is
28935 installed. For GTK+ 1.2 please check that gtk-config is in the path,
28936 and that the version is 1.2.3 or above. Also check that the
28937 libraries returned by 'pkg
-config gtk
+-2.0
--libs' or 'gtk
-config
28938 --libs' are in the LD_LIBRARY_PATH or equivalent.
28940 echo "$as_me: error:
28941 The development files for GTK+ were not found. For GTK+ 2, please
28942 ensure that pkg-config is in the path and that gtk+-2.0.pc is
28943 installed. For GTK+ 1.2 please check that gtk-config is in the path,
28944 and that the version is 1.2.3 or above. Also check that the
28945 libraries returned by 'pkg
-config gtk
+-2.0
--libs' or 'gtk
-config
28946 --libs' are in the LD_LIBRARY_PATH or equivalent.
28948 { (exit 1); exit 1; }; }
28952 if test "$WXGTK2" = 1; then
28953 save_CFLAGS="$CFLAGS"
28955 CFLAGS="$wx_cv_cflags_gtk $CFLAGS"
28956 LIBS="$LIBS $wx_cv_libs_gtk"
28958 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.10" >&5
28959 echo $ECHO_N "checking if GTK+ is version >= 2.10... $ECHO_C" >&6; }
28960 cat >conftest.$ac_ext <<_ACEOF
28963 cat confdefs.h >>conftest.$ac_ext
28964 cat >>conftest.$ac_ext <<_ACEOF
28965 /* end confdefs.h. */
28967 #include <gtk/gtk.h>
28973 #if !GTK_CHECK_VERSION(2,10,0)
28981 rm -f conftest.$ac_objext
28982 if { (ac_try="$ac_compile"
28983 case "(($ac_try" in
28984 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28985 *) ac_try_echo=$ac_try;;
28987 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28988 (eval "$ac_compile") 2>conftest.er1
28990 grep -v '^
*+' conftest.er1 >conftest.err
28992 cat conftest.err >&5
28993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28994 (exit $ac_status); } && {
28995 test -z "$ac_c_werror_flag" ||
28996 test ! -s conftest.err
28997 } && test -s conftest.$ac_objext; then
28999 cat >>confdefs.h <<\_ACEOF
29000 #define __WXGTK210__ 1
29003 cat >>confdefs.h <<\_ACEOF
29004 #define __WXGTK26__ 1
29007 { echo "$as_me:$LINENO: result: yes" >&5
29008 echo "${ECHO_T}yes" >&6; }
29012 echo "$as_me: failed program was:" >&5
29013 sed 's
/^
/| /' conftest.$ac_ext >&5
29016 { echo "$as_me:$LINENO: result: no" >&5
29017 echo "${ECHO_T}no" >&6; }
29022 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29024 if test "$ac_wxgtk210" = 0; then
29025 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.6" >&5
29026 echo $ECHO_N "checking if GTK+ is version >= 2.6... $ECHO_C" >&6; }
29027 cat >conftest.$ac_ext <<_ACEOF
29030 cat confdefs.h >>conftest.$ac_ext
29031 cat >>conftest.$ac_ext <<_ACEOF
29032 /* end confdefs.h. */
29034 #include <gtk/gtk.h>
29040 #if !GTK_CHECK_VERSION(2,6,0)
29048 rm -f conftest.$ac_objext
29049 if { (ac_try="$ac_compile"
29050 case "(($ac_try" in
29051 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29052 *) ac_try_echo=$ac_try;;
29054 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29055 (eval "$ac_compile") 2>conftest.er1
29057 grep -v '^
*+' conftest.er1 >conftest.err
29059 cat conftest.err >&5
29060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29061 (exit $ac_status); } && {
29062 test -z "$ac_c_werror_flag" ||
29063 test ! -s conftest.err
29064 } && test -s conftest.$ac_objext; then
29066 cat >>confdefs.h <<\_ACEOF
29067 #define __WXGTK26__ 1
29070 { echo "$as_me:$LINENO: result: yes" >&5
29071 echo "${ECHO_T}yes" >&6; }
29075 echo "$as_me: failed program was:" >&5
29076 sed 's
/^
/| /' conftest.$ac_ext >&5
29079 { echo "$as_me:$LINENO: result: no" >&5
29080 echo "${ECHO_T}no" >&6; }
29085 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29088 CFLAGS="$save_CFLAGS"
29091 if test "$wxUSE_UNICODE" = "yes"; then
29092 { echo "$as_me:$LINENO: WARNING: Unicode configuration not supported with GTK+ 1.x" >&5
29093 echo "$as_me: WARNING: Unicode configuration not supported with GTK+ 1.x" >&2;}
29097 { echo "$as_me:$LINENO: checking for gdk_im_open in -lgdk" >&5
29098 echo $ECHO_N "checking for gdk_im_open in -lgdk... $ECHO_C" >&6; }
29099 if test "${ac_cv_lib_gdk_gdk_im_open+set}" = set; then
29100 echo $ECHO_N "(cached) $ECHO_C" >&6
29102 ac_check_lib_save_LIBS=$LIBS
29104 cat >conftest.$ac_ext <<_ACEOF
29107 cat confdefs.h >>conftest.$ac_ext
29108 cat >>conftest.$ac_ext <<_ACEOF
29109 /* end confdefs.h. */
29111 /* Override any GCC internal prototype to avoid an error.
29112 Use char because int might match the return type of a GCC
29113 builtin and then its argument prototype would still apply. */
29117 char gdk_im_open ();
29121 return gdk_im_open ();
29126 rm -f conftest.$ac_objext conftest$ac_exeext
29127 if { (ac_try="$ac_link"
29128 case "(($ac_try" in
29129 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29130 *) ac_try_echo=$ac_try;;
29132 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29133 (eval "$ac_link") 2>conftest.er1
29135 grep -v '^
*+' conftest.er1 >conftest.err
29137 cat conftest.err >&5
29138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29139 (exit $ac_status); } && {
29140 test -z "$ac_c_werror_flag" ||
29141 test ! -s conftest.err
29142 } && test -s conftest$ac_exeext &&
29143 $as_test_x conftest$ac_exeext; then
29144 ac_cv_lib_gdk_gdk_im_open=yes
29146 echo "$as_me: failed program was:" >&5
29147 sed 's
/^
/| /' conftest.$ac_ext >&5
29149 ac_cv_lib_gdk_gdk_im_open=no
29152 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29153 conftest$ac_exeext conftest.$ac_ext
29154 LIBS=$ac_check_lib_save_LIBS
29156 { echo "$as_me:$LINENO: result: $ac_cv_lib_gdk_gdk_im_open" >&5
29157 echo "${ECHO_T}$ac_cv_lib_gdk_gdk_im_open" >&6; }
29158 if test $ac_cv_lib_gdk_gdk_im_open = yes; then
29159 cat >>confdefs.h <<\_ACEOF
29166 if test "$USE_DARWIN" != 1; then
29168 for ac_func in poll
29170 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29171 { echo "$as_me:$LINENO: checking for $ac_func" >&5
29172 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
29173 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
29174 echo $ECHO_N "(cached) $ECHO_C" >&6
29176 cat >conftest.$ac_ext <<_ACEOF
29179 cat confdefs.h >>conftest.$ac_ext
29180 cat >>conftest.$ac_ext <<_ACEOF
29181 /* end confdefs.h. */
29182 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29183 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29184 #define $ac_func innocuous_$ac_func
29186 /* System header to define __stub macros and hopefully few prototypes,
29187 which can conflict with char $ac_func (); below.
29188 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29189 <limits.h> exists even on freestanding compilers. */
29192 # include <limits.h>
29194 # include <assert.h>
29199 /* Override any GCC internal prototype to avoid an error.
29200 Use char because int might match the return type of a GCC
29201 builtin and then its argument prototype would still apply. */
29206 /* The GNU C library defines this for functions which it implements
29207 to always fail with ENOSYS. Some functions are actually named
29208 something starting with __ and the normal name is an alias. */
29209 #if defined __stub_$ac_func || defined __stub___$ac_func
29216 return $ac_func ();
29221 rm -f conftest.$ac_objext conftest$ac_exeext
29222 if { (ac_try="$ac_link"
29223 case "(($ac_try" in
29224 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29225 *) ac_try_echo=$ac_try;;
29227 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29228 (eval "$ac_link") 2>conftest.er1
29230 grep -v '^
*+' conftest.er1 >conftest.err
29232 cat conftest.err >&5
29233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29234 (exit $ac_status); } && {
29235 test -z "$ac_c_werror_flag" ||
29236 test ! -s conftest.err
29237 } && test -s conftest$ac_exeext &&
29238 $as_test_x conftest$ac_exeext; then
29239 eval "$as_ac_var=yes"
29241 echo "$as_me: failed program was:" >&5
29242 sed 's
/^
/| /' conftest.$ac_ext >&5
29244 eval "$as_ac_var=no"
29247 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29248 conftest$ac_exeext conftest.$ac_ext
29250 ac_res=`eval echo '${'$as_ac_var'}'`
29251 { echo "$as_me:$LINENO: result: $ac_res" >&5
29252 echo "${ECHO_T}$ac_res" >&6; }
29253 if test `eval echo '${'$as_ac_var'}'` = yes; then
29254 cat >>confdefs.h <<_ACEOF
29255 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29264 TOOLKIT_INCLUDE="$wx_cv_cflags_gtk"
29265 GUI_TK_LIBRARY="$wx_cv_libs_gtk $GUI_TK_LIBRARY"
29267 AFMINSTALL=afminstall
29271 if test "$wxUSE_GPE" = "yes"; then
29272 { echo "$as_me:$LINENO: checking for gpewidget library" >&5
29273 echo $ECHO_N "checking for gpewidget library... $ECHO_C" >&6; }
29276 for ac_dir in $SEARCH_LIB;
29278 for ac_extension in a so sl dylib dll.a; do
29279 if test -f "$ac_dir/libgpewidget.$ac_extension"; then
29280 ac_find_libraries=$ac_dir
29286 if test "$ac_find_libraries" != "" ; then
29288 if test "$ac_find_libraries" = "default location"; then
29291 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
29293 if test $result = 0; then
29296 ac_path_to_link=" -L$ac_find_libraries"
29300 GUI_TK_LIBRARY="-L${prefix}/lib -lgpewidget $GUI_TK_LIBRARY"
29302 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
29303 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
29305 { echo "$as_me:$LINENO: result: not found" >&5
29306 echo "${ECHO_T}not found" >&6; }
29312 if test "$wxUSE_MGL" = 1; then
29313 { echo "$as_me:$LINENO: checking for SciTech MGL library" >&5
29314 echo $ECHO_N "checking for SciTech MGL library... $ECHO_C" >&6; }
29315 if test "x$MGL_ROOT" = x ; then
29316 { echo "$as_me:$LINENO: result: not found" >&5
29317 echo "${ECHO_T}not found" >&6; }
29318 { { echo "$as_me:$LINENO: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&5
29319 echo "$as_me: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&2;}
29320 { (exit 1); exit 1; }; }
29322 { echo "$as_me:$LINENO: result: $MGL_ROOT" >&5
29323 echo "${ECHO_T}$MGL_ROOT" >&6; }
29326 { echo "$as_me:$LINENO: checking for libmgl location" >&5
29327 echo $ECHO_N "checking for libmgl location... $ECHO_C" >&6; }
29330 if test "x$wxUSE_SHARED" = xyes ; then
29331 mgl_os_candidates="linux/gcc/x86/so linux/gcc/x86/a linux/gcc/glibc.so linux/gcc/glibc"
29333 mgl_os_candidates="linux/gcc/x86/a linux/gcc/x86/so linux/gcc/glibc linux/gcc/glibc.so"
29337 mgl_os_candidates="dos32/dj2"
29340 { { echo "$as_me:$LINENO: error: This system type ${host} is not yet supported by wxMGL." >&5
29341 echo "$as_me: error: This system type ${host} is not yet supported by wxMGL." >&2;}
29342 { (exit 1); exit 1; }; }
29348 for mgl_os_i in $mgl_os_candidates ; do
29349 if test "x$mgl_os" = x ; then
29350 if test "$wxUSE_DEBUG_FLAG" = yes ; then
29351 if test -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.a -o \
29352 -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.so; then
29357 if test "x$mgl_lib_type" = x ; then
29358 if test -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.a -o \
29359 -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.so; then
29360 mgl_lib_type=release
29367 if test "x$mgl_os" = x ; then
29368 { echo "$as_me:$LINENO: result: not found" >&5
29369 echo "${ECHO_T}not found" >&6; }
29370 { { echo "$as_me:$LINENO: error: Cannot find MGL libraries, make sure they are compiled." >&5
29371 echo "$as_me: error: Cannot find MGL libraries, make sure they are compiled." >&2;}
29372 { (exit 1); exit 1; }; }
29374 { echo "$as_me:$LINENO: result: \"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&5
29375 echo "${ECHO_T}\"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&6; }
29377 wxUSE_UNIVERSAL="yes"
29379 TOOLKIT_INCLUDE="-I$MGL_ROOT/include"
29380 GUI_TK_LIBRARY="-L$MGL_ROOT/lib/$mgl_lib_type/$mgl_os -lmgl -lmglcpp -lpm"
29382 AFMINSTALL=afminstall
29387 if test "$wxUSE_DFB" = 1; then
29390 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
29391 if test -n "$ac_tool_prefix"; then
29392 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
29393 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
29394 { echo "$as_me:$LINENO: checking for $ac_word" >&5
29395 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
29396 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
29397 echo $ECHO_N "(cached) $ECHO_C" >&6
29399 case $PKG_CONFIG in
29401 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
29404 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
29405 for as_dir in $PATH
29408 test -z "$as_dir" && as_dir=.
29409 for ac_exec_ext in '' $ac_executable_extensions; do
29410 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
29411 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
29412 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
29422 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
29423 if test -n "$PKG_CONFIG"; then
29424 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
29425 echo "${ECHO_T}$PKG_CONFIG" >&6; }
29427 { echo "$as_me:$LINENO: result: no" >&5
29428 echo "${ECHO_T}no" >&6; }
29433 if test -z "$ac_cv_path_PKG_CONFIG"; then
29434 ac_pt_PKG_CONFIG=$PKG_CONFIG
29435 # Extract the first word of "pkg-config", so it can be a program name with args.
29436 set dummy pkg-config; ac_word=$2
29437 { echo "$as_me:$LINENO: checking for $ac_word" >&5
29438 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
29439 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
29440 echo $ECHO_N "(cached) $ECHO_C" >&6
29442 case $ac_pt_PKG_CONFIG in
29444 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
29447 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
29448 for as_dir in $PATH
29451 test -z "$as_dir" && as_dir=.
29452 for ac_exec_ext in '' $ac_executable_extensions; do
29453 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
29454 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
29455 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
29465 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
29466 if test -n "$ac_pt_PKG_CONFIG"; then
29467 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
29468 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
29470 { echo "$as_me:$LINENO: result: no" >&5
29471 echo "${ECHO_T}no" >&6; }
29474 if test "x$ac_pt_PKG_CONFIG" = x; then
29477 case $cross_compiling:$ac_tool_warned in
29479 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
29480 whose name does not start with the host triplet. If you think this
29481 configuration is useful to you, please write to autoconf@gnu.org." >&5
29482 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
29483 whose name does not start with the host triplet. If you think this
29484 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
29485 ac_tool_warned=yes ;;
29487 PKG_CONFIG=$ac_pt_PKG_CONFIG
29490 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
29494 if test -n "$PKG_CONFIG"; then
29495 _pkg_min_version=0.9.0
29496 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
29497 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
29498 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
29499 { echo "$as_me:$LINENO: result: yes" >&5
29500 echo "${ECHO_T}yes" >&6; }
29502 { echo "$as_me:$LINENO: result: no" >&5
29503 echo "${ECHO_T}no" >&6; }
29511 { echo "$as_me:$LINENO: checking for DIRECTFB" >&5
29512 echo $ECHO_N "checking for DIRECTFB... $ECHO_C" >&6; }
29514 if test -n "$PKG_CONFIG"; then
29515 if test -n "$DIRECTFB_CFLAGS"; then
29516 pkg_cv_DIRECTFB_CFLAGS="$DIRECTFB_CFLAGS"
29518 if test -n "$PKG_CONFIG" && \
29519 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\"") >&5
29520 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.23") 2>&5
29522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29523 (exit $ac_status); }; then
29524 pkg_cv_DIRECTFB_CFLAGS=`$PKG_CONFIG --cflags "directfb >= 0.9.23" 2>/dev/null`
29532 if test -n "$PKG_CONFIG"; then
29533 if test -n "$DIRECTFB_LIBS"; then
29534 pkg_cv_DIRECTFB_LIBS="$DIRECTFB_LIBS"
29536 if test -n "$PKG_CONFIG" && \
29537 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\"") >&5
29538 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.23") 2>&5
29540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29541 (exit $ac_status); }; then
29542 pkg_cv_DIRECTFB_LIBS=`$PKG_CONFIG --libs "directfb >= 0.9.23" 2>/dev/null`
29553 if test $pkg_failed = yes; then
29555 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
29556 _pkg_short_errors_supported=yes
29558 _pkg_short_errors_supported=no
29560 if test $_pkg_short_errors_supported = yes; then
29561 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "directfb >= 0.9.23"`
29563 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "directfb >= 0.9.23"`
29565 # Put the nasty error message in config.log where it belongs
29566 echo "$DIRECTFB_PKG_ERRORS" >&5
29569 { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
29570 echo "$as_me: error: DirectFB not found." >&2;}
29571 { (exit 1); exit 1; }; }
29574 elif test $pkg_failed = untried; then
29576 { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
29577 echo "$as_me: error: DirectFB not found." >&2;}
29578 { (exit 1); exit 1; }; }
29582 DIRECTFB_CFLAGS=$pkg_cv_DIRECTFB_CFLAGS
29583 DIRECTFB_LIBS=$pkg_cv_DIRECTFB_LIBS
29584 { echo "$as_me:$LINENO: result: yes" >&5
29585 echo "${ECHO_T}yes" >&6; }
29587 wxUSE_UNIVERSAL="yes"
29588 TOOLKIT_INCLUDE="$DIRECTFB_CFLAGS"
29589 GUI_TK_LIBRARY="$DIRECTFB_LIBS"
29596 if test "$wxUSE_MICROWIN" = 1; then
29597 { echo "$as_me:$LINENO: checking for MicroWindows" >&5
29598 echo $ECHO_N "checking for MicroWindows... $ECHO_C" >&6; }
29599 if test "x$MICROWINDOWS" = x ; then
29600 { echo "$as_me:$LINENO: result: not found" >&5
29601 echo "${ECHO_T}not found" >&6; }
29602 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&5
29603 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&2;}
29604 { (exit 1); exit 1; }; }
29606 { echo "$as_me:$LINENO: result: $MICROWINDOWS" >&5
29607 echo "${ECHO_T}$MICROWINDOWS" >&6; }
29610 if test -f $MICROWINDOWS/lib/libmwin.a; then
29611 { echo "$as_me:$LINENO: result: MicroWindows' libraries found.
" >&5
29612 echo "${ECHO_T}MicroWindows
' libraries found." >&6; }
29614 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows libraries, make sure they are compiled." >&5
29615 echo "$as_me: error: Cannot find MicroWindows libraries, make sure they are compiled." >&2;}
29616 { (exit 1); exit 1; }; }
29619 TOOLKIT_INCLUDE="-I$MICROWINDOWS/include"
29620 GUI_TK_LIBRARY="-L$MICROWINDOWS/lib -lmwin -lmwengine -mwfonts -mwdrivers -mwinlib"
29622 wxUSE_UNIVERSAL="yes"
29624 AFMINSTALL=afminstall
29626 GUIDIST=MICROWIN_DIST
29628 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXMSW__ -D__WIN95__ -D__WIN32__ -DMWIN -DMICROWIN_NOCONTROLS -DMICROWIN_TODO=1"
29631 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
29632 { echo "$as_me:$LINENO: checking for X" >&5
29633 echo $ECHO_N "checking for X... $ECHO_C" >&6; }
29636 # Check whether --with-x was given.
29637 if test "${with_x+set}" = set; then
29641 # $have_x is `yes', `no', `disabled
', or empty when we do not yet know.
29642 if test "x$with_x" = xno; then
29643 # The user explicitly disabled X.
29646 case $x_includes,$x_libraries in #(
29647 *\'*) { { echo "$as_me:$LINENO: error: Cannot use X directory names containing '" >&5
29648 echo "$as_me: error
: Cannot use X directory names containing
'" >&2;}
29649 { (exit 1); exit 1; }; };; #(
29650 *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then
29651 echo $ECHO_N "(cached) $ECHO_C" >&6
29653 # One or both of the vars are not set, and there is no cached value.
29654 ac_x_includes=no ac_x_libraries=no
29655 rm -f -r conftest.dir
29656 if mkdir conftest.dir; then
29658 cat >Imakefile <<'_ACEOF'
29660 @echo incroot='${INCROOT}'
29662 @echo usrlibdir='${USRLIBDIR}'
29664 @echo libdir='${LIBDIR}'
29666 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
29667 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
29668 for ac_var in incroot usrlibdir libdir; do
29669 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's
/^
$ac_var=//p
'\`"
29671 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
29672 for ac_extension in a so sl; do
29673 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
29674 test -f "$ac_im_libdir/libX11.$ac_extension"; then
29675 ac_im_usrlibdir=$ac_im_libdir; break
29678 # Screen out bogus values from the imake configuration. They are
29679 # bogus both because they are the default anyway, and because
29680 # using them would break gcc on systems where it needs fixed includes.
29681 case $ac_im_incroot in
29682 /usr/include) ac_x_includes= ;;
29683 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
29685 case $ac_im_usrlibdir in
29686 /usr/lib | /lib) ;;
29687 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
29691 rm -f -r conftest.dir
29694 # Standard set of common directories for X headers.
29695 # Check X11 before X11Rn because it is often a symlink to the current release.
29707 /usr
/local
/X
11/include
29708 /usr
/local
/X
11R
6/include
29709 /usr
/local
/X
11R
5/include
29710 /usr
/local
/X
11R
4/include
29712 /usr
/local
/include
/X11
29713 /usr
/local
/include
/X11R6
29714 /usr
/local
/include
/X11R5
29715 /usr
/local
/include
/X11R4
29719 /usr
/XFree
86/include
/X11
29723 /usr
/unsupported
/include
29724 /usr
/athena
/include
29725 /usr
/local
/x
11r
5/include
29726 /usr
/lpp
/Xamples
/include
29728 /usr
/openwin
/include
29729 /usr
/openwin
/share
/include
'
29731 if test "$ac_x_includes" = no; then
29732 # Guess where to find include files, by looking for Xlib.h.
29733 # First, try using that file with no special directory specified.
29734 cat >conftest.$ac_ext <<_ACEOF
29737 cat confdefs.h >>conftest.$ac_ext
29738 cat >>conftest.$ac_ext <<_ACEOF
29739 /* end confdefs.h. */
29740 #include <X11/Xlib.h>
29742 if { (ac_try="$ac_cpp conftest.$ac_ext"
29743 case "(($ac_try" in
29744 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29745 *) ac_try_echo=$ac_try;;
29747 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29748 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
29750 grep -v '^
*+' conftest.er1 >conftest.err
29752 cat conftest.err >&5
29753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29754 (exit $ac_status); } >/dev/null && {
29755 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
29756 test ! -s conftest.err
29758 # We can compile using X headers with no special include directory.
29761 echo "$as_me: failed program was:" >&5
29762 sed 's
/^
/| /' conftest.$ac_ext >&5
29764 for ac_dir in $ac_x_header_dirs; do
29765 if test -r "$ac_dir/X11/Xlib.h"; then
29766 ac_x_includes=$ac_dir
29772 rm -f conftest.err conftest.$ac_ext
29773 fi # $ac_x_includes = no
29775 if test "$ac_x_libraries" = no; then
29776 # Check for the libraries.
29777 # See if we find them without any special options.
29778 # Don't add to
$LIBS permanently.
29781 cat >conftest.
$ac_ext <<_ACEOF
29784 cat confdefs.h
>>conftest.
$ac_ext
29785 cat >>conftest.
$ac_ext <<_ACEOF
29786 /* end confdefs.h. */
29787 #include <X11/Xlib.h>
29796 rm -f conftest.
$ac_objext conftest
$ac_exeext
29797 if { (ac_try
="$ac_link"
29798 case "(($ac_try" in
29799 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
29800 *) ac_try_echo=$ac_try;;
29802 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29803 (eval "$ac_link") 2>conftest.er1
29805 grep -v '^ *+' conftest.er1 >conftest.err
29807 cat conftest.err >&5
29808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29809 (exit $ac_status); } && {
29810 test -z "$ac_c_werror_flag" ||
29811 test ! -s conftest.err
29812 } && test -s conftest$ac_exeext &&
29813 $as_test_x conftest$ac_exeext; then
29815 # We can link X programs with no special library path.
29818 echo "$as_me: failed program was:" >&5
29819 sed 's/^/| /' conftest.$ac_ext >&5
29822 for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s
/include
/lib
/g
`
29824 # Don't even attempt the hair of trying to link an X program!
29825 for ac_extension in a so sl; do
29826 if test -r "$ac_dir/libX11.$ac_extension"; then
29827 ac_x_libraries=$ac_dir
29834 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29835 conftest$ac_exeext conftest.$ac_ext
29836 fi # $ac_x_libraries = no
29838 case $ac_x_includes,$ac_x_libraries in #(
29839 no,* | *,no | *\'*)
29840 # Didn't find X, or a directory has "'" in its name.
29841 ac_cv_have_x="have_x=no";; #(
29843 # Record where we found X for the cache.
29844 ac_cv_have_x="have_x=yes\
29845 ac_x_includes='$ac_x_includes'\
29846 ac_x_libraries='$ac_x_libraries'"
29852 eval "$ac_cv_have_x"
29855 if test "$have_x" != yes; then
29856 { echo "$as_me:$LINENO: result: $have_x" >&5
29857 echo "${ECHO_T}$have_x" >&6; }
29860 # If each of the values was on the command line, it overrides each guess.
29861 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
29862 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
29863 # Update the cache value to reflect the command line values.
29864 ac_cv_have_x="have_x=yes\
29865 ac_x_includes='$x_includes'\
29866 ac_x_libraries='$x_libraries'"
29867 { echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
29868 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6; }
29871 if test "$no_x" = yes; then
29872 # Not all programs may use this symbol, but it does not hurt to define it.
29874 cat >>confdefs.h <<\_ACEOF
29875 #define X_DISPLAY_MISSING 1
29878 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
29880 if test -n "$x_includes"; then
29881 X_CFLAGS="$X_CFLAGS -I$x_includes"
29884 # It would also be nice to do this for all -L options, not just this one.
29885 if test -n "$x_libraries"; then
29886 X_LIBS="$X_LIBS -L$x_libraries"
29887 # For Solaris; some versions of Sun CC require a space after -R and
29888 # others require no space. Words are not sufficient . . . .
29889 { echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
29890 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6; }
29891 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
29892 ac_xsave_c_werror_flag=$ac_c_werror_flag
29893 ac_c_werror_flag=yes
29894 cat >conftest.$ac_ext <<_ACEOF
29897 cat confdefs.h >>conftest.$ac_ext
29898 cat >>conftest.$ac_ext <<_ACEOF
29899 /* end confdefs.h. */
29909 rm -f conftest.$ac_objext conftest$ac_exeext
29910 if { (ac_try="$ac_link"
29911 case "(($ac_try" in
29912 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
29913 *) ac_try_echo
=$ac_try;;
29915 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29916 (eval "$ac_link") 2>conftest.er1
29918 grep -v '^ *+' conftest.er1
>conftest.err
29920 cat conftest.err
>&5
29921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29922 (exit $ac_status); } && {
29923 test -z "$ac_c_werror_flag" ||
29924 test ! -s conftest.err
29925 } && test -s conftest
$ac_exeext &&
29926 $as_test_x conftest
$ac_exeext; then
29927 { echo "$as_me:$LINENO: result: no" >&5
29928 echo "${ECHO_T}no" >&6; }
29929 X_LIBS
="$X_LIBS -R$x_libraries"
29931 echo "$as_me: failed program was:" >&5
29932 sed 's/^/| /' conftest.
$ac_ext >&5
29934 LIBS
="$ac_xsave_LIBS -R $x_libraries"
29935 cat >conftest.
$ac_ext <<_ACEOF
29938 cat confdefs.h
>>conftest.
$ac_ext
29939 cat >>conftest.
$ac_ext <<_ACEOF
29940 /* end confdefs.h. */
29950 rm -f conftest.
$ac_objext conftest
$ac_exeext
29951 if { (ac_try
="$ac_link"
29952 case "(($ac_try" in
29953 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
29954 *) ac_try_echo=$ac_try;;
29956 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29957 (eval "$ac_link") 2>conftest.er1
29959 grep -v '^ *+' conftest.er1 >conftest.err
29961 cat conftest.err >&5
29962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29963 (exit $ac_status); } && {
29964 test -z "$ac_c_werror_flag" ||
29965 test ! -s conftest.err
29966 } && test -s conftest$ac_exeext &&
29967 $as_test_x conftest$ac_exeext; then
29968 { echo "$as_me:$LINENO: result: yes" >&5
29969 echo "${ECHO_T}yes" >&6; }
29970 X_LIBS="$X_LIBS -R $x_libraries"
29972 echo "$as_me: failed program was:" >&5
29973 sed 's/^/| /' conftest.$ac_ext >&5
29975 { echo "$as_me:$LINENO: result: neither works" >&5
29976 echo "${ECHO_T}neither works" >&6; }
29979 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29980 conftest$ac_exeext conftest.$ac_ext
29983 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29984 conftest$ac_exeext conftest.$ac_ext
29985 ac_c_werror_flag=$ac_xsave_c_werror_flag
29986 LIBS=$ac_xsave_LIBS
29989 # Check for system-dependent libraries X programs must link with.
29990 # Do this before checking for the system-independent R6 libraries
29991 # (-lICE), since we may need -lsocket or whatever for X linking.
29993 if test "$ISC" = yes; then
29994 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
29996 # Martyn Johnson says this is needed for Ultrix, if the X
29997 # libraries were built with DECnet support. And Karl Berry says
29998 # the Alpha needs dnet_stub (dnet does not exist).
29999 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
30000 cat >conftest.$ac_ext <<_ACEOF
30003 cat confdefs.h >>conftest.$ac_ext
30004 cat >>conftest.$ac_ext <<_ACEOF
30005 /* end confdefs.h. */
30007 /* Override any GCC internal prototype to avoid an error.
30008 Use char because int might match the return type of a GCC
30009 builtin and then its argument prototype would still apply. */
30013 char XOpenDisplay ();
30017 return XOpenDisplay ();
30022 rm -f conftest.$ac_objext conftest$ac_exeext
30023 if { (ac_try="$ac_link"
30024 case "(($ac_try" in
30025 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
30026 *) ac_try_echo
=$ac_try;;
30028 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30029 (eval "$ac_link") 2>conftest.er1
30031 grep -v '^ *+' conftest.er1
>conftest.err
30033 cat conftest.err
>&5
30034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30035 (exit $ac_status); } && {
30036 test -z "$ac_c_werror_flag" ||
30037 test ! -s conftest.err
30038 } && test -s conftest
$ac_exeext &&
30039 $as_test_x conftest
$ac_exeext; then
30042 echo "$as_me: failed program was:" >&5
30043 sed 's/^/| /' conftest.
$ac_ext >&5
30045 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
30046 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6; }
30047 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
30048 echo $ECHO_N "(cached) $ECHO_C" >&6
30050 ac_check_lib_save_LIBS
=$LIBS
30051 LIBS
="-ldnet $LIBS"
30052 cat >conftest.
$ac_ext <<_ACEOF
30055 cat confdefs.h
>>conftest.
$ac_ext
30056 cat >>conftest.
$ac_ext <<_ACEOF
30057 /* end confdefs.h. */
30059 /* Override any GCC internal prototype to avoid an error.
30060 Use char because int might match the return type of a GCC
30061 builtin and then its argument prototype would still apply. */
30069 return dnet_ntoa ();
30074 rm -f conftest.
$ac_objext conftest
$ac_exeext
30075 if { (ac_try
="$ac_link"
30076 case "(($ac_try" in
30077 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
30078 *) ac_try_echo=$ac_try;;
30080 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30081 (eval "$ac_link") 2>conftest.er1
30083 grep -v '^ *+' conftest.er1 >conftest.err
30085 cat conftest.err >&5
30086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30087 (exit $ac_status); } && {
30088 test -z "$ac_c_werror_flag" ||
30089 test ! -s conftest.err
30090 } && test -s conftest$ac_exeext &&
30091 $as_test_x conftest$ac_exeext; then
30092 ac_cv_lib_dnet_dnet_ntoa=yes
30094 echo "$as_me: failed program was:" >&5
30095 sed 's/^/| /' conftest.$ac_ext >&5
30097 ac_cv_lib_dnet_dnet_ntoa=no
30100 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30101 conftest$ac_exeext conftest.$ac_ext
30102 LIBS=$ac_check_lib_save_LIBS
30104 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
30105 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6; }
30106 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
30107 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
30110 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
30111 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
30112 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6; }
30113 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
30114 echo $ECHO_N "(cached) $ECHO_C" >&6
30116 ac_check_lib_save_LIBS=$LIBS
30117 LIBS="-ldnet_stub $LIBS"
30118 cat >conftest.$ac_ext <<_ACEOF
30121 cat confdefs.h >>conftest.$ac_ext
30122 cat >>conftest.$ac_ext <<_ACEOF
30123 /* end confdefs.h. */
30125 /* Override any GCC internal prototype to avoid an error.
30126 Use char because int might match the return type of a GCC
30127 builtin and then its argument prototype would still apply. */
30135 return dnet_ntoa ();
30140 rm -f conftest.$ac_objext conftest$ac_exeext
30141 if { (ac_try="$ac_link"
30142 case "(($ac_try" in
30143 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
30144 *) ac_try_echo
=$ac_try;;
30146 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30147 (eval "$ac_link") 2>conftest.er1
30149 grep -v '^ *+' conftest.er1
>conftest.err
30151 cat conftest.err
>&5
30152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30153 (exit $ac_status); } && {
30154 test -z "$ac_c_werror_flag" ||
30155 test ! -s conftest.err
30156 } && test -s conftest
$ac_exeext &&
30157 $as_test_x conftest
$ac_exeext; then
30158 ac_cv_lib_dnet_stub_dnet_ntoa
=yes
30160 echo "$as_me: failed program was:" >&5
30161 sed 's/^/| /' conftest.
$ac_ext >&5
30163 ac_cv_lib_dnet_stub_dnet_ntoa
=no
30166 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
30167 conftest
$ac_exeext conftest.
$ac_ext
30168 LIBS
=$ac_check_lib_save_LIBS
30170 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
30171 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
30172 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
30173 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
30179 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
30180 conftest
$ac_exeext conftest.
$ac_ext
30181 LIBS
="$ac_xsave_LIBS"
30183 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
30184 # to get the SysV transport functions.
30185 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
30187 # The nsl library prevents programs from opening the X display
30188 # on Irix 5.2, according to T.E. Dickey.
30189 # The functions gethostbyname, getservbyname, and inet_addr are
30190 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
30191 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
30192 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
30193 if test "${ac_cv_func_gethostbyname+set}" = set; then
30194 echo $ECHO_N "(cached) $ECHO_C" >&6
30196 cat >conftest.
$ac_ext <<_ACEOF
30199 cat confdefs.h
>>conftest.
$ac_ext
30200 cat >>conftest.
$ac_ext <<_ACEOF
30201 /* end confdefs.h. */
30202 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
30203 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30204 #define gethostbyname innocuous_gethostbyname
30206 /* System header to define __stub macros and hopefully few prototypes,
30207 which can conflict with char gethostbyname (); below.
30208 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30209 <limits.h> exists even on freestanding compilers. */
30212 # include <limits.h>
30214 # include <assert.h>
30217 #undef gethostbyname
30219 /* Override any GCC internal prototype to avoid an error.
30220 Use char because int might match the return type of a GCC
30221 builtin and then its argument prototype would still apply. */
30225 char gethostbyname ();
30226 /* The GNU C library defines this for functions which it implements
30227 to always fail with ENOSYS. Some functions are actually named
30228 something starting with __ and the normal name is an alias. */
30229 #if defined __stub_gethostbyname || defined __stub___gethostbyname
30236 return gethostbyname ();
30241 rm -f conftest.
$ac_objext conftest
$ac_exeext
30242 if { (ac_try
="$ac_link"
30243 case "(($ac_try" in
30244 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
30245 *) ac_try_echo=$ac_try;;
30247 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30248 (eval "$ac_link") 2>conftest.er1
30250 grep -v '^ *+' conftest.er1 >conftest.err
30252 cat conftest.err >&5
30253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30254 (exit $ac_status); } && {
30255 test -z "$ac_c_werror_flag" ||
30256 test ! -s conftest.err
30257 } && test -s conftest$ac_exeext &&
30258 $as_test_x conftest$ac_exeext; then
30259 ac_cv_func_gethostbyname=yes
30261 echo "$as_me: failed program was:" >&5
30262 sed 's/^/| /' conftest.$ac_ext >&5
30264 ac_cv_func_gethostbyname=no
30267 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30268 conftest$ac_exeext conftest.$ac_ext
30270 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
30271 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
30273 if test $ac_cv_func_gethostbyname = no; then
30274 { echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
30275 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6; }
30276 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
30277 echo $ECHO_N "(cached) $ECHO_C" >&6
30279 ac_check_lib_save_LIBS=$LIBS
30281 cat >conftest.$ac_ext <<_ACEOF
30284 cat confdefs.h >>conftest.$ac_ext
30285 cat >>conftest.$ac_ext <<_ACEOF
30286 /* end confdefs.h. */
30288 /* Override any GCC internal prototype to avoid an error.
30289 Use char because int might match the return type of a GCC
30290 builtin and then its argument prototype would still apply. */
30294 char gethostbyname ();
30298 return gethostbyname ();
30303 rm -f conftest.$ac_objext conftest$ac_exeext
30304 if { (ac_try="$ac_link"
30305 case "(($ac_try" in
30306 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
30307 *) ac_try_echo
=$ac_try;;
30309 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30310 (eval "$ac_link") 2>conftest.er1
30312 grep -v '^ *+' conftest.er1
>conftest.err
30314 cat conftest.err
>&5
30315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30316 (exit $ac_status); } && {
30317 test -z "$ac_c_werror_flag" ||
30318 test ! -s conftest.err
30319 } && test -s conftest
$ac_exeext &&
30320 $as_test_x conftest
$ac_exeext; then
30321 ac_cv_lib_nsl_gethostbyname
=yes
30323 echo "$as_me: failed program was:" >&5
30324 sed 's/^/| /' conftest.
$ac_ext >&5
30326 ac_cv_lib_nsl_gethostbyname
=no
30329 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
30330 conftest
$ac_exeext conftest.
$ac_ext
30331 LIBS
=$ac_check_lib_save_LIBS
30333 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
30334 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6; }
30335 if test $ac_cv_lib_nsl_gethostbyname = yes; then
30336 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
30339 if test $ac_cv_lib_nsl_gethostbyname = no
; then
30340 { echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
30341 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6; }
30342 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
30343 echo $ECHO_N "(cached) $ECHO_C" >&6
30345 ac_check_lib_save_LIBS
=$LIBS
30347 cat >conftest.
$ac_ext <<_ACEOF
30350 cat confdefs.h
>>conftest.
$ac_ext
30351 cat >>conftest.
$ac_ext <<_ACEOF
30352 /* end confdefs.h. */
30354 /* Override any GCC internal prototype to avoid an error.
30355 Use char because int might match the return type of a GCC
30356 builtin and then its argument prototype would still apply. */
30360 char gethostbyname ();
30364 return gethostbyname ();
30369 rm -f conftest.
$ac_objext conftest
$ac_exeext
30370 if { (ac_try
="$ac_link"
30371 case "(($ac_try" in
30372 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
30373 *) ac_try_echo=$ac_try;;
30375 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30376 (eval "$ac_link") 2>conftest.er1
30378 grep -v '^ *+' conftest.er1 >conftest.err
30380 cat conftest.err >&5
30381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30382 (exit $ac_status); } && {
30383 test -z "$ac_c_werror_flag" ||
30384 test ! -s conftest.err
30385 } && test -s conftest$ac_exeext &&
30386 $as_test_x conftest$ac_exeext; then
30387 ac_cv_lib_bsd_gethostbyname=yes
30389 echo "$as_me: failed program was:" >&5
30390 sed 's/^/| /' conftest.$ac_ext >&5
30392 ac_cv_lib_bsd_gethostbyname=no
30395 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30396 conftest$ac_exeext conftest.$ac_ext
30397 LIBS=$ac_check_lib_save_LIBS
30399 { echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
30400 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6; }
30401 if test $ac_cv_lib_bsd_gethostbyname = yes; then
30402 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
30408 # lieder@skyler.mavd.honeywell.com says without -lsocket,
30409 # socket/setsockopt and other routines are undefined under SCO ODT
30410 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
30411 # on later versions), says Simon Leinen: it contains gethostby*
30412 # variants that don't use the name server (or something). -lsocket
30413 # must be given before -lnsl if both are needed. We assume that
30414 # if connect needs -lnsl, so does gethostbyname.
30415 { echo "$as_me:$LINENO: checking for connect" >&5
30416 echo $ECHO_N "checking for connect... $ECHO_C" >&6; }
30417 if test "${ac_cv_func_connect+set}" = set; then
30418 echo $ECHO_N "(cached) $ECHO_C" >&6
30420 cat >conftest.$ac_ext <<_ACEOF
30423 cat confdefs.h >>conftest.$ac_ext
30424 cat >>conftest.$ac_ext <<_ACEOF
30425 /* end confdefs.h. */
30426 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
30427 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30428 #define connect innocuous_connect
30430 /* System header to define __stub macros and hopefully few prototypes,
30431 which can conflict with char connect (); below.
30432 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30433 <limits.h> exists even on freestanding compilers. */
30436 # include <limits.h>
30438 # include <assert.h>
30443 /* Override any GCC internal prototype to avoid an error.
30444 Use char because int might match the return type of a GCC
30445 builtin and then its argument prototype would still apply. */
30450 /* The GNU C library defines this for functions which it implements
30451 to always fail with ENOSYS. Some functions are actually named
30452 something starting with __ and the normal name is an alias. */
30453 #if defined __stub_connect || defined __stub___connect
30465 rm -f conftest.$ac_objext conftest$ac_exeext
30466 if { (ac_try="$ac_link"
30467 case "(($ac_try" in
30468 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
30469 *) ac_try_echo
=$ac_try;;
30471 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30472 (eval "$ac_link") 2>conftest.er1
30474 grep -v '^ *+' conftest.er1
>conftest.err
30476 cat conftest.err
>&5
30477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30478 (exit $ac_status); } && {
30479 test -z "$ac_c_werror_flag" ||
30480 test ! -s conftest.err
30481 } && test -s conftest
$ac_exeext &&
30482 $as_test_x conftest
$ac_exeext; then
30483 ac_cv_func_connect
=yes
30485 echo "$as_me: failed program was:" >&5
30486 sed 's/^/| /' conftest.
$ac_ext >&5
30488 ac_cv_func_connect
=no
30491 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
30492 conftest
$ac_exeext conftest.
$ac_ext
30494 { echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
30495 echo "${ECHO_T}$ac_cv_func_connect" >&6; }
30497 if test $ac_cv_func_connect = no
; then
30498 { echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
30499 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6; }
30500 if test "${ac_cv_lib_socket_connect+set}" = set; then
30501 echo $ECHO_N "(cached) $ECHO_C" >&6
30503 ac_check_lib_save_LIBS
=$LIBS
30504 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
30505 cat >conftest.
$ac_ext <<_ACEOF
30508 cat confdefs.h
>>conftest.
$ac_ext
30509 cat >>conftest.
$ac_ext <<_ACEOF
30510 /* end confdefs.h. */
30512 /* Override any GCC internal prototype to avoid an error.
30513 Use char because int might match the return type of a GCC
30514 builtin and then its argument prototype would still apply. */
30527 rm -f conftest.
$ac_objext conftest
$ac_exeext
30528 if { (ac_try
="$ac_link"
30529 case "(($ac_try" in
30530 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
30531 *) ac_try_echo=$ac_try;;
30533 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30534 (eval "$ac_link") 2>conftest.er1
30536 grep -v '^ *+' conftest.er1 >conftest.err
30538 cat conftest.err >&5
30539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30540 (exit $ac_status); } && {
30541 test -z "$ac_c_werror_flag" ||
30542 test ! -s conftest.err
30543 } && test -s conftest$ac_exeext &&
30544 $as_test_x conftest$ac_exeext; then
30545 ac_cv_lib_socket_connect=yes
30547 echo "$as_me: failed program was:" >&5
30548 sed 's/^/| /' conftest.$ac_ext >&5
30550 ac_cv_lib_socket_connect=no
30553 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30554 conftest$ac_exeext conftest.$ac_ext
30555 LIBS=$ac_check_lib_save_LIBS
30557 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
30558 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6; }
30559 if test $ac_cv_lib_socket_connect = yes; then
30560 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
30565 # Guillermo Gomez says -lposix is necessary on A/UX.
30566 { echo "$as_me:$LINENO: checking for remove" >&5
30567 echo $ECHO_N "checking for remove... $ECHO_C" >&6; }
30568 if test "${ac_cv_func_remove+set}" = set; then
30569 echo $ECHO_N "(cached) $ECHO_C" >&6
30571 cat >conftest.$ac_ext <<_ACEOF
30574 cat confdefs.h >>conftest.$ac_ext
30575 cat >>conftest.$ac_ext <<_ACEOF
30576 /* end confdefs.h. */
30577 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
30578 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30579 #define remove innocuous_remove
30581 /* System header to define __stub macros and hopefully few prototypes,
30582 which can conflict with char remove (); below.
30583 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30584 <limits.h> exists even on freestanding compilers. */
30587 # include <limits.h>
30589 # include <assert.h>
30594 /* Override any GCC internal prototype to avoid an error.
30595 Use char because int might match the return type of a GCC
30596 builtin and then its argument prototype would still apply. */
30601 /* The GNU C library defines this for functions which it implements
30602 to always fail with ENOSYS. Some functions are actually named
30603 something starting with __ and the normal name is an alias. */
30604 #if defined __stub_remove || defined __stub___remove
30616 rm -f conftest.$ac_objext conftest$ac_exeext
30617 if { (ac_try="$ac_link"
30618 case "(($ac_try" in
30619 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
30620 *) ac_try_echo
=$ac_try;;
30622 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30623 (eval "$ac_link") 2>conftest.er1
30625 grep -v '^ *+' conftest.er1
>conftest.err
30627 cat conftest.err
>&5
30628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30629 (exit $ac_status); } && {
30630 test -z "$ac_c_werror_flag" ||
30631 test ! -s conftest.err
30632 } && test -s conftest
$ac_exeext &&
30633 $as_test_x conftest
$ac_exeext; then
30634 ac_cv_func_remove
=yes
30636 echo "$as_me: failed program was:" >&5
30637 sed 's/^/| /' conftest.
$ac_ext >&5
30639 ac_cv_func_remove
=no
30642 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
30643 conftest
$ac_exeext conftest.
$ac_ext
30645 { echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
30646 echo "${ECHO_T}$ac_cv_func_remove" >&6; }
30648 if test $ac_cv_func_remove = no
; then
30649 { echo "$as_me:$LINENO: checking for remove in -lposix" >&5
30650 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6; }
30651 if test "${ac_cv_lib_posix_remove+set}" = set; then
30652 echo $ECHO_N "(cached) $ECHO_C" >&6
30654 ac_check_lib_save_LIBS
=$LIBS
30655 LIBS
="-lposix $LIBS"
30656 cat >conftest.
$ac_ext <<_ACEOF
30659 cat confdefs.h
>>conftest.
$ac_ext
30660 cat >>conftest.
$ac_ext <<_ACEOF
30661 /* end confdefs.h. */
30663 /* Override any GCC internal prototype to avoid an error.
30664 Use char because int might match the return type of a GCC
30665 builtin and then its argument prototype would still apply. */
30678 rm -f conftest.
$ac_objext conftest
$ac_exeext
30679 if { (ac_try
="$ac_link"
30680 case "(($ac_try" in
30681 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
30682 *) ac_try_echo=$ac_try;;
30684 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30685 (eval "$ac_link") 2>conftest.er1
30687 grep -v '^ *+' conftest.er1 >conftest.err
30689 cat conftest.err >&5
30690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30691 (exit $ac_status); } && {
30692 test -z "$ac_c_werror_flag" ||
30693 test ! -s conftest.err
30694 } && test -s conftest$ac_exeext &&
30695 $as_test_x conftest$ac_exeext; then
30696 ac_cv_lib_posix_remove=yes
30698 echo "$as_me: failed program was:" >&5
30699 sed 's/^/| /' conftest.$ac_ext >&5
30701 ac_cv_lib_posix_remove=no
30704 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30705 conftest$ac_exeext conftest.$ac_ext
30706 LIBS=$ac_check_lib_save_LIBS
30708 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
30709 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6; }
30710 if test $ac_cv_lib_posix_remove = yes; then
30711 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
30716 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
30717 { echo "$as_me:$LINENO: checking for shmat" >&5
30718 echo $ECHO_N "checking for shmat... $ECHO_C" >&6; }
30719 if test "${ac_cv_func_shmat+set}" = set; then
30720 echo $ECHO_N "(cached) $ECHO_C" >&6
30722 cat >conftest.$ac_ext <<_ACEOF
30725 cat confdefs.h >>conftest.$ac_ext
30726 cat >>conftest.$ac_ext <<_ACEOF
30727 /* end confdefs.h. */
30728 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
30729 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30730 #define shmat innocuous_shmat
30732 /* System header to define __stub macros and hopefully few prototypes,
30733 which can conflict with char shmat (); below.
30734 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30735 <limits.h> exists even on freestanding compilers. */
30738 # include <limits.h>
30740 # include <assert.h>
30745 /* Override any GCC internal prototype to avoid an error.
30746 Use char because int might match the return type of a GCC
30747 builtin and then its argument prototype would still apply. */
30752 /* The GNU C library defines this for functions which it implements
30753 to always fail with ENOSYS. Some functions are actually named
30754 something starting with __ and the normal name is an alias. */
30755 #if defined __stub_shmat || defined __stub___shmat
30767 rm -f conftest.$ac_objext conftest$ac_exeext
30768 if { (ac_try="$ac_link"
30769 case "(($ac_try" in
30770 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
30771 *) ac_try_echo
=$ac_try;;
30773 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30774 (eval "$ac_link") 2>conftest.er1
30776 grep -v '^ *+' conftest.er1
>conftest.err
30778 cat conftest.err
>&5
30779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30780 (exit $ac_status); } && {
30781 test -z "$ac_c_werror_flag" ||
30782 test ! -s conftest.err
30783 } && test -s conftest
$ac_exeext &&
30784 $as_test_x conftest
$ac_exeext; then
30785 ac_cv_func_shmat
=yes
30787 echo "$as_me: failed program was:" >&5
30788 sed 's/^/| /' conftest.
$ac_ext >&5
30790 ac_cv_func_shmat
=no
30793 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
30794 conftest
$ac_exeext conftest.
$ac_ext
30796 { echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
30797 echo "${ECHO_T}$ac_cv_func_shmat" >&6; }
30799 if test $ac_cv_func_shmat = no
; then
30800 { echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
30801 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6; }
30802 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
30803 echo $ECHO_N "(cached) $ECHO_C" >&6
30805 ac_check_lib_save_LIBS
=$LIBS
30807 cat >conftest.
$ac_ext <<_ACEOF
30810 cat confdefs.h
>>conftest.
$ac_ext
30811 cat >>conftest.
$ac_ext <<_ACEOF
30812 /* end confdefs.h. */
30814 /* Override any GCC internal prototype to avoid an error.
30815 Use char because int might match the return type of a GCC
30816 builtin and then its argument prototype would still apply. */
30829 rm -f conftest.
$ac_objext conftest
$ac_exeext
30830 if { (ac_try
="$ac_link"
30831 case "(($ac_try" in
30832 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
30833 *) ac_try_echo=$ac_try;;
30835 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30836 (eval "$ac_link") 2>conftest.er1
30838 grep -v '^ *+' conftest.er1 >conftest.err
30840 cat conftest.err >&5
30841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30842 (exit $ac_status); } && {
30843 test -z "$ac_c_werror_flag" ||
30844 test ! -s conftest.err
30845 } && test -s conftest$ac_exeext &&
30846 $as_test_x conftest$ac_exeext; then
30847 ac_cv_lib_ipc_shmat=yes
30849 echo "$as_me: failed program was:" >&5
30850 sed 's/^/| /' conftest.$ac_ext >&5
30852 ac_cv_lib_ipc_shmat=no
30855 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30856 conftest$ac_exeext conftest.$ac_ext
30857 LIBS=$ac_check_lib_save_LIBS
30859 { echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
30860 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6; }
30861 if test $ac_cv_lib_ipc_shmat = yes; then
30862 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
30868 # Check for libraries that X11R6 Xt/Xaw programs need.
30869 ac_save_LDFLAGS=$LDFLAGS
30870 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
30871 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
30872 # check for ICE first), but we must link in the order -lSM -lICE or
30873 # we get undefined symbols. So assume we have SM if we have ICE.
30874 # These have to be linked with before -lX11, unlike the other
30875 # libraries we check for below, so use a different variable.
30876 # John Interrante, Karl Berry
30877 { echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
30878 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6; }
30879 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
30880 echo $ECHO_N "(cached) $ECHO_C" >&6
30882 ac_check_lib_save_LIBS=$LIBS
30883 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
30884 cat >conftest.$ac_ext <<_ACEOF
30887 cat confdefs.h >>conftest.$ac_ext
30888 cat >>conftest.$ac_ext <<_ACEOF
30889 /* end confdefs.h. */
30891 /* Override any GCC internal prototype to avoid an error.
30892 Use char because int might match the return type of a GCC
30893 builtin and then its argument prototype would still apply. */
30897 char IceConnectionNumber ();
30901 return IceConnectionNumber ();
30906 rm -f conftest.$ac_objext conftest$ac_exeext
30907 if { (ac_try="$ac_link"
30908 case "(($ac_try" in
30909 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
30910 *) ac_try_echo
=$ac_try;;
30912 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30913 (eval "$ac_link") 2>conftest.er1
30915 grep -v '^ *+' conftest.er1
>conftest.err
30917 cat conftest.err
>&5
30918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30919 (exit $ac_status); } && {
30920 test -z "$ac_c_werror_flag" ||
30921 test ! -s conftest.err
30922 } && test -s conftest
$ac_exeext &&
30923 $as_test_x conftest
$ac_exeext; then
30924 ac_cv_lib_ICE_IceConnectionNumber
=yes
30926 echo "$as_me: failed program was:" >&5
30927 sed 's/^/| /' conftest.
$ac_ext >&5
30929 ac_cv_lib_ICE_IceConnectionNumber
=no
30932 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
30933 conftest
$ac_exeext conftest.
$ac_ext
30934 LIBS
=$ac_check_lib_save_LIBS
30936 { echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
30937 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
30938 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
30939 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
30942 LDFLAGS
=$ac_save_LDFLAGS
30947 if test "$no_x" = "yes"; then
30948 { { echo "$as_me:$LINENO: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&5
30949 echo "$as_me: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&2;}
30950 { (exit 1); exit 1; }; }
30953 GUI_TK_LIBRARY
=`echo $X_LIBS | sed 's/ -LNONE//' | sed 's/ -RNONE//'`
30954 TOOLKIT_INCLUDE
=`echo $X_CFLAGS | sed 's/ -INONE//'`
30955 AFMINSTALL
=afminstall
30956 COMPILED_X_PROGRAM
=0
30960 if test "$wxUSE_X11" = 1; then
30961 if test "$wxUSE_NANOX" = "yes"; then
30962 { echo "$as_me:$LINENO: checking for MicroWindows/NanoX distribution" >&5
30963 echo $ECHO_N "checking for MicroWindows/NanoX distribution... $ECHO_C" >&6; }
30964 if test "x$MICROWIN" = x
; then
30965 { echo "$as_me:$LINENO: result: not found" >&5
30966 echo "${ECHO_T}not found" >&6; }
30967 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&5
30968 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&2;}
30969 { (exit 1); exit 1; }; }
30971 { echo "$as_me:$LINENO: result: $MICROWIN" >&5
30972 echo "${ECHO_T}$MICROWIN" >&6; }
30973 cat >>confdefs.h
<<\_ACEOF
30974 #define wxUSE_NANOX 1
30980 if test "$wxUSE_UNICODE" = "yes"; then
30983 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
30984 if test -n "$ac_tool_prefix"; then
30985 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
30986 set dummy
${ac_tool_prefix}pkg
-config; ac_word
=$2
30987 { echo "$as_me:$LINENO: checking for $ac_word" >&5
30988 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
30989 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
30990 echo $ECHO_N "(cached) $ECHO_C" >&6
30992 case $PKG_CONFIG in
30994 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
30997 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
30998 for as_dir
in $PATH
31001 test -z "$as_dir" && as_dir
=.
31002 for ac_exec_ext
in '' $ac_executable_extensions; do
31003 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
31004 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
31005 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
31015 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
31016 if test -n "$PKG_CONFIG"; then
31017 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
31018 echo "${ECHO_T}$PKG_CONFIG" >&6; }
31020 { echo "$as_me:$LINENO: result: no" >&5
31021 echo "${ECHO_T}no" >&6; }
31026 if test -z "$ac_cv_path_PKG_CONFIG"; then
31027 ac_pt_PKG_CONFIG
=$PKG_CONFIG
31028 # Extract the first word of "pkg-config", so it can be a program name with args.
31029 set dummy pkg
-config; ac_word
=$2
31030 { echo "$as_me:$LINENO: checking for $ac_word" >&5
31031 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
31032 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
31033 echo $ECHO_N "(cached) $ECHO_C" >&6
31035 case $ac_pt_PKG_CONFIG in
31037 ac_cv_path_ac_pt_PKG_CONFIG
="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
31040 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
31041 for as_dir
in $PATH
31044 test -z "$as_dir" && as_dir
=.
31045 for ac_exec_ext
in '' $ac_executable_extensions; do
31046 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
31047 ac_cv_path_ac_pt_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
31048 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
31058 ac_pt_PKG_CONFIG
=$ac_cv_path_ac_pt_PKG_CONFIG
31059 if test -n "$ac_pt_PKG_CONFIG"; then
31060 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
31061 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
31063 { echo "$as_me:$LINENO: result: no" >&5
31064 echo "${ECHO_T}no" >&6; }
31067 if test "x$ac_pt_PKG_CONFIG" = x
; then
31070 case $cross_compiling:$ac_tool_warned in
31072 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
31073 whose name does not start with the host triplet. If you think this
31074 configuration is useful to you, please write to autoconf@gnu.org." >&5
31075 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
31076 whose name does not start with the host triplet. If you think this
31077 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
31078 ac_tool_warned
=yes ;;
31080 PKG_CONFIG
=$ac_pt_PKG_CONFIG
31083 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
31087 if test -n "$PKG_CONFIG"; then
31088 _pkg_min_version
=0.9.0
31089 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
31090 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
31091 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
31092 { echo "$as_me:$LINENO: result: yes" >&5
31093 echo "${ECHO_T}yes" >&6; }
31095 { echo "$as_me:$LINENO: result: no" >&5
31096 echo "${ECHO_T}no" >&6; }
31104 { echo "$as_me:$LINENO: checking for PANGOX" >&5
31105 echo $ECHO_N "checking for PANGOX... $ECHO_C" >&6; }
31107 if test -n "$PKG_CONFIG"; then
31108 if test -n "$PANGOX_CFLAGS"; then
31109 pkg_cv_PANGOX_CFLAGS
="$PANGOX_CFLAGS"
31111 if test -n "$PKG_CONFIG" && \
31112 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
31113 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
31115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31116 (exit $ac_status); }; then
31117 pkg_cv_PANGOX_CFLAGS
=`$PKG_CONFIG --cflags "pangox" 2>/dev/null`
31125 if test -n "$PKG_CONFIG"; then
31126 if test -n "$PANGOX_LIBS"; then
31127 pkg_cv_PANGOX_LIBS
="$PANGOX_LIBS"
31129 if test -n "$PKG_CONFIG" && \
31130 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
31131 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
31133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31134 (exit $ac_status); }; then
31135 pkg_cv_PANGOX_LIBS
=`$PKG_CONFIG --libs "pangox" 2>/dev/null`
31146 if test $pkg_failed = yes; then
31148 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
31149 _pkg_short_errors_supported
=yes
31151 _pkg_short_errors_supported
=no
31153 if test $_pkg_short_errors_supported = yes; then
31154 PANGOX_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangox"`
31156 PANGOX_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangox"`
31158 # Put the nasty error message in config.log where it belongs
31159 echo "$PANGOX_PKG_ERRORS" >&5
31162 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
31163 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
31164 { (exit 1); exit 1; }; }
31167 elif test $pkg_failed = untried
; then
31169 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
31170 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
31171 { (exit 1); exit 1; }; }
31175 PANGOX_CFLAGS
=$pkg_cv_PANGOX_CFLAGS
31176 PANGOX_LIBS
=$pkg_cv_PANGOX_LIBS
31177 { echo "$as_me:$LINENO: result: yes" >&5
31178 echo "${ECHO_T}yes" >&6; }
31180 CFLAGS
="$PANGOX_CFLAGS $CFLAGS"
31181 CXXFLAGS
="$PANGOX_CFLAGS $CXXFLAGS"
31182 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOX_LIBS"
31187 { echo "$as_me:$LINENO: checking for PANGOFT2" >&5
31188 echo $ECHO_N "checking for PANGOFT2... $ECHO_C" >&6; }
31190 if test -n "$PKG_CONFIG"; then
31191 if test -n "$PANGOFT2_CFLAGS"; then
31192 pkg_cv_PANGOFT2_CFLAGS
="$PANGOFT2_CFLAGS"
31194 if test -n "$PKG_CONFIG" && \
31195 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
31196 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
31198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31199 (exit $ac_status); }; then
31200 pkg_cv_PANGOFT2_CFLAGS
=`$PKG_CONFIG --cflags "pangoft2" 2>/dev/null`
31208 if test -n "$PKG_CONFIG"; then
31209 if test -n "$PANGOFT2_LIBS"; then
31210 pkg_cv_PANGOFT2_LIBS
="$PANGOFT2_LIBS"
31212 if test -n "$PKG_CONFIG" && \
31213 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
31214 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
31216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31217 (exit $ac_status); }; then
31218 pkg_cv_PANGOFT2_LIBS
=`$PKG_CONFIG --libs "pangoft2" 2>/dev/null`
31229 if test $pkg_failed = yes; then
31231 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
31232 _pkg_short_errors_supported
=yes
31234 _pkg_short_errors_supported
=no
31236 if test $_pkg_short_errors_supported = yes; then
31237 PANGOFT2_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoft2"`
31239 PANGOFT2_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
31241 # Put the nasty error message in config.log where it belongs
31242 echo "$PANGOFT2_PKG_ERRORS" >&5
31245 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
31246 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
31247 wxUSE_PRINTING_ARCHITECTURE
="no"
31250 elif test $pkg_failed = untried
; then
31252 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
31253 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
31254 wxUSE_PRINTING_ARCHITECTURE
="no"
31258 PANGOFT2_CFLAGS
=$pkg_cv_PANGOFT2_CFLAGS
31259 PANGOFT2_LIBS
=$pkg_cv_PANGOFT2_LIBS
31260 { echo "$as_me:$LINENO: result: yes" >&5
31261 echo "${ECHO_T}yes" >&6; }
31263 CFLAGS
="$PANGOFT2_CFLAGS $CFLAGS"
31264 CXXFLAGS
="$PANGOFT2_CFLAGS $CXXFLAGS"
31265 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
31270 { echo "$as_me:$LINENO: checking for PANGOXFT" >&5
31271 echo $ECHO_N "checking for PANGOXFT... $ECHO_C" >&6; }
31273 if test -n "$PKG_CONFIG"; then
31274 if test -n "$PANGOXFT_CFLAGS"; then
31275 pkg_cv_PANGOXFT_CFLAGS
="$PANGOXFT_CFLAGS"
31277 if test -n "$PKG_CONFIG" && \
31278 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
31279 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
31281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31282 (exit $ac_status); }; then
31283 pkg_cv_PANGOXFT_CFLAGS
=`$PKG_CONFIG --cflags "pangoxft" 2>/dev/null`
31291 if test -n "$PKG_CONFIG"; then
31292 if test -n "$PANGOXFT_LIBS"; then
31293 pkg_cv_PANGOXFT_LIBS
="$PANGOXFT_LIBS"
31295 if test -n "$PKG_CONFIG" && \
31296 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
31297 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
31299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31300 (exit $ac_status); }; then
31301 pkg_cv_PANGOXFT_LIBS
=`$PKG_CONFIG --libs "pangoxft" 2>/dev/null`
31312 if test $pkg_failed = yes; then
31314 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
31315 _pkg_short_errors_supported
=yes
31317 _pkg_short_errors_supported
=no
31319 if test $_pkg_short_errors_supported = yes; then
31320 PANGOXFT_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoxft"`
31322 PANGOXFT_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoxft"`
31324 # Put the nasty error message in config.log where it belongs
31325 echo "$PANGOXFT_PKG_ERRORS" >&5
31328 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
31329 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
31332 elif test $pkg_failed = untried
; then
31334 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
31335 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
31339 PANGOXFT_CFLAGS
=$pkg_cv_PANGOXFT_CFLAGS
31340 PANGOXFT_LIBS
=$pkg_cv_PANGOXFT_LIBS
31341 { echo "$as_me:$LINENO: result: yes" >&5
31342 echo "${ECHO_T}yes" >&6; }
31344 cat >>confdefs.h
<<\_ACEOF
31345 #define HAVE_PANGO_XFT 1
31348 CFLAGS
="$PANGOXFT_CFLAGS $CFLAGS"
31349 CXXFLAGS
="$PANGOXFT_CFLAGS $CXXFLAGS"
31350 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOXFT_LIBS"
31354 LIBS
="$LIBS $PANGOX_LIBS"
31356 for ac_func
in pango_font_family_is_monospace
31358 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31359 { echo "$as_me:$LINENO: checking for $ac_func" >&5
31360 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
31361 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
31362 echo $ECHO_N "(cached) $ECHO_C" >&6
31364 cat >conftest.
$ac_ext <<_ACEOF
31367 cat confdefs.h
>>conftest.
$ac_ext
31368 cat >>conftest.
$ac_ext <<_ACEOF
31369 /* end confdefs.h. */
31370 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31371 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31372 #define $ac_func innocuous_$ac_func
31374 /* System header to define __stub macros and hopefully few prototypes,
31375 which can conflict with char $ac_func (); below.
31376 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31377 <limits.h> exists even on freestanding compilers. */
31380 # include <limits.h>
31382 # include <assert.h>
31387 /* Override any GCC internal prototype to avoid an error.
31388 Use char because int might match the return type of a GCC
31389 builtin and then its argument prototype would still apply. */
31394 /* The GNU C library defines this for functions which it implements
31395 to always fail with ENOSYS. Some functions are actually named
31396 something starting with __ and the normal name is an alias. */
31397 #if defined __stub_$ac_func || defined __stub___$ac_func
31404 return $ac_func ();
31409 rm -f conftest.
$ac_objext conftest
$ac_exeext
31410 if { (ac_try
="$ac_link"
31411 case "(($ac_try" in
31412 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
31413 *) ac_try_echo=$ac_try;;
31415 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31416 (eval "$ac_link") 2>conftest.er1
31418 grep -v '^ *+' conftest.er1 >conftest.err
31420 cat conftest.err >&5
31421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31422 (exit $ac_status); } && {
31423 test -z "$ac_c_werror_flag" ||
31424 test ! -s conftest.err
31425 } && test -s conftest$ac_exeext &&
31426 $as_test_x conftest$ac_exeext; then
31427 eval "$as_ac_var=yes"
31429 echo "$as_me: failed program was:" >&5
31430 sed 's/^/| /' conftest.$ac_ext >&5
31432 eval "$as_ac_var=no"
31435 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31436 conftest$ac_exeext conftest.$ac_ext
31438 ac_res=`eval echo '${'$as_ac_var'}'`
31439 { echo "$as_me:$LINENO: result: $ac_res" >&5
31440 echo "${ECHO_T}$ac_res" >&6; }
31441 if test `eval echo '${'$as_ac_var'}'` = yes; then
31442 cat >>confdefs.h <<_ACEOF
31443 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31452 wxUSE_UNIVERSAL="yes"
31454 if test "$wxUSE_NANOX" = "yes"; then
31455 TOOLKIT_INCLUDE="-I\$(top_srcdir)/include/wx/x11/nanox -I\$(MICROWIN)/src/include $TOOLKIT_INCLUDE"
31456 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"
31457 GUI_TK_LIBRARY="$GUI_TK_LIBRARY \$(MICROWIN)/src/lib/libnano-X.a"
31459 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lX11"
31466 if test "$wxUSE_MOTIF" = 1; then
31467 { echo "$as_me:$LINENO: checking for Motif/Lesstif headers" >&5
31468 echo $ECHO_N "checking for Motif/Lesstif headers... $ECHO_C" >&6; }
31471 for ac_dir in $SEARCH_INCLUDE /usr/include;
31473 if test -f "$ac_dir/Xm/Xm.h"; then
31474 ac_find_includes=$ac_dir
31479 if test "$ac_find_includes" != "" ; then
31480 { echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
31481 echo "${ECHO_T}found in $ac_find_includes" >&6; }
31483 if test "x$ac_find_includes" = "x/usr/include"; then
31484 ac_path_to_include=""
31486 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev/null
31488 if test $result = 0; then
31489 ac_path_to_include=""
31491 ac_path_to_include=" -I$ac_find_includes"
31495 TOOLKIT_INCLUDE="$TOOLKIT_INCLUDE$ac_path_to_include"
31497 save_CFLAGS=$CFLAGS
31498 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
31500 cat >conftest.$ac_ext <<_ACEOF
31503 cat confdefs.h >>conftest.$ac_ext
31504 cat >>conftest.$ac_ext <<_ACEOF
31505 /* end confdefs.h. */
31514 version = xmUseVersion;
31520 rm -f conftest.$ac_objext
31521 if { (ac_try="$ac_compile"
31522 case "(($ac_try" in
31523 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
31524 *) ac_try_echo
=$ac_try;;
31526 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31527 (eval "$ac_compile") 2>conftest.er1
31529 grep -v '^ *+' conftest.er1
>conftest.err
31531 cat conftest.err
>&5
31532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31533 (exit $ac_status); } && {
31534 test -z "$ac_c_werror_flag" ||
31535 test ! -s conftest.err
31536 } && test -s conftest.
$ac_objext; then
31538 { echo "$as_me:$LINENO: result: found in default search path" >&5
31539 echo "${ECHO_T}found in default search path" >&6; }
31540 COMPILED_X_PROGRAM
=1
31543 echo "$as_me: failed program was:" >&5
31544 sed 's/^/| /' conftest.
$ac_ext >&5
31547 { echo "$as_me:$LINENO: result: no" >&5
31548 echo "${ECHO_T}no" >&6; }
31549 { { echo "$as_me:$LINENO: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&5
31550 echo "$as_me: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&2;}
31551 { (exit 1); exit 1; }; }
31556 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
31558 CFLAGS
=$save_CFLAGS
31562 { echo "$as_me:$LINENO: checking for Motif/Lesstif library" >&5
31563 echo $ECHO_N "checking for Motif/Lesstif library... $ECHO_C" >&6; }
31566 for ac_dir
in $SEARCH_LIB;
31568 for ac_extension
in a so sl dylib dll.a
; do
31569 if test -f "$ac_dir/libXm.$ac_extension"; then
31570 ac_find_libraries
=$ac_dir
31577 if test "x$ac_find_libraries" != "x" ; then
31578 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
31579 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
31582 if test "$ac_find_libraries" = "default location"; then
31585 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
31587 if test $result = 0; then
31590 ac_path_to_link
=" -L$ac_find_libraries"
31594 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY$ac_path_to_link"
31596 save_CFLAGS
=$CFLAGS
31597 CFLAGS
="$TOOLKIT_INCLUDE $CFLAGS"
31599 LIBS
="$GUI_TK_LIBRARY -lXm -lXmu -lXext -lX11"
31601 cat >conftest.
$ac_ext <<_ACEOF
31604 cat confdefs.h
>>conftest.
$ac_ext
31605 cat >>conftest.
$ac_ext <<_ACEOF
31606 /* end confdefs.h. */
31615 version = xmUseVersion;
31621 rm -f conftest.
$ac_objext conftest
$ac_exeext
31622 if { (ac_try
="$ac_link"
31623 case "(($ac_try" in
31624 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
31625 *) ac_try_echo=$ac_try;;
31627 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31628 (eval "$ac_link") 2>conftest.er1
31630 grep -v '^ *+' conftest.er1 >conftest.err
31632 cat conftest.err >&5
31633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31634 (exit $ac_status); } && {
31635 test -z "$ac_c_werror_flag" ||
31636 test ! -s conftest.err
31637 } && test -s conftest$ac_exeext &&
31638 $as_test_x conftest$ac_exeext; then
31640 { echo "$as_me:$LINENO: result: found in default search path" >&5
31641 echo "${ECHO_T}found in default search path" >&6; }
31642 COMPILED_X_PROGRAM=1
31645 echo "$as_me: failed program was:" >&5
31646 sed 's/^/| /' conftest.$ac_ext >&5
31649 { echo "$as_me:$LINENO: result: no" >&5
31650 echo "${ECHO_T}no" >&6; }
31651 { { echo "$as_me:$LINENO: error: please set LDFLAGS to contain the location of libXm" >&5
31652 echo "$as_me: error: please set LDFLAGS to contain the location of libXm" >&2;}
31653 { (exit 1); exit 1; }; }
31658 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31659 conftest$ac_exeext conftest.$ac_ext
31661 CFLAGS=$save_CFLAGS
31665 { echo "$as_me:$LINENO: checking if we need -lXp and/or -lSM -lICE" >&5
31666 echo $ECHO_N "checking if we need -lXp and/or -lSM -lICE... $ECHO_C" >&6; }
31670 for libp in "" " -lXp"; do
31671 if test "$libs_found" = 0; then
31672 for libsm_ice in "" " -lSM -lICE"; do
31673 if test "$libs_found" = 0; then
31675 LIBS="$GUI_TK_LIBRARY -lXm ${libp} -lXmu -lXext -lXt${libsm_ice} -lX11"
31676 save_CFLAGS=$CFLAGS
31677 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
31679 cat >conftest.$ac_ext <<_ACEOF
31682 cat confdefs.h >>conftest.$ac_ext
31683 cat >>conftest.$ac_ext <<_ACEOF
31684 /* end confdefs.h. */
31687 #include <Xm/List.h>
31693 XmString string = NULL;
31696 XmListAddItem(w, string, position);
31702 rm -f conftest.$ac_objext conftest$ac_exeext
31703 if { (ac_try="$ac_link"
31704 case "(($ac_try" in
31705 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
31706 *) ac_try_echo
=$ac_try;;
31708 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31709 (eval "$ac_link") 2>conftest.er1
31711 grep -v '^ *+' conftest.er1
>conftest.err
31713 cat conftest.err
>&5
31714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31715 (exit $ac_status); } && {
31716 test -z "$ac_c_werror_flag" ||
31717 test ! -s conftest.err
31718 } && test -s conftest
$ac_exeext &&
31719 $as_test_x conftest
$ac_exeext; then
31722 libsm_ice_link
="$libsm_ice"
31723 { echo "$as_me:$LINENO: result: need${libp_link}${libsm_ice_link}" >&5
31724 echo "${ECHO_T}need${libp_link}${libsm_ice_link}" >&6; }
31728 echo "$as_me: failed program was:" >&5
31729 sed 's/^/| /' conftest.
$ac_ext >&5
31735 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
31736 conftest
$ac_exeext conftest.
$ac_ext
31739 CFLAGS
=$save_CFLAGS
31745 if test "$libs_found" = 0; then
31746 { echo "$as_me:$LINENO: result: can't find the right libraries" >&5
31747 echo "${ECHO_T}can't find the right libraries" >&6; }
31748 { { echo "$as_me:$LINENO: error: can't link a simple motif program" >&5
31749 echo "$as_me: error: can't link a simple motif program" >&2;}
31750 { (exit 1); exit 1; }; }
31753 { echo "$as_me:$LINENO: checking for SgCreateList in -lSgm" >&5
31754 echo $ECHO_N "checking for SgCreateList in -lSgm... $ECHO_C" >&6; }
31755 if test "${ac_cv_lib_Sgm_SgCreateList+set}" = set; then
31756 echo $ECHO_N "(cached) $ECHO_C" >&6
31758 ac_check_lib_save_LIBS
=$LIBS
31760 cat >conftest.
$ac_ext <<_ACEOF
31763 cat confdefs.h
>>conftest.
$ac_ext
31764 cat >>conftest.
$ac_ext <<_ACEOF
31765 /* end confdefs.h. */
31767 /* Override any GCC internal prototype to avoid an error.
31768 Use char because int might match the return type of a GCC
31769 builtin and then its argument prototype would still apply. */
31773 char SgCreateList ();
31777 return SgCreateList ();
31782 rm -f conftest.
$ac_objext conftest
$ac_exeext
31783 if { (ac_try
="$ac_link"
31784 case "(($ac_try" in
31785 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
31786 *) ac_try_echo=$ac_try;;
31788 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31789 (eval "$ac_link") 2>conftest.er1
31791 grep -v '^ *+' conftest.er1 >conftest.err
31793 cat conftest.err >&5
31794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31795 (exit $ac_status); } && {
31796 test -z "$ac_c_werror_flag" ||
31797 test ! -s conftest.err
31798 } && test -s conftest$ac_exeext &&
31799 $as_test_x conftest$ac_exeext; then
31800 ac_cv_lib_Sgm_SgCreateList=yes
31802 echo "$as_me: failed program was:" >&5
31803 sed 's/^/| /' conftest.$ac_ext >&5
31805 ac_cv_lib_Sgm_SgCreateList=no
31808 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31809 conftest$ac_exeext conftest.$ac_ext
31810 LIBS=$ac_check_lib_save_LIBS
31812 { echo "$as_me:$LINENO: result: $ac_cv_lib_Sgm_SgCreateList" >&5
31813 echo "${ECHO_T}$ac_cv_lib_Sgm_SgCreateList" >&6; }
31814 if test $ac_cv_lib_Sgm_SgCreateList = yes; then
31815 libsgm_link=" -lSgm"
31819 save_CFLAGS=$CFLAGS
31820 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
31822 { echo "$as_me:$LINENO: checking for Motif 2" >&5
31823 echo $ECHO_N "checking for Motif 2... $ECHO_C" >&6; }
31824 if test "${wx_cv_lib_motif2+set}" = set; then
31825 echo $ECHO_N "(cached) $ECHO_C" >&6
31827 cat >conftest.$ac_ext <<_ACEOF
31830 cat confdefs.h >>conftest.$ac_ext
31831 cat >>conftest.$ac_ext <<_ACEOF
31832 /* end confdefs.h. */
31840 #if XmVersion < 2000
31848 rm -f conftest.$ac_objext
31849 if { (ac_try="$ac_compile"
31850 case "(($ac_try" in
31851 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
31852 *) ac_try_echo
=$ac_try;;
31854 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31855 (eval "$ac_compile") 2>conftest.er1
31857 grep -v '^ *+' conftest.er1
>conftest.err
31859 cat conftest.err
>&5
31860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31861 (exit $ac_status); } && {
31862 test -z "$ac_c_werror_flag" ||
31863 test ! -s conftest.err
31864 } && test -s conftest.
$ac_objext; then
31865 wx_cv_lib_motif2
="yes"
31867 echo "$as_me: failed program was:" >&5
31868 sed 's/^/| /' conftest.
$ac_ext >&5
31870 wx_cv_lib_motif2
="no"
31873 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
31875 { echo "$as_me:$LINENO: result: $wx_cv_lib_motif2" >&5
31876 echo "${ECHO_T}$wx_cv_lib_motif2" >&6; }
31877 if test "$wx_cv_lib_motif2" = "yes"; then
31878 cat >>confdefs.h
<<\_ACEOF
31879 #define __WXMOTIF20__ 1
31883 cat >>confdefs.h
<<\_ACEOF
31884 #define __WXMOTIF20__ 0
31889 { echo "$as_me:$LINENO: checking whether Motif is Lesstif" >&5
31890 echo $ECHO_N "checking whether Motif is Lesstif... $ECHO_C" >&6; }
31891 if test "${wx_cv_lib_lesstif+set}" = set; then
31892 echo $ECHO_N "(cached) $ECHO_C" >&6
31894 cat >conftest.
$ac_ext <<_ACEOF
31897 cat confdefs.h
>>conftest.
$ac_ext
31898 cat >>conftest.
$ac_ext <<_ACEOF
31899 /* end confdefs.h. */
31907 #if !defined(LesstifVersion) || LesstifVersion <= 0
31915 rm -f conftest.
$ac_objext
31916 if { (ac_try
="$ac_compile"
31917 case "(($ac_try" in
31918 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
31919 *) ac_try_echo=$ac_try;;
31921 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31922 (eval "$ac_compile") 2>conftest.er1
31924 grep -v '^ *+' conftest.er1 >conftest.err
31926 cat conftest.err >&5
31927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31928 (exit $ac_status); } && {
31929 test -z "$ac_c_werror_flag" ||
31930 test ! -s conftest.err
31931 } && test -s conftest.$ac_objext; then
31932 wx_cv_lib_lesstif="yes"
31934 echo "$as_me: failed program was:" >&5
31935 sed 's/^/| /' conftest.$ac_ext >&5
31937 wx_cv_lib_lesstif="no"
31940 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31943 { echo "$as_me:$LINENO: result: $wx_cv_lib_lesstif" >&5
31944 echo "${ECHO_T}$wx_cv_lib_lesstif" >&6; }
31945 if test "$wx_cv_lib_lesstif" = "yes"; then
31946 cat >>confdefs.h <<\_ACEOF
31947 #define __WXLESSTIF__ 1
31951 cat >>confdefs.h <<\_ACEOF
31952 #define __WXLESSTIF__ 0
31957 CFLAGS=$save_CFLAGS
31959 GUI_TK_LIBRARY="$GUI_TK_LIBRARY${libsgm_link} -lXm${libp_link} -lXmu -lXext -lXt${libsm_ice_link} -lX11"
31964 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
31965 if test "$wxUSE_LIBXPM" = "sys"; then
31966 { echo "$as_me:$LINENO: checking for Xpm library" >&5
31967 echo $ECHO_N "checking for Xpm library... $ECHO_C" >&6; }
31970 for ac_dir in $SEARCH_LIB;
31972 for ac_extension in a so sl dylib dll.a; do
31973 if test -f "$ac_dir/libXpm.$ac_extension"; then
31974 ac_find_libraries=$ac_dir
31980 if test "$ac_find_libraries" != "" ; then
31982 if test "$ac_find_libraries" = "default location"; then
31985 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
31987 if test $result = 0; then
31990 ac_path_to_link=" -L$ac_find_libraries"
31994 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
31995 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
31996 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
31998 { echo "$as_me:$LINENO: checking for X11/xpm.h" >&5
31999 echo $ECHO_N "checking for X11/xpm.h... $ECHO_C" >&6; }
32000 if test "${wx_cv_x11_xpm_h+set}" = set; then
32001 echo $ECHO_N "(cached) $ECHO_C" >&6
32004 save_CFLAGS=$CFLAGS
32005 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
32007 cat >conftest.$ac_ext <<_ACEOF
32010 cat confdefs.h >>conftest.$ac_ext
32011 cat >>conftest.$ac_ext <<_ACEOF
32012 /* end confdefs.h. */
32014 #include <X11/xpm.h>
32021 version = XpmLibraryVersion();
32027 rm -f conftest.$ac_objext
32028 if { (ac_try="$ac_compile"
32029 case "(($ac_try" in
32030 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
32031 *) ac_try_echo
=$ac_try;;
32033 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32034 (eval "$ac_compile") 2>conftest.er1
32036 grep -v '^ *+' conftest.er1
>conftest.err
32038 cat conftest.err
>&5
32039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32040 (exit $ac_status); } && {
32041 test -z "$ac_c_werror_flag" ||
32042 test ! -s conftest.err
32043 } && test -s conftest.
$ac_objext; then
32044 wx_cv_x11_xpm_h
=yes
32046 echo "$as_me: failed program was:" >&5
32047 sed 's/^/| /' conftest.
$ac_ext >&5
32053 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
32055 CFLAGS
=$save_CFLAGS
32059 { echo "$as_me:$LINENO: result: $wx_cv_x11_xpm_h" >&5
32060 echo "${ECHO_T}$wx_cv_x11_xpm_h" >&6; }
32062 if test $wx_cv_x11_xpm_h = "yes"; then
32063 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXpm"
32064 cat >>confdefs.h
<<\_ACEOF
32065 #define wxHAVE_LIB_XPM 1
32069 { echo "$as_me:$LINENO: WARNING: built-in less efficient XPM decoder will be used" >&5
32070 echo "$as_me: WARNING: built-in less efficient XPM decoder will be used" >&2;}
32076 { echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
32077 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6; }
32078 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
32079 echo $ECHO_N "(cached) $ECHO_C" >&6
32081 ac_check_lib_save_LIBS
=$LIBS
32082 LIBS
="-lXext $GUI_TK_LIBRARY -lX11 $LIBS"
32083 cat >conftest.
$ac_ext <<_ACEOF
32086 cat confdefs.h
>>conftest.
$ac_ext
32087 cat >>conftest.
$ac_ext <<_ACEOF
32088 /* end confdefs.h. */
32090 /* Override any GCC internal prototype to avoid an error.
32091 Use char because int might match the return type of a GCC
32092 builtin and then its argument prototype would still apply. */
32096 char XShapeQueryExtension ();
32100 return XShapeQueryExtension ();
32105 rm -f conftest.
$ac_objext conftest
$ac_exeext
32106 if { (ac_try
="$ac_link"
32107 case "(($ac_try" in
32108 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
32109 *) ac_try_echo=$ac_try;;
32111 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32112 (eval "$ac_link") 2>conftest.er1
32114 grep -v '^ *+' conftest.er1 >conftest.err
32116 cat conftest.err >&5
32117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32118 (exit $ac_status); } && {
32119 test -z "$ac_c_werror_flag" ||
32120 test ! -s conftest.err
32121 } && test -s conftest$ac_exeext &&
32122 $as_test_x conftest$ac_exeext; then
32123 ac_cv_lib_Xext_XShapeQueryExtension=yes
32125 echo "$as_me: failed program was:" >&5
32126 sed 's/^/| /' conftest.$ac_ext >&5
32128 ac_cv_lib_Xext_XShapeQueryExtension=no
32131 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32132 conftest$ac_exeext conftest.$ac_ext
32133 LIBS=$ac_check_lib_save_LIBS
32135 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
32136 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
32137 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
32139 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXext"
32145 if test "$wxHAVE_XEXT_LIB" = 1; then
32146 save_CFLAGS="$CFLAGS"
32147 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
32149 { echo "$as_me:$LINENO: checking for X11/extensions/shape.h" >&5
32150 echo $ECHO_N "checking for X11/extensions/shape.h... $ECHO_C" >&6; }
32151 cat >conftest.$ac_ext <<_ACEOF
32154 cat confdefs.h >>conftest.$ac_ext
32155 cat >>conftest.$ac_ext <<_ACEOF
32156 /* end confdefs.h. */
32158 #include <X11/Xlib.h>
32159 #include <X11/extensions/shape.h>
32165 int dummy1, dummy2;
32166 XShapeQueryExtension((Display*)NULL,
32167 (int*)NULL, (int*)NULL);
32173 rm -f conftest.$ac_objext
32174 if { (ac_try="$ac_compile"
32175 case "(($ac_try" in
32176 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
32177 *) ac_try_echo
=$ac_try;;
32179 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32180 (eval "$ac_compile") 2>conftest.er1
32182 grep -v '^ *+' conftest.er1
>conftest.err
32184 cat conftest.err
>&5
32185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32186 (exit $ac_status); } && {
32187 test -z "$ac_c_werror_flag" ||
32188 test ! -s conftest.err
32189 } && test -s conftest.
$ac_objext; then
32191 cat >>confdefs.h
<<\_ACEOF
32192 #define HAVE_XSHAPE 1
32195 { echo "$as_me:$LINENO: result: found" >&5
32196 echo "${ECHO_T}found" >&6; }
32199 echo "$as_me: failed program was:" >&5
32200 sed 's/^/| /' conftest.
$ac_ext >&5
32203 { echo "$as_me:$LINENO: result: not found" >&5
32204 echo "${ECHO_T}not found" >&6; }
32208 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
32209 CFLAGS
="$save_CFLAGS"
32214 if test "$wxUSE_MAC" = 1; then
32215 { echo "$as_me:$LINENO: checking for compiler syntax to enable Pascal strings" >&5
32216 echo $ECHO_N "checking for compiler syntax to enable Pascal strings... $ECHO_C" >&6; }
32217 if test "$GCC" = yes; then
32218 { echo "$as_me:$LINENO: result: gcc" >&5
32219 echo "${ECHO_T}gcc" >&6; }
32220 CPPFLAGS_PASCAL
="-fpascal-strings"
32221 elif test "`echo $CXX | sed -e 's@.*/@@'`" = "xlC"; then
32222 { echo "$as_me:$LINENO: result: xlc" >&5
32223 echo "${ECHO_T}xlc" >&6; }
32224 CPPFLAGS_PASCAL
="-qmacpstr"
32226 { echo "$as_me:$LINENO: result: none" >&5
32227 echo "${ECHO_T}none" >&6; }
32230 if test "x$wxUSE_UNIX" = "xyes"; then
32231 CPPFLAGS
="$CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -I/Developer/Headers/FlatCarbon $CPPFLAGS"
32233 CPPFLAGS
="$CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -DTARGET_CARBON $CPPFLAGS"
32238 WXBASEPORT
="_carbon"
32241 if test "$wxUSE_COCOA" = 1; then
32246 if test "$wxUSE_PM" = 1; then
32249 { echo "$as_me:$LINENO: checking for type SPBCDATA" >&5
32250 echo $ECHO_N "checking for type SPBCDATA... $ECHO_C" >&6; }
32251 if test "${wx_cv_spbcdata+set}" = set; then
32252 echo $ECHO_N "(cached) $ECHO_C" >&6
32255 cat >conftest.
$ac_ext <<_ACEOF
32258 cat confdefs.h
>>conftest.
$ac_ext
32259 cat >>conftest.
$ac_ext <<_ACEOF
32260 /* end confdefs.h. */
32275 rm -f conftest.
$ac_objext
32276 if { (ac_try
="$ac_compile"
32277 case "(($ac_try" in
32278 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
32279 *) ac_try_echo=$ac_try;;
32281 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32282 (eval "$ac_compile") 2>conftest.er1
32284 grep -v '^ *+' conftest.er1 >conftest.err
32286 cat conftest.err >&5
32287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32288 (exit $ac_status); } && {
32289 test -z "$ac_c_werror_flag" ||
32290 test ! -s conftest.err
32291 } && test -s conftest.$ac_objext; then
32294 echo "$as_me: failed program was:" >&5
32295 sed 's/^/| /' conftest.$ac_ext >&5
32301 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32305 { echo "$as_me:$LINENO: result: $wx_cv_spbcdata" >&5
32306 echo "${ECHO_T}$wx_cv_spbcdata" >&6; }
32308 if test $wx_cv_spbcdata = "yes"; then
32309 cat >>confdefs.h <<\_ACEOF
32310 #define HAVE_SPBCDATA 1
32316 if test "$TOOLKIT" = "PM" ; then
32319 TOOLKIT_DIR=`echo ${TOOLKIT} | tr '[A-Z]' '[a-z]'`
32322 if test "$wxUSE_UNIVERSAL" = "yes"; then
32323 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
32327 GUIDIST="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
32328 DISTDIR="wx\$(TOOLKIT)"
32334 if test "$USE_WIN32" = 1 ; then
32338 GUIDIST="BASE_DIST"
32344 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_UTF8" = "auto" ; then
32345 if test "$USE_UNIX" = 1 -a "$wxUSE_DARWIN" != 1 ; then
32346 wxUSE_UNICODE_UTF8=yes
32347 elif test "$USE_OS2" = 1 ; then
32348 wxUSE_UNICODE_UTF8=yes
32350 wxUSE_UNICODE_UTF8=no
32355 if test "$wxUSE_GUI" = "yes"; then
32356 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_PM" != 1; then
32358 for ac_header in X11/Xlib.h
32360 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
32361 { echo "$as_me:$LINENO: checking for $ac_header" >&5
32362 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
32363 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
32364 echo $ECHO_N "(cached) $ECHO_C" >&6
32366 cat >conftest.$ac_ext <<_ACEOF
32369 cat confdefs.h >>conftest.$ac_ext
32370 cat >>conftest.$ac_ext <<_ACEOF
32371 /* end confdefs.h. */
32374 #include <$ac_header>
32376 rm -f conftest.$ac_objext
32377 if { (ac_try="$ac_compile"
32378 case "(($ac_try" in
32379 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
32380 *) ac_try_echo
=$ac_try;;
32382 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32383 (eval "$ac_compile") 2>conftest.er1
32385 grep -v '^ *+' conftest.er1
>conftest.err
32387 cat conftest.err
>&5
32388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32389 (exit $ac_status); } && {
32390 test -z "$ac_c_werror_flag" ||
32391 test ! -s conftest.err
32392 } && test -s conftest.
$ac_objext; then
32393 eval "$as_ac_Header=yes"
32395 echo "$as_me: failed program was:" >&5
32396 sed 's/^/| /' conftest.
$ac_ext >&5
32398 eval "$as_ac_Header=no"
32401 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
32403 ac_res
=`eval echo '${'$as_ac_Header'}'`
32404 { echo "$as_me:$LINENO: result: $ac_res" >&5
32405 echo "${ECHO_T}$ac_res" >&6; }
32406 if test `eval echo '${'$as_ac_Header'}'` = yes; then
32407 cat >>confdefs.h
<<_ACEOF
32408 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
32416 for ac_header
in X
11/XKBlib.h
32418 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
32419 { echo "$as_me:$LINENO: checking for $ac_header" >&5
32420 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
32421 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
32422 echo $ECHO_N "(cached) $ECHO_C" >&6
32424 cat >conftest.
$ac_ext <<_ACEOF
32427 cat confdefs.h
>>conftest.
$ac_ext
32428 cat >>conftest.
$ac_ext <<_ACEOF
32429 /* end confdefs.h. */
32431 #if HAVE_X11_XLIB_H
32432 #include <X11/Xlib.h>
32436 #include <$ac_header>
32438 rm -f conftest.
$ac_objext
32439 if { (ac_try
="$ac_compile"
32440 case "(($ac_try" in
32441 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
32442 *) ac_try_echo=$ac_try;;
32444 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32445 (eval "$ac_compile") 2>conftest.er1
32447 grep -v '^ *+' conftest.er1 >conftest.err
32449 cat conftest.err >&5
32450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32451 (exit $ac_status); } && {
32452 test -z "$ac_c_werror_flag" ||
32453 test ! -s conftest.err
32454 } && test -s conftest.$ac_objext; then
32455 eval "$as_ac_Header=yes"
32457 echo "$as_me: failed program was:" >&5
32458 sed 's/^/| /' conftest.$ac_ext >&5
32460 eval "$as_ac_Header=no"
32463 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32465 ac_res=`eval echo '${'$as_ac_Header'}'`
32466 { echo "$as_me:$LINENO: result: $ac_res" >&5
32467 echo "${ECHO_T}$ac_res" >&6; }
32468 if test `eval echo '${'$as_ac_Header'}'` = yes; then
32469 cat >>confdefs.h <<_ACEOF
32470 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
32482 if test "$wxUSE_DISPLAY" = "yes"; then
32483 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1; then
32484 { echo "$as_me:$LINENO: checking for Xinerama" >&5
32485 echo $ECHO_N "checking for Xinerama... $ECHO_C" >&6; }
32488 for ac_dir in $SEARCH_LIB;
32490 for ac_extension in a so sl dylib dll.a; do
32491 if test -f "$ac_dir/libXinerama.$ac_extension"; then
32492 ac_find_libraries=$ac_dir
32498 if test "$ac_find_libraries" != "" ; then
32500 if test "$ac_find_libraries" = "default location"; then
32503 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
32505 if test $result = 0; then
32508 ac_path_to_link=" -L$ac_find_libraries"
32512 if test "$ac_path_to_link" != " -L/usr/lib" ; then
32513 LDFLAGS="$LDFLAGS $ac_path_to_link"
32515 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXinerama"
32516 { echo "$as_me:$LINENO: result: yes" >&5
32517 echo "${ECHO_T}yes" >&6; }
32519 { echo "$as_me:$LINENO: checking for Xxf86vm extension" >&5
32520 echo $ECHO_N "checking for Xxf86vm extension... $ECHO_C" >&6; }
32523 for ac_dir in $SEARCH_LIB;
32525 for ac_extension in a so sl dylib dll.a; do
32526 if test -f "$ac_dir/libXxf86vm.$ac_extension"; then
32527 ac_find_libraries=$ac_dir
32533 if test "$ac_find_libraries" != "" ; then
32534 { echo "$as_me:$LINENO: result: yes" >&5
32535 echo "${ECHO_T}yes" >&6; }
32537 for ac_header in X11/extensions/xf86vmode.h
32539 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
32540 { echo "$as_me:$LINENO: checking for $ac_header" >&5
32541 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
32542 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
32543 echo $ECHO_N "(cached) $ECHO_C" >&6
32545 cat >conftest.$ac_ext <<_ACEOF
32548 cat confdefs.h >>conftest.$ac_ext
32549 cat >>conftest.$ac_ext <<_ACEOF
32550 /* end confdefs.h. */
32552 #if HAVE_X11_XLIB_H
32553 #include <X11/Xlib.h>
32557 #include <$ac_header>
32559 rm -f conftest.$ac_objext
32560 if { (ac_try="$ac_compile"
32561 case "(($ac_try" in
32562 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
32563 *) ac_try_echo
=$ac_try;;
32565 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32566 (eval "$ac_compile") 2>conftest.er1
32568 grep -v '^ *+' conftest.er1
>conftest.err
32570 cat conftest.err
>&5
32571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32572 (exit $ac_status); } && {
32573 test -z "$ac_c_werror_flag" ||
32574 test ! -s conftest.err
32575 } && test -s conftest.
$ac_objext; then
32576 eval "$as_ac_Header=yes"
32578 echo "$as_me: failed program was:" >&5
32579 sed 's/^/| /' conftest.
$ac_ext >&5
32581 eval "$as_ac_Header=no"
32584 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
32586 ac_res
=`eval echo '${'$as_ac_Header'}'`
32587 { echo "$as_me:$LINENO: result: $ac_res" >&5
32588 echo "${ECHO_T}$ac_res" >&6; }
32589 if test `eval echo '${'$as_ac_Header'}'` = yes; then
32590 cat >>confdefs.h
<<_ACEOF
32591 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
32594 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXxf86vm"
32601 { echo "$as_me:$LINENO: result: no" >&5
32602 echo "${ECHO_T}no" >&6; }
32606 { echo "$as_me:$LINENO: result: no" >&5
32607 echo "${ECHO_T}no" >&6; }
32608 { echo "$as_me:$LINENO: WARNING: Xinerama not found; disabling wxDisplay" >&5
32609 echo "$as_me: WARNING: Xinerama not found; disabling wxDisplay" >&2;}
32612 elif test "$wxUSE_MSW" = 1; then
32613 { echo "$as_me:$LINENO: checking for ddraw.h" >&5
32614 echo $ECHO_N "checking for ddraw.h... $ECHO_C" >&6; }
32615 if test "${ac_cv_header_ddraw_h+set}" = set; then
32616 echo $ECHO_N "(cached) $ECHO_C" >&6
32618 cat >conftest.
$ac_ext <<_ACEOF
32621 cat confdefs.h
>>conftest.
$ac_ext
32622 cat >>conftest.
$ac_ext <<_ACEOF
32623 /* end confdefs.h. */
32624 #include <windows.h>
32628 rm -f conftest.
$ac_objext
32629 if { (ac_try
="$ac_compile"
32630 case "(($ac_try" in
32631 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
32632 *) ac_try_echo=$ac_try;;
32634 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32635 (eval "$ac_compile") 2>conftest.er1
32637 grep -v '^ *+' conftest.er1 >conftest.err
32639 cat conftest.err >&5
32640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32641 (exit $ac_status); } && {
32642 test -z "$ac_c_werror_flag" ||
32643 test ! -s conftest.err
32644 } && test -s conftest.$ac_objext; then
32645 ac_cv_header_ddraw_h=yes
32647 echo "$as_me: failed program was:" >&5
32648 sed 's/^/| /' conftest.$ac_ext >&5
32650 ac_cv_header_ddraw_h=no
32653 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32655 { echo "$as_me:$LINENO: result: $ac_cv_header_ddraw_h" >&5
32656 echo "${ECHO_T}$ac_cv_header_ddraw_h" >&6; }
32662 if test "$wxUSE_DETECT_SM" = "yes"; then
32663 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1; then
32664 { echo "$as_me:$LINENO: checking for -lSM - X11 session management" >&5
32665 echo $ECHO_N "checking for -lSM - X11 session management... $ECHO_C" >&6; }
32668 for ac_dir in $SEARCH_LIB;
32670 for ac_extension in a so sl dylib dll.a; do
32671 if test -f "$ac_dir/libSM.$ac_extension"; then
32672 ac_find_libraries=$ac_dir
32678 if test "$ac_find_libraries" != "" ; then
32680 if test "$ac_find_libraries" = "default location"; then
32683 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
32685 if test $result = 0; then
32688 ac_path_to_link=" -L$ac_find_libraries"
32692 if test "$ac_path_to_link" != " -L/usr/lib" ; then
32693 LDFLAGS="$LDFLAGS $ac_path_to_link"
32695 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lSM"
32696 { echo "$as_me:$LINENO: result: yes" >&5
32697 echo "${ECHO_T}yes" >&6; }
32699 { echo "$as_me:$LINENO: result: no" >&5
32700 echo "${ECHO_T}no" >&6; }
32701 { echo "$as_me:$LINENO: WARNING: libSM not found; disabling session management detection" >&5
32702 echo "$as_me: WARNING: libSM not found; disabling session management detection" >&2;}
32703 wxUSE_DETECT_SM="no"
32706 wxUSE_DETECT_SM="no"
32713 if test "$wxUSE_OPENGL" = "yes"; then
32714 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = 1; then
32715 { echo "$as_me:$LINENO: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&5
32716 echo "$as_me: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&2;}
32718 elif test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1; then
32719 OPENGL_LIBS="-framework OpenGL -framework AGL"
32720 elif test "$wxUSE_MSW" = 1; then
32721 OPENGL_LIBS="-lopengl32 -lglu32"
32723 { echo "$as_me:$LINENO: checking for OpenGL headers" >&5
32724 echo $ECHO_N "checking for OpenGL headers... $ECHO_C" >&6; }
32727 for ac_dir in $SEARCH_INCLUDE /opt/graphics/OpenGL/include /usr/include;
32729 if test -f "$ac_dir/GL/gl.h"; then
32730 ac_find_includes=$ac_dir
32735 if test "$ac_find_includes" != "" ; then
32736 { echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
32737 echo "${ECHO_T}found in $ac_find_includes" >&6; }
32739 if test "x$ac_find_includes" = "x/usr/include"; then
32740 ac_path_to_include=""
32742 echo "$CPPFLAGS" | grep "\-I$ac_find_includes" > /dev/null
32744 if test $result = 0; then
32745 ac_path_to_include=""
32747 ac_path_to_include=" -I$ac_find_includes"
32751 CPPFLAGS="$ac_path_to_include $CPPFLAGS"
32753 { echo "$as_me:$LINENO: result: not found" >&5
32754 echo "${ECHO_T}not found" >&6; }
32757 { echo "$as_me:$LINENO: checking for GL/gl.h" >&5
32758 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6; }
32759 if test "${ac_cv_header_GL_gl_h+set}" = set; then
32760 echo $ECHO_N "(cached) $ECHO_C" >&6
32762 cat >conftest.$ac_ext <<_ACEOF
32765 cat confdefs.h >>conftest.$ac_ext
32766 cat >>conftest.$ac_ext <<_ACEOF
32767 /* end confdefs.h. */
32772 rm -f conftest.$ac_objext
32773 if { (ac_try="$ac_compile"
32774 case "(($ac_try" in
32775 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
32776 *) ac_try_echo
=$ac_try;;
32778 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32779 (eval "$ac_compile") 2>conftest.er1
32781 grep -v '^ *+' conftest.er1
>conftest.err
32783 cat conftest.err
>&5
32784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32785 (exit $ac_status); } && {
32786 test -z "$ac_c_werror_flag" ||
32787 test ! -s conftest.err
32788 } && test -s conftest.
$ac_objext; then
32789 ac_cv_header_GL_gl_h
=yes
32791 echo "$as_me: failed program was:" >&5
32792 sed 's/^/| /' conftest.
$ac_ext >&5
32794 ac_cv_header_GL_gl_h
=no
32797 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
32799 { echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
32800 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6; }
32801 if test $ac_cv_header_GL_gl_h = yes; then
32803 { echo "$as_me:$LINENO: checking for GL/glu.h" >&5
32804 echo $ECHO_N "checking for GL/glu.h... $ECHO_C" >&6; }
32805 if test "${ac_cv_header_GL_glu_h+set}" = set; then
32806 echo $ECHO_N "(cached) $ECHO_C" >&6
32808 cat >conftest.
$ac_ext <<_ACEOF
32811 cat confdefs.h
>>conftest.
$ac_ext
32812 cat >>conftest.
$ac_ext <<_ACEOF
32813 /* end confdefs.h. */
32816 #include <GL/glu.h>
32818 rm -f conftest.
$ac_objext
32819 if { (ac_try
="$ac_compile"
32820 case "(($ac_try" in
32821 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
32822 *) ac_try_echo=$ac_try;;
32824 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32825 (eval "$ac_compile") 2>conftest.er1
32827 grep -v '^ *+' conftest.er1 >conftest.err
32829 cat conftest.err >&5
32830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32831 (exit $ac_status); } && {
32832 test -z "$ac_c_werror_flag" ||
32833 test ! -s conftest.err
32834 } && test -s conftest.$ac_objext; then
32835 ac_cv_header_GL_glu_h=yes
32837 echo "$as_me: failed program was:" >&5
32838 sed 's/^/| /' conftest.$ac_ext >&5
32840 ac_cv_header_GL_glu_h=no
32843 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32845 { echo "$as_me:$LINENO: result: $ac_cv_header_GL_glu_h" >&5
32846 echo "${ECHO_T}$ac_cv_header_GL_glu_h" >&6; }
32847 if test $ac_cv_header_GL_glu_h = yes; then
32851 { echo "$as_me:$LINENO: checking for -lGL" >&5
32852 echo $ECHO_N "checking for -lGL... $ECHO_C" >&6; }
32855 for ac_dir in $SEARCH_LIB /opt/graphics/OpenGL/lib;
32857 for ac_extension in a so sl dylib dll.a; do
32858 if test -f "$ac_dir/libGL.$ac_extension"; then
32859 ac_find_libraries=$ac_dir
32865 if test "$ac_find_libraries" != "" ; then
32866 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
32867 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
32870 if test "$ac_find_libraries" = "default location"; then
32873 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
32875 if test $result = 0; then
32878 ac_path_to_link=" -L$ac_find_libraries"
32882 if test "$ac_path_to_link" != " -L/usr/lib" ; then
32883 LDFLAGS_GL="$ac_path_to_link"
32886 { echo "$as_me:$LINENO: checking for -lGLU" >&5
32887 echo $ECHO_N "checking for -lGLU... $ECHO_C" >&6; }
32890 for ac_dir in $SEARCH_LIB;
32892 for ac_extension in a so sl dylib dll.a; do
32893 if test -f "$ac_dir/libGLU.$ac_extension"; then
32894 ac_find_libraries=$ac_dir
32900 if test "$ac_find_libraries" != "" ; then
32902 if test "$ac_find_libraries" = "default location"; then
32905 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
32907 if test $result = 0; then
32910 ac_path_to_link=" -L$ac_find_libraries"
32914 if test "$ac_path_to_link" != " -L/usr/lib" -a \
32915 "$ac_path_to_link" != "$LDFLAGS_GL"; then
32916 LDFLAGS_GL="$LDFLAGS_GL$ac_path_to_link"
32920 OPENGL_LIBS="-lGL -lGLU"
32921 { echo "$as_me:$LINENO: result: yes" >&5
32922 echo "${ECHO_T}yes" >&6; }
32924 { echo "$as_me:$LINENO: result: no" >&5
32925 echo "${ECHO_T}no" >&6; }
32928 { echo "$as_me:$LINENO: result: no" >&5
32929 echo "${ECHO_T}no" >&6; }
32932 if test "$found_gl" != 1; then
32933 { echo "$as_me:$LINENO: checking for -lMesaGL" >&5
32934 echo $ECHO_N "checking for -lMesaGL... $ECHO_C" >&6; }
32937 for ac_dir in $SEARCH_LIB;
32939 for ac_extension in a so sl dylib dll.a; do
32940 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
32941 ac_find_libraries=$ac_dir
32947 if test "$ac_find_libraries" != "" ; then
32949 if test "$ac_find_libraries" = "default location"; then
32952 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
32954 if test $result = 0; then
32957 ac_path_to_link=" -L$ac_find_libraries"
32961 LDFLAGS_GL="$LDFLAGS$ac_path_to_link"
32962 OPENGL_LIBS="-lMesaGL -lMesaGLU"
32963 { echo "$as_me:$LINENO: result: yes" >&5
32964 echo "${ECHO_T}yes" >&6; }
32966 { echo "$as_me:$LINENO: result: no" >&5
32967 echo "${ECHO_T}no" >&6; }
32979 if test "x$OPENGL_LIBS" = "x"; then
32980 { { echo "$as_me:$LINENO: error: OpenGL libraries not available" >&5
32981 echo "$as_me: error: OpenGL libraries not available" >&2;}
32982 { (exit 1); exit 1; }; }
32986 if test "$wxUSE_OPENGL" = "yes"; then
32988 cat >>confdefs.h <<\_ACEOF
32989 #define wxUSE_OPENGL 1
32992 cat >>confdefs.h <<\_ACEOF
32993 #define wxUSE_GLCANVAS 1
32996 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS opengl opengl/cube opengl/penguin opengl/isosurf"
33001 if test -n "$TOOLKIT" ; then
33002 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
33007 if test "$wxUSE_SHARED" = "yes"; then
33011 { echo "$as_me:$LINENO: WARNING: Host system doesn't support shared libraries, disabling" >&5
33012 echo "$as_me: WARNING: Host system doesn't support shared libraries, disabling" >&2;}
33017 if test "$wxUSE_SHARED" = "yes"; then
33021 *-*-cygwin* | *-*-mingw* )
33022 wx_cv_version_script=no
33026 { echo "$as_me:$LINENO: checking if the linker accepts --version-script" >&5
33027 echo $ECHO_N "checking if the linker accepts --version-script... $ECHO_C" >&6; }
33028 if test "${wx_cv_version_script+set}" = set; then
33029 echo $ECHO_N "(cached) $ECHO_C" >&6
33032 echo "VER_1 { *; };" >conftest.sym
33033 echo "int main() { return 0; }" >conftest.cpp
33036 $CXX -o conftest.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
33037 -Wl,--version-script,conftest.sym >/dev/null 2>conftest.stderr'
33038 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33039 (eval $ac_try) 2>&5
33041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33042 (exit $ac_status); }; } ; then
33043 if test -s conftest.stderr ; then
33044 wx_cv_version_script=no
33046 wx_cv_version_script=yes
33049 wx_cv_version_script=no
33052 if test $wx_cv_version_script = yes
33054 echo "struct B { virtual ~B() { } }; \
33055 struct D : public B { }; \
33056 void F() { D d; }" > conftest.cpp
33059 $CXX -shared -fPIC -o conftest1.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
33060 -Wl,--version-script,conftest.sym >/dev/null 2>/dev/null'
33061 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33062 (eval $ac_try) 2>&5
33064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33065 (exit $ac_status); }; } &&
33067 $CXX -shared -fPIC -o conftest2.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
33068 -Wl,--version-script,conftest.sym conftest1.output >/dev/null 2>/dev/null'
33069 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33070 (eval $ac_try) 2>&5
33072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33073 (exit $ac_status); }; }
33076 $CXX -shared -fPIC -o conftest3.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
33077 -Wl,--version-script,conftest.sym conftest2.output conftest1.output >/dev/null 2>/dev/null'
33078 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33079 (eval $ac_try) 2>&5
33081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33082 (exit $ac_status); }; }
33084 wx_cv_version_script=yes
33086 wx_cv_version_script=no
33091 rm -f conftest.output conftest.stderr conftest.sym conftest.cpp
33092 rm -f conftest1.output conftest2.output conftest3.output
33095 { echo "$as_me:$LINENO: result: $wx_cv_version_script" >&5
33096 echo "${ECHO_T}$wx_cv_version_script" >&6; }
33098 if test $wx_cv_version_script = yes ; then
33099 LDFLAGS_VERSIONING="-Wl,--version-script,\$(wx_top_builddir)/version-script"
33105 if test "$wxUSE_VISIBILITY" != "no"; then
33108 if test -n "$GCC"; then
33109 CFLAGS_VISIBILITY="-fvisibility=hidden"
33110 CXXFLAGS_VISIBILITY="-fvisibility=hidden -fvisibility-inlines-hidden"
33111 { echo "$as_me:$LINENO: checking for symbols visibility support" >&5
33112 echo $ECHO_N "checking for symbols visibility support... $ECHO_C" >&6; }
33113 if test "${wx_cv_cc_visibility+set}" = set; then
33114 echo $ECHO_N "(cached) $ECHO_C" >&6
33117 wx_save_CXXFLAGS="$CXXFLAGS"
33118 CXXFLAGS="$CXXFLAGS $CXXFLAGS_VISIBILITY"
33120 ac_cpp='$CXXCPP $CPPFLAGS'
33121 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33122 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33123 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33125 cat >conftest.$ac_ext <<_ACEOF
33128 cat confdefs.h >>conftest.$ac_ext
33129 cat >>conftest.$ac_ext <<_ACEOF
33130 /* end confdefs.h. */
33132 /* we need gcc >= 4.0, older versions with visibility support
33133 didn't have class visibility: */
33134 #if defined(__GNUC__) && __GNUC__ < 4
33135 error this gcc is too old;
33138 /* visibility only makes sense for ELF shared libs: */
33139 #if !defined(__ELF__) && !defined(__APPLE__)
33140 error this platform has no visibility;
33143 extern __attribute__((__visibility__("hidden"))) int hiddenvar;
33144 extern __attribute__((__visibility__("default"))) int exportedvar;
33145 extern __attribute__((__visibility__("hidden"))) int hiddenfunc (void);
33146 extern __attribute__((__visibility__("default"))) int exportedfunc (void);
33147 class __attribute__((__visibility__("default"))) Foo {
33159 rm -f conftest.$ac_objext
33160 if { (ac_try="$ac_compile"
33161 case "(($ac_try" in
33162 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
33163 *) ac_try_echo
=$ac_try;;
33165 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33166 (eval "$ac_compile") 2>conftest.er1
33168 grep -v '^ *+' conftest.er1
>conftest.err
33170 cat conftest.err
>&5
33171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33172 (exit $ac_status); } && {
33173 test -z "$ac_cxx_werror_flag" ||
33174 test ! -s conftest.err
33175 } && test -s conftest.
$ac_objext; then
33176 wx_cv_cc_visibility
=yes
33178 echo "$as_me: failed program was:" >&5
33179 sed 's/^/| /' conftest.
$ac_ext >&5
33181 wx_cv_cc_visibility
=no
33184 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
33186 ac_cpp
='$CPP $CPPFLAGS'
33187 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33188 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33189 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
33191 CXXFLAGS
="$wx_save_CXXFLAGS"
33194 { echo "$as_me:$LINENO: result: $wx_cv_cc_visibility" >&5
33195 echo "${ECHO_T}$wx_cv_cc_visibility" >&6; }
33196 if test $wx_cv_cc_visibility = yes; then
33197 { echo "$as_me:$LINENO: checking for broken libstdc++ visibility" >&5
33198 echo $ECHO_N "checking for broken libstdc++ visibility... $ECHO_C" >&6; }
33199 if test "${wx_cv_cc_broken_libstdcxx_visibility+set}" = set; then
33200 echo $ECHO_N "(cached) $ECHO_C" >&6
33203 wx_save_CXXFLAGS
="$CXXFLAGS"
33204 wx_save_LDFLAGS
="$LDFLAGS"
33205 CXXFLAGS
="$CXXFLAGS $CXXFLAGS_VISIBILITY"
33206 LDFLAGS
="$LDFLAGS -shared -fPIC"
33208 ac_cpp
='$CXXCPP $CPPFLAGS'
33209 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33210 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33211 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
33213 cat >conftest.
$ac_ext <<_ACEOF
33216 cat confdefs.h
>>conftest.
$ac_ext
33217 cat >>conftest.
$ac_ext <<_ACEOF
33218 /* end confdefs.h. */
33226 std::string s("hello");
33233 rm -f conftest.
$ac_objext conftest
$ac_exeext
33234 if { (ac_try
="$ac_link"
33235 case "(($ac_try" in
33236 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
33237 *) ac_try_echo=$ac_try;;
33239 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33240 (eval "$ac_link") 2>conftest.er1
33242 grep -v '^ *+' conftest.er1 >conftest.err
33244 cat conftest.err >&5
33245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33246 (exit $ac_status); } && {
33247 test -z "$ac_cxx_werror_flag" ||
33248 test ! -s conftest.err
33249 } && test -s conftest$ac_exeext &&
33250 $as_test_x conftest$ac_exeext; then
33251 wx_cv_cc_broken_libstdcxx_visibility=no
33253 echo "$as_me: failed program was:" >&5
33254 sed 's/^/| /' conftest.$ac_ext >&5
33256 wx_cv_cc_broken_libstdcxx_visibility=yes
33259 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33260 conftest$ac_exeext conftest.$ac_ext
33262 ac_cpp='$CPP $CPPFLAGS'
33263 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33264 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33265 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33267 CXXFLAGS="$wx_save_CXXFLAGS"
33268 LDFLAGS="$wx_save_LDFLAGS"
33271 { echo "$as_me:$LINENO: result: $wx_cv_cc_broken_libstdcxx_visibility" >&5
33272 echo "${ECHO_T}$wx_cv_cc_broken_libstdcxx_visibility" >&6; }
33274 if test $wx_cv_cc_broken_libstdcxx_visibility = yes; then
33275 { echo "$as_me:$LINENO: checking whether we can work around it" >&5
33276 echo $ECHO_N "checking whether we can work around it... $ECHO_C" >&6; }
33277 if test "${wx_cv_cc_visibility_workaround+set}" = set; then
33278 echo $ECHO_N "(cached) $ECHO_C" >&6
33282 ac_cpp='$CXXCPP $CPPFLAGS'
33283 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33284 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33285 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33287 cat >conftest.$ac_ext <<_ACEOF
33290 cat confdefs.h >>conftest.$ac_ext
33291 cat >>conftest.$ac_ext <<_ACEOF
33292 /* end confdefs.h. */
33294 #pragma GCC visibility push(default)
33296 #pragma GCC visibility pop
33302 std::string s("hello");
33309 rm -f conftest.$ac_objext conftest$ac_exeext
33310 if { (ac_try="$ac_link"
33311 case "(($ac_try" in
33312 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
33313 *) ac_try_echo
=$ac_try;;
33315 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33316 (eval "$ac_link") 2>conftest.er1
33318 grep -v '^ *+' conftest.er1
>conftest.err
33320 cat conftest.err
>&5
33321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33322 (exit $ac_status); } && {
33323 test -z "$ac_cxx_werror_flag" ||
33324 test ! -s conftest.err
33325 } && test -s conftest
$ac_exeext &&
33326 $as_test_x conftest
$ac_exeext; then
33327 wx_cv_cc_visibility_workaround
=no
33329 echo "$as_me: failed program was:" >&5
33330 sed 's/^/| /' conftest.
$ac_ext >&5
33332 wx_cv_cc_visibility_workaround
=yes
33335 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
33336 conftest
$ac_exeext conftest.
$ac_ext
33338 ac_cpp
='$CPP $CPPFLAGS'
33339 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33340 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33341 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
33346 { echo "$as_me:$LINENO: result: $wx_cv_cc_visibility_workaround" >&5
33347 echo "${ECHO_T}$wx_cv_cc_visibility_workaround" >&6; }
33349 if test $wx_cv_cc_visibility_workaround = no
; then
33350 wx_cv_cc_visibility
=no
33355 if test $wx_cv_cc_visibility = yes; then
33356 cat >>confdefs.h
<<\_ACEOF
33357 #define HAVE_VISIBILITY 1
33360 if test $wx_cv_cc_broken_libstdcxx_visibility = yes; then
33361 cat >>confdefs.h
<<\_ACEOF
33362 #define HAVE_BROKEN_LIBSTDCXX_VISIBILITY 1
33367 CFLAGS_VISIBILITY
=""
33368 CXXFLAGS_VISIBILITY
=""
33376 if test "x$SUNCXX" = xyes
; then
33377 SAMPLES_RPATH_FLAG
="-R\$(wx_top_builddir)/lib"
33378 WXCONFIG_RPATH
="-R\$libdir"
33381 *-*-linux* | *-*-gnu* )
33382 SAMPLES_RPATH_FLAG
="-Wl,-rpath,\$(wx_top_builddir)/lib"
33383 WXCONFIG_RPATH
="-Wl,-rpath,\$libdir"
33388 CPPFLAGS
="-isystem /usr/openwin/include $CPPFLAGS"
33390 saveLdflags
="$LDFLAGS"
33391 LDFLAGS
="$saveLdflags -Wl,-rpath,/"
33392 { echo "$as_me:$LINENO: checking if the linker accepts -rpath" >&5
33393 echo $ECHO_N "checking if the linker accepts -rpath... $ECHO_C" >&6; }
33394 cat >conftest.
$ac_ext <<_ACEOF
33397 cat confdefs.h
>>conftest.
$ac_ext
33398 cat >>conftest.
$ac_ext <<_ACEOF
33399 /* end confdefs.h. */
33409 rm -f conftest.
$ac_objext conftest
$ac_exeext
33410 if { (ac_try
="$ac_link"
33411 case "(($ac_try" in
33412 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
33413 *) ac_try_echo=$ac_try;;
33415 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33416 (eval "$ac_link") 2>conftest.er1
33418 grep -v '^ *+' conftest.er1 >conftest.err
33420 cat conftest.err >&5
33421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33422 (exit $ac_status); } && {
33423 test -z "$ac_c_werror_flag" ||
33424 test ! -s conftest.err
33425 } && test -s conftest$ac_exeext &&
33426 $as_test_x conftest$ac_exeext; then
33428 { echo "$as_me:$LINENO: result: yes" >&5
33429 echo "${ECHO_T}yes" >&6; }
33430 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(wx_top_builddir)/lib"
33431 WXCONFIG_RPATH="-Wl,-rpath,\$libdir"
33434 echo "$as_me: failed program was:" >&5
33435 sed 's/^/| /' conftest.$ac_ext >&5
33438 { echo "$as_me:$LINENO: result: no" >&5
33439 echo "${ECHO_T}no" >&6; }
33440 { echo "$as_me:$LINENO: checking if the linker accepts -R" >&5
33441 echo $ECHO_N "checking if the linker accepts -R... $ECHO_C" >&6; }
33442 LDFLAGS="$saveLdflags -Wl,-R,/"
33443 cat >conftest.$ac_ext <<_ACEOF
33446 cat confdefs.h >>conftest.$ac_ext
33447 cat >>conftest.$ac_ext <<_ACEOF
33448 /* end confdefs.h. */
33458 rm -f conftest.$ac_objext conftest$ac_exeext
33459 if { (ac_try="$ac_link"
33460 case "(($ac_try" in
33461 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
33462 *) ac_try_echo
=$ac_try;;
33464 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33465 (eval "$ac_link") 2>conftest.er1
33467 grep -v '^ *+' conftest.er1
>conftest.err
33469 cat conftest.err
>&5
33470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33471 (exit $ac_status); } && {
33472 test -z "$ac_c_werror_flag" ||
33473 test ! -s conftest.err
33474 } && test -s conftest
$ac_exeext &&
33475 $as_test_x conftest
$ac_exeext; then
33477 { echo "$as_me:$LINENO: result: yes" >&5
33478 echo "${ECHO_T}yes" >&6; }
33479 SAMPLES_RPATH_FLAG
="-Wl,-R,\$(wx_top_builddir)/lib"
33480 WXCONFIG_RPATH
="-Wl,-R,\$libdir"
33483 echo "$as_me: failed program was:" >&5
33484 sed 's/^/| /' conftest.
$ac_ext >&5
33487 { echo "$as_me:$LINENO: result: no" >&5
33488 echo "${ECHO_T}no" >&6; }
33492 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
33493 conftest
$ac_exeext conftest.
$ac_ext
33497 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
33498 conftest
$ac_exeext conftest.
$ac_ext
33499 LDFLAGS
="$saveLdflags"
33503 install_name_tool
=`which install_name_tool`
33504 if test "$install_name_tool" -a -x "$install_name_tool"; then
33505 SAMPLES_RPATH_POSTLINK
="\$(wx_top_builddir)/change-install-names \$(LIBDIRNAME) \$(prefix) \$@"
33506 cat <<EOF >change-install-names
33508 libnames=\`cd \${1} ; ls -1 | grep '\.[0-9][0-9]*\.dylib\$'\`
33509 inst_cmd="install_name_tool "
33510 for i in \${libnames} ; do
33511 inst_cmd="\${inst_cmd} -change \${2}/lib/\${i} \${1}/\${i}"
33515 chmod +x change
-install-names
33519 *-*-cygwin* | *-*-mingw32* )
33523 SAMPLES_RPATH_FLAG
="-Wl,+b,\$(wx_top_builddir)/lib"
33524 WXCONFIG_RPATH
="-Wl,+b,\$libdir"
33530 WXCONFIG_ONLY_CPPFLAGS
="$WXCONFIG_ONLY_CPPFLAGS -DWXUSINGDLL"
33532 if test $wxUSE_RPATH = "no"; then
33533 SAMPLES_RPATH_FLAG
=''
33534 SAMPLES_RPATH_POSTLINK
=''
33542 config_linkage_component
="-static"
33549 lib_unicode_suffix
=
33551 if test "$wxUSE_UNICODE" = "yes"; then
33552 lib_unicode_suffix
=u
33553 WX_CHARTYPE
="unicode"
33558 WX_DEBUGTYPE
="release"
33560 if test "$wxUSE_DEBUG_FLAG" = "yes"; then
33562 WX_DEBUGTYPE
="debug"
33566 WX_FLAVOUR
=${WX_FLAVOUR:+-$WX_FLAVOUR}
33567 WX_LIB_FLAVOUR
=`echo $WX_FLAVOUR | tr '-' '_'`
33570 if test "$wxUSE_DEBUG_INFO" = "yes"; then
33574 WX_VERSION_TAG
=`echo WX${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}_${WX_RELEASE} | tr '[a-z]' '[A-Z]'`
33576 TOOLCHAIN_NAME
="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}"
33578 TOOLCHAIN_FULLNAME
="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}-${WX_CHARTYPE}-${WX_DEBUGTYPE}${config_linkage_component}-${WX_RELEASE}${WX_FLAVOUR}"
33580 if test "$cross_compiling" = "yes"; then
33581 HOST_SUFFIX
="-$host_alias"
33582 TOOLCHAIN_NAME
="$TOOLCHAIN_NAME$HOST_SUFFIX"
33583 TOOLCHAIN_FULLNAME
="${host_alias}-$TOOLCHAIN_FULLNAME"
33586 WX_LIBRARY_BASENAME_NOGUI
="wx_base${WXBASEPORT}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
33587 if test "${TOOLKIT_DIR}" = "os2"; then
33588 WX_LIBRARY_BASENAME_GUI
="wx_pm${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
33590 WX_LIBRARY_BASENAME_GUI
="wx_${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
33595 if test "$wxUSE_COCOA" = 1; then
33598 ac_cpp
='$CPP $CPPFLAGS'
33599 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33600 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33601 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
33605 { echo "$as_me:$LINENO: checking if AppKit/NSEvent.h conflicts with CoreFoundation" >&5
33606 echo $ECHO_N "checking if AppKit/NSEvent.h conflicts with CoreFoundation... $ECHO_C" >&6; }
33607 cat >conftest.
$ac_ext <<_ACEOF
33610 cat confdefs.h
>>conftest.
$ac_ext
33611 cat >>conftest.
$ac_ext <<_ACEOF
33612 /* end confdefs.h. */
33613 #include <AppKit/NSEvent.h>
33614 #include <CoreFoundation/CoreFoundation.h>
33624 rm -f conftest.
$ac_objext
33625 if { (ac_try
="$ac_compile"
33626 case "(($ac_try" in
33627 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
33628 *) ac_try_echo=$ac_try;;
33630 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33631 (eval "$ac_compile") 2>conftest.er1
33633 grep -v '^ *+' conftest.er1 >conftest.err
33635 cat conftest.err >&5
33636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33637 (exit $ac_status); } && {
33638 test -z "$ac_c_werror_flag" ||
33639 test ! -s conftest.err
33640 } && test -s conftest.$ac_objext; then
33641 { echo "$as_me:$LINENO: result: no" >&5
33642 echo "${ECHO_T}no" >&6; }
33644 echo "$as_me: failed program was:" >&5
33645 sed 's/^/| /' conftest.$ac_ext >&5
33647 { echo "$as_me:$LINENO: result: yes" >&5
33648 echo "${ECHO_T}yes" >&6; }
33649 { echo "$as_me:$LINENO: checking if defining __Point__ will fix it" >&5
33650 echo $ECHO_N "checking if defining __Point__ will fix it... $ECHO_C" >&6; }
33651 cat >conftest.$ac_ext <<_ACEOF
33654 cat confdefs.h >>conftest.$ac_ext
33655 cat >>conftest.$ac_ext <<_ACEOF
33656 /* end confdefs.h. */
33657 #define __Point__ 1
33658 #include <AppKit/NSEvent.h>
33659 #include <CoreFoundation/CoreFoundation.h>
33669 rm -f conftest.$ac_objext
33670 if { (ac_try="$ac_compile"
33671 case "(($ac_try" in
33672 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
33673 *) ac_try_echo
=$ac_try;;
33675 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33676 (eval "$ac_compile") 2>conftest.er1
33678 grep -v '^ *+' conftest.er1
>conftest.err
33680 cat conftest.err
>&5
33681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33682 (exit $ac_status); } && {
33683 test -z "$ac_c_werror_flag" ||
33684 test ! -s conftest.err
33685 } && test -s conftest.
$ac_objext; then
33686 { echo "$as_me:$LINENO: result: yes" >&5
33687 echo "${ECHO_T}yes" >&6; }
33688 cat >>confdefs.h
<<\_ACEOF
33689 #define __Point__ 1
33694 echo "$as_me: failed program was:" >&5
33695 sed 's/^/| /' conftest.
$ac_ext >&5
33697 { { echo "$as_me:$LINENO: error: no
33698 See \`config.log' for more details." >&5
33699 echo "$as_me: error: no
33700 See \`config.log' for more details." >&2;}
33701 { (exit 1); exit 1; }; }
33705 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
33709 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
33711 ac_cpp
='$CPP $CPPFLAGS'
33712 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33713 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33714 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
33719 { echo "$as_me:$LINENO: checking for mode_t" >&5
33720 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6; }
33721 if test "${ac_cv_type_mode_t+set}" = set; then
33722 echo $ECHO_N "(cached) $ECHO_C" >&6
33724 cat >conftest.
$ac_ext <<_ACEOF
33727 cat confdefs.h
>>conftest.
$ac_ext
33728 cat >>conftest.
$ac_ext <<_ACEOF
33729 /* end confdefs.h. */
33730 $ac_includes_default
33731 typedef mode_t ac__type_new_;
33735 if ((ac__type_new_ *) 0)
33737 if (sizeof (ac__type_new_))
33743 rm -f conftest.
$ac_objext
33744 if { (ac_try
="$ac_compile"
33745 case "(($ac_try" in
33746 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
33747 *) ac_try_echo=$ac_try;;
33749 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33750 (eval "$ac_compile") 2>conftest.er1
33752 grep -v '^ *+' conftest.er1 >conftest.err
33754 cat conftest.err >&5
33755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33756 (exit $ac_status); } && {
33757 test -z "$ac_c_werror_flag" ||
33758 test ! -s conftest.err
33759 } && test -s conftest.$ac_objext; then
33760 ac_cv_type_mode_t=yes
33762 echo "$as_me: failed program was:" >&5
33763 sed 's/^/| /' conftest.$ac_ext >&5
33765 ac_cv_type_mode_t=no
33768 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33770 { echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
33771 echo "${ECHO_T}$ac_cv_type_mode_t" >&6; }
33772 if test $ac_cv_type_mode_t = yes; then
33776 cat >>confdefs.h <<_ACEOF
33782 { echo "$as_me:$LINENO: checking for off_t" >&5
33783 echo $ECHO_N "checking for off_t... $ECHO_C" >&6; }
33784 if test "${ac_cv_type_off_t+set}" = set; then
33785 echo $ECHO_N "(cached) $ECHO_C" >&6
33787 cat >conftest.$ac_ext <<_ACEOF
33790 cat confdefs.h >>conftest.$ac_ext
33791 cat >>conftest.$ac_ext <<_ACEOF
33792 /* end confdefs.h. */
33793 $ac_includes_default
33794 typedef off_t ac__type_new_;
33798 if ((ac__type_new_ *) 0)
33800 if (sizeof (ac__type_new_))
33806 rm -f conftest.$ac_objext
33807 if { (ac_try="$ac_compile"
33808 case "(($ac_try" in
33809 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
33810 *) ac_try_echo
=$ac_try;;
33812 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33813 (eval "$ac_compile") 2>conftest.er1
33815 grep -v '^ *+' conftest.er1
>conftest.err
33817 cat conftest.err
>&5
33818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33819 (exit $ac_status); } && {
33820 test -z "$ac_c_werror_flag" ||
33821 test ! -s conftest.err
33822 } && test -s conftest.
$ac_objext; then
33823 ac_cv_type_off_t
=yes
33825 echo "$as_me: failed program was:" >&5
33826 sed 's/^/| /' conftest.
$ac_ext >&5
33828 ac_cv_type_off_t
=no
33831 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
33833 { echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
33834 echo "${ECHO_T}$ac_cv_type_off_t" >&6; }
33835 if test $ac_cv_type_off_t = yes; then
33839 cat >>confdefs.h
<<_ACEOF
33840 #define off_t long int
33845 { echo "$as_me:$LINENO: checking for pid_t" >&5
33846 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6; }
33847 if test "${ac_cv_type_pid_t+set}" = set; then
33848 echo $ECHO_N "(cached) $ECHO_C" >&6
33850 cat >conftest.
$ac_ext <<_ACEOF
33853 cat confdefs.h
>>conftest.
$ac_ext
33854 cat >>conftest.
$ac_ext <<_ACEOF
33855 /* end confdefs.h. */
33856 $ac_includes_default
33857 typedef pid_t ac__type_new_;
33861 if ((ac__type_new_ *) 0)
33863 if (sizeof (ac__type_new_))
33869 rm -f conftest.
$ac_objext
33870 if { (ac_try
="$ac_compile"
33871 case "(($ac_try" in
33872 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
33873 *) ac_try_echo=$ac_try;;
33875 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33876 (eval "$ac_compile") 2>conftest.er1
33878 grep -v '^ *+' conftest.er1 >conftest.err
33880 cat conftest.err >&5
33881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33882 (exit $ac_status); } && {
33883 test -z "$ac_c_werror_flag" ||
33884 test ! -s conftest.err
33885 } && test -s conftest.$ac_objext; then
33886 ac_cv_type_pid_t=yes
33888 echo "$as_me: failed program was:" >&5
33889 sed 's/^/| /' conftest.$ac_ext >&5
33891 ac_cv_type_pid_t=no
33894 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33896 { echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
33897 echo "${ECHO_T}$ac_cv_type_pid_t" >&6; }
33898 if test $ac_cv_type_pid_t = yes; then
33902 cat >>confdefs.h <<_ACEOF
33908 { echo "$as_me:$LINENO: checking for size_t" >&5
33909 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
33910 if test "${ac_cv_type_size_t+set}" = set; then
33911 echo $ECHO_N "(cached) $ECHO_C" >&6
33913 cat >conftest.$ac_ext <<_ACEOF
33916 cat confdefs.h >>conftest.$ac_ext
33917 cat >>conftest.$ac_ext <<_ACEOF
33918 /* end confdefs.h. */
33919 $ac_includes_default
33920 typedef size_t ac__type_new_;
33924 if ((ac__type_new_ *) 0)
33926 if (sizeof (ac__type_new_))
33932 rm -f conftest.$ac_objext
33933 if { (ac_try="$ac_compile"
33934 case "(($ac_try" in
33935 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
33936 *) ac_try_echo
=$ac_try;;
33938 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33939 (eval "$ac_compile") 2>conftest.er1
33941 grep -v '^ *+' conftest.er1
>conftest.err
33943 cat conftest.err
>&5
33944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33945 (exit $ac_status); } && {
33946 test -z "$ac_c_werror_flag" ||
33947 test ! -s conftest.err
33948 } && test -s conftest.
$ac_objext; then
33949 ac_cv_type_size_t
=yes
33951 echo "$as_me: failed program was:" >&5
33952 sed 's/^/| /' conftest.
$ac_ext >&5
33954 ac_cv_type_size_t
=no
33957 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
33959 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
33960 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
33961 if test $ac_cv_type_size_t = yes; then
33965 cat >>confdefs.h
<<_ACEOF
33966 #define size_t unsigned int
33972 { echo "$as_me:$LINENO: checking for ssize_t" >&5
33973 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6; }
33974 if test "${ac_cv_type_ssize_t+set}" = set; then
33975 echo $ECHO_N "(cached) $ECHO_C" >&6
33977 cat >conftest.
$ac_ext <<_ACEOF
33980 cat confdefs.h
>>conftest.
$ac_ext
33981 cat >>conftest.
$ac_ext <<_ACEOF
33982 /* end confdefs.h. */
33983 $ac_includes_default
33984 typedef ssize_t ac__type_new_;
33988 if ((ac__type_new_ *) 0)
33990 if (sizeof (ac__type_new_))
33996 rm -f conftest.
$ac_objext
33997 if { (ac_try
="$ac_compile"
33998 case "(($ac_try" in
33999 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
34000 *) ac_try_echo=$ac_try;;
34002 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34003 (eval "$ac_compile") 2>conftest.er1
34005 grep -v '^ *+' conftest.er1 >conftest.err
34007 cat conftest.err >&5
34008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34009 (exit $ac_status); } && {
34010 test -z "$ac_c_werror_flag" ||
34011 test ! -s conftest.err
34012 } && test -s conftest.$ac_objext; then
34013 ac_cv_type_ssize_t=yes
34015 echo "$as_me: failed program was:" >&5
34016 sed 's/^/| /' conftest.$ac_ext >&5
34018 ac_cv_type_ssize_t=no
34021 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34023 { echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
34024 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6; }
34025 if test $ac_cv_type_ssize_t = yes; then
34027 cat >>confdefs.h <<_ACEOF
34028 #define HAVE_SSIZE_T 1
34036 ac_cpp='$CXXCPP $CPPFLAGS'
34037 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34038 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34039 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34040 { echo "$as_me:$LINENO: checking if size_t is unsigned int" >&5
34041 echo $ECHO_N "checking if size_t is unsigned int... $ECHO_C" >&6; }
34042 if test "${wx_cv_size_t_is_uint+set}" = set; then
34043 echo $ECHO_N "(cached) $ECHO_C" >&6
34046 cat >conftest.$ac_ext <<_ACEOF
34049 cat confdefs.h >>conftest.$ac_ext
34050 cat >>conftest.$ac_ext <<_ACEOF
34051 /* end confdefs.h. */
34052 #include <stddef.h>
34059 struct Foo { void foo(size_t); void foo(unsigned int); };
34067 rm -f conftest.$ac_objext
34068 if { (ac_try="$ac_compile"
34069 case "(($ac_try" in
34070 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
34071 *) ac_try_echo
=$ac_try;;
34073 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34074 (eval "$ac_compile") 2>conftest.er1
34076 grep -v '^ *+' conftest.er1
>conftest.err
34078 cat conftest.err
>&5
34079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34080 (exit $ac_status); } && {
34081 test -z "$ac_cxx_werror_flag" ||
34082 test ! -s conftest.err
34083 } && test -s conftest.
$ac_objext; then
34084 wx_cv_size_t_is_uint
=no
34086 echo "$as_me: failed program was:" >&5
34087 sed 's/^/| /' conftest.
$ac_ext >&5
34089 wx_cv_size_t_is_uint
=yes
34093 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
34097 { echo "$as_me:$LINENO: result: $wx_cv_size_t_is_uint" >&5
34098 echo "${ECHO_T}$wx_cv_size_t_is_uint" >&6; }
34100 if test "$wx_cv_size_t_is_uint" = "yes"; then
34101 cat >>confdefs.h
<<\_ACEOF
34102 #define wxSIZE_T_IS_UINT 1
34106 { echo "$as_me:$LINENO: checking if size_t is unsigned long" >&5
34107 echo $ECHO_N "checking if size_t is unsigned long... $ECHO_C" >&6; }
34108 if test "${wx_cv_size_t_is_ulong+set}" = set; then
34109 echo $ECHO_N "(cached) $ECHO_C" >&6
34111 cat >conftest.
$ac_ext <<_ACEOF
34114 cat confdefs.h
>>conftest.
$ac_ext
34115 cat >>conftest.
$ac_ext <<_ACEOF
34116 /* end confdefs.h. */
34117 #include <stddef.h>
34124 struct Foo { void foo(size_t); void foo(unsigned long); };
34132 rm -f conftest.
$ac_objext
34133 if { (ac_try
="$ac_compile"
34134 case "(($ac_try" in
34135 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
34136 *) ac_try_echo=$ac_try;;
34138 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34139 (eval "$ac_compile") 2>conftest.er1
34141 grep -v '^ *+' conftest.er1 >conftest.err
34143 cat conftest.err >&5
34144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34145 (exit $ac_status); } && {
34146 test -z "$ac_cxx_werror_flag" ||
34147 test ! -s conftest.err
34148 } && test -s conftest.$ac_objext; then
34149 wx_cv_size_t_is_ulong=no
34151 echo "$as_me: failed program was:" >&5
34152 sed 's/^/| /' conftest.$ac_ext >&5
34154 wx_cv_size_t_is_ulong=yes
34158 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34161 { echo "$as_me:$LINENO: result: $wx_cv_size_t_is_ulong" >&5
34162 echo "${ECHO_T}$wx_cv_size_t_is_ulong" >&6; }
34164 if test "$wx_cv_size_t_is_ulong" = "yes"; then
34165 cat >>confdefs.h <<\_ACEOF
34166 #define wxSIZE_T_IS_ULONG 1
34172 { echo "$as_me:$LINENO: checking if wchar_t is separate type" >&5
34173 echo $ECHO_N "checking if wchar_t is separate type... $ECHO_C" >&6; }
34174 if test "${wx_cv_wchar_t_is_separate_type+set}" = set; then
34175 echo $ECHO_N "(cached) $ECHO_C" >&6
34177 cat >conftest.$ac_ext <<_ACEOF
34180 cat confdefs.h >>conftest.$ac_ext
34181 cat >>conftest.$ac_ext <<_ACEOF
34182 /* end confdefs.h. */
34190 struct Foo { void foo(wchar_t);
34191 void foo(unsigned short);
34192 void foo(unsigned int);
34193 void foo(unsigned long); };
34201 rm -f conftest.$ac_objext
34202 if { (ac_try="$ac_compile"
34203 case "(($ac_try" in
34204 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
34205 *) ac_try_echo
=$ac_try;;
34207 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34208 (eval "$ac_compile") 2>conftest.er1
34210 grep -v '^ *+' conftest.er1
>conftest.err
34212 cat conftest.err
>&5
34213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34214 (exit $ac_status); } && {
34215 test -z "$ac_cxx_werror_flag" ||
34216 test ! -s conftest.err
34217 } && test -s conftest.
$ac_objext; then
34218 wx_cv_wchar_t_is_separate_type
=yes
34220 echo "$as_me: failed program was:" >&5
34221 sed 's/^/| /' conftest.
$ac_ext >&5
34223 wx_cv_wchar_t_is_separate_type
=no
34227 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
34230 { echo "$as_me:$LINENO: result: $wx_cv_wchar_t_is_separate_type" >&5
34231 echo "${ECHO_T}$wx_cv_wchar_t_is_separate_type" >&6; }
34233 if test "$wx_cv_wchar_t_is_separate_type" = "yes"; then
34234 cat >>confdefs.h
<<\_ACEOF
34235 #define wxWCHAR_T_IS_REAL_TYPE 1
34239 cat >>confdefs.h
<<\_ACEOF
34240 #define wxWCHAR_T_IS_REAL_TYPE 0
34246 ac_cpp
='$CPP $CPPFLAGS'
34247 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34248 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34249 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
34252 { echo "$as_me:$LINENO: checking for pw_gecos in struct passwd" >&5
34253 echo $ECHO_N "checking for pw_gecos in struct passwd... $ECHO_C" >&6; }
34254 if test "${wx_cv_struct_pw_gecos+set}" = set; then
34255 echo $ECHO_N "(cached) $ECHO_C" >&6
34258 cat >conftest.
$ac_ext <<_ACEOF
34261 cat confdefs.h
>>conftest.
$ac_ext
34262 cat >>conftest.
$ac_ext <<_ACEOF
34263 /* end confdefs.h. */
34277 rm -f conftest.
$ac_objext
34278 if { (ac_try
="$ac_compile"
34279 case "(($ac_try" in
34280 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
34281 *) ac_try_echo=$ac_try;;
34283 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34284 (eval "$ac_compile") 2>conftest.er1
34286 grep -v '^ *+' conftest.er1 >conftest.err
34288 cat conftest.err >&5
34289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34290 (exit $ac_status); } && {
34291 test -z "$ac_c_werror_flag" ||
34292 test ! -s conftest.err
34293 } && test -s conftest.$ac_objext; then
34295 wx_cv_struct_pw_gecos=yes
34298 echo "$as_me: failed program was:" >&5
34299 sed 's/^/| /' conftest.$ac_ext >&5
34302 wx_cv_struct_pw_gecos=no
34307 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34311 { echo "$as_me:$LINENO: result: $wx_cv_struct_pw_gecos" >&5
34312 echo "${ECHO_T}$wx_cv_struct_pw_gecos" >&6; }
34314 if test "$wx_cv_struct_pw_gecos" = "yes"; then
34315 cat >>confdefs.h <<\_ACEOF
34316 #define HAVE_PW_GECOS 1
34322 if test "$wxUSE_WCHAR_T" = "yes"; then
34323 cat >>confdefs.h <<\_ACEOF
34324 #define wxUSE_WCHAR_T 1
34331 for ac_func in wcslen
34333 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34334 { echo "$as_me:$LINENO: checking for $ac_func" >&5
34335 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
34336 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
34337 echo $ECHO_N "(cached) $ECHO_C" >&6
34339 cat >conftest.$ac_ext <<_ACEOF
34342 cat confdefs.h >>conftest.$ac_ext
34343 cat >>conftest.$ac_ext <<_ACEOF
34344 /* end confdefs.h. */
34345 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34346 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34347 #define $ac_func innocuous_$ac_func
34349 /* System header to define __stub macros and hopefully few prototypes,
34350 which can conflict with char $ac_func (); below.
34351 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34352 <limits.h> exists even on freestanding compilers. */
34355 # include <limits.h>
34357 # include <assert.h>
34362 /* Override any GCC internal prototype to avoid an error.
34363 Use char because int might match the return type of a GCC
34364 builtin and then its argument prototype would still apply. */
34369 /* The GNU C library defines this for functions which it implements
34370 to always fail with ENOSYS. Some functions are actually named
34371 something starting with __ and the normal name is an alias. */
34372 #if defined __stub_$ac_func || defined __stub___$ac_func
34379 return $ac_func ();
34384 rm -f conftest.$ac_objext conftest$ac_exeext
34385 if { (ac_try="$ac_link"
34386 case "(($ac_try" in
34387 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
34388 *) ac_try_echo
=$ac_try;;
34390 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34391 (eval "$ac_link") 2>conftest.er1
34393 grep -v '^ *+' conftest.er1
>conftest.err
34395 cat conftest.err
>&5
34396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34397 (exit $ac_status); } && {
34398 test -z "$ac_c_werror_flag" ||
34399 test ! -s conftest.err
34400 } && test -s conftest
$ac_exeext &&
34401 $as_test_x conftest
$ac_exeext; then
34402 eval "$as_ac_var=yes"
34404 echo "$as_me: failed program was:" >&5
34405 sed 's/^/| /' conftest.
$ac_ext >&5
34407 eval "$as_ac_var=no"
34410 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
34411 conftest
$ac_exeext conftest.
$ac_ext
34413 ac_res
=`eval echo '${'$as_ac_var'}'`
34414 { echo "$as_me:$LINENO: result: $ac_res" >&5
34415 echo "${ECHO_T}$ac_res" >&6; }
34416 if test `eval echo '${'$as_ac_var'}'` = yes; then
34417 cat >>confdefs.h
<<_ACEOF
34418 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34425 if test "$WCSLEN_FOUND" = 0; then
34426 if test "$TOOLKIT" = "MSW"; then
34427 { echo "$as_me:$LINENO: checking for wcslen in -lmsvcrt" >&5
34428 echo $ECHO_N "checking for wcslen in -lmsvcrt... $ECHO_C" >&6; }
34429 if test "${ac_cv_lib_msvcrt_wcslen+set}" = set; then
34430 echo $ECHO_N "(cached) $ECHO_C" >&6
34432 ac_check_lib_save_LIBS
=$LIBS
34433 LIBS
="-lmsvcrt $LIBS"
34434 cat >conftest.
$ac_ext <<_ACEOF
34437 cat confdefs.h
>>conftest.
$ac_ext
34438 cat >>conftest.
$ac_ext <<_ACEOF
34439 /* end confdefs.h. */
34441 /* Override any GCC internal prototype to avoid an error.
34442 Use char because int might match the return type of a GCC
34443 builtin and then its argument prototype would still apply. */
34456 rm -f conftest.
$ac_objext conftest
$ac_exeext
34457 if { (ac_try
="$ac_link"
34458 case "(($ac_try" in
34459 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
34460 *) ac_try_echo=$ac_try;;
34462 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34463 (eval "$ac_link") 2>conftest.er1
34465 grep -v '^ *+' conftest.er1 >conftest.err
34467 cat conftest.err >&5
34468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34469 (exit $ac_status); } && {
34470 test -z "$ac_c_werror_flag" ||
34471 test ! -s conftest.err
34472 } && test -s conftest$ac_exeext &&
34473 $as_test_x conftest$ac_exeext; then
34474 ac_cv_lib_msvcrt_wcslen=yes
34476 echo "$as_me: failed program was:" >&5
34477 sed 's/^/| /' conftest.$ac_ext >&5
34479 ac_cv_lib_msvcrt_wcslen=no
34482 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34483 conftest$ac_exeext conftest.$ac_ext
34484 LIBS=$ac_check_lib_save_LIBS
34486 { echo "$as_me:$LINENO: result: $ac_cv_lib_msvcrt_wcslen" >&5
34487 echo "${ECHO_T}$ac_cv_lib_msvcrt_wcslen" >&6; }
34488 if test $ac_cv_lib_msvcrt_wcslen = yes; then
34493 { echo "$as_me:$LINENO: checking for wcslen in -lw" >&5
34494 echo $ECHO_N "checking for wcslen in -lw... $ECHO_C" >&6; }
34495 if test "${ac_cv_lib_w_wcslen+set}" = set; then
34496 echo $ECHO_N "(cached) $ECHO_C" >&6
34498 ac_check_lib_save_LIBS=$LIBS
34500 cat >conftest.$ac_ext <<_ACEOF
34503 cat confdefs.h >>conftest.$ac_ext
34504 cat >>conftest.$ac_ext <<_ACEOF
34505 /* end confdefs.h. */
34507 /* Override any GCC internal prototype to avoid an error.
34508 Use char because int might match the return type of a GCC
34509 builtin and then its argument prototype would still apply. */
34522 rm -f conftest.$ac_objext conftest$ac_exeext
34523 if { (ac_try="$ac_link"
34524 case "(($ac_try" in
34525 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
34526 *) ac_try_echo
=$ac_try;;
34528 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34529 (eval "$ac_link") 2>conftest.er1
34531 grep -v '^ *+' conftest.er1
>conftest.err
34533 cat conftest.err
>&5
34534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34535 (exit $ac_status); } && {
34536 test -z "$ac_c_werror_flag" ||
34537 test ! -s conftest.err
34538 } && test -s conftest
$ac_exeext &&
34539 $as_test_x conftest
$ac_exeext; then
34540 ac_cv_lib_w_wcslen
=yes
34542 echo "$as_me: failed program was:" >&5
34543 sed 's/^/| /' conftest.
$ac_ext >&5
34545 ac_cv_lib_w_wcslen
=no
34548 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
34549 conftest
$ac_exeext conftest.
$ac_ext
34550 LIBS
=$ac_check_lib_save_LIBS
34552 { echo "$as_me:$LINENO: result: $ac_cv_lib_w_wcslen" >&5
34553 echo "${ECHO_T}$ac_cv_lib_w_wcslen" >&6; }
34554 if test $ac_cv_lib_w_wcslen = yes; then
34564 if test "$WCSLEN_FOUND" = 1; then
34565 cat >>confdefs.h
<<\_ACEOF
34566 #define HAVE_WCSLEN 1
34572 for ac_func
in wcsdup
34574 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34575 { echo "$as_me:$LINENO: checking for $ac_func" >&5
34576 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
34577 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
34578 echo $ECHO_N "(cached) $ECHO_C" >&6
34580 cat >conftest.
$ac_ext <<_ACEOF
34583 cat confdefs.h
>>conftest.
$ac_ext
34584 cat >>conftest.
$ac_ext <<_ACEOF
34585 /* end confdefs.h. */
34586 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34587 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34588 #define $ac_func innocuous_$ac_func
34590 /* System header to define __stub macros and hopefully few prototypes,
34591 which can conflict with char $ac_func (); below.
34592 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34593 <limits.h> exists even on freestanding compilers. */
34596 # include <limits.h>
34598 # include <assert.h>
34603 /* Override any GCC internal prototype to avoid an error.
34604 Use char because int might match the return type of a GCC
34605 builtin and then its argument prototype would still apply. */
34610 /* The GNU C library defines this for functions which it implements
34611 to always fail with ENOSYS. Some functions are actually named
34612 something starting with __ and the normal name is an alias. */
34613 #if defined __stub_$ac_func || defined __stub___$ac_func
34620 return $ac_func ();
34625 rm -f conftest.
$ac_objext conftest
$ac_exeext
34626 if { (ac_try
="$ac_link"
34627 case "(($ac_try" in
34628 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
34629 *) ac_try_echo=$ac_try;;
34631 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34632 (eval "$ac_link") 2>conftest.er1
34634 grep -v '^ *+' conftest.er1 >conftest.err
34636 cat conftest.err >&5
34637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34638 (exit $ac_status); } && {
34639 test -z "$ac_c_werror_flag" ||
34640 test ! -s conftest.err
34641 } && test -s conftest$ac_exeext &&
34642 $as_test_x conftest$ac_exeext; then
34643 eval "$as_ac_var=yes"
34645 echo "$as_me: failed program was:" >&5
34646 sed 's/^/| /' conftest.$ac_ext >&5
34648 eval "$as_ac_var=no"
34651 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34652 conftest$ac_exeext conftest.$ac_ext
34654 ac_res=`eval echo '${'$as_ac_var'}'`
34655 { echo "$as_me:$LINENO: result: $ac_res" >&5
34656 echo "${ECHO_T}$ac_res" >&6; }
34657 if test `eval echo '${'$as_ac_var'}'` = yes; then
34658 cat >>confdefs.h <<_ACEOF
34659 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34666 if test "$USE_HPUX" = 1 -a "$GCC" != "yes"; then
34667 CPPFLAGS="-D_INCLUDE__STDC_A1_SOURCE $CPPFLAGS"
34670 { echo "$as_me:$LINENO: checking for mbstate_t" >&5
34671 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6; }
34672 if test "${ac_cv_type_mbstate_t+set}" = set; then
34673 echo $ECHO_N "(cached) $ECHO_C" >&6
34675 cat >conftest.$ac_ext <<_ACEOF
34678 cat confdefs.h >>conftest.$ac_ext
34679 cat >>conftest.$ac_ext <<_ACEOF
34680 /* end confdefs.h. */
34683 typedef mbstate_t ac__type_new_;
34687 if ((ac__type_new_ *) 0)
34689 if (sizeof (ac__type_new_))
34695 rm -f conftest.$ac_objext
34696 if { (ac_try="$ac_compile"
34697 case "(($ac_try" in
34698 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
34699 *) ac_try_echo
=$ac_try;;
34701 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34702 (eval "$ac_compile") 2>conftest.er1
34704 grep -v '^ *+' conftest.er1
>conftest.err
34706 cat conftest.err
>&5
34707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34708 (exit $ac_status); } && {
34709 test -z "$ac_c_werror_flag" ||
34710 test ! -s conftest.err
34711 } && test -s conftest.
$ac_objext; then
34712 ac_cv_type_mbstate_t
=yes
34714 echo "$as_me: failed program was:" >&5
34715 sed 's/^/| /' conftest.
$ac_ext >&5
34717 ac_cv_type_mbstate_t
=no
34720 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
34722 { echo "$as_me:$LINENO: result: $ac_cv_type_mbstate_t" >&5
34723 echo "${ECHO_T}$ac_cv_type_mbstate_t" >&6; }
34724 if test $ac_cv_type_mbstate_t = yes; then
34726 cat >>confdefs.h
<<_ACEOF
34727 #define HAVE_MBSTATE_T 1
34731 for ac_func
in wcsrtombs
34733 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34734 { echo "$as_me:$LINENO: checking for $ac_func" >&5
34735 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
34736 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
34737 echo $ECHO_N "(cached) $ECHO_C" >&6
34739 cat >conftest.
$ac_ext <<_ACEOF
34742 cat confdefs.h
>>conftest.
$ac_ext
34743 cat >>conftest.
$ac_ext <<_ACEOF
34744 /* end confdefs.h. */
34745 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34746 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34747 #define $ac_func innocuous_$ac_func
34749 /* System header to define __stub macros and hopefully few prototypes,
34750 which can conflict with char $ac_func (); below.
34751 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34752 <limits.h> exists even on freestanding compilers. */
34755 # include <limits.h>
34757 # include <assert.h>
34762 /* Override any GCC internal prototype to avoid an error.
34763 Use char because int might match the return type of a GCC
34764 builtin and then its argument prototype would still apply. */
34769 /* The GNU C library defines this for functions which it implements
34770 to always fail with ENOSYS. Some functions are actually named
34771 something starting with __ and the normal name is an alias. */
34772 #if defined __stub_$ac_func || defined __stub___$ac_func
34779 return $ac_func ();
34784 rm -f conftest.
$ac_objext conftest
$ac_exeext
34785 if { (ac_try
="$ac_link"
34786 case "(($ac_try" in
34787 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
34788 *) ac_try_echo=$ac_try;;
34790 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34791 (eval "$ac_link") 2>conftest.er1
34793 grep -v '^ *+' conftest.er1 >conftest.err
34795 cat conftest.err >&5
34796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34797 (exit $ac_status); } && {
34798 test -z "$ac_c_werror_flag" ||
34799 test ! -s conftest.err
34800 } && test -s conftest$ac_exeext &&
34801 $as_test_x conftest$ac_exeext; then
34802 eval "$as_ac_var=yes"
34804 echo "$as_me: failed program was:" >&5
34805 sed 's/^/| /' conftest.$ac_ext >&5
34807 eval "$as_ac_var=no"
34810 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34811 conftest$ac_exeext conftest.$ac_ext
34813 ac_res=`eval echo '${'$as_ac_var'}'`
34814 { echo "$as_me:$LINENO: result: $ac_res" >&5
34815 echo "${ECHO_T}$ac_res" >&6; }
34816 if test `eval echo '${'$as_ac_var'}'` = yes; then
34817 cat >>confdefs.h <<_ACEOF
34818 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34827 { echo "$as_me:$LINENO: WARNING: Wide character support is unavailable" >&5
34828 echo "$as_me: WARNING: Wide character support is unavailable" >&2;}
34833 for ac_func in snprintf vsnprintf
34835 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34836 { echo "$as_me:$LINENO: checking for $ac_func" >&5
34837 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
34838 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
34839 echo $ECHO_N "(cached) $ECHO_C" >&6
34841 cat >conftest.$ac_ext <<_ACEOF
34844 cat confdefs.h >>conftest.$ac_ext
34845 cat >>conftest.$ac_ext <<_ACEOF
34846 /* end confdefs.h. */
34847 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34848 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34849 #define $ac_func innocuous_$ac_func
34851 /* System header to define __stub macros and hopefully few prototypes,
34852 which can conflict with char $ac_func (); below.
34853 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34854 <limits.h> exists even on freestanding compilers. */
34857 # include <limits.h>
34859 # include <assert.h>
34864 /* Override any GCC internal prototype to avoid an error.
34865 Use char because int might match the return type of a GCC
34866 builtin and then its argument prototype would still apply. */
34871 /* The GNU C library defines this for functions which it implements
34872 to always fail with ENOSYS. Some functions are actually named
34873 something starting with __ and the normal name is an alias. */
34874 #if defined __stub_$ac_func || defined __stub___$ac_func
34881 return $ac_func ();
34886 rm -f conftest.$ac_objext conftest$ac_exeext
34887 if { (ac_try="$ac_link"
34888 case "(($ac_try" in
34889 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
34890 *) ac_try_echo
=$ac_try;;
34892 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34893 (eval "$ac_link") 2>conftest.er1
34895 grep -v '^ *+' conftest.er1
>conftest.err
34897 cat conftest.err
>&5
34898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34899 (exit $ac_status); } && {
34900 test -z "$ac_c_werror_flag" ||
34901 test ! -s conftest.err
34902 } && test -s conftest
$ac_exeext &&
34903 $as_test_x conftest
$ac_exeext; then
34904 eval "$as_ac_var=yes"
34906 echo "$as_me: failed program was:" >&5
34907 sed 's/^/| /' conftest.
$ac_ext >&5
34909 eval "$as_ac_var=no"
34912 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
34913 conftest
$ac_exeext conftest.
$ac_ext
34915 ac_res
=`eval echo '${'$as_ac_var'}'`
34916 { echo "$as_me:$LINENO: result: $ac_res" >&5
34917 echo "${ECHO_T}$ac_res" >&6; }
34918 if test `eval echo '${'$as_ac_var'}'` = yes; then
34919 cat >>confdefs.h
<<_ACEOF
34920 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34927 if test "$ac_cv_func_vsnprintf" = "yes"; then
34928 { echo "$as_me:$LINENO: checking for vsnprintf declaration" >&5
34929 echo $ECHO_N "checking for vsnprintf declaration... $ECHO_C" >&6; }
34930 if test "${wx_cv_func_vsnprintf_decl+set}" = set; then
34931 echo $ECHO_N "(cached) $ECHO_C" >&6
34934 cat >conftest.
$ac_ext <<_ACEOF
34937 cat confdefs.h
>>conftest.
$ac_ext
34938 cat >>conftest.
$ac_ext <<_ACEOF
34939 /* end confdefs.h. */
34942 #include <stdarg.h>
34944 #if __MSL__ >= 0x6000
34946 using namespace std;
34956 vsnprintf(buf, 10u, "%s", ap);
34962 rm -f conftest.
$ac_objext
34963 if { (ac_try
="$ac_compile"
34964 case "(($ac_try" in
34965 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
34966 *) ac_try_echo=$ac_try;;
34968 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34969 (eval "$ac_compile") 2>conftest.er1
34971 grep -v '^ *+' conftest.er1 >conftest.err
34973 cat conftest.err >&5
34974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34975 (exit $ac_status); } && {
34976 test -z "$ac_c_werror_flag" ||
34977 test ! -s conftest.err
34978 } && test -s conftest.$ac_objext; then
34979 wx_cv_func_vsnprintf_decl=yes
34981 echo "$as_me: failed program was:" >&5
34982 sed 's/^/| /' conftest.$ac_ext >&5
34984 wx_cv_func_vsnprintf_decl=no
34988 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34992 { echo "$as_me:$LINENO: result: $wx_cv_func_vsnprintf_decl" >&5
34993 echo "${ECHO_T}$wx_cv_func_vsnprintf_decl" >&6; }
34995 if test "$wx_cv_func_vsnprintf_decl" = "yes"; then
34996 cat >>confdefs.h <<\_ACEOF
34997 #define HAVE_VSNPRINTF_DECL 1
35001 { echo "$as_me:$LINENO: checking if vsnprintf declaration is broken" >&5
35002 echo $ECHO_N "checking if vsnprintf declaration is broken... $ECHO_C" >&6; }
35003 if test "${wx_cv_func_broken_vsnprintf_decl+set}" = set; then
35004 echo $ECHO_N "(cached) $ECHO_C" >&6
35007 cat >conftest.$ac_ext <<_ACEOF
35010 cat confdefs.h >>conftest.$ac_ext
35011 cat >>conftest.$ac_ext <<_ACEOF
35012 /* end confdefs.h. */
35015 #include <stdarg.h>
35017 #if __MSL__ >= 0x6000
35019 using namespace std;
35029 const char *fmt = "%s";
35030 vsnprintf(buf, 10u, fmt, ap);
35036 rm -f conftest.$ac_objext
35037 if { (ac_try="$ac_compile"
35038 case "(($ac_try" in
35039 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
35040 *) ac_try_echo
=$ac_try;;
35042 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35043 (eval "$ac_compile") 2>conftest.er1
35045 grep -v '^ *+' conftest.er1
>conftest.err
35047 cat conftest.err
>&5
35048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35049 (exit $ac_status); } && {
35050 test -z "$ac_c_werror_flag" ||
35051 test ! -s conftest.err
35052 } && test -s conftest.
$ac_objext; then
35053 wx_cv_func_broken_vsnprintf_decl
=no
35055 echo "$as_me: failed program was:" >&5
35056 sed 's/^/| /' conftest.
$ac_ext >&5
35058 wx_cv_func_broken_vsnprintf_decl
=yes
35062 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
35066 { echo "$as_me:$LINENO: result: $wx_cv_func_broken_vsnprintf_decl" >&5
35067 echo "${ECHO_T}$wx_cv_func_broken_vsnprintf_decl" >&6; }
35069 if test "$wx_cv_func_broken_vsnprintf_decl" = "yes"; then
35070 cat >>confdefs.h
<<\_ACEOF
35071 #define HAVE_BROKEN_VSNPRINTF_DECL 1
35078 if test "$ac_cv_func_snprintf" = "yes"; then
35079 { echo "$as_me:$LINENO: checking for snprintf declaration" >&5
35080 echo $ECHO_N "checking for snprintf declaration... $ECHO_C" >&6; }
35081 if test "${wx_cv_func_snprintf_decl+set}" = set; then
35082 echo $ECHO_N "(cached) $ECHO_C" >&6
35085 cat >conftest.
$ac_ext <<_ACEOF
35088 cat confdefs.h
>>conftest.
$ac_ext
35089 cat >>conftest.
$ac_ext <<_ACEOF
35090 /* end confdefs.h. */
35093 #include <stdarg.h>
35095 #if __MSL__ >= 0x6000
35097 using namespace std;
35106 snprintf(buf, 10u, "%s", "wx");
35112 rm -f conftest.
$ac_objext
35113 if { (ac_try
="$ac_compile"
35114 case "(($ac_try" in
35115 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
35116 *) ac_try_echo=$ac_try;;
35118 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35119 (eval "$ac_compile") 2>conftest.er1
35121 grep -v '^ *+' conftest.er1 >conftest.err
35123 cat conftest.err >&5
35124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35125 (exit $ac_status); } && {
35126 test -z "$ac_c_werror_flag" ||
35127 test ! -s conftest.err
35128 } && test -s conftest.$ac_objext; then
35129 wx_cv_func_snprintf_decl=yes
35131 echo "$as_me: failed program was:" >&5
35132 sed 's/^/| /' conftest.$ac_ext >&5
35134 wx_cv_func_snprintf_decl=no
35138 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35142 { echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_decl" >&5
35143 echo "${ECHO_T}$wx_cv_func_snprintf_decl" >&6; }
35145 if test "$wx_cv_func_snprintf_decl" = "yes"; then
35146 cat >>confdefs.h <<\_ACEOF
35147 #define HAVE_SNPRINTF_DECL 1
35152 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
35154 { echo "$as_me:$LINENO: checking if snprintf supports positional arguments" >&5
35155 echo $ECHO_N "checking if snprintf supports positional arguments... $ECHO_C" >&6; }
35156 if test "${wx_cv_func_snprintf_pos_params+set}" = set; then
35157 echo $ECHO_N "(cached) $ECHO_C" >&6
35160 if test "$cross_compiling" = yes; then
35162 { echo "$as_me:$LINENO: WARNING: Assuming Unix98 printf() is not available,
35163 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&5
35164 echo "$as_me: WARNING: Assuming Unix98 printf() is not available,
35165 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&2;}
35166 wx_cv_func_snprintf_pos_params=no
35170 cat >conftest.$ac_ext <<_ACEOF
35173 cat confdefs.h >>conftest.$ac_ext
35174 cat >>conftest.$ac_ext <<_ACEOF
35175 /* end confdefs.h. */
35182 snprintf (buffer, 128, "%2$d %3$d %1$d", 1, 2, 3);
35183 if (strcmp ("2 3 1", buffer) == 0)
35189 rm -f conftest$ac_exeext
35190 if { (ac_try="$ac_link"
35191 case "(($ac_try" in
35192 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
35193 *) ac_try_echo
=$ac_try;;
35195 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35196 (eval "$ac_link") 2>&5
35198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35199 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
35200 { (case "(($ac_try" in
35201 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
35202 *) ac_try_echo=$ac_try;;
35204 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35205 (eval "$ac_try") 2>&5
35207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35208 (exit $ac_status); }; }; then
35209 wx_cv_func_snprintf_pos_params=no
35211 echo "$as_me: program exited with status $ac_status" >&5
35212 echo "$as_me: failed program was:" >&5
35213 sed 's/^/| /' conftest.$ac_ext >&5
35215 ( exit $ac_status )
35216 wx_cv_func_snprintf_pos_params=yes
35218 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
35225 { echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_pos_params" >&5
35226 echo "${ECHO_T}$wx_cv_func_snprintf_pos_params" >&6; }
35228 if test "$wx_cv_func_snprintf_pos_params" = "yes"; then
35229 cat >>confdefs.h <<\_ACEOF
35230 #define HAVE_UNIX98_PRINTF 1
35237 if test "$wxUSE_UNICODE" = yes; then
35239 wchar_headers="#include <stdio.h>
35240 #include <wchar.h>"
35244 for ac_header in widec.h
35246 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
35247 { echo "$as_me:$LINENO: checking for $ac_header" >&5
35248 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
35249 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
35250 echo $ECHO_N "(cached) $ECHO_C" >&6
35252 cat >conftest.$ac_ext <<_ACEOF
35255 cat confdefs.h >>conftest.$ac_ext
35256 cat >>conftest.$ac_ext <<_ACEOF
35257 /* end confdefs.h. */
35258 $ac_includes_default
35260 #include <$ac_header>
35262 rm -f conftest.$ac_objext
35263 if { (ac_try="$ac_compile"
35264 case "(($ac_try" in
35265 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
35266 *) ac_try_echo
=$ac_try;;
35268 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35269 (eval "$ac_compile") 2>conftest.er1
35271 grep -v '^ *+' conftest.er1
>conftest.err
35273 cat conftest.err
>&5
35274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35275 (exit $ac_status); } && {
35276 test -z "$ac_c_werror_flag" ||
35277 test ! -s conftest.err
35278 } && test -s conftest.
$ac_objext; then
35279 eval "$as_ac_Header=yes"
35281 echo "$as_me: failed program was:" >&5
35282 sed 's/^/| /' conftest.
$ac_ext >&5
35284 eval "$as_ac_Header=no"
35287 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
35289 ac_res
=`eval echo '${'$as_ac_Header'}'`
35290 { echo "$as_me:$LINENO: result: $ac_res" >&5
35291 echo "${ECHO_T}$ac_res" >&6; }
35292 if test `eval echo '${'$as_ac_Header'}'` = yes; then
35293 cat >>confdefs.h
<<_ACEOF
35294 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
35301 if test "$ac_cv_header_widec_h" = "yes"; then
35302 wchar_headers
="$wchar_headers
35303 #include <widec.h>"
35308 for wx_func
in putws fputws wprintf vswprintf vswscanf
35310 { echo "$as_me:$LINENO: checking for $wx_func" >&5
35311 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
35312 if { as_var
=wx_cv_func_
$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
35313 echo $ECHO_N "(cached) $ECHO_C" >&6
35316 cat >conftest.
$ac_ext <<_ACEOF
35320 cat confdefs.h
>>conftest.
$ac_ext
35321 cat >>conftest.
$ac_ext <<_ACEOF
35322 /* end confdefs.h. */
35325 $ac_includes_default
35341 rm -f conftest.
$ac_objext conftest
$ac_exeext
35342 if { (ac_try
="$ac_link"
35343 case "(($ac_try" in
35344 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
35345 *) ac_try_echo=$ac_try;;
35347 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35348 (eval "$ac_link") 2>conftest.er1
35350 grep -v '^ *+' conftest.er1 >conftest.err
35352 cat conftest.err >&5
35353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35354 (exit $ac_status); } && {
35355 test -z "$ac_c_werror_flag" ||
35356 test ! -s conftest.err
35357 } && test -s conftest$ac_exeext &&
35358 $as_test_x conftest$ac_exeext; then
35359 eval wx_cv_func_$wx_func=yes
35361 echo "$as_me: failed program was:" >&5
35362 sed 's/^/| /' conftest.$ac_ext >&5
35364 eval wx_cv_func_$wx_func=no
35367 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35368 conftest$ac_exeext conftest.$ac_ext
35371 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
35372 { echo "$as_me:$LINENO: result: $ac_res" >&5
35373 echo "${ECHO_T}$ac_res" >&6; }
35375 if eval test \$wx_cv_func_$wx_func = yes
35377 cat >>confdefs.h <<_ACEOF
35378 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
35389 { echo "$as_me:$LINENO: checking for _vsnwprintf" >&5
35390 echo $ECHO_N "checking for _vsnwprintf... $ECHO_C" >&6; }
35391 cat >conftest.$ac_ext <<_ACEOF
35394 cat confdefs.h >>conftest.$ac_ext
35395 cat >>conftest.$ac_ext <<_ACEOF
35396 /* end confdefs.h. */
35406 rm -f conftest.$ac_objext
35407 if { (ac_try="$ac_compile"
35408 case "(($ac_try" in
35409 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
35410 *) ac_try_echo
=$ac_try;;
35412 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35413 (eval "$ac_compile") 2>conftest.er1
35415 grep -v '^ *+' conftest.er1
>conftest.err
35417 cat conftest.err
>&5
35418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35419 (exit $ac_status); } && {
35420 test -z "$ac_c_werror_flag" ||
35421 test ! -s conftest.err
35422 } && test -s conftest.
$ac_objext; then
35423 { echo "$as_me:$LINENO: result: yes" >&5
35424 echo "${ECHO_T}yes" >&6; }
35425 cat >>confdefs.h
<<\_ACEOF
35426 #define HAVE__VSNWPRINTF 1
35430 echo "$as_me: failed program was:" >&5
35431 sed 's/^/| /' conftest.
$ac_ext >&5
35433 { echo "$as_me:$LINENO: result: no" >&5
35434 echo "${ECHO_T}no" >&6; }
35437 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext;
35440 if test "$wxUSE_FILE" = "yes"; then
35442 for wx_func
in fsync
35444 { echo "$as_me:$LINENO: checking for $wx_func" >&5
35445 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
35446 if { as_var
=wx_cv_func_
$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
35447 echo $ECHO_N "(cached) $ECHO_C" >&6
35450 cat >conftest.
$ac_ext <<_ACEOF
35454 cat confdefs.h
>>conftest.
$ac_ext
35455 cat >>conftest.
$ac_ext <<_ACEOF
35456 /* end confdefs.h. */
35459 $ac_includes_default
35475 rm -f conftest.
$ac_objext conftest
$ac_exeext
35476 if { (ac_try
="$ac_link"
35477 case "(($ac_try" in
35478 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
35479 *) ac_try_echo=$ac_try;;
35481 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35482 (eval "$ac_link") 2>conftest.er1
35484 grep -v '^ *+' conftest.er1 >conftest.err
35486 cat conftest.err >&5
35487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35488 (exit $ac_status); } && {
35489 test -z "$ac_c_werror_flag" ||
35490 test ! -s conftest.err
35491 } && test -s conftest$ac_exeext &&
35492 $as_test_x conftest$ac_exeext; then
35493 eval wx_cv_func_$wx_func=yes
35495 echo "$as_me: failed program was:" >&5
35496 sed 's/^/| /' conftest.$ac_ext >&5
35498 eval wx_cv_func_$wx_func=no
35501 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35502 conftest$ac_exeext conftest.$ac_ext
35505 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
35506 { echo "$as_me:$LINENO: result: $ac_res" >&5
35507 echo "${ECHO_T}$ac_res" >&6; }
35509 if eval test \$wx_cv_func_$wx_func = yes
35511 cat >>confdefs.h <<_ACEOF
35512 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
35525 ac_cpp='$CXXCPP $CPPFLAGS'
35526 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35527 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35528 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35531 for wx_func in round
35533 { echo "$as_me:$LINENO: checking for $wx_func" >&5
35534 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
35535 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
35536 echo $ECHO_N "(cached) $ECHO_C" >&6
35539 cat >conftest.$ac_ext <<_ACEOF
35543 cat confdefs.h >>conftest.$ac_ext
35544 cat >>conftest.$ac_ext <<_ACEOF
35545 /* end confdefs.h. */
35548 $ac_includes_default
35564 rm -f conftest.$ac_objext conftest$ac_exeext
35565 if { (ac_try="$ac_link"
35566 case "(($ac_try" in
35567 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
35568 *) ac_try_echo
=$ac_try;;
35570 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35571 (eval "$ac_link") 2>conftest.er1
35573 grep -v '^ *+' conftest.er1
>conftest.err
35575 cat conftest.err
>&5
35576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35577 (exit $ac_status); } && {
35578 test -z "$ac_cxx_werror_flag" ||
35579 test ! -s conftest.err
35580 } && test -s conftest
$ac_exeext &&
35581 $as_test_x conftest
$ac_exeext; then
35582 eval wx_cv_func_
$wx_func=yes
35584 echo "$as_me: failed program was:" >&5
35585 sed 's/^/| /' conftest.
$ac_ext >&5
35587 eval wx_cv_func_
$wx_func=no
35590 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
35591 conftest
$ac_exeext conftest.
$ac_ext
35594 ac_res
=`eval echo '${'wx_cv_func_$wx_func'}'`
35595 { echo "$as_me:$LINENO: result: $ac_res" >&5
35596 echo "${ECHO_T}$ac_res" >&6; }
35598 if eval test \
$wx_cv_func_$wx_func = yes
35600 cat >>confdefs.h
<<_ACEOF
35601 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
35612 ac_cpp
='$CPP $CPPFLAGS'
35613 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35614 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35615 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
35618 if test "$TOOLKIT" != "MSW"; then
35620 if test "$wxUSE_LIBICONV" != "no" ; then
35624 # Check whether --with-libiconv-prefix was given.
35625 if test "${with_libiconv_prefix+set}" = set; then
35626 withval
=$with_libiconv_prefix;
35627 for dir
in `echo "$withval" | tr : ' '`; do
35628 if test -d $dir/include
; then CPPFLAGS
="$CPPFLAGS -I$dir/include"; fi
35629 if test -d $dir/lib
; then LDFLAGS
="$LDFLAGS -L$dir/lib"; fi
35635 { echo "$as_me:$LINENO: checking for iconv" >&5
35636 echo $ECHO_N "checking for iconv... $ECHO_C" >&6; }
35637 if test "${am_cv_func_iconv+set}" = set; then
35638 echo $ECHO_N "(cached) $ECHO_C" >&6
35641 am_cv_func_iconv
="no, consider installing GNU libiconv"
35643 cat >conftest.
$ac_ext <<_ACEOF
35646 cat confdefs.h
>>conftest.
$ac_ext
35647 cat >>conftest.
$ac_ext <<_ACEOF
35648 /* end confdefs.h. */
35649 #include <stdlib.h>
35654 iconv_t cd = iconv_open("","");
35655 iconv(cd,NULL,NULL,NULL,NULL);
35661 rm -f conftest.
$ac_objext conftest
$ac_exeext
35662 if { (ac_try
="$ac_link"
35663 case "(($ac_try" in
35664 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
35665 *) ac_try_echo=$ac_try;;
35667 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35668 (eval "$ac_link") 2>conftest.er1
35670 grep -v '^ *+' conftest.er1 >conftest.err
35672 cat conftest.err >&5
35673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35674 (exit $ac_status); } && {
35675 test -z "$ac_c_werror_flag" ||
35676 test ! -s conftest.err
35677 } && test -s conftest$ac_exeext &&
35678 $as_test_x conftest$ac_exeext; then
35679 am_cv_func_iconv=yes
35681 echo "$as_me: failed program was:" >&5
35682 sed 's/^/| /' conftest.$ac_ext >&5
35687 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35688 conftest$ac_exeext conftest.$ac_ext
35689 if test "$am_cv_func_iconv" != yes; then
35690 am_save_LIBS="$LIBS"
35691 LIBS="$LIBS -liconv"
35692 cat >conftest.$ac_ext <<_ACEOF
35695 cat confdefs.h >>conftest.$ac_ext
35696 cat >>conftest.$ac_ext <<_ACEOF
35697 /* end confdefs.h. */
35698 #include <stdlib.h>
35703 iconv_t cd = iconv_open("","");
35704 iconv(cd,NULL,NULL,NULL,NULL);
35710 rm -f conftest.$ac_objext conftest$ac_exeext
35711 if { (ac_try="$ac_link"
35712 case "(($ac_try" in
35713 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
35714 *) ac_try_echo
=$ac_try;;
35716 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35717 (eval "$ac_link") 2>conftest.er1
35719 grep -v '^ *+' conftest.er1
>conftest.err
35721 cat conftest.err
>&5
35722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35723 (exit $ac_status); } && {
35724 test -z "$ac_c_werror_flag" ||
35725 test ! -s conftest.err
35726 } && test -s conftest
$ac_exeext &&
35727 $as_test_x conftest
$ac_exeext; then
35728 am_cv_lib_iconv
=yes
35729 am_cv_func_iconv
=yes
35731 echo "$as_me: failed program was:" >&5
35732 sed 's/^/| /' conftest.
$ac_ext >&5
35737 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
35738 conftest
$ac_exeext conftest.
$ac_ext
35739 LIBS
="$am_save_LIBS"
35743 { echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
35744 echo "${ECHO_T}$am_cv_func_iconv" >&6; }
35745 if test "$am_cv_func_iconv" = yes; then
35747 cat >>confdefs.h
<<\_ACEOF
35748 #define HAVE_ICONV 1
35751 { echo "$as_me:$LINENO: checking if iconv needs const" >&5
35752 echo $ECHO_N "checking if iconv needs const... $ECHO_C" >&6; }
35753 if test "${wx_cv_func_iconv_const+set}" = set; then
35754 echo $ECHO_N "(cached) $ECHO_C" >&6
35756 cat >conftest.
$ac_ext <<_ACEOF
35759 cat confdefs.h
>>conftest.
$ac_ext
35760 cat >>conftest.
$ac_ext <<_ACEOF
35761 /* end confdefs.h. */
35763 #include <stdlib.h>
35769 #if defined(__STDC__) || defined(__cplusplus)
35770 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
35783 rm -f conftest.
$ac_objext
35784 if { (ac_try
="$ac_compile"
35785 case "(($ac_try" in
35786 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
35787 *) ac_try_echo=$ac_try;;
35789 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35790 (eval "$ac_compile") 2>conftest.er1
35792 grep -v '^ *+' conftest.er1 >conftest.err
35794 cat conftest.err >&5
35795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35796 (exit $ac_status); } && {
35797 test -z "$ac_c_werror_flag" ||
35798 test ! -s conftest.err
35799 } && test -s conftest.$ac_objext; then
35800 wx_cv_func_iconv_const="no"
35802 echo "$as_me: failed program was:" >&5
35803 sed 's/^/| /' conftest.$ac_ext >&5
35805 wx_cv_func_iconv_const="yes"
35809 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35812 { echo "$as_me:$LINENO: result: $wx_cv_func_iconv_const" >&5
35813 echo "${ECHO_T}$wx_cv_func_iconv_const" >&6; }
35816 if test "x$wx_cv_func_iconv_const" = "xyes"; then
35817 iconv_const="const"
35821 cat >>confdefs.h <<_ACEOF
35822 #define ICONV_CONST $iconv_const
35827 if test "$am_cv_lib_iconv" = yes; then
35832 LIBS="$LIBICONV $LIBS"
35835 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
35837 for ac_func in sigaction
35839 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35840 { echo "$as_me:$LINENO: checking for $ac_func" >&5
35841 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
35842 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
35843 echo $ECHO_N "(cached) $ECHO_C" >&6
35845 cat >conftest.$ac_ext <<_ACEOF
35848 cat confdefs.h >>conftest.$ac_ext
35849 cat >>conftest.$ac_ext <<_ACEOF
35850 /* end confdefs.h. */
35851 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35852 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35853 #define $ac_func innocuous_$ac_func
35855 /* System header to define __stub macros and hopefully few prototypes,
35856 which can conflict with char $ac_func (); below.
35857 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35858 <limits.h> exists even on freestanding compilers. */
35861 # include <limits.h>
35863 # include <assert.h>
35868 /* Override any GCC internal prototype to avoid an error.
35869 Use char because int might match the return type of a GCC
35870 builtin and then its argument prototype would still apply. */
35875 /* The GNU C library defines this for functions which it implements
35876 to always fail with ENOSYS. Some functions are actually named
35877 something starting with __ and the normal name is an alias. */
35878 #if defined __stub_$ac_func || defined __stub___$ac_func
35885 return $ac_func ();
35890 rm -f conftest.$ac_objext conftest$ac_exeext
35891 if { (ac_try="$ac_link"
35892 case "(($ac_try" in
35893 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
35894 *) ac_try_echo
=$ac_try;;
35896 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35897 (eval "$ac_link") 2>conftest.er1
35899 grep -v '^ *+' conftest.er1
>conftest.err
35901 cat conftest.err
>&5
35902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35903 (exit $ac_status); } && {
35904 test -z "$ac_c_werror_flag" ||
35905 test ! -s conftest.err
35906 } && test -s conftest
$ac_exeext &&
35907 $as_test_x conftest
$ac_exeext; then
35908 eval "$as_ac_var=yes"
35910 echo "$as_me: failed program was:" >&5
35911 sed 's/^/| /' conftest.
$ac_ext >&5
35913 eval "$as_ac_var=no"
35916 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
35917 conftest
$ac_exeext conftest.
$ac_ext
35919 ac_res
=`eval echo '${'$as_ac_var'}'`
35920 { echo "$as_me:$LINENO: result: $ac_res" >&5
35921 echo "${ECHO_T}$ac_res" >&6; }
35922 if test `eval echo '${'$as_ac_var'}'` = yes; then
35923 cat >>confdefs.h
<<_ACEOF
35924 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35931 if test "$ac_cv_func_sigaction" = "no"; then
35932 { echo "$as_me:$LINENO: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&5
35933 echo "$as_me: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&2;}
35934 wxUSE_ON_FATAL_EXCEPTION
=no
35937 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
35938 { echo "$as_me:$LINENO: checking for sa_handler type" >&5
35939 echo $ECHO_N "checking for sa_handler type... $ECHO_C" >&6; }
35940 if test "${wx_cv_type_sa_handler+set}" = set; then
35941 echo $ECHO_N "(cached) $ECHO_C" >&6
35945 ac_cpp
='$CXXCPP $CPPFLAGS'
35946 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35947 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35948 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
35950 cat >conftest.
$ac_ext <<_ACEOF
35953 cat confdefs.h
>>conftest.
$ac_ext
35954 cat >>conftest.
$ac_ext <<_ACEOF
35955 /* end confdefs.h. */
35956 #include <signal.h>
35961 extern void testSigHandler(int);
35963 struct sigaction sa;
35964 sa.sa_handler = testSigHandler;
35970 rm -f conftest.
$ac_objext
35971 if { (ac_try
="$ac_compile"
35972 case "(($ac_try" in
35973 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
35974 *) ac_try_echo=$ac_try;;
35976 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35977 (eval "$ac_compile") 2>conftest.er1
35979 grep -v '^ *+' conftest.er1 >conftest.err
35981 cat conftest.err >&5
35982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35983 (exit $ac_status); } && {
35984 test -z "$ac_cxx_werror_flag" ||
35985 test ! -s conftest.err
35986 } && test -s conftest.$ac_objext; then
35988 wx_cv_type_sa_handler=int
35991 echo "$as_me: failed program was:" >&5
35992 sed 's/^/| /' conftest.$ac_ext >&5
35995 wx_cv_type_sa_handler=void
35999 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36001 ac_cpp='$CPP $CPPFLAGS'
36002 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36003 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36004 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36008 { echo "$as_me:$LINENO: result: $wx_cv_type_sa_handler" >&5
36009 echo "${ECHO_T}$wx_cv_type_sa_handler" >&6; }
36011 cat >>confdefs.h <<_ACEOF
36012 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
36018 if test "$wxUSE_STACKWALKER" = "yes" -a "$wxUSE_UNIX" = "yes"; then
36019 { echo "$as_me:$LINENO: checking for backtrace() in <execinfo.h>" >&5
36020 echo $ECHO_N "checking for backtrace() in <execinfo.h>... $ECHO_C" >&6; }
36021 if test "${wx_cv_func_backtrace+set}" = set; then
36022 echo $ECHO_N "(cached) $ECHO_C" >&6
36026 ac_cpp='$CXXCPP $CPPFLAGS'
36027 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36028 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36029 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36031 cat >conftest.$ac_ext <<_ACEOF
36034 cat confdefs.h >>conftest.$ac_ext
36035 cat >>conftest.$ac_ext <<_ACEOF
36036 /* end confdefs.h. */
36037 #include <execinfo.h>
36045 backtrace(trace, 1);
36046 messages = backtrace_symbols(trace, 1);
36052 rm -f conftest.$ac_objext
36053 if { (ac_try="$ac_compile"
36054 case "(($ac_try" in
36055 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
36056 *) ac_try_echo
=$ac_try;;
36058 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36059 (eval "$ac_compile") 2>conftest.er1
36061 grep -v '^ *+' conftest.er1
>conftest.err
36063 cat conftest.err
>&5
36064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36065 (exit $ac_status); } && {
36066 test -z "$ac_cxx_werror_flag" ||
36067 test ! -s conftest.err
36068 } && test -s conftest.
$ac_objext; then
36069 wx_cv_func_backtrace
=yes
36071 echo "$as_me: failed program was:" >&5
36072 sed 's/^/| /' conftest.
$ac_ext >&5
36074 wx_cv_func_backtrace
=no
36078 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
36080 ac_cpp
='$CPP $CPPFLAGS'
36081 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36082 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36083 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
36088 { echo "$as_me:$LINENO: result: $wx_cv_func_backtrace" >&5
36089 echo "${ECHO_T}$wx_cv_func_backtrace" >&6; }
36092 if test "$wx_cv_func_backtrace" = "no"; then
36093 { echo "$as_me:$LINENO: WARNING: backtrace() is not available, wxStackWalker will not be available" >&5
36094 echo "$as_me: WARNING: backtrace() is not available, wxStackWalker will not be available" >&2;}
36095 wxUSE_STACKWALKER
=no
36097 { echo "$as_me:$LINENO: checking for __cxa_demangle() in <cxxabi.h>" >&5
36098 echo $ECHO_N "checking for __cxa_demangle() in <cxxabi.h>... $ECHO_C" >&6; }
36099 if test "${wx_cv_func_cxa_demangle+set}" = set; then
36100 echo $ECHO_N "(cached) $ECHO_C" >&6
36104 ac_cpp
='$CXXCPP $CPPFLAGS'
36105 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36106 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36107 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
36109 cat >conftest.
$ac_ext <<_ACEOF
36112 cat confdefs.h
>>conftest.
$ac_ext
36113 cat >>conftest.
$ac_ext <<_ACEOF
36114 /* end confdefs.h. */
36115 #include <cxxabi.h>
36121 __cxxabiv1::__cxa_demangle("foo", 0, 0, &rc);
36127 rm -f conftest.
$ac_objext conftest
$ac_exeext
36128 if { (ac_try
="$ac_link"
36129 case "(($ac_try" in
36130 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
36131 *) ac_try_echo=$ac_try;;
36133 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36134 (eval "$ac_link") 2>conftest.er1
36136 grep -v '^ *+' conftest.er1 >conftest.err
36138 cat conftest.err >&5
36139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36140 (exit $ac_status); } && {
36141 test -z "$ac_cxx_werror_flag" ||
36142 test ! -s conftest.err
36143 } && test -s conftest$ac_exeext &&
36144 $as_test_x conftest$ac_exeext; then
36145 wx_cv_func_cxa_demangle=yes
36147 echo "$as_me: failed program was:" >&5
36148 sed 's/^/| /' conftest.$ac_ext >&5
36150 wx_cv_func_cxa_demangle=no
36154 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36155 conftest$ac_exeext conftest.$ac_ext
36157 ac_cpp='$CPP $CPPFLAGS'
36158 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36159 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36160 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36165 { echo "$as_me:$LINENO: result: $wx_cv_func_cxa_demangle" >&5
36166 echo "${ECHO_T}$wx_cv_func_cxa_demangle" >&6; }
36168 if test "$wx_cv_func_cxa_demangle" = "yes"; then
36169 cat >>confdefs.h <<\_ACEOF
36170 #define HAVE_CXA_DEMANGLE 1
36177 if test "$wxUSE_STACKWALKER" = "yes" -a "$USE_WIN32" != 1 -a "$USE_UNIX" != 1; then
36178 { echo "$as_me:$LINENO: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&5
36179 echo "$as_me: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&2;}
36180 wxUSE_STACKWALKER=no
36186 for ac_func in mkstemp mktemp
36188 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36189 { echo "$as_me:$LINENO: checking for $ac_func" >&5
36190 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
36191 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
36192 echo $ECHO_N "(cached) $ECHO_C" >&6
36194 cat >conftest.$ac_ext <<_ACEOF
36197 cat confdefs.h >>conftest.$ac_ext
36198 cat >>conftest.$ac_ext <<_ACEOF
36199 /* end confdefs.h. */
36200 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36201 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36202 #define $ac_func innocuous_$ac_func
36204 /* System header to define __stub macros and hopefully few prototypes,
36205 which can conflict with char $ac_func (); below.
36206 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36207 <limits.h> exists even on freestanding compilers. */
36210 # include <limits.h>
36212 # include <assert.h>
36217 /* Override any GCC internal prototype to avoid an error.
36218 Use char because int might match the return type of a GCC
36219 builtin and then its argument prototype would still apply. */
36224 /* The GNU C library defines this for functions which it implements
36225 to always fail with ENOSYS. Some functions are actually named
36226 something starting with __ and the normal name is an alias. */
36227 #if defined __stub_$ac_func || defined __stub___$ac_func
36234 return $ac_func ();
36239 rm -f conftest.$ac_objext conftest$ac_exeext
36240 if { (ac_try="$ac_link"
36241 case "(($ac_try" in
36242 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
36243 *) ac_try_echo
=$ac_try;;
36245 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36246 (eval "$ac_link") 2>conftest.er1
36248 grep -v '^ *+' conftest.er1
>conftest.err
36250 cat conftest.err
>&5
36251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36252 (exit $ac_status); } && {
36253 test -z "$ac_c_werror_flag" ||
36254 test ! -s conftest.err
36255 } && test -s conftest
$ac_exeext &&
36256 $as_test_x conftest
$ac_exeext; then
36257 eval "$as_ac_var=yes"
36259 echo "$as_me: failed program was:" >&5
36260 sed 's/^/| /' conftest.
$ac_ext >&5
36262 eval "$as_ac_var=no"
36265 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
36266 conftest
$ac_exeext conftest.
$ac_ext
36268 ac_res
=`eval echo '${'$as_ac_var'}'`
36269 { echo "$as_me:$LINENO: result: $ac_res" >&5
36270 echo "${ECHO_T}$ac_res" >&6; }
36271 if test `eval echo '${'$as_ac_var'}'` = yes; then
36272 cat >>confdefs.h
<<_ACEOF
36273 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36280 { echo "$as_me:$LINENO: checking for statfs" >&5
36281 echo $ECHO_N "checking for statfs... $ECHO_C" >&6; }
36282 if test "${wx_cv_func_statfs+set}" = set; then
36283 echo $ECHO_N "(cached) $ECHO_C" >&6
36285 cat >conftest.
$ac_ext <<_ACEOF
36288 cat confdefs.h
>>conftest.
$ac_ext
36289 cat >>conftest.
$ac_ext <<_ACEOF
36290 /* end confdefs.h. */
36292 #if defined(__BSD__)
36293 #include <sys/param.h>
36294 #include <sys/mount.h>
36296 #include <sys/vfs.h>
36314 rm -f conftest.
$ac_objext
36315 if { (ac_try
="$ac_compile"
36316 case "(($ac_try" in
36317 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
36318 *) ac_try_echo=$ac_try;;
36320 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36321 (eval "$ac_compile") 2>conftest.er1
36323 grep -v '^ *+' conftest.er1 >conftest.err
36325 cat conftest.err >&5
36326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36327 (exit $ac_status); } && {
36328 test -z "$ac_c_werror_flag" ||
36329 test ! -s conftest.err
36330 } && test -s conftest.$ac_objext; then
36331 wx_cv_func_statfs=yes
36333 echo "$as_me: failed program was:" >&5
36334 sed 's/^/| /' conftest.$ac_ext >&5
36336 wx_cv_func_statfs=no
36340 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36343 { echo "$as_me:$LINENO: result: $wx_cv_func_statfs" >&5
36344 echo "${ECHO_T}$wx_cv_func_statfs" >&6; }
36346 if test "$wx_cv_func_statfs" = "yes"; then
36347 { echo "$as_me:$LINENO: checking for statfs declaration" >&5
36348 echo $ECHO_N "checking for statfs declaration... $ECHO_C" >&6; }
36349 if test "${wx_cv_func_statfs_decl+set}" = set; then
36350 echo $ECHO_N "(cached) $ECHO_C" >&6
36353 ac_cpp='$CXXCPP $CPPFLAGS'
36354 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36355 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36356 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36358 cat >conftest.$ac_ext <<_ACEOF
36361 cat confdefs.h >>conftest.$ac_ext
36362 cat >>conftest.$ac_ext <<_ACEOF
36363 /* end confdefs.h. */
36365 #if defined(__BSD__)
36366 #include <sys/param.h>
36367 #include <sys/mount.h>
36369 #include <sys/vfs.h>
36383 rm -f conftest.$ac_objext
36384 if { (ac_try="$ac_compile"
36385 case "(($ac_try" in
36386 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
36387 *) ac_try_echo
=$ac_try;;
36389 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36390 (eval "$ac_compile") 2>conftest.er1
36392 grep -v '^ *+' conftest.er1
>conftest.err
36394 cat conftest.err
>&5
36395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36396 (exit $ac_status); } && {
36397 test -z "$ac_cxx_werror_flag" ||
36398 test ! -s conftest.err
36399 } && test -s conftest.
$ac_objext; then
36400 wx_cv_func_statfs_decl
=yes
36402 echo "$as_me: failed program was:" >&5
36403 sed 's/^/| /' conftest.
$ac_ext >&5
36405 wx_cv_func_statfs_decl
=no
36409 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
36411 ac_cpp
='$CPP $CPPFLAGS'
36412 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36413 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36414 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
36418 { echo "$as_me:$LINENO: result: $wx_cv_func_statfs_decl" >&5
36419 echo "${ECHO_T}$wx_cv_func_statfs_decl" >&6; }
36421 if test "$wx_cv_func_statfs_decl" = "yes"; then
36422 cat >>confdefs.h
<<\_ACEOF
36423 #define HAVE_STATFS_DECL 1
36428 wx_cv_type_statvfs_t
="struct statfs"
36429 cat >>confdefs.h
<<\_ACEOF
36430 #define HAVE_STATFS 1
36434 { echo "$as_me:$LINENO: checking for statvfs" >&5
36435 echo $ECHO_N "checking for statvfs... $ECHO_C" >&6; }
36436 if test "${wx_cv_func_statvfs+set}" = set; then
36437 echo $ECHO_N "(cached) $ECHO_C" >&6
36439 cat >conftest.
$ac_ext <<_ACEOF
36442 cat confdefs.h
>>conftest.
$ac_ext
36443 cat >>conftest.
$ac_ext <<_ACEOF
36444 /* end confdefs.h. */
36446 #include <stddef.h>
36447 #include <sys/statvfs.h>
36453 statvfs("/", NULL);
36459 rm -f conftest.
$ac_objext
36460 if { (ac_try
="$ac_compile"
36461 case "(($ac_try" in
36462 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
36463 *) ac_try_echo=$ac_try;;
36465 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36466 (eval "$ac_compile") 2>conftest.er1
36468 grep -v '^ *+' conftest.er1 >conftest.err
36470 cat conftest.err >&5
36471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36472 (exit $ac_status); } && {
36473 test -z "$ac_c_werror_flag" ||
36474 test ! -s conftest.err
36475 } && test -s conftest.$ac_objext; then
36476 wx_cv_func_statvfs=yes
36478 echo "$as_me: failed program was:" >&5
36479 sed 's/^/| /' conftest.$ac_ext >&5
36481 wx_cv_func_statvfs=no
36485 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36488 { echo "$as_me:$LINENO: result: $wx_cv_func_statvfs" >&5
36489 echo "${ECHO_T}$wx_cv_func_statvfs" >&6; }
36491 if test "$wx_cv_func_statvfs" = "yes"; then
36492 { echo "$as_me:$LINENO: checking for statvfs argument type" >&5
36493 echo $ECHO_N "checking for statvfs argument type... $ECHO_C" >&6; }
36494 if test "${wx_cv_type_statvfs_t+set}" = set; then
36495 echo $ECHO_N "(cached) $ECHO_C" >&6
36498 ac_cpp='$CXXCPP $CPPFLAGS'
36499 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36500 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36501 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36503 cat >conftest.$ac_ext <<_ACEOF
36506 cat confdefs.h >>conftest.$ac_ext
36507 cat >>conftest.$ac_ext <<_ACEOF
36508 /* end confdefs.h. */
36510 #include <sys/statvfs.h>
36527 rm -f conftest.$ac_objext
36528 if { (ac_try="$ac_compile"
36529 case "(($ac_try" in
36530 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
36531 *) ac_try_echo
=$ac_try;;
36533 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36534 (eval "$ac_compile") 2>conftest.er1
36536 grep -v '^ *+' conftest.er1
>conftest.err
36538 cat conftest.err
>&5
36539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36540 (exit $ac_status); } && {
36541 test -z "$ac_cxx_werror_flag" ||
36542 test ! -s conftest.err
36543 } && test -s conftest.
$ac_objext; then
36544 wx_cv_type_statvfs_t
=statvfs_t
36546 echo "$as_me: failed program was:" >&5
36547 sed 's/^/| /' conftest.
$ac_ext >&5
36550 cat >conftest.
$ac_ext <<_ACEOF
36553 cat confdefs.h
>>conftest.
$ac_ext
36554 cat >>conftest.
$ac_ext <<_ACEOF
36555 /* end confdefs.h. */
36557 #include <sys/statvfs.h>
36574 rm -f conftest.
$ac_objext
36575 if { (ac_try
="$ac_compile"
36576 case "(($ac_try" in
36577 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
36578 *) ac_try_echo=$ac_try;;
36580 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36581 (eval "$ac_compile") 2>conftest.er1
36583 grep -v '^ *+' conftest.er1 >conftest.err
36585 cat conftest.err >&5
36586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36587 (exit $ac_status); } && {
36588 test -z "$ac_cxx_werror_flag" ||
36589 test ! -s conftest.err
36590 } && test -s conftest.$ac_objext; then
36591 wx_cv_type_statvfs_t="struct statvfs"
36593 echo "$as_me: failed program was:" >&5
36594 sed 's/^/| /' conftest.$ac_ext >&5
36596 wx_cv_type_statvfs_t="unknown"
36600 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36605 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36607 ac_cpp='$CPP $CPPFLAGS'
36608 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36609 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36610 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36614 { echo "$as_me:$LINENO: result: $wx_cv_type_statvfs_t" >&5
36615 echo "${ECHO_T}$wx_cv_type_statvfs_t" >&6; }
36617 if test "$wx_cv_type_statvfs_t" != "unknown"; then
36618 cat >>confdefs.h <<\_ACEOF
36619 #define HAVE_STATVFS 1
36624 wx_cv_type_statvfs_t="unknown"
36628 if test "$wx_cv_type_statvfs_t" != "unknown"; then
36629 cat >>confdefs.h <<_ACEOF
36630 #define WX_STATFS_T $wx_cv_type_statvfs_t
36634 { echo "$as_me:$LINENO: WARNING: wxGetDiskSpace() function won't work without statfs()" >&5
36635 echo "$as_me: WARNING: wxGetDiskSpace() function won't work without statfs()" >&2;}
36638 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
36641 for ac_func in fcntl flock
36643 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36644 { echo "$as_me:$LINENO: checking for $ac_func" >&5
36645 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
36646 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
36647 echo $ECHO_N "(cached) $ECHO_C" >&6
36649 cat >conftest.$ac_ext <<_ACEOF
36652 cat confdefs.h >>conftest.$ac_ext
36653 cat >>conftest.$ac_ext <<_ACEOF
36654 /* end confdefs.h. */
36655 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36656 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36657 #define $ac_func innocuous_$ac_func
36659 /* System header to define __stub macros and hopefully few prototypes,
36660 which can conflict with char $ac_func (); below.
36661 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36662 <limits.h> exists even on freestanding compilers. */
36665 # include <limits.h>
36667 # include <assert.h>
36672 /* Override any GCC internal prototype to avoid an error.
36673 Use char because int might match the return type of a GCC
36674 builtin and then its argument prototype would still apply. */
36679 /* The GNU C library defines this for functions which it implements
36680 to always fail with ENOSYS. Some functions are actually named
36681 something starting with __ and the normal name is an alias. */
36682 #if defined __stub_$ac_func || defined __stub___$ac_func
36689 return $ac_func ();
36694 rm -f conftest.$ac_objext conftest$ac_exeext
36695 if { (ac_try="$ac_link"
36696 case "(($ac_try" in
36697 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
36698 *) ac_try_echo
=$ac_try;;
36700 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36701 (eval "$ac_link") 2>conftest.er1
36703 grep -v '^ *+' conftest.er1
>conftest.err
36705 cat conftest.err
>&5
36706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36707 (exit $ac_status); } && {
36708 test -z "$ac_c_werror_flag" ||
36709 test ! -s conftest.err
36710 } && test -s conftest
$ac_exeext &&
36711 $as_test_x conftest
$ac_exeext; then
36712 eval "$as_ac_var=yes"
36714 echo "$as_me: failed program was:" >&5
36715 sed 's/^/| /' conftest.
$ac_ext >&5
36717 eval "$as_ac_var=no"
36720 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
36721 conftest
$ac_exeext conftest.
$ac_ext
36723 ac_res
=`eval echo '${'$as_ac_var'}'`
36724 { echo "$as_me:$LINENO: result: $ac_res" >&5
36725 echo "${ECHO_T}$ac_res" >&6; }
36726 if test `eval echo '${'$as_ac_var'}'` = yes; then
36727 cat >>confdefs.h
<<_ACEOF
36728 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36735 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
36736 { echo "$as_me:$LINENO: WARNING: wxSingleInstanceChecker not available" >&5
36737 echo "$as_me: WARNING: wxSingleInstanceChecker not available" >&2;}
36738 wxUSE_SNGLINST_CHECKER
=no
36744 for ac_func
in setenv putenv
36746 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36747 { echo "$as_me:$LINENO: checking for $ac_func" >&5
36748 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
36749 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
36750 echo $ECHO_N "(cached) $ECHO_C" >&6
36752 cat >conftest.
$ac_ext <<_ACEOF
36755 cat confdefs.h
>>conftest.
$ac_ext
36756 cat >>conftest.
$ac_ext <<_ACEOF
36757 /* end confdefs.h. */
36758 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36759 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36760 #define $ac_func innocuous_$ac_func
36762 /* System header to define __stub macros and hopefully few prototypes,
36763 which can conflict with char $ac_func (); below.
36764 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36765 <limits.h> exists even on freestanding compilers. */
36768 # include <limits.h>
36770 # include <assert.h>
36775 /* Override any GCC internal prototype to avoid an error.
36776 Use char because int might match the return type of a GCC
36777 builtin and then its argument prototype would still apply. */
36782 /* The GNU C library defines this for functions which it implements
36783 to always fail with ENOSYS. Some functions are actually named
36784 something starting with __ and the normal name is an alias. */
36785 #if defined __stub_$ac_func || defined __stub___$ac_func
36792 return $ac_func ();
36797 rm -f conftest.
$ac_objext conftest
$ac_exeext
36798 if { (ac_try
="$ac_link"
36799 case "(($ac_try" in
36800 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
36801 *) ac_try_echo=$ac_try;;
36803 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36804 (eval "$ac_link") 2>conftest.er1
36806 grep -v '^ *+' conftest.er1 >conftest.err
36808 cat conftest.err >&5
36809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36810 (exit $ac_status); } && {
36811 test -z "$ac_c_werror_flag" ||
36812 test ! -s conftest.err
36813 } && test -s conftest$ac_exeext &&
36814 $as_test_x conftest$ac_exeext; then
36815 eval "$as_ac_var=yes"
36817 echo "$as_me: failed program was:" >&5
36818 sed 's/^/| /' conftest.$ac_ext >&5
36820 eval "$as_ac_var=no"
36823 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36824 conftest$ac_exeext conftest.$ac_ext
36826 ac_res=`eval echo '${'$as_ac_var'}'`
36827 { echo "$as_me:$LINENO: result: $ac_res" >&5
36828 echo "${ECHO_T}$ac_res" >&6; }
36829 if test `eval echo '${'$as_ac_var'}'` = yes; then
36830 cat >>confdefs.h <<_ACEOF
36831 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36837 if test "$ac_cv_func_setenv" = "yes"; then
36839 for ac_func in unsetenv
36841 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36842 { echo "$as_me:$LINENO: checking for $ac_func" >&5
36843 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
36844 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
36845 echo $ECHO_N "(cached) $ECHO_C" >&6
36847 cat >conftest.$ac_ext <<_ACEOF
36850 cat confdefs.h >>conftest.$ac_ext
36851 cat >>conftest.$ac_ext <<_ACEOF
36852 /* end confdefs.h. */
36853 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36854 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36855 #define $ac_func innocuous_$ac_func
36857 /* System header to define __stub macros and hopefully few prototypes,
36858 which can conflict with char $ac_func (); below.
36859 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36860 <limits.h> exists even on freestanding compilers. */
36863 # include <limits.h>
36865 # include <assert.h>
36870 /* Override any GCC internal prototype to avoid an error.
36871 Use char because int might match the return type of a GCC
36872 builtin and then its argument prototype would still apply. */
36877 /* The GNU C library defines this for functions which it implements
36878 to always fail with ENOSYS. Some functions are actually named
36879 something starting with __ and the normal name is an alias. */
36880 #if defined __stub_$ac_func || defined __stub___$ac_func
36887 return $ac_func ();
36892 rm -f conftest.$ac_objext conftest$ac_exeext
36893 if { (ac_try="$ac_link"
36894 case "(($ac_try" in
36895 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
36896 *) ac_try_echo
=$ac_try;;
36898 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36899 (eval "$ac_link") 2>conftest.er1
36901 grep -v '^ *+' conftest.er1
>conftest.err
36903 cat conftest.err
>&5
36904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36905 (exit $ac_status); } && {
36906 test -z "$ac_c_werror_flag" ||
36907 test ! -s conftest.err
36908 } && test -s conftest
$ac_exeext &&
36909 $as_test_x conftest
$ac_exeext; then
36910 eval "$as_ac_var=yes"
36912 echo "$as_me: failed program was:" >&5
36913 sed 's/^/| /' conftest.
$ac_ext >&5
36915 eval "$as_ac_var=no"
36918 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
36919 conftest
$ac_exeext conftest.
$ac_ext
36921 ac_res
=`eval echo '${'$as_ac_var'}'`
36922 { echo "$as_me:$LINENO: result: $ac_res" >&5
36923 echo "${ECHO_T}$ac_res" >&6; }
36924 if test `eval echo '${'$as_ac_var'}'` = yes; then
36925 cat >>confdefs.h
<<_ACEOF
36926 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36934 HAVE_SOME_SLEEP_FUNC
=0
36935 if test "$USE_BEOS" = 1; then
36936 cat >>confdefs.h
<<\_ACEOF
36937 #define HAVE_SLEEP 1
36940 HAVE_SOME_SLEEP_FUNC
=1
36943 if test "$USE_DARWIN" = 1; then
36944 cat >>confdefs.h
<<\_ACEOF
36945 #define HAVE_USLEEP 1
36948 HAVE_SOME_SLEEP_FUNC
=1
36951 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
36954 for ac_func
in nanosleep
36956 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36957 { echo "$as_me:$LINENO: checking for $ac_func" >&5
36958 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
36959 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
36960 echo $ECHO_N "(cached) $ECHO_C" >&6
36962 cat >conftest.
$ac_ext <<_ACEOF
36965 cat confdefs.h
>>conftest.
$ac_ext
36966 cat >>conftest.
$ac_ext <<_ACEOF
36967 /* end confdefs.h. */
36968 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36969 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36970 #define $ac_func innocuous_$ac_func
36972 /* System header to define __stub macros and hopefully few prototypes,
36973 which can conflict with char $ac_func (); below.
36974 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36975 <limits.h> exists even on freestanding compilers. */
36978 # include <limits.h>
36980 # include <assert.h>
36985 /* Override any GCC internal prototype to avoid an error.
36986 Use char because int might match the return type of a GCC
36987 builtin and then its argument prototype would still apply. */
36992 /* The GNU C library defines this for functions which it implements
36993 to always fail with ENOSYS. Some functions are actually named
36994 something starting with __ and the normal name is an alias. */
36995 #if defined __stub_$ac_func || defined __stub___$ac_func
37002 return $ac_func ();
37007 rm -f conftest.
$ac_objext conftest
$ac_exeext
37008 if { (ac_try
="$ac_link"
37009 case "(($ac_try" in
37010 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
37011 *) ac_try_echo=$ac_try;;
37013 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37014 (eval "$ac_link") 2>conftest.er1
37016 grep -v '^ *+' conftest.er1 >conftest.err
37018 cat conftest.err >&5
37019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37020 (exit $ac_status); } && {
37021 test -z "$ac_c_werror_flag" ||
37022 test ! -s conftest.err
37023 } && test -s conftest$ac_exeext &&
37024 $as_test_x conftest$ac_exeext; then
37025 eval "$as_ac_var=yes"
37027 echo "$as_me: failed program was:" >&5
37028 sed 's/^/| /' conftest.$ac_ext >&5
37030 eval "$as_ac_var=no"
37033 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37034 conftest$ac_exeext conftest.$ac_ext
37036 ac_res=`eval echo '${'$as_ac_var'}'`
37037 { echo "$as_me:$LINENO: result: $ac_res" >&5
37038 echo "${ECHO_T}$ac_res" >&6; }
37039 if test `eval echo '${'$as_ac_var'}'` = yes; then
37040 cat >>confdefs.h <<_ACEOF
37041 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37043 cat >>confdefs.h <<\_ACEOF
37044 #define HAVE_NANOSLEEP 1
37049 { echo "$as_me:$LINENO: checking for nanosleep in -lposix4" >&5
37050 echo $ECHO_N "checking for nanosleep in -lposix4... $ECHO_C" >&6; }
37051 if test "${ac_cv_lib_posix4_nanosleep+set}" = set; then
37052 echo $ECHO_N "(cached) $ECHO_C" >&6
37054 ac_check_lib_save_LIBS=$LIBS
37055 LIBS="-lposix4 $LIBS"
37056 cat >conftest.$ac_ext <<_ACEOF
37059 cat confdefs.h >>conftest.$ac_ext
37060 cat >>conftest.$ac_ext <<_ACEOF
37061 /* end confdefs.h. */
37063 /* Override any GCC internal prototype to avoid an error.
37064 Use char because int might match the return type of a GCC
37065 builtin and then its argument prototype would still apply. */
37073 return nanosleep ();
37078 rm -f conftest.$ac_objext conftest$ac_exeext
37079 if { (ac_try="$ac_link"
37080 case "(($ac_try" in
37081 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
37082 *) ac_try_echo
=$ac_try;;
37084 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37085 (eval "$ac_link") 2>conftest.er1
37087 grep -v '^ *+' conftest.er1
>conftest.err
37089 cat conftest.err
>&5
37090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37091 (exit $ac_status); } && {
37092 test -z "$ac_c_werror_flag" ||
37093 test ! -s conftest.err
37094 } && test -s conftest
$ac_exeext &&
37095 $as_test_x conftest
$ac_exeext; then
37096 ac_cv_lib_posix4_nanosleep
=yes
37098 echo "$as_me: failed program was:" >&5
37099 sed 's/^/| /' conftest.
$ac_ext >&5
37101 ac_cv_lib_posix4_nanosleep
=no
37104 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
37105 conftest
$ac_exeext conftest.
$ac_ext
37106 LIBS
=$ac_check_lib_save_LIBS
37108 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_nanosleep" >&5
37109 echo "${ECHO_T}$ac_cv_lib_posix4_nanosleep" >&6; }
37110 if test $ac_cv_lib_posix4_nanosleep = yes; then
37112 cat >>confdefs.h
<<\_ACEOF
37113 #define HAVE_NANOSLEEP 1
37116 POSIX4_LINK
=" -lposix4"
37121 for wx_func
in usleep
37123 { echo "$as_me:$LINENO: checking for $wx_func" >&5
37124 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
37125 if { as_var
=wx_cv_func_
$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
37126 echo $ECHO_N "(cached) $ECHO_C" >&6
37129 cat >conftest.
$ac_ext <<_ACEOF
37133 cat confdefs.h
>>conftest.
$ac_ext
37134 cat >>conftest.
$ac_ext <<_ACEOF
37135 /* end confdefs.h. */
37138 $ac_includes_default
37154 rm -f conftest.
$ac_objext conftest
$ac_exeext
37155 if { (ac_try
="$ac_link"
37156 case "(($ac_try" in
37157 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
37158 *) ac_try_echo=$ac_try;;
37160 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37161 (eval "$ac_link") 2>conftest.er1
37163 grep -v '^ *+' conftest.er1 >conftest.err
37165 cat conftest.err >&5
37166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37167 (exit $ac_status); } && {
37168 test -z "$ac_c_werror_flag" ||
37169 test ! -s conftest.err
37170 } && test -s conftest$ac_exeext &&
37171 $as_test_x conftest$ac_exeext; then
37172 eval wx_cv_func_$wx_func=yes
37174 echo "$as_me: failed program was:" >&5
37175 sed 's/^/| /' conftest.$ac_ext >&5
37177 eval wx_cv_func_$wx_func=no
37180 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37181 conftest$ac_exeext conftest.$ac_ext
37184 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
37185 { echo "$as_me:$LINENO: result: $ac_res" >&5
37186 echo "${ECHO_T}$ac_res" >&6; }
37188 if eval test \$wx_cv_func_$wx_func = yes
37190 cat >>confdefs.h <<_ACEOF
37191 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
37197 { echo "$as_me:$LINENO: WARNING: wxSleep() function will not work" >&5
37198 echo "$as_me: WARNING: wxSleep() function will not work" >&2;}
37215 for wx_func in uname
37217 { echo "$as_me:$LINENO: checking for $wx_func" >&5
37218 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
37219 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
37220 echo $ECHO_N "(cached) $ECHO_C" >&6
37223 cat >conftest.$ac_ext <<_ACEOF
37227 cat confdefs.h >>conftest.$ac_ext
37228 cat >>conftest.$ac_ext <<_ACEOF
37229 /* end confdefs.h. */
37231 #include <sys/utsname.h>
37232 $ac_includes_default
37248 rm -f conftest.$ac_objext conftest$ac_exeext
37249 if { (ac_try="$ac_link"
37250 case "(($ac_try" in
37251 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
37252 *) ac_try_echo
=$ac_try;;
37254 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37255 (eval "$ac_link") 2>conftest.er1
37257 grep -v '^ *+' conftest.er1
>conftest.err
37259 cat conftest.err
>&5
37260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37261 (exit $ac_status); } && {
37262 test -z "$ac_c_werror_flag" ||
37263 test ! -s conftest.err
37264 } && test -s conftest
$ac_exeext &&
37265 $as_test_x conftest
$ac_exeext; then
37266 eval wx_cv_func_
$wx_func=yes
37268 echo "$as_me: failed program was:" >&5
37269 sed 's/^/| /' conftest.
$ac_ext >&5
37271 eval wx_cv_func_
$wx_func=no
37274 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
37275 conftest
$ac_exeext conftest.
$ac_ext
37278 ac_res
=`eval echo '${'wx_cv_func_$wx_func'}'`
37279 { echo "$as_me:$LINENO: result: $ac_res" >&5
37280 echo "${ECHO_T}$ac_res" >&6; }
37282 if eval test \
$wx_cv_func_$wx_func = yes
37284 cat >>confdefs.h
<<_ACEOF
37285 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
37295 if test "$wx_cv_func_uname" != yes; then
37297 for wx_func
in gethostname
37299 { echo "$as_me:$LINENO: checking for $wx_func" >&5
37300 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
37301 if { as_var
=wx_cv_func_
$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
37302 echo $ECHO_N "(cached) $ECHO_C" >&6
37305 cat >conftest.
$ac_ext <<_ACEOF
37309 cat confdefs.h
>>conftest.
$ac_ext
37310 cat >>conftest.
$ac_ext <<_ACEOF
37311 /* end confdefs.h. */
37314 $ac_includes_default
37330 rm -f conftest.
$ac_objext conftest
$ac_exeext
37331 if { (ac_try
="$ac_link"
37332 case "(($ac_try" in
37333 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
37334 *) ac_try_echo=$ac_try;;
37336 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37337 (eval "$ac_link") 2>conftest.er1
37339 grep -v '^ *+' conftest.er1 >conftest.err
37341 cat conftest.err >&5
37342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37343 (exit $ac_status); } && {
37344 test -z "$ac_c_werror_flag" ||
37345 test ! -s conftest.err
37346 } && test -s conftest$ac_exeext &&
37347 $as_test_x conftest$ac_exeext; then
37348 eval wx_cv_func_$wx_func=yes
37350 echo "$as_me: failed program was:" >&5
37351 sed 's/^/| /' conftest.$ac_ext >&5
37353 eval wx_cv_func_$wx_func=no
37356 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37357 conftest$ac_exeext conftest.$ac_ext
37360 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
37361 { echo "$as_me:$LINENO: result: $ac_res" >&5
37362 echo "${ECHO_T}$ac_res" >&6; }
37364 if eval test \$wx_cv_func_$wx_func = yes
37366 cat >>confdefs.h <<_ACEOF
37367 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
37380 for wx_func in strtok_r
37382 { echo "$as_me:$LINENO: checking for $wx_func" >&5
37383 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
37384 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
37385 echo $ECHO_N "(cached) $ECHO_C" >&6
37388 cat >conftest.$ac_ext <<_ACEOF
37392 cat confdefs.h >>conftest.$ac_ext
37393 cat >>conftest.$ac_ext <<_ACEOF
37394 /* end confdefs.h. */
37397 $ac_includes_default
37413 rm -f conftest.$ac_objext conftest$ac_exeext
37414 if { (ac_try="$ac_link"
37415 case "(($ac_try" in
37416 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
37417 *) ac_try_echo
=$ac_try;;
37419 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37420 (eval "$ac_link") 2>conftest.er1
37422 grep -v '^ *+' conftest.er1
>conftest.err
37424 cat conftest.err
>&5
37425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37426 (exit $ac_status); } && {
37427 test -z "$ac_c_werror_flag" ||
37428 test ! -s conftest.err
37429 } && test -s conftest
$ac_exeext &&
37430 $as_test_x conftest
$ac_exeext; then
37431 eval wx_cv_func_
$wx_func=yes
37433 echo "$as_me: failed program was:" >&5
37434 sed 's/^/| /' conftest.
$ac_ext >&5
37436 eval wx_cv_func_
$wx_func=no
37439 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
37440 conftest
$ac_exeext conftest.
$ac_ext
37443 ac_res
=`eval echo '${'wx_cv_func_$wx_func'}'`
37444 { echo "$as_me:$LINENO: result: $ac_res" >&5
37445 echo "${ECHO_T}$ac_res" >&6; }
37447 if eval test \
$wx_cv_func_$wx_func = yes
37449 cat >>confdefs.h
<<_ACEOF
37450 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
37463 for ac_func
in inet_addr
37465 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37466 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37467 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37468 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37469 echo $ECHO_N "(cached) $ECHO_C" >&6
37471 cat >conftest.
$ac_ext <<_ACEOF
37474 cat confdefs.h
>>conftest.
$ac_ext
37475 cat >>conftest.
$ac_ext <<_ACEOF
37476 /* end confdefs.h. */
37477 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37478 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37479 #define $ac_func innocuous_$ac_func
37481 /* System header to define __stub macros and hopefully few prototypes,
37482 which can conflict with char $ac_func (); below.
37483 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37484 <limits.h> exists even on freestanding compilers. */
37487 # include <limits.h>
37489 # include <assert.h>
37494 /* Override any GCC internal prototype to avoid an error.
37495 Use char because int might match the return type of a GCC
37496 builtin and then its argument prototype would still apply. */
37501 /* The GNU C library defines this for functions which it implements
37502 to always fail with ENOSYS. Some functions are actually named
37503 something starting with __ and the normal name is an alias. */
37504 #if defined __stub_$ac_func || defined __stub___$ac_func
37511 return $ac_func ();
37516 rm -f conftest.
$ac_objext conftest
$ac_exeext
37517 if { (ac_try
="$ac_link"
37518 case "(($ac_try" in
37519 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
37520 *) ac_try_echo=$ac_try;;
37522 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37523 (eval "$ac_link") 2>conftest.er1
37525 grep -v '^ *+' conftest.er1 >conftest.err
37527 cat conftest.err >&5
37528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37529 (exit $ac_status); } && {
37530 test -z "$ac_c_werror_flag" ||
37531 test ! -s conftest.err
37532 } && test -s conftest$ac_exeext &&
37533 $as_test_x conftest$ac_exeext; then
37534 eval "$as_ac_var=yes"
37536 echo "$as_me: failed program was:" >&5
37537 sed 's/^/| /' conftest.$ac_ext >&5
37539 eval "$as_ac_var=no"
37542 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37543 conftest$ac_exeext conftest.$ac_ext
37545 ac_res=`eval echo '${'$as_ac_var'}'`
37546 { echo "$as_me:$LINENO: result: $ac_res" >&5
37547 echo "${ECHO_T}$ac_res" >&6; }
37548 if test `eval echo '${'$as_ac_var'}'` = yes; then
37549 cat >>confdefs.h <<_ACEOF
37550 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37552 cat >>confdefs.h <<\_ACEOF
37553 #define HAVE_INET_ADDR 1
37558 { echo "$as_me:$LINENO: checking for inet_addr in -lnsl" >&5
37559 echo $ECHO_N "checking for inet_addr in -lnsl... $ECHO_C" >&6; }
37560 if test "${ac_cv_lib_nsl_inet_addr+set}" = set; then
37561 echo $ECHO_N "(cached) $ECHO_C" >&6
37563 ac_check_lib_save_LIBS=$LIBS
37565 cat >conftest.$ac_ext <<_ACEOF
37568 cat confdefs.h >>conftest.$ac_ext
37569 cat >>conftest.$ac_ext <<_ACEOF
37570 /* end confdefs.h. */
37572 /* Override any GCC internal prototype to avoid an error.
37573 Use char because int might match the return type of a GCC
37574 builtin and then its argument prototype would still apply. */
37582 return inet_addr ();
37587 rm -f conftest.$ac_objext conftest$ac_exeext
37588 if { (ac_try="$ac_link"
37589 case "(($ac_try" in
37590 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
37591 *) ac_try_echo
=$ac_try;;
37593 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37594 (eval "$ac_link") 2>conftest.er1
37596 grep -v '^ *+' conftest.er1
>conftest.err
37598 cat conftest.err
>&5
37599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37600 (exit $ac_status); } && {
37601 test -z "$ac_c_werror_flag" ||
37602 test ! -s conftest.err
37603 } && test -s conftest
$ac_exeext &&
37604 $as_test_x conftest
$ac_exeext; then
37605 ac_cv_lib_nsl_inet_addr
=yes
37607 echo "$as_me: failed program was:" >&5
37608 sed 's/^/| /' conftest.
$ac_ext >&5
37610 ac_cv_lib_nsl_inet_addr
=no
37613 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
37614 conftest
$ac_exeext conftest.
$ac_ext
37615 LIBS
=$ac_check_lib_save_LIBS
37617 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_inet_addr" >&5
37618 echo "${ECHO_T}$ac_cv_lib_nsl_inet_addr" >&6; }
37619 if test $ac_cv_lib_nsl_inet_addr = yes; then
37623 { echo "$as_me:$LINENO: checking for inet_addr in -lresolv" >&5
37624 echo $ECHO_N "checking for inet_addr in -lresolv... $ECHO_C" >&6; }
37625 if test "${ac_cv_lib_resolv_inet_addr+set}" = set; then
37626 echo $ECHO_N "(cached) $ECHO_C" >&6
37628 ac_check_lib_save_LIBS
=$LIBS
37629 LIBS
="-lresolv $LIBS"
37630 cat >conftest.
$ac_ext <<_ACEOF
37633 cat confdefs.h
>>conftest.
$ac_ext
37634 cat >>conftest.
$ac_ext <<_ACEOF
37635 /* end confdefs.h. */
37637 /* Override any GCC internal prototype to avoid an error.
37638 Use char because int might match the return type of a GCC
37639 builtin and then its argument prototype would still apply. */
37647 return inet_addr ();
37652 rm -f conftest.
$ac_objext conftest
$ac_exeext
37653 if { (ac_try
="$ac_link"
37654 case "(($ac_try" in
37655 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
37656 *) ac_try_echo=$ac_try;;
37658 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37659 (eval "$ac_link") 2>conftest.er1
37661 grep -v '^ *+' conftest.er1 >conftest.err
37663 cat conftest.err >&5
37664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37665 (exit $ac_status); } && {
37666 test -z "$ac_c_werror_flag" ||
37667 test ! -s conftest.err
37668 } && test -s conftest$ac_exeext &&
37669 $as_test_x conftest$ac_exeext; then
37670 ac_cv_lib_resolv_inet_addr=yes
37672 echo "$as_me: failed program was:" >&5
37673 sed 's/^/| /' conftest.$ac_ext >&5
37675 ac_cv_lib_resolv_inet_addr=no
37678 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37679 conftest$ac_exeext conftest.$ac_ext
37680 LIBS=$ac_check_lib_save_LIBS
37682 { echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_addr" >&5
37683 echo "${ECHO_T}$ac_cv_lib_resolv_inet_addr" >&6; }
37684 if test $ac_cv_lib_resolv_inet_addr = yes; then
37688 { echo "$as_me:$LINENO: checking for inet_addr in -lsocket" >&5
37689 echo $ECHO_N "checking for inet_addr in -lsocket... $ECHO_C" >&6; }
37690 if test "${ac_cv_lib_socket_inet_addr+set}" = set; then
37691 echo $ECHO_N "(cached) $ECHO_C" >&6
37693 ac_check_lib_save_LIBS=$LIBS
37694 LIBS="-lsocket $LIBS"
37695 cat >conftest.$ac_ext <<_ACEOF
37698 cat confdefs.h >>conftest.$ac_ext
37699 cat >>conftest.$ac_ext <<_ACEOF
37700 /* end confdefs.h. */
37702 /* Override any GCC internal prototype to avoid an error.
37703 Use char because int might match the return type of a GCC
37704 builtin and then its argument prototype would still apply. */
37712 return inet_addr ();
37717 rm -f conftest.$ac_objext conftest$ac_exeext
37718 if { (ac_try="$ac_link"
37719 case "(($ac_try" in
37720 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
37721 *) ac_try_echo
=$ac_try;;
37723 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37724 (eval "$ac_link") 2>conftest.er1
37726 grep -v '^ *+' conftest.er1
>conftest.err
37728 cat conftest.err
>&5
37729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37730 (exit $ac_status); } && {
37731 test -z "$ac_c_werror_flag" ||
37732 test ! -s conftest.err
37733 } && test -s conftest
$ac_exeext &&
37734 $as_test_x conftest
$ac_exeext; then
37735 ac_cv_lib_socket_inet_addr
=yes
37737 echo "$as_me: failed program was:" >&5
37738 sed 's/^/| /' conftest.
$ac_ext >&5
37740 ac_cv_lib_socket_inet_addr
=no
37743 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
37744 conftest
$ac_exeext conftest.
$ac_ext
37745 LIBS
=$ac_check_lib_save_LIBS
37747 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_inet_addr" >&5
37748 echo "${ECHO_T}$ac_cv_lib_socket_inet_addr" >&6; }
37749 if test $ac_cv_lib_socket_inet_addr = yes; then
37769 for ac_func
in inet_aton
37771 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37772 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37773 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37774 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37775 echo $ECHO_N "(cached) $ECHO_C" >&6
37777 cat >conftest.
$ac_ext <<_ACEOF
37780 cat confdefs.h
>>conftest.
$ac_ext
37781 cat >>conftest.
$ac_ext <<_ACEOF
37782 /* end confdefs.h. */
37783 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37784 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37785 #define $ac_func innocuous_$ac_func
37787 /* System header to define __stub macros and hopefully few prototypes,
37788 which can conflict with char $ac_func (); below.
37789 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37790 <limits.h> exists even on freestanding compilers. */
37793 # include <limits.h>
37795 # include <assert.h>
37800 /* Override any GCC internal prototype to avoid an error.
37801 Use char because int might match the return type of a GCC
37802 builtin and then its argument prototype would still apply. */
37807 /* The GNU C library defines this for functions which it implements
37808 to always fail with ENOSYS. Some functions are actually named
37809 something starting with __ and the normal name is an alias. */
37810 #if defined __stub_$ac_func || defined __stub___$ac_func
37817 return $ac_func ();
37822 rm -f conftest.
$ac_objext conftest
$ac_exeext
37823 if { (ac_try
="$ac_link"
37824 case "(($ac_try" in
37825 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
37826 *) ac_try_echo=$ac_try;;
37828 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37829 (eval "$ac_link") 2>conftest.er1
37831 grep -v '^ *+' conftest.er1 >conftest.err
37833 cat conftest.err >&5
37834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37835 (exit $ac_status); } && {
37836 test -z "$ac_c_werror_flag" ||
37837 test ! -s conftest.err
37838 } && test -s conftest$ac_exeext &&
37839 $as_test_x conftest$ac_exeext; then
37840 eval "$as_ac_var=yes"
37842 echo "$as_me: failed program was:" >&5
37843 sed 's/^/| /' conftest.$ac_ext >&5
37845 eval "$as_ac_var=no"
37848 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37849 conftest$ac_exeext conftest.$ac_ext
37851 ac_res=`eval echo '${'$as_ac_var'}'`
37852 { echo "$as_me:$LINENO: result: $ac_res" >&5
37853 echo "${ECHO_T}$ac_res" >&6; }
37854 if test `eval echo '${'$as_ac_var'}'` = yes; then
37855 cat >>confdefs.h <<_ACEOF
37856 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37858 cat >>confdefs.h <<\_ACEOF
37859 #define HAVE_INET_ATON 1
37864 as_ac_Lib=`echo "ac_cv_lib_$INET_LINK''_inet_aton" | $as_tr_sh`
37865 { echo "$as_me:$LINENO: checking for inet_aton in -l$INET_LINK" >&5
37866 echo $ECHO_N "checking for inet_aton in -l$INET_LINK... $ECHO_C" >&6; }
37867 if { as_var=$as_ac_Lib; eval "test \"\${$as_var+set}\" = set"; }; then
37868 echo $ECHO_N "(cached) $ECHO_C" >&6
37870 ac_check_lib_save_LIBS=$LIBS
37871 LIBS="-l$INET_LINK $LIBS"
37872 cat >conftest.$ac_ext <<_ACEOF
37875 cat confdefs.h >>conftest.$ac_ext
37876 cat >>conftest.$ac_ext <<_ACEOF
37877 /* end confdefs.h. */
37879 /* Override any GCC internal prototype to avoid an error.
37880 Use char because int might match the return type of a GCC
37881 builtin and then its argument prototype would still apply. */
37889 return inet_aton ();
37894 rm -f conftest.$ac_objext conftest$ac_exeext
37895 if { (ac_try="$ac_link"
37896 case "(($ac_try" in
37897 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
37898 *) ac_try_echo
=$ac_try;;
37900 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37901 (eval "$ac_link") 2>conftest.er1
37903 grep -v '^ *+' conftest.er1
>conftest.err
37905 cat conftest.err
>&5
37906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37907 (exit $ac_status); } && {
37908 test -z "$ac_c_werror_flag" ||
37909 test ! -s conftest.err
37910 } && test -s conftest
$ac_exeext &&
37911 $as_test_x conftest
$ac_exeext; then
37912 eval "$as_ac_Lib=yes"
37914 echo "$as_me: failed program was:" >&5
37915 sed 's/^/| /' conftest.
$ac_ext >&5
37917 eval "$as_ac_Lib=no"
37920 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
37921 conftest
$ac_exeext conftest.
$ac_ext
37922 LIBS
=$ac_check_lib_save_LIBS
37924 ac_res
=`eval echo '${'$as_ac_Lib'}'`
37925 { echo "$as_me:$LINENO: result: $ac_res" >&5
37926 echo "${ECHO_T}$ac_res" >&6; }
37927 if test `eval echo '${'$as_ac_Lib'}'` = yes; then
37928 cat >>confdefs.h
<<\_ACEOF
37929 #define HAVE_INET_ATON 1
37939 if test "x$INET_LINK" != "x"; then
37940 cat >>confdefs.h
<<\_ACEOF
37941 #define HAVE_INET_ADDR 1
37944 INET_LINK
=" -l$INET_LINK"
37948 for wx_func
in fdopen
37950 { echo "$as_me:$LINENO: checking for $wx_func" >&5
37951 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
37952 if { as_var
=wx_cv_func_
$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
37953 echo $ECHO_N "(cached) $ECHO_C" >&6
37956 cat >conftest.
$ac_ext <<_ACEOF
37960 cat confdefs.h
>>conftest.
$ac_ext
37961 cat >>conftest.
$ac_ext <<_ACEOF
37962 /* end confdefs.h. */
37965 $ac_includes_default
37981 rm -f conftest.
$ac_objext conftest
$ac_exeext
37982 if { (ac_try
="$ac_link"
37983 case "(($ac_try" in
37984 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
37985 *) ac_try_echo=$ac_try;;
37987 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37988 (eval "$ac_link") 2>conftest.er1
37990 grep -v '^ *+' conftest.er1 >conftest.err
37992 cat conftest.err >&5
37993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37994 (exit $ac_status); } && {
37995 test -z "$ac_c_werror_flag" ||
37996 test ! -s conftest.err
37997 } && test -s conftest$ac_exeext &&
37998 $as_test_x conftest$ac_exeext; then
37999 eval wx_cv_func_$wx_func=yes
38001 echo "$as_me: failed program was:" >&5
38002 sed 's/^/| /' conftest.$ac_ext >&5
38004 eval wx_cv_func_$wx_func=no
38007 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38008 conftest$ac_exeext conftest.$ac_ext
38011 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
38012 { echo "$as_me:$LINENO: result: $ac_res" >&5
38013 echo "${ECHO_T}$ac_res" >&6; }
38015 if eval test \$wx_cv_func_$wx_func = yes
38017 cat >>confdefs.h <<_ACEOF
38018 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
38029 if test "$wxUSE_TARSTREAM" = "yes"; then
38031 for wx_func in sysconf
38033 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38034 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38035 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38036 echo $ECHO_N "(cached) $ECHO_C" >&6
38039 cat >conftest.$ac_ext <<_ACEOF
38043 cat confdefs.h >>conftest.$ac_ext
38044 cat >>conftest.$ac_ext <<_ACEOF
38045 /* end confdefs.h. */
38048 $ac_includes_default
38064 rm -f conftest.$ac_objext conftest$ac_exeext
38065 if { (ac_try="$ac_link"
38066 case "(($ac_try" in
38067 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
38068 *) ac_try_echo
=$ac_try;;
38070 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38071 (eval "$ac_link") 2>conftest.er1
38073 grep -v '^ *+' conftest.er1
>conftest.err
38075 cat conftest.err
>&5
38076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38077 (exit $ac_status); } && {
38078 test -z "$ac_c_werror_flag" ||
38079 test ! -s conftest.err
38080 } && test -s conftest
$ac_exeext &&
38081 $as_test_x conftest
$ac_exeext; then
38082 eval wx_cv_func_
$wx_func=yes
38084 echo "$as_me: failed program was:" >&5
38085 sed 's/^/| /' conftest.
$ac_ext >&5
38087 eval wx_cv_func_
$wx_func=no
38090 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
38091 conftest
$ac_exeext conftest.
$ac_ext
38094 ac_res
=`eval echo '${'wx_cv_func_$wx_func'}'`
38095 { echo "$as_me:$LINENO: result: $ac_res" >&5
38096 echo "${ECHO_T}$ac_res" >&6; }
38098 if eval test \
$wx_cv_func_$wx_func = yes
38100 cat >>confdefs.h
<<_ACEOF
38101 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
38113 for wx_func
in getpwuid_r
38115 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38116 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38117 if { as_var
=wx_cv_func_
$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38118 echo $ECHO_N "(cached) $ECHO_C" >&6
38121 cat >conftest.
$ac_ext <<_ACEOF
38125 cat confdefs.h
>>conftest.
$ac_ext
38126 cat >>conftest.
$ac_ext <<_ACEOF
38127 /* end confdefs.h. */
38133 $ac_includes_default
38143 struct passwd pw, *ppw;
38145 getpwuid_r(0, &pw, buf, sizeof(buf), &ppw)
38153 rm -f conftest.
$ac_objext conftest
$ac_exeext
38154 if { (ac_try
="$ac_link"
38155 case "(($ac_try" in
38156 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
38157 *) ac_try_echo=$ac_try;;
38159 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38160 (eval "$ac_link") 2>conftest.er1
38162 grep -v '^ *+' conftest.er1 >conftest.err
38164 cat conftest.err >&5
38165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38166 (exit $ac_status); } && {
38167 test -z "$ac_c_werror_flag" ||
38168 test ! -s conftest.err
38169 } && test -s conftest$ac_exeext &&
38170 $as_test_x conftest$ac_exeext; then
38171 eval wx_cv_func_$wx_func=yes
38173 echo "$as_me: failed program was:" >&5
38174 sed 's/^/| /' conftest.$ac_ext >&5
38176 eval wx_cv_func_$wx_func=no
38179 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38180 conftest$ac_exeext conftest.$ac_ext
38183 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
38184 { echo "$as_me:$LINENO: result: $ac_res" >&5
38185 echo "${ECHO_T}$ac_res" >&6; }
38187 if eval test \$wx_cv_func_$wx_func = yes
38189 cat >>confdefs.h <<_ACEOF
38190 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
38202 for wx_func in getgrgid_r
38204 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38205 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38206 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38207 echo $ECHO_N "(cached) $ECHO_C" >&6
38210 cat >conftest.$ac_ext <<_ACEOF
38214 cat confdefs.h >>conftest.$ac_ext
38215 cat >>conftest.$ac_ext <<_ACEOF
38216 /* end confdefs.h. */
38222 $ac_includes_default
38232 struct group grp, *pgrp;
38234 getgrgid_r(0, &grp, buf, sizeof(buf), &pgrp)
38242 rm -f conftest.$ac_objext conftest$ac_exeext
38243 if { (ac_try="$ac_link"
38244 case "(($ac_try" in
38245 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
38246 *) ac_try_echo
=$ac_try;;
38248 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38249 (eval "$ac_link") 2>conftest.er1
38251 grep -v '^ *+' conftest.er1
>conftest.err
38253 cat conftest.err
>&5
38254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38255 (exit $ac_status); } && {
38256 test -z "$ac_c_werror_flag" ||
38257 test ! -s conftest.err
38258 } && test -s conftest
$ac_exeext &&
38259 $as_test_x conftest
$ac_exeext; then
38260 eval wx_cv_func_
$wx_func=yes
38262 echo "$as_me: failed program was:" >&5
38263 sed 's/^/| /' conftest.
$ac_ext >&5
38265 eval wx_cv_func_
$wx_func=no
38268 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
38269 conftest
$ac_exeext conftest.
$ac_ext
38272 ac_res
=`eval echo '${'wx_cv_func_$wx_func'}'`
38273 { echo "$as_me:$LINENO: result: $ac_res" >&5
38274 echo "${ECHO_T}$ac_res" >&6; }
38276 if eval test \
$wx_cv_func_$wx_func = yes
38278 cat >>confdefs.h
<<_ACEOF
38279 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
38295 cat >confcache
<<\_ACEOF
38296 # This file is a shell script that caches the results of configure
38297 # tests run on this system so they can be shared between configure
38298 # scripts and configure runs, see configure's option --config-cache.
38299 # It is not useful on other systems. If it contains results you don't
38300 # want to keep, you may remove or edit it.
38302 # config.status only pays attention to the cache file if you give it
38303 # the --recheck option to rerun configure.
38305 # `ac_cv_env_foo' variables (set or unset) will be overridden when
38306 # loading this file, other *unset* `ac_cv_foo' will be assigned the
38307 # following values.
38311 # The following way of writing the cache mishandles newlines in values,
38312 # but we know of no workaround that is simple, portable, and efficient.
38313 # So, we kill variables containing newlines.
38314 # Ultrix sh set writes to stderr and can't be redirected directly,
38315 # and sets the high bit in the cache file unless we assign to the vars.
38317 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
38318 eval ac_val
=\$
$ac_var
38322 *_cv_
*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
38323 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
38326 _
| IFS
| as_nl
) ;; #(
38327 *) $as_unset $ac_var ;;
38333 case $as_nl`(ac_space=' '; set) 2>&1` in #(
38334 *${as_nl}ac_space
=\
*)
38335 # `set' does not quote correctly, so add quotes (double-quote
38336 # substitution turns \\\\ into \\, and sed turns \\ into \).
38339 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
38342 # `set' quotes correctly as required by POSIX, so do not add quotes.
38343 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
38352 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
38354 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
38356 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
38357 if test -w "$cache_file"; then
38358 test "x$cache_file" != "x/dev/null" &&
38359 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
38360 echo "$as_me: updating cache $cache_file" >&6;}
38361 cat confcache
>$cache_file
38363 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
38364 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
38370 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
38376 if test "$wxUSE_THREADS" = "yes" ; then
38377 if test "$USE_BEOS" = 1; then
38378 { echo "$as_me:$LINENO: WARNING: BeOS threads are not yet supported... disabled" >&5
38379 echo "$as_me: WARNING: BeOS threads are not yet supported... disabled" >&2;}
38384 if test "$wxUSE_THREADS" = "yes" ; then
38387 THREAD_OPTS
="-pthread"
38388 if test "x$SUNCXX" = xyes
; then
38389 THREAD_OPTS
="-mt lthread $THREAD_OPTS"
38393 *-*-solaris2* | *-*-sunos4* )
38394 if test "x$GCC" = "xyes"; then
38395 THREAD_OPTS
="-pthreads $THREAD_OPTS"
38399 THREAD_OPTS
="-kthread lthread $THREAD_OPTS c_r"
38401 *-*-darwin* | *-*-cygwin* )
38405 THREAD_OPTS
="pthreads"
38408 if test "x$GCC" = "xyes"; then
38409 $CXX -dumpspecs | grep 'pthread:' >/dev
/null
||
38417 if test "x$GCC" = "xyes"; then
38423 if test "x$GCC" != "xyes"; then
38424 THREAD_OPTS
="-Ethread"
38429 THREAD_OPTS
="$THREAD_OPTS pthread none"
38432 for flag
in $THREAD_OPTS; do
38435 { echo "$as_me:$LINENO: checking whether pthreads work without any flags" >&5
38436 echo $ECHO_N "checking whether pthreads work without any flags... $ECHO_C" >&6; }
38440 { echo "$as_me:$LINENO: checking whether pthreads work with $flag" >&5
38441 echo $ECHO_N "checking whether pthreads work with $flag... $ECHO_C" >&6; }
38442 THREADS_CFLAGS
="$flag"
38446 { echo "$as_me:$LINENO: checking for the pthreads library -l$flag" >&5
38447 echo $ECHO_N "checking for the pthreads library -l$flag... $ECHO_C" >&6; }
38448 THREADS_LINK
="-l$flag"
38453 save_CFLAGS
="$CFLAGS"
38454 LIBS
="$THREADS_LINK $LIBS"
38455 CFLAGS
="$THREADS_CFLAGS $CFLAGS"
38457 cat >conftest.
$ac_ext <<_ACEOF
38460 cat confdefs.h
>>conftest.
$ac_ext
38461 cat >>conftest.
$ac_ext <<_ACEOF
38462 /* end confdefs.h. */
38463 #include <pthread.h>
38467 pthread_create(0,0,0,0);
38472 rm -f conftest.
$ac_objext conftest
$ac_exeext
38473 if { (ac_try
="$ac_link"
38474 case "(($ac_try" in
38475 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
38476 *) ac_try_echo=$ac_try;;
38478 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38479 (eval "$ac_link") 2>conftest.er1
38481 grep -v '^ *+' conftest.er1 >conftest.err
38483 cat conftest.err >&5
38484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38485 (exit $ac_status); } && {
38486 test -z "$ac_c_werror_flag" ||
38487 test ! -s conftest.err
38488 } && test -s conftest$ac_exeext &&
38489 $as_test_x conftest$ac_exeext; then
38492 echo "$as_me: failed program was:" >&5
38493 sed 's/^/| /' conftest.$ac_ext >&5
38498 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38499 conftest$ac_exeext conftest.$ac_ext
38502 CFLAGS="$save_CFLAGS"
38504 { echo "$as_me:$LINENO: result: $THREADS_OK" >&5
38505 echo "${ECHO_T}$THREADS_OK" >&6; }
38506 if test "x$THREADS_OK" = "xyes"; then
38514 if test "x$THREADS_OK" != "xyes"; then
38516 { echo "$as_me:$LINENO: WARNING: No thread support on this system... disabled" >&5
38517 echo "$as_me: WARNING: No thread support on this system... disabled" >&2;}
38519 LDFLAGS="$THREADS_CFLAGS $LDFLAGS"
38520 LIBS="$THREADS_LINK $LIBS"
38522 { echo "$as_me:$LINENO: checking if more special flags are required for pthreads" >&5
38523 echo $ECHO_N "checking if more special flags are required for pthreads... $ECHO_C" >&6; }
38527 LDFLAGS="-L/usr/lib/threads $LDFLAGS"
38528 flag="-D_THREAD_SAFE"
38531 flag="-D_THREAD_SAFE"
38534 flag="-D_REENTRANT"
38535 if test "x$GCC" != "xyes"; then
38536 flag="$flag -D_RWSTD_MULTI_THREAD"
38539 *solaris* | alpha*-osf*)
38540 flag="-D_REENTRANT"
38543 { echo "$as_me:$LINENO: result: ${flag}" >&5
38544 echo "${ECHO_T}${flag}" >&6; }
38545 if test "x$flag" != xno; then
38546 THREADS_CFLAGS="$THREADS_CFLAGS $flag"
38549 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS $THREADS_CFLAGS"
38553 if test "$wxUSE_THREADS" = "yes" ; then
38555 for ac_func in thr_setconcurrency
38557 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38558 { echo "$as_me:$LINENO: checking for $ac_func" >&5
38559 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
38560 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
38561 echo $ECHO_N "(cached) $ECHO_C" >&6
38563 cat >conftest.$ac_ext <<_ACEOF
38566 cat confdefs.h >>conftest.$ac_ext
38567 cat >>conftest.$ac_ext <<_ACEOF
38568 /* end confdefs.h. */
38569 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38570 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38571 #define $ac_func innocuous_$ac_func
38573 /* System header to define __stub macros and hopefully few prototypes,
38574 which can conflict with char $ac_func (); below.
38575 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38576 <limits.h> exists even on freestanding compilers. */
38579 # include <limits.h>
38581 # include <assert.h>
38586 /* Override any GCC internal prototype to avoid an error.
38587 Use char because int might match the return type of a GCC
38588 builtin and then its argument prototype would still apply. */
38593 /* The GNU C library defines this for functions which it implements
38594 to always fail with ENOSYS. Some functions are actually named
38595 something starting with __ and the normal name is an alias. */
38596 #if defined __stub_$ac_func || defined __stub___$ac_func
38603 return $ac_func ();
38608 rm -f conftest.$ac_objext conftest$ac_exeext
38609 if { (ac_try="$ac_link"
38610 case "(($ac_try" in
38611 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
38612 *) ac_try_echo
=$ac_try;;
38614 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38615 (eval "$ac_link") 2>conftest.er1
38617 grep -v '^ *+' conftest.er1
>conftest.err
38619 cat conftest.err
>&5
38620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38621 (exit $ac_status); } && {
38622 test -z "$ac_c_werror_flag" ||
38623 test ! -s conftest.err
38624 } && test -s conftest
$ac_exeext &&
38625 $as_test_x conftest
$ac_exeext; then
38626 eval "$as_ac_var=yes"
38628 echo "$as_me: failed program was:" >&5
38629 sed 's/^/| /' conftest.
$ac_ext >&5
38631 eval "$as_ac_var=no"
38634 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
38635 conftest
$ac_exeext conftest.
$ac_ext
38637 ac_res
=`eval echo '${'$as_ac_var'}'`
38638 { echo "$as_me:$LINENO: result: $ac_res" >&5
38639 echo "${ECHO_T}$ac_res" >&6; }
38640 if test `eval echo '${'$as_ac_var'}'` = yes; then
38641 cat >>confdefs.h
<<_ACEOF
38642 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38649 { echo "$as_me:$LINENO: checking for pthread_cleanup_push/pop" >&5
38650 echo $ECHO_N "checking for pthread_cleanup_push/pop... $ECHO_C" >&6; }
38651 if test "${wx_cv_func_pthread_cleanup+set}" = set; then
38652 echo $ECHO_N "(cached) $ECHO_C" >&6
38656 ac_cpp
='$CXXCPP $CPPFLAGS'
38657 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38658 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38659 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
38661 cat >conftest.
$ac_ext <<_ACEOF
38664 cat confdefs.h
>>conftest.
$ac_ext
38665 cat >>conftest.
$ac_ext <<_ACEOF
38666 /* end confdefs.h. */
38667 #include <pthread.h>
38668 void ThreadCleanupFunc(void *p);
38675 pthread_cleanup_push(ThreadCleanupFunc, p);
38676 pthread_cleanup_pop(0);
38682 rm -f conftest.
$ac_objext
38683 if { (ac_try
="$ac_compile"
38684 case "(($ac_try" in
38685 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
38686 *) ac_try_echo=$ac_try;;
38688 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38689 (eval "$ac_compile") 2>conftest.er1
38691 grep -v '^ *+' conftest.er1 >conftest.err
38693 cat conftest.err >&5
38694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38695 (exit $ac_status); } && {
38696 test -z "$ac_cxx_werror_flag" ||
38697 test ! -s conftest.err
38698 } && test -s conftest.$ac_objext; then
38700 wx_cv_func_pthread_cleanup=yes
38703 echo "$as_me: failed program was:" >&5
38704 sed 's/^/| /' conftest.$ac_ext >&5
38707 wx_cv_func_pthread_cleanup=no
38712 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38714 ac_cpp='$CPP $CPPFLAGS'
38715 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38716 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38717 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38721 { echo "$as_me:$LINENO: result: $wx_cv_func_pthread_cleanup" >&5
38722 echo "${ECHO_T}$wx_cv_func_pthread_cleanup" >&6; }
38723 if test "x$wx_cv_func_pthread_cleanup" = "xyes"; then
38724 cat >>confdefs.h <<\_ACEOF
38725 #define wxHAVE_PTHREAD_CLEANUP 1
38731 for ac_header in sched.h
38733 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
38734 { echo "$as_me:$LINENO: checking for $ac_header" >&5
38735 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
38736 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
38737 echo $ECHO_N "(cached) $ECHO_C" >&6
38739 cat >conftest.$ac_ext <<_ACEOF
38742 cat confdefs.h >>conftest.$ac_ext
38743 cat >>conftest.$ac_ext <<_ACEOF
38744 /* end confdefs.h. */
38745 $ac_includes_default
38747 #include <$ac_header>
38749 rm -f conftest.$ac_objext
38750 if { (ac_try="$ac_compile"
38751 case "(($ac_try" in
38752 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
38753 *) ac_try_echo
=$ac_try;;
38755 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38756 (eval "$ac_compile") 2>conftest.er1
38758 grep -v '^ *+' conftest.er1
>conftest.err
38760 cat conftest.err
>&5
38761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38762 (exit $ac_status); } && {
38763 test -z "$ac_c_werror_flag" ||
38764 test ! -s conftest.err
38765 } && test -s conftest.
$ac_objext; then
38766 eval "$as_ac_Header=yes"
38768 echo "$as_me: failed program was:" >&5
38769 sed 's/^/| /' conftest.
$ac_ext >&5
38771 eval "$as_ac_Header=no"
38774 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
38776 ac_res
=`eval echo '${'$as_ac_Header'}'`
38777 { echo "$as_me:$LINENO: result: $ac_res" >&5
38778 echo "${ECHO_T}$ac_res" >&6; }
38779 if test `eval echo '${'$as_ac_Header'}'` = yes; then
38780 cat >>confdefs.h
<<_ACEOF
38781 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
38788 if test "$ac_cv_header_sched_h" = "yes"; then
38789 { echo "$as_me:$LINENO: checking for sched_yield" >&5
38790 echo $ECHO_N "checking for sched_yield... $ECHO_C" >&6; }
38791 if test "${ac_cv_func_sched_yield+set}" = set; then
38792 echo $ECHO_N "(cached) $ECHO_C" >&6
38794 cat >conftest.
$ac_ext <<_ACEOF
38797 cat confdefs.h
>>conftest.
$ac_ext
38798 cat >>conftest.
$ac_ext <<_ACEOF
38799 /* end confdefs.h. */
38800 /* Define sched_yield to an innocuous variant, in case <limits.h> declares sched_yield.
38801 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38802 #define sched_yield innocuous_sched_yield
38804 /* System header to define __stub macros and hopefully few prototypes,
38805 which can conflict with char sched_yield (); below.
38806 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38807 <limits.h> exists even on freestanding compilers. */
38810 # include <limits.h>
38812 # include <assert.h>
38817 /* Override any GCC internal prototype to avoid an error.
38818 Use char because int might match the return type of a GCC
38819 builtin and then its argument prototype would still apply. */
38823 char sched_yield ();
38824 /* The GNU C library defines this for functions which it implements
38825 to always fail with ENOSYS. Some functions are actually named
38826 something starting with __ and the normal name is an alias. */
38827 #if defined __stub_sched_yield || defined __stub___sched_yield
38834 return sched_yield ();
38839 rm -f conftest.
$ac_objext conftest
$ac_exeext
38840 if { (ac_try
="$ac_link"
38841 case "(($ac_try" in
38842 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
38843 *) ac_try_echo=$ac_try;;
38845 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38846 (eval "$ac_link") 2>conftest.er1
38848 grep -v '^ *+' conftest.er1 >conftest.err
38850 cat conftest.err >&5
38851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38852 (exit $ac_status); } && {
38853 test -z "$ac_c_werror_flag" ||
38854 test ! -s conftest.err
38855 } && test -s conftest$ac_exeext &&
38856 $as_test_x conftest$ac_exeext; then
38857 ac_cv_func_sched_yield=yes
38859 echo "$as_me: failed program was:" >&5
38860 sed 's/^/| /' conftest.$ac_ext >&5
38862 ac_cv_func_sched_yield=no
38865 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38866 conftest$ac_exeext conftest.$ac_ext
38868 { echo "$as_me:$LINENO: result: $ac_cv_func_sched_yield" >&5
38869 echo "${ECHO_T}$ac_cv_func_sched_yield" >&6; }
38870 if test $ac_cv_func_sched_yield = yes; then
38871 cat >>confdefs.h <<\_ACEOF
38872 #define HAVE_SCHED_YIELD 1
38877 { echo "$as_me:$LINENO: checking for sched_yield in -lposix4" >&5
38878 echo $ECHO_N "checking for sched_yield in -lposix4... $ECHO_C" >&6; }
38879 if test "${ac_cv_lib_posix4_sched_yield+set}" = set; then
38880 echo $ECHO_N "(cached) $ECHO_C" >&6
38882 ac_check_lib_save_LIBS=$LIBS
38883 LIBS="-lposix4 $LIBS"
38884 cat >conftest.$ac_ext <<_ACEOF
38887 cat confdefs.h >>conftest.$ac_ext
38888 cat >>conftest.$ac_ext <<_ACEOF
38889 /* end confdefs.h. */
38891 /* Override any GCC internal prototype to avoid an error.
38892 Use char because int might match the return type of a GCC
38893 builtin and then its argument prototype would still apply. */
38897 char sched_yield ();
38901 return sched_yield ();
38906 rm -f conftest.$ac_objext conftest$ac_exeext
38907 if { (ac_try="$ac_link"
38908 case "(($ac_try" in
38909 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
38910 *) ac_try_echo
=$ac_try;;
38912 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38913 (eval "$ac_link") 2>conftest.er1
38915 grep -v '^ *+' conftest.er1
>conftest.err
38917 cat conftest.err
>&5
38918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38919 (exit $ac_status); } && {
38920 test -z "$ac_c_werror_flag" ||
38921 test ! -s conftest.err
38922 } && test -s conftest
$ac_exeext &&
38923 $as_test_x conftest
$ac_exeext; then
38924 ac_cv_lib_posix4_sched_yield
=yes
38926 echo "$as_me: failed program was:" >&5
38927 sed 's/^/| /' conftest.
$ac_ext >&5
38929 ac_cv_lib_posix4_sched_yield
=no
38932 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
38933 conftest
$ac_exeext conftest.
$ac_ext
38934 LIBS
=$ac_check_lib_save_LIBS
38936 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_yield" >&5
38937 echo "${ECHO_T}$ac_cv_lib_posix4_sched_yield" >&6; }
38938 if test $ac_cv_lib_posix4_sched_yield = yes; then
38939 cat >>confdefs.h
<<\_ACEOF
38940 #define HAVE_SCHED_YIELD 1
38942 POSIX4_LINK
=" -lposix4"
38944 { echo "$as_me:$LINENO: WARNING: wxThread::Yield will not work properly" >&5
38945 echo "$as_me: WARNING: wxThread::Yield will not work properly" >&2;}
38956 { echo "$as_me:$LINENO: checking for pthread_attr_getschedpolicy" >&5
38957 echo $ECHO_N "checking for pthread_attr_getschedpolicy... $ECHO_C" >&6; }
38958 if test "${ac_cv_func_pthread_attr_getschedpolicy+set}" = set; then
38959 echo $ECHO_N "(cached) $ECHO_C" >&6
38961 cat >conftest.
$ac_ext <<_ACEOF
38964 cat confdefs.h
>>conftest.
$ac_ext
38965 cat >>conftest.
$ac_ext <<_ACEOF
38966 /* end confdefs.h. */
38967 /* Define pthread_attr_getschedpolicy to an innocuous variant, in case <limits.h> declares pthread_attr_getschedpolicy.
38968 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38969 #define pthread_attr_getschedpolicy innocuous_pthread_attr_getschedpolicy
38971 /* System header to define __stub macros and hopefully few prototypes,
38972 which can conflict with char pthread_attr_getschedpolicy (); below.
38973 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38974 <limits.h> exists even on freestanding compilers. */
38977 # include <limits.h>
38979 # include <assert.h>
38982 #undef pthread_attr_getschedpolicy
38984 /* Override any GCC internal prototype to avoid an error.
38985 Use char because int might match the return type of a GCC
38986 builtin and then its argument prototype would still apply. */
38990 char pthread_attr_getschedpolicy ();
38991 /* The GNU C library defines this for functions which it implements
38992 to always fail with ENOSYS. Some functions are actually named
38993 something starting with __ and the normal name is an alias. */
38994 #if defined __stub_pthread_attr_getschedpolicy || defined __stub___pthread_attr_getschedpolicy
39001 return pthread_attr_getschedpolicy ();
39006 rm -f conftest.
$ac_objext conftest
$ac_exeext
39007 if { (ac_try
="$ac_link"
39008 case "(($ac_try" in
39009 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
39010 *) ac_try_echo=$ac_try;;
39012 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39013 (eval "$ac_link") 2>conftest.er1
39015 grep -v '^ *+' conftest.er1 >conftest.err
39017 cat conftest.err >&5
39018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39019 (exit $ac_status); } && {
39020 test -z "$ac_c_werror_flag" ||
39021 test ! -s conftest.err
39022 } && test -s conftest$ac_exeext &&
39023 $as_test_x conftest$ac_exeext; then
39024 ac_cv_func_pthread_attr_getschedpolicy=yes
39026 echo "$as_me: failed program was:" >&5
39027 sed 's/^/| /' conftest.$ac_ext >&5
39029 ac_cv_func_pthread_attr_getschedpolicy=no
39032 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39033 conftest$ac_exeext conftest.$ac_ext
39035 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_getschedpolicy" >&5
39036 echo "${ECHO_T}$ac_cv_func_pthread_attr_getschedpolicy" >&6; }
39037 if test $ac_cv_func_pthread_attr_getschedpolicy = yes; then
39038 { echo "$as_me:$LINENO: checking for pthread_attr_setschedparam" >&5
39039 echo $ECHO_N "checking for pthread_attr_setschedparam... $ECHO_C" >&6; }
39040 if test "${ac_cv_func_pthread_attr_setschedparam+set}" = set; then
39041 echo $ECHO_N "(cached) $ECHO_C" >&6
39043 cat >conftest.$ac_ext <<_ACEOF
39046 cat confdefs.h >>conftest.$ac_ext
39047 cat >>conftest.$ac_ext <<_ACEOF
39048 /* end confdefs.h. */
39049 /* Define pthread_attr_setschedparam to an innocuous variant, in case <limits.h> declares pthread_attr_setschedparam.
39050 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39051 #define pthread_attr_setschedparam innocuous_pthread_attr_setschedparam
39053 /* System header to define __stub macros and hopefully few prototypes,
39054 which can conflict with char pthread_attr_setschedparam (); below.
39055 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39056 <limits.h> exists even on freestanding compilers. */
39059 # include <limits.h>
39061 # include <assert.h>
39064 #undef pthread_attr_setschedparam
39066 /* Override any GCC internal prototype to avoid an error.
39067 Use char because int might match the return type of a GCC
39068 builtin and then its argument prototype would still apply. */
39072 char pthread_attr_setschedparam ();
39073 /* The GNU C library defines this for functions which it implements
39074 to always fail with ENOSYS. Some functions are actually named
39075 something starting with __ and the normal name is an alias. */
39076 #if defined __stub_pthread_attr_setschedparam || defined __stub___pthread_attr_setschedparam
39083 return pthread_attr_setschedparam ();
39088 rm -f conftest.$ac_objext conftest$ac_exeext
39089 if { (ac_try="$ac_link"
39090 case "(($ac_try" in
39091 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
39092 *) ac_try_echo
=$ac_try;;
39094 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39095 (eval "$ac_link") 2>conftest.er1
39097 grep -v '^ *+' conftest.er1
>conftest.err
39099 cat conftest.err
>&5
39100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39101 (exit $ac_status); } && {
39102 test -z "$ac_c_werror_flag" ||
39103 test ! -s conftest.err
39104 } && test -s conftest
$ac_exeext &&
39105 $as_test_x conftest
$ac_exeext; then
39106 ac_cv_func_pthread_attr_setschedparam
=yes
39108 echo "$as_me: failed program was:" >&5
39109 sed 's/^/| /' conftest.
$ac_ext >&5
39111 ac_cv_func_pthread_attr_setschedparam
=no
39114 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
39115 conftest
$ac_exeext conftest.
$ac_ext
39117 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setschedparam" >&5
39118 echo "${ECHO_T}$ac_cv_func_pthread_attr_setschedparam" >&6; }
39119 if test $ac_cv_func_pthread_attr_setschedparam = yes; then
39120 { echo "$as_me:$LINENO: checking for sched_get_priority_max" >&5
39121 echo $ECHO_N "checking for sched_get_priority_max... $ECHO_C" >&6; }
39122 if test "${ac_cv_func_sched_get_priority_max+set}" = set; then
39123 echo $ECHO_N "(cached) $ECHO_C" >&6
39125 cat >conftest.
$ac_ext <<_ACEOF
39128 cat confdefs.h
>>conftest.
$ac_ext
39129 cat >>conftest.
$ac_ext <<_ACEOF
39130 /* end confdefs.h. */
39131 /* Define sched_get_priority_max to an innocuous variant, in case <limits.h> declares sched_get_priority_max.
39132 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39133 #define sched_get_priority_max innocuous_sched_get_priority_max
39135 /* System header to define __stub macros and hopefully few prototypes,
39136 which can conflict with char sched_get_priority_max (); below.
39137 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39138 <limits.h> exists even on freestanding compilers. */
39141 # include <limits.h>
39143 # include <assert.h>
39146 #undef sched_get_priority_max
39148 /* Override any GCC internal prototype to avoid an error.
39149 Use char because int might match the return type of a GCC
39150 builtin and then its argument prototype would still apply. */
39154 char sched_get_priority_max ();
39155 /* The GNU C library defines this for functions which it implements
39156 to always fail with ENOSYS. Some functions are actually named
39157 something starting with __ and the normal name is an alias. */
39158 #if defined __stub_sched_get_priority_max || defined __stub___sched_get_priority_max
39165 return sched_get_priority_max ();
39170 rm -f conftest.
$ac_objext conftest
$ac_exeext
39171 if { (ac_try
="$ac_link"
39172 case "(($ac_try" in
39173 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
39174 *) ac_try_echo=$ac_try;;
39176 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39177 (eval "$ac_link") 2>conftest.er1
39179 grep -v '^ *+' conftest.er1 >conftest.err
39181 cat conftest.err >&5
39182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39183 (exit $ac_status); } && {
39184 test -z "$ac_c_werror_flag" ||
39185 test ! -s conftest.err
39186 } && test -s conftest$ac_exeext &&
39187 $as_test_x conftest$ac_exeext; then
39188 ac_cv_func_sched_get_priority_max=yes
39190 echo "$as_me: failed program was:" >&5
39191 sed 's/^/| /' conftest.$ac_ext >&5
39193 ac_cv_func_sched_get_priority_max=no
39196 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39197 conftest$ac_exeext conftest.$ac_ext
39199 { echo "$as_me:$LINENO: result: $ac_cv_func_sched_get_priority_max" >&5
39200 echo "${ECHO_T}$ac_cv_func_sched_get_priority_max" >&6; }
39201 if test $ac_cv_func_sched_get_priority_max = yes; then
39204 { echo "$as_me:$LINENO: checking for sched_get_priority_max in -lposix4" >&5
39205 echo $ECHO_N "checking for sched_get_priority_max in -lposix4... $ECHO_C" >&6; }
39206 if test "${ac_cv_lib_posix4_sched_get_priority_max+set}" = set; then
39207 echo $ECHO_N "(cached) $ECHO_C" >&6
39209 ac_check_lib_save_LIBS=$LIBS
39210 LIBS="-lposix4 $LIBS"
39211 cat >conftest.$ac_ext <<_ACEOF
39214 cat confdefs.h >>conftest.$ac_ext
39215 cat >>conftest.$ac_ext <<_ACEOF
39216 /* end confdefs.h. */
39218 /* Override any GCC internal prototype to avoid an error.
39219 Use char because int might match the return type of a GCC
39220 builtin and then its argument prototype would still apply. */
39224 char sched_get_priority_max ();
39228 return sched_get_priority_max ();
39233 rm -f conftest.$ac_objext conftest$ac_exeext
39234 if { (ac_try="$ac_link"
39235 case "(($ac_try" in
39236 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
39237 *) ac_try_echo
=$ac_try;;
39239 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39240 (eval "$ac_link") 2>conftest.er1
39242 grep -v '^ *+' conftest.er1
>conftest.err
39244 cat conftest.err
>&5
39245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39246 (exit $ac_status); } && {
39247 test -z "$ac_c_werror_flag" ||
39248 test ! -s conftest.err
39249 } && test -s conftest
$ac_exeext &&
39250 $as_test_x conftest
$ac_exeext; then
39251 ac_cv_lib_posix4_sched_get_priority_max
=yes
39253 echo "$as_me: failed program was:" >&5
39254 sed 's/^/| /' conftest.
$ac_ext >&5
39256 ac_cv_lib_posix4_sched_get_priority_max
=no
39259 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
39260 conftest
$ac_exeext conftest.
$ac_ext
39261 LIBS
=$ac_check_lib_save_LIBS
39263 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_get_priority_max" >&5
39264 echo "${ECHO_T}$ac_cv_lib_posix4_sched_get_priority_max" >&6; }
39265 if test $ac_cv_lib_posix4_sched_get_priority_max = yes; then
39268 POSIX4_LINK
=" -lposix4"
39282 if test "$HAVE_PRIOR_FUNCS" = 1; then
39283 cat >>confdefs.h
<<\_ACEOF
39284 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
39288 { echo "$as_me:$LINENO: WARNING: Setting thread priority will not work" >&5
39289 echo "$as_me: WARNING: Setting thread priority will not work" >&2;}
39292 { echo "$as_me:$LINENO: checking for pthread_cancel" >&5
39293 echo $ECHO_N "checking for pthread_cancel... $ECHO_C" >&6; }
39294 if test "${ac_cv_func_pthread_cancel+set}" = set; then
39295 echo $ECHO_N "(cached) $ECHO_C" >&6
39297 cat >conftest.
$ac_ext <<_ACEOF
39300 cat confdefs.h
>>conftest.
$ac_ext
39301 cat >>conftest.
$ac_ext <<_ACEOF
39302 /* end confdefs.h. */
39303 /* Define pthread_cancel to an innocuous variant, in case <limits.h> declares pthread_cancel.
39304 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39305 #define pthread_cancel innocuous_pthread_cancel
39307 /* System header to define __stub macros and hopefully few prototypes,
39308 which can conflict with char pthread_cancel (); below.
39309 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39310 <limits.h> exists even on freestanding compilers. */
39313 # include <limits.h>
39315 # include <assert.h>
39318 #undef pthread_cancel
39320 /* Override any GCC internal prototype to avoid an error.
39321 Use char because int might match the return type of a GCC
39322 builtin and then its argument prototype would still apply. */
39326 char pthread_cancel ();
39327 /* The GNU C library defines this for functions which it implements
39328 to always fail with ENOSYS. Some functions are actually named
39329 something starting with __ and the normal name is an alias. */
39330 #if defined __stub_pthread_cancel || defined __stub___pthread_cancel
39337 return pthread_cancel ();
39342 rm -f conftest.
$ac_objext conftest
$ac_exeext
39343 if { (ac_try
="$ac_link"
39344 case "(($ac_try" in
39345 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
39346 *) ac_try_echo=$ac_try;;
39348 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39349 (eval "$ac_link") 2>conftest.er1
39351 grep -v '^ *+' conftest.er1 >conftest.err
39353 cat conftest.err >&5
39354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39355 (exit $ac_status); } && {
39356 test -z "$ac_c_werror_flag" ||
39357 test ! -s conftest.err
39358 } && test -s conftest$ac_exeext &&
39359 $as_test_x conftest$ac_exeext; then
39360 ac_cv_func_pthread_cancel=yes
39362 echo "$as_me: failed program was:" >&5
39363 sed 's/^/| /' conftest.$ac_ext >&5
39365 ac_cv_func_pthread_cancel=no
39368 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39369 conftest$ac_exeext conftest.$ac_ext
39371 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_cancel" >&5
39372 echo "${ECHO_T}$ac_cv_func_pthread_cancel" >&6; }
39373 if test $ac_cv_func_pthread_cancel = yes; then
39374 cat >>confdefs.h <<\_ACEOF
39375 #define HAVE_PTHREAD_CANCEL 1
39379 { echo "$as_me:$LINENO: WARNING: wxThread::Kill() will not work properly" >&5
39380 echo "$as_me: WARNING: wxThread::Kill() will not work properly" >&2;}
39384 { echo "$as_me:$LINENO: checking for pthread_mutex_timedlock" >&5
39385 echo $ECHO_N "checking for pthread_mutex_timedlock... $ECHO_C" >&6; }
39386 if test "${ac_cv_func_pthread_mutex_timedlock+set}" = set; then
39387 echo $ECHO_N "(cached) $ECHO_C" >&6
39389 cat >conftest.$ac_ext <<_ACEOF
39392 cat confdefs.h >>conftest.$ac_ext
39393 cat >>conftest.$ac_ext <<_ACEOF
39394 /* end confdefs.h. */
39395 /* Define pthread_mutex_timedlock to an innocuous variant, in case <limits.h> declares pthread_mutex_timedlock.
39396 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39397 #define pthread_mutex_timedlock innocuous_pthread_mutex_timedlock
39399 /* System header to define __stub macros and hopefully few prototypes,
39400 which can conflict with char pthread_mutex_timedlock (); below.
39401 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39402 <limits.h> exists even on freestanding compilers. */
39405 # include <limits.h>
39407 # include <assert.h>
39410 #undef pthread_mutex_timedlock
39412 /* Override any GCC internal prototype to avoid an error.
39413 Use char because int might match the return type of a GCC
39414 builtin and then its argument prototype would still apply. */
39418 char pthread_mutex_timedlock ();
39419 /* The GNU C library defines this for functions which it implements
39420 to always fail with ENOSYS. Some functions are actually named
39421 something starting with __ and the normal name is an alias. */
39422 #if defined __stub_pthread_mutex_timedlock || defined __stub___pthread_mutex_timedlock
39429 return pthread_mutex_timedlock ();
39434 rm -f conftest.$ac_objext conftest$ac_exeext
39435 if { (ac_try="$ac_link"
39436 case "(($ac_try" in
39437 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
39438 *) ac_try_echo
=$ac_try;;
39440 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39441 (eval "$ac_link") 2>conftest.er1
39443 grep -v '^ *+' conftest.er1
>conftest.err
39445 cat conftest.err
>&5
39446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39447 (exit $ac_status); } && {
39448 test -z "$ac_c_werror_flag" ||
39449 test ! -s conftest.err
39450 } && test -s conftest
$ac_exeext &&
39451 $as_test_x conftest
$ac_exeext; then
39452 ac_cv_func_pthread_mutex_timedlock
=yes
39454 echo "$as_me: failed program was:" >&5
39455 sed 's/^/| /' conftest.
$ac_ext >&5
39457 ac_cv_func_pthread_mutex_timedlock
=no
39460 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
39461 conftest
$ac_exeext conftest.
$ac_ext
39463 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_mutex_timedlock" >&5
39464 echo "${ECHO_T}$ac_cv_func_pthread_mutex_timedlock" >&6; }
39465 if test $ac_cv_func_pthread_mutex_timedlock = yes; then
39466 cat >>confdefs.h
<<\_ACEOF
39467 #define HAVE_PTHREAD_MUTEX_TIMEDLOCK 1
39471 { echo "$as_me:$LINENO: WARNING: wxMutex::LockTimeout() will not work" >&5
39472 echo "$as_me: WARNING: wxMutex::LockTimeout() will not work" >&2;}
39476 { echo "$as_me:$LINENO: checking for pthread_attr_setstacksize" >&5
39477 echo $ECHO_N "checking for pthread_attr_setstacksize... $ECHO_C" >&6; }
39478 if test "${ac_cv_func_pthread_attr_setstacksize+set}" = set; then
39479 echo $ECHO_N "(cached) $ECHO_C" >&6
39481 cat >conftest.
$ac_ext <<_ACEOF
39484 cat confdefs.h
>>conftest.
$ac_ext
39485 cat >>conftest.
$ac_ext <<_ACEOF
39486 /* end confdefs.h. */
39487 /* Define pthread_attr_setstacksize to an innocuous variant, in case <limits.h> declares pthread_attr_setstacksize.
39488 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39489 #define pthread_attr_setstacksize innocuous_pthread_attr_setstacksize
39491 /* System header to define __stub macros and hopefully few prototypes,
39492 which can conflict with char pthread_attr_setstacksize (); below.
39493 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39494 <limits.h> exists even on freestanding compilers. */
39497 # include <limits.h>
39499 # include <assert.h>
39502 #undef pthread_attr_setstacksize
39504 /* Override any GCC internal prototype to avoid an error.
39505 Use char because int might match the return type of a GCC
39506 builtin and then its argument prototype would still apply. */
39510 char pthread_attr_setstacksize ();
39511 /* The GNU C library defines this for functions which it implements
39512 to always fail with ENOSYS. Some functions are actually named
39513 something starting with __ and the normal name is an alias. */
39514 #if defined __stub_pthread_attr_setstacksize || defined __stub___pthread_attr_setstacksize
39521 return pthread_attr_setstacksize ();
39526 rm -f conftest.
$ac_objext conftest
$ac_exeext
39527 if { (ac_try
="$ac_link"
39528 case "(($ac_try" in
39529 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
39530 *) ac_try_echo=$ac_try;;
39532 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39533 (eval "$ac_link") 2>conftest.er1
39535 grep -v '^ *+' conftest.er1 >conftest.err
39537 cat conftest.err >&5
39538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39539 (exit $ac_status); } && {
39540 test -z "$ac_c_werror_flag" ||
39541 test ! -s conftest.err
39542 } && test -s conftest$ac_exeext &&
39543 $as_test_x conftest$ac_exeext; then
39544 ac_cv_func_pthread_attr_setstacksize=yes
39546 echo "$as_me: failed program was:" >&5
39547 sed 's/^/| /' conftest.$ac_ext >&5
39549 ac_cv_func_pthread_attr_setstacksize=no
39552 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39553 conftest$ac_exeext conftest.$ac_ext
39555 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setstacksize" >&5
39556 echo "${ECHO_T}$ac_cv_func_pthread_attr_setstacksize" >&6; }
39557 if test $ac_cv_func_pthread_attr_setstacksize = yes; then
39558 cat >>confdefs.h <<\_ACEOF
39559 #define HAVE_PTHREAD_ATTR_SETSTACKSIZE 1
39566 { echo "$as_me:$LINENO: checking for pthread_mutexattr_t" >&5
39567 echo $ECHO_N "checking for pthread_mutexattr_t... $ECHO_C" >&6; }
39568 if test "${wx_cv_type_pthread_mutexattr_t+set}" = set; then
39569 echo $ECHO_N "(cached) $ECHO_C" >&6
39572 cat >conftest.$ac_ext <<_ACEOF
39575 cat confdefs.h >>conftest.$ac_ext
39576 cat >>conftest.$ac_ext <<_ACEOF
39577 /* end confdefs.h. */
39578 #include <pthread.h>
39583 pthread_mutexattr_t attr;
39584 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
39590 rm -f conftest.$ac_objext
39591 if { (ac_try="$ac_compile"
39592 case "(($ac_try" in
39593 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
39594 *) ac_try_echo
=$ac_try;;
39596 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39597 (eval "$ac_compile") 2>conftest.er1
39599 grep -v '^ *+' conftest.er1
>conftest.err
39601 cat conftest.err
>&5
39602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39603 (exit $ac_status); } && {
39604 test -z "$ac_c_werror_flag" ||
39605 test ! -s conftest.err
39606 } && test -s conftest.
$ac_objext; then
39607 wx_cv_type_pthread_mutexattr_t
=yes
39609 echo "$as_me: failed program was:" >&5
39610 sed 's/^/| /' conftest.
$ac_ext >&5
39612 wx_cv_type_pthread_mutexattr_t
=no
39616 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
39619 { echo "$as_me:$LINENO: result: $wx_cv_type_pthread_mutexattr_t" >&5
39620 echo "${ECHO_T}$wx_cv_type_pthread_mutexattr_t" >&6; }
39622 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
39623 cat >>confdefs.h
<<\_ACEOF
39624 #define HAVE_PTHREAD_MUTEXATTR_T 1
39628 { echo "$as_me:$LINENO: checking for pthread_mutexattr_settype declaration" >&5
39629 echo $ECHO_N "checking for pthread_mutexattr_settype declaration... $ECHO_C" >&6; }
39630 if test "${wx_cv_func_pthread_mutexattr_settype_decl+set}" = set; then
39631 echo $ECHO_N "(cached) $ECHO_C" >&6
39634 cat >conftest.
$ac_ext <<_ACEOF
39637 cat confdefs.h
>>conftest.
$ac_ext
39638 cat >>conftest.
$ac_ext <<_ACEOF
39639 /* end confdefs.h. */
39640 #include <pthread.h>
39645 pthread_mutexattr_t attr;
39646 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
39652 rm -f conftest.
$ac_objext
39653 if { (ac_try
="$ac_compile"
39654 case "(($ac_try" in
39655 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
39656 *) ac_try_echo=$ac_try;;
39658 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39659 (eval "$ac_compile") 2>conftest.er1
39661 grep -v '^ *+' conftest.er1 >conftest.err
39663 cat conftest.err >&5
39664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39665 (exit $ac_status); } && {
39666 test -z "$ac_c_werror_flag" ||
39667 test ! -s conftest.err
39668 } && test -s conftest.$ac_objext; then
39669 wx_cv_func_pthread_mutexattr_settype_decl=yes
39671 echo "$as_me: failed program was:" >&5
39672 sed 's/^/| /' conftest.$ac_ext >&5
39674 wx_cv_func_pthread_mutexattr_settype_decl=no
39678 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39681 { echo "$as_me:$LINENO: result: $wx_cv_func_pthread_mutexattr_settype_decl" >&5
39682 echo "${ECHO_T}$wx_cv_func_pthread_mutexattr_settype_decl" >&6; }
39683 if test "$wx_cv_func_pthread_mutexattr_settype_decl" = "yes"; then
39684 cat >>confdefs.h <<\_ACEOF
39685 #define HAVE_PTHREAD_MUTEXATTR_SETTYPE_DECL 1
39690 { echo "$as_me:$LINENO: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
39691 echo $ECHO_N "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER... $ECHO_C" >&6; }
39692 if test "${wx_cv_type_pthread_rec_mutex_init+set}" = set; then
39693 echo $ECHO_N "(cached) $ECHO_C" >&6
39696 cat >conftest.$ac_ext <<_ACEOF
39699 cat confdefs.h >>conftest.$ac_ext
39700 cat >>conftest.$ac_ext <<_ACEOF
39701 /* end confdefs.h. */
39702 #include <pthread.h>
39707 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
39713 rm -f conftest.$ac_objext
39714 if { (ac_try="$ac_compile"
39715 case "(($ac_try" in
39716 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
39717 *) ac_try_echo
=$ac_try;;
39719 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39720 (eval "$ac_compile") 2>conftest.er1
39722 grep -v '^ *+' conftest.er1
>conftest.err
39724 cat conftest.err
>&5
39725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39726 (exit $ac_status); } && {
39727 test -z "$ac_c_werror_flag" ||
39728 test ! -s conftest.err
39729 } && test -s conftest.
$ac_objext; then
39731 wx_cv_type_pthread_rec_mutex_init
=yes
39734 echo "$as_me: failed program was:" >&5
39735 sed 's/^/| /' conftest.
$ac_ext >&5
39738 wx_cv_type_pthread_rec_mutex_init
=no
39743 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
39746 { echo "$as_me:$LINENO: result: $wx_cv_type_pthread_rec_mutex_init" >&5
39747 echo "${ECHO_T}$wx_cv_type_pthread_rec_mutex_init" >&6; }
39748 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
39749 cat >>confdefs.h
<<\_ACEOF
39750 #define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1
39754 { echo "$as_me:$LINENO: WARNING: wxMutex won't be recursive on this platform" >&5
39755 echo "$as_me: WARNING: wxMutex won't be recursive on this platform" >&2;}
39761 if test "$wxUSE_THREADS" = "yes" ; then
39764 { echo "$as_me:$LINENO: checking if compiler supports -mthreads" >&5
39765 echo $ECHO_N "checking if compiler supports -mthreads... $ECHO_C" >&6; }
39766 if test "${wx_cv_cflags_mthread+set}" = set; then
39767 echo $ECHO_N "(cached) $ECHO_C" >&6
39770 CFLAGS_OLD
="$CFLAGS"
39771 CFLAGS
="-mthreads $CFLAGS"
39772 cat >conftest.
$ac_ext <<_ACEOF
39775 cat confdefs.h
>>conftest.
$ac_ext
39776 cat >>conftest.
$ac_ext <<_ACEOF
39777 /* end confdefs.h. */
39787 rm -f conftest.
$ac_objext
39788 if { (ac_try
="$ac_compile"
39789 case "(($ac_try" in
39790 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
39791 *) ac_try_echo=$ac_try;;
39793 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39794 (eval "$ac_compile") 2>conftest.er1
39796 grep -v '^ *+' conftest.er1 >conftest.err
39798 cat conftest.err >&5
39799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39800 (exit $ac_status); } && {
39801 test -z "$ac_c_werror_flag" ||
39802 test ! -s conftest.err
39803 } && test -s conftest.$ac_objext; then
39804 wx_cv_cflags_mthread=yes
39806 echo "$as_me: failed program was:" >&5
39807 sed 's/^/| /' conftest.$ac_ext >&5
39809 wx_cv_cflags_mthread=no
39813 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39817 { echo "$as_me:$LINENO: result: $wx_cv_cflags_mthread" >&5
39818 echo "${ECHO_T}$wx_cv_cflags_mthread" >&6; }
39820 if test "$wx_cv_cflags_mthread" = "yes"; then
39821 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -mthreads"
39822 LDFLAGS="$LDFLAGS -mthreads"
39824 CFLAGS="$CFLAGS_OLD"
39828 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -Zmt -D__ST_MT_ERRNO__"
39829 LDFLAGS="$LDFLAGS -Zmt"
39835 { echo "$as_me:$LINENO: checking for localtime_r" >&5
39836 echo $ECHO_N "checking for localtime_r... $ECHO_C" >&6; }
39837 if test "${ac_cv_func_localtime_r+set}" = set; then
39838 echo $ECHO_N "(cached) $ECHO_C" >&6
39840 cat >conftest.$ac_ext <<_ACEOF
39843 cat confdefs.h >>conftest.$ac_ext
39844 cat >>conftest.$ac_ext <<_ACEOF
39845 /* end confdefs.h. */
39846 /* Define localtime_r to an innocuous variant, in case <limits.h> declares localtime_r.
39847 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39848 #define localtime_r innocuous_localtime_r
39850 /* System header to define __stub macros and hopefully few prototypes,
39851 which can conflict with char localtime_r (); below.
39852 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39853 <limits.h> exists even on freestanding compilers. */
39856 # include <limits.h>
39858 # include <assert.h>
39863 /* Override any GCC internal prototype to avoid an error.
39864 Use char because int might match the return type of a GCC
39865 builtin and then its argument prototype would still apply. */
39869 char localtime_r ();
39870 /* The GNU C library defines this for functions which it implements
39871 to always fail with ENOSYS. Some functions are actually named
39872 something starting with __ and the normal name is an alias. */
39873 #if defined __stub_localtime_r || defined __stub___localtime_r
39880 return localtime_r ();
39885 rm -f conftest.$ac_objext conftest$ac_exeext
39886 if { (ac_try="$ac_link"
39887 case "(($ac_try" in
39888 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
39889 *) ac_try_echo
=$ac_try;;
39891 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39892 (eval "$ac_link") 2>conftest.er1
39894 grep -v '^ *+' conftest.er1
>conftest.err
39896 cat conftest.err
>&5
39897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39898 (exit $ac_status); } && {
39899 test -z "$ac_c_werror_flag" ||
39900 test ! -s conftest.err
39901 } && test -s conftest
$ac_exeext &&
39902 $as_test_x conftest
$ac_exeext; then
39903 ac_cv_func_localtime_r
=yes
39905 echo "$as_me: failed program was:" >&5
39906 sed 's/^/| /' conftest.
$ac_ext >&5
39908 ac_cv_func_localtime_r
=no
39911 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
39912 conftest
$ac_exeext conftest.
$ac_ext
39914 { echo "$as_me:$LINENO: result: $ac_cv_func_localtime_r" >&5
39915 echo "${ECHO_T}$ac_cv_func_localtime_r" >&6; }
39916 if test $ac_cv_func_localtime_r = yes; then
39917 cat >>confdefs.h
<<\_ACEOF
39918 #define HAVE_LOCALTIME_R 1
39923 { echo "$as_me:$LINENO: checking for gmtime_r" >&5
39924 echo $ECHO_N "checking for gmtime_r... $ECHO_C" >&6; }
39925 if test "${ac_cv_func_gmtime_r+set}" = set; then
39926 echo $ECHO_N "(cached) $ECHO_C" >&6
39928 cat >conftest.
$ac_ext <<_ACEOF
39931 cat confdefs.h
>>conftest.
$ac_ext
39932 cat >>conftest.
$ac_ext <<_ACEOF
39933 /* end confdefs.h. */
39934 /* Define gmtime_r to an innocuous variant, in case <limits.h> declares gmtime_r.
39935 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39936 #define gmtime_r innocuous_gmtime_r
39938 /* System header to define __stub macros and hopefully few prototypes,
39939 which can conflict with char gmtime_r (); below.
39940 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39941 <limits.h> exists even on freestanding compilers. */
39944 # include <limits.h>
39946 # include <assert.h>
39951 /* Override any GCC internal prototype to avoid an error.
39952 Use char because int might match the return type of a GCC
39953 builtin and then its argument prototype would still apply. */
39958 /* The GNU C library defines this for functions which it implements
39959 to always fail with ENOSYS. Some functions are actually named
39960 something starting with __ and the normal name is an alias. */
39961 #if defined __stub_gmtime_r || defined __stub___gmtime_r
39968 return gmtime_r ();
39973 rm -f conftest.
$ac_objext conftest
$ac_exeext
39974 if { (ac_try
="$ac_link"
39975 case "(($ac_try" in
39976 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
39977 *) ac_try_echo=$ac_try;;
39979 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39980 (eval "$ac_link") 2>conftest.er1
39982 grep -v '^ *+' conftest.er1 >conftest.err
39984 cat conftest.err >&5
39985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39986 (exit $ac_status); } && {
39987 test -z "$ac_c_werror_flag" ||
39988 test ! -s conftest.err
39989 } && test -s conftest$ac_exeext &&
39990 $as_test_x conftest$ac_exeext; then
39991 ac_cv_func_gmtime_r=yes
39993 echo "$as_me: failed program was:" >&5
39994 sed 's/^/| /' conftest.$ac_ext >&5
39996 ac_cv_func_gmtime_r=no
39999 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40000 conftest$ac_exeext conftest.$ac_ext
40002 { echo "$as_me:$LINENO: result: $ac_cv_func_gmtime_r" >&5
40003 echo "${ECHO_T}$ac_cv_func_gmtime_r" >&6; }
40004 if test $ac_cv_func_gmtime_r = yes; then
40005 cat >>confdefs.h <<\_ACEOF
40006 #define HAVE_GMTIME_R 1
40015 ac_cpp='$CPP $CPPFLAGS'
40016 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40017 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40018 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40020 { echo "$as_me:$LINENO: checking how many arguments gethostbyname_r() takes" >&5
40021 echo $ECHO_N "checking how many arguments gethostbyname_r() takes... $ECHO_C" >&6; }
40023 if test "${ac_cv_func_which_gethostbyname_r+set}" = set; then
40024 echo $ECHO_N "(cached) $ECHO_C" >&6
40028 ################################################################
40030 ac_cv_func_which_gethostbyname_r=unknown
40033 # ONE ARGUMENT (sanity check)
40036 # This should fail, as there is no variant of gethostbyname_r() that takes
40037 # a single argument. If it actually compiles, then we can assume that
40038 # netdb.h is not declaring the function, and the compiler is thereby
40039 # assuming an implicit prototype. In which case, we're out of luck.
40041 cat >conftest.$ac_ext <<_ACEOF
40044 cat confdefs.h >>conftest.$ac_ext
40045 cat >>conftest.$ac_ext <<_ACEOF
40046 /* end confdefs.h. */
40052 char *name = "www.gnu.org";
40053 (void)gethostbyname_r(name) /* ; */
40059 rm -f conftest.$ac_objext
40060 if { (ac_try="$ac_compile"
40061 case "(($ac_try" in
40062 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
40063 *) ac_try_echo
=$ac_try;;
40065 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40066 (eval "$ac_compile") 2>conftest.er1
40068 grep -v '^ *+' conftest.er1
>conftest.err
40070 cat conftest.err
>&5
40071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40072 (exit $ac_status); } && {
40073 test -z "$ac_c_werror_flag" ||
40074 test ! -s conftest.err
40075 } && test -s conftest.
$ac_objext; then
40076 ac_cv_func_which_gethostbyname_r
=no
40078 echo "$as_me: failed program was:" >&5
40079 sed 's/^/| /' conftest.
$ac_ext >&5
40084 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
40091 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
40093 cat >conftest.
$ac_ext <<_ACEOF
40096 cat confdefs.h
>>conftest.
$ac_ext
40097 cat >>conftest.
$ac_ext <<_ACEOF
40098 /* end confdefs.h. */
40104 char *name = "www.gnu.org";
40105 struct hostent ret, *retp;
40109 (void)gethostbyname_r(name, &ret, buf, buflen, &retp, &my_h_errno) /* ; */
40115 rm -f conftest.
$ac_objext
40116 if { (ac_try
="$ac_compile"
40117 case "(($ac_try" in
40118 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
40119 *) ac_try_echo=$ac_try;;
40121 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40122 (eval "$ac_compile") 2>conftest.er1
40124 grep -v '^ *+' conftest.er1 >conftest.err
40126 cat conftest.err >&5
40127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40128 (exit $ac_status); } && {
40129 test -z "$ac_c_werror_flag" ||
40130 test ! -s conftest.err
40131 } && test -s conftest.$ac_objext; then
40132 ac_cv_func_which_gethostbyname_r=six
40134 echo "$as_me: failed program was:" >&5
40135 sed 's/^/| /' conftest.$ac_ext >&5
40140 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40149 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
40151 cat >conftest.$ac_ext <<_ACEOF
40154 cat confdefs.h >>conftest.$ac_ext
40155 cat >>conftest.$ac_ext <<_ACEOF
40156 /* end confdefs.h. */
40162 char *name = "www.gnu.org";
40163 struct hostent ret;
40167 (void)gethostbyname_r(name, &ret, buf, buflen, &my_h_errno) /* ; */
40173 rm -f conftest.$ac_objext
40174 if { (ac_try="$ac_compile"
40175 case "(($ac_try" in
40176 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
40177 *) ac_try_echo
=$ac_try;;
40179 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40180 (eval "$ac_compile") 2>conftest.er1
40182 grep -v '^ *+' conftest.er1
>conftest.err
40184 cat conftest.err
>&5
40185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40186 (exit $ac_status); } && {
40187 test -z "$ac_c_werror_flag" ||
40188 test ! -s conftest.err
40189 } && test -s conftest.
$ac_objext; then
40190 ac_cv_func_which_gethostbyname_r
=five
40192 echo "$as_me: failed program was:" >&5
40193 sed 's/^/| /' conftest.
$ac_ext >&5
40198 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
40204 # (e.g. AIX, HP-UX, Tru64)
40207 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
40209 cat >conftest.
$ac_ext <<_ACEOF
40212 cat confdefs.h
>>conftest.
$ac_ext
40213 cat >>conftest.
$ac_ext <<_ACEOF
40214 /* end confdefs.h. */
40220 char *name = "www.gnu.org";
40221 struct hostent ret;
40222 struct hostent_data data;
40223 (void)gethostbyname_r(name, &ret, &data) /* ; */
40229 rm -f conftest.
$ac_objext
40230 if { (ac_try
="$ac_compile"
40231 case "(($ac_try" in
40232 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
40233 *) ac_try_echo=$ac_try;;
40235 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40236 (eval "$ac_compile") 2>conftest.er1
40238 grep -v '^ *+' conftest.er1 >conftest.err
40240 cat conftest.err >&5
40241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40242 (exit $ac_status); } && {
40243 test -z "$ac_c_werror_flag" ||
40244 test ! -s conftest.err
40245 } && test -s conftest.$ac_objext; then
40246 ac_cv_func_which_gethostbyname_r=three
40248 echo "$as_me: failed program was:" >&5
40249 sed 's/^/| /' conftest.$ac_ext >&5
40254 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40258 ################################################################
40263 case "$ac_cv_func_which_gethostbyname_r" in
40265 { echo "$as_me:$LINENO: result: three" >&5
40266 echo "${ECHO_T}three" >&6; }
40267 cat >>confdefs.h <<\_ACEOF
40268 #define HAVE_FUNC_GETHOSTBYNAME_R_3 1
40274 { echo "$as_me:$LINENO: result: five" >&5
40275 echo "${ECHO_T}five" >&6; }
40276 cat >>confdefs.h <<\_ACEOF
40277 #define HAVE_FUNC_GETHOSTBYNAME_R_5 1
40283 { echo "$as_me:$LINENO: result: six" >&5
40284 echo "${ECHO_T}six" >&6; }
40285 cat >>confdefs.h <<\_ACEOF
40286 #define HAVE_FUNC_GETHOSTBYNAME_R_6 1
40292 { echo "$as_me:$LINENO: result: cannot find function declaration in netdb.h" >&5
40293 echo "${ECHO_T}cannot find function declaration in netdb.h" >&6; }
40297 { echo "$as_me:$LINENO: result: can't tell" >&5
40298 echo "${ECHO_T}can't tell" >&6; }
40302 { { echo "$as_me:$LINENO: error: internal error" >&5
40303 echo "$as_me: error: internal error" >&2;}
40304 { (exit 1); exit 1; }; }
40309 ac_cpp='$CPP $CPPFLAGS'
40310 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40311 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40312 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40316 if test "x$ac_cv_func_which_gethostbyname_r" = "xno" -o \
40317 "x$ac_cv_func_which_gethostbyname_r" = "xunknown" ; then
40318 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
40319 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
40320 if test "${ac_cv_func_gethostbyname+set}" = set; then
40321 echo $ECHO_N "(cached) $ECHO_C" >&6
40323 cat >conftest.$ac_ext <<_ACEOF
40326 cat confdefs.h >>conftest.$ac_ext
40327 cat >>conftest.$ac_ext <<_ACEOF
40328 /* end confdefs.h. */
40329 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
40330 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40331 #define gethostbyname innocuous_gethostbyname
40333 /* System header to define __stub macros and hopefully few prototypes,
40334 which can conflict with char gethostbyname (); below.
40335 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40336 <limits.h> exists even on freestanding compilers. */
40339 # include <limits.h>
40341 # include <assert.h>
40344 #undef gethostbyname
40346 /* Override any GCC internal prototype to avoid an error.
40347 Use char because int might match the return type of a GCC
40348 builtin and then its argument prototype would still apply. */
40352 char gethostbyname ();
40353 /* The GNU C library defines this for functions which it implements
40354 to always fail with ENOSYS. Some functions are actually named
40355 something starting with __ and the normal name is an alias. */
40356 #if defined __stub_gethostbyname || defined __stub___gethostbyname
40363 return gethostbyname ();
40368 rm -f conftest.$ac_objext conftest$ac_exeext
40369 if { (ac_try="$ac_link"
40370 case "(($ac_try" in
40371 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
40372 *) ac_try_echo
=$ac_try;;
40374 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40375 (eval "$ac_link") 2>conftest.er1
40377 grep -v '^ *+' conftest.er1
>conftest.err
40379 cat conftest.err
>&5
40380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40381 (exit $ac_status); } && {
40382 test -z "$ac_c_werror_flag" ||
40383 test ! -s conftest.err
40384 } && test -s conftest
$ac_exeext &&
40385 $as_test_x conftest
$ac_exeext; then
40386 ac_cv_func_gethostbyname
=yes
40388 echo "$as_me: failed program was:" >&5
40389 sed 's/^/| /' conftest.
$ac_ext >&5
40391 ac_cv_func_gethostbyname
=no
40394 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
40395 conftest
$ac_exeext conftest.
$ac_ext
40397 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
40398 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
40399 if test $ac_cv_func_gethostbyname = yes; then
40400 cat >>confdefs.h
<<\_ACEOF
40401 #define HAVE_GETHOSTBYNAME 1
40408 { echo "$as_me:$LINENO: checking how many arguments getservbyname_r() takes" >&5
40409 echo $ECHO_N "checking how many arguments getservbyname_r() takes... $ECHO_C" >&6; }
40410 if test "${ac_cv_func_which_getservbyname_r+set}" = set; then
40411 echo $ECHO_N "(cached) $ECHO_C" >&6
40415 ac_cpp
='$CXXCPP $CPPFLAGS'
40416 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40417 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40418 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
40421 cat >conftest.
$ac_ext <<_ACEOF
40424 cat confdefs.h
>>conftest.
$ac_ext
40425 cat >>conftest.
$ac_ext <<_ACEOF
40426 /* end confdefs.h. */
40434 struct servent *se, *res;
40437 (void) getservbyname_r(name, proto, se, buffer, buflen, &res)
40443 rm -f conftest.
$ac_objext
40444 if { (ac_try
="$ac_compile"
40445 case "(($ac_try" in
40446 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
40447 *) ac_try_echo=$ac_try;;
40449 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40450 (eval "$ac_compile") 2>conftest.er1
40452 grep -v '^ *+' conftest.er1 >conftest.err
40454 cat conftest.err >&5
40455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40456 (exit $ac_status); } && {
40457 test -z "$ac_cxx_werror_flag" ||
40458 test ! -s conftest.err
40459 } && test -s conftest.$ac_objext; then
40460 ac_cv_func_which_getservbyname_r=six
40462 echo "$as_me: failed program was:" >&5
40463 sed 's/^/| /' conftest.$ac_ext >&5
40466 cat >conftest.$ac_ext <<_ACEOF
40469 cat confdefs.h >>conftest.$ac_ext
40470 cat >>conftest.$ac_ext <<_ACEOF
40471 /* end confdefs.h. */
40479 struct servent *se;
40482 (void) getservbyname_r(name, proto, se, buffer, buflen)
40488 rm -f conftest.$ac_objext
40489 if { (ac_try="$ac_compile"
40490 case "(($ac_try" in
40491 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
40492 *) ac_try_echo
=$ac_try;;
40494 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40495 (eval "$ac_compile") 2>conftest.er1
40497 grep -v '^ *+' conftest.er1
>conftest.err
40499 cat conftest.err
>&5
40500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40501 (exit $ac_status); } && {
40502 test -z "$ac_cxx_werror_flag" ||
40503 test ! -s conftest.err
40504 } && test -s conftest.
$ac_objext; then
40505 ac_cv_func_which_getservbyname_r
=five
40507 echo "$as_me: failed program was:" >&5
40508 sed 's/^/| /' conftest.
$ac_ext >&5
40511 cat >conftest.
$ac_ext <<_ACEOF
40514 cat confdefs.h
>>conftest.
$ac_ext
40515 cat >>conftest.
$ac_ext <<_ACEOF
40516 /* end confdefs.h. */
40524 struct servent *se;
40525 struct servent_data data;
40526 (void) getservbyname_r(name, proto, se, &data);
40532 rm -f conftest.
$ac_objext
40533 if { (ac_try
="$ac_compile"
40534 case "(($ac_try" in
40535 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
40536 *) ac_try_echo=$ac_try;;
40538 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40539 (eval "$ac_compile") 2>conftest.er1
40541 grep -v '^ *+' conftest.er1 >conftest.err
40543 cat conftest.err >&5
40544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40545 (exit $ac_status); } && {
40546 test -z "$ac_cxx_werror_flag" ||
40547 test ! -s conftest.err
40548 } && test -s conftest.$ac_objext; then
40549 ac_cv_func_which_getservbyname_r=four
40551 echo "$as_me: failed program was:" >&5
40552 sed 's/^/| /' conftest.$ac_ext >&5
40554 ac_cv_func_which_getservbyname_r=no
40558 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40563 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40568 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40570 ac_cpp='$CPP $CPPFLAGS'
40571 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40572 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40573 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40578 { echo "$as_me:$LINENO: result: $ac_cv_func_which_getservbyname_r" >&5
40579 echo "${ECHO_T}$ac_cv_func_which_getservbyname_r" >&6; }
40581 if test $ac_cv_func_which_getservbyname_r = six; then
40582 cat >>confdefs.h <<\_ACEOF
40583 #define HAVE_FUNC_GETSERVBYNAME_R_6 1
40586 elif test $ac_cv_func_which_getservbyname_r = five; then
40587 cat >>confdefs.h <<\_ACEOF
40588 #define HAVE_FUNC_GETSERVBYNAME_R_5 1
40591 elif test $ac_cv_func_which_getservbyname_r = four; then
40592 cat >>confdefs.h <<\_ACEOF
40593 #define HAVE_FUNC_GETSERVBYNAME_R_4 1
40599 if test "x$ac_cv_func_which_getservbyname_r" = "xno" -o \
40600 "x$ac_cv_func_which_getservbyname_r" = "xunknown" ; then
40602 for ac_func in getservbyname
40604 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40605 { echo "$as_me:$LINENO: checking for $ac_func" >&5
40606 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
40607 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
40608 echo $ECHO_N "(cached) $ECHO_C" >&6
40610 cat >conftest.$ac_ext <<_ACEOF
40613 cat confdefs.h >>conftest.$ac_ext
40614 cat >>conftest.$ac_ext <<_ACEOF
40615 /* end confdefs.h. */
40616 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40617 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40618 #define $ac_func innocuous_$ac_func
40620 /* System header to define __stub macros and hopefully few prototypes,
40621 which can conflict with char $ac_func (); below.
40622 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40623 <limits.h> exists even on freestanding compilers. */
40626 # include <limits.h>
40628 # include <assert.h>
40633 /* Override any GCC internal prototype to avoid an error.
40634 Use char because int might match the return type of a GCC
40635 builtin and then its argument prototype would still apply. */
40640 /* The GNU C library defines this for functions which it implements
40641 to always fail with ENOSYS. Some functions are actually named
40642 something starting with __ and the normal name is an alias. */
40643 #if defined __stub_$ac_func || defined __stub___$ac_func
40650 return $ac_func ();
40655 rm -f conftest.$ac_objext conftest$ac_exeext
40656 if { (ac_try="$ac_link"
40657 case "(($ac_try" in
40658 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
40659 *) ac_try_echo
=$ac_try;;
40661 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40662 (eval "$ac_link") 2>conftest.er1
40664 grep -v '^ *+' conftest.er1
>conftest.err
40666 cat conftest.err
>&5
40667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40668 (exit $ac_status); } && {
40669 test -z "$ac_c_werror_flag" ||
40670 test ! -s conftest.err
40671 } && test -s conftest
$ac_exeext &&
40672 $as_test_x conftest
$ac_exeext; then
40673 eval "$as_ac_var=yes"
40675 echo "$as_me: failed program was:" >&5
40676 sed 's/^/| /' conftest.
$ac_ext >&5
40678 eval "$as_ac_var=no"
40681 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
40682 conftest
$ac_exeext conftest.
$ac_ext
40684 ac_res
=`eval echo '${'$as_ac_var'}'`
40685 { echo "$as_me:$LINENO: result: $ac_res" >&5
40686 echo "${ECHO_T}$ac_res" >&6; }
40687 if test `eval echo '${'$as_ac_var'}'` = yes; then
40688 cat >>confdefs.h
<<_ACEOF
40689 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40691 cat >>confdefs.h
<<\_ACEOF
40692 #define HAVE_GETSERVBYNAME 1
40700 if test "$wxUSE_THREADS" = "yes"; then
40701 cat >>confdefs.h
<<\_ACEOF
40702 #define wxUSE_THREADS 1
40706 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS thread"
40708 if test "$wx_cv_func_strtok_r" = "yes"; then
40709 { echo "$as_me:$LINENO: checking if -D_REENTRANT is needed" >&5
40710 echo $ECHO_N "checking if -D_REENTRANT is needed... $ECHO_C" >&6; }
40711 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
40712 WXCONFIG_CPPFLAGS
="$WXCONFIG_CPPFLAGS -D_REENTRANT"
40713 { echo "$as_me:$LINENO: result: yes" >&5
40714 echo "${ECHO_T}yes" >&6; }
40716 { echo "$as_me:$LINENO: result: no" >&5
40717 echo "${ECHO_T}no" >&6; }
40722 if test "$WXGTK2" = 1 ; then
40723 cat >>confdefs.h
<<_ACEOF
40724 #define __WXGTK20__ $WXGTK2
40730 if test "$WXGTK12" = 1 ; then
40731 cat >>confdefs.h
<<_ACEOF
40732 #define __WXGTK12__ $WXGTK12
40737 if test "$WXGTK127" = 1 ; then
40738 cat >>confdefs.h
<<_ACEOF
40739 #define __WXGTK127__ $WXGTK127
40744 if test "$WXGPE" = 1 ; then
40745 cat >>confdefs.h
<<_ACEOF
40746 #define __WXGPE__ $WXGPE
40752 if test "$wxUSE_DEBUG_INFO" = "yes" ; then
40757 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
40758 wxUSE_DEBUG_INFO
=yes
40759 if test "$GCC" = yes; then
40760 DEBUG_CFLAGS
="-ggdb"
40764 if test "$wxUSE_DEBUG_FLAG" = "yes" ; then
40765 cat >>confdefs.h
<<\_ACEOF
40769 WXCONFIG_CPPFLAGS
="$WXCONFIG_CPPFLAGS -D__WXDEBUG__"
40771 if test "$wxUSE_GTK" = 1 ; then
40772 if test "x$wxGTK_VERSION" = "x1" ; then
40773 CPPFLAGS
="-DGTK_NO_CHECK_CASTS $CPPFLAGS"
40778 if test "$wxUSE_MEM_TRACING" = "yes" ; then
40779 cat >>confdefs.h
<<\_ACEOF
40780 #define wxUSE_MEMORY_TRACING 1
40783 cat >>confdefs.h
<<\_ACEOF
40784 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
40787 cat >>confdefs.h
<<\_ACEOF
40788 #define wxUSE_DEBUG_NEW_ALWAYS 1
40791 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS memcheck"
40794 if test "$wxUSE_DMALLOC" = "yes" ; then
40795 DMALLOC_LIBS
="-ldmallocthcxx"
40799 if test "$wxUSE_PROFILE" = "yes" ; then
40800 PROFILE_FLAGS
=" -pg"
40803 if test "$GCC" = "yes" ; then
40804 if test "$wxUSE_NO_RTTI" = "yes" ; then
40805 WXCONFIG_CXXFLAGS
="$WXCONFIG_CXXFLAGS -fno-rtti"
40807 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
40808 WXCONFIG_CXXFLAGS
="$WXCONFIG_CXXFLAGS -fno-exceptions"
40810 if test "$wxUSE_PERMISSIVE" = "yes" ; then
40811 WXCONFIG_CFLAGS
="$WXCONFIG_CFLAGS -fpermissive"
40816 WXCONFIG_CFLAGS
="$WXCONFIG_CFLAGS -mminimal-toc"
40819 WXCONFIG_CFLAGS
="$WXCONFIG_CFLAGS -ffunction-sections"
40825 if test "$wxUSE_OPTIMISE" = "no" ; then
40826 if test "$GCC" = yes ; then
40827 OPTIMISE_CFLAGS
="-O0"
40830 if test "$GCC" = yes ; then
40832 *-pc-os2_emx | *-pc-os2-emx )
40833 OPTIMISE_CFLAGS
="-O2"
40836 OPTIMISE_CFLAGS
="-O2 -fno-strict-aliasing"
40840 OPTIMISE_CFLAGS
="-O"
40845 if test "x$WXWIN_COMPATIBILITY_2_6" = "xyes"; then
40846 cat >>confdefs.h
<<\_ACEOF
40847 #define WXWIN_COMPATIBILITY_2_6 1
40851 WXWIN_COMPATIBILITY_2_8
="yes"
40854 if test "x$WXWIN_COMPATIBILITY_2_8" != "xno"; then
40855 cat >>confdefs.h
<<\_ACEOF
40856 #define WXWIN_COMPATIBILITY_2_8 1
40862 if test "$wxUSE_GUI" = "yes"; then
40863 cat >>confdefs.h
<<\_ACEOF
40864 #define wxUSE_GUI 1
40871 if test "$wxUSE_UNIX" = "yes"; then
40872 cat >>confdefs.h
<<\_ACEOF
40873 #define wxUSE_UNIX 1
40879 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
40883 if test "$wxUSE_DYNAMIC_LOADER" = "yes" -o "$wxUSE_DYNLIB_CLASS" = "yes" ; then
40884 if test "$USE_DARWIN" = 1; then
40886 elif test "$USE_DOS" = 1; then
40890 for ac_func
in dlopen
40892 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40893 { echo "$as_me:$LINENO: checking for $ac_func" >&5
40894 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
40895 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
40896 echo $ECHO_N "(cached) $ECHO_C" >&6
40898 cat >conftest.
$ac_ext <<_ACEOF
40901 cat confdefs.h
>>conftest.
$ac_ext
40902 cat >>conftest.
$ac_ext <<_ACEOF
40903 /* end confdefs.h. */
40904 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40905 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40906 #define $ac_func innocuous_$ac_func
40908 /* System header to define __stub macros and hopefully few prototypes,
40909 which can conflict with char $ac_func (); below.
40910 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40911 <limits.h> exists even on freestanding compilers. */
40914 # include <limits.h>
40916 # include <assert.h>
40921 /* Override any GCC internal prototype to avoid an error.
40922 Use char because int might match the return type of a GCC
40923 builtin and then its argument prototype would still apply. */
40928 /* The GNU C library defines this for functions which it implements
40929 to always fail with ENOSYS. Some functions are actually named
40930 something starting with __ and the normal name is an alias. */
40931 #if defined __stub_$ac_func || defined __stub___$ac_func
40938 return $ac_func ();
40943 rm -f conftest.
$ac_objext conftest
$ac_exeext
40944 if { (ac_try
="$ac_link"
40945 case "(($ac_try" in
40946 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
40947 *) ac_try_echo=$ac_try;;
40949 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40950 (eval "$ac_link") 2>conftest.er1
40952 grep -v '^ *+' conftest.er1 >conftest.err
40954 cat conftest.err >&5
40955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40956 (exit $ac_status); } && {
40957 test -z "$ac_c_werror_flag" ||
40958 test ! -s conftest.err
40959 } && test -s conftest$ac_exeext &&
40960 $as_test_x conftest$ac_exeext; then
40961 eval "$as_ac_var=yes"
40963 echo "$as_me: failed program was:" >&5
40964 sed 's/^/| /' conftest.$ac_ext >&5
40966 eval "$as_ac_var=no"
40969 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40970 conftest$ac_exeext conftest.$ac_ext
40972 ac_res=`eval echo '${'$as_ac_var'}'`
40973 { echo "$as_me:$LINENO: result: $ac_res" >&5
40974 echo "${ECHO_T}$ac_res" >&6; }
40975 if test `eval echo '${'$as_ac_var'}'` = yes; then
40976 cat >>confdefs.h <<_ACEOF
40977 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40980 cat >>confdefs.h <<\_ACEOF
40981 #define HAVE_DLOPEN 1
40988 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
40989 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
40990 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
40991 echo $ECHO_N "(cached) $ECHO_C" >&6
40993 ac_check_lib_save_LIBS=$LIBS
40995 cat >conftest.$ac_ext <<_ACEOF
40998 cat confdefs.h >>conftest.$ac_ext
40999 cat >>conftest.$ac_ext <<_ACEOF
41000 /* end confdefs.h. */
41002 /* Override any GCC internal prototype to avoid an error.
41003 Use char because int might match the return type of a GCC
41004 builtin and then its argument prototype would still apply. */
41017 rm -f conftest.$ac_objext conftest$ac_exeext
41018 if { (ac_try="$ac_link"
41019 case "(($ac_try" in
41020 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
41021 *) ac_try_echo
=$ac_try;;
41023 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41024 (eval "$ac_link") 2>conftest.er1
41026 grep -v '^ *+' conftest.er1
>conftest.err
41028 cat conftest.err
>&5
41029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41030 (exit $ac_status); } && {
41031 test -z "$ac_c_werror_flag" ||
41032 test ! -s conftest.err
41033 } && test -s conftest
$ac_exeext &&
41034 $as_test_x conftest
$ac_exeext; then
41035 ac_cv_lib_dl_dlopen
=yes
41037 echo "$as_me: failed program was:" >&5
41038 sed 's/^/| /' conftest.
$ac_ext >&5
41040 ac_cv_lib_dl_dlopen
=no
41043 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
41044 conftest
$ac_exeext conftest.
$ac_ext
41045 LIBS
=$ac_check_lib_save_LIBS
41047 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
41048 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
41049 if test $ac_cv_lib_dl_dlopen = yes; then
41051 cat >>confdefs.h
<<\_ACEOF
41052 #define HAVE_DLOPEN 1
41056 DL_LINK
=" -ldl$DL_LINK"
41061 for ac_func
in shl_load
41063 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41064 { echo "$as_me:$LINENO: checking for $ac_func" >&5
41065 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
41066 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
41067 echo $ECHO_N "(cached) $ECHO_C" >&6
41069 cat >conftest.
$ac_ext <<_ACEOF
41072 cat confdefs.h
>>conftest.
$ac_ext
41073 cat >>conftest.
$ac_ext <<_ACEOF
41074 /* end confdefs.h. */
41075 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41076 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41077 #define $ac_func innocuous_$ac_func
41079 /* System header to define __stub macros and hopefully few prototypes,
41080 which can conflict with char $ac_func (); below.
41081 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41082 <limits.h> exists even on freestanding compilers. */
41085 # include <limits.h>
41087 # include <assert.h>
41092 /* Override any GCC internal prototype to avoid an error.
41093 Use char because int might match the return type of a GCC
41094 builtin and then its argument prototype would still apply. */
41099 /* The GNU C library defines this for functions which it implements
41100 to always fail with ENOSYS. Some functions are actually named
41101 something starting with __ and the normal name is an alias. */
41102 #if defined __stub_$ac_func || defined __stub___$ac_func
41109 return $ac_func ();
41114 rm -f conftest.
$ac_objext conftest
$ac_exeext
41115 if { (ac_try
="$ac_link"
41116 case "(($ac_try" in
41117 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
41118 *) ac_try_echo=$ac_try;;
41120 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41121 (eval "$ac_link") 2>conftest.er1
41123 grep -v '^ *+' conftest.er1 >conftest.err
41125 cat conftest.err >&5
41126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41127 (exit $ac_status); } && {
41128 test -z "$ac_c_werror_flag" ||
41129 test ! -s conftest.err
41130 } && test -s conftest$ac_exeext &&
41131 $as_test_x conftest$ac_exeext; then
41132 eval "$as_ac_var=yes"
41134 echo "$as_me: failed program was:" >&5
41135 sed 's/^/| /' conftest.$ac_ext >&5
41137 eval "$as_ac_var=no"
41140 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41141 conftest$ac_exeext conftest.$ac_ext
41143 ac_res=`eval echo '${'$as_ac_var'}'`
41144 { echo "$as_me:$LINENO: result: $ac_res" >&5
41145 echo "${ECHO_T}$ac_res" >&6; }
41146 if test `eval echo '${'$as_ac_var'}'` = yes; then
41147 cat >>confdefs.h <<_ACEOF
41148 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41151 cat >>confdefs.h <<\_ACEOF
41152 #define HAVE_SHL_LOAD 1
41159 { echo "$as_me:$LINENO: checking for dld in -lshl_load" >&5
41160 echo $ECHO_N "checking for dld in -lshl_load... $ECHO_C" >&6; }
41161 if test "${ac_cv_lib_shl_load_dld+set}" = set; then
41162 echo $ECHO_N "(cached) $ECHO_C" >&6
41164 ac_check_lib_save_LIBS=$LIBS
41165 LIBS="-lshl_load $LIBS"
41166 cat >conftest.$ac_ext <<_ACEOF
41169 cat confdefs.h >>conftest.$ac_ext
41170 cat >>conftest.$ac_ext <<_ACEOF
41171 /* end confdefs.h. */
41173 /* Override any GCC internal prototype to avoid an error.
41174 Use char because int might match the return type of a GCC
41175 builtin and then its argument prototype would still apply. */
41188 rm -f conftest.$ac_objext conftest$ac_exeext
41189 if { (ac_try="$ac_link"
41190 case "(($ac_try" in
41191 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
41192 *) ac_try_echo
=$ac_try;;
41194 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41195 (eval "$ac_link") 2>conftest.er1
41197 grep -v '^ *+' conftest.er1
>conftest.err
41199 cat conftest.err
>&5
41200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41201 (exit $ac_status); } && {
41202 test -z "$ac_c_werror_flag" ||
41203 test ! -s conftest.err
41204 } && test -s conftest
$ac_exeext &&
41205 $as_test_x conftest
$ac_exeext; then
41206 ac_cv_lib_shl_load_dld
=yes
41208 echo "$as_me: failed program was:" >&5
41209 sed 's/^/| /' conftest.
$ac_ext >&5
41211 ac_cv_lib_shl_load_dld
=no
41214 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
41215 conftest
$ac_exeext conftest.
$ac_ext
41216 LIBS
=$ac_check_lib_save_LIBS
41218 { echo "$as_me:$LINENO: result: $ac_cv_lib_shl_load_dld" >&5
41219 echo "${ECHO_T}$ac_cv_lib_shl_load_dld" >&6; }
41220 if test $ac_cv_lib_shl_load_dld = yes; then
41223 DL_LINK
=" -ldld$DL_LINK"
41239 if test "$HAVE_DL_FUNCS" = 1; then
41241 for ac_func
in dlerror
41243 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41244 { echo "$as_me:$LINENO: checking for $ac_func" >&5
41245 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
41246 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
41247 echo $ECHO_N "(cached) $ECHO_C" >&6
41249 cat >conftest.
$ac_ext <<_ACEOF
41252 cat confdefs.h
>>conftest.
$ac_ext
41253 cat >>conftest.
$ac_ext <<_ACEOF
41254 /* end confdefs.h. */
41255 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41256 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41257 #define $ac_func innocuous_$ac_func
41259 /* System header to define __stub macros and hopefully few prototypes,
41260 which can conflict with char $ac_func (); below.
41261 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41262 <limits.h> exists even on freestanding compilers. */
41265 # include <limits.h>
41267 # include <assert.h>
41272 /* Override any GCC internal prototype to avoid an error.
41273 Use char because int might match the return type of a GCC
41274 builtin and then its argument prototype would still apply. */
41279 /* The GNU C library defines this for functions which it implements
41280 to always fail with ENOSYS. Some functions are actually named
41281 something starting with __ and the normal name is an alias. */
41282 #if defined __stub_$ac_func || defined __stub___$ac_func
41289 return $ac_func ();
41294 rm -f conftest.
$ac_objext conftest
$ac_exeext
41295 if { (ac_try
="$ac_link"
41296 case "(($ac_try" in
41297 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
41298 *) ac_try_echo=$ac_try;;
41300 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41301 (eval "$ac_link") 2>conftest.er1
41303 grep -v '^ *+' conftest.er1 >conftest.err
41305 cat conftest.err >&5
41306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41307 (exit $ac_status); } && {
41308 test -z "$ac_c_werror_flag" ||
41309 test ! -s conftest.err
41310 } && test -s conftest$ac_exeext &&
41311 $as_test_x conftest$ac_exeext; then
41312 eval "$as_ac_var=yes"
41314 echo "$as_me: failed program was:" >&5
41315 sed 's/^/| /' conftest.$ac_ext >&5
41317 eval "$as_ac_var=no"
41320 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41321 conftest$ac_exeext conftest.$ac_ext
41323 ac_res=`eval echo '${'$as_ac_var'}'`
41324 { echo "$as_me:$LINENO: result: $ac_res" >&5
41325 echo "${ECHO_T}$ac_res" >&6; }
41326 if test `eval echo '${'$as_ac_var'}'` = yes; then
41327 cat >>confdefs.h <<_ACEOF
41328 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41330 cat >>confdefs.h <<\_ACEOF
41331 #define HAVE_DLERROR 1
41336 { echo "$as_me:$LINENO: checking for dlerror in -ldl" >&5
41337 echo $ECHO_N "checking for dlerror in -ldl... $ECHO_C" >&6; }
41338 if test "${ac_cv_lib_dl_dlerror+set}" = set; then
41339 echo $ECHO_N "(cached) $ECHO_C" >&6
41341 ac_check_lib_save_LIBS=$LIBS
41343 cat >conftest.$ac_ext <<_ACEOF
41346 cat confdefs.h >>conftest.$ac_ext
41347 cat >>conftest.$ac_ext <<_ACEOF
41348 /* end confdefs.h. */
41350 /* Override any GCC internal prototype to avoid an error.
41351 Use char because int might match the return type of a GCC
41352 builtin and then its argument prototype would still apply. */
41365 rm -f conftest.$ac_objext conftest$ac_exeext
41366 if { (ac_try="$ac_link"
41367 case "(($ac_try" in
41368 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
41369 *) ac_try_echo
=$ac_try;;
41371 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41372 (eval "$ac_link") 2>conftest.er1
41374 grep -v '^ *+' conftest.er1
>conftest.err
41376 cat conftest.err
>&5
41377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41378 (exit $ac_status); } && {
41379 test -z "$ac_c_werror_flag" ||
41380 test ! -s conftest.err
41381 } && test -s conftest
$ac_exeext &&
41382 $as_test_x conftest
$ac_exeext; then
41383 ac_cv_lib_dl_dlerror
=yes
41385 echo "$as_me: failed program was:" >&5
41386 sed 's/^/| /' conftest.
$ac_ext >&5
41388 ac_cv_lib_dl_dlerror
=no
41391 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
41392 conftest
$ac_exeext conftest.
$ac_ext
41393 LIBS
=$ac_check_lib_save_LIBS
41395 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlerror" >&5
41396 echo "${ECHO_T}$ac_cv_lib_dl_dlerror" >&6; }
41397 if test $ac_cv_lib_dl_dlerror = yes; then
41398 cat >>confdefs.h
<<\_ACEOF
41399 #define HAVE_DLERROR 1
41412 if test "$HAVE_DL_FUNCS" = 0; then
41413 if test "$HAVE_SHL_FUNCS" = 0; then
41414 if test "$USE_UNIX" = 1 -o "$USE_DOS" = 1; then
41415 { echo "$as_me:$LINENO: WARNING: Missing dynamic loading support, several features will be disabled" >&5
41416 echo "$as_me: WARNING: Missing dynamic loading support, several features will be disabled" >&2;}
41417 wxUSE_DYNAMIC_LOADER
=no
41418 wxUSE_DYNLIB_CLASS
=no
41420 { echo "$as_me:$LINENO: WARNING: Assuming wxLibrary class works on this platform" >&5
41421 echo "$as_me: WARNING: Assuming wxLibrary class works on this platform" >&2;}
41428 if test "$wxUSE_DYNAMIC_LOADER" = "yes" ; then
41429 cat >>confdefs.h
<<\_ACEOF
41430 #define wxUSE_DYNAMIC_LOADER 1
41434 if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
41435 cat >>confdefs.h
<<\_ACEOF
41436 #define wxUSE_DYNLIB_CLASS 1
41443 if test "$wxUSE_PLUGINS" = "yes" ; then
41444 if test "$wxUSE_SHARED" = "no" ; then
41445 { echo "$as_me:$LINENO: WARNING: plugins supported only in shared build, disabling" >&5
41446 echo "$as_me: WARNING: plugins supported only in shared build, disabling" >&2;}
41449 if test "$wxUSE_MONOLITHIC" = "yes" ; then
41450 { echo "$as_me:$LINENO: WARNING: plugins not supported monolithic build, disabling" >&5
41451 echo "$as_me: WARNING: plugins not supported monolithic build, disabling" >&2;}
41454 if test "$wxUSE_DYNLIB_CLASS" = "no" ; then
41455 { echo "$as_me:$LINENO: WARNING: plugins require wxDynamicLibrary, disabling" >&5
41456 echo "$as_me: WARNING: plugins require wxDynamicLibrary, disabling" >&2;}
41459 if test "$wxUSE_PLUGINS" = "yes" ; then
41460 cat >>confdefs.h
<<\_ACEOF
41461 #define wxUSE_PLUGINS 1
41468 if test "$wxUSE_STL" = "yes"; then
41469 cat >>confdefs.h
<<\_ACEOF
41470 #define wxUSE_STL 1
41475 if test "$wxUSE_EXTENDED_RTTI" = "yes"; then
41476 cat >>confdefs.h
<<\_ACEOF
41477 #define wxUSE_EXTENDED_RTTI 1
41482 if test "$wxUSE_APPLE_IEEE" = "yes"; then
41483 cat >>confdefs.h
<<\_ACEOF
41484 #define wxUSE_APPLE_IEEE 1
41489 if test "$wxUSE_TIMER" = "yes"; then
41490 cat >>confdefs.h
<<\_ACEOF
41491 #define wxUSE_TIMER 1
41496 if test "$USE_UNIX" = 1 ; then
41497 if test "$wxUSE_MGL" != 1; then
41498 { echo "$as_me:$LINENO: checking for SNDCTL_DSP_SPEED in sys/soundcard.h" >&5
41499 echo $ECHO_N "checking for SNDCTL_DSP_SPEED in sys/soundcard.h... $ECHO_C" >&6; }
41500 if test "${ac_cv_header_sys_soundcard+set}" = set; then
41501 echo $ECHO_N "(cached) $ECHO_C" >&6
41504 cat >conftest.
$ac_ext <<_ACEOF
41507 cat confdefs.h
>>conftest.
$ac_ext
41508 cat >>conftest.
$ac_ext <<_ACEOF
41509 /* end confdefs.h. */
41511 #include <sys/ioctl.h>
41512 #include <sys/soundcard.h>
41518 ioctl(0, SNDCTL_DSP_SPEED, 0);
41524 rm -f conftest.
$ac_objext conftest
$ac_exeext
41525 if { (ac_try
="$ac_link"
41526 case "(($ac_try" in
41527 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
41528 *) ac_try_echo=$ac_try;;
41530 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41531 (eval "$ac_link") 2>conftest.er1
41533 grep -v '^ *+' conftest.er1 >conftest.err
41535 cat conftest.err >&5
41536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41537 (exit $ac_status); } && {
41538 test -z "$ac_c_werror_flag" ||
41539 test ! -s conftest.err
41540 } && test -s conftest$ac_exeext &&
41541 $as_test_x conftest$ac_exeext; then
41542 ac_cv_header_sys_soundcard=yes
41544 echo "$as_me: failed program was:" >&5
41545 sed 's/^/| /' conftest.$ac_ext >&5
41549 LIBS="$saveLibs -lossaudio"
41550 cat >conftest.$ac_ext <<_ACEOF
41553 cat confdefs.h >>conftest.$ac_ext
41554 cat >>conftest.$ac_ext <<_ACEOF
41555 /* end confdefs.h. */
41557 #include <sys/ioctl.h>
41558 #include <sys/soundcard.h>
41564 ioctl(0, SNDCTL_DSP_SPEED, 0);
41570 rm -f conftest.$ac_objext conftest$ac_exeext
41571 if { (ac_try="$ac_link"
41572 case "(($ac_try" in
41573 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
41574 *) ac_try_echo
=$ac_try;;
41576 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41577 (eval "$ac_link") 2>conftest.er1
41579 grep -v '^ *+' conftest.er1
>conftest.err
41581 cat conftest.err
>&5
41582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41583 (exit $ac_status); } && {
41584 test -z "$ac_c_werror_flag" ||
41585 test ! -s conftest.err
41586 } && test -s conftest
$ac_exeext &&
41587 $as_test_x conftest
$ac_exeext; then
41588 ac_cv_header_sys_soundcard
=yes
41590 echo "$as_me: failed program was:" >&5
41591 sed 's/^/| /' conftest.
$ac_ext >&5
41595 ac_cv_header_sys_soundcard
=no
41600 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
41601 conftest
$ac_exeext conftest.
$ac_ext
41606 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
41607 conftest
$ac_exeext conftest.
$ac_ext
41610 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_soundcard" >&5
41611 echo "${ECHO_T}$ac_cv_header_sys_soundcard" >&6; }
41614 if test "$ac_cv_header_sys_soundcard" = "yes"; then
41615 cat >>confdefs.h
<<\_ACEOF
41616 #define HAVE_SYS_SOUNDCARD_H 1
41623 if test "$wxUSE_SOUND" = "yes"; then
41624 if test "$USE_UNIX" = 1 ; then
41625 if test "$wxUSE_LIBSDL" != "no"; then
41627 # Check whether --with-sdl-prefix was given.
41628 if test "${with_sdl_prefix+set}" = set; then
41629 withval
=$with_sdl_prefix; sdl_prefix
="$withval"
41635 # Check whether --with-sdl-exec-prefix was given.
41636 if test "${with_sdl_exec_prefix+set}" = set; then
41637 withval
=$with_sdl_exec_prefix; sdl_exec_prefix
="$withval"
41642 # Check whether --enable-sdltest was given.
41643 if test "${enable_sdltest+set}" = set; then
41644 enableval
=$enable_sdltest;
41650 if test x
$sdl_exec_prefix != x
; then
41651 sdl_args
="$sdl_args --exec-prefix=$sdl_exec_prefix"
41652 if test x
${SDL_CONFIG+set} != xset
; then
41653 SDL_CONFIG
=$sdl_exec_prefix/bin
/sdl
-config
41656 if test x
$sdl_prefix != x
; then
41657 sdl_args
="$sdl_args --prefix=$sdl_prefix"
41658 if test x
${SDL_CONFIG+set} != xset
; then
41659 SDL_CONFIG
=$sdl_prefix/bin
/sdl
-config
41663 if test "x$prefix" != xNONE
; then
41664 PATH
="$prefix/bin:$prefix/usr/bin:$PATH"
41666 # Extract the first word of "sdl-config", so it can be a program name with args.
41667 set dummy sdl
-config; ac_word
=$2
41668 { echo "$as_me:$LINENO: checking for $ac_word" >&5
41669 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
41670 if test "${ac_cv_path_SDL_CONFIG+set}" = set; then
41671 echo $ECHO_N "(cached) $ECHO_C" >&6
41673 case $SDL_CONFIG in
41675 ac_cv_path_SDL_CONFIG
="$SDL_CONFIG" # Let the user override the test with a path.
41678 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
41679 for as_dir
in $PATH
41682 test -z "$as_dir" && as_dir
=.
41683 for ac_exec_ext
in '' $ac_executable_extensions; do
41684 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
41685 ac_cv_path_SDL_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
41686 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
41693 test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG
="no"
41697 SDL_CONFIG
=$ac_cv_path_SDL_CONFIG
41698 if test -n "$SDL_CONFIG"; then
41699 { echo "$as_me:$LINENO: result: $SDL_CONFIG" >&5
41700 echo "${ECHO_T}$SDL_CONFIG" >&6; }
41702 { echo "$as_me:$LINENO: result: no" >&5
41703 echo "${ECHO_T}no" >&6; }
41707 min_sdl_version
=1.2.0
41708 { echo "$as_me:$LINENO: checking for SDL - version >= $min_sdl_version" >&5
41709 echo $ECHO_N "checking for SDL - version >= $min_sdl_version... $ECHO_C" >&6; }
41711 if test "$SDL_CONFIG" = "no" ; then
41714 SDL_CFLAGS
=`$SDL_CONFIG $sdlconf_args --cflags`
41715 SDL_LIBS
=`$SDL_CONFIG $sdlconf_args --libs`
41717 sdl_major_version
=`$SDL_CONFIG $sdl_args --version | \
41718 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
41719 sdl_minor_version
=`$SDL_CONFIG $sdl_args --version | \
41720 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
41721 sdl_micro_version
=`$SDL_CONFIG $sdl_config_args --version | \
41722 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
41723 if test "x$enable_sdltest" = "xyes" ; then
41724 ac_save_CFLAGS
="$CFLAGS"
41725 ac_save_CXXFLAGS
="$CXXFLAGS"
41726 ac_save_LIBS
="$LIBS"
41727 CFLAGS
="$CFLAGS $SDL_CFLAGS"
41728 CXXFLAGS
="$CXXFLAGS $SDL_CFLAGS"
41729 LIBS
="$LIBS $SDL_LIBS"
41731 if test "$cross_compiling" = yes; then
41732 echo $ac_n "cross compiling; assumed OK... $ac_c"
41734 cat >conftest.
$ac_ext <<_ACEOF
41737 cat confdefs.h
>>conftest.
$ac_ext
41738 cat >>conftest.
$ac_ext <<_ACEOF
41739 /* end confdefs.h. */
41742 #include <stdlib.h>
41743 #include <string.h>
41747 my_strdup (char *str)
41753 new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
41754 strcpy (new_str, str);
41762 int main (int argc, char *argv[])
41764 int major, minor, micro;
41767 /* This hangs on some systems (?)
41768 system ("touch conf.sdltest");
41770 { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
41772 /* HP/UX 9 (%@#!) writes to sscanf strings */
41773 tmp_version = my_strdup("$min_sdl_version");
41774 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
41775 printf("%s, bad version string\n", "$min_sdl_version");
41779 if (($sdl_major_version > major) ||
41780 (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
41781 (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
41787 printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
41788 printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
41789 printf("*** best to upgrade to the required version.\n");
41790 printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
41791 printf("*** to point to the correct copy of sdl-config, and remove the file\n");
41792 printf("*** config.cache before re-running configure\n");
41799 rm -f conftest
$ac_exeext
41800 if { (ac_try
="$ac_link"
41801 case "(($ac_try" in
41802 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
41803 *) ac_try_echo=$ac_try;;
41805 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41806 (eval "$ac_link") 2>&5
41808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41809 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
41810 { (case "(($ac_try" in
41811 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
41812 *) ac_try_echo
=$ac_try;;
41814 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41815 (eval "$ac_try") 2>&5
41817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41818 (exit $ac_status); }; }; then
41821 echo "$as_me: program exited with status $ac_status" >&5
41822 echo "$as_me: failed program was:" >&5
41823 sed 's/^/| /' conftest.
$ac_ext >&5
41825 ( exit $ac_status )
41828 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
41832 CFLAGS
="$ac_save_CFLAGS"
41833 CXXFLAGS
="$ac_save_CXXFLAGS"
41834 LIBS
="$ac_save_LIBS"
41837 if test "x$no_sdl" = x
; then
41838 { echo "$as_me:$LINENO: result: yes" >&5
41839 echo "${ECHO_T}yes" >&6; }
41841 EXTRALIBS_SDL
="$SDL_LIBS"
41842 CFLAGS
="$SDL_CFLAGS $CFLAGS"
41843 CXXFLAGS
="$SDL_CFLAGS $CXXFLAGS"
41844 cat >>confdefs.h
<<\_ACEOF
41845 #define wxUSE_LIBSDL 1
41850 { echo "$as_me:$LINENO: result: no" >&5
41851 echo "${ECHO_T}no" >&6; }
41852 if test "$SDL_CONFIG" = "no" ; then
41853 echo "*** The sdl-config script installed by SDL could not be found"
41854 echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
41855 echo "*** your path, or set the SDL_CONFIG environment variable to the"
41856 echo "*** full path to sdl-config."
41858 if test -f conf.sdltest
; then
41861 echo "*** Could not run SDL test program, checking why..."
41862 CFLAGS
="$CFLAGS $SDL_CFLAGS"
41863 CXXFLAGS
="$CXXFLAGS $SDL_CFLAGS"
41864 LIBS
="$LIBS $SDL_LIBS"
41865 cat >conftest.
$ac_ext <<_ACEOF
41868 cat confdefs.h
>>conftest.
$ac_ext
41869 cat >>conftest.
$ac_ext <<_ACEOF
41870 /* end confdefs.h. */
41875 int main(int argc, char *argv[])
41878 #define main K_and_R_C_main
41888 rm -f conftest.
$ac_objext conftest
$ac_exeext
41889 if { (ac_try
="$ac_link"
41890 case "(($ac_try" in
41891 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
41892 *) ac_try_echo=$ac_try;;
41894 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41895 (eval "$ac_link") 2>conftest.er1
41897 grep -v '^ *+' conftest.er1 >conftest.err
41899 cat conftest.err >&5
41900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41901 (exit $ac_status); } && {
41902 test -z "$ac_c_werror_flag" ||
41903 test ! -s conftest.err
41904 } && test -s conftest$ac_exeext &&
41905 $as_test_x conftest$ac_exeext; then
41906 echo "*** The test program compiled, but did not run. This usually means"
41907 echo "*** that the run-time linker is not finding SDL or finding the wrong"
41908 echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
41909 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
41910 echo "*** to the installed location Also, make sure you have run ldconfig if that"
41911 echo "*** is required on your system"
41913 echo "*** If you have an old version installed, it is best to remove it, although"
41914 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
41916 echo "$as_me: failed program was:" >&5
41917 sed 's/^/| /' conftest.$ac_ext >&5
41919 echo "*** The test program failed to compile or link. See the file config.log for the"
41920 echo "*** exact error that occured. This usually means SDL was incorrectly installed"
41921 echo "*** or that you have moved SDL since it was installed. In the latter case, you"
41922 echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
41925 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41926 conftest$ac_exeext conftest.$ac_ext
41927 CFLAGS="$ac_save_CFLAGS"
41928 CXXFLAGS="$ac_save_CXXFLAGS"
41929 LIBS="$ac_save_LIBS"
41940 if test "$wxUSE_LIBSDL" = "yes" -a "$wxUSE_PLUGINS" = "yes" ; then
41945 if test "$wxUSE_MGL" = 1; then
41946 { echo "$as_me:$LINENO: WARNING: wxSound not supported in MGL under DOS... disabled" >&5
41947 echo "$as_me: WARNING: wxSound not supported in MGL under DOS... disabled" >&2;}
41953 if test "$wxUSE_SOUND" = "yes"; then
41954 cat >>confdefs.h <<\_ACEOF
41955 #define wxUSE_SOUND 1
41958 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sound"
41961 if test "$WXGTK2" = 1; then
41964 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
41965 if test -n "$ac_tool_prefix"; then
41966 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
41967 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
41968 { echo "$as_me:$LINENO: checking for $ac_word" >&5
41969 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
41970 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
41971 echo $ECHO_N "(cached) $ECHO_C" >&6
41973 case $PKG_CONFIG in
41975 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
41978 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
41979 for as_dir in $PATH
41982 test -z "$as_dir" && as_dir=.
41983 for ac_exec_ext in '' $ac_executable_extensions; do
41984 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
41985 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
41986 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
41996 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
41997 if test -n "$PKG_CONFIG"; then
41998 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
41999 echo "${ECHO_T}$PKG_CONFIG" >&6; }
42001 { echo "$as_me:$LINENO: result: no" >&5
42002 echo "${ECHO_T}no" >&6; }
42007 if test -z "$ac_cv_path_PKG_CONFIG"; then
42008 ac_pt_PKG_CONFIG=$PKG_CONFIG
42009 # Extract the first word of "pkg-config", so it can be a program name with args.
42010 set dummy pkg-config; ac_word=$2
42011 { echo "$as_me:$LINENO: checking for $ac_word" >&5
42012 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
42013 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
42014 echo $ECHO_N "(cached) $ECHO_C" >&6
42016 case $ac_pt_PKG_CONFIG in
42018 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
42021 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
42022 for as_dir in $PATH
42025 test -z "$as_dir" && as_dir=.
42026 for ac_exec_ext in '' $ac_executable_extensions; do
42027 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
42028 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
42029 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
42039 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
42040 if test -n "$ac_pt_PKG_CONFIG"; then
42041 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
42042 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
42044 { echo "$as_me:$LINENO: result: no" >&5
42045 echo "${ECHO_T}no" >&6; }
42048 if test "x$ac_pt_PKG_CONFIG" = x; then
42051 case $cross_compiling:$ac_tool_warned in
42053 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
42054 whose name does not start with the host triplet. If you think this
42055 configuration is useful to you, please write to autoconf@gnu.org." >&5
42056 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
42057 whose name does not start with the host triplet. If you think this
42058 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
42059 ac_tool_warned=yes ;;
42061 PKG_CONFIG=$ac_pt_PKG_CONFIG
42064 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
42068 if test -n "$PKG_CONFIG"; then
42069 _pkg_min_version=0.9.0
42070 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
42071 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
42072 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
42073 { echo "$as_me:$LINENO: result: yes" >&5
42074 echo "${ECHO_T}yes" >&6; }
42076 { echo "$as_me:$LINENO: result: no" >&5
42077 echo "${ECHO_T}no" >&6; }
42083 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
42085 if test "$wxUSE_GTKPRINT" = "yes" ; then
42089 { echo "$as_me:$LINENO: checking for GTKPRINT" >&5
42090 echo $ECHO_N "checking for GTKPRINT... $ECHO_C" >&6; }
42092 if test -n "$PKG_CONFIG"; then
42093 if test -n "$GTKPRINT_CFLAGS"; then
42094 pkg_cv_GTKPRINT_CFLAGS="$GTKPRINT_CFLAGS"
42096 if test -n "$PKG_CONFIG" && \
42097 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtk+-unix-print-2.0 >= 2.10\"") >&5
42098 ($PKG_CONFIG --exists --print-errors "gtk+-unix-print-2.0 >= 2.10") 2>&5
42100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42101 (exit $ac_status); }; then
42102 pkg_cv_GTKPRINT_CFLAGS=`$PKG_CONFIG --cflags "gtk+-unix-print-2.0 >= 2.10" 2>/dev
/null
`
42110 if test -n "$PKG_CONFIG"; then
42111 if test -n "$GTKPRINT_LIBS"; then
42112 pkg_cv_GTKPRINT_LIBS="$GTKPRINT_LIBS"
42114 if test -n "$PKG_CONFIG" && \
42115 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtk+-unix-print-2.0 >= 2.10\"") >&5
42116 ($PKG_CONFIG --exists --print-errors "gtk+-unix-print-2.0 >= 2.10") 2>&5
42118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42119 (exit $ac_status); }; then
42120 pkg_cv_GTKPRINT_LIBS=`$PKG_CONFIG --libs "gtk+-unix-print-2.0 >= 2.10" 2>/dev
/null
`
42131 if test $pkg_failed = yes; then
42133 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
42134 _pkg_short_errors_supported=yes
42136 _pkg_short_errors_supported=no
42138 if test $_pkg_short_errors_supported = yes; then
42139 GTKPRINT_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gtk+-unix-print-2.0 >= 2.10"`
42141 GTKPRINT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gtk+-unix-print-2.0 >= 2.10"`
42143 # Put the nasty error message in config.log where it belongs
42144 echo "$GTKPRINT_PKG_ERRORS" >&5
42147 { echo "$as_me:$LINENO: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&5
42148 echo "$as_me: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&2;}
42149 wxUSE_GTKPRINT="no"
42152 elif test $pkg_failed = untried; then
42154 { echo "$as_me:$LINENO: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&5
42155 echo "$as_me: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&2;}
42156 wxUSE_GTKPRINT="no"
42160 GTKPRINT_CFLAGS=$pkg_cv_GTKPRINT_CFLAGS
42161 GTKPRINT_LIBS=$pkg_cv_GTKPRINT_LIBS
42162 { echo "$as_me:$LINENO: result: yes" >&5
42163 echo "${ECHO_T}yes" >&6; }
42165 CFLAGS="$GTKPRINT_CFLAGS $CFLAGS"
42166 CXXFLAGS="$GTKPRINT_CFLAGS $CXXFLAGS"
42167 cat >>confdefs.h <<\_ACEOF
42168 #define wxUSE_GTKPRINT 1
42175 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
42179 { echo "$as_me:$LINENO: checking for LIBGNOMEPRINTUI" >&5
42180 echo $ECHO_N "checking for LIBGNOMEPRINTUI... $ECHO_C" >&6; }
42182 if test -n "$PKG_CONFIG"; then
42183 if test -n "$LIBGNOMEPRINTUI_CFLAGS"; then
42184 pkg_cv_LIBGNOMEPRINTUI_CFLAGS="$LIBGNOMEPRINTUI_CFLAGS"
42186 if test -n "$PKG_CONFIG" && \
42187 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
42188 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
42190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42191 (exit $ac_status); }; then
42192 pkg_cv_LIBGNOMEPRINTUI_CFLAGS=`$PKG_CONFIG --cflags "libgnomeprintui-2.2 >= 2.8" 2>/dev
/null
`
42200 if test -n "$PKG_CONFIG"; then
42201 if test -n "$LIBGNOMEPRINTUI_LIBS"; then
42202 pkg_cv_LIBGNOMEPRINTUI_LIBS="$LIBGNOMEPRINTUI_LIBS"
42204 if test -n "$PKG_CONFIG" && \
42205 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
42206 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
42208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42209 (exit $ac_status); }; then
42210 pkg_cv_LIBGNOMEPRINTUI_LIBS=`$PKG_CONFIG --libs "libgnomeprintui-2.2 >= 2.8" 2>/dev
/null
`
42221 if test $pkg_failed = yes; then
42223 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
42224 _pkg_short_errors_supported=yes
42226 _pkg_short_errors_supported=no
42228 if test $_pkg_short_errors_supported = yes; then
42229 LIBGNOMEPRINTUI_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
42231 LIBGNOMEPRINTUI_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
42233 # Put the nasty error message in config.log where it belongs
42234 echo "$LIBGNOMEPRINTUI_PKG_ERRORS" >&5
42237 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
42238 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
42239 wxUSE_LIBGNOMEPRINT="no"
42242 elif test $pkg_failed = untried; then
42244 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
42245 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
42246 wxUSE_LIBGNOMEPRINT="no"
42250 LIBGNOMEPRINTUI_CFLAGS=$pkg_cv_LIBGNOMEPRINTUI_CFLAGS
42251 LIBGNOMEPRINTUI_LIBS=$pkg_cv_LIBGNOMEPRINTUI_LIBS
42252 { echo "$as_me:$LINENO: result: yes" >&5
42253 echo "${ECHO_T}yes" >&6; }
42255 CFLAGS="$LIBGNOMEPRINTUI_CFLAGS $CFLAGS"
42256 CXXFLAGS="$LIBGNOMEPRINTUI_CFLAGS $CXXFLAGS"
42257 cat >>confdefs.h <<\_ACEOF
42258 #define wxUSE_LIBGNOMEPRINT 1
42266 if test "$wxUSE_MIMETYPE" = "yes" ; then
42267 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
42271 { echo "$as_me:$LINENO: checking for GNOMEVFS" >&5
42272 echo $ECHO_N "checking for GNOMEVFS... $ECHO_C" >&6; }
42274 if test -n "$PKG_CONFIG"; then
42275 if test -n "$GNOMEVFS_CFLAGS"; then
42276 pkg_cv_GNOMEVFS_CFLAGS="$GNOMEVFS_CFLAGS"
42278 if test -n "$PKG_CONFIG" && \
42279 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
42280 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
42282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42283 (exit $ac_status); }; then
42284 pkg_cv_GNOMEVFS_CFLAGS=`$PKG_CONFIG --cflags "gnome-vfs-2.0 >= 2.0" 2>/dev
/null
`
42292 if test -n "$PKG_CONFIG"; then
42293 if test -n "$GNOMEVFS_LIBS"; then
42294 pkg_cv_GNOMEVFS_LIBS="$GNOMEVFS_LIBS"
42296 if test -n "$PKG_CONFIG" && \
42297 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
42298 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
42300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42301 (exit $ac_status); }; then
42302 pkg_cv_GNOMEVFS_LIBS=`$PKG_CONFIG --libs "gnome-vfs-2.0 >= 2.0" 2>/dev
/null
`
42313 if test $pkg_failed = yes; then
42315 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
42316 _pkg_short_errors_supported=yes
42318 _pkg_short_errors_supported=no
42320 if test $_pkg_short_errors_supported = yes; then
42321 GNOMEVFS_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
42323 GNOMEVFS_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
42325 # Put the nasty error message in config.log where it belongs
42326 echo "$GNOMEVFS_PKG_ERRORS" >&5
42329 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
42330 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
42331 wxUSE_LIBGNOMEVFS="no"
42334 elif test $pkg_failed = untried; then
42336 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
42337 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
42338 wxUSE_LIBGNOMEVFS="no"
42342 GNOMEVFS_CFLAGS=$pkg_cv_GNOMEVFS_CFLAGS
42343 GNOMEVFS_LIBS=$pkg_cv_GNOMEVFS_LIBS
42344 { echo "$as_me:$LINENO: result: yes" >&5
42345 echo "${ECHO_T}yes" >&6; }
42347 CFLAGS="$GNOMEVFS_CFLAGS $CFLAGS"
42348 CXXFLAGS="$GNOMEVFS_CFLAGS $CXXFLAGS"
42349 cat >>confdefs.h <<\_ACEOF
42350 #define wxUSE_LIBGNOMEVFS 1
42358 if test "$wxUSE_LIBHILDON" = "yes" ; then
42361 { echo "$as_me:$LINENO: checking for HILDON" >&5
42362 echo $ECHO_N "checking for HILDON... $ECHO_C" >&6; }
42364 if test -n "$PKG_CONFIG"; then
42365 if test -n "$HILDON_CFLAGS"; then
42366 pkg_cv_HILDON_CFLAGS="$HILDON_CFLAGS"
42368 if test -n "$PKG_CONFIG" && \
42369 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
42370 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
42372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42373 (exit $ac_status); }; then
42374 pkg_cv_HILDON_CFLAGS=`$PKG_CONFIG --cflags "hildon-lgpl >= 0.9" 2>/dev
/null
`
42382 if test -n "$PKG_CONFIG"; then
42383 if test -n "$HILDON_LIBS"; then
42384 pkg_cv_HILDON_LIBS="$HILDON_LIBS"
42386 if test -n "$PKG_CONFIG" && \
42387 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
42388 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
42390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42391 (exit $ac_status); }; then
42392 pkg_cv_HILDON_LIBS=`$PKG_CONFIG --libs "hildon-lgpl >= 0.9" 2>/dev
/null
`
42403 if test $pkg_failed = yes; then
42405 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
42406 _pkg_short_errors_supported=yes
42408 _pkg_short_errors_supported=no
42410 if test $_pkg_short_errors_supported = yes; then
42411 HILDON_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
42413 HILDON_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
42415 # Put the nasty error message in config.log where it belongs
42416 echo "$HILDON_PKG_ERRORS" >&5
42419 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
42420 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
42421 wxUSE_LIBHILDON="no"
42424 elif test $pkg_failed = untried; then
42426 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
42427 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
42428 wxUSE_LIBHILDON="no"
42432 HILDON_CFLAGS=$pkg_cv_HILDON_CFLAGS
42433 HILDON_LIBS=$pkg_cv_HILDON_LIBS
42434 { echo "$as_me:$LINENO: result: yes" >&5
42435 echo "${ECHO_T}yes" >&6; }
42437 EXTRALIBS_HILDON="$HILDON_LIBS"
42438 CFLAGS="$CFLAGS $HILDON_CFLAGS"
42439 CXXFLAGS="$CXXFLAGS $HILDON_CFLAGS"
42440 cat >>confdefs.h <<\_ACEOF
42441 #define wxUSE_LIBHILDON 1
42449 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
42450 cat >>confdefs.h <<\_ACEOF
42451 #define wxUSE_CMDLINE_PARSER 1
42456 if test "$wxUSE_STOPWATCH" = "yes"; then
42457 cat >>confdefs.h <<\_ACEOF
42458 #define wxUSE_STOPWATCH 1
42463 if test "$wxUSE_DATETIME" = "yes"; then
42464 cat >>confdefs.h <<\_ACEOF
42465 #define wxUSE_DATETIME 1
42470 if test "$wxUSE_FILE" = "yes"; then
42471 cat >>confdefs.h <<\_ACEOF
42472 #define wxUSE_FILE 1
42477 if test "$wxUSE_FFILE" = "yes"; then
42478 cat >>confdefs.h <<\_ACEOF
42479 #define wxUSE_FFILE 1
42484 if test "$wxUSE_ARCHIVE_STREAMS" = "yes"; then
42485 if test "$wxUSE_STREAMS" != yes; then
42486 { echo "$as_me:$LINENO: WARNING: wxArchive requires wxStreams... disabled" >&5
42487 echo "$as_me: WARNING: wxArchive requires wxStreams... disabled" >&2;}
42488 wxUSE_ARCHIVE_STREAMS=no
42490 cat >>confdefs.h <<\_ACEOF
42491 #define wxUSE_ARCHIVE_STREAMS 1
42497 if test "$wxUSE_ZIPSTREAM" = "yes"; then
42498 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
42499 { echo "$as_me:$LINENO: WARNING: wxZip requires wxArchive... disabled" >&5
42500 echo "$as_me: WARNING: wxZip requires wxArchive... disabled" >&2;}
42501 elif test "$wxUSE_ZLIB" = "no"; then
42502 { echo "$as_me:$LINENO: WARNING: wxZip requires wxZlib... disabled" >&5
42503 echo "$as_me: WARNING: wxZip requires wxZlib... disabled" >&2;}
42505 cat >>confdefs.h <<\_ACEOF
42506 #define wxUSE_ZIPSTREAM 1
42512 if test "$wxUSE_TARSTREAM" = "yes"; then
42513 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
42514 { echo "$as_me:$LINENO: WARNING: wxTar requires wxArchive... disabled" >&5
42515 echo "$as_me: WARNING: wxTar requires wxArchive... disabled" >&2;}
42517 cat >>confdefs.h <<\_ACEOF
42518 #define wxUSE_TARSTREAM 1
42524 if test "$wxUSE_FILESYSTEM" = "yes"; then
42525 if test "$wxUSE_STREAMS" != yes -o \( "$wxUSE_FILE" != yes -a "$wxUSE_FFILE" != yes \); then
42526 { echo "$as_me:$LINENO: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&5
42527 echo "$as_me: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&2;}
42528 wxUSE_FILESYSTEM=no
42530 cat >>confdefs.h <<\_ACEOF
42531 #define wxUSE_FILESYSTEM 1
42537 if test "$wxUSE_FS_ARCHIVE" = "yes"; then
42538 if test "$wxUSE_FILESYSTEM" != yes -o "$wxUSE_ARCHIVE_STREAMS" != yes; then
42539 { echo "$as_me:$LINENO: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&5
42540 echo "$as_me: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&2;}
42542 cat >>confdefs.h <<\_ACEOF
42543 #define wxUSE_FS_ARCHIVE 1
42549 if test "$wxUSE_FS_ZIP" = "yes"; then
42550 if test "$wxUSE_FS_ARCHIVE" != yes; then
42551 { echo "$as_me:$LINENO: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&5
42552 echo "$as_me: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&2;}
42554 cat >>confdefs.h <<\_ACEOF
42555 #define wxUSE_FS_ZIP 1
42561 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
42562 if test "$USE_UNIX" != 1; then
42563 { echo "$as_me:$LINENO: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&5
42564 echo "$as_me: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&2;}
42565 wxUSE_ON_FATAL_EXCEPTION=no
42567 cat >>confdefs.h <<\_ACEOF
42568 #define wxUSE_ON_FATAL_EXCEPTION 1
42574 if test "$wxUSE_STACKWALKER" = "yes"; then
42575 cat >>confdefs.h <<\_ACEOF
42576 #define wxUSE_STACKWALKER 1
42581 if test "$wxUSE_DEBUGREPORT" = "yes"; then
42582 if test "$USE_UNIX" != 1 -a "$USE_WIN32" != 1; then
42583 { echo "$as_me:$LINENO: WARNING: Creating debug reports not currently supported on this system, disabled" >&5
42584 echo "$as_me: WARNING: Creating debug reports not currently supported on this system, disabled" >&2;}
42585 wxUSE_DEBUGREPORT=no
42587 cat >>confdefs.h <<\_ACEOF
42588 #define wxUSE_DEBUGREPORT 1
42591 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
42592 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS debugrpt"
42597 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
42598 cat >>confdefs.h <<\_ACEOF
42599 #define wxUSE_SNGLINST_CHECKER 1
42604 if test "$wxUSE_BUSYINFO" = "yes"; then
42605 cat >>confdefs.h <<\_ACEOF
42606 #define wxUSE_BUSYINFO 1
42611 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
42612 cat >>confdefs.h <<\_ACEOF
42613 #define wxUSE_STD_IOSTREAM 1
42618 if test "$wxUSE_STD_STRING" = "yes"; then
42619 cat >>confdefs.h <<\_ACEOF
42620 #define wxUSE_STD_STRING 1
42625 if test "$wxUSE_STDPATHS" = "yes"; then
42626 cat >>confdefs.h <<\_ACEOF
42627 #define wxUSE_STDPATHS 1
42632 if test "$wxUSE_TEXTBUFFER" = "yes"; then
42633 cat >>confdefs.h <<\_ACEOF
42634 #define wxUSE_TEXTBUFFER 1
42639 if test "$wxUSE_TEXTFILE" = "yes"; then
42640 if test "$wxUSE_FILE" != "yes" -o "$wxUSE_TEXTBUFFER" != "yes" ; then
42641 { echo "$as_me:$LINENO: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&5
42642 echo "$as_me: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&2;}
42644 cat >>confdefs.h <<\_ACEOF
42645 #define wxUSE_TEXTFILE 1
42651 if test "$wxUSE_CONFIG" = "yes" ; then
42652 if test "$wxUSE_TEXTFILE" != "yes"; then
42653 { echo "$as_me:$LINENO: WARNING: wxConfig requires wxTextFile... disabled" >&5
42654 echo "$as_me: WARNING: wxConfig requires wxTextFile... disabled" >&2;}
42656 cat >>confdefs.h <<\_ACEOF
42657 #define wxUSE_CONFIG 1
42660 cat >>confdefs.h <<\_ACEOF
42661 #define wxUSE_CONFIG_NATIVE 1
42664 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS config"
42668 if test "$wxUSE_INTL" = "yes" ; then
42669 if test "$wxUSE_FILE" != "yes"; then
42670 { echo "$as_me:$LINENO: WARNING: I18n code requires wxFile... disabled" >&5
42671 echo "$as_me: WARNING: I18n code requires wxFile... disabled" >&2;}
42673 cat >>confdefs.h <<\_ACEOF
42674 #define wxUSE_INTL 1
42677 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS internat"
42678 GUIDIST="$GUIDIST INTL_DIST"
42682 if test "$wxUSE_LOG" = "yes"; then
42683 cat >>confdefs.h <<\_ACEOF
42684 #define wxUSE_LOG 1
42688 if test "$wxUSE_LOGGUI" = "yes"; then
42689 cat >>confdefs.h <<\_ACEOF
42690 #define wxUSE_LOGGUI 1
42695 if test "$wxUSE_LOGWINDOW" = "yes"; then
42696 cat >>confdefs.h <<\_ACEOF
42697 #define wxUSE_LOGWINDOW 1
42702 if test "$wxUSE_LOGDIALOG" = "yes"; then
42703 cat >>confdefs.h <<\_ACEOF
42704 #define wxUSE_LOG_DIALOG 1
42709 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS keyboard"
42712 if test "$wxUSE_LONGLONG" = "yes"; then
42713 cat >>confdefs.h <<\_ACEOF
42714 #define wxUSE_LONGLONG 1
42719 if test "$wxUSE_GEOMETRY" = "yes"; then
42720 cat >>confdefs.h <<\_ACEOF
42721 #define wxUSE_GEOMETRY 1
42726 if test "$wxUSE_BASE64" = "yes"; then
42727 cat >>confdefs.h <<\_ACEOF
42728 #define wxUSE_BASE64 1
42733 if test "$wxUSE_STREAMS" = "yes" ; then
42734 cat >>confdefs.h <<\_ACEOF
42735 #define wxUSE_STREAMS 1
42740 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
42741 cat >>confdefs.h <<\_ACEOF
42742 #define wxUSE_PRINTF_POS_PARAMS 1
42747 if test "$wxUSE_OBJC_UNIQUIFYING" = "yes"; then
42748 cat >>confdefs.h <<\_ACEOF
42749 #define wxUSE_OBJC_UNIQUIFYING 1
42755 if test "$wxUSE_CONSOLE_EVENTLOOP" = "yes"; then
42756 cat >>confdefs.h <<\_ACEOF
42757 #define wxUSE_CONSOLE_EVENTLOOP 1
42761 if test "$wxUSE_UNIX" = "yes"; then
42762 if test "$wxUSE_SELECT_DISPATCHER" = "yes"; then
42763 cat >>confdefs.h <<\_ACEOF
42764 #define wxUSE_SELECT_DISPATCHER 1
42769 if test "$wxUSE_EPOLL_DISPATCHER" = "yes"; then
42771 for ac_header in sys/epoll.h
42773 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
42774 { echo "$as_me:$LINENO: checking for $ac_header" >&5
42775 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
42776 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
42777 echo $ECHO_N "(cached) $ECHO_C" >&6
42779 cat >conftest.$ac_ext <<_ACEOF
42782 cat confdefs.h >>conftest.$ac_ext
42783 cat >>conftest.$ac_ext <<_ACEOF
42784 /* end confdefs.h. */
42785 $ac_includes_default
42787 #include <$ac_header>
42789 rm -f conftest.$ac_objext
42790 if { (ac_try="$ac_compile"
42791 case "(($ac_try" in
42792 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
42793 *) ac_try_echo
=$ac_try;;
42795 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42796 (eval "$ac_compile") 2>conftest.er1
42798 grep -v '^ *+' conftest.er1
>conftest.err
42800 cat conftest.err
>&5
42801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42802 (exit $ac_status); } && {
42803 test -z "$ac_c_werror_flag" ||
42804 test ! -s conftest.err
42805 } && test -s conftest.
$ac_objext; then
42806 eval "$as_ac_Header=yes"
42808 echo "$as_me: failed program was:" >&5
42809 sed 's/^/| /' conftest.
$ac_ext >&5
42811 eval "$as_ac_Header=no"
42814 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
42816 ac_res
=`eval echo '${'$as_ac_Header'}'`
42817 { echo "$as_me:$LINENO: result: $ac_res" >&5
42818 echo "${ECHO_T}$ac_res" >&6; }
42819 if test `eval echo '${'$as_ac_Header'}'` = yes; then
42820 cat >>confdefs.h
<<_ACEOF
42821 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
42828 if test "$ac_cv_header_sys_epoll_h" = "yes"; then
42829 cat >>confdefs.h
<<\_ACEOF
42830 #define wxUSE_EPOLL_DISPATCHER 1
42834 { echo "$as_me:$LINENO: WARNING: sys/epoll.h not available, wxEpollDispatcher disabled" >&5
42835 echo "$as_me: WARNING: sys/epoll.h not available, wxEpollDispatcher disabled" >&2;}
42844 for ac_func
in gettimeofday ftime
42846 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42847 { echo "$as_me:$LINENO: checking for $ac_func" >&5
42848 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
42849 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
42850 echo $ECHO_N "(cached) $ECHO_C" >&6
42852 cat >conftest.
$ac_ext <<_ACEOF
42855 cat confdefs.h
>>conftest.
$ac_ext
42856 cat >>conftest.
$ac_ext <<_ACEOF
42857 /* end confdefs.h. */
42858 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42859 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42860 #define $ac_func innocuous_$ac_func
42862 /* System header to define __stub macros and hopefully few prototypes,
42863 which can conflict with char $ac_func (); below.
42864 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42865 <limits.h> exists even on freestanding compilers. */
42868 # include <limits.h>
42870 # include <assert.h>
42875 /* Override any GCC internal prototype to avoid an error.
42876 Use char because int might match the return type of a GCC
42877 builtin and then its argument prototype would still apply. */
42882 /* The GNU C library defines this for functions which it implements
42883 to always fail with ENOSYS. Some functions are actually named
42884 something starting with __ and the normal name is an alias. */
42885 #if defined __stub_$ac_func || defined __stub___$ac_func
42892 return $ac_func ();
42897 rm -f conftest.
$ac_objext conftest
$ac_exeext
42898 if { (ac_try
="$ac_link"
42899 case "(($ac_try" in
42900 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
42901 *) ac_try_echo=$ac_try;;
42903 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42904 (eval "$ac_link") 2>conftest.er1
42906 grep -v '^ *+' conftest.er1 >conftest.err
42908 cat conftest.err >&5
42909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42910 (exit $ac_status); } && {
42911 test -z "$ac_c_werror_flag" ||
42912 test ! -s conftest.err
42913 } && test -s conftest$ac_exeext &&
42914 $as_test_x conftest$ac_exeext; then
42915 eval "$as_ac_var=yes"
42917 echo "$as_me: failed program was:" >&5
42918 sed 's/^/| /' conftest.$ac_ext >&5
42920 eval "$as_ac_var=no"
42923 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42924 conftest$ac_exeext conftest.$ac_ext
42926 ac_res=`eval echo '${'$as_ac_var'}'`
42927 { echo "$as_me:$LINENO: result: $ac_res" >&5
42928 echo "${ECHO_T}$ac_res" >&6; }
42929 if test `eval echo '${'$as_ac_var'}'` = yes; then
42930 cat >>confdefs.h <<_ACEOF
42931 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42938 if test "$ac_cv_func_gettimeofday" = "yes"; then
42939 { echo "$as_me:$LINENO: checking whether gettimeofday takes two arguments" >&5
42940 echo $ECHO_N "checking whether gettimeofday takes two arguments... $ECHO_C" >&6; }
42941 if test "${wx_cv_func_gettimeofday_has_2_args+set}" = set; then
42942 echo $ECHO_N "(cached) $ECHO_C" >&6
42945 cat >conftest.$ac_ext <<_ACEOF
42948 cat confdefs.h >>conftest.$ac_ext
42949 cat >>conftest.$ac_ext <<_ACEOF
42950 /* end confdefs.h. */
42952 #include <sys/time.h>
42953 #include <unistd.h>
42960 gettimeofday(&tv, NULL);
42966 rm -f conftest.$ac_objext
42967 if { (ac_try="$ac_compile"
42968 case "(($ac_try" in
42969 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
42970 *) ac_try_echo
=$ac_try;;
42972 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42973 (eval "$ac_compile") 2>conftest.er1
42975 grep -v '^ *+' conftest.er1
>conftest.err
42977 cat conftest.err
>&5
42978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42979 (exit $ac_status); } && {
42980 test -z "$ac_c_werror_flag" ||
42981 test ! -s conftest.err
42982 } && test -s conftest.
$ac_objext; then
42983 wx_cv_func_gettimeofday_has_2_args
=yes
42985 echo "$as_me: failed program was:" >&5
42986 sed 's/^/| /' conftest.
$ac_ext >&5
42988 cat >conftest.
$ac_ext <<_ACEOF
42991 cat confdefs.h
>>conftest.
$ac_ext
42992 cat >>conftest.
$ac_ext <<_ACEOF
42993 /* end confdefs.h. */
42995 #include <sys/time.h>
42996 #include <unistd.h>
43009 rm -f conftest.
$ac_objext
43010 if { (ac_try
="$ac_compile"
43011 case "(($ac_try" in
43012 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
43013 *) ac_try_echo=$ac_try;;
43015 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43016 (eval "$ac_compile") 2>conftest.er1
43018 grep -v '^ *+' conftest.er1 >conftest.err
43020 cat conftest.err >&5
43021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43022 (exit $ac_status); } && {
43023 test -z "$ac_c_werror_flag" ||
43024 test ! -s conftest.err
43025 } && test -s conftest.$ac_objext; then
43026 wx_cv_func_gettimeofday_has_2_args=no
43028 echo "$as_me: failed program was:" >&5
43029 sed 's/^/| /' conftest.$ac_ext >&5
43032 { echo "$as_me:$LINENO: WARNING: failed to determine number of gettimeofday() arguments" >&5
43033 echo "$as_me: WARNING: failed to determine number of gettimeofday() arguments" >&2;}
43034 wx_cv_func_gettimeofday_has_2_args=unknown
43039 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43043 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43046 { echo "$as_me:$LINENO: result: $wx_cv_func_gettimeofday_has_2_args" >&5
43047 echo "${ECHO_T}$wx_cv_func_gettimeofday_has_2_args" >&6; }
43049 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
43050 cat >>confdefs.h <<\_ACEOF
43051 #define WX_GETTIMEOFDAY_NO_TZ 1
43057 if test "$wxUSE_DATETIME" = "yes"; then
43058 { echo "$as_me:$LINENO: checking for strptime" >&5
43059 echo $ECHO_N "checking for strptime... $ECHO_C" >&6; }
43060 if test "${ac_cv_func_strptime+set}" = set; then
43061 echo $ECHO_N "(cached) $ECHO_C" >&6
43063 cat >conftest.$ac_ext <<_ACEOF
43066 cat confdefs.h >>conftest.$ac_ext
43067 cat >>conftest.$ac_ext <<_ACEOF
43068 /* end confdefs.h. */
43069 /* Define strptime to an innocuous variant, in case <limits.h> declares strptime.
43070 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43071 #define strptime innocuous_strptime
43073 /* System header to define __stub macros and hopefully few prototypes,
43074 which can conflict with char strptime (); below.
43075 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43076 <limits.h> exists even on freestanding compilers. */
43079 # include <limits.h>
43081 # include <assert.h>
43086 /* Override any GCC internal prototype to avoid an error.
43087 Use char because int might match the return type of a GCC
43088 builtin and then its argument prototype would still apply. */
43093 /* The GNU C library defines this for functions which it implements
43094 to always fail with ENOSYS. Some functions are actually named
43095 something starting with __ and the normal name is an alias. */
43096 #if defined __stub_strptime || defined __stub___strptime
43103 return strptime ();
43108 rm -f conftest.$ac_objext conftest$ac_exeext
43109 if { (ac_try="$ac_link"
43110 case "(($ac_try" in
43111 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
43112 *) ac_try_echo
=$ac_try;;
43114 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43115 (eval "$ac_link") 2>conftest.er1
43117 grep -v '^ *+' conftest.er1
>conftest.err
43119 cat conftest.err
>&5
43120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43121 (exit $ac_status); } && {
43122 test -z "$ac_c_werror_flag" ||
43123 test ! -s conftest.err
43124 } && test -s conftest
$ac_exeext &&
43125 $as_test_x conftest
$ac_exeext; then
43126 ac_cv_func_strptime
=yes
43128 echo "$as_me: failed program was:" >&5
43129 sed 's/^/| /' conftest.
$ac_ext >&5
43131 ac_cv_func_strptime
=no
43134 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
43135 conftest
$ac_exeext conftest.
$ac_ext
43137 { echo "$as_me:$LINENO: result: $ac_cv_func_strptime" >&5
43138 echo "${ECHO_T}$ac_cv_func_strptime" >&6; }
43140 if test "$ac_cv_func_strptime" = "yes"; then
43141 { echo "$as_me:$LINENO: checking for strptime declaration" >&5
43142 echo $ECHO_N "checking for strptime declaration... $ECHO_C" >&6; }
43143 if test "${wx_cv_func_strptime_decl+set}" = set; then
43144 echo $ECHO_N "(cached) $ECHO_C" >&6
43148 ac_cpp
='$CXXCPP $CPPFLAGS'
43149 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43150 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43151 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
43153 cat >conftest.
$ac_ext <<_ACEOF
43156 cat confdefs.h
>>conftest.
$ac_ext
43157 cat >>conftest.
$ac_ext <<_ACEOF
43158 /* end confdefs.h. */
43167 strptime("foo", "bar", &t);
43173 rm -f conftest.
$ac_objext
43174 if { (ac_try
="$ac_compile"
43175 case "(($ac_try" in
43176 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
43177 *) ac_try_echo=$ac_try;;
43179 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43180 (eval "$ac_compile") 2>conftest.er1
43182 grep -v '^ *+' conftest.er1 >conftest.err
43184 cat conftest.err >&5
43185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43186 (exit $ac_status); } && {
43187 test -z "$ac_cxx_werror_flag" ||
43188 test ! -s conftest.err
43189 } && test -s conftest.$ac_objext; then
43190 wx_cv_func_strptime_decl=yes
43192 echo "$as_me: failed program was:" >&5
43193 sed 's/^/| /' conftest.$ac_ext >&5
43195 wx_cv_func_strptime_decl=no
43199 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43201 ac_cpp='$CPP $CPPFLAGS'
43202 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43203 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43204 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43209 { echo "$as_me:$LINENO: result: $wx_cv_func_strptime_decl" >&5
43210 echo "${ECHO_T}$wx_cv_func_strptime_decl" >&6; }
43212 if test "$wx_cv_func_strptime_decl" = "yes"; then
43213 cat >>confdefs.h <<\_ACEOF
43214 #define HAVE_STRPTIME_DECL 1
43218 wx_strptime_decl="extern char *strptime(const char *, const char *, struct tm *);"
43220 if test "$ac_cv_func_strptime" = "yes"; then
43221 { echo "$as_me:$LINENO: checking whether strptime() fails on invalid strings" >&5
43222 echo $ECHO_N "checking whether strptime() fails on invalid strings... $ECHO_C" >&6; }
43223 if test "${wx_cv_func_strptime_ok+set}" = set; then
43224 echo $ECHO_N "(cached) $ECHO_C" >&6
43226 if test "$cross_compiling" = yes; then
43227 wx_cv_func_strptime_ok=no
43230 cat >conftest.$ac_ext <<_ACEOF
43232 #include <stdlib.h>
43234 #include "confdefs.h"
43241 return !!strptime("", "%x", &t);
43245 rm -f conftest$ac_exeext
43246 if { (ac_try="$ac_link"
43247 case "(($ac_try" in
43248 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
43249 *) ac_try_echo
=$ac_try;;
43251 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43252 (eval "$ac_link") 2>&5
43254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43255 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
43256 { (case "(($ac_try" in
43257 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
43258 *) ac_try_echo=$ac_try;;
43260 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43261 (eval "$ac_try") 2>&5
43263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43264 (exit $ac_status); }; }; then
43265 wx_cv_func_strptime_ok=yes
43267 echo "$as_me: program exited with status $ac_status" >&5
43268 echo "$as_me: failed program was:" >&5
43269 sed 's/^/| /' conftest.$ac_ext >&5
43271 ( exit $ac_status )
43272 wx_cv_func_strptime_ok=no
43274 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
43280 { echo "$as_me:$LINENO: result: $wx_cv_func_strptime_ok" >&5
43281 echo "${ECHO_T}$wx_cv_func_strptime_ok" >&6; }
43283 if test "$wx_cv_func_strptime_ok" = "yes"; then
43284 cat >>confdefs.h <<\_ACEOF
43285 #define HAVE_STRPTIME 1
43291 { echo "$as_me:$LINENO: checking for timezone variable in <time.h>" >&5
43292 echo $ECHO_N "checking for timezone variable in <time.h>... $ECHO_C" >&6; }
43293 if test "${wx_cv_var_timezone+set}" = set; then
43294 echo $ECHO_N "(cached) $ECHO_C" >&6
43298 ac_cpp='$CXXCPP $CPPFLAGS'
43299 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43300 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43301 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43303 cat >conftest.$ac_ext <<_ACEOF
43306 cat confdefs.h >>conftest.$ac_ext
43307 cat >>conftest.$ac_ext <<_ACEOF
43308 /* end confdefs.h. */
43323 rm -f conftest.$ac_objext
43324 if { (ac_try="$ac_compile"
43325 case "(($ac_try" in
43326 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
43327 *) ac_try_echo
=$ac_try;;
43329 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43330 (eval "$ac_compile") 2>conftest.er1
43332 grep -v '^ *+' conftest.er1
>conftest.err
43334 cat conftest.err
>&5
43335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43336 (exit $ac_status); } && {
43337 test -z "$ac_cxx_werror_flag" ||
43338 test ! -s conftest.err
43339 } && test -s conftest.
$ac_objext; then
43341 wx_cv_var_timezone
=timezone
43344 echo "$as_me: failed program was:" >&5
43345 sed 's/^/| /' conftest.
$ac_ext >&5
43348 cat >conftest.
$ac_ext <<_ACEOF
43351 cat confdefs.h
>>conftest.
$ac_ext
43352 cat >>conftest.
$ac_ext <<_ACEOF
43353 /* end confdefs.h. */
43368 rm -f conftest.
$ac_objext
43369 if { (ac_try
="$ac_compile"
43370 case "(($ac_try" in
43371 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
43372 *) ac_try_echo=$ac_try;;
43374 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43375 (eval "$ac_compile") 2>conftest.er1
43377 grep -v '^ *+' conftest.er1 >conftest.err
43379 cat conftest.err >&5
43380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43381 (exit $ac_status); } && {
43382 test -z "$ac_cxx_werror_flag" ||
43383 test ! -s conftest.err
43384 } && test -s conftest.$ac_objext; then
43386 wx_cv_var_timezone=_timezone
43389 echo "$as_me: failed program was:" >&5
43390 sed 's/^/| /' conftest.$ac_ext >&5
43393 cat >conftest.$ac_ext <<_ACEOF
43396 cat confdefs.h >>conftest.$ac_ext
43397 cat >>conftest.$ac_ext <<_ACEOF
43398 /* end confdefs.h. */
43413 rm -f conftest.$ac_objext
43414 if { (ac_try="$ac_compile"
43415 case "(($ac_try" in
43416 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
43417 *) ac_try_echo
=$ac_try;;
43419 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43420 (eval "$ac_compile") 2>conftest.er1
43422 grep -v '^ *+' conftest.er1
>conftest.err
43424 cat conftest.err
>&5
43425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43426 (exit $ac_status); } && {
43427 test -z "$ac_cxx_werror_flag" ||
43428 test ! -s conftest.err
43429 } && test -s conftest.
$ac_objext; then
43431 wx_cv_var_timezone
=__timezone
43434 echo "$as_me: failed program was:" >&5
43435 sed 's/^/| /' conftest.
$ac_ext >&5
43438 if test "$USE_DOS" = 0 ; then
43439 { echo "$as_me:$LINENO: WARNING: no timezone variable" >&5
43440 echo "$as_me: WARNING: no timezone variable" >&2;}
43446 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
43451 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
43456 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
43458 ac_cpp
='$CPP $CPPFLAGS'
43459 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43460 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43461 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
43466 { echo "$as_me:$LINENO: result: $wx_cv_var_timezone" >&5
43467 echo "${ECHO_T}$wx_cv_var_timezone" >&6; }
43469 if test "x$wx_cv_var_timezone" != x
; then
43470 cat >>confdefs.h
<<_ACEOF
43471 #define WX_TIMEZONE $wx_cv_var_timezone
43477 for ac_func
in localtime
43479 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43480 { echo "$as_me:$LINENO: checking for $ac_func" >&5
43481 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
43482 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
43483 echo $ECHO_N "(cached) $ECHO_C" >&6
43485 cat >conftest.
$ac_ext <<_ACEOF
43488 cat confdefs.h
>>conftest.
$ac_ext
43489 cat >>conftest.
$ac_ext <<_ACEOF
43490 /* end confdefs.h. */
43491 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43492 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43493 #define $ac_func innocuous_$ac_func
43495 /* System header to define __stub macros and hopefully few prototypes,
43496 which can conflict with char $ac_func (); below.
43497 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43498 <limits.h> exists even on freestanding compilers. */
43501 # include <limits.h>
43503 # include <assert.h>
43508 /* Override any GCC internal prototype to avoid an error.
43509 Use char because int might match the return type of a GCC
43510 builtin and then its argument prototype would still apply. */
43515 /* The GNU C library defines this for functions which it implements
43516 to always fail with ENOSYS. Some functions are actually named
43517 something starting with __ and the normal name is an alias. */
43518 #if defined __stub_$ac_func || defined __stub___$ac_func
43525 return $ac_func ();
43530 rm -f conftest.
$ac_objext conftest
$ac_exeext
43531 if { (ac_try
="$ac_link"
43532 case "(($ac_try" in
43533 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
43534 *) ac_try_echo=$ac_try;;
43536 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43537 (eval "$ac_link") 2>conftest.er1
43539 grep -v '^ *+' conftest.er1 >conftest.err
43541 cat conftest.err >&5
43542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43543 (exit $ac_status); } && {
43544 test -z "$ac_c_werror_flag" ||
43545 test ! -s conftest.err
43546 } && test -s conftest$ac_exeext &&
43547 $as_test_x conftest$ac_exeext; then
43548 eval "$as_ac_var=yes"
43550 echo "$as_me: failed program was:" >&5
43551 sed 's/^/| /' conftest.$ac_ext >&5
43553 eval "$as_ac_var=no"
43556 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43557 conftest$ac_exeext conftest.$ac_ext
43559 ac_res=`eval echo '${'$as_ac_var'}'`
43560 { echo "$as_me:$LINENO: result: $ac_res" >&5
43561 echo "${ECHO_T}$ac_res" >&6; }
43562 if test `eval echo '${'$as_ac_var'}'` = yes; then
43563 cat >>confdefs.h <<_ACEOF
43564 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43571 if test "$ac_cv_func_localtime" = "yes"; then
43572 { echo "$as_me:$LINENO: checking for tm_gmtoff in struct tm" >&5
43573 echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6; }
43574 if test "${wx_cv_struct_tm_has_gmtoff+set}" = set; then
43575 echo $ECHO_N "(cached) $ECHO_C" >&6
43578 cat >conftest.$ac_ext <<_ACEOF
43581 cat confdefs.h >>conftest.$ac_ext
43582 cat >>conftest.$ac_ext <<_ACEOF
43583 /* end confdefs.h. */
43598 rm -f conftest.$ac_objext
43599 if { (ac_try="$ac_compile"
43600 case "(($ac_try" in
43601 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
43602 *) ac_try_echo
=$ac_try;;
43604 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43605 (eval "$ac_compile") 2>conftest.er1
43607 grep -v '^ *+' conftest.er1
>conftest.err
43609 cat conftest.err
>&5
43610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43611 (exit $ac_status); } && {
43612 test -z "$ac_c_werror_flag" ||
43613 test ! -s conftest.err
43614 } && test -s conftest.
$ac_objext; then
43616 wx_cv_struct_tm_has_gmtoff
=yes
43619 echo "$as_me: failed program was:" >&5
43620 sed 's/^/| /' conftest.
$ac_ext >&5
43622 wx_cv_struct_tm_has_gmtoff
=no
43626 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
43629 { echo "$as_me:$LINENO: result: $wx_cv_struct_tm_has_gmtoff" >&5
43630 echo "${ECHO_T}$wx_cv_struct_tm_has_gmtoff" >&6; }
43633 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
43634 cat >>confdefs.h
<<\_ACEOF
43635 #define WX_GMTOFF_IN_TM 1
43640 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS typetest"
43644 if test "$wxUSE_SOCKETS" = "yes"; then
43645 if test "$wxUSE_MGL" = 1; then
43646 { echo "$as_me:$LINENO: WARNING: wxSocket not yet supported under MGL... disabled" >&5
43647 echo "$as_me: WARNING: wxSocket not yet supported under MGL... disabled" >&2;}
43652 if test "$wxUSE_SOCKETS" = "yes"; then
43653 if test "$TOOLKIT" != "MSW"; then
43654 { echo "$as_me:$LINENO: checking for socket" >&5
43655 echo $ECHO_N "checking for socket... $ECHO_C" >&6; }
43656 if test "${ac_cv_func_socket+set}" = set; then
43657 echo $ECHO_N "(cached) $ECHO_C" >&6
43659 cat >conftest.
$ac_ext <<_ACEOF
43662 cat confdefs.h
>>conftest.
$ac_ext
43663 cat >>conftest.
$ac_ext <<_ACEOF
43664 /* end confdefs.h. */
43665 /* Define socket to an innocuous variant, in case <limits.h> declares socket.
43666 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43667 #define socket innocuous_socket
43669 /* System header to define __stub macros and hopefully few prototypes,
43670 which can conflict with char socket (); below.
43671 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43672 <limits.h> exists even on freestanding compilers. */
43675 # include <limits.h>
43677 # include <assert.h>
43682 /* Override any GCC internal prototype to avoid an error.
43683 Use char because int might match the return type of a GCC
43684 builtin and then its argument prototype would still apply. */
43689 /* The GNU C library defines this for functions which it implements
43690 to always fail with ENOSYS. Some functions are actually named
43691 something starting with __ and the normal name is an alias. */
43692 #if defined __stub_socket || defined __stub___socket
43704 rm -f conftest.
$ac_objext conftest
$ac_exeext
43705 if { (ac_try
="$ac_link"
43706 case "(($ac_try" in
43707 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
43708 *) ac_try_echo=$ac_try;;
43710 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43711 (eval "$ac_link") 2>conftest.er1
43713 grep -v '^ *+' conftest.er1 >conftest.err
43715 cat conftest.err >&5
43716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43717 (exit $ac_status); } && {
43718 test -z "$ac_c_werror_flag" ||
43719 test ! -s conftest.err
43720 } && test -s conftest$ac_exeext &&
43721 $as_test_x conftest$ac_exeext; then
43722 ac_cv_func_socket=yes
43724 echo "$as_me: failed program was:" >&5
43725 sed 's/^/| /' conftest.$ac_ext >&5
43727 ac_cv_func_socket=no
43730 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43731 conftest$ac_exeext conftest.$ac_ext
43733 { echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5
43734 echo "${ECHO_T}$ac_cv_func_socket" >&6; }
43735 if test $ac_cv_func_socket = yes; then
43739 { echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
43740 echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6; }
43741 if test "${ac_cv_lib_socket_socket+set}" = set; then
43742 echo $ECHO_N "(cached) $ECHO_C" >&6
43744 ac_check_lib_save_LIBS=$LIBS
43745 LIBS="-lsocket $LIBS"
43746 cat >conftest.$ac_ext <<_ACEOF
43749 cat confdefs.h >>conftest.$ac_ext
43750 cat >>conftest.$ac_ext <<_ACEOF
43751 /* end confdefs.h. */
43753 /* Override any GCC internal prototype to avoid an error.
43754 Use char because int might match the return type of a GCC
43755 builtin and then its argument prototype would still apply. */
43768 rm -f conftest.$ac_objext conftest$ac_exeext
43769 if { (ac_try="$ac_link"
43770 case "(($ac_try" in
43771 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
43772 *) ac_try_echo
=$ac_try;;
43774 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43775 (eval "$ac_link") 2>conftest.er1
43777 grep -v '^ *+' conftest.er1
>conftest.err
43779 cat conftest.err
>&5
43780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43781 (exit $ac_status); } && {
43782 test -z "$ac_c_werror_flag" ||
43783 test ! -s conftest.err
43784 } && test -s conftest
$ac_exeext &&
43785 $as_test_x conftest
$ac_exeext; then
43786 ac_cv_lib_socket_socket
=yes
43788 echo "$as_me: failed program was:" >&5
43789 sed 's/^/| /' conftest.
$ac_ext >&5
43791 ac_cv_lib_socket_socket
=no
43794 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
43795 conftest
$ac_exeext conftest.
$ac_ext
43796 LIBS
=$ac_check_lib_save_LIBS
43798 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
43799 echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6; }
43800 if test $ac_cv_lib_socket_socket = yes; then
43801 if test "$INET_LINK" != " -lsocket"; then
43802 INET_LINK
="$INET_LINK -lsocket"
43806 { echo "$as_me:$LINENO: WARNING: socket library not found - sockets will be disabled" >&5
43807 echo "$as_me: WARNING: socket library not found - sockets will be disabled" >&2;}
43820 if test "$wxUSE_SOCKETS" = "yes" ; then
43821 if test "$TOOLKIT" != "MSW"; then
43822 { echo "$as_me:$LINENO: checking what is the type of the third argument of getsockname" >&5
43823 echo $ECHO_N "checking what is the type of the third argument of getsockname... $ECHO_C" >&6; }
43824 if test "${wx_cv_type_getsockname3+set}" = set; then
43825 echo $ECHO_N "(cached) $ECHO_C" >&6
43829 ac_cpp
='$CXXCPP $CPPFLAGS'
43830 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43831 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43832 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
43834 cat >conftest.
$ac_ext <<_ACEOF
43837 cat confdefs.h
>>conftest.
$ac_ext
43838 cat >>conftest.
$ac_ext <<_ACEOF
43839 /* end confdefs.h. */
43841 #include <sys/types.h>
43842 #include <sys/socket.h>
43849 getsockname(0, 0, &len);
43855 rm -f conftest.
$ac_objext
43856 if { (ac_try
="$ac_compile"
43857 case "(($ac_try" in
43858 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
43859 *) ac_try_echo=$ac_try;;
43861 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43862 (eval "$ac_compile") 2>conftest.er1
43864 grep -v '^ *+' conftest.er1 >conftest.err
43866 cat conftest.err >&5
43867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43868 (exit $ac_status); } && {
43869 test -z "$ac_cxx_werror_flag" ||
43870 test ! -s conftest.err
43871 } && test -s conftest.$ac_objext; then
43872 wx_cv_type_getsockname3=socklen_t
43874 echo "$as_me: failed program was:" >&5
43875 sed 's/^/| /' conftest.$ac_ext >&5
43878 CFLAGS_OLD="$CFLAGS"
43879 if test "$GCC" = yes ; then
43880 CFLAGS="-Werror $CFLAGS"
43883 cat >conftest.$ac_ext <<_ACEOF
43886 cat confdefs.h >>conftest.$ac_ext
43887 cat >>conftest.$ac_ext <<_ACEOF
43888 /* end confdefs.h. */
43890 #include <sys/types.h>
43891 #include <sys/socket.h>
43898 getsockname(0, 0, &len);
43904 rm -f conftest.$ac_objext
43905 if { (ac_try="$ac_compile"
43906 case "(($ac_try" in
43907 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
43908 *) ac_try_echo
=$ac_try;;
43910 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43911 (eval "$ac_compile") 2>conftest.er1
43913 grep -v '^ *+' conftest.er1
>conftest.err
43915 cat conftest.err
>&5
43916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43917 (exit $ac_status); } && {
43918 test -z "$ac_cxx_werror_flag" ||
43919 test ! -s conftest.err
43920 } && test -s conftest.
$ac_objext; then
43921 wx_cv_type_getsockname3
=size_t
43923 echo "$as_me: failed program was:" >&5
43924 sed 's/^/| /' conftest.
$ac_ext >&5
43926 cat >conftest.
$ac_ext <<_ACEOF
43929 cat confdefs.h
>>conftest.
$ac_ext
43930 cat >>conftest.
$ac_ext <<_ACEOF
43931 /* end confdefs.h. */
43933 #include <sys/types.h>
43934 #include <sys/socket.h>
43941 getsockname(0, 0, &len);
43947 rm -f conftest.
$ac_objext
43948 if { (ac_try
="$ac_compile"
43949 case "(($ac_try" in
43950 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
43951 *) ac_try_echo=$ac_try;;
43953 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43954 (eval "$ac_compile") 2>conftest.er1
43956 grep -v '^ *+' conftest.er1 >conftest.err
43958 cat conftest.err >&5
43959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43960 (exit $ac_status); } && {
43961 test -z "$ac_cxx_werror_flag" ||
43962 test ! -s conftest.err
43963 } && test -s conftest.$ac_objext; then
43964 wx_cv_type_getsockname3=int
43966 echo "$as_me: failed program was:" >&5
43967 sed 's/^/| /' conftest.$ac_ext >&5
43969 wx_cv_type_getsockname3=unknown
43973 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43977 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43979 CFLAGS="$CFLAGS_OLD"
43984 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43986 ac_cpp='$CPP $CPPFLAGS'
43987 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43988 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43989 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43993 { echo "$as_me:$LINENO: result: $wx_cv_type_getsockname3" >&5
43994 echo "${ECHO_T}$wx_cv_type_getsockname3" >&6; }
43996 if test "$wx_cv_type_getsockname3" = "unknown"; then
43998 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
43999 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
44001 cat >>confdefs.h <<_ACEOF
44002 #define WX_SOCKLEN_T $wx_cv_type_getsockname3
44006 { echo "$as_me:$LINENO: checking what is the type of the fifth argument of getsockopt" >&5
44007 echo $ECHO_N "checking what is the type of the fifth argument of getsockopt... $ECHO_C" >&6; }
44008 if test "${wx_cv_type_getsockopt5+set}" = set; then
44009 echo $ECHO_N "(cached) $ECHO_C" >&6
44013 ac_cpp='$CXXCPP $CPPFLAGS'
44014 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44015 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44016 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44018 cat >conftest.$ac_ext <<_ACEOF
44021 cat confdefs.h >>conftest.$ac_ext
44022 cat >>conftest.$ac_ext <<_ACEOF
44023 /* end confdefs.h. */
44025 #include <sys/types.h>
44026 #include <sys/socket.h>
44033 getsockopt(0, 0, 0, 0, &len);
44039 rm -f conftest.$ac_objext
44040 if { (ac_try="$ac_compile"
44041 case "(($ac_try" in
44042 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
44043 *) ac_try_echo
=$ac_try;;
44045 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44046 (eval "$ac_compile") 2>conftest.er1
44048 grep -v '^ *+' conftest.er1
>conftest.err
44050 cat conftest.err
>&5
44051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44052 (exit $ac_status); } && {
44053 test -z "$ac_cxx_werror_flag" ||
44054 test ! -s conftest.err
44055 } && test -s conftest.
$ac_objext; then
44056 wx_cv_type_getsockopt5
=socklen_t
44058 echo "$as_me: failed program was:" >&5
44059 sed 's/^/| /' conftest.
$ac_ext >&5
44062 cat >conftest.
$ac_ext <<_ACEOF
44065 cat confdefs.h
>>conftest.
$ac_ext
44066 cat >>conftest.
$ac_ext <<_ACEOF
44067 /* end confdefs.h. */
44069 #include <sys/types.h>
44070 #include <sys/socket.h>
44077 getsockopt(0, 0, 0, 0, &len);
44083 rm -f conftest.
$ac_objext
44084 if { (ac_try
="$ac_compile"
44085 case "(($ac_try" in
44086 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
44087 *) ac_try_echo=$ac_try;;
44089 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44090 (eval "$ac_compile") 2>conftest.er1
44092 grep -v '^ *+' conftest.er1 >conftest.err
44094 cat conftest.err >&5
44095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44096 (exit $ac_status); } && {
44097 test -z "$ac_cxx_werror_flag" ||
44098 test ! -s conftest.err
44099 } && test -s conftest.$ac_objext; then
44100 wx_cv_type_getsockopt5=size_t
44102 echo "$as_me: failed program was:" >&5
44103 sed 's/^/| /' conftest.$ac_ext >&5
44105 cat >conftest.$ac_ext <<_ACEOF
44108 cat confdefs.h >>conftest.$ac_ext
44109 cat >>conftest.$ac_ext <<_ACEOF
44110 /* end confdefs.h. */
44112 #include <sys/types.h>
44113 #include <sys/socket.h>
44120 getsockopt(0, 0, 0, 0, &len);
44126 rm -f conftest.$ac_objext
44127 if { (ac_try="$ac_compile"
44128 case "(($ac_try" in
44129 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
44130 *) ac_try_echo
=$ac_try;;
44132 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44133 (eval "$ac_compile") 2>conftest.er1
44135 grep -v '^ *+' conftest.er1
>conftest.err
44137 cat conftest.err
>&5
44138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44139 (exit $ac_status); } && {
44140 test -z "$ac_cxx_werror_flag" ||
44141 test ! -s conftest.err
44142 } && test -s conftest.
$ac_objext; then
44143 wx_cv_type_getsockopt5
=int
44145 echo "$as_me: failed program was:" >&5
44146 sed 's/^/| /' conftest.
$ac_ext >&5
44148 wx_cv_type_getsockopt5
=unknown
44152 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
44156 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
44161 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
44163 ac_cpp
='$CPP $CPPFLAGS'
44164 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44165 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44166 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
44170 { echo "$as_me:$LINENO: result: $wx_cv_type_getsockopt5" >&5
44171 echo "${ECHO_T}$wx_cv_type_getsockopt5" >&6; }
44173 if test "$wx_cv_type_getsockopt5" = "unknown"; then
44175 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
44176 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
44178 cat >>confdefs.h
<<_ACEOF
44179 #define SOCKOPTLEN_T $wx_cv_type_getsockopt5
44186 if test "$wxUSE_SOCKETS" = "yes" ; then
44187 if test "$wxUSE_IPV6" = "yes"; then
44188 { echo "$as_me:$LINENO: checking whether we have sockaddr_in6" >&5
44189 echo $ECHO_N "checking whether we have sockaddr_in6... $ECHO_C" >&6; }
44190 if test "${wx_cv_type_sockaddr_in6+set}" = set; then
44191 echo $ECHO_N "(cached) $ECHO_C" >&6
44194 cat >conftest.
$ac_ext <<_ACEOF
44197 cat confdefs.h
>>conftest.
$ac_ext
44198 cat >>conftest.
$ac_ext <<_ACEOF
44199 /* end confdefs.h. */
44201 #include <sys/types.h>
44202 #include <sys/socket.h>
44203 #include <netinet/in.h>
44209 struct sockaddr_in6 sa6;
44215 rm -f conftest.
$ac_objext
44216 if { (ac_try
="$ac_compile"
44217 case "(($ac_try" in
44218 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
44219 *) ac_try_echo=$ac_try;;
44221 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44222 (eval "$ac_compile") 2>conftest.er1
44224 grep -v '^ *+' conftest.er1 >conftest.err
44226 cat conftest.err >&5
44227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44228 (exit $ac_status); } && {
44229 test -z "$ac_c_werror_flag" ||
44230 test ! -s conftest.err
44231 } && test -s conftest.$ac_objext; then
44232 wx_cv_type_sockaddr_in6=yes
44234 echo "$as_me: failed program was:" >&5
44235 sed 's/^/| /' conftest.$ac_ext >&5
44237 wx_cv_type_sockaddr_in6=no
44241 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44245 { echo "$as_me:$LINENO: result: $wx_cv_type_sockaddr_in6" >&5
44246 echo "${ECHO_T}$wx_cv_type_sockaddr_in6" >&6; }
44248 if test "$wx_cv_type_sockaddr_in6"="yes"; then
44249 cat >>confdefs.h <<\_ACEOF
44250 #define wxUSE_IPV6 1
44254 { echo "$as_me:$LINENO: WARNING: IPv6 support not available... disabled" >&5
44255 echo "$as_me: WARNING: IPv6 support not available... disabled" >&2;}
44259 cat >>confdefs.h <<\_ACEOF
44260 #define wxUSE_SOCKETS 1
44263 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sockets"
44266 if test "$wxUSE_PROTOCOL" = "yes"; then
44267 if test "$wxUSE_SOCKETS" != "yes"; then
44268 { echo "$as_me:$LINENO: WARNING: Protocol classes require sockets... disabled" >&5
44269 echo "$as_me: WARNING: Protocol classes require sockets... disabled" >&2;}
44274 if test "$wxUSE_PROTOCOL" = "yes"; then
44275 cat >>confdefs.h <<\_ACEOF
44276 #define wxUSE_PROTOCOL 1
44280 if test "$wxUSE_PROTOCOL_HTTP" = "yes"; then
44281 cat >>confdefs.h <<\_ACEOF
44282 #define wxUSE_PROTOCOL_HTTP 1
44286 if test "$wxUSE_PROTOCOL_FTP" = "yes"; then
44287 cat >>confdefs.h <<\_ACEOF
44288 #define wxUSE_PROTOCOL_FTP 1
44292 if test "$wxUSE_PROTOCOL_FILE" = "yes"; then
44293 cat >>confdefs.h <<\_ACEOF
44294 #define wxUSE_PROTOCOL_FILE 1
44299 if test "$wxUSE_FS_INET" = "yes"; then
44300 { echo "$as_me:$LINENO: WARNING: HTTP filesystem require protocol classes... disabled" >&5
44301 echo "$as_me: WARNING: HTTP filesystem require protocol classes... disabled" >&2;}
44306 if test "$wxUSE_URL" = "yes"; then
44307 if test "$wxUSE_PROTOCOL" != "yes"; then
44308 { echo "$as_me:$LINENO: WARNING: wxURL class requires wxProtocol... disabled" >&5
44309 echo "$as_me: WARNING: wxURL class requires wxProtocol... disabled" >&2;}
44312 if test "$wxUSE_URL" = "yes"; then
44313 cat >>confdefs.h <<\_ACEOF
44314 #define wxUSE_URL 1
44320 if test "$wxUSE_VARIANT" = "yes"; then
44321 cat >>confdefs.h <<\_ACEOF
44322 #define wxUSE_VARIANT 1
44327 if test "$wxUSE_FS_INET" = "yes"; then
44328 cat >>confdefs.h <<\_ACEOF
44329 #define wxUSE_FS_INET 1
44335 if test "$wxUSE_GUI" = "yes" -a "$wxUSE_JOYSTICK" = "yes"; then
44338 if test "$TOOLKIT" = "MSW"; then
44341 elif test "$TOOLKIT" = "MAC" -o "$TOOLKIT" = "COCOA"; then
44342 if test "$USE_DARWIN" = 1; then
44343 { echo "$as_me:$LINENO: checking headers have declarations needed for joystick support" >&5
44344 echo $ECHO_N "checking headers have declarations needed for joystick support... $ECHO_C" >&6; }
44346 ac_cpp='$CXXCPP $CPPFLAGS'
44347 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44348 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44349 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44351 cat >conftest.$ac_ext <<_ACEOF
44354 cat confdefs.h >>conftest.$ac_ext
44355 cat >>conftest.$ac_ext <<_ACEOF
44356 /* end confdefs.h. */
44357 #include <IOKit/hid/IOHIDLib.h>
44361 IOHIDQueueInterface *qi = NULL;
44362 IOHIDCallbackFunction cb = NULL;
44363 qi->setEventCallout(NULL, cb, NULL, NULL);
44368 rm -f conftest.$ac_objext
44369 if { (ac_try="$ac_compile"
44370 case "(($ac_try" in
44371 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
44372 *) ac_try_echo
=$ac_try;;
44374 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44375 (eval "$ac_compile") 2>conftest.er1
44377 grep -v '^ *+' conftest.er1
>conftest.err
44379 cat conftest.err
>&5
44380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44381 (exit $ac_status); } && {
44382 test -z "$ac_cxx_werror_flag" ||
44383 test ! -s conftest.err
44384 } && test -s conftest.
$ac_objext; then
44388 echo "$as_me: failed program was:" >&5
44389 sed 's/^/| /' conftest.
$ac_ext >&5
44394 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
44396 ac_cpp
='$CPP $CPPFLAGS'
44397 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44398 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44399 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
44401 { echo "$as_me:$LINENO: result: $wxUSE_JOYSTICK" >&5
44402 echo "${ECHO_T}$wxUSE_JOYSTICK" >&6; }
44406 if test "$wxUSE_MGL" != 1; then
44408 for ac_header
in linux
/joystick.h
44410 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
44411 { echo "$as_me:$LINENO: checking for $ac_header" >&5
44412 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
44413 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
44414 echo $ECHO_N "(cached) $ECHO_C" >&6
44416 cat >conftest.
$ac_ext <<_ACEOF
44419 cat confdefs.h
>>conftest.
$ac_ext
44420 cat >>conftest.
$ac_ext <<_ACEOF
44421 /* end confdefs.h. */
44422 $ac_includes_default
44424 #include <$ac_header>
44426 rm -f conftest.
$ac_objext
44427 if { (ac_try
="$ac_compile"
44428 case "(($ac_try" in
44429 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
44430 *) ac_try_echo=$ac_try;;
44432 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44433 (eval "$ac_compile") 2>conftest.er1
44435 grep -v '^ *+' conftest.er1 >conftest.err
44437 cat conftest.err >&5
44438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44439 (exit $ac_status); } && {
44440 test -z "$ac_c_werror_flag" ||
44441 test ! -s conftest.err
44442 } && test -s conftest.$ac_objext; then
44443 eval "$as_ac_Header=yes"
44445 echo "$as_me: failed program was:" >&5
44446 sed 's/^/| /' conftest.$ac_ext >&5
44448 eval "$as_ac_Header=no"
44451 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44453 ac_res=`eval echo '${'$as_ac_Header'}'`
44454 { echo "$as_me:$LINENO: result: $ac_res" >&5
44455 echo "${ECHO_T}$ac_res" >&6; }
44456 if test `eval echo '${'$as_ac_Header'}'` = yes; then
44457 cat >>confdefs.h <<_ACEOF
44458 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
44468 if test "$wxUSE_JOYSTICK" = "yes"; then
44469 cat >>confdefs.h <<\_ACEOF
44470 #define wxUSE_JOYSTICK 1
44473 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS joytest"
44475 { echo "$as_me:$LINENO: WARNING: Joystick not supported by this system... disabled" >&5
44476 echo "$as_me: WARNING: Joystick not supported by this system... disabled" >&2;}
44482 if test "$wxUSE_FONTENUM" = "yes" ; then
44483 cat >>confdefs.h <<\_ACEOF
44484 #define wxUSE_FONTENUM 1
44489 if test "$wxUSE_FONTMAP" = "yes" ; then
44490 cat >>confdefs.h <<\_ACEOF
44491 #define wxUSE_FONTMAP 1
44496 if test "$wxUSE_UNICODE" = "yes" ; then
44497 cat >>confdefs.h <<\_ACEOF
44498 #define wxUSE_UNICODE 1
44502 if test "$USE_WIN32" != 1; then
44503 wxUSE_UNICODE_MSLU=no
44506 if test "$USE_WIN32" = 1 -a "$wxUSE_UNICODE_MSLU" = "yes"; then
44507 { echo "$as_me:$LINENO: checking for main in -lunicows" >&5
44508 echo $ECHO_N "checking for main in -lunicows... $ECHO_C" >&6; }
44509 if test "${ac_cv_lib_unicows_main+set}" = set; then
44510 echo $ECHO_N "(cached) $ECHO_C" >&6
44512 ac_check_lib_save_LIBS=$LIBS
44513 LIBS="-lunicows $LIBS"
44514 cat >conftest.$ac_ext <<_ACEOF
44517 cat confdefs.h >>conftest.$ac_ext
44518 cat >>conftest.$ac_ext <<_ACEOF
44519 /* end confdefs.h. */
44530 rm -f conftest.$ac_objext conftest$ac_exeext
44531 if { (ac_try="$ac_link"
44532 case "(($ac_try" in
44533 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
44534 *) ac_try_echo
=$ac_try;;
44536 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44537 (eval "$ac_link") 2>conftest.er1
44539 grep -v '^ *+' conftest.er1
>conftest.err
44541 cat conftest.err
>&5
44542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44543 (exit $ac_status); } && {
44544 test -z "$ac_c_werror_flag" ||
44545 test ! -s conftest.err
44546 } && test -s conftest
$ac_exeext &&
44547 $as_test_x conftest
$ac_exeext; then
44548 ac_cv_lib_unicows_main
=yes
44550 echo "$as_me: failed program was:" >&5
44551 sed 's/^/| /' conftest.
$ac_ext >&5
44553 ac_cv_lib_unicows_main
=no
44556 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
44557 conftest
$ac_exeext conftest.
$ac_ext
44558 LIBS
=$ac_check_lib_save_LIBS
44560 { echo "$as_me:$LINENO: result: $ac_cv_lib_unicows_main" >&5
44561 echo "${ECHO_T}$ac_cv_lib_unicows_main" >&6; }
44562 if test $ac_cv_lib_unicows_main = yes; then
44564 cat >>confdefs.h
<<\_ACEOF
44565 #define wxUSE_UNICODE_MSLU 1
44571 { echo "$as_me:$LINENO: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
44572 Applications will only run on Windows NT/2000/XP!" >&5
44573 echo "$as_me: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
44574 Applications will only run on Windows NT/2000/XP!" >&2;}
44575 wxUSE_UNICODE_MSLU
=no
44582 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_UTF8" = "yes"; then
44583 cat >>confdefs.h
<<\_ACEOF
44584 #define wxUSE_UNICODE_UTF8 1
44588 if test "$wxUSE_UNICODE_UTF8_LOCALE" = "yes"; then
44589 cat >>confdefs.h
<<\_ACEOF
44590 #define wxUSE_UTF8_LOCALE_ONLY 1
44597 if test "$wxUSE_CONSTRAINTS" = "yes"; then
44598 cat >>confdefs.h
<<\_ACEOF
44599 #define wxUSE_CONSTRAINTS 1
44602 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS layout"
44605 if test "$wxUSE_MDI" = "yes"; then
44606 cat >>confdefs.h
<<\_ACEOF
44607 #define wxUSE_MDI 1
44611 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
44612 cat >>confdefs.h
<<\_ACEOF
44613 #define wxUSE_MDI_ARCHITECTURE 1
44616 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS mdi"
44620 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
44621 cat >>confdefs.h
<<\_ACEOF
44622 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
44625 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS docview"
44626 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
44627 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS docvwmdi"
44631 if test "$wxUSE_HELP" = "yes"; then
44632 cat >>confdefs.h
<<\_ACEOF
44633 #define wxUSE_HELP 1
44636 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS help"
44638 if test "$wxUSE_MSW" = 1; then
44639 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
44640 cat >>confdefs.h
<<\_ACEOF
44641 #define wxUSE_MS_HTML_HELP 1
44647 if test "$wxUSE_WXHTML_HELP" = "yes"; then
44648 if test "$wxUSE_HTML" = "yes"; then
44649 cat >>confdefs.h
<<\_ACEOF
44650 #define wxUSE_WXHTML_HELP 1
44654 { echo "$as_me:$LINENO: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&5
44655 echo "$as_me: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&2;}
44656 wxUSE_WXHTML_HELP
=no
44661 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
44662 if test "$wxUSE_CONSTRAINTS" != "yes"; then
44663 { echo "$as_me:$LINENO: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&5
44664 echo "$as_me: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&2;}
44666 cat >>confdefs.h
<<\_ACEOF
44667 #define wxUSE_PRINTING_ARCHITECTURE 1
44671 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS printing"
44674 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
44675 cat >>confdefs.h
<<\_ACEOF
44676 #define wxUSE_POSTSCRIPT 1
44681 cat >>confdefs.h
<<\_ACEOF
44682 #define wxUSE_AFM_FOR_POSTSCRIPT 1
44686 if test "$wxUSE_SVG" = "yes"; then
44687 cat >>confdefs.h
<<\_ACEOF
44688 #define wxUSE_SVG 1
44694 if test "$wxUSE_METAFILE" = "yes"; then
44695 if test "$wxUSE_MSW" != 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_PM" != 1; then
44696 { echo "$as_me:$LINENO: WARNING: wxMetafile is not available on this system... disabled" >&5
44697 echo "$as_me: WARNING: wxMetafile is not available on this system... disabled" >&2;}
44703 if test "$USE_WIN32" = 1 -a \
( "$wxUSE_DATAOBJ" = "yes" \
44704 -o "$wxUSE_CLIPBOARD" = "yes" \
44705 -o "$wxUSE_OLE" = "yes" \
44706 -o "$wxUSE_DRAG_AND_DROP" = "yes" \
) ; then
44707 { echo "$as_me:$LINENO: checking for ole2.h" >&5
44708 echo $ECHO_N "checking for ole2.h... $ECHO_C" >&6; }
44709 if test "${ac_cv_header_ole2_h+set}" = set; then
44710 echo $ECHO_N "(cached) $ECHO_C" >&6
44712 cat >conftest.
$ac_ext <<_ACEOF
44715 cat confdefs.h
>>conftest.
$ac_ext
44716 cat >>conftest.
$ac_ext <<_ACEOF
44717 /* end confdefs.h. */
44722 rm -f conftest.
$ac_objext
44723 if { (ac_try
="$ac_compile"
44724 case "(($ac_try" in
44725 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
44726 *) ac_try_echo=$ac_try;;
44728 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44729 (eval "$ac_compile") 2>conftest.er1
44731 grep -v '^ *+' conftest.er1 >conftest.err
44733 cat conftest.err >&5
44734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44735 (exit $ac_status); } && {
44736 test -z "$ac_c_werror_flag" ||
44737 test ! -s conftest.err
44738 } && test -s conftest.$ac_objext; then
44739 ac_cv_header_ole2_h=yes
44741 echo "$as_me: failed program was:" >&5
44742 sed 's/^/| /' conftest.$ac_ext >&5
44744 ac_cv_header_ole2_h=no
44747 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44749 { echo "$as_me:$LINENO: result: $ac_cv_header_ole2_h" >&5
44750 echo "${ECHO_T}$ac_cv_header_ole2_h" >&6; }
44754 if test "$ac_cv_header_ole2_h" = "yes" ; then
44755 if test "$GCC" = yes ; then
44756 { echo "$as_me:$LINENO: checking if g++ requires -fvtable-thunks" >&5
44757 echo $ECHO_N "checking if g++ requires -fvtable-thunks... $ECHO_C" >&6; }
44758 cat >conftest.$ac_ext <<_ACEOF
44761 cat confdefs.h >>conftest.$ac_ext
44762 cat >>conftest.$ac_ext <<_ACEOF
44763 /* end confdefs.h. */
44764 #include <windows.h>
44774 rm -f conftest.$ac_objext
44775 if { (ac_try="$ac_compile"
44776 case "(($ac_try" in
44777 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
44778 *) ac_try_echo
=$ac_try;;
44780 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44781 (eval "$ac_compile") 2>conftest.er1
44783 grep -v '^ *+' conftest.er1
>conftest.err
44785 cat conftest.err
>&5
44786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44787 (exit $ac_status); } && {
44788 test -z "$ac_c_werror_flag" ||
44789 test ! -s conftest.err
44790 } && test -s conftest.
$ac_objext; then
44791 { echo "$as_me:$LINENO: result: no" >&5
44792 echo "${ECHO_T}no" >&6; }
44794 echo "$as_me: failed program was:" >&5
44795 sed 's/^/| /' conftest.
$ac_ext >&5
44797 { echo "$as_me:$LINENO: result: yes" >&5
44798 echo "${ECHO_T}yes" >&6; }
44799 WXCONFIG_CXXFLAGS
="$WXCONFIG_CXXFLAGS -fvtable-thunks"
44802 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
44803 LIBS
=" -lrpcrt4 -loleaut32 -lole32 -luuid$LIBS"
44804 if test "$wxUSE_OLE" = "yes" ; then
44805 cat >>confdefs.h
<<\_ACEOF
44806 #define wxUSE_OLE 1
44809 cat >>confdefs.h
<<\_ACEOF
44810 #define wxUSE_OLE_AUTOMATION 1
44813 cat >>confdefs.h
<<\_ACEOF
44814 #define wxUSE_ACTIVEX 1
44817 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS oleauto"
44821 if test "$wxUSE_DATAOBJ" = "yes" ; then
44822 cat >>confdefs.h
<<\_ACEOF
44823 #define wxUSE_DATAOBJ 1
44828 { echo "$as_me:$LINENO: WARNING: Some features disabled because OLE headers not found" >&5
44829 echo "$as_me: WARNING: Some features disabled because OLE headers not found" >&2;}
44832 wxUSE_DRAG_AND_DROP
=no
44837 if test "$wxUSE_METAFILE" = "yes"; then
44838 cat >>confdefs.h
<<\_ACEOF
44839 #define wxUSE_METAFILE 1
44843 cat >>confdefs.h
<<\_ACEOF
44844 #define wxUSE_ENH_METAFILE 1
44850 if test "$wxUSE_IPC" = "yes"; then
44851 if test "$wxUSE_SOCKETS" != "yes" -a "$USE_WIN32" != 1; then
44852 { echo "$as_me:$LINENO: WARNING: wxWidgets IPC classes require sockets... disabled" >&5
44853 echo "$as_me: WARNING: wxWidgets IPC classes require sockets... disabled" >&2;}
44857 if test "$wxUSE_IPC" = "yes"; then
44858 cat >>confdefs.h
<<\_ACEOF
44859 #define wxUSE_IPC 1
44862 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS ipc"
44866 if test "$wxUSE_DATAOBJ" = "yes"; then
44867 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = 1; then
44868 { echo "$as_me:$LINENO: WARNING: wxDataObject not yet supported under $TOOLKIT... disabled" >&5
44869 echo "$as_me: WARNING: wxDataObject not yet supported under $TOOLKIT... disabled" >&2;}
44872 cat >>confdefs.h
<<\_ACEOF
44873 #define wxUSE_DATAOBJ 1
44878 { echo "$as_me:$LINENO: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&5
44879 echo "$as_me: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&2;}
44881 wxUSE_DRAG_AND_DROP
=no
44884 if test "$wxUSE_CLIPBOARD" = "yes"; then
44885 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = 1; then
44886 { echo "$as_me:$LINENO: WARNING: Clipboard not yet supported under $TOOLKIT... disabled" >&5
44887 echo "$as_me: WARNING: Clipboard not yet supported under $TOOLKIT... disabled" >&2;}
44891 if test "$wxUSE_CLIPBOARD" = "yes"; then
44892 cat >>confdefs.h
<<\_ACEOF
44893 #define wxUSE_CLIPBOARD 1
44899 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
44900 if test "$wxUSE_GTK" = 1; then
44901 if test "$WXGTK12" != 1; then
44902 { echo "$as_me:$LINENO: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&5
44903 echo "$as_me: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&2;}
44904 wxUSE_DRAG_AND_DROP
=no
44908 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_X11" = 1 -o "$wxUSE_MGL" = 1 -o \
44909 "$wxUSE_DFB" = 1; then
44910 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under $TOOLKIT... disabled" >&5
44911 echo "$as_me: WARNING: Drag and drop not yet supported under $TOOLKIT... disabled" >&2;}
44912 wxUSE_DRAG_AND_DROP
=no
44915 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
44916 cat >>confdefs.h
<<\_ACEOF
44917 #define wxUSE_DRAG_AND_DROP 1
44924 if test "$wxUSE_DRAG_AND_DROP" = "yes" -o "$wxUSE_CLIPBOARD" = "yes"; then
44925 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dnd"
44928 if test "$wxUSE_SPLINES" = "yes" ; then
44929 cat >>confdefs.h
<<\_ACEOF
44930 #define wxUSE_SPLINES 1
44935 if test "$wxUSE_MOUSEWHEEL" = "yes" ; then
44936 cat >>confdefs.h
<<\_ACEOF
44937 #define wxUSE_MOUSEWHEEL 1
44944 if test "$wxUSE_CONTROLS" = "yes"; then
44948 if test "$wxUSE_ACCEL" = "yes"; then
44949 cat >>confdefs.h
<<\_ACEOF
44950 #define wxUSE_ACCEL 1
44956 if test "$wxUSE_ANIMATIONCTRL" = "yes"; then
44957 cat >>confdefs.h
<<\_ACEOF
44958 #define wxUSE_ANIMATIONCTRL 1
44962 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS animate"
44965 if test "$wxUSE_BUTTON" = "yes"; then
44966 cat >>confdefs.h
<<\_ACEOF
44967 #define wxUSE_BUTTON 1
44973 if test "$wxUSE_BMPBUTTON" = "yes"; then
44974 cat >>confdefs.h
<<\_ACEOF
44975 #define wxUSE_BMPBUTTON 1
44981 if test "$wxUSE_CALCTRL" = "yes"; then
44982 cat >>confdefs.h
<<\_ACEOF
44983 #define wxUSE_CALENDARCTRL 1
44987 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS calendar"
44990 if test "$wxUSE_CARET" = "yes"; then
44991 cat >>confdefs.h
<<\_ACEOF
44992 #define wxUSE_CARET 1
44996 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS caret"
44999 if test "$wxUSE_COLLPANE" = "yes"; then
45000 cat >>confdefs.h
<<\_ACEOF
45001 #define wxUSE_COLLPANE 1
45005 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS collpane"
45008 if test "$wxUSE_COMBOBOX" = "yes"; then
45009 cat >>confdefs.h
<<\_ACEOF
45010 #define wxUSE_COMBOBOX 1
45016 if test "$wxUSE_COMBOCTRL" = "yes"; then
45017 cat >>confdefs.h
<<\_ACEOF
45018 #define wxUSE_COMBOCTRL 1
45024 if test "$wxUSE_CHOICE" = "yes"; then
45025 cat >>confdefs.h
<<\_ACEOF
45026 #define wxUSE_CHOICE 1
45032 if test "$wxUSE_CHOICEBOOK" = "yes"; then
45033 cat >>confdefs.h
<<\_ACEOF
45034 #define wxUSE_CHOICEBOOK 1
45040 if test "$wxUSE_CHECKBOX" = "yes"; then
45041 cat >>confdefs.h
<<\_ACEOF
45042 #define wxUSE_CHECKBOX 1
45048 if test "$wxUSE_CHECKLST" = "yes"; then
45049 cat >>confdefs.h
<<\_ACEOF
45050 #define wxUSE_CHECKLISTBOX 1
45056 if test "$wxUSE_COLOURPICKERCTRL" = "yes"; then
45057 cat >>confdefs.h
<<\_ACEOF
45058 #define wxUSE_COLOURPICKERCTRL 1
45064 if test "$wxUSE_DATEPICKCTRL" = "yes"; then
45065 cat >>confdefs.h
<<\_ACEOF
45066 #define wxUSE_DATEPICKCTRL 1
45072 if test "$wxUSE_DIRPICKERCTRL" = "yes"; then
45073 cat >>confdefs.h
<<\_ACEOF
45074 #define wxUSE_DIRPICKERCTRL 1
45080 if test "$wxUSE_FILECTRL" = "yes"; then
45081 cat >>confdefs.h
<<\_ACEOF
45082 #define wxUSE_FILECTRL 1
45088 if test "$wxUSE_FILEPICKERCTRL" = "yes"; then
45089 cat >>confdefs.h
<<\_ACEOF
45090 #define wxUSE_FILEPICKERCTRL 1
45096 if test "$wxUSE_FONTPICKERCTRL" = "yes"; then
45097 cat >>confdefs.h
<<\_ACEOF
45098 #define wxUSE_FONTPICKERCTRL 1
45104 if test "$wxUSE_DISPLAY" = "yes"; then
45105 if test "$wxUSE_DFB" = 1 -o "$wxUSE_MGL" = 1; then
45106 { echo "$as_me:$LINENO: WARNING: wxDisplay not yet supported under $TOOLKIT... disabled" >&5
45107 echo "$as_me: WARNING: wxDisplay not yet supported under $TOOLKIT... disabled" >&2;}
45110 cat >>confdefs.h
<<\_ACEOF
45111 #define wxUSE_DISPLAY 1
45114 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS display"
45118 if test "$wxUSE_DETECT_SM" = "yes"; then
45119 cat >>confdefs.h
<<\_ACEOF
45120 #define wxUSE_DETECT_SM 1
45125 if test "$wxUSE_GAUGE" = "yes"; then
45126 cat >>confdefs.h
<<\_ACEOF
45127 #define wxUSE_GAUGE 1
45133 if test "$wxUSE_GRID" = "yes"; then
45134 cat >>confdefs.h
<<\_ACEOF
45135 #define wxUSE_GRID 1
45139 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS grid"
45142 if test "$wxUSE_HYPERLINKCTRL" = "yes"; then
45143 cat >>confdefs.h
<<\_ACEOF
45144 #define wxUSE_HYPERLINKCTRL 1
45150 if test "$wxUSE_BITMAPCOMBOBOX" = "yes"; then
45151 cat >>confdefs.h
<<\_ACEOF
45152 #define wxUSE_BITMAPCOMBOBOX 1
45158 if test "$wxUSE_DATAVIEWCTRL" = "yes"; then
45159 cat >>confdefs.h
<<\_ACEOF
45160 #define wxUSE_DATAVIEWCTRL 1
45164 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dataview"
45167 if test "$wxUSE_IMAGLIST" = "yes"; then
45168 cat >>confdefs.h
<<\_ACEOF
45169 #define wxUSE_IMAGLIST 1
45174 if test "$wxUSE_LISTBOOK" = "yes"; then
45175 cat >>confdefs.h
<<\_ACEOF
45176 #define wxUSE_LISTBOOK 1
45182 if test "$wxUSE_LISTBOX" = "yes"; then
45183 cat >>confdefs.h
<<\_ACEOF
45184 #define wxUSE_LISTBOX 1
45190 if test "$wxUSE_LISTCTRL" = "yes"; then
45191 if test "$wxUSE_IMAGLIST" = "yes"; then
45192 cat >>confdefs.h
<<\_ACEOF
45193 #define wxUSE_LISTCTRL 1
45197 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS listctrl"
45199 { echo "$as_me:$LINENO: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&5
45200 echo "$as_me: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&2;}
45204 if test "$wxUSE_EDITABLELISTBOX" = "yes"; then
45205 cat >>confdefs.h
<<\_ACEOF
45206 #define wxUSE_EDITABLELISTBOX 1
45210 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS editlbox"
45213 if test "$wxUSE_NOTEBOOK" = "yes"; then
45214 cat >>confdefs.h
<<\_ACEOF
45215 #define wxUSE_NOTEBOOK 1
45219 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS notebook"
45222 if test "$wxUSE_NOTIFICATION_MESSAGE" = "yes"; then
45223 cat >>confdefs.h
<<\_ACEOF
45224 #define wxUSE_NOTIFICATION_MESSAGE 1
45229 if test "$wxUSE_ODCOMBOBOX" = "yes"; then
45230 cat >>confdefs.h
<<\_ACEOF
45231 #define wxUSE_ODCOMBOBOX 1
45235 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS combo"
45238 if test "$wxUSE_RADIOBOX" = "yes"; then
45239 cat >>confdefs.h
<<\_ACEOF
45240 #define wxUSE_RADIOBOX 1
45246 if test "$wxUSE_RADIOBTN" = "yes"; then
45247 cat >>confdefs.h
<<\_ACEOF
45248 #define wxUSE_RADIOBTN 1
45254 if test "$wxUSE_SASH" = "yes"; then
45255 cat >>confdefs.h
<<\_ACEOF
45256 #define wxUSE_SASH 1
45259 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sashtest"
45262 if test "$wxUSE_SCROLLBAR" = "yes"; then
45263 cat >>confdefs.h
<<\_ACEOF
45264 #define wxUSE_SCROLLBAR 1
45268 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS scroll scrollsub"
45271 if test "$wxUSE_SEARCHCTRL" = "yes"; then
45272 cat >>confdefs.h
<<\_ACEOF
45273 #define wxUSE_SEARCHCTRL 1
45279 if test "$wxUSE_SLIDER" = "yes"; then
45280 cat >>confdefs.h
<<\_ACEOF
45281 #define wxUSE_SLIDER 1
45287 if test "$wxUSE_SPINBTN" = "yes"; then
45288 cat >>confdefs.h
<<\_ACEOF
45289 #define wxUSE_SPINBTN 1
45295 if test "$wxUSE_SPINCTRL" = "yes"; then
45296 cat >>confdefs.h
<<\_ACEOF
45297 #define wxUSE_SPINCTRL 1
45303 if test "$wxUSE_SPLITTER" = "yes"; then
45304 cat >>confdefs.h
<<\_ACEOF
45305 #define wxUSE_SPLITTER 1
45308 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS splitter"
45311 if test "$wxUSE_STATBMP" = "yes"; then
45312 cat >>confdefs.h
<<\_ACEOF
45313 #define wxUSE_STATBMP 1
45319 if test "$wxUSE_STATBOX" = "yes"; then
45320 cat >>confdefs.h
<<\_ACEOF
45321 #define wxUSE_STATBOX 1
45327 if test "$wxUSE_STATTEXT" = "yes"; then
45328 cat >>confdefs.h
<<\_ACEOF
45329 #define wxUSE_STATTEXT 1
45335 if test "$wxUSE_STATLINE" = "yes"; then
45336 cat >>confdefs.h
<<\_ACEOF
45337 #define wxUSE_STATLINE 1
45343 if test "$wxUSE_STATUSBAR" = "yes"; then
45344 cat >>confdefs.h
<<\_ACEOF
45345 #define wxUSE_NATIVE_STATUSBAR 1
45348 cat >>confdefs.h
<<\_ACEOF
45349 #define wxUSE_STATUSBAR 1
45354 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS statbar"
45357 if test "$wxUSE_TAB_DIALOG" = "yes"; then
45358 cat >>confdefs.h
<<\_ACEOF
45359 #define wxUSE_TAB_DIALOG 1
45364 if test "$wxUSE_TEXTCTRL" = "yes"; then
45365 cat >>confdefs.h
<<\_ACEOF
45366 #define wxUSE_TEXTCTRL 1
45370 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS text"
45373 if test "$wxUSE_TOGGLEBTN" = "yes"; then
45374 if test "$wxUSE_COCOA" = 1 ; then
45375 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&5
45376 echo "$as_me: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&2;}
45380 if test "$wxUSE_TOGGLEBTN" = "yes"; then
45381 cat >>confdefs.h
<<\_ACEOF
45382 #define wxUSE_TOGGLEBTN 1
45389 if test "$wxUSE_TOOLBAR" = "yes"; then
45390 cat >>confdefs.h
<<\_ACEOF
45391 #define wxUSE_TOOLBAR 1
45396 if test "$wxUSE_UNIVERSAL" = "yes"; then
45397 wxUSE_TOOLBAR_NATIVE
="no"
45399 wxUSE_TOOLBAR_NATIVE
="yes"
45400 cat >>confdefs.h
<<\_ACEOF
45401 #define wxUSE_TOOLBAR_NATIVE 1
45406 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS toolbar"
45409 if test "$wxUSE_TOOLTIPS" = "yes"; then
45410 if test "$wxUSE_MOTIF" = 1; then
45411 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet under Motif... disabled" >&5
45412 echo "$as_me: WARNING: wxTooltip not supported yet under Motif... disabled" >&2;}
45414 if test "$wxUSE_UNIVERSAL" = "yes"; then
45415 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&5
45416 echo "$as_me: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&2;}
45418 cat >>confdefs.h
<<\_ACEOF
45419 #define wxUSE_TOOLTIPS 1
45426 if test "$wxUSE_TREEBOOK" = "yes"; then
45427 cat >>confdefs.h
<<\_ACEOF
45428 #define wxUSE_TREEBOOK 1
45434 if test "$wxUSE_TOOLBOOK" = "yes"; then
45435 cat >>confdefs.h
<<\_ACEOF
45436 #define wxUSE_TOOLBOOK 1
45442 if test "$wxUSE_TREECTRL" = "yes"; then
45443 if test "$wxUSE_IMAGLIST" = "yes"; then
45444 cat >>confdefs.h
<<\_ACEOF
45445 #define wxUSE_TREECTRL 1
45449 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS treectrl"
45451 { echo "$as_me:$LINENO: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&5
45452 echo "$as_me: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&2;}
45456 if test "$wxUSE_POPUPWIN" = "yes"; then
45457 if test "$wxUSE_COCOA" = 1 ; then
45458 { echo "$as_me:$LINENO: WARNING: Popup window not yet supported under Mac OS X... disabled" >&5
45459 echo "$as_me: WARNING: Popup window not yet supported under Mac OS X... disabled" >&2;}
45461 if test "$wxUSE_PM" = 1; then
45462 { echo "$as_me:$LINENO: WARNING: wxPopupWindow not yet supported under PM... disabled" >&5
45463 echo "$as_me: WARNING: wxPopupWindow not yet supported under PM... disabled" >&2;}
45465 cat >>confdefs.h
<<\_ACEOF
45466 #define wxUSE_POPUPWIN 1
45469 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS popup"
45476 if test "$wxUSE_DIALUP_MANAGER" = "yes"; then
45477 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 -o "$wxUSE_MGL" = 1; then
45478 { echo "$as_me:$LINENO: WARNING: Dialup manager not supported on this platform... disabled" >&5
45479 echo "$as_me: WARNING: Dialup manager not supported on this platform... disabled" >&2;}
45481 cat >>confdefs.h
<<\_ACEOF
45482 #define wxUSE_DIALUP_MANAGER 1
45485 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dialup"
45489 if test "$wxUSE_TIPWINDOW" = "yes"; then
45490 if test "$wxUSE_PM" = 1; then
45491 { echo "$as_me:$LINENO: WARNING: wxTipWindow not yet supported under PM... disabled" >&5
45492 echo "$as_me: WARNING: wxTipWindow not yet supported under PM... disabled" >&2;}
45494 cat >>confdefs.h
<<\_ACEOF
45495 #define wxUSE_TIPWINDOW 1
45501 if test "$USES_CONTROLS" = 1; then
45502 cat >>confdefs.h
<<\_ACEOF
45503 #define wxUSE_CONTROLS 1
45509 if test "$wxUSE_ACCESSIBILITY" = "yes"; then
45510 cat >>confdefs.h
<<\_ACEOF
45511 #define wxUSE_ACCESSIBILITY 1
45514 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS access"
45517 if test "$wxUSE_DRAGIMAGE" = "yes"; then
45518 cat >>confdefs.h
<<\_ACEOF
45519 #define wxUSE_DRAGIMAGE 1
45522 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dragimag"
45525 if test "$wxUSE_EXCEPTIONS" = "yes"; then
45526 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
45527 { echo "$as_me:$LINENO: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&5
45528 echo "$as_me: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&2;}
45530 cat >>confdefs.h
<<\_ACEOF
45531 #define wxUSE_EXCEPTIONS 1
45534 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS except"
45539 if test "$wxUSE_HTML" = "yes"; then
45540 cat >>confdefs.h
<<\_ACEOF
45541 #define wxUSE_HTML 1
45545 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS html html/about html/help html/helpview html/printing html/test html/virtual html/widget html/zip htlbox"
45546 if test "$wxUSE_MAC" = 1; then
45547 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS html/htmlctrl"
45550 if test "$wxUSE_WEBKIT" = "yes"; then
45551 if test "$wxUSE_MAC" = 1 -a "$USE_DARWIN" = 1; then
45552 old_CPPFLAGS
="$CPPFLAGS"
45553 CPPFLAGS
="-x objective-c++ $CPPFLAGS"
45554 { echo "$as_me:$LINENO: checking for WebKit/HIWebView.h" >&5
45555 echo $ECHO_N "checking for WebKit/HIWebView.h... $ECHO_C" >&6; }
45556 if test "${ac_cv_header_WebKit_HIWebView_h+set}" = set; then
45557 echo $ECHO_N "(cached) $ECHO_C" >&6
45559 cat >conftest.
$ac_ext <<_ACEOF
45562 cat confdefs.h
>>conftest.
$ac_ext
45563 cat >>conftest.
$ac_ext <<_ACEOF
45564 /* end confdefs.h. */
45566 #include <Carbon/Carbon.h>
45567 #include <WebKit/WebKit.h>
45570 #include <WebKit/HIWebView.h>
45572 rm -f conftest.
$ac_objext
45573 if { (ac_try
="$ac_compile"
45574 case "(($ac_try" in
45575 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
45576 *) ac_try_echo=$ac_try;;
45578 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45579 (eval "$ac_compile") 2>conftest.er1
45581 grep -v '^ *+' conftest.er1 >conftest.err
45583 cat conftest.err >&5
45584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45585 (exit $ac_status); } && {
45586 test -z "$ac_c_werror_flag" ||
45587 test ! -s conftest.err
45588 } && test -s conftest.$ac_objext; then
45589 ac_cv_header_WebKit_HIWebView_h=yes
45591 echo "$as_me: failed program was:" >&5
45592 sed 's/^/| /' conftest.$ac_ext >&5
45594 ac_cv_header_WebKit_HIWebView_h=no
45597 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45599 { echo "$as_me:$LINENO: result: $ac_cv_header_WebKit_HIWebView_h" >&5
45600 echo "${ECHO_T}$ac_cv_header_WebKit_HIWebView_h" >&6; }
45601 if test $ac_cv_header_WebKit_HIWebView_h = yes; then
45603 cat >>confdefs.h <<\_ACEOF
45604 #define wxUSE_WEBKIT 1
45607 WEBKIT_LINK="-framework WebKit"
45611 { echo "$as_me:$LINENO: WARNING: WebKit headers not found; disabling wxWebKit" >&5
45612 echo "$as_me: WARNING: WebKit headers not found; disabling wxWebKit" >&2;}
45618 CPPFLAGS="$old_CPPFLAGS"
45619 elif test "$wxUSE_COCOA" = 1; then
45620 cat >>confdefs.h <<\_ACEOF
45621 #define wxUSE_WEBKIT 1
45630 if test "$wxUSE_XRC" = "yes"; then
45631 if test "$wxUSE_XML" != "yes"; then
45632 { echo "$as_me:$LINENO: WARNING: XML library not built, XRC resources disabled" >&5
45633 echo "$as_me: WARNING: XML library not built, XRC resources disabled" >&2;}
45636 cat >>confdefs.h <<\_ACEOF
45637 #define wxUSE_XRC 1
45641 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS xrc"
45646 if test "$wxUSE_AUI" = "yes"; then
45647 cat >>confdefs.h <<\_ACEOF
45648 #define wxUSE_AUI 1
45652 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS aui"
45656 if test "$wxUSE_STC" = "yes"; then
45657 cat >>confdefs.h <<\_ACEOF
45658 #define wxUSE_STC 1
45662 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS stc"
45665 if test "$wxUSE_MENUS" = "yes"; then
45666 cat >>confdefs.h <<\_ACEOF
45667 #define wxUSE_MENUS 1
45670 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS menu"
45673 if test "$wxUSE_METAFILE" = "yes"; then
45674 cat >>confdefs.h <<\_ACEOF
45675 #define wxUSE_METAFILE 1
45680 if test "$wxUSE_MIMETYPE" = "yes"; then
45681 cat >>confdefs.h <<\_ACEOF
45682 #define wxUSE_MIMETYPE 1
45687 if test "$wxUSE_MINIFRAME" = "yes"; then
45688 cat >>confdefs.h <<\_ACEOF
45689 #define wxUSE_MINIFRAME 1
45694 if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
45695 cat >>confdefs.h <<\_ACEOF
45696 #define wxUSE_SYSTEM_OPTIONS 1
45701 if test "$wxUSE_TASKBARICON" = "yes"; then
45702 cat >>confdefs.h <<\_ACEOF
45703 #define wxUSE_TASKBARICON 1
45706 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS taskbar"
45710 if test "$wxUSE_VALIDATORS" = "yes"; then
45711 cat >>confdefs.h <<\_ACEOF
45712 #define wxUSE_VALIDATORS 1
45715 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS validate"
45718 if test "$wxUSE_PALETTE" = "yes" ; then
45719 if test "$wxUSE_DFB" = 1; then
45720 { echo "$as_me:$LINENO: WARNING: wxPalette not yet supported under DFB... disabled" >&5
45721 echo "$as_me: WARNING: wxPalette not yet supported under DFB... disabled" >&2;}
45724 cat >>confdefs.h <<\_ACEOF
45725 #define wxUSE_PALETTE 1
45731 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_MSLU" = "yes" ; then
45732 LIBS=" -lunicows $LIBS"
45736 if test "$wxUSE_RICHTEXT" = "yes"; then
45737 cat >>confdefs.h <<\_ACEOF
45738 #define wxUSE_RICHTEXT 1
45742 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS richtext"
45746 if test "$wxUSE_IMAGE" = "yes" ; then
45747 cat >>confdefs.h <<\_ACEOF
45748 #define wxUSE_IMAGE 1
45752 if test "$wxUSE_GIF" = "yes" ; then
45753 cat >>confdefs.h <<\_ACEOF
45754 #define wxUSE_GIF 1
45759 if test "$wxUSE_PCX" = "yes" ; then
45760 cat >>confdefs.h <<\_ACEOF
45761 #define wxUSE_PCX 1
45766 if test "$wxUSE_TGA" = "yes" ; then
45767 cat >>confdefs.h <<\_ACEOF
45768 #define wxUSE_TGA 1
45773 if test "$wxUSE_IFF" = "yes" ; then
45774 cat >>confdefs.h <<\_ACEOF
45775 #define wxUSE_IFF 1
45780 if test "$wxUSE_PNM" = "yes" ; then
45781 cat >>confdefs.h <<\_ACEOF
45782 #define wxUSE_PNM 1
45787 if test "$wxUSE_XPM" = "yes" ; then
45788 cat >>confdefs.h <<\_ACEOF
45789 #define wxUSE_XPM 1
45794 if test "$wxUSE_ICO_CUR" = "yes" ; then
45795 cat >>confdefs.h <<\_ACEOF
45796 #define wxUSE_ICO_CUR 1
45803 if test "$wxUSE_ABOUTDLG" = "yes"; then
45804 cat >>confdefs.h <<\_ACEOF
45805 #define wxUSE_ABOUTDLG 1
45810 if test "$wxUSE_CHOICEDLG" = "yes"; then
45811 cat >>confdefs.h <<\_ACEOF
45812 #define wxUSE_CHOICEDLG 1
45817 if test "$wxUSE_COLOURDLG" = "yes"; then
45818 cat >>confdefs.h <<\_ACEOF
45819 #define wxUSE_COLOURDLG 1
45824 if test "$wxUSE_FILEDLG" = "yes"; then
45825 cat >>confdefs.h <<\_ACEOF
45826 #define wxUSE_FILEDLG 1
45831 if test "$wxUSE_FINDREPLDLG" = "yes"; then
45832 cat >>confdefs.h <<\_ACEOF
45833 #define wxUSE_FINDREPLDLG 1
45838 if test "$wxUSE_FONTDLG" = "yes"; then
45839 cat >>confdefs.h <<\_ACEOF
45840 #define wxUSE_FONTDLG 1
45845 if test "$wxUSE_DIRDLG" = "yes"; then
45846 if test "$wxUSE_TREECTRL" != "yes"; then
45847 { echo "$as_me:$LINENO: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&5
45848 echo "$as_me: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&2;}
45850 cat >>confdefs.h <<\_ACEOF
45851 #define wxUSE_DIRDLG 1
45857 if test "$wxUSE_MSGDLG" = "yes"; then
45858 cat >>confdefs.h <<\_ACEOF
45859 #define wxUSE_MSGDLG 1
45864 if test "$wxUSE_NUMBERDLG" = "yes"; then
45865 cat >>confdefs.h <<\_ACEOF
45866 #define wxUSE_NUMBERDLG 1
45871 if test "$wxUSE_PROGRESSDLG" = "yes"; then
45872 if test "$wxUSE_CONSTRAINTS" != "yes"; then
45873 { echo "$as_me:$LINENO: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&5
45874 echo "$as_me: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&2;}
45876 cat >>confdefs.h <<\_ACEOF
45877 #define wxUSE_PROGRESSDLG 1
45883 if test "$wxUSE_SPLASH" = "yes"; then
45884 cat >>confdefs.h <<\_ACEOF
45885 #define wxUSE_SPLASH 1
45888 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splash"
45891 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
45892 if test "$wxUSE_CONSTRAINTS" != "yes"; then
45893 { echo "$as_me:$LINENO: WARNING: Startup tips requires constraints and won't be compiled without them" >&5
45894 echo "$as_me: WARNING: Startup tips requires constraints and won't be compiled without them" >&2;}
45896 cat >>confdefs.h <<\_ACEOF
45897 #define wxUSE_STARTUP_TIPS 1
45903 if test "$wxUSE_TEXTDLG" = "yes"; then
45904 cat >>confdefs.h <<\_ACEOF
45905 #define wxUSE_TEXTDLG 1
45910 if test "$wxUSE_WIZARDDLG" = "yes"; then
45911 cat >>confdefs.h <<\_ACEOF
45912 #define wxUSE_WIZARDDLG 1
45915 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS wizard"
45919 if test "$wxUSE_MSW" = 1 -o "$wxUSE_PM" = 1; then
45920 if test "$wxUSE_OWNER_DRAWN" = "yes"; then
45921 cat >>confdefs.h <<\_ACEOF
45922 #define wxUSE_OWNER_DRAWN 1
45929 if test "$wxUSE_MSW" = 1 ; then
45931 if test "$wxUSE_DC_CACHEING" = "yes"; then
45932 cat >>confdefs.h <<\_ACEOF
45933 #define wxUSE_DC_CACHEING 1
45938 if test "$wxUSE_DIB" = "yes"; then
45939 cat >>confdefs.h <<\_ACEOF
45940 #define wxUSE_WXDIB 1
45945 if test "$wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW" = "yes"; then
45946 cat >>confdefs.h <<\_ACEOF
45947 #define wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW 1
45952 if test "$wxUSE_UXTHEME" = "yes"; then
45953 cat >>confdefs.h <<\_ACEOF
45954 #define wxUSE_UXTHEME 1
45961 if test "$wxUSE_AUTOID_MANAGEMENT" = "yes"; then
45962 cat >>confdefs.h <<\_ACEOF
45963 #define wxUSE_AUTOID_MANAGEMENT 1
45968 if test "$USE_WIN32" = 1 ; then
45969 if test "$wxUSE_INICONF" = "yes"; then
45970 cat >>confdefs.h <<\_ACEOF
45971 #define wxUSE_INICONF 1
45976 if test "$wxUSE_REGKEY" = "yes"; then
45977 cat >>confdefs.h <<\_ACEOF
45978 #define wxUSE_REGKEY 1
45985 if test "$wxUSE_GRAPHICS_CONTEXT" = "yes"; then
45986 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1; then
45987 cat >>confdefs.h <<\_ACEOF
45988 #define wxUSE_GRAPHICS_CONTEXT 1
45991 elif test "$wxUSE_GTK" != 1; then
45992 cat >>confdefs.h <<\_ACEOF
45993 #define wxUSE_GRAPHICS_CONTEXT 1
45999 { echo "$as_me:$LINENO: checking for CAIRO" >&5
46000 echo $ECHO_N "checking for CAIRO... $ECHO_C" >&6; }
46002 if test -n "$PKG_CONFIG"; then
46003 if test -n "$CAIRO_CFLAGS"; then
46004 pkg_cv_CAIRO_CFLAGS="$CAIRO_CFLAGS"
46006 if test -n "$PKG_CONFIG" && \
46007 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo\"") >&5
46008 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
46010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46011 (exit $ac_status); }; then
46012 pkg_cv_CAIRO_CFLAGS=`$PKG_CONFIG --cflags "cairo" 2>/dev
/null
`
46020 if test -n "$PKG_CONFIG"; then
46021 if test -n "$CAIRO_LIBS"; then
46022 pkg_cv_CAIRO_LIBS="$CAIRO_LIBS"
46024 if test -n "$PKG_CONFIG" && \
46025 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo\"") >&5
46026 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
46028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46029 (exit $ac_status); }; then
46030 pkg_cv_CAIRO_LIBS=`$PKG_CONFIG --libs "cairo" 2>/dev
/null
`
46041 if test $pkg_failed = yes; then
46043 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
46044 _pkg_short_errors_supported=yes
46046 _pkg_short_errors_supported=no
46048 if test $_pkg_short_errors_supported = yes; then
46049 CAIRO_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "cairo"`
46051 CAIRO_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "cairo"`
46053 # Put the nasty error message in config.log where it belongs
46054 echo "$CAIRO_PKG_ERRORS" >&5
46056 { echo "$as_me:$LINENO: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&5
46057 echo "$as_me: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&2;}
46059 elif test $pkg_failed = untried; then
46060 { echo "$as_me:$LINENO: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&5
46061 echo "$as_me: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&2;}
46064 CAIRO_CFLAGS=$pkg_cv_CAIRO_CFLAGS
46065 CAIRO_LIBS=$pkg_cv_CAIRO_LIBS
46066 { echo "$as_me:$LINENO: result: yes" >&5
46067 echo "${ECHO_T}yes" >&6; }
46068 cat >>confdefs.h <<\_ACEOF
46069 #define wxUSE_GRAPHICS_CONTEXT 1
46079 if test "$wxUSE_MEDIACTRL" = "yes"; then
46082 if test "$wxUSE_GTK" = 1; then
46083 wxUSE_GSTREAMER="no"
46085 GST_VERSION_MAJOR=0
46086 GST_VERSION_MINOR=10
46087 GST_VERSION=$GST_VERSION_MAJOR.$GST_VERSION_MINOR
46089 if test "$wxUSE_GSTREAMER8" = "no"; then
46092 { echo "$as_me:$LINENO: checking for GST" >&5
46093 echo $ECHO_N "checking for GST... $ECHO_C" >&6; }
46095 if test -n "$PKG_CONFIG"; then
46096 if test -n "$GST_CFLAGS"; then
46097 pkg_cv_GST_CFLAGS="$GST_CFLAGS"
46099 if test -n "$PKG_CONFIG" && \
46100 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION gconf-2.0\"") >&5
46101 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0") 2>&5
46103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46104 (exit $ac_status); }; then
46105 pkg_cv_GST_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" 2>/dev
/null
`
46113 if test -n "$PKG_CONFIG"; then
46114 if test -n "$GST_LIBS"; then
46115 pkg_cv_GST_LIBS="$GST_LIBS"
46117 if test -n "$PKG_CONFIG" && \
46118 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION gconf-2.0\"") >&5
46119 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0") 2>&5
46121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46122 (exit $ac_status); }; then
46123 pkg_cv_GST_LIBS=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" 2>/dev
/null
`
46134 if test $pkg_failed = yes; then
46136 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
46137 _pkg_short_errors_supported=yes
46139 _pkg_short_errors_supported=no
46141 if test $_pkg_short_errors_supported = yes; then
46142 GST_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
46144 GST_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
46146 # Put the nasty error message in config.log where it belongs
46147 echo "$GST_PKG_ERRORS" >&5
46150 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
46151 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
46152 GST_VERSION_MINOR=8
46155 elif test $pkg_failed = untried; then
46157 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
46158 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
46159 GST_VERSION_MINOR=8
46163 GST_CFLAGS=$pkg_cv_GST_CFLAGS
46164 GST_LIBS=$pkg_cv_GST_LIBS
46165 { echo "$as_me:$LINENO: result: yes" >&5
46166 echo "${ECHO_T}yes" >&6; }
46168 wxUSE_GSTREAMER="yes"
46169 GST_LIBS="$GST_LIBS -lgstinterfaces-$GST_VERSION"
46173 GST_VERSION_MINOR=8
46176 if test $GST_VERSION_MINOR = "8"; then
46177 GST_VERSION=$GST_VERSION_MAJOR.$GST_VERSION_MINOR
46180 { echo "$as_me:$LINENO: checking for GST" >&5
46181 echo $ECHO_N "checking for GST... $ECHO_C" >&6; }
46183 if test -n "$PKG_CONFIG"; then
46184 if test -n "$GST_CFLAGS"; then
46185 pkg_cv_GST_CFLAGS="$GST_CFLAGS"
46187 if test -n "$PKG_CONFIG" && \
46188 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
46189 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
46191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46192 (exit $ac_status); }; then
46193 pkg_cv_GST_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev
/null
`
46201 if test -n "$PKG_CONFIG"; then
46202 if test -n "$GST_LIBS"; then
46203 pkg_cv_GST_LIBS="$GST_LIBS"
46205 if test -n "$PKG_CONFIG" && \
46206 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
46207 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
46209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46210 (exit $ac_status); }; then
46211 pkg_cv_GST_LIBS=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev
/null
`
46222 if test $pkg_failed = yes; then
46224 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
46225 _pkg_short_errors_supported=yes
46227 _pkg_short_errors_supported=no
46229 if test $_pkg_short_errors_supported = yes; then
46230 GST_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
46232 GST_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
46234 # Put the nasty error message in config.log where it belongs
46235 echo "$GST_PKG_ERRORS" >&5
46238 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
46239 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
46241 elif test $pkg_failed = untried; then
46243 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
46244 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
46247 GST_CFLAGS=$pkg_cv_GST_CFLAGS
46248 GST_LIBS=$pkg_cv_GST_LIBS
46249 { echo "$as_me:$LINENO: result: yes" >&5
46250 echo "${ECHO_T}yes" >&6; }
46251 wxUSE_GSTREAMER="yes"
46256 if test "$wxUSE_GSTREAMER" = "yes"; then
46257 CPPFLAGS="$GST_CFLAGS $CPPFLAGS"
46258 EXTRALIBS_MEDIA="$GST_LIBS"
46260 cat >>confdefs.h <<\_ACEOF
46261 #define wxUSE_GSTREAMER 1
46269 if test $USE_MEDIA = 1; then
46270 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mediaplayer"
46271 cat >>confdefs.h <<\_ACEOF
46272 #define wxUSE_MEDIACTRL 1
46279 if test "$cross_compiling" = "yes"; then
46282 OSINFO=`uname
-s -r -m`
46283 OSINFO="\"$OSINFO\""
46286 cat >>confdefs.h <<_ACEOF
46287 #define WXWIN_OS_DESCRIPTION $OSINFO
46292 if test "x$prefix" != "xNONE"; then
46295 wxPREFIX=$ac_default_prefix
46298 cat >>confdefs.h <<_ACEOF
46299 #define wxINSTALL_PREFIX "$wxPREFIX"
46305 STD_BASE_LIBS="base"
46307 BUILT_WX_LIBS="base"
46308 ALL_WX_LIBS="xrc stc gl media qa html adv core xml net base"
46310 if test "$wxUSE_SOCKETS" = "yes" ; then
46311 STD_BASE_LIBS="net $STD_BASE_LIBS"
46312 BUILT_WX_LIBS="net $BUILT_WX_LIBS"
46314 if test "$wxUSE_XML" = "yes" ; then
46315 STD_BASE_LIBS="xml $STD_BASE_LIBS"
46316 BUILT_WX_LIBS="xml $BUILT_WX_LIBS"
46319 if test "$wxUSE_GUI" = "yes"; then
46320 STD_GUI_LIBS="adv core"
46321 BUILT_WX_LIBS="$STD_GUI_LIBS $BUILT_WX_LIBS"
46323 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
46324 STD_GUI_LIBS="qa $STD_GUI_LIBS"
46325 BUILT_WX_LIBS="qa $BUILT_WX_LIBS"
46327 if test "$wxUSE_HTML" = "yes" ; then
46328 STD_GUI_LIBS="html $STD_GUI_LIBS"
46329 BUILT_WX_LIBS="html $BUILT_WX_LIBS"
46331 if test "$wxUSE_MEDIACTRL" = "yes" ; then
46332 BUILT_WX_LIBS="media $BUILT_WX_LIBS"
46334 if test "$wxUSE_OPENGL" = "yes" ; then
46335 BUILT_WX_LIBS="gl $BUILT_WX_LIBS"
46337 if test "$wxUSE_AUI" = "yes" ; then
46338 BUILT_WX_LIBS="aui $BUILT_WX_LIBS"
46340 if test "$wxUSE_STC" = "yes" ; then
46341 BUILT_WX_LIBS="stc $BUILT_WX_LIBS"
46343 if test "$wxUSE_XRC" = "yes" ; then
46344 STD_GUI_LIBS="xrc $STD_GUI_LIBS"
46345 BUILT_WX_LIBS="xrc $BUILT_WX_LIBS"
46356 if test "$wxUSE_MAC" = 1 ; then
46357 if test "$wxUSE_SOUND" = "yes" || test "$wxUSE_MEDIACTRL" = "yes"; then
46358 if test "$USE_DARWIN" = 1; then
46359 LDFLAGS="$LDFLAGS -framework QuickTime"
46361 LDFLAGS="$LDFLAGS -lQuickTimeLib"
46364 if test "$USE_DARWIN" = 1; then
46365 LDFLAGS="$LDFLAGS -framework IOKit -framework Carbon -framework Cocoa -framework System"
46367 LDFLAGS="$LDFLAGS -lCarbonLib"
46370 if test "$wxUSE_COCOA" = 1 ; then
46371 LDFLAGS="$LDFLAGS -framework IOKit -framework Cocoa"
46372 if test "$wxUSE_MEDIACTRL" = "yes"; then
46373 LDFLAGS="$LDFLAGS -framework QuickTime"
46376 if test "$USE_DARWIN" = 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1 ; then
46377 LDFLAGS="$LDFLAGS -framework IOKit -framework CoreServices -framework System -framework ApplicationServices"
46380 LIBS="$ZLIB_LINK $POSIX4_LINK $INET_LINK $WCHAR_LINK $DL_LINK $LIBS"
46382 if test "$wxUSE_GUI" = "yes"; then
46385 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS artprov controls dialogs drawing \
46386 erase event exec font image minimal mobile \
46387 mobile/wxedit mobile/styles render \
46388 shaped svg taborder vscroll widgets"
46390 if test "$wxUSE_MONOLITHIC" != "yes"; then
46391 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS console"
46393 if test "$TOOLKIT" = "MSW"; then
46394 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS regtest"
46395 if test "$wxUSE_UNIVERSAL" != "yes"; then
46396 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ownerdrw nativdlg"
46399 if test "$TOOLKIT" = "PM" -a "$wxUSE_UNIVERSAL" != "yes"; then
46400 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ownerdrw"
46403 SAMPLES_SUBDIRS="console"
46404 if test "$wxUSE_SOCKETS" = "yes" ; then
46405 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sockets"
46407 if test "$wxUSE_IPC" = "yes" ; then
46408 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ipc"
46413 if test "x$INTELCC" = "xyes" ; then
46414 CWARNINGS="-Wall -wd810,869,981,1418,1572,1684"
46415 elif test "$GCC" = yes ; then
46416 CWARNINGS="-Wall -Wundef"
46419 if test "x$INTELCXX" = "xyes" ; then
46420 CXXWARNINGS="-Wall -wd279,383,444,810,869,981,1418,1419"
46421 elif test "$GXX" = yes ; then
46422 CXXWARNINGS="-Wall -Wundef -Wunused-parameter -Wno-ctor-dtor-privacy"
46426 WXCONFIG_CFLAGS=`echo $WXCONFIG_CFLAGS`
46427 WXCONFIG_CXXFLAGS=`echo $WXCONFIG_CFLAGS $WXCONFIG_CXXFLAGS`
46430 CPPFLAGS=`echo $WXCONFIG_CPPFLAGS \
46431 -I\\${wx_top_builddir}/lib
/wx
/include
/${TOOLCHAIN_FULLNAME} \
46432 -I\\${top_srcdir}/include
$TOOLKIT_INCLUDE \
46435 C_AND_CXX_FLAGS="$DEBUG_CFLAGS $PROFILE_FLAGS $OPTIMISE_CFLAGS"
46436 CFLAGS=`echo $WXCONFIG_CFLAGS $CWARNINGS $C_AND_CXX_FLAGS $CFLAGS `
46437 CXXFLAGS=`echo $WXCONFIG_CXXFLAGS $C_AND_CXX_FLAGS $CXXFLAGS `
46439 WXCONFIG_CPPFLAGS=`echo $WXCONFIG_CPPFLAGS $WXCONFIG_ONLY_CPPFLAGS`
46442 if test "x$MWCC" = "xyes"; then
46444 CC="$CC -cwd source -I-"
46445 CXX="$CXX -cwd source -I-"
46450 EXTRALIBS="$LDFLAGS $LDFLAGS_VERSIONING $LIBS $DMALLOC_LIBS"
46451 EXTRALIBS_XML="$EXPAT_LINK"
46452 EXTRALIBS_HTML="$MSPACK_LINK"
46453 EXTRALIBS_MEDIA="$GST_LIBS"
46454 EXTRALIBS_STC="-lwxscintilla${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX}"
46455 if test "$wxUSE_GUI" = "yes"; then
46456 EXTRALIBS_GUI=`echo $GUI_TK_LIBRARY $PNG_LINK $JPEG_LINK $TIFF_LINK $WEBKIT_LINK $EXTRALIBS_HILDON $EXTRALIBS_GNOMEVFS $EXTRALIBS_GNOMEPRINT`
46458 if test "$wxUSE_OPENGL" = "yes"; then
46459 EXTRALIBS_OPENGL="$LDFLAGS_GL $OPENGL_LIBS"
46462 LDFLAGS="$LDFLAGS $PROFILE_FLAGS"
46464 WXCONFIG_LIBS="$LIBS"
46466 if test "$wxUSE_REGEX" = "builtin" ; then
46467 wxconfig_3rdparty="regex${lib_unicode_suffix} $wxconfig_3rdparty"
46469 if test "$wxUSE_EXPAT" = "builtin" ; then
46470 wxconfig_3rdparty="expat $wxconfig_3rdparty"
46472 if test "$wxUSE_LIBTIFF" = "builtin" ; then
46473 wxconfig_3rdparty="tiff $wxconfig_3rdparty"
46475 if test "$wxUSE_LIBJPEG" = "builtin" ; then
46476 wxconfig_3rdparty="jpeg $wxconfig_3rdparty"
46478 if test "$wxUSE_LIBPNG" = "builtin" ; then
46479 wxconfig_3rdparty="png $wxconfig_3rdparty"
46481 if test "$wxUSE_ZLIB" = "builtin" ; then
46482 wxconfig_3rdparty="zlib $wxconfig_3rdparty"
46485 for i in $wxconfig_3rdparty ; do
46486 WXCONFIG_LIBS="-lwx${i}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX} $WXCONFIG_LIBS"
46490 if test "x$wxUSE_UNIVERSAL" = "xyes" ; then
46493 case "$wxUNIV_THEMES" in
46495 cat >>confdefs.h <<\_ACEOF
46496 #define wxUSE_ALL_THEMES 1
46502 for t in `echo $wxUNIV_THEMES | tr , ' ' | tr '[a-z]' '[A-Z]'`; do
46503 cat >>confdefs.h <<_ACEOF
46504 #define wxUSE_THEME_$t 1
46520 if test $wxUSE_MONOLITHIC = "yes" ; then
46526 if test $wxUSE_PLUGINS = "yes" ; then
46532 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
46538 if test $wxUSE_OFFICIAL_BUILD = "yes" ; then
46571 TOOLKIT_LOWERCASE=`echo $TOOLKIT | tr '[A-Z]' '[a-z]'`
46582 TOOLKIT_DESC="GTK+"
46583 if test "$WXGTK2" = 1; then
46584 TOOLKIT_DESC="$TOOLKIT_DESC 2"
46585 if test "$wxUSE_GTKPRINT" = "yes" ; then
46586 TOOLKIT_EXTRA="$TOOLKIT_EXTRA GTK+ printing";
46588 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
46589 TOOLKIT_EXTRA="$TOOLKIT_EXTRA gnomeprint";
46591 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
46592 TOOLKIT_EXTRA="$TOOLKIT_EXTRA gnomevfs"
46594 if test "$wxUSE_LIBHILDON" = "yes"; then
46595 TOOLKIT_EXTRA="$TOOLKIT_EXTRA hildon"
46598 if test "$TOOLKIT_EXTRA" != ""; then
46599 TOOLKIT_DESC="$TOOLKIT_DESC with support for `echo $TOOLKIT_EXTRA | tr -s ' '`"
46605 TOOLKIT_DESC=$TOOLKIT_LOWERCASE
46609 TOOLKIT_DESC="base only"
46613 if test "$wxUSE_WINE" = "yes"; then
46614 BAKEFILE_FORCE_PLATFORM=win32
46617 if test "$wxUSE_UNICODE" = yes -a "$GCC" = yes -a "$bk_use_pch" != no
46619 { echo "$as_me:$LINENO: checking for gcc precompiled header bug" >&5
46620 echo $ECHO_N "checking for gcc precompiled header bug... $ECHO_C" >&6; }
46621 if test "${wx_cv_gcc_pch_bug+set}" = set; then
46622 echo $ECHO_N "(cached) $ECHO_C" >&6
46625 echo '#include <stdio.h>
46626 const wchar_t test_var[] = L"awidetest";' > conftest.h
46628 echo '#include "conftest.h"
46631 printf("%ls", test_var);
46635 wx_cv_gcc_pch_bug="pch not supported"
46637 if $CXX conftest.h >/dev/null 2>&1
46641 if $CXX -o conftest$PROGRAM_EXT conftest.cpp >/dev/null 2>&1
46643 if tr -dc '[a-z]' < conftest$PROGRAM_EXT |
46644 grep awidetest >/dev/null
46646 wx_cv_gcc_pch_bug=no
46648 wx_cv_gcc_pch_bug=yes
46653 rm -f conftest.h conftest.gch conftest.cpp conftest$PROGRAM_EXT
46656 { echo "$as_me:$LINENO: result: $wx_cv_gcc_pch_bug" >&5
46657 echo "${ECHO_T}$wx_cv_gcc_pch_bug" >&6; }
46659 if test "$wx_cv_gcc_pch_bug" = yes; then
46670 if test "x$BAKEFILE_HOST" = "x"; then
46671 if test "x${host}" = "x" ; then
46672 { { echo "$as_me:$LINENO: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&5
46673 echo "$as_me: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&2;}
46674 { (exit 1); exit 1; }; }
46677 BAKEFILE_HOST="${host}"
46680 if test "x$BAKEFILE_CHECK_BASICS" != "xno"; then
46682 if test -n "$ac_tool_prefix"; then
46683 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
46684 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
46685 { echo "$as_me:$LINENO: checking for $ac_word" >&5
46686 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
46687 if test "${ac_cv_prog_RANLIB+set}" = set; then
46688 echo $ECHO_N "(cached) $ECHO_C" >&6
46690 if test -n "$RANLIB"; then
46691 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
46693 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
46694 for as_dir in $PATH
46697 test -z "$as_dir" && as_dir=.
46698 for ac_exec_ext in '' $ac_executable_extensions; do
46699 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
46700 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
46701 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
46710 RANLIB=$ac_cv_prog_RANLIB
46711 if test -n "$RANLIB"; then
46712 { echo "$as_me:$LINENO: result: $RANLIB" >&5
46713 echo "${ECHO_T}$RANLIB" >&6; }
46715 { echo "$as_me:$LINENO: result: no" >&5
46716 echo "${ECHO_T}no" >&6; }
46721 if test -z "$ac_cv_prog_RANLIB"; then
46722 ac_ct_RANLIB=$RANLIB
46723 # Extract the first word of "ranlib", so it can be a program name with args.
46724 set dummy ranlib; ac_word=$2
46725 { echo "$as_me:$LINENO: checking for $ac_word" >&5
46726 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
46727 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
46728 echo $ECHO_N "(cached) $ECHO_C" >&6
46730 if test -n "$ac_ct_RANLIB"; then
46731 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
46733 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
46734 for as_dir in $PATH
46737 test -z "$as_dir" && as_dir=.
46738 for ac_exec_ext in '' $ac_executable_extensions; do
46739 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
46740 ac_cv_prog_ac_ct_RANLIB="ranlib"
46741 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
46750 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
46751 if test -n "$ac_ct_RANLIB"; then
46752 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
46753 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
46755 { echo "$as_me:$LINENO: result: no" >&5
46756 echo "${ECHO_T}no" >&6; }
46759 if test "x$ac_ct_RANLIB" = x; then
46762 case $cross_compiling:$ac_tool_warned in
46764 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
46765 whose name does not start with the host triplet. If you think this
46766 configuration is useful to you, please write to autoconf@gnu.org." >&5
46767 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
46768 whose name does not start with the host triplet. If you think this
46769 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
46770 ac_tool_warned=yes ;;
46772 RANLIB=$ac_ct_RANLIB
46775 RANLIB="$ac_cv_prog_RANLIB"
46778 # Find a good install program. We prefer a C program (faster),
46779 # so one script is as good as another. But avoid the broken or
46780 # incompatible versions:
46781 # SysV /etc/install, /usr/sbin/install
46782 # SunOS /usr/etc/install
46783 # IRIX /sbin/install
46785 # AmigaOS /C/install, which installs bootblocks on floppy discs
46786 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
46787 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
46788 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
46789 # OS/2's system install, which has a completely different semantic
46790 # ./install, which can be erroneously created by make from ./install.sh.
46791 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
46792 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
46793 if test -z "$INSTALL"; then
46794 if test "${ac_cv_path_install+set}" = set; then
46795 echo $ECHO_N "(cached) $ECHO_C" >&6
46797 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
46798 for as_dir in $PATH
46801 test -z "$as_dir" && as_dir=.
46802 # Account for people who put trailing slashes in PATH elements.
46804 ./ | .// | /cC/* | \
46805 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
46806 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
46809 # OSF1 and SCO ODT 3.0 have their own names for install.
46810 # Don't use installbsd from OSF since it installs stuff as root
46812 for ac_prog in ginstall scoinst install; do
46813 for ac_exec_ext in '' $ac_executable_extensions; do
46814 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
46815 if test $ac_prog = install &&
46816 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
46817 # AIX install. It has an incompatible calling convention.
46819 elif test $ac_prog = install &&
46820 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
46821 # program-specific install script used by HP pwplus--don't use.
46824 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
46837 if test "${ac_cv_path_install+set}" = set; then
46838 INSTALL=$ac_cv_path_install
46840 # As a last resort, use the slow shell script. Don't cache a
46841 # value for INSTALL within a source directory, because that will
46842 # break other packages using the cache if that directory is
46843 # removed, or if the value is a relative name.
46844 INSTALL=$ac_install_sh
46847 { echo "$as_me:$LINENO: result: $INSTALL" >&5
46848 echo "${ECHO_T}$INSTALL" >&6; }
46850 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
46851 # It thinks the first close brace ends the variable substitution.
46852 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
46854 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
46856 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
46858 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
46859 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
46861 if test "$LN_S" = "ln -s"; then
46862 { echo "$as_me:$LINENO: result: yes" >&5
46863 echo "${ECHO_T}yes" >&6; }
46865 { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
46866 echo "${ECHO_T}no, using $LN_S" >&6; }
46870 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
46871 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
46872 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
46873 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
46874 echo $ECHO_N "(cached) $ECHO_C" >&6
46876 cat >conftest.make <<\_ACEOF
46879 @echo '@@@%%%=$(MAKE)=@@@%%%'
46881 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
46882 case `${MAKE-make} -f conftest.
make 2>/dev
/null
` in
46883 *@@@%%%=?*=@@@%%%*)
46884 eval ac_cv_prog_make_${ac_make}_set=yes;;
46886 eval ac_cv_prog_make_${ac_make}_set=no;;
46888 rm -f conftest.make
46890 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
46891 { echo "$as_me:$LINENO: result: yes" >&5
46892 echo "${ECHO_T}yes" >&6; }
46895 { echo "$as_me:$LINENO: result: no" >&5
46896 echo "${ECHO_T}no" >&6; }
46897 SET_MAKE="MAKE=${MAKE-make}"
46902 if test "x$SUNCXX" = "xyes"; then
46904 AROPTIONS="-xar -o"
46906 elif test "x$SGICC" = "xyes"; then
46911 if test -n "$ac_tool_prefix"; then
46912 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
46913 set dummy ${ac_tool_prefix}ar; ac_word=$2
46914 { echo "$as_me:$LINENO: checking for $ac_word" >&5
46915 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
46916 if test "${ac_cv_prog_AR+set}" = set; then
46917 echo $ECHO_N "(cached) $ECHO_C" >&6
46919 if test -n "$AR"; then
46920 ac_cv_prog_AR="$AR" # Let the user override the test.
46922 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
46923 for as_dir in $PATH
46926 test -z "$as_dir" && as_dir=.
46927 for ac_exec_ext in '' $ac_executable_extensions; do
46928 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
46929 ac_cv_prog_AR="${ac_tool_prefix}ar"
46930 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
46940 if test -n "$AR"; then
46941 { echo "$as_me:$LINENO: result: $AR" >&5
46942 echo "${ECHO_T}$AR" >&6; }
46944 { echo "$as_me:$LINENO: result: no" >&5
46945 echo "${ECHO_T}no" >&6; }
46950 if test -z "$ac_cv_prog_AR"; then
46952 # Extract the first word of "ar", so it can be a program name with args.
46953 set dummy ar; ac_word=$2
46954 { echo "$as_me:$LINENO: checking for $ac_word" >&5
46955 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
46956 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
46957 echo $ECHO_N "(cached) $ECHO_C" >&6
46959 if test -n "$ac_ct_AR"; then
46960 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
46962 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
46963 for as_dir in $PATH
46966 test -z "$as_dir" && as_dir=.
46967 for ac_exec_ext in '' $ac_executable_extensions; do
46968 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
46969 ac_cv_prog_ac_ct_AR="ar"
46970 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
46979 ac_ct_AR=$ac_cv_prog_ac_ct_AR
46980 if test -n "$ac_ct_AR"; then
46981 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
46982 echo "${ECHO_T}$ac_ct_AR" >&6; }
46984 { echo "$as_me:$LINENO: result: no" >&5
46985 echo "${ECHO_T}no" >&6; }
46988 if test "x$ac_ct_AR" = x; then
46991 case $cross_compiling:$ac_tool_warned in
46993 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
46994 whose name does not start with the host triplet. If you think this
46995 configuration is useful to you, please write to autoconf@gnu.org." >&5
46996 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
46997 whose name does not start with the host triplet. If you think this
46998 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
46999 ac_tool_warned=yes ;;
47004 AR="$ac_cv_prog_AR"
47011 if test -n "$ac_tool_prefix"; then
47012 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
47013 set dummy ${ac_tool_prefix}strip; ac_word=$2
47014 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47015 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47016 if test "${ac_cv_prog_STRIP+set}" = set; then
47017 echo $ECHO_N "(cached) $ECHO_C" >&6
47019 if test -n "$STRIP"; then
47020 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
47022 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47023 for as_dir in $PATH
47026 test -z "$as_dir" && as_dir=.
47027 for ac_exec_ext in '' $ac_executable_extensions; do
47028 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47029 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
47030 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47039 STRIP=$ac_cv_prog_STRIP
47040 if test -n "$STRIP"; then
47041 { echo "$as_me:$LINENO: result: $STRIP" >&5
47042 echo "${ECHO_T}$STRIP" >&6; }
47044 { echo "$as_me:$LINENO: result: no" >&5
47045 echo "${ECHO_T}no" >&6; }
47050 if test -z "$ac_cv_prog_STRIP"; then
47052 # Extract the first word of "strip", so it can be a program name with args.
47053 set dummy strip; ac_word=$2
47054 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47055 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47056 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
47057 echo $ECHO_N "(cached) $ECHO_C" >&6
47059 if test -n "$ac_ct_STRIP"; then
47060 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
47062 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47063 for as_dir in $PATH
47066 test -z "$as_dir" && as_dir=.
47067 for ac_exec_ext in '' $ac_executable_extensions; do
47068 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47069 ac_cv_prog_ac_ct_STRIP="strip"
47070 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47079 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
47080 if test -n "$ac_ct_STRIP"; then
47081 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
47082 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
47084 { echo "$as_me:$LINENO: result: no" >&5
47085 echo "${ECHO_T}no" >&6; }
47088 if test "x$ac_ct_STRIP" = x; then
47091 case $cross_compiling:$ac_tool_warned in
47093 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
47094 whose name does not start with the host triplet. If you think this
47095 configuration is useful to you, please write to autoconf@gnu.org." >&5
47096 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
47097 whose name does not start with the host triplet. If you think this
47098 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
47099 ac_tool_warned=yes ;;
47104 STRIP="$ac_cv_prog_STRIP"
47107 if test -n "$ac_tool_prefix"; then
47108 # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args.
47109 set dummy ${ac_tool_prefix}nm; ac_word=$2
47110 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47111 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47112 if test "${ac_cv_prog_NM+set}" = set; then
47113 echo $ECHO_N "(cached) $ECHO_C" >&6
47115 if test -n "$NM"; then
47116 ac_cv_prog_NM="$NM" # Let the user override the test.
47118 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47119 for as_dir in $PATH
47122 test -z "$as_dir" && as_dir=.
47123 for ac_exec_ext in '' $ac_executable_extensions; do
47124 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47125 ac_cv_prog_NM="${ac_tool_prefix}nm"
47126 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47136 if test -n "$NM"; then
47137 { echo "$as_me:$LINENO: result: $NM" >&5
47138 echo "${ECHO_T}$NM" >&6; }
47140 { echo "$as_me:$LINENO: result: no" >&5
47141 echo "${ECHO_T}no" >&6; }
47146 if test -z "$ac_cv_prog_NM"; then
47148 # Extract the first word of "nm", so it can be a program name with args.
47149 set dummy nm; ac_word=$2
47150 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47151 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47152 if test "${ac_cv_prog_ac_ct_NM+set}" = set; then
47153 echo $ECHO_N "(cached) $ECHO_C" >&6
47155 if test -n "$ac_ct_NM"; then
47156 ac_cv_prog_ac_ct_NM="$ac_ct_NM" # Let the user override the test.
47158 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47159 for as_dir in $PATH
47162 test -z "$as_dir" && as_dir=.
47163 for ac_exec_ext in '' $ac_executable_extensions; do
47164 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47165 ac_cv_prog_ac_ct_NM="nm"
47166 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47175 ac_ct_NM=$ac_cv_prog_ac_ct_NM
47176 if test -n "$ac_ct_NM"; then
47177 { echo "$as_me:$LINENO: result: $ac_ct_NM" >&5
47178 echo "${ECHO_T}$ac_ct_NM" >&6; }
47180 { echo "$as_me:$LINENO: result: no" >&5
47181 echo "${ECHO_T}no" >&6; }
47184 if test "x$ac_ct_NM" = x; then
47187 case $cross_compiling:$ac_tool_warned in
47189 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
47190 whose name does not start with the host triplet. If you think this
47191 configuration is useful to you, please write to autoconf@gnu.org." >&5
47192 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
47193 whose name does not start with the host triplet. If you think this
47194 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
47195 ac_tool_warned=yes ;;
47200 NM="$ac_cv_prog_NM"
47204 { echo "$as_me:$LINENO: checking for command to install directories" >&5
47205 echo $ECHO_N "checking for command to install directories... $ECHO_C" >&6; }
47206 INSTALL_TEST_DIR=acbftest$$
47207 $INSTALL -d $INSTALL_TEST_DIR > /dev/null 2>&1
47208 if test $? = 0 -a -d $INSTALL_TEST_DIR; then
47209 rmdir $INSTALL_TEST_DIR
47210 INSTALL_DIR='$(INSTALL) -d'
47211 { echo "$as_me:$LINENO: result: $INSTALL -d" >&5
47212 echo "${ECHO_T}$INSTALL -d" >&6; }
47214 INSTALL_DIR="mkdir -p"
47215 { echo "$as_me:$LINENO: result: mkdir -p" >&5
47216 echo "${ECHO_T}mkdir -p" >&6; }
47221 case ${BAKEFILE_HOST} in
47222 *-*-cygwin* | *-*-mingw32* )
47223 LDFLAGS_GUI="-mwindows"
47229 { echo "$as_me:$LINENO: checking if make is GNU make" >&5
47230 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6; }
47231 if test "${bakefile_cv_prog_makeisgnu+set}" = set; then
47232 echo $ECHO_N "(cached) $ECHO_C" >&6
47235 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev/null |
47236 egrep -s GNU > /dev/null); then
47237 bakefile_cv_prog_makeisgnu="yes"
47239 bakefile_cv_prog_makeisgnu="no"
47243 { echo "$as_me:$LINENO: result: $bakefile_cv_prog_makeisgnu" >&5
47244 echo "${ECHO_T}$bakefile_cv_prog_makeisgnu" >&6; }
47246 if test "x$bakefile_cv_prog_makeisgnu" = "xyes"; then
47263 if test "x$BAKEFILE_FORCE_PLATFORM" = "x"; then
47264 case "${BAKEFILE_HOST}" in
47271 *-pc-os2_emx | *-pc-os2-emx )
47281 powerpc-apple-macos* )
47290 case "$BAKEFILE_FORCE_PLATFORM" in
47325 # Check whether --enable-omf was given.
47326 if test "${enable_omf+set}" = set; then
47327 enableval=$enable_omf; bk_os2_use_omf="$enableval"
47331 case "${BAKEFILE_HOST}" in
47333 if test "x$GCC" = "xyes"; then
47334 CFLAGS="$CFLAGS -fno-common"
47335 CXXFLAGS="$CXXFLAGS -fno-common"
47337 if test "x$XLCC" = "xyes"; then
47338 CFLAGS="$CFLAGS -qnocommon"
47339 CXXFLAGS="$CXXFLAGS -qnocommon"
47343 *-pc-os2_emx | *-pc-os2-emx )
47344 if test "x$bk_os2_use_omf" = "xyes" ; then
47347 LDFLAGS="-Zomf $LDFLAGS"
47348 CFLAGS="-Zomf $CFLAGS"
47349 CXXFLAGS="-Zomf $CXXFLAGS"
47357 LDFLAGS="-L/boot/develop/lib/x86 $LDFLAGS"
47363 SO_SUFFIX_MODULE="so"
47368 DLLPREFIX_MODULE=""
47372 case "${BAKEFILE_HOST}" in
47375 SO_SUFFIX_MODULE="sl"
47379 SO_SUFFIX_MODULE="a"
47383 SO_SUFFIX_MODULE="dll"
47384 DLLIMP_SUFFIX="dll.a"
47391 SO_SUFFIX_MODULE="dll"
47392 DLLIMP_SUFFIX="dll.a"
47402 *-pc-os2_emx | *-pc-os2-emx )
47404 SO_SUFFIX_MODULE="dll"
47405 DLLIMP_SUFFIX=$OS2_LIBEXT
47409 LIBEXT=".$OS2_LIBEXT"
47414 SO_SUFFIX_MODULE="bundle"
47418 if test "x$DLLIMP_SUFFIX" = "x" ; then
47419 DLLIMP_SUFFIX="$SO_SUFFIX"
47434 if test "x$GCC" = "xyes"; then
47438 SHARED_LD_CC="\$(CC) -shared ${PIC_FLAG} -o"
47439 SHARED_LD_CXX="\$(CXX) -shared ${PIC_FLAG} -o"
47442 case "${BAKEFILE_HOST}" in
47444 if test "x$GCC" != "xyes"; then
47445 LDFLAGS="$LDFLAGS -L/usr/lib"
47447 SHARED_LD_CC="${CC} -b -o"
47448 SHARED_LD_CXX="${CXX} -b -o"
47454 if test "$INTELCC" = "yes"; then
47456 elif test "x$SUNCXX" = "xyes"; then
47457 SHARED_LD_CC="${CC} -G -o"
47458 SHARED_LD_CXX="${CXX} -G -o"
47464 if test "x$SUNCXX" = xyes ; then
47465 SHARED_LD_CC="${CC} -G -o"
47466 SHARED_LD_CXX="${CXX} -G -o"
47474 cat <<EOF >shared-ld-sh
47476 #-----------------------------------------------------------------------------
47477 #-- Name: distrib/mac/shared-ld-sh
47478 #-- Purpose: Link a mach-o dynamic shared library for Darwin / Mac OS X
47479 #-- Author: Gilles Depeyrot
47480 #-- Copyright: (c) 2002 Gilles Depeyrot
47481 #-- Licence: any use permitted
47482 #-----------------------------------------------------------------------------
47487 linking_flag="-dynamiclib"
47488 ldargs="-r -keep_private_externs -nostdlib"
47490 if test "x${D}CXX" = "x"; then
47494 while test ${D}# -gt 0; do
47501 -o|-compatibility_version|-current_version|-framework|-undefined|-install_name)
47502 # collect these options and values
47503 args="${D}{args} ${D}1 ${D}2"
47508 # collect these options and values
47509 ldargs="${D}{ldargs} ${D}1 ${D}2"
47514 # collect these load args
47515 ldargs="${D}{ldargs} ${D}1"
47518 -l*|-L*|-flat_namespace|-headerpad_max_install_names)
47519 # collect these options
47520 args="${D}{args} ${D}1"
47523 -dynamiclib|-bundle)
47524 linking_flag="${D}1"
47528 echo "shared-ld: unhandled option '${D}1'"
47532 *.o | *.a | *.dylib)
47533 # collect object files
47534 objects="${D}{objects} ${D}1"
47538 echo "shared-ld: unhandled argument '${D}1'"
47549 # Link one module containing all the others
47551 if test ${D}{verbose} = 1; then
47552 echo "${D}CXX ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o"
47554 ${D}CXX ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o
47558 # Link the shared library from the single module created, but only if the
47559 # previous command didn't fail:
47561 if test ${D}{status} = 0; then
47562 if test ${D}{verbose} = 1; then
47563 echo "${D}CXX ${D}{linking_flag} master.${D}${D}.o ${D}{args}"
47565 ${D}CXX ${D}{linking_flag} master.${D}${D}.o ${D}{args}
47570 # Remove intermediate module
47572 rm -f master.${D}${D}.o
47577 chmod +x shared-ld-sh
47579 SHARED_LD_MODULE_CC="`pwd`/shared-ld-sh -bundle -headerpad_max_install_names -o"
47580 SHARED_LD_MODULE_CXX="CXX=\$(CXX) $SHARED_LD_MODULE_CC"
47583 { echo "$as_me:$LINENO: checking for gcc 3.1 or later" >&5
47584 echo $ECHO_N "checking for gcc 3.1 or later... $ECHO_C" >&6; }
47585 if test "${bakefile_cv_gcc31+set}" = set; then
47586 echo $ECHO_N "(cached) $ECHO_C" >&6
47589 cat >conftest.$ac_ext <<_ACEOF
47592 cat confdefs.h >>conftest.$ac_ext
47593 cat >>conftest.$ac_ext <<_ACEOF
47594 /* end confdefs.h. */
47600 #if (__GNUC__ < 3) || \
47601 ((__GNUC__ == 3) && (__GNUC_MINOR__ < 1))
47609 rm -f conftest.$ac_objext
47610 if { (ac_try="$ac_compile"
47611 case "(($ac_try" in
47612 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
47613 *) ac_try_echo
=$ac_try;;
47615 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47616 (eval "$ac_compile") 2>conftest.er1
47618 grep -v '^ *+' conftest.er1
>conftest.err
47620 cat conftest.err
>&5
47621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47622 (exit $ac_status); } && {
47623 test -z "$ac_c_werror_flag" ||
47624 test ! -s conftest.err
47625 } && test -s conftest.
$ac_objext; then
47627 bakefile_cv_gcc31
=yes
47630 echo "$as_me: failed program was:" >&5
47631 sed 's/^/| /' conftest.
$ac_ext >&5
47634 bakefile_cv_gcc31
=no
47639 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
47642 { echo "$as_me:$LINENO: result: $bakefile_cv_gcc31" >&5
47643 echo "${ECHO_T}$bakefile_cv_gcc31" >&6; }
47644 if test "$bakefile_cv_gcc31" = "no"; then
47645 SHARED_LD_CC
="`pwd`/shared-ld-sh -dynamiclib -headerpad_max_install_names -o"
47646 SHARED_LD_CXX
="$SHARED_LD_CC"
47648 SHARED_LD_CC
="\${CC} -dynamiclib -single_module -headerpad_max_install_names -o"
47649 SHARED_LD_CXX
="\${CXX} -dynamiclib -single_module -headerpad_max_install_names -o"
47652 if test "x$GCC" == "xyes"; then
47653 PIC_FLAG
="-dynamic -fPIC"
47655 if test "x$XLCC" = "xyes"; then
47656 PIC_FLAG
="-dynamic -DPIC"
47661 if test "x$GCC" = "xyes"; then
47664 case "${BAKEFILE_HOST}" in
47666 LD_EXPFULL
="-Wl,-bexpfull"
47670 SHARED_LD_CC
="\$(CC) -shared $LD_EXPFULL -o"
47671 SHARED_LD_CXX
="\$(CXX) -shared $LD_EXPFULL -o"
47673 # Extract the first word of "makeC++SharedLib", so it can be a program name with args.
47674 set dummy makeC
++SharedLib
; ac_word
=$2
47675 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47676 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47677 if test "${ac_cv_prog_AIX_CXX_LD+set}" = set; then
47678 echo $ECHO_N "(cached) $ECHO_C" >&6
47680 if test -n "$AIX_CXX_LD"; then
47681 ac_cv_prog_AIX_CXX_LD
="$AIX_CXX_LD" # Let the user override the test.
47683 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
47684 for as_dir
in $PATH
47687 test -z "$as_dir" && as_dir
=.
47688 for ac_exec_ext
in '' $ac_executable_extensions; do
47689 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47690 ac_cv_prog_AIX_CXX_LD
="makeC++SharedLib"
47691 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47698 test -z "$ac_cv_prog_AIX_CXX_LD" && ac_cv_prog_AIX_CXX_LD
="/usr/lpp/xlC/bin/makeC++SharedLib"
47701 AIX_CXX_LD
=$ac_cv_prog_AIX_CXX_LD
47702 if test -n "$AIX_CXX_LD"; then
47703 { echo "$as_me:$LINENO: result: $AIX_CXX_LD" >&5
47704 echo "${ECHO_T}$AIX_CXX_LD" >&6; }
47706 { echo "$as_me:$LINENO: result: no" >&5
47707 echo "${ECHO_T}no" >&6; }
47711 SHARED_LD_CC
="$AIX_CC_LD -p 0 -o"
47712 SHARED_LD_CXX
="$AIX_CXX_LD -p 0 -o"
47717 SHARED_LD_CC
="${LD} -nostart -o"
47718 SHARED_LD_CXX
="${LD} -nostart -o"
47722 if test "x$GCC" != "xyes"; then
47727 *-*-cygwin* | *-*-mingw32* )
47729 SHARED_LD_CC
="\$(CC) -shared -o"
47730 SHARED_LD_CXX
="\$(CXX) -shared -o"
47734 *-pc-os2_emx | *-pc-os2-emx )
47735 SHARED_LD_CC
="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
47736 SHARED_LD_CXX
="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
47740 cat <<EOF >dllar.sh
47743 # dllar - a tool to build both a .dll and an .a file
47744 # from a set of object (.o) files for EMX/OS2.
47746 # Written by Andrew Zabolotny, bit@freya.etu.ru
47747 # Ported to Unix like shell by Stefan Neis, Stefan.Neis@t-online.de
47749 # This script will accept a set of files on the command line.
47750 # All the public symbols from the .o files will be exported into
47751 # a .DEF file, then linker will be run (through gcc) against them to
47752 # build a shared library consisting of all given .o files. All libraries
47753 # (.a) will be first decompressed into component .o files then act as
47754 # described above. You can optionally give a description (-d "description")
47755 # which will be put into .DLL. To see the list of accepted options (as well
47756 # as command-line format) simply run this program without options. The .DLL
47757 # is built to be imported by name (there is no guarantee that new versions
47758 # of the library you build will have same ordinals for same symbols).
47760 # dllar is free software; you can redistribute it and/or modify
47761 # it under the terms of the GNU General Public License as published by
47762 # the Free Software Foundation; either version 2, or (at your option)
47763 # any later version.
47765 # dllar is distributed in the hope that it will be useful,
47766 # but WITHOUT ANY WARRANTY; without even the implied warranty of
47767 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
47768 # GNU General Public License for more details.
47770 # You should have received a copy of the GNU General Public License
47771 # along with dllar; see the file COPYING. If not, write to the Free
47772 # Software Foundation, 59 Temple Place - Suite 330, Boston, MA
47775 # To successfuly run this program you will need:
47776 # - Current drive should have LFN support (HPFS, ext2, network, etc)
47777 # (Sometimes dllar generates filenames which won't fit 8.3 scheme)
47779 # (used to build the .dll)
47781 # (used to create .def file from .o files)
47783 # (used to create .a file from .def file)
47784 # - GNU text utilites (cat, sort, uniq)
47785 # used to process emxexp output
47786 # - GNU file utilities (mv, rm)
47788 # - lxlite (optional, see flag below)
47789 # (used for general .dll cleanup)
47796 # basnam, variant of basename, which does _not_ remove the path, _iff_
47797 # second argument (suffix to remove) is given
47801 echo ${D}1 | sed 's/.*\\///' | sed 's/.*\\\\//'
47804 echo ${D}1 | sed 's/'${D}2'${D}//'
47807 echo "error in basnam ${D}*"
47813 # Cleanup temporary files and output
47816 for i in ${D}inputFiles ; do
47819 rm -rf \`basnam ${D}i !\`
47826 # Kill result in case of failure as there is just to many stupid make/nmake
47827 # things out there which doesn't do this.
47828 if [ ${D}# -eq 0 ]; then
47829 rm -f ${D}arcFile ${D}arcFile2 ${D}defFile ${D}dllFile
47833 # Print usage and exit script with rc=1.
47835 echo 'Usage: dllar.sh [-o[utput] output_file] [-i[mport] importlib_name]'
47836 echo ' [-name-mangler-script script.sh]'
47837 echo ' [-d[escription] "dll descrption"] [-cc "CC"] [-f[lags] "CFLAGS"]'
47838 echo ' [-ord[inals]] -ex[clude] "symbol(s)"'
47839 echo ' [-libf[lags] "{INIT|TERM}{GLOBAL|INSTANCE}"] [-nocrt[dll]] [-nolxl[ite]]'
47840 echo ' [*.o] [*.a]'
47841 echo '*> "output_file" should have no extension.'
47842 echo ' If it has the .o, .a or .dll extension, it is automatically removed.'
47843 echo ' The import library name is derived from this and is set to "name".a,'
47844 echo ' unless overridden by -import'
47845 echo '*> "importlib_name" should have no extension.'
47846 echo ' If it has the .o, or .a extension, it is automatically removed.'
47847 echo ' This name is used as the import library name and may be longer and'
47848 echo ' more descriptive than the DLL name which has to follow the old '
47849 echo ' 8.3 convention of FAT.'
47850 echo '*> "script.sh may be given to override the output_file name by a'
47851 echo ' different name. It is mainly useful if the regular make process'
47852 echo ' of some package does not take into account OS/2 restriction of'
47853 echo ' DLL name lengths. It takes the importlib name as input and is'
47854 echo ' supposed to procude a shorter name as output. The script should'
47855 echo ' expect to get importlib_name without extension and should produce'
47856 echo ' a (max.) 8 letter name without extension.'
47857 echo '*> "cc" is used to use another GCC executable. (default: gcc.exe)'
47858 echo '*> "flags" should be any set of valid GCC flags. (default: -s -Zcrtdll)'
47859 echo ' These flags will be put at the start of GCC command line.'
47860 echo '*> -ord[inals] tells dllar to export entries by ordinals. Be careful.'
47861 echo '*> -ex[clude] defines symbols which will not be exported. You can define'
47862 echo ' multiple symbols, for example -ex "myfunc yourfunc _GLOBAL*".'
47863 echo ' If the last character of a symbol is "*", all symbols beginning'
47864 echo ' with the prefix before "*" will be exclude, (see _GLOBAL* above).'
47865 echo '*> -libf[lags] can be used to add INITGLOBAL/INITINSTANCE and/or'
47866 echo ' TERMGLOBAL/TERMINSTANCE flags to the dynamically-linked library.'
47867 echo '*> -nocrt[dll] switch will disable linking the library against emx''s'
47868 echo ' C runtime DLLs.'
47869 echo '*> -nolxl[ite] switch will disable running lxlite on the resulting DLL.'
47870 echo '*> All other switches (for example -L./ or -lmylib) will be passed'
47871 echo ' unchanged to GCC at the end of command line.'
47872 echo '*> If you create a DLL from a library and you do not specify -o,'
47873 echo ' the basename for DLL and import library will be set to library name,'
47874 echo ' the initial library will be renamed to 'name'_s.a (_s for static)'
47875 echo ' i.e. "dllar gcc.a" will create gcc.dll and gcc.a, and the initial'
47876 echo ' library will be renamed into gcc_s.a.'
47879 echo ' dllar -o gcc290.dll libgcc.a -d "GNU C runtime library" -ord'
47880 echo ' -ex "__main __ctordtor*" -libf "INITINSTANCE TERMINSTANCE"'
47885 # Execute a command.
47886 # If exit code of the commnad <> 0 CleanUp() is called and we'll exit the script.
47887 # @Uses Whatever CleanUp() uses.
47893 if [ ${D}rcCmd -ne 0 ]; then
47894 echo "command failed, exit code="${D}rcCmd
47909 CFLAGS="-s -Zcrtdll"
47911 EXPORT_BY_ORDINALS=0
47916 case ${D}curDirS in
47920 curDirS=${D}{curDirS}"/"
47923 # Parse commandline
47926 while [ ${D}1 ]; do
47929 EXPORT_BY_ORDINALS=1;
47939 -name-mangler-script)
47960 exclude_symbols=${D}{exclude_symbols}${D}1" "
47964 library_flags=${D}{library_flags}${D}1" "
47983 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
47986 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS} \`basnam ${D}1 .dll\`"
47987 if [ ${D}omfLinking -eq 1 ]; then
47988 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.lib"
47990 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.a"
47995 if [ ${D}libsToLink -ne 0 ]; then
47996 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
47998 for file in ${D}1 ; do
47999 if [ -f ${D}file ]; then
48000 inputFiles="${D}{inputFiles} ${D}file"
48004 if [ ${D}found -eq 0 ]; then
48005 echo "ERROR: No file(s) found: "${D}1
48012 done # iterate cmdline words
48015 if [ -z "${D}inputFiles" ]; then
48016 echo "dllar: no input files"
48020 # Now extract all .o files from .a files
48022 for file in ${D}inputFiles ; do
48033 EXTRA_CFLAGS="${D}EXTRA_CFLAGS -Zomf"
48038 dirname=\`basnam ${D}file ${D}suffix\`"_%"
48040 if [ ${D}? -ne 0 ]; then
48041 echo "Failed to create subdirectory ./${D}dirname"
48045 # Append '!' to indicate archive
48046 newInputFiles="${D}newInputFiles ${D}{dirname}!"
48047 doCommand "cd ${D}dirname; ${D}AR x ../${D}file"
48050 for subfile in ${D}dirname/*.o* ; do
48051 if [ -f ${D}subfile ]; then
48053 if [ -s ${D}subfile ]; then
48054 # FIXME: This should be: is file size > 32 byte, _not_ > 0!
48055 newInputFiles="${D}newInputFiles ${D}subfile"
48059 if [ ${D}found -eq 0 ]; then
48060 echo "WARNING: there are no files in archive \\'${D}file\\'"
48064 newInputFiles="${D}{newInputFiles} ${D}file"
48068 inputFiles="${D}newInputFiles"
48070 # Output filename(s).
48072 if [ -z ${D}outFile ]; then
48074 set outFile ${D}inputFiles; outFile=${D}2
48077 # If it is an archive, remove the '!' and the '_%' suffixes
48078 case ${D}outFile in
48080 outFile=\`basnam ${D}outFile _%!\`
48085 case ${D}outFile in
48087 outFile=\`basnam ${D}outFile .dll\`
48090 outFile=\`basnam ${D}outFile .DLL\`
48093 outFile=\`basnam ${D}outFile .o\`
48096 outFile=\`basnam ${D}outFile .obj\`
48099 outFile=\`basnam ${D}outFile .a\`
48102 outFile=\`basnam ${D}outFile .lib\`
48107 case ${D}outimpFile in
48109 outimpFile=\`basnam ${D}outimpFile .a\`
48112 outimpFile=\`basnam ${D}outimpFile .lib\`
48117 if [ -z ${D}outimpFile ]; then
48118 outimpFile=${D}outFile
48120 defFile="${D}{outFile}.def"
48121 arcFile="${D}{outimpFile}.a"
48122 arcFile2="${D}{outimpFile}.lib"
48124 #create ${D}dllFile as something matching 8.3 restrictions,
48125 if [ -z ${D}renameScript ] ; then
48126 dllFile="${D}outFile"
48128 dllFile=\`${D}renameScript ${D}outimpFile\`
48131 if [ ${D}do_backup -ne 0 ] ; then
48132 if [ -f ${D}arcFile ] ; then
48133 doCommand "mv ${D}arcFile ${D}{outFile}_s.a"
48135 if [ -f ${D}arcFile2 ] ; then
48136 doCommand "mv ${D}arcFile2 ${D}{outFile}_s.lib"
48140 # Extract public symbols from all the object files.
48141 tmpdefFile=${D}{defFile}_%
48142 rm -f ${D}tmpdefFile
48143 for file in ${D}inputFiles ; do
48148 doCommand "emxexp -u ${D}file >> ${D}tmpdefFile"
48153 # Create the def file.
48155 echo "LIBRARY \`basnam ${D}dllFile\` ${D}library_flags" >> ${D}defFile
48156 dllFile="${D}{dllFile}.dll"
48157 if [ ! -z ${D}description ]; then
48158 echo "DESCRIPTION \\"${D}{description}\\"" >> ${D}defFile
48160 echo "EXPORTS" >> ${D}defFile
48162 doCommand "cat ${D}tmpdefFile | sort.exe | uniq.exe > ${D}{tmpdefFile}%"
48163 grep -v "^ *;" < ${D}{tmpdefFile}% | grep -v "^ *${D}" >${D}tmpdefFile
48165 # Checks if the export is ok or not.
48166 for word in ${D}exclude_symbols; do
48167 grep -v ${D}word < ${D}tmpdefFile >${D}{tmpdefFile}%
48168 mv ${D}{tmpdefFile}% ${D}tmpdefFile
48172 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
48173 sed "=" < ${D}tmpdefFile | \\
48177 s/^\\([0-9]\\+\\)\\([^;]*\\)\\(;.*\\)\\?/\\2 @\\1 NONAME/
48179 ' > ${D}{tmpdefFile}%
48180 grep -v "^ *${D}" < ${D}{tmpdefFile}% > ${D}tmpdefFile
48182 rm -f ${D}{tmpdefFile}%
48184 cat ${D}tmpdefFile >> ${D}defFile
48185 rm -f ${D}tmpdefFile
48187 # Do linking, create implib, and apply lxlite.
48189 for file in ${D}inputFiles ; do
48194 gccCmdl="${D}gccCmdl ${D}file"
48198 doCommand "${D}CC ${D}CFLAGS -Zdll -o ${D}dllFile ${D}defFile ${D}gccCmdl ${D}EXTRA_CFLAGS"
48199 touch "${D}{outFile}.dll"
48201 doCommand "emximp -o ${D}arcFile ${D}defFile"
48202 if [ ${D}flag_USE_LXLITE -ne 0 ]; then
48204 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
48207 doCommand "lxlite -cs -t: -mrn -mln ${D}add_flags ${D}dllFile"
48209 doCommand "emxomf -s -l ${D}arcFile"
48219 powerpc
-apple-macos* | \
48220 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | *-*-k*bsd
*-gnu | \
48230 { { echo "$as_me:$LINENO: error: unknown system type $BAKEFILE_HOST." >&5
48231 echo "$as_me: error: unknown system type $BAKEFILE_HOST." >&2;}
48232 { (exit 1); exit 1; }; }
48235 if test "x$PIC_FLAG" != "x" ; then
48236 PIC_FLAG
="$PIC_FLAG -DPIC"
48239 if test "x$SHARED_LD_MODULE_CC" = "x" ; then
48240 SHARED_LD_MODULE_CC
="$SHARED_LD_CC"
48242 if test "x$SHARED_LD_MODULE_CXX" = "x" ; then
48243 SHARED_LD_MODULE_CXX
="$SHARED_LD_CXX"
48262 case "${BAKEFILE_HOST}" in
48263 *-*-linux* | *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | \
48264 *-*-k*bsd
*-gnu | *-*-mirbsd* )
48265 if test "x$SUNCXX" = "xyes"; then
48268 SONAME_FLAG
="-Wl,-soname,"
48303 # Check whether --enable-dependency-tracking was given.
48304 if test "${enable_dependency_tracking+set}" = set; then
48305 enableval
=$enable_dependency_tracking; bk_use_trackdeps
="$enableval"
48309 { echo "$as_me:$LINENO: checking for dependency tracking method" >&5
48310 echo $ECHO_N "checking for dependency tracking method... $ECHO_C" >&6; }
48313 if test "x$bk_use_trackdeps" = "xno" ; then
48315 { echo "$as_me:$LINENO: result: disabled" >&5
48316 echo "${ECHO_T}disabled" >&6; }
48320 if test "x$GCC" = "xyes"; then
48322 case "${BAKEFILE_HOST}" in
48324 DEPSFLAG
="-no-cpp-precomp -MMD"
48330 { echo "$as_me:$LINENO: result: gcc" >&5
48331 echo "${ECHO_T}gcc" >&6; }
48332 elif test "x$MWCC" = "xyes"; then
48335 { echo "$as_me:$LINENO: result: mwcc" >&5
48336 echo "${ECHO_T}mwcc" >&6; }
48337 elif test "x$SUNCC" = "xyes"; then
48340 { echo "$as_me:$LINENO: result: Sun cc" >&5
48341 echo "${ECHO_T}Sun cc" >&6; }
48342 elif test "x$SGICC" = "xyes"; then
48345 { echo "$as_me:$LINENO: result: SGI cc" >&5
48346 echo "${ECHO_T}SGI cc" >&6; }
48347 elif test "x$HPCC" = "xyes"; then
48350 { echo "$as_me:$LINENO: result: HP cc" >&5
48351 echo "${ECHO_T}HP cc" >&6; }
48352 elif test "x$COMPAQCC" = "xyes"; then
48355 { echo "$as_me:$LINENO: result: Compaq cc" >&5
48356 echo "${ECHO_T}Compaq cc" >&6; }
48359 { echo "$as_me:$LINENO: result: none" >&5
48360 echo "${ECHO_T}none" >&6; }
48363 if test $DEPS_TRACKING = 1 ; then
48369 # This script is part of Bakefile (http://www.bakefile.org) autoconf
48370 # script. It is used to track C/C++ files dependencies in portable way.
48372 # Permission is given to use this file in any way.
48374 DEPSMODE=${DEPSMODE}
48376 DEPSFLAG="${DEPSFLAG}"
48378 mkdir -p ${D}DEPSDIR
48380 if test ${D}DEPSMODE = gcc ; then
48381 ${D}* ${D}{DEPSFLAG}
48384 # determine location of created files:
48385 while test ${D}# -gt 0; do
48399 depfile=\`basename ${D}srcfile | sed -e 's/\\..*${D}/.d/g'\`
48400 depobjname=\`echo ${D}depfile |sed -e 's/\\.d/.o/g'\`
48402 # if the compiler failed, we're done:
48403 if test ${D}{status} != 0 ; then
48408 # move created file to the location we want it in:
48409 if test -f ${D}depfile ; then
48410 sed -e "s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
48413 # "g++ -MMD -o fooobj.o foosrc.cpp" produces fooobj.d
48414 depfile=\`basename ${D}objfile | sed -e 's/\\..*${D}/.d/g'\`
48415 if test ! -f ${D}depfile ; then
48416 # "cxx -MD -o fooobj.o foosrc.cpp" creates fooobj.o.d (Compaq C++)
48417 depfile="${D}objfile.d"
48419 if test -f ${D}depfile ; then
48420 sed -e "/^${D}objfile/!s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
48425 elif test ${D}DEPSMODE = mwcc ; then
48426 ${D}* || exit ${D}?
48427 # Run mwcc again with -MM and redirect into the dep file we want
48428 # NOTE: We can't use shift here because we need ${D}* to be valid
48430 for arg in ${D}* ; do
48431 if test "${D}prevarg" = "-o"; then
48444 ${D}* ${D}DEPSFLAG >${D}{DEPSDIR}/${D}{objfile}.d
48446 elif test ${D}DEPSMODE = unixcc; then
48447 ${D}* || exit ${D}?
48448 # Run compiler again with deps flag and redirect into the dep file.
48449 # It doesn't work if the '-o FILE' option is used, but without it the
48450 # dependency file will contain the wrong name for the object. So it is
48451 # removed from the command line, and the dep file is fixed with sed.
48453 while test ${D}# -gt 0; do
48460 eval arg${D}#=\\${D}1
48461 cmd="${D}cmd \\${D}arg${D}#"
48466 eval "${D}cmd ${D}DEPSFLAG" | sed "s|.*:|${D}objfile:|" >${D}{DEPSDIR}/${D}{objfile}.d
48475 BK_DEPS
="`pwd`/bk-deps"
48483 case ${BAKEFILE_HOST} in
48484 *-*-cygwin* | *-*-mingw32* )
48485 if test -n "$ac_tool_prefix"; then
48486 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
48487 set dummy
${ac_tool_prefix}windres
; ac_word
=$2
48488 { echo "$as_me:$LINENO: checking for $ac_word" >&5
48489 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
48490 if test "${ac_cv_prog_WINDRES+set}" = set; then
48491 echo $ECHO_N "(cached) $ECHO_C" >&6
48493 if test -n "$WINDRES"; then
48494 ac_cv_prog_WINDRES
="$WINDRES" # Let the user override the test.
48496 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
48497 for as_dir
in $PATH
48500 test -z "$as_dir" && as_dir
=.
48501 for ac_exec_ext
in '' $ac_executable_extensions; do
48502 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
48503 ac_cv_prog_WINDRES
="${ac_tool_prefix}windres"
48504 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48513 WINDRES
=$ac_cv_prog_WINDRES
48514 if test -n "$WINDRES"; then
48515 { echo "$as_me:$LINENO: result: $WINDRES" >&5
48516 echo "${ECHO_T}$WINDRES" >&6; }
48518 { echo "$as_me:$LINENO: result: no" >&5
48519 echo "${ECHO_T}no" >&6; }
48524 if test -z "$ac_cv_prog_WINDRES"; then
48525 ac_ct_WINDRES
=$WINDRES
48526 # Extract the first word of "windres", so it can be a program name with args.
48527 set dummy windres
; ac_word
=$2
48528 { echo "$as_me:$LINENO: checking for $ac_word" >&5
48529 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
48530 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
48531 echo $ECHO_N "(cached) $ECHO_C" >&6
48533 if test -n "$ac_ct_WINDRES"; then
48534 ac_cv_prog_ac_ct_WINDRES
="$ac_ct_WINDRES" # Let the user override the test.
48536 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
48537 for as_dir
in $PATH
48540 test -z "$as_dir" && as_dir
=.
48541 for ac_exec_ext
in '' $ac_executable_extensions; do
48542 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
48543 ac_cv_prog_ac_ct_WINDRES
="windres"
48544 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48553 ac_ct_WINDRES
=$ac_cv_prog_ac_ct_WINDRES
48554 if test -n "$ac_ct_WINDRES"; then
48555 { echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
48556 echo "${ECHO_T}$ac_ct_WINDRES" >&6; }
48558 { echo "$as_me:$LINENO: result: no" >&5
48559 echo "${ECHO_T}no" >&6; }
48562 if test "x$ac_ct_WINDRES" = x
; then
48565 case $cross_compiling:$ac_tool_warned in
48567 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
48568 whose name does not start with the host triplet. If you think this
48569 configuration is useful to you, please write to autoconf@gnu.org." >&5
48570 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
48571 whose name does not start with the host triplet. If you think this
48572 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
48573 ac_tool_warned
=yes ;;
48575 WINDRES
=$ac_ct_WINDRES
48578 WINDRES
="$ac_cv_prog_WINDRES"
48583 *-*-darwin* | powerpc
-apple-macos* )
48584 # Extract the first word of "Rez", so it can be a program name with args.
48585 set dummy Rez
; ac_word
=$2
48586 { echo "$as_me:$LINENO: checking for $ac_word" >&5
48587 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
48588 if test "${ac_cv_prog_REZ+set}" = set; then
48589 echo $ECHO_N "(cached) $ECHO_C" >&6
48591 if test -n "$REZ"; then
48592 ac_cv_prog_REZ
="$REZ" # Let the user override the test.
48594 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
48595 for as_dir
in $PATH
48598 test -z "$as_dir" && as_dir
=.
48599 for ac_exec_ext
in '' $ac_executable_extensions; do
48600 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
48601 ac_cv_prog_REZ
="Rez"
48602 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48609 test -z "$ac_cv_prog_REZ" && ac_cv_prog_REZ
="/Developer/Tools/Rez"
48612 REZ
=$ac_cv_prog_REZ
48613 if test -n "$REZ"; then
48614 { echo "$as_me:$LINENO: result: $REZ" >&5
48615 echo "${ECHO_T}$REZ" >&6; }
48617 { echo "$as_me:$LINENO: result: no" >&5
48618 echo "${ECHO_T}no" >&6; }
48622 # Extract the first word of "SetFile", so it can be a program name with args.
48623 set dummy SetFile
; ac_word
=$2
48624 { echo "$as_me:$LINENO: checking for $ac_word" >&5
48625 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
48626 if test "${ac_cv_prog_SETFILE+set}" = set; then
48627 echo $ECHO_N "(cached) $ECHO_C" >&6
48629 if test -n "$SETFILE"; then
48630 ac_cv_prog_SETFILE
="$SETFILE" # Let the user override the test.
48632 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
48633 for as_dir
in $PATH
48636 test -z "$as_dir" && as_dir
=.
48637 for ac_exec_ext
in '' $ac_executable_extensions; do
48638 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
48639 ac_cv_prog_SETFILE
="SetFile"
48640 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48647 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE
="/Developer/Tools/SetFile"
48650 SETFILE
=$ac_cv_prog_SETFILE
48651 if test -n "$SETFILE"; then
48652 { echo "$as_me:$LINENO: result: $SETFILE" >&5
48653 echo "${ECHO_T}$SETFILE" >&6; }
48655 { echo "$as_me:$LINENO: result: no" >&5
48656 echo "${ECHO_T}no" >&6; }
48668 BAKEFILE_BAKEFILE_M4_VERSION
="0.2.3"
48671 BAKEFILE_AUTOCONF_INC_M4_VERSION
="0.2.3"
48675 # Check whether --enable-precomp-headers was given.
48676 if test "${enable_precomp_headers+set}" = set; then
48677 enableval
=$enable_precomp_headers; bk_use_pch
="$enableval"
48686 case ${BAKEFILE_HOST} in
48692 if test "x$bk_use_pch" = "x" -o "x$bk_use_pch" = "xyes" ; then
48693 if test "x$GCC" = "xyes"; then
48694 { echo "$as_me:$LINENO: checking if the compiler supports precompiled headers" >&5
48695 echo $ECHO_N "checking if the compiler supports precompiled headers... $ECHO_C" >&6; }
48696 cat >conftest.
$ac_ext <<_ACEOF
48699 cat confdefs.h
>>conftest.
$ac_ext
48700 cat >>conftest.
$ac_ext <<_ACEOF
48701 /* end confdefs.h. */
48707 #if !defined(__GNUC__) || !defined(__GNUC_MINOR__)
48708 There is no PCH support
48711 There is no PCH support
48713 #if (__GNUC__ == 3) && \
48714 ((!defined(__APPLE_CC__) && (__GNUC_MINOR__ < 4)) || \
48715 ( defined(__APPLE_CC__) && (__GNUC_MINOR__ < 3))) || \
48716 ( defined(__INTEL_COMPILER) )
48717 There is no PCH support
48724 rm -f conftest.
$ac_objext
48725 if { (ac_try
="$ac_compile"
48726 case "(($ac_try" in
48727 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
48728 *) ac_try_echo=$ac_try;;
48730 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48731 (eval "$ac_compile") 2>conftest.er1
48733 grep -v '^ *+' conftest.er1 >conftest.err
48735 cat conftest.err >&5
48736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48737 (exit $ac_status); } && {
48738 test -z "$ac_c_werror_flag" ||
48739 test ! -s conftest.err
48740 } && test -s conftest.$ac_objext; then
48742 { echo "$as_me:$LINENO: result: yes" >&5
48743 echo "${ECHO_T}yes" >&6; }
48747 echo "$as_me: failed program was:" >&5
48748 sed 's/^/| /' conftest.$ac_ext >&5
48751 cat >conftest.$ac_ext <<_ACEOF
48754 cat confdefs.h >>conftest.$ac_ext
48755 cat >>conftest.$ac_ext <<_ACEOF
48756 /* end confdefs.h. */
48762 #if !defined(__INTEL_COMPILER) || \
48763 (__INTEL_COMPILER < 800)
48764 There is no PCH support
48771 rm -f conftest.$ac_objext
48772 if { (ac_try="$ac_compile"
48773 case "(($ac_try" in
48774 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
48775 *) ac_try_echo
=$ac_try;;
48777 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48778 (eval "$ac_compile") 2>conftest.er1
48780 grep -v '^ *+' conftest.er1
>conftest.err
48782 cat conftest.err
>&5
48783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48784 (exit $ac_status); } && {
48785 test -z "$ac_c_werror_flag" ||
48786 test ! -s conftest.err
48787 } && test -s conftest.
$ac_objext; then
48789 { echo "$as_me:$LINENO: result: yes" >&5
48790 echo "${ECHO_T}yes" >&6; }
48794 echo "$as_me: failed program was:" >&5
48795 sed 's/^/| /' conftest.
$ac_ext >&5
48798 { echo "$as_me:$LINENO: result: no" >&5
48799 echo "${ECHO_T}no" >&6; }
48803 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
48807 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
48808 if test $GCC_PCH = 1 -o $ICC_PCH = 1 ; then
48812 cat <<EOF >bk-make-pch
48815 # This script is part of Bakefile (http://www.bakefile.org) autoconf
48816 # script. It is used to generated precompiled headers.
48818 # Permission is given to use this file in any way.
48828 while test ${D}{#} -gt 0; do
48832 incdir=\`echo ${D}{1} | sed -e 's/-I\\(.*\\)/\\1/g'\`
48833 if test "x${D}{headerfile}" = "x" -a -f "${D}{incdir}/${D}{header}" ; then
48834 headerfile="${D}{incdir}/${D}{header}"
48837 -use-pch|-use_pch )
48842 if test ${D}add_to_cmdline = 1 ; then
48843 compiler="${D}{compiler} ${D}{1}"
48848 if test "x${D}{headerfile}" = "x" ; then
48849 echo "error: can't find header ${D}{header} in include paths" >&2
48851 if test -f ${D}{outfile} ; then
48852 rm -f ${D}{outfile}
48854 mkdir -p \`dirname ${D}{outfile}\`
48856 depsfile=".deps/\`echo ${D}{outfile} | tr '/.' '__'\`.d"
48858 if test "x${GCC_PCH}" = "x1" ; then
48859 # can do this because gcc is >= 3.4:
48860 ${D}{compiler} -o ${D}{outfile} -MMD -MF "${D}{depsfile}" "${D}{headerfile}"
48861 elif test "x${ICC_PCH}" = "x1" ; then
48862 filename=pch_gen-${D}${D}
48863 file=${D}{filename}.c
48864 dfile=${D}{filename}.d
48865 cat > ${D}file <<EOT
48866 #include "${D}header"
48868 # using -MF icc complains about differing command lines in creation/use
48869 ${D}compiler -c -create_pch ${D}outfile -MMD ${D}file && \\
48870 sed -e "s,^.*:,${D}outfile:," -e "s, ${D}file,," < ${D}dfile > ${D}depsfile && \\
48871 rm -f ${D}file ${D}dfile ${D}{filename}.o
48877 chmod +x bk
-make-pch
48878 BK_MAKE_PCH
="`pwd`/bk-make-pch"
48887 COND_BUILD_DEBUG
="#"
48888 if test "x$BUILD" = "xdebug" ; then
48889 COND_BUILD_DEBUG
=""
48892 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT
="#"
48893 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
48894 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT
=""
48897 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT
="#"
48898 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
48899 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT
=""
48902 COND_BUILD_DEBUG_UNICODE_0
="#"
48903 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
48904 COND_BUILD_DEBUG_UNICODE_0
=""
48907 COND_BUILD_DEBUG_UNICODE_1
="#"
48908 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
48909 COND_BUILD_DEBUG_UNICODE_1
=""
48912 COND_BUILD_RELEASE
="#"
48913 if test "x$BUILD" = "xrelease" ; then
48914 COND_BUILD_RELEASE
=""
48917 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT
="#"
48918 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
48919 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT
=""
48922 COND_BUILD_RELEASE_UNICODE_0
="#"
48923 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
48924 COND_BUILD_RELEASE_UNICODE_0
=""
48927 COND_BUILD_RELEASE_UNICODE_1
="#"
48928 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
48929 COND_BUILD_RELEASE_UNICODE_1
=""
48932 COND_DEBUG_FLAG_1
="#"
48933 if test "x$DEBUG_FLAG" = "x1" ; then
48934 COND_DEBUG_FLAG_1
=""
48937 COND_DEBUG_INFO_0
="#"
48938 if test "x$DEBUG_INFO" = "x0" ; then
48939 COND_DEBUG_INFO_0
=""
48942 COND_DEBUG_INFO_1
="#"
48943 if test "x$DEBUG_INFO" = "x1" ; then
48944 COND_DEBUG_INFO_1
=""
48947 COND_DEPS_TRACKING_0
="#"
48948 if test "x$DEPS_TRACKING" = "x0" ; then
48949 COND_DEPS_TRACKING_0
=""
48952 COND_DEPS_TRACKING_1
="#"
48953 if test "x$DEPS_TRACKING" = "x1" ; then
48954 COND_DEPS_TRACKING_1
=""
48958 if test "x$GCC_PCH" = "x1" ; then
48963 if test "x$ICC_PCH" = "x1" ; then
48967 COND_MONOLITHIC_0
="#"
48968 if test "x$MONOLITHIC" = "x0" ; then
48969 COND_MONOLITHIC_0
=""
48972 COND_MONOLITHIC_0_SHARED_0
="#"
48973 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" ; then
48974 COND_MONOLITHIC_0_SHARED_0
=""
48977 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1
="#"
48978 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_AUI" = "x1" ; then
48979 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1
=""
48982 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
="#"
48983 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" ; then
48984 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
=""
48987 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1
="#"
48988 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
48989 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1
=""
48992 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1
="#"
48993 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
48994 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1
=""
48997 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1
="#"
48998 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
48999 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1
=""
49002 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1
="#"
49003 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
49004 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1
=""
49007 COND_MONOLITHIC_0_SHARED_0_USE_STC_1
="#"
49008 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_STC" = "x1" ; then
49009 COND_MONOLITHIC_0_SHARED_0_USE_STC_1
=""
49012 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1
="#"
49013 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
49014 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1
=""
49017 COND_MONOLITHIC_0_SHARED_1
="#"
49018 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" ; then
49019 COND_MONOLITHIC_0_SHARED_1
=""
49022 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1
="#"
49023 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_AUI" = "x1" ; then
49024 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1
=""
49027 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
="#"
49028 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" ; then
49029 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
=""
49032 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1
="#"
49033 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
49034 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1
=""
49037 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1
="#"
49038 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
49039 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1
=""
49042 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1
="#"
49043 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
49044 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1
=""
49047 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1
="#"
49048 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_RICHTEXT" = "x1" ; then
49049 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1
=""
49052 COND_MONOLITHIC_0_SHARED_1_USE_STC_1
="#"
49053 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_STC" = "x1" ; then
49054 COND_MONOLITHIC_0_SHARED_1_USE_STC_1
=""
49057 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1
="#"
49058 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
49059 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1
=""
49062 COND_MONOLITHIC_0_USE_AUI_1
="#"
49063 if test "x$MONOLITHIC" = "x0" -a "x$USE_AUI" = "x1" ; then
49064 COND_MONOLITHIC_0_USE_AUI_1
=""
49067 COND_MONOLITHIC_0_USE_GUI_1
="#"
49068 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" ; then
49069 COND_MONOLITHIC_0_USE_GUI_1
=""
49072 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1
="#"
49073 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
49074 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1
=""
49077 COND_MONOLITHIC_0_USE_HTML_1
="#"
49078 if test "x$MONOLITHIC" = "x0" -a "x$USE_HTML" = "x1" ; then
49079 COND_MONOLITHIC_0_USE_HTML_1
=""
49082 COND_MONOLITHIC_0_USE_MEDIA_1
="#"
49083 if test "x$MONOLITHIC" = "x0" -a "x$USE_MEDIA" = "x1" ; then
49084 COND_MONOLITHIC_0_USE_MEDIA_1
=""
49087 COND_MONOLITHIC_0_USE_QA_1
="#"
49088 if test "x$MONOLITHIC" = "x0" -a "x$USE_QA" = "x1" ; then
49089 COND_MONOLITHIC_0_USE_QA_1
=""
49092 COND_MONOLITHIC_0_USE_RICHTEXT_1
="#"
49093 if test "x$MONOLITHIC" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
49094 COND_MONOLITHIC_0_USE_RICHTEXT_1
=""
49097 COND_MONOLITHIC_0_USE_STC_1
="#"
49098 if test "x$MONOLITHIC" = "x0" -a "x$USE_STC" = "x1" ; then
49099 COND_MONOLITHIC_0_USE_STC_1
=""
49102 COND_MONOLITHIC_0_USE_XRC_1
="#"
49103 if test "x$MONOLITHIC" = "x0" -a "x$USE_XRC" = "x1" ; then
49104 COND_MONOLITHIC_0_USE_XRC_1
=""
49107 COND_MONOLITHIC_1
="#"
49108 if test "x$MONOLITHIC" = "x1" ; then
49109 COND_MONOLITHIC_1
=""
49112 COND_MONOLITHIC_1_SHARED_0
="#"
49113 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x0" ; then
49114 COND_MONOLITHIC_1_SHARED_0
=""
49117 COND_MONOLITHIC_1_SHARED_1
="#"
49118 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x1" ; then
49119 COND_MONOLITHIC_1_SHARED_1
=""
49122 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
="#"
49123 if test "x$OFFICIAL_BUILD" = "x0" -a "x$PLATFORM_WIN32" = "x1" ; then
49124 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
=""
49127 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
="#"
49128 if test "x$OFFICIAL_BUILD" = "x1" -a "x$PLATFORM_WIN32" = "x1" ; then
49129 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
=""
49132 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1
="#"
49133 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERCYGWIN" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
49134 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1
=""
49137 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
="#"
49138 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
49139 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
=""
49142 COND_PLATFORM_MACOSX_1
="#"
49143 if test "x$PLATFORM_MACOSX" = "x1" ; then
49144 COND_PLATFORM_MACOSX_1
=""
49147 COND_PLATFORM_MACOSX_1_TOOLKIT_
="#"
49148 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "x" ; then
49149 COND_PLATFORM_MACOSX_1_TOOLKIT_
=""
49152 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA
="#"
49153 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xCOCOA" ; then
49154 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA
=""
49157 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK
="#"
49158 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xGTK" ; then
49159 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK
=""
49162 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC
="#"
49163 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" ; then
49164 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC
=""
49167 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1
="#"
49168 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
49169 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1
=""
49172 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF
="#"
49173 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMOTIF" ; then
49174 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF
=""
49177 COND_PLATFORM_MACOSX_1_TOOLKIT_X11
="#"
49178 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xX11" ; then
49179 COND_PLATFORM_MACOSX_1_TOOLKIT_X11
=""
49182 COND_PLATFORM_MACOSX_1_USE_GUI_1
="#"
49183 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_GUI" = "x1" ; then
49184 COND_PLATFORM_MACOSX_1_USE_GUI_1
=""
49187 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
="#"
49188 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
49189 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
=""
49192 COND_PLATFORM_MACOS_1
="#"
49193 if test "x$PLATFORM_MACOS" = "x1" ; then
49194 COND_PLATFORM_MACOS_1
=""
49197 COND_PLATFORM_MAC_0
="#"
49198 if test "x$PLATFORM_MAC" = "x0" ; then
49199 COND_PLATFORM_MAC_0
=""
49202 COND_PLATFORM_MAC_1
="#"
49203 if test "x$PLATFORM_MAC" = "x1" ; then
49204 COND_PLATFORM_MAC_1
=""
49207 COND_PLATFORM_MSDOS_0
="#"
49208 if test "x$PLATFORM_MSDOS" = "x0" ; then
49209 COND_PLATFORM_MSDOS_0
=""
49212 COND_PLATFORM_MSDOS_1
="#"
49213 if test "x$PLATFORM_MSDOS" = "x1" ; then
49214 COND_PLATFORM_MSDOS_1
=""
49217 COND_PLATFORM_OS2_1
="#"
49218 if test "x$PLATFORM_OS2" = "x1" ; then
49219 COND_PLATFORM_OS2_1
=""
49222 COND_PLATFORM_UNIX_0
="#"
49223 if test "x$PLATFORM_UNIX" = "x0" ; then
49224 COND_PLATFORM_UNIX_0
=""
49227 COND_PLATFORM_UNIX_1
="#"
49228 if test "x$PLATFORM_UNIX" = "x1" ; then
49229 COND_PLATFORM_UNIX_1
=""
49232 COND_PLATFORM_UNIX_1_TOOLKIT_MGL
="#"
49233 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xMGL" ; then
49234 COND_PLATFORM_UNIX_1_TOOLKIT_MGL
=""
49237 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1
="#"
49238 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
49239 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1
=""
49242 COND_PLATFORM_UNIX_1_USE_GUI_1
="#"
49243 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_GUI" = "x1" ; then
49244 COND_PLATFORM_UNIX_1_USE_GUI_1
=""
49247 COND_PLATFORM_UNIX_1_USE_PLUGINS_0
="#"
49248 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_PLUGINS" = "x0" ; then
49249 COND_PLATFORM_UNIX_1_USE_PLUGINS_0
=""
49252 COND_PLATFORM_WIN32_0
="#"
49253 if test "x$PLATFORM_WIN32" = "x0" ; then
49254 COND_PLATFORM_WIN32_0
=""
49257 COND_PLATFORM_WIN32_1
="#"
49258 if test "x$PLATFORM_WIN32" = "x1" ; then
49259 COND_PLATFORM_WIN32_1
=""
49263 if test "x$SHARED" = "x0" ; then
49267 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0
="#"
49268 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMAC" -a "x$WXUNIV" = "x0" ; then
49269 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0
=""
49272 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0
="#"
49273 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
49274 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0
=""
49277 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0
="#"
49278 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xPM" -a "x$WXUNIV" = "x0" ; then
49279 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0
=""
49282 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
="#"
49283 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
49284 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
=""
49287 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
="#"
49288 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
49289 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
=""
49292 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
="#"
49293 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
49294 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
=""
49297 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
="#"
49298 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
49299 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
=""
49302 COND_SHARED_0_USE_STC_1
="#"
49303 if test "x$SHARED" = "x0" -a "x$USE_STC" = "x1" ; then
49304 COND_SHARED_0_USE_STC_1
=""
49307 COND_SHARED_0_WXUSE_EXPAT_BUILTIN
="#"
49308 if test "x$SHARED" = "x0" -a "x$wxUSE_EXPAT" = "xbuiltin" ; then
49309 COND_SHARED_0_WXUSE_EXPAT_BUILTIN
=""
49312 COND_SHARED_0_WXUSE_REGEX_BUILTIN
="#"
49313 if test "x$SHARED" = "x0" -a "x$wxUSE_REGEX" = "xbuiltin" ; then
49314 COND_SHARED_0_WXUSE_REGEX_BUILTIN
=""
49317 COND_SHARED_0_WXUSE_ZLIB_BUILTIN
="#"
49318 if test "x$SHARED" = "x0" -a "x$wxUSE_ZLIB" = "xbuiltin" ; then
49319 COND_SHARED_0_WXUSE_ZLIB_BUILTIN
=""
49323 if test "x$SHARED" = "x1" ; then
49327 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
="#"
49328 if test "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
49329 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
=""
49333 if test "x$TOOLKIT" = "x" ; then
49337 COND_TOOLKIT_COCOA
="#"
49338 if test "x$TOOLKIT" = "xCOCOA" ; then
49339 COND_TOOLKIT_COCOA
=""
49342 COND_TOOLKIT_COCOA_USE_GUI_1
="#"
49343 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" ; then
49344 COND_TOOLKIT_COCOA_USE_GUI_1
=""
49347 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
="#"
49348 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49349 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
=""
49352 COND_TOOLKIT_DFB
="#"
49353 if test "x$TOOLKIT" = "xDFB" ; then
49354 COND_TOOLKIT_DFB
=""
49357 COND_TOOLKIT_DFB_USE_GUI_1
="#"
49358 if test "x$TOOLKIT" = "xDFB" -a "x$USE_GUI" = "x1" ; then
49359 COND_TOOLKIT_DFB_USE_GUI_1
=""
49362 COND_TOOLKIT_GTK
="#"
49363 if test "x$TOOLKIT" = "xGTK" ; then
49364 COND_TOOLKIT_GTK
=""
49367 COND_TOOLKIT_GTK_TOOLKIT_VERSION_
="#"
49368 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" ; then
49369 COND_TOOLKIT_GTK_TOOLKIT_VERSION_
=""
49372 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2
="#"
49373 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" ; then
49374 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2
=""
49377 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1
="#"
49378 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" ; then
49379 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1
=""
49382 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0
="#"
49383 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49384 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0
=""
49387 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_WXUNIV_0
="#"
49388 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$WXUNIV" = "x0" ; then
49389 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_WXUNIV_0
=""
49392 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1
="#"
49393 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" ; then
49394 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1
=""
49397 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0
="#"
49398 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49399 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0
=""
49402 COND_TOOLKIT_GTK_USE_GUI_1
="#"
49403 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" ; then
49404 COND_TOOLKIT_GTK_USE_GUI_1
=""
49407 COND_TOOLKIT_MAC
="#"
49408 if test "x$TOOLKIT" = "xMAC" ; then
49409 COND_TOOLKIT_MAC
=""
49412 COND_TOOLKIT_MAC_USE_GUI_1
="#"
49413 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
49414 COND_TOOLKIT_MAC_USE_GUI_1
=""
49417 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0
="#"
49418 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49419 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0
=""
49422 COND_TOOLKIT_MGL
="#"
49423 if test "x$TOOLKIT" = "xMGL" ; then
49424 COND_TOOLKIT_MGL
=""
49427 COND_TOOLKIT_MGL_USE_GUI_1
="#"
49428 if test "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
49429 COND_TOOLKIT_MGL_USE_GUI_1
=""
49432 COND_TOOLKIT_MOTIF
="#"
49433 if test "x$TOOLKIT" = "xMOTIF" ; then
49434 COND_TOOLKIT_MOTIF
=""
49437 COND_TOOLKIT_MOTIF_USE_GUI_1
="#"
49438 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" ; then
49439 COND_TOOLKIT_MOTIF_USE_GUI_1
=""
49442 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
="#"
49443 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49444 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
=""
49447 COND_TOOLKIT_MSW
="#"
49448 if test "x$TOOLKIT" = "xMSW" ; then
49449 COND_TOOLKIT_MSW
=""
49452 COND_TOOLKIT_MSW_USE_GUI_1
="#"
49453 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" ; then
49454 COND_TOOLKIT_MSW_USE_GUI_1
=""
49457 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
="#"
49458 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49459 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
=""
49462 COND_TOOLKIT_MSW_WXUNIV_0
="#"
49463 if test "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
49464 COND_TOOLKIT_MSW_WXUNIV_0
=""
49467 COND_TOOLKIT_PM
="#"
49468 if test "x$TOOLKIT" = "xPM" ; then
49472 COND_TOOLKIT_PM_USE_GUI_1
="#"
49473 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" ; then
49474 COND_TOOLKIT_PM_USE_GUI_1
=""
49477 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
="#"
49478 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49479 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
=""
49482 COND_TOOLKIT_WINCE
="#"
49483 if test "x$TOOLKIT" = "xWINCE" ; then
49484 COND_TOOLKIT_WINCE
=""
49487 COND_TOOLKIT_WINCE_USE_GUI_1
="#"
49488 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" ; then
49489 COND_TOOLKIT_WINCE_USE_GUI_1
=""
49492 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0
="#"
49493 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49494 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0
=""
49497 COND_TOOLKIT_WINCE_WXUNIV_0
="#"
49498 if test "x$TOOLKIT" = "xWINCE" -a "x$WXUNIV" = "x0" ; then
49499 COND_TOOLKIT_WINCE_WXUNIV_0
=""
49502 COND_TOOLKIT_X11
="#"
49503 if test "x$TOOLKIT" = "xX11" ; then
49504 COND_TOOLKIT_X11
=""
49507 COND_TOOLKIT_X11_USE_GUI_1
="#"
49508 if test "x$TOOLKIT" = "xX11" -a "x$USE_GUI" = "x1" ; then
49509 COND_TOOLKIT_X11_USE_GUI_1
=""
49513 if test "x$UNICODE" = "x1" ; then
49517 COND_USE_EXCEPTIONS_0
="#"
49518 if test "x$USE_EXCEPTIONS" = "x0" ; then
49519 COND_USE_EXCEPTIONS_0
=""
49522 COND_USE_EXCEPTIONS_1
="#"
49523 if test "x$USE_EXCEPTIONS" = "x1" ; then
49524 COND_USE_EXCEPTIONS_1
=""
49528 if test "x$USE_GUI" = "x0" ; then
49533 if test "x$USE_GUI" = "x1" ; then
49537 COND_USE_GUI_1_USE_OPENGL_1
="#"
49538 if test "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
49539 COND_USE_GUI_1_USE_OPENGL_1
=""
49542 COND_USE_GUI_1_WXUNIV_0
="#"
49543 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49544 COND_USE_GUI_1_WXUNIV_0
=""
49547 COND_USE_GUI_1_WXUNIV_1
="#"
49548 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
49549 COND_USE_GUI_1_WXUNIV_1
=""
49552 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
="#"
49553 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
49554 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
=""
49557 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
="#"
49558 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
49559 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
=""
49562 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
="#"
49563 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
49564 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
=""
49567 COND_USE_OPENGL_1
="#"
49568 if test "x$USE_OPENGL" = "x1" ; then
49569 COND_USE_OPENGL_1
=""
49573 if test "x$USE_PCH" = "x1" ; then
49577 COND_USE_PLUGINS_0
="#"
49578 if test "x$USE_PLUGINS" = "x0" ; then
49579 COND_USE_PLUGINS_0
=""
49582 COND_USE_RTTI_0
="#"
49583 if test "x$USE_RTTI" = "x0" ; then
49587 COND_USE_RTTI_1
="#"
49588 if test "x$USE_RTTI" = "x1" ; then
49592 COND_USE_SOSYMLINKS_1
="#"
49593 if test "x$USE_SOSYMLINKS" = "x1" ; then
49594 COND_USE_SOSYMLINKS_1
=""
49597 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1
="#"
49598 if test "x$USE_SOVERCYGWIN" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
49599 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1
=""
49602 COND_USE_SOVERLINUX_1
="#"
49603 if test "x$USE_SOVERLINUX" = "x1" ; then
49604 COND_USE_SOVERLINUX_1
=""
49607 COND_USE_SOVERSION_0
="#"
49608 if test "x$USE_SOVERSION" = "x0" ; then
49609 COND_USE_SOVERSION_0
=""
49612 COND_USE_SOVERSOLARIS_1
="#"
49613 if test "x$USE_SOVERSOLARIS" = "x1" ; then
49614 COND_USE_SOVERSOLARIS_1
=""
49618 if test "x$USE_STC" = "x1" ; then
49622 COND_USE_THREADS_0
="#"
49623 if test "x$USE_THREADS" = "x0" ; then
49624 COND_USE_THREADS_0
=""
49627 COND_USE_THREADS_1
="#"
49628 if test "x$USE_THREADS" = "x1" ; then
49629 COND_USE_THREADS_1
=""
49633 if test "x$USE_XRC" = "x1" ; then
49637 COND_WINDOWS_IMPLIB_1
="#"
49638 if test "x$WINDOWS_IMPLIB" = "x1" ; then
49639 COND_WINDOWS_IMPLIB_1
=""
49642 COND_WITH_PLUGIN_SDL_1
="#"
49643 if test "x$WITH_PLUGIN_SDL" = "x1" ; then
49644 COND_WITH_PLUGIN_SDL_1
=""
49648 if test "x$WXUNIV" = "x0" ; then
49653 if test "x$WXUNIV" = "x1" ; then
49657 COND_WXUSE_EXPAT_BUILTIN
="#"
49658 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
49659 COND_WXUSE_EXPAT_BUILTIN
=""
49662 COND_WXUSE_LIBJPEG_BUILTIN
="#"
49663 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
49664 COND_WXUSE_LIBJPEG_BUILTIN
=""
49667 COND_WXUSE_LIBPNG_BUILTIN
="#"
49668 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
49669 COND_WXUSE_LIBPNG_BUILTIN
=""
49672 COND_WXUSE_LIBTIFF_BUILTIN
="#"
49673 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
49674 COND_WXUSE_LIBTIFF_BUILTIN
=""
49677 COND_WXUSE_REGEX_BUILTIN
="#"
49678 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
49679 COND_WXUSE_REGEX_BUILTIN
=""
49682 COND_WXUSE_ZLIB_BUILTIN
="#"
49683 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
49684 COND_WXUSE_ZLIB_BUILTIN
=""
49689 if test "$BAKEFILE_AUTOCONF_INC_M4_VERSION" = "" ; then
49690 { { 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
49691 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;}
49692 { (exit 1); exit 1; }; }
49695 if test "$BAKEFILE_BAKEFILE_M4_VERSION" != "$BAKEFILE_AUTOCONF_INC_M4_VERSION" ; then
49696 { { 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
49697 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;}
49698 { (exit 1); exit 1; }; }
49705 ?
:* ) # Drive letter, considered as absolute.
49708 INSTALL
=`pwd`/${INSTALL} ;;
49711 if test "$wxUSE_GUI" = "yes"; then
49713 if test "$wxUSE_MSW" = 1 ; then
49714 if test "x$WINDRES" = "x"; then
49715 { { echo "$as_me:$LINENO: error: Required windres program not found" >&5
49716 echo "$as_me: error: Required windres program not found" >&2;}
49717 { (exit 1); exit 1; }; }
49723 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1; then
49724 WX_RESOURCES_MACOSX_ASCII
="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.r"
49725 WX_RESOURCES_MACOSX_DATA
="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.rsrc"
49727 LIBWXMACRES
="\$(wx_top_builddir)/lib/${WX_RESOURCES_MACOSX_ASCII}"
49729 # Extract the first word of "DeRez", so it can be a program name with args.
49730 set dummy DeRez
; ac_word
=$2
49731 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49732 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49733 if test "${ac_cv_prog_DEREZ+set}" = set; then
49734 echo $ECHO_N "(cached) $ECHO_C" >&6
49736 if test -n "$DEREZ"; then
49737 ac_cv_prog_DEREZ
="$DEREZ" # Let the user override the test.
49739 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
49740 for as_dir
in $PATH
49743 test -z "$as_dir" && as_dir
=.
49744 for ac_exec_ext
in '' $ac_executable_extensions; do
49745 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49746 ac_cv_prog_DEREZ
="DeRez"
49747 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49754 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ
="/Developer/Tools/DeRez"
49757 DEREZ
=$ac_cv_prog_DEREZ
49758 if test -n "$DEREZ"; then
49759 { echo "$as_me:$LINENO: result: $DEREZ" >&5
49760 echo "${ECHO_T}$DEREZ" >&6; }
49762 { echo "$as_me:$LINENO: result: no" >&5
49763 echo "${ECHO_T}no" >&6; }
49768 MACSETFILE
="\$(SETFILE)"
49770 if test "$wxUSE_MAC" = 1; then
49771 POSTLINK_COMMAND
="\$(REZ) -d __DARWIN__ -t APPL Carbon.r -o"
49773 WXCONFIG_RESFLAGS
="-d __DARWIN__ -t APPL Carbon.r -o"
49775 POSTLINK_COMMAND
="cat /dev/null | \$(REZ) -d __DARWIN__ -t APPL ${LIBWXMACRES}"
49776 RESCOMP
="cat /dev/null \| $REZ"
49777 WXCONFIG_RESFLAGS
="-d __DARWIN__ -t APPL \$libdir/$WX_RESOURCES_MACOSX_ASCII"
49783 if test "$wxUSE_PM" = 1; then
49785 WXCONFIG_RESFLAGS
="-ep"
49787 POSTLINK_COMMAND
="$RESCOMP $WXCONFIG_RESFLAGS"
49789 POSTLINK_COMMAND
="@true"
49796 if test $GCC_PCH = 1
49798 if test "$wx_cv_gcc_pch_bug" = yes; then
49799 { echo "$as_me:$LINENO: WARNING: *** Precompiled header support is broken on this compiler" >&5
49800 echo "$as_me: WARNING: *** Precompiled header support is broken on this compiler" >&2;}
49801 { echo "$as_me:$LINENO: WARNING: *** --enable-precomp-headers is not recommended" >&5
49802 echo "$as_me: WARNING: *** --enable-precomp-headers is not recommended" >&2;}
49803 { echo "$as_me:$LINENO: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&5
49804 echo "$as_me: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&2;}
49807 CPPFLAGS
="-DWX_PRECOMP $CPPFLAGS"
49811 if test "$wxUSE_MAC" = 1 ; then
49812 if test "x$wxUSE_UNIVERSAL_BINARY" != "xno" ; then
49813 sed "s/DEPSMODE=gcc/DEPSMODE=none/" < bk
-deps > temp
49819 if test "$wxUSE_SHARED" = "yes"; then
49821 *-pc-os2_emx | *-pc-os2-emx )
49822 SHARED_LD_CC
="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
49823 SHARED_LD_CXX
="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
49824 cp -p ${srcdir}/src
/os
2/dllnames.sh .
49825 cp -p ${srcdir}/src
/os
2/dllar.sh .
49829 if test "$wxUSE_OMF" = "yes"; then
49831 *-pc-os2_emx | *-pc-os2-emx )
49832 LDFLAGS
="$LDFLAGS -Zlinker /EXEPACK"
49833 LDFLAGS_GUI
="-Zlinker /PMTYPE:PM"
49834 WXCONFIG_LDFLAGS_GUI
="-Zlinker /PMTYPE:PM"
49839 WXCONFIG_CPPFLAGS
="$WXCONFIG_CPPFLAGS $TOOLCHAIN_DEFS"
49844 if test "$GCC" = yes; then
49845 CPPFLAGS
=`echo $CPPFLAGS | sed 's/-mt//'`
49846 LIBS
=`echo $LIBS | sed 's/-mt//'`
49847 EXTRALIBS_GUI
=`echo $EXTRALIBS_GUI | sed 's/-mt//'`
49852 if test "x$SUNCXX" = xyes
; then
49853 CPPFLAGS
=`echo $CPPFLAGS | sed 's/-pthread//'`
49854 LIBS
=`echo $LIBS | sed 's/-pthread//'`
49855 EXTRALIBS_GUI
=`echo $EXTRALIBS_GUI | sed 's/-pthread//'`
49860 CFLAGS
="$CFLAGS $CFLAGS_VISIBILITY"
49861 CXXFLAGS
="$CXXFLAGS $CXXFLAGS_VISIBILITY"
49863 SAMPLES_SUBDIRS
="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
49924 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
49925 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
49926 set x
${MAKE-make}; ac_make
=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
49927 if { as_var
=ac_cv_prog_make_
${ac_make}_set
; eval "test \"\${$as_var+set}\" = set"; }; then
49928 echo $ECHO_N "(cached) $ECHO_C" >&6
49930 cat >conftest.
make <<\_ACEOF
49933 @
echo '@@@%%%=$(MAKE)=@@@%%%'
49935 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
49936 case `${MAKE-make} -f conftest.make 2>/dev/null` in
49937 *@@@
%%%=?
*=@@@
%%%*)
49938 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
49940 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
49942 rm -f conftest.
make
49944 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
49945 { echo "$as_me:$LINENO: result: yes" >&5
49946 echo "${ECHO_T}yes" >&6; }
49949 { echo "$as_me:$LINENO: result: no" >&5
49950 echo "${ECHO_T}no" >&6; }
49951 SET_MAKE
="MAKE=${MAKE-make}"
49956 ac_config_headers
="$ac_config_headers lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in"
49959 if test "$USE_WIN32" = 1; then
49960 ac_config_commands
="$ac_config_commands
49966 ac_config_files
="$ac_config_files lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in"
49969 ac_config_files
="$ac_config_files lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in"
49972 if test "$wx_cv_version_script" = "yes"; then
49973 ac_config_files
="$ac_config_files version-script"
49976 ac_config_files
="$ac_config_files Makefile"
49979 ac_config_commands
="$ac_config_commands wx-config"
49983 if test "$wxWITH_SUBDIRS" != "no"; then
49984 if test "$wxUSE_GUI" = "yes"; then
49985 SUBDIRS
="samples demos utils"
49987 SUBDIRS
="samples utils"
49992 # Check whether --with-cppunit-prefix was given.
49993 if test "${with_cppunit_prefix+set}" = set; then
49994 withval
=$with_cppunit_prefix; cppunit_config_prefix
="$withval"
49996 cppunit_config_prefix
=""
50000 # Check whether --with-cppunit-exec-prefix was given.
50001 if test "${with_cppunit_exec_prefix+set}" = set; then
50002 withval
=$with_cppunit_exec_prefix; cppunit_config_exec_prefix
="$withval"
50004 cppunit_config_exec_prefix
=""
50008 if test x
$cppunit_config_exec_prefix != x
; then
50009 cppunit_config_args
="$cppunit_config_args --exec-prefix=$cppunit_config_exec_prefix"
50010 if test x
${CPPUNIT_CONFIG+set} != xset
; then
50011 CPPUNIT_CONFIG
=$cppunit_config_exec_prefix/bin
/cppunit
-config
50014 if test x
$cppunit_config_prefix != x
; then
50015 cppunit_config_args
="$cppunit_config_args --prefix=$cppunit_config_prefix"
50016 if test x
${CPPUNIT_CONFIG+set} != xset
; then
50017 CPPUNIT_CONFIG
=$cppunit_config_prefix/bin
/cppunit
-config
50021 # Extract the first word of "cppunit-config", so it can be a program name with args.
50022 set dummy cppunit
-config; ac_word
=$2
50023 { echo "$as_me:$LINENO: checking for $ac_word" >&5
50024 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
50025 if test "${ac_cv_path_CPPUNIT_CONFIG+set}" = set; then
50026 echo $ECHO_N "(cached) $ECHO_C" >&6
50028 case $CPPUNIT_CONFIG in
50030 ac_cv_path_CPPUNIT_CONFIG
="$CPPUNIT_CONFIG" # Let the user override the test with a path.
50033 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
50034 for as_dir
in $PATH
50037 test -z "$as_dir" && as_dir
=.
50038 for ac_exec_ext
in '' $ac_executable_extensions; do
50039 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
50040 ac_cv_path_CPPUNIT_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
50041 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
50048 test -z "$ac_cv_path_CPPUNIT_CONFIG" && ac_cv_path_CPPUNIT_CONFIG
="no"
50052 CPPUNIT_CONFIG
=$ac_cv_path_CPPUNIT_CONFIG
50053 if test -n "$CPPUNIT_CONFIG"; then
50054 { echo "$as_me:$LINENO: result: $CPPUNIT_CONFIG" >&5
50055 echo "${ECHO_T}$CPPUNIT_CONFIG" >&6; }
50057 { echo "$as_me:$LINENO: result: no" >&5
50058 echo "${ECHO_T}no" >&6; }
50062 cppunit_version_min
=1.8.0
50064 { echo "$as_me:$LINENO: checking for Cppunit - version >= $cppunit_version_min" >&5
50065 echo $ECHO_N "checking for Cppunit - version >= $cppunit_version_min... $ECHO_C" >&6; }
50067 if test "$CPPUNIT_CONFIG" = "no" ; then
50068 { echo "$as_me:$LINENO: result: no" >&5
50069 echo "${ECHO_T}no" >&6; }
50072 CPPUNIT_CFLAGS
=`$CPPUNIT_CONFIG --cflags`
50073 CPPUNIT_LIBS
=`$CPPUNIT_CONFIG --libs`
50074 cppunit_version
=`$CPPUNIT_CONFIG --version`
50076 cppunit_major_version
=`echo $cppunit_version | \
50077 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
50078 cppunit_minor_version
=`echo $cppunit_version | \
50079 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
50080 cppunit_micro_version
=`echo $cppunit_version | \
50081 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
50083 cppunit_major_min
=`echo $cppunit_version_min | \
50084 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
50085 cppunit_minor_min
=`echo $cppunit_version_min | \
50086 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
50087 cppunit_micro_min
=`echo $cppunit_version_min | \
50088 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
50090 cppunit_version_proper
=`expr \
50091 $cppunit_major_version \> $cppunit_major_min \| \
50092 $cppunit_major_version \= $cppunit_major_min \& \
50093 $cppunit_minor_version \> $cppunit_minor_min \| \
50094 $cppunit_major_version \= $cppunit_major_min \& \
50095 $cppunit_minor_version \= $cppunit_minor_min \& \
50096 $cppunit_micro_version \>= $cppunit_micro_min `
50098 if test "$cppunit_version_proper" = "1" ; then
50099 { echo "$as_me:$LINENO: result: $cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&5
50100 echo "${ECHO_T}$cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&6; }
50102 { echo "$as_me:$LINENO: result: no" >&5
50103 echo "${ECHO_T}no" >&6; }
50108 if test "x$no_cppunit" = x
; then
50109 SUBDIRS
="$SUBDIRS tests"
50120 for subdir
in $SUBDIRS; do
50121 if test -d ${srcdir}/${subdir} ; then
50122 if test "$wxUSE_GUI" = "yes"; then
50123 if test ${subdir} = "samples"; then
50124 makefiles
="samples/Makefile.in $makefiles"
50125 for sample
in $SAMPLES_SUBDIRS; do
50126 if test -d $srcdir/samples
/$sample; then
50127 makefiles
="samples/$sample/Makefile.in $makefiles"
50131 disabled_var
=DISABLED_
`echo $subdir | tr '[a-z]' '[A-Z]'`
50132 eval "disabled=\$$disabled_var"
50133 disabled
=/`echo X $disabled | sed 's@ @/|/@g'`/
50134 makefiles
=`(cd $srcdir ; find $subdir -name Makefile.in) | $EGREP -v "$disabled"`
50137 if test ${subdir} = "samples"; then
50138 makefiles
="samples/Makefile.in $makefiles"
50139 for sample
in `echo $SAMPLES_SUBDIRS`; do
50140 if test -d $srcdir/samples
/$sample; then
50141 makefiles
="samples/$sample/Makefile.in $makefiles"
50144 elif test ${subdir} = "utils"; then
50146 for util
in HelpGen tex2rtf
; do
50147 if test -d $srcdir/utils
/$util ; then
50148 makefiles
="utils/$util/Makefile.in \
50149 utils/$util/src/Makefile.in \
50154 makefiles
=`(cd $srcdir ; find $subdir -name Makefile.in)`
50158 for mkin
in $makefiles ; do
50159 mk
=`echo $mkin | sed 's/Makefile\.in/Makefile/g'`
50160 ac_config_files
="$ac_config_files $mk"
50166 cat >confcache
<<\_ACEOF
50167 # This file is a shell script that caches the results of configure
50168 # tests run on this system so they can be shared between configure
50169 # scripts and configure runs, see configure's option --config-cache.
50170 # It is not useful on other systems. If it contains results you don't
50171 # want to keep, you may remove or edit it.
50173 # config.status only pays attention to the cache file if you give it
50174 # the --recheck option to rerun configure.
50176 # `ac_cv_env_foo' variables (set or unset) will be overridden when
50177 # loading this file, other *unset* `ac_cv_foo' will be assigned the
50178 # following values.
50182 # The following way of writing the cache mishandles newlines in values,
50183 # but we know of no workaround that is simple, portable, and efficient.
50184 # So, we kill variables containing newlines.
50185 # Ultrix sh set writes to stderr and can't be redirected directly,
50186 # and sets the high bit in the cache file unless we assign to the vars.
50188 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
50189 eval ac_val
=\$
$ac_var
50193 *_cv_
*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
50194 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
50197 _
| IFS
| as_nl
) ;; #(
50198 *) $as_unset $ac_var ;;
50204 case $as_nl`(ac_space=' '; set) 2>&1` in #(
50205 *${as_nl}ac_space
=\
*)
50206 # `set' does not quote correctly, so add quotes (double-quote
50207 # substitution turns \\\\ into \\, and sed turns \\ into \).
50210 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
50213 # `set' quotes correctly as required by POSIX, so do not add quotes.
50214 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
50223 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
50225 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
50227 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
50228 if test -w "$cache_file"; then
50229 test "x$cache_file" != "x/dev/null" &&
50230 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
50231 echo "$as_me: updating cache $cache_file" >&6;}
50232 cat confcache
>$cache_file
50234 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
50235 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
50240 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
50241 # Let make expand exec_prefix.
50242 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
50244 DEFS
=-DHAVE_CONFIG_H
50248 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
50249 # 1. Remove the extension, and $U if already installed.
50250 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
50251 ac_i
=`echo "$ac_i" | sed "$ac_script"`
50252 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
50253 # will be set to the directory where LIBOBJS objects are built.
50254 ac_libobjs
="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
50255 ac_ltlibobjs
="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
50257 LIBOBJS
=$ac_libobjs
50259 LTLIBOBJS
=$ac_ltlibobjs
50263 : ${CONFIG_STATUS=./config.status}
50264 ac_clean_files_save
=$ac_clean_files
50265 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
50266 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
50267 echo "$as_me: creating $CONFIG_STATUS" >&6;}
50268 cat >$CONFIG_STATUS <<_ACEOF
50270 # Generated by $as_me.
50271 # Run this file to recreate the current configuration.
50272 # Compiler output produced by configure, useful for debugging
50273 # configure, is in config.log if it exists.
50276 ac_cs_recheck=false
50278 SHELL=\${CONFIG_SHELL-$SHELL}
50281 cat >>$CONFIG_STATUS <<\_ACEOF
50282 ## --------------------- ##
50283 ## M4sh Initialization. ##
50284 ## --------------------- ##
50286 # Be more Bourne compatible
50287 DUALCASE
=1; export DUALCASE
# for MKS sh
50288 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
50291 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
50292 # is contrary to our usage. Disable this feature.
50293 alias -g '${1+"$@"}'='"$@"'
50294 setopt NO_GLOB_SUBST
50296 case `(set -o) 2>/dev/null` in
50297 *posix
*) set -o posix
;;
50306 # Avoid depending upon Character Ranges.
50307 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
50308 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
50309 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
50310 as_cr_digits
='0123456789'
50311 as_cr_alnum
=$as_cr_Letters$as_cr_digits
50313 # The user is always right.
50314 if test "${PATH_SEPARATOR+set}" != set; then
50315 echo "#! /bin/sh" >conf$$.sh
50316 echo "exit 0" >>conf$$.sh
50318 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
50326 # Support unset when possible.
50327 if ( (MAIL
=60; unset MAIL
) || exit) >/dev
/null
2>&1; then
50335 # We need space, tab and new line, in precisely that order. Quoting is
50336 # there to prevent editors from complaining about space-tab.
50337 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
50338 # splitting by setting IFS to empty value.)
50343 # Find who we are. Look in the path if we contain no directory separator.
50345 *[\\/]* ) as_myself
=$0 ;;
50346 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
50347 for as_dir
in $PATH
50350 test -z "$as_dir" && as_dir
=.
50351 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
50357 # We did not find ourselves, most probably we were run as `sh COMMAND'
50358 # in which case we are not to be found in the path.
50359 if test "x$as_myself" = x
; then
50362 if test ! -f "$as_myself"; then
50363 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
50364 { (exit 1); exit 1; }
50367 # Work around bugs in pre-3.0 UWIN ksh.
50368 for as_var
in ENV MAIL MAILPATH
50369 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
50377 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
50378 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
50379 LC_TELEPHONE LC_TIME
50381 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
50382 eval $as_var=C
; export $as_var
50384 ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
50388 # Required to use basename.
50389 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
50390 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
50396 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
50397 as_basename
=basename
50403 # Name of the executable.
50404 as_me
=`$as_basename -- "$0" ||
50405 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
50406 X"$0" : 'X\(//\)$' \| \
50407 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
50409 sed '/^.*\/\([^/][^/]*\)\/*$/{
50428 as_lineno_1
=$LINENO
50429 as_lineno_2
=$LINENO
50430 test "x$as_lineno_1" != "x$as_lineno_2" &&
50431 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
50433 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
50434 # uniformly replaced by the line number. The first 'sed' inserts a
50435 # line-number line after each line using $LINENO; the second 'sed'
50436 # does the real work. The second script uses 'N' to pair each
50437 # line-number line with the line containing $LINENO, and appends
50438 # trailing '-' during substitution so that $LINENO is not a special
50439 # case at line end.
50440 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
50441 # scripts with optimization help from Paolo Bonzini. Blame Lee
50442 # E. McMahon (1931-1989) for sed's syntax. :-)
50454 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
50457 ' >$as_me.lineno
&&
50458 chmod +x
"$as_me.lineno" ||
50459 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
50460 { (exit 1); exit 1; }; }
50462 # Don't try to exec as it changes $[0], causing all sort of problems
50463 # (the dirname of $[0] is not the place where we might find the
50464 # original and so on. Autoconf is especially sensitive to this).
50465 .
"./$as_me.lineno"
50466 # Exit status is that of the last command.
50471 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
50477 ECHO_C
= ECHO_N
= ECHO_T
=
50478 case `echo -n x` in
50480 case `echo 'x\c'` in
50481 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
50488 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
50489 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
50495 rm -f conf$$ conf$$.exe conf$$.
file
50496 if test -d conf$$.dir
; then
50497 rm -f conf$$.dir
/conf$$.
file
50503 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
50505 # ... but there are two gotchas:
50506 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
50507 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
50508 # In both cases, we have to default to `cp -p'.
50509 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe
||
50511 elif ln conf$$.
file conf$$
2>/dev
/null
; then
50516 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
50517 rmdir conf$$.dir
2>/dev
/null
50519 if mkdir -p .
2>/dev
/null
; then
50522 test -d .
/-p && rmdir .
/-p
50526 if test -x / >/dev
/null
2>&1; then
50527 as_test_x
='test -x'
50529 if ls -dL / >/dev
/null
2>&1; then
50536 if test -d "$1"; then
50542 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
50543 ???[sx]*):;;*)false;;esac;fi
50547 as_executable_p
=$as_test_x
50549 # Sed expression to map a string onto a valid CPP name.
50550 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
50552 # Sed expression to map a string onto a valid variable name.
50553 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
50558 # Save the log message, to keep $[0] and so on meaningful, and to
50559 # report actual input values of CONFIG_FILES etc. instead of their
50560 # values after options handling.
50562 This file was extended by wxWidgets $as_me 2.9.0, which was
50563 generated by GNU Autoconf 2.61. Invocation command line was
50565 CONFIG_FILES = $CONFIG_FILES
50566 CONFIG_HEADERS = $CONFIG_HEADERS
50567 CONFIG_LINKS = $CONFIG_LINKS
50568 CONFIG_COMMANDS = $CONFIG_COMMANDS
50571 on `(hostname || uname -n) 2>/dev/null | sed 1q`
50576 cat >>$CONFIG_STATUS <<_ACEOF
50577 # Files that config.status was made for.
50578 config_files="$ac_config_files"
50579 config_headers="$ac_config_headers"
50580 config_commands="$ac_config_commands"
50584 cat >>$CONFIG_STATUS <<\_ACEOF
50586 \`$as_me' instantiates files from templates according to the
50587 current configuration.
50589 Usage: $0 [OPTIONS] [FILE]...
50591 -h, --help print this help, then exit
50592 -V, --version print version number and configuration settings, then exit
50593 -q, --quiet do not print progress messages
50594 -d, --debug don't remove temporary files
50595 --recheck update $as_me by reconfiguring in the same conditions
50596 --file=FILE[:TEMPLATE]
50597 instantiate the configuration file FILE
50598 --header=FILE[:TEMPLATE]
50599 instantiate the configuration header FILE
50601 Configuration files:
50604 Configuration headers:
50607 Configuration commands:
50610 Report bugs to <bug-autoconf@gnu.org>."
50613 cat >>$CONFIG_STATUS <<_ACEOF
50615 wxWidgets config.status 2.9.0
50616 configured by $0, generated by GNU Autoconf 2.61,
50617 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
50619 Copyright (C) 2006 Free Software Foundation, Inc.
50620 This config.status script is free software; the Free Software Foundation
50621 gives unlimited permission to copy, distribute and modify it."
50628 cat >>$CONFIG_STATUS <<\_ACEOF
50629 # If no file are specified by the user, then we need to provide default
50630 # value. By we need to know if files were specified by the user.
50636 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
50637 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
50648 # Handling of the options.
50649 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
50651 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
50652 echo "$ac_cs_version"; exit ;;
50653 --debug | --debu | --deb | --de | --d | -d )
50655 --file | --fil | --fi | --f )
50657 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
50658 ac_need_defaults
=false
;;
50659 --header | --heade | --head | --hea )
50661 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
50662 ac_need_defaults
=false
;;
50664 # Conflict between --help and --header
50665 { echo "$as_me: error: ambiguous option: $1
50666 Try \`$0 --help' for more information." >&2
50667 { (exit 1); exit 1; }; };;
50668 --help | --hel | -h )
50669 echo "$ac_cs_usage"; exit ;;
50670 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
50671 | -silent | --silent | --silen | --sile | --sil | --si | --s)
50674 # This is an error.
50675 -*) { echo "$as_me: error: unrecognized option: $1
50676 Try \`$0 --help' for more information." >&2
50677 { (exit 1); exit 1; }; } ;;
50679 *) ac_config_targets
="$ac_config_targets $1"
50680 ac_need_defaults
=false
;;
50686 ac_configure_extra_args
=
50688 if $ac_cs_silent; then
50690 ac_configure_extra_args
="$ac_configure_extra_args --silent"
50694 cat >>$CONFIG_STATUS <<_ACEOF
50695 if \$ac_cs_recheck; then
50696 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
50697 CONFIG_SHELL=$SHELL
50698 export CONFIG_SHELL
50699 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
50703 cat >>$CONFIG_STATUS <<\_ACEOF
50707 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
50708 ## Running $as_me. ##
50714 cat >>$CONFIG_STATUS <<_ACEOF
50720 infile="$srcdir/include/wx/msw/genrcdefs.h"
50721 outdir="lib/wx/include/$TOOLCHAIN_FULLNAME/wx/msw"
50724 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
50725 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
50726 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
50732 cat >>$CONFIG_STATUS <<\_ACEOF
50734 # Handling of arguments.
50735 for ac_config_target
in $ac_config_targets
50737 case $ac_config_target in
50738 "lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h") CONFIG_HEADERS
="$CONFIG_HEADERS lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in" ;;
50739 "rcdefs.h") CONFIG_COMMANDS
="$CONFIG_COMMANDS rcdefs.h" ;;
50740 "lib/wx/config/${TOOLCHAIN_FULLNAME}") CONFIG_FILES
="$CONFIG_FILES lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in" ;;
50741 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}") CONFIG_FILES
="$CONFIG_FILES lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in" ;;
50742 "version-script") CONFIG_FILES
="$CONFIG_FILES version-script" ;;
50743 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
50744 "wx-config") CONFIG_COMMANDS
="$CONFIG_COMMANDS wx-config" ;;
50745 "$mk") CONFIG_FILES
="$CONFIG_FILES $mk" ;;
50747 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
50748 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
50749 { (exit 1); exit 1; }; };;
50754 # If the user did not use the arguments to specify the items to instantiate,
50755 # then the envvar interface is used. Set only those that are not.
50756 # We use the long form for the default assignment because of an extremely
50757 # bizarre bug on SunOS 4.1.3.
50758 if $ac_need_defaults; then
50759 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
50760 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
50761 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
50764 # Have a temporary directory for convenience. Make it in the build tree
50765 # simply because there is no reason against having it here, and in addition,
50766 # creating and moving files from /tmp can sometimes cause problems.
50767 # Hook for its removal unless debugging.
50768 # Note that there is a small window in which the directory will not be cleaned:
50769 # after its creation but before its name has been assigned to `$tmp'.
50773 trap 'exit_status=$?
50774 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
50776 trap '{ (exit 1); exit 1; }' 1 2 13 15
50778 # Create a (secure) tmp directory for tmp files.
50781 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
50782 test -n "$tmp" && test -d "$tmp"
50785 tmp
=.
/conf$$
-$RANDOM
50786 (umask 077 && mkdir "$tmp")
50789 echo "$me: cannot create a temporary directory in ." >&2
50790 { (exit 1); exit 1; }
50794 # Set up the sed scripts for CONFIG_FILES section.
50797 # No need to generate the scripts if there are no CONFIG_FILES.
50798 # This happens for instance when ./config.status config.h
50799 if test -n "$CONFIG_FILES"; then
50806 for ac_last_try
in false false false false false
:; do
50807 cat >conf$
$subs.
sed <<_ACEOF
50808 SHELL!$SHELL$ac_delim
50809 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
50810 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
50811 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
50812 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
50813 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
50814 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
50815 exec_prefix!$exec_prefix$ac_delim
50816 prefix!$prefix$ac_delim
50817 program_transform_name!$program_transform_name$ac_delim
50818 bindir!$bindir$ac_delim
50819 sbindir!$sbindir$ac_delim
50820 libexecdir!$libexecdir$ac_delim
50821 datarootdir!$datarootdir$ac_delim
50822 datadir!$datadir$ac_delim
50823 sysconfdir!$sysconfdir$ac_delim
50824 sharedstatedir!$sharedstatedir$ac_delim
50825 localstatedir!$localstatedir$ac_delim
50826 includedir!$includedir$ac_delim
50827 oldincludedir!$oldincludedir$ac_delim
50828 docdir!$docdir$ac_delim
50829 infodir!$infodir$ac_delim
50830 htmldir!$htmldir$ac_delim
50831 dvidir!$dvidir$ac_delim
50832 pdfdir!$pdfdir$ac_delim
50833 psdir!$psdir$ac_delim
50834 libdir!$libdir$ac_delim
50835 localedir!$localedir$ac_delim
50836 mandir!$mandir$ac_delim
50837 DEFS!$DEFS$ac_delim
50838 ECHO_C!$ECHO_C$ac_delim
50839 ECHO_N!$ECHO_N$ac_delim
50840 ECHO_T!$ECHO_T$ac_delim
50841 LIBS!$LIBS$ac_delim
50842 build_alias!$build_alias$ac_delim
50843 host_alias!$host_alias$ac_delim
50844 target_alias!$target_alias$ac_delim
50845 build!$build$ac_delim
50846 build_cpu!$build_cpu$ac_delim
50847 build_vendor!$build_vendor$ac_delim
50848 build_os!$build_os$ac_delim
50849 host!$host$ac_delim
50850 host_cpu!$host_cpu$ac_delim
50851 host_vendor!$host_vendor$ac_delim
50852 host_os!$host_os$ac_delim
50853 target!$target$ac_delim
50854 target_cpu!$target_cpu$ac_delim
50855 target_vendor!$target_vendor$ac_delim
50856 target_os!$target_os$ac_delim
50857 wx_top_builddir!$wx_top_builddir$ac_delim
50859 CFLAGS!$CFLAGS$ac_delim
50860 LDFLAGS!$LDFLAGS$ac_delim
50861 CPPFLAGS!$CPPFLAGS$ac_delim
50862 ac_ct_CC!$ac_ct_CC$ac_delim
50863 EXEEXT!$EXEEXT$ac_delim
50864 OBJEXT!$OBJEXT$ac_delim
50866 GREP!$GREP$ac_delim
50867 EGREP!$EGREP$ac_delim
50869 CXXFLAGS!$CXXFLAGS$ac_delim
50870 ac_ct_CXX!$ac_ct_CXX$ac_delim
50872 subdirs!$subdirs$ac_delim
50873 PKG_CONFIG!$PKG_CONFIG$ac_delim
50874 GTK_CFLAGS!$GTK_CFLAGS$ac_delim
50875 GTK_LIBS!$GTK_LIBS$ac_delim
50876 GTK_CONFIG!$GTK_CONFIG$ac_delim
50877 DIRECTFB_CFLAGS!$DIRECTFB_CFLAGS$ac_delim
50878 DIRECTFB_LIBS!$DIRECTFB_LIBS$ac_delim
50879 XMKMF!$XMKMF$ac_delim
50880 X_CFLAGS!$X_CFLAGS$ac_delim
50881 X_PRE_LIBS!$X_PRE_LIBS$ac_delim
50882 X_LIBS!$X_LIBS$ac_delim
50883 X_EXTRA_LIBS!$X_EXTRA_LIBS$ac_delim
50884 PANGOX_CFLAGS!$PANGOX_CFLAGS$ac_delim
50885 PANGOX_LIBS!$PANGOX_LIBS$ac_delim
50886 PANGOFT2_CFLAGS!$PANGOFT2_CFLAGS$ac_delim
50887 PANGOFT2_LIBS!$PANGOFT2_LIBS$ac_delim
50888 PANGOXFT_CFLAGS!$PANGOXFT_CFLAGS$ac_delim
50889 PANGOXFT_LIBS!$PANGOXFT_LIBS$ac_delim
50890 CFLAGS_VISIBILITY!$CFLAGS_VISIBILITY$ac_delim
50891 CXXFLAGS_VISIBILITY!$CXXFLAGS_VISIBILITY$ac_delim
50892 LIBICONV!$LIBICONV$ac_delim
50893 SDL_CONFIG!$SDL_CONFIG$ac_delim
50894 SDL_CFLAGS!$SDL_CFLAGS$ac_delim
50895 SDL_LIBS!$SDL_LIBS$ac_delim
50896 GTKPRINT_CFLAGS!$GTKPRINT_CFLAGS$ac_delim
50897 GTKPRINT_LIBS!$GTKPRINT_LIBS$ac_delim
50898 LIBGNOMEPRINTUI_CFLAGS!$LIBGNOMEPRINTUI_CFLAGS$ac_delim
50899 LIBGNOMEPRINTUI_LIBS!$LIBGNOMEPRINTUI_LIBS$ac_delim
50900 GNOMEVFS_CFLAGS!$GNOMEVFS_CFLAGS$ac_delim
50901 GNOMEVFS_LIBS!$GNOMEVFS_LIBS$ac_delim
50902 HILDON_CFLAGS!$HILDON_CFLAGS$ac_delim
50903 HILDON_LIBS!$HILDON_LIBS$ac_delim
50904 CAIRO_CFLAGS!$CAIRO_CFLAGS$ac_delim
50907 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
50909 elif $ac_last_try; then
50910 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
50911 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
50912 { (exit 1); exit 1; }; }
50914 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
50918 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
50919 if test -n "$ac_eof"; then
50920 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
50921 ac_eof
=`expr $ac_eof + 1`
50924 cat >>$CONFIG_STATUS <<_ACEOF
50925 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
50926 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
50929 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
50930 s/^/s,@/; s/!/@,|#_!!_#|/
50933 s/'"$ac_delim"'$/,g/; t
50935 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
50936 ' >>$CONFIG_STATUS <conf$
$subs.
sed
50937 rm -f conf$
$subs.
sed
50938 cat >>$CONFIG_STATUS <<_ACEOF
50944 for ac_last_try
in false false false false false
:; do
50945 cat >conf$
$subs.
sed <<_ACEOF
50946 CAIRO_LIBS!$CAIRO_LIBS$ac_delim
50947 GST_CFLAGS!$GST_CFLAGS$ac_delim
50948 GST_LIBS!$GST_LIBS$ac_delim
50949 ALL_WX_LIBS!$ALL_WX_LIBS$ac_delim
50950 BUILT_WX_LIBS!$BUILT_WX_LIBS$ac_delim
50951 STD_BASE_LIBS!$STD_BASE_LIBS$ac_delim
50952 STD_GUI_LIBS!$STD_GUI_LIBS$ac_delim
50953 wxUSE_ZLIB!$wxUSE_ZLIB$ac_delim
50954 wxUSE_REGEX!$wxUSE_REGEX$ac_delim
50955 wxUSE_EXPAT!$wxUSE_EXPAT$ac_delim
50956 wxUSE_LIBJPEG!$wxUSE_LIBJPEG$ac_delim
50957 wxUSE_LIBPNG!$wxUSE_LIBPNG$ac_delim
50958 wxUSE_LIBTIFF!$wxUSE_LIBTIFF$ac_delim
50959 VENDOR!$VENDOR$ac_delim
50960 OFFICIAL_BUILD!$OFFICIAL_BUILD$ac_delim
50961 WX_FLAVOUR!$WX_FLAVOUR$ac_delim
50962 WX_LIB_FLAVOUR!$WX_LIB_FLAVOUR$ac_delim
50963 WXUNIV!$WXUNIV$ac_delim
50964 MONOLITHIC!$MONOLITHIC$ac_delim
50965 USE_PLUGINS!$USE_PLUGINS$ac_delim
50966 CXXWARNINGS!$CXXWARNINGS$ac_delim
50967 EXTRALIBS!$EXTRALIBS$ac_delim
50968 EXTRALIBS_XML!$EXTRALIBS_XML$ac_delim
50969 EXTRALIBS_HTML!$EXTRALIBS_HTML$ac_delim
50970 EXTRALIBS_MEDIA!$EXTRALIBS_MEDIA$ac_delim
50971 EXTRALIBS_GUI!$EXTRALIBS_GUI$ac_delim
50972 EXTRALIBS_OPENGL!$EXTRALIBS_OPENGL$ac_delim
50973 EXTRALIBS_SDL!$EXTRALIBS_SDL$ac_delim
50974 EXTRALIBS_STC!$EXTRALIBS_STC$ac_delim
50975 WITH_PLUGIN_SDL!$WITH_PLUGIN_SDL$ac_delim
50976 EXTRALIBS_GTKPRINT!$EXTRALIBS_GTKPRINT$ac_delim
50977 EXTRALIBS_GNOMEPRINT!$EXTRALIBS_GNOMEPRINT$ac_delim
50978 EXTRALIBS_GNOMEVFS!$EXTRALIBS_GNOMEVFS$ac_delim
50979 EXTRALIBS_HILDON!$EXTRALIBS_HILDON$ac_delim
50980 UNICODE!$UNICODE$ac_delim
50981 BUILD!$BUILD$ac_delim
50982 DEBUG_INFO!$DEBUG_INFO$ac_delim
50983 DEBUG_FLAG!$DEBUG_FLAG$ac_delim
50984 TOOLKIT_LOWERCASE!$TOOLKIT_LOWERCASE$ac_delim
50985 TOOLKIT_VERSION!$TOOLKIT_VERSION$ac_delim
50986 SAMPLES_RPATH_FLAG!$SAMPLES_RPATH_FLAG$ac_delim
50987 SAMPLES_RPATH_POSTLINK!$SAMPLES_RPATH_POSTLINK$ac_delim
50988 HOST_SUFFIX!$HOST_SUFFIX$ac_delim
50989 CPPUNIT_CFLAGS!$CPPUNIT_CFLAGS$ac_delim
50990 CPPUNIT_LIBS!$CPPUNIT_LIBS$ac_delim
50991 RANLIB!$RANLIB$ac_delim
50992 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
50993 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
50994 INSTALL_DATA!$INSTALL_DATA$ac_delim
50995 LN_S!$LN_S$ac_delim
50996 SET_MAKE!$SET_MAKE$ac_delim
50997 MAKE_SET!$MAKE_SET$ac_delim
50998 AROPTIONS!$AROPTIONS$ac_delim
50999 STRIP!$STRIP$ac_delim
51001 INSTALL_DIR!$INSTALL_DIR$ac_delim
51002 LDFLAGS_GUI!$LDFLAGS_GUI$ac_delim
51003 IF_GNU_MAKE!$IF_GNU_MAKE$ac_delim
51004 PLATFORM_UNIX!$PLATFORM_UNIX$ac_delim
51005 PLATFORM_WIN32!$PLATFORM_WIN32$ac_delim
51006 PLATFORM_MSDOS!$PLATFORM_MSDOS$ac_delim
51007 PLATFORM_MAC!$PLATFORM_MAC$ac_delim
51008 PLATFORM_MACOS!$PLATFORM_MACOS$ac_delim
51009 PLATFORM_MACOSX!$PLATFORM_MACOSX$ac_delim
51010 PLATFORM_OS2!$PLATFORM_OS2$ac_delim
51011 PLATFORM_BEOS!$PLATFORM_BEOS$ac_delim
51012 SO_SUFFIX!$SO_SUFFIX$ac_delim
51013 SO_SUFFIX_MODULE!$SO_SUFFIX_MODULE$ac_delim
51014 DLLIMP_SUFFIX!$DLLIMP_SUFFIX$ac_delim
51015 LIBPREFIX!$LIBPREFIX$ac_delim
51016 LIBEXT!$LIBEXT$ac_delim
51017 DLLPREFIX!$DLLPREFIX$ac_delim
51018 DLLPREFIX_MODULE!$DLLPREFIX_MODULE$ac_delim
51019 dlldir!$dlldir$ac_delim
51020 AIX_CXX_LD!$AIX_CXX_LD$ac_delim
51021 SHARED_LD_CC!$SHARED_LD_CC$ac_delim
51022 SHARED_LD_CXX!$SHARED_LD_CXX$ac_delim
51023 SHARED_LD_MODULE_CC!$SHARED_LD_MODULE_CC$ac_delim
51024 SHARED_LD_MODULE_CXX!$SHARED_LD_MODULE_CXX$ac_delim
51025 PIC_FLAG!$PIC_FLAG$ac_delim
51026 WINDOWS_IMPLIB!$WINDOWS_IMPLIB$ac_delim
51027 USE_SOVERSION!$USE_SOVERSION$ac_delim
51028 USE_SOVERLINUX!$USE_SOVERLINUX$ac_delim
51029 USE_SOVERSOLARIS!$USE_SOVERSOLARIS$ac_delim
51030 USE_SOVERCYGWIN!$USE_SOVERCYGWIN$ac_delim
51031 USE_MACVERSION!$USE_MACVERSION$ac_delim
51032 USE_SOSYMLINKS!$USE_SOSYMLINKS$ac_delim
51033 SONAME_FLAG!$SONAME_FLAG$ac_delim
51034 DEPS_TRACKING!$DEPS_TRACKING$ac_delim
51035 BK_DEPS!$BK_DEPS$ac_delim
51036 WINDRES!$WINDRES$ac_delim
51038 SETFILE!$SETFILE$ac_delim
51039 GCC_PCH!$GCC_PCH$ac_delim
51040 ICC_PCH!$ICC_PCH$ac_delim
51041 BK_MAKE_PCH!$BK_MAKE_PCH$ac_delim
51042 COND_BUILD_DEBUG!$COND_BUILD_DEBUG$ac_delim
51045 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
51047 elif $ac_last_try; then
51048 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
51049 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
51050 { (exit 1); exit 1; }; }
51052 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
51056 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
51057 if test -n "$ac_eof"; then
51058 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
51059 ac_eof
=`expr $ac_eof + 1`
51062 cat >>$CONFIG_STATUS <<_ACEOF
51063 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
51064 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
51067 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
51068 s/^/s,@/; s/!/@,|#_!!_#|/
51071 s/'"$ac_delim"'$/,g/; t
51073 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
51074 ' >>$CONFIG_STATUS <conf$
$subs.
sed
51075 rm -f conf$
$subs.
sed
51076 cat >>$CONFIG_STATUS <<_ACEOF
51082 for ac_last_try
in false false false false false
:; do
51083 cat >conf$
$subs.
sed <<_ACEOF
51084 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT!$COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT$ac_delim
51085 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT!$COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT$ac_delim
51086 COND_BUILD_DEBUG_UNICODE_0!$COND_BUILD_DEBUG_UNICODE_0$ac_delim
51087 COND_BUILD_DEBUG_UNICODE_1!$COND_BUILD_DEBUG_UNICODE_1$ac_delim
51088 COND_BUILD_RELEASE!$COND_BUILD_RELEASE$ac_delim
51089 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT!$COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT$ac_delim
51090 COND_BUILD_RELEASE_UNICODE_0!$COND_BUILD_RELEASE_UNICODE_0$ac_delim
51091 COND_BUILD_RELEASE_UNICODE_1!$COND_BUILD_RELEASE_UNICODE_1$ac_delim
51092 COND_DEBUG_FLAG_1!$COND_DEBUG_FLAG_1$ac_delim
51093 COND_DEBUG_INFO_0!$COND_DEBUG_INFO_0$ac_delim
51094 COND_DEBUG_INFO_1!$COND_DEBUG_INFO_1$ac_delim
51095 COND_DEPS_TRACKING_0!$COND_DEPS_TRACKING_0$ac_delim
51096 COND_DEPS_TRACKING_1!$COND_DEPS_TRACKING_1$ac_delim
51097 COND_GCC_PCH_1!$COND_GCC_PCH_1$ac_delim
51098 COND_ICC_PCH_1!$COND_ICC_PCH_1$ac_delim
51099 COND_MONOLITHIC_0!$COND_MONOLITHIC_0$ac_delim
51100 COND_MONOLITHIC_0_SHARED_0!$COND_MONOLITHIC_0_SHARED_0$ac_delim
51101 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1!$COND_MONOLITHIC_0_SHARED_0_USE_AUI_1$ac_delim
51102 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1$ac_delim
51103 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1$ac_delim
51104 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1$ac_delim
51105 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1$ac_delim
51106 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1!$COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1$ac_delim
51107 COND_MONOLITHIC_0_SHARED_0_USE_STC_1!$COND_MONOLITHIC_0_SHARED_0_USE_STC_1$ac_delim
51108 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1!$COND_MONOLITHIC_0_SHARED_0_USE_XRC_1$ac_delim
51109 COND_MONOLITHIC_0_SHARED_1!$COND_MONOLITHIC_0_SHARED_1$ac_delim
51110 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1!$COND_MONOLITHIC_0_SHARED_1_USE_AUI_1$ac_delim
51111 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1$ac_delim
51112 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1$ac_delim
51113 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1$ac_delim
51114 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1$ac_delim
51115 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1!$COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1$ac_delim
51116 COND_MONOLITHIC_0_SHARED_1_USE_STC_1!$COND_MONOLITHIC_0_SHARED_1_USE_STC_1$ac_delim
51117 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1!$COND_MONOLITHIC_0_SHARED_1_USE_XRC_1$ac_delim
51118 COND_MONOLITHIC_0_USE_AUI_1!$COND_MONOLITHIC_0_USE_AUI_1$ac_delim
51119 COND_MONOLITHIC_0_USE_GUI_1!$COND_MONOLITHIC_0_USE_GUI_1$ac_delim
51120 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1$ac_delim
51121 COND_MONOLITHIC_0_USE_HTML_1!$COND_MONOLITHIC_0_USE_HTML_1$ac_delim
51122 COND_MONOLITHIC_0_USE_MEDIA_1!$COND_MONOLITHIC_0_USE_MEDIA_1$ac_delim
51123 COND_MONOLITHIC_0_USE_QA_1!$COND_MONOLITHIC_0_USE_QA_1$ac_delim
51124 COND_MONOLITHIC_0_USE_RICHTEXT_1!$COND_MONOLITHIC_0_USE_RICHTEXT_1$ac_delim
51125 COND_MONOLITHIC_0_USE_STC_1!$COND_MONOLITHIC_0_USE_STC_1$ac_delim
51126 COND_MONOLITHIC_0_USE_XRC_1!$COND_MONOLITHIC_0_USE_XRC_1$ac_delim
51127 COND_MONOLITHIC_1!$COND_MONOLITHIC_1$ac_delim
51128 COND_MONOLITHIC_1_SHARED_0!$COND_MONOLITHIC_1_SHARED_0$ac_delim
51129 COND_MONOLITHIC_1_SHARED_1!$COND_MONOLITHIC_1_SHARED_1$ac_delim
51130 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1!$COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1$ac_delim
51131 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1!$COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1$ac_delim
51132 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1$ac_delim
51133 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_0_USE_SOVERSION_1$ac_delim
51134 COND_PLATFORM_MACOSX_1!$COND_PLATFORM_MACOSX_1$ac_delim
51135 COND_PLATFORM_MACOSX_1_TOOLKIT_!$COND_PLATFORM_MACOSX_1_TOOLKIT_$ac_delim
51136 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA!$COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA$ac_delim
51137 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK!$COND_PLATFORM_MACOSX_1_TOOLKIT_GTK$ac_delim
51138 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC!$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC$ac_delim
51139 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1!$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1$ac_delim
51140 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF!$COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF$ac_delim
51141 COND_PLATFORM_MACOSX_1_TOOLKIT_X11!$COND_PLATFORM_MACOSX_1_TOOLKIT_X11$ac_delim
51142 COND_PLATFORM_MACOSX_1_USE_GUI_1!$COND_PLATFORM_MACOSX_1_USE_GUI_1$ac_delim
51143 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_1_USE_SOVERSION_1$ac_delim
51144 COND_PLATFORM_MACOS_1!$COND_PLATFORM_MACOS_1$ac_delim
51145 COND_PLATFORM_MAC_0!$COND_PLATFORM_MAC_0$ac_delim
51146 COND_PLATFORM_MAC_1!$COND_PLATFORM_MAC_1$ac_delim
51147 COND_PLATFORM_MSDOS_0!$COND_PLATFORM_MSDOS_0$ac_delim
51148 COND_PLATFORM_MSDOS_1!$COND_PLATFORM_MSDOS_1$ac_delim
51149 COND_PLATFORM_OS2_1!$COND_PLATFORM_OS2_1$ac_delim
51150 COND_PLATFORM_UNIX_0!$COND_PLATFORM_UNIX_0$ac_delim
51151 COND_PLATFORM_UNIX_1!$COND_PLATFORM_UNIX_1$ac_delim
51152 COND_PLATFORM_UNIX_1_TOOLKIT_MGL!$COND_PLATFORM_UNIX_1_TOOLKIT_MGL$ac_delim
51153 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1!$COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1$ac_delim
51154 COND_PLATFORM_UNIX_1_USE_GUI_1!$COND_PLATFORM_UNIX_1_USE_GUI_1$ac_delim
51155 COND_PLATFORM_UNIX_1_USE_PLUGINS_0!$COND_PLATFORM_UNIX_1_USE_PLUGINS_0$ac_delim
51156 COND_PLATFORM_WIN32_0!$COND_PLATFORM_WIN32_0$ac_delim
51157 COND_PLATFORM_WIN32_1!$COND_PLATFORM_WIN32_1$ac_delim
51158 COND_SHARED_0!$COND_SHARED_0$ac_delim
51159 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0!$COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0$ac_delim
51160 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0!$COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0$ac_delim
51161 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0!$COND_SHARED_0_TOOLKIT_PM_WXUNIV_0$ac_delim
51162 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1!$COND_SHARED_0_USE_GUI_1_USE_OPENGL_1$ac_delim
51163 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN!$COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN$ac_delim
51164 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN!$COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN$ac_delim
51165 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN!$COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN$ac_delim
51166 COND_SHARED_0_USE_STC_1!$COND_SHARED_0_USE_STC_1$ac_delim
51167 COND_SHARED_0_WXUSE_EXPAT_BUILTIN!$COND_SHARED_0_WXUSE_EXPAT_BUILTIN$ac_delim
51168 COND_SHARED_0_WXUSE_REGEX_BUILTIN!$COND_SHARED_0_WXUSE_REGEX_BUILTIN$ac_delim
51169 COND_SHARED_0_WXUSE_ZLIB_BUILTIN!$COND_SHARED_0_WXUSE_ZLIB_BUILTIN$ac_delim
51170 COND_SHARED_1!$COND_SHARED_1$ac_delim
51171 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1!$COND_SHARED_1_USE_GUI_1_USE_OPENGL_1$ac_delim
51172 COND_TOOLKIT_!$COND_TOOLKIT_$ac_delim
51173 COND_TOOLKIT_COCOA!$COND_TOOLKIT_COCOA$ac_delim
51174 COND_TOOLKIT_COCOA_USE_GUI_1!$COND_TOOLKIT_COCOA_USE_GUI_1$ac_delim
51175 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0$ac_delim
51176 COND_TOOLKIT_DFB!$COND_TOOLKIT_DFB$ac_delim
51177 COND_TOOLKIT_DFB_USE_GUI_1!$COND_TOOLKIT_DFB_USE_GUI_1$ac_delim
51178 COND_TOOLKIT_GTK!$COND_TOOLKIT_GTK$ac_delim
51179 COND_TOOLKIT_GTK_TOOLKIT_VERSION_!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_$ac_delim
51180 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2$ac_delim
51183 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
51185 elif $ac_last_try; then
51186 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
51187 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
51188 { (exit 1); exit 1; }; }
51190 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
51194 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
51195 if test -n "$ac_eof"; then
51196 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
51197 ac_eof
=`expr $ac_eof + 1`
51200 cat >>$CONFIG_STATUS <<_ACEOF
51201 cat >"\$tmp/subs-3.sed" <<\CEOF$ac_eof
51202 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
51205 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
51206 s/^/s,@/; s/!/@,|#_!!_#|/
51209 s/'"$ac_delim"'$/,g/; t
51211 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
51212 ' >>$CONFIG_STATUS <conf$
$subs.
sed
51213 rm -f conf$
$subs.
sed
51214 cat >>$CONFIG_STATUS <<_ACEOF
51220 for ac_last_try
in false false false false false
:; do
51221 cat >conf$
$subs.
sed <<_ACEOF
51222 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1$ac_delim
51223 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0$ac_delim
51224 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_WXUNIV_0!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_WXUNIV_0$ac_delim
51225 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1!$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1$ac_delim
51226 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0$ac_delim
51227 COND_TOOLKIT_GTK_USE_GUI_1!$COND_TOOLKIT_GTK_USE_GUI_1$ac_delim
51228 COND_TOOLKIT_MAC!$COND_TOOLKIT_MAC$ac_delim
51229 COND_TOOLKIT_MAC_USE_GUI_1!$COND_TOOLKIT_MAC_USE_GUI_1$ac_delim
51230 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0$ac_delim
51231 COND_TOOLKIT_MGL!$COND_TOOLKIT_MGL$ac_delim
51232 COND_TOOLKIT_MGL_USE_GUI_1!$COND_TOOLKIT_MGL_USE_GUI_1$ac_delim
51233 COND_TOOLKIT_MOTIF!$COND_TOOLKIT_MOTIF$ac_delim
51234 COND_TOOLKIT_MOTIF_USE_GUI_1!$COND_TOOLKIT_MOTIF_USE_GUI_1$ac_delim
51235 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0$ac_delim
51236 COND_TOOLKIT_MSW!$COND_TOOLKIT_MSW$ac_delim
51237 COND_TOOLKIT_MSW_USE_GUI_1!$COND_TOOLKIT_MSW_USE_GUI_1$ac_delim
51238 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0$ac_delim
51239 COND_TOOLKIT_MSW_WXUNIV_0!$COND_TOOLKIT_MSW_WXUNIV_0$ac_delim
51240 COND_TOOLKIT_PM!$COND_TOOLKIT_PM$ac_delim
51241 COND_TOOLKIT_PM_USE_GUI_1!$COND_TOOLKIT_PM_USE_GUI_1$ac_delim
51242 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0$ac_delim
51243 COND_TOOLKIT_WINCE!$COND_TOOLKIT_WINCE$ac_delim
51244 COND_TOOLKIT_WINCE_USE_GUI_1!$COND_TOOLKIT_WINCE_USE_GUI_1$ac_delim
51245 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0$ac_delim
51246 COND_TOOLKIT_WINCE_WXUNIV_0!$COND_TOOLKIT_WINCE_WXUNIV_0$ac_delim
51247 COND_TOOLKIT_X11!$COND_TOOLKIT_X11$ac_delim
51248 COND_TOOLKIT_X11_USE_GUI_1!$COND_TOOLKIT_X11_USE_GUI_1$ac_delim
51249 COND_UNICODE_1!$COND_UNICODE_1$ac_delim
51250 COND_USE_EXCEPTIONS_0!$COND_USE_EXCEPTIONS_0$ac_delim
51251 COND_USE_EXCEPTIONS_1!$COND_USE_EXCEPTIONS_1$ac_delim
51252 COND_USE_GUI_0!$COND_USE_GUI_0$ac_delim
51253 COND_USE_GUI_1!$COND_USE_GUI_1$ac_delim
51254 COND_USE_GUI_1_USE_OPENGL_1!$COND_USE_GUI_1_USE_OPENGL_1$ac_delim
51255 COND_USE_GUI_1_WXUNIV_0!$COND_USE_GUI_1_WXUNIV_0$ac_delim
51256 COND_USE_GUI_1_WXUNIV_1!$COND_USE_GUI_1_WXUNIV_1$ac_delim
51257 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN$ac_delim
51258 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN$ac_delim
51259 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN$ac_delim
51260 COND_USE_OPENGL_1!$COND_USE_OPENGL_1$ac_delim
51261 COND_USE_PCH_1!$COND_USE_PCH_1$ac_delim
51262 COND_USE_PLUGINS_0!$COND_USE_PLUGINS_0$ac_delim
51263 COND_USE_RTTI_0!$COND_USE_RTTI_0$ac_delim
51264 COND_USE_RTTI_1!$COND_USE_RTTI_1$ac_delim
51265 COND_USE_SOSYMLINKS_1!$COND_USE_SOSYMLINKS_1$ac_delim
51266 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1!$COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1$ac_delim
51267 COND_USE_SOVERLINUX_1!$COND_USE_SOVERLINUX_1$ac_delim
51268 COND_USE_SOVERSION_0!$COND_USE_SOVERSION_0$ac_delim
51269 COND_USE_SOVERSOLARIS_1!$COND_USE_SOVERSOLARIS_1$ac_delim
51270 COND_USE_STC_1!$COND_USE_STC_1$ac_delim
51271 COND_USE_THREADS_0!$COND_USE_THREADS_0$ac_delim
51272 COND_USE_THREADS_1!$COND_USE_THREADS_1$ac_delim
51273 COND_USE_XRC_1!$COND_USE_XRC_1$ac_delim
51274 COND_WINDOWS_IMPLIB_1!$COND_WINDOWS_IMPLIB_1$ac_delim
51275 COND_WITH_PLUGIN_SDL_1!$COND_WITH_PLUGIN_SDL_1$ac_delim
51276 COND_WXUNIV_0!$COND_WXUNIV_0$ac_delim
51277 COND_WXUNIV_1!$COND_WXUNIV_1$ac_delim
51278 COND_WXUSE_EXPAT_BUILTIN!$COND_WXUSE_EXPAT_BUILTIN$ac_delim
51279 COND_WXUSE_LIBJPEG_BUILTIN!$COND_WXUSE_LIBJPEG_BUILTIN$ac_delim
51280 COND_WXUSE_LIBPNG_BUILTIN!$COND_WXUSE_LIBPNG_BUILTIN$ac_delim
51281 COND_WXUSE_LIBTIFF_BUILTIN!$COND_WXUSE_LIBTIFF_BUILTIN$ac_delim
51282 COND_WXUSE_REGEX_BUILTIN!$COND_WXUSE_REGEX_BUILTIN$ac_delim
51283 COND_WXUSE_ZLIB_BUILTIN!$COND_WXUSE_ZLIB_BUILTIN$ac_delim
51284 DEREZ!$DEREZ$ac_delim
51285 SHARED!$SHARED$ac_delim
51286 WX_LIBRARY_BASENAME_NOGUI!$WX_LIBRARY_BASENAME_NOGUI$ac_delim
51287 WX_LIBRARY_BASENAME_GUI!$WX_LIBRARY_BASENAME_GUI$ac_delim
51288 USE_GUI!$USE_GUI$ac_delim
51289 AFMINSTALL!$AFMINSTALL$ac_delim
51290 WIN32INSTALL!$WIN32INSTALL$ac_delim
51291 TOOLKIT!$TOOLKIT$ac_delim
51292 TOOLKIT_DIR!$TOOLKIT_DIR$ac_delim
51293 TOOLCHAIN_NAME!$TOOLCHAIN_NAME$ac_delim
51294 TOOLCHAIN_FULLNAME!$TOOLCHAIN_FULLNAME$ac_delim
51295 cross_compiling!$cross_compiling$ac_delim
51296 WIDGET_SET!$WIDGET_SET$ac_delim
51297 WX_RELEASE!$WX_RELEASE$ac_delim
51298 WX_VERSION!$WX_VERSION$ac_delim
51299 WX_SUBVERSION!$WX_SUBVERSION$ac_delim
51300 WX_CHARTYPE!$WX_CHARTYPE$ac_delim
51301 WX_DEBUGTYPE!$WX_DEBUGTYPE$ac_delim
51302 WXCONFIG_CPPFLAGS!$WXCONFIG_CPPFLAGS$ac_delim
51303 WXCONFIG_CFLAGS!$WXCONFIG_CFLAGS$ac_delim
51304 WXCONFIG_CXXFLAGS!$WXCONFIG_CXXFLAGS$ac_delim
51305 WXCONFIG_LIBS!$WXCONFIG_LIBS$ac_delim
51306 WXCONFIG_RPATH!$WXCONFIG_RPATH$ac_delim
51307 WXCONFIG_LDFLAGS_GUI!$WXCONFIG_LDFLAGS_GUI$ac_delim
51308 WXCONFIG_RESFLAGS!$WXCONFIG_RESFLAGS$ac_delim
51309 GUIDIST!$GUIDIST$ac_delim
51310 DISTDIR!$DISTDIR$ac_delim
51311 SAMPLES_SUBDIRS!$SAMPLES_SUBDIRS$ac_delim
51312 LDFLAGS_GL!$LDFLAGS_GL$ac_delim
51313 OPENGL_LIBS!$OPENGL_LIBS$ac_delim
51314 DMALLOC_LIBS!$DMALLOC_LIBS$ac_delim
51315 WX_VERSION_TAG!$WX_VERSION_TAG$ac_delim
51316 RESCOMP!$RESCOMP$ac_delim
51317 RESFLAGS!$RESFLAGS$ac_delim
51318 RESPROGRAMOBJ!$RESPROGRAMOBJ$ac_delim
51321 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
51323 elif $ac_last_try; then
51324 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
51325 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
51326 { (exit 1); exit 1; }; }
51328 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
51332 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
51333 if test -n "$ac_eof"; then
51334 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
51335 ac_eof
=`expr $ac_eof + 1`
51338 cat >>$CONFIG_STATUS <<_ACEOF
51339 cat >"\$tmp/subs-4.sed" <<\CEOF$ac_eof
51340 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
51343 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
51344 s/^/s,@/; s/!/@,|#_!!_#|/
51347 s/'"$ac_delim"'$/,g/; t
51349 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
51350 ' >>$CONFIG_STATUS <conf$
$subs.
sed
51351 rm -f conf$
$subs.
sed
51352 cat >>$CONFIG_STATUS <<_ACEOF
51358 for ac_last_try
in false false false false false
:; do
51359 cat >conf$
$subs.
sed <<_ACEOF
51360 WX_RESOURCES_MACOSX_ASCII!$WX_RESOURCES_MACOSX_ASCII$ac_delim
51361 WX_RESOURCES_MACOSX_DATA!$WX_RESOURCES_MACOSX_DATA$ac_delim
51362 LIBWXMACRES!$LIBWXMACRES$ac_delim
51363 POSTLINK_COMMAND!$POSTLINK_COMMAND$ac_delim
51364 MACSETFILE!$MACSETFILE$ac_delim
51366 DLLTOOL!$DLLTOOL$ac_delim
51367 CPPUNIT_CONFIG!$CPPUNIT_CONFIG$ac_delim
51368 LIBOBJS!$LIBOBJS$ac_delim
51369 LTLIBOBJS!$LTLIBOBJS$ac_delim
51372 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 10; then
51374 elif $ac_last_try; then
51375 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
51376 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
51377 { (exit 1); exit 1; }; }
51379 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
51383 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
51384 if test -n "$ac_eof"; then
51385 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
51386 ac_eof
=`expr $ac_eof + 1`
51389 cat >>$CONFIG_STATUS <<_ACEOF
51390 cat >"\$tmp/subs-5.sed" <<\CEOF$ac_eof
51391 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
51394 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
51395 s/^/s,@/; s/!/@,|#_!!_#|/
51398 s/'"$ac_delim"'$/,g/; t
51400 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
51401 ' >>$CONFIG_STATUS <conf$
$subs.
sed
51402 rm -f conf$
$subs.
sed
51403 cat >>$CONFIG_STATUS <<_ACEOF
51410 # VPATH may cause trouble with some makes, so we remove $(srcdir),
51411 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
51412 # trailing colons and then remove the whole line if VPATH becomes empty
51413 # (actually we leave an empty line to preserve line numbers).
51414 if test "x$srcdir" = x.
; then
51415 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
51416 s/:*\$(srcdir):*/:/
51417 s/:*\${srcdir}:*/:/
51419 s/^\([^=]*=[ ]*\):*/\1/
51425 cat >>$CONFIG_STATUS <<\_ACEOF
51426 fi # test -n "$CONFIG_FILES"
51429 for ac_tag
in :F
$CONFIG_FILES :H
$CONFIG_HEADERS :C
$CONFIG_COMMANDS
51432 :[FHLC
]) ac_mode
=$ac_tag; continue;;
51434 case $ac_mode$ac_tag in
51436 :L
* | :C
*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
51437 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
51438 { (exit 1); exit 1; }; };;
51439 :[FH
]-) ac_tag
=-:-;;
51440 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
51457 -) ac_f
="$tmp/stdin";;
51458 *) # Look for the file first in the build tree, then in the source tree
51459 # (if the path is not absolute). The absolute path cannot be DOS-style,
51460 # because $ac_f cannot contain `:'.
51464 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
51466 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
51467 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
51468 { (exit 1); exit 1; }; };;
51470 ac_file_inputs
="$ac_file_inputs $ac_f"
51473 # Let's still pretend it is `configure' which instantiates (i.e., don't
51474 # use $as_me), people would be surprised to read:
51475 # /* config.h. Generated by config.status. */
51476 configure_input
="Generated from "`IFS=:
51477 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
51478 if test x
"$ac_file" != x
-; then
51479 configure_input
="$ac_file. $configure_input"
51480 { echo "$as_me:$LINENO: creating $ac_file" >&5
51481 echo "$as_me: creating $ac_file" >&6;}
51485 *:-:* | *:-) cat >"$tmp/stdin";;
51490 ac_dir
=`$as_dirname -- "$ac_file" ||
51491 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
51492 X"$ac_file" : 'X\(//\)[^/]' \| \
51493 X"$ac_file" : 'X\(//\)$' \| \
51494 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
51496 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
51500 /^X\(\/\/\)[^/].*/{
51515 -*) as_dir
=.
/$as_dir;;
51517 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
51521 *\'*) as_qdir
=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
51522 *) as_qdir
=$as_dir;;
51524 as_dirs
="'$as_qdir' $as_dirs"
51525 as_dir
=`$as_dirname -- "$as_dir" ||
51526 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
51527 X"$as_dir" : 'X\(//\)[^/]' \| \
51528 X"$as_dir" : 'X\(//\)$' \| \
51529 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
51531 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
51535 /^X\(\/\/\)[^/].*/{
51548 test -d "$as_dir" && break
51550 test -z "$as_dirs" || eval "mkdir $as_dirs"
51551 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
51552 echo "$as_me: error: cannot create directory $as_dir" >&2;}
51553 { (exit 1); exit 1; }; }; }
51557 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
51559 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
51560 # A ".." for each directory in $ac_dir_suffix.
51561 ac_top_builddir_sub
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
51562 case $ac_top_builddir_sub in
51563 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
51564 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
51567 ac_abs_top_builddir
=$ac_pwd
51568 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
51569 # for backward compatibility:
51570 ac_top_builddir
=$ac_top_build_prefix
51573 .
) # We are building in place.
51575 ac_top_srcdir
=$ac_top_builddir_sub
51576 ac_abs_top_srcdir
=$ac_pwd ;;
51577 [\\/]* | ?
:[\\/]* ) # Absolute name.
51578 ac_srcdir
=$srcdir$ac_dir_suffix;
51579 ac_top_srcdir
=$srcdir
51580 ac_abs_top_srcdir
=$srcdir ;;
51581 *) # Relative name.
51582 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
51583 ac_top_srcdir
=$ac_top_build_prefix$srcdir
51584 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
51586 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
51596 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
51597 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
51601 cat >>$CONFIG_STATUS <<\_ACEOF
51602 # If the template does not know about datarootdir, expand it.
51603 # FIXME: This hack should be removed a few years after 2.60.
51604 ac_datarootdir_hack
=; ac_datarootdir_seen
=
51606 case `sed -n '/datarootdir/ {
51615 ' $ac_file_inputs` in
51616 *datarootdir
*) ac_datarootdir_seen
=yes;;
51617 *@datadir@
*|*@docdir@
*|*@infodir@
*|*@localedir@
*|*@mandir@
*)
51618 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
51619 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
51621 cat >>$CONFIG_STATUS <<_ACEOF
51622 ac_datarootdir_hack='
51623 s&@datadir@&$datadir&g
51624 s&@docdir@&$docdir&g
51625 s&@infodir@&$infodir&g
51626 s&@localedir@&$localedir&g
51627 s&@mandir@&$mandir&g
51628 s&\\\${datarootdir}&$datarootdir&g' ;;
51632 # Neutralize VPATH when `$srcdir' = `.'.
51633 # Shell code in configure.ac might set extrasub.
51634 # FIXME: do we really want to maintain this feature?
51635 cat >>$CONFIG_STATUS <<_ACEOF
51639 cat >>$CONFIG_STATUS <<\_ACEOF
51641 /@
[a
-zA-Z_][a
-zA-Z_0-9]*@
/!b
51642 s
&@configure_input@
&$configure_input&;t t
51643 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
51644 s
&@srcdir@
&$ac_srcdir&;t t
51645 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
51646 s
&@top_srcdir@
&$ac_top_srcdir&;t t
51647 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
51648 s
&@builddir@
&$ac_builddir&;t t
51649 s
&@abs_builddir@
&$ac_abs_builddir&;t t
51650 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
51651 s
&@INSTALL@
&$ac_INSTALL&;t t
51652 $ac_datarootdir_hack
51653 " $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
51655 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
51656 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
51657 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
51658 { echo "$as_me:$LINENO: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
51659 which seems to be undefined. Please make sure it is defined." >&5
51660 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
51661 which seems to be undefined. Please make sure it is defined." >&2;}
51665 -) cat "$tmp/out"; rm -f "$tmp/out";;
51666 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
51675 # Transform confdefs.h into a sed script `conftest.defines', that
51676 # substitutes the proper values into config.h.in to produce config.h.
51677 rm -f conftest.defines conftest.
tail
51678 # First, append a space to every undef/define line, to ease matching.
51679 echo 's/$/ /' >conftest.defines
51680 # Then, protect against being on the right side of a sed subst, or in
51681 # an unquoted here document, in config.status. If some macros were
51682 # called several times there might be several #defines for the same
51683 # symbol, which is useless. But do not sort them, since the last
51684 # AC_DEFINE must be honored.
51685 ac_word_re
=[_
$as_cr_Letters][_
$as_cr_alnum]*
51686 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
51687 # NAME is the cpp macro being defined, VALUE is the value it is being given.
51688 # PARAMS is the parameter list in the macro definition--in most cases, it's
51689 # just an empty string.
51690 ac_dA
='s,^\\([ #]*\\)[^ ]*\\([ ]*'
51691 ac_dB
='\\)[ (].*,\\1define\\2'
51699 s/^[ ]*#[ ]*define[ ][ ]*//
51704 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
51705 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
51706 ' >>conftest.defines
51708 # Remove the space that was appended to ease matching.
51709 # Then replace #undef with comments. This is necessary, for
51710 # example, in the case of _POSIX_SOURCE, which is predefined and required
51711 # on some systems where configure will not decide to define it.
51712 # (The regexp can be short, since the line contains either #define or #undef.)
51714 s,^[ #]*u.*,/* & */,' >>conftest.defines
51716 # Break up conftest.defines:
51717 ac_max_sed_lines
=50
51719 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
51720 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
51721 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
51723 ac_in
='$ac_file_inputs'
51724 ac_out
='"$tmp/out1"'
51725 ac_nxt
='"$tmp/out2"'
51729 # Write a here document:
51730 cat >>$CONFIG_STATUS <<_ACEOF
51731 # First, check the format of the line:
51732 cat >"\$tmp/defines.sed" <<\\CEOF
51733 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
51734 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
51738 sed ${ac_max_sed_lines}q conftest.defines
>>$CONFIG_STATUS
51740 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
51741 ac_in
=$ac_out; ac_out
=$ac_nxt; ac_nxt
=$ac_in
51742 sed 1,${ac_max_sed_lines}d conftest.defines
>conftest.
tail
51743 grep . conftest.
tail >/dev
/null
|| break
51744 rm -f conftest.defines
51745 mv conftest.
tail conftest.defines
51747 rm -f conftest.defines conftest.
tail
51749 echo "ac_result=$ac_in" >>$CONFIG_STATUS
51750 cat >>$CONFIG_STATUS <<\_ACEOF
51751 if test x
"$ac_file" != x
-; then
51752 echo "/* $configure_input */" >"$tmp/config.h"
51753 cat "$ac_result" >>"$tmp/config.h"
51754 if diff $ac_file "$tmp/config.h" >/dev
/null
2>&1; then
51755 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
51756 echo "$as_me: $ac_file is unchanged" >&6;}
51759 mv "$tmp/config.h" $ac_file
51762 echo "/* $configure_input */"
51768 :C
) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
51769 echo "$as_me: executing $ac_file commands" >&6;}
51774 case $ac_file$ac_mode in
51776 mkdir -p $outdir &&
51777 $CPP $infile | sed 's/^# *[1-9].*//;s/^ *//;/./,/^$/!d' > $outdir/rcdefs.h
51779 "lib/wx/config/${TOOLCHAIN_FULLNAME}":F
) chmod +x lib
/wx
/config
/${TOOLCHAIN_FULLNAME} ;;
51780 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}":F
) chmod +x lib
/wx
/config
/inplace
-${TOOLCHAIN_FULLNAME} ;;
51781 "wx-config":C
) rm -f wx
-config
51782 ${LN_S} lib
/wx
/config
/inplace
-${TOOLCHAIN_FULLNAME} wx
-config
51789 { (exit 0); exit 0; }
51791 chmod +x
$CONFIG_STATUS
51792 ac_clean_files
=$ac_clean_files_save
51795 # configure is writing to config.log, and then calls config.status.
51796 # config.status does its own redirection, appending to config.log.
51797 # Unfortunately, on DOS this fails, as config.log is still kept open
51798 # by configure, so config.status won't be able to write to it; its
51799 # output is simply discarded. So we exec the FD to /dev/null,
51800 # effectively closing config.log, so it can be properly (re)opened and
51801 # appended to by config.status. When coming back to configure, we
51802 # need to make the FD available again.
51803 if test "$no_create" != yes; then
51805 ac_config_status_args
=
51806 test "$silent" = yes &&
51807 ac_config_status_args
="$ac_config_status_args --quiet"
51809 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
51811 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
51812 # would make configure fail if this is the last instruction.
51813 $ac_cs_success || { (exit 1); exit 1; }
51817 # CONFIG_SUBDIRS section.
51819 if test "$no_recursion" != yes; then
51821 # Remove --cache-file and --srcdir arguments so they do not pile up.
51822 ac_sub_configure_args
=
51824 eval "set x $ac_configure_args"
51828 if test -n "$ac_prev"; then
51833 -cache-file | --cache-file | --cache-fil | --cache-fi \
51834 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
51835 ac_prev
=cache_file
;;
51836 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
51837 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
51840 --config-cache | -C)
51842 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
51844 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
51846 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
51848 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
51852 *\'*) ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
51854 ac_sub_configure_args
="$ac_sub_configure_args '$ac_arg'" ;;
51858 # Always prepend --prefix to ensure using the same prefix
51859 # in subdir configurations.
51860 ac_arg
="--prefix=$prefix"
51862 *\'*) ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
51864 ac_sub_configure_args
="'$ac_arg' $ac_sub_configure_args"
51867 if test "$silent" = yes; then
51868 ac_sub_configure_args
="--silent $ac_sub_configure_args"
51872 for ac_dir
in : $subdirs; do test "x$ac_dir" = x
: && continue
51874 # Do not complain, so a configure script can configure whichever
51875 # parts of a large source tree are present.
51876 test -d "$srcdir/$ac_dir" || continue
51878 ac_msg
="=== configuring in $ac_dir (`pwd`/$ac_dir)"
51879 echo "$as_me:$LINENO: $ac_msg" >&5
51883 -*) as_dir
=.
/$as_dir;;
51885 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
51889 *\'*) as_qdir
=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
51890 *) as_qdir
=$as_dir;;
51892 as_dirs
="'$as_qdir' $as_dirs"
51893 as_dir
=`$as_dirname -- "$as_dir" ||
51894 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
51895 X"$as_dir" : 'X\(//\)[^/]' \| \
51896 X"$as_dir" : 'X\(//\)$' \| \
51897 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
51899 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
51903 /^X\(\/\/\)[^/].*/{
51916 test -d "$as_dir" && break
51918 test -z "$as_dirs" || eval "mkdir $as_dirs"
51919 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
51920 echo "$as_me: error: cannot create directory $as_dir" >&2;}
51921 { (exit 1); exit 1; }; }; }
51925 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
51927 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
51928 # A ".." for each directory in $ac_dir_suffix.
51929 ac_top_builddir_sub
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
51930 case $ac_top_builddir_sub in
51931 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
51932 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
51935 ac_abs_top_builddir
=$ac_pwd
51936 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
51937 # for backward compatibility:
51938 ac_top_builddir
=$ac_top_build_prefix
51941 .
) # We are building in place.
51943 ac_top_srcdir
=$ac_top_builddir_sub
51944 ac_abs_top_srcdir
=$ac_pwd ;;
51945 [\\/]* | ?
:[\\/]* ) # Absolute name.
51946 ac_srcdir
=$srcdir$ac_dir_suffix;
51947 ac_top_srcdir
=$srcdir
51948 ac_abs_top_srcdir
=$srcdir ;;
51949 *) # Relative name.
51950 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
51951 ac_top_srcdir
=$ac_top_build_prefix$srcdir
51952 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
51954 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
51959 # Check for guested configure; otherwise get Cygnus style configure.
51960 if test -f "$ac_srcdir/configure.gnu"; then
51961 ac_sub_configure
=$ac_srcdir/configure.gnu
51962 elif test -f "$ac_srcdir/configure"; then
51963 ac_sub_configure
=$ac_srcdir/configure
51964 elif test -f "$ac_srcdir/configure.in"; then
51965 # This should be Cygnus configure.
51966 ac_sub_configure
=$ac_aux_dir/configure
51968 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
51969 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
51973 # The recursion is here.
51974 if test -n "$ac_sub_configure"; then
51975 # Make the cache file name correct relative to the subdirectory.
51976 case $cache_file in
51977 [\\/]* | ?
:[\\/]* ) ac_sub_cache_file
=$cache_file ;;
51978 *) # Relative name.
51979 ac_sub_cache_file
=$ac_top_build_prefix$cache_file ;;
51982 { echo "$as_me:$LINENO: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
51983 echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
51984 # The eval makes quoting arguments work.
51985 eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
51986 --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
51987 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
51988 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
51989 { (exit 1); exit 1; }; }
51998 echo "Configured wxWidgets ${WX_VERSION} for \`${host}'"
52000 echo " Which GUI toolkit should wxWidgets use? ${TOOLKIT_DESC}"
52001 echo " Should wxWidgets be compiled into single library? ${wxUSE_MONOLITHIC:-yes}"
52003 echo " Should wxWidgets be compiled in debug mode? ${wxUSE_DEBUG:-no}"
52004 echo " Should wxWidgets be linked as a shared library? ${wxUSE_SHARED:-no}"
52005 echo $ECHO_N " Should wxWidgets support Unicode? ${wxUSE_UNICODE:-no}$ECHO_C"
52006 if test "$wxUSE_UNICODE" = "yes"; then
52007 if test "$wxUSE_UNICODE_UTF8" = "yes"; then
52008 echo " (using UTF-8)"
52010 echo " (using wchar_t)"
52016 echo " What level of wxWidgets compatibility should be enabled?"
52017 echo " wxWidgets 2.6 ${WXWIN_COMPATIBILITY_2_6:-no}"
52018 echo " wxWidgets 2.8 ${WXWIN_COMPATIBILITY_2_8:-yes}"
52020 echo " Which libraries should wxWidgets use?"
52021 echo " STL ${wxUSE_STL}"
52022 echo " jpeg ${wxUSE_LIBJPEG-none}"
52023 echo " png ${wxUSE_LIBPNG-none}"
52024 echo " regex ${wxUSE_REGEX}"
52025 echo " tiff ${wxUSE_LIBTIFF-none}"
52026 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
52027 echo " xpm ${wxUSE_LIBXPM-none}"
52029 echo " zlib ${wxUSE_ZLIB}"
52030 echo " expat ${wxUSE_EXPAT}"
52031 echo " libmspack ${wxUSE_LIBMSPACK}"
52032 echo " sdl ${wxUSE_LIBSDL}"