2 # From configure.in Id: configure.in 54171 2008-06-12 18:51:50Z 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_PLATFORM_MSDOS_0
865 COND_PLATFORM_MACOSX_1_TOOLKIT_
866 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA
867 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK
868 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC
869 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1
870 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF
871 COND_PLATFORM_MACOSX_1_TOOLKIT_X11
872 COND_PLATFORM_MACOSX_1_USE_GUI_1
873 COND_PLATFORM_MACOSX_1_USE_OPENGL_1
874 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
875 COND_PLATFORM_MACOS_1
878 COND_PLATFORM_MSDOS_0
879 COND_PLATFORM_MSDOS_1
883 COND_PLATFORM_UNIX_1_TOOLKIT_MGL
884 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1
885 COND_PLATFORM_UNIX_1_USE_GUI_1
886 COND_PLATFORM_UNIX_1_USE_PLUGINS_0
887 COND_PLATFORM_WIN32_0
888 COND_PLATFORM_WIN32_1
890 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0
891 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0
892 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0
893 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
894 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
895 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
896 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
897 COND_SHARED_0_USE_STC_1
898 COND_SHARED_0_WXUSE_EXPAT_BUILTIN
899 COND_SHARED_0_WXUSE_REGEX_BUILTIN
900 COND_SHARED_0_WXUSE_ZLIB_BUILTIN
902 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
905 COND_TOOLKIT_COCOA_USE_GUI_1
906 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
908 COND_TOOLKIT_DFB_USE_GUI_1
910 COND_TOOLKIT_GTK_TOOLKIT_VERSION_
911 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2
912 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1
913 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0
914 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_WXUNIV_0
915 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1
916 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0
917 COND_TOOLKIT_GTK_USE_GUI_1
919 COND_TOOLKIT_MAC_USE_GUI_1
920 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0
922 COND_TOOLKIT_MGL_USE_GUI_1
924 COND_TOOLKIT_MOTIF_USE_GUI_1
925 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
927 COND_TOOLKIT_MSW_USE_GUI_1
928 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
929 COND_TOOLKIT_MSW_WXUNIV_0
931 COND_TOOLKIT_PM_USE_GUI_1
932 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
934 COND_TOOLKIT_WINCE_USE_GUI_1
935 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0
936 COND_TOOLKIT_WINCE_WXUNIV_0
938 COND_TOOLKIT_X11_USE_GUI_1
940 COND_USE_EXCEPTIONS_0
941 COND_USE_EXCEPTIONS_1
944 COND_USE_GUI_1_USE_OPENGL_1
945 COND_USE_GUI_1_WXUNIV_0
946 COND_USE_GUI_1_WXUNIV_1
947 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
948 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
949 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
955 COND_USE_SOSYMLINKS_1
956 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1
957 COND_USE_SOVERLINUX_1
959 COND_USE_SOVERSOLARIS_1
964 COND_WINDOWS_IMPLIB_1
965 COND_WITH_PLUGIN_SDL_1
968 COND_WXUSE_EXPAT_BUILTIN
969 COND_WXUSE_LIBJPEG_BUILTIN
970 COND_WXUSE_LIBPNG_BUILTIN
971 COND_WXUSE_LIBTIFF_BUILTIN
972 COND_WXUSE_REGEX_BUILTIN
973 COND_WXUSE_ZLIB_BUILTIN
976 WX_LIBRARY_BASENAME_NOGUI
977 WX_LIBRARY_BASENAME_GUI
1009 WX_RESOURCES_MACOSX_ASCII
1010 WX_RESOURCES_MACOSX_DATA
1020 ac_precious_vars
='build_alias
1044 LIBGNOMEPRINTUI_CFLAGS
1045 LIBGNOMEPRINTUI_LIBS
1054 ac_subdirs_all
='src/tiff
1057 # Initialize some variables set by options.
1059 ac_init_version
=false
1060 # The variables have the same names as the options, with
1061 # dashes changed to underlines.
1062 cache_file
=/dev
/null
1069 program_transform_name
=s
,x
,x
,
1077 # Installation directory options.
1078 # These are left unexpanded so users can "make install exec_prefix=/foo"
1079 # and all the variables that are supposed to be based on exec_prefix
1080 # by default will actually change.
1081 # Use braces instead of parens because sh, perl, etc. also accept them.
1082 # (The list follows the same order as the GNU Coding Standards.)
1083 bindir
='${exec_prefix}/bin'
1084 sbindir
='${exec_prefix}/sbin'
1085 libexecdir
='${exec_prefix}/libexec'
1086 datarootdir
='${prefix}/share'
1087 datadir
='${datarootdir}'
1088 sysconfdir
='${prefix}/etc'
1089 sharedstatedir
='${prefix}/com'
1090 localstatedir
='${prefix}/var'
1091 includedir
='${prefix}/include'
1092 oldincludedir
='/usr/include'
1093 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
1094 infodir
='${datarootdir}/info'
1099 libdir
='${exec_prefix}/lib'
1100 localedir
='${datarootdir}/locale'
1101 mandir
='${datarootdir}/man'
1107 # If the previous option needs an argument, assign it.
1108 if test -n "$ac_prev"; then
1109 eval $ac_prev=\
$ac_option
1115 *=*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1119 # Accept the important Cygnus configure options, so we can diagnose typos.
1121 case $ac_dashdash$ac_option in
1125 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1127 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1128 bindir
=$ac_optarg ;;
1130 -build | --build | --buil | --bui | --bu)
1131 ac_prev
=build_alias
;;
1132 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1133 build_alias
=$ac_optarg ;;
1135 -cache-file | --cache-file | --cache-fil | --cache-fi \
1136 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1137 ac_prev
=cache_file
;;
1138 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1139 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1140 cache_file
=$ac_optarg ;;
1142 --config-cache | -C)
1143 cache_file
=config.cache
;;
1145 -datadir | --datadir | --datadi | --datad)
1147 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1148 datadir
=$ac_optarg ;;
1150 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1151 | --dataroo | --dataro | --datar)
1152 ac_prev
=datarootdir
;;
1153 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1154 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1155 datarootdir
=$ac_optarg ;;
1157 -disable-* | --disable-*)
1158 ac_feature
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1159 # Reject names that are not valid shell variable names.
1160 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1161 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1162 { (exit 1); exit 1; }; }
1163 ac_feature
=`echo $ac_feature | sed 's/[-.]/_/g'`
1164 eval enable_
$ac_feature=no
;;
1166 -docdir | --docdir | --docdi | --doc | --do)
1168 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1169 docdir
=$ac_optarg ;;
1171 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1173 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1174 dvidir
=$ac_optarg ;;
1176 -enable-* | --enable-*)
1177 ac_feature
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1178 # Reject names that are not valid shell variable names.
1179 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1180 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1181 { (exit 1); exit 1; }; }
1182 ac_feature
=`echo $ac_feature | sed 's/[-.]/_/g'`
1183 eval enable_
$ac_feature=\
$ac_optarg ;;
1185 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1186 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1187 | --exec | --exe | --ex)
1188 ac_prev
=exec_prefix
;;
1189 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1190 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1191 | --exec=* | --exe=* | --ex=*)
1192 exec_prefix
=$ac_optarg ;;
1194 -gas | --gas | --ga | --g)
1195 # Obsolete; use --with-gas.
1198 -help | --help | --hel | --he | -h)
1199 ac_init_help
=long
;;
1200 -help=r
* | --help=r
* | --hel=r
* | --he=r
* | -hr*)
1201 ac_init_help
=recursive
;;
1202 -help=s
* | --help=s
* | --hel=s
* | --he=s
* | -hs*)
1203 ac_init_help
=short
;;
1205 -host | --host | --hos | --ho)
1206 ac_prev
=host_alias
;;
1207 -host=* | --host=* | --hos=* | --ho=*)
1208 host_alias
=$ac_optarg ;;
1210 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1212 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1214 htmldir
=$ac_optarg ;;
1216 -includedir | --includedir | --includedi | --included | --include \
1217 | --includ | --inclu | --incl | --inc)
1218 ac_prev
=includedir
;;
1219 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1220 | --includ=* | --inclu=* | --incl=* | --inc=*)
1221 includedir
=$ac_optarg ;;
1223 -infodir | --infodir | --infodi | --infod | --info | --inf)
1225 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1226 infodir
=$ac_optarg ;;
1228 -libdir | --libdir | --libdi | --libd)
1230 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1231 libdir
=$ac_optarg ;;
1233 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1234 | --libexe | --libex | --libe)
1235 ac_prev
=libexecdir
;;
1236 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1237 | --libexe=* | --libex=* | --libe=*)
1238 libexecdir
=$ac_optarg ;;
1240 -localedir | --localedir | --localedi | --localed | --locale)
1241 ac_prev
=localedir
;;
1242 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1243 localedir
=$ac_optarg ;;
1245 -localstatedir | --localstatedir | --localstatedi | --localstated \
1246 | --localstate | --localstat | --localsta | --localst | --locals)
1247 ac_prev
=localstatedir
;;
1248 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1249 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1250 localstatedir
=$ac_optarg ;;
1252 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1254 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1255 mandir
=$ac_optarg ;;
1257 -nfp | --nfp | --nf)
1258 # Obsolete; use --without-fp.
1261 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1262 | --no-cr | --no-c | -n)
1265 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1266 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1269 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1270 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1271 | --oldin | --oldi | --old | --ol | --o)
1272 ac_prev
=oldincludedir
;;
1273 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1274 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1275 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1276 oldincludedir
=$ac_optarg ;;
1278 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1280 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1281 prefix
=$ac_optarg ;;
1283 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1284 | --program-pre | --program-pr | --program-p)
1285 ac_prev
=program_prefix
;;
1286 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1287 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1288 program_prefix
=$ac_optarg ;;
1290 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1291 | --program-suf | --program-su | --program-s)
1292 ac_prev
=program_suffix
;;
1293 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1294 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1295 program_suffix
=$ac_optarg ;;
1297 -program-transform-name | --program-transform-name \
1298 | --program-transform-nam | --program-transform-na \
1299 | --program-transform-n | --program-transform- \
1300 | --program-transform | --program-transfor \
1301 | --program-transfo | --program-transf \
1302 | --program-trans | --program-tran \
1303 | --progr-tra | --program-tr | --program-t)
1304 ac_prev
=program_transform_name
;;
1305 -program-transform-name=* | --program-transform-name=* \
1306 | --program-transform-nam=* | --program-transform-na=* \
1307 | --program-transform-n=* | --program-transform-=* \
1308 | --program-transform=* | --program-transfor=* \
1309 | --program-transfo=* | --program-transf=* \
1310 | --program-trans=* | --program-tran=* \
1311 | --progr-tra=* | --program-tr=* | --program-t=*)
1312 program_transform_name
=$ac_optarg ;;
1314 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1316 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1317 pdfdir
=$ac_optarg ;;
1319 -psdir | --psdir | --psdi | --psd | --ps)
1321 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1324 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1325 | -silent | --silent | --silen | --sile | --sil)
1328 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1330 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1332 sbindir
=$ac_optarg ;;
1334 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1335 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1336 | --sharedst | --shareds | --shared | --share | --shar \
1338 ac_prev
=sharedstatedir
;;
1339 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1340 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1341 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1343 sharedstatedir
=$ac_optarg ;;
1345 -site | --site | --sit)
1347 -site=* | --site=* | --sit=*)
1350 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1352 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1353 srcdir
=$ac_optarg ;;
1355 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1356 | --syscon | --sysco | --sysc | --sys | --sy)
1357 ac_prev
=sysconfdir
;;
1358 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1359 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1360 sysconfdir
=$ac_optarg ;;
1362 -target | --target | --targe | --targ | --tar | --ta | --t)
1363 ac_prev
=target_alias
;;
1364 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1365 target_alias
=$ac_optarg ;;
1367 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1370 -version | --version | --versio | --versi | --vers | -V)
1371 ac_init_version
=: ;;
1374 ac_package
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1375 # Reject names that are not valid shell variable names.
1376 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1377 { echo "$as_me: error: invalid package name: $ac_package" >&2
1378 { (exit 1); exit 1; }; }
1379 ac_package
=`echo $ac_package | sed 's/[-.]/_/g'`
1380 eval with_
$ac_package=\
$ac_optarg ;;
1382 -without-* | --without-*)
1383 ac_package
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1384 # Reject names that are not valid shell variable names.
1385 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1386 { echo "$as_me: error: invalid package name: $ac_package" >&2
1387 { (exit 1); exit 1; }; }
1388 ac_package
=`echo $ac_package | sed 's/[-.]/_/g'`
1389 eval with_
$ac_package=no
;;
1392 # Obsolete; use --with-x.
1395 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1396 | --x-incl | --x-inc | --x-in | --x-i)
1397 ac_prev
=x_includes
;;
1398 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1399 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1400 x_includes
=$ac_optarg ;;
1402 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1403 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1404 ac_prev
=x_libraries
;;
1405 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1406 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1407 x_libraries
=$ac_optarg ;;
1409 -*) { echo "$as_me: error: unrecognized option: $ac_option
1410 Try \`$0 --help' for more information." >&2
1411 { (exit 1); exit 1; }; }
1415 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1416 # Reject names that are not valid shell variable names.
1417 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
1418 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1419 { (exit 1); exit 1; }; }
1420 eval $ac_envvar=\
$ac_optarg
1421 export $ac_envvar ;;
1424 # FIXME: should be removed in autoconf 3.0.
1425 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1426 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1427 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1428 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1434 if test -n "$ac_prev"; then
1435 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1436 { echo "$as_me: error: missing argument to $ac_option" >&2
1437 { (exit 1); exit 1; }; }
1440 # Be sure to have absolute directory names.
1441 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1442 datadir sysconfdir sharedstatedir localstatedir includedir \
1443 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1444 libdir localedir mandir
1446 eval ac_val
=\$
$ac_var
1448 [\\/$
]* | ?
:[\\/]* ) continue;;
1449 NONE
| '' ) case $ac_var in *prefix
) continue;; esac;;
1451 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1452 { (exit 1); exit 1; }; }
1455 # There might be people who depend on the old broken behavior: `$host'
1456 # used to hold the argument of --host etc.
1457 # FIXME: To remove some day.
1460 target
=$target_alias
1462 # FIXME: To remove some day.
1463 if test "x$host_alias" != x
; then
1464 if test "x$build_alias" = x
; then
1465 cross_compiling
=maybe
1466 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1467 If a cross compiler is detected then cross compile mode will be used." >&2
1468 elif test "x$build_alias" != "x$host_alias"; then
1474 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1476 test "$silent" = yes && exec 6>/dev
/null
1479 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1480 ac_ls_di
=`ls -di .` &&
1481 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1482 { echo "$as_me: error: Working directory cannot be determined" >&2
1483 { (exit 1); exit 1; }; }
1484 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1485 { echo "$as_me: error: pwd does not report name of working directory" >&2
1486 { (exit 1); exit 1; }; }
1489 # Find the source files, if location was not specified.
1490 if test -z "$srcdir"; then
1491 ac_srcdir_defaulted
=yes
1492 # Try the directory containing this script, then the parent directory.
1493 ac_confdir
=`$as_dirname -- "$0" ||
1494 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1495 X"$0" : 'X\(//\)[^/]' \| \
1496 X"$0" : 'X\(//\)$' \| \
1497 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1499 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1517 if test ! -r "$srcdir/$ac_unique_file"; then
1521 ac_srcdir_defaulted
=no
1523 if test ! -r "$srcdir/$ac_unique_file"; then
1524 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1525 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1526 { (exit 1); exit 1; }; }
1528 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1530 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1531 { (exit 1); exit 1; }; }
1533 # When building in place, set srcdir=.
1534 if test "$ac_abs_confdir" = "$ac_pwd"; then
1537 # Remove unnecessary trailing slashes from srcdir.
1538 # Double slashes in file names in object file debugging info
1539 # mess up M-x gdb in Emacs.
1541 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1543 for ac_var
in $ac_precious_vars; do
1544 eval ac_env_
${ac_var}_set
=\
${${ac_var}+set}
1545 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1546 eval ac_cv_env_
${ac_var}_set
=\
${${ac_var}+set}
1547 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1551 # Report the --help message.
1553 if test "$ac_init_help" = "long"; then
1554 # Omit some internal or obsolete options to make the list less imposing.
1555 # This message is too long to be a string in the A/UX 3.1 sh.
1557 \`configure' configures wxWidgets 2.9.0 to adapt to many kinds of systems.
1559 Usage: $0 [OPTION]... [VAR=VALUE]...
1561 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1562 VAR=VALUE. See below for descriptions of some of the useful variables.
1564 Defaults for the options are specified in brackets.
1567 -h, --help display this help and exit
1568 --help=short display options specific to this package
1569 --help=recursive display the short help of all the included packages
1570 -V, --version display version information and exit
1571 -q, --quiet, --silent do not print \`checking...' messages
1572 --cache-file=FILE cache test results in FILE [disabled]
1573 -C, --config-cache alias for \`--cache-file=config.cache'
1574 -n, --no-create do not create output files
1575 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1577 Installation directories:
1578 --prefix=PREFIX install architecture-independent files in PREFIX
1579 [$ac_default_prefix]
1580 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1583 By default, \`make install' will install all the files in
1584 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1585 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1586 for instance \`--prefix=\$HOME'.
1588 For better control, use the options below.
1590 Fine tuning of the installation directories:
1591 --bindir=DIR user executables [EPREFIX/bin]
1592 --sbindir=DIR system admin executables [EPREFIX/sbin]
1593 --libexecdir=DIR program executables [EPREFIX/libexec]
1594 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1595 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1596 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1597 --libdir=DIR object code libraries [EPREFIX/lib]
1598 --includedir=DIR C header files [PREFIX/include]
1599 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1600 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1601 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1602 --infodir=DIR info documentation [DATAROOTDIR/info]
1603 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1604 --mandir=DIR man documentation [DATAROOTDIR/man]
1605 --docdir=DIR documentation root [DATAROOTDIR/doc/wxwidgets]
1606 --htmldir=DIR html documentation [DOCDIR]
1607 --dvidir=DIR dvi documentation [DOCDIR]
1608 --pdfdir=DIR pdf documentation [DOCDIR]
1609 --psdir=DIR ps documentation [DOCDIR]
1615 --x-includes=DIR X include files are
in DIR
1616 --x-libraries=DIR X library files are
in DIR
1619 --build=BUILD configure
for building on BUILD
[guessed
]
1620 --host=HOST cross
-compile to build programs to run on HOST
[BUILD
]
1621 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
1625 if test -n "$ac_init_help"; then
1626 case $ac_init_help in
1627 short
| recursive
) echo "Configuration of wxWidgets 2.9.0:";;
1632 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1633 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1634 --disable-gui don
't build GUI parts of the library
1635 --enable-monolithic build wxWidgets as single library
1636 --enable-plugins build parts of wxWidgets as loadable components
1637 --enable-official_build official build of wxWidgets (win32 DLL only)
1638 --enable-vendor=VENDOR vendor name (win32 DLL only)
1639 --disable-all-features disable all optional features to build minimal library
1640 --enable-universal use wxWidgets GUI controls instead of native ones
1641 --enable-nanox use NanoX
1642 --disable-gtk2 use GTK+ 1.2 instead of 2.0
1643 --enable-gpe use GNOME PDA Environment features if possible
1644 --disable-shared create static library instead of shared
1645 --disable-optimise compile without optimisations
1646 --enable-debug same as debug_flag and debug_info
1647 --enable-stl use STL for containers
1648 --enable-std_iostreams use standard C++ stream classes
1649 --enable-std_string use standard C++ string classes
1650 --disable-unicode compile without Unicode support
1651 --enable-mslu use MS Layer for Unicode on Windows 9x (Win32 only)
1652 --enable-utf8 use UTF-8 representation for strings (Unix only)
1653 --enable-utf8only only support UTF-8 locales in UTF-8 build (Unix only)
1654 --enable-extended_rtti use extended RTTI (XTI)
1655 --enable-omf use OMF object format
1656 --enable-debug_flag set __WXDEBUG__ flag (recommended for developers!)
1657 --enable-debug_info create code with debugging information
1658 --enable-debug_gdb create code with extra GDB debugging information
1659 --enable-debug_cntxt use wxDebugContext
1660 --enable-mem_tracing create code with memory tracing
1661 --enable-profile create code with profiling information
1662 --enable-no_rtti create code without RTTI information
1663 --enable-no_exceptions create code without C++ exceptions handling
1664 --enable-permissive compile code disregarding strict ANSI
1665 --enable-no_deps create code without dependency information
1666 --disable-vararg_macros don't use vararg macros
, even
if they are supported
1667 --enable-universal_binary create Mac PowerPC and Intel Universal binary
1668 --enable-compat26 enable wxWidgets
2.6 compatibility
1669 --disable-compat28 disable wxWidgets
2.8 compatibility
1670 --disable-rpath disable use of rpath
for uninstalled builds
1671 --enable-objc_uniquifying enable Objective
-C class name uniquifying
1672 --disable-visibility disable use of ELF symbols visibility even
if supported
1673 --enable-intl use internationalization system
1674 --enable-xlocale use x
-locale support
(requires wxLocale
)
1675 --enable-config use wxConfig
(and derived
) classes
1676 --enable-protocols use wxProtocol and derived classes
1677 --enable-ftp use wxFTP
(requires wxProtocol
1678 --enable-http use wxHTTP
(requires wxProtocol
1679 --enable-fileproto use wxFileProto class
(requires wxProtocol
1680 --enable-sockets use socket
/network classes
1681 --enable-ipv6 enable IPv6 support
in wxSocket
1682 --enable-ole use OLE classes
(Win32 only
)
1683 --enable-dataobj use data object classes
1684 --enable-ipc use interprocess communication
(wxSocket etc.
)
1685 --enable-baseevtloop use event loop
in console programs too
1686 --enable-epollloop use wxEpollDispatcher class
(Linux only
)
1687 --enable-selectloop use wxSelectDispatcher class
1688 --enable-apple_ieee use the Apple IEEE codec
1689 --enable-arcstream use wxArchive streams
1690 --enable-base64 use base64 encoding
/decoding functions
1691 --enable-backtrace use wxStackWalker class
for getting backtraces
1692 --enable-catch_segvs catch signals
in wxApp
::OnFatalException
(Unix only
)
1693 --enable-cmdline use wxCmdLineParser class
1694 --enable-datetime use wxDateTime class
1695 --enable-debugreport use wxDebugReport class
1696 --enable-dialupman use dialup network classes
1697 --enable-dynlib use wxLibrary class
for DLL loading
1698 --enable-dynamicloader use
(new
) wxDynamicLibrary class
1699 --enable-exceptions build exception
-safe library
1700 --enable-ffile use wxFFile class
1701 --enable-file use wxFile class
1702 --enable-filesystem use virtual
file systems classes
1703 --enable-fontenum use wxFontEnumerator class
1704 --enable-fontmap use font encodings conversion classes
1705 --enable-fs_archive use virtual archive filesystems
1706 --enable-fs_inet use virtual HTTP
/FTP filesystems
1707 --enable-fs_zip now replaced by fs_archive
1708 --enable-geometry use geometry class
1709 --enable-log use logging system
1710 --enable-longlong use wxLongLong class
1711 --enable-mimetype use wxMimeTypesManager
1712 --enable-printfposparam use wxVsnprintf
() which supports positional parameters
1713 --enable-snglinst use wxSingleInstanceChecker class
1714 --enable-sound use wxSound class
1715 --enable-stdpaths use wxStandardPaths class
1716 --enable-stopwatch use wxStopWatch class
1717 --enable-streams use wxStream etc classes
1718 --enable-sysoptions use wxSystemOptions
1719 --enable-tarstream use wxTar streams
1720 --enable-textbuf use wxTextBuffer class
1721 --enable-textfile use wxTextFile class
1722 --enable-timer use wxTimer class
1723 --enable-variant use wxVariant class
1724 --enable-zipstream use wxZip streams
1725 --enable-url use wxURL class
1726 --enable-protocol use wxProtocol class
1727 --enable-protocol-http HTTP support
in wxProtocol
1728 --enable-protocol-ftp FTP support
in wxProtocol
1729 --enable-protocol-file FILE support
in wxProtocol
1730 --enable-threads use threads
1731 --enable-iniconf use wxIniConfig
(Win32 only
)
1732 --enable-regkey use wxRegKey class
(Win32 only
)
1733 --enable-docview use document view architecture
1734 --enable-help use
help subsystem
1735 --enable-mshtmlhelp use MS HTML Help
(win32
)
1736 --enable-html use wxHTML sub
-library
1737 --enable-htmlhelp use wxHTML
-based help
1738 --enable-xrc use XRC resources sub
-library
1739 --enable-aui use AUI docking library
1740 --enable-stc use wxStyledTextCtrl library
1741 --enable-constraints use layout
-constraints system
1742 --enable-loggui use standard GUI logger
1743 --enable-logwin use wxLogWindow
1744 --enable-logdialog use wxLogDialog
1745 --enable-mdi use multiple document interface architecture
1746 --enable-mdidoc use docview architecture with MDI
1747 --enable-mediactrl use wxMediaCtrl class
1748 --enable-gstreamer8 force GStreamer
0.8 instead of
0.10 with the wxMediaCtrl class on unix
1749 --enable-webkit use wxWebKitCtrl
(Mac
)
1750 --enable-richtext use wxRichTextCtrl
1751 --enable-graphics_ctx use graphics context
2D drawing API
1752 --enable-postscript use wxPostscriptDC device context
(default
for gtk
+)
1753 --enable-printarch use printing architecture
1754 --enable-svg use wxSVGFileDC device context
1755 --enable-clipboard use wxClipboard class
1756 --enable-dnd use Drag
'n'Drop classes
1757 --enable-metafile use win32 metafiles
1758 --disable-controls disable compilation of all standard controls
1759 --enable-accel use accelerators
1760 --enable-animatectrl use wxAnimationCtrl class
1761 --enable-button use wxButton class
1762 --enable-bmpbutton use wxBitmapButton class
1763 --enable-bmpcombobox use wxBitmapComboBox class
1764 --enable-calendar use wxCalendarCtrl class
1765 --enable-caret use wxCaret class
1766 --enable-checkbox use wxCheckBox class
1767 --enable-checklst use wxCheckListBox
(listbox with checkboxes
) class
1768 --enable-choice use wxChoice class
1769 --enable-choicebook use wxChoicebook class
1770 --enable-collpane use wxCollapsiblePane class
1771 --enable-colourpicker use wxColourPickerCtrl class
1772 --enable-combobox use wxComboBox class
1773 --enable-comboctrl use wxComboCtrl class
1774 --enable-datepick use wxDatePickerCtrl class
1775 --enable-dirpicker use wxDirPickerCtrl class
1776 --enable-display use wxDisplay class
1777 --enable-detect_sm use code to detect X11 session manager
1778 --enable-editablebox use wxEditableListBox class
1779 --enable-filepicker use wxFilePickerCtrl class
1780 --enable-filectrl use wxFileCtrl class
1781 --enable-fontpicker use wxFontPickerCtrl class
1782 --enable-gauge use wxGauge class
1783 --enable-grid use wxGrid class
1784 --enable-dataviewctrl use wxDataViewCtrl class
1785 --enable-hyperlink use wxHyperlinkCtrl class
1786 --enable-imaglist use wxImageList class
1787 --enable-listbook use wxListbook class
1788 --enable-listbox use wxListBox class
1789 --enable-listctrl use wxListCtrl class
1790 --enable-notebook use wxNotebook class
1791 --enable-notifmsg use wxNotificationMessage class
1792 --enable-odcombobox use wxOwnerDrawnComboBox class
1793 --enable-radiobox use wxRadioBox class
1794 --enable-radiobtn use wxRadioButton class
1795 --enable-sash use wxSashWindow class
1796 --enable-scrollbar use wxScrollBar class and scrollable windows
1797 --enable-searchctrl use wxSearchCtrl class
1798 --enable-slider use wxSlider class
1799 --enable-spinbtn use wxSpinButton class
1800 --enable-spinctrl use wxSpinCtrl class
1801 --enable-splitter use wxSplitterWindow class
1802 --enable-statbmp use wxStaticBitmap class
1803 --enable-statbox use wxStaticBox class
1804 --enable-statline use wxStaticLine class
1805 --enable-stattext use wxStaticText class
1806 --enable-statusbar use wxStatusBar class
1807 --enable-tabdialog use wxTabControl class
1808 --enable-taskbaricon use wxTaskBarIcon class
1809 --enable-textctrl use wxTextCtrl class
1810 --enable-togglebtn use wxToggleButton class
1811 --enable-toolbar use wxToolBar class
1812 --enable-tbarnative use native wxToolBar class
1813 --enable-treebook use wxTreebook class
1814 --enable-toolbook use wxToolbook class
1815 --enable-treectrl use wxTreeCtrl class
1816 --enable-tipwindow use wxTipWindow class
1817 --enable-popupwin use wxPopUpWindow class
1818 --enable-commondlg use all common dialogs
1819 --enable-aboutdlg use wxAboutBox
1820 --enable-choicedlg use wxChoiceDialog
1821 --enable-coldlg use wxColourDialog
1822 --enable-filedlg use wxFileDialog
1823 --enable-finddlg use wxFindReplaceDialog
1824 --enable-fontdlg use wxFontDialog
1825 --enable-dirdlg use wxDirDialog
1826 --enable-msgdlg use wxMessageDialog
1827 --enable-numberdlg use wxNumberEntryDialog
1828 --enable-splash use wxSplashScreen
1829 --enable-textdlg use wxTextDialog
1830 --enable-tipdlg use startup tips
1831 --enable-progressdlg use wxProgressDialog
1832 --enable-wizarddlg use wxWizard
1833 --enable-menus use wxMenu
/wxMenuBar
/wxMenuItem classes
1834 --enable-miniframe use wxMiniFrame class
1835 --enable-tooltips use wxToolTip class
1836 --enable-splines use spline drawing code
1837 --enable-mousewheel use mousewheel
1838 --enable-validators use wxValidator and derived classes
1839 --enable-busyinfo use wxBusyInfo
1840 --enable-joystick use wxJoystick
1841 --enable-metafiles use wxMetaFile
(Win32 only
)
1842 --enable-dragimage use wxDragImage
1843 --enable-accessibility enable accessibility support
1844 --enable-palette use wxPalette class
1845 --enable-image use wxImage class
1846 --enable-gif use gif images
(GIF
file format
)
1847 --enable-pcx use pcx images
(PCX
file format
)
1848 --enable-tga use tga images
(TGA
file format
)
1849 --enable-iff use iff images
(IFF
file format
)
1850 --enable-pnm use pnm images
(PNM
file format
)
1851 --enable-xpm use xpm images
(XPM
file format
)
1852 --enable-ico_cur use Windows ICO and CUR formats
1853 --enable-dccache cache temporary wxDC objects
(Win32 only
)
1854 --enable-ps-in-msw use PS printing
in wxMSW
(Win32 only
)
1855 --enable-ownerdrawn use owner drawn controls
(Win32 and OS
/2 only
)
1856 --enable-uxtheme enable support
for Windows XP themed
look (Win32 only
)
1857 --enable-wxdib use wxDIB class
(Win32 only
)
1858 --enable-autoidman use automatic ids management
1859 --disable-largefile omit support
for large files
1860 --disable-gtktest do not try to compile and run a
test GTK
+ program
1861 --disable-gtktest Do not try to compile and run a
test GTK program
1862 --disable-sdltest Do not try to compile and run a
test SDL program
1863 --enable-omf use OMF object format
(OS
/2)
1864 --disable-dependency-tracking
1865 don
't use dependency tracking even if the compiler
1867 --disable-precomp-headers
1868 don't use precompiled headers even
if compiler can
1871 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1872 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1873 --without-subdirs don
't generate makefiles for samples/demos/...
1874 --with-flavour=NAME specify a name to identify this build
1875 --with-themes=all|list use only the specified comma-separated list of wxUniversal themes
1876 --with-gtk[=VERSION] use GTK+, VERSION can be 2 (default), 1 or "any"
1877 --with-motif use Motif/Lesstif
1878 --with-mac use Mac OS X
1879 --with-cocoa use Cocoa
1880 --with-wine use Wine
1881 --with-msw use MS-Windows
1882 --with-pm use OS/2 Presentation Manager
1883 --with-mgl use SciTech MGL
1884 --with-directfb use DirectFB
1885 --with-microwin use MicroWindows
1887 --with-libpng use libpng (PNG image format)
1888 --with-libjpeg use libjpeg (JPEG file format)
1889 --with-libtiff use libtiff (TIFF file format)
1890 --with-libxpm use libxpm (XPM file format)
1891 --with-libiconv use libiconv (character conversion)
1892 --with-libmspack use libmspack (CHM help files loading)
1893 --without-gtkprint don't use GTK printing support
1894 --without-gnomeprint don
't use GNOME printing libraries
1895 --with-gnomevfs use GNOME VFS for associating MIME types
1896 --with-hildon use Hildon framework for Nokia 770
1897 --with-opengl use OpenGL (or Mesa)
1898 --with-dmalloc use dmalloc library (http://dmalloc.com/)
1899 --with-sdl use SDL for audio on Unix
1900 --with-regex enable support for wxRegEx class
1901 --with-zlib use zlib for LZW compression
1902 --with-expat enable XML support using expat parser
1903 --with-macosx-sdk=PATH use an OS X SDK at PATH
1904 --with-macosx-version-min=VER build binaries which require at least this OS X version
1905 --with-gtk-prefix=PFX Prefix where GTK is installed (optional)
1906 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)
1907 --with-x use the X Window System
1908 --with-libiconv-prefix=DIR search for libiconv in DIR/include and DIR/lib
1909 --with-sdl-prefix=PFX Prefix where SDL is installed (optional)
1910 --with-sdl-exec-prefix=PFX Exec prefix where SDL is installed (optional)
1911 --with-cppunit-prefix=PFX Prefix where CppUnit is installed (optional)
1912 --with-cppunit-exec-prefix=PFX Exec prefix where CppUnit is installed (optional)
1914 Some influential environment variables:
1915 CC C compiler command
1916 CFLAGS C compiler flags
1917 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1918 nonstandard directory <lib dir>
1919 LIBS libraries to pass to the linker, e.g. -l<library>
1920 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1921 you have headers in a nonstandard directory <include dir>
1923 CXX C++ compiler command
1924 CXXFLAGS C++ compiler flags
1925 PKG_CONFIG path to pkg-config utility
1927 C compiler flags for DIRECTFB, overriding pkg-config
1929 linker flags for DIRECTFB, overriding pkg-config
1930 XMKMF Path to xmkmf, Makefile generator for X Window System
1932 C compiler flags for PANGOX, overriding pkg-config
1933 PANGOX_LIBS linker flags for PANGOX, overriding pkg-config
1935 C compiler flags for PANGOFT2, overriding pkg-config
1937 linker flags for PANGOFT2, overriding pkg-config
1939 C compiler flags for PANGOXFT, overriding pkg-config
1941 linker flags for PANGOXFT, overriding pkg-config
1943 C compiler flags for GTKPRINT, overriding pkg-config
1945 linker flags for GTKPRINT, overriding pkg-config
1946 LIBGNOMEPRINTUI_CFLAGS
1947 C compiler flags for LIBGNOMEPRINTUI, overriding pkg-config
1948 LIBGNOMEPRINTUI_LIBS
1949 linker flags for LIBGNOMEPRINTUI, overriding pkg-config
1951 C compiler flags for GNOMEVFS, overriding pkg-config
1953 linker flags for GNOMEVFS, overriding pkg-config
1955 C compiler flags for HILDON, overriding pkg-config
1956 HILDON_LIBS linker flags for HILDON, overriding pkg-config
1958 C compiler flags for CAIRO, overriding pkg-config
1959 CAIRO_LIBS linker flags for CAIRO, overriding pkg-config
1960 GST_CFLAGS C compiler flags for GST, overriding pkg-config
1961 GST_LIBS linker flags for GST, overriding pkg-config
1963 Use these variables to override the choices made by `configure' or to
help
1964 it to
find libraries and programs with nonstandard names
/locations.
1966 Report bugs to
<wx
-dev@lists.wxwidgets.org
>.
1971 if test "$ac_init_help" = "recursive"; then
1972 # If there are subdirs, report their specific --help.
1973 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
1974 test -d "$ac_dir" || continue
1978 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1980 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1981 # A ".." for each directory in $ac_dir_suffix.
1982 ac_top_builddir_sub
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1983 case $ac_top_builddir_sub in
1984 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1985 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
1988 ac_abs_top_builddir
=$ac_pwd
1989 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
1990 # for backward compatibility:
1991 ac_top_builddir
=$ac_top_build_prefix
1994 .
) # We are building in place.
1996 ac_top_srcdir
=$ac_top_builddir_sub
1997 ac_abs_top_srcdir
=$ac_pwd ;;
1998 [\\/]* | ?
:[\\/]* ) # Absolute name.
1999 ac_srcdir
=$srcdir$ac_dir_suffix;
2000 ac_top_srcdir
=$srcdir
2001 ac_abs_top_srcdir
=$srcdir ;;
2003 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
2004 ac_top_srcdir
=$ac_top_build_prefix$srcdir
2005 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
2007 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
2009 cd "$ac_dir" || { ac_status
=$?
; continue; }
2010 # Check for guested configure.
2011 if test -f "$ac_srcdir/configure.gnu"; then
2013 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2014 elif test -f "$ac_srcdir/configure"; then
2016 $SHELL "$ac_srcdir/configure" --help=recursive
2018 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2020 cd "$ac_pwd" || { ac_status
=$?
; break; }
2024 test -n "$ac_init_help" && exit $ac_status
2025 if $ac_init_version; then
2027 wxWidgets configure
2.9.0
2028 generated by GNU Autoconf
2.61
2030 Copyright
(C
) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
2031 2002, 2003, 2004, 2005, 2006 Free Software Foundation
, Inc.
2032 This configure
script is free software
; the Free Software Foundation
2033 gives unlimited permission to copy
, distribute and modify it.
2037 cat >config.log
<<_ACEOF
2038 This file contains any messages produced by compilers while
2039 running configure, to aid debugging if configure makes a mistake.
2041 It was created by wxWidgets $as_me 2.9.0, which was
2042 generated by GNU Autoconf 2.61. Invocation command line was
2054 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2055 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2056 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2057 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2058 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2060 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2061 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2063 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2064 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2065 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2066 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2067 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2068 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2069 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2073 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2077 test -z "$as_dir" && as_dir
=.
2078 echo "PATH: $as_dir"
2094 # Keep a trace of the command line.
2095 # Strip out --no-create and --no-recursion so they do not pile up.
2096 # Strip out --silent because we don't want to record it for future runs.
2097 # Also quote any args containing shell meta-characters.
2098 # Make two passes to allow for proper duplicate-argument suppression.
2102 ac_must_keep_next
=false
2108 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2109 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2110 | -silent | --silent | --silen | --sile | --sil)
2113 ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2116 1) ac_configure_args0
="$ac_configure_args0 '$ac_arg'" ;;
2118 ac_configure_args1
="$ac_configure_args1 '$ac_arg'"
2119 if test $ac_must_keep_next = true
; then
2120 ac_must_keep_next
=false
# Got value, back to normal.
2123 *=* | --config-cache | -C | -disable-* | --disable-* \
2124 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2125 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2126 | -with-* | --with-* | -without-* | --without-* | --x)
2127 case "$ac_configure_args0 " in
2128 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2131 -* ) ac_must_keep_next
=true
;;
2134 ac_configure_args
="$ac_configure_args '$ac_arg'"
2139 $as_unset ac_configure_args0
|| test "${ac_configure_args0+set}" != set || { ac_configure_args0
=; export ac_configure_args0
; }
2140 $as_unset ac_configure_args1
|| test "${ac_configure_args1+set}" != set || { ac_configure_args1
=; export ac_configure_args1
; }
2142 # When interrupted or exit'd, cleanup temporary files, and complete
2143 # config.log. We remove comments because anyway the quotes in there
2144 # would cause problems or look ugly.
2145 # WARNING: Use '\'' to represent an apostrophe within the trap.
2146 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2147 trap 'exit_status=$?
2148 # Save into config.log some information that might help in debugging.
2153 ## ---------------- ##
2154 ## Cache variables. ##
2155 ## ---------------- ##
2158 # The following way of writing the cache mishandles newlines in values,
2160 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2161 eval ac_val=\$$ac_var
2165 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
2166 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
2169 _ | IFS | as_nl) ;; #(
2170 *) $as_unset $ac_var ;;
2175 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2176 *${as_nl}ac_space=\ *)
2178 "s/'\''/'\''\\\\'\'''\''/g;
2179 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2182 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2190 ## ----------------- ##
2191 ## Output variables. ##
2192 ## ----------------- ##
2195 for ac_var in $ac_subst_vars
2197 eval ac_val=\$$ac_var
2199 *\'\''*) ac_val
=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2201 echo "$ac_var='\''$ac_val'\''"
2205 if test -n "$ac_subst_files"; then
2207 ## ------------------- ##
2208 ## File substitutions. ##
2209 ## ------------------- ##
2212 for ac_var
in $ac_subst_files
2214 eval ac_val
=\$
$ac_var
2216 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2218 echo "$ac_var='\''$ac_val'\''"
2223 if test -s confdefs.h; then
2233 test "$ac_signal" != 0 &&
2234 echo "$as_me: caught signal $ac_signal"
2235 echo "$as_me: exit $exit_status"
2237 rm -f core *.core core.conftest.* &&
2238 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2241 for ac_signal
in 1 2 13 15; do
2242 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
2246 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2247 rm -f -r conftest
* confdefs.h
2249 # Predefined preprocessor variables.
2251 cat >>confdefs.h
<<_ACEOF
2252 #define PACKAGE_NAME "$PACKAGE_NAME"
2256 cat >>confdefs.h
<<_ACEOF
2257 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2261 cat >>confdefs.h
<<_ACEOF
2262 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2266 cat >>confdefs.h
<<_ACEOF
2267 #define PACKAGE_STRING "$PACKAGE_STRING"
2271 cat >>confdefs.h
<<_ACEOF
2272 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2276 # Let the site file select an alternate cache file if it wants to.
2277 # Prefer explicitly selected file to automatically selected ones.
2278 if test -n "$CONFIG_SITE"; then
2279 set x
"$CONFIG_SITE"
2280 elif test "x$prefix" != xNONE
; then
2281 set x
"$prefix/share/config.site" "$prefix/etc/config.site"
2283 set x
"$ac_default_prefix/share/config.site" \
2284 "$ac_default_prefix/etc/config.site"
2289 if test -r "$ac_site_file"; then
2290 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
2291 echo "$as_me: loading site script $ac_site_file" >&6;}
2292 sed 's/^/| /' "$ac_site_file" >&5
2297 if test -r "$cache_file"; then
2298 # Some versions of bash will fail to source /dev/null (special
2299 # files actually), so we avoid doing that.
2300 if test -f "$cache_file"; then
2301 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
2302 echo "$as_me: loading cache $cache_file" >&6;}
2304 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
2305 *) .
"./$cache_file";;
2309 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
2310 echo "$as_me: creating cache $cache_file" >&6;}
2314 # Check that the precious variables saved in the cache have kept the same
2316 ac_cache_corrupted
=false
2317 for ac_var
in $ac_precious_vars; do
2318 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
2319 eval ac_new_set
=\
$ac_env_${ac_var}_set
2320 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
2321 eval ac_new_val
=\
$ac_env_${ac_var}_value
2322 case $ac_old_set,$ac_new_set in
2324 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2325 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2326 ac_cache_corrupted
=: ;;
2328 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
2329 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2330 ac_cache_corrupted
=: ;;
2333 if test "x$ac_old_val" != "x$ac_new_val"; then
2334 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
2335 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2336 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
2337 echo "$as_me: former value: $ac_old_val" >&2;}
2338 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
2339 echo "$as_me: current value: $ac_new_val" >&2;}
2340 ac_cache_corrupted
=:
2343 # Pass precious variables to config.status.
2344 if test "$ac_new_set" = set; then
2346 *\'*) ac_arg
=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2347 *) ac_arg
=$ac_var=$ac_new_val ;;
2349 case " $ac_configure_args " in
2350 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2351 *) ac_configure_args
="$ac_configure_args '$ac_arg'" ;;
2355 if $ac_cache_corrupted; then
2356 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
2357 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2358 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
2359 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
2360 { (exit 1); exit 1; }; }
2388 ac_cpp
='$CPP $CPPFLAGS'
2389 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2390 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2391 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2398 for ac_dir
in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2399 if test -f "$ac_dir/install-sh"; then
2401 ac_install_sh
="$ac_aux_dir/install-sh -c"
2403 elif test -f "$ac_dir/install.sh"; then
2405 ac_install_sh
="$ac_aux_dir/install.sh -c"
2407 elif test -f "$ac_dir/shtool"; then
2409 ac_install_sh
="$ac_aux_dir/shtool install -c"
2413 if test -z "$ac_aux_dir"; then
2414 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
2415 echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
2416 { (exit 1); exit 1; }; }
2419 # These three variables are undocumented and unsupported,
2420 # and are intended to be withdrawn in a future Autoconf release.
2421 # They can cause serious problems if a builder's source tree is in a directory
2422 # whose full name contains unusual characters.
2423 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2424 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2425 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2428 # Make sure we can run config.sub.
2429 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
2430 { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
2431 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
2432 { (exit 1); exit 1; }; }
2434 { echo "$as_me:$LINENO: checking build system type" >&5
2435 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
2436 if test "${ac_cv_build+set}" = set; then
2437 echo $ECHO_N "(cached) $ECHO_C" >&6
2439 ac_build_alias
=$build_alias
2440 test "x$ac_build_alias" = x
&&
2441 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
2442 test "x$ac_build_alias" = x
&&
2443 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
2444 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
2445 { (exit 1); exit 1; }; }
2446 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2447 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
2448 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
2449 { (exit 1); exit 1; }; }
2452 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
2453 echo "${ECHO_T}$ac_cv_build" >&6; }
2454 case $ac_cv_build in
2456 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
2457 echo "$as_me: error: invalid value of canonical build" >&2;}
2458 { (exit 1); exit 1; }; };;
2461 ac_save_IFS
=$IFS; IFS
='-'
2467 # Remember, the first character of IFS is used to create $*,
2468 # except with old shells:
2471 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
2474 { echo "$as_me:$LINENO: checking host system type" >&5
2475 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
2476 if test "${ac_cv_host+set}" = set; then
2477 echo $ECHO_N "(cached) $ECHO_C" >&6
2479 if test "x$host_alias" = x
; then
2480 ac_cv_host
=$ac_cv_build
2482 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2483 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
2484 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
2485 { (exit 1); exit 1; }; }
2489 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
2490 echo "${ECHO_T}$ac_cv_host" >&6; }
2493 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
2494 echo "$as_me: error: invalid value of canonical host" >&2;}
2495 { (exit 1); exit 1; }; };;
2498 ac_save_IFS
=$IFS; IFS
='-'
2504 # Remember, the first character of IFS is used to create $*,
2505 # except with old shells:
2508 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
2511 { echo "$as_me:$LINENO: checking target system type" >&5
2512 echo $ECHO_N "checking target system type... $ECHO_C" >&6; }
2513 if test "${ac_cv_target+set}" = set; then
2514 echo $ECHO_N "(cached) $ECHO_C" >&6
2516 if test "x$target_alias" = x
; then
2517 ac_cv_target
=$ac_cv_host
2519 ac_cv_target
=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2520 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&5
2521 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&2;}
2522 { (exit 1); exit 1; }; }
2526 { echo "$as_me:$LINENO: result: $ac_cv_target" >&5
2527 echo "${ECHO_T}$ac_cv_target" >&6; }
2528 case $ac_cv_target in
2530 *) { { echo "$as_me:$LINENO: error: invalid value of canonical target" >&5
2531 echo "$as_me: error: invalid value of canonical target" >&2;}
2532 { (exit 1); exit 1; }; };;
2534 target
=$ac_cv_target
2535 ac_save_IFS
=$IFS; IFS
='-'
2541 # Remember, the first character of IFS is used to create $*,
2542 # except with old shells:
2545 case $target_os in *\
*) target_os
=`echo "$target_os" | sed 's/ /-/g'`;; esac
2548 # The aliases save the names the user supplied, while $host etc.
2549 # will get canonicalized.
2550 test -n "$target_alias" &&
2551 test "$program_prefix$program_suffix$program_transform_name" = \
2553 program_prefix
=${target_alias}-
2557 wx_major_version_number
=2
2558 wx_minor_version_number
=9
2560 wx_subrelease_number
=0
2562 WX_RELEASE
=$wx_major_version_number.
$wx_minor_version_number
2563 WX_VERSION
=$WX_RELEASE.
$wx_release_number
2564 WX_SUBVERSION
=$WX_VERSION.
$wx_subrelease_number
2566 WX_MSW_VERSION
=$wx_major_version_number$wx_minor_version_number$wx_release_number
2569 wx_top_builddir
="`pwd`"
2582 USE_BSD
= USE_DARWIN
= USE_FREEBSD
=
2588 USE_SOLARIS
= USE_SUN
= USE_SUNOS
= USE_SVR4
= USE_SYSV
= USE_VMS
=
2594 NEEDS_D_REENTRANT_FOR_R_FUNCS
=0
2596 ALL_TOOLKITS
="COCOA GTK MAC MGL MICROWIN MOTIF MSW PM X11 DFB"
2598 DEFAULT_wxUSE_COCOA
=0
2602 DEFAULT_wxUSE_MICROWIN
=0
2603 DEFAULT_wxUSE_MOTIF
=0
2609 DEFAULT_DEFAULT_wxUSE_COCOA
=0
2610 DEFAULT_DEFAULT_wxUSE_GTK
=0
2611 DEFAULT_DEFAULT_wxUSE_MAC
=0
2612 DEFAULT_DEFAULT_wxUSE_MGL
=0
2613 DEFAULT_DEFAULT_wxUSE_MICROWIN
=0
2614 DEFAULT_DEFAULT_wxUSE_MOTIF
=0
2615 DEFAULT_DEFAULT_wxUSE_MSW
=0
2616 DEFAULT_DEFAULT_wxUSE_PM
=0
2617 DEFAULT_DEFAULT_wxUSE_X11
=0
2618 DEFAULT_DEFAULT_wxUSE_DFB
=0
2623 SAMPLES_RPATH_POSTLINK
=
2625 DEFAULT_STD_FLAG
=yes
2630 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
2631 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
2633 cat >>confdefs.h
<<\_ACEOF
2638 CPPFLAGS
="-D_HPUX_SOURCE $CPPFLAGS"
2642 cat >>confdefs.h
<<\_ACEOF
2647 if test "x$TMP" = "xalpha"; then
2649 cat >>confdefs.h
<<\_ACEOF
2654 DEFAULT_DEFAULT_wxUSE_GTK
=1
2656 *-*-gnu* | *-*-k*bsd
*-gnu )
2659 if test "x$TMP" = "xalpha"; then
2661 cat >>confdefs.h
<<\_ACEOF
2666 DEFAULT_DEFAULT_wxUSE_GTK
=1
2668 *-*-irix5* | *-*-irix6* )
2671 cat >>confdefs.h
<<\_ACEOF
2675 cat >>confdefs.h
<<\_ACEOF
2679 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
2685 cat >>confdefs.h
<<\_ACEOF
2689 cat >>confdefs.h
<<\_ACEOF
2690 #define __SOLARIS__ 1
2693 cat >>confdefs.h
<<\_ACEOF
2697 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
2698 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
2704 cat >>confdefs.h
<<\_ACEOF
2708 cat >>confdefs.h
<<\_ACEOF
2712 cat >>confdefs.h
<<\_ACEOF
2716 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
2721 cat >>confdefs.h
<<\_ACEOF
2722 #define __FREEBSD__ 1
2725 cat >>confdefs.h
<<\_ACEOF
2729 DEFAULT_DEFAULT_wxUSE_GTK
=1
2731 *-*-openbsd*|*-*-mirbsd*)
2734 cat >>confdefs.h
<<\_ACEOF
2735 #define __OPENBSD__ 1
2738 cat >>confdefs.h
<<\_ACEOF
2742 DEFAULT_DEFAULT_wxUSE_GTK
=1
2747 cat >>confdefs.h
<<\_ACEOF
2748 #define __NETBSD__ 1
2751 cat >>confdefs.h
<<\_ACEOF
2755 DEFAULT_DEFAULT_wxUSE_GTK
=1
2756 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
2758 CPPFLAGS
="-D_NETBSD_SOURCE -D_LIBC $CPPFLAGS"
2763 cat >>confdefs.h
<<\_ACEOF
2767 cat >>confdefs.h
<<\_ACEOF
2771 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
2772 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
2777 cat >>confdefs.h
<<\_ACEOF
2781 cat >>confdefs.h
<<\_ACEOF
2785 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
2790 cat >>confdefs.h
<<\_ACEOF
2794 cat >>confdefs.h
<<\_ACEOF
2798 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
2805 cat >>confdefs.h
<<\_ACEOF
2809 cat >>confdefs.h
<<\_ACEOF
2813 cat >>confdefs.h
<<\_ACEOF
2817 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
2824 cat >>confdefs.h
<<\_ACEOF
2825 #define __UNIXWARE__ 1
2830 *-*-cygwin* | *-*-mingw32* )
2833 DEFAULT_DEFAULT_wxUSE_MSW
=1
2839 cat >>confdefs.h
<<\_ACEOF
2844 DEFAULT_DEFAULT_wxUSE_MGL
=1
2847 *-pc-os2_emx | *-pc-os2-emx )
2848 cat >>confdefs.h
<<\_ACEOF
2853 cat >>confdefs.h
<<\_ACEOF
2858 DEFAULT_DEFAULT_wxUSE_PM
=1
2860 LDFLAGS
="$LDFLAGS -Zcrtdll"
2861 ac_executable_extensions
=".exe"
2862 export ac_executable_extensions
2866 for ac_dir
in $PATH; do
2868 if test -z "$ac_TEMP_PATH"; then
2869 ac_TEMP_PATH
="$ac_dir"
2871 ac_TEMP_PATH
="$ac_TEMP_PATH/$ac_dir"
2874 export PATH
="$ac_TEMP_PATH"
2883 cat >>confdefs.h
<<\_ACEOF
2887 cat >>confdefs.h
<<\_ACEOF
2888 #define __DARWIN__ 1
2891 cat >>confdefs.h
<<\_ACEOF
2892 #define TARGET_CARBON 1
2895 DEFAULT_DEFAULT_wxUSE_MAC
=1
2898 powerpc
-apple-macos* )
2900 ac_cv_c_bigendian
=yes
2902 DEFAULT_DEFAULT_wxUSE_MAC
=1
2908 cat >>confdefs.h
<<\_ACEOF
2915 { echo "$as_me:$LINENO: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&5
2916 echo "$as_me: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&2;}
2917 { echo "$as_me:$LINENO: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&5
2918 echo "$as_me: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&2;}
2920 DEFAULT_DEFAULT_wxUSE_X11
=1
2921 DEFAULT_wxUSE_SHARED
=no
2926 DEFAULT_wxUSE_ALL_FEATURES
=yes
2928 DEFAULT_wxUSE_STD_IOSTREAM
=$DEFAULT_STD_FLAG
2929 DEFAULT_wxUSE_STD_STRING
=$DEFAULT_STD_FLAG
2931 DEFAULT_wxUSE_DMALLOC
=no
2932 DEFAULT_wxUSE_LIBGNOMEVFS
=no
2933 DEFAULT_wxUSE_LIBHILDON
=no
2934 DEFAULT_wxUSE_LIBMSPACK
=no
2935 DEFAULT_wxUSE_LIBSDL
=no
2936 DEFAULT_wxUSE_OPENGL
=no
2938 DEFAULT_wxUSE_ACCESSIBILITY
=no
2939 DEFAULT_wxUSE_GRAPHICS_CONTEXT
=no
2940 DEFAULT_wxUSE_IPV6
=no
2941 DEFAULT_wxUSE_MEDIACTRL
=no
2942 DEFAULT_wxUSE_TAB_DIALOG
=no
2943 DEFAULT_wxUSE_GSTREAMER8
=no
2945 DEFAULT_wxUSE_UNICODE_UTF8
=auto
2946 DEFAULT_wxUSE_UNICODE_UTF8_LOCALE
=no
2948 DEFAULT_wxUSE_UNIVERSAL_BINARY
=no
2950 DEFAULT_wxUSE_OFFICIAL_BUILD
=no
2952 DEFAULT_wxUSE_GTK2
=yes
2954 DEFAULT_wxUSE_OBJC_UNIQUIFYING
=no
2960 enablestring
=disable
2962 if test -z "$defaultval"; then
2963 if test x
"$enablestring" = xdisable
; then
2970 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gui" >&5
2971 echo $ECHO_N "checking for --${enablestring:-enable}-gui... $ECHO_C" >&6; }
2972 # Check whether --enable-gui was given.
2973 if test "${enable_gui+set}" = set; then
2974 enableval
=$enable_gui;
2975 if test "$enableval" = yes; then
2976 wx_cv_use_gui
='wxUSE_GUI=yes'
2978 wx_cv_use_gui
='wxUSE_GUI=no'
2983 wx_cv_use_gui
='wxUSE_GUI=${'DEFAULT_wxUSE_GUI":-$defaultval}"
2988 eval "$wx_cv_use_gui"
2990 if test x"$enablestring" = xdisable; then
2991 if test $wxUSE_GUI = yes; then
3000 { echo "$as_me:$LINENO: result: $result" >&5
3001 echo "${ECHO_T}$result" >&6; }
3006 if test -z "$defaultval"; then
3007 if test x"$enablestring" = xdisable; then
3014 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-monolithic" >&5
3015 echo $ECHO_N "checking for --${enablestring:-enable}-monolithic... $ECHO_C" >&6; }
3016 # Check whether --enable-monolithic was given.
3017 if test "${enable_monolithic+set}" = set; then
3018 enableval=$enable_monolithic;
3019 if test "$enableval" = yes; then
3020 wx_cv_use_monolithic='wxUSE_MONOLITHIC
=yes'
3022 wx_cv_use_monolithic='wxUSE_MONOLITHIC
=no
'
3027 wx_cv_use_monolithic='wxUSE_MONOLITHIC
=${'DEFAULT_wxUSE_MONOLITHIC":-$defaultval}"
3032 eval "$wx_cv_use_monolithic"
3034 if test x"$enablestring" = xdisable; then
3035 if test $wxUSE_MONOLITHIC = yes; then
3041 result=$wxUSE_MONOLITHIC
3044 { echo "$as_me:$LINENO: result
: $result" >&5
3045 echo "${ECHO_T}$result" >&6; }
3050 if test -z "$defaultval"; then
3051 if test x"$enablestring" = xdisable; then
3058 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-plugins" >&5
3059 echo $ECHO_N "checking
for --${enablestring:-enable}-plugins...
$ECHO_C" >&6; }
3060 # Check whether --enable-plugins was given.
3061 if test "${enable_plugins+set}" = set; then
3062 enableval=$enable_plugins;
3063 if test "$enableval" = yes; then
3064 wx_cv_use_plugins='wxUSE_PLUGINS=yes'
3066 wx_cv_use_plugins='wxUSE_PLUGINS=no'
3071 wx_cv_use_plugins='wxUSE_PLUGINS=${'DEFAULT_wxUSE_PLUGINS":-$defaultval}"
3076 eval "$wx_cv_use_plugins"
3078 if test x
"$enablestring" = xdisable
; then
3079 if test $wxUSE_PLUGINS = yes; then
3085 result
=$wxUSE_PLUGINS
3088 { echo "$as_me:$LINENO: result: $result" >&5
3089 echo "${ECHO_T}$result" >&6; }
3093 defaultval
=$wxUSE_ALL_FEATURES
3094 if test -z "$defaultval"; then
3095 if test x
"$withstring" = xwithout
; then
3101 { echo "$as_me:$LINENO: checking for --${withstring:-with}-subdirs" >&5
3102 echo $ECHO_N "checking for --${withstring:-with}-subdirs... $ECHO_C" >&6; }
3104 # Check whether --with-subdirs was given.
3105 if test "${with_subdirs+set}" = set; then
3106 withval
=$with_subdirs;
3107 if test "$withval" = yes; then
3108 wx_cv_use_subdirs
='wxWITH_SUBDIRS=yes'
3110 wx_cv_use_subdirs
='wxWITH_SUBDIRS=no'
3115 wx_cv_use_subdirs
='wxWITH_SUBDIRS=${'DEFAULT_wxWITH_SUBDIRS":-$defaultval}"
3120 eval "$wx_cv_use_subdirs"
3122 if test x"$withstring" = xwithout; then
3123 if test $wxWITH_SUBDIRS = yes; then
3129 result=$wxWITH_SUBDIRS
3132 { echo "$as_me:$LINENO: result: $result" >&5
3133 echo "${ECHO_T}$result" >&6; }
3136 # Check whether --with-flavour was given.
3137 if test "${with_flavour+set}" = set; then
3138 withval=$with_flavour; WX_FLAVOUR="$withval"
3144 if test -z "$defaultval"; then
3145 if test x"$enablestring" = xdisable; then
3152 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-official_build" >&5
3153 echo $ECHO_N "checking for --${enablestring:-enable}-official_build... $ECHO_C" >&6; }
3154 # Check whether --enable-official_build was given.
3155 if test "${enable_official_build+set}" = set; then
3156 enableval=$enable_official_build;
3157 if test "$enableval" = yes; then
3158 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD
=yes'
3160 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD
=no
'
3165 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD
=${'DEFAULT_wxUSE_OFFICIAL_BUILD":-$defaultval}"
3170 eval "$wx_cv_use_official_build"
3172 if test x"$enablestring" = xdisable; then
3173 if test $wxUSE_OFFICIAL_BUILD = yes; then
3179 result=$wxUSE_OFFICIAL_BUILD
3182 { echo "$as_me:$LINENO: result
: $result" >&5
3183 echo "${ECHO_T}$result" >&6; }
3185 # Check whether --enable-vendor was given.
3186 if test "${enable_vendor+set}" = set; then
3187 enableval=$enable_vendor; VENDOR="$enableval"
3190 if test "x
$VENDOR" = "x
"; then
3195 enablestring=disable
3197 if test -z "$defaultval"; then
3198 if test x"$enablestring" = xdisable; then
3205 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-all-features" >&5
3206 echo $ECHO_N "checking
for --${enablestring:-enable}-all-features...
$ECHO_C" >&6; }
3207 # Check whether --enable-all-features was given.
3208 if test "${enable_all_features+set}" = set; then
3209 enableval=$enable_all_features;
3210 if test "$enableval" = yes; then
3211 wx_cv_use_all_features='wxUSE_ALL_FEATURES=yes'
3213 wx_cv_use_all_features='wxUSE_ALL_FEATURES=no'
3218 wx_cv_use_all_features='wxUSE_ALL_FEATURES=${'DEFAULT_wxUSE_ALL_FEATURES":-$defaultval}"
3223 eval "$wx_cv_use_all_features"
3225 if test x
"$enablestring" = xdisable
; then
3226 if test $wxUSE_ALL_FEATURES = yes; then
3232 result
=$wxUSE_ALL_FEATURES
3235 { echo "$as_me:$LINENO: result: $result" >&5
3236 echo "${ECHO_T}$result" >&6; }
3240 if test "$wxUSE_GUI" = "yes"; then
3245 if test -z "$defaultval"; then
3246 if test x
"$enablestring" = xdisable
; then
3253 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal" >&5
3254 echo $ECHO_N "checking for --${enablestring:-enable}-universal... $ECHO_C" >&6; }
3255 # Check whether --enable-universal was given.
3256 if test "${enable_universal+set}" = set; then
3257 enableval
=$enable_universal;
3258 if test "$enableval" = yes; then
3259 wx_cv_use_universal
='wxUSE_UNIVERSAL=yes'
3261 wx_cv_use_universal
='wxUSE_UNIVERSAL=no'
3266 wx_cv_use_universal
='wxUSE_UNIVERSAL=${'DEFAULT_wxUSE_UNIVERSAL":-$defaultval}"
3271 eval "$wx_cv_use_universal"
3273 if test x"$enablestring" = xdisable; then
3274 if test $wxUSE_UNIVERSAL = yes; then
3280 result=$wxUSE_UNIVERSAL
3283 { echo "$as_me:$LINENO: result: $result" >&5
3284 echo "${ECHO_T}$result" >&6; }
3286 if test "$wxUSE_UNIVERSAL" = "yes"; then
3288 # Check whether --with-themes was given.
3289 if test "${with_themes+set}" = set; then
3290 withval=$with_themes; wxUNIV_THEMES="$withval"
3296 # Check whether --with-gtk was given.
3297 if test "${with_gtk+set}" = set; then
3298 withval=$with_gtk; wxUSE_GTK="$withval" CACHE_GTK=1 TOOLKIT_GIVEN=1
3302 # Check whether --with-motif was given.
3303 if test "${with_motif+set}" = set; then
3304 withval=$with_motif; wxUSE_MOTIF="$withval" CACHE_MOTIF=1 TOOLKIT_GIVEN=1
3308 # Check whether --with-mac was given.
3309 if test "${with_mac+set}" = set; then
3310 withval=$with_mac; wxUSE_MAC="$withval" CACHE_MAC=1 TOOLKIT_GIVEN=1
3314 # Check whether --with-cocoa was given.
3315 if test "${with_cocoa+set}" = set; then
3316 withval=$with_cocoa; wxUSE_COCOA="$withval" CACHE_COCOA=1 TOOLKIT_GIVEN=1
3320 # Check whether --with-wine was given.
3321 if test "${with_wine+set}" = set; then
3322 withval=$with_wine; wxUSE_WINE="$withval" CACHE_WINE=1
3326 # Check whether --with-msw was given.
3327 if test "${with_msw+set}" = set; then
3328 withval=$with_msw; wxUSE_MSW="$withval" CACHE_MSW=1 TOOLKIT_GIVEN=1
3332 # Check whether --with-pm was given.
3333 if test "${with_pm+set}" = set; then
3334 withval=$with_pm; wxUSE_PM="$withval" CACHE_PM=1 TOOLKIT_GIVEN=1
3338 # Check whether --with-mgl was given.
3339 if test "${with_mgl+set}" = set; then
3340 withval=$with_mgl; wxUSE_MGL="$withval" wxUSE_UNIVERSAL="yes" CACHE_MGL=1 TOOLKIT_GIVEN=1
3344 # Check whether --with-directfb was given.
3345 if test "${with_directfb+set}" = set; then
3346 withval=$with_directfb; wxUSE_DFB="$withval" wxUSE_UNIVERSAL="yes" CACHE_DFB=1 TOOLKIT_GIVEN=1
3350 # Check whether --with-microwin was given.
3351 if test "${with_microwin+set}" = set; then
3352 withval=$with_microwin; wxUSE_MICROWIN="$withval" CACHE_MICROWIN=1 TOOLKIT_GIVEN=1
3356 # Check whether --with-x11 was given.
3357 if test "${with_x11+set}" = set; then
3358 withval=$with_x11; wxUSE_X11="$withval" wxUSE_UNIVERSAL="yes" CACHE_X11=1 TOOLKIT_GIVEN=1
3364 if test -z "$defaultval"; then
3365 if test x"$enablestring" = xdisable; then
3372 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-nanox" >&5
3373 echo $ECHO_N "checking for --${enablestring:-enable}-nanox... $ECHO_C" >&6; }
3374 # Check whether --enable-nanox was given.
3375 if test "${enable_nanox+set}" = set; then
3376 enableval=$enable_nanox;
3377 if test "$enableval" = yes; then
3378 wx_cv_use_nanox='wxUSE_NANOX
=yes'
3380 wx_cv_use_nanox='wxUSE_NANOX
=no
'
3385 wx_cv_use_nanox='wxUSE_NANOX
=${'DEFAULT_wxUSE_NANOX":-$defaultval}"
3390 eval "$wx_cv_use_nanox"
3392 if test x"$enablestring" = xdisable; then
3393 if test $wxUSE_NANOX = yes; then
3402 { echo "$as_me:$LINENO: result
: $result" >&5
3403 echo "${ECHO_T}$result" >&6; }
3406 # Check whether --enable-gtk2 was given.
3407 if test "${enable_gtk2+set}" = set; then
3408 enableval=$enable_gtk2; wxUSE_GTK2="$enableval"
3414 if test -z "$defaultval"; then
3415 if test x"$enablestring" = xdisable; then
3422 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-gpe" >&5
3423 echo $ECHO_N "checking
for --${enablestring:-enable}-gpe...
$ECHO_C" >&6; }
3424 # Check whether --enable-gpe was given.
3425 if test "${enable_gpe+set}" = set; then
3426 enableval=$enable_gpe;
3427 if test "$enableval" = yes; then
3428 wx_cv_use_gpe='wxUSE_GPE=yes'
3430 wx_cv_use_gpe='wxUSE_GPE=no'
3435 wx_cv_use_gpe='wxUSE_GPE=${'DEFAULT_wxUSE_GPE":-$defaultval}"
3440 eval "$wx_cv_use_gpe"
3442 if test x
"$enablestring" = xdisable
; then
3443 if test $wxUSE_GPE = yes; then
3452 { echo "$as_me:$LINENO: result: $result" >&5
3453 echo "${ECHO_T}$result" >&6; }
3457 { echo "$as_me:$LINENO: checking for toolkit" >&5
3458 echo $ECHO_N "checking for toolkit... $ECHO_C" >&6; }
3460 # In Wine, we need to default to MSW, not GTK or MOTIF
3461 if test "$wxUSE_WINE" = "yes"; then
3462 DEFAULT_DEFAULT_wxUSE_GTK
=0
3463 DEFAULT_DEFAULT_wxUSE_MOTIF
=0
3464 DEFAULT_DEFAULT_wxUSE_MSW
=1
3471 if test "$wxUSE_GUI" = "yes"; then
3473 if test "$USE_BEOS" = 1; then
3474 { { echo "$as_me:$LINENO: error: BeOS GUI is not supported yet, use --disable-gui" >&5
3475 echo "$as_me: error: BeOS GUI is not supported yet, use --disable-gui" >&2;}
3476 { (exit 1); exit 1; }; }
3479 if test "$TOOLKIT_GIVEN" = 1; then
3480 for toolkit
in $ALL_TOOLKITS; do
3482 eval "value=\$${var}"
3483 if test "x$value" = "xno"; then
3485 elif test "x$value" != "x"; then
3489 if test "x$value" != "x" -a "x$value" != "xyes" -a "x$value" != "xno"; then
3490 eval "wx${toolkit}_VERSION=$value"
3494 for toolkit
in $ALL_TOOLKITS; do
3495 var
=DEFAULT_DEFAULT_wxUSE_
$toolkit
3496 eval "wxUSE_$toolkit=\$${var}"
3500 NUM_TOOLKITS
=`expr ${wxUSE_COCOA:-0} + ${wxUSE_GTK:-0} + ${wxUSE_MAC:-0} \
3501 + ${wxUSE_MGL:-0} + ${wxUSE_DFB:-0} + ${wxUSE_MICROWIN:-0} \
3502 + ${wxUSE_MOTIF:-0} + ${wxUSE_MSW:-0} + ${wxUSE_X11:-0}`
3505 *-pc-os2_emx | *-pc-os2-emx )
3506 NUM_TOOLKITS
=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
3509 case "$NUM_TOOLKITS" in
3513 { { echo "$as_me:$LINENO: error: Please specify a toolkit -- cannot determine the default for ${host}" >&5
3514 echo "$as_me: error: Please specify a toolkit -- cannot determine the default for ${host}" >&2;}
3515 { (exit 1); exit 1; }; }
3518 { { echo "$as_me:$LINENO: error: Please specify at most one toolkit" >&5
3519 echo "$as_me: error: Please specify at most one toolkit" >&2;}
3520 { (exit 1); exit 1; }; }
3523 # to be removed when --disable-gtk2 isn't needed
3524 if test "x$wxUSE_GTK2" = "xyes"; then
3526 elif test "x$wxUSE_GTK2" = "xno"; then
3530 for toolkit
in $ALL_TOOLKITS; do
3532 eval "value=\$${var}"
3533 if test "$value" = 1; then
3534 toolkit_echo
=`echo $toolkit | tr '[A-Z]' '[a-z]'`
3535 { echo "$as_me:$LINENO: result: $toolkit_echo" >&5
3536 echo "${ECHO_T}$toolkit_echo" >&6; }
3540 if test "x$host_alias" != "x"; then
3541 { echo "$as_me:$LINENO: result: base ($host_alias hosted) only" >&5
3542 echo "${ECHO_T}base ($host_alias hosted) only" >&6; }
3544 { echo "$as_me:$LINENO: result: base only" >&5
3545 echo "${ECHO_T}base only" >&6; }
3551 { echo "$as_me:$LINENO: checking for --with-libpng" >&5
3552 echo $ECHO_N "checking for --with-libpng... $ECHO_C" >&6; }
3554 # Check whether --with-libpng was given.
3555 if test "${with_libpng+set}" = set; then
3556 withval
=$with_libpng;
3557 if test "$withval" = yes; then
3558 wx_cv_use_libpng
='wxUSE_LIBPNG=yes'
3559 elif test "$withval" = no
; then
3560 wx_cv_use_libpng
='wxUSE_LIBPNG=no'
3561 elif test "$withval" = sys
; then
3562 wx_cv_use_libpng
='wxUSE_LIBPNG=sys'
3563 elif test "$withval" = builtin; then
3564 wx_cv_use_libpng
='wxUSE_LIBPNG=builtin'
3566 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
3567 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
3568 { (exit 1); exit 1; }; }
3573 wx_cv_use_libpng
='wxUSE_LIBPNG=${'DEFAULT_wxUSE_LIBPNG":-$wxUSE_ALL_FEATURES}"
3578 eval "$wx_cv_use_libpng"
3580 if test "$wxUSE_LIBPNG" = yes; then
3581 { echo "$as_me:$LINENO: result: yes" >&5
3582 echo "${ECHO_T}yes" >&6; }
3583 elif test "$wxUSE_LIBPNG" = no; then
3584 { echo "$as_me:$LINENO: result: no" >&5
3585 echo "${ECHO_T}no" >&6; }
3586 elif test "$wxUSE_LIBPNG" = sys; then
3587 { echo "$as_me:$LINENO: result: system version" >&5
3588 echo "${ECHO_T}system version" >&6; }
3589 elif test "$wxUSE_LIBPNG" = builtin; then
3590 { echo "$as_me:$LINENO: result: builtin version" >&5
3591 echo "${ECHO_T}builtin version" >&6; }
3593 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
3594 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
3595 { (exit 1); exit 1; }; }
3599 { echo "$as_me:$LINENO: checking for --with-libjpeg" >&5
3600 echo $ECHO_N "checking for --with-libjpeg... $ECHO_C" >&6; }
3602 # Check whether --with-libjpeg was given.
3603 if test "${with_libjpeg+set}" = set; then
3604 withval=$with_libjpeg;
3605 if test "$withval" = yes; then
3606 wx_cv_use_libjpeg='wxUSE_LIBJPEG
=yes'
3607 elif test "$withval" = no; then
3608 wx_cv_use_libjpeg='wxUSE_LIBJPEG
=no
'
3609 elif test "$withval" = sys; then
3610 wx_cv_use_libjpeg='wxUSE_LIBJPEG
=sys
'
3611 elif test "$withval" = builtin; then
3612 wx_cv_use_libjpeg='wxUSE_LIBJPEG
=builtin'
3614 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
3615 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
3616 { (exit 1); exit 1; }; }
3621 wx_cv_use_libjpeg='wxUSE_LIBJPEG
=${'DEFAULT_wxUSE_LIBJPEG":-$wxUSE_ALL_FEATURES}"
3626 eval "$wx_cv_use_libjpeg"
3628 if test "$wxUSE_LIBJPEG" = yes; then
3629 { echo "$as_me:$LINENO: result
: yes" >&5
3630 echo "${ECHO_T}yes" >&6; }
3631 elif test "$wxUSE_LIBJPEG" = no; then
3632 { echo "$as_me:$LINENO: result
: no
" >&5
3633 echo "${ECHO_T}no
" >&6; }
3634 elif test "$wxUSE_LIBJPEG" = sys; then
3635 { echo "$as_me:$LINENO: result
: system version
" >&5
3636 echo "${ECHO_T}system version
" >&6; }
3637 elif test "$wxUSE_LIBJPEG" = builtin; then
3638 { echo "$as_me:$LINENO: result
: builtin version
" >&5
3639 echo "${ECHO_T}builtin version
" >&6; }
3641 { { echo "$as_me:$LINENO: error
: Invalid value
for --with-libjpeg: should be
yes, no
, sys
, or
builtin" >&5
3642 echo "$as_me: error
: Invalid value
for --with-libjpeg: should be
yes, no
, sys
, or
builtin" >&2;}
3643 { (exit 1); exit 1; }; }
3647 { echo "$as_me:$LINENO: checking
for --with-libtiff" >&5
3648 echo $ECHO_N "checking
for --with-libtiff...
$ECHO_C" >&6; }
3650 # Check whether --with-libtiff was given.
3651 if test "${with_libtiff+set}" = set; then
3652 withval=$with_libtiff;
3653 if test "$withval" = yes; then
3654 wx_cv_use_libtiff='wxUSE_LIBTIFF=yes'
3655 elif test "$withval" = no; then
3656 wx_cv_use_libtiff='wxUSE_LIBTIFF=no'
3657 elif test "$withval" = sys; then
3658 wx_cv_use_libtiff='wxUSE_LIBTIFF=sys'
3659 elif test "$withval" = builtin; then
3660 wx_cv_use_libtiff='wxUSE_LIBTIFF=builtin'
3662 { { echo "$as_me:$LINENO: error
: Invalid value
for --with-libtiff: should be
yes, no
, sys
, or
builtin" >&5
3663 echo "$as_me: error
: Invalid value
for --with-libtiff: should be
yes, no
, sys
, or
builtin" >&2;}
3664 { (exit 1); exit 1; }; }
3669 wx_cv_use_libtiff='wxUSE_LIBTIFF=${'DEFAULT_wxUSE_LIBTIFF":-$wxUSE_ALL_FEATURES}"
3674 eval "$wx_cv_use_libtiff"
3676 if test "$wxUSE_LIBTIFF" = yes; then
3677 { echo "$as_me:$LINENO: result: yes" >&5
3678 echo "${ECHO_T}yes" >&6; }
3679 elif test "$wxUSE_LIBTIFF" = no
; then
3680 { echo "$as_me:$LINENO: result: no" >&5
3681 echo "${ECHO_T}no" >&6; }
3682 elif test "$wxUSE_LIBTIFF" = sys
; then
3683 { echo "$as_me:$LINENO: result: system version" >&5
3684 echo "${ECHO_T}system version" >&6; }
3685 elif test "$wxUSE_LIBTIFF" = builtin; then
3686 { echo "$as_me:$LINENO: result: builtin version" >&5
3687 echo "${ECHO_T}builtin version" >&6; }
3689 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
3690 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
3691 { (exit 1); exit 1; }; }
3695 { echo "$as_me:$LINENO: checking for --with-libxpm" >&5
3696 echo $ECHO_N "checking for --with-libxpm... $ECHO_C" >&6; }
3698 # Check whether --with-libxpm was given.
3699 if test "${with_libxpm+set}" = set; then
3700 withval
=$with_libxpm;
3701 if test "$withval" = yes; then
3702 wx_cv_use_libxpm
='wxUSE_LIBXPM=yes'
3703 elif test "$withval" = no
; then
3704 wx_cv_use_libxpm
='wxUSE_LIBXPM=no'
3705 elif test "$withval" = sys
; then
3706 wx_cv_use_libxpm
='wxUSE_LIBXPM=sys'
3707 elif test "$withval" = builtin; then
3708 wx_cv_use_libxpm
='wxUSE_LIBXPM=builtin'
3710 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3711 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3712 { (exit 1); exit 1; }; }
3717 wx_cv_use_libxpm
='wxUSE_LIBXPM=${'DEFAULT_wxUSE_LIBXPM":-$wxUSE_ALL_FEATURES}"
3722 eval "$wx_cv_use_libxpm"
3724 if test "$wxUSE_LIBXPM" = yes; then
3725 { echo "$as_me:$LINENO: result: yes" >&5
3726 echo "${ECHO_T}yes" >&6; }
3727 elif test "$wxUSE_LIBXPM" = no; then
3728 { echo "$as_me:$LINENO: result: no" >&5
3729 echo "${ECHO_T}no" >&6; }
3730 elif test "$wxUSE_LIBXPM" = sys; then
3731 { echo "$as_me:$LINENO: result: system version" >&5
3732 echo "${ECHO_T}system version" >&6; }
3733 elif test "$wxUSE_LIBXPM" = builtin; then
3734 { echo "$as_me:$LINENO: result: builtin version" >&5
3735 echo "${ECHO_T}builtin version" >&6; }
3737 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3738 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3739 { (exit 1); exit 1; }; }
3744 defaultval=$wxUSE_ALL_FEATURES
3745 if test -z "$defaultval"; then
3746 if test x"$withstring" = xwithout; then
3752 { echo "$as_me:$LINENO: checking for --${withstring:-with}-libiconv" >&5
3753 echo $ECHO_N "checking for --${withstring:-with}-libiconv... $ECHO_C" >&6; }
3755 # Check whether --with-libiconv was given.
3756 if test "${with_libiconv+set}" = set; then
3757 withval=$with_libiconv;
3758 if test "$withval" = yes; then
3759 wx_cv_use_libiconv='wxUSE_LIBICONV
=yes'
3761 wx_cv_use_libiconv='wxUSE_LIBICONV
=no
'
3766 wx_cv_use_libiconv='wxUSE_LIBICONV
=${'DEFAULT_wxUSE_LIBICONV":-$defaultval}"
3771 eval "$wx_cv_use_libiconv"
3773 if test x"$withstring" = xwithout; then
3774 if test $wxUSE_LIBICONV = yes; then
3780 result=$wxUSE_LIBICONV
3783 { echo "$as_me:$LINENO: result
: $result" >&5
3784 echo "${ECHO_T}$result" >&6; }
3788 defaultval=$wxUSE_ALL_FEATURES
3789 if test -z "$defaultval"; then
3790 if test x"$withstring" = xwithout; then
3796 { echo "$as_me:$LINENO: checking
for --${withstring:-with}-libmspack" >&5
3797 echo $ECHO_N "checking
for --${withstring:-with}-libmspack...
$ECHO_C" >&6; }
3799 # Check whether --with-libmspack was given.
3800 if test "${with_libmspack+set}" = set; then
3801 withval=$with_libmspack;
3802 if test "$withval" = yes; then
3803 wx_cv_use_libmspack='wxUSE_LIBMSPACK=yes'
3805 wx_cv_use_libmspack='wxUSE_LIBMSPACK=no'
3810 wx_cv_use_libmspack='wxUSE_LIBMSPACK=${'DEFAULT_wxUSE_LIBMSPACK":-$defaultval}"
3815 eval "$wx_cv_use_libmspack"
3817 if test x
"$withstring" = xwithout
; then
3818 if test $wxUSE_LIBMSPACK = yes; then
3824 result
=$wxUSE_LIBMSPACK
3827 { echo "$as_me:$LINENO: result: $result" >&5
3828 echo "${ECHO_T}$result" >&6; }
3832 defaultval
=$wxUSE_ALL_FEATURES
3833 if test -z "$defaultval"; then
3834 if test x
"$withstring" = xwithout
; then
3840 { echo "$as_me:$LINENO: checking for --${withstring:-with}-gtkprint" >&5
3841 echo $ECHO_N "checking for --${withstring:-with}-gtkprint... $ECHO_C" >&6; }
3843 # Check whether --with-gtkprint was given.
3844 if test "${with_gtkprint+set}" = set; then
3845 withval
=$with_gtkprint;
3846 if test "$withval" = yes; then
3847 wx_cv_use_gtkprint
='wxUSE_GTKPRINT=yes'
3849 wx_cv_use_gtkprint
='wxUSE_GTKPRINT=no'
3854 wx_cv_use_gtkprint
='wxUSE_GTKPRINT=${'DEFAULT_wxUSE_GTKPRINT":-$defaultval}"
3859 eval "$wx_cv_use_gtkprint"
3861 if test x"$withstring" = xwithout; then
3862 if test $wxUSE_GTKPRINT = yes; then
3868 result=$wxUSE_GTKPRINT
3871 { echo "$as_me:$LINENO: result: $result" >&5
3872 echo "${ECHO_T}$result" >&6; }
3876 defaultval=$wxUSE_ALL_FEATURES
3877 if test -z "$defaultval"; then
3878 if test x"$withstring" = xwithout; then
3884 { echo "$as_me:$LINENO: checking for --${withstring:-with}-gnomeprint" >&5
3885 echo $ECHO_N "checking for --${withstring:-with}-gnomeprint... $ECHO_C" >&6; }
3887 # Check whether --with-gnomeprint was given.
3888 if test "${with_gnomeprint+set}" = set; then
3889 withval=$with_gnomeprint;
3890 if test "$withval" = yes; then
3891 wx_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT
=yes'
3893 wx_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT
=no
'
3898 wx_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT
=${'DEFAULT_wxUSE_LIBGNOMEPRINT":-$defaultval}"
3903 eval "$wx_cv_use_gnomeprint"
3905 if test x"$withstring" = xwithout; then
3906 if test $wxUSE_LIBGNOMEPRINT = yes; then
3912 result=$wxUSE_LIBGNOMEPRINT
3915 { echo "$as_me:$LINENO: result
: $result" >&5
3916 echo "${ECHO_T}$result" >&6; }
3920 defaultval=$wxUSE_ALL_FEATURES
3921 if test -z "$defaultval"; then
3922 if test x"$withstring" = xwithout; then
3928 { echo "$as_me:$LINENO: checking
for --${withstring:-with}-gnomevfs" >&5
3929 echo $ECHO_N "checking
for --${withstring:-with}-gnomevfs...
$ECHO_C" >&6; }
3931 # Check whether --with-gnomevfs was given.
3932 if test "${with_gnomevfs+set}" = set; then
3933 withval=$with_gnomevfs;
3934 if test "$withval" = yes; then
3935 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=yes'
3937 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=no'
3942 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=${'DEFAULT_wxUSE_LIBGNOMEVFS":-$defaultval}"
3947 eval "$wx_cv_use_gnomevfs"
3949 if test x
"$withstring" = xwithout
; then
3950 if test $wxUSE_LIBGNOMEVFS = yes; then
3956 result
=$wxUSE_LIBGNOMEVFS
3959 { echo "$as_me:$LINENO: result: $result" >&5
3960 echo "${ECHO_T}$result" >&6; }
3964 defaultval
=$wxUSE_ALL_FEATURES
3965 if test -z "$defaultval"; then
3966 if test x
"$withstring" = xwithout
; then
3972 { echo "$as_me:$LINENO: checking for --${withstring:-with}-hildon" >&5
3973 echo $ECHO_N "checking for --${withstring:-with}-hildon... $ECHO_C" >&6; }
3975 # Check whether --with-hildon was given.
3976 if test "${with_hildon+set}" = set; then
3977 withval
=$with_hildon;
3978 if test "$withval" = yes; then
3979 wx_cv_use_hildon
='wxUSE_LIBHILDON=yes'
3981 wx_cv_use_hildon
='wxUSE_LIBHILDON=no'
3986 wx_cv_use_hildon
='wxUSE_LIBHILDON=${'DEFAULT_wxUSE_LIBHILDON":-$defaultval}"
3991 eval "$wx_cv_use_hildon"
3993 if test x"$withstring" = xwithout; then
3994 if test $wxUSE_LIBHILDON = yes; then
4000 result=$wxUSE_LIBHILDON
4003 { echo "$as_me:$LINENO: result: $result" >&5
4004 echo "${ECHO_T}$result" >&6; }
4008 defaultval=$wxUSE_ALL_FEATURES
4009 if test -z "$defaultval"; then
4010 if test x"$withstring" = xwithout; then
4016 { echo "$as_me:$LINENO: checking for --${withstring:-with}-opengl" >&5
4017 echo $ECHO_N "checking for --${withstring:-with}-opengl... $ECHO_C" >&6; }
4019 # Check whether --with-opengl was given.
4020 if test "${with_opengl+set}" = set; then
4021 withval=$with_opengl;
4022 if test "$withval" = yes; then
4023 wx_cv_use_opengl='wxUSE_OPENGL
=yes'
4025 wx_cv_use_opengl='wxUSE_OPENGL
=no
'
4030 wx_cv_use_opengl='wxUSE_OPENGL
=${'DEFAULT_wxUSE_OPENGL":-$defaultval}"
4035 eval "$wx_cv_use_opengl"
4037 if test x"$withstring" = xwithout; then
4038 if test $wxUSE_OPENGL = yes; then
4044 result=$wxUSE_OPENGL
4047 { echo "$as_me:$LINENO: result
: $result" >&5
4048 echo "${ECHO_T}$result" >&6; }
4055 defaultval=$wxUSE_ALL_FEATURES
4056 if test -z "$defaultval"; then
4057 if test x"$withstring" = xwithout; then
4063 { echo "$as_me:$LINENO: checking
for --${withstring:-with}-dmalloc" >&5
4064 echo $ECHO_N "checking
for --${withstring:-with}-dmalloc...
$ECHO_C" >&6; }
4066 # Check whether --with-dmalloc was given.
4067 if test "${with_dmalloc+set}" = set; then
4068 withval=$with_dmalloc;
4069 if test "$withval" = yes; then
4070 wx_cv_use_dmalloc='wxUSE_DMALLOC=yes'
4072 wx_cv_use_dmalloc='wxUSE_DMALLOC=no'
4077 wx_cv_use_dmalloc='wxUSE_DMALLOC=${'DEFAULT_wxUSE_DMALLOC":-$defaultval}"
4082 eval "$wx_cv_use_dmalloc"
4084 if test x
"$withstring" = xwithout
; then
4085 if test $wxUSE_DMALLOC = yes; then
4091 result
=$wxUSE_DMALLOC
4094 { echo "$as_me:$LINENO: result: $result" >&5
4095 echo "${ECHO_T}$result" >&6; }
4099 defaultval
=$wxUSE_ALL_FEATURES
4100 if test -z "$defaultval"; then
4101 if test x
"$withstring" = xwithout
; then
4107 { echo "$as_me:$LINENO: checking for --${withstring:-with}-sdl" >&5
4108 echo $ECHO_N "checking for --${withstring:-with}-sdl... $ECHO_C" >&6; }
4110 # Check whether --with-sdl was given.
4111 if test "${with_sdl+set}" = set; then
4113 if test "$withval" = yes; then
4114 wx_cv_use_sdl
='wxUSE_LIBSDL=yes'
4116 wx_cv_use_sdl
='wxUSE_LIBSDL=no'
4121 wx_cv_use_sdl
='wxUSE_LIBSDL=${'DEFAULT_wxUSE_LIBSDL":-$defaultval}"
4126 eval "$wx_cv_use_sdl"
4128 if test x"$withstring" = xwithout; then
4129 if test $wxUSE_LIBSDL = yes; then
4135 result=$wxUSE_LIBSDL
4138 { echo "$as_me:$LINENO: result: $result" >&5
4139 echo "${ECHO_T}$result" >&6; }
4142 { echo "$as_me:$LINENO: checking for --with-regex" >&5
4143 echo $ECHO_N "checking for --with-regex... $ECHO_C" >&6; }
4145 # Check whether --with-regex was given.
4146 if test "${with_regex+set}" = set; then
4147 withval=$with_regex;
4148 if test "$withval" = yes; then
4149 wx_cv_use_regex='wxUSE_REGEX
=yes'
4150 elif test "$withval" = no; then
4151 wx_cv_use_regex='wxUSE_REGEX
=no
'
4152 elif test "$withval" = sys; then
4153 wx_cv_use_regex='wxUSE_REGEX
=sys
'
4154 elif test "$withval" = builtin; then
4155 wx_cv_use_regex='wxUSE_REGEX
=builtin'
4157 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
4158 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
4159 { (exit 1); exit 1; }; }
4164 wx_cv_use_regex='wxUSE_REGEX
=${'DEFAULT_wxUSE_REGEX":-$wxUSE_ALL_FEATURES}"
4169 eval "$wx_cv_use_regex"
4171 if test "$wxUSE_REGEX" = yes; then
4172 { echo "$as_me:$LINENO: result
: yes" >&5
4173 echo "${ECHO_T}yes" >&6; }
4174 elif test "$wxUSE_REGEX" = no; then
4175 { echo "$as_me:$LINENO: result
: no
" >&5
4176 echo "${ECHO_T}no
" >&6; }
4177 elif test "$wxUSE_REGEX" = sys; then
4178 { echo "$as_me:$LINENO: result
: system version
" >&5
4179 echo "${ECHO_T}system version
" >&6; }
4180 elif test "$wxUSE_REGEX" = builtin; then
4181 { echo "$as_me:$LINENO: result
: builtin version
" >&5
4182 echo "${ECHO_T}builtin version
" >&6; }
4184 { { echo "$as_me:$LINENO: error
: Invalid value
for --with-regex: should be
yes, no
, sys
, or
builtin" >&5
4185 echo "$as_me: error
: Invalid value
for --with-regex: should be
yes, no
, sys
, or
builtin" >&2;}
4186 { (exit 1); exit 1; }; }
4190 { echo "$as_me:$LINENO: checking
for --with-zlib" >&5
4191 echo $ECHO_N "checking
for --with-zlib...
$ECHO_C" >&6; }
4193 # Check whether --with-zlib was given.
4194 if test "${with_zlib+set}" = set; then
4196 if test "$withval" = yes; then
4197 wx_cv_use_zlib='wxUSE_ZLIB=yes'
4198 elif test "$withval" = no; then
4199 wx_cv_use_zlib='wxUSE_ZLIB=no'
4200 elif test "$withval" = sys; then
4201 wx_cv_use_zlib='wxUSE_ZLIB=sys'
4202 elif test "$withval" = builtin; then
4203 wx_cv_use_zlib='wxUSE_ZLIB=builtin'
4205 { { echo "$as_me:$LINENO: error
: Invalid value
for --with-zlib: should be
yes, no
, sys
, or
builtin" >&5
4206 echo "$as_me: error
: Invalid value
for --with-zlib: should be
yes, no
, sys
, or
builtin" >&2;}
4207 { (exit 1); exit 1; }; }
4212 wx_cv_use_zlib='wxUSE_ZLIB=${'DEFAULT_wxUSE_ZLIB":-$wxUSE_ALL_FEATURES}"
4217 eval "$wx_cv_use_zlib"
4219 if test "$wxUSE_ZLIB" = yes; then
4220 { echo "$as_me:$LINENO: result: yes" >&5
4221 echo "${ECHO_T}yes" >&6; }
4222 elif test "$wxUSE_ZLIB" = no
; then
4223 { echo "$as_me:$LINENO: result: no" >&5
4224 echo "${ECHO_T}no" >&6; }
4225 elif test "$wxUSE_ZLIB" = sys
; then
4226 { echo "$as_me:$LINENO: result: system version" >&5
4227 echo "${ECHO_T}system version" >&6; }
4228 elif test "$wxUSE_ZLIB" = builtin; then
4229 { echo "$as_me:$LINENO: result: builtin version" >&5
4230 echo "${ECHO_T}builtin version" >&6; }
4232 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
4233 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
4234 { (exit 1); exit 1; }; }
4238 { echo "$as_me:$LINENO: checking for --with-expat" >&5
4239 echo $ECHO_N "checking for --with-expat... $ECHO_C" >&6; }
4241 # Check whether --with-expat was given.
4242 if test "${with_expat+set}" = set; then
4243 withval
=$with_expat;
4244 if test "$withval" = yes; then
4245 wx_cv_use_expat
='wxUSE_EXPAT=yes'
4246 elif test "$withval" = no
; then
4247 wx_cv_use_expat
='wxUSE_EXPAT=no'
4248 elif test "$withval" = sys
; then
4249 wx_cv_use_expat
='wxUSE_EXPAT=sys'
4250 elif test "$withval" = builtin; then
4251 wx_cv_use_expat
='wxUSE_EXPAT=builtin'
4253 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
4254 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
4255 { (exit 1); exit 1; }; }
4260 wx_cv_use_expat
='wxUSE_EXPAT=${'DEFAULT_wxUSE_EXPAT":-$wxUSE_ALL_FEATURES}"
4265 eval "$wx_cv_use_expat"
4267 if test "$wxUSE_EXPAT" = yes; then
4268 { echo "$as_me:$LINENO: result: yes" >&5
4269 echo "${ECHO_T}yes" >&6; }
4270 elif test "$wxUSE_EXPAT" = no; then
4271 { echo "$as_me:$LINENO: result: no" >&5
4272 echo "${ECHO_T}no" >&6; }
4273 elif test "$wxUSE_EXPAT" = sys; then
4274 { echo "$as_me:$LINENO: result: system version" >&5
4275 echo "${ECHO_T}system version" >&6; }
4276 elif test "$wxUSE_EXPAT" = builtin; then
4277 { echo "$as_me:$LINENO: result: builtin version" >&5
4278 echo "${ECHO_T}builtin version" >&6; }
4280 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
4281 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
4282 { (exit 1); exit 1; }; }
4286 { echo "$as_me:$LINENO: checking for --with-macosx-sdk" >&5
4287 echo $ECHO_N "checking for --with-macosx-sdk... $ECHO_C" >&6; }
4289 # Check whether --with-macosx-sdk was given.
4290 if test "${with_macosx_sdk+set}" = set; then
4291 withval=$with_macosx_sdk;
4292 wxUSE_MACOSX_SDK=$withval
4293 wx_cv_use_macosx_sdk="wxUSE_MACOSX_SDK=$withval"
4297 { echo "$as_me:$LINENO: result: $wxUSE_MACOSX_SDK" >&5
4298 echo "${ECHO_T}$wxUSE_MACOSX_SDK" >&6; }
4300 { echo "$as_me:$LINENO: checking for --with-macosx-version-min" >&5
4301 echo $ECHO_N "checking for --with-macosx-version-min... $ECHO_C" >&6; }
4303 # Check whether --with-macosx-version-min was given.
4304 if test "${with_macosx_version_min+set}" = set; then
4305 withval=$with_macosx_version_min;
4306 wxUSE_MACOSX_VERSION_MIN=$withval
4307 wx_cv_use_macosx_version_min="wxUSE_MACOSX_VERSION_MIN=$withval"
4311 { echo "$as_me:$LINENO: result: $wxUSE_MACOSX_VERSION_MIN" >&5
4312 echo "${ECHO_T}$wxUSE_MACOSX_VERSION_MIN" >&6; }
4316 enablestring=disable
4318 if test -z "$defaultval"; then
4319 if test x"$enablestring" = xdisable; then
4326 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-shared" >&5
4327 echo $ECHO_N "checking for --${enablestring:-enable}-shared... $ECHO_C" >&6; }
4328 # Check whether --enable-shared was given.
4329 if test "${enable_shared+set}" = set; then
4330 enableval=$enable_shared;
4331 if test "$enableval" = yes; then
4332 wx_cv_use_shared='wxUSE_SHARED
=yes'
4334 wx_cv_use_shared='wxUSE_SHARED
=no
'
4339 wx_cv_use_shared='wxUSE_SHARED
=${'DEFAULT_wxUSE_SHARED":-$defaultval}"
4344 eval "$wx_cv_use_shared"
4346 if test x"$enablestring" = xdisable; then
4347 if test $wxUSE_SHARED = yes; then
4353 result=$wxUSE_SHARED
4356 { echo "$as_me:$LINENO: result
: $result" >&5
4357 echo "${ECHO_T}$result" >&6; }
4360 enablestring=disable
4362 if test -z "$defaultval"; then
4363 if test x"$enablestring" = xdisable; then
4370 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-optimise" >&5
4371 echo $ECHO_N "checking
for --${enablestring:-enable}-optimise...
$ECHO_C" >&6; }
4372 # Check whether --enable-optimise was given.
4373 if test "${enable_optimise+set}" = set; then
4374 enableval=$enable_optimise;
4375 if test "$enableval" = yes; then
4376 wx_cv_use_optimise='wxUSE_OPTIMISE=yes'
4378 wx_cv_use_optimise='wxUSE_OPTIMISE=no'
4383 wx_cv_use_optimise='wxUSE_OPTIMISE=${'DEFAULT_wxUSE_OPTIMISE":-$defaultval}"
4388 eval "$wx_cv_use_optimise"
4390 if test x
"$enablestring" = xdisable
; then
4391 if test $wxUSE_OPTIMISE = yes; then
4397 result
=$wxUSE_OPTIMISE
4400 { echo "$as_me:$LINENO: result: $result" >&5
4401 echo "${ECHO_T}$result" >&6; }
4406 if test -z "$defaultval"; then
4407 if test x
"$enablestring" = xdisable
; then
4414 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug" >&5
4415 echo $ECHO_N "checking for --${enablestring:-enable}-debug... $ECHO_C" >&6; }
4416 # Check whether --enable-debug was given.
4417 if test "${enable_debug+set}" = set; then
4418 enableval
=$enable_debug;
4419 if test "$enableval" = yes; then
4420 wx_cv_use_debug
='wxUSE_DEBUG=yes'
4422 wx_cv_use_debug
='wxUSE_DEBUG=no'
4427 wx_cv_use_debug
='wxUSE_DEBUG=${'DEFAULT_wxUSE_DEBUG":-$defaultval}"
4432 eval "$wx_cv_use_debug"
4434 if test x"$enablestring" = xdisable; then
4435 if test $wxUSE_DEBUG = yes; then
4444 { echo "$as_me:$LINENO: result: $result" >&5
4445 echo "${ECHO_T}$result" >&6; }
4450 if test -z "$defaultval"; then
4451 if test x"$enablestring" = xdisable; then
4458 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stl" >&5
4459 echo $ECHO_N "checking for --${enablestring:-enable}-stl... $ECHO_C" >&6; }
4460 # Check whether --enable-stl was given.
4461 if test "${enable_stl+set}" = set; then
4462 enableval=$enable_stl;
4463 if test "$enableval" = yes; then
4464 wx_cv_use_stl='wxUSE_STL
=yes'
4466 wx_cv_use_stl='wxUSE_STL
=no
'
4471 wx_cv_use_stl='wxUSE_STL
=${'DEFAULT_wxUSE_STL":-$defaultval}"
4476 eval "$wx_cv_use_stl"
4478 if test x"$enablestring" = xdisable; then
4479 if test $wxUSE_STL = yes; then
4488 { echo "$as_me:$LINENO: result
: $result" >&5
4489 echo "${ECHO_T}$result" >&6; }
4494 if test -z "$defaultval"; then
4495 if test x"$enablestring" = xdisable; then
4502 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-std_iostreams" >&5
4503 echo $ECHO_N "checking
for --${enablestring:-enable}-std_iostreams...
$ECHO_C" >&6; }
4504 # Check whether --enable-std_iostreams was given.
4505 if test "${enable_std_iostreams+set}" = set; then
4506 enableval=$enable_std_iostreams;
4507 if test "$enableval" = yes; then
4508 wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=yes'
4510 wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=no'
4515 wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=${'DEFAULT_wxUSE_STD_IOSTREAM":-$defaultval}"
4520 eval "$wx_cv_use_std_iostreams"
4522 if test x
"$enablestring" = xdisable
; then
4523 if test $wxUSE_STD_IOSTREAM = yes; then
4529 result
=$wxUSE_STD_IOSTREAM
4532 { echo "$as_me:$LINENO: result: $result" >&5
4533 echo "${ECHO_T}$result" >&6; }
4538 if test -z "$defaultval"; then
4539 if test x
"$enablestring" = xdisable
; then
4546 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_string" >&5
4547 echo $ECHO_N "checking for --${enablestring:-enable}-std_string... $ECHO_C" >&6; }
4548 # Check whether --enable-std_string was given.
4549 if test "${enable_std_string+set}" = set; then
4550 enableval
=$enable_std_string;
4551 if test "$enableval" = yes; then
4552 wx_cv_use_std_string
='wxUSE_STD_STRING=yes'
4554 wx_cv_use_std_string
='wxUSE_STD_STRING=no'
4559 wx_cv_use_std_string
='wxUSE_STD_STRING=${'DEFAULT_wxUSE_STD_STRING":-$defaultval}"
4564 eval "$wx_cv_use_std_string"
4566 if test x"$enablestring" = xdisable; then
4567 if test $wxUSE_STD_STRING = yes; then
4573 result=$wxUSE_STD_STRING
4576 { echo "$as_me:$LINENO: result: $result" >&5
4577 echo "${ECHO_T}$result" >&6; }
4580 enablestring=disable
4582 if test -z "$defaultval"; then
4583 if test x"$enablestring" = xdisable; then
4590 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-unicode" >&5
4591 echo $ECHO_N "checking for --${enablestring:-enable}-unicode... $ECHO_C" >&6; }
4592 # Check whether --enable-unicode was given.
4593 if test "${enable_unicode+set}" = set; then
4594 enableval=$enable_unicode;
4595 if test "$enableval" = yes; then
4596 wx_cv_use_unicode='wxUSE_UNICODE
=yes'
4598 wx_cv_use_unicode='wxUSE_UNICODE
=no
'
4603 wx_cv_use_unicode='wxUSE_UNICODE
=${'DEFAULT_wxUSE_UNICODE":-$defaultval}"
4608 eval "$wx_cv_use_unicode"
4610 if test x"$enablestring" = xdisable; then
4611 if test $wxUSE_UNICODE = yes; then
4617 result=$wxUSE_UNICODE
4620 { echo "$as_me:$LINENO: result
: $result" >&5
4621 echo "${ECHO_T}$result" >&6; }
4626 if test -z "$defaultval"; then
4627 if test x"$enablestring" = xdisable; then
4634 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-mslu" >&5
4635 echo $ECHO_N "checking
for --${enablestring:-enable}-mslu...
$ECHO_C" >&6; }
4636 # Check whether --enable-mslu was given.
4637 if test "${enable_mslu+set}" = set; then
4638 enableval=$enable_mslu;
4639 if test "$enableval" = yes; then
4640 wx_cv_use_mslu='wxUSE_UNICODE_MSLU=yes'
4642 wx_cv_use_mslu='wxUSE_UNICODE_MSLU=no'
4647 wx_cv_use_mslu='wxUSE_UNICODE_MSLU=${'DEFAULT_wxUSE_UNICODE_MSLU":-$defaultval}"
4652 eval "$wx_cv_use_mslu"
4654 if test x
"$enablestring" = xdisable
; then
4655 if test $wxUSE_UNICODE_MSLU = yes; then
4661 result
=$wxUSE_UNICODE_MSLU
4664 { echo "$as_me:$LINENO: result: $result" >&5
4665 echo "${ECHO_T}$result" >&6; }
4669 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-utf8" >&5
4670 echo $ECHO_N "checking for --${enablestring:-enable}-utf8... $ECHO_C" >&6; }
4671 # Check whether --enable-utf8 was given.
4672 if test "${enable_utf8+set}" = set; then
4673 enableval
=$enable_utf8;
4674 wx_cv_use_utf8
="wxUSE_UNICODE_UTF8='$enableval'"
4678 wx_cv_use_utf8
='wxUSE_UNICODE_UTF8='$DEFAULT_wxUSE_UNICODE_UTF8
4683 eval "$wx_cv_use_utf8"
4685 { echo "$as_me:$LINENO: result: $wxUSE_UNICODE_UTF8" >&5
4686 echo "${ECHO_T}$wxUSE_UNICODE_UTF8" >&6; }
4691 if test -z "$defaultval"; then
4692 if test x
"$enablestring" = xdisable
; then
4699 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-utf8only" >&5
4700 echo $ECHO_N "checking for --${enablestring:-enable}-utf8only... $ECHO_C" >&6; }
4701 # Check whether --enable-utf8only was given.
4702 if test "${enable_utf8only+set}" = set; then
4703 enableval
=$enable_utf8only;
4704 if test "$enableval" = yes; then
4705 wx_cv_use_utf8only
='wxUSE_UNICODE_UTF8_LOCALE=yes'
4707 wx_cv_use_utf8only
='wxUSE_UNICODE_UTF8_LOCALE=no'
4712 wx_cv_use_utf8only
='wxUSE_UNICODE_UTF8_LOCALE=${'DEFAULT_wxUSE_UNICODE_UTF8_LOCALE":-$defaultval}"
4717 eval "$wx_cv_use_utf8only"
4719 if test x"$enablestring" = xdisable; then
4720 if test $wxUSE_UNICODE_UTF8_LOCALE = yes; then
4726 result=$wxUSE_UNICODE_UTF8_LOCALE
4729 { echo "$as_me:$LINENO: result: $result" >&5
4730 echo "${ECHO_T}$result" >&6; }
4735 if test -z "$defaultval"; then
4736 if test x"$enablestring" = xdisable; then
4743 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-extended_rtti" >&5
4744 echo $ECHO_N "checking for --${enablestring:-enable}-extended_rtti... $ECHO_C" >&6; }
4745 # Check whether --enable-extended_rtti was given.
4746 if test "${enable_extended_rtti+set}" = set; then
4747 enableval=$enable_extended_rtti;
4748 if test "$enableval" = yes; then
4749 wx_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI
=yes'
4751 wx_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI
=no
'
4756 wx_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI
=${'DEFAULT_wxUSE_EXTENDED_RTTI":-$defaultval}"
4761 eval "$wx_cv_use_extended_rtti"
4763 if test x"$enablestring" = xdisable; then
4764 if test $wxUSE_EXTENDED_RTTI = yes; then
4770 result=$wxUSE_EXTENDED_RTTI
4773 { echo "$as_me:$LINENO: result
: $result" >&5
4774 echo "${ECHO_T}$result" >&6; }
4776 if test "$USE_OS2" = 1; then
4777 DEFAULT_wxUSE_OMF=no
4781 if test -z "$defaultval"; then
4782 if test x"$enablestring" = xdisable; then
4789 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-omf" >&5
4790 echo $ECHO_N "checking
for --${enablestring:-enable}-omf...
$ECHO_C" >&6; }
4791 # Check whether --enable-omf was given.
4792 if test "${enable_omf+set}" = set; then
4793 enableval=$enable_omf;
4794 if test "$enableval" = yes; then
4795 wx_cv_use_omf='wxUSE_OMF=yes'
4797 wx_cv_use_omf='wxUSE_OMF=no'
4802 wx_cv_use_omf='wxUSE_OMF=${'DEFAULT_wxUSE_OMF":-$defaultval}"
4807 eval "$wx_cv_use_omf"
4809 if test x
"$enablestring" = xdisable
; then
4810 if test $wxUSE_OMF = yes; then
4819 { echo "$as_me:$LINENO: result: $result" >&5
4820 echo "${ECHO_T}$result" >&6; }
4824 if test "$wxUSE_DEBUG" = "yes"; then
4825 DEFAULT_wxUSE_DEBUG_FLAG
=yes
4826 DEFAULT_wxUSE_DEBUG_INFO
=yes
4828 elif test "$wxUSE_DEBUG" = "no"; then
4829 DEFAULT_wxUSE_DEBUG_FLAG
=no
4830 DEFAULT_wxUSE_DEBUG_INFO
=no
4837 if test -z "$defaultval"; then
4838 if test x
"$enablestring" = xdisable
; then
4845 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_flag" >&5
4846 echo $ECHO_N "checking for --${enablestring:-enable}-debug_flag... $ECHO_C" >&6; }
4847 # Check whether --enable-debug_flag was given.
4848 if test "${enable_debug_flag+set}" = set; then
4849 enableval
=$enable_debug_flag;
4850 if test "$enableval" = yes; then
4851 wx_cv_use_debug_flag
='wxUSE_DEBUG_FLAG=yes'
4853 wx_cv_use_debug_flag
='wxUSE_DEBUG_FLAG=no'
4858 wx_cv_use_debug_flag
='wxUSE_DEBUG_FLAG=${'DEFAULT_wxUSE_DEBUG_FLAG":-$defaultval}"
4863 eval "$wx_cv_use_debug_flag"
4865 if test x"$enablestring" = xdisable; then
4866 if test $wxUSE_DEBUG_FLAG = yes; then
4872 result=$wxUSE_DEBUG_FLAG
4875 { echo "$as_me:$LINENO: result: $result" >&5
4876 echo "${ECHO_T}$result" >&6; }
4881 if test -z "$defaultval"; then
4882 if test x"$enablestring" = xdisable; then
4889 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_info" >&5
4890 echo $ECHO_N "checking for --${enablestring:-enable}-debug_info... $ECHO_C" >&6; }
4891 # Check whether --enable-debug_info was given.
4892 if test "${enable_debug_info+set}" = set; then
4893 enableval=$enable_debug_info;
4894 if test "$enableval" = yes; then
4895 wx_cv_use_debug_info='wxUSE_DEBUG_INFO
=yes'
4897 wx_cv_use_debug_info='wxUSE_DEBUG_INFO
=no
'
4902 wx_cv_use_debug_info='wxUSE_DEBUG_INFO
=${'DEFAULT_wxUSE_DEBUG_INFO":-$defaultval}"
4907 eval "$wx_cv_use_debug_info"
4909 if test x"$enablestring" = xdisable; then
4910 if test $wxUSE_DEBUG_INFO = yes; then
4916 result=$wxUSE_DEBUG_INFO
4919 { echo "$as_me:$LINENO: result
: $result" >&5
4920 echo "${ECHO_T}$result" >&6; }
4923 if test "$wxUSE_DEBUG_FLAG" = "yes" -a "$wxUSE_DEBUG_INFO" = "yes"; then
4931 if test -z "$defaultval"; then
4932 if test x"$enablestring" = xdisable; then
4939 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-debug_gdb" >&5
4940 echo $ECHO_N "checking
for --${enablestring:-enable}-debug_gdb...
$ECHO_C" >&6; }
4941 # Check whether --enable-debug_gdb was given.
4942 if test "${enable_debug_gdb+set}" = set; then
4943 enableval=$enable_debug_gdb;
4944 if test "$enableval" = yes; then
4945 wx_cv_use_debug_gdb='wxUSE_DEBUG_GDB=yes'
4947 wx_cv_use_debug_gdb='wxUSE_DEBUG_GDB=no'
4952 wx_cv_use_debug_gdb='wxUSE_DEBUG_GDB=${'DEFAULT_wxUSE_DEBUG_GDB":-$defaultval}"
4957 eval "$wx_cv_use_debug_gdb"
4959 if test x
"$enablestring" = xdisable
; then
4960 if test $wxUSE_DEBUG_GDB = yes; then
4966 result
=$wxUSE_DEBUG_GDB
4969 { echo "$as_me:$LINENO: result: $result" >&5
4970 echo "${ECHO_T}$result" >&6; }
4975 if test -z "$defaultval"; then
4976 if test x
"$enablestring" = xdisable
; then
4983 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_cntxt" >&5
4984 echo $ECHO_N "checking for --${enablestring:-enable}-debug_cntxt... $ECHO_C" >&6; }
4985 # Check whether --enable-debug_cntxt was given.
4986 if test "${enable_debug_cntxt+set}" = set; then
4987 enableval
=$enable_debug_cntxt;
4988 if test "$enableval" = yes; then
4989 wx_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT=yes'
4991 wx_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT=no'
4996 wx_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT=${'DEFAULT_wxUSE_DEBUG_CONTEXT":-$defaultval}"
5001 eval "$wx_cv_use_debug_cntxt"
5003 if test x"$enablestring" = xdisable; then
5004 if test $wxUSE_DEBUG_CONTEXT = yes; then
5010 result=$wxUSE_DEBUG_CONTEXT
5013 { echo "$as_me:$LINENO: result: $result" >&5
5014 echo "${ECHO_T}$result" >&6; }
5019 if test -z "$defaultval"; then
5020 if test x"$enablestring" = xdisable; then
5027 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mem_tracing" >&5
5028 echo $ECHO_N "checking for --${enablestring:-enable}-mem_tracing... $ECHO_C" >&6; }
5029 # Check whether --enable-mem_tracing was given.
5030 if test "${enable_mem_tracing+set}" = set; then
5031 enableval=$enable_mem_tracing;
5032 if test "$enableval" = yes; then
5033 wx_cv_use_mem_tracing='wxUSE_MEM_TRACING
=yes'
5035 wx_cv_use_mem_tracing='wxUSE_MEM_TRACING
=no
'
5040 wx_cv_use_mem_tracing='wxUSE_MEM_TRACING
=${'DEFAULT_wxUSE_MEM_TRACING":-$defaultval}"
5045 eval "$wx_cv_use_mem_tracing"
5047 if test x"$enablestring" = xdisable; then
5048 if test $wxUSE_MEM_TRACING = yes; then
5054 result=$wxUSE_MEM_TRACING
5057 { echo "$as_me:$LINENO: result
: $result" >&5
5058 echo "${ECHO_T}$result" >&6; }
5063 if test -z "$defaultval"; then
5064 if test x"$enablestring" = xdisable; then
5071 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-profile" >&5
5072 echo $ECHO_N "checking
for --${enablestring:-enable}-profile...
$ECHO_C" >&6; }
5073 # Check whether --enable-profile was given.
5074 if test "${enable_profile+set}" = set; then
5075 enableval=$enable_profile;
5076 if test "$enableval" = yes; then
5077 wx_cv_use_profile='wxUSE_PROFILE=yes'
5079 wx_cv_use_profile='wxUSE_PROFILE=no'
5084 wx_cv_use_profile='wxUSE_PROFILE=${'DEFAULT_wxUSE_PROFILE":-$defaultval}"
5089 eval "$wx_cv_use_profile"
5091 if test x
"$enablestring" = xdisable
; then
5092 if test $wxUSE_PROFILE = yes; then
5098 result
=$wxUSE_PROFILE
5101 { echo "$as_me:$LINENO: result: $result" >&5
5102 echo "${ECHO_T}$result" >&6; }
5107 if test -z "$defaultval"; then
5108 if test x
"$enablestring" = xdisable
; then
5115 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_rtti" >&5
5116 echo $ECHO_N "checking for --${enablestring:-enable}-no_rtti... $ECHO_C" >&6; }
5117 # Check whether --enable-no_rtti was given.
5118 if test "${enable_no_rtti+set}" = set; then
5119 enableval
=$enable_no_rtti;
5120 if test "$enableval" = yes; then
5121 wx_cv_use_no_rtti
='wxUSE_NO_RTTI=yes'
5123 wx_cv_use_no_rtti
='wxUSE_NO_RTTI=no'
5128 wx_cv_use_no_rtti
='wxUSE_NO_RTTI=${'DEFAULT_wxUSE_NO_RTTI":-$defaultval}"
5133 eval "$wx_cv_use_no_rtti"
5135 if test x"$enablestring" = xdisable; then
5136 if test $wxUSE_NO_RTTI = yes; then
5142 result=$wxUSE_NO_RTTI
5145 { echo "$as_me:$LINENO: result: $result" >&5
5146 echo "${ECHO_T}$result" >&6; }
5151 if test -z "$defaultval"; then
5152 if test x"$enablestring" = xdisable; then
5159 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_exceptions" >&5
5160 echo $ECHO_N "checking for --${enablestring:-enable}-no_exceptions... $ECHO_C" >&6; }
5161 # Check whether --enable-no_exceptions was given.
5162 if test "${enable_no_exceptions+set}" = set; then
5163 enableval=$enable_no_exceptions;
5164 if test "$enableval" = yes; then
5165 wx_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS
=yes'
5167 wx_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS
=no
'
5172 wx_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS
=${'DEFAULT_wxUSE_NO_EXCEPTIONS":-$defaultval}"
5177 eval "$wx_cv_use_no_exceptions"
5179 if test x"$enablestring" = xdisable; then
5180 if test $wxUSE_NO_EXCEPTIONS = yes; then
5186 result=$wxUSE_NO_EXCEPTIONS
5189 { echo "$as_me:$LINENO: result
: $result" >&5
5190 echo "${ECHO_T}$result" >&6; }
5195 if test -z "$defaultval"; then
5196 if test x"$enablestring" = xdisable; then
5203 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-permissive" >&5
5204 echo $ECHO_N "checking
for --${enablestring:-enable}-permissive...
$ECHO_C" >&6; }
5205 # Check whether --enable-permissive was given.
5206 if test "${enable_permissive+set}" = set; then
5207 enableval=$enable_permissive;
5208 if test "$enableval" = yes; then
5209 wx_cv_use_permissive='wxUSE_PERMISSIVE=yes'
5211 wx_cv_use_permissive='wxUSE_PERMISSIVE=no'
5216 wx_cv_use_permissive='wxUSE_PERMISSIVE=${'DEFAULT_wxUSE_PERMISSIVE":-$defaultval}"
5221 eval "$wx_cv_use_permissive"
5223 if test x
"$enablestring" = xdisable
; then
5224 if test $wxUSE_PERMISSIVE = yes; then
5230 result
=$wxUSE_PERMISSIVE
5233 { echo "$as_me:$LINENO: result: $result" >&5
5234 echo "${ECHO_T}$result" >&6; }
5239 if test -z "$defaultval"; then
5240 if test x
"$enablestring" = xdisable
; then
5247 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_deps" >&5
5248 echo $ECHO_N "checking for --${enablestring:-enable}-no_deps... $ECHO_C" >&6; }
5249 # Check whether --enable-no_deps was given.
5250 if test "${enable_no_deps+set}" = set; then
5251 enableval
=$enable_no_deps;
5252 if test "$enableval" = yes; then
5253 wx_cv_use_no_deps
='wxUSE_NO_DEPS=yes'
5255 wx_cv_use_no_deps
='wxUSE_NO_DEPS=no'
5260 wx_cv_use_no_deps
='wxUSE_NO_DEPS=${'DEFAULT_wxUSE_NO_DEPS":-$defaultval}"
5265 eval "$wx_cv_use_no_deps"
5267 if test x"$enablestring" = xdisable; then
5268 if test $wxUSE_NO_DEPS = yes; then
5274 result=$wxUSE_NO_DEPS
5277 { echo "$as_me:$LINENO: result: $result" >&5
5278 echo "${ECHO_T}$result" >&6; }
5281 enablestring=disable
5283 if test -z "$defaultval"; then
5284 if test x"$enablestring" = xdisable; then
5291 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-vararg_macros" >&5
5292 echo $ECHO_N "checking for --${enablestring:-enable}-vararg_macros... $ECHO_C" >&6; }
5293 # Check whether --enable-vararg_macros was given.
5294 if test "${enable_vararg_macros+set}" = set; then
5295 enableval=$enable_vararg_macros;
5296 if test "$enableval" = yes; then
5297 wx_cv_use_vararg_macros='wxUSE_VARARG_MACROS
=yes'
5299 wx_cv_use_vararg_macros='wxUSE_VARARG_MACROS
=no
'
5304 wx_cv_use_vararg_macros='wxUSE_VARARG_MACROS
=${'DEFAULT_wxUSE_VARARG_MACROS":-$defaultval}"
5309 eval "$wx_cv_use_vararg_macros"
5311 if test x"$enablestring" = xdisable; then
5312 if test $wxUSE_VARARG_MACROS = yes; then
5318 result=$wxUSE_VARARG_MACROS
5321 { echo "$as_me:$LINENO: result
: $result" >&5
5322 echo "${ECHO_T}$result" >&6; }
5326 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-universal_binary" >&5
5327 echo $ECHO_N "checking
for --${enablestring:-enable}-universal_binary...
$ECHO_C" >&6; }
5328 # Check whether --enable-universal_binary was given.
5329 if test "${enable_universal_binary+set}" = set; then
5330 enableval=$enable_universal_binary;
5331 wx_cv_use_universal_binary="wxUSE_UNIVERSAL_BINARY
='$enableval'"
5335 wx_cv_use_universal_binary='wxUSE_UNIVERSAL_BINARY='$DEFAULT_wxUSE_UNIVERSAL_BINARY
5340 eval "$wx_cv_use_universal_binary"
5342 { echo "$as_me:$LINENO: result
: $wxUSE_UNIVERSAL_BINARY" >&5
5343 echo "${ECHO_T}$wxUSE_UNIVERSAL_BINARY" >&6; }
5349 if test -z "$defaultval"; then
5350 if test x"$enablestring" = xdisable; then
5357 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-compat26" >&5
5358 echo $ECHO_N "checking
for --${enablestring:-enable}-compat26...
$ECHO_C" >&6; }
5359 # Check whether --enable-compat26 was given.
5360 if test "${enable_compat26+set}" = set; then
5361 enableval=$enable_compat26;
5362 if test "$enableval" = yes; then
5363 wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=yes'
5365 wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=no'
5370 wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=${'DEFAULT_WXWIN_COMPATIBILITY_2_6":-$defaultval}"
5375 eval "$wx_cv_use_compat26"
5377 if test x
"$enablestring" = xdisable
; then
5378 if test $WXWIN_COMPATIBILITY_2_6 = yes; then
5384 result
=$WXWIN_COMPATIBILITY_2_6
5387 { echo "$as_me:$LINENO: result: $result" >&5
5388 echo "${ECHO_T}$result" >&6; }
5391 enablestring
=disable
5393 if test -z "$defaultval"; then
5394 if test x
"$enablestring" = xdisable
; then
5401 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat28" >&5
5402 echo $ECHO_N "checking for --${enablestring:-enable}-compat28... $ECHO_C" >&6; }
5403 # Check whether --enable-compat28 was given.
5404 if test "${enable_compat28+set}" = set; then
5405 enableval
=$enable_compat28;
5406 if test "$enableval" = yes; then
5407 wx_cv_use_compat28
='WXWIN_COMPATIBILITY_2_8=yes'
5409 wx_cv_use_compat28
='WXWIN_COMPATIBILITY_2_8=no'
5414 wx_cv_use_compat28
='WXWIN_COMPATIBILITY_2_8=${'DEFAULT_WXWIN_COMPATIBILITY_2_8":-$defaultval}"
5419 eval "$wx_cv_use_compat28"
5421 if test x"$enablestring" = xdisable; then
5422 if test $WXWIN_COMPATIBILITY_2_8 = yes; then
5428 result=$WXWIN_COMPATIBILITY_2_8
5431 { echo "$as_me:$LINENO: result: $result" >&5
5432 echo "${ECHO_T}$result" >&6; }
5436 enablestring=disable
5438 if test -z "$defaultval"; then
5439 if test x"$enablestring" = xdisable; then
5446 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-rpath" >&5
5447 echo $ECHO_N "checking for --${enablestring:-enable}-rpath... $ECHO_C" >&6; }
5448 # Check whether --enable-rpath was given.
5449 if test "${enable_rpath+set}" = set; then
5450 enableval=$enable_rpath;
5451 if test "$enableval" = yes; then
5452 wx_cv_use_rpath='wxUSE_RPATH
=yes'
5454 wx_cv_use_rpath='wxUSE_RPATH
=no
'
5459 wx_cv_use_rpath='wxUSE_RPATH
=${'DEFAULT_wxUSE_RPATH":-$defaultval}"
5464 eval "$wx_cv_use_rpath"
5466 if test x"$enablestring" = xdisable; then
5467 if test $wxUSE_RPATH = yes; then
5476 { echo "$as_me:$LINENO: result
: $result" >&5
5477 echo "${ECHO_T}$result" >&6; }
5483 if test -z "$defaultval"; then
5484 if test x"$enablestring" = xdisable; then
5491 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-objc_uniquifying" >&5
5492 echo $ECHO_N "checking
for --${enablestring:-enable}-objc_uniquifying...
$ECHO_C" >&6; }
5493 # Check whether --enable-objc_uniquifying was given.
5494 if test "${enable_objc_uniquifying+set}" = set; then
5495 enableval=$enable_objc_uniquifying;
5496 if test "$enableval" = yes; then
5497 wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING=yes'
5499 wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING=no'
5504 wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING=${'DEFAULT_wxUSE_OBJC_UNIQUIFYING":-$defaultval}"
5509 eval "$wx_cv_use_objc_uniquifying"
5511 if test x
"$enablestring" = xdisable
; then
5512 if test $wxUSE_OBJC_UNIQUIFYING = yes; then
5518 result
=$wxUSE_OBJC_UNIQUIFYING
5521 { echo "$as_me:$LINENO: result: $result" >&5
5522 echo "${ECHO_T}$result" >&6; }
5526 enablestring
=disable
5528 if test -z "$defaultval"; then
5529 if test x
"$enablestring" = xdisable
; then
5536 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-visibility" >&5
5537 echo $ECHO_N "checking for --${enablestring:-enable}-visibility... $ECHO_C" >&6; }
5538 # Check whether --enable-visibility was given.
5539 if test "${enable_visibility+set}" = set; then
5540 enableval
=$enable_visibility;
5541 if test "$enableval" = yes; then
5542 wx_cv_use_visibility
='wxUSE_VISIBILITY=yes'
5544 wx_cv_use_visibility
='wxUSE_VISIBILITY=no'
5549 wx_cv_use_visibility
='wxUSE_VISIBILITY=${'DEFAULT_wxUSE_VISIBILITY":-$defaultval}"
5554 eval "$wx_cv_use_visibility"
5556 if test x"$enablestring" = xdisable; then
5557 if test $wxUSE_VISIBILITY = yes; then
5563 result=$wxUSE_VISIBILITY
5566 { echo "$as_me:$LINENO: result: $result" >&5
5567 echo "${ECHO_T}$result" >&6; }
5573 defaultval=$wxUSE_ALL_FEATURES
5574 if test -z "$defaultval"; then
5575 if test x"$enablestring" = xdisable; then
5582 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-intl" >&5
5583 echo $ECHO_N "checking for --${enablestring:-enable}-intl... $ECHO_C" >&6; }
5584 # Check whether --enable-intl was given.
5585 if test "${enable_intl+set}" = set; then
5586 enableval=$enable_intl;
5587 if test "$enableval" = yes; then
5588 wx_cv_use_intl='wxUSE_INTL
=yes'
5590 wx_cv_use_intl='wxUSE_INTL
=no
'
5595 wx_cv_use_intl='wxUSE_INTL
=${'DEFAULT_wxUSE_INTL":-$defaultval}"
5600 eval "$wx_cv_use_intl"
5602 if test x"$enablestring" = xdisable; then
5603 if test $wxUSE_INTL = yes; then
5612 { echo "$as_me:$LINENO: result
: $result" >&5
5613 echo "${ECHO_T}$result" >&6; }
5617 defaultval=$wxUSE_ALL_FEATURES
5618 if test -z "$defaultval"; then
5619 if test x"$enablestring" = xdisable; then
5626 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-xlocale" >&5
5627 echo $ECHO_N "checking
for --${enablestring:-enable}-xlocale...
$ECHO_C" >&6; }
5628 # Check whether --enable-xlocale was given.
5629 if test "${enable_xlocale+set}" = set; then
5630 enableval=$enable_xlocale;
5631 if test "$enableval" = yes; then
5632 wx_cv_use_xlocale='wxUSE_XLOCALE=yes'
5634 wx_cv_use_xlocale='wxUSE_XLOCALE=no'
5639 wx_cv_use_xlocale='wxUSE_XLOCALE=${'DEFAULT_wxUSE_XLOCALE":-$defaultval}"
5644 eval "$wx_cv_use_xlocale"
5646 if test x
"$enablestring" = xdisable
; then
5647 if test $wxUSE_XLOCALE = yes; then
5653 result
=$wxUSE_XLOCALE
5656 { echo "$as_me:$LINENO: result: $result" >&5
5657 echo "${ECHO_T}$result" >&6; }
5661 defaultval
=$wxUSE_ALL_FEATURES
5662 if test -z "$defaultval"; then
5663 if test x
"$enablestring" = xdisable
; then
5670 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-config" >&5
5671 echo $ECHO_N "checking for --${enablestring:-enable}-config... $ECHO_C" >&6; }
5672 # Check whether --enable-config was given.
5673 if test "${enable_config+set}" = set; then
5674 enableval
=$enable_config;
5675 if test "$enableval" = yes; then
5676 wx_cv_use_config
='wxUSE_CONFIG=yes'
5678 wx_cv_use_config
='wxUSE_CONFIG=no'
5683 wx_cv_use_config
='wxUSE_CONFIG=${'DEFAULT_wxUSE_CONFIG":-$defaultval}"
5688 eval "$wx_cv_use_config"
5690 if test x"$enablestring" = xdisable; then
5691 if test $wxUSE_CONFIG = yes; then
5697 result=$wxUSE_CONFIG
5700 { echo "$as_me:$LINENO: result: $result" >&5
5701 echo "${ECHO_T}$result" >&6; }
5706 defaultval=$wxUSE_ALL_FEATURES
5707 if test -z "$defaultval"; then
5708 if test x"$enablestring" = xdisable; then
5715 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocols" >&5
5716 echo $ECHO_N "checking for --${enablestring:-enable}-protocols... $ECHO_C" >&6; }
5717 # Check whether --enable-protocols was given.
5718 if test "${enable_protocols+set}" = set; then
5719 enableval=$enable_protocols;
5720 if test "$enableval" = yes; then
5721 wx_cv_use_protocols='wxUSE_PROTOCOL
=yes'
5723 wx_cv_use_protocols='wxUSE_PROTOCOL
=no
'
5728 wx_cv_use_protocols='wxUSE_PROTOCOL
=${'DEFAULT_wxUSE_PROTOCOL":-$defaultval}"
5733 eval "$wx_cv_use_protocols"
5735 if test x"$enablestring" = xdisable; then
5736 if test $wxUSE_PROTOCOL = yes; then
5742 result=$wxUSE_PROTOCOL
5745 { echo "$as_me:$LINENO: result
: $result" >&5
5746 echo "${ECHO_T}$result" >&6; }
5750 defaultval=$wxUSE_ALL_FEATURES
5751 if test -z "$defaultval"; then
5752 if test x"$enablestring" = xdisable; then
5759 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-ftp" >&5
5760 echo $ECHO_N "checking
for --${enablestring:-enable}-ftp...
$ECHO_C" >&6; }
5761 # Check whether --enable-ftp was given.
5762 if test "${enable_ftp+set}" = set; then
5763 enableval=$enable_ftp;
5764 if test "$enableval" = yes; then
5765 wx_cv_use_ftp='wxUSE_PROTOCOL_FTP=yes'
5767 wx_cv_use_ftp='wxUSE_PROTOCOL_FTP=no'
5772 wx_cv_use_ftp='wxUSE_PROTOCOL_FTP=${'DEFAULT_wxUSE_PROTOCOL_FTP":-$defaultval}"
5777 eval "$wx_cv_use_ftp"
5779 if test x
"$enablestring" = xdisable
; then
5780 if test $wxUSE_PROTOCOL_FTP = yes; then
5786 result
=$wxUSE_PROTOCOL_FTP
5789 { echo "$as_me:$LINENO: result: $result" >&5
5790 echo "${ECHO_T}$result" >&6; }
5794 defaultval
=$wxUSE_ALL_FEATURES
5795 if test -z "$defaultval"; then
5796 if test x
"$enablestring" = xdisable
; then
5803 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-http" >&5
5804 echo $ECHO_N "checking for --${enablestring:-enable}-http... $ECHO_C" >&6; }
5805 # Check whether --enable-http was given.
5806 if test "${enable_http+set}" = set; then
5807 enableval
=$enable_http;
5808 if test "$enableval" = yes; then
5809 wx_cv_use_http
='wxUSE_PROTOCOL_HTTP=yes'
5811 wx_cv_use_http
='wxUSE_PROTOCOL_HTTP=no'
5816 wx_cv_use_http
='wxUSE_PROTOCOL_HTTP=${'DEFAULT_wxUSE_PROTOCOL_HTTP":-$defaultval}"
5821 eval "$wx_cv_use_http"
5823 if test x"$enablestring" = xdisable; then
5824 if test $wxUSE_PROTOCOL_HTTP = yes; then
5830 result=$wxUSE_PROTOCOL_HTTP
5833 { echo "$as_me:$LINENO: result: $result" >&5
5834 echo "${ECHO_T}$result" >&6; }
5838 defaultval=$wxUSE_ALL_FEATURES
5839 if test -z "$defaultval"; then
5840 if test x"$enablestring" = xdisable; then
5847 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fileproto" >&5
5848 echo $ECHO_N "checking for --${enablestring:-enable}-fileproto... $ECHO_C" >&6; }
5849 # Check whether --enable-fileproto was given.
5850 if test "${enable_fileproto+set}" = set; then
5851 enableval=$enable_fileproto;
5852 if test "$enableval" = yes; then
5853 wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE
=yes'
5855 wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE
=no
'
5860 wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE
=${'DEFAULT_wxUSE_PROTOCOL_FILE":-$defaultval}"
5865 eval "$wx_cv_use_fileproto"
5867 if test x"$enablestring" = xdisable; then
5868 if test $wxUSE_PROTOCOL_FILE = yes; then
5874 result=$wxUSE_PROTOCOL_FILE
5877 { echo "$as_me:$LINENO: result
: $result" >&5
5878 echo "${ECHO_T}$result" >&6; }
5882 defaultval=$wxUSE_ALL_FEATURES
5883 if test -z "$defaultval"; then
5884 if test x"$enablestring" = xdisable; then
5891 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-sockets" >&5
5892 echo $ECHO_N "checking
for --${enablestring:-enable}-sockets...
$ECHO_C" >&6; }
5893 # Check whether --enable-sockets was given.
5894 if test "${enable_sockets+set}" = set; then
5895 enableval=$enable_sockets;
5896 if test "$enableval" = yes; then
5897 wx_cv_use_sockets='wxUSE_SOCKETS=yes'
5899 wx_cv_use_sockets='wxUSE_SOCKETS=no'
5904 wx_cv_use_sockets='wxUSE_SOCKETS=${'DEFAULT_wxUSE_SOCKETS":-$defaultval}"
5909 eval "$wx_cv_use_sockets"
5911 if test x
"$enablestring" = xdisable
; then
5912 if test $wxUSE_SOCKETS = yes; then
5918 result
=$wxUSE_SOCKETS
5921 { echo "$as_me:$LINENO: result: $result" >&5
5922 echo "${ECHO_T}$result" >&6; }
5926 defaultval
=$wxUSE_ALL_FEATURES
5927 if test -z "$defaultval"; then
5928 if test x
"$enablestring" = xdisable
; then
5935 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ipv6" >&5
5936 echo $ECHO_N "checking for --${enablestring:-enable}-ipv6... $ECHO_C" >&6; }
5937 # Check whether --enable-ipv6 was given.
5938 if test "${enable_ipv6+set}" = set; then
5939 enableval
=$enable_ipv6;
5940 if test "$enableval" = yes; then
5941 wx_cv_use_ipv6
='wxUSE_IPV6=yes'
5943 wx_cv_use_ipv6
='wxUSE_IPV6=no'
5948 wx_cv_use_ipv6
='wxUSE_IPV6=${'DEFAULT_wxUSE_IPV6":-$defaultval}"
5953 eval "$wx_cv_use_ipv6"
5955 if test x"$enablestring" = xdisable; then
5956 if test $wxUSE_IPV6 = yes; then
5965 { echo "$as_me:$LINENO: result: $result" >&5
5966 echo "${ECHO_T}$result" >&6; }
5970 defaultval=$wxUSE_ALL_FEATURES
5971 if test -z "$defaultval"; then
5972 if test x"$enablestring" = xdisable; then
5979 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ole" >&5
5980 echo $ECHO_N "checking for --${enablestring:-enable}-ole... $ECHO_C" >&6; }
5981 # Check whether --enable-ole was given.
5982 if test "${enable_ole+set}" = set; then
5983 enableval=$enable_ole;
5984 if test "$enableval" = yes; then
5985 wx_cv_use_ole='wxUSE_OLE
=yes'
5987 wx_cv_use_ole='wxUSE_OLE
=no
'
5992 wx_cv_use_ole='wxUSE_OLE
=${'DEFAULT_wxUSE_OLE":-$defaultval}"
5997 eval "$wx_cv_use_ole"
5999 if test x"$enablestring" = xdisable; then
6000 if test $wxUSE_OLE = yes; then
6009 { echo "$as_me:$LINENO: result
: $result" >&5
6010 echo "${ECHO_T}$result" >&6; }
6014 defaultval=$wxUSE_ALL_FEATURES
6015 if test -z "$defaultval"; then
6016 if test x"$enablestring" = xdisable; then
6023 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-dataobj" >&5
6024 echo $ECHO_N "checking
for --${enablestring:-enable}-dataobj...
$ECHO_C" >&6; }
6025 # Check whether --enable-dataobj was given.
6026 if test "${enable_dataobj+set}" = set; then
6027 enableval=$enable_dataobj;
6028 if test "$enableval" = yes; then
6029 wx_cv_use_dataobj='wxUSE_DATAOBJ=yes'
6031 wx_cv_use_dataobj='wxUSE_DATAOBJ=no'
6036 wx_cv_use_dataobj='wxUSE_DATAOBJ=${'DEFAULT_wxUSE_DATAOBJ":-$defaultval}"
6041 eval "$wx_cv_use_dataobj"
6043 if test x
"$enablestring" = xdisable
; then
6044 if test $wxUSE_DATAOBJ = yes; then
6050 result
=$wxUSE_DATAOBJ
6053 { echo "$as_me:$LINENO: result: $result" >&5
6054 echo "${ECHO_T}$result" >&6; }
6059 defaultval
=$wxUSE_ALL_FEATURES
6060 if test -z "$defaultval"; then
6061 if test x
"$enablestring" = xdisable
; then
6068 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ipc" >&5
6069 echo $ECHO_N "checking for --${enablestring:-enable}-ipc... $ECHO_C" >&6; }
6070 # Check whether --enable-ipc was given.
6071 if test "${enable_ipc+set}" = set; then
6072 enableval
=$enable_ipc;
6073 if test "$enableval" = yes; then
6074 wx_cv_use_ipc
='wxUSE_IPC=yes'
6076 wx_cv_use_ipc
='wxUSE_IPC=no'
6081 wx_cv_use_ipc
='wxUSE_IPC=${'DEFAULT_wxUSE_IPC":-$defaultval}"
6086 eval "$wx_cv_use_ipc"
6088 if test x"$enablestring" = xdisable; then
6089 if test $wxUSE_IPC = yes; then
6098 { echo "$as_me:$LINENO: result: $result" >&5
6099 echo "${ECHO_T}$result" >&6; }
6104 defaultval=$wxUSE_ALL_FEATURES
6105 if test -z "$defaultval"; then
6106 if test x"$enablestring" = xdisable; then
6113 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-baseevtloop" >&5
6114 echo $ECHO_N "checking for --${enablestring:-enable}-baseevtloop... $ECHO_C" >&6; }
6115 # Check whether --enable-baseevtloop was given.
6116 if test "${enable_baseevtloop+set}" = set; then
6117 enableval=$enable_baseevtloop;
6118 if test "$enableval" = yes; then
6119 wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP
=yes'
6121 wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP
=no
'
6126 wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP
=${'DEFAULT_wxUSE_CONSOLE_EVENTLOOP":-$defaultval}"
6131 eval "$wx_cv_use_baseevtloop"
6133 if test x"$enablestring" = xdisable; then
6134 if test $wxUSE_CONSOLE_EVENTLOOP = yes; then
6140 result=$wxUSE_CONSOLE_EVENTLOOP
6143 { echo "$as_me:$LINENO: result
: $result" >&5
6144 echo "${ECHO_T}$result" >&6; }
6148 defaultval=$wxUSE_ALL_FEATURES
6149 if test -z "$defaultval"; then
6150 if test x"$enablestring" = xdisable; then
6157 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-epollloop" >&5
6158 echo $ECHO_N "checking
for --${enablestring:-enable}-epollloop...
$ECHO_C" >&6; }
6159 # Check whether --enable-epollloop was given.
6160 if test "${enable_epollloop+set}" = set; then
6161 enableval=$enable_epollloop;
6162 if test "$enableval" = yes; then
6163 wx_cv_use_epollloop='wxUSE_EPOLL_DISPATCHER=yes'
6165 wx_cv_use_epollloop='wxUSE_EPOLL_DISPATCHER=no'
6170 wx_cv_use_epollloop='wxUSE_EPOLL_DISPATCHER=${'DEFAULT_wxUSE_EPOLL_DISPATCHER":-$defaultval}"
6175 eval "$wx_cv_use_epollloop"
6177 if test x
"$enablestring" = xdisable
; then
6178 if test $wxUSE_EPOLL_DISPATCHER = yes; then
6184 result
=$wxUSE_EPOLL_DISPATCHER
6187 { echo "$as_me:$LINENO: result: $result" >&5
6188 echo "${ECHO_T}$result" >&6; }
6192 defaultval
=$wxUSE_ALL_FEATURES
6193 if test -z "$defaultval"; then
6194 if test x
"$enablestring" = xdisable
; then
6201 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-selectloop" >&5
6202 echo $ECHO_N "checking for --${enablestring:-enable}-selectloop... $ECHO_C" >&6; }
6203 # Check whether --enable-selectloop was given.
6204 if test "${enable_selectloop+set}" = set; then
6205 enableval
=$enable_selectloop;
6206 if test "$enableval" = yes; then
6207 wx_cv_use_selectloop
='wxUSE_SELECT_DISPATCHER=yes'
6209 wx_cv_use_selectloop
='wxUSE_SELECT_DISPATCHER=no'
6214 wx_cv_use_selectloop
='wxUSE_SELECT_DISPATCHER=${'DEFAULT_wxUSE_SELECT_DISPATCHER":-$defaultval}"
6219 eval "$wx_cv_use_selectloop"
6221 if test x"$enablestring" = xdisable; then
6222 if test $wxUSE_SELECT_DISPATCHER = yes; then
6228 result=$wxUSE_SELECT_DISPATCHER
6231 { echo "$as_me:$LINENO: result: $result" >&5
6232 echo "${ECHO_T}$result" >&6; }
6237 defaultval=$wxUSE_ALL_FEATURES
6238 if test -z "$defaultval"; then
6239 if test x"$enablestring" = xdisable; then
6246 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-apple_ieee" >&5
6247 echo $ECHO_N "checking for --${enablestring:-enable}-apple_ieee... $ECHO_C" >&6; }
6248 # Check whether --enable-apple_ieee was given.
6249 if test "${enable_apple_ieee+set}" = set; then
6250 enableval=$enable_apple_ieee;
6251 if test "$enableval" = yes; then
6252 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE
=yes'
6254 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE
=no
'
6259 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE
=${'DEFAULT_wxUSE_APPLE_IEEE":-$defaultval}"
6264 eval "$wx_cv_use_apple_ieee"
6266 if test x"$enablestring" = xdisable; then
6267 if test $wxUSE_APPLE_IEEE = yes; then
6273 result=$wxUSE_APPLE_IEEE
6276 { echo "$as_me:$LINENO: result
: $result" >&5
6277 echo "${ECHO_T}$result" >&6; }
6281 defaultval=$wxUSE_ALL_FEATURES
6282 if test -z "$defaultval"; then
6283 if test x"$enablestring" = xdisable; then
6290 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-arcstream" >&5
6291 echo $ECHO_N "checking
for --${enablestring:-enable}-arcstream...
$ECHO_C" >&6; }
6292 # Check whether --enable-arcstream was given.
6293 if test "${enable_arcstream+set}" = set; then
6294 enableval=$enable_arcstream;
6295 if test "$enableval" = yes; then
6296 wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=yes'
6298 wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=no'
6303 wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=${'DEFAULT_wxUSE_ARCHIVE_STREAMS":-$defaultval}"
6308 eval "$wx_cv_use_arcstream"
6310 if test x
"$enablestring" = xdisable
; then
6311 if test $wxUSE_ARCHIVE_STREAMS = yes; then
6317 result
=$wxUSE_ARCHIVE_STREAMS
6320 { echo "$as_me:$LINENO: result: $result" >&5
6321 echo "${ECHO_T}$result" >&6; }
6325 defaultval
=$wxUSE_ALL_FEATURES
6326 if test -z "$defaultval"; then
6327 if test x
"$enablestring" = xdisable
; then
6334 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-base64" >&5
6335 echo $ECHO_N "checking for --${enablestring:-enable}-base64... $ECHO_C" >&6; }
6336 # Check whether --enable-base64 was given.
6337 if test "${enable_base64+set}" = set; then
6338 enableval
=$enable_base64;
6339 if test "$enableval" = yes; then
6340 wx_cv_use_base64
='wxUSE_BASE64=yes'
6342 wx_cv_use_base64
='wxUSE_BASE64=no'
6347 wx_cv_use_base64
='wxUSE_BASE64=${'DEFAULT_wxUSE_BASE64":-$defaultval}"
6352 eval "$wx_cv_use_base64"
6354 if test x"$enablestring" = xdisable; then
6355 if test $wxUSE_BASE64 = yes; then
6361 result=$wxUSE_BASE64
6364 { echo "$as_me:$LINENO: result: $result" >&5
6365 echo "${ECHO_T}$result" >&6; }
6369 defaultval=$wxUSE_ALL_FEATURES
6370 if test -z "$defaultval"; then
6371 if test x"$enablestring" = xdisable; then
6378 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-backtrace" >&5
6379 echo $ECHO_N "checking for --${enablestring:-enable}-backtrace... $ECHO_C" >&6; }
6380 # Check whether --enable-backtrace was given.
6381 if test "${enable_backtrace+set}" = set; then
6382 enableval=$enable_backtrace;
6383 if test "$enableval" = yes; then
6384 wx_cv_use_backtrace='wxUSE_STACKWALKER
=yes'
6386 wx_cv_use_backtrace='wxUSE_STACKWALKER
=no
'
6391 wx_cv_use_backtrace='wxUSE_STACKWALKER
=${'DEFAULT_wxUSE_STACKWALKER":-$defaultval}"
6396 eval "$wx_cv_use_backtrace"
6398 if test x"$enablestring" = xdisable; then
6399 if test $wxUSE_STACKWALKER = yes; then
6405 result=$wxUSE_STACKWALKER
6408 { echo "$as_me:$LINENO: result
: $result" >&5
6409 echo "${ECHO_T}$result" >&6; }
6413 defaultval=$wxUSE_ALL_FEATURES
6414 if test -z "$defaultval"; then
6415 if test x"$enablestring" = xdisable; then
6422 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-catch_segvs" >&5
6423 echo $ECHO_N "checking
for --${enablestring:-enable}-catch_segvs...
$ECHO_C" >&6; }
6424 # Check whether --enable-catch_segvs was given.
6425 if test "${enable_catch_segvs+set}" = set; then
6426 enableval=$enable_catch_segvs;
6427 if test "$enableval" = yes; then
6428 wx_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=yes'
6430 wx_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=no'
6435 wx_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=${'DEFAULT_wxUSE_ON_FATAL_EXCEPTION":-$defaultval}"
6440 eval "$wx_cv_use_catch_segvs"
6442 if test x
"$enablestring" = xdisable
; then
6443 if test $wxUSE_ON_FATAL_EXCEPTION = yes; then
6449 result
=$wxUSE_ON_FATAL_EXCEPTION
6452 { echo "$as_me:$LINENO: result: $result" >&5
6453 echo "${ECHO_T}$result" >&6; }
6457 defaultval
=$wxUSE_ALL_FEATURES
6458 if test -z "$defaultval"; then
6459 if test x
"$enablestring" = xdisable
; then
6466 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-cmdline" >&5
6467 echo $ECHO_N "checking for --${enablestring:-enable}-cmdline... $ECHO_C" >&6; }
6468 # Check whether --enable-cmdline was given.
6469 if test "${enable_cmdline+set}" = set; then
6470 enableval
=$enable_cmdline;
6471 if test "$enableval" = yes; then
6472 wx_cv_use_cmdline
='wxUSE_CMDLINE_PARSER=yes'
6474 wx_cv_use_cmdline
='wxUSE_CMDLINE_PARSER=no'
6479 wx_cv_use_cmdline
='wxUSE_CMDLINE_PARSER=${'DEFAULT_wxUSE_CMDLINE_PARSER":-$defaultval}"
6484 eval "$wx_cv_use_cmdline"
6486 if test x"$enablestring" = xdisable; then
6487 if test $wxUSE_CMDLINE_PARSER = yes; then
6493 result=$wxUSE_CMDLINE_PARSER
6496 { echo "$as_me:$LINENO: result: $result" >&5
6497 echo "${ECHO_T}$result" >&6; }
6501 defaultval=$wxUSE_ALL_FEATURES
6502 if test -z "$defaultval"; then
6503 if test x"$enablestring" = xdisable; then
6510 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datetime" >&5
6511 echo $ECHO_N "checking for --${enablestring:-enable}-datetime... $ECHO_C" >&6; }
6512 # Check whether --enable-datetime was given.
6513 if test "${enable_datetime+set}" = set; then
6514 enableval=$enable_datetime;
6515 if test "$enableval" = yes; then
6516 wx_cv_use_datetime='wxUSE_DATETIME
=yes'
6518 wx_cv_use_datetime='wxUSE_DATETIME
=no
'
6523 wx_cv_use_datetime='wxUSE_DATETIME
=${'DEFAULT_wxUSE_DATETIME":-$defaultval}"
6528 eval "$wx_cv_use_datetime"
6530 if test x"$enablestring" = xdisable; then
6531 if test $wxUSE_DATETIME = yes; then
6537 result=$wxUSE_DATETIME
6540 { echo "$as_me:$LINENO: result
: $result" >&5
6541 echo "${ECHO_T}$result" >&6; }
6545 defaultval=$wxUSE_ALL_FEATURES
6546 if test -z "$defaultval"; then
6547 if test x"$enablestring" = xdisable; then
6554 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-debugreport" >&5
6555 echo $ECHO_N "checking
for --${enablestring:-enable}-debugreport...
$ECHO_C" >&6; }
6556 # Check whether --enable-debugreport was given.
6557 if test "${enable_debugreport+set}" = set; then
6558 enableval=$enable_debugreport;
6559 if test "$enableval" = yes; then
6560 wx_cv_use_debugreport='wxUSE_DEBUGREPORT=yes'
6562 wx_cv_use_debugreport='wxUSE_DEBUGREPORT=no'
6567 wx_cv_use_debugreport='wxUSE_DEBUGREPORT=${'DEFAULT_wxUSE_DEBUGREPORT":-$defaultval}"
6572 eval "$wx_cv_use_debugreport"
6574 if test x
"$enablestring" = xdisable
; then
6575 if test $wxUSE_DEBUGREPORT = yes; then
6581 result
=$wxUSE_DEBUGREPORT
6584 { echo "$as_me:$LINENO: result: $result" >&5
6585 echo "${ECHO_T}$result" >&6; }
6589 defaultval
=$wxUSE_ALL_FEATURES
6590 if test -z "$defaultval"; then
6591 if test x
"$enablestring" = xdisable
; then
6598 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dialupman" >&5
6599 echo $ECHO_N "checking for --${enablestring:-enable}-dialupman... $ECHO_C" >&6; }
6600 # Check whether --enable-dialupman was given.
6601 if test "${enable_dialupman+set}" = set; then
6602 enableval
=$enable_dialupman;
6603 if test "$enableval" = yes; then
6604 wx_cv_use_dialupman
='wxUSE_DIALUP_MANAGER=yes'
6606 wx_cv_use_dialupman
='wxUSE_DIALUP_MANAGER=no'
6611 wx_cv_use_dialupman
='wxUSE_DIALUP_MANAGER=${'DEFAULT_wxUSE_DIALUP_MANAGER":-$defaultval}"
6616 eval "$wx_cv_use_dialupman"
6618 if test x"$enablestring" = xdisable; then
6619 if test $wxUSE_DIALUP_MANAGER = yes; then
6625 result=$wxUSE_DIALUP_MANAGER
6628 { echo "$as_me:$LINENO: result: $result" >&5
6629 echo "${ECHO_T}$result" >&6; }
6633 defaultval=$wxUSE_ALL_FEATURES
6634 if test -z "$defaultval"; then
6635 if test x"$enablestring" = xdisable; then
6642 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynlib" >&5
6643 echo $ECHO_N "checking for --${enablestring:-enable}-dynlib... $ECHO_C" >&6; }
6644 # Check whether --enable-dynlib was given.
6645 if test "${enable_dynlib+set}" = set; then
6646 enableval=$enable_dynlib;
6647 if test "$enableval" = yes; then
6648 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS
=yes'
6650 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS
=no
'
6655 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS
=${'DEFAULT_wxUSE_DYNLIB_CLASS":-$defaultval}"
6660 eval "$wx_cv_use_dynlib"
6662 if test x"$enablestring" = xdisable; then
6663 if test $wxUSE_DYNLIB_CLASS = yes; then
6669 result=$wxUSE_DYNLIB_CLASS
6672 { echo "$as_me:$LINENO: result
: $result" >&5
6673 echo "${ECHO_T}$result" >&6; }
6677 defaultval=$wxUSE_ALL_FEATURES
6678 if test -z "$defaultval"; then
6679 if test x"$enablestring" = xdisable; then
6686 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-dynamicloader" >&5
6687 echo $ECHO_N "checking
for --${enablestring:-enable}-dynamicloader...
$ECHO_C" >&6; }
6688 # Check whether --enable-dynamicloader was given.
6689 if test "${enable_dynamicloader+set}" = set; then
6690 enableval=$enable_dynamicloader;
6691 if test "$enableval" = yes; then
6692 wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=yes'
6694 wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=no'
6699 wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=${'DEFAULT_wxUSE_DYNAMIC_LOADER":-$defaultval}"
6704 eval "$wx_cv_use_dynamicloader"
6706 if test x
"$enablestring" = xdisable
; then
6707 if test $wxUSE_DYNAMIC_LOADER = yes; then
6713 result
=$wxUSE_DYNAMIC_LOADER
6716 { echo "$as_me:$LINENO: result: $result" >&5
6717 echo "${ECHO_T}$result" >&6; }
6721 defaultval
=$wxUSE_ALL_FEATURES
6722 if test -z "$defaultval"; then
6723 if test x
"$enablestring" = xdisable
; then
6730 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-exceptions" >&5
6731 echo $ECHO_N "checking for --${enablestring:-enable}-exceptions... $ECHO_C" >&6; }
6732 # Check whether --enable-exceptions was given.
6733 if test "${enable_exceptions+set}" = set; then
6734 enableval
=$enable_exceptions;
6735 if test "$enableval" = yes; then
6736 wx_cv_use_exceptions
='wxUSE_EXCEPTIONS=yes'
6738 wx_cv_use_exceptions
='wxUSE_EXCEPTIONS=no'
6743 wx_cv_use_exceptions
='wxUSE_EXCEPTIONS=${'DEFAULT_wxUSE_EXCEPTIONS":-$defaultval}"
6748 eval "$wx_cv_use_exceptions"
6750 if test x"$enablestring" = xdisable; then
6751 if test $wxUSE_EXCEPTIONS = yes; then
6757 result=$wxUSE_EXCEPTIONS
6760 { echo "$as_me:$LINENO: result: $result" >&5
6761 echo "${ECHO_T}$result" >&6; }
6765 defaultval=$wxUSE_ALL_FEATURES
6766 if test -z "$defaultval"; then
6767 if test x"$enablestring" = xdisable; then
6774 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ffile" >&5
6775 echo $ECHO_N "checking for --${enablestring:-enable}-ffile... $ECHO_C" >&6; }
6776 # Check whether --enable-ffile was given.
6777 if test "${enable_ffile+set}" = set; then
6778 enableval=$enable_ffile;
6779 if test "$enableval" = yes; then
6780 wx_cv_use_ffile='wxUSE_FFILE
=yes'
6782 wx_cv_use_ffile='wxUSE_FFILE
=no
'
6787 wx_cv_use_ffile='wxUSE_FFILE
=${'DEFAULT_wxUSE_FFILE":-$defaultval}"
6792 eval "$wx_cv_use_ffile"
6794 if test x"$enablestring" = xdisable; then
6795 if test $wxUSE_FFILE = yes; then
6804 { echo "$as_me:$LINENO: result
: $result" >&5
6805 echo "${ECHO_T}$result" >&6; }
6809 defaultval=$wxUSE_ALL_FEATURES
6810 if test -z "$defaultval"; then
6811 if test x"$enablestring" = xdisable; then
6818 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-file" >&5
6819 echo $ECHO_N "checking
for --${enablestring:-enable}-file...
$ECHO_C" >&6; }
6820 # Check whether --enable-file was given.
6821 if test "${enable_file+set}" = set; then
6822 enableval=$enable_file;
6823 if test "$enableval" = yes; then
6824 wx_cv_use_file='wxUSE_FILE=yes'
6826 wx_cv_use_file='wxUSE_FILE=no'
6831 wx_cv_use_file='wxUSE_FILE=${'DEFAULT_wxUSE_FILE":-$defaultval}"
6836 eval "$wx_cv_use_file"
6838 if test x
"$enablestring" = xdisable
; then
6839 if test $wxUSE_FILE = yes; then
6848 { echo "$as_me:$LINENO: result: $result" >&5
6849 echo "${ECHO_T}$result" >&6; }
6853 defaultval
=$wxUSE_ALL_FEATURES
6854 if test -z "$defaultval"; then
6855 if test x
"$enablestring" = xdisable
; then
6862 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filesystem" >&5
6863 echo $ECHO_N "checking for --${enablestring:-enable}-filesystem... $ECHO_C" >&6; }
6864 # Check whether --enable-filesystem was given.
6865 if test "${enable_filesystem+set}" = set; then
6866 enableval
=$enable_filesystem;
6867 if test "$enableval" = yes; then
6868 wx_cv_use_filesystem
='wxUSE_FILESYSTEM=yes'
6870 wx_cv_use_filesystem
='wxUSE_FILESYSTEM=no'
6875 wx_cv_use_filesystem
='wxUSE_FILESYSTEM=${'DEFAULT_wxUSE_FILESYSTEM":-$defaultval}"
6880 eval "$wx_cv_use_filesystem"
6882 if test x"$enablestring" = xdisable; then
6883 if test $wxUSE_FILESYSTEM = yes; then
6889 result=$wxUSE_FILESYSTEM
6892 { echo "$as_me:$LINENO: result: $result" >&5
6893 echo "${ECHO_T}$result" >&6; }
6897 defaultval=$wxUSE_ALL_FEATURES
6898 if test -z "$defaultval"; then
6899 if test x"$enablestring" = xdisable; then
6906 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontenum" >&5
6907 echo $ECHO_N "checking for --${enablestring:-enable}-fontenum... $ECHO_C" >&6; }
6908 # Check whether --enable-fontenum was given.
6909 if test "${enable_fontenum+set}" = set; then
6910 enableval=$enable_fontenum;
6911 if test "$enableval" = yes; then
6912 wx_cv_use_fontenum='wxUSE_FONTENUM
=yes'
6914 wx_cv_use_fontenum='wxUSE_FONTENUM
=no
'
6919 wx_cv_use_fontenum='wxUSE_FONTENUM
=${'DEFAULT_wxUSE_FONTENUM":-$defaultval}"
6924 eval "$wx_cv_use_fontenum"
6926 if test x"$enablestring" = xdisable; then
6927 if test $wxUSE_FONTENUM = yes; then
6933 result=$wxUSE_FONTENUM
6936 { echo "$as_me:$LINENO: result
: $result" >&5
6937 echo "${ECHO_T}$result" >&6; }
6941 defaultval=$wxUSE_ALL_FEATURES
6942 if test -z "$defaultval"; then
6943 if test x"$enablestring" = xdisable; then
6950 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-fontmap" >&5
6951 echo $ECHO_N "checking
for --${enablestring:-enable}-fontmap...
$ECHO_C" >&6; }
6952 # Check whether --enable-fontmap was given.
6953 if test "${enable_fontmap+set}" = set; then
6954 enableval=$enable_fontmap;
6955 if test "$enableval" = yes; then
6956 wx_cv_use_fontmap='wxUSE_FONTMAP=yes'
6958 wx_cv_use_fontmap='wxUSE_FONTMAP=no'
6963 wx_cv_use_fontmap='wxUSE_FONTMAP=${'DEFAULT_wxUSE_FONTMAP":-$defaultval}"
6968 eval "$wx_cv_use_fontmap"
6970 if test x
"$enablestring" = xdisable
; then
6971 if test $wxUSE_FONTMAP = yes; then
6977 result
=$wxUSE_FONTMAP
6980 { echo "$as_me:$LINENO: result: $result" >&5
6981 echo "${ECHO_T}$result" >&6; }
6985 defaultval
=$wxUSE_ALL_FEATURES
6986 if test -z "$defaultval"; then
6987 if test x
"$enablestring" = xdisable
; then
6994 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_archive" >&5
6995 echo $ECHO_N "checking for --${enablestring:-enable}-fs_archive... $ECHO_C" >&6; }
6996 # Check whether --enable-fs_archive was given.
6997 if test "${enable_fs_archive+set}" = set; then
6998 enableval
=$enable_fs_archive;
6999 if test "$enableval" = yes; then
7000 wx_cv_use_fs_archive
='wxUSE_FS_ARCHIVE=yes'
7002 wx_cv_use_fs_archive
='wxUSE_FS_ARCHIVE=no'
7007 wx_cv_use_fs_archive
='wxUSE_FS_ARCHIVE=${'DEFAULT_wxUSE_FS_ARCHIVE":-$defaultval}"
7012 eval "$wx_cv_use_fs_archive"
7014 if test x"$enablestring" = xdisable; then
7015 if test $wxUSE_FS_ARCHIVE = yes; then
7021 result=$wxUSE_FS_ARCHIVE
7024 { echo "$as_me:$LINENO: result: $result" >&5
7025 echo "${ECHO_T}$result" >&6; }
7029 defaultval=$wxUSE_ALL_FEATURES
7030 if test -z "$defaultval"; then
7031 if test x"$enablestring" = xdisable; then
7038 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_inet" >&5
7039 echo $ECHO_N "checking for --${enablestring:-enable}-fs_inet... $ECHO_C" >&6; }
7040 # Check whether --enable-fs_inet was given.
7041 if test "${enable_fs_inet+set}" = set; then
7042 enableval=$enable_fs_inet;
7043 if test "$enableval" = yes; then
7044 wx_cv_use_fs_inet='wxUSE_FS_INET
=yes'
7046 wx_cv_use_fs_inet='wxUSE_FS_INET
=no
'
7051 wx_cv_use_fs_inet='wxUSE_FS_INET
=${'DEFAULT_wxUSE_FS_INET":-$defaultval}"
7056 eval "$wx_cv_use_fs_inet"
7058 if test x"$enablestring" = xdisable; then
7059 if test $wxUSE_FS_INET = yes; then
7065 result=$wxUSE_FS_INET
7068 { echo "$as_me:$LINENO: result
: $result" >&5
7069 echo "${ECHO_T}$result" >&6; }
7073 defaultval=$wxUSE_ALL_FEATURES
7074 if test -z "$defaultval"; then
7075 if test x"$enablestring" = xdisable; then
7082 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-fs_zip" >&5
7083 echo $ECHO_N "checking
for --${enablestring:-enable}-fs_zip...
$ECHO_C" >&6; }
7084 # Check whether --enable-fs_zip was given.
7085 if test "${enable_fs_zip+set}" = set; then
7086 enableval=$enable_fs_zip;
7087 if test "$enableval" = yes; then
7088 wx_cv_use_fs_zip='wxUSE_FS_ZIP=yes'
7090 wx_cv_use_fs_zip='wxUSE_FS_ZIP=no'
7095 wx_cv_use_fs_zip='wxUSE_FS_ZIP=${'DEFAULT_wxUSE_FS_ZIP":-$defaultval}"
7100 eval "$wx_cv_use_fs_zip"
7102 if test x
"$enablestring" = xdisable
; then
7103 if test $wxUSE_FS_ZIP = yes; then
7109 result
=$wxUSE_FS_ZIP
7112 { echo "$as_me:$LINENO: result: $result" >&5
7113 echo "${ECHO_T}$result" >&6; }
7117 defaultval
=$wxUSE_ALL_FEATURES
7118 if test -z "$defaultval"; then
7119 if test x
"$enablestring" = xdisable
; then
7126 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-geometry" >&5
7127 echo $ECHO_N "checking for --${enablestring:-enable}-geometry... $ECHO_C" >&6; }
7128 # Check whether --enable-geometry was given.
7129 if test "${enable_geometry+set}" = set; then
7130 enableval
=$enable_geometry;
7131 if test "$enableval" = yes; then
7132 wx_cv_use_geometry
='wxUSE_GEOMETRY=yes'
7134 wx_cv_use_geometry
='wxUSE_GEOMETRY=no'
7139 wx_cv_use_geometry
='wxUSE_GEOMETRY=${'DEFAULT_wxUSE_GEOMETRY":-$defaultval}"
7144 eval "$wx_cv_use_geometry"
7146 if test x"$enablestring" = xdisable; then
7147 if test $wxUSE_GEOMETRY = yes; then
7153 result=$wxUSE_GEOMETRY
7156 { echo "$as_me:$LINENO: result: $result" >&5
7157 echo "${ECHO_T}$result" >&6; }
7161 defaultval=$wxUSE_ALL_FEATURES
7162 if test -z "$defaultval"; then
7163 if test x"$enablestring" = xdisable; then
7170 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-log" >&5
7171 echo $ECHO_N "checking for --${enablestring:-enable}-log... $ECHO_C" >&6; }
7172 # Check whether --enable-log was given.
7173 if test "${enable_log+set}" = set; then
7174 enableval=$enable_log;
7175 if test "$enableval" = yes; then
7176 wx_cv_use_log='wxUSE_LOG
=yes'
7178 wx_cv_use_log='wxUSE_LOG
=no
'
7183 wx_cv_use_log='wxUSE_LOG
=${'DEFAULT_wxUSE_LOG":-$defaultval}"
7188 eval "$wx_cv_use_log"
7190 if test x"$enablestring" = xdisable; then
7191 if test $wxUSE_LOG = yes; then
7200 { echo "$as_me:$LINENO: result
: $result" >&5
7201 echo "${ECHO_T}$result" >&6; }
7205 defaultval=$wxUSE_ALL_FEATURES
7206 if test -z "$defaultval"; then
7207 if test x"$enablestring" = xdisable; then
7214 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-longlong" >&5
7215 echo $ECHO_N "checking
for --${enablestring:-enable}-longlong...
$ECHO_C" >&6; }
7216 # Check whether --enable-longlong was given.
7217 if test "${enable_longlong+set}" = set; then
7218 enableval=$enable_longlong;
7219 if test "$enableval" = yes; then
7220 wx_cv_use_longlong='wxUSE_LONGLONG=yes'
7222 wx_cv_use_longlong='wxUSE_LONGLONG=no'
7227 wx_cv_use_longlong='wxUSE_LONGLONG=${'DEFAULT_wxUSE_LONGLONG":-$defaultval}"
7232 eval "$wx_cv_use_longlong"
7234 if test x
"$enablestring" = xdisable
; then
7235 if test $wxUSE_LONGLONG = yes; then
7241 result
=$wxUSE_LONGLONG
7244 { echo "$as_me:$LINENO: result: $result" >&5
7245 echo "${ECHO_T}$result" >&6; }
7249 defaultval
=$wxUSE_ALL_FEATURES
7250 if test -z "$defaultval"; then
7251 if test x
"$enablestring" = xdisable
; then
7258 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mimetype" >&5
7259 echo $ECHO_N "checking for --${enablestring:-enable}-mimetype... $ECHO_C" >&6; }
7260 # Check whether --enable-mimetype was given.
7261 if test "${enable_mimetype+set}" = set; then
7262 enableval
=$enable_mimetype;
7263 if test "$enableval" = yes; then
7264 wx_cv_use_mimetype
='wxUSE_MIMETYPE=yes'
7266 wx_cv_use_mimetype
='wxUSE_MIMETYPE=no'
7271 wx_cv_use_mimetype
='wxUSE_MIMETYPE=${'DEFAULT_wxUSE_MIMETYPE":-$defaultval}"
7276 eval "$wx_cv_use_mimetype"
7278 if test x"$enablestring" = xdisable; then
7279 if test $wxUSE_MIMETYPE = yes; then
7285 result=$wxUSE_MIMETYPE
7288 { echo "$as_me:$LINENO: result: $result" >&5
7289 echo "${ECHO_T}$result" >&6; }
7293 defaultval=$wxUSE_ALL_FEATURES
7294 if test -z "$defaultval"; then
7295 if test x"$enablestring" = xdisable; then
7302 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printfposparam" >&5
7303 echo $ECHO_N "checking for --${enablestring:-enable}-printfposparam... $ECHO_C" >&6; }
7304 # Check whether --enable-printfposparam was given.
7305 if test "${enable_printfposparam+set}" = set; then
7306 enableval=$enable_printfposparam;
7307 if test "$enableval" = yes; then
7308 wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS
=yes'
7310 wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS
=no
'
7315 wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS
=${'DEFAULT_wxUSE_PRINTF_POS_PARAMS":-$defaultval}"
7320 eval "$wx_cv_use_printfposparam"
7322 if test x"$enablestring" = xdisable; then
7323 if test $wxUSE_PRINTF_POS_PARAMS = yes; then
7329 result=$wxUSE_PRINTF_POS_PARAMS
7332 { echo "$as_me:$LINENO: result
: $result" >&5
7333 echo "${ECHO_T}$result" >&6; }
7337 defaultval=$wxUSE_ALL_FEATURES
7338 if test -z "$defaultval"; then
7339 if test x"$enablestring" = xdisable; then
7346 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-snglinst" >&5
7347 echo $ECHO_N "checking
for --${enablestring:-enable}-snglinst...
$ECHO_C" >&6; }
7348 # Check whether --enable-snglinst was given.
7349 if test "${enable_snglinst+set}" = set; then
7350 enableval=$enable_snglinst;
7351 if test "$enableval" = yes; then
7352 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=yes'
7354 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=no'
7359 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=${'DEFAULT_wxUSE_SNGLINST_CHECKER":-$defaultval}"
7364 eval "$wx_cv_use_snglinst"
7366 if test x
"$enablestring" = xdisable
; then
7367 if test $wxUSE_SNGLINST_CHECKER = yes; then
7373 result
=$wxUSE_SNGLINST_CHECKER
7376 { echo "$as_me:$LINENO: result: $result" >&5
7377 echo "${ECHO_T}$result" >&6; }
7381 defaultval
=$wxUSE_ALL_FEATURES
7382 if test -z "$defaultval"; then
7383 if test x
"$enablestring" = xdisable
; then
7390 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sound" >&5
7391 echo $ECHO_N "checking for --${enablestring:-enable}-sound... $ECHO_C" >&6; }
7392 # Check whether --enable-sound was given.
7393 if test "${enable_sound+set}" = set; then
7394 enableval
=$enable_sound;
7395 if test "$enableval" = yes; then
7396 wx_cv_use_sound
='wxUSE_SOUND=yes'
7398 wx_cv_use_sound
='wxUSE_SOUND=no'
7403 wx_cv_use_sound
='wxUSE_SOUND=${'DEFAULT_wxUSE_SOUND":-$defaultval}"
7408 eval "$wx_cv_use_sound"
7410 if test x"$enablestring" = xdisable; then
7411 if test $wxUSE_SOUND = yes; then
7420 { echo "$as_me:$LINENO: result: $result" >&5
7421 echo "${ECHO_T}$result" >&6; }
7425 defaultval=$wxUSE_ALL_FEATURES
7426 if test -z "$defaultval"; then
7427 if test x"$enablestring" = xdisable; then
7434 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stdpaths" >&5
7435 echo $ECHO_N "checking for --${enablestring:-enable}-stdpaths... $ECHO_C" >&6; }
7436 # Check whether --enable-stdpaths was given.
7437 if test "${enable_stdpaths+set}" = set; then
7438 enableval=$enable_stdpaths;
7439 if test "$enableval" = yes; then
7440 wx_cv_use_stdpaths='wxUSE_STDPATHS
=yes'
7442 wx_cv_use_stdpaths='wxUSE_STDPATHS
=no
'
7447 wx_cv_use_stdpaths='wxUSE_STDPATHS
=${'DEFAULT_wxUSE_STDPATHS":-$defaultval}"
7452 eval "$wx_cv_use_stdpaths"
7454 if test x"$enablestring" = xdisable; then
7455 if test $wxUSE_STDPATHS = yes; then
7461 result=$wxUSE_STDPATHS
7464 { echo "$as_me:$LINENO: result
: $result" >&5
7465 echo "${ECHO_T}$result" >&6; }
7469 defaultval=$wxUSE_ALL_FEATURES
7470 if test -z "$defaultval"; then
7471 if test x"$enablestring" = xdisable; then
7478 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-stopwatch" >&5
7479 echo $ECHO_N "checking
for --${enablestring:-enable}-stopwatch...
$ECHO_C" >&6; }
7480 # Check whether --enable-stopwatch was given.
7481 if test "${enable_stopwatch+set}" = set; then
7482 enableval=$enable_stopwatch;
7483 if test "$enableval" = yes; then
7484 wx_cv_use_stopwatch='wxUSE_STOPWATCH=yes'
7486 wx_cv_use_stopwatch='wxUSE_STOPWATCH=no'
7491 wx_cv_use_stopwatch='wxUSE_STOPWATCH=${'DEFAULT_wxUSE_STOPWATCH":-$defaultval}"
7496 eval "$wx_cv_use_stopwatch"
7498 if test x
"$enablestring" = xdisable
; then
7499 if test $wxUSE_STOPWATCH = yes; then
7505 result
=$wxUSE_STOPWATCH
7508 { echo "$as_me:$LINENO: result: $result" >&5
7509 echo "${ECHO_T}$result" >&6; }
7513 defaultval
=$wxUSE_ALL_FEATURES
7514 if test -z "$defaultval"; then
7515 if test x
"$enablestring" = xdisable
; then
7522 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-streams" >&5
7523 echo $ECHO_N "checking for --${enablestring:-enable}-streams... $ECHO_C" >&6; }
7524 # Check whether --enable-streams was given.
7525 if test "${enable_streams+set}" = set; then
7526 enableval
=$enable_streams;
7527 if test "$enableval" = yes; then
7528 wx_cv_use_streams
='wxUSE_STREAMS=yes'
7530 wx_cv_use_streams
='wxUSE_STREAMS=no'
7535 wx_cv_use_streams
='wxUSE_STREAMS=${'DEFAULT_wxUSE_STREAMS":-$defaultval}"
7540 eval "$wx_cv_use_streams"
7542 if test x"$enablestring" = xdisable; then
7543 if test $wxUSE_STREAMS = yes; then
7549 result=$wxUSE_STREAMS
7552 { echo "$as_me:$LINENO: result: $result" >&5
7553 echo "${ECHO_T}$result" >&6; }
7557 defaultval=$wxUSE_ALL_FEATURES
7558 if test -z "$defaultval"; then
7559 if test x"$enablestring" = xdisable; then
7566 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-system_options" >&5
7567 echo $ECHO_N "checking for --${enablestring:-enable}-system_options... $ECHO_C" >&6; }
7568 # Check whether --enable-system_options was given.
7569 if test "${enable_system_options+set}" = set; then
7570 enableval=$enable_system_options;
7571 if test "$enableval" = yes; then
7572 wx_cv_use_system_options='wxUSE_SYSTEM_OPTIONS
=yes'
7574 wx_cv_use_system_options='wxUSE_SYSTEM_OPTIONS
=no
'
7579 wx_cv_use_system_options='wxUSE_SYSTEM_OPTIONS
=${'DEFAULT_wxUSE_SYSTEM_OPTIONS":-$defaultval}"
7584 eval "$wx_cv_use_system_options"
7586 if test x"$enablestring" = xdisable; then
7587 if test $wxUSE_SYSTEM_OPTIONS = yes; then
7593 result=$wxUSE_SYSTEM_OPTIONS
7596 { echo "$as_me:$LINENO: result
: $result" >&5
7597 echo "${ECHO_T}$result" >&6; }
7601 defaultval=$wxUSE_ALL_FEATURES
7602 if test -z "$defaultval"; then
7603 if test x"$enablestring" = xdisable; then
7610 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-tarstream" >&5
7611 echo $ECHO_N "checking
for --${enablestring:-enable}-tarstream...
$ECHO_C" >&6; }
7612 # Check whether --enable-tarstream was given.
7613 if test "${enable_tarstream+set}" = set; then
7614 enableval=$enable_tarstream;
7615 if test "$enableval" = yes; then
7616 wx_cv_use_tarstream='wxUSE_TARSTREAM=yes'
7618 wx_cv_use_tarstream='wxUSE_TARSTREAM=no'
7623 wx_cv_use_tarstream='wxUSE_TARSTREAM=${'DEFAULT_wxUSE_TARSTREAM":-$defaultval}"
7628 eval "$wx_cv_use_tarstream"
7630 if test x
"$enablestring" = xdisable
; then
7631 if test $wxUSE_TARSTREAM = yes; then
7637 result
=$wxUSE_TARSTREAM
7640 { echo "$as_me:$LINENO: result: $result" >&5
7641 echo "${ECHO_T}$result" >&6; }
7645 defaultval
=$wxUSE_ALL_FEATURES
7646 if test -z "$defaultval"; then
7647 if test x
"$enablestring" = xdisable
; then
7654 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textbuf" >&5
7655 echo $ECHO_N "checking for --${enablestring:-enable}-textbuf... $ECHO_C" >&6; }
7656 # Check whether --enable-textbuf was given.
7657 if test "${enable_textbuf+set}" = set; then
7658 enableval
=$enable_textbuf;
7659 if test "$enableval" = yes; then
7660 wx_cv_use_textbuf
='wxUSE_TEXTBUFFER=yes'
7662 wx_cv_use_textbuf
='wxUSE_TEXTBUFFER=no'
7667 wx_cv_use_textbuf
='wxUSE_TEXTBUFFER=${'DEFAULT_wxUSE_TEXTBUFFER":-$defaultval}"
7672 eval "$wx_cv_use_textbuf"
7674 if test x"$enablestring" = xdisable; then
7675 if test $wxUSE_TEXTBUFFER = yes; then
7681 result=$wxUSE_TEXTBUFFER
7684 { echo "$as_me:$LINENO: result: $result" >&5
7685 echo "${ECHO_T}$result" >&6; }
7689 defaultval=$wxUSE_ALL_FEATURES
7690 if test -z "$defaultval"; then
7691 if test x"$enablestring" = xdisable; then
7698 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textfile" >&5
7699 echo $ECHO_N "checking for --${enablestring:-enable}-textfile... $ECHO_C" >&6; }
7700 # Check whether --enable-textfile was given.
7701 if test "${enable_textfile+set}" = set; then
7702 enableval=$enable_textfile;
7703 if test "$enableval" = yes; then
7704 wx_cv_use_textfile='wxUSE_TEXTFILE
=yes'
7706 wx_cv_use_textfile='wxUSE_TEXTFILE
=no
'
7711 wx_cv_use_textfile='wxUSE_TEXTFILE
=${'DEFAULT_wxUSE_TEXTFILE":-$defaultval}"
7716 eval "$wx_cv_use_textfile"
7718 if test x"$enablestring" = xdisable; then
7719 if test $wxUSE_TEXTFILE = yes; then
7725 result=$wxUSE_TEXTFILE
7728 { echo "$as_me:$LINENO: result
: $result" >&5
7729 echo "${ECHO_T}$result" >&6; }
7733 defaultval=$wxUSE_ALL_FEATURES
7734 if test -z "$defaultval"; then
7735 if test x"$enablestring" = xdisable; then
7742 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-timer" >&5
7743 echo $ECHO_N "checking
for --${enablestring:-enable}-timer...
$ECHO_C" >&6; }
7744 # Check whether --enable-timer was given.
7745 if test "${enable_timer+set}" = set; then
7746 enableval=$enable_timer;
7747 if test "$enableval" = yes; then
7748 wx_cv_use_timer='wxUSE_TIMER=yes'
7750 wx_cv_use_timer='wxUSE_TIMER=no'
7755 wx_cv_use_timer='wxUSE_TIMER=${'DEFAULT_wxUSE_TIMER":-$defaultval}"
7760 eval "$wx_cv_use_timer"
7762 if test x
"$enablestring" = xdisable
; then
7763 if test $wxUSE_TIMER = yes; then
7772 { echo "$as_me:$LINENO: result: $result" >&5
7773 echo "${ECHO_T}$result" >&6; }
7777 defaultval
=$wxUSE_ALL_FEATURES
7778 if test -z "$defaultval"; then
7779 if test x
"$enablestring" = xdisable
; then
7786 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-variant" >&5
7787 echo $ECHO_N "checking for --${enablestring:-enable}-variant... $ECHO_C" >&6; }
7788 # Check whether --enable-variant was given.
7789 if test "${enable_variant+set}" = set; then
7790 enableval
=$enable_variant;
7791 if test "$enableval" = yes; then
7792 wx_cv_use_variant
='wxUSE_VARIANT=yes'
7794 wx_cv_use_variant
='wxUSE_VARIANT=no'
7799 wx_cv_use_variant
='wxUSE_VARIANT=${'DEFAULT_wxUSE_VARIANT":-$defaultval}"
7804 eval "$wx_cv_use_variant"
7806 if test x"$enablestring" = xdisable; then
7807 if test $wxUSE_VARIANT = yes; then
7813 result=$wxUSE_VARIANT
7816 { echo "$as_me:$LINENO: result: $result" >&5
7817 echo "${ECHO_T}$result" >&6; }
7821 defaultval=$wxUSE_ALL_FEATURES
7822 if test -z "$defaultval"; then
7823 if test x"$enablestring" = xdisable; then
7830 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-zipstream" >&5
7831 echo $ECHO_N "checking for --${enablestring:-enable}-zipstream... $ECHO_C" >&6; }
7832 # Check whether --enable-zipstream was given.
7833 if test "${enable_zipstream+set}" = set; then
7834 enableval=$enable_zipstream;
7835 if test "$enableval" = yes; then
7836 wx_cv_use_zipstream='wxUSE_ZIPSTREAM
=yes'
7838 wx_cv_use_zipstream='wxUSE_ZIPSTREAM
=no
'
7843 wx_cv_use_zipstream='wxUSE_ZIPSTREAM
=${'DEFAULT_wxUSE_ZIPSTREAM":-$defaultval}"
7848 eval "$wx_cv_use_zipstream"
7850 if test x"$enablestring" = xdisable; then
7851 if test $wxUSE_ZIPSTREAM = yes; then
7857 result=$wxUSE_ZIPSTREAM
7860 { echo "$as_me:$LINENO: result
: $result" >&5
7861 echo "${ECHO_T}$result" >&6; }
7866 defaultval=$wxUSE_ALL_FEATURES
7867 if test -z "$defaultval"; then
7868 if test x"$enablestring" = xdisable; then
7875 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-url" >&5
7876 echo $ECHO_N "checking
for --${enablestring:-enable}-url...
$ECHO_C" >&6; }
7877 # Check whether --enable-url was given.
7878 if test "${enable_url+set}" = set; then
7879 enableval=$enable_url;
7880 if test "$enableval" = yes; then
7881 wx_cv_use_url='wxUSE_URL=yes'
7883 wx_cv_use_url='wxUSE_URL=no'
7888 wx_cv_use_url='wxUSE_URL=${'DEFAULT_wxUSE_URL":-$defaultval}"
7893 eval "$wx_cv_use_url"
7895 if test x
"$enablestring" = xdisable
; then
7896 if test $wxUSE_URL = yes; then
7905 { echo "$as_me:$LINENO: result: $result" >&5
7906 echo "${ECHO_T}$result" >&6; }
7910 defaultval
=$wxUSE_ALL_FEATURES
7911 if test -z "$defaultval"; then
7912 if test x
"$enablestring" = xdisable
; then
7919 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol" >&5
7920 echo $ECHO_N "checking for --${enablestring:-enable}-protocol... $ECHO_C" >&6; }
7921 # Check whether --enable-protocol was given.
7922 if test "${enable_protocol+set}" = set; then
7923 enableval
=$enable_protocol;
7924 if test "$enableval" = yes; then
7925 wx_cv_use_protocol
='wxUSE_PROTOCOL=yes'
7927 wx_cv_use_protocol
='wxUSE_PROTOCOL=no'
7932 wx_cv_use_protocol
='wxUSE_PROTOCOL=${'DEFAULT_wxUSE_PROTOCOL":-$defaultval}"
7937 eval "$wx_cv_use_protocol"
7939 if test x"$enablestring" = xdisable; then
7940 if test $wxUSE_PROTOCOL = yes; then
7946 result=$wxUSE_PROTOCOL
7949 { echo "$as_me:$LINENO: result: $result" >&5
7950 echo "${ECHO_T}$result" >&6; }
7954 defaultval=$wxUSE_ALL_FEATURES
7955 if test -z "$defaultval"; then
7956 if test x"$enablestring" = xdisable; then
7963 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_http" >&5
7964 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_http... $ECHO_C" >&6; }
7965 # Check whether --enable-protocol_http was given.
7966 if test "${enable_protocol_http+set}" = set; then
7967 enableval=$enable_protocol_http;
7968 if test "$enableval" = yes; then
7969 wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP
=yes'
7971 wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP
=no
'
7976 wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP
=${'DEFAULT_wxUSE_PROTOCOL_HTTP":-$defaultval}"
7981 eval "$wx_cv_use_protocol_http"
7983 if test x"$enablestring" = xdisable; then
7984 if test $wxUSE_PROTOCOL_HTTP = yes; then
7990 result=$wxUSE_PROTOCOL_HTTP
7993 { echo "$as_me:$LINENO: result
: $result" >&5
7994 echo "${ECHO_T}$result" >&6; }
7998 defaultval=$wxUSE_ALL_FEATURES
7999 if test -z "$defaultval"; then
8000 if test x"$enablestring" = xdisable; then
8007 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-protocol_ftp" >&5
8008 echo $ECHO_N "checking
for --${enablestring:-enable}-protocol_ftp...
$ECHO_C" >&6; }
8009 # Check whether --enable-protocol_ftp was given.
8010 if test "${enable_protocol_ftp+set}" = set; then
8011 enableval=$enable_protocol_ftp;
8012 if test "$enableval" = yes; then
8013 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=yes'
8015 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=no'
8020 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=${'DEFAULT_wxUSE_PROTOCOL_FTP":-$defaultval}"
8025 eval "$wx_cv_use_protocol_ftp"
8027 if test x
"$enablestring" = xdisable
; then
8028 if test $wxUSE_PROTOCOL_FTP = yes; then
8034 result
=$wxUSE_PROTOCOL_FTP
8037 { echo "$as_me:$LINENO: result: $result" >&5
8038 echo "${ECHO_T}$result" >&6; }
8042 defaultval
=$wxUSE_ALL_FEATURES
8043 if test -z "$defaultval"; then
8044 if test x
"$enablestring" = xdisable
; then
8051 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_file" >&5
8052 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_file... $ECHO_C" >&6; }
8053 # Check whether --enable-protocol_file was given.
8054 if test "${enable_protocol_file+set}" = set; then
8055 enableval
=$enable_protocol_file;
8056 if test "$enableval" = yes; then
8057 wx_cv_use_protocol_file
='wxUSE_PROTOCOL_FILE=yes'
8059 wx_cv_use_protocol_file
='wxUSE_PROTOCOL_FILE=no'
8064 wx_cv_use_protocol_file
='wxUSE_PROTOCOL_FILE=${'DEFAULT_wxUSE_PROTOCOL_FILE":-$defaultval}"
8069 eval "$wx_cv_use_protocol_file"
8071 if test x"$enablestring" = xdisable; then
8072 if test $wxUSE_PROTOCOL_FILE = yes; then
8078 result=$wxUSE_PROTOCOL_FILE
8081 { echo "$as_me:$LINENO: result: $result" >&5
8082 echo "${ECHO_T}$result" >&6; }
8087 defaultval=$wxUSE_ALL_FEATURES
8088 if test -z "$defaultval"; then
8089 if test x"$enablestring" = xdisable; then
8096 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-threads" >&5
8097 echo $ECHO_N "checking for --${enablestring:-enable}-threads... $ECHO_C" >&6; }
8098 # Check whether --enable-threads was given.
8099 if test "${enable_threads+set}" = set; then
8100 enableval=$enable_threads;
8101 if test "$enableval" = yes; then
8102 wx_cv_use_threads='wxUSE_THREADS
=yes'
8104 wx_cv_use_threads='wxUSE_THREADS
=no
'
8109 wx_cv_use_threads='wxUSE_THREADS
=${'DEFAULT_wxUSE_THREADS":-$defaultval}"
8114 eval "$wx_cv_use_threads"
8116 if test x"$enablestring" = xdisable; then
8117 if test $wxUSE_THREADS = yes; then
8123 result=$wxUSE_THREADS
8126 { echo "$as_me:$LINENO: result
: $result" >&5
8127 echo "${ECHO_T}$result" >&6; }
8133 if test -z "$defaultval"; then
8134 if test x"$enablestring" = xdisable; then
8141 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-iniconf" >&5
8142 echo $ECHO_N "checking
for --${enablestring:-enable}-iniconf...
$ECHO_C" >&6; }
8143 # Check whether --enable-iniconf was given.
8144 if test "${enable_iniconf+set}" = set; then
8145 enableval=$enable_iniconf;
8146 if test "$enableval" = yes; then
8147 wx_cv_use_iniconf='wxUSE_INICONF=yes'
8149 wx_cv_use_iniconf='wxUSE_INICONF=no'
8154 wx_cv_use_iniconf='wxUSE_INICONF=${'DEFAULT_wxUSE_INICONF":-$defaultval}"
8159 eval "$wx_cv_use_iniconf"
8161 if test x
"$enablestring" = xdisable
; then
8162 if test $wxUSE_INICONF = yes; then
8168 result
=$wxUSE_INICONF
8171 { echo "$as_me:$LINENO: result: $result" >&5
8172 echo "${ECHO_T}$result" >&6; }
8176 defaultval
=$wxUSE_ALL_FEATURES
8177 if test -z "$defaultval"; then
8178 if test x
"$enablestring" = xdisable
; then
8185 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-regkey" >&5
8186 echo $ECHO_N "checking for --${enablestring:-enable}-regkey... $ECHO_C" >&6; }
8187 # Check whether --enable-regkey was given.
8188 if test "${enable_regkey+set}" = set; then
8189 enableval
=$enable_regkey;
8190 if test "$enableval" = yes; then
8191 wx_cv_use_regkey
='wxUSE_REGKEY=yes'
8193 wx_cv_use_regkey
='wxUSE_REGKEY=no'
8198 wx_cv_use_regkey
='wxUSE_REGKEY=${'DEFAULT_wxUSE_REGKEY":-$defaultval}"
8203 eval "$wx_cv_use_regkey"
8205 if test x"$enablestring" = xdisable; then
8206 if test $wxUSE_REGKEY = yes; then
8212 result=$wxUSE_REGKEY
8215 { echo "$as_me:$LINENO: result: $result" >&5
8216 echo "${ECHO_T}$result" >&6; }
8219 if test "$wxUSE_GUI" = "yes"; then
8224 defaultval=$wxUSE_ALL_FEATURES
8225 if test -z "$defaultval"; then
8226 if test x"$enablestring" = xdisable; then
8233 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-docview" >&5
8234 echo $ECHO_N "checking for --${enablestring:-enable}-docview... $ECHO_C" >&6; }
8235 # Check whether --enable-docview was given.
8236 if test "${enable_docview+set}" = set; then
8237 enableval=$enable_docview;
8238 if test "$enableval" = yes; then
8239 wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE
=yes'
8241 wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE
=no
'
8246 wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE
=${'DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE":-$defaultval}"
8251 eval "$wx_cv_use_docview"
8253 if test x"$enablestring" = xdisable; then
8254 if test $wxUSE_DOC_VIEW_ARCHITECTURE = yes; then
8260 result=$wxUSE_DOC_VIEW_ARCHITECTURE
8263 { echo "$as_me:$LINENO: result
: $result" >&5
8264 echo "${ECHO_T}$result" >&6; }
8268 defaultval=$wxUSE_ALL_FEATURES
8269 if test -z "$defaultval"; then
8270 if test x"$enablestring" = xdisable; then
8277 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-help" >&5
8278 echo $ECHO_N "checking
for --${enablestring:-enable}-help...
$ECHO_C" >&6; }
8279 # Check whether --enable-help was given.
8280 if test "${enable_help+set}" = set; then
8281 enableval=$enable_help;
8282 if test "$enableval" = yes; then
8283 wx_cv_use_help='wxUSE_HELP=yes'
8285 wx_cv_use_help='wxUSE_HELP=no'
8290 wx_cv_use_help='wxUSE_HELP=${'DEFAULT_wxUSE_HELP":-$defaultval}"
8295 eval "$wx_cv_use_help"
8297 if test x
"$enablestring" = xdisable
; then
8298 if test $wxUSE_HELP = yes; then
8307 { echo "$as_me:$LINENO: result: $result" >&5
8308 echo "${ECHO_T}$result" >&6; }
8312 defaultval
=$wxUSE_ALL_FEATURES
8313 if test -z "$defaultval"; then
8314 if test x
"$enablestring" = xdisable
; then
8321 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mshtmlhelp" >&5
8322 echo $ECHO_N "checking for --${enablestring:-enable}-mshtmlhelp... $ECHO_C" >&6; }
8323 # Check whether --enable-mshtmlhelp was given.
8324 if test "${enable_mshtmlhelp+set}" = set; then
8325 enableval
=$enable_mshtmlhelp;
8326 if test "$enableval" = yes; then
8327 wx_cv_use_mshtmlhelp
='wxUSE_MS_HTML_HELP=yes'
8329 wx_cv_use_mshtmlhelp
='wxUSE_MS_HTML_HELP=no'
8334 wx_cv_use_mshtmlhelp
='wxUSE_MS_HTML_HELP=${'DEFAULT_wxUSE_MS_HTML_HELP":-$defaultval}"
8339 eval "$wx_cv_use_mshtmlhelp"
8341 if test x"$enablestring" = xdisable; then
8342 if test $wxUSE_MS_HTML_HELP = yes; then
8348 result=$wxUSE_MS_HTML_HELP
8351 { echo "$as_me:$LINENO: result: $result" >&5
8352 echo "${ECHO_T}$result" >&6; }
8356 defaultval=$wxUSE_ALL_FEATURES
8357 if test -z "$defaultval"; then
8358 if test x"$enablestring" = xdisable; then
8365 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-html" >&5
8366 echo $ECHO_N "checking for --${enablestring:-enable}-html... $ECHO_C" >&6; }
8367 # Check whether --enable-html was given.
8368 if test "${enable_html+set}" = set; then
8369 enableval=$enable_html;
8370 if test "$enableval" = yes; then
8371 wx_cv_use_html='wxUSE_HTML
=yes'
8373 wx_cv_use_html='wxUSE_HTML
=no
'
8378 wx_cv_use_html='wxUSE_HTML
=${'DEFAULT_wxUSE_HTML":-$defaultval}"
8383 eval "$wx_cv_use_html"
8385 if test x"$enablestring" = xdisable; then
8386 if test $wxUSE_HTML = yes; then
8395 { echo "$as_me:$LINENO: result
: $result" >&5
8396 echo "${ECHO_T}$result" >&6; }
8400 defaultval=$wxUSE_ALL_FEATURES
8401 if test -z "$defaultval"; then
8402 if test x"$enablestring" = xdisable; then
8409 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-htmlhelp" >&5
8410 echo $ECHO_N "checking
for --${enablestring:-enable}-htmlhelp...
$ECHO_C" >&6; }
8411 # Check whether --enable-htmlhelp was given.
8412 if test "${enable_htmlhelp+set}" = set; then
8413 enableval=$enable_htmlhelp;
8414 if test "$enableval" = yes; then
8415 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP=yes'
8417 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP=no'
8422 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP=${'DEFAULT_wxUSE_WXHTML_HELP":-$defaultval}"
8427 eval "$wx_cv_use_htmlhelp"
8429 if test x
"$enablestring" = xdisable
; then
8430 if test $wxUSE_WXHTML_HELP = yes; then
8436 result
=$wxUSE_WXHTML_HELP
8439 { echo "$as_me:$LINENO: result: $result" >&5
8440 echo "${ECHO_T}$result" >&6; }
8444 defaultval
=$wxUSE_ALL_FEATURES
8445 if test -z "$defaultval"; then
8446 if test x
"$enablestring" = xdisable
; then
8453 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xrc" >&5
8454 echo $ECHO_N "checking for --${enablestring:-enable}-xrc... $ECHO_C" >&6; }
8455 # Check whether --enable-xrc was given.
8456 if test "${enable_xrc+set}" = set; then
8457 enableval
=$enable_xrc;
8458 if test "$enableval" = yes; then
8459 wx_cv_use_xrc
='wxUSE_XRC=yes'
8461 wx_cv_use_xrc
='wxUSE_XRC=no'
8466 wx_cv_use_xrc
='wxUSE_XRC=${'DEFAULT_wxUSE_XRC":-$defaultval}"
8471 eval "$wx_cv_use_xrc"
8473 if test x"$enablestring" = xdisable; then
8474 if test $wxUSE_XRC = yes; then
8483 { echo "$as_me:$LINENO: result: $result" >&5
8484 echo "${ECHO_T}$result" >&6; }
8488 defaultval=$wxUSE_ALL_FEATURES
8489 if test -z "$defaultval"; then
8490 if test x"$enablestring" = xdisable; then
8497 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-aui" >&5
8498 echo $ECHO_N "checking for --${enablestring:-enable}-aui... $ECHO_C" >&6; }
8499 # Check whether --enable-aui was given.
8500 if test "${enable_aui+set}" = set; then
8501 enableval=$enable_aui;
8502 if test "$enableval" = yes; then
8503 wx_cv_use_aui='wxUSE_AUI
=yes'
8505 wx_cv_use_aui='wxUSE_AUI
=no
'
8510 wx_cv_use_aui='wxUSE_AUI
=${'DEFAULT_wxUSE_AUI":-$defaultval}"
8515 eval "$wx_cv_use_aui"
8517 if test x"$enablestring" = xdisable; then
8518 if test $wxUSE_AUI = yes; then
8527 { echo "$as_me:$LINENO: result
: $result" >&5
8528 echo "${ECHO_T}$result" >&6; }
8532 defaultval=$wxUSE_ALL_FEATURES
8533 if test -z "$defaultval"; then
8534 if test x"$enablestring" = xdisable; then
8541 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-stc" >&5
8542 echo $ECHO_N "checking
for --${enablestring:-enable}-stc...
$ECHO_C" >&6; }
8543 # Check whether --enable-stc was given.
8544 if test "${enable_stc+set}" = set; then
8545 enableval=$enable_stc;
8546 if test "$enableval" = yes; then
8547 wx_cv_use_stc='wxUSE_STC=yes'
8549 wx_cv_use_stc='wxUSE_STC=no'
8554 wx_cv_use_stc='wxUSE_STC=${'DEFAULT_wxUSE_STC":-$defaultval}"
8559 eval "$wx_cv_use_stc"
8561 if test x
"$enablestring" = xdisable
; then
8562 if test $wxUSE_STC = yes; then
8571 { echo "$as_me:$LINENO: result: $result" >&5
8572 echo "${ECHO_T}$result" >&6; }
8576 defaultval
=$wxUSE_ALL_FEATURES
8577 if test -z "$defaultval"; then
8578 if test x
"$enablestring" = xdisable
; then
8585 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-constraints" >&5
8586 echo $ECHO_N "checking for --${enablestring:-enable}-constraints... $ECHO_C" >&6; }
8587 # Check whether --enable-constraints was given.
8588 if test "${enable_constraints+set}" = set; then
8589 enableval
=$enable_constraints;
8590 if test "$enableval" = yes; then
8591 wx_cv_use_constraints
='wxUSE_CONSTRAINTS=yes'
8593 wx_cv_use_constraints
='wxUSE_CONSTRAINTS=no'
8598 wx_cv_use_constraints
='wxUSE_CONSTRAINTS=${'DEFAULT_wxUSE_CONSTRAINTS":-$defaultval}"
8603 eval "$wx_cv_use_constraints"
8605 if test x"$enablestring" = xdisable; then
8606 if test $wxUSE_CONSTRAINTS = yes; then
8612 result=$wxUSE_CONSTRAINTS
8615 { echo "$as_me:$LINENO: result: $result" >&5
8616 echo "${ECHO_T}$result" >&6; }
8620 defaultval=$wxUSE_ALL_FEATURES
8621 if test -z "$defaultval"; then
8622 if test x"$enablestring" = xdisable; then
8629 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-loggui" >&5
8630 echo $ECHO_N "checking for --${enablestring:-enable}-loggui... $ECHO_C" >&6; }
8631 # Check whether --enable-loggui was given.
8632 if test "${enable_loggui+set}" = set; then
8633 enableval=$enable_loggui;
8634 if test "$enableval" = yes; then
8635 wx_cv_use_loggui='wxUSE_LOGGUI
=yes'
8637 wx_cv_use_loggui='wxUSE_LOGGUI
=no
'
8642 wx_cv_use_loggui='wxUSE_LOGGUI
=${'DEFAULT_wxUSE_LOGGUI":-$defaultval}"
8647 eval "$wx_cv_use_loggui"
8649 if test x"$enablestring" = xdisable; then
8650 if test $wxUSE_LOGGUI = yes; then
8656 result=$wxUSE_LOGGUI
8659 { echo "$as_me:$LINENO: result
: $result" >&5
8660 echo "${ECHO_T}$result" >&6; }
8664 defaultval=$wxUSE_ALL_FEATURES
8665 if test -z "$defaultval"; then
8666 if test x"$enablestring" = xdisable; then
8673 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-logwin" >&5
8674 echo $ECHO_N "checking
for --${enablestring:-enable}-logwin...
$ECHO_C" >&6; }
8675 # Check whether --enable-logwin was given.
8676 if test "${enable_logwin+set}" = set; then
8677 enableval=$enable_logwin;
8678 if test "$enableval" = yes; then
8679 wx_cv_use_logwin='wxUSE_LOGWINDOW=yes'
8681 wx_cv_use_logwin='wxUSE_LOGWINDOW=no'
8686 wx_cv_use_logwin='wxUSE_LOGWINDOW=${'DEFAULT_wxUSE_LOGWINDOW":-$defaultval}"
8691 eval "$wx_cv_use_logwin"
8693 if test x
"$enablestring" = xdisable
; then
8694 if test $wxUSE_LOGWINDOW = yes; then
8700 result
=$wxUSE_LOGWINDOW
8703 { echo "$as_me:$LINENO: result: $result" >&5
8704 echo "${ECHO_T}$result" >&6; }
8708 defaultval
=$wxUSE_ALL_FEATURES
8709 if test -z "$defaultval"; then
8710 if test x
"$enablestring" = xdisable
; then
8717 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logdialog" >&5
8718 echo $ECHO_N "checking for --${enablestring:-enable}-logdialog... $ECHO_C" >&6; }
8719 # Check whether --enable-logdialog was given.
8720 if test "${enable_logdialog+set}" = set; then
8721 enableval
=$enable_logdialog;
8722 if test "$enableval" = yes; then
8723 wx_cv_use_logdialog
='wxUSE_LOGDIALOG=yes'
8725 wx_cv_use_logdialog
='wxUSE_LOGDIALOG=no'
8730 wx_cv_use_logdialog
='wxUSE_LOGDIALOG=${'DEFAULT_wxUSE_LOGDIALOG":-$defaultval}"
8735 eval "$wx_cv_use_logdialog"
8737 if test x"$enablestring" = xdisable; then
8738 if test $wxUSE_LOGDIALOG = yes; then
8744 result=$wxUSE_LOGDIALOG
8747 { echo "$as_me:$LINENO: result: $result" >&5
8748 echo "${ECHO_T}$result" >&6; }
8752 defaultval=$wxUSE_ALL_FEATURES
8753 if test -z "$defaultval"; then
8754 if test x"$enablestring" = xdisable; then
8761 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdi" >&5
8762 echo $ECHO_N "checking for --${enablestring:-enable}-mdi... $ECHO_C" >&6; }
8763 # Check whether --enable-mdi was given.
8764 if test "${enable_mdi+set}" = set; then
8765 enableval=$enable_mdi;
8766 if test "$enableval" = yes; then
8767 wx_cv_use_mdi='wxUSE_MDI
=yes'
8769 wx_cv_use_mdi='wxUSE_MDI
=no
'
8774 wx_cv_use_mdi='wxUSE_MDI
=${'DEFAULT_wxUSE_MDI":-$defaultval}"
8779 eval "$wx_cv_use_mdi"
8781 if test x"$enablestring" = xdisable; then
8782 if test $wxUSE_MDI = yes; then
8791 { echo "$as_me:$LINENO: result
: $result" >&5
8792 echo "${ECHO_T}$result" >&6; }
8796 defaultval=$wxUSE_ALL_FEATURES
8797 if test -z "$defaultval"; then
8798 if test x"$enablestring" = xdisable; then
8805 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-mdidoc" >&5
8806 echo $ECHO_N "checking
for --${enablestring:-enable}-mdidoc...
$ECHO_C" >&6; }
8807 # Check whether --enable-mdidoc was given.
8808 if test "${enable_mdidoc+set}" = set; then
8809 enableval=$enable_mdidoc;
8810 if test "$enableval" = yes; then
8811 wx_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=yes'
8813 wx_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=no'
8818 wx_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=${'DEFAULT_wxUSE_MDI_ARCHITECTURE":-$defaultval}"
8823 eval "$wx_cv_use_mdidoc"
8825 if test x
"$enablestring" = xdisable
; then
8826 if test $wxUSE_MDI_ARCHITECTURE = yes; then
8832 result
=$wxUSE_MDI_ARCHITECTURE
8835 { echo "$as_me:$LINENO: result: $result" >&5
8836 echo "${ECHO_T}$result" >&6; }
8840 defaultval
=$wxUSE_ALL_FEATURES
8841 if test -z "$defaultval"; then
8842 if test x
"$enablestring" = xdisable
; then
8849 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mediactrl" >&5
8850 echo $ECHO_N "checking for --${enablestring:-enable}-mediactrl... $ECHO_C" >&6; }
8851 # Check whether --enable-mediactrl was given.
8852 if test "${enable_mediactrl+set}" = set; then
8853 enableval
=$enable_mediactrl;
8854 if test "$enableval" = yes; then
8855 wx_cv_use_mediactrl
='wxUSE_MEDIACTRL=yes'
8857 wx_cv_use_mediactrl
='wxUSE_MEDIACTRL=no'
8862 wx_cv_use_mediactrl
='wxUSE_MEDIACTRL=${'DEFAULT_wxUSE_MEDIACTRL":-$defaultval}"
8867 eval "$wx_cv_use_mediactrl"
8869 if test x"$enablestring" = xdisable; then
8870 if test $wxUSE_MEDIACTRL = yes; then
8876 result=$wxUSE_MEDIACTRL
8879 { echo "$as_me:$LINENO: result: $result" >&5
8880 echo "${ECHO_T}$result" >&6; }
8884 defaultval=$wxUSE_ALL_FEATURES
8885 if test -z "$defaultval"; then
8886 if test x"$enablestring" = xdisable; then
8893 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gstreamer8" >&5
8894 echo $ECHO_N "checking for --${enablestring:-enable}-gstreamer8... $ECHO_C" >&6; }
8895 # Check whether --enable-gstreamer8 was given.
8896 if test "${enable_gstreamer8+set}" = set; then
8897 enableval=$enable_gstreamer8;
8898 if test "$enableval" = yes; then
8899 wx_cv_use_gstreamer8='wxUSE_GSTREAMER8
=yes'
8901 wx_cv_use_gstreamer8='wxUSE_GSTREAMER8
=no
'
8906 wx_cv_use_gstreamer8='wxUSE_GSTREAMER8
=${'DEFAULT_wxUSE_GSTREAMER8":-$defaultval}"
8911 eval "$wx_cv_use_gstreamer8"
8913 if test x"$enablestring" = xdisable; then
8914 if test $wxUSE_GSTREAMER8 = yes; then
8920 result=$wxUSE_GSTREAMER8
8923 { echo "$as_me:$LINENO: result
: $result" >&5
8924 echo "${ECHO_T}$result" >&6; }
8928 defaultval=$wxUSE_ALL_FEATURES
8929 if test -z "$defaultval"; then
8930 if test x"$enablestring" = xdisable; then
8937 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-webkit" >&5
8938 echo $ECHO_N "checking
for --${enablestring:-enable}-webkit...
$ECHO_C" >&6; }
8939 # Check whether --enable-webkit was given.
8940 if test "${enable_webkit+set}" = set; then
8941 enableval=$enable_webkit;
8942 if test "$enableval" = yes; then
8943 wx_cv_use_webkit='wxUSE_WEBKIT=yes'
8945 wx_cv_use_webkit='wxUSE_WEBKIT=no'
8950 wx_cv_use_webkit='wxUSE_WEBKIT=${'DEFAULT_wxUSE_WEBKIT":-$defaultval}"
8955 eval "$wx_cv_use_webkit"
8957 if test x
"$enablestring" = xdisable
; then
8958 if test $wxUSE_WEBKIT = yes; then
8964 result
=$wxUSE_WEBKIT
8967 { echo "$as_me:$LINENO: result: $result" >&5
8968 echo "${ECHO_T}$result" >&6; }
8972 defaultval
=$wxUSE_ALL_FEATURES
8973 if test -z "$defaultval"; then
8974 if test x
"$enablestring" = xdisable
; then
8981 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-richtext" >&5
8982 echo $ECHO_N "checking for --${enablestring:-enable}-richtext... $ECHO_C" >&6; }
8983 # Check whether --enable-richtext was given.
8984 if test "${enable_richtext+set}" = set; then
8985 enableval
=$enable_richtext;
8986 if test "$enableval" = yes; then
8987 wx_cv_use_richtext
='wxUSE_RICHTEXT=yes'
8989 wx_cv_use_richtext
='wxUSE_RICHTEXT=no'
8994 wx_cv_use_richtext
='wxUSE_RICHTEXT=${'DEFAULT_wxUSE_RICHTEXT":-$defaultval}"
8999 eval "$wx_cv_use_richtext"
9001 if test x"$enablestring" = xdisable; then
9002 if test $wxUSE_RICHTEXT = yes; then
9008 result=$wxUSE_RICHTEXT
9011 { echo "$as_me:$LINENO: result: $result" >&5
9012 echo "${ECHO_T}$result" >&6; }
9016 defaultval=$wxUSE_ALL_FEATURES
9017 if test -z "$defaultval"; then
9018 if test x"$enablestring" = xdisable; then
9025 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-graphics_ctx" >&5
9026 echo $ECHO_N "checking for --${enablestring:-enable}-graphics_ctx... $ECHO_C" >&6; }
9027 # Check whether --enable-graphics_ctx was given.
9028 if test "${enable_graphics_ctx+set}" = set; then
9029 enableval=$enable_graphics_ctx;
9030 if test "$enableval" = yes; then
9031 wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT
=yes'
9033 wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT
=no
'
9038 wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT
=${'DEFAULT_wxUSE_GRAPHICS_CONTEXT":-$defaultval}"
9043 eval "$wx_cv_use_graphics_ctx"
9045 if test x"$enablestring" = xdisable; then
9046 if test $wxUSE_GRAPHICS_CONTEXT = yes; then
9052 result=$wxUSE_GRAPHICS_CONTEXT
9055 { echo "$as_me:$LINENO: result
: $result" >&5
9056 echo "${ECHO_T}$result" >&6; }
9060 defaultval=$wxUSE_ALL_FEATURES
9061 if test -z "$defaultval"; then
9062 if test x"$enablestring" = xdisable; then
9069 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-postscript" >&5
9070 echo $ECHO_N "checking
for --${enablestring:-enable}-postscript...
$ECHO_C" >&6; }
9071 # Check whether --enable-postscript was given.
9072 if test "${enable_postscript+set}" = set; then
9073 enableval=$enable_postscript;
9074 if test "$enableval" = yes; then
9075 wx_cv_use_postscript='wxUSE_POSTSCRIPT=yes'
9077 wx_cv_use_postscript='wxUSE_POSTSCRIPT=no'
9082 wx_cv_use_postscript='wxUSE_POSTSCRIPT=${'DEFAULT_wxUSE_POSTSCRIPT":-$defaultval}"
9087 eval "$wx_cv_use_postscript"
9089 if test x
"$enablestring" = xdisable
; then
9090 if test $wxUSE_POSTSCRIPT = yes; then
9096 result
=$wxUSE_POSTSCRIPT
9099 { echo "$as_me:$LINENO: result: $result" >&5
9100 echo "${ECHO_T}$result" >&6; }
9104 defaultval
=$wxUSE_ALL_FEATURES
9105 if test -z "$defaultval"; then
9106 if test x
"$enablestring" = xdisable
; then
9113 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printarch" >&5
9114 echo $ECHO_N "checking for --${enablestring:-enable}-printarch... $ECHO_C" >&6; }
9115 # Check whether --enable-printarch was given.
9116 if test "${enable_printarch+set}" = set; then
9117 enableval
=$enable_printarch;
9118 if test "$enableval" = yes; then
9119 wx_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE=yes'
9121 wx_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE=no'
9126 wx_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE=${'DEFAULT_wxUSE_PRINTING_ARCHITECTURE":-$defaultval}"
9131 eval "$wx_cv_use_printarch"
9133 if test x"$enablestring" = xdisable; then
9134 if test $wxUSE_PRINTING_ARCHITECTURE = yes; then
9140 result=$wxUSE_PRINTING_ARCHITECTURE
9143 { echo "$as_me:$LINENO: result: $result" >&5
9144 echo "${ECHO_T}$result" >&6; }
9148 defaultval=$wxUSE_ALL_FEATURES
9149 if test -z "$defaultval"; then
9150 if test x"$enablestring" = xdisable; then
9157 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-svg" >&5
9158 echo $ECHO_N "checking for --${enablestring:-enable}-svg... $ECHO_C" >&6; }
9159 # Check whether --enable-svg was given.
9160 if test "${enable_svg+set}" = set; then
9161 enableval=$enable_svg;
9162 if test "$enableval" = yes; then
9163 wx_cv_use_svg='wxUSE_SVG
=yes'
9165 wx_cv_use_svg='wxUSE_SVG
=no
'
9170 wx_cv_use_svg='wxUSE_SVG
=${'DEFAULT_wxUSE_SVG":-$defaultval}"
9175 eval "$wx_cv_use_svg"
9177 if test x"$enablestring" = xdisable; then
9178 if test $wxUSE_SVG = yes; then
9187 { echo "$as_me:$LINENO: result
: $result" >&5
9188 echo "${ECHO_T}$result" >&6; }
9194 defaultval=$wxUSE_ALL_FEATURES
9195 if test -z "$defaultval"; then
9196 if test x"$enablestring" = xdisable; then
9203 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-clipboard" >&5
9204 echo $ECHO_N "checking
for --${enablestring:-enable}-clipboard...
$ECHO_C" >&6; }
9205 # Check whether --enable-clipboard was given.
9206 if test "${enable_clipboard+set}" = set; then
9207 enableval=$enable_clipboard;
9208 if test "$enableval" = yes; then
9209 wx_cv_use_clipboard='wxUSE_CLIPBOARD=yes'
9211 wx_cv_use_clipboard='wxUSE_CLIPBOARD=no'
9216 wx_cv_use_clipboard='wxUSE_CLIPBOARD=${'DEFAULT_wxUSE_CLIPBOARD":-$defaultval}"
9221 eval "$wx_cv_use_clipboard"
9223 if test x
"$enablestring" = xdisable
; then
9224 if test $wxUSE_CLIPBOARD = yes; then
9230 result
=$wxUSE_CLIPBOARD
9233 { echo "$as_me:$LINENO: result: $result" >&5
9234 echo "${ECHO_T}$result" >&6; }
9238 defaultval
=$wxUSE_ALL_FEATURES
9239 if test -z "$defaultval"; then
9240 if test x
"$enablestring" = xdisable
; then
9247 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dnd" >&5
9248 echo $ECHO_N "checking for --${enablestring:-enable}-dnd... $ECHO_C" >&6; }
9249 # Check whether --enable-dnd was given.
9250 if test "${enable_dnd+set}" = set; then
9251 enableval
=$enable_dnd;
9252 if test "$enableval" = yes; then
9253 wx_cv_use_dnd
='wxUSE_DRAG_AND_DROP=yes'
9255 wx_cv_use_dnd
='wxUSE_DRAG_AND_DROP=no'
9260 wx_cv_use_dnd
='wxUSE_DRAG_AND_DROP=${'DEFAULT_wxUSE_DRAG_AND_DROP":-$defaultval}"
9265 eval "$wx_cv_use_dnd"
9267 if test x"$enablestring" = xdisable; then
9268 if test $wxUSE_DRAG_AND_DROP = yes; then
9274 result=$wxUSE_DRAG_AND_DROP
9277 { echo "$as_me:$LINENO: result: $result" >&5
9278 echo "${ECHO_T}$result" >&6; }
9282 defaultval=$wxUSE_ALL_FEATURES
9283 if test -z "$defaultval"; then
9284 if test x"$enablestring" = xdisable; then
9291 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
9292 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6; }
9293 # Check whether --enable-metafile was given.
9294 if test "${enable_metafile+set}" = set; then
9295 enableval=$enable_metafile;
9296 if test "$enableval" = yes; then
9297 wx_cv_use_metafile='wxUSE_METAFILE
=yes'
9299 wx_cv_use_metafile='wxUSE_METAFILE
=no
'
9304 wx_cv_use_metafile='wxUSE_METAFILE
=${'DEFAULT_wxUSE_METAFILE":-$defaultval}"
9309 eval "$wx_cv_use_metafile"
9311 if test x"$enablestring" = xdisable; then
9312 if test $wxUSE_METAFILE = yes; then
9318 result=$wxUSE_METAFILE
9321 { echo "$as_me:$LINENO: result
: $result" >&5
9322 echo "${ECHO_T}$result" >&6; }
9326 DEFAULT_wxUSE_CONTROLS=none
9328 enablestring=disable
9330 if test -z "$defaultval"; then
9331 if test x"$enablestring" = xdisable; then
9338 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-controls" >&5
9339 echo $ECHO_N "checking
for --${enablestring:-enable}-controls...
$ECHO_C" >&6; }
9340 # Check whether --enable-controls was given.
9341 if test "${enable_controls+set}" = set; then
9342 enableval=$enable_controls;
9343 if test "$enableval" = yes; then
9344 wx_cv_use_controls='wxUSE_CONTROLS=yes'
9346 wx_cv_use_controls='wxUSE_CONTROLS=no'
9351 wx_cv_use_controls='wxUSE_CONTROLS=${'DEFAULT_wxUSE_CONTROLS":-$defaultval}"
9356 eval "$wx_cv_use_controls"
9358 if test x
"$enablestring" = xdisable
; then
9359 if test $wxUSE_CONTROLS = yes; then
9365 result
=$wxUSE_CONTROLS
9368 { echo "$as_me:$LINENO: result: $result" >&5
9369 echo "${ECHO_T}$result" >&6; }
9372 if test "$wxUSE_CONTROLS" = "yes"; then
9373 DEFAULT_wxUSE_ACCEL
=yes
9374 DEFAULT_wxUSE_ANIMATIONCTRL
=yes
9375 DEFAULT_wxUSE_BMPBUTTON
=yes
9376 DEFAULT_wxUSE_BUTTON
=yes
9377 DEFAULT_wxUSE_CALCTRL
=yes
9378 DEFAULT_wxUSE_CARET
=yes
9379 DEFAULT_wxUSE_COMBOBOX
=yes
9380 DEFAULT_wxUSE_CHECKBOX
=yes
9381 DEFAULT_wxUSE_CHECKLISTBOX
=yes
9382 DEFAULT_wxUSE_CHOICE
=yes
9383 DEFAULT_wxUSE_CHOICEBOOK
=yes
9384 DEFAULT_wxUSE_COLLPANE
=yes
9385 DEFAULT_wxUSE_COLOURPICKERCTRL
=yes
9386 DEFAULT_wxUSE_COMBOBOX
=yes
9387 DEFAULT_wxUSE_DATEPICKCTRL
=yes
9388 DEFAULT_wxUSE_DISPLAY
=yes
9389 DEFAULT_wxUSE_DETECT_SM
=yes
9390 DEFAULT_wxUSE_DIRPICKERCTRL
=yes
9391 DEFAULT_wxUSE_FILECTRL
=yes
9392 DEFAULT_wxUSE_FILEPICKERCTRL
=yes
9393 DEFAULT_wxUSE_FONTPICKERCTRL
=yes
9394 DEFAULT_wxUSE_GAUGE
=yes
9395 DEFAULT_wxUSE_GRID
=yes
9396 DEFAULT_wxUSE_HYPERLINKCTRL
=yes
9397 DEFAULT_wxUSE_DATAVIEWCTRL
=yes
9398 DEFAULT_wxUSE_IMAGLIST
=yes
9399 DEFAULT_wxUSE_LISTBOOK
=yes
9400 DEFAULT_wxUSE_LISTBOX
=yes
9401 DEFAULT_wxUSE_LISTCTRL
=yes
9402 DEFAULT_wxUSE_NOTEBOOK
=yes
9403 DEFAULT_wxUSE_RADIOBOX
=yes
9404 DEFAULT_wxUSE_RADIOBTN
=yes
9405 DEFAULT_wxUSE_SASH
=yes
9406 DEFAULT_wxUSE_SCROLLBAR
=yes
9407 DEFAULT_wxUSE_SEARCHCTRL
=yes
9408 DEFAULT_wxUSE_SLIDER
=yes
9409 DEFAULT_wxUSE_SPINBTN
=yes
9410 DEFAULT_wxUSE_SPINCTRL
=yes
9411 DEFAULT_wxUSE_SPLITTER
=yes
9412 DEFAULT_wxUSE_STATBMP
=yes
9413 DEFAULT_wxUSE_STATBOX
=yes
9414 DEFAULT_wxUSE_STATLINE
=yes
9415 DEFAULT_wxUSE_STATUSBAR
=yes
9416 DEFAULT_wxUSE_TAB_DIALOG
=yes
9417 DEFAULT_wxUSE_TOGGLEBTN
=yes
9418 DEFAULT_wxUSE_TOOLBAR
=yes
9419 DEFAULT_wxUSE_TOOLBAR_NATIVE
=yes
9420 DEFAULT_wxUSE_TOOLTIPS
=yes
9421 DEFAULT_wxUSE_TREEBOOK
=yes
9422 DEFAULT_wxUSE_TOOLBOOK
=yes
9423 DEFAULT_wxUSE_TREECTRL
=yes
9424 DEFAULT_wxUSE_POPUPWIN
=yes
9425 DEFAULT_wxUSE_TIPWINDOW
=yes
9426 elif test "$wxUSE_CONTROLS" = "no"; then
9427 DEFAULT_wxUSE_ACCEL
=no
9428 DEFAULT_wxUSE_ANIMATIONCTRL
=no
9429 DEFAULT_wxUSE_BMPBUTTON
=no
9430 DEFAULT_wxUSE_BUTTON
=no
9431 DEFAULT_wxUSE_CALCTRL
=no
9432 DEFAULT_wxUSE_CARET
=no
9433 DEFAULT_wxUSE_COLLPANE
=no
9434 DEFAULT_wxUSE_COMBOBOX
=no
9435 DEFAULT_wxUSE_CHECKBOX
=no
9436 DEFAULT_wxUSE_CHECKLISTBOX
=no
9437 DEFAULT_wxUSE_CHOICE
=no
9438 DEFAULT_wxUSE_CHOICEBOOK
=no
9439 DEFAULT_wxUSE_COLOURPICKERCTRL
=no
9440 DEFAULT_wxUSE_COMBOBOX
=no
9441 DEFAULT_wxUSE_DATEPICKCTRL
=no
9442 DEFAULT_wxUSE_DISPLAY
=no
9443 DEFAULT_wxUSE_DETECT_SM
=no
9444 DEFAULT_wxUSE_DIRPICKERCTRL
=no
9445 DEFAULT_wxUSE_FILECTRL
=no
9446 DEFAULT_wxUSE_FILEPICKERCTRL
=no
9447 DEFAULT_wxUSE_FONTPICKERCTRL
=no
9448 DEFAULT_wxUSE_GAUGE
=no
9449 DEFAULT_wxUSE_GRID
=no
9450 DEFAULT_wxUSE_HYPERLINKCTRL
=no
9451 DEFAULT_wxUSE_DATAVIEWCTRL
=no
9452 DEFAULT_wxUSE_IMAGLIST
=no
9453 DEFAULT_wxUSE_LISTBOOK
=no
9454 DEFAULT_wxUSE_LISTBOX
=no
9455 DEFAULT_wxUSE_LISTCTRL
=no
9456 DEFAULT_wxUSE_NOTEBOOK
=no
9457 DEFAULT_wxUSE_RADIOBOX
=no
9458 DEFAULT_wxUSE_RADIOBTN
=no
9459 DEFAULT_wxUSE_SASH
=no
9460 DEFAULT_wxUSE_SCROLLBAR
=no
9461 DEFAULT_wxUSE_SEARCHCTRL
=no
9462 DEFAULT_wxUSE_SLIDER
=no
9463 DEFAULT_wxUSE_SPINBTN
=no
9464 DEFAULT_wxUSE_SPINCTRL
=no
9465 DEFAULT_wxUSE_SPLITTER
=no
9466 DEFAULT_wxUSE_STATBMP
=no
9467 DEFAULT_wxUSE_STATBOX
=no
9468 DEFAULT_wxUSE_STATLINE
=no
9469 DEFAULT_wxUSE_STATUSBAR
=no
9470 DEFAULT_wxUSE_TAB_DIALOG
=no
9471 DEFAULT_wxUSE_TOGGLEBTN
=no
9472 DEFAULT_wxUSE_TOOLBAR
=no
9473 DEFAULT_wxUSE_TOOLBAR_NATIVE
=no
9474 DEFAULT_wxUSE_TOOLTIPS
=no
9475 DEFAULT_wxUSE_TREEBOOK
=no
9476 DEFAULT_wxUSE_TOOLBOOK
=no
9477 DEFAULT_wxUSE_TREECTRL
=no
9478 DEFAULT_wxUSE_POPUPWIN
=no
9479 DEFAULT_wxUSE_TIPWINDOW
=no
9484 defaultval
=$wxUSE_ALL_FEATURES
9485 if test -z "$defaultval"; then
9486 if test x
"$enablestring" = xdisable
; then
9493 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accel" >&5
9494 echo $ECHO_N "checking for --${enablestring:-enable}-accel... $ECHO_C" >&6; }
9495 # Check whether --enable-accel was given.
9496 if test "${enable_accel+set}" = set; then
9497 enableval
=$enable_accel;
9498 if test "$enableval" = yes; then
9499 wx_cv_use_accel
='wxUSE_ACCEL=yes'
9501 wx_cv_use_accel
='wxUSE_ACCEL=no'
9506 wx_cv_use_accel
='wxUSE_ACCEL=${'DEFAULT_wxUSE_ACCEL":-$defaultval}"
9511 eval "$wx_cv_use_accel"
9513 if test x"$enablestring" = xdisable; then
9514 if test $wxUSE_ACCEL = yes; then
9523 { echo "$as_me:$LINENO: result: $result" >&5
9524 echo "${ECHO_T}$result" >&6; }
9528 defaultval=$wxUSE_ALL_FEATURES
9529 if test -z "$defaultval"; then
9530 if test x"$enablestring" = xdisable; then
9537 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-animatectrl" >&5
9538 echo $ECHO_N "checking for --${enablestring:-enable}-animatectrl... $ECHO_C" >&6; }
9539 # Check whether --enable-animatectrl was given.
9540 if test "${enable_animatectrl+set}" = set; then
9541 enableval=$enable_animatectrl;
9542 if test "$enableval" = yes; then
9543 wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL
=yes'
9545 wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL
=no
'
9550 wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL
=${'DEFAULT_wxUSE_ANIMATIONCTRL":-$defaultval}"
9555 eval "$wx_cv_use_animatectrl"
9557 if test x"$enablestring" = xdisable; then
9558 if test $wxUSE_ANIMATIONCTRL = yes; then
9564 result=$wxUSE_ANIMATIONCTRL
9567 { echo "$as_me:$LINENO: result
: $result" >&5
9568 echo "${ECHO_T}$result" >&6; }
9572 defaultval=$wxUSE_ALL_FEATURES
9573 if test -z "$defaultval"; then
9574 if test x"$enablestring" = xdisable; then
9581 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-button" >&5
9582 echo $ECHO_N "checking
for --${enablestring:-enable}-button...
$ECHO_C" >&6; }
9583 # Check whether --enable-button was given.
9584 if test "${enable_button+set}" = set; then
9585 enableval=$enable_button;
9586 if test "$enableval" = yes; then
9587 wx_cv_use_button='wxUSE_BUTTON=yes'
9589 wx_cv_use_button='wxUSE_BUTTON=no'
9594 wx_cv_use_button='wxUSE_BUTTON=${'DEFAULT_wxUSE_BUTTON":-$defaultval}"
9599 eval "$wx_cv_use_button"
9601 if test x
"$enablestring" = xdisable
; then
9602 if test $wxUSE_BUTTON = yes; then
9608 result
=$wxUSE_BUTTON
9611 { echo "$as_me:$LINENO: result: $result" >&5
9612 echo "${ECHO_T}$result" >&6; }
9616 defaultval
=$wxUSE_ALL_FEATURES
9617 if test -z "$defaultval"; then
9618 if test x
"$enablestring" = xdisable
; then
9625 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpbutton" >&5
9626 echo $ECHO_N "checking for --${enablestring:-enable}-bmpbutton... $ECHO_C" >&6; }
9627 # Check whether --enable-bmpbutton was given.
9628 if test "${enable_bmpbutton+set}" = set; then
9629 enableval
=$enable_bmpbutton;
9630 if test "$enableval" = yes; then
9631 wx_cv_use_bmpbutton
='wxUSE_BMPBUTTON=yes'
9633 wx_cv_use_bmpbutton
='wxUSE_BMPBUTTON=no'
9638 wx_cv_use_bmpbutton
='wxUSE_BMPBUTTON=${'DEFAULT_wxUSE_BMPBUTTON":-$defaultval}"
9643 eval "$wx_cv_use_bmpbutton"
9645 if test x"$enablestring" = xdisable; then
9646 if test $wxUSE_BMPBUTTON = yes; then
9652 result=$wxUSE_BMPBUTTON
9655 { echo "$as_me:$LINENO: result: $result" >&5
9656 echo "${ECHO_T}$result" >&6; }
9660 defaultval=$wxUSE_ALL_FEATURES
9661 if test -z "$defaultval"; then
9662 if test x"$enablestring" = xdisable; then
9669 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpcombobox" >&5
9670 echo $ECHO_N "checking for --${enablestring:-enable}-bmpcombobox... $ECHO_C" >&6; }
9671 # Check whether --enable-bmpcombobox was given.
9672 if test "${enable_bmpcombobox+set}" = set; then
9673 enableval=$enable_bmpcombobox;
9674 if test "$enableval" = yes; then
9675 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX
=yes'
9677 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX
=no
'
9682 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX
=${'DEFAULT_wxUSE_BITMAPCOMBOBOX":-$defaultval}"
9687 eval "$wx_cv_use_bmpcombobox"
9689 if test x"$enablestring" = xdisable; then
9690 if test $wxUSE_BITMAPCOMBOBOX = yes; then
9696 result=$wxUSE_BITMAPCOMBOBOX
9699 { echo "$as_me:$LINENO: result
: $result" >&5
9700 echo "${ECHO_T}$result" >&6; }
9704 defaultval=$wxUSE_ALL_FEATURES
9705 if test -z "$defaultval"; then
9706 if test x"$enablestring" = xdisable; then
9713 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-calendar" >&5
9714 echo $ECHO_N "checking
for --${enablestring:-enable}-calendar...
$ECHO_C" >&6; }
9715 # Check whether --enable-calendar was given.
9716 if test "${enable_calendar+set}" = set; then
9717 enableval=$enable_calendar;
9718 if test "$enableval" = yes; then
9719 wx_cv_use_calendar='wxUSE_CALCTRL=yes'
9721 wx_cv_use_calendar='wxUSE_CALCTRL=no'
9726 wx_cv_use_calendar='wxUSE_CALCTRL=${'DEFAULT_wxUSE_CALCTRL":-$defaultval}"
9731 eval "$wx_cv_use_calendar"
9733 if test x
"$enablestring" = xdisable
; then
9734 if test $wxUSE_CALCTRL = yes; then
9740 result
=$wxUSE_CALCTRL
9743 { echo "$as_me:$LINENO: result: $result" >&5
9744 echo "${ECHO_T}$result" >&6; }
9748 defaultval
=$wxUSE_ALL_FEATURES
9749 if test -z "$defaultval"; then
9750 if test x
"$enablestring" = xdisable
; then
9757 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-caret" >&5
9758 echo $ECHO_N "checking for --${enablestring:-enable}-caret... $ECHO_C" >&6; }
9759 # Check whether --enable-caret was given.
9760 if test "${enable_caret+set}" = set; then
9761 enableval
=$enable_caret;
9762 if test "$enableval" = yes; then
9763 wx_cv_use_caret
='wxUSE_CARET=yes'
9765 wx_cv_use_caret
='wxUSE_CARET=no'
9770 wx_cv_use_caret
='wxUSE_CARET=${'DEFAULT_wxUSE_CARET":-$defaultval}"
9775 eval "$wx_cv_use_caret"
9777 if test x"$enablestring" = xdisable; then
9778 if test $wxUSE_CARET = yes; then
9787 { echo "$as_me:$LINENO: result: $result" >&5
9788 echo "${ECHO_T}$result" >&6; }
9792 defaultval=$wxUSE_ALL_FEATURES
9793 if test -z "$defaultval"; then
9794 if test x"$enablestring" = xdisable; then
9801 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checkbox" >&5
9802 echo $ECHO_N "checking for --${enablestring:-enable}-checkbox... $ECHO_C" >&6; }
9803 # Check whether --enable-checkbox was given.
9804 if test "${enable_checkbox+set}" = set; then
9805 enableval=$enable_checkbox;
9806 if test "$enableval" = yes; then
9807 wx_cv_use_checkbox='wxUSE_CHECKBOX
=yes'
9809 wx_cv_use_checkbox='wxUSE_CHECKBOX
=no
'
9814 wx_cv_use_checkbox='wxUSE_CHECKBOX
=${'DEFAULT_wxUSE_CHECKBOX":-$defaultval}"
9819 eval "$wx_cv_use_checkbox"
9821 if test x"$enablestring" = xdisable; then
9822 if test $wxUSE_CHECKBOX = yes; then
9828 result=$wxUSE_CHECKBOX
9831 { echo "$as_me:$LINENO: result
: $result" >&5
9832 echo "${ECHO_T}$result" >&6; }
9836 defaultval=$wxUSE_ALL_FEATURES
9837 if test -z "$defaultval"; then
9838 if test x"$enablestring" = xdisable; then
9845 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-checklst" >&5
9846 echo $ECHO_N "checking
for --${enablestring:-enable}-checklst...
$ECHO_C" >&6; }
9847 # Check whether --enable-checklst was given.
9848 if test "${enable_checklst+set}" = set; then
9849 enableval=$enable_checklst;
9850 if test "$enableval" = yes; then
9851 wx_cv_use_checklst='wxUSE_CHECKLST=yes'
9853 wx_cv_use_checklst='wxUSE_CHECKLST=no'
9858 wx_cv_use_checklst='wxUSE_CHECKLST=${'DEFAULT_wxUSE_CHECKLST":-$defaultval}"
9863 eval "$wx_cv_use_checklst"
9865 if test x
"$enablestring" = xdisable
; then
9866 if test $wxUSE_CHECKLST = yes; then
9872 result
=$wxUSE_CHECKLST
9875 { echo "$as_me:$LINENO: result: $result" >&5
9876 echo "${ECHO_T}$result" >&6; }
9880 defaultval
=$wxUSE_ALL_FEATURES
9881 if test -z "$defaultval"; then
9882 if test x
"$enablestring" = xdisable
; then
9889 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choice" >&5
9890 echo $ECHO_N "checking for --${enablestring:-enable}-choice... $ECHO_C" >&6; }
9891 # Check whether --enable-choice was given.
9892 if test "${enable_choice+set}" = set; then
9893 enableval
=$enable_choice;
9894 if test "$enableval" = yes; then
9895 wx_cv_use_choice
='wxUSE_CHOICE=yes'
9897 wx_cv_use_choice
='wxUSE_CHOICE=no'
9902 wx_cv_use_choice
='wxUSE_CHOICE=${'DEFAULT_wxUSE_CHOICE":-$defaultval}"
9907 eval "$wx_cv_use_choice"
9909 if test x"$enablestring" = xdisable; then
9910 if test $wxUSE_CHOICE = yes; then
9916 result=$wxUSE_CHOICE
9919 { echo "$as_me:$LINENO: result: $result" >&5
9920 echo "${ECHO_T}$result" >&6; }
9924 defaultval=$wxUSE_ALL_FEATURES
9925 if test -z "$defaultval"; then
9926 if test x"$enablestring" = xdisable; then
9933 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicebook" >&5
9934 echo $ECHO_N "checking for --${enablestring:-enable}-choicebook... $ECHO_C" >&6; }
9935 # Check whether --enable-choicebook was given.
9936 if test "${enable_choicebook+set}" = set; then
9937 enableval=$enable_choicebook;
9938 if test "$enableval" = yes; then
9939 wx_cv_use_choicebook='wxUSE_CHOICEBOOK
=yes'
9941 wx_cv_use_choicebook='wxUSE_CHOICEBOOK
=no
'
9946 wx_cv_use_choicebook='wxUSE_CHOICEBOOK
=${'DEFAULT_wxUSE_CHOICEBOOK":-$defaultval}"
9951 eval "$wx_cv_use_choicebook"
9953 if test x"$enablestring" = xdisable; then
9954 if test $wxUSE_CHOICEBOOK = yes; then
9960 result=$wxUSE_CHOICEBOOK
9963 { echo "$as_me:$LINENO: result
: $result" >&5
9964 echo "${ECHO_T}$result" >&6; }
9968 defaultval=$wxUSE_ALL_FEATURES
9969 if test -z "$defaultval"; then
9970 if test x"$enablestring" = xdisable; then
9977 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-collpane" >&5
9978 echo $ECHO_N "checking
for --${enablestring:-enable}-collpane...
$ECHO_C" >&6; }
9979 # Check whether --enable-collpane was given.
9980 if test "${enable_collpane+set}" = set; then
9981 enableval=$enable_collpane;
9982 if test "$enableval" = yes; then
9983 wx_cv_use_collpane='wxUSE_COLLPANE=yes'
9985 wx_cv_use_collpane='wxUSE_COLLPANE=no'
9990 wx_cv_use_collpane='wxUSE_COLLPANE=${'DEFAULT_wxUSE_COLLPANE":-$defaultval}"
9995 eval "$wx_cv_use_collpane"
9997 if test x
"$enablestring" = xdisable
; then
9998 if test $wxUSE_COLLPANE = yes; then
10004 result
=$wxUSE_COLLPANE
10007 { echo "$as_me:$LINENO: result: $result" >&5
10008 echo "${ECHO_T}$result" >&6; }
10012 defaultval
=$wxUSE_ALL_FEATURES
10013 if test -z "$defaultval"; then
10014 if test x
"$enablestring" = xdisable
; then
10021 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-colourpicker" >&5
10022 echo $ECHO_N "checking for --${enablestring:-enable}-colourpicker... $ECHO_C" >&6; }
10023 # Check whether --enable-colourpicker was given.
10024 if test "${enable_colourpicker+set}" = set; then
10025 enableval
=$enable_colourpicker;
10026 if test "$enableval" = yes; then
10027 wx_cv_use_colourpicker
='wxUSE_COLOURPICKERCTRL=yes'
10029 wx_cv_use_colourpicker
='wxUSE_COLOURPICKERCTRL=no'
10034 wx_cv_use_colourpicker
='wxUSE_COLOURPICKERCTRL=${'DEFAULT_wxUSE_COLOURPICKERCTRL":-$defaultval}"
10039 eval "$wx_cv_use_colourpicker"
10041 if test x"$enablestring" = xdisable; then
10042 if test $wxUSE_COLOURPICKERCTRL = yes; then
10048 result=$wxUSE_COLOURPICKERCTRL
10051 { echo "$as_me:$LINENO: result: $result" >&5
10052 echo "${ECHO_T}$result" >&6; }
10056 defaultval=$wxUSE_ALL_FEATURES
10057 if test -z "$defaultval"; then
10058 if test x"$enablestring" = xdisable; then
10065 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-combobox" >&5
10066 echo $ECHO_N "checking for --${enablestring:-enable}-combobox... $ECHO_C" >&6; }
10067 # Check whether --enable-combobox was given.
10068 if test "${enable_combobox+set}" = set; then
10069 enableval=$enable_combobox;
10070 if test "$enableval" = yes; then
10071 wx_cv_use_combobox='wxUSE_COMBOBOX
=yes'
10073 wx_cv_use_combobox='wxUSE_COMBOBOX
=no
'
10078 wx_cv_use_combobox='wxUSE_COMBOBOX
=${'DEFAULT_wxUSE_COMBOBOX":-$defaultval}"
10083 eval "$wx_cv_use_combobox"
10085 if test x"$enablestring" = xdisable; then
10086 if test $wxUSE_COMBOBOX = yes; then
10092 result=$wxUSE_COMBOBOX
10095 { echo "$as_me:$LINENO: result
: $result" >&5
10096 echo "${ECHO_T}$result" >&6; }
10100 defaultval=$wxUSE_ALL_FEATURES
10101 if test -z "$defaultval"; then
10102 if test x"$enablestring" = xdisable; then
10109 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-comboctrl" >&5
10110 echo $ECHO_N "checking
for --${enablestring:-enable}-comboctrl...
$ECHO_C" >&6; }
10111 # Check whether --enable-comboctrl was given.
10112 if test "${enable_comboctrl+set}" = set; then
10113 enableval=$enable_comboctrl;
10114 if test "$enableval" = yes; then
10115 wx_cv_use_comboctrl='wxUSE_COMBOCTRL=yes'
10117 wx_cv_use_comboctrl='wxUSE_COMBOCTRL=no'
10122 wx_cv_use_comboctrl='wxUSE_COMBOCTRL=${'DEFAULT_wxUSE_COMBOCTRL":-$defaultval}"
10127 eval "$wx_cv_use_comboctrl"
10129 if test x
"$enablestring" = xdisable
; then
10130 if test $wxUSE_COMBOCTRL = yes; then
10136 result
=$wxUSE_COMBOCTRL
10139 { echo "$as_me:$LINENO: result: $result" >&5
10140 echo "${ECHO_T}$result" >&6; }
10144 defaultval
=$wxUSE_ALL_FEATURES
10145 if test -z "$defaultval"; then
10146 if test x
"$enablestring" = xdisable
; then
10153 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datepick" >&5
10154 echo $ECHO_N "checking for --${enablestring:-enable}-datepick... $ECHO_C" >&6; }
10155 # Check whether --enable-datepick was given.
10156 if test "${enable_datepick+set}" = set; then
10157 enableval
=$enable_datepick;
10158 if test "$enableval" = yes; then
10159 wx_cv_use_datepick
='wxUSE_DATEPICKCTRL=yes'
10161 wx_cv_use_datepick
='wxUSE_DATEPICKCTRL=no'
10166 wx_cv_use_datepick
='wxUSE_DATEPICKCTRL=${'DEFAULT_wxUSE_DATEPICKCTRL":-$defaultval}"
10171 eval "$wx_cv_use_datepick"
10173 if test x"$enablestring" = xdisable; then
10174 if test $wxUSE_DATEPICKCTRL = yes; then
10180 result=$wxUSE_DATEPICKCTRL
10183 { echo "$as_me:$LINENO: result: $result" >&5
10184 echo "${ECHO_T}$result" >&6; }
10188 defaultval=$wxUSE_ALL_FEATURES
10189 if test -z "$defaultval"; then
10190 if test x"$enablestring" = xdisable; then
10197 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirpicker" >&5
10198 echo $ECHO_N "checking for --${enablestring:-enable}-dirpicker... $ECHO_C" >&6; }
10199 # Check whether --enable-dirpicker was given.
10200 if test "${enable_dirpicker+set}" = set; then
10201 enableval=$enable_dirpicker;
10202 if test "$enableval" = yes; then
10203 wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL
=yes'
10205 wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL
=no
'
10210 wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL
=${'DEFAULT_wxUSE_DIRPICKERCTRL":-$defaultval}"
10215 eval "$wx_cv_use_dirpicker"
10217 if test x"$enablestring" = xdisable; then
10218 if test $wxUSE_DIRPICKERCTRL = yes; then
10224 result=$wxUSE_DIRPICKERCTRL
10227 { echo "$as_me:$LINENO: result
: $result" >&5
10228 echo "${ECHO_T}$result" >&6; }
10232 defaultval=$wxUSE_ALL_FEATURES
10233 if test -z "$defaultval"; then
10234 if test x"$enablestring" = xdisable; then
10241 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-display" >&5
10242 echo $ECHO_N "checking
for --${enablestring:-enable}-display...
$ECHO_C" >&6; }
10243 # Check whether --enable-display was given.
10244 if test "${enable_display+set}" = set; then
10245 enableval=$enable_display;
10246 if test "$enableval" = yes; then
10247 wx_cv_use_display='wxUSE_DISPLAY=yes'
10249 wx_cv_use_display='wxUSE_DISPLAY=no'
10254 wx_cv_use_display='wxUSE_DISPLAY=${'DEFAULT_wxUSE_DISPLAY":-$defaultval}"
10259 eval "$wx_cv_use_display"
10261 if test x
"$enablestring" = xdisable
; then
10262 if test $wxUSE_DISPLAY = yes; then
10268 result
=$wxUSE_DISPLAY
10271 { echo "$as_me:$LINENO: result: $result" >&5
10272 echo "${ECHO_T}$result" >&6; }
10276 defaultval
=$wxUSE_ALL_FEATURES
10277 if test -z "$defaultval"; then
10278 if test x
"$enablestring" = xdisable
; then
10285 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-detect_sm" >&5
10286 echo $ECHO_N "checking for --${enablestring:-enable}-detect_sm... $ECHO_C" >&6; }
10287 # Check whether --enable-detect_sm was given.
10288 if test "${enable_detect_sm+set}" = set; then
10289 enableval
=$enable_detect_sm;
10290 if test "$enableval" = yes; then
10291 wx_cv_use_detect_sm
='wxUSE_DETECT_SM=yes'
10293 wx_cv_use_detect_sm
='wxUSE_DETECT_SM=no'
10298 wx_cv_use_detect_sm
='wxUSE_DETECT_SM=${'DEFAULT_wxUSE_DETECT_SM":-$defaultval}"
10303 eval "$wx_cv_use_detect_sm"
10305 if test x"$enablestring" = xdisable; then
10306 if test $wxUSE_DETECT_SM = yes; then
10312 result=$wxUSE_DETECT_SM
10315 { echo "$as_me:$LINENO: result: $result" >&5
10316 echo "${ECHO_T}$result" >&6; }
10320 defaultval=$wxUSE_ALL_FEATURES
10321 if test -z "$defaultval"; then
10322 if test x"$enablestring" = xdisable; then
10329 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-editablebox" >&5
10330 echo $ECHO_N "checking for --${enablestring:-enable}-editablebox... $ECHO_C" >&6; }
10331 # Check whether --enable-editablebox was given.
10332 if test "${enable_editablebox+set}" = set; then
10333 enableval=$enable_editablebox;
10334 if test "$enableval" = yes; then
10335 wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX
=yes'
10337 wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX
=no
'
10342 wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX
=${'DEFAULT_wxUSE_EDITABLELISTBOX":-$defaultval}"
10347 eval "$wx_cv_use_editablebox"
10349 if test x"$enablestring" = xdisable; then
10350 if test $wxUSE_EDITABLELISTBOX = yes; then
10356 result=$wxUSE_EDITABLELISTBOX
10359 { echo "$as_me:$LINENO: result
: $result" >&5
10360 echo "${ECHO_T}$result" >&6; }
10364 defaultval=$wxUSE_ALL_FEATURES
10365 if test -z "$defaultval"; then
10366 if test x"$enablestring" = xdisable; then
10373 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-filepicker" >&5
10374 echo $ECHO_N "checking
for --${enablestring:-enable}-filepicker...
$ECHO_C" >&6; }
10375 # Check whether --enable-filepicker was given.
10376 if test "${enable_filepicker+set}" = set; then
10377 enableval=$enable_filepicker;
10378 if test "$enableval" = yes; then
10379 wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL=yes'
10381 wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL=no'
10386 wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL=${'DEFAULT_wxUSE_FILEPICKERCTRL":-$defaultval}"
10391 eval "$wx_cv_use_filepicker"
10393 if test x
"$enablestring" = xdisable
; then
10394 if test $wxUSE_FILEPICKERCTRL = yes; then
10400 result
=$wxUSE_FILEPICKERCTRL
10403 { echo "$as_me:$LINENO: result: $result" >&5
10404 echo "${ECHO_T}$result" >&6; }
10408 defaultval
=$wxUSE_ALL_FEATURES
10409 if test -z "$defaultval"; then
10410 if test x
"$enablestring" = xdisable
; then
10417 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filectrl" >&5
10418 echo $ECHO_N "checking for --${enablestring:-enable}-filectrl... $ECHO_C" >&6; }
10419 # Check whether --enable-filectrl was given.
10420 if test "${enable_filectrl+set}" = set; then
10421 enableval
=$enable_filectrl;
10422 if test "$enableval" = yes; then
10423 wx_cv_use_filectrl
='wxUSE_FILECTRL=yes'
10425 wx_cv_use_filectrl
='wxUSE_FILECTRL=no'
10430 wx_cv_use_filectrl
='wxUSE_FILECTRL=${'DEFAULT_wxUSE_FILECTRL":-$defaultval}"
10435 eval "$wx_cv_use_filectrl"
10437 if test x"$enablestring" = xdisable; then
10438 if test $wxUSE_FILECTRL = yes; then
10444 result=$wxUSE_FILECTRL
10447 { echo "$as_me:$LINENO: result: $result" >&5
10448 echo "${ECHO_T}$result" >&6; }
10452 defaultval=$wxUSE_ALL_FEATURES
10453 if test -z "$defaultval"; then
10454 if test x"$enablestring" = xdisable; then
10461 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontpicker" >&5
10462 echo $ECHO_N "checking for --${enablestring:-enable}-fontpicker... $ECHO_C" >&6; }
10463 # Check whether --enable-fontpicker was given.
10464 if test "${enable_fontpicker+set}" = set; then
10465 enableval=$enable_fontpicker;
10466 if test "$enableval" = yes; then
10467 wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL
=yes'
10469 wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL
=no
'
10474 wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL
=${'DEFAULT_wxUSE_FONTPICKERCTRL":-$defaultval}"
10479 eval "$wx_cv_use_fontpicker"
10481 if test x"$enablestring" = xdisable; then
10482 if test $wxUSE_FONTPICKERCTRL = yes; then
10488 result=$wxUSE_FONTPICKERCTRL
10491 { echo "$as_me:$LINENO: result
: $result" >&5
10492 echo "${ECHO_T}$result" >&6; }
10496 defaultval=$wxUSE_ALL_FEATURES
10497 if test -z "$defaultval"; then
10498 if test x"$enablestring" = xdisable; then
10505 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-gauge" >&5
10506 echo $ECHO_N "checking
for --${enablestring:-enable}-gauge...
$ECHO_C" >&6; }
10507 # Check whether --enable-gauge was given.
10508 if test "${enable_gauge+set}" = set; then
10509 enableval=$enable_gauge;
10510 if test "$enableval" = yes; then
10511 wx_cv_use_gauge='wxUSE_GAUGE=yes'
10513 wx_cv_use_gauge='wxUSE_GAUGE=no'
10518 wx_cv_use_gauge='wxUSE_GAUGE=${'DEFAULT_wxUSE_GAUGE":-$defaultval}"
10523 eval "$wx_cv_use_gauge"
10525 if test x
"$enablestring" = xdisable
; then
10526 if test $wxUSE_GAUGE = yes; then
10532 result
=$wxUSE_GAUGE
10535 { echo "$as_me:$LINENO: result: $result" >&5
10536 echo "${ECHO_T}$result" >&6; }
10540 defaultval
=$wxUSE_ALL_FEATURES
10541 if test -z "$defaultval"; then
10542 if test x
"$enablestring" = xdisable
; then
10549 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-grid" >&5
10550 echo $ECHO_N "checking for --${enablestring:-enable}-grid... $ECHO_C" >&6; }
10551 # Check whether --enable-grid was given.
10552 if test "${enable_grid+set}" = set; then
10553 enableval
=$enable_grid;
10554 if test "$enableval" = yes; then
10555 wx_cv_use_grid
='wxUSE_GRID=yes'
10557 wx_cv_use_grid
='wxUSE_GRID=no'
10562 wx_cv_use_grid
='wxUSE_GRID=${'DEFAULT_wxUSE_GRID":-$defaultval}"
10567 eval "$wx_cv_use_grid"
10569 if test x"$enablestring" = xdisable; then
10570 if test $wxUSE_GRID = yes; then
10579 { echo "$as_me:$LINENO: result: $result" >&5
10580 echo "${ECHO_T}$result" >&6; }
10584 defaultval=$wxUSE_ALL_FEATURES
10585 if test -z "$defaultval"; then
10586 if test x"$enablestring" = xdisable; then
10593 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataviewctrl" >&5
10594 echo $ECHO_N "checking for --${enablestring:-enable}-dataviewctrl... $ECHO_C" >&6; }
10595 # Check whether --enable-dataviewctrl was given.
10596 if test "${enable_dataviewctrl+set}" = set; then
10597 enableval=$enable_dataviewctrl;
10598 if test "$enableval" = yes; then
10599 wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL
=yes'
10601 wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL
=no
'
10606 wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL
=${'DEFAULT_wxUSE_DATAVIEWCTRL":-$defaultval}"
10611 eval "$wx_cv_use_dataviewctrl"
10613 if test x"$enablestring" = xdisable; then
10614 if test $wxUSE_DATAVIEWCTRL = yes; then
10620 result=$wxUSE_DATAVIEWCTRL
10623 { echo "$as_me:$LINENO: result
: $result" >&5
10624 echo "${ECHO_T}$result" >&6; }
10628 defaultval=$wxUSE_ALL_FEATURES
10629 if test -z "$defaultval"; then
10630 if test x"$enablestring" = xdisable; then
10637 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-hyperlink" >&5
10638 echo $ECHO_N "checking
for --${enablestring:-enable}-hyperlink...
$ECHO_C" >&6; }
10639 # Check whether --enable-hyperlink was given.
10640 if test "${enable_hyperlink+set}" = set; then
10641 enableval=$enable_hyperlink;
10642 if test "$enableval" = yes; then
10643 wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=yes'
10645 wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=no'
10650 wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=${'DEFAULT_wxUSE_HYPERLINKCTRL":-$defaultval}"
10655 eval "$wx_cv_use_hyperlink"
10657 if test x
"$enablestring" = xdisable
; then
10658 if test $wxUSE_HYPERLINKCTRL = yes; then
10664 result
=$wxUSE_HYPERLINKCTRL
10667 { echo "$as_me:$LINENO: result: $result" >&5
10668 echo "${ECHO_T}$result" >&6; }
10672 defaultval
=$wxUSE_ALL_FEATURES
10673 if test -z "$defaultval"; then
10674 if test x
"$enablestring" = xdisable
; then
10681 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-imaglist" >&5
10682 echo $ECHO_N "checking for --${enablestring:-enable}-imaglist... $ECHO_C" >&6; }
10683 # Check whether --enable-imaglist was given.
10684 if test "${enable_imaglist+set}" = set; then
10685 enableval
=$enable_imaglist;
10686 if test "$enableval" = yes; then
10687 wx_cv_use_imaglist
='wxUSE_IMAGLIST=yes'
10689 wx_cv_use_imaglist
='wxUSE_IMAGLIST=no'
10694 wx_cv_use_imaglist
='wxUSE_IMAGLIST=${'DEFAULT_wxUSE_IMAGLIST":-$defaultval}"
10699 eval "$wx_cv_use_imaglist"
10701 if test x"$enablestring" = xdisable; then
10702 if test $wxUSE_IMAGLIST = yes; then
10708 result=$wxUSE_IMAGLIST
10711 { echo "$as_me:$LINENO: result: $result" >&5
10712 echo "${ECHO_T}$result" >&6; }
10716 defaultval=$wxUSE_ALL_FEATURES
10717 if test -z "$defaultval"; then
10718 if test x"$enablestring" = xdisable; then
10725 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbook" >&5
10726 echo $ECHO_N "checking for --${enablestring:-enable}-listbook... $ECHO_C" >&6; }
10727 # Check whether --enable-listbook was given.
10728 if test "${enable_listbook+set}" = set; then
10729 enableval=$enable_listbook;
10730 if test "$enableval" = yes; then
10731 wx_cv_use_listbook='wxUSE_LISTBOOK
=yes'
10733 wx_cv_use_listbook='wxUSE_LISTBOOK
=no
'
10738 wx_cv_use_listbook='wxUSE_LISTBOOK
=${'DEFAULT_wxUSE_LISTBOOK":-$defaultval}"
10743 eval "$wx_cv_use_listbook"
10745 if test x"$enablestring" = xdisable; then
10746 if test $wxUSE_LISTBOOK = yes; then
10752 result=$wxUSE_LISTBOOK
10755 { echo "$as_me:$LINENO: result
: $result" >&5
10756 echo "${ECHO_T}$result" >&6; }
10760 defaultval=$wxUSE_ALL_FEATURES
10761 if test -z "$defaultval"; then
10762 if test x"$enablestring" = xdisable; then
10769 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-listbox" >&5
10770 echo $ECHO_N "checking
for --${enablestring:-enable}-listbox...
$ECHO_C" >&6; }
10771 # Check whether --enable-listbox was given.
10772 if test "${enable_listbox+set}" = set; then
10773 enableval=$enable_listbox;
10774 if test "$enableval" = yes; then
10775 wx_cv_use_listbox='wxUSE_LISTBOX=yes'
10777 wx_cv_use_listbox='wxUSE_LISTBOX=no'
10782 wx_cv_use_listbox='wxUSE_LISTBOX=${'DEFAULT_wxUSE_LISTBOX":-$defaultval}"
10787 eval "$wx_cv_use_listbox"
10789 if test x
"$enablestring" = xdisable
; then
10790 if test $wxUSE_LISTBOX = yes; then
10796 result
=$wxUSE_LISTBOX
10799 { echo "$as_me:$LINENO: result: $result" >&5
10800 echo "${ECHO_T}$result" >&6; }
10804 defaultval
=$wxUSE_ALL_FEATURES
10805 if test -z "$defaultval"; then
10806 if test x
"$enablestring" = xdisable
; then
10813 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listctrl" >&5
10814 echo $ECHO_N "checking for --${enablestring:-enable}-listctrl... $ECHO_C" >&6; }
10815 # Check whether --enable-listctrl was given.
10816 if test "${enable_listctrl+set}" = set; then
10817 enableval
=$enable_listctrl;
10818 if test "$enableval" = yes; then
10819 wx_cv_use_listctrl
='wxUSE_LISTCTRL=yes'
10821 wx_cv_use_listctrl
='wxUSE_LISTCTRL=no'
10826 wx_cv_use_listctrl
='wxUSE_LISTCTRL=${'DEFAULT_wxUSE_LISTCTRL":-$defaultval}"
10831 eval "$wx_cv_use_listctrl"
10833 if test x"$enablestring" = xdisable; then
10834 if test $wxUSE_LISTCTRL = yes; then
10840 result=$wxUSE_LISTCTRL
10843 { echo "$as_me:$LINENO: result: $result" >&5
10844 echo "${ECHO_T}$result" >&6; }
10848 defaultval=$wxUSE_ALL_FEATURES
10849 if test -z "$defaultval"; then
10850 if test x"$enablestring" = xdisable; then
10857 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-notebook" >&5
10858 echo $ECHO_N "checking for --${enablestring:-enable}-notebook... $ECHO_C" >&6; }
10859 # Check whether --enable-notebook was given.
10860 if test "${enable_notebook+set}" = set; then
10861 enableval=$enable_notebook;
10862 if test "$enableval" = yes; then
10863 wx_cv_use_notebook='wxUSE_NOTEBOOK
=yes'
10865 wx_cv_use_notebook='wxUSE_NOTEBOOK
=no
'
10870 wx_cv_use_notebook='wxUSE_NOTEBOOK
=${'DEFAULT_wxUSE_NOTEBOOK":-$defaultval}"
10875 eval "$wx_cv_use_notebook"
10877 if test x"$enablestring" = xdisable; then
10878 if test $wxUSE_NOTEBOOK = yes; then
10884 result=$wxUSE_NOTEBOOK
10887 { echo "$as_me:$LINENO: result
: $result" >&5
10888 echo "${ECHO_T}$result" >&6; }
10892 defaultval=$wxUSE_ALL_FEATURES
10893 if test -z "$defaultval"; then
10894 if test x"$enablestring" = xdisable; then
10901 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-notifmsg" >&5
10902 echo $ECHO_N "checking
for --${enablestring:-enable}-notifmsg...
$ECHO_C" >&6; }
10903 # Check whether --enable-notifmsg was given.
10904 if test "${enable_notifmsg+set}" = set; then
10905 enableval=$enable_notifmsg;
10906 if test "$enableval" = yes; then
10907 wx_cv_use_notifmsg='wxUSE_NOTIFICATION_MESSAGE=yes'
10909 wx_cv_use_notifmsg='wxUSE_NOTIFICATION_MESSAGE=no'
10914 wx_cv_use_notifmsg='wxUSE_NOTIFICATION_MESSAGE=${'DEFAULT_wxUSE_NOTIFICATION_MESSAGE":-$defaultval}"
10919 eval "$wx_cv_use_notifmsg"
10921 if test x
"$enablestring" = xdisable
; then
10922 if test $wxUSE_NOTIFICATION_MESSAGE = yes; then
10928 result
=$wxUSE_NOTIFICATION_MESSAGE
10931 { echo "$as_me:$LINENO: result: $result" >&5
10932 echo "${ECHO_T}$result" >&6; }
10936 defaultval
=$wxUSE_ALL_FEATURES
10937 if test -z "$defaultval"; then
10938 if test x
"$enablestring" = xdisable
; then
10945 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-odcombobox" >&5
10946 echo $ECHO_N "checking for --${enablestring:-enable}-odcombobox... $ECHO_C" >&6; }
10947 # Check whether --enable-odcombobox was given.
10948 if test "${enable_odcombobox+set}" = set; then
10949 enableval
=$enable_odcombobox;
10950 if test "$enableval" = yes; then
10951 wx_cv_use_odcombobox
='wxUSE_ODCOMBOBOX=yes'
10953 wx_cv_use_odcombobox
='wxUSE_ODCOMBOBOX=no'
10958 wx_cv_use_odcombobox
='wxUSE_ODCOMBOBOX=${'DEFAULT_wxUSE_ODCOMBOBOX":-$defaultval}"
10963 eval "$wx_cv_use_odcombobox"
10965 if test x"$enablestring" = xdisable; then
10966 if test $wxUSE_ODCOMBOBOX = yes; then
10972 result=$wxUSE_ODCOMBOBOX
10975 { echo "$as_me:$LINENO: result: $result" >&5
10976 echo "${ECHO_T}$result" >&6; }
10980 defaultval=$wxUSE_ALL_FEATURES
10981 if test -z "$defaultval"; then
10982 if test x"$enablestring" = xdisable; then
10989 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobox" >&5
10990 echo $ECHO_N "checking for --${enablestring:-enable}-radiobox... $ECHO_C" >&6; }
10991 # Check whether --enable-radiobox was given.
10992 if test "${enable_radiobox+set}" = set; then
10993 enableval=$enable_radiobox;
10994 if test "$enableval" = yes; then
10995 wx_cv_use_radiobox='wxUSE_RADIOBOX
=yes'
10997 wx_cv_use_radiobox='wxUSE_RADIOBOX
=no
'
11002 wx_cv_use_radiobox='wxUSE_RADIOBOX
=${'DEFAULT_wxUSE_RADIOBOX":-$defaultval}"
11007 eval "$wx_cv_use_radiobox"
11009 if test x"$enablestring" = xdisable; then
11010 if test $wxUSE_RADIOBOX = yes; then
11016 result=$wxUSE_RADIOBOX
11019 { echo "$as_me:$LINENO: result
: $result" >&5
11020 echo "${ECHO_T}$result" >&6; }
11024 defaultval=$wxUSE_ALL_FEATURES
11025 if test -z "$defaultval"; then
11026 if test x"$enablestring" = xdisable; then
11033 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-radiobtn" >&5
11034 echo $ECHO_N "checking
for --${enablestring:-enable}-radiobtn...
$ECHO_C" >&6; }
11035 # Check whether --enable-radiobtn was given.
11036 if test "${enable_radiobtn+set}" = set; then
11037 enableval=$enable_radiobtn;
11038 if test "$enableval" = yes; then
11039 wx_cv_use_radiobtn='wxUSE_RADIOBTN=yes'
11041 wx_cv_use_radiobtn='wxUSE_RADIOBTN=no'
11046 wx_cv_use_radiobtn='wxUSE_RADIOBTN=${'DEFAULT_wxUSE_RADIOBTN":-$defaultval}"
11051 eval "$wx_cv_use_radiobtn"
11053 if test x
"$enablestring" = xdisable
; then
11054 if test $wxUSE_RADIOBTN = yes; then
11060 result
=$wxUSE_RADIOBTN
11063 { echo "$as_me:$LINENO: result: $result" >&5
11064 echo "${ECHO_T}$result" >&6; }
11068 defaultval
=$wxUSE_ALL_FEATURES
11069 if test -z "$defaultval"; then
11070 if test x
"$enablestring" = xdisable
; then
11077 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sash" >&5
11078 echo $ECHO_N "checking for --${enablestring:-enable}-sash... $ECHO_C" >&6; }
11079 # Check whether --enable-sash was given.
11080 if test "${enable_sash+set}" = set; then
11081 enableval
=$enable_sash;
11082 if test "$enableval" = yes; then
11083 wx_cv_use_sash
='wxUSE_SASH=yes'
11085 wx_cv_use_sash
='wxUSE_SASH=no'
11090 wx_cv_use_sash
='wxUSE_SASH=${'DEFAULT_wxUSE_SASH":-$defaultval}"
11095 eval "$wx_cv_use_sash"
11097 if test x"$enablestring" = xdisable; then
11098 if test $wxUSE_SASH = yes; then
11107 { echo "$as_me:$LINENO: result: $result" >&5
11108 echo "${ECHO_T}$result" >&6; }
11112 defaultval=$wxUSE_ALL_FEATURES
11113 if test -z "$defaultval"; then
11114 if test x"$enablestring" = xdisable; then
11121 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-scrollbar" >&5
11122 echo $ECHO_N "checking for --${enablestring:-enable}-scrollbar... $ECHO_C" >&6; }
11123 # Check whether --enable-scrollbar was given.
11124 if test "${enable_scrollbar+set}" = set; then
11125 enableval=$enable_scrollbar;
11126 if test "$enableval" = yes; then
11127 wx_cv_use_scrollbar='wxUSE_SCROLLBAR
=yes'
11129 wx_cv_use_scrollbar='wxUSE_SCROLLBAR
=no
'
11134 wx_cv_use_scrollbar='wxUSE_SCROLLBAR
=${'DEFAULT_wxUSE_SCROLLBAR":-$defaultval}"
11139 eval "$wx_cv_use_scrollbar"
11141 if test x"$enablestring" = xdisable; then
11142 if test $wxUSE_SCROLLBAR = yes; then
11148 result=$wxUSE_SCROLLBAR
11151 { echo "$as_me:$LINENO: result
: $result" >&5
11152 echo "${ECHO_T}$result" >&6; }
11156 defaultval=$wxUSE_ALL_FEATURES
11157 if test -z "$defaultval"; then
11158 if test x"$enablestring" = xdisable; then
11165 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-searchctrl" >&5
11166 echo $ECHO_N "checking
for --${enablestring:-enable}-searchctrl...
$ECHO_C" >&6; }
11167 # Check whether --enable-searchctrl was given.
11168 if test "${enable_searchctrl+set}" = set; then
11169 enableval=$enable_searchctrl;
11170 if test "$enableval" = yes; then
11171 wx_cv_use_searchctrl='wxUSE_SEARCHCTRL=yes'
11173 wx_cv_use_searchctrl='wxUSE_SEARCHCTRL=no'
11178 wx_cv_use_searchctrl='wxUSE_SEARCHCTRL=${'DEFAULT_wxUSE_SEARCHCTRL":-$defaultval}"
11183 eval "$wx_cv_use_searchctrl"
11185 if test x
"$enablestring" = xdisable
; then
11186 if test $wxUSE_SEARCHCTRL = yes; then
11192 result
=$wxUSE_SEARCHCTRL
11195 { echo "$as_me:$LINENO: result: $result" >&5
11196 echo "${ECHO_T}$result" >&6; }
11200 defaultval
=$wxUSE_ALL_FEATURES
11201 if test -z "$defaultval"; then
11202 if test x
"$enablestring" = xdisable
; then
11209 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-slider" >&5
11210 echo $ECHO_N "checking for --${enablestring:-enable}-slider... $ECHO_C" >&6; }
11211 # Check whether --enable-slider was given.
11212 if test "${enable_slider+set}" = set; then
11213 enableval
=$enable_slider;
11214 if test "$enableval" = yes; then
11215 wx_cv_use_slider
='wxUSE_SLIDER=yes'
11217 wx_cv_use_slider
='wxUSE_SLIDER=no'
11222 wx_cv_use_slider
='wxUSE_SLIDER=${'DEFAULT_wxUSE_SLIDER":-$defaultval}"
11227 eval "$wx_cv_use_slider"
11229 if test x"$enablestring" = xdisable; then
11230 if test $wxUSE_SLIDER = yes; then
11236 result=$wxUSE_SLIDER
11239 { echo "$as_me:$LINENO: result: $result" >&5
11240 echo "${ECHO_T}$result" >&6; }
11244 defaultval=$wxUSE_ALL_FEATURES
11245 if test -z "$defaultval"; then
11246 if test x"$enablestring" = xdisable; then
11253 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinbtn" >&5
11254 echo $ECHO_N "checking for --${enablestring:-enable}-spinbtn... $ECHO_C" >&6; }
11255 # Check whether --enable-spinbtn was given.
11256 if test "${enable_spinbtn+set}" = set; then
11257 enableval=$enable_spinbtn;
11258 if test "$enableval" = yes; then
11259 wx_cv_use_spinbtn='wxUSE_SPINBTN
=yes'
11261 wx_cv_use_spinbtn='wxUSE_SPINBTN
=no
'
11266 wx_cv_use_spinbtn='wxUSE_SPINBTN
=${'DEFAULT_wxUSE_SPINBTN":-$defaultval}"
11271 eval "$wx_cv_use_spinbtn"
11273 if test x"$enablestring" = xdisable; then
11274 if test $wxUSE_SPINBTN = yes; then
11280 result=$wxUSE_SPINBTN
11283 { echo "$as_me:$LINENO: result
: $result" >&5
11284 echo "${ECHO_T}$result" >&6; }
11288 defaultval=$wxUSE_ALL_FEATURES
11289 if test -z "$defaultval"; then
11290 if test x"$enablestring" = xdisable; then
11297 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-spinctrl" >&5
11298 echo $ECHO_N "checking
for --${enablestring:-enable}-spinctrl...
$ECHO_C" >&6; }
11299 # Check whether --enable-spinctrl was given.
11300 if test "${enable_spinctrl+set}" = set; then
11301 enableval=$enable_spinctrl;
11302 if test "$enableval" = yes; then
11303 wx_cv_use_spinctrl='wxUSE_SPINCTRL=yes'
11305 wx_cv_use_spinctrl='wxUSE_SPINCTRL=no'
11310 wx_cv_use_spinctrl='wxUSE_SPINCTRL=${'DEFAULT_wxUSE_SPINCTRL":-$defaultval}"
11315 eval "$wx_cv_use_spinctrl"
11317 if test x
"$enablestring" = xdisable
; then
11318 if test $wxUSE_SPINCTRL = yes; then
11324 result
=$wxUSE_SPINCTRL
11327 { echo "$as_me:$LINENO: result: $result" >&5
11328 echo "${ECHO_T}$result" >&6; }
11332 defaultval
=$wxUSE_ALL_FEATURES
11333 if test -z "$defaultval"; then
11334 if test x
"$enablestring" = xdisable
; then
11341 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splitter" >&5
11342 echo $ECHO_N "checking for --${enablestring:-enable}-splitter... $ECHO_C" >&6; }
11343 # Check whether --enable-splitter was given.
11344 if test "${enable_splitter+set}" = set; then
11345 enableval
=$enable_splitter;
11346 if test "$enableval" = yes; then
11347 wx_cv_use_splitter
='wxUSE_SPLITTER=yes'
11349 wx_cv_use_splitter
='wxUSE_SPLITTER=no'
11354 wx_cv_use_splitter
='wxUSE_SPLITTER=${'DEFAULT_wxUSE_SPLITTER":-$defaultval}"
11359 eval "$wx_cv_use_splitter"
11361 if test x"$enablestring" = xdisable; then
11362 if test $wxUSE_SPLITTER = yes; then
11368 result=$wxUSE_SPLITTER
11371 { echo "$as_me:$LINENO: result: $result" >&5
11372 echo "${ECHO_T}$result" >&6; }
11376 defaultval=$wxUSE_ALL_FEATURES
11377 if test -z "$defaultval"; then
11378 if test x"$enablestring" = xdisable; then
11385 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbmp" >&5
11386 echo $ECHO_N "checking for --${enablestring:-enable}-statbmp... $ECHO_C" >&6; }
11387 # Check whether --enable-statbmp was given.
11388 if test "${enable_statbmp+set}" = set; then
11389 enableval=$enable_statbmp;
11390 if test "$enableval" = yes; then
11391 wx_cv_use_statbmp='wxUSE_STATBMP
=yes'
11393 wx_cv_use_statbmp='wxUSE_STATBMP
=no
'
11398 wx_cv_use_statbmp='wxUSE_STATBMP
=${'DEFAULT_wxUSE_STATBMP":-$defaultval}"
11403 eval "$wx_cv_use_statbmp"
11405 if test x"$enablestring" = xdisable; then
11406 if test $wxUSE_STATBMP = yes; then
11412 result=$wxUSE_STATBMP
11415 { echo "$as_me:$LINENO: result
: $result" >&5
11416 echo "${ECHO_T}$result" >&6; }
11420 defaultval=$wxUSE_ALL_FEATURES
11421 if test -z "$defaultval"; then
11422 if test x"$enablestring" = xdisable; then
11429 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-statbox" >&5
11430 echo $ECHO_N "checking
for --${enablestring:-enable}-statbox...
$ECHO_C" >&6; }
11431 # Check whether --enable-statbox was given.
11432 if test "${enable_statbox+set}" = set; then
11433 enableval=$enable_statbox;
11434 if test "$enableval" = yes; then
11435 wx_cv_use_statbox='wxUSE_STATBOX=yes'
11437 wx_cv_use_statbox='wxUSE_STATBOX=no'
11442 wx_cv_use_statbox='wxUSE_STATBOX=${'DEFAULT_wxUSE_STATBOX":-$defaultval}"
11447 eval "$wx_cv_use_statbox"
11449 if test x
"$enablestring" = xdisable
; then
11450 if test $wxUSE_STATBOX = yes; then
11456 result
=$wxUSE_STATBOX
11459 { echo "$as_me:$LINENO: result: $result" >&5
11460 echo "${ECHO_T}$result" >&6; }
11464 defaultval
=$wxUSE_ALL_FEATURES
11465 if test -z "$defaultval"; then
11466 if test x
"$enablestring" = xdisable
; then
11473 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statline" >&5
11474 echo $ECHO_N "checking for --${enablestring:-enable}-statline... $ECHO_C" >&6; }
11475 # Check whether --enable-statline was given.
11476 if test "${enable_statline+set}" = set; then
11477 enableval
=$enable_statline;
11478 if test "$enableval" = yes; then
11479 wx_cv_use_statline
='wxUSE_STATLINE=yes'
11481 wx_cv_use_statline
='wxUSE_STATLINE=no'
11486 wx_cv_use_statline
='wxUSE_STATLINE=${'DEFAULT_wxUSE_STATLINE":-$defaultval}"
11491 eval "$wx_cv_use_statline"
11493 if test x"$enablestring" = xdisable; then
11494 if test $wxUSE_STATLINE = yes; then
11500 result=$wxUSE_STATLINE
11503 { echo "$as_me:$LINENO: result: $result" >&5
11504 echo "${ECHO_T}$result" >&6; }
11508 defaultval=$wxUSE_ALL_FEATURES
11509 if test -z "$defaultval"; then
11510 if test x"$enablestring" = xdisable; then
11517 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stattext" >&5
11518 echo $ECHO_N "checking for --${enablestring:-enable}-stattext... $ECHO_C" >&6; }
11519 # Check whether --enable-stattext was given.
11520 if test "${enable_stattext+set}" = set; then
11521 enableval=$enable_stattext;
11522 if test "$enableval" = yes; then
11523 wx_cv_use_stattext='wxUSE_STATTEXT
=yes'
11525 wx_cv_use_stattext='wxUSE_STATTEXT
=no
'
11530 wx_cv_use_stattext='wxUSE_STATTEXT
=${'DEFAULT_wxUSE_STATTEXT":-$defaultval}"
11535 eval "$wx_cv_use_stattext"
11537 if test x"$enablestring" = xdisable; then
11538 if test $wxUSE_STATTEXT = yes; then
11544 result=$wxUSE_STATTEXT
11547 { echo "$as_me:$LINENO: result
: $result" >&5
11548 echo "${ECHO_T}$result" >&6; }
11552 defaultval=$wxUSE_ALL_FEATURES
11553 if test -z "$defaultval"; then
11554 if test x"$enablestring" = xdisable; then
11561 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-statusbar" >&5
11562 echo $ECHO_N "checking
for --${enablestring:-enable}-statusbar...
$ECHO_C" >&6; }
11563 # Check whether --enable-statusbar was given.
11564 if test "${enable_statusbar+set}" = set; then
11565 enableval=$enable_statusbar;
11566 if test "$enableval" = yes; then
11567 wx_cv_use_statusbar='wxUSE_STATUSBAR=yes'
11569 wx_cv_use_statusbar='wxUSE_STATUSBAR=no'
11574 wx_cv_use_statusbar='wxUSE_STATUSBAR=${'DEFAULT_wxUSE_STATUSBAR":-$defaultval}"
11579 eval "$wx_cv_use_statusbar"
11581 if test x
"$enablestring" = xdisable
; then
11582 if test $wxUSE_STATUSBAR = yes; then
11588 result
=$wxUSE_STATUSBAR
11591 { echo "$as_me:$LINENO: result: $result" >&5
11592 echo "${ECHO_T}$result" >&6; }
11596 defaultval
=$wxUSE_ALL_FEATURES
11597 if test -z "$defaultval"; then
11598 if test x
"$enablestring" = xdisable
; then
11605 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tabdialog" >&5
11606 echo $ECHO_N "checking for --${enablestring:-enable}-tabdialog... $ECHO_C" >&6; }
11607 # Check whether --enable-tabdialog was given.
11608 if test "${enable_tabdialog+set}" = set; then
11609 enableval
=$enable_tabdialog;
11610 if test "$enableval" = yes; then
11611 wx_cv_use_tabdialog
='wxUSE_TAB_DIALOG=yes'
11613 wx_cv_use_tabdialog
='wxUSE_TAB_DIALOG=no'
11618 wx_cv_use_tabdialog
='wxUSE_TAB_DIALOG=${'DEFAULT_wxUSE_TAB_DIALOG":-$defaultval}"
11623 eval "$wx_cv_use_tabdialog"
11625 if test x"$enablestring" = xdisable; then
11626 if test $wxUSE_TAB_DIALOG = yes; then
11632 result=$wxUSE_TAB_DIALOG
11635 { echo "$as_me:$LINENO: result: $result" >&5
11636 echo "${ECHO_T}$result" >&6; }
11640 defaultval=$wxUSE_ALL_FEATURES
11641 if test -z "$defaultval"; then
11642 if test x"$enablestring" = xdisable; then
11649 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-taskbaricon" >&5
11650 echo $ECHO_N "checking for --${enablestring:-enable}-taskbaricon... $ECHO_C" >&6; }
11651 # Check whether --enable-taskbaricon was given.
11652 if test "${enable_taskbaricon+set}" = set; then
11653 enableval=$enable_taskbaricon;
11654 if test "$enableval" = yes; then
11655 wx_cv_use_taskbaricon='wxUSE_TASKBARICON
=yes'
11657 wx_cv_use_taskbaricon='wxUSE_TASKBARICON
=no
'
11662 wx_cv_use_taskbaricon='wxUSE_TASKBARICON
=${'DEFAULT_wxUSE_TASKBARICON":-$defaultval}"
11667 eval "$wx_cv_use_taskbaricon"
11669 if test x"$enablestring" = xdisable; then
11670 if test $wxUSE_TASKBARICON = yes; then
11676 result=$wxUSE_TASKBARICON
11679 { echo "$as_me:$LINENO: result
: $result" >&5
11680 echo "${ECHO_T}$result" >&6; }
11684 defaultval=$wxUSE_ALL_FEATURES
11685 if test -z "$defaultval"; then
11686 if test x"$enablestring" = xdisable; then
11693 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-textctrl" >&5
11694 echo $ECHO_N "checking
for --${enablestring:-enable}-textctrl...
$ECHO_C" >&6; }
11695 # Check whether --enable-textctrl was given.
11696 if test "${enable_textctrl+set}" = set; then
11697 enableval=$enable_textctrl;
11698 if test "$enableval" = yes; then
11699 wx_cv_use_textctrl='wxUSE_TEXTCTRL=yes'
11701 wx_cv_use_textctrl='wxUSE_TEXTCTRL=no'
11706 wx_cv_use_textctrl='wxUSE_TEXTCTRL=${'DEFAULT_wxUSE_TEXTCTRL":-$defaultval}"
11711 eval "$wx_cv_use_textctrl"
11713 if test x
"$enablestring" = xdisable
; then
11714 if test $wxUSE_TEXTCTRL = yes; then
11720 result
=$wxUSE_TEXTCTRL
11723 { echo "$as_me:$LINENO: result: $result" >&5
11724 echo "${ECHO_T}$result" >&6; }
11728 defaultval
=$wxUSE_ALL_FEATURES
11729 if test -z "$defaultval"; then
11730 if test x
"$enablestring" = xdisable
; then
11737 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-togglebtn" >&5
11738 echo $ECHO_N "checking for --${enablestring:-enable}-togglebtn... $ECHO_C" >&6; }
11739 # Check whether --enable-togglebtn was given.
11740 if test "${enable_togglebtn+set}" = set; then
11741 enableval
=$enable_togglebtn;
11742 if test "$enableval" = yes; then
11743 wx_cv_use_togglebtn
='wxUSE_TOGGLEBTN=yes'
11745 wx_cv_use_togglebtn
='wxUSE_TOGGLEBTN=no'
11750 wx_cv_use_togglebtn
='wxUSE_TOGGLEBTN=${'DEFAULT_wxUSE_TOGGLEBTN":-$defaultval}"
11755 eval "$wx_cv_use_togglebtn"
11757 if test x"$enablestring" = xdisable; then
11758 if test $wxUSE_TOGGLEBTN = yes; then
11764 result=$wxUSE_TOGGLEBTN
11767 { echo "$as_me:$LINENO: result: $result" >&5
11768 echo "${ECHO_T}$result" >&6; }
11772 defaultval=$wxUSE_ALL_FEATURES
11773 if test -z "$defaultval"; then
11774 if test x"$enablestring" = xdisable; then
11781 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbar" >&5
11782 echo $ECHO_N "checking for --${enablestring:-enable}-toolbar... $ECHO_C" >&6; }
11783 # Check whether --enable-toolbar was given.
11784 if test "${enable_toolbar+set}" = set; then
11785 enableval=$enable_toolbar;
11786 if test "$enableval" = yes; then
11787 wx_cv_use_toolbar='wxUSE_TOOLBAR
=yes'
11789 wx_cv_use_toolbar='wxUSE_TOOLBAR
=no
'
11794 wx_cv_use_toolbar='wxUSE_TOOLBAR
=${'DEFAULT_wxUSE_TOOLBAR":-$defaultval}"
11799 eval "$wx_cv_use_toolbar"
11801 if test x"$enablestring" = xdisable; then
11802 if test $wxUSE_TOOLBAR = yes; then
11808 result=$wxUSE_TOOLBAR
11811 { echo "$as_me:$LINENO: result
: $result" >&5
11812 echo "${ECHO_T}$result" >&6; }
11816 defaultval=$wxUSE_ALL_FEATURES
11817 if test -z "$defaultval"; then
11818 if test x"$enablestring" = xdisable; then
11825 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-tbarnative" >&5
11826 echo $ECHO_N "checking
for --${enablestring:-enable}-tbarnative...
$ECHO_C" >&6; }
11827 # Check whether --enable-tbarnative was given.
11828 if test "${enable_tbarnative+set}" = set; then
11829 enableval=$enable_tbarnative;
11830 if test "$enableval" = yes; then
11831 wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=yes'
11833 wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=no'
11838 wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=${'DEFAULT_wxUSE_TOOLBAR_NATIVE":-$defaultval}"
11843 eval "$wx_cv_use_tbarnative"
11845 if test x
"$enablestring" = xdisable
; then
11846 if test $wxUSE_TOOLBAR_NATIVE = yes; then
11852 result
=$wxUSE_TOOLBAR_NATIVE
11855 { echo "$as_me:$LINENO: result: $result" >&5
11856 echo "${ECHO_T}$result" >&6; }
11860 defaultval
=$wxUSE_ALL_FEATURES
11861 if test -z "$defaultval"; then
11862 if test x
"$enablestring" = xdisable
; then
11869 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treebook" >&5
11870 echo $ECHO_N "checking for --${enablestring:-enable}-treebook... $ECHO_C" >&6; }
11871 # Check whether --enable-treebook was given.
11872 if test "${enable_treebook+set}" = set; then
11873 enableval
=$enable_treebook;
11874 if test "$enableval" = yes; then
11875 wx_cv_use_treebook
='wxUSE_TREEBOOK=yes'
11877 wx_cv_use_treebook
='wxUSE_TREEBOOK=no'
11882 wx_cv_use_treebook
='wxUSE_TREEBOOK=${'DEFAULT_wxUSE_TREEBOOK":-$defaultval}"
11887 eval "$wx_cv_use_treebook"
11889 if test x"$enablestring" = xdisable; then
11890 if test $wxUSE_TREEBOOK = yes; then
11896 result=$wxUSE_TREEBOOK
11899 { echo "$as_me:$LINENO: result: $result" >&5
11900 echo "${ECHO_T}$result" >&6; }
11904 defaultval=$wxUSE_ALL_FEATURES
11905 if test -z "$defaultval"; then
11906 if test x"$enablestring" = xdisable; then
11913 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbook" >&5
11914 echo $ECHO_N "checking for --${enablestring:-enable}-toolbook... $ECHO_C" >&6; }
11915 # Check whether --enable-toolbook was given.
11916 if test "${enable_toolbook+set}" = set; then
11917 enableval=$enable_toolbook;
11918 if test "$enableval" = yes; then
11919 wx_cv_use_toolbook='wxUSE_TOOLBOOK
=yes'
11921 wx_cv_use_toolbook='wxUSE_TOOLBOOK
=no
'
11926 wx_cv_use_toolbook='wxUSE_TOOLBOOK
=${'DEFAULT_wxUSE_TOOLBOOK":-$defaultval}"
11931 eval "$wx_cv_use_toolbook"
11933 if test x"$enablestring" = xdisable; then
11934 if test $wxUSE_TOOLBOOK = yes; then
11940 result=$wxUSE_TOOLBOOK
11943 { echo "$as_me:$LINENO: result
: $result" >&5
11944 echo "${ECHO_T}$result" >&6; }
11948 defaultval=$wxUSE_ALL_FEATURES
11949 if test -z "$defaultval"; then
11950 if test x"$enablestring" = xdisable; then
11957 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-treectrl" >&5
11958 echo $ECHO_N "checking
for --${enablestring:-enable}-treectrl...
$ECHO_C" >&6; }
11959 # Check whether --enable-treectrl was given.
11960 if test "${enable_treectrl+set}" = set; then
11961 enableval=$enable_treectrl;
11962 if test "$enableval" = yes; then
11963 wx_cv_use_treectrl='wxUSE_TREECTRL=yes'
11965 wx_cv_use_treectrl='wxUSE_TREECTRL=no'
11970 wx_cv_use_treectrl='wxUSE_TREECTRL=${'DEFAULT_wxUSE_TREECTRL":-$defaultval}"
11975 eval "$wx_cv_use_treectrl"
11977 if test x
"$enablestring" = xdisable
; then
11978 if test $wxUSE_TREECTRL = yes; then
11984 result
=$wxUSE_TREECTRL
11987 { echo "$as_me:$LINENO: result: $result" >&5
11988 echo "${ECHO_T}$result" >&6; }
11992 defaultval
=$wxUSE_ALL_FEATURES
11993 if test -z "$defaultval"; then
11994 if test x
"$enablestring" = xdisable
; then
12001 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipwindow" >&5
12002 echo $ECHO_N "checking for --${enablestring:-enable}-tipwindow... $ECHO_C" >&6; }
12003 # Check whether --enable-tipwindow was given.
12004 if test "${enable_tipwindow+set}" = set; then
12005 enableval
=$enable_tipwindow;
12006 if test "$enableval" = yes; then
12007 wx_cv_use_tipwindow
='wxUSE_TIPWINDOW=yes'
12009 wx_cv_use_tipwindow
='wxUSE_TIPWINDOW=no'
12014 wx_cv_use_tipwindow
='wxUSE_TIPWINDOW=${'DEFAULT_wxUSE_TIPWINDOW":-$defaultval}"
12019 eval "$wx_cv_use_tipwindow"
12021 if test x"$enablestring" = xdisable; then
12022 if test $wxUSE_TIPWINDOW = yes; then
12028 result=$wxUSE_TIPWINDOW
12031 { echo "$as_me:$LINENO: result: $result" >&5
12032 echo "${ECHO_T}$result" >&6; }
12036 defaultval=$wxUSE_ALL_FEATURES
12037 if test -z "$defaultval"; then
12038 if test x"$enablestring" = xdisable; then
12045 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-popupwin" >&5
12046 echo $ECHO_N "checking for --${enablestring:-enable}-popupwin... $ECHO_C" >&6; }
12047 # Check whether --enable-popupwin was given.
12048 if test "${enable_popupwin+set}" = set; then
12049 enableval=$enable_popupwin;
12050 if test "$enableval" = yes; then
12051 wx_cv_use_popupwin='wxUSE_POPUPWIN
=yes'
12053 wx_cv_use_popupwin='wxUSE_POPUPWIN
=no
'
12058 wx_cv_use_popupwin='wxUSE_POPUPWIN
=${'DEFAULT_wxUSE_POPUPWIN":-$defaultval}"
12063 eval "$wx_cv_use_popupwin"
12065 if test x"$enablestring" = xdisable; then
12066 if test $wxUSE_POPUPWIN = yes; then
12072 result=$wxUSE_POPUPWIN
12075 { echo "$as_me:$LINENO: result
: $result" >&5
12076 echo "${ECHO_T}$result" >&6; }
12082 defaultval=$wxUSE_ALL_FEATURES
12083 if test -z "$defaultval"; then
12084 if test x"$enablestring" = xdisable; then
12091 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-commondlg" >&5
12092 echo $ECHO_N "checking
for --${enablestring:-enable}-commondlg...
$ECHO_C" >&6; }
12093 # Check whether --enable-commondlg was given.
12094 if test "${enable_commondlg+set}" = set; then
12095 enableval=$enable_commondlg;
12096 if test "$enableval" = yes; then
12097 wx_cv_use_commondlg='wxUSE_COMMONDLGS=yes'
12099 wx_cv_use_commondlg='wxUSE_COMMONDLGS=no'
12104 wx_cv_use_commondlg='wxUSE_COMMONDLGS=${'DEFAULT_wxUSE_COMMONDLGS":-$defaultval}"
12109 eval "$wx_cv_use_commondlg"
12111 if test x
"$enablestring" = xdisable
; then
12112 if test $wxUSE_COMMONDLGS = yes; then
12118 result
=$wxUSE_COMMONDLGS
12121 { echo "$as_me:$LINENO: result: $result" >&5
12122 echo "${ECHO_T}$result" >&6; }
12126 defaultval
=$wxUSE_ALL_FEATURES
12127 if test -z "$defaultval"; then
12128 if test x
"$enablestring" = xdisable
; then
12135 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-aboutdlg" >&5
12136 echo $ECHO_N "checking for --${enablestring:-enable}-aboutdlg... $ECHO_C" >&6; }
12137 # Check whether --enable-aboutdlg was given.
12138 if test "${enable_aboutdlg+set}" = set; then
12139 enableval
=$enable_aboutdlg;
12140 if test "$enableval" = yes; then
12141 wx_cv_use_aboutdlg
='wxUSE_ABOUTDLG=yes'
12143 wx_cv_use_aboutdlg
='wxUSE_ABOUTDLG=no'
12148 wx_cv_use_aboutdlg
='wxUSE_ABOUTDLG=${'DEFAULT_wxUSE_ABOUTDLG":-$defaultval}"
12153 eval "$wx_cv_use_aboutdlg"
12155 if test x"$enablestring" = xdisable; then
12156 if test $wxUSE_ABOUTDLG = yes; then
12162 result=$wxUSE_ABOUTDLG
12165 { echo "$as_me:$LINENO: result: $result" >&5
12166 echo "${ECHO_T}$result" >&6; }
12170 defaultval=$wxUSE_ALL_FEATURES
12171 if test -z "$defaultval"; then
12172 if test x"$enablestring" = xdisable; then
12179 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicedlg" >&5
12180 echo $ECHO_N "checking for --${enablestring:-enable}-choicedlg... $ECHO_C" >&6; }
12181 # Check whether --enable-choicedlg was given.
12182 if test "${enable_choicedlg+set}" = set; then
12183 enableval=$enable_choicedlg;
12184 if test "$enableval" = yes; then
12185 wx_cv_use_choicedlg='wxUSE_CHOICEDLG
=yes'
12187 wx_cv_use_choicedlg='wxUSE_CHOICEDLG
=no
'
12192 wx_cv_use_choicedlg='wxUSE_CHOICEDLG
=${'DEFAULT_wxUSE_CHOICEDLG":-$defaultval}"
12197 eval "$wx_cv_use_choicedlg"
12199 if test x"$enablestring" = xdisable; then
12200 if test $wxUSE_CHOICEDLG = yes; then
12206 result=$wxUSE_CHOICEDLG
12209 { echo "$as_me:$LINENO: result
: $result" >&5
12210 echo "${ECHO_T}$result" >&6; }
12214 defaultval=$wxUSE_ALL_FEATURES
12215 if test -z "$defaultval"; then
12216 if test x"$enablestring" = xdisable; then
12223 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-coldlg" >&5
12224 echo $ECHO_N "checking
for --${enablestring:-enable}-coldlg...
$ECHO_C" >&6; }
12225 # Check whether --enable-coldlg was given.
12226 if test "${enable_coldlg+set}" = set; then
12227 enableval=$enable_coldlg;
12228 if test "$enableval" = yes; then
12229 wx_cv_use_coldlg='wxUSE_COLOURDLG=yes'
12231 wx_cv_use_coldlg='wxUSE_COLOURDLG=no'
12236 wx_cv_use_coldlg='wxUSE_COLOURDLG=${'DEFAULT_wxUSE_COLOURDLG":-$defaultval}"
12241 eval "$wx_cv_use_coldlg"
12243 if test x
"$enablestring" = xdisable
; then
12244 if test $wxUSE_COLOURDLG = yes; then
12250 result
=$wxUSE_COLOURDLG
12253 { echo "$as_me:$LINENO: result: $result" >&5
12254 echo "${ECHO_T}$result" >&6; }
12258 defaultval
=$wxUSE_ALL_FEATURES
12259 if test -z "$defaultval"; then
12260 if test x
"$enablestring" = xdisable
; then
12267 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filedlg" >&5
12268 echo $ECHO_N "checking for --${enablestring:-enable}-filedlg... $ECHO_C" >&6; }
12269 # Check whether --enable-filedlg was given.
12270 if test "${enable_filedlg+set}" = set; then
12271 enableval
=$enable_filedlg;
12272 if test "$enableval" = yes; then
12273 wx_cv_use_filedlg
='wxUSE_FILEDLG=yes'
12275 wx_cv_use_filedlg
='wxUSE_FILEDLG=no'
12280 wx_cv_use_filedlg
='wxUSE_FILEDLG=${'DEFAULT_wxUSE_FILEDLG":-$defaultval}"
12285 eval "$wx_cv_use_filedlg"
12287 if test x"$enablestring" = xdisable; then
12288 if test $wxUSE_FILEDLG = yes; then
12294 result=$wxUSE_FILEDLG
12297 { echo "$as_me:$LINENO: result: $result" >&5
12298 echo "${ECHO_T}$result" >&6; }
12302 defaultval=$wxUSE_ALL_FEATURES
12303 if test -z "$defaultval"; then
12304 if test x"$enablestring" = xdisable; then
12311 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-finddlg" >&5
12312 echo $ECHO_N "checking for --${enablestring:-enable}-finddlg... $ECHO_C" >&6; }
12313 # Check whether --enable-finddlg was given.
12314 if test "${enable_finddlg+set}" = set; then
12315 enableval=$enable_finddlg;
12316 if test "$enableval" = yes; then
12317 wx_cv_use_finddlg='wxUSE_FINDREPLDLG
=yes'
12319 wx_cv_use_finddlg='wxUSE_FINDREPLDLG
=no
'
12324 wx_cv_use_finddlg='wxUSE_FINDREPLDLG
=${'DEFAULT_wxUSE_FINDREPLDLG":-$defaultval}"
12329 eval "$wx_cv_use_finddlg"
12331 if test x"$enablestring" = xdisable; then
12332 if test $wxUSE_FINDREPLDLG = yes; then
12338 result=$wxUSE_FINDREPLDLG
12341 { echo "$as_me:$LINENO: result
: $result" >&5
12342 echo "${ECHO_T}$result" >&6; }
12346 defaultval=$wxUSE_ALL_FEATURES
12347 if test -z "$defaultval"; then
12348 if test x"$enablestring" = xdisable; then
12355 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-fontdlg" >&5
12356 echo $ECHO_N "checking
for --${enablestring:-enable}-fontdlg...
$ECHO_C" >&6; }
12357 # Check whether --enable-fontdlg was given.
12358 if test "${enable_fontdlg+set}" = set; then
12359 enableval=$enable_fontdlg;
12360 if test "$enableval" = yes; then
12361 wx_cv_use_fontdlg='wxUSE_FONTDLG=yes'
12363 wx_cv_use_fontdlg='wxUSE_FONTDLG=no'
12368 wx_cv_use_fontdlg='wxUSE_FONTDLG=${'DEFAULT_wxUSE_FONTDLG":-$defaultval}"
12373 eval "$wx_cv_use_fontdlg"
12375 if test x
"$enablestring" = xdisable
; then
12376 if test $wxUSE_FONTDLG = yes; then
12382 result
=$wxUSE_FONTDLG
12385 { echo "$as_me:$LINENO: result: $result" >&5
12386 echo "${ECHO_T}$result" >&6; }
12390 defaultval
=$wxUSE_ALL_FEATURES
12391 if test -z "$defaultval"; then
12392 if test x
"$enablestring" = xdisable
; then
12399 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirdlg" >&5
12400 echo $ECHO_N "checking for --${enablestring:-enable}-dirdlg... $ECHO_C" >&6; }
12401 # Check whether --enable-dirdlg was given.
12402 if test "${enable_dirdlg+set}" = set; then
12403 enableval
=$enable_dirdlg;
12404 if test "$enableval" = yes; then
12405 wx_cv_use_dirdlg
='wxUSE_DIRDLG=yes'
12407 wx_cv_use_dirdlg
='wxUSE_DIRDLG=no'
12412 wx_cv_use_dirdlg
='wxUSE_DIRDLG=${'DEFAULT_wxUSE_DIRDLG":-$defaultval}"
12417 eval "$wx_cv_use_dirdlg"
12419 if test x"$enablestring" = xdisable; then
12420 if test $wxUSE_DIRDLG = yes; then
12426 result=$wxUSE_DIRDLG
12429 { echo "$as_me:$LINENO: result: $result" >&5
12430 echo "${ECHO_T}$result" >&6; }
12434 defaultval=$wxUSE_ALL_FEATURES
12435 if test -z "$defaultval"; then
12436 if test x"$enablestring" = xdisable; then
12443 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-msgdlg" >&5
12444 echo $ECHO_N "checking for --${enablestring:-enable}-msgdlg... $ECHO_C" >&6; }
12445 # Check whether --enable-msgdlg was given.
12446 if test "${enable_msgdlg+set}" = set; then
12447 enableval=$enable_msgdlg;
12448 if test "$enableval" = yes; then
12449 wx_cv_use_msgdlg='wxUSE_MSGDLG
=yes'
12451 wx_cv_use_msgdlg='wxUSE_MSGDLG
=no
'
12456 wx_cv_use_msgdlg='wxUSE_MSGDLG
=${'DEFAULT_wxUSE_MSGDLG":-$defaultval}"
12461 eval "$wx_cv_use_msgdlg"
12463 if test x"$enablestring" = xdisable; then
12464 if test $wxUSE_MSGDLG = yes; then
12470 result=$wxUSE_MSGDLG
12473 { echo "$as_me:$LINENO: result
: $result" >&5
12474 echo "${ECHO_T}$result" >&6; }
12478 defaultval=$wxUSE_ALL_FEATURES
12479 if test -z "$defaultval"; then
12480 if test x"$enablestring" = xdisable; then
12487 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-numberdlg" >&5
12488 echo $ECHO_N "checking
for --${enablestring:-enable}-numberdlg...
$ECHO_C" >&6; }
12489 # Check whether --enable-numberdlg was given.
12490 if test "${enable_numberdlg+set}" = set; then
12491 enableval=$enable_numberdlg;
12492 if test "$enableval" = yes; then
12493 wx_cv_use_numberdlg='wxUSE_NUMBERDLG=yes'
12495 wx_cv_use_numberdlg='wxUSE_NUMBERDLG=no'
12500 wx_cv_use_numberdlg='wxUSE_NUMBERDLG=${'DEFAULT_wxUSE_NUMBERDLG":-$defaultval}"
12505 eval "$wx_cv_use_numberdlg"
12507 if test x
"$enablestring" = xdisable
; then
12508 if test $wxUSE_NUMBERDLG = yes; then
12514 result
=$wxUSE_NUMBERDLG
12517 { echo "$as_me:$LINENO: result: $result" >&5
12518 echo "${ECHO_T}$result" >&6; }
12522 defaultval
=$wxUSE_ALL_FEATURES
12523 if test -z "$defaultval"; then
12524 if test x
"$enablestring" = xdisable
; then
12531 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splash" >&5
12532 echo $ECHO_N "checking for --${enablestring:-enable}-splash... $ECHO_C" >&6; }
12533 # Check whether --enable-splash was given.
12534 if test "${enable_splash+set}" = set; then
12535 enableval
=$enable_splash;
12536 if test "$enableval" = yes; then
12537 wx_cv_use_splash
='wxUSE_SPLASH=yes'
12539 wx_cv_use_splash
='wxUSE_SPLASH=no'
12544 wx_cv_use_splash
='wxUSE_SPLASH=${'DEFAULT_wxUSE_SPLASH":-$defaultval}"
12549 eval "$wx_cv_use_splash"
12551 if test x"$enablestring" = xdisable; then
12552 if test $wxUSE_SPLASH = yes; then
12558 result=$wxUSE_SPLASH
12561 { echo "$as_me:$LINENO: result: $result" >&5
12562 echo "${ECHO_T}$result" >&6; }
12566 defaultval=$wxUSE_ALL_FEATURES
12567 if test -z "$defaultval"; then
12568 if test x"$enablestring" = xdisable; then
12575 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textdlg" >&5
12576 echo $ECHO_N "checking for --${enablestring:-enable}-textdlg... $ECHO_C" >&6; }
12577 # Check whether --enable-textdlg was given.
12578 if test "${enable_textdlg+set}" = set; then
12579 enableval=$enable_textdlg;
12580 if test "$enableval" = yes; then
12581 wx_cv_use_textdlg='wxUSE_TEXTDLG
=yes'
12583 wx_cv_use_textdlg='wxUSE_TEXTDLG
=no
'
12588 wx_cv_use_textdlg='wxUSE_TEXTDLG
=${'DEFAULT_wxUSE_TEXTDLG":-$defaultval}"
12593 eval "$wx_cv_use_textdlg"
12595 if test x"$enablestring" = xdisable; then
12596 if test $wxUSE_TEXTDLG = yes; then
12602 result=$wxUSE_TEXTDLG
12605 { echo "$as_me:$LINENO: result
: $result" >&5
12606 echo "${ECHO_T}$result" >&6; }
12610 defaultval=$wxUSE_ALL_FEATURES
12611 if test -z "$defaultval"; then
12612 if test x"$enablestring" = xdisable; then
12619 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-tipdlg" >&5
12620 echo $ECHO_N "checking
for --${enablestring:-enable}-tipdlg...
$ECHO_C" >&6; }
12621 # Check whether --enable-tipdlg was given.
12622 if test "${enable_tipdlg+set}" = set; then
12623 enableval=$enable_tipdlg;
12624 if test "$enableval" = yes; then
12625 wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS=yes'
12627 wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS=no'
12632 wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS=${'DEFAULT_wxUSE_STARTUP_TIPS":-$defaultval}"
12637 eval "$wx_cv_use_tipdlg"
12639 if test x
"$enablestring" = xdisable
; then
12640 if test $wxUSE_STARTUP_TIPS = yes; then
12646 result
=$wxUSE_STARTUP_TIPS
12649 { echo "$as_me:$LINENO: result: $result" >&5
12650 echo "${ECHO_T}$result" >&6; }
12654 defaultval
=$wxUSE_ALL_FEATURES
12655 if test -z "$defaultval"; then
12656 if test x
"$enablestring" = xdisable
; then
12663 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-progressdlg" >&5
12664 echo $ECHO_N "checking for --${enablestring:-enable}-progressdlg... $ECHO_C" >&6; }
12665 # Check whether --enable-progressdlg was given.
12666 if test "${enable_progressdlg+set}" = set; then
12667 enableval
=$enable_progressdlg;
12668 if test "$enableval" = yes; then
12669 wx_cv_use_progressdlg
='wxUSE_PROGRESSDLG=yes'
12671 wx_cv_use_progressdlg
='wxUSE_PROGRESSDLG=no'
12676 wx_cv_use_progressdlg
='wxUSE_PROGRESSDLG=${'DEFAULT_wxUSE_PROGRESSDLG":-$defaultval}"
12681 eval "$wx_cv_use_progressdlg"
12683 if test x"$enablestring" = xdisable; then
12684 if test $wxUSE_PROGRESSDLG = yes; then
12690 result=$wxUSE_PROGRESSDLG
12693 { echo "$as_me:$LINENO: result: $result" >&5
12694 echo "${ECHO_T}$result" >&6; }
12698 defaultval=$wxUSE_ALL_FEATURES
12699 if test -z "$defaultval"; then
12700 if test x"$enablestring" = xdisable; then
12707 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wizarddlg" >&5
12708 echo $ECHO_N "checking for --${enablestring:-enable}-wizarddlg... $ECHO_C" >&6; }
12709 # Check whether --enable-wizarddlg was given.
12710 if test "${enable_wizarddlg+set}" = set; then
12711 enableval=$enable_wizarddlg;
12712 if test "$enableval" = yes; then
12713 wx_cv_use_wizarddlg='wxUSE_WIZARDDLG
=yes'
12715 wx_cv_use_wizarddlg='wxUSE_WIZARDDLG
=no
'
12720 wx_cv_use_wizarddlg='wxUSE_WIZARDDLG
=${'DEFAULT_wxUSE_WIZARDDLG":-$defaultval}"
12725 eval "$wx_cv_use_wizarddlg"
12727 if test x"$enablestring" = xdisable; then
12728 if test $wxUSE_WIZARDDLG = yes; then
12734 result=$wxUSE_WIZARDDLG
12737 { echo "$as_me:$LINENO: result
: $result" >&5
12738 echo "${ECHO_T}$result" >&6; }
12744 defaultval=$wxUSE_ALL_FEATURES
12745 if test -z "$defaultval"; then
12746 if test x"$enablestring" = xdisable; then
12753 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-menus" >&5
12754 echo $ECHO_N "checking
for --${enablestring:-enable}-menus...
$ECHO_C" >&6; }
12755 # Check whether --enable-menus was given.
12756 if test "${enable_menus+set}" = set; then
12757 enableval=$enable_menus;
12758 if test "$enableval" = yes; then
12759 wx_cv_use_menus='wxUSE_MENUS=yes'
12761 wx_cv_use_menus='wxUSE_MENUS=no'
12766 wx_cv_use_menus='wxUSE_MENUS=${'DEFAULT_wxUSE_MENUS":-$defaultval}"
12771 eval "$wx_cv_use_menus"
12773 if test x
"$enablestring" = xdisable
; then
12774 if test $wxUSE_MENUS = yes; then
12780 result
=$wxUSE_MENUS
12783 { echo "$as_me:$LINENO: result: $result" >&5
12784 echo "${ECHO_T}$result" >&6; }
12788 defaultval
=$wxUSE_ALL_FEATURES
12789 if test -z "$defaultval"; then
12790 if test x
"$enablestring" = xdisable
; then
12797 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-miniframe" >&5
12798 echo $ECHO_N "checking for --${enablestring:-enable}-miniframe... $ECHO_C" >&6; }
12799 # Check whether --enable-miniframe was given.
12800 if test "${enable_miniframe+set}" = set; then
12801 enableval
=$enable_miniframe;
12802 if test "$enableval" = yes; then
12803 wx_cv_use_miniframe
='wxUSE_MINIFRAME=yes'
12805 wx_cv_use_miniframe
='wxUSE_MINIFRAME=no'
12810 wx_cv_use_miniframe
='wxUSE_MINIFRAME=${'DEFAULT_wxUSE_MINIFRAME":-$defaultval}"
12815 eval "$wx_cv_use_miniframe"
12817 if test x"$enablestring" = xdisable; then
12818 if test $wxUSE_MINIFRAME = yes; then
12824 result=$wxUSE_MINIFRAME
12827 { echo "$as_me:$LINENO: result: $result" >&5
12828 echo "${ECHO_T}$result" >&6; }
12832 defaultval=$wxUSE_ALL_FEATURES
12833 if test -z "$defaultval"; then
12834 if test x"$enablestring" = xdisable; then
12841 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tooltips" >&5
12842 echo $ECHO_N "checking for --${enablestring:-enable}-tooltips... $ECHO_C" >&6; }
12843 # Check whether --enable-tooltips was given.
12844 if test "${enable_tooltips+set}" = set; then
12845 enableval=$enable_tooltips;
12846 if test "$enableval" = yes; then
12847 wx_cv_use_tooltips='wxUSE_TOOLTIPS
=yes'
12849 wx_cv_use_tooltips='wxUSE_TOOLTIPS
=no
'
12854 wx_cv_use_tooltips='wxUSE_TOOLTIPS
=${'DEFAULT_wxUSE_TOOLTIPS":-$defaultval}"
12859 eval "$wx_cv_use_tooltips"
12861 if test x"$enablestring" = xdisable; then
12862 if test $wxUSE_TOOLTIPS = yes; then
12868 result=$wxUSE_TOOLTIPS
12871 { echo "$as_me:$LINENO: result
: $result" >&5
12872 echo "${ECHO_T}$result" >&6; }
12876 defaultval=$wxUSE_ALL_FEATURES
12877 if test -z "$defaultval"; then
12878 if test x"$enablestring" = xdisable; then
12885 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-splines" >&5
12886 echo $ECHO_N "checking
for --${enablestring:-enable}-splines...
$ECHO_C" >&6; }
12887 # Check whether --enable-splines was given.
12888 if test "${enable_splines+set}" = set; then
12889 enableval=$enable_splines;
12890 if test "$enableval" = yes; then
12891 wx_cv_use_splines='wxUSE_SPLINES=yes'
12893 wx_cv_use_splines='wxUSE_SPLINES=no'
12898 wx_cv_use_splines='wxUSE_SPLINES=${'DEFAULT_wxUSE_SPLINES":-$defaultval}"
12903 eval "$wx_cv_use_splines"
12905 if test x
"$enablestring" = xdisable
; then
12906 if test $wxUSE_SPLINES = yes; then
12912 result
=$wxUSE_SPLINES
12915 { echo "$as_me:$LINENO: result: $result" >&5
12916 echo "${ECHO_T}$result" >&6; }
12920 defaultval
=$wxUSE_ALL_FEATURES
12921 if test -z "$defaultval"; then
12922 if test x
"$enablestring" = xdisable
; then
12929 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mousewheel" >&5
12930 echo $ECHO_N "checking for --${enablestring:-enable}-mousewheel... $ECHO_C" >&6; }
12931 # Check whether --enable-mousewheel was given.
12932 if test "${enable_mousewheel+set}" = set; then
12933 enableval
=$enable_mousewheel;
12934 if test "$enableval" = yes; then
12935 wx_cv_use_mousewheel
='wxUSE_MOUSEWHEEL=yes'
12937 wx_cv_use_mousewheel
='wxUSE_MOUSEWHEEL=no'
12942 wx_cv_use_mousewheel
='wxUSE_MOUSEWHEEL=${'DEFAULT_wxUSE_MOUSEWHEEL":-$defaultval}"
12947 eval "$wx_cv_use_mousewheel"
12949 if test x"$enablestring" = xdisable; then
12950 if test $wxUSE_MOUSEWHEEL = yes; then
12956 result=$wxUSE_MOUSEWHEEL
12959 { echo "$as_me:$LINENO: result: $result" >&5
12960 echo "${ECHO_T}$result" >&6; }
12964 defaultval=$wxUSE_ALL_FEATURES
12965 if test -z "$defaultval"; then
12966 if test x"$enablestring" = xdisable; then
12973 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-validators" >&5
12974 echo $ECHO_N "checking for --${enablestring:-enable}-validators... $ECHO_C" >&6; }
12975 # Check whether --enable-validators was given.
12976 if test "${enable_validators+set}" = set; then
12977 enableval=$enable_validators;
12978 if test "$enableval" = yes; then
12979 wx_cv_use_validators='wxUSE_VALIDATORS
=yes'
12981 wx_cv_use_validators='wxUSE_VALIDATORS
=no
'
12986 wx_cv_use_validators='wxUSE_VALIDATORS
=${'DEFAULT_wxUSE_VALIDATORS":-$defaultval}"
12991 eval "$wx_cv_use_validators"
12993 if test x"$enablestring" = xdisable; then
12994 if test $wxUSE_VALIDATORS = yes; then
13000 result=$wxUSE_VALIDATORS
13003 { echo "$as_me:$LINENO: result
: $result" >&5
13004 echo "${ECHO_T}$result" >&6; }
13008 defaultval=$wxUSE_ALL_FEATURES
13009 if test -z "$defaultval"; then
13010 if test x"$enablestring" = xdisable; then
13017 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-busyinfo" >&5
13018 echo $ECHO_N "checking
for --${enablestring:-enable}-busyinfo...
$ECHO_C" >&6; }
13019 # Check whether --enable-busyinfo was given.
13020 if test "${enable_busyinfo+set}" = set; then
13021 enableval=$enable_busyinfo;
13022 if test "$enableval" = yes; then
13023 wx_cv_use_busyinfo='wxUSE_BUSYINFO=yes'
13025 wx_cv_use_busyinfo='wxUSE_BUSYINFO=no'
13030 wx_cv_use_busyinfo='wxUSE_BUSYINFO=${'DEFAULT_wxUSE_BUSYINFO":-$defaultval}"
13035 eval "$wx_cv_use_busyinfo"
13037 if test x
"$enablestring" = xdisable
; then
13038 if test $wxUSE_BUSYINFO = yes; then
13044 result
=$wxUSE_BUSYINFO
13047 { echo "$as_me:$LINENO: result: $result" >&5
13048 echo "${ECHO_T}$result" >&6; }
13052 defaultval
=$wxUSE_ALL_FEATURES
13053 if test -z "$defaultval"; then
13054 if test x
"$enablestring" = xdisable
; then
13061 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-joystick" >&5
13062 echo $ECHO_N "checking for --${enablestring:-enable}-joystick... $ECHO_C" >&6; }
13063 # Check whether --enable-joystick was given.
13064 if test "${enable_joystick+set}" = set; then
13065 enableval
=$enable_joystick;
13066 if test "$enableval" = yes; then
13067 wx_cv_use_joystick
='wxUSE_JOYSTICK=yes'
13069 wx_cv_use_joystick
='wxUSE_JOYSTICK=no'
13074 wx_cv_use_joystick
='wxUSE_JOYSTICK=${'DEFAULT_wxUSE_JOYSTICK":-$defaultval}"
13079 eval "$wx_cv_use_joystick"
13081 if test x"$enablestring" = xdisable; then
13082 if test $wxUSE_JOYSTICK = yes; then
13088 result=$wxUSE_JOYSTICK
13091 { echo "$as_me:$LINENO: result: $result" >&5
13092 echo "${ECHO_T}$result" >&6; }
13096 defaultval=$wxUSE_ALL_FEATURES
13097 if test -z "$defaultval"; then
13098 if test x"$enablestring" = xdisable; then
13105 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
13106 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6; }
13107 # Check whether --enable-metafile was given.
13108 if test "${enable_metafile+set}" = set; then
13109 enableval=$enable_metafile;
13110 if test "$enableval" = yes; then
13111 wx_cv_use_metafile='wxUSE_METAFILE
=yes'
13113 wx_cv_use_metafile='wxUSE_METAFILE
=no
'
13118 wx_cv_use_metafile='wxUSE_METAFILE
=${'DEFAULT_wxUSE_METAFILE":-$defaultval}"
13123 eval "$wx_cv_use_metafile"
13125 if test x"$enablestring" = xdisable; then
13126 if test $wxUSE_METAFILE = yes; then
13132 result=$wxUSE_METAFILE
13135 { echo "$as_me:$LINENO: result
: $result" >&5
13136 echo "${ECHO_T}$result" >&6; }
13140 defaultval=$wxUSE_ALL_FEATURES
13141 if test -z "$defaultval"; then
13142 if test x"$enablestring" = xdisable; then
13149 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-dragimage" >&5
13150 echo $ECHO_N "checking
for --${enablestring:-enable}-dragimage...
$ECHO_C" >&6; }
13151 # Check whether --enable-dragimage was given.
13152 if test "${enable_dragimage+set}" = set; then
13153 enableval=$enable_dragimage;
13154 if test "$enableval" = yes; then
13155 wx_cv_use_dragimage='wxUSE_DRAGIMAGE=yes'
13157 wx_cv_use_dragimage='wxUSE_DRAGIMAGE=no'
13162 wx_cv_use_dragimage='wxUSE_DRAGIMAGE=${'DEFAULT_wxUSE_DRAGIMAGE":-$defaultval}"
13167 eval "$wx_cv_use_dragimage"
13169 if test x
"$enablestring" = xdisable
; then
13170 if test $wxUSE_DRAGIMAGE = yes; then
13176 result
=$wxUSE_DRAGIMAGE
13179 { echo "$as_me:$LINENO: result: $result" >&5
13180 echo "${ECHO_T}$result" >&6; }
13184 defaultval
=$wxUSE_ALL_FEATURES
13185 if test -z "$defaultval"; then
13186 if test x
"$enablestring" = xdisable
; then
13193 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accessibility" >&5
13194 echo $ECHO_N "checking for --${enablestring:-enable}-accessibility... $ECHO_C" >&6; }
13195 # Check whether --enable-accessibility was given.
13196 if test "${enable_accessibility+set}" = set; then
13197 enableval
=$enable_accessibility;
13198 if test "$enableval" = yes; then
13199 wx_cv_use_accessibility
='wxUSE_ACCESSIBILITY=yes'
13201 wx_cv_use_accessibility
='wxUSE_ACCESSIBILITY=no'
13206 wx_cv_use_accessibility
='wxUSE_ACCESSIBILITY=${'DEFAULT_wxUSE_ACCESSIBILITY":-$defaultval}"
13211 eval "$wx_cv_use_accessibility"
13213 if test x"$enablestring" = xdisable; then
13214 if test $wxUSE_ACCESSIBILITY = yes; then
13220 result=$wxUSE_ACCESSIBILITY
13223 { echo "$as_me:$LINENO: result: $result" >&5
13224 echo "${ECHO_T}$result" >&6; }
13230 defaultval=$wxUSE_ALL_FEATURES
13231 if test -z "$defaultval"; then
13232 if test x"$enablestring" = xdisable; then
13239 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-palette" >&5
13240 echo $ECHO_N "checking for --${enablestring:-enable}-palette... $ECHO_C" >&6; }
13241 # Check whether --enable-palette was given.
13242 if test "${enable_palette+set}" = set; then
13243 enableval=$enable_palette;
13244 if test "$enableval" = yes; then
13245 wx_cv_use_palette='wxUSE_PALETTE
=yes'
13247 wx_cv_use_palette='wxUSE_PALETTE
=no
'
13252 wx_cv_use_palette='wxUSE_PALETTE
=${'DEFAULT_wxUSE_PALETTE":-$defaultval}"
13257 eval "$wx_cv_use_palette"
13259 if test x"$enablestring" = xdisable; then
13260 if test $wxUSE_PALETTE = yes; then
13266 result=$wxUSE_PALETTE
13269 { echo "$as_me:$LINENO: result
: $result" >&5
13270 echo "${ECHO_T}$result" >&6; }
13274 defaultval=$wxUSE_ALL_FEATURES
13275 if test -z "$defaultval"; then
13276 if test x"$enablestring" = xdisable; then
13283 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-image" >&5
13284 echo $ECHO_N "checking
for --${enablestring:-enable}-image...
$ECHO_C" >&6; }
13285 # Check whether --enable-image was given.
13286 if test "${enable_image+set}" = set; then
13287 enableval=$enable_image;
13288 if test "$enableval" = yes; then
13289 wx_cv_use_image='wxUSE_IMAGE=yes'
13291 wx_cv_use_image='wxUSE_IMAGE=no'
13296 wx_cv_use_image='wxUSE_IMAGE=${'DEFAULT_wxUSE_IMAGE":-$defaultval}"
13301 eval "$wx_cv_use_image"
13303 if test x
"$enablestring" = xdisable
; then
13304 if test $wxUSE_IMAGE = yes; then
13310 result
=$wxUSE_IMAGE
13313 { echo "$as_me:$LINENO: result: $result" >&5
13314 echo "${ECHO_T}$result" >&6; }
13318 defaultval
=$wxUSE_ALL_FEATURES
13319 if test -z "$defaultval"; then
13320 if test x
"$enablestring" = xdisable
; then
13327 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gif" >&5
13328 echo $ECHO_N "checking for --${enablestring:-enable}-gif... $ECHO_C" >&6; }
13329 # Check whether --enable-gif was given.
13330 if test "${enable_gif+set}" = set; then
13331 enableval
=$enable_gif;
13332 if test "$enableval" = yes; then
13333 wx_cv_use_gif
='wxUSE_GIF=yes'
13335 wx_cv_use_gif
='wxUSE_GIF=no'
13340 wx_cv_use_gif
='wxUSE_GIF=${'DEFAULT_wxUSE_GIF":-$defaultval}"
13345 eval "$wx_cv_use_gif"
13347 if test x"$enablestring" = xdisable; then
13348 if test $wxUSE_GIF = yes; then
13357 { echo "$as_me:$LINENO: result: $result" >&5
13358 echo "${ECHO_T}$result" >&6; }
13362 defaultval=$wxUSE_ALL_FEATURES
13363 if test -z "$defaultval"; then
13364 if test x"$enablestring" = xdisable; then
13371 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pcx" >&5
13372 echo $ECHO_N "checking for --${enablestring:-enable}-pcx... $ECHO_C" >&6; }
13373 # Check whether --enable-pcx was given.
13374 if test "${enable_pcx+set}" = set; then
13375 enableval=$enable_pcx;
13376 if test "$enableval" = yes; then
13377 wx_cv_use_pcx='wxUSE_PCX
=yes'
13379 wx_cv_use_pcx='wxUSE_PCX
=no
'
13384 wx_cv_use_pcx='wxUSE_PCX
=${'DEFAULT_wxUSE_PCX":-$defaultval}"
13389 eval "$wx_cv_use_pcx"
13391 if test x"$enablestring" = xdisable; then
13392 if test $wxUSE_PCX = yes; then
13401 { echo "$as_me:$LINENO: result
: $result" >&5
13402 echo "${ECHO_T}$result" >&6; }
13406 defaultval=$wxUSE_ALL_FEATURES
13407 if test -z "$defaultval"; then
13408 if test x"$enablestring" = xdisable; then
13415 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-tga" >&5
13416 echo $ECHO_N "checking
for --${enablestring:-enable}-tga...
$ECHO_C" >&6; }
13417 # Check whether --enable-tga was given.
13418 if test "${enable_tga+set}" = set; then
13419 enableval=$enable_tga;
13420 if test "$enableval" = yes; then
13421 wx_cv_use_tga='wxUSE_TGA=yes'
13423 wx_cv_use_tga='wxUSE_TGA=no'
13428 wx_cv_use_tga='wxUSE_TGA=${'DEFAULT_wxUSE_TGA":-$defaultval}"
13433 eval "$wx_cv_use_tga"
13435 if test x
"$enablestring" = xdisable
; then
13436 if test $wxUSE_TGA = yes; then
13445 { echo "$as_me:$LINENO: result: $result" >&5
13446 echo "${ECHO_T}$result" >&6; }
13450 defaultval
=$wxUSE_ALL_FEATURES
13451 if test -z "$defaultval"; then
13452 if test x
"$enablestring" = xdisable
; then
13459 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-iff" >&5
13460 echo $ECHO_N "checking for --${enablestring:-enable}-iff... $ECHO_C" >&6; }
13461 # Check whether --enable-iff was given.
13462 if test "${enable_iff+set}" = set; then
13463 enableval
=$enable_iff;
13464 if test "$enableval" = yes; then
13465 wx_cv_use_iff
='wxUSE_IFF=yes'
13467 wx_cv_use_iff
='wxUSE_IFF=no'
13472 wx_cv_use_iff
='wxUSE_IFF=${'DEFAULT_wxUSE_IFF":-$defaultval}"
13477 eval "$wx_cv_use_iff"
13479 if test x"$enablestring" = xdisable; then
13480 if test $wxUSE_IFF = yes; then
13489 { echo "$as_me:$LINENO: result: $result" >&5
13490 echo "${ECHO_T}$result" >&6; }
13494 defaultval=$wxUSE_ALL_FEATURES
13495 if test -z "$defaultval"; then
13496 if test x"$enablestring" = xdisable; then
13503 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pnm" >&5
13504 echo $ECHO_N "checking for --${enablestring:-enable}-pnm... $ECHO_C" >&6; }
13505 # Check whether --enable-pnm was given.
13506 if test "${enable_pnm+set}" = set; then
13507 enableval=$enable_pnm;
13508 if test "$enableval" = yes; then
13509 wx_cv_use_pnm='wxUSE_PNM
=yes'
13511 wx_cv_use_pnm='wxUSE_PNM
=no
'
13516 wx_cv_use_pnm='wxUSE_PNM
=${'DEFAULT_wxUSE_PNM":-$defaultval}"
13521 eval "$wx_cv_use_pnm"
13523 if test x"$enablestring" = xdisable; then
13524 if test $wxUSE_PNM = yes; then
13533 { echo "$as_me:$LINENO: result
: $result" >&5
13534 echo "${ECHO_T}$result" >&6; }
13538 defaultval=$wxUSE_ALL_FEATURES
13539 if test -z "$defaultval"; then
13540 if test x"$enablestring" = xdisable; then
13547 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-xpm" >&5
13548 echo $ECHO_N "checking
for --${enablestring:-enable}-xpm...
$ECHO_C" >&6; }
13549 # Check whether --enable-xpm was given.
13550 if test "${enable_xpm+set}" = set; then
13551 enableval=$enable_xpm;
13552 if test "$enableval" = yes; then
13553 wx_cv_use_xpm='wxUSE_XPM=yes'
13555 wx_cv_use_xpm='wxUSE_XPM=no'
13560 wx_cv_use_xpm='wxUSE_XPM=${'DEFAULT_wxUSE_XPM":-$defaultval}"
13565 eval "$wx_cv_use_xpm"
13567 if test x
"$enablestring" = xdisable
; then
13568 if test $wxUSE_XPM = yes; then
13577 { echo "$as_me:$LINENO: result: $result" >&5
13578 echo "${ECHO_T}$result" >&6; }
13582 defaultval
=$wxUSE_ALL_FEATURES
13583 if test -z "$defaultval"; then
13584 if test x
"$enablestring" = xdisable
; then
13591 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ico_cur" >&5
13592 echo $ECHO_N "checking for --${enablestring:-enable}-ico_cur... $ECHO_C" >&6; }
13593 # Check whether --enable-ico_cur was given.
13594 if test "${enable_ico_cur+set}" = set; then
13595 enableval
=$enable_ico_cur;
13596 if test "$enableval" = yes; then
13597 wx_cv_use_ico_cur
='wxUSE_ICO_CUR=yes'
13599 wx_cv_use_ico_cur
='wxUSE_ICO_CUR=no'
13604 wx_cv_use_ico_cur
='wxUSE_ICO_CUR=${'DEFAULT_wxUSE_ICO_CUR":-$defaultval}"
13609 eval "$wx_cv_use_ico_cur"
13611 if test x"$enablestring" = xdisable; then
13612 if test $wxUSE_ICO_CUR = yes; then
13618 result=$wxUSE_ICO_CUR
13621 { echo "$as_me:$LINENO: result: $result" >&5
13622 echo "${ECHO_T}$result" >&6; }
13628 defaultval=$wxUSE_ALL_FEATURES
13629 if test -z "$defaultval"; then
13630 if test x"$enablestring" = xdisable; then
13637 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dccache" >&5
13638 echo $ECHO_N "checking for --${enablestring:-enable}-dccache... $ECHO_C" >&6; }
13639 # Check whether --enable-dccache was given.
13640 if test "${enable_dccache+set}" = set; then
13641 enableval=$enable_dccache;
13642 if test "$enableval" = yes; then
13643 wx_cv_use_dccache='wxUSE_DC_CACHEING
=yes'
13645 wx_cv_use_dccache='wxUSE_DC_CACHEING
=no
'
13650 wx_cv_use_dccache='wxUSE_DC_CACHEING
=${'DEFAULT_wxUSE_DC_CACHEING":-$defaultval}"
13655 eval "$wx_cv_use_dccache"
13657 if test x"$enablestring" = xdisable; then
13658 if test $wxUSE_DC_CACHEING = yes; then
13664 result=$wxUSE_DC_CACHEING
13667 { echo "$as_me:$LINENO: result
: $result" >&5
13668 echo "${ECHO_T}$result" >&6; }
13672 defaultval=$wxUSE_ALL_FEATURES
13673 if test -z "$defaultval"; then
13674 if test x"$enablestring" = xdisable; then
13681 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-ps-in-msw" >&5
13682 echo $ECHO_N "checking
for --${enablestring:-enable}-ps-in-msw...
$ECHO_C" >&6; }
13683 # Check whether --enable-ps-in-msw was given.
13684 if test "${enable_ps_in_msw+set}" = set; then
13685 enableval=$enable_ps_in_msw;
13686 if test "$enableval" = yes; then
13687 wx_cv_use_ps_in_msw='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=yes'
13689 wx_cv_use_ps_in_msw='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=no'
13694 wx_cv_use_ps_in_msw='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=${'DEFAULT_wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW":-$defaultval}"
13699 eval "$wx_cv_use_ps_in_msw"
13701 if test x
"$enablestring" = xdisable
; then
13702 if test $wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW = yes; then
13708 result
=$wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW
13711 { echo "$as_me:$LINENO: result: $result" >&5
13712 echo "${ECHO_T}$result" >&6; }
13716 defaultval
=$wxUSE_ALL_FEATURES
13717 if test -z "$defaultval"; then
13718 if test x
"$enablestring" = xdisable
; then
13725 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ownerdrawn" >&5
13726 echo $ECHO_N "checking for --${enablestring:-enable}-ownerdrawn... $ECHO_C" >&6; }
13727 # Check whether --enable-ownerdrawn was given.
13728 if test "${enable_ownerdrawn+set}" = set; then
13729 enableval
=$enable_ownerdrawn;
13730 if test "$enableval" = yes; then
13731 wx_cv_use_ownerdrawn
='wxUSE_OWNER_DRAWN=yes'
13733 wx_cv_use_ownerdrawn
='wxUSE_OWNER_DRAWN=no'
13738 wx_cv_use_ownerdrawn
='wxUSE_OWNER_DRAWN=${'DEFAULT_wxUSE_OWNER_DRAWN":-$defaultval}"
13743 eval "$wx_cv_use_ownerdrawn"
13745 if test x"$enablestring" = xdisable; then
13746 if test $wxUSE_OWNER_DRAWN = yes; then
13752 result=$wxUSE_OWNER_DRAWN
13755 { echo "$as_me:$LINENO: result: $result" >&5
13756 echo "${ECHO_T}$result" >&6; }
13760 defaultval=$wxUSE_ALL_FEATURES
13761 if test -z "$defaultval"; then
13762 if test x"$enablestring" = xdisable; then
13769 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-uxtheme" >&5
13770 echo $ECHO_N "checking for --${enablestring:-enable}-uxtheme... $ECHO_C" >&6; }
13771 # Check whether --enable-uxtheme was given.
13772 if test "${enable_uxtheme+set}" = set; then
13773 enableval=$enable_uxtheme;
13774 if test "$enableval" = yes; then
13775 wx_cv_use_uxtheme='wxUSE_UXTHEME
=yes'
13777 wx_cv_use_uxtheme='wxUSE_UXTHEME
=no
'
13782 wx_cv_use_uxtheme='wxUSE_UXTHEME
=${'DEFAULT_wxUSE_UXTHEME":-$defaultval}"
13787 eval "$wx_cv_use_uxtheme"
13789 if test x"$enablestring" = xdisable; then
13790 if test $wxUSE_UXTHEME = yes; then
13796 result=$wxUSE_UXTHEME
13799 { echo "$as_me:$LINENO: result
: $result" >&5
13800 echo "${ECHO_T}$result" >&6; }
13804 defaultval=$wxUSE_ALL_FEATURES
13805 if test -z "$defaultval"; then
13806 if test x"$enablestring" = xdisable; then
13813 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-wxdib" >&5
13814 echo $ECHO_N "checking
for --${enablestring:-enable}-wxdib...
$ECHO_C" >&6; }
13815 # Check whether --enable-wxdib was given.
13816 if test "${enable_wxdib+set}" = set; then
13817 enableval=$enable_wxdib;
13818 if test "$enableval" = yes; then
13819 wx_cv_use_wxdib='wxUSE_DIB=yes'
13821 wx_cv_use_wxdib='wxUSE_DIB=no'
13826 wx_cv_use_wxdib='wxUSE_DIB=${'DEFAULT_wxUSE_DIB":-$defaultval}"
13831 eval "$wx_cv_use_wxdib"
13833 if test x
"$enablestring" = xdisable
; then
13834 if test $wxUSE_DIB = yes; then
13843 { echo "$as_me:$LINENO: result: $result" >&5
13844 echo "${ECHO_T}$result" >&6; }
13847 if test "$wxUSE_MSW" != 1; then
13848 DEFAULT_wxUSE_AUTOID_MANAGEMENT
=no
13853 defaultval
=$wxUSE_ALL_FEATURES
13854 if test -z "$defaultval"; then
13855 if test x
"$enablestring" = xdisable
; then
13862 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-autoidman" >&5
13863 echo $ECHO_N "checking for --${enablestring:-enable}-autoidman... $ECHO_C" >&6; }
13864 # Check whether --enable-autoidman was given.
13865 if test "${enable_autoidman+set}" = set; then
13866 enableval
=$enable_autoidman;
13867 if test "$enableval" = yes; then
13868 wx_cv_use_autoidman
='wxUSE_AUTOID_MANAGEMENT=yes'
13870 wx_cv_use_autoidman
='wxUSE_AUTOID_MANAGEMENT=no'
13875 wx_cv_use_autoidman
='wxUSE_AUTOID_MANAGEMENT=${'DEFAULT_wxUSE_AUTOID_MANAGEMENT":-$defaultval}"
13880 eval "$wx_cv_use_autoidman"
13882 if test x"$enablestring" = xdisable; then
13883 if test $wxUSE_AUTOID_MANAGEMENT = yes; then
13889 result=$wxUSE_AUTOID_MANAGEMENT
13892 { echo "$as_me:$LINENO: result: $result" >&5
13893 echo "${ECHO_T}$result" >&6; }
13899 cat >confcache <<\_ACEOF
13900 # This file is a shell script that caches the results of configure
13901 # tests run on this system so they can be shared between configure
13902 # scripts and configure runs, see configure's option
--config-cache.
13903 # It is not useful on other systems. If it contains results you don't
13904 # want to keep, you may remove or edit it.
13906 # config.status only pays attention to the cache file if you give it
13907 # the --recheck option to rerun configure.
13909 # `ac_cv_env_foo' variables (set or unset) will be overridden when
13910 # loading this file, other *unset* `ac_cv_foo' will be assigned the
13911 # following values.
13915 # The following way of writing the cache mishandles newlines in values,
13916 # but we know of no workaround that is simple, portable, and efficient.
13917 # So, we kill variables containing newlines.
13918 # Ultrix sh set writes to stderr and can't be redirected directly,
13919 # and sets the high bit in the cache file unless we assign to the vars.
13921 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
13922 eval ac_val
=\$
$ac_var
13926 *_cv_
*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
13927 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
13930 _
| IFS
| as_nl
) ;; #(
13931 *) $as_unset $ac_var ;;
13937 case $as_nl`(ac_space=' '; set) 2>&1` in #(
13938 *${as_nl}ac_space
=\
*)
13939 # `set' does not quote correctly, so add quotes (double-quote
13940 # substitution turns \\\\ into \\, and sed turns \\ into \).
13943 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
13946 # `set' quotes correctly as required by POSIX, so do not add quotes.
13947 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
13956 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
13958 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
13960 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
13961 if test -w "$cache_file"; then
13962 test "x$cache_file" != "x/dev/null" &&
13963 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
13964 echo "$as_me: updating cache $cache_file" >&6;}
13965 cat confcache
>$cache_file
13967 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
13968 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
13978 ac_cpp
='$CPP $CPPFLAGS'
13979 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13980 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13981 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13982 if test -n "$ac_tool_prefix"; then
13983 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
13984 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
13985 { echo "$as_me:$LINENO: checking for $ac_word" >&5
13986 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
13987 if test "${ac_cv_prog_CC+set}" = set; then
13988 echo $ECHO_N "(cached) $ECHO_C" >&6
13990 if test -n "$CC"; then
13991 ac_cv_prog_CC
="$CC" # Let the user override the test.
13993 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13994 for as_dir
in $PATH
13997 test -z "$as_dir" && as_dir
=.
13998 for ac_exec_ext
in '' $ac_executable_extensions; do
13999 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14000 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
14001 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14011 if test -n "$CC"; then
14012 { echo "$as_me:$LINENO: result: $CC" >&5
14013 echo "${ECHO_T}$CC" >&6; }
14015 { echo "$as_me:$LINENO: result: no" >&5
14016 echo "${ECHO_T}no" >&6; }
14021 if test -z "$ac_cv_prog_CC"; then
14023 # Extract the first word of "gcc", so it can be a program name with args.
14024 set dummy gcc
; ac_word
=$2
14025 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14026 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14027 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
14028 echo $ECHO_N "(cached) $ECHO_C" >&6
14030 if test -n "$ac_ct_CC"; then
14031 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
14033 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14034 for as_dir
in $PATH
14037 test -z "$as_dir" && as_dir
=.
14038 for ac_exec_ext
in '' $ac_executable_extensions; do
14039 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14040 ac_cv_prog_ac_ct_CC
="gcc"
14041 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14050 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
14051 if test -n "$ac_ct_CC"; then
14052 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
14053 echo "${ECHO_T}$ac_ct_CC" >&6; }
14055 { echo "$as_me:$LINENO: result: no" >&5
14056 echo "${ECHO_T}no" >&6; }
14059 if test "x$ac_ct_CC" = x
; then
14062 case $cross_compiling:$ac_tool_warned in
14064 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
14065 whose name does not start with the host triplet. If you think this
14066 configuration is useful to you, please write to autoconf@gnu.org." >&5
14067 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
14068 whose name does not start with the host triplet. If you think this
14069 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
14070 ac_tool_warned
=yes ;;
14075 CC
="$ac_cv_prog_CC"
14078 if test -z "$CC"; then
14079 if test -n "$ac_tool_prefix"; then
14080 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
14081 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
14082 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14083 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14084 if test "${ac_cv_prog_CC+set}" = set; then
14085 echo $ECHO_N "(cached) $ECHO_C" >&6
14087 if test -n "$CC"; then
14088 ac_cv_prog_CC
="$CC" # Let the user override the test.
14090 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14091 for as_dir
in $PATH
14094 test -z "$as_dir" && as_dir
=.
14095 for ac_exec_ext
in '' $ac_executable_extensions; do
14096 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14097 ac_cv_prog_CC
="${ac_tool_prefix}cc"
14098 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14108 if test -n "$CC"; then
14109 { echo "$as_me:$LINENO: result: $CC" >&5
14110 echo "${ECHO_T}$CC" >&6; }
14112 { echo "$as_me:$LINENO: result: no" >&5
14113 echo "${ECHO_T}no" >&6; }
14119 if test -z "$CC"; then
14120 # Extract the first word of "cc", so it can be a program name with args.
14121 set dummy cc
; ac_word
=$2
14122 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14123 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14124 if test "${ac_cv_prog_CC+set}" = set; then
14125 echo $ECHO_N "(cached) $ECHO_C" >&6
14127 if test -n "$CC"; then
14128 ac_cv_prog_CC
="$CC" # Let the user override the test.
14130 ac_prog_rejected
=no
14131 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14132 for as_dir
in $PATH
14135 test -z "$as_dir" && as_dir
=.
14136 for ac_exec_ext
in '' $ac_executable_extensions; do
14137 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14138 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
14139 ac_prog_rejected
=yes
14143 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14150 if test $ac_prog_rejected = yes; then
14151 # We found a bogon in the path, so make sure we never use it.
14152 set dummy
$ac_cv_prog_CC
14154 if test $# != 0; then
14155 # We chose a different compiler from the bogus one.
14156 # However, it has the same basename, so the bogon will be chosen
14157 # first if we set CC to just the basename; use the full file name.
14159 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
14165 if test -n "$CC"; then
14166 { echo "$as_me:$LINENO: result: $CC" >&5
14167 echo "${ECHO_T}$CC" >&6; }
14169 { echo "$as_me:$LINENO: result: no" >&5
14170 echo "${ECHO_T}no" >&6; }
14175 if test -z "$CC"; then
14176 if test -n "$ac_tool_prefix"; then
14177 for ac_prog
in cl.exe
14179 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
14180 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
14181 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14182 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14183 if test "${ac_cv_prog_CC+set}" = set; then
14184 echo $ECHO_N "(cached) $ECHO_C" >&6
14186 if test -n "$CC"; then
14187 ac_cv_prog_CC
="$CC" # Let the user override the test.
14189 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14190 for as_dir
in $PATH
14193 test -z "$as_dir" && as_dir
=.
14194 for ac_exec_ext
in '' $ac_executable_extensions; do
14195 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14196 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
14197 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14207 if test -n "$CC"; then
14208 { echo "$as_me:$LINENO: result: $CC" >&5
14209 echo "${ECHO_T}$CC" >&6; }
14211 { echo "$as_me:$LINENO: result: no" >&5
14212 echo "${ECHO_T}no" >&6; }
14216 test -n "$CC" && break
14219 if test -z "$CC"; then
14221 for ac_prog
in cl.exe
14223 # Extract the first word of "$ac_prog", so it can be a program name with args.
14224 set dummy
$ac_prog; ac_word
=$2
14225 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14226 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14227 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
14228 echo $ECHO_N "(cached) $ECHO_C" >&6
14230 if test -n "$ac_ct_CC"; then
14231 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
14233 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14234 for as_dir
in $PATH
14237 test -z "$as_dir" && as_dir
=.
14238 for ac_exec_ext
in '' $ac_executable_extensions; do
14239 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14240 ac_cv_prog_ac_ct_CC
="$ac_prog"
14241 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14250 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
14251 if test -n "$ac_ct_CC"; then
14252 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
14253 echo "${ECHO_T}$ac_ct_CC" >&6; }
14255 { echo "$as_me:$LINENO: result: no" >&5
14256 echo "${ECHO_T}no" >&6; }
14260 test -n "$ac_ct_CC" && break
14263 if test "x$ac_ct_CC" = x
; then
14266 case $cross_compiling:$ac_tool_warned in
14268 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
14269 whose name does not start with the host triplet. If you think this
14270 configuration is useful to you, please write to autoconf@gnu.org." >&5
14271 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
14272 whose name does not start with the host triplet. If you think this
14273 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
14274 ac_tool_warned
=yes ;;
14283 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
14284 See \`config.log' for more details." >&5
14285 echo "$as_me: error: no acceptable C compiler found in \$PATH
14286 See \`config.log' for more details." >&2;}
14287 { (exit 1); exit 1; }; }
14289 # Provide some information about the compiler.
14290 echo "$as_me:$LINENO: checking for C compiler version" >&5
14291 ac_compiler
=`set X $ac_compile; echo $2`
14292 { (ac_try
="$ac_compiler --version >&5"
14293 case "(($ac_try" in
14294 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
14295 *) ac_try_echo=$ac_try;;
14297 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14298 (eval "$ac_compiler --version >&5") 2>&5
14300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14301 (exit $ac_status); }
14302 { (ac_try="$ac_compiler -v >&5"
14303 case "(($ac_try" in
14304 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
14305 *) ac_try_echo
=$ac_try;;
14307 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14308 (eval "$ac_compiler -v >&5") 2>&5
14310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14311 (exit $ac_status); }
14312 { (ac_try
="$ac_compiler -V >&5"
14313 case "(($ac_try" in
14314 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
14315 *) ac_try_echo=$ac_try;;
14317 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14318 (eval "$ac_compiler -V >&5") 2>&5
14320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14321 (exit $ac_status); }
14323 cat >conftest.$ac_ext <<_ACEOF
14326 cat confdefs.h >>conftest.$ac_ext
14327 cat >>conftest.$ac_ext <<_ACEOF
14328 /* end confdefs.h. */
14338 ac_clean_files_save=$ac_clean_files
14339 ac_clean_files="$ac_clean_files a.out a.exe b.out"
14340 # Try to create an executable without -o first, disregard a.out.
14341 # It will help us diagnose broken compilers, and finding out an intuition
14343 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
14344 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
14345 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
14347 # List of possible output files, starting from the most likely.
14348 # The algorithm is not robust to junk in `.
', hence go to wildcards (a.*)
14349 # only as a last resort. b.out is created by i960 compilers.
14350 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.
* conftest.
* b.out
'
14352 # The IRIX 6 linker writes into existing files which may not be
14353 # executable, retaining their permissions. Remove them first so a
14354 # subsequent execution test works.
14356 for ac_file in $ac_files
14359 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
14360 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
14365 if { (ac_try="$ac_link_default"
14366 case "(($ac_try" in
14367 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14368 *) ac_try_echo=$ac_try;;
14370 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14371 (eval "$ac_link_default") 2>&5
14373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14374 (exit $ac_status); }; then
14375 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
14376 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
14377 # in a Makefile. We should not override ac_cv_exeext if it was cached,
14378 # so that the user can short-circuit this test for compilers unknown to
14380 for ac_file
in $ac_files ''
14382 test -f "$ac_file" || continue
14384 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.map
| *.inf
| *.o
| *.obj
)
14387 # We found the default executable, but exeext='' is most
14391 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
14393 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
14395 # We set ac_cv_exeext here because the later test for it is not
14396 # safe: cross compilers may not add the suffix if given an `-o'
14397 # argument, so we may need to know it at that point already.
14398 # Even if this section looks crufty: it has the advantage of
14399 # actually working.
14405 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
14411 { echo "$as_me:$LINENO: result: $ac_file" >&5
14412 echo "${ECHO_T}$ac_file" >&6; }
14413 if test -z "$ac_file"; then
14414 echo "$as_me: failed program was:" >&5
14415 sed 's/^/| /' conftest.
$ac_ext >&5
14417 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
14418 See \`config.log' for more details." >&5
14419 echo "$as_me: error: C compiler cannot create executables
14420 See \`config.log' for more details." >&2;}
14421 { (exit 77); exit 77; }; }
14424 ac_exeext
=$ac_cv_exeext
14426 # Check that the compiler produces executables we can run. If not, either
14427 # the compiler is broken, or we cross compile.
14428 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
14429 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
14430 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
14431 # If not cross compiling, check that we can run a simple program.
14432 if test "$cross_compiling" != yes; then
14433 if { ac_try
='./$ac_file'
14434 { (case "(($ac_try" in
14435 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
14436 *) ac_try_echo=$ac_try;;
14438 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14439 (eval "$ac_try") 2>&5
14441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14442 (exit $ac_status); }; }; then
14445 if test "$cross_compiling" = maybe; then
14446 cross_compiling=yes
14448 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
14449 If you meant to cross compile, use \`--host'.
14450 See \`config.log' for more details.
" >&5
14451 echo "$as_me: error
: cannot run C compiled programs.
14452 If you meant to cross compile
, use \
`--host'.
14453 See \`config.log
' for more details." >&2;}
14454 { (exit 1); exit 1; }; }
14458 { echo "$as_me:$LINENO: result: yes" >&5
14459 echo "${ECHO_T}yes" >&6; }
14461 rm -f a.out a.exe conftest$ac_cv_exeext b.out
14462 ac_clean_files=$ac_clean_files_save
14463 # Check that the compiler produces executables we can run. If not, either
14464 # the compiler is broken, or we cross compile.
14465 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
14466 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
14467 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
14468 echo "${ECHO_T}$cross_compiling" >&6; }
14470 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
14471 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
14472 if { (ac_try="$ac_link"
14473 case "(($ac_try" in
14474 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14475 *) ac_try_echo=$ac_try;;
14477 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14478 (eval "$ac_link") 2>&5
14480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14481 (exit $ac_status); }; then
14482 # If both `conftest.exe' and
`conftest' are `present
' (well, observable)
14483 # catch `conftest.exe'. For instance with Cygwin
, `ls conftest' will
14484 # work properly (i.e., refer to `conftest.exe
'), while it won't with
14486 for ac_file
in conftest.exe conftest conftest.
*; do
14487 test -f "$ac_file" || continue
14489 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.map
| *.inf
| *.o
| *.obj
) ;;
14490 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
14496 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
14497 See \`config.log' for more details." >&5
14498 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
14499 See \`config.log' for more details." >&2;}
14500 { (exit 1); exit 1; }; }
14503 rm -f conftest
$ac_cv_exeext
14504 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
14505 echo "${ECHO_T}$ac_cv_exeext" >&6; }
14507 rm -f conftest.
$ac_ext
14508 EXEEXT
=$ac_cv_exeext
14510 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
14511 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
14512 if test "${ac_cv_objext+set}" = set; then
14513 echo $ECHO_N "(cached) $ECHO_C" >&6
14515 cat >conftest.
$ac_ext <<_ACEOF
14518 cat confdefs.h
>>conftest.
$ac_ext
14519 cat >>conftest.
$ac_ext <<_ACEOF
14520 /* end confdefs.h. */
14530 rm -f conftest.o conftest.obj
14531 if { (ac_try
="$ac_compile"
14532 case "(($ac_try" in
14533 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
14534 *) ac_try_echo=$ac_try;;
14536 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14537 (eval "$ac_compile") 2>&5
14539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14540 (exit $ac_status); }; then
14541 for ac_file in conftest.o conftest.obj conftest.*; do
14542 test -f "$ac_file" || continue;
14544 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
14545 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
14550 echo "$as_me: failed program was:" >&5
14551 sed 's/^/| /' conftest.$ac_ext >&5
14553 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
14554 See \`config.log
' for more details." >&5
14555 echo "$as_me: error: cannot compute suffix of object files: cannot compile
14556 See \`config.log' for more details.
" >&2;}
14557 { (exit 1); exit 1; }; }
14560 rm -f conftest.$ac_cv_objext conftest.$ac_ext
14562 { echo "$as_me:$LINENO: result
: $ac_cv_objext" >&5
14563 echo "${ECHO_T}$ac_cv_objext" >&6; }
14564 OBJEXT=$ac_cv_objext
14566 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler
" >&5
14567 echo $ECHO_N "checking whether we are using the GNU C compiler...
$ECHO_C" >&6; }
14568 if test "${ac_cv_c_compiler_gnu+set}" = set; then
14569 echo $ECHO_N "(cached
) $ECHO_C" >&6
14571 cat >conftest.$ac_ext <<_ACEOF
14574 cat confdefs.h >>conftest.$ac_ext
14575 cat >>conftest.$ac_ext <<_ACEOF
14576 /* end confdefs.h. */
14589 rm -f conftest.$ac_objext
14590 if { (ac_try="$ac_compile"
14591 case "(($ac_try" in
14592 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14593 *) ac_try_echo=$ac_try;;
14595 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
14596 (eval "$ac_compile") 2>conftest.er1
14598 grep -v '^ *+' conftest.er1 >conftest.err
14600 cat conftest.err >&5
14601 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
14602 (exit $ac_status); } && {
14603 test -z "$ac_c_werror_flag" ||
14604 test ! -s conftest.err
14605 } && test -s conftest.$ac_objext; then
14606 ac_compiler_gnu=yes
14608 echo "$as_me: failed program was
:" >&5
14609 sed 's/^/| /' conftest.$ac_ext >&5
14614 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14615 ac_cv_c_compiler_gnu=$ac_compiler_gnu
14618 { echo "$as_me:$LINENO: result
: $ac_cv_c_compiler_gnu" >&5
14619 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
14620 GCC=`test $ac_compiler_gnu = yes && echo yes`
14621 ac_test_CFLAGS=${CFLAGS+set}
14622 ac_save_CFLAGS=$CFLAGS
14623 { echo "$as_me:$LINENO: checking whether
$CC accepts
-g" >&5
14624 echo $ECHO_N "checking whether
$CC accepts
-g...
$ECHO_C" >&6; }
14625 if test "${ac_cv_prog_cc_g+set}" = set; then
14626 echo $ECHO_N "(cached
) $ECHO_C" >&6
14628 ac_save_c_werror_flag=$ac_c_werror_flag
14629 ac_c_werror_flag=yes
14632 cat >conftest.$ac_ext <<_ACEOF
14635 cat confdefs.h >>conftest.$ac_ext
14636 cat >>conftest.$ac_ext <<_ACEOF
14637 /* end confdefs.h. */
14647 rm -f conftest.$ac_objext
14648 if { (ac_try="$ac_compile"
14649 case "(($ac_try" in
14650 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14651 *) ac_try_echo=$ac_try;;
14653 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
14654 (eval "$ac_compile") 2>conftest.er1
14656 grep -v '^ *+' conftest.er1 >conftest.err
14658 cat conftest.err >&5
14659 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
14660 (exit $ac_status); } && {
14661 test -z "$ac_c_werror_flag" ||
14662 test ! -s conftest.err
14663 } && test -s conftest.$ac_objext; then
14664 ac_cv_prog_cc_g=yes
14666 echo "$as_me: failed program was
:" >&5
14667 sed 's/^/| /' conftest.$ac_ext >&5
14670 cat >conftest.$ac_ext <<_ACEOF
14673 cat confdefs.h >>conftest.$ac_ext
14674 cat >>conftest.$ac_ext <<_ACEOF
14675 /* end confdefs.h. */
14685 rm -f conftest.$ac_objext
14686 if { (ac_try="$ac_compile"
14687 case "(($ac_try" in
14688 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14689 *) ac_try_echo=$ac_try;;
14691 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
14692 (eval "$ac_compile") 2>conftest.er1
14694 grep -v '^ *+' conftest.er1 >conftest.err
14696 cat conftest.err >&5
14697 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
14698 (exit $ac_status); } && {
14699 test -z "$ac_c_werror_flag" ||
14700 test ! -s conftest.err
14701 } && test -s conftest.$ac_objext; then
14704 echo "$as_me: failed program was
:" >&5
14705 sed 's/^/| /' conftest.$ac_ext >&5
14707 ac_c_werror_flag=$ac_save_c_werror_flag
14709 cat >conftest.$ac_ext <<_ACEOF
14712 cat confdefs.h >>conftest.$ac_ext
14713 cat >>conftest.$ac_ext <<_ACEOF
14714 /* end confdefs.h. */
14724 rm -f conftest.$ac_objext
14725 if { (ac_try="$ac_compile"
14726 case "(($ac_try" in
14727 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14728 *) ac_try_echo=$ac_try;;
14730 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
14731 (eval "$ac_compile") 2>conftest.er1
14733 grep -v '^ *+' conftest.er1 >conftest.err
14735 cat conftest.err >&5
14736 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
14737 (exit $ac_status); } && {
14738 test -z "$ac_c_werror_flag" ||
14739 test ! -s conftest.err
14740 } && test -s conftest.$ac_objext; then
14741 ac_cv_prog_cc_g=yes
14743 echo "$as_me: failed program was
:" >&5
14744 sed 's/^/| /' conftest.$ac_ext >&5
14749 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14752 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14755 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14756 ac_c_werror_flag=$ac_save_c_werror_flag
14758 { echo "$as_me:$LINENO: result
: $ac_cv_prog_cc_g" >&5
14759 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
14760 if test "$ac_test_CFLAGS" = set; then
14761 CFLAGS=$ac_save_CFLAGS
14762 elif test $ac_cv_prog_cc_g = yes; then
14763 if test "$GCC" = yes; then
14769 if test "$GCC" = yes; then
14775 { echo "$as_me:$LINENO: checking
for $CC option to accept ISO C89
" >&5
14776 echo $ECHO_N "checking
for $CC option to accept ISO C89...
$ECHO_C" >&6; }
14777 if test "${ac_cv_prog_cc_c89+set}" = set; then
14778 echo $ECHO_N "(cached
) $ECHO_C" >&6
14780 ac_cv_prog_cc_c89=no
14782 cat >conftest.$ac_ext <<_ACEOF
14785 cat confdefs.h >>conftest.$ac_ext
14786 cat >>conftest.$ac_ext <<_ACEOF
14787 /* end confdefs.h. */
14788 #include <stdarg.h>
14790 #include <sys/types.h>
14791 #include <sys/stat.h>
14792 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
14793 struct buf { int x; };
14794 FILE * (*rcsopen) (struct buf *, struct stat *, int);
14795 static char *e (p, i)
14801 static char *f (char * (*g) (char **, int), char **p, ...)
14806 s = g (p, va_arg (v,int));
14811 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
14812 function prototypes and stuff, but not '\xHH' hex character constants.
14813 These don't provoke an error unfortunately, instead are silently treated
14814 as 'x'. The following induces an error, until -std is added to get
14815 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
14816 array size at least. It's necessary to write '\x00'==0 to get something
14817 that's true only with -std. */
14818 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
14820 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
14821 inside strings and character constants. */
14823 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
14825 int test (int i, double x);
14826 struct s1 {int (*f) (int a);};
14827 struct s2 {int (*f) (double a);};
14828 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
14834 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
14839 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
14840 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
14842 CC="$ac_save_CC $ac_arg"
14843 rm -f conftest.$ac_objext
14844 if { (ac_try="$ac_compile"
14845 case "(($ac_try" in
14846 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14847 *) ac_try_echo=$ac_try;;
14849 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
14850 (eval "$ac_compile") 2>conftest.er1
14852 grep -v '^ *+' conftest.er1 >conftest.err
14854 cat conftest.err >&5
14855 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
14856 (exit $ac_status); } && {
14857 test -z "$ac_c_werror_flag" ||
14858 test ! -s conftest.err
14859 } && test -s conftest.$ac_objext; then
14860 ac_cv_prog_cc_c89=$ac_arg
14862 echo "$as_me: failed program was
:" >&5
14863 sed 's/^/| /' conftest.$ac_ext >&5
14868 rm -f core conftest.err conftest.$ac_objext
14869 test "x
$ac_cv_prog_cc_c89" != "xno
" && break
14871 rm -f conftest.$ac_ext
14876 case "x
$ac_cv_prog_cc_c89" in
14878 { echo "$as_me:$LINENO: result
: none needed
" >&5
14879 echo "${ECHO_T}none needed
" >&6; } ;;
14881 { echo "$as_me:$LINENO: result
: unsupported
" >&5
14882 echo "${ECHO_T}unsupported
" >&6; } ;;
14884 CC="$CC $ac_cv_prog_cc_c89"
14885 { echo "$as_me:$LINENO: result
: $ac_cv_prog_cc_c89" >&5
14886 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
14891 ac_cpp='$CPP $CPPFLAGS'
14892 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14893 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14894 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14900 ac_cpp='$CPP $CPPFLAGS'
14901 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14902 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14903 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14905 { echo "$as_me:$LINENO: checking whether we are using the Intel C compiler
" >&5
14906 echo $ECHO_N "checking whether we are using the Intel C compiler...
$ECHO_C" >&6; }
14907 if test "${bakefile_cv_c_compiler___INTEL_COMPILER+set}" = set; then
14908 echo $ECHO_N "(cached
) $ECHO_C" >&6
14910 cat >conftest.$ac_ext <<_ACEOF
14913 cat confdefs.h >>conftest.$ac_ext
14914 cat >>conftest.$ac_ext <<_ACEOF
14915 /* end confdefs.h. */
14921 #ifndef __INTEL_COMPILER
14929 rm -f conftest.$ac_objext
14930 if { (ac_try="$ac_compile"
14931 case "(($ac_try" in
14932 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14933 *) ac_try_echo=$ac_try;;
14935 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
14936 (eval "$ac_compile") 2>conftest.er1
14938 grep -v '^ *+' conftest.er1 >conftest.err
14940 cat conftest.err >&5
14941 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
14942 (exit $ac_status); } && {
14943 test -z "$ac_c_werror_flag" ||
14944 test ! -s conftest.err
14945 } && test -s conftest.$ac_objext; then
14946 bakefile_cv_c_compiler___INTEL_COMPILER=yes
14948 echo "$as_me: failed program was
:" >&5
14949 sed 's/^/| /' conftest.$ac_ext >&5
14951 bakefile_cv_c_compiler___INTEL_COMPILER=no
14955 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14959 { echo "$as_me:$LINENO: result
: $bakefile_cv_c_compiler___INTEL_COMPILER" >&5
14960 echo "${ECHO_T}$bakefile_cv_c_compiler___INTEL_COMPILER" >&6; }
14961 if test "x
$bakefile_cv_c_compiler___INTEL_COMPILER" = "xyes
"; then
14967 ac_cpp='$CPP $CPPFLAGS'
14968 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14969 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14970 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14975 if test "x
$GCC" != "xyes
"; then
14976 if test "xCC
" = "xC
"; then
14977 { echo "$as_me:$LINENO: checking
if the C compiler requires
-ext o
" >&5
14978 echo $ECHO_N "checking
if the C compiler requires
-ext o...
$ECHO_C" >&6; }
14979 if test "${bakefile_cv_c_exto+set}" = set; then
14980 echo $ECHO_N "(cached
) $ECHO_C" >&6
14982 cat >conftest.$ac_ext <<_ACEOF
14985 cat confdefs.h >>conftest.$ac_ext
14986 cat >>conftest.$ac_ext <<_ACEOF
14987 /* end confdefs.h. */
14997 rm -f conftest.$ac_objext conftest.$ac_ext.o
14998 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14999 (eval $ac_compile) 2>&5
15001 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
15002 (exit $ac_status); }; then
15003 for ac_file in `(ls conftest.* 2>/dev/null)`; do
15005 conftest.$ac_ext.o)
15006 bakefile_cv_c_exto="-ext o
"
15013 { { echo "$as_me:$LINENO: error
: cannot figure out
if compiler needs
-ext o
: cannot compile
15014 See \
`config.log' for more details." >&5
15015 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
15016 See \`config.log
' for more details." >&2;}
15017 { (exit 1); exit 1; }; }
15021 rm -f conftest.$ac_ext.o conftest.$ac_objext conftest.$ac_ext
15024 { echo "$as_me:$LINENO: result: $bakefile_cv_c_exto" >&5
15025 echo "${ECHO_T}$bakefile_cv_c_exto" >&6; }
15026 if test "x$bakefile_cv_c_exto" '!=' "x"; then
15027 if test "c" = "c"; then
15028 CFLAGS="$bakefile_cv_c_exto $CFLAGS"
15030 if test "c" = "cxx"; then
15031 CXXFLAGS="$bakefile_cv_c_exto $CXXFLAGS"
15035 if test "x$bakefile_cv_c_exto" '!=' "x"; then
15036 unset ac_cv_prog_cc_g
15037 ac_test_CFLAGS=${CFLAGS+set}
15038 ac_save_CFLAGS=$CFLAGS
15039 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
15040 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
15041 if test "${ac_cv_prog_cc_g+set}" = set; then
15042 echo $ECHO_N "(cached) $ECHO_C" >&6
15044 ac_save_c_werror_flag=$ac_c_werror_flag
15045 ac_c_werror_flag=yes
15048 cat >conftest.$ac_ext <<_ACEOF
15051 cat confdefs.h >>conftest.$ac_ext
15052 cat >>conftest.$ac_ext <<_ACEOF
15053 /* end confdefs.h. */
15063 rm -f conftest.$ac_objext
15064 if { (ac_try="$ac_compile"
15065 case "(($ac_try" in
15066 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15067 *) ac_try_echo=$ac_try;;
15069 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15070 (eval "$ac_compile") 2>conftest.er1
15072 grep -v '^
*+' conftest.er1 >conftest.err
15074 cat conftest.err >&5
15075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15076 (exit $ac_status); } && {
15077 test -z "$ac_c_werror_flag" ||
15078 test ! -s conftest.err
15079 } && test -s conftest.$ac_objext; then
15080 ac_cv_prog_cc_g=yes
15082 echo "$as_me: failed program was:" >&5
15083 sed 's
/^
/| /' conftest.$ac_ext >&5
15086 cat >conftest.$ac_ext <<_ACEOF
15089 cat confdefs.h >>conftest.$ac_ext
15090 cat >>conftest.$ac_ext <<_ACEOF
15091 /* end confdefs.h. */
15101 rm -f conftest.$ac_objext
15102 if { (ac_try="$ac_compile"
15103 case "(($ac_try" in
15104 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15105 *) ac_try_echo=$ac_try;;
15107 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15108 (eval "$ac_compile") 2>conftest.er1
15110 grep -v '^
*+' conftest.er1 >conftest.err
15112 cat conftest.err >&5
15113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15114 (exit $ac_status); } && {
15115 test -z "$ac_c_werror_flag" ||
15116 test ! -s conftest.err
15117 } && test -s conftest.$ac_objext; then
15120 echo "$as_me: failed program was:" >&5
15121 sed 's
/^
/| /' conftest.$ac_ext >&5
15123 ac_c_werror_flag=$ac_save_c_werror_flag
15125 cat >conftest.$ac_ext <<_ACEOF
15128 cat confdefs.h >>conftest.$ac_ext
15129 cat >>conftest.$ac_ext <<_ACEOF
15130 /* end confdefs.h. */
15140 rm -f conftest.$ac_objext
15141 if { (ac_try="$ac_compile"
15142 case "(($ac_try" in
15143 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15144 *) ac_try_echo=$ac_try;;
15146 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15147 (eval "$ac_compile") 2>conftest.er1
15149 grep -v '^
*+' conftest.er1 >conftest.err
15151 cat conftest.err >&5
15152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15153 (exit $ac_status); } && {
15154 test -z "$ac_c_werror_flag" ||
15155 test ! -s conftest.err
15156 } && test -s conftest.$ac_objext; then
15157 ac_cv_prog_cc_g=yes
15159 echo "$as_me: failed program was:" >&5
15160 sed 's
/^
/| /' conftest.$ac_ext >&5
15165 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15168 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15171 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15172 ac_c_werror_flag=$ac_save_c_werror_flag
15174 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
15175 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
15176 if test "$ac_test_CFLAGS" = set; then
15177 CFLAGS=$ac_save_CFLAGS
15178 elif test $ac_cv_prog_cc_g = yes; then
15179 if test "$GCC" = yes; then
15185 if test "$GCC" = yes; then
15199 ac_cpp='$CPP $CPPFLAGS'
15200 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
15201 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
15202 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15204 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
15205 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6; }
15206 if test "${bakefile_cv_c_compiler___xlC__+set}" = set; then
15207 echo $ECHO_N "(cached) $ECHO_C" >&6
15209 cat >conftest.$ac_ext <<_ACEOF
15212 cat confdefs.h >>conftest.$ac_ext
15213 cat >>conftest.$ac_ext <<_ACEOF
15214 /* end confdefs.h. */
15228 rm -f conftest.$ac_objext
15229 if { (ac_try="$ac_compile"
15230 case "(($ac_try" in
15231 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15232 *) ac_try_echo=$ac_try;;
15234 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15235 (eval "$ac_compile") 2>conftest.er1
15237 grep -v '^
*+' conftest.er1 >conftest.err
15239 cat conftest.err >&5
15240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15241 (exit $ac_status); } && {
15242 test -z "$ac_c_werror_flag" ||
15243 test ! -s conftest.err
15244 } && test -s conftest.$ac_objext; then
15245 bakefile_cv_c_compiler___xlC__=yes
15247 echo "$as_me: failed program was:" >&5
15248 sed 's
/^
/| /' conftest.$ac_ext >&5
15250 bakefile_cv_c_compiler___xlC__=no
15254 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15258 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___xlC__" >&5
15259 echo "${ECHO_T}$bakefile_cv_c_compiler___xlC__" >&6; }
15260 if test "x$bakefile_cv_c_compiler___xlC__" = "xyes"; then
15266 ac_cpp='$CPP $CPPFLAGS'
15267 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
15268 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
15269 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15279 ac_cpp='$CPP $CPPFLAGS'
15280 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
15281 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
15282 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15284 { echo "$as_me:$LINENO: checking whether we are using the Metrowerks C compiler" >&5
15285 echo $ECHO_N "checking whether we are using the Metrowerks C compiler... $ECHO_C" >&6; }
15286 if test "${bakefile_cv_c_compiler___MWERKS__+set}" = set; then
15287 echo $ECHO_N "(cached) $ECHO_C" >&6
15289 cat >conftest.$ac_ext <<_ACEOF
15292 cat confdefs.h >>conftest.$ac_ext
15293 cat >>conftest.$ac_ext <<_ACEOF
15294 /* end confdefs.h. */
15308 rm -f conftest.$ac_objext
15309 if { (ac_try="$ac_compile"
15310 case "(($ac_try" in
15311 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15312 *) ac_try_echo=$ac_try;;
15314 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15315 (eval "$ac_compile") 2>conftest.er1
15317 grep -v '^
*+' conftest.er1 >conftest.err
15319 cat conftest.err >&5
15320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15321 (exit $ac_status); } && {
15322 test -z "$ac_c_werror_flag" ||
15323 test ! -s conftest.err
15324 } && test -s conftest.$ac_objext; then
15325 bakefile_cv_c_compiler___MWERKS__=yes
15327 echo "$as_me: failed program was:" >&5
15328 sed 's
/^
/| /' conftest.$ac_ext >&5
15330 bakefile_cv_c_compiler___MWERKS__=no
15334 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15338 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___MWERKS__" >&5
15339 echo "${ECHO_T}$bakefile_cv_c_compiler___MWERKS__" >&6; }
15340 if test "x$bakefile_cv_c_compiler___MWERKS__" = "xyes"; then
15346 ac_cpp='$CPP $CPPFLAGS'
15347 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
15348 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
15349 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15356 ac_cpp='$CPP $CPPFLAGS'
15357 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
15358 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
15359 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15361 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
15362 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6; }
15363 if test "${bakefile_cv_c_compiler___xlC__+set}" = set; then
15364 echo $ECHO_N "(cached) $ECHO_C" >&6
15366 cat >conftest.$ac_ext <<_ACEOF
15369 cat confdefs.h >>conftest.$ac_ext
15370 cat >>conftest.$ac_ext <<_ACEOF
15371 /* end confdefs.h. */
15385 rm -f conftest.$ac_objext
15386 if { (ac_try="$ac_compile"
15387 case "(($ac_try" in
15388 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15389 *) ac_try_echo=$ac_try;;
15391 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15392 (eval "$ac_compile") 2>conftest.er1
15394 grep -v '^
*+' conftest.er1 >conftest.err
15396 cat conftest.err >&5
15397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15398 (exit $ac_status); } && {
15399 test -z "$ac_c_werror_flag" ||
15400 test ! -s conftest.err
15401 } && test -s conftest.$ac_objext; then
15402 bakefile_cv_c_compiler___xlC__=yes
15404 echo "$as_me: failed program was:" >&5
15405 sed 's
/^
/| /' conftest.$ac_ext >&5
15407 bakefile_cv_c_compiler___xlC__=no
15411 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15415 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___xlC__" >&5
15416 echo "${ECHO_T}$bakefile_cv_c_compiler___xlC__" >&6; }
15417 if test "x$bakefile_cv_c_compiler___xlC__" = "xyes"; then
15423 ac_cpp='$CPP $CPPFLAGS'
15424 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
15425 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
15426 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15436 ac_cpp='$CPP $CPPFLAGS'
15437 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
15438 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
15439 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15441 { echo "$as_me:$LINENO: checking whether we are using the SGI C compiler" >&5
15442 echo $ECHO_N "checking whether we are using the SGI C compiler... $ECHO_C" >&6; }
15443 if test "${bakefile_cv_c_compiler__SGI_COMPILER_VERSION+set}" = set; then
15444 echo $ECHO_N "(cached) $ECHO_C" >&6
15446 cat >conftest.$ac_ext <<_ACEOF
15449 cat confdefs.h >>conftest.$ac_ext
15450 cat >>conftest.$ac_ext <<_ACEOF
15451 /* end confdefs.h. */
15457 #ifndef _SGI_COMPILER_VERSION
15465 rm -f conftest.$ac_objext
15466 if { (ac_try="$ac_compile"
15467 case "(($ac_try" in
15468 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15469 *) ac_try_echo=$ac_try;;
15471 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15472 (eval "$ac_compile") 2>conftest.er1
15474 grep -v '^
*+' conftest.er1 >conftest.err
15476 cat conftest.err >&5
15477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15478 (exit $ac_status); } && {
15479 test -z "$ac_c_werror_flag" ||
15480 test ! -s conftest.err
15481 } && test -s conftest.$ac_objext; then
15482 bakefile_cv_c_compiler__SGI_COMPILER_VERSION=yes
15484 echo "$as_me: failed program was:" >&5
15485 sed 's
/^
/| /' conftest.$ac_ext >&5
15487 bakefile_cv_c_compiler__SGI_COMPILER_VERSION=no
15491 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15495 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&5
15496 echo "${ECHO_T}$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&6; }
15497 if test "x$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" = "xyes"; then
15503 ac_cpp='$CPP $CPPFLAGS'
15504 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
15505 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
15506 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15516 ac_cpp='$CPP $CPPFLAGS'
15517 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
15518 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
15519 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15521 { echo "$as_me:$LINENO: checking whether we are using the Sun C compiler" >&5
15522 echo $ECHO_N "checking whether we are using the Sun C compiler... $ECHO_C" >&6; }
15523 if test "${bakefile_cv_c_compiler___SUNPRO_C+set}" = set; then
15524 echo $ECHO_N "(cached) $ECHO_C" >&6
15526 cat >conftest.$ac_ext <<_ACEOF
15529 cat confdefs.h >>conftest.$ac_ext
15530 cat >>conftest.$ac_ext <<_ACEOF
15531 /* end confdefs.h. */
15545 rm -f conftest.$ac_objext
15546 if { (ac_try="$ac_compile"
15547 case "(($ac_try" in
15548 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15549 *) ac_try_echo=$ac_try;;
15551 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15552 (eval "$ac_compile") 2>conftest.er1
15554 grep -v '^
*+' conftest.er1 >conftest.err
15556 cat conftest.err >&5
15557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15558 (exit $ac_status); } && {
15559 test -z "$ac_c_werror_flag" ||
15560 test ! -s conftest.err
15561 } && test -s conftest.$ac_objext; then
15562 bakefile_cv_c_compiler___SUNPRO_C=yes
15564 echo "$as_me: failed program was:" >&5
15565 sed 's
/^
/| /' conftest.$ac_ext >&5
15567 bakefile_cv_c_compiler___SUNPRO_C=no
15571 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15575 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
15576 echo "${ECHO_T}$bakefile_cv_c_compiler___SUNPRO_C" >&6; }
15577 if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
15583 ac_cpp='$CPP $CPPFLAGS'
15584 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
15585 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
15586 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15596 ac_cpp='$CPP $CPPFLAGS'
15597 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
15598 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
15599 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15601 { echo "$as_me:$LINENO: checking whether we are using the HP C compiler" >&5
15602 echo $ECHO_N "checking whether we are using the HP C compiler... $ECHO_C" >&6; }
15603 if test "${bakefile_cv_c_compiler___HP_cc+set}" = set; then
15604 echo $ECHO_N "(cached) $ECHO_C" >&6
15606 cat >conftest.$ac_ext <<_ACEOF
15609 cat confdefs.h >>conftest.$ac_ext
15610 cat >>conftest.$ac_ext <<_ACEOF
15611 /* end confdefs.h. */
15625 rm -f conftest.$ac_objext
15626 if { (ac_try="$ac_compile"
15627 case "(($ac_try" in
15628 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15629 *) ac_try_echo=$ac_try;;
15631 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15632 (eval "$ac_compile") 2>conftest.er1
15634 grep -v '^
*+' conftest.er1 >conftest.err
15636 cat conftest.err >&5
15637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15638 (exit $ac_status); } && {
15639 test -z "$ac_c_werror_flag" ||
15640 test ! -s conftest.err
15641 } && test -s conftest.$ac_objext; then
15642 bakefile_cv_c_compiler___HP_cc=yes
15644 echo "$as_me: failed program was:" >&5
15645 sed 's
/^
/| /' conftest.$ac_ext >&5
15647 bakefile_cv_c_compiler___HP_cc=no
15651 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15655 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___HP_cc" >&5
15656 echo "${ECHO_T}$bakefile_cv_c_compiler___HP_cc" >&6; }
15657 if test "x$bakefile_cv_c_compiler___HP_cc" = "xyes"; then
15663 ac_cpp='$CPP $CPPFLAGS'
15664 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
15665 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
15666 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15676 ac_cpp='$CPP $CPPFLAGS'
15677 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
15678 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
15679 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15681 { echo "$as_me:$LINENO: checking whether we are using the Compaq C compiler" >&5
15682 echo $ECHO_N "checking whether we are using the Compaq C compiler... $ECHO_C" >&6; }
15683 if test "${bakefile_cv_c_compiler___DECC+set}" = set; then
15684 echo $ECHO_N "(cached) $ECHO_C" >&6
15686 cat >conftest.$ac_ext <<_ACEOF
15689 cat confdefs.h >>conftest.$ac_ext
15690 cat >>conftest.$ac_ext <<_ACEOF
15691 /* end confdefs.h. */
15705 rm -f conftest.$ac_objext
15706 if { (ac_try="$ac_compile"
15707 case "(($ac_try" in
15708 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15709 *) ac_try_echo=$ac_try;;
15711 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15712 (eval "$ac_compile") 2>conftest.er1
15714 grep -v '^
*+' conftest.er1 >conftest.err
15716 cat conftest.err >&5
15717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15718 (exit $ac_status); } && {
15719 test -z "$ac_c_werror_flag" ||
15720 test ! -s conftest.err
15721 } && test -s conftest.$ac_objext; then
15722 bakefile_cv_c_compiler___DECC=yes
15724 echo "$as_me: failed program was:" >&5
15725 sed 's
/^
/| /' conftest.$ac_ext >&5
15727 bakefile_cv_c_compiler___DECC=no
15731 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15735 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___DECC" >&5
15736 echo "${ECHO_T}$bakefile_cv_c_compiler___DECC" >&6; }
15737 if test "x$bakefile_cv_c_compiler___DECC" = "xyes"; then
15743 ac_cpp='$CPP $CPPFLAGS'
15744 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
15745 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
15746 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15756 ac_cpp='$CPP $CPPFLAGS'
15757 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
15758 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
15759 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15761 { echo "$as_me:$LINENO: checking whether we are using the Sun C compiler" >&5
15762 echo $ECHO_N "checking whether we are using the Sun C compiler... $ECHO_C" >&6; }
15763 if test "${bakefile_cv_c_compiler___SUNPRO_C+set}" = set; then
15764 echo $ECHO_N "(cached) $ECHO_C" >&6
15766 cat >conftest.$ac_ext <<_ACEOF
15769 cat confdefs.h >>conftest.$ac_ext
15770 cat >>conftest.$ac_ext <<_ACEOF
15771 /* end confdefs.h. */
15785 rm -f conftest.$ac_objext
15786 if { (ac_try="$ac_compile"
15787 case "(($ac_try" in
15788 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15789 *) ac_try_echo=$ac_try;;
15791 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15792 (eval "$ac_compile") 2>conftest.er1
15794 grep -v '^
*+' conftest.er1 >conftest.err
15796 cat conftest.err >&5
15797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15798 (exit $ac_status); } && {
15799 test -z "$ac_c_werror_flag" ||
15800 test ! -s conftest.err
15801 } && test -s conftest.$ac_objext; then
15802 bakefile_cv_c_compiler___SUNPRO_C=yes
15804 echo "$as_me: failed program was:" >&5
15805 sed 's
/^
/| /' conftest.$ac_ext >&5
15807 bakefile_cv_c_compiler___SUNPRO_C=no
15811 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15815 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
15816 echo "${ECHO_T}$bakefile_cv_c_compiler___SUNPRO_C" >&6; }
15817 if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
15823 ac_cpp='$CPP $CPPFLAGS'
15824 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
15825 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
15826 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15837 ac_cpp='$CPP $CPPFLAGS'
15838 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
15839 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
15840 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15841 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
15842 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
15843 # On Suns, sometimes $CPP names a directory.
15844 if test -n "$CPP" && test -d "$CPP"; then
15847 if test -z "$CPP"; then
15848 if test "${ac_cv_prog_CPP+set}" = set; then
15849 echo $ECHO_N "(cached) $ECHO_C" >&6
15851 # Double quotes because CPP needs to be expanded
15852 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
15854 ac_preproc_ok=false
15855 for ac_c_preproc_warn_flag in '' yes
15857 # Use a header file that comes with gcc, so configuring glibc
15858 # with a fresh cross-compiler works.
15859 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15860 # <limits.h> exists even on freestanding compilers.
15861 # On the NeXT, cc -E runs the code through the compiler's parser
,
15862 # not just through cpp. "Syntax error" is here to catch this case.
15863 cat >conftest.
$ac_ext <<_ACEOF
15866 cat confdefs.h
>>conftest.
$ac_ext
15867 cat >>conftest.
$ac_ext <<_ACEOF
15868 /* end confdefs.h. */
15870 # include <limits.h>
15872 # include <assert.h>
15876 if { (ac_try
="$ac_cpp conftest.$ac_ext"
15877 case "(($ac_try" in
15878 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
15879 *) ac_try_echo=$ac_try;;
15881 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15882 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
15884 grep -v '^ *+' conftest.er1 >conftest.err
15886 cat conftest.err >&5
15887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15888 (exit $ac_status); } >/dev/null && {
15889 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
15890 test ! -s conftest.err
15894 echo "$as_me: failed program was:" >&5
15895 sed 's/^/| /' conftest.$ac_ext >&5
15897 # Broken: fails on valid input.
15901 rm -f conftest.err conftest.$ac_ext
15903 # OK, works on sane cases. Now check whether nonexistent headers
15904 # can be detected and how.
15905 cat >conftest.$ac_ext <<_ACEOF
15908 cat confdefs.h >>conftest.$ac_ext
15909 cat >>conftest.$ac_ext <<_ACEOF
15910 /* end confdefs.h. */
15911 #include <ac_nonexistent.h>
15913 if { (ac_try="$ac_cpp conftest.$ac_ext"
15914 case "(($ac_try" in
15915 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
15916 *) ac_try_echo
=$ac_try;;
15918 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15919 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
15921 grep -v '^ *+' conftest.er1
>conftest.err
15923 cat conftest.err
>&5
15924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15925 (exit $ac_status); } >/dev
/null
&& {
15926 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
15927 test ! -s conftest.err
15929 # Broken: success on invalid input.
15932 echo "$as_me: failed program was:" >&5
15933 sed 's/^/| /' conftest.
$ac_ext >&5
15935 # Passes both tests.
15940 rm -f conftest.err conftest.
$ac_ext
15943 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
15944 rm -f conftest.err conftest.
$ac_ext
15945 if $ac_preproc_ok; then
15950 ac_cv_prog_CPP
=$CPP
15953 CPP
=$ac_cv_prog_CPP
15955 ac_cv_prog_CPP
=$CPP
15957 { echo "$as_me:$LINENO: result: $CPP" >&5
15958 echo "${ECHO_T}$CPP" >&6; }
15959 ac_preproc_ok
=false
15960 for ac_c_preproc_warn_flag
in '' yes
15962 # Use a header file that comes with gcc, so configuring glibc
15963 # with a fresh cross-compiler works.
15964 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15965 # <limits.h> exists even on freestanding compilers.
15966 # On the NeXT, cc -E runs the code through the compiler's parser,
15967 # not just through cpp. "Syntax error" is here to catch this case.
15968 cat >conftest.
$ac_ext <<_ACEOF
15971 cat confdefs.h
>>conftest.
$ac_ext
15972 cat >>conftest.
$ac_ext <<_ACEOF
15973 /* end confdefs.h. */
15975 # include <limits.h>
15977 # include <assert.h>
15981 if { (ac_try
="$ac_cpp conftest.$ac_ext"
15982 case "(($ac_try" in
15983 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
15984 *) ac_try_echo=$ac_try;;
15986 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15987 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
15989 grep -v '^ *+' conftest.er1 >conftest.err
15991 cat conftest.err >&5
15992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15993 (exit $ac_status); } >/dev/null && {
15994 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
15995 test ! -s conftest.err
15999 echo "$as_me: failed program was:" >&5
16000 sed 's/^/| /' conftest.$ac_ext >&5
16002 # Broken: fails on valid input.
16006 rm -f conftest.err conftest.$ac_ext
16008 # OK, works on sane cases. Now check whether nonexistent headers
16009 # can be detected and how.
16010 cat >conftest.$ac_ext <<_ACEOF
16013 cat confdefs.h >>conftest.$ac_ext
16014 cat >>conftest.$ac_ext <<_ACEOF
16015 /* end confdefs.h. */
16016 #include <ac_nonexistent.h>
16018 if { (ac_try="$ac_cpp conftest.$ac_ext"
16019 case "(($ac_try" in
16020 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
16021 *) ac_try_echo
=$ac_try;;
16023 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16024 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
16026 grep -v '^ *+' conftest.er1
>conftest.err
16028 cat conftest.err
>&5
16029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16030 (exit $ac_status); } >/dev
/null
&& {
16031 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
16032 test ! -s conftest.err
16034 # Broken: success on invalid input.
16037 echo "$as_me: failed program was:" >&5
16038 sed 's/^/| /' conftest.
$ac_ext >&5
16040 # Passes both tests.
16045 rm -f conftest.err conftest.
$ac_ext
16048 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
16049 rm -f conftest.err conftest.
$ac_ext
16050 if $ac_preproc_ok; then
16053 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
16054 See \`config.log' for more details." >&5
16055 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
16056 See \`config.log' for more details." >&2;}
16057 { (exit 1); exit 1; }; }
16061 ac_cpp
='$CPP $CPPFLAGS'
16062 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16063 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16064 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
16067 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
16068 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
16069 if test "${ac_cv_path_GREP+set}" = set; then
16070 echo $ECHO_N "(cached) $ECHO_C" >&6
16072 # Extract the first word of "grep ggrep" to use in msg output
16073 if test -z "$GREP"; then
16074 set dummy
grep ggrep
; ac_prog_name
=$2
16075 if test "${ac_cv_path_GREP+set}" = set; then
16076 echo $ECHO_N "(cached) $ECHO_C" >&6
16078 ac_path_GREP_found
=false
16079 # Loop through the user's path and test for each of PROGNAME-LIST
16080 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16081 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
16084 test -z "$as_dir" && as_dir
=.
16085 for ac_prog
in grep ggrep
; do
16086 for ac_exec_ext
in '' $ac_executable_extensions; do
16087 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
16088 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
16089 # Check for GNU ac_path_GREP and select it if it is found.
16090 # Check for GNU $ac_path_GREP
16091 case `"$ac_path_GREP" --version 2>&1` in
16093 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
16096 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
16099 cat "conftest.in" "conftest.in" >"conftest.tmp"
16100 mv "conftest.tmp" "conftest.in"
16101 cp "conftest.in" "conftest.nl"
16102 echo 'GREP' >> "conftest.nl"
16103 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null
|| break
16104 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 || break
16105 ac_count
=`expr $ac_count + 1`
16106 if test $ac_count -gt ${ac_path_GREP_max-0}; then
16107 # Best one so far, save it but keep looking for a better one
16108 ac_cv_path_GREP
="$ac_path_GREP"
16109 ac_path_GREP_max
=$ac_count
16111 # 10*(2^10) chars as input seems more than enough
16112 test $ac_count -gt 10 && break
16114 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
16118 $ac_path_GREP_found && break 3
16128 GREP
="$ac_cv_path_GREP"
16129 if test -z "$GREP"; then
16130 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
16131 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
16132 { (exit 1); exit 1; }; }
16136 ac_cv_path_GREP
=$GREP
16141 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
16142 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
16143 GREP
="$ac_cv_path_GREP"
16146 { echo "$as_me:$LINENO: checking for egrep" >&5
16147 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
16148 if test "${ac_cv_path_EGREP+set}" = set; then
16149 echo $ECHO_N "(cached) $ECHO_C" >&6
16151 if echo a
| $GREP -E '(a|b)' >/dev
/null
2>&1
16152 then ac_cv_path_EGREP
="$GREP -E"
16154 # Extract the first word of "egrep" to use in msg output
16155 if test -z "$EGREP"; then
16156 set dummy
egrep; ac_prog_name
=$2
16157 if test "${ac_cv_path_EGREP+set}" = set; then
16158 echo $ECHO_N "(cached) $ECHO_C" >&6
16160 ac_path_EGREP_found
=false
16161 # Loop through the user's path and test for each of PROGNAME-LIST
16162 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16163 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
16166 test -z "$as_dir" && as_dir
=.
16167 for ac_prog
in egrep; do
16168 for ac_exec_ext
in '' $ac_executable_extensions; do
16169 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
16170 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
16171 # Check for GNU ac_path_EGREP and select it if it is found.
16172 # Check for GNU $ac_path_EGREP
16173 case `"$ac_path_EGREP" --version 2>&1` in
16175 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
16178 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
16181 cat "conftest.in" "conftest.in" >"conftest.tmp"
16182 mv "conftest.tmp" "conftest.in"
16183 cp "conftest.in" "conftest.nl"
16184 echo 'EGREP' >> "conftest.nl"
16185 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null
|| break
16186 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 || break
16187 ac_count
=`expr $ac_count + 1`
16188 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
16189 # Best one so far, save it but keep looking for a better one
16190 ac_cv_path_EGREP
="$ac_path_EGREP"
16191 ac_path_EGREP_max
=$ac_count
16193 # 10*(2^10) chars as input seems more than enough
16194 test $ac_count -gt 10 && break
16196 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
16200 $ac_path_EGREP_found && break 3
16210 EGREP
="$ac_cv_path_EGREP"
16211 if test -z "$EGREP"; then
16212 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
16213 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
16214 { (exit 1); exit 1; }; }
16218 ac_cv_path_EGREP
=$EGREP
16224 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
16225 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
16226 EGREP
="$ac_cv_path_EGREP"
16229 if test $ac_cv_c_compiler_gnu = yes; then
16230 { echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
16231 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6; }
16232 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
16233 echo $ECHO_N "(cached) $ECHO_C" >&6
16235 ac_pattern
="Autoconf.*'x'"
16236 cat >conftest.
$ac_ext <<_ACEOF
16239 cat confdefs.h
>>conftest.
$ac_ext
16240 cat >>conftest.
$ac_ext <<_ACEOF
16241 /* end confdefs.h. */
16245 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16246 $EGREP "$ac_pattern" >/dev
/null
2>&1; then
16247 ac_cv_prog_gcc_traditional
=yes
16249 ac_cv_prog_gcc_traditional
=no
16254 if test $ac_cv_prog_gcc_traditional = no
; then
16255 cat >conftest.
$ac_ext <<_ACEOF
16258 cat confdefs.h
>>conftest.
$ac_ext
16259 cat >>conftest.
$ac_ext <<_ACEOF
16260 /* end confdefs.h. */
16261 #include <termio.h>
16264 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16265 $EGREP "$ac_pattern" >/dev
/null
2>&1; then
16266 ac_cv_prog_gcc_traditional
=yes
16272 { echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
16273 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6; }
16274 if test $ac_cv_prog_gcc_traditional = yes; then
16275 CC
="$CC -traditional"
16280 CXXFLAGS
=${CXXFLAGS:=}
16285 ac_cpp
='$CXXCPP $CPPFLAGS'
16286 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16287 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16288 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
16289 if test -z "$CXX"; then
16290 if test -n "$CCC"; then
16293 if test -n "$ac_tool_prefix"; then
16294 for ac_prog
in g
++ c
++ gpp aCC CC cxx cc
++ cl.exe FCC KCC RCC xlC_r xlC
16296 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
16297 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
16298 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16299 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16300 if test "${ac_cv_prog_CXX+set}" = set; then
16301 echo $ECHO_N "(cached) $ECHO_C" >&6
16303 if test -n "$CXX"; then
16304 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
16306 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16307 for as_dir
in $PATH
16310 test -z "$as_dir" && as_dir
=.
16311 for ac_exec_ext
in '' $ac_executable_extensions; do
16312 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16313 ac_cv_prog_CXX
="$ac_tool_prefix$ac_prog"
16314 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16323 CXX
=$ac_cv_prog_CXX
16324 if test -n "$CXX"; then
16325 { echo "$as_me:$LINENO: result: $CXX" >&5
16326 echo "${ECHO_T}$CXX" >&6; }
16328 { echo "$as_me:$LINENO: result: no" >&5
16329 echo "${ECHO_T}no" >&6; }
16333 test -n "$CXX" && break
16336 if test -z "$CXX"; then
16338 for ac_prog
in g
++ c
++ gpp aCC CC cxx cc
++ cl.exe FCC KCC RCC xlC_r xlC
16340 # Extract the first word of "$ac_prog", so it can be a program name with args.
16341 set dummy
$ac_prog; ac_word
=$2
16342 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16343 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16344 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
16345 echo $ECHO_N "(cached) $ECHO_C" >&6
16347 if test -n "$ac_ct_CXX"; then
16348 ac_cv_prog_ac_ct_CXX
="$ac_ct_CXX" # Let the user override the test.
16350 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16351 for as_dir
in $PATH
16354 test -z "$as_dir" && as_dir
=.
16355 for ac_exec_ext
in '' $ac_executable_extensions; do
16356 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16357 ac_cv_prog_ac_ct_CXX
="$ac_prog"
16358 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16367 ac_ct_CXX
=$ac_cv_prog_ac_ct_CXX
16368 if test -n "$ac_ct_CXX"; then
16369 { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
16370 echo "${ECHO_T}$ac_ct_CXX" >&6; }
16372 { echo "$as_me:$LINENO: result: no" >&5
16373 echo "${ECHO_T}no" >&6; }
16377 test -n "$ac_ct_CXX" && break
16380 if test "x$ac_ct_CXX" = x
; then
16383 case $cross_compiling:$ac_tool_warned in
16385 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
16386 whose name does not start with the host triplet. If you think this
16387 configuration is useful to you, please write to autoconf@gnu.org." >&5
16388 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
16389 whose name does not start with the host triplet. If you think this
16390 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
16391 ac_tool_warned
=yes ;;
16399 # Provide some information about the compiler.
16400 echo "$as_me:$LINENO: checking for C++ compiler version" >&5
16401 ac_compiler
=`set X $ac_compile; echo $2`
16402 { (ac_try
="$ac_compiler --version >&5"
16403 case "(($ac_try" in
16404 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
16405 *) ac_try_echo=$ac_try;;
16407 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16408 (eval "$ac_compiler --version >&5") 2>&5
16410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16411 (exit $ac_status); }
16412 { (ac_try="$ac_compiler -v >&5"
16413 case "(($ac_try" in
16414 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
16415 *) ac_try_echo
=$ac_try;;
16417 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16418 (eval "$ac_compiler -v >&5") 2>&5
16420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16421 (exit $ac_status); }
16422 { (ac_try
="$ac_compiler -V >&5"
16423 case "(($ac_try" in
16424 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
16425 *) ac_try_echo=$ac_try;;
16427 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16428 (eval "$ac_compiler -V >&5") 2>&5
16430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16431 (exit $ac_status); }
16433 { echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
16434 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
16435 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
16436 echo $ECHO_N "(cached) $ECHO_C" >&6
16438 cat >conftest.$ac_ext <<_ACEOF
16441 cat confdefs.h >>conftest.$ac_ext
16442 cat >>conftest.$ac_ext <<_ACEOF
16443 /* end confdefs.h. */
16456 rm -f conftest.$ac_objext
16457 if { (ac_try="$ac_compile"
16458 case "(($ac_try" in
16459 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
16460 *) ac_try_echo
=$ac_try;;
16462 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16463 (eval "$ac_compile") 2>conftest.er1
16465 grep -v '^ *+' conftest.er1
>conftest.err
16467 cat conftest.err
>&5
16468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16469 (exit $ac_status); } && {
16470 test -z "$ac_cxx_werror_flag" ||
16471 test ! -s conftest.err
16472 } && test -s conftest.
$ac_objext; then
16473 ac_compiler_gnu
=yes
16475 echo "$as_me: failed program was:" >&5
16476 sed 's/^/| /' conftest.
$ac_ext >&5
16481 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16482 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
16485 { echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
16486 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
16487 GXX
=`test $ac_compiler_gnu = yes && echo yes`
16488 ac_test_CXXFLAGS
=${CXXFLAGS+set}
16489 ac_save_CXXFLAGS
=$CXXFLAGS
16490 { echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
16491 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
16492 if test "${ac_cv_prog_cxx_g+set}" = set; then
16493 echo $ECHO_N "(cached) $ECHO_C" >&6
16495 ac_save_cxx_werror_flag
=$ac_cxx_werror_flag
16496 ac_cxx_werror_flag
=yes
16497 ac_cv_prog_cxx_g
=no
16499 cat >conftest.
$ac_ext <<_ACEOF
16502 cat confdefs.h
>>conftest.
$ac_ext
16503 cat >>conftest.
$ac_ext <<_ACEOF
16504 /* end confdefs.h. */
16514 rm -f conftest.
$ac_objext
16515 if { (ac_try
="$ac_compile"
16516 case "(($ac_try" in
16517 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
16518 *) ac_try_echo=$ac_try;;
16520 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16521 (eval "$ac_compile") 2>conftest.er1
16523 grep -v '^ *+' conftest.er1 >conftest.err
16525 cat conftest.err >&5
16526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16527 (exit $ac_status); } && {
16528 test -z "$ac_cxx_werror_flag" ||
16529 test ! -s conftest.err
16530 } && test -s conftest.$ac_objext; then
16531 ac_cv_prog_cxx_g=yes
16533 echo "$as_me: failed program was:" >&5
16534 sed 's/^/| /' conftest.$ac_ext >&5
16537 cat >conftest.$ac_ext <<_ACEOF
16540 cat confdefs.h >>conftest.$ac_ext
16541 cat >>conftest.$ac_ext <<_ACEOF
16542 /* end confdefs.h. */
16552 rm -f conftest.$ac_objext
16553 if { (ac_try="$ac_compile"
16554 case "(($ac_try" in
16555 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
16556 *) ac_try_echo
=$ac_try;;
16558 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16559 (eval "$ac_compile") 2>conftest.er1
16561 grep -v '^ *+' conftest.er1
>conftest.err
16563 cat conftest.err
>&5
16564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16565 (exit $ac_status); } && {
16566 test -z "$ac_cxx_werror_flag" ||
16567 test ! -s conftest.err
16568 } && test -s conftest.
$ac_objext; then
16571 echo "$as_me: failed program was:" >&5
16572 sed 's/^/| /' conftest.
$ac_ext >&5
16574 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
16576 cat >conftest.
$ac_ext <<_ACEOF
16579 cat confdefs.h
>>conftest.
$ac_ext
16580 cat >>conftest.
$ac_ext <<_ACEOF
16581 /* end confdefs.h. */
16591 rm -f conftest.
$ac_objext
16592 if { (ac_try
="$ac_compile"
16593 case "(($ac_try" in
16594 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
16595 *) ac_try_echo=$ac_try;;
16597 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16598 (eval "$ac_compile") 2>conftest.er1
16600 grep -v '^ *+' conftest.er1 >conftest.err
16602 cat conftest.err >&5
16603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16604 (exit $ac_status); } && {
16605 test -z "$ac_cxx_werror_flag" ||
16606 test ! -s conftest.err
16607 } && test -s conftest.$ac_objext; then
16608 ac_cv_prog_cxx_g=yes
16610 echo "$as_me: failed program was:" >&5
16611 sed 's/^/| /' conftest.$ac_ext >&5
16616 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16619 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16622 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16623 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
16625 { echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
16626 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
16627 if test "$ac_test_CXXFLAGS" = set; then
16628 CXXFLAGS=$ac_save_CXXFLAGS
16629 elif test $ac_cv_prog_cxx_g = yes; then
16630 if test "$GXX" = yes; then
16636 if test "$GXX" = yes; then
16643 ac_cpp='$CPP $CPPFLAGS'
16644 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16645 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16646 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16652 ac_cpp='$CXXCPP $CPPFLAGS'
16653 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16654 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16655 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16657 { echo "$as_me:$LINENO: checking whether we are using the Intel C++ compiler" >&5
16658 echo $ECHO_N "checking whether we are using the Intel C++ compiler... $ECHO_C" >&6; }
16659 if test "${bakefile_cv_cxx_compiler___INTEL_COMPILER+set}" = set; then
16660 echo $ECHO_N "(cached) $ECHO_C" >&6
16662 cat >conftest.$ac_ext <<_ACEOF
16665 cat confdefs.h >>conftest.$ac_ext
16666 cat >>conftest.$ac_ext <<_ACEOF
16667 /* end confdefs.h. */
16673 #ifndef __INTEL_COMPILER
16681 rm -f conftest.$ac_objext
16682 if { (ac_try="$ac_compile"
16683 case "(($ac_try" in
16684 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
16685 *) ac_try_echo
=$ac_try;;
16687 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16688 (eval "$ac_compile") 2>conftest.er1
16690 grep -v '^ *+' conftest.er1
>conftest.err
16692 cat conftest.err
>&5
16693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16694 (exit $ac_status); } && {
16695 test -z "$ac_cxx_werror_flag" ||
16696 test ! -s conftest.err
16697 } && test -s conftest.
$ac_objext; then
16698 bakefile_cv_cxx_compiler___INTEL_COMPILER
=yes
16700 echo "$as_me: failed program was:" >&5
16701 sed 's/^/| /' conftest.
$ac_ext >&5
16703 bakefile_cv_cxx_compiler___INTEL_COMPILER
=no
16707 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16711 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER" >&5
16712 echo "${ECHO_T}$bakefile_cv_cxx_compiler___INTEL_COMPILER" >&6; }
16713 if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER" = "xyes"; then
16719 ac_cpp
='$CPP $CPPFLAGS'
16720 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16721 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16722 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
16727 if test "x$GCXX" != "xyes"; then
16728 if test "xCXX" = "xC"; then
16729 { echo "$as_me:$LINENO: checking if the C compiler requires -ext o" >&5
16730 echo $ECHO_N "checking if the C compiler requires -ext o... $ECHO_C" >&6; }
16731 if test "${bakefile_cv_c_exto+set}" = set; then
16732 echo $ECHO_N "(cached) $ECHO_C" >&6
16734 cat >conftest.
$ac_ext <<_ACEOF
16737 cat confdefs.h
>>conftest.
$ac_ext
16738 cat >>conftest.
$ac_ext <<_ACEOF
16739 /* end confdefs.h. */
16749 rm -f conftest.
$ac_objext conftest.
$ac_ext.o
16750 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16751 (eval $ac_compile) 2>&5
16753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16754 (exit $ac_status); }; then
16755 for ac_file
in `(ls conftest.* 2>/dev/null)`; do
16757 conftest.
$ac_ext.o
)
16758 bakefile_cv_c_exto
="-ext o"
16765 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
16766 See \`config.log' for more details." >&5
16767 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
16768 See \`config.log' for more details." >&2;}
16769 { (exit 1); exit 1; }; }
16773 rm -f conftest.
$ac_ext.o conftest.
$ac_objext conftest.
$ac_ext
16776 { echo "$as_me:$LINENO: result: $bakefile_cv_c_exto" >&5
16777 echo "${ECHO_T}$bakefile_cv_c_exto" >&6; }
16778 if test "x$bakefile_cv_c_exto" '!=' "x"; then
16779 if test "c" = "c"; then
16780 CFLAGS
="$bakefile_cv_c_exto $CFLAGS"
16782 if test "c" = "cxx"; then
16783 CXXFLAGS
="$bakefile_cv_c_exto $CXXFLAGS"
16787 if test "x$bakefile_cv_c_exto" '!=' "x"; then
16788 unset ac_cv_prog_cc_g
16789 ac_test_CFLAGS
=${CFLAGS+set}
16790 ac_save_CFLAGS
=$CFLAGS
16791 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
16792 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
16793 if test "${ac_cv_prog_cc_g+set}" = set; then
16794 echo $ECHO_N "(cached) $ECHO_C" >&6
16796 ac_save_c_werror_flag
=$ac_c_werror_flag
16797 ac_c_werror_flag
=yes
16800 cat >conftest.
$ac_ext <<_ACEOF
16803 cat confdefs.h
>>conftest.
$ac_ext
16804 cat >>conftest.
$ac_ext <<_ACEOF
16805 /* end confdefs.h. */
16815 rm -f conftest.
$ac_objext
16816 if { (ac_try
="$ac_compile"
16817 case "(($ac_try" in
16818 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
16819 *) ac_try_echo=$ac_try;;
16821 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16822 (eval "$ac_compile") 2>conftest.er1
16824 grep -v '^ *+' conftest.er1 >conftest.err
16826 cat conftest.err >&5
16827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16828 (exit $ac_status); } && {
16829 test -z "$ac_c_werror_flag" ||
16830 test ! -s conftest.err
16831 } && test -s conftest.$ac_objext; then
16832 ac_cv_prog_cc_g=yes
16834 echo "$as_me: failed program was:" >&5
16835 sed 's/^/| /' conftest.$ac_ext >&5
16838 cat >conftest.$ac_ext <<_ACEOF
16841 cat confdefs.h >>conftest.$ac_ext
16842 cat >>conftest.$ac_ext <<_ACEOF
16843 /* end confdefs.h. */
16853 rm -f conftest.$ac_objext
16854 if { (ac_try="$ac_compile"
16855 case "(($ac_try" in
16856 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
16857 *) ac_try_echo
=$ac_try;;
16859 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16860 (eval "$ac_compile") 2>conftest.er1
16862 grep -v '^ *+' conftest.er1
>conftest.err
16864 cat conftest.err
>&5
16865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16866 (exit $ac_status); } && {
16867 test -z "$ac_c_werror_flag" ||
16868 test ! -s conftest.err
16869 } && test -s conftest.
$ac_objext; then
16872 echo "$as_me: failed program was:" >&5
16873 sed 's/^/| /' conftest.
$ac_ext >&5
16875 ac_c_werror_flag
=$ac_save_c_werror_flag
16877 cat >conftest.
$ac_ext <<_ACEOF
16880 cat confdefs.h
>>conftest.
$ac_ext
16881 cat >>conftest.
$ac_ext <<_ACEOF
16882 /* end confdefs.h. */
16892 rm -f conftest.
$ac_objext
16893 if { (ac_try
="$ac_compile"
16894 case "(($ac_try" in
16895 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
16896 *) ac_try_echo=$ac_try;;
16898 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16899 (eval "$ac_compile") 2>conftest.er1
16901 grep -v '^ *+' conftest.er1 >conftest.err
16903 cat conftest.err >&5
16904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16905 (exit $ac_status); } && {
16906 test -z "$ac_c_werror_flag" ||
16907 test ! -s conftest.err
16908 } && test -s conftest.$ac_objext; then
16909 ac_cv_prog_cc_g=yes
16911 echo "$as_me: failed program was:" >&5
16912 sed 's/^/| /' conftest.$ac_ext >&5
16917 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16920 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16923 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16924 ac_c_werror_flag=$ac_save_c_werror_flag
16926 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
16927 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
16928 if test "$ac_test_CFLAGS" = set; then
16929 CFLAGS=$ac_save_CFLAGS
16930 elif test $ac_cv_prog_cc_g = yes; then
16931 if test "$GCC" = yes; then
16937 if test "$GCC" = yes; then
16951 ac_cpp='$CXXCPP $CPPFLAGS'
16952 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16953 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16954 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16956 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
16957 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6; }
16958 if test "${bakefile_cv_cxx_compiler___xlC__+set}" = set; then
16959 echo $ECHO_N "(cached) $ECHO_C" >&6
16961 cat >conftest.$ac_ext <<_ACEOF
16964 cat confdefs.h >>conftest.$ac_ext
16965 cat >>conftest.$ac_ext <<_ACEOF
16966 /* end confdefs.h. */
16980 rm -f conftest.$ac_objext
16981 if { (ac_try="$ac_compile"
16982 case "(($ac_try" in
16983 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
16984 *) ac_try_echo
=$ac_try;;
16986 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16987 (eval "$ac_compile") 2>conftest.er1
16989 grep -v '^ *+' conftest.er1
>conftest.err
16991 cat conftest.err
>&5
16992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16993 (exit $ac_status); } && {
16994 test -z "$ac_cxx_werror_flag" ||
16995 test ! -s conftest.err
16996 } && test -s conftest.
$ac_objext; then
16997 bakefile_cv_cxx_compiler___xlC__
=yes
16999 echo "$as_me: failed program was:" >&5
17000 sed 's/^/| /' conftest.
$ac_ext >&5
17002 bakefile_cv_cxx_compiler___xlC__
=no
17006 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17010 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___xlC__" >&5
17011 echo "${ECHO_T}$bakefile_cv_cxx_compiler___xlC__" >&6; }
17012 if test "x$bakefile_cv_cxx_compiler___xlC__" = "xyes"; then
17018 ac_cpp
='$CPP $CPPFLAGS'
17019 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17020 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17021 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
17031 ac_cpp
='$CXXCPP $CPPFLAGS'
17032 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17033 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17034 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
17036 { echo "$as_me:$LINENO: checking whether we are using the Metrowerks C++ compiler" >&5
17037 echo $ECHO_N "checking whether we are using the Metrowerks C++ compiler... $ECHO_C" >&6; }
17038 if test "${bakefile_cv_cxx_compiler___MWERKS__+set}" = set; then
17039 echo $ECHO_N "(cached) $ECHO_C" >&6
17041 cat >conftest.
$ac_ext <<_ACEOF
17044 cat confdefs.h
>>conftest.
$ac_ext
17045 cat >>conftest.
$ac_ext <<_ACEOF
17046 /* end confdefs.h. */
17060 rm -f conftest.
$ac_objext
17061 if { (ac_try
="$ac_compile"
17062 case "(($ac_try" in
17063 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
17064 *) ac_try_echo=$ac_try;;
17066 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17067 (eval "$ac_compile") 2>conftest.er1
17069 grep -v '^ *+' conftest.er1 >conftest.err
17071 cat conftest.err >&5
17072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17073 (exit $ac_status); } && {
17074 test -z "$ac_cxx_werror_flag" ||
17075 test ! -s conftest.err
17076 } && test -s conftest.$ac_objext; then
17077 bakefile_cv_cxx_compiler___MWERKS__=yes
17079 echo "$as_me: failed program was:" >&5
17080 sed 's/^/| /' conftest.$ac_ext >&5
17082 bakefile_cv_cxx_compiler___MWERKS__=no
17086 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17090 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___MWERKS__" >&5
17091 echo "${ECHO_T}$bakefile_cv_cxx_compiler___MWERKS__" >&6; }
17092 if test "x$bakefile_cv_cxx_compiler___MWERKS__" = "xyes"; then
17098 ac_cpp='$CPP $CPPFLAGS'
17099 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17100 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17101 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17108 ac_cpp='$CXXCPP $CPPFLAGS'
17109 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17110 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17111 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17113 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
17114 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6; }
17115 if test "${bakefile_cv_cxx_compiler___xlC__+set}" = set; then
17116 echo $ECHO_N "(cached) $ECHO_C" >&6
17118 cat >conftest.$ac_ext <<_ACEOF
17121 cat confdefs.h >>conftest.$ac_ext
17122 cat >>conftest.$ac_ext <<_ACEOF
17123 /* end confdefs.h. */
17137 rm -f conftest.$ac_objext
17138 if { (ac_try="$ac_compile"
17139 case "(($ac_try" in
17140 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
17141 *) ac_try_echo
=$ac_try;;
17143 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17144 (eval "$ac_compile") 2>conftest.er1
17146 grep -v '^ *+' conftest.er1
>conftest.err
17148 cat conftest.err
>&5
17149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17150 (exit $ac_status); } && {
17151 test -z "$ac_cxx_werror_flag" ||
17152 test ! -s conftest.err
17153 } && test -s conftest.
$ac_objext; then
17154 bakefile_cv_cxx_compiler___xlC__
=yes
17156 echo "$as_me: failed program was:" >&5
17157 sed 's/^/| /' conftest.
$ac_ext >&5
17159 bakefile_cv_cxx_compiler___xlC__
=no
17163 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17167 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___xlC__" >&5
17168 echo "${ECHO_T}$bakefile_cv_cxx_compiler___xlC__" >&6; }
17169 if test "x$bakefile_cv_cxx_compiler___xlC__" = "xyes"; then
17175 ac_cpp
='$CPP $CPPFLAGS'
17176 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17177 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17178 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
17188 ac_cpp
='$CXXCPP $CPPFLAGS'
17189 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17190 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17191 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
17193 { echo "$as_me:$LINENO: checking whether we are using the SGI C++ compiler" >&5
17194 echo $ECHO_N "checking whether we are using the SGI C++ compiler... $ECHO_C" >&6; }
17195 if test "${bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION+set}" = set; then
17196 echo $ECHO_N "(cached) $ECHO_C" >&6
17198 cat >conftest.
$ac_ext <<_ACEOF
17201 cat confdefs.h
>>conftest.
$ac_ext
17202 cat >>conftest.
$ac_ext <<_ACEOF
17203 /* end confdefs.h. */
17209 #ifndef _SGI_COMPILER_VERSION
17217 rm -f conftest.
$ac_objext
17218 if { (ac_try
="$ac_compile"
17219 case "(($ac_try" in
17220 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
17221 *) ac_try_echo=$ac_try;;
17223 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17224 (eval "$ac_compile") 2>conftest.er1
17226 grep -v '^ *+' conftest.er1 >conftest.err
17228 cat conftest.err >&5
17229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17230 (exit $ac_status); } && {
17231 test -z "$ac_cxx_werror_flag" ||
17232 test ! -s conftest.err
17233 } && test -s conftest.$ac_objext; then
17234 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=yes
17236 echo "$as_me: failed program was:" >&5
17237 sed 's/^/| /' conftest.$ac_ext >&5
17239 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=no
17243 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17247 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&5
17248 echo "${ECHO_T}$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&6; }
17249 if test "x$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" = "xyes"; then
17255 ac_cpp='$CPP $CPPFLAGS'
17256 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17257 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17258 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17268 ac_cpp='$CXXCPP $CPPFLAGS'
17269 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17270 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17271 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17273 { echo "$as_me:$LINENO: checking whether we are using the Sun C++ compiler" >&5
17274 echo $ECHO_N "checking whether we are using the Sun C++ compiler... $ECHO_C" >&6; }
17275 if test "${bakefile_cv_cxx_compiler___SUNPRO_CC+set}" = set; then
17276 echo $ECHO_N "(cached) $ECHO_C" >&6
17278 cat >conftest.$ac_ext <<_ACEOF
17281 cat confdefs.h >>conftest.$ac_ext
17282 cat >>conftest.$ac_ext <<_ACEOF
17283 /* end confdefs.h. */
17289 #ifndef __SUNPRO_CC
17297 rm -f conftest.$ac_objext
17298 if { (ac_try="$ac_compile"
17299 case "(($ac_try" in
17300 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
17301 *) ac_try_echo
=$ac_try;;
17303 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17304 (eval "$ac_compile") 2>conftest.er1
17306 grep -v '^ *+' conftest.er1
>conftest.err
17308 cat conftest.err
>&5
17309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17310 (exit $ac_status); } && {
17311 test -z "$ac_cxx_werror_flag" ||
17312 test ! -s conftest.err
17313 } && test -s conftest.
$ac_objext; then
17314 bakefile_cv_cxx_compiler___SUNPRO_CC
=yes
17316 echo "$as_me: failed program was:" >&5
17317 sed 's/^/| /' conftest.
$ac_ext >&5
17319 bakefile_cv_cxx_compiler___SUNPRO_CC
=no
17323 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17327 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
17328 echo "${ECHO_T}$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6; }
17329 if test "x$bakefile_cv_cxx_compiler___SUNPRO_CC" = "xyes"; then
17335 ac_cpp
='$CPP $CPPFLAGS'
17336 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17337 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17338 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
17348 ac_cpp
='$CXXCPP $CPPFLAGS'
17349 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17350 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17351 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
17353 { echo "$as_me:$LINENO: checking whether we are using the HP C++ compiler" >&5
17354 echo $ECHO_N "checking whether we are using the HP C++ compiler... $ECHO_C" >&6; }
17355 if test "${bakefile_cv_cxx_compiler___HP_aCC+set}" = set; then
17356 echo $ECHO_N "(cached) $ECHO_C" >&6
17358 cat >conftest.
$ac_ext <<_ACEOF
17361 cat confdefs.h
>>conftest.
$ac_ext
17362 cat >>conftest.
$ac_ext <<_ACEOF
17363 /* end confdefs.h. */
17377 rm -f conftest.
$ac_objext
17378 if { (ac_try
="$ac_compile"
17379 case "(($ac_try" in
17380 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
17381 *) ac_try_echo=$ac_try;;
17383 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17384 (eval "$ac_compile") 2>conftest.er1
17386 grep -v '^ *+' conftest.er1 >conftest.err
17388 cat conftest.err >&5
17389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17390 (exit $ac_status); } && {
17391 test -z "$ac_cxx_werror_flag" ||
17392 test ! -s conftest.err
17393 } && test -s conftest.$ac_objext; then
17394 bakefile_cv_cxx_compiler___HP_aCC=yes
17396 echo "$as_me: failed program was:" >&5
17397 sed 's/^/| /' conftest.$ac_ext >&5
17399 bakefile_cv_cxx_compiler___HP_aCC=no
17403 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17407 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___HP_aCC" >&5
17408 echo "${ECHO_T}$bakefile_cv_cxx_compiler___HP_aCC" >&6; }
17409 if test "x$bakefile_cv_cxx_compiler___HP_aCC" = "xyes"; then
17415 ac_cpp='$CPP $CPPFLAGS'
17416 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17417 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17418 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17428 ac_cpp='$CXXCPP $CPPFLAGS'
17429 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17430 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17431 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17433 { echo "$as_me:$LINENO: checking whether we are using the Compaq C++ compiler" >&5
17434 echo $ECHO_N "checking whether we are using the Compaq C++ compiler... $ECHO_C" >&6; }
17435 if test "${bakefile_cv_cxx_compiler___DECCXX+set}" = set; then
17436 echo $ECHO_N "(cached) $ECHO_C" >&6
17438 cat >conftest.$ac_ext <<_ACEOF
17441 cat confdefs.h >>conftest.$ac_ext
17442 cat >>conftest.$ac_ext <<_ACEOF
17443 /* end confdefs.h. */
17457 rm -f conftest.$ac_objext
17458 if { (ac_try="$ac_compile"
17459 case "(($ac_try" in
17460 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
17461 *) ac_try_echo
=$ac_try;;
17463 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17464 (eval "$ac_compile") 2>conftest.er1
17466 grep -v '^ *+' conftest.er1
>conftest.err
17468 cat conftest.err
>&5
17469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17470 (exit $ac_status); } && {
17471 test -z "$ac_cxx_werror_flag" ||
17472 test ! -s conftest.err
17473 } && test -s conftest.
$ac_objext; then
17474 bakefile_cv_cxx_compiler___DECCXX
=yes
17476 echo "$as_me: failed program was:" >&5
17477 sed 's/^/| /' conftest.
$ac_ext >&5
17479 bakefile_cv_cxx_compiler___DECCXX
=no
17483 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17487 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___DECCXX" >&5
17488 echo "${ECHO_T}$bakefile_cv_cxx_compiler___DECCXX" >&6; }
17489 if test "x$bakefile_cv_cxx_compiler___DECCXX" = "xyes"; then
17495 ac_cpp
='$CPP $CPPFLAGS'
17496 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17497 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17498 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
17508 ac_cpp
='$CXXCPP $CPPFLAGS'
17509 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17510 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17511 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
17513 { echo "$as_me:$LINENO: checking whether we are using the Sun C++ compiler" >&5
17514 echo $ECHO_N "checking whether we are using the Sun C++ compiler... $ECHO_C" >&6; }
17515 if test "${bakefile_cv_cxx_compiler___SUNPRO_CC+set}" = set; then
17516 echo $ECHO_N "(cached) $ECHO_C" >&6
17518 cat >conftest.
$ac_ext <<_ACEOF
17521 cat confdefs.h
>>conftest.
$ac_ext
17522 cat >>conftest.
$ac_ext <<_ACEOF
17523 /* end confdefs.h. */
17529 #ifndef __SUNPRO_CC
17537 rm -f conftest.
$ac_objext
17538 if { (ac_try
="$ac_compile"
17539 case "(($ac_try" in
17540 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
17541 *) ac_try_echo=$ac_try;;
17543 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17544 (eval "$ac_compile") 2>conftest.er1
17546 grep -v '^ *+' conftest.er1 >conftest.err
17548 cat conftest.err >&5
17549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17550 (exit $ac_status); } && {
17551 test -z "$ac_cxx_werror_flag" ||
17552 test ! -s conftest.err
17553 } && test -s conftest.$ac_objext; then
17554 bakefile_cv_cxx_compiler___SUNPRO_CC=yes
17556 echo "$as_me: failed program was:" >&5
17557 sed 's/^/| /' conftest.$ac_ext >&5
17559 bakefile_cv_cxx_compiler___SUNPRO_CC=no
17563 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17567 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
17568 echo "${ECHO_T}$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6; }
17569 if test "x$bakefile_cv_cxx_compiler___SUNPRO_CC" = "xyes"; then
17575 ac_cpp='$CPP $CPPFLAGS'
17576 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17577 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17578 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17588 if test "$CXX" = "g++" -a "$GXX" != "yes"; then
17589 { { echo "$as_me:$LINENO: error: C++ compiler is needed to build wxWidgets" >&5
17590 echo "$as_me: error: C++ compiler is needed to build wxWidgets" >&2;}
17591 { (exit 1); exit 1; }; }
17594 if test "x$SUNCXX" != xyes; then
17595 if test -n "$ac_tool_prefix"; then
17596 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
17597 set dummy ${ac_tool_prefix}ar; ac_word=$2
17598 { echo "$as_me:$LINENO: checking for $ac_word" >&5
17599 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
17600 if test "${ac_cv_prog_AR+set}" = set; then
17601 echo $ECHO_N "(cached) $ECHO_C" >&6
17603 if test -n "$AR"; then
17604 ac_cv_prog_AR="$AR" # Let the user override the test.
17606 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17607 for as_dir in $PATH
17610 test -z "$as_dir" && as_dir=.
17611 for ac_exec_ext in '' $ac_executable_extensions; do
17612 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
17613 ac_cv_prog_AR="${ac_tool_prefix}ar"
17614 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
17624 if test -n "$AR"; then
17625 { echo "$as_me:$LINENO: result: $AR" >&5
17626 echo "${ECHO_T}$AR" >&6; }
17628 { echo "$as_me:$LINENO: result: no" >&5
17629 echo "${ECHO_T}no" >&6; }
17634 if test -z "$ac_cv_prog_AR"; then
17636 # Extract the first word of "ar", so it can be a program name with args.
17637 set dummy ar; ac_word=$2
17638 { echo "$as_me:$LINENO: checking for $ac_word" >&5
17639 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
17640 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
17641 echo $ECHO_N "(cached) $ECHO_C" >&6
17643 if test -n "$ac_ct_AR"; then
17644 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
17646 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17647 for as_dir in $PATH
17650 test -z "$as_dir" && as_dir=.
17651 for ac_exec_ext in '' $ac_executable_extensions; do
17652 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
17653 ac_cv_prog_ac_ct_AR="ar"
17654 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
17663 ac_ct_AR=$ac_cv_prog_ac_ct_AR
17664 if test -n "$ac_ct_AR"; then
17665 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
17666 echo "${ECHO_T}$ac_ct_AR" >&6; }
17668 { echo "$as_me:$LINENO: result: no" >&5
17669 echo "${ECHO_T}no" >&6; }
17672 if test "x$ac_ct_AR" = x; then
17675 case $cross_compiling:$ac_tool_warned in
17677 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
17678 whose name does not start with the host triplet. If you think this
17679 configuration is useful to you, please write to autoconf@gnu.org." >&5
17680 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
17681 whose name does not start with the host triplet. If you think this
17682 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
17683 ac_tool_warned=yes ;;
17688 AR="$ac_cv_prog_AR"
17691 if test "x$AR" = "x" ; then
17692 { { echo "$as_me:$LINENO: error: ar is needed to build wxWidgets" >&5
17693 echo "$as_me: error: ar is needed to build wxWidgets" >&2;}
17694 { (exit 1); exit 1; }; }
17698 retest_macosx_linking=no
17700 #if test "$wxUSE_MAC" = 1; then
17701 if test "x$wxUSE_UNIVERSAL_BINARY" != xno ; then
17702 if test "x$wxUSE_UNIVERSAL_BINARY" == xyes; then
17703 # Implicitly turn on the new --with-macosx-sdk using the default
17704 # SDK which provides the behavior this option has always had.
17705 if test "x$wxUSE_MACOSX_SDK" = "x"; then
17706 { echo "$as_me:$LINENO: WARNING: Enabling default SDK due to --enable-universal_binary." >&5
17707 echo "$as_me: WARNING: Enabling default SDK due to --enable-universal_binary." >&2;}
17708 { echo "$as_me:$LINENO: WARNING: If you don't want this, specify --without-macosx-sdk" >&5
17709 echo "$as_me: WARNING: If you don't want this, specify --without-macosx-sdk" >&2;}
17710 wxUSE_MACOSX_SDK=yes
17713 # Complain to user if he specified an argument to --enable-universal_binary
17714 # and also 1) specified --with-macosx-sdk using the default (yes) or
17715 # 2) specified --with-macosx-sdk using a path or 3) specified
17716 # --without-macosx-sdk (no).
17717 if test "x$wxUSE_MACOSX_SDK" != "x" ; then
17718 { { echo "$as_me:$LINENO: error: Please specify the new --with-macosx-sdk=PATH and do not specify an arg to --enable-universal_binary
17719 See \`config.log
' for more details." >&5
17720 echo "$as_me: error: Please specify the new --with-macosx-sdk=PATH and do not specify an arg to --enable-universal_binary
17721 See \`config.log' for more details.
" >&2;}
17722 { (exit 1); exit 1; }; }
17724 # Put the SDK path into the wxUSE_MACOSX_SDK. We don't have to
17725 # special-case the empty string because the below test simply
17726 # converts "no
" to the empty string anyway.
17727 wxUSE_MACOSX_SDK="$wxUSE_UNIVERSAL_BINARY"
17728 { echo "$as_me:$LINENO: WARNING
: Please use
--with-macosx-sdk=PATH and
--enable-universal_binary without an argument
" >&5
17729 echo "$as_me: WARNING
: Please use
--with-macosx-sdk=PATH and
--enable-universal_binary without an argument
" >&2;}
17732 OSX_UNIV_OPTS="-arch ppc
-arch i386
"
17733 CXXFLAGS="$OSX_UNIV_OPTS $CXXFLAGS"
17734 CFLAGS="$OSX_UNIV_OPTS $CFLAGS"
17735 OBJCXXFLAGS="$OSX_UNIV_OPTS $OBJCXXFLAGS"
17736 OBJCFLAGS="$OSX_UNIV_OPTS $OBJCFLAGS"
17737 LDFLAGS="$OSX_UNIV_OPTS $LDFLAGS"
17738 retest_macosx_linking=yes
17740 { echo "$as_me:$LINENO: WARNING
: Disabling precompiled headers due to universal binary build.
" >&5
17741 echo "$as_me: WARNING
: Disabling precompiled headers due to universal binary build.
" >&2;}
17746 if test "x
$wxUSE_MACOSX_SDK" = "xno
"; then
17748 elif test "x
$wxUSE_MACOSX_SDK" = "xyes
"; then
17749 # TODO: Search for most recent SDK and use it.
17750 wxUSE_MACOSX_SDK="/Developer
/SDKs
/MacOSX10.4u.sdk
"
17754 if test "x
$wxUSE_MACOSX_SDK" != "x
"; then
17755 { echo "$as_me:$LINENO: checking
for SDK directory
$wxUSE_MACOSX_SDK" >&5
17756 echo $ECHO_N "checking
for SDK directory
$wxUSE_MACOSX_SDK...
$ECHO_C" >&6; }
17757 if ! test -d "$wxUSE_MACOSX_SDK"; then
17758 { { echo "$as_me:$LINENO: error
: not found
17759 See \
`config.log' for more details." >&5
17760 echo "$as_me: error: not found
17761 See \`config.log
' for more details." >&2;}
17762 { (exit 1); exit 1; }; }
17764 { echo "$as_me:$LINENO: result: exists" >&5
17765 echo "${ECHO_T}exists" >&6; }
17767 MACOSX_SDK_OPTS="-isysroot $wxUSE_MACOSX_SDK"
17768 eval "CC=\"$CC $MACOSX_SDK_OPTS\""
17769 eval "CXX=\"$CXX $MACOSX_SDK_OPTS\""
17770 eval "LD=\"$LD $MACOSX_SDK_OPTS\""
17771 retest_macosx_linking=yes
17774 if test "x$wxUSE_MACOSX_VERSION_MIN" = "xno"; then
17775 wxUSE_MACOSX_VERSION_MIN=
17776 elif test "x$wxUSE_MACOSX_VERSION_MIN" = "xyes"; then
17777 if test "x$wxUSE_MACOSX_SDK" != "x"; then
17778 { echo "$as_me:$LINENO: checking SDK deployment version" >&5
17779 echo $ECHO_N "checking SDK deployment version... $ECHO_C" >&6; }
17781 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/'`
17783 # If that failed, try again with the new key
17784 if test "x$MACOSX_SDK_PLIST_VERSION_MIN" == "x"; then
17786 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/'`
17790 if test "x$MACOSX_SDK_PLIST_VERSION_MIN" != "x"; then
17791 wxUSE_MACOSX_VERSION_MIN=$MACOSX_SDK_PLIST_VERSION_MIN
17792 { echo "$as_me:$LINENO: result: $wxUSE_MACOSX_VERSION_MIN" >&5
17793 echo "${ECHO_T}$wxUSE_MACOSX_VERSION_MIN" >&6; }
17795 { echo "$as_me:$LINENO: WARNING: Could not determine deployment target from SDKSettings.plist" >&5
17796 echo "$as_me: WARNING: Could not determine deployment target from SDKSettings.plist" >&2;}
17797 wxUSE_MACOSX_VERSION_MIN=
17800 wxUSE_MACOSX_VERSION_MIN=
17802 elif test "x$wxUSE_MACOSX_VERSION_MIN" = "x"; then
17803 if test "$wxUSE_MAC" = 1; then
17804 # otherwise configure stops on leopard for universal_binary
17805 wxUSE_MACOSX_VERSION_MIN=10.4
17809 if test "x$wxUSE_MACOSX_VERSION_MIN" != "x"; then
17810 MACOSX_VERSION_MIN_OPTS="-mmacosx-version-min=$wxUSE_MACOSX_VERSION_MIN"
17811 eval "CC=\"$CC $MACOSX_VERSION_MIN_OPTS\""
17812 eval "CXX=\"$CXX $MACOSX_VERSION_MIN_OPTS\""
17813 eval "LD=\"$LD $MACOSX_VERSION_MIN_OPTS\""
17814 retest_macosx_linking=yes
17817 if test "x$retest_macosx_linking" = "xyes"; then
17819 ac_cpp='$CPP $CPPFLAGS'
17820 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
17821 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
17822 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17824 { echo "$as_me:$LINENO: checking if C compiler works with SDK/version options" >&5
17825 echo $ECHO_N "checking if C compiler works with SDK/version options... $ECHO_C" >&6; }
17826 cat >conftest.$ac_ext <<_ACEOF
17829 cat confdefs.h >>conftest.$ac_ext
17830 cat >>conftest.$ac_ext <<_ACEOF
17831 /* end confdefs.h. */
17841 rm -f conftest.$ac_objext conftest$ac_exeext
17842 if { (ac_try="$ac_link"
17843 case "(($ac_try" in
17844 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17845 *) ac_try_echo=$ac_try;;
17847 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17848 (eval "$ac_link") 2>conftest.er1
17850 grep -v '^
*+' conftest.er1 >conftest.err
17852 cat conftest.err >&5
17853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17854 (exit $ac_status); } && {
17855 test -z "$ac_c_werror_flag" ||
17856 test ! -s conftest.err
17857 } && test -s conftest$ac_exeext &&
17858 $as_test_x conftest$ac_exeext; then
17859 { echo "$as_me:$LINENO: result: yes" >&5
17860 echo "${ECHO_T}yes" >&6; }
17862 echo "$as_me: failed program was:" >&5
17863 sed 's
/^
/| /' conftest.$ac_ext >&5
17865 { { echo "$as_me:$LINENO: error: no. Try a different SDK
17866 See \`config.log' for more details.
" >&5
17867 echo "$as_me: error
: no. Try a different SDK
17868 See \
`config.log' for more details." >&2;}
17869 { (exit 1); exit 1; }; }; exit 1
17872 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17873 conftest$ac_exeext conftest.$ac_ext
17875 ac_cpp='$CPP $CPPFLAGS'
17876 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17877 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17878 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17882 ac_cpp='$CXXCPP $CPPFLAGS'
17883 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17884 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17885 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17887 { echo "$as_me:$LINENO: checking if C++ compiler works with SDK/version options" >&5
17888 echo $ECHO_N "checking if C++ compiler works with SDK/version options... $ECHO_C" >&6; }
17889 cat >conftest.$ac_ext <<_ACEOF
17892 cat confdefs.h >>conftest.$ac_ext
17893 cat >>conftest.$ac_ext <<_ACEOF
17894 /* end confdefs.h. */
17904 rm -f conftest.$ac_objext conftest$ac_exeext
17905 if { (ac_try="$ac_link"
17906 case "(($ac_try" in
17907 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
17908 *) ac_try_echo
=$ac_try;;
17910 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17911 (eval "$ac_link") 2>conftest.er1
17913 grep -v '^ *+' conftest.er1
>conftest.err
17915 cat conftest.err
>&5
17916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17917 (exit $ac_status); } && {
17918 test -z "$ac_cxx_werror_flag" ||
17919 test ! -s conftest.err
17920 } && test -s conftest
$ac_exeext &&
17921 $as_test_x conftest
$ac_exeext; then
17922 { echo "$as_me:$LINENO: result: yes" >&5
17923 echo "${ECHO_T}yes" >&6; }
17925 echo "$as_me: failed program was:" >&5
17926 sed 's/^/| /' conftest.
$ac_ext >&5
17928 { { echo "$as_me:$LINENO: error: no. Try a different SDK
17929 See \`config.log' for more details." >&5
17930 echo "$as_me: error: no. Try a different SDK
17931 See \`config.log' for more details." >&2;}
17932 { (exit 1); exit 1; }; }; exit 1
17935 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
17936 conftest
$ac_exeext conftest.
$ac_ext
17938 ac_cpp
='$CPP $CPPFLAGS'
17939 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17940 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17941 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
17949 INSTALL_PROGRAM
="cp -fp"
17950 INSTALL_DATA
="cp -fp"
17957 if test "x$XLCXX" = "xyes" -a "x$USE_AIX" = "x1"; then
17958 CXXFLAGS
="-qunique $CXXFLAGS"
17962 powerpc
-*-darwin* )
17963 { echo "$as_me:$LINENO: checking if __POWERPC__ is already defined" >&5
17964 echo $ECHO_N "checking if __POWERPC__ is already defined... $ECHO_C" >&6; }
17965 cat >conftest.
$ac_ext <<_ACEOF
17968 cat confdefs.h
>>conftest.
$ac_ext
17969 cat >>conftest.
$ac_ext <<_ACEOF
17970 /* end confdefs.h. */
17975 #ifndef __POWERPC__
17976 choke me for lack of PowerPC
17983 rm -f conftest.
$ac_objext
17984 if { (ac_try
="$ac_compile"
17985 case "(($ac_try" in
17986 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
17987 *) ac_try_echo=$ac_try;;
17989 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17990 (eval "$ac_compile") 2>conftest.er1
17992 grep -v '^ *+' conftest.er1 >conftest.err
17994 cat conftest.err >&5
17995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17996 (exit $ac_status); } && {
17997 test -z "$ac_c_werror_flag" ||
17998 test ! -s conftest.err
17999 } && test -s conftest.$ac_objext; then
18000 { echo "$as_me:$LINENO: result: yes" >&5
18001 echo "${ECHO_T}yes" >&6; }
18003 echo "$as_me: failed program was:" >&5
18004 sed 's/^/| /' conftest.$ac_ext >&5
18006 { echo "$as_me:$LINENO: result: no" >&5
18007 echo "${ECHO_T}no" >&6; }
18008 cat >>confdefs.h <<\_ACEOF
18009 #define __POWERPC__ 1
18015 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18021 { echo "$as_me:$LINENO: checking if CoreFoundation/CFBase.h is usable" >&5
18022 echo $ECHO_N "checking if CoreFoundation/CFBase.h is usable... $ECHO_C" >&6; }
18023 cat >conftest.$ac_ext <<_ACEOF
18026 cat confdefs.h >>conftest.$ac_ext
18027 cat >>conftest.$ac_ext <<_ACEOF
18028 /* end confdefs.h. */
18029 #include <CoreFoundation/CFBase.h>
18039 rm -f conftest.$ac_objext
18040 if { (ac_try="$ac_compile"
18041 case "(($ac_try" in
18042 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
18043 *) ac_try_echo
=$ac_try;;
18045 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18046 (eval "$ac_compile") 2>conftest.er1
18048 grep -v '^ *+' conftest.er1
>conftest.err
18050 cat conftest.err
>&5
18051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18052 (exit $ac_status); } && {
18053 test -z "$ac_c_werror_flag" ||
18054 test ! -s conftest.err
18055 } && test -s conftest.
$ac_objext; then
18056 { echo "$as_me:$LINENO: result: yes" >&5
18057 echo "${ECHO_T}yes" >&6; }
18059 echo "$as_me: failed program was:" >&5
18060 sed 's/^/| /' conftest.
$ac_ext >&5
18062 { echo "$as_me:$LINENO: result: no" >&5
18063 echo "${ECHO_T}no" >&6; }
18064 { echo "$as_me:$LINENO: checking if __CF_USE_FRAMEWORK_INCLUDES__ is required" >&5
18065 echo $ECHO_N "checking if __CF_USE_FRAMEWORK_INCLUDES__ is required... $ECHO_C" >&6; }
18066 cat >conftest.
$ac_ext <<_ACEOF
18069 cat confdefs.h
>>conftest.
$ac_ext
18070 cat >>conftest.
$ac_ext <<_ACEOF
18071 /* end confdefs.h. */
18072 #define __CF_USE_FRAMEWORK_INCLUDES__
18073 #include <CoreFoundation/CFBase.h>
18083 rm -f conftest.
$ac_objext
18084 if { (ac_try
="$ac_compile"
18085 case "(($ac_try" in
18086 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
18087 *) ac_try_echo=$ac_try;;
18089 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18090 (eval "$ac_compile") 2>conftest.er1
18092 grep -v '^ *+' conftest.er1 >conftest.err
18094 cat conftest.err >&5
18095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18096 (exit $ac_status); } && {
18097 test -z "$ac_c_werror_flag" ||
18098 test ! -s conftest.err
18099 } && test -s conftest.$ac_objext; then
18100 { echo "$as_me:$LINENO: result: yes" >&5
18101 echo "${ECHO_T}yes" >&6; }
18102 CPPFLAGS="-D__CF_USE_FRAMEWORK_INCLUDES__ $CPPFLAGS"
18104 echo "$as_me: failed program was:" >&5
18105 sed 's/^/| /' conftest.$ac_ext >&5
18107 { { echo "$as_me:$LINENO: error: no. CoreFoundation not available.
18108 See \`config.log
' for more details." >&5
18109 echo "$as_me: error: no. CoreFoundation not available.
18110 See \`config.log' for more details.
" >&2;}
18111 { (exit 1); exit 1; }; }
18115 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18120 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18125 doesnt_want_win32=0
18128 if test "$wxUSE_MSW" = 1 ; then
18131 { echo "$as_me:$LINENO: checking
if -mno-cygwin is
in effect
" >&5
18132 echo $ECHO_N "checking
if -mno-cygwin is
in effect...
$ECHO_C" >&6; }
18133 if test "${wx_cv_nocygwin+set}" = set; then
18134 echo $ECHO_N "(cached
) $ECHO_C" >&6
18137 cat >conftest.$ac_ext <<_ACEOF
18140 cat confdefs.h >>conftest.$ac_ext
18141 cat >>conftest.$ac_ext <<_ACEOF
18142 /* end confdefs.h. */
18156 rm -f conftest.$ac_objext
18157 if { (ac_try="$ac_compile"
18158 case "(($ac_try" in
18159 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18160 *) ac_try_echo=$ac_try;;
18162 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
18163 (eval "$ac_compile") 2>conftest.er1
18165 grep -v '^ *+' conftest.er1 >conftest.err
18167 cat conftest.err >&5
18168 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
18169 (exit $ac_status); } && {
18170 test -z "$ac_c_werror_flag" ||
18171 test ! -s conftest.err
18172 } && test -s conftest.$ac_objext; then
18175 echo "$as_me: failed program was
:" >&5
18176 sed 's/^/| /' conftest.$ac_ext >&5
18182 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18186 { echo "$as_me:$LINENO: result
: $wx_cv_nocygwin" >&5
18187 echo "${ECHO_T}$wx_cv_nocygwin" >&6; }
18189 if test "$wx_cv_nocygwin" = "yes"; then
18192 doesnt_want_win32=1
18195 if test "$wants_win32" = 1 ; then
18196 BAKEFILE_FORCE_PLATFORM=win32
18204 if test "$wxUSE_WINE" = "yes"; then
18206 LDFLAGS_GUI="-mwindows"
18209 if test "$wants_win32" = 1 ; then
18212 cat >>confdefs.h <<\_ACEOF
18213 #define __WIN32__ 1
18216 cat >>confdefs.h <<\_ACEOF
18217 #define __WIN95__ 1
18220 cat >>confdefs.h <<\_ACEOF
18221 #define __WINDOWS__ 1
18224 cat >>confdefs.h <<\_ACEOF
18225 #define __GNUWIN32__ 1
18228 cat >>confdefs.h <<\_ACEOF
18233 if test "$doesnt_want_win32" = 1 ; then
18238 if test "$USE_UNIX" = 1 ; then
18240 cat >>confdefs.h <<\_ACEOF
18247 *-pc-os2_emx | *-pc-os2-emx )
18248 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
18249 { echo "$as_me:$LINENO: checking
for drand48
in -lcExt" >&5
18250 echo $ECHO_N "checking
for drand48
in -lcExt...
$ECHO_C" >&6; }
18251 if test "${ac_cv_lib_cExt_drand48+set}" = set; then
18252 echo $ECHO_N "(cached
) $ECHO_C" >&6
18254 ac_check_lib_save_LIBS=$LIBS
18255 LIBS="-lcExt $LIBS"
18256 cat >conftest.$ac_ext <<_ACEOF
18259 cat confdefs.h >>conftest.$ac_ext
18260 cat >>conftest.$ac_ext <<_ACEOF
18261 /* end confdefs.h. */
18263 /* Override any GCC internal prototype to avoid an error.
18264 Use char because int might match the return type of a GCC
18265 builtin and then its argument prototype would still apply. */
18278 rm -f conftest.$ac_objext conftest$ac_exeext
18279 if { (ac_try="$ac_link"
18280 case "(($ac_try" in
18281 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18282 *) ac_try_echo=$ac_try;;
18284 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
18285 (eval "$ac_link") 2>conftest.er1
18287 grep -v '^ *+' conftest.er1 >conftest.err
18289 cat conftest.err >&5
18290 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
18291 (exit $ac_status); } && {
18292 test -z "$ac_c_werror_flag" ||
18293 test ! -s conftest.err
18294 } && test -s conftest$ac_exeext &&
18295 $as_test_x conftest$ac_exeext; then
18296 ac_cv_lib_cExt_drand48=yes
18298 echo "$as_me: failed program was
:" >&5
18299 sed 's/^/| /' conftest.$ac_ext >&5
18301 ac_cv_lib_cExt_drand48=no
18304 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18305 conftest$ac_exeext conftest.$ac_ext
18306 LIBS=$ac_check_lib_save_LIBS
18308 { echo "$as_me:$LINENO: result
: $ac_cv_lib_cExt_drand48" >&5
18309 echo "${ECHO_T}$ac_cv_lib_cExt_drand48" >&6; }
18310 if test $ac_cv_lib_cExt_drand48 = yes; then
18311 LIBS="$LIBS -lcExt"
18315 RESPROGRAMOBJ="\
${top_srcdir}/include
/wx
/os
2/wx.res
"
18317 { echo "$as_me:$LINENO: checking
for gcc
/libc version
" >&5
18318 echo $ECHO_N "checking
for gcc
/libc version...
$ECHO_C" >&6; }
18319 if test "${wx_cv_gccversion+set}" = set; then
18320 echo $ECHO_N "(cached
) $ECHO_C" >&6
18323 if test "$cross_compiling" = yes; then
18324 wx_cv_gccversion="EMX2
"
18327 cat >conftest.$ac_ext <<_ACEOF
18330 cat confdefs.h >>conftest.$ac_ext
18331 cat >>conftest.$ac_ext <<_ACEOF
18332 /* end confdefs.h. */
18338 FILE *f=fopen("conftestval
", "w
");
18343 #elif (__GNUC__==3) && ((__GNUC_MINOR__ < 2) || ((__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__<2)))
18345 #elif (__GNUC__==3) && (__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__==2)
18355 rm -f conftest$ac_exeext
18356 if { (ac_try="$ac_link"
18357 case "(($ac_try" in
18358 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18359 *) ac_try_echo=$ac_try;;
18361 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
18362 (eval "$ac_link") 2>&5
18364 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
18365 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
18366 { (case "(($ac_try" in
18367 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18368 *) ac_try_echo=$ac_try;;
18370 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
18371 (eval "$ac_try") 2>&5
18373 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
18374 (exit $ac_status); }; }; then
18375 wx_cv_gccversion=`cat conftestval`
18377 echo "$as_me: program exited with status
$ac_status" >&5
18378 echo "$as_me: failed program was
:" >&5
18379 sed 's/^/| /' conftest.$ac_ext >&5
18381 ( exit $ac_status )
18382 wx_cv_gccversion="EMX2
"
18384 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
18390 { echo "$as_me:$LINENO: result
: $wx_cv_gccversion" >&5
18391 echo "${ECHO_T}$wx_cv_gccversion" >&6; }
18392 if test "$wx_cv_gccversion" = "EMX2
"; then
18393 LIBS="$LIBS -lstdcpp"
18394 LDFLAGS="$LDFLAGS -Zsysv-signals"
18396 if test "$wx_cv_gccversion" = "EMX3
"; then
18397 LIBS="$LIBS -lstdcxx -lgcc"
18398 LDFLAGS="$LDFLAGS -Zsysv-signals"
18400 LIBS="$LIBS -lstdc++"
18403 if test "$wxUSE_SHARED" = "yes" -a "$wxUSE_OMF" = "no
"; then
18404 { echo "$as_me:$LINENO: WARNING
: Building DLLs requires OMF mode
, enabled
" >&5
18405 echo "$as_me: WARNING
: Building DLLs requires OMF mode
, enabled
" >&2;}
18412 { echo "$as_me:$LINENO: checking
for strcasecmp
() in string.h
" >&5
18413 echo $ECHO_N "checking
for strcasecmp
() in string.h...
$ECHO_C" >&6; }
18414 if test "${ac_cv_string_strcasecmp+set}" = set; then
18415 echo $ECHO_N "(cached
) $ECHO_C" >&6
18418 cat >conftest.$ac_ext <<_ACEOF
18421 cat confdefs.h >>conftest.$ac_ext
18422 cat >>conftest.$ac_ext <<_ACEOF
18423 /* end confdefs.h. */
18425 #include <string.h>
18431 strcasecmp("foo
", "bar
");
18437 rm -f conftest.$ac_objext conftest$ac_exeext
18438 if { (ac_try="$ac_link"
18439 case "(($ac_try" in
18440 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18441 *) ac_try_echo=$ac_try;;
18443 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
18444 (eval "$ac_link") 2>conftest.er1
18446 grep -v '^ *+' conftest.er1 >conftest.err
18448 cat conftest.err >&5
18449 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
18450 (exit $ac_status); } && {
18451 test -z "$ac_c_werror_flag" ||
18452 test ! -s conftest.err
18453 } && test -s conftest$ac_exeext &&
18454 $as_test_x conftest$ac_exeext; then
18455 ac_cv_string_strcasecmp=yes
18457 echo "$as_me: failed program was
:" >&5
18458 sed 's/^/| /' conftest.$ac_ext >&5
18460 ac_cv_string_strcasecmp=no
18464 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18465 conftest$ac_exeext conftest.$ac_ext
18468 { echo "$as_me:$LINENO: result
: $ac_cv_string_strcasecmp" >&5
18469 echo "${ECHO_T}$ac_cv_string_strcasecmp" >&6; }
18471 if test x"$ac_cv_string_strcasecmp" = "xyes
"; then
18472 cat >>confdefs.h <<\_ACEOF
18473 #define HAVE_STRCASECMP_IN_STRING_H 1
18477 { echo "$as_me:$LINENO: checking
for strcasecmp
() in strings.h
" >&5
18478 echo $ECHO_N "checking
for strcasecmp
() in strings.h...
$ECHO_C" >&6; }
18479 if test "${ac_cv_strings_strcasecmp+set}" = set; then
18480 echo $ECHO_N "(cached
) $ECHO_C" >&6
18483 cat >conftest.$ac_ext <<_ACEOF
18486 cat confdefs.h >>conftest.$ac_ext
18487 cat >>conftest.$ac_ext <<_ACEOF
18488 /* end confdefs.h. */
18490 #include <strings.h>
18496 strcasecmp("foo
", "bar
");
18502 rm -f conftest.$ac_objext conftest$ac_exeext
18503 if { (ac_try="$ac_link"
18504 case "(($ac_try" in
18505 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18506 *) ac_try_echo=$ac_try;;
18508 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
18509 (eval "$ac_link") 2>conftest.er1
18511 grep -v '^ *+' conftest.er1 >conftest.err
18513 cat conftest.err >&5
18514 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
18515 (exit $ac_status); } && {
18516 test -z "$ac_c_werror_flag" ||
18517 test ! -s conftest.err
18518 } && test -s conftest$ac_exeext &&
18519 $as_test_x conftest$ac_exeext; then
18520 ac_cv_strings_strcasecmp=yes
18522 echo "$as_me: failed program was
:" >&5
18523 sed 's/^/| /' conftest.$ac_ext >&5
18525 ac_cv_strings_strcasecmp=no
18529 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18530 conftest$ac_exeext conftest.$ac_ext
18533 { echo "$as_me:$LINENO: result
: $ac_cv_strings_strcasecmp" >&5
18534 echo "${ECHO_T}$ac_cv_strings_strcasecmp" >&6; }
18536 if test x"$ac_cv_strings_strcasecmp" = "xyes
"; then
18537 cat >>confdefs.h <<\_ACEOF
18538 #define HAVE_STRCASECMP_IN_STRINGS_H 1
18542 { { echo "$as_me:$LINENO: error
: No
case-insensitive string comparison
function found.
" >&5
18543 echo "$as_me: error
: No
case-insensitive string comparison
function found.
" >&2;}
18544 { (exit 1); exit 1; }; }
18552 { echo "$as_me:$LINENO: checking
for ANSI C header files
" >&5
18553 echo $ECHO_N "checking
for ANSI C header files...
$ECHO_C" >&6; }
18554 if test "${ac_cv_header_stdc+set}" = set; then
18555 echo $ECHO_N "(cached
) $ECHO_C" >&6
18557 cat >conftest.$ac_ext <<_ACEOF
18560 cat confdefs.h >>conftest.$ac_ext
18561 cat >>conftest.$ac_ext <<_ACEOF
18562 /* end confdefs.h. */
18563 #include <stdlib.h>
18564 #include <stdarg.h>
18565 #include <string.h>
18576 rm -f conftest.$ac_objext
18577 if { (ac_try="$ac_compile"
18578 case "(($ac_try" in
18579 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18580 *) ac_try_echo=$ac_try;;
18582 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
18583 (eval "$ac_compile") 2>conftest.er1
18585 grep -v '^ *+' conftest.er1 >conftest.err
18587 cat conftest.err >&5
18588 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
18589 (exit $ac_status); } && {
18590 test -z "$ac_c_werror_flag" ||
18591 test ! -s conftest.err
18592 } && test -s conftest.$ac_objext; then
18593 ac_cv_header_stdc=yes
18595 echo "$as_me: failed program was
:" >&5
18596 sed 's/^/| /' conftest.$ac_ext >&5
18598 ac_cv_header_stdc=no
18601 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18603 if test $ac_cv_header_stdc = yes; then
18604 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
18605 cat >conftest.$ac_ext <<_ACEOF
18608 cat confdefs.h >>conftest.$ac_ext
18609 cat >>conftest.$ac_ext <<_ACEOF
18610 /* end confdefs.h. */
18611 #include <string.h>
18614 if (eval "$ac_cpp conftest.
$ac_ext") 2>&5 |
18615 $EGREP "memchr
" >/dev/null 2>&1; then
18618 ac_cv_header_stdc=no
18624 if test $ac_cv_header_stdc = yes; then
18625 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
18626 cat >conftest.$ac_ext <<_ACEOF
18629 cat confdefs.h >>conftest.$ac_ext
18630 cat >>conftest.$ac_ext <<_ACEOF
18631 /* end confdefs.h. */
18632 #include <stdlib.h>
18635 if (eval "$ac_cpp conftest.
$ac_ext") 2>&5 |
18636 $EGREP "free
" >/dev/null 2>&1; then
18639 ac_cv_header_stdc=no
18645 if test $ac_cv_header_stdc = yes; then
18646 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
18647 if test "$cross_compiling" = yes; then
18650 cat >conftest.$ac_ext <<_ACEOF
18653 cat confdefs.h >>conftest.$ac_ext
18654 cat >>conftest.$ac_ext <<_ACEOF
18655 /* end confdefs.h. */
18657 #include <stdlib.h>
18658 #if ((' ' & 0x0FF) == 0x020)
18659 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
18660 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
18662 # define ISLOWER(c) \
18663 (('a' <= (c) && (c) <= 'i') \
18664 || ('j' <= (c) && (c) <= 'r') \
18665 || ('s' <= (c) && (c) <= 'z'))
18666 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
18669 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
18674 for (i = 0; i < 256; i++)
18675 if (XOR (islower (i), ISLOWER (i))
18676 || toupper (i) != TOUPPER (i))
18681 rm -f conftest$ac_exeext
18682 if { (ac_try="$ac_link"
18683 case "(($ac_try" in
18684 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18685 *) ac_try_echo=$ac_try;;
18687 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
18688 (eval "$ac_link") 2>&5
18690 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
18691 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
18692 { (case "(($ac_try" in
18693 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18694 *) ac_try_echo=$ac_try;;
18696 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
18697 (eval "$ac_try") 2>&5
18699 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
18700 (exit $ac_status); }; }; then
18703 echo "$as_me: program exited with status
$ac_status" >&5
18704 echo "$as_me: failed program was
:" >&5
18705 sed 's/^/| /' conftest.$ac_ext >&5
18707 ( exit $ac_status )
18708 ac_cv_header_stdc=no
18710 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
18716 { echo "$as_me:$LINENO: result
: $ac_cv_header_stdc" >&5
18717 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
18718 if test $ac_cv_header_stdc = yes; then
18720 cat >>confdefs.h <<\_ACEOF
18721 #define STDC_HEADERS 1
18726 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
18736 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
18737 inttypes.h stdint.h unistd.h
18739 as_ac_Header=`echo "ac_cv_header_
$ac_header" | $as_tr_sh`
18740 { echo "$as_me:$LINENO: checking
for $ac_header" >&5
18741 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6; }
18742 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
18743 echo $ECHO_N "(cached
) $ECHO_C" >&6
18745 cat >conftest.$ac_ext <<_ACEOF
18748 cat confdefs.h >>conftest.$ac_ext
18749 cat >>conftest.$ac_ext <<_ACEOF
18750 /* end confdefs.h. */
18751 $ac_includes_default
18753 #include <$ac_header>
18755 rm -f conftest.$ac_objext
18756 if { (ac_try="$ac_compile"
18757 case "(($ac_try" in
18758 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18759 *) ac_try_echo=$ac_try;;
18761 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
18762 (eval "$ac_compile") 2>conftest.er1
18764 grep -v '^ *+' conftest.er1 >conftest.err
18766 cat conftest.err >&5
18767 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
18768 (exit $ac_status); } && {
18769 test -z "$ac_c_werror_flag" ||
18770 test ! -s conftest.err
18771 } && test -s conftest.$ac_objext; then
18772 eval "$as_ac_Header=yes"
18774 echo "$as_me: failed program was
:" >&5
18775 sed 's/^/| /' conftest.$ac_ext >&5
18777 eval "$as_ac_Header=no
"
18780 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18782 ac_res=`eval echo '${'$as_ac_Header'}'`
18783 { echo "$as_me:$LINENO: result
: $ac_res" >&5
18784 echo "${ECHO_T}$ac_res" >&6; }
18785 if test `eval echo '${'$as_ac_Header'}'` = yes; then
18786 cat >>confdefs.h <<_ACEOF
18787 #define `echo "HAVE_
$ac_header" | $as_tr_cpp` 1
18797 for ac_header in langinfo.h wchar.h
18799 as_ac_Header=`echo "ac_cv_header_
$ac_header" | $as_tr_sh`
18800 { echo "$as_me:$LINENO: checking
for $ac_header" >&5
18801 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6; }
18802 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
18803 echo $ECHO_N "(cached
) $ECHO_C" >&6
18805 cat >conftest.$ac_ext <<_ACEOF
18808 cat confdefs.h >>conftest.$ac_ext
18809 cat >>conftest.$ac_ext <<_ACEOF
18810 /* end confdefs.h. */
18811 $ac_includes_default
18813 #include <$ac_header>
18815 rm -f conftest.$ac_objext
18816 if { (ac_try="$ac_compile"
18817 case "(($ac_try" in
18818 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18819 *) ac_try_echo=$ac_try;;
18821 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
18822 (eval "$ac_compile") 2>conftest.er1
18824 grep -v '^ *+' conftest.er1 >conftest.err
18826 cat conftest.err >&5
18827 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
18828 (exit $ac_status); } && {
18829 test -z "$ac_c_werror_flag" ||
18830 test ! -s conftest.err
18831 } && test -s conftest.$ac_objext; then
18832 eval "$as_ac_Header=yes"
18834 echo "$as_me: failed program was
:" >&5
18835 sed 's/^/| /' conftest.$ac_ext >&5
18837 eval "$as_ac_Header=no
"
18840 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18842 ac_res=`eval echo '${'$as_ac_Header'}'`
18843 { echo "$as_me:$LINENO: result
: $ac_res" >&5
18844 echo "${ECHO_T}$ac_res" >&6; }
18845 if test `eval echo '${'$as_ac_Header'}'` = yes; then
18846 cat >>confdefs.h <<_ACEOF
18847 #define `echo "HAVE_
$ac_header" | $as_tr_cpp` 1
18855 if test "$ac_cv_header_wchar_h" != "yes"; then
18857 for ac_header in wcstr.h
18859 as_ac_Header=`echo "ac_cv_header_
$ac_header" | $as_tr_sh`
18860 { echo "$as_me:$LINENO: checking
for $ac_header" >&5
18861 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6; }
18862 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
18863 echo $ECHO_N "(cached
) $ECHO_C" >&6
18865 cat >conftest.$ac_ext <<_ACEOF
18868 cat confdefs.h >>conftest.$ac_ext
18869 cat >>conftest.$ac_ext <<_ACEOF
18870 /* end confdefs.h. */
18871 $ac_includes_default
18873 #include <$ac_header>
18875 rm -f conftest.$ac_objext
18876 if { (ac_try="$ac_compile"
18877 case "(($ac_try" in
18878 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18879 *) ac_try_echo=$ac_try;;
18881 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
18882 (eval "$ac_compile") 2>conftest.er1
18884 grep -v '^ *+' conftest.er1 >conftest.err
18886 cat conftest.err >&5
18887 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
18888 (exit $ac_status); } && {
18889 test -z "$ac_c_werror_flag" ||
18890 test ! -s conftest.err
18891 } && test -s conftest.$ac_objext; then
18892 eval "$as_ac_Header=yes"
18894 echo "$as_me: failed program was
:" >&5
18895 sed 's/^/| /' conftest.$ac_ext >&5
18897 eval "$as_ac_Header=no
"
18900 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18902 ac_res=`eval echo '${'$as_ac_Header'}'`
18903 { echo "$as_me:$LINENO: result
: $ac_res" >&5
18904 echo "${ECHO_T}$ac_res" >&6; }
18905 if test `eval echo '${'$as_ac_Header'}'` = yes; then
18906 cat >>confdefs.h <<_ACEOF
18907 #define `echo "HAVE_
$ac_header" | $as_tr_cpp` 1
18917 *-pc-os2_emx | *-pc-os2-emx )
18918 if test $ac_cv_header_langinfo_h = "yes" \
18919 -a \( "$wx_cv_gccversion" = "EMX2
" \
18920 -o "$wx_cv_gccversion" = "EMX3
" \
18921 -o "$wx_cv_gccversion" = "Innotek5
" \); then
18922 LIBS="$LIBS -lintl"
18927 if test "$USE_UNIX" = 1 ; then
18929 for ac_header in sys/select.h
18931 as_ac_Header=`echo "ac_cv_header_
$ac_header" | $as_tr_sh`
18932 { echo "$as_me:$LINENO: checking
for $ac_header" >&5
18933 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6; }
18934 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
18935 echo $ECHO_N "(cached
) $ECHO_C" >&6
18937 cat >conftest.$ac_ext <<_ACEOF
18940 cat confdefs.h >>conftest.$ac_ext
18941 cat >>conftest.$ac_ext <<_ACEOF
18942 /* end confdefs.h. */
18943 $ac_includes_default
18945 #include <$ac_header>
18947 rm -f conftest.$ac_objext
18948 if { (ac_try="$ac_compile"
18949 case "(($ac_try" in
18950 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18951 *) ac_try_echo=$ac_try;;
18953 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
18954 (eval "$ac_compile") 2>conftest.er1
18956 grep -v '^ *+' conftest.er1 >conftest.err
18958 cat conftest.err >&5
18959 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
18960 (exit $ac_status); } && {
18961 test -z "$ac_c_werror_flag" ||
18962 test ! -s conftest.err
18963 } && test -s conftest.$ac_objext; then
18964 eval "$as_ac_Header=yes"
18966 echo "$as_me: failed program was
:" >&5
18967 sed 's/^/| /' conftest.$ac_ext >&5
18969 eval "$as_ac_Header=no
"
18972 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18974 ac_res=`eval echo '${'$as_ac_Header'}'`
18975 { echo "$as_me:$LINENO: result
: $ac_res" >&5
18976 echo "${ECHO_T}$ac_res" >&6; }
18977 if test `eval echo '${'$as_ac_Header'}'` = yes; then
18978 cat >>confdefs.h <<_ACEOF
18979 #define `echo "HAVE_
$ac_header" | $as_tr_cpp` 1
18989 { echo "$as_me:$LINENO: checking
for an ANSI C
-conforming const
" >&5
18990 echo $ECHO_N "checking
for an ANSI C
-conforming const...
$ECHO_C" >&6; }
18991 if test "${ac_cv_c_const+set}" = set; then
18992 echo $ECHO_N "(cached
) $ECHO_C" >&6
18994 cat >conftest.$ac_ext <<_ACEOF
18997 cat confdefs.h >>conftest.$ac_ext
18998 cat >>conftest.$ac_ext <<_ACEOF
18999 /* end confdefs.h. */
19004 /* FIXME: Include the comments suggested by Paul. */
19005 #ifndef __cplusplus
19006 /* Ultrix mips cc rejects this. */
19007 typedef int charset[2];
19009 /* SunOS 4.1.1 cc rejects this. */
19010 char const *const *pcpcc;
19012 /* NEC SVR4.0.2 mips cc rejects this. */
19013 struct point {int x, y;};
19014 static struct point const zero = {0,0};
19015 /* AIX XL C 1.02.0.0 rejects this.
19016 It does not let you subtract one const X* pointer from another in
19017 an arm of an if-expression whose if-part is not a constant
19019 const char *g = "string
";
19020 pcpcc = &g + (g ? g-g : 0);
19021 /* HPUX 7.0 cc rejects these. */
19023 ppc = (char**) pcpcc;
19024 pcpcc = (char const *const *) ppc;
19025 { /* SCO 3.2v4 cc rejects this. */
19027 char const *s = 0 ? (char *) 0 : (char const *) 0;
19032 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
19033 int x[] = {25, 17};
19034 const int *foo = &x[0];
19037 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
19038 typedef const int *iptr;
19042 { /* AIX XL C 1.02.0.0 rejects this saying
19043 "k.c
", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
19044 struct s { int j; const int *ap[3]; };
19045 struct s *b; b->j = 5;
19047 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
19048 const int foo = 10;
19049 if (!foo) return 0;
19051 return !cs[0] && !zero.x;
19058 rm -f conftest.$ac_objext
19059 if { (ac_try="$ac_compile"
19060 case "(($ac_try" in
19061 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19062 *) ac_try_echo=$ac_try;;
19064 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19065 (eval "$ac_compile") 2>conftest.er1
19067 grep -v '^ *+' conftest.er1 >conftest.err
19069 cat conftest.err >&5
19070 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19071 (exit $ac_status); } && {
19072 test -z "$ac_c_werror_flag" ||
19073 test ! -s conftest.err
19074 } && test -s conftest.$ac_objext; then
19077 echo "$as_me: failed program was
:" >&5
19078 sed 's/^/| /' conftest.$ac_ext >&5
19083 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19085 { echo "$as_me:$LINENO: result
: $ac_cv_c_const" >&5
19086 echo "${ECHO_T}$ac_cv_c_const" >&6; }
19087 if test $ac_cv_c_const = no; then
19089 cat >>confdefs.h <<\_ACEOF
19095 { echo "$as_me:$LINENO: checking
for inline
" >&5
19096 echo $ECHO_N "checking
for inline...
$ECHO_C" >&6; }
19097 if test "${ac_cv_c_inline+set}" = set; then
19098 echo $ECHO_N "(cached
) $ECHO_C" >&6
19101 for ac_kw in inline __inline__ __inline; do
19102 cat >conftest.$ac_ext <<_ACEOF
19105 cat confdefs.h >>conftest.$ac_ext
19106 cat >>conftest.$ac_ext <<_ACEOF
19107 /* end confdefs.h. */
19108 #ifndef __cplusplus
19110 static $ac_kw foo_t static_foo () {return 0; }
19111 $ac_kw foo_t foo () {return 0; }
19115 rm -f conftest.$ac_objext
19116 if { (ac_try="$ac_compile"
19117 case "(($ac_try" in
19118 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19119 *) ac_try_echo=$ac_try;;
19121 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19122 (eval "$ac_compile") 2>conftest.er1
19124 grep -v '^ *+' conftest.er1 >conftest.err
19126 cat conftest.err >&5
19127 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19128 (exit $ac_status); } && {
19129 test -z "$ac_c_werror_flag" ||
19130 test ! -s conftest.err
19131 } && test -s conftest.$ac_objext; then
19132 ac_cv_c_inline=$ac_kw
19134 echo "$as_me: failed program was
:" >&5
19135 sed 's/^/| /' conftest.$ac_ext >&5
19140 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19141 test "$ac_cv_c_inline" != no && break
19145 { echo "$as_me:$LINENO: result
: $ac_cv_c_inline" >&5
19146 echo "${ECHO_T}$ac_cv_c_inline" >&6; }
19149 case $ac_cv_c_inline in
19152 case $ac_cv_c_inline in
19154 *) ac_val=$ac_cv_c_inline;;
19156 cat >>confdefs.h <<_ACEOF
19157 #ifndef __cplusplus
19158 #define inline $ac_val
19165 { echo "$as_me:$LINENO: checking
for short
" >&5
19166 echo $ECHO_N "checking
for short...
$ECHO_C" >&6; }
19167 if test "${ac_cv_type_short+set}" = set; then
19168 echo $ECHO_N "(cached
) $ECHO_C" >&6
19170 cat >conftest.$ac_ext <<_ACEOF
19173 cat confdefs.h >>conftest.$ac_ext
19174 cat >>conftest.$ac_ext <<_ACEOF
19175 /* end confdefs.h. */
19176 $ac_includes_default
19177 typedef short ac__type_new_;
19181 if ((ac__type_new_ *) 0)
19183 if (sizeof (ac__type_new_))
19189 rm -f conftest.$ac_objext
19190 if { (ac_try="$ac_compile"
19191 case "(($ac_try" in
19192 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19193 *) ac_try_echo=$ac_try;;
19195 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19196 (eval "$ac_compile") 2>conftest.er1
19198 grep -v '^ *+' conftest.er1 >conftest.err
19200 cat conftest.err >&5
19201 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19202 (exit $ac_status); } && {
19203 test -z "$ac_c_werror_flag" ||
19204 test ! -s conftest.err
19205 } && test -s conftest.$ac_objext; then
19206 ac_cv_type_short=yes
19208 echo "$as_me: failed program was
:" >&5
19209 sed 's/^/| /' conftest.$ac_ext >&5
19211 ac_cv_type_short=no
19214 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19216 { echo "$as_me:$LINENO: result
: $ac_cv_type_short" >&5
19217 echo "${ECHO_T}$ac_cv_type_short" >&6; }
19219 # The cast to long int works around a bug in the HP C Compiler
19220 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
19221 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
19222 # This bug is HP SR number 8606223364.
19223 { echo "$as_me:$LINENO: checking size of short
" >&5
19224 echo $ECHO_N "checking size of short...
$ECHO_C" >&6; }
19225 if test "${ac_cv_sizeof_short+set}" = set; then
19226 echo $ECHO_N "(cached
) $ECHO_C" >&6
19228 if test "$cross_compiling" = yes; then
19229 # Depending upon the size, compute the lo and hi bounds.
19230 cat >conftest.$ac_ext <<_ACEOF
19233 cat confdefs.h >>conftest.$ac_ext
19234 cat >>conftest.$ac_ext <<_ACEOF
19235 /* end confdefs.h. */
19236 $ac_includes_default
19237 typedef short ac__type_sizeof_;
19241 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
19248 rm -f conftest.$ac_objext
19249 if { (ac_try="$ac_compile"
19250 case "(($ac_try" in
19251 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19252 *) ac_try_echo=$ac_try;;
19254 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19255 (eval "$ac_compile") 2>conftest.er1
19257 grep -v '^ *+' conftest.er1 >conftest.err
19259 cat conftest.err >&5
19260 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19261 (exit $ac_status); } && {
19262 test -z "$ac_c_werror_flag" ||
19263 test ! -s conftest.err
19264 } && test -s conftest.$ac_objext; then
19267 cat >conftest.$ac_ext <<_ACEOF
19270 cat confdefs.h >>conftest.$ac_ext
19271 cat >>conftest.$ac_ext <<_ACEOF
19272 /* end confdefs.h. */
19273 $ac_includes_default
19274 typedef short ac__type_sizeof_;
19278 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
19285 rm -f conftest.$ac_objext
19286 if { (ac_try="$ac_compile"
19287 case "(($ac_try" in
19288 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19289 *) ac_try_echo=$ac_try;;
19291 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19292 (eval "$ac_compile") 2>conftest.er1
19294 grep -v '^ *+' conftest.er1 >conftest.err
19296 cat conftest.err >&5
19297 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19298 (exit $ac_status); } && {
19299 test -z "$ac_c_werror_flag" ||
19300 test ! -s conftest.err
19301 } && test -s conftest.$ac_objext; then
19302 ac_hi=$ac_mid; break
19304 echo "$as_me: failed program was
:" >&5
19305 sed 's/^/| /' conftest.$ac_ext >&5
19307 ac_lo=`expr $ac_mid + 1`
19308 if test $ac_lo -le $ac_mid; then
19312 ac_mid=`expr 2 '*' $ac_mid + 1`
19315 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19318 echo "$as_me: failed program was
:" >&5
19319 sed 's/^/| /' conftest.$ac_ext >&5
19321 cat >conftest.$ac_ext <<_ACEOF
19324 cat confdefs.h >>conftest.$ac_ext
19325 cat >>conftest.$ac_ext <<_ACEOF
19326 /* end confdefs.h. */
19327 $ac_includes_default
19328 typedef short ac__type_sizeof_;
19332 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
19339 rm -f conftest.$ac_objext
19340 if { (ac_try="$ac_compile"
19341 case "(($ac_try" in
19342 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19343 *) ac_try_echo=$ac_try;;
19345 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19346 (eval "$ac_compile") 2>conftest.er1
19348 grep -v '^ *+' conftest.er1 >conftest.err
19350 cat conftest.err >&5
19351 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19352 (exit $ac_status); } && {
19353 test -z "$ac_c_werror_flag" ||
19354 test ! -s conftest.err
19355 } && test -s conftest.$ac_objext; then
19358 cat >conftest.$ac_ext <<_ACEOF
19361 cat confdefs.h >>conftest.$ac_ext
19362 cat >>conftest.$ac_ext <<_ACEOF
19363 /* end confdefs.h. */
19364 $ac_includes_default
19365 typedef short ac__type_sizeof_;
19369 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
19376 rm -f conftest.$ac_objext
19377 if { (ac_try="$ac_compile"
19378 case "(($ac_try" in
19379 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19380 *) ac_try_echo=$ac_try;;
19382 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19383 (eval "$ac_compile") 2>conftest.er1
19385 grep -v '^ *+' conftest.er1 >conftest.err
19387 cat conftest.err >&5
19388 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19389 (exit $ac_status); } && {
19390 test -z "$ac_c_werror_flag" ||
19391 test ! -s conftest.err
19392 } && test -s conftest.$ac_objext; then
19393 ac_lo=$ac_mid; break
19395 echo "$as_me: failed program was
:" >&5
19396 sed 's/^/| /' conftest.$ac_ext >&5
19398 ac_hi=`expr '(' $ac_mid ')' - 1`
19399 if test $ac_mid -le $ac_hi; then
19403 ac_mid=`expr 2 '*' $ac_mid`
19406 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19409 echo "$as_me: failed program was
:" >&5
19410 sed 's/^/| /' conftest.$ac_ext >&5
19415 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19418 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19419 # Binary search between lo and hi bounds.
19420 while test "x
$ac_lo" != "x
$ac_hi"; do
19421 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
19422 cat >conftest.$ac_ext <<_ACEOF
19425 cat confdefs.h >>conftest.$ac_ext
19426 cat >>conftest.$ac_ext <<_ACEOF
19427 /* end confdefs.h. */
19428 $ac_includes_default
19429 typedef short ac__type_sizeof_;
19433 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
19440 rm -f conftest.$ac_objext
19441 if { (ac_try="$ac_compile"
19442 case "(($ac_try" in
19443 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19444 *) ac_try_echo=$ac_try;;
19446 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19447 (eval "$ac_compile") 2>conftest.er1
19449 grep -v '^ *+' conftest.er1 >conftest.err
19451 cat conftest.err >&5
19452 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19453 (exit $ac_status); } && {
19454 test -z "$ac_c_werror_flag" ||
19455 test ! -s conftest.err
19456 } && test -s conftest.$ac_objext; then
19459 echo "$as_me: failed program was
:" >&5
19460 sed 's/^/| /' conftest.$ac_ext >&5
19462 ac_lo=`expr '(' $ac_mid ')' + 1`
19465 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19468 ?*) ac_cv_sizeof_short=$ac_lo;;
19469 '') if test "$ac_cv_type_short" = yes; then
19470 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(short
)
19471 See \
`config.log' for more details." >&5
19472 echo "$as_me: error: cannot compute sizeof (short)
19473 See \`config.log
' for more details." >&2;}
19474 { (exit 77); exit 77; }; }
19476 ac_cv_sizeof_short=0
19480 cat >conftest.$ac_ext <<_ACEOF
19483 cat confdefs.h >>conftest.$ac_ext
19484 cat >>conftest.$ac_ext <<_ACEOF
19485 /* end confdefs.h. */
19486 $ac_includes_default
19487 typedef short ac__type_sizeof_;
19488 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
19489 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
19491 #include <stdlib.h>
19496 FILE *f = fopen ("conftest.val", "w");
19499 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
19501 long int i = longval ();
19502 if (i != ((long int) (sizeof (ac__type_sizeof_))))
19504 fprintf (f, "%ld\n", i);
19508 unsigned long int i = ulongval ();
19509 if (i != ((long int) (sizeof (ac__type_sizeof_))))
19511 fprintf (f, "%lu\n", i);
19513 return ferror (f) || fclose (f) != 0;
19519 rm -f conftest$ac_exeext
19520 if { (ac_try="$ac_link"
19521 case "(($ac_try" in
19522 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19523 *) ac_try_echo=$ac_try;;
19525 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19526 (eval "$ac_link") 2>&5
19528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19529 (exit $ac_status); } && { ac_try='.
/conftest
$ac_exeext'
19530 { (case "(($ac_try" in
19531 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19532 *) ac_try_echo=$ac_try;;
19534 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19535 (eval "$ac_try") 2>&5
19537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19538 (exit $ac_status); }; }; then
19539 ac_cv_sizeof_short=`cat conftest.val`
19541 echo "$as_me: program exited with status $ac_status" >&5
19542 echo "$as_me: failed program was:" >&5
19543 sed 's
/^
/| /' conftest.$ac_ext >&5
19545 ( exit $ac_status )
19546 if test "$ac_cv_type_short" = yes; then
19547 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short)
19548 See \`config.log' for more details.
" >&5
19549 echo "$as_me: error
: cannot compute sizeof
(short
)
19550 See \
`config.log' for more details." >&2;}
19551 { (exit 77); exit 77; }; }
19553 ac_cv_sizeof_short=0
19556 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19560 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
19561 echo "${ECHO_T}$ac_cv_sizeof_short" >&6; }
19565 cat >>confdefs.h <<_ACEOF
19566 #define SIZEOF_SHORT $ac_cv_sizeof_short
19570 { echo "$as_me:$LINENO: checking for void *" >&5
19571 echo $ECHO_N "checking for void *... $ECHO_C" >&6; }
19572 if test "${ac_cv_type_void_p+set}" = set; then
19573 echo $ECHO_N "(cached) $ECHO_C" >&6
19575 cat >conftest.$ac_ext <<_ACEOF
19578 cat confdefs.h >>conftest.$ac_ext
19579 cat >>conftest.$ac_ext <<_ACEOF
19580 /* end confdefs.h. */
19581 $ac_includes_default
19582 typedef void * ac__type_new_;
19586 if ((ac__type_new_ *) 0)
19588 if (sizeof (ac__type_new_))
19594 rm -f conftest.$ac_objext
19595 if { (ac_try="$ac_compile"
19596 case "(($ac_try" in
19597 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
19598 *) ac_try_echo
=$ac_try;;
19600 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19601 (eval "$ac_compile") 2>conftest.er1
19603 grep -v '^ *+' conftest.er1
>conftest.err
19605 cat conftest.err
>&5
19606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19607 (exit $ac_status); } && {
19608 test -z "$ac_c_werror_flag" ||
19609 test ! -s conftest.err
19610 } && test -s conftest.
$ac_objext; then
19611 ac_cv_type_void_p
=yes
19613 echo "$as_me: failed program was:" >&5
19614 sed 's/^/| /' conftest.
$ac_ext >&5
19616 ac_cv_type_void_p
=no
19619 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19621 { echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
19622 echo "${ECHO_T}$ac_cv_type_void_p" >&6; }
19624 # The cast to long int works around a bug in the HP C Compiler
19625 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
19626 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
19627 # This bug is HP SR number 8606223364.
19628 { echo "$as_me:$LINENO: checking size of void *" >&5
19629 echo $ECHO_N "checking size of void *... $ECHO_C" >&6; }
19630 if test "${ac_cv_sizeof_void_p+set}" = set; then
19631 echo $ECHO_N "(cached) $ECHO_C" >&6
19633 if test "$cross_compiling" = yes; then
19634 # Depending upon the size, compute the lo and hi bounds.
19635 cat >conftest.
$ac_ext <<_ACEOF
19638 cat confdefs.h
>>conftest.
$ac_ext
19639 cat >>conftest.
$ac_ext <<_ACEOF
19640 /* end confdefs.h. */
19641 $ac_includes_default
19642 typedef void * ac__type_sizeof_;
19646 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
19653 rm -f conftest.
$ac_objext
19654 if { (ac_try
="$ac_compile"
19655 case "(($ac_try" in
19656 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
19657 *) ac_try_echo=$ac_try;;
19659 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19660 (eval "$ac_compile") 2>conftest.er1
19662 grep -v '^ *+' conftest.er1 >conftest.err
19664 cat conftest.err >&5
19665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19666 (exit $ac_status); } && {
19667 test -z "$ac_c_werror_flag" ||
19668 test ! -s conftest.err
19669 } && test -s conftest.$ac_objext; then
19672 cat >conftest.$ac_ext <<_ACEOF
19675 cat confdefs.h >>conftest.$ac_ext
19676 cat >>conftest.$ac_ext <<_ACEOF
19677 /* end confdefs.h. */
19678 $ac_includes_default
19679 typedef void * ac__type_sizeof_;
19683 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
19690 rm -f conftest.$ac_objext
19691 if { (ac_try="$ac_compile"
19692 case "(($ac_try" in
19693 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
19694 *) ac_try_echo
=$ac_try;;
19696 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19697 (eval "$ac_compile") 2>conftest.er1
19699 grep -v '^ *+' conftest.er1
>conftest.err
19701 cat conftest.err
>&5
19702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19703 (exit $ac_status); } && {
19704 test -z "$ac_c_werror_flag" ||
19705 test ! -s conftest.err
19706 } && test -s conftest.
$ac_objext; then
19707 ac_hi
=$ac_mid; break
19709 echo "$as_me: failed program was:" >&5
19710 sed 's/^/| /' conftest.
$ac_ext >&5
19712 ac_lo
=`expr $ac_mid + 1`
19713 if test $ac_lo -le $ac_mid; then
19717 ac_mid
=`expr 2 '*' $ac_mid + 1`
19720 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19723 echo "$as_me: failed program was:" >&5
19724 sed 's/^/| /' conftest.
$ac_ext >&5
19726 cat >conftest.
$ac_ext <<_ACEOF
19729 cat confdefs.h
>>conftest.
$ac_ext
19730 cat >>conftest.
$ac_ext <<_ACEOF
19731 /* end confdefs.h. */
19732 $ac_includes_default
19733 typedef void * ac__type_sizeof_;
19737 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
19744 rm -f conftest.
$ac_objext
19745 if { (ac_try
="$ac_compile"
19746 case "(($ac_try" in
19747 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
19748 *) ac_try_echo=$ac_try;;
19750 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19751 (eval "$ac_compile") 2>conftest.er1
19753 grep -v '^ *+' conftest.er1 >conftest.err
19755 cat conftest.err >&5
19756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19757 (exit $ac_status); } && {
19758 test -z "$ac_c_werror_flag" ||
19759 test ! -s conftest.err
19760 } && test -s conftest.$ac_objext; then
19763 cat >conftest.$ac_ext <<_ACEOF
19766 cat confdefs.h >>conftest.$ac_ext
19767 cat >>conftest.$ac_ext <<_ACEOF
19768 /* end confdefs.h. */
19769 $ac_includes_default
19770 typedef void * ac__type_sizeof_;
19774 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
19781 rm -f conftest.$ac_objext
19782 if { (ac_try="$ac_compile"
19783 case "(($ac_try" in
19784 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
19785 *) ac_try_echo
=$ac_try;;
19787 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19788 (eval "$ac_compile") 2>conftest.er1
19790 grep -v '^ *+' conftest.er1
>conftest.err
19792 cat conftest.err
>&5
19793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19794 (exit $ac_status); } && {
19795 test -z "$ac_c_werror_flag" ||
19796 test ! -s conftest.err
19797 } && test -s conftest.
$ac_objext; then
19798 ac_lo
=$ac_mid; break
19800 echo "$as_me: failed program was:" >&5
19801 sed 's/^/| /' conftest.
$ac_ext >&5
19803 ac_hi
=`expr '(' $ac_mid ')' - 1`
19804 if test $ac_mid -le $ac_hi; then
19808 ac_mid
=`expr 2 '*' $ac_mid`
19811 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19814 echo "$as_me: failed program was:" >&5
19815 sed 's/^/| /' conftest.
$ac_ext >&5
19820 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19823 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19824 # Binary search between lo and hi bounds.
19825 while test "x$ac_lo" != "x$ac_hi"; do
19826 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
19827 cat >conftest.
$ac_ext <<_ACEOF
19830 cat confdefs.h
>>conftest.
$ac_ext
19831 cat >>conftest.
$ac_ext <<_ACEOF
19832 /* end confdefs.h. */
19833 $ac_includes_default
19834 typedef void * ac__type_sizeof_;
19838 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
19845 rm -f conftest.
$ac_objext
19846 if { (ac_try
="$ac_compile"
19847 case "(($ac_try" in
19848 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
19849 *) ac_try_echo=$ac_try;;
19851 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19852 (eval "$ac_compile") 2>conftest.er1
19854 grep -v '^ *+' conftest.er1 >conftest.err
19856 cat conftest.err >&5
19857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19858 (exit $ac_status); } && {
19859 test -z "$ac_c_werror_flag" ||
19860 test ! -s conftest.err
19861 } && test -s conftest.$ac_objext; then
19864 echo "$as_me: failed program was:" >&5
19865 sed 's/^/| /' conftest.$ac_ext >&5
19867 ac_lo=`expr '(' $ac_mid ')' + 1`
19870 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19873 ?*) ac_cv_sizeof_void_p=$ac_lo;;
19874 '') if test "$ac_cv_type_void_p" = yes; then
19875 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *)
19876 See \`config.log
' for more details." >&5
19877 echo "$as_me: error: cannot compute sizeof (void *)
19878 See \`config.log' for more details.
" >&2;}
19879 { (exit 77); exit 77; }; }
19881 ac_cv_sizeof_void_p=0
19885 cat >conftest.$ac_ext <<_ACEOF
19888 cat confdefs.h >>conftest.$ac_ext
19889 cat >>conftest.$ac_ext <<_ACEOF
19890 /* end confdefs.h. */
19891 $ac_includes_default
19892 typedef void * ac__type_sizeof_;
19893 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
19894 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
19896 #include <stdlib.h>
19901 FILE *f = fopen ("conftest.val
", "w
");
19904 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
19906 long int i = longval ();
19907 if (i != ((long int) (sizeof (ac__type_sizeof_))))
19909 fprintf (f, "%ld
\n", i);
19913 unsigned long int i = ulongval ();
19914 if (i != ((long int) (sizeof (ac__type_sizeof_))))
19916 fprintf (f, "%lu
\n", i);
19918 return ferror (f) || fclose (f) != 0;
19924 rm -f conftest$ac_exeext
19925 if { (ac_try="$ac_link"
19926 case "(($ac_try" in
19927 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19928 *) ac_try_echo=$ac_try;;
19930 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19931 (eval "$ac_link") 2>&5
19933 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19934 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
19935 { (case "(($ac_try" in
19936 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19937 *) ac_try_echo=$ac_try;;
19939 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19940 (eval "$ac_try") 2>&5
19942 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19943 (exit $ac_status); }; }; then
19944 ac_cv_sizeof_void_p=`cat conftest.val`
19946 echo "$as_me: program exited with status
$ac_status" >&5
19947 echo "$as_me: failed program was
:" >&5
19948 sed 's/^/| /' conftest.$ac_ext >&5
19950 ( exit $ac_status )
19951 if test "$ac_cv_type_void_p" = yes; then
19952 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(void
*)
19953 See \
`config.log' for more details." >&5
19954 echo "$as_me: error: cannot compute sizeof (void *)
19955 See \`config.log
' for more details." >&2;}
19956 { (exit 77); exit 77; }; }
19958 ac_cv_sizeof_void_p=0
19961 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19965 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
19966 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6; }
19970 cat >>confdefs.h <<_ACEOF
19971 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
19975 { echo "$as_me:$LINENO: checking for int" >&5
19976 echo $ECHO_N "checking for int... $ECHO_C" >&6; }
19977 if test "${ac_cv_type_int+set}" = set; then
19978 echo $ECHO_N "(cached) $ECHO_C" >&6
19980 cat >conftest.$ac_ext <<_ACEOF
19983 cat confdefs.h >>conftest.$ac_ext
19984 cat >>conftest.$ac_ext <<_ACEOF
19985 /* end confdefs.h. */
19986 $ac_includes_default
19987 typedef int ac__type_new_;
19991 if ((ac__type_new_ *) 0)
19993 if (sizeof (ac__type_new_))
19999 rm -f conftest.$ac_objext
20000 if { (ac_try="$ac_compile"
20001 case "(($ac_try" in
20002 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20003 *) ac_try_echo=$ac_try;;
20005 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20006 (eval "$ac_compile") 2>conftest.er1
20008 grep -v '^
*+' conftest.er1 >conftest.err
20010 cat conftest.err >&5
20011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20012 (exit $ac_status); } && {
20013 test -z "$ac_c_werror_flag" ||
20014 test ! -s conftest.err
20015 } && test -s conftest.$ac_objext; then
20018 echo "$as_me: failed program was:" >&5
20019 sed 's
/^
/| /' conftest.$ac_ext >&5
20024 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20026 { echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
20027 echo "${ECHO_T}$ac_cv_type_int" >&6; }
20029 # The cast to long int works around a bug in the HP C Compiler
20030 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20031 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20032 # This bug is HP SR number 8606223364.
20033 { echo "$as_me:$LINENO: checking size of int" >&5
20034 echo $ECHO_N "checking size of int... $ECHO_C" >&6; }
20035 if test "${ac_cv_sizeof_int+set}" = set; then
20036 echo $ECHO_N "(cached) $ECHO_C" >&6
20038 if test "$cross_compiling" = yes; then
20039 # Depending upon the size, compute the lo and hi bounds.
20040 cat >conftest.
$ac_ext <<_ACEOF
20043 cat confdefs.h
>>conftest.
$ac_ext
20044 cat >>conftest.
$ac_ext <<_ACEOF
20045 /* end confdefs.h. */
20046 $ac_includes_default
20047 typedef int ac__type_sizeof_;
20051 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
20058 rm -f conftest.
$ac_objext
20059 if { (ac_try
="$ac_compile"
20060 case "(($ac_try" in
20061 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
20062 *) ac_try_echo=$ac_try;;
20064 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20065 (eval "$ac_compile") 2>conftest.er1
20067 grep -v '^ *+' conftest.er1 >conftest.err
20069 cat conftest.err >&5
20070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20071 (exit $ac_status); } && {
20072 test -z "$ac_c_werror_flag" ||
20073 test ! -s conftest.err
20074 } && test -s conftest.$ac_objext; then
20077 cat >conftest.$ac_ext <<_ACEOF
20080 cat confdefs.h >>conftest.$ac_ext
20081 cat >>conftest.$ac_ext <<_ACEOF
20082 /* end confdefs.h. */
20083 $ac_includes_default
20084 typedef int ac__type_sizeof_;
20088 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20095 rm -f conftest.$ac_objext
20096 if { (ac_try="$ac_compile"
20097 case "(($ac_try" in
20098 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
20099 *) ac_try_echo
=$ac_try;;
20101 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20102 (eval "$ac_compile") 2>conftest.er1
20104 grep -v '^ *+' conftest.er1
>conftest.err
20106 cat conftest.err
>&5
20107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20108 (exit $ac_status); } && {
20109 test -z "$ac_c_werror_flag" ||
20110 test ! -s conftest.err
20111 } && test -s conftest.
$ac_objext; then
20112 ac_hi
=$ac_mid; break
20114 echo "$as_me: failed program was:" >&5
20115 sed 's/^/| /' conftest.
$ac_ext >&5
20117 ac_lo
=`expr $ac_mid + 1`
20118 if test $ac_lo -le $ac_mid; then
20122 ac_mid
=`expr 2 '*' $ac_mid + 1`
20125 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20128 echo "$as_me: failed program was:" >&5
20129 sed 's/^/| /' conftest.
$ac_ext >&5
20131 cat >conftest.
$ac_ext <<_ACEOF
20134 cat confdefs.h
>>conftest.
$ac_ext
20135 cat >>conftest.
$ac_ext <<_ACEOF
20136 /* end confdefs.h. */
20137 $ac_includes_default
20138 typedef int ac__type_sizeof_;
20142 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
20149 rm -f conftest.
$ac_objext
20150 if { (ac_try
="$ac_compile"
20151 case "(($ac_try" in
20152 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
20153 *) ac_try_echo=$ac_try;;
20155 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20156 (eval "$ac_compile") 2>conftest.er1
20158 grep -v '^ *+' conftest.er1 >conftest.err
20160 cat conftest.err >&5
20161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20162 (exit $ac_status); } && {
20163 test -z "$ac_c_werror_flag" ||
20164 test ! -s conftest.err
20165 } && test -s conftest.$ac_objext; then
20168 cat >conftest.$ac_ext <<_ACEOF
20171 cat confdefs.h >>conftest.$ac_ext
20172 cat >>conftest.$ac_ext <<_ACEOF
20173 /* end confdefs.h. */
20174 $ac_includes_default
20175 typedef int ac__type_sizeof_;
20179 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
20186 rm -f conftest.$ac_objext
20187 if { (ac_try="$ac_compile"
20188 case "(($ac_try" in
20189 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
20190 *) ac_try_echo
=$ac_try;;
20192 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20193 (eval "$ac_compile") 2>conftest.er1
20195 grep -v '^ *+' conftest.er1
>conftest.err
20197 cat conftest.err
>&5
20198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20199 (exit $ac_status); } && {
20200 test -z "$ac_c_werror_flag" ||
20201 test ! -s conftest.err
20202 } && test -s conftest.
$ac_objext; then
20203 ac_lo
=$ac_mid; break
20205 echo "$as_me: failed program was:" >&5
20206 sed 's/^/| /' conftest.
$ac_ext >&5
20208 ac_hi
=`expr '(' $ac_mid ')' - 1`
20209 if test $ac_mid -le $ac_hi; then
20213 ac_mid
=`expr 2 '*' $ac_mid`
20216 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20219 echo "$as_me: failed program was:" >&5
20220 sed 's/^/| /' conftest.
$ac_ext >&5
20225 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20228 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20229 # Binary search between lo and hi bounds.
20230 while test "x$ac_lo" != "x$ac_hi"; do
20231 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20232 cat >conftest.
$ac_ext <<_ACEOF
20235 cat confdefs.h
>>conftest.
$ac_ext
20236 cat >>conftest.
$ac_ext <<_ACEOF
20237 /* end confdefs.h. */
20238 $ac_includes_default
20239 typedef int ac__type_sizeof_;
20243 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20250 rm -f conftest.
$ac_objext
20251 if { (ac_try
="$ac_compile"
20252 case "(($ac_try" in
20253 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
20254 *) ac_try_echo=$ac_try;;
20256 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20257 (eval "$ac_compile") 2>conftest.er1
20259 grep -v '^ *+' conftest.er1 >conftest.err
20261 cat conftest.err >&5
20262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20263 (exit $ac_status); } && {
20264 test -z "$ac_c_werror_flag" ||
20265 test ! -s conftest.err
20266 } && test -s conftest.$ac_objext; then
20269 echo "$as_me: failed program was:" >&5
20270 sed 's/^/| /' conftest.$ac_ext >&5
20272 ac_lo=`expr '(' $ac_mid ')' + 1`
20275 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20278 ?*) ac_cv_sizeof_int=$ac_lo;;
20279 '') if test "$ac_cv_type_int" = yes; then
20280 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int)
20281 See \`config.log
' for more details." >&5
20282 echo "$as_me: error: cannot compute sizeof (int)
20283 See \`config.log' for more details.
" >&2;}
20284 { (exit 77); exit 77; }; }
20290 cat >conftest.$ac_ext <<_ACEOF
20293 cat confdefs.h >>conftest.$ac_ext
20294 cat >>conftest.$ac_ext <<_ACEOF
20295 /* end confdefs.h. */
20296 $ac_includes_default
20297 typedef int ac__type_sizeof_;
20298 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
20299 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
20301 #include <stdlib.h>
20306 FILE *f = fopen ("conftest.val
", "w
");
20309 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
20311 long int i = longval ();
20312 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20314 fprintf (f, "%ld
\n", i);
20318 unsigned long int i = ulongval ();
20319 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20321 fprintf (f, "%lu
\n", i);
20323 return ferror (f) || fclose (f) != 0;
20329 rm -f conftest$ac_exeext
20330 if { (ac_try="$ac_link"
20331 case "(($ac_try" in
20332 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20333 *) ac_try_echo=$ac_try;;
20335 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
20336 (eval "$ac_link") 2>&5
20338 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
20339 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20340 { (case "(($ac_try" in
20341 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20342 *) ac_try_echo=$ac_try;;
20344 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
20345 (eval "$ac_try") 2>&5
20347 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
20348 (exit $ac_status); }; }; then
20349 ac_cv_sizeof_int=`cat conftest.val`
20351 echo "$as_me: program exited with status
$ac_status" >&5
20352 echo "$as_me: failed program was
:" >&5
20353 sed 's/^/| /' conftest.$ac_ext >&5
20355 ( exit $ac_status )
20356 if test "$ac_cv_type_int" = yes; then
20357 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(int
)
20358 See \
`config.log' for more details." >&5
20359 echo "$as_me: error: cannot compute sizeof (int)
20360 See \`config.log
' for more details." >&2;}
20361 { (exit 77); exit 77; }; }
20366 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20370 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
20371 echo "${ECHO_T}$ac_cv_sizeof_int" >&6; }
20375 cat >>confdefs.h <<_ACEOF
20376 #define SIZEOF_INT $ac_cv_sizeof_int
20380 { echo "$as_me:$LINENO: checking for long" >&5
20381 echo $ECHO_N "checking for long... $ECHO_C" >&6; }
20382 if test "${ac_cv_type_long+set}" = set; then
20383 echo $ECHO_N "(cached) $ECHO_C" >&6
20385 cat >conftest.$ac_ext <<_ACEOF
20388 cat confdefs.h >>conftest.$ac_ext
20389 cat >>conftest.$ac_ext <<_ACEOF
20390 /* end confdefs.h. */
20391 $ac_includes_default
20392 typedef long ac__type_new_;
20396 if ((ac__type_new_ *) 0)
20398 if (sizeof (ac__type_new_))
20404 rm -f conftest.$ac_objext
20405 if { (ac_try="$ac_compile"
20406 case "(($ac_try" in
20407 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20408 *) ac_try_echo=$ac_try;;
20410 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20411 (eval "$ac_compile") 2>conftest.er1
20413 grep -v '^
*+' conftest.er1 >conftest.err
20415 cat conftest.err >&5
20416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20417 (exit $ac_status); } && {
20418 test -z "$ac_c_werror_flag" ||
20419 test ! -s conftest.err
20420 } && test -s conftest.$ac_objext; then
20421 ac_cv_type_long=yes
20423 echo "$as_me: failed program was:" >&5
20424 sed 's
/^
/| /' conftest.$ac_ext >&5
20429 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20431 { echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
20432 echo "${ECHO_T}$ac_cv_type_long" >&6; }
20434 # The cast to long int works around a bug in the HP C Compiler
20435 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20436 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20437 # This bug is HP SR number 8606223364.
20438 { echo "$as_me:$LINENO: checking size of long" >&5
20439 echo $ECHO_N "checking size of long... $ECHO_C" >&6; }
20440 if test "${ac_cv_sizeof_long+set}" = set; then
20441 echo $ECHO_N "(cached) $ECHO_C" >&6
20443 if test "$cross_compiling" = yes; then
20444 # Depending upon the size, compute the lo and hi bounds.
20445 cat >conftest.
$ac_ext <<_ACEOF
20448 cat confdefs.h
>>conftest.
$ac_ext
20449 cat >>conftest.
$ac_ext <<_ACEOF
20450 /* end confdefs.h. */
20451 $ac_includes_default
20452 typedef long ac__type_sizeof_;
20456 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
20463 rm -f conftest.
$ac_objext
20464 if { (ac_try
="$ac_compile"
20465 case "(($ac_try" in
20466 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
20467 *) ac_try_echo=$ac_try;;
20469 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20470 (eval "$ac_compile") 2>conftest.er1
20472 grep -v '^ *+' conftest.er1 >conftest.err
20474 cat conftest.err >&5
20475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20476 (exit $ac_status); } && {
20477 test -z "$ac_c_werror_flag" ||
20478 test ! -s conftest.err
20479 } && test -s conftest.$ac_objext; then
20482 cat >conftest.$ac_ext <<_ACEOF
20485 cat confdefs.h >>conftest.$ac_ext
20486 cat >>conftest.$ac_ext <<_ACEOF
20487 /* end confdefs.h. */
20488 $ac_includes_default
20489 typedef long ac__type_sizeof_;
20493 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20500 rm -f conftest.$ac_objext
20501 if { (ac_try="$ac_compile"
20502 case "(($ac_try" in
20503 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
20504 *) ac_try_echo
=$ac_try;;
20506 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20507 (eval "$ac_compile") 2>conftest.er1
20509 grep -v '^ *+' conftest.er1
>conftest.err
20511 cat conftest.err
>&5
20512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20513 (exit $ac_status); } && {
20514 test -z "$ac_c_werror_flag" ||
20515 test ! -s conftest.err
20516 } && test -s conftest.
$ac_objext; then
20517 ac_hi
=$ac_mid; break
20519 echo "$as_me: failed program was:" >&5
20520 sed 's/^/| /' conftest.
$ac_ext >&5
20522 ac_lo
=`expr $ac_mid + 1`
20523 if test $ac_lo -le $ac_mid; then
20527 ac_mid
=`expr 2 '*' $ac_mid + 1`
20530 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20533 echo "$as_me: failed program was:" >&5
20534 sed 's/^/| /' conftest.
$ac_ext >&5
20536 cat >conftest.
$ac_ext <<_ACEOF
20539 cat confdefs.h
>>conftest.
$ac_ext
20540 cat >>conftest.
$ac_ext <<_ACEOF
20541 /* end confdefs.h. */
20542 $ac_includes_default
20543 typedef long ac__type_sizeof_;
20547 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
20554 rm -f conftest.
$ac_objext
20555 if { (ac_try
="$ac_compile"
20556 case "(($ac_try" in
20557 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
20558 *) ac_try_echo=$ac_try;;
20560 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20561 (eval "$ac_compile") 2>conftest.er1
20563 grep -v '^ *+' conftest.er1 >conftest.err
20565 cat conftest.err >&5
20566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20567 (exit $ac_status); } && {
20568 test -z "$ac_c_werror_flag" ||
20569 test ! -s conftest.err
20570 } && test -s conftest.$ac_objext; then
20573 cat >conftest.$ac_ext <<_ACEOF
20576 cat confdefs.h >>conftest.$ac_ext
20577 cat >>conftest.$ac_ext <<_ACEOF
20578 /* end confdefs.h. */
20579 $ac_includes_default
20580 typedef long ac__type_sizeof_;
20584 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
20591 rm -f conftest.$ac_objext
20592 if { (ac_try="$ac_compile"
20593 case "(($ac_try" in
20594 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
20595 *) ac_try_echo
=$ac_try;;
20597 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20598 (eval "$ac_compile") 2>conftest.er1
20600 grep -v '^ *+' conftest.er1
>conftest.err
20602 cat conftest.err
>&5
20603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20604 (exit $ac_status); } && {
20605 test -z "$ac_c_werror_flag" ||
20606 test ! -s conftest.err
20607 } && test -s conftest.
$ac_objext; then
20608 ac_lo
=$ac_mid; break
20610 echo "$as_me: failed program was:" >&5
20611 sed 's/^/| /' conftest.
$ac_ext >&5
20613 ac_hi
=`expr '(' $ac_mid ')' - 1`
20614 if test $ac_mid -le $ac_hi; then
20618 ac_mid
=`expr 2 '*' $ac_mid`
20621 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20624 echo "$as_me: failed program was:" >&5
20625 sed 's/^/| /' conftest.
$ac_ext >&5
20630 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20633 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20634 # Binary search between lo and hi bounds.
20635 while test "x$ac_lo" != "x$ac_hi"; do
20636 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20637 cat >conftest.
$ac_ext <<_ACEOF
20640 cat confdefs.h
>>conftest.
$ac_ext
20641 cat >>conftest.
$ac_ext <<_ACEOF
20642 /* end confdefs.h. */
20643 $ac_includes_default
20644 typedef long ac__type_sizeof_;
20648 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20655 rm -f conftest.
$ac_objext
20656 if { (ac_try
="$ac_compile"
20657 case "(($ac_try" in
20658 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
20659 *) ac_try_echo=$ac_try;;
20661 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20662 (eval "$ac_compile") 2>conftest.er1
20664 grep -v '^ *+' conftest.er1 >conftest.err
20666 cat conftest.err >&5
20667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20668 (exit $ac_status); } && {
20669 test -z "$ac_c_werror_flag" ||
20670 test ! -s conftest.err
20671 } && test -s conftest.$ac_objext; then
20674 echo "$as_me: failed program was:" >&5
20675 sed 's/^/| /' conftest.$ac_ext >&5
20677 ac_lo=`expr '(' $ac_mid ')' + 1`
20680 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20683 ?*) ac_cv_sizeof_long=$ac_lo;;
20684 '') if test "$ac_cv_type_long" = yes; then
20685 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long)
20686 See \`config.log
' for more details." >&5
20687 echo "$as_me: error: cannot compute sizeof (long)
20688 See \`config.log' for more details.
" >&2;}
20689 { (exit 77); exit 77; }; }
20691 ac_cv_sizeof_long=0
20695 cat >conftest.$ac_ext <<_ACEOF
20698 cat confdefs.h >>conftest.$ac_ext
20699 cat >>conftest.$ac_ext <<_ACEOF
20700 /* end confdefs.h. */
20701 $ac_includes_default
20702 typedef long ac__type_sizeof_;
20703 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
20704 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
20706 #include <stdlib.h>
20711 FILE *f = fopen ("conftest.val
", "w
");
20714 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
20716 long int i = longval ();
20717 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20719 fprintf (f, "%ld
\n", i);
20723 unsigned long int i = ulongval ();
20724 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20726 fprintf (f, "%lu
\n", i);
20728 return ferror (f) || fclose (f) != 0;
20734 rm -f conftest$ac_exeext
20735 if { (ac_try="$ac_link"
20736 case "(($ac_try" in
20737 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20738 *) ac_try_echo=$ac_try;;
20740 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
20741 (eval "$ac_link") 2>&5
20743 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
20744 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20745 { (case "(($ac_try" in
20746 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20747 *) ac_try_echo=$ac_try;;
20749 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
20750 (eval "$ac_try") 2>&5
20752 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
20753 (exit $ac_status); }; }; then
20754 ac_cv_sizeof_long=`cat conftest.val`
20756 echo "$as_me: program exited with status
$ac_status" >&5
20757 echo "$as_me: failed program was
:" >&5
20758 sed 's/^/| /' conftest.$ac_ext >&5
20760 ( exit $ac_status )
20761 if test "$ac_cv_type_long" = yes; then
20762 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(long
)
20763 See \
`config.log' for more details." >&5
20764 echo "$as_me: error: cannot compute sizeof (long)
20765 See \`config.log
' for more details." >&2;}
20766 { (exit 77); exit 77; }; }
20768 ac_cv_sizeof_long=0
20771 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20775 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
20776 echo "${ECHO_T}$ac_cv_sizeof_long" >&6; }
20780 cat >>confdefs.h <<_ACEOF
20781 #define SIZEOF_LONG $ac_cv_sizeof_long
20785 { echo "$as_me:$LINENO: checking for size_t" >&5
20786 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
20787 if test "${ac_cv_type_size_t+set}" = set; then
20788 echo $ECHO_N "(cached) $ECHO_C" >&6
20790 cat >conftest.$ac_ext <<_ACEOF
20793 cat confdefs.h >>conftest.$ac_ext
20794 cat >>conftest.$ac_ext <<_ACEOF
20795 /* end confdefs.h. */
20796 $ac_includes_default
20797 typedef size_t ac__type_new_;
20801 if ((ac__type_new_ *) 0)
20803 if (sizeof (ac__type_new_))
20809 rm -f conftest.$ac_objext
20810 if { (ac_try="$ac_compile"
20811 case "(($ac_try" in
20812 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20813 *) ac_try_echo=$ac_try;;
20815 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20816 (eval "$ac_compile") 2>conftest.er1
20818 grep -v '^
*+' conftest.er1 >conftest.err
20820 cat conftest.err >&5
20821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20822 (exit $ac_status); } && {
20823 test -z "$ac_c_werror_flag" ||
20824 test ! -s conftest.err
20825 } && test -s conftest.$ac_objext; then
20826 ac_cv_type_size_t=yes
20828 echo "$as_me: failed program was:" >&5
20829 sed 's
/^
/| /' conftest.$ac_ext >&5
20831 ac_cv_type_size_t=no
20834 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20836 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
20837 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
20839 # The cast to long int works around a bug in the HP C Compiler
20840 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20841 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20842 # This bug is HP SR number 8606223364.
20843 { echo "$as_me:$LINENO: checking size of size_t" >&5
20844 echo $ECHO_N "checking size of size_t... $ECHO_C" >&6; }
20845 if test "${ac_cv_sizeof_size_t+set}" = set; then
20846 echo $ECHO_N "(cached) $ECHO_C" >&6
20848 if test "$cross_compiling" = yes; then
20849 # Depending upon the size, compute the lo and hi bounds.
20850 cat >conftest.
$ac_ext <<_ACEOF
20853 cat confdefs.h
>>conftest.
$ac_ext
20854 cat >>conftest.
$ac_ext <<_ACEOF
20855 /* end confdefs.h. */
20856 $ac_includes_default
20857 typedef size_t ac__type_sizeof_;
20861 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
20868 rm -f conftest.
$ac_objext
20869 if { (ac_try
="$ac_compile"
20870 case "(($ac_try" in
20871 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
20872 *) ac_try_echo=$ac_try;;
20874 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20875 (eval "$ac_compile") 2>conftest.er1
20877 grep -v '^ *+' conftest.er1 >conftest.err
20879 cat conftest.err >&5
20880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20881 (exit $ac_status); } && {
20882 test -z "$ac_c_werror_flag" ||
20883 test ! -s conftest.err
20884 } && test -s conftest.$ac_objext; then
20887 cat >conftest.$ac_ext <<_ACEOF
20890 cat confdefs.h >>conftest.$ac_ext
20891 cat >>conftest.$ac_ext <<_ACEOF
20892 /* end confdefs.h. */
20893 $ac_includes_default
20894 typedef size_t ac__type_sizeof_;
20898 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20905 rm -f conftest.$ac_objext
20906 if { (ac_try="$ac_compile"
20907 case "(($ac_try" in
20908 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
20909 *) ac_try_echo
=$ac_try;;
20911 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20912 (eval "$ac_compile") 2>conftest.er1
20914 grep -v '^ *+' conftest.er1
>conftest.err
20916 cat conftest.err
>&5
20917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20918 (exit $ac_status); } && {
20919 test -z "$ac_c_werror_flag" ||
20920 test ! -s conftest.err
20921 } && test -s conftest.
$ac_objext; then
20922 ac_hi
=$ac_mid; break
20924 echo "$as_me: failed program was:" >&5
20925 sed 's/^/| /' conftest.
$ac_ext >&5
20927 ac_lo
=`expr $ac_mid + 1`
20928 if test $ac_lo -le $ac_mid; then
20932 ac_mid
=`expr 2 '*' $ac_mid + 1`
20935 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20938 echo "$as_me: failed program was:" >&5
20939 sed 's/^/| /' conftest.
$ac_ext >&5
20941 cat >conftest.
$ac_ext <<_ACEOF
20944 cat confdefs.h
>>conftest.
$ac_ext
20945 cat >>conftest.
$ac_ext <<_ACEOF
20946 /* end confdefs.h. */
20947 $ac_includes_default
20948 typedef size_t ac__type_sizeof_;
20952 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
20959 rm -f conftest.
$ac_objext
20960 if { (ac_try
="$ac_compile"
20961 case "(($ac_try" in
20962 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
20963 *) ac_try_echo=$ac_try;;
20965 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20966 (eval "$ac_compile") 2>conftest.er1
20968 grep -v '^ *+' conftest.er1 >conftest.err
20970 cat conftest.err >&5
20971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20972 (exit $ac_status); } && {
20973 test -z "$ac_c_werror_flag" ||
20974 test ! -s conftest.err
20975 } && test -s conftest.$ac_objext; then
20978 cat >conftest.$ac_ext <<_ACEOF
20981 cat confdefs.h >>conftest.$ac_ext
20982 cat >>conftest.$ac_ext <<_ACEOF
20983 /* end confdefs.h. */
20984 $ac_includes_default
20985 typedef size_t ac__type_sizeof_;
20989 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
20996 rm -f conftest.$ac_objext
20997 if { (ac_try="$ac_compile"
20998 case "(($ac_try" in
20999 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
21000 *) ac_try_echo
=$ac_try;;
21002 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21003 (eval "$ac_compile") 2>conftest.er1
21005 grep -v '^ *+' conftest.er1
>conftest.err
21007 cat conftest.err
>&5
21008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21009 (exit $ac_status); } && {
21010 test -z "$ac_c_werror_flag" ||
21011 test ! -s conftest.err
21012 } && test -s conftest.
$ac_objext; then
21013 ac_lo
=$ac_mid; break
21015 echo "$as_me: failed program was:" >&5
21016 sed 's/^/| /' conftest.
$ac_ext >&5
21018 ac_hi
=`expr '(' $ac_mid ')' - 1`
21019 if test $ac_mid -le $ac_hi; then
21023 ac_mid
=`expr 2 '*' $ac_mid`
21026 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21029 echo "$as_me: failed program was:" >&5
21030 sed 's/^/| /' conftest.
$ac_ext >&5
21035 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21038 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21039 # Binary search between lo and hi bounds.
21040 while test "x$ac_lo" != "x$ac_hi"; do
21041 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21042 cat >conftest.
$ac_ext <<_ACEOF
21045 cat confdefs.h
>>conftest.
$ac_ext
21046 cat >>conftest.
$ac_ext <<_ACEOF
21047 /* end confdefs.h. */
21048 $ac_includes_default
21049 typedef size_t ac__type_sizeof_;
21053 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21060 rm -f conftest.
$ac_objext
21061 if { (ac_try
="$ac_compile"
21062 case "(($ac_try" in
21063 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
21064 *) ac_try_echo=$ac_try;;
21066 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21067 (eval "$ac_compile") 2>conftest.er1
21069 grep -v '^ *+' conftest.er1 >conftest.err
21071 cat conftest.err >&5
21072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21073 (exit $ac_status); } && {
21074 test -z "$ac_c_werror_flag" ||
21075 test ! -s conftest.err
21076 } && test -s conftest.$ac_objext; then
21079 echo "$as_me: failed program was:" >&5
21080 sed 's/^/| /' conftest.$ac_ext >&5
21082 ac_lo=`expr '(' $ac_mid ')' + 1`
21085 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21088 ?*) ac_cv_sizeof_size_t=$ac_lo;;
21089 '') if test "$ac_cv_type_size_t" = yes; then
21090 { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t)
21091 See \`config.log
' for more details." >&5
21092 echo "$as_me: error: cannot compute sizeof (size_t)
21093 See \`config.log' for more details.
" >&2;}
21094 { (exit 77); exit 77; }; }
21096 ac_cv_sizeof_size_t=0
21100 cat >conftest.$ac_ext <<_ACEOF
21103 cat confdefs.h >>conftest.$ac_ext
21104 cat >>conftest.$ac_ext <<_ACEOF
21105 /* end confdefs.h. */
21106 $ac_includes_default
21107 typedef size_t ac__type_sizeof_;
21108 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
21109 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
21111 #include <stdlib.h>
21116 FILE *f = fopen ("conftest.val
", "w
");
21119 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
21121 long int i = longval ();
21122 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21124 fprintf (f, "%ld
\n", i);
21128 unsigned long int i = ulongval ();
21129 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21131 fprintf (f, "%lu
\n", i);
21133 return ferror (f) || fclose (f) != 0;
21139 rm -f conftest$ac_exeext
21140 if { (ac_try="$ac_link"
21141 case "(($ac_try" in
21142 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21143 *) ac_try_echo=$ac_try;;
21145 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21146 (eval "$ac_link") 2>&5
21148 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21149 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21150 { (case "(($ac_try" in
21151 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21152 *) ac_try_echo=$ac_try;;
21154 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21155 (eval "$ac_try") 2>&5
21157 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21158 (exit $ac_status); }; }; then
21159 ac_cv_sizeof_size_t=`cat conftest.val`
21161 echo "$as_me: program exited with status
$ac_status" >&5
21162 echo "$as_me: failed program was
:" >&5
21163 sed 's/^/| /' conftest.$ac_ext >&5
21165 ( exit $ac_status )
21166 if test "$ac_cv_type_size_t" = yes; then
21167 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(size_t
)
21168 See \
`config.log' for more details." >&5
21169 echo "$as_me: error: cannot compute sizeof (size_t)
21170 See \`config.log
' for more details." >&2;}
21171 { (exit 77); exit 77; }; }
21173 ac_cv_sizeof_size_t=0
21176 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21180 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_size_t" >&5
21181 echo "${ECHO_T}$ac_cv_sizeof_size_t" >&6; }
21185 cat >>confdefs.h <<_ACEOF
21186 #define SIZEOF_SIZE_T $ac_cv_sizeof_size_t
21193 { echo "$as_me:$LINENO: checking for long long" >&5
21194 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
21195 if test "${ac_cv_type_long_long+set}" = set; then
21196 echo $ECHO_N "(cached) $ECHO_C" >&6
21198 cat >conftest.$ac_ext <<_ACEOF
21201 cat confdefs.h >>conftest.$ac_ext
21202 cat >>conftest.$ac_ext <<_ACEOF
21203 /* end confdefs.h. */
21204 $ac_includes_default
21205 typedef long long ac__type_new_;
21209 if ((ac__type_new_ *) 0)
21211 if (sizeof (ac__type_new_))
21217 rm -f conftest.$ac_objext
21218 if { (ac_try="$ac_compile"
21219 case "(($ac_try" in
21220 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21221 *) ac_try_echo=$ac_try;;
21223 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21224 (eval "$ac_compile") 2>conftest.er1
21226 grep -v '^
*+' conftest.er1 >conftest.err
21228 cat conftest.err >&5
21229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21230 (exit $ac_status); } && {
21231 test -z "$ac_c_werror_flag" ||
21232 test ! -s conftest.err
21233 } && test -s conftest.$ac_objext; then
21234 ac_cv_type_long_long=yes
21236 echo "$as_me: failed program was:" >&5
21237 sed 's
/^
/| /' conftest.$ac_ext >&5
21239 ac_cv_type_long_long=no
21242 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21244 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
21245 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
21247 # The cast to long int works around a bug in the HP C Compiler
21248 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21249 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21250 # This bug is HP SR number 8606223364.
21251 { echo "$as_me:$LINENO: checking size of long long" >&5
21252 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
21253 if test "${ac_cv_sizeof_long_long+set}" = set; then
21254 echo $ECHO_N "(cached) $ECHO_C" >&6
21256 if test "$cross_compiling" = yes; then
21257 # Depending upon the size, compute the lo and hi bounds.
21258 cat >conftest.
$ac_ext <<_ACEOF
21261 cat confdefs.h
>>conftest.
$ac_ext
21262 cat >>conftest.
$ac_ext <<_ACEOF
21263 /* end confdefs.h. */
21264 $ac_includes_default
21265 typedef long long ac__type_sizeof_;
21269 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
21276 rm -f conftest.
$ac_objext
21277 if { (ac_try
="$ac_compile"
21278 case "(($ac_try" in
21279 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
21280 *) ac_try_echo=$ac_try;;
21282 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21283 (eval "$ac_compile") 2>conftest.er1
21285 grep -v '^ *+' conftest.er1 >conftest.err
21287 cat conftest.err >&5
21288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21289 (exit $ac_status); } && {
21290 test -z "$ac_c_werror_flag" ||
21291 test ! -s conftest.err
21292 } && test -s conftest.$ac_objext; then
21295 cat >conftest.$ac_ext <<_ACEOF
21298 cat confdefs.h >>conftest.$ac_ext
21299 cat >>conftest.$ac_ext <<_ACEOF
21300 /* end confdefs.h. */
21301 $ac_includes_default
21302 typedef long long ac__type_sizeof_;
21306 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21313 rm -f conftest.$ac_objext
21314 if { (ac_try="$ac_compile"
21315 case "(($ac_try" in
21316 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
21317 *) ac_try_echo
=$ac_try;;
21319 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21320 (eval "$ac_compile") 2>conftest.er1
21322 grep -v '^ *+' conftest.er1
>conftest.err
21324 cat conftest.err
>&5
21325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21326 (exit $ac_status); } && {
21327 test -z "$ac_c_werror_flag" ||
21328 test ! -s conftest.err
21329 } && test -s conftest.
$ac_objext; then
21330 ac_hi
=$ac_mid; break
21332 echo "$as_me: failed program was:" >&5
21333 sed 's/^/| /' conftest.
$ac_ext >&5
21335 ac_lo
=`expr $ac_mid + 1`
21336 if test $ac_lo -le $ac_mid; then
21340 ac_mid
=`expr 2 '*' $ac_mid + 1`
21343 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21346 echo "$as_me: failed program was:" >&5
21347 sed 's/^/| /' conftest.
$ac_ext >&5
21349 cat >conftest.
$ac_ext <<_ACEOF
21352 cat confdefs.h
>>conftest.
$ac_ext
21353 cat >>conftest.
$ac_ext <<_ACEOF
21354 /* end confdefs.h. */
21355 $ac_includes_default
21356 typedef long long ac__type_sizeof_;
21360 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
21367 rm -f conftest.
$ac_objext
21368 if { (ac_try
="$ac_compile"
21369 case "(($ac_try" in
21370 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
21371 *) ac_try_echo=$ac_try;;
21373 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21374 (eval "$ac_compile") 2>conftest.er1
21376 grep -v '^ *+' conftest.er1 >conftest.err
21378 cat conftest.err >&5
21379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21380 (exit $ac_status); } && {
21381 test -z "$ac_c_werror_flag" ||
21382 test ! -s conftest.err
21383 } && test -s conftest.$ac_objext; then
21386 cat >conftest.$ac_ext <<_ACEOF
21389 cat confdefs.h >>conftest.$ac_ext
21390 cat >>conftest.$ac_ext <<_ACEOF
21391 /* end confdefs.h. */
21392 $ac_includes_default
21393 typedef long long ac__type_sizeof_;
21397 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
21404 rm -f conftest.$ac_objext
21405 if { (ac_try="$ac_compile"
21406 case "(($ac_try" in
21407 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
21408 *) ac_try_echo
=$ac_try;;
21410 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21411 (eval "$ac_compile") 2>conftest.er1
21413 grep -v '^ *+' conftest.er1
>conftest.err
21415 cat conftest.err
>&5
21416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21417 (exit $ac_status); } && {
21418 test -z "$ac_c_werror_flag" ||
21419 test ! -s conftest.err
21420 } && test -s conftest.
$ac_objext; then
21421 ac_lo
=$ac_mid; break
21423 echo "$as_me: failed program was:" >&5
21424 sed 's/^/| /' conftest.
$ac_ext >&5
21426 ac_hi
=`expr '(' $ac_mid ')' - 1`
21427 if test $ac_mid -le $ac_hi; then
21431 ac_mid
=`expr 2 '*' $ac_mid`
21434 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21437 echo "$as_me: failed program was:" >&5
21438 sed 's/^/| /' conftest.
$ac_ext >&5
21443 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21446 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21447 # Binary search between lo and hi bounds.
21448 while test "x$ac_lo" != "x$ac_hi"; do
21449 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21450 cat >conftest.
$ac_ext <<_ACEOF
21453 cat confdefs.h
>>conftest.
$ac_ext
21454 cat >>conftest.
$ac_ext <<_ACEOF
21455 /* end confdefs.h. */
21456 $ac_includes_default
21457 typedef long long ac__type_sizeof_;
21461 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21468 rm -f conftest.
$ac_objext
21469 if { (ac_try
="$ac_compile"
21470 case "(($ac_try" in
21471 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
21472 *) ac_try_echo=$ac_try;;
21474 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21475 (eval "$ac_compile") 2>conftest.er1
21477 grep -v '^ *+' conftest.er1 >conftest.err
21479 cat conftest.err >&5
21480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21481 (exit $ac_status); } && {
21482 test -z "$ac_c_werror_flag" ||
21483 test ! -s conftest.err
21484 } && test -s conftest.$ac_objext; then
21487 echo "$as_me: failed program was:" >&5
21488 sed 's/^/| /' conftest.$ac_ext >&5
21490 ac_lo=`expr '(' $ac_mid ')' + 1`
21493 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21496 ?*) ac_cv_sizeof_long_long=$ac_lo;;
21497 '') if test "$ac_cv_type_long_long" = yes; then
21498 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
21499 See \`config.log
' for more details." >&5
21500 echo "$as_me: error: cannot compute sizeof (long long)
21501 See \`config.log' for more details.
" >&2;}
21502 { (exit 77); exit 77; }; }
21504 ac_cv_sizeof_long_long=0
21508 cat >conftest.$ac_ext <<_ACEOF
21511 cat confdefs.h >>conftest.$ac_ext
21512 cat >>conftest.$ac_ext <<_ACEOF
21513 /* end confdefs.h. */
21514 $ac_includes_default
21515 typedef long long ac__type_sizeof_;
21516 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
21517 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
21519 #include <stdlib.h>
21524 FILE *f = fopen ("conftest.val
", "w
");
21527 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
21529 long int i = longval ();
21530 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21532 fprintf (f, "%ld
\n", i);
21536 unsigned long int i = ulongval ();
21537 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21539 fprintf (f, "%lu
\n", i);
21541 return ferror (f) || fclose (f) != 0;
21547 rm -f conftest$ac_exeext
21548 if { (ac_try="$ac_link"
21549 case "(($ac_try" in
21550 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21551 *) ac_try_echo=$ac_try;;
21553 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21554 (eval "$ac_link") 2>&5
21556 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21557 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21558 { (case "(($ac_try" in
21559 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21560 *) ac_try_echo=$ac_try;;
21562 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21563 (eval "$ac_try") 2>&5
21565 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21566 (exit $ac_status); }; }; then
21567 ac_cv_sizeof_long_long=`cat conftest.val`
21569 echo "$as_me: program exited with status
$ac_status" >&5
21570 echo "$as_me: failed program was
:" >&5
21571 sed 's/^/| /' conftest.$ac_ext >&5
21573 ( exit $ac_status )
21574 if test "$ac_cv_type_long_long" = yes; then
21575 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(long long
)
21576 See \
`config.log' for more details." >&5
21577 echo "$as_me: error: cannot compute sizeof (long long)
21578 See \`config.log
' for more details." >&2;}
21579 { (exit 77); exit 77; }; }
21581 ac_cv_sizeof_long_long=0
21584 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21588 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
21589 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
21593 cat >>confdefs.h <<_ACEOF
21594 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
21600 { echo "$as_me:$LINENO: checking for long long" >&5
21601 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
21602 if test "${ac_cv_type_long_long+set}" = set; then
21603 echo $ECHO_N "(cached) $ECHO_C" >&6
21605 cat >conftest.$ac_ext <<_ACEOF
21608 cat confdefs.h >>conftest.$ac_ext
21609 cat >>conftest.$ac_ext <<_ACEOF
21610 /* end confdefs.h. */
21611 $ac_includes_default
21612 typedef long long ac__type_new_;
21616 if ((ac__type_new_ *) 0)
21618 if (sizeof (ac__type_new_))
21624 rm -f conftest.$ac_objext
21625 if { (ac_try="$ac_compile"
21626 case "(($ac_try" in
21627 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21628 *) ac_try_echo=$ac_try;;
21630 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21631 (eval "$ac_compile") 2>conftest.er1
21633 grep -v '^
*+' conftest.er1 >conftest.err
21635 cat conftest.err >&5
21636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21637 (exit $ac_status); } && {
21638 test -z "$ac_c_werror_flag" ||
21639 test ! -s conftest.err
21640 } && test -s conftest.$ac_objext; then
21641 ac_cv_type_long_long=yes
21643 echo "$as_me: failed program was:" >&5
21644 sed 's
/^
/| /' conftest.$ac_ext >&5
21646 ac_cv_type_long_long=no
21649 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21651 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
21652 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
21654 # The cast to long int works around a bug in the HP C Compiler
21655 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21656 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21657 # This bug is HP SR number 8606223364.
21658 { echo "$as_me:$LINENO: checking size of long long" >&5
21659 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
21660 if test "${ac_cv_sizeof_long_long+set}" = set; then
21661 echo $ECHO_N "(cached) $ECHO_C" >&6
21663 if test "$cross_compiling" = yes; then
21664 # Depending upon the size, compute the lo and hi bounds.
21665 cat >conftest.
$ac_ext <<_ACEOF
21668 cat confdefs.h
>>conftest.
$ac_ext
21669 cat >>conftest.
$ac_ext <<_ACEOF
21670 /* end confdefs.h. */
21671 $ac_includes_default
21672 typedef long long ac__type_sizeof_;
21676 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
21683 rm -f conftest.
$ac_objext
21684 if { (ac_try
="$ac_compile"
21685 case "(($ac_try" in
21686 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
21687 *) ac_try_echo=$ac_try;;
21689 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21690 (eval "$ac_compile") 2>conftest.er1
21692 grep -v '^ *+' conftest.er1 >conftest.err
21694 cat conftest.err >&5
21695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21696 (exit $ac_status); } && {
21697 test -z "$ac_c_werror_flag" ||
21698 test ! -s conftest.err
21699 } && test -s conftest.$ac_objext; then
21702 cat >conftest.$ac_ext <<_ACEOF
21705 cat confdefs.h >>conftest.$ac_ext
21706 cat >>conftest.$ac_ext <<_ACEOF
21707 /* end confdefs.h. */
21708 $ac_includes_default
21709 typedef long long ac__type_sizeof_;
21713 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21720 rm -f conftest.$ac_objext
21721 if { (ac_try="$ac_compile"
21722 case "(($ac_try" in
21723 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
21724 *) ac_try_echo
=$ac_try;;
21726 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21727 (eval "$ac_compile") 2>conftest.er1
21729 grep -v '^ *+' conftest.er1
>conftest.err
21731 cat conftest.err
>&5
21732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21733 (exit $ac_status); } && {
21734 test -z "$ac_c_werror_flag" ||
21735 test ! -s conftest.err
21736 } && test -s conftest.
$ac_objext; then
21737 ac_hi
=$ac_mid; break
21739 echo "$as_me: failed program was:" >&5
21740 sed 's/^/| /' conftest.
$ac_ext >&5
21742 ac_lo
=`expr $ac_mid + 1`
21743 if test $ac_lo -le $ac_mid; then
21747 ac_mid
=`expr 2 '*' $ac_mid + 1`
21750 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21753 echo "$as_me: failed program was:" >&5
21754 sed 's/^/| /' conftest.
$ac_ext >&5
21756 cat >conftest.
$ac_ext <<_ACEOF
21759 cat confdefs.h
>>conftest.
$ac_ext
21760 cat >>conftest.
$ac_ext <<_ACEOF
21761 /* end confdefs.h. */
21762 $ac_includes_default
21763 typedef long long ac__type_sizeof_;
21767 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
21774 rm -f conftest.
$ac_objext
21775 if { (ac_try
="$ac_compile"
21776 case "(($ac_try" in
21777 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
21778 *) ac_try_echo=$ac_try;;
21780 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21781 (eval "$ac_compile") 2>conftest.er1
21783 grep -v '^ *+' conftest.er1 >conftest.err
21785 cat conftest.err >&5
21786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21787 (exit $ac_status); } && {
21788 test -z "$ac_c_werror_flag" ||
21789 test ! -s conftest.err
21790 } && test -s conftest.$ac_objext; then
21793 cat >conftest.$ac_ext <<_ACEOF
21796 cat confdefs.h >>conftest.$ac_ext
21797 cat >>conftest.$ac_ext <<_ACEOF
21798 /* end confdefs.h. */
21799 $ac_includes_default
21800 typedef long long ac__type_sizeof_;
21804 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
21811 rm -f conftest.$ac_objext
21812 if { (ac_try="$ac_compile"
21813 case "(($ac_try" in
21814 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
21815 *) ac_try_echo
=$ac_try;;
21817 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21818 (eval "$ac_compile") 2>conftest.er1
21820 grep -v '^ *+' conftest.er1
>conftest.err
21822 cat conftest.err
>&5
21823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21824 (exit $ac_status); } && {
21825 test -z "$ac_c_werror_flag" ||
21826 test ! -s conftest.err
21827 } && test -s conftest.
$ac_objext; then
21828 ac_lo
=$ac_mid; break
21830 echo "$as_me: failed program was:" >&5
21831 sed 's/^/| /' conftest.
$ac_ext >&5
21833 ac_hi
=`expr '(' $ac_mid ')' - 1`
21834 if test $ac_mid -le $ac_hi; then
21838 ac_mid
=`expr 2 '*' $ac_mid`
21841 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21844 echo "$as_me: failed program was:" >&5
21845 sed 's/^/| /' conftest.
$ac_ext >&5
21850 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21853 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21854 # Binary search between lo and hi bounds.
21855 while test "x$ac_lo" != "x$ac_hi"; do
21856 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21857 cat >conftest.
$ac_ext <<_ACEOF
21860 cat confdefs.h
>>conftest.
$ac_ext
21861 cat >>conftest.
$ac_ext <<_ACEOF
21862 /* end confdefs.h. */
21863 $ac_includes_default
21864 typedef long long ac__type_sizeof_;
21868 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21875 rm -f conftest.
$ac_objext
21876 if { (ac_try
="$ac_compile"
21877 case "(($ac_try" in
21878 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
21879 *) ac_try_echo=$ac_try;;
21881 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21882 (eval "$ac_compile") 2>conftest.er1
21884 grep -v '^ *+' conftest.er1 >conftest.err
21886 cat conftest.err >&5
21887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21888 (exit $ac_status); } && {
21889 test -z "$ac_c_werror_flag" ||
21890 test ! -s conftest.err
21891 } && test -s conftest.$ac_objext; then
21894 echo "$as_me: failed program was:" >&5
21895 sed 's/^/| /' conftest.$ac_ext >&5
21897 ac_lo=`expr '(' $ac_mid ')' + 1`
21900 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21903 ?*) ac_cv_sizeof_long_long=$ac_lo;;
21904 '') if test "$ac_cv_type_long_long" = yes; then
21905 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
21906 See \`config.log
' for more details." >&5
21907 echo "$as_me: error: cannot compute sizeof (long long)
21908 See \`config.log' for more details.
" >&2;}
21909 { (exit 77); exit 77; }; }
21911 ac_cv_sizeof_long_long=0
21915 cat >conftest.$ac_ext <<_ACEOF
21918 cat confdefs.h >>conftest.$ac_ext
21919 cat >>conftest.$ac_ext <<_ACEOF
21920 /* end confdefs.h. */
21921 $ac_includes_default
21922 typedef long long ac__type_sizeof_;
21923 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
21924 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
21926 #include <stdlib.h>
21931 FILE *f = fopen ("conftest.val
", "w
");
21934 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
21936 long int i = longval ();
21937 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21939 fprintf (f, "%ld
\n", i);
21943 unsigned long int i = ulongval ();
21944 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21946 fprintf (f, "%lu
\n", i);
21948 return ferror (f) || fclose (f) != 0;
21954 rm -f conftest$ac_exeext
21955 if { (ac_try="$ac_link"
21956 case "(($ac_try" in
21957 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21958 *) ac_try_echo=$ac_try;;
21960 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21961 (eval "$ac_link") 2>&5
21963 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21964 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21965 { (case "(($ac_try" in
21966 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21967 *) ac_try_echo=$ac_try;;
21969 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21970 (eval "$ac_try") 2>&5
21972 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21973 (exit $ac_status); }; }; then
21974 ac_cv_sizeof_long_long=`cat conftest.val`
21976 echo "$as_me: program exited with status
$ac_status" >&5
21977 echo "$as_me: failed program was
:" >&5
21978 sed 's/^/| /' conftest.$ac_ext >&5
21980 ( exit $ac_status )
21981 if test "$ac_cv_type_long_long" = yes; then
21982 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(long long
)
21983 See \
`config.log' for more details." >&5
21984 echo "$as_me: error: cannot compute sizeof (long long)
21985 See \`config.log
' for more details." >&2;}
21986 { (exit 77); exit 77; }; }
21988 ac_cv_sizeof_long_long=0
21991 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21995 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
21996 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
22000 cat >>confdefs.h <<_ACEOF
22001 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
22005 if test "$ac_cv_sizeof_long_long" != 0; then
22006 CPPFLAGS="-D_INCLUDE_LONGLONG $CPPFLAGS"
22010 { echo "$as_me:$LINENO: checking for long long" >&5
22011 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
22012 if test "${ac_cv_type_long_long+set}" = set; then
22013 echo $ECHO_N "(cached) $ECHO_C" >&6
22015 cat >conftest.$ac_ext <<_ACEOF
22018 cat confdefs.h >>conftest.$ac_ext
22019 cat >>conftest.$ac_ext <<_ACEOF
22020 /* end confdefs.h. */
22021 $ac_includes_default
22022 typedef long long ac__type_new_;
22026 if ((ac__type_new_ *) 0)
22028 if (sizeof (ac__type_new_))
22034 rm -f conftest.$ac_objext
22035 if { (ac_try="$ac_compile"
22036 case "(($ac_try" in
22037 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22038 *) ac_try_echo=$ac_try;;
22040 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22041 (eval "$ac_compile") 2>conftest.er1
22043 grep -v '^
*+' conftest.er1 >conftest.err
22045 cat conftest.err >&5
22046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22047 (exit $ac_status); } && {
22048 test -z "$ac_c_werror_flag" ||
22049 test ! -s conftest.err
22050 } && test -s conftest.$ac_objext; then
22051 ac_cv_type_long_long=yes
22053 echo "$as_me: failed program was:" >&5
22054 sed 's
/^
/| /' conftest.$ac_ext >&5
22056 ac_cv_type_long_long=no
22059 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22061 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
22062 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
22064 # The cast to long int works around a bug in the HP C Compiler
22065 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
22066 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
22067 # This bug is HP SR number 8606223364.
22068 { echo "$as_me:$LINENO: checking size of long long" >&5
22069 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
22070 if test "${ac_cv_sizeof_long_long+set}" = set; then
22071 echo $ECHO_N "(cached) $ECHO_C" >&6
22073 if test "$cross_compiling" = yes; then
22074 # Depending upon the size, compute the lo and hi bounds.
22075 cat >conftest.
$ac_ext <<_ACEOF
22078 cat confdefs.h
>>conftest.
$ac_ext
22079 cat >>conftest.
$ac_ext <<_ACEOF
22080 /* end confdefs.h. */
22081 $ac_includes_default
22082 typedef long long ac__type_sizeof_;
22086 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
22093 rm -f conftest.
$ac_objext
22094 if { (ac_try
="$ac_compile"
22095 case "(($ac_try" in
22096 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
22097 *) ac_try_echo=$ac_try;;
22099 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22100 (eval "$ac_compile") 2>conftest.er1
22102 grep -v '^ *+' conftest.er1 >conftest.err
22104 cat conftest.err >&5
22105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22106 (exit $ac_status); } && {
22107 test -z "$ac_c_werror_flag" ||
22108 test ! -s conftest.err
22109 } && test -s conftest.$ac_objext; then
22112 cat >conftest.$ac_ext <<_ACEOF
22115 cat confdefs.h >>conftest.$ac_ext
22116 cat >>conftest.$ac_ext <<_ACEOF
22117 /* end confdefs.h. */
22118 $ac_includes_default
22119 typedef long long ac__type_sizeof_;
22123 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22130 rm -f conftest.$ac_objext
22131 if { (ac_try="$ac_compile"
22132 case "(($ac_try" in
22133 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
22134 *) ac_try_echo
=$ac_try;;
22136 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22137 (eval "$ac_compile") 2>conftest.er1
22139 grep -v '^ *+' conftest.er1
>conftest.err
22141 cat conftest.err
>&5
22142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22143 (exit $ac_status); } && {
22144 test -z "$ac_c_werror_flag" ||
22145 test ! -s conftest.err
22146 } && test -s conftest.
$ac_objext; then
22147 ac_hi
=$ac_mid; break
22149 echo "$as_me: failed program was:" >&5
22150 sed 's/^/| /' conftest.
$ac_ext >&5
22152 ac_lo
=`expr $ac_mid + 1`
22153 if test $ac_lo -le $ac_mid; then
22157 ac_mid
=`expr 2 '*' $ac_mid + 1`
22160 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22163 echo "$as_me: failed program was:" >&5
22164 sed 's/^/| /' conftest.
$ac_ext >&5
22166 cat >conftest.
$ac_ext <<_ACEOF
22169 cat confdefs.h
>>conftest.
$ac_ext
22170 cat >>conftest.
$ac_ext <<_ACEOF
22171 /* end confdefs.h. */
22172 $ac_includes_default
22173 typedef long long ac__type_sizeof_;
22177 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
22184 rm -f conftest.
$ac_objext
22185 if { (ac_try
="$ac_compile"
22186 case "(($ac_try" in
22187 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
22188 *) ac_try_echo=$ac_try;;
22190 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22191 (eval "$ac_compile") 2>conftest.er1
22193 grep -v '^ *+' conftest.er1 >conftest.err
22195 cat conftest.err >&5
22196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22197 (exit $ac_status); } && {
22198 test -z "$ac_c_werror_flag" ||
22199 test ! -s conftest.err
22200 } && test -s conftest.$ac_objext; then
22203 cat >conftest.$ac_ext <<_ACEOF
22206 cat confdefs.h >>conftest.$ac_ext
22207 cat >>conftest.$ac_ext <<_ACEOF
22208 /* end confdefs.h. */
22209 $ac_includes_default
22210 typedef long long ac__type_sizeof_;
22214 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
22221 rm -f conftest.$ac_objext
22222 if { (ac_try="$ac_compile"
22223 case "(($ac_try" in
22224 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
22225 *) ac_try_echo
=$ac_try;;
22227 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22228 (eval "$ac_compile") 2>conftest.er1
22230 grep -v '^ *+' conftest.er1
>conftest.err
22232 cat conftest.err
>&5
22233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22234 (exit $ac_status); } && {
22235 test -z "$ac_c_werror_flag" ||
22236 test ! -s conftest.err
22237 } && test -s conftest.
$ac_objext; then
22238 ac_lo
=$ac_mid; break
22240 echo "$as_me: failed program was:" >&5
22241 sed 's/^/| /' conftest.
$ac_ext >&5
22243 ac_hi
=`expr '(' $ac_mid ')' - 1`
22244 if test $ac_mid -le $ac_hi; then
22248 ac_mid
=`expr 2 '*' $ac_mid`
22251 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22254 echo "$as_me: failed program was:" >&5
22255 sed 's/^/| /' conftest.
$ac_ext >&5
22260 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22263 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22264 # Binary search between lo and hi bounds.
22265 while test "x$ac_lo" != "x$ac_hi"; do
22266 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
22267 cat >conftest.
$ac_ext <<_ACEOF
22270 cat confdefs.h
>>conftest.
$ac_ext
22271 cat >>conftest.
$ac_ext <<_ACEOF
22272 /* end confdefs.h. */
22273 $ac_includes_default
22274 typedef long long ac__type_sizeof_;
22278 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22285 rm -f conftest.
$ac_objext
22286 if { (ac_try
="$ac_compile"
22287 case "(($ac_try" in
22288 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
22289 *) ac_try_echo=$ac_try;;
22291 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22292 (eval "$ac_compile") 2>conftest.er1
22294 grep -v '^ *+' conftest.er1 >conftest.err
22296 cat conftest.err >&5
22297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22298 (exit $ac_status); } && {
22299 test -z "$ac_c_werror_flag" ||
22300 test ! -s conftest.err
22301 } && test -s conftest.$ac_objext; then
22304 echo "$as_me: failed program was:" >&5
22305 sed 's/^/| /' conftest.$ac_ext >&5
22307 ac_lo=`expr '(' $ac_mid ')' + 1`
22310 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22313 ?*) ac_cv_sizeof_long_long=$ac_lo;;
22314 '') if test "$ac_cv_type_long_long" = yes; then
22315 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
22316 See \`config.log
' for more details." >&5
22317 echo "$as_me: error: cannot compute sizeof (long long)
22318 See \`config.log' for more details.
" >&2;}
22319 { (exit 77); exit 77; }; }
22321 ac_cv_sizeof_long_long=0
22325 cat >conftest.$ac_ext <<_ACEOF
22328 cat confdefs.h >>conftest.$ac_ext
22329 cat >>conftest.$ac_ext <<_ACEOF
22330 /* end confdefs.h. */
22331 $ac_includes_default
22332 typedef long long ac__type_sizeof_;
22333 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
22334 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
22336 #include <stdlib.h>
22341 FILE *f = fopen ("conftest.val
", "w
");
22344 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
22346 long int i = longval ();
22347 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22349 fprintf (f, "%ld
\n", i);
22353 unsigned long int i = ulongval ();
22354 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22356 fprintf (f, "%lu
\n", i);
22358 return ferror (f) || fclose (f) != 0;
22364 rm -f conftest$ac_exeext
22365 if { (ac_try="$ac_link"
22366 case "(($ac_try" in
22367 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22368 *) ac_try_echo=$ac_try;;
22370 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
22371 (eval "$ac_link") 2>&5
22373 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
22374 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22375 { (case "(($ac_try" in
22376 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22377 *) ac_try_echo=$ac_try;;
22379 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
22380 (eval "$ac_try") 2>&5
22382 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
22383 (exit $ac_status); }; }; then
22384 ac_cv_sizeof_long_long=`cat conftest.val`
22386 echo "$as_me: program exited with status
$ac_status" >&5
22387 echo "$as_me: failed program was
:" >&5
22388 sed 's/^/| /' conftest.$ac_ext >&5
22390 ( exit $ac_status )
22391 if test "$ac_cv_type_long_long" = yes; then
22392 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(long long
)
22393 See \
`config.log' for more details." >&5
22394 echo "$as_me: error: cannot compute sizeof (long long)
22395 See \`config.log
' for more details." >&2;}
22396 { (exit 77); exit 77; }; }
22398 ac_cv_sizeof_long_long=0
22401 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22405 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
22406 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
22410 cat >>confdefs.h <<_ACEOF
22411 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
22417 { echo "$as_me:$LINENO: checking for wchar_t" >&5
22418 echo $ECHO_N "checking for wchar_t... $ECHO_C" >&6; }
22419 if test "${ac_cv_type_wchar_t+set}" = set; then
22420 echo $ECHO_N "(cached) $ECHO_C" >&6
22422 cat >conftest.$ac_ext <<_ACEOF
22425 cat confdefs.h >>conftest.$ac_ext
22426 cat >>conftest.$ac_ext <<_ACEOF
22427 /* end confdefs.h. */
22429 /* DJGPP's wchar_t is now a keyword
in C
++ (still not C though
) */
22430 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
22431 # error "fake wchar_t"
22433 #ifdef HAVE_WCHAR_H
22435 # include <stddef.h>
22437 # include <wchar.h>
22439 #ifdef HAVE_STDLIB_H
22440 # include <stdlib.h>
22446 typedef wchar_t ac__type_new_
;
22450 if ((ac__type_new_
*) 0)
22452 if (sizeof
(ac__type_new_
))
22458 rm -f conftest.
$ac_objext
22459 if { (ac_try
="$ac_compile"
22460 case "(($ac_try" in
22461 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
22462 *) ac_try_echo=$ac_try;;
22464 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22465 (eval "$ac_compile") 2>conftest.er1
22467 grep -v '^ *+' conftest.er1 >conftest.err
22469 cat conftest.err >&5
22470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22471 (exit $ac_status); } && {
22472 test -z "$ac_c_werror_flag" ||
22473 test ! -s conftest.err
22474 } && test -s conftest.$ac_objext; then
22475 ac_cv_type_wchar_t=yes
22477 echo "$as_me: failed program was:" >&5
22478 sed 's/^/| /' conftest.$ac_ext >&5
22480 ac_cv_type_wchar_t=no
22483 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22485 { echo "$as_me:$LINENO: result: $ac_cv_type_wchar_t" >&5
22486 echo "${ECHO_T}$ac_cv_type_wchar_t" >&6; }
22488 # The cast to long int works around a bug in the HP C Compiler
22489 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
22490 # declarations like `int a3
[[(sizeof
(unsigned char
)) >= 0]];'.
22491 # This bug is HP SR number 8606223364.
22492 { echo "$as_me:$LINENO: checking size of wchar_t" >&5
22493 echo $ECHO_N "checking size of wchar_t... $ECHO_C" >&6; }
22494 if test "${ac_cv_sizeof_wchar_t+set}" = set; then
22495 echo $ECHO_N "(cached) $ECHO_C" >&6
22497 if test "$cross_compiling" = yes; then
22498 # Depending upon the size, compute the lo and hi bounds.
22499 cat >conftest.$ac_ext <<_ACEOF
22502 cat confdefs.h >>conftest.$ac_ext
22503 cat >>conftest.$ac_ext <<_ACEOF
22504 /* end confdefs.h. */
22506 /* DJGPP's wchar_t is now a keyword
in C
++ (still not C though
) */
22507 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
22508 # error "fake wchar_t"
22510 #ifdef HAVE_WCHAR_H
22512 # include <stddef.h>
22514 # include <wchar.h>
22516 #ifdef HAVE_STDLIB_H
22517 # include <stdlib.h>
22523 typedef wchar_t ac__type_sizeof_
;
22527 static int test_array
[1 - 2 * !(((long int
) (sizeof
(ac__type_sizeof_
))) >= 0)];
22534 rm -f conftest.
$ac_objext
22535 if { (ac_try
="$ac_compile"
22536 case "(($ac_try" in
22537 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
22538 *) ac_try_echo=$ac_try;;
22540 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22541 (eval "$ac_compile") 2>conftest.er1
22543 grep -v '^ *+' conftest.er1 >conftest.err
22545 cat conftest.err >&5
22546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22547 (exit $ac_status); } && {
22548 test -z "$ac_c_werror_flag" ||
22549 test ! -s conftest.err
22550 } && test -s conftest.$ac_objext; then
22553 cat >conftest.$ac_ext <<_ACEOF
22556 cat confdefs.h >>conftest.$ac_ext
22557 cat >>conftest.$ac_ext <<_ACEOF
22558 /* end confdefs.h. */
22560 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
22561 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
22562 # error "fake wchar_t"
22564 #ifdef HAVE_WCHAR_H
22566 # include <stddef.h>
22568 # include <wchar.h>
22570 #ifdef HAVE_STDLIB_H
22571 # include <stdlib.h>
22577 typedef wchar_t ac__type_sizeof_;
22581 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22588 rm -f conftest.$ac_objext
22589 if { (ac_try="$ac_compile"
22590 case "(($ac_try" in
22591 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
22592 *) ac_try_echo
=$ac_try;;
22594 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22595 (eval "$ac_compile") 2>conftest.er1
22597 grep -v '^ *+' conftest.er1
>conftest.err
22599 cat conftest.err
>&5
22600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22601 (exit $ac_status); } && {
22602 test -z "$ac_c_werror_flag" ||
22603 test ! -s conftest.err
22604 } && test -s conftest.
$ac_objext; then
22605 ac_hi
=$ac_mid; break
22607 echo "$as_me: failed program was:" >&5
22608 sed 's/^/| /' conftest.
$ac_ext >&5
22610 ac_lo
=`expr $ac_mid + 1`
22611 if test $ac_lo -le $ac_mid; then
22615 ac_mid
=`expr 2 '*' $ac_mid + 1`
22618 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22621 echo "$as_me: failed program was:" >&5
22622 sed 's/^/| /' conftest.
$ac_ext >&5
22624 cat >conftest.
$ac_ext <<_ACEOF
22627 cat confdefs.h
>>conftest.
$ac_ext
22628 cat >>conftest.
$ac_ext <<_ACEOF
22629 /* end confdefs.h. */
22631 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
22632 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
22633 # error "fake wchar_t"
22635 #ifdef HAVE_WCHAR_H
22637 # include <stddef.h>
22639 # include <wchar.h>
22641 #ifdef HAVE_STDLIB_H
22642 # include <stdlib.h>
22648 typedef wchar_t ac__type_sizeof_;
22652 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
22659 rm -f conftest.
$ac_objext
22660 if { (ac_try
="$ac_compile"
22661 case "(($ac_try" in
22662 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
22663 *) ac_try_echo=$ac_try;;
22665 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22666 (eval "$ac_compile") 2>conftest.er1
22668 grep -v '^ *+' conftest.er1 >conftest.err
22670 cat conftest.err >&5
22671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22672 (exit $ac_status); } && {
22673 test -z "$ac_c_werror_flag" ||
22674 test ! -s conftest.err
22675 } && test -s conftest.$ac_objext; then
22678 cat >conftest.$ac_ext <<_ACEOF
22681 cat confdefs.h >>conftest.$ac_ext
22682 cat >>conftest.$ac_ext <<_ACEOF
22683 /* end confdefs.h. */
22685 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
22686 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
22687 # error "fake wchar_t"
22689 #ifdef HAVE_WCHAR_H
22691 # include <stddef.h>
22693 # include <wchar.h>
22695 #ifdef HAVE_STDLIB_H
22696 # include <stdlib.h>
22702 typedef wchar_t ac__type_sizeof_;
22706 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
22713 rm -f conftest.$ac_objext
22714 if { (ac_try="$ac_compile"
22715 case "(($ac_try" in
22716 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
22717 *) ac_try_echo
=$ac_try;;
22719 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22720 (eval "$ac_compile") 2>conftest.er1
22722 grep -v '^ *+' conftest.er1
>conftest.err
22724 cat conftest.err
>&5
22725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22726 (exit $ac_status); } && {
22727 test -z "$ac_c_werror_flag" ||
22728 test ! -s conftest.err
22729 } && test -s conftest.
$ac_objext; then
22730 ac_lo
=$ac_mid; break
22732 echo "$as_me: failed program was:" >&5
22733 sed 's/^/| /' conftest.
$ac_ext >&5
22735 ac_hi
=`expr '(' $ac_mid ')' - 1`
22736 if test $ac_mid -le $ac_hi; then
22740 ac_mid
=`expr 2 '*' $ac_mid`
22743 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22746 echo "$as_me: failed program was:" >&5
22747 sed 's/^/| /' conftest.
$ac_ext >&5
22752 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22755 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22756 # Binary search between lo and hi bounds.
22757 while test "x$ac_lo" != "x$ac_hi"; do
22758 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
22759 cat >conftest.
$ac_ext <<_ACEOF
22762 cat confdefs.h
>>conftest.
$ac_ext
22763 cat >>conftest.
$ac_ext <<_ACEOF
22764 /* end confdefs.h. */
22766 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
22767 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
22768 # error "fake wchar_t"
22770 #ifdef HAVE_WCHAR_H
22772 # include <stddef.h>
22774 # include <wchar.h>
22776 #ifdef HAVE_STDLIB_H
22777 # include <stdlib.h>
22783 typedef wchar_t ac__type_sizeof_;
22787 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22794 rm -f conftest.
$ac_objext
22795 if { (ac_try
="$ac_compile"
22796 case "(($ac_try" in
22797 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
22798 *) ac_try_echo=$ac_try;;
22800 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22801 (eval "$ac_compile") 2>conftest.er1
22803 grep -v '^ *+' conftest.er1 >conftest.err
22805 cat conftest.err >&5
22806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22807 (exit $ac_status); } && {
22808 test -z "$ac_c_werror_flag" ||
22809 test ! -s conftest.err
22810 } && test -s conftest.$ac_objext; then
22813 echo "$as_me: failed program was:" >&5
22814 sed 's/^/| /' conftest.$ac_ext >&5
22816 ac_lo=`expr '(' $ac_mid ')' + 1`
22819 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22822 ?*) ac_cv_sizeof_wchar_t=$ac_lo;;
22823 '') if test "$ac_cv_type_wchar_t" = yes; then
22824 { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t)
22825 See \`config.log
' for more details." >&5
22826 echo "$as_me: error: cannot compute sizeof (wchar_t)
22827 See \`config.log' for more details.
" >&2;}
22828 { (exit 77); exit 77; }; }
22830 ac_cv_sizeof_wchar_t=0
22834 cat >conftest.$ac_ext <<_ACEOF
22837 cat confdefs.h >>conftest.$ac_ext
22838 cat >>conftest.$ac_ext <<_ACEOF
22839 /* end confdefs.h. */
22841 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
22842 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
22843 # error "fake wchar_t
"
22845 #ifdef HAVE_WCHAR_H
22847 # include <stddef.h>
22849 # include <wchar.h>
22851 #ifdef HAVE_STDLIB_H
22852 # include <stdlib.h>
22858 typedef wchar_t ac__type_sizeof_;
22859 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
22860 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
22862 #include <stdlib.h>
22867 FILE *f = fopen ("conftest.val
", "w
");
22870 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
22872 long int i = longval ();
22873 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22875 fprintf (f, "%ld
\n", i);
22879 unsigned long int i = ulongval ();
22880 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22882 fprintf (f, "%lu
\n", i);
22884 return ferror (f) || fclose (f) != 0;
22890 rm -f conftest$ac_exeext
22891 if { (ac_try="$ac_link"
22892 case "(($ac_try" in
22893 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22894 *) ac_try_echo=$ac_try;;
22896 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
22897 (eval "$ac_link") 2>&5
22899 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
22900 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22901 { (case "(($ac_try" in
22902 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22903 *) ac_try_echo=$ac_try;;
22905 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
22906 (eval "$ac_try") 2>&5
22908 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
22909 (exit $ac_status); }; }; then
22910 ac_cv_sizeof_wchar_t=`cat conftest.val`
22912 echo "$as_me: program exited with status
$ac_status" >&5
22913 echo "$as_me: failed program was
:" >&5
22914 sed 's/^/| /' conftest.$ac_ext >&5
22916 ( exit $ac_status )
22917 if test "$ac_cv_type_wchar_t" = yes; then
22918 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(wchar_t
)
22919 See \
`config.log' for more details." >&5
22920 echo "$as_me: error: cannot compute sizeof (wchar_t)
22921 See \`config.log
' for more details." >&2;}
22922 { (exit 77); exit 77; }; }
22924 ac_cv_sizeof_wchar_t=0
22927 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22931 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_wchar_t" >&5
22932 echo "${ECHO_T}$ac_cv_sizeof_wchar_t" >&6; }
22936 cat >>confdefs.h <<_ACEOF
22937 #define SIZEOF_WCHAR_T $ac_cv_sizeof_wchar_t
22941 if test "$ac_cv_sizeof_wchar_t" != 0; then
22947 { echo "$as_me:$LINENO: checking for va_copy" >&5
22948 echo $ECHO_N "checking for va_copy... $ECHO_C" >&6; }
22949 if test "${wx_cv_func_va_copy+set}" = set; then
22950 echo $ECHO_N "(cached) $ECHO_C" >&6
22954 ac_cpp='$CXXCPP $CPPFLAGS'
22955 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
22956 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
22957 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22959 cat >conftest.$ac_ext <<_ACEOF
22961 #include <stdarg.h>
22962 void foo(char *f, ...)
22976 rm -f conftest.$ac_objext conftest$ac_exeext
22977 if { (ac_try="$ac_link"
22978 case "(($ac_try" in
22979 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22980 *) ac_try_echo=$ac_try;;
22982 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22983 (eval "$ac_link") 2>conftest.er1
22985 grep -v '^
*+' conftest.er1 >conftest.err
22987 cat conftest.err >&5
22988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22989 (exit $ac_status); } && {
22990 test -z "$ac_cxx_werror_flag" ||
22991 test ! -s conftest.err
22992 } && test -s conftest$ac_exeext &&
22993 $as_test_x conftest$ac_exeext; then
22994 wx_cv_func_va_copy=yes
22996 echo "$as_me: failed program was:" >&5
22997 sed 's
/^
/| /' conftest.$ac_ext >&5
22999 wx_cv_func_va_copy=no
23003 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
23004 conftest$ac_exeext conftest.$ac_ext
23006 ac_cpp='$CPP $CPPFLAGS'
23007 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
23008 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
23009 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23014 { echo "$as_me:$LINENO: result: $wx_cv_func_va_copy" >&5
23015 echo "${ECHO_T}$wx_cv_func_va_copy" >&6; }
23017 if test $wx_cv_func_va_copy = "yes"; then
23018 cat >>confdefs.h <<\_ACEOF
23019 #define HAVE_VA_COPY 1
23023 { echo "$as_me:$LINENO: checking if va_list can be copied by value" >&5
23024 echo $ECHO_N "checking if va_list can be copied by value... $ECHO_C" >&6; }
23025 if test "${wx_cv_type_va_list_lvalue+set}" = set; then
23026 echo $ECHO_N "(cached) $ECHO_C" >&6
23029 if test "$cross_compiling" = yes; then
23030 wx_cv_type_va_list_lvalue=yes
23033 cat >conftest.$ac_ext <<_ACEOF
23035 #include <stdarg.h>
23036 int foo(char *f, ...)
23041 if ( va_arg(ap1, int) != 17 || va_arg(ap2, int) != 17 )
23049 return foo("hi", 17);
23052 rm -f conftest$ac_exeext
23053 if { (ac_try="$ac_link"
23054 case "(($ac_try" in
23055 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23056 *) ac_try_echo=$ac_try;;
23058 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23059 (eval "$ac_link") 2>&5
23061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23062 (exit $ac_status); } && { ac_try='.
/conftest
$ac_exeext'
23063 { (case "(($ac_try" in
23064 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23065 *) ac_try_echo=$ac_try;;
23067 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23068 (eval "$ac_try") 2>&5
23070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23071 (exit $ac_status); }; }; then
23072 wx_cv_type_va_list_lvalue=yes
23074 echo "$as_me: program exited with status $ac_status" >&5
23075 echo "$as_me: failed program was:" >&5
23076 sed 's
/^
/| /' conftest.$ac_ext >&5
23078 ( exit $ac_status )
23079 wx_cv_type_va_list_lvalue=no
23081 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
23088 { echo "$as_me:$LINENO: result: $wx_cv_type_va_list_lvalue" >&5
23089 echo "${ECHO_T}$wx_cv_type_va_list_lvalue" >&6; }
23091 if test $wx_cv_type_va_list_lvalue != "yes"; then
23092 cat >>confdefs.h <<\_ACEOF
23093 #define VA_LIST_IS_ARRAY 1
23099 if test "$wxUSE_VARARG_MACROS" = "yes"; then
23101 { echo "$as_me:$LINENO: checking whether the compiler supports variadic macros" >&5
23102 echo $ECHO_N "checking whether the compiler supports variadic macros... $ECHO_C" >&6; }
23103 if test "${wx_cv_have_variadic_macros+set}" = set; then
23104 echo $ECHO_N "(cached) $ECHO_C" >&6
23108 ac_cpp='$CXXCPP $CPPFLAGS'
23109 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
23110 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
23111 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23113 cat >conftest.$ac_ext <<_ACEOF
23116 cat confdefs.h >>conftest.$ac_ext
23117 cat >>conftest.$ac_ext <<_ACEOF
23118 /* end confdefs.h. */
23121 #define test(fmt, ...) printf(fmt, __VA_ARGS__)
23127 test("%s %d %p", "test", 1, 0);
23134 rm -f conftest.$ac_objext
23135 if { (ac_try="$ac_compile"
23136 case "(($ac_try" in
23137 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23138 *) ac_try_echo=$ac_try;;
23140 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23141 (eval "$ac_compile") 2>conftest.er1
23143 grep -v '^
*+' conftest.er1 >conftest.err
23145 cat conftest.err >&5
23146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23147 (exit $ac_status); } && {
23148 test -z "$ac_cxx_werror_flag" ||
23149 test ! -s conftest.err
23150 } && test -s conftest.$ac_objext; then
23151 wx_cv_have_variadic_macros=yes
23153 echo "$as_me: failed program was:" >&5
23154 sed 's
/^
/| /' conftest.$ac_ext >&5
23156 wx_cv_have_variadic_macros=no
23160 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23162 ac_cpp='$CPP $CPPFLAGS'
23163 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
23164 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
23165 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23170 { echo "$as_me:$LINENO: result: $wx_cv_have_variadic_macros" >&5
23171 echo "${ECHO_T}$wx_cv_have_variadic_macros" >&6; }
23173 if test $wx_cv_have_variadic_macros = "yes"; then
23174 cat >>confdefs.h <<\_ACEOF
23175 #define HAVE_VARIADIC_MACROS 1
23181 # Check whether --enable-largefile was given.
23182 if test "${enable_largefile+set}" = set; then
23183 enableval=$enable_largefile;
23186 if test "$enable_largefile" != no; then
23189 { echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
23190 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6; }
23191 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
23192 echo $ECHO_N "(cached) $ECHO_C" >&6
23195 cat >conftest.$ac_ext <<_ACEOF
23198 cat confdefs.h >>conftest.$ac_ext
23199 cat >>conftest.$ac_ext <<_ACEOF
23200 /* end confdefs.h. */
23201 #define _FILE_OFFSET_BITS 64
23202 #include <sys/types.h>
23207 unsigned int field: sizeof(off_t) == 8;
23214 rm -f conftest.$ac_objext
23215 if { (ac_try="$ac_compile"
23216 case "(($ac_try" in
23217 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23218 *) ac_try_echo=$ac_try;;
23220 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23221 (eval "$ac_compile") 2>conftest.er1
23223 grep -v '^
*+' conftest.er1 >conftest.err
23225 cat conftest.err >&5
23226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23227 (exit $ac_status); } && {
23228 test -z "$ac_c_werror_flag" ||
23229 test ! -s conftest.err
23230 } && test -s conftest.$ac_objext; then
23231 ac_cv_sys_file_offset_bits=64
23233 echo "$as_me: failed program was:" >&5
23234 sed 's
/^
/| /' conftest.$ac_ext >&5
23236 ac_cv_sys_file_offset_bits=no
23239 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23243 { echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
23244 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6; }
23246 if test "$ac_cv_sys_file_offset_bits" != no; then
23248 cat >>confdefs.h <<_ACEOF
23249 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
23254 if test "x$wx_largefile" != "xyes"; then
23256 { echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
23257 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6; }
23258 if test "${ac_cv_sys_large_files+set}" = set; then
23259 echo $ECHO_N "(cached) $ECHO_C" >&6
23262 cat >conftest.$ac_ext <<_ACEOF
23265 cat confdefs.h >>conftest.$ac_ext
23266 cat >>conftest.$ac_ext <<_ACEOF
23267 /* end confdefs.h. */
23268 #define _LARGE_FILES 1
23269 #include <sys/types.h>
23274 unsigned int field: sizeof(off_t) == 8;
23281 rm -f conftest.$ac_objext
23282 if { (ac_try="$ac_compile"
23283 case "(($ac_try" in
23284 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23285 *) ac_try_echo=$ac_try;;
23287 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23288 (eval "$ac_compile") 2>conftest.er1
23290 grep -v '^
*+' conftest.er1 >conftest.err
23292 cat conftest.err >&5
23293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23294 (exit $ac_status); } && {
23295 test -z "$ac_c_werror_flag" ||
23296 test ! -s conftest.err
23297 } && test -s conftest.$ac_objext; then
23298 ac_cv_sys_large_files=1
23300 echo "$as_me: failed program was:" >&5
23301 sed 's
/^
/| /' conftest.$ac_ext >&5
23303 ac_cv_sys_large_files=no
23306 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23310 { echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
23311 echo "${ECHO_T}$ac_cv_sys_large_files" >&6; }
23313 if test "$ac_cv_sys_large_files" != no; then
23315 cat >>confdefs.h <<_ACEOF
23316 #define _LARGE_FILES $ac_cv_sys_large_files
23323 { echo "$as_me:$LINENO: checking if large file support is available" >&5
23324 echo $ECHO_N "checking if large file support is available... $ECHO_C" >&6; }
23325 if test "x$wx_largefile" = "xyes"; then
23326 cat >>confdefs.h <<\_ACEOF
23327 #define HAVE_LARGEFILE_SUPPORT 1
23331 { echo "$as_me:$LINENO: result: $wx_largefile" >&5
23332 echo "${ECHO_T}$wx_largefile" >&6; }
23336 if test "x$wx_largefile" = "xyes"; then
23337 if test "x$ac_cv_sys_file_offset_bits" = "x64"; then
23338 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES"
23340 if test "$USE_HPUX" = 1 -a "$GXX" = "yes"; then
23341 { echo "$as_me:$LINENO: checking if -D__STDC_EXT__ is required" >&5
23342 echo $ECHO_N "checking if -D__STDC_EXT__ is required... $ECHO_C" >&6; }
23343 if test "${wx_cv_STDC_EXT_required+set}" = set; then
23344 echo $ECHO_N "(cached) $ECHO_C" >&6
23348 ac_cpp='$CXXCPP $CPPFLAGS'
23349 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
23350 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
23351 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23353 cat >conftest.$ac_ext <<_ACEOF
23356 cat confdefs.h >>conftest.$ac_ext
23357 cat >>conftest.$ac_ext <<_ACEOF
23358 /* end confdefs.h. */
23364 #ifndef __STDC_EXT__
23372 rm -f conftest.$ac_objext
23373 if { (ac_try="$ac_compile"
23374 case "(($ac_try" in
23375 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23376 *) ac_try_echo=$ac_try;;
23378 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23379 (eval "$ac_compile") 2>conftest.er1
23381 grep -v '^
*+' conftest.er1 >conftest.err
23383 cat conftest.err >&5
23384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23385 (exit $ac_status); } && {
23386 test -z "$ac_cxx_werror_flag" ||
23387 test ! -s conftest.err
23388 } && test -s conftest.$ac_objext; then
23389 wx_cv_STDC_EXT_required=no
23391 echo "$as_me: failed program was:" >&5
23392 sed 's
/^
/| /' conftest.$ac_ext >&5
23394 wx_cv_STDC_EXT_required=yes
23398 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23400 ac_cpp='$CPP $CPPFLAGS'
23401 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
23402 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
23403 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23408 { echo "$as_me:$LINENO: result: $wx_cv_STDC_EXT_required" >&5
23409 echo "${ECHO_T}$wx_cv_STDC_EXT_required" >&6; }
23410 if test "x$wx_cv_STDC_EXT_required" = "xyes"; then
23411 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -D__STDC_EXT__"
23415 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_LARGE_FILES"
23417 { echo "$as_me:$LINENO: checking for _LARGEFILE_SOURCE value needed for large files" >&5
23418 echo $ECHO_N "checking for _LARGEFILE_SOURCE value needed for large files... $ECHO_C" >&6; }
23419 if test "${ac_cv_sys_largefile_source+set}" = set; then
23420 echo $ECHO_N "(cached) $ECHO_C" >&6
23423 cat >conftest.$ac_ext <<_ACEOF
23426 cat confdefs.h >>conftest.$ac_ext
23427 cat >>conftest.$ac_ext <<_ACEOF
23428 /* end confdefs.h. */
23429 #include <sys/types.h> /* for off_t */
23434 int (*fp) (FILE *, off_t, int) = fseeko;
23435 return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
23440 rm -f conftest.$ac_objext conftest$ac_exeext
23441 if { (ac_try="$ac_link"
23442 case "(($ac_try" in
23443 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23444 *) ac_try_echo=$ac_try;;
23446 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23447 (eval "$ac_link") 2>conftest.er1
23449 grep -v '^
*+' conftest.er1 >conftest.err
23451 cat conftest.err >&5
23452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23453 (exit $ac_status); } && {
23454 test -z "$ac_c_werror_flag" ||
23455 test ! -s conftest.err
23456 } && test -s conftest$ac_exeext &&
23457 $as_test_x conftest$ac_exeext; then
23458 ac_cv_sys_largefile_source=no; break
23460 echo "$as_me: failed program was:" >&5
23461 sed 's
/^
/| /' conftest.$ac_ext >&5
23466 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
23467 conftest$ac_exeext conftest.$ac_ext
23468 cat >conftest.$ac_ext <<_ACEOF
23471 cat confdefs.h >>conftest.$ac_ext
23472 cat >>conftest.$ac_ext <<_ACEOF
23473 /* end confdefs.h. */
23474 #define _LARGEFILE_SOURCE 1
23475 #include <sys/types.h> /* for off_t */
23480 int (*fp) (FILE *, off_t, int) = fseeko;
23481 return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
23486 rm -f conftest.$ac_objext conftest$ac_exeext
23487 if { (ac_try="$ac_link"
23488 case "(($ac_try" in
23489 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23490 *) ac_try_echo=$ac_try;;
23492 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23493 (eval "$ac_link") 2>conftest.er1
23495 grep -v '^
*+' conftest.er1 >conftest.err
23497 cat conftest.err >&5
23498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23499 (exit $ac_status); } && {
23500 test -z "$ac_c_werror_flag" ||
23501 test ! -s conftest.err
23502 } && test -s conftest$ac_exeext &&
23503 $as_test_x conftest$ac_exeext; then
23504 ac_cv_sys_largefile_source=1; break
23506 echo "$as_me: failed program was:" >&5
23507 sed 's
/^
/| /' conftest.$ac_ext >&5
23512 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
23513 conftest$ac_exeext conftest.$ac_ext
23514 ac_cv_sys_largefile_source=unknown
23518 { echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_source" >&5
23519 echo "${ECHO_T}$ac_cv_sys_largefile_source" >&6; }
23520 case $ac_cv_sys_largefile_source in #(
23523 cat >>confdefs.h <<_ACEOF
23524 #define _LARGEFILE_SOURCE $ac_cv_sys_largefile_source
23530 # We used to try defining _XOPEN_SOURCE=500 too, to work around a bug
23531 # in glibc 2.1.3, but that breaks too many other things.
23532 # If you want fseeko and ftello with glibc, upgrade to a fixed glibc.
23533 if test $ac_cv_sys_largefile_source != unknown; then
23535 cat >>confdefs.h <<\_ACEOF
23536 #define HAVE_FSEEKO 1
23541 if test "$ac_cv_sys_largefile_source" != no; then
23542 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_LARGEFILE_SOURCE=$ac_cv_sys_largefile_source"
23546 { echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
23547 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6; }
23548 if test "${ac_cv_c_bigendian+set}" = set; then
23549 echo $ECHO_N "(cached) $ECHO_C" >&6
23551 ac_cv_c_bigendian=unknown
23552 # See if sys/param.h defines the BYTE_ORDER macro.
23553 cat >conftest.$ac_ext <<_ACEOF
23556 cat confdefs.h >>conftest.$ac_ext
23557 cat >>conftest.$ac_ext <<_ACEOF
23558 /* end confdefs.h. */
23559 #include <sys/types.h>
23560 #include <sys/param.h>
23565 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
23566 bogus endian macros
23572 rm -f conftest.$ac_objext
23573 if { (ac_try="$ac_compile"
23574 case "(($ac_try" in
23575 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23576 *) ac_try_echo=$ac_try;;
23578 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23579 (eval "$ac_compile") 2>conftest.er1
23581 grep -v '^
*+' conftest.er1 >conftest.err
23583 cat conftest.err >&5
23584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23585 (exit $ac_status); } && {
23586 test -z "$ac_c_werror_flag" ||
23587 test ! -s conftest.err
23588 } && test -s conftest.$ac_objext; then
23589 # It does; now see whether it defined to BIG_ENDIAN or not.
23590 cat >conftest.$ac_ext <<_ACEOF
23593 cat confdefs.h >>conftest.$ac_ext
23594 cat >>conftest.$ac_ext <<_ACEOF
23595 /* end confdefs.h. */
23596 #include <sys/types.h>
23597 #include <sys/param.h>
23602 #if BYTE_ORDER != BIG_ENDIAN
23609 rm -f conftest.$ac_objext
23610 if { (ac_try="$ac_compile"
23611 case "(($ac_try" in
23612 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23613 *) ac_try_echo=$ac_try;;
23615 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23616 (eval "$ac_compile") 2>conftest.er1
23618 grep -v '^
*+' conftest.er1 >conftest.err
23620 cat conftest.err >&5
23621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23622 (exit $ac_status); } && {
23623 test -z "$ac_c_werror_flag" ||
23624 test ! -s conftest.err
23625 } && test -s conftest.$ac_objext; then
23626 ac_cv_c_bigendian=yes
23628 echo "$as_me: failed program was:" >&5
23629 sed 's
/^
/| /' conftest.$ac_ext >&5
23631 ac_cv_c_bigendian=no
23634 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23636 echo "$as_me: failed program was:" >&5
23637 sed 's
/^
/| /' conftest.$ac_ext >&5
23642 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23643 if test $ac_cv_c_bigendian = unknown; then
23644 if test "$cross_compiling" = yes; then
23645 ac_cv_c_bigendian=unknown
23647 cat >conftest.$ac_ext <<_ACEOF
23650 cat confdefs.h >>conftest.$ac_ext
23651 cat >>conftest.$ac_ext <<_ACEOF
23652 /* end confdefs.h. */
23654 /* Are we little or big endian? From Harbison&Steele. */
23658 char c[sizeof (long)];
23661 exit (u.c[sizeof (long) - 1] == 1);
23664 rm -f conftest$ac_exeext
23665 if { (ac_try="$ac_link"
23666 case "(($ac_try" in
23667 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23668 *) ac_try_echo=$ac_try;;
23670 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23671 (eval "$ac_link") 2>&5
23673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23674 (exit $ac_status); } && { ac_try='.
/conftest
$ac_exeext'
23675 { (case "(($ac_try" in
23676 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23677 *) ac_try_echo=$ac_try;;
23679 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23680 (eval "$ac_try") 2>&5
23682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23683 (exit $ac_status); }; }; then
23684 ac_cv_c_bigendian=no
23686 echo "$as_me: program exited with status $ac_status" >&5
23687 echo "$as_me: failed program was:" >&5
23688 sed 's
/^
/| /' conftest.$ac_ext >&5
23690 ( exit $ac_status )
23691 ac_cv_c_bigendian=yes
23693 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
23699 { echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
23700 echo "${ECHO_T}$ac_cv_c_bigendian" >&6; }
23701 if test $ac_cv_c_bigendian = unknown; then
23702 { 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
23703 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;}
23705 if test $ac_cv_c_bigendian = yes; then
23706 cat >>confdefs.h <<\_ACEOF
23707 #define WORDS_BIGENDIAN 1
23716 ac_cpp='$CXXCPP $CPPFLAGS'
23717 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
23718 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
23719 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23723 for ac_header in iostream
23725 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
23726 { echo "$as_me:$LINENO: checking for $ac_header" >&5
23727 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
23728 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
23729 echo $ECHO_N "(cached) $ECHO_C" >&6
23731 cat >conftest.$ac_ext <<_ACEOF
23734 cat confdefs.h >>conftest.$ac_ext
23735 cat >>conftest.$ac_ext <<_ACEOF
23736 /* end confdefs.h. */
23739 #include <$ac_header>
23741 rm -f conftest.$ac_objext
23742 if { (ac_try="$ac_compile"
23743 case "(($ac_try" in
23744 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23745 *) ac_try_echo=$ac_try;;
23747 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23748 (eval "$ac_compile") 2>conftest.er1
23750 grep -v '^
*+' conftest.er1 >conftest.err
23752 cat conftest.err >&5
23753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23754 (exit $ac_status); } && {
23755 test -z "$ac_cxx_werror_flag" ||
23756 test ! -s conftest.err
23757 } && test -s conftest.$ac_objext; then
23758 eval "$as_ac_Header=yes"
23760 echo "$as_me: failed program was:" >&5
23761 sed 's
/^
/| /' conftest.$ac_ext >&5
23763 eval "$as_ac_Header=no"
23766 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23768 ac_res=`eval echo '${'$as_ac_Header'}'`
23769 { echo "$as_me:$LINENO: result: $ac_res" >&5
23770 echo "${ECHO_T}$ac_res" >&6; }
23771 if test `eval echo '${'$as_ac_Header'}'` = yes; then
23772 cat >>confdefs.h <<_ACEOF
23773 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
23781 if test "$ac_cv_header_iostream" = "yes" ; then
23784 cat >>confdefs.h <<\_ACEOF
23785 #define wxUSE_IOSTREAMH 1
23791 ac_cpp='$CPP $CPPFLAGS'
23792 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
23793 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
23794 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23799 { echo "$as_me:$LINENO: checking if C++ compiler supports bool" >&5
23800 echo $ECHO_N "checking if C++ compiler supports bool... $ECHO_C" >&6; }
23801 if test "${wx_cv_cpp_bool+set}" = set; then
23802 echo $ECHO_N "(cached) $ECHO_C" >&6
23807 ac_cpp='$CXXCPP $CPPFLAGS'
23808 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
23809 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
23810 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23813 cat >conftest.$ac_ext <<_ACEOF
23816 cat confdefs.h >>conftest.$ac_ext
23817 cat >>conftest.$ac_ext <<_ACEOF
23818 /* end confdefs.h. */
23833 rm -f conftest.$ac_objext
23834 if { (ac_try="$ac_compile"
23835 case "(($ac_try" in
23836 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23837 *) ac_try_echo=$ac_try;;
23839 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23840 (eval "$ac_compile") 2>conftest.er1
23842 grep -v '^
*+' conftest.er1 >conftest.err
23844 cat conftest.err >&5
23845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23846 (exit $ac_status); } && {
23847 test -z "$ac_cxx_werror_flag" ||
23848 test ! -s conftest.err
23849 } && test -s conftest.$ac_objext; then
23854 echo "$as_me: failed program was:" >&5
23855 sed 's
/^
/| /' conftest.$ac_ext >&5
23863 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23866 ac_cpp='$CPP $CPPFLAGS'
23867 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
23868 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
23869 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23873 { echo "$as_me:$LINENO: result: $wx_cv_cpp_bool" >&5
23874 echo "${ECHO_T}$wx_cv_cpp_bool" >&6; }
23876 if test "$wx_cv_cpp_bool" = "yes"; then
23877 cat >>confdefs.h <<\_ACEOF
23878 #define HAVE_BOOL 1
23885 { echo "$as_me:$LINENO: checking if C++ compiler supports the explicit keyword" >&5
23886 echo $ECHO_N "checking if C++ compiler supports the explicit keyword... $ECHO_C" >&6; }
23887 if test "${wx_cv_explicit+set}" = set; then
23888 echo $ECHO_N "(cached) $ECHO_C" >&6
23893 ac_cpp='$CXXCPP $CPPFLAGS'
23894 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
23895 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
23896 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23899 cat >conftest.$ac_ext <<_ACEOF
23902 cat confdefs.h >>conftest.$ac_ext
23903 cat >>conftest.$ac_ext <<_ACEOF
23904 /* end confdefs.h. */
23906 class Foo { public: explicit Foo(int) {} };
23918 rm -f conftest.$ac_objext
23919 if { (ac_try="$ac_compile"
23920 case "(($ac_try" in
23921 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23922 *) ac_try_echo=$ac_try;;
23924 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23925 (eval "$ac_compile") 2>conftest.er1
23927 grep -v '^
*+' conftest.er1 >conftest.err
23929 cat conftest.err >&5
23930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23931 (exit $ac_status); } && {
23932 test -z "$ac_cxx_werror_flag" ||
23933 test ! -s conftest.err
23934 } && test -s conftest.$ac_objext; then
23936 cat >conftest.$ac_ext <<_ACEOF
23939 cat confdefs.h >>conftest.$ac_ext
23940 cat >>conftest.$ac_ext <<_ACEOF
23941 /* end confdefs.h. */
23943 class Foo { public: explicit Foo(int) {} };
23944 static void TakeFoo(const Foo& foo) { }
23957 rm -f conftest.$ac_objext
23958 if { (ac_try="$ac_compile"
23959 case "(($ac_try" in
23960 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23961 *) ac_try_echo=$ac_try;;
23963 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23964 (eval "$ac_compile") 2>conftest.er1
23966 grep -v '^
*+' conftest.er1 >conftest.err
23968 cat conftest.err >&5
23969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23970 (exit $ac_status); } && {
23971 test -z "$ac_cxx_werror_flag" ||
23972 test ! -s conftest.err
23973 } && test -s conftest.$ac_objext; then
23976 echo "$as_me: failed program was:" >&5
23977 sed 's
/^
/| /' conftest.$ac_ext >&5
23983 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23986 echo "$as_me: failed program was:" >&5
23987 sed 's
/^
/| /' conftest.$ac_ext >&5
23993 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23996 ac_cpp='$CPP $CPPFLAGS'
23997 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
23998 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
23999 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24003 { echo "$as_me:$LINENO: result: $wx_cv_explicit" >&5
24004 echo "${ECHO_T}$wx_cv_explicit" >&6; }
24006 if test "$wx_cv_explicit" = "yes"; then
24007 cat >>confdefs.h <<\_ACEOF
24008 #define HAVE_EXPLICIT 1
24014 { echo "$as_me:$LINENO: checking whether the compiler supports const_cast<>" >&5
24015 echo $ECHO_N "checking whether the compiler supports const_cast<>... $ECHO_C" >&6; }
24016 if test "${ac_cv_cxx_const_cast+set}" = set; then
24017 echo $ECHO_N "(cached) $ECHO_C" >&6
24021 ac_cpp='$CXXCPP $CPPFLAGS'
24022 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
24023 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
24024 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24026 cat >conftest.$ac_ext <<_ACEOF
24029 cat confdefs.h >>conftest.$ac_ext
24030 cat >>conftest.$ac_ext <<_ACEOF
24031 /* end confdefs.h. */
24036 int x = 0;const int& y = x;int& z = const_cast<int&>(y);return z;
24041 rm -f conftest.$ac_objext
24042 if { (ac_try="$ac_compile"
24043 case "(($ac_try" in
24044 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24045 *) ac_try_echo=$ac_try;;
24047 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24048 (eval "$ac_compile") 2>conftest.er1
24050 grep -v '^
*+' conftest.er1 >conftest.err
24052 cat conftest.err >&5
24053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24054 (exit $ac_status); } && {
24055 test -z "$ac_cxx_werror_flag" ||
24056 test ! -s conftest.err
24057 } && test -s conftest.$ac_objext; then
24058 ac_cv_cxx_const_cast=yes
24060 echo "$as_me: failed program was:" >&5
24061 sed 's
/^
/| /' conftest.$ac_ext >&5
24063 ac_cv_cxx_const_cast=no
24066 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24068 ac_cpp='$CPP $CPPFLAGS'
24069 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
24070 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
24071 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24075 { echo "$as_me:$LINENO: result: $ac_cv_cxx_const_cast" >&5
24076 echo "${ECHO_T}$ac_cv_cxx_const_cast" >&6; }
24077 if test "$ac_cv_cxx_const_cast" = yes; then
24079 cat >>confdefs.h <<\_ACEOF
24080 #define HAVE_CONST_CAST
24085 { echo "$as_me:$LINENO: checking whether the compiler supports reinterpret_cast<>" >&5
24086 echo $ECHO_N "checking whether the compiler supports reinterpret_cast<>... $ECHO_C" >&6; }
24087 if test "${ac_cv_cxx_reinterpret_cast+set}" = set; then
24088 echo $ECHO_N "(cached) $ECHO_C" >&6
24092 ac_cpp='$CXXCPP $CPPFLAGS'
24093 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
24094 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
24095 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24097 cat >conftest.$ac_ext <<_ACEOF
24100 cat confdefs.h >>conftest.$ac_ext
24101 cat >>conftest.$ac_ext <<_ACEOF
24102 /* end confdefs.h. */
24103 #include <typeinfo>
24104 class Base { public : Base () {} virtual void f () = 0;};
24105 class Derived : public Base { public : Derived () {} virtual void f () {} };
24106 class Unrelated { public : Unrelated () {} };
24107 int g (Unrelated&) { return 0; }
24112 Derived d;Base& b=d;Unrelated& e=reinterpret_cast<Unrelated&>(b);return g(e);
24117 rm -f conftest.$ac_objext
24118 if { (ac_try="$ac_compile"
24119 case "(($ac_try" in
24120 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24121 *) ac_try_echo=$ac_try;;
24123 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24124 (eval "$ac_compile") 2>conftest.er1
24126 grep -v '^
*+' conftest.er1 >conftest.err
24128 cat conftest.err >&5
24129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24130 (exit $ac_status); } && {
24131 test -z "$ac_cxx_werror_flag" ||
24132 test ! -s conftest.err
24133 } && test -s conftest.$ac_objext; then
24134 ac_cv_cxx_reinterpret_cast=yes
24136 echo "$as_me: failed program was:" >&5
24137 sed 's
/^
/| /' conftest.$ac_ext >&5
24139 ac_cv_cxx_reinterpret_cast=no
24142 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24144 ac_cpp='$CPP $CPPFLAGS'
24145 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
24146 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
24147 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24151 { echo "$as_me:$LINENO: result: $ac_cv_cxx_reinterpret_cast" >&5
24152 echo "${ECHO_T}$ac_cv_cxx_reinterpret_cast" >&6; }
24153 if test "$ac_cv_cxx_reinterpret_cast" = yes; then
24155 cat >>confdefs.h <<\_ACEOF
24156 #define HAVE_REINTERPRET_CAST
24161 { echo "$as_me:$LINENO: checking whether the compiler supports static_cast<>" >&5
24162 echo $ECHO_N "checking whether the compiler supports static_cast<>... $ECHO_C" >&6; }
24163 if test "${ac_cv_cxx_static_cast+set}" = set; then
24164 echo $ECHO_N "(cached) $ECHO_C" >&6
24168 ac_cpp='$CXXCPP $CPPFLAGS'
24169 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
24170 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
24171 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24173 cat >conftest.$ac_ext <<_ACEOF
24176 cat confdefs.h >>conftest.$ac_ext
24177 cat >>conftest.$ac_ext <<_ACEOF
24178 /* end confdefs.h. */
24179 #include <typeinfo>
24180 class Base { public : Base () {} virtual void f () = 0; };
24181 class Derived : public Base { public : Derived () {} virtual void f () {} };
24182 int g (Derived&) { return 0; }
24187 Derived d; Base& b = d; Derived& s = static_cast<Derived&> (b); return g (s);
24192 rm -f conftest.$ac_objext
24193 if { (ac_try="$ac_compile"
24194 case "(($ac_try" in
24195 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24196 *) ac_try_echo=$ac_try;;
24198 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24199 (eval "$ac_compile") 2>conftest.er1
24201 grep -v '^
*+' conftest.er1 >conftest.err
24203 cat conftest.err >&5
24204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24205 (exit $ac_status); } && {
24206 test -z "$ac_cxx_werror_flag" ||
24207 test ! -s conftest.err
24208 } && test -s conftest.$ac_objext; then
24209 ac_cv_cxx_static_cast=yes
24211 echo "$as_me: failed program was:" >&5
24212 sed 's
/^
/| /' conftest.$ac_ext >&5
24214 ac_cv_cxx_static_cast=no
24217 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24219 ac_cpp='$CPP $CPPFLAGS'
24220 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
24221 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
24222 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24226 { echo "$as_me:$LINENO: result: $ac_cv_cxx_static_cast" >&5
24227 echo "${ECHO_T}$ac_cv_cxx_static_cast" >&6; }
24228 if test "$ac_cv_cxx_static_cast" = yes; then
24230 cat >>confdefs.h <<\_ACEOF
24231 #define HAVE_STATIC_CAST
24237 if test "x$SUNCXX" = xyes; then
24238 CXXFLAGS="-features=tmplife $CXXFLAGS"
24241 if test "x$SUNCC" = xyes; then
24242 CFLAGS="-erroff=E_NO_EXPLICIT_TYPE_GIVEN $CFLAGS"
24245 if test "x$SGICC" = "xyes"; then
24246 CFLAGS="-woff 3970 $CFLAGS"
24248 if test "x$SGICXX" = "xyes"; then
24249 CXXFLAGS="-woff 3970 $CXXFLAGS"
24252 if test "x$HPCC" = "xyes"; then
24253 CFLAGS="+W 2011,2450 $CFLAGS"
24255 if test "x$HPCXX" = "xyes"; then
24256 CXXFLAGS="+W 2340 $CXXFLAGS"
24259 if test "x$COMPAQCXX" = "xyes"; then
24260 CXXFLAGS="-w0 -msg_disable basclsnondto,unrimpret,intconlosbit"
24264 ac_cpp='$CXXCPP $CPPFLAGS'
24265 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
24266 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
24267 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24270 if test "$wxUSE_STD_STRING" = "yes" -o "$wxUSE_STL" = "yes"; then
24271 if test "$wxUSE_UNICODE" = "yes"; then
24272 std_string="std::wstring"
24273 char_type="wchar_t"
24275 std_string="std::string"
24279 { echo "$as_me:$LINENO: checking for $std_string in <string>" >&5
24280 echo $ECHO_N "checking for $std_string in <string>... $ECHO_C" >&6; }
24281 if test "${wx_cv_class_stdstring+set}" = set; then
24282 echo $ECHO_N "(cached) $ECHO_C" >&6
24285 cat >conftest.$ac_ext <<_ACEOF
24288 cat confdefs.h >>conftest.$ac_ext
24289 cat >>conftest.$ac_ext <<_ACEOF
24290 /* end confdefs.h. */
24300 rm -f conftest.$ac_objext
24301 if { (ac_try="$ac_compile"
24302 case "(($ac_try" in
24303 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24304 *) ac_try_echo=$ac_try;;
24306 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24307 (eval "$ac_compile") 2>conftest.er1
24309 grep -v '^
*+' conftest.er1 >conftest.err
24311 cat conftest.err >&5
24312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24313 (exit $ac_status); } && {
24314 test -z "$ac_cxx_werror_flag" ||
24315 test ! -s conftest.err
24316 } && test -s conftest.$ac_objext; then
24317 wx_cv_class_stdstring=yes
24319 echo "$as_me: failed program was:" >&5
24320 sed 's
/^
/| /' conftest.$ac_ext >&5
24322 wx_cv_class_stdstring=no
24326 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24330 { echo "$as_me:$LINENO: result: $wx_cv_class_stdstring" >&5
24331 echo "${ECHO_T}$wx_cv_class_stdstring" >&6; }
24333 if test "$wx_cv_class_stdstring" = yes; then
24334 if test "$wxUSE_UNICODE" = "yes"; then
24335 cat >>confdefs.h <<\_ACEOF
24336 #define HAVE_STD_WSTRING 1
24341 { echo "$as_me:$LINENO: checking if std::basic_string<$char_type> works" >&5
24342 echo $ECHO_N "checking if std::basic_string<$char_type> works... $ECHO_C" >&6; }
24343 if test "${wx_cv_class_stdbasicstring+set}" = set; then
24344 echo $ECHO_N "(cached) $ECHO_C" >&6
24347 cat >conftest.$ac_ext <<_ACEOF
24350 cat confdefs.h >>conftest.$ac_ext
24351 cat >>conftest.$ac_ext <<_ACEOF
24352 /* end confdefs.h. */
24354 #ifdef HAVE_WCHAR_H
24356 # include <stddef.h>
24358 # include <wchar.h>
24360 #ifdef HAVE_STDLIB_H
24361 # include <stdlib.h>
24369 std::basic_string<$char_type> foo;
24370 const $char_type* dummy = foo.c_str();
24375 rm -f conftest.$ac_objext
24376 if { (ac_try="$ac_compile"
24377 case "(($ac_try" in
24378 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24379 *) ac_try_echo=$ac_try;;
24381 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24382 (eval "$ac_compile") 2>conftest.er1
24384 grep -v '^
*+' conftest.er1 >conftest.err
24386 cat conftest.err >&5
24387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24388 (exit $ac_status); } && {
24389 test -z "$ac_cxx_werror_flag" ||
24390 test ! -s conftest.err
24391 } && test -s conftest.$ac_objext; then
24392 wx_cv_class_stdbasicstring=yes
24394 echo "$as_me: failed program was:" >&5
24395 sed 's
/^
/| /' conftest.$ac_ext >&5
24397 wx_cv_class_stdbasicstring=no
24401 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24405 { echo "$as_me:$LINENO: result: $wx_cv_class_stdbasicstring" >&5
24406 echo "${ECHO_T}$wx_cv_class_stdbasicstring" >&6; }
24408 if test "$wx_cv_class_stdbasicstring" != yes; then
24409 if test "$wxUSE_STL" = "yes"; then
24410 { { echo "$as_me:$LINENO: error: Can't use
--enable-stl without
$std_string or std
::basic_string
<$char_type>" >&5
24411 echo "$as_me: error
: Can
't use --enable-stl without $std_string or std::basic_string<$char_type>" >&2;}
24412 { (exit 1); exit 1; }; }
24413 elif test "$wxUSE_STD_STRING" = "yes"; then
24414 { { echo "$as_me:$LINENO: error: Can't use
--enable-std_string without
$std_string or std
::basic_string
<$char_type>" >&5
24415 echo "$as_me: error
: Can
't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&2;}
24416 { (exit 1); exit 1; }; }
24418 { echo "$as_me:$LINENO: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&5
24419 echo "$as_me: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&2;}
24420 wxUSE_STD_STRING=no
24426 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
24427 { echo "$as_me:$LINENO: checking for std::istream" >&5
24428 echo $ECHO_N "checking for std::istream... $ECHO_C" >&6; }
24429 if test "${ac_cv_type_std__istream+set}" = set; then
24430 echo $ECHO_N "(cached) $ECHO_C" >&6
24432 cat >conftest.$ac_ext <<_ACEOF
24435 cat confdefs.h >>conftest.$ac_ext
24436 cat >>conftest.$ac_ext <<_ACEOF
24437 /* end confdefs.h. */
24438 #include <iostream>
24440 typedef std::istream ac__type_new_;
24444 if ((ac__type_new_ *) 0)
24446 if (sizeof (ac__type_new_))
24452 rm -f conftest.$ac_objext
24453 if { (ac_try="$ac_compile"
24454 case "(($ac_try" in
24455 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24456 *) ac_try_echo=$ac_try;;
24458 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24459 (eval "$ac_compile") 2>conftest.er1
24461 grep -v '^
*+' conftest.er1 >conftest.err
24463 cat conftest.err >&5
24464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24465 (exit $ac_status); } && {
24466 test -z "$ac_cxx_werror_flag" ||
24467 test ! -s conftest.err
24468 } && test -s conftest.$ac_objext; then
24469 ac_cv_type_std__istream=yes
24471 echo "$as_me: failed program was:" >&5
24472 sed 's
/^
/| /' conftest.$ac_ext >&5
24474 ac_cv_type_std__istream=no
24477 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24479 { echo "$as_me:$LINENO: result: $ac_cv_type_std__istream" >&5
24480 echo "${ECHO_T}$ac_cv_type_std__istream" >&6; }
24481 if test $ac_cv_type_std__istream = yes; then
24483 cat >>confdefs.h <<_ACEOF
24484 #define HAVE_STD__ISTREAM 1
24489 wxUSE_STD_IOSTREAM=no
24491 { echo "$as_me:$LINENO: checking for std::ostream" >&5
24492 echo $ECHO_N "checking for std::ostream... $ECHO_C" >&6; }
24493 if test "${ac_cv_type_std__ostream+set}" = set; then
24494 echo $ECHO_N "(cached) $ECHO_C" >&6
24496 cat >conftest.$ac_ext <<_ACEOF
24499 cat confdefs.h >>conftest.$ac_ext
24500 cat >>conftest.$ac_ext <<_ACEOF
24501 /* end confdefs.h. */
24502 #include <iostream>
24504 typedef std::ostream ac__type_new_;
24508 if ((ac__type_new_ *) 0)
24510 if (sizeof (ac__type_new_))
24516 rm -f conftest.$ac_objext
24517 if { (ac_try="$ac_compile"
24518 case "(($ac_try" in
24519 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24520 *) ac_try_echo=$ac_try;;
24522 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24523 (eval "$ac_compile") 2>conftest.er1
24525 grep -v '^
*+' conftest.er1 >conftest.err
24527 cat conftest.err >&5
24528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24529 (exit $ac_status); } && {
24530 test -z "$ac_cxx_werror_flag" ||
24531 test ! -s conftest.err
24532 } && test -s conftest.$ac_objext; then
24533 ac_cv_type_std__ostream=yes
24535 echo "$as_me: failed program was:" >&5
24536 sed 's
/^
/| /' conftest.$ac_ext >&5
24538 ac_cv_type_std__ostream=no
24541 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24543 { echo "$as_me:$LINENO: result: $ac_cv_type_std__ostream" >&5
24544 echo "${ECHO_T}$ac_cv_type_std__ostream" >&6; }
24545 if test $ac_cv_type_std__ostream = yes; then
24547 cat >>confdefs.h <<_ACEOF
24548 #define HAVE_STD__OSTREAM 1
24553 wxUSE_STD_IOSTREAM=no
24557 if test "$wxUSE_STD_IOSTREAM" != "yes"; then
24558 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
24559 { { echo "$as_me:$LINENO: error: Can't use
--enable-std_iostreams without std
::istream and std
::ostream
" >&5
24560 echo "$as_me: error
: Can
't use --enable-std_iostreams without std::istream and std::ostream" >&2;}
24561 { (exit 1); exit 1; }; }
24563 { echo "$as_me:$LINENO: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&5
24564 echo "$as_me: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&2;}
24569 if test "$wxUSE_STL" = "yes"; then
24570 { echo "$as_me:$LINENO: checking for basic STL functionality" >&5
24571 echo $ECHO_N "checking for basic STL functionality... $ECHO_C" >&6; }
24572 if test "${wx_cv_lib_stl+set}" = set; then
24573 echo $ECHO_N "(cached) $ECHO_C" >&6
24575 cat >conftest.$ac_ext <<_ACEOF
24578 cat confdefs.h >>conftest.$ac_ext
24579 cat >>conftest.$ac_ext <<_ACEOF
24580 /* end confdefs.h. */
24582 #include <functional>
24583 #include <algorithm>
24589 std::vector<int> moo;
24590 std::list<int> foo;
24591 std::vector<int>::iterator it =
24592 std::find_if(moo.begin(), moo.end(),
24593 std::bind2nd(std::less<int>(), 3));
24598 rm -f conftest.$ac_objext
24599 if { (ac_try="$ac_compile"
24600 case "(($ac_try" in
24601 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24602 *) ac_try_echo=$ac_try;;
24604 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24605 (eval "$ac_compile") 2>conftest.er1
24607 grep -v '^
*+' conftest.er1 >conftest.err
24609 cat conftest.err >&5
24610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24611 (exit $ac_status); } && {
24612 test -z "$ac_cxx_werror_flag" ||
24613 test ! -s conftest.err
24614 } && test -s conftest.$ac_objext; then
24617 echo "$as_me: failed program was:" >&5
24618 sed 's
/^
/| /' conftest.$ac_ext >&5
24624 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24627 { echo "$as_me:$LINENO: result: $wx_cv_lib_stl" >&5
24628 echo "${ECHO_T}$wx_cv_lib_stl" >&6; }
24630 if test "$wx_cv_lib_stl" != yes; then
24631 { { echo "$as_me:$LINENO: error: Can't use
--enable-stl as basic STL functionality is missing
" >&5
24632 echo "$as_me: error
: Can
't use --enable-stl as basic STL functionality is missing" >&2;}
24633 { (exit 1); exit 1; }; }
24636 { echo "$as_me:$LINENO: checking for compliant std::string::compare" >&5
24637 echo $ECHO_N "checking for compliant std::string::compare... $ECHO_C" >&6; }
24638 if test "${wx_cv_func_stdstring_compare+set}" = set; then
24639 echo $ECHO_N "(cached) $ECHO_C" >&6
24641 cat >conftest.$ac_ext <<_ACEOF
24644 cat confdefs.h >>conftest.$ac_ext
24645 cat >>conftest.$ac_ext <<_ACEOF
24646 /* end confdefs.h. */
24651 std::string foo, bar;
24653 foo.compare(1, 1, bar);
24654 foo.compare(1, 1, bar, 1, 1);
24656 foo.compare(1, 1, "");
24657 foo.compare(1, 1, "", 2);
24662 rm -f conftest.$ac_objext
24663 if { (ac_try="$ac_compile"
24664 case "(($ac_try" in
24665 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24666 *) ac_try_echo=$ac_try;;
24668 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24669 (eval "$ac_compile") 2>conftest.er1
24671 grep -v '^
*+' conftest.er1 >conftest.err
24673 cat conftest.err >&5
24674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24675 (exit $ac_status); } && {
24676 test -z "$ac_cxx_werror_flag" ||
24677 test ! -s conftest.err
24678 } && test -s conftest.$ac_objext; then
24679 wx_cv_func_stdstring_compare=yes
24681 echo "$as_me: failed program was:" >&5
24682 sed 's
/^
/| /' conftest.$ac_ext >&5
24684 wx_cv_func_stdstring_compare=no
24688 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24691 { echo "$as_me:$LINENO: result: $wx_cv_func_stdstring_compare" >&5
24692 echo "${ECHO_T}$wx_cv_func_stdstring_compare" >&6; }
24694 if test "$wx_cv_func_stdstring_compare" = yes; then
24695 cat >>confdefs.h <<\_ACEOF
24696 #define HAVE_STD_STRING_COMPARE 1
24701 if test "$wx_cv_class_gnuhashmapset" = yes; then
24702 cat >>confdefs.h <<\_ACEOF
24703 #define HAVE_EXT_HASH_MAP 1
24706 cat >>confdefs.h <<\_ACEOF
24707 #define HAVE_GNU_CXX_HASH_MAP 1
24712 { echo "$as_me:$LINENO: checking for unordered_map" >&5
24713 echo $ECHO_N "checking for unordered_map... $ECHO_C" >&6; }
24714 if test "${ac_cv_header_unordered_map+set}" = set; then
24715 echo $ECHO_N "(cached) $ECHO_C" >&6
24717 cat >conftest.$ac_ext <<_ACEOF
24720 cat confdefs.h >>conftest.$ac_ext
24721 cat >>conftest.$ac_ext <<_ACEOF
24722 /* end confdefs.h. */
24726 #include <unordered_map>
24728 rm -f conftest.$ac_objext
24729 if { (ac_try="$ac_compile"
24730 case "(($ac_try" in
24731 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24732 *) ac_try_echo=$ac_try;;
24734 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24735 (eval "$ac_compile") 2>conftest.er1
24737 grep -v '^
*+' conftest.er1 >conftest.err
24739 cat conftest.err >&5
24740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24741 (exit $ac_status); } && {
24742 test -z "$ac_cxx_werror_flag" ||
24743 test ! -s conftest.err
24744 } && test -s conftest.$ac_objext; then
24745 ac_cv_header_unordered_map=yes
24747 echo "$as_me: failed program was:" >&5
24748 sed 's
/^
/| /' conftest.$ac_ext >&5
24750 ac_cv_header_unordered_map=no
24753 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24755 { echo "$as_me:$LINENO: result: $ac_cv_header_unordered_map" >&5
24756 echo "${ECHO_T}$ac_cv_header_unordered_map" >&6; }
24757 if test $ac_cv_header_unordered_map = yes; then
24758 { echo "$as_me:$LINENO: checking for unordered_map and unordered_set in std" >&5
24759 echo $ECHO_N "checking for unordered_map and unordered_set in std... $ECHO_C" >&6; }
24760 if test "${wx_cv_class_stdunorderedmapset+set}" = set; then
24761 echo $ECHO_N "(cached) $ECHO_C" >&6
24763 cat >conftest.$ac_ext <<_ACEOF
24766 cat confdefs.h >>conftest.$ac_ext
24767 cat >>conftest.$ac_ext <<_ACEOF
24768 /* end confdefs.h. */
24769 #include <unordered_map>
24770 #include <unordered_set>
24774 std::unordered_map<double*, char*> test1;
24775 std::unordered_set<char*> test2;
24780 rm -f conftest.$ac_objext
24781 if { (ac_try="$ac_compile"
24782 case "(($ac_try" in
24783 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24784 *) ac_try_echo=$ac_try;;
24786 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24787 (eval "$ac_compile") 2>conftest.er1
24789 grep -v '^
*+' conftest.er1 >conftest.err
24791 cat conftest.err >&5
24792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24793 (exit $ac_status); } && {
24794 test -z "$ac_cxx_werror_flag" ||
24795 test ! -s conftest.err
24796 } && test -s conftest.$ac_objext; then
24797 wx_cv_class_stdunorderedmapset=yes
24799 echo "$as_me: failed program was:" >&5
24800 sed 's
/^
/| /' conftest.$ac_ext >&5
24802 wx_cv_class_stdunorderedmapset=no
24805 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24809 { echo "$as_me:$LINENO: result: $wx_cv_class_stdunorderedmapset" >&5
24810 echo "${ECHO_T}$wx_cv_class_stdunorderedmapset" >&6; }
24815 if test "$wx_cv_class_stdunorderedmapset" = yes; then
24816 cat >>confdefs.h <<\_ACEOF
24817 #define HAVE_STD_UNORDERED_MAP 1
24820 cat >>confdefs.h <<\_ACEOF
24821 #define HAVE_STD_UNORDERED_SET 1
24825 { echo "$as_me:$LINENO: checking for tr1/unordered_map" >&5
24826 echo $ECHO_N "checking for tr1/unordered_map... $ECHO_C" >&6; }
24827 if test "${ac_cv_header_tr1_unordered_map+set}" = set; then
24828 echo $ECHO_N "(cached) $ECHO_C" >&6
24830 cat >conftest.$ac_ext <<_ACEOF
24833 cat confdefs.h >>conftest.$ac_ext
24834 cat >>conftest.$ac_ext <<_ACEOF
24835 /* end confdefs.h. */
24839 #include <tr1/unordered_map>
24841 rm -f conftest.$ac_objext
24842 if { (ac_try="$ac_compile"
24843 case "(($ac_try" in
24844 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24845 *) ac_try_echo=$ac_try;;
24847 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24848 (eval "$ac_compile") 2>conftest.er1
24850 grep -v '^
*+' conftest.er1 >conftest.err
24852 cat conftest.err >&5
24853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24854 (exit $ac_status); } && {
24855 test -z "$ac_cxx_werror_flag" ||
24856 test ! -s conftest.err
24857 } && test -s conftest.$ac_objext; then
24858 ac_cv_header_tr1_unordered_map=yes
24860 echo "$as_me: failed program was:" >&5
24861 sed 's
/^
/| /' conftest.$ac_ext >&5
24863 ac_cv_header_tr1_unordered_map=no
24866 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24868 { echo "$as_me:$LINENO: result: $ac_cv_header_tr1_unordered_map" >&5
24869 echo "${ECHO_T}$ac_cv_header_tr1_unordered_map" >&6; }
24870 if test $ac_cv_header_tr1_unordered_map = yes; then
24871 { echo "$as_me:$LINENO: checking for unordered_map and unordered_set in std::tr1" >&5
24872 echo $ECHO_N "checking for unordered_map and unordered_set in std::tr1... $ECHO_C" >&6; }
24873 if test "${wx_cv_class_tr1unorderedmapset+set}" = set; then
24874 echo $ECHO_N "(cached) $ECHO_C" >&6
24876 cat >conftest.$ac_ext <<_ACEOF
24879 cat confdefs.h >>conftest.$ac_ext
24880 cat >>conftest.$ac_ext <<_ACEOF
24881 /* end confdefs.h. */
24882 #include <tr1/unordered_map>
24883 #include <tr1/unordered_set>
24887 std::tr1::unordered_map<double*, char*> test1;
24888 std::tr1::unordered_set<char*> test2;
24889 #if defined(__GNUC__) && (__GNUC__==4) && (__GNUC_MINOR__<2)
24890 #error can't use unordered_
{map
,set} with gcc
-4.
[01]: http
://gcc.gnu.org
/PR24389
24896 rm -f conftest.
$ac_objext
24897 if { (ac_try
="$ac_compile"
24898 case "(($ac_try" in
24899 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
24900 *) ac_try_echo=$ac_try;;
24902 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24903 (eval "$ac_compile") 2>conftest.er1
24905 grep -v '^ *+' conftest.er1 >conftest.err
24907 cat conftest.err >&5
24908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24909 (exit $ac_status); } && {
24910 test -z "$ac_cxx_werror_flag" ||
24911 test ! -s conftest.err
24912 } && test -s conftest.$ac_objext; then
24913 wx_cv_class_tr1unorderedmapset=yes
24915 echo "$as_me: failed program was:" >&5
24916 sed 's/^/| /' conftest.$ac_ext >&5
24918 wx_cv_class_tr1unorderedmapset=no
24921 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24925 { echo "$as_me:$LINENO: result: $wx_cv_class_tr1unorderedmapset" >&5
24926 echo "${ECHO_T}$wx_cv_class_tr1unorderedmapset" >&6; }
24931 if test "$wx_cv_class_tr1unorderedmapset" = yes; then
24932 cat >>confdefs.h <<\_ACEOF
24933 #define HAVE_TR1_UNORDERED_MAP 1
24936 cat >>confdefs.h <<\_ACEOF
24937 #define HAVE_TR1_UNORDERED_SET 1
24941 { echo "$as_me:$LINENO: checking for hash_map" >&5
24942 echo $ECHO_N "checking for hash_map... $ECHO_C" >&6; }
24943 if test "${ac_cv_header_hash_map+set}" = set; then
24944 echo $ECHO_N "(cached) $ECHO_C" >&6
24946 cat >conftest.$ac_ext <<_ACEOF
24949 cat confdefs.h >>conftest.$ac_ext
24950 cat >>conftest.$ac_ext <<_ACEOF
24951 /* end confdefs.h. */
24955 #include <hash_map>
24957 rm -f conftest.$ac_objext
24958 if { (ac_try="$ac_compile"
24959 case "(($ac_try" in
24960 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
24961 *) ac_try_echo
=$ac_try;;
24963 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24964 (eval "$ac_compile") 2>conftest.er1
24966 grep -v '^ *+' conftest.er1
>conftest.err
24968 cat conftest.err
>&5
24969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24970 (exit $ac_status); } && {
24971 test -z "$ac_cxx_werror_flag" ||
24972 test ! -s conftest.err
24973 } && test -s conftest.
$ac_objext; then
24974 ac_cv_header_hash_map
=yes
24976 echo "$as_me: failed program was:" >&5
24977 sed 's/^/| /' conftest.
$ac_ext >&5
24979 ac_cv_header_hash_map
=no
24982 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
24984 { echo "$as_me:$LINENO: result: $ac_cv_header_hash_map" >&5
24985 echo "${ECHO_T}$ac_cv_header_hash_map" >&6; }
24986 if test $ac_cv_header_hash_map = yes; then
24987 { echo "$as_me:$LINENO: checking for std::hash_map and hash_set" >&5
24988 echo $ECHO_N "checking for std::hash_map and hash_set... $ECHO_C" >&6; }
24989 if test "${wx_cv_class_stdhashmapset+set}" = set; then
24990 echo $ECHO_N "(cached) $ECHO_C" >&6
24992 cat >conftest.
$ac_ext <<_ACEOF
24995 cat confdefs.h
>>conftest.
$ac_ext
24996 cat >>conftest.
$ac_ext <<_ACEOF
24997 /* end confdefs.h. */
24998 #include <hash_map>
24999 #include <hash_set>
25003 std::hash_map<double*, char*, std::hash<double*>, std::equal_to<double*> > test1;
25004 std::hash_set<char*, std::hash<char*>, std::equal_to<char*> > test2;
25009 rm -f conftest.
$ac_objext
25010 if { (ac_try
="$ac_compile"
25011 case "(($ac_try" in
25012 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
25013 *) ac_try_echo=$ac_try;;
25015 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25016 (eval "$ac_compile") 2>conftest.er1
25018 grep -v '^ *+' conftest.er1 >conftest.err
25020 cat conftest.err >&5
25021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25022 (exit $ac_status); } && {
25023 test -z "$ac_cxx_werror_flag" ||
25024 test ! -s conftest.err
25025 } && test -s conftest.$ac_objext; then
25026 wx_cv_class_stdhashmapset=yes
25028 echo "$as_me: failed program was:" >&5
25029 sed 's/^/| /' conftest.$ac_ext >&5
25031 wx_cv_class_stdhashmapset=no
25034 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25038 { echo "$as_me:$LINENO: result: $wx_cv_class_stdhashmapset" >&5
25039 echo "${ECHO_T}$wx_cv_class_stdhashmapset" >&6; }
25044 if test "$wx_cv_class_stdhashmapset" = yes; then
25045 cat >>confdefs.h <<\_ACEOF
25046 #define HAVE_HASH_MAP 1
25049 cat >>confdefs.h <<\_ACEOF
25050 #define HAVE_STD_HASH_MAP 1
25055 { echo "$as_me:$LINENO: checking for ext/hash_map" >&5
25056 echo $ECHO_N "checking for ext/hash_map... $ECHO_C" >&6; }
25057 if test "${ac_cv_header_ext_hash_map+set}" = set; then
25058 echo $ECHO_N "(cached) $ECHO_C" >&6
25060 cat >conftest.$ac_ext <<_ACEOF
25063 cat confdefs.h >>conftest.$ac_ext
25064 cat >>conftest.$ac_ext <<_ACEOF
25065 /* end confdefs.h. */
25069 #include <ext/hash_map>
25071 rm -f conftest.$ac_objext
25072 if { (ac_try="$ac_compile"
25073 case "(($ac_try" in
25074 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
25075 *) ac_try_echo
=$ac_try;;
25077 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25078 (eval "$ac_compile") 2>conftest.er1
25080 grep -v '^ *+' conftest.er1
>conftest.err
25082 cat conftest.err
>&5
25083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25084 (exit $ac_status); } && {
25085 test -z "$ac_cxx_werror_flag" ||
25086 test ! -s conftest.err
25087 } && test -s conftest.
$ac_objext; then
25088 ac_cv_header_ext_hash_map
=yes
25090 echo "$as_me: failed program was:" >&5
25091 sed 's/^/| /' conftest.
$ac_ext >&5
25093 ac_cv_header_ext_hash_map
=no
25096 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
25098 { echo "$as_me:$LINENO: result: $ac_cv_header_ext_hash_map" >&5
25099 echo "${ECHO_T}$ac_cv_header_ext_hash_map" >&6; }
25100 if test $ac_cv_header_ext_hash_map = yes; then
25101 { echo "$as_me:$LINENO: checking for GNU hash_map and hash_set" >&5
25102 echo $ECHO_N "checking for GNU hash_map and hash_set... $ECHO_C" >&6; }
25103 if test "${wx_cv_class_gnuhashmapset+set}" = set; then
25104 echo $ECHO_N "(cached) $ECHO_C" >&6
25106 cat >conftest.
$ac_ext <<_ACEOF
25109 cat confdefs.h
>>conftest.
$ac_ext
25110 cat >>conftest.
$ac_ext <<_ACEOF
25111 /* end confdefs.h. */
25112 #include <ext/hash_map>
25113 #include <ext/hash_set>
25117 __gnu_cxx::hash_map<double*, char*, __gnu_cxx::hash<double*>, std::equal_to<double*> > test1;
25118 __gnu_cxx::hash_set<char*, __gnu_cxx::hash<char*>, std::equal_to<char*> > test2;
25123 rm -f conftest.
$ac_objext
25124 if { (ac_try
="$ac_compile"
25125 case "(($ac_try" in
25126 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
25127 *) ac_try_echo=$ac_try;;
25129 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25130 (eval "$ac_compile") 2>conftest.er1
25132 grep -v '^ *+' conftest.er1 >conftest.err
25134 cat conftest.err >&5
25135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25136 (exit $ac_status); } && {
25137 test -z "$ac_cxx_werror_flag" ||
25138 test ! -s conftest.err
25139 } && test -s conftest.$ac_objext; then
25140 wx_cv_class_gnuhashmapset=yes
25142 echo "$as_me: failed program was:" >&5
25143 sed 's/^/| /' conftest.$ac_ext >&5
25145 wx_cv_class_gnuhashmapset=no
25148 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25152 { echo "$as_me:$LINENO: result: $wx_cv_class_gnuhashmapset" >&5
25153 echo "${ECHO_T}$wx_cv_class_gnuhashmapset" >&6; }
25164 if test -n "$GCC"; then
25165 { echo "$as_me:$LINENO: checking for __sync_fetch_and_add and __sync_sub_and_fetch builtins" >&5
25166 echo $ECHO_N "checking for __sync_fetch_and_add and __sync_sub_and_fetch builtins... $ECHO_C" >&6; }
25167 if test "${wx_cv_cc_gcc_atomic_builtins+set}" = set; then
25168 echo $ECHO_N "(cached) $ECHO_C" >&6
25171 cat >conftest.$ac_ext <<_ACEOF
25174 cat confdefs.h >>conftest.$ac_ext
25175 cat >>conftest.$ac_ext <<_ACEOF
25176 /* end confdefs.h. */
25182 unsigned int value=0;
25183 /* wxAtomicInc doesn't use return value here */
25184 __sync_fetch_and_add(&value, 2);
25185 __sync_sub_and_fetch(&value, 1);
25186 /* but wxAtomicDec does, so mimic that: */
25187 unsigned int r2 = __sync_sub_and_fetch(&value, 1);
25193 rm -f conftest.$ac_objext conftest$ac_exeext
25194 if { (ac_try="$ac_link"
25195 case "(($ac_try" in
25196 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
25197 *) ac_try_echo
=$ac_try;;
25199 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25200 (eval "$ac_link") 2>conftest.er1
25202 grep -v '^ *+' conftest.er1
>conftest.err
25204 cat conftest.err
>&5
25205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25206 (exit $ac_status); } && {
25207 test -z "$ac_cxx_werror_flag" ||
25208 test ! -s conftest.err
25209 } && test -s conftest
$ac_exeext &&
25210 $as_test_x conftest
$ac_exeext; then
25211 wx_cv_cc_gcc_atomic_builtins
=yes
25213 echo "$as_me: failed program was:" >&5
25214 sed 's/^/| /' conftest.
$ac_ext >&5
25216 wx_cv_cc_gcc_atomic_builtins
=no
25219 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
25220 conftest
$ac_exeext conftest.
$ac_ext
25224 { echo "$as_me:$LINENO: result: $wx_cv_cc_gcc_atomic_builtins" >&5
25225 echo "${ECHO_T}$wx_cv_cc_gcc_atomic_builtins" >&6; }
25226 if test $wx_cv_cc_gcc_atomic_builtins = yes; then
25227 cat >>confdefs.h
<<\_ACEOF
25228 #define HAVE_GCC_ATOMIC_BUILTINS 1
25236 ac_cpp
='$CPP $CPPFLAGS'
25237 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25238 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25239 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
25244 /usr/local/include \
25245 /usr/local/X11/include \
25246 /usr/local/include/X11 \
25247 /usr/local/X11R6/include \
25248 /usr/local/include/X11R6 \
25250 /usr/Motif-2.1/include \
25251 /usr/Motif-1.2/include \
25252 /usr/include/Motif1.2 \
25255 /usr/openwin/include \
25259 /usr/X11R6/include \
25260 /usr/X11R6.4/include \
25262 /usr/include/X11R6 \
25267 /usr/XFree86/include/X11 \
25270 /usr/local/X1R5/include \
25271 /usr/local/include/X11R5 \
25272 /usr/X11R5/include \
25273 /usr/include/X11R5 \
25275 /usr/local/X11R4/include \
25276 /usr/local/include/X11R4 \
25277 /usr/X11R4/include \
25278 /usr/include/X11R4 \
25280 /usr/openwin/share/include"
25282 { echo "$as_me:$LINENO: checking for libraries directory" >&5
25283 echo $ECHO_N "checking for libraries directory... $ECHO_C" >&6; }
25287 if test "${wx_cv_std_libpath+set}" = set; then
25288 echo $ECHO_N "(cached) $ECHO_C" >&6
25291 for d
in /usr
/lib
/usr
/lib32
/usr
/lib
/64 /usr
/lib64
; do
25292 for e
in a so sl dylib dll.a
; do
25294 if test -f $libc; then
25297 cat >conftest.
$ac_ext <<_ACEOF
25298 int main() { return 0; }
25300 rm -f conftest.
$ac_objext conftest
$ac_exeext
25301 if { (ac_try
="$ac_link"
25302 case "(($ac_try" in
25303 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
25304 *) ac_try_echo=$ac_try;;
25306 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25307 (eval "$ac_link") 2>conftest.er1
25309 grep -v '^ *+' conftest.er1 >conftest.err
25311 cat conftest.err >&5
25312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25313 (exit $ac_status); } && {
25314 test -z "$ac_c_werror_flag" ||
25315 test ! -s conftest.err
25316 } && test -s conftest$ac_exeext &&
25317 $as_test_x conftest$ac_exeext; then
25318 wx_cv_std_libpath=`echo $d | sed s@
/usr
/@@
`
25320 echo "$as_me: failed program was:" >&5
25321 sed 's/^/| /' conftest.$ac_ext >&5
25326 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25327 conftest$ac_exeext conftest.$ac_ext
25329 if test "x$wx_cv_std_libpath" != "x"; then
25335 if test "x$wx_cv_std_libpath" = "x"; then
25336 wx_cv_std_libpath="lib"
25345 if test "$ac_cv_sizeof_void_p" = 8 -a -d "/usr/lib/64"; then
25346 wx_cv_std_libpath="lib/64"
25348 wx_cv_std_libpath="lib"
25353 if test "$ac_cv_sizeof_void_p" = 8 -a \
25354 -d "/usr/lib64" -a ! -h "/usr/lib64"; then
25355 wx_cv_std_libpath="lib64"
25357 wx_cv_std_libpath="lib"
25362 wx_cv_std_libpath="lib";
25366 { echo "$as_me:$LINENO: result: $wx_cv_std_libpath" >&5
25367 echo "${ECHO_T}$wx_cv_std_libpath" >&6; }
25369 SEARCH_LIB="`echo "$SEARCH_INCLUDE" | sed s@include@
$wx_cv_std_libpath@g
` /usr/$wx_cv_std_libpath"
25371 if test "$build" != "$host" -a "$GCC" = yes; then
25372 if cross_root=`$CC -print-prog-name=ld
2>/dev
/null
`; then
25373 cross_root=`dirname $cross_root`
25374 cross_root=`dirname $cross_root`
25376 SEARCH_LIB=`for x
in $SEARCH_LIB; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
25377 SEARCH_INCLUDE=`for x
in $SEARCH_INCLUDE; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
25378 SEARCH_INCLUDE="$SEARCH_INCLUDE $cross_root/include"
25380 if test -z "$PKG_CONFIG_PATH"; then
25381 PKG_CONFIG_PATH="$cross_root/local/lib/pkgconfig:$cross_root/lib/pkgconfig"
25382 export PKG_CONFIG_PATH
25385 if test -z "$x_includes" -o "$x_includes" = NONE; then
25388 for ac_dir in $SEARCH_INCLUDE /usr/include;
25390 if test -f "$ac_dir/X11/Intrinsic.h"; then
25391 ac_find_includes=$ac_dir
25396 x_includes=$ac_find_includes
25398 if test -z "$x_libraries" -o "$x_libraries" = NONE; then
25401 for ac_dir in $SEARCH_LIB;
25403 for ac_extension in a so sl dylib dll.a; do
25404 if test -f "$ac_dir/libXt.$ac_extension"; then
25405 ac_find_libraries=$ac_dir
25411 x_libraries=$ac_find_libraries
25417 cat >confcache <<\_ACEOF
25418 # This file is a shell script that caches the results of configure
25419 # tests run on this system so they can be shared between configure
25420 # scripts and configure runs, see configure's option --config-cache.
25421 # It is not useful on other systems. If it contains results you don't
25422 # want to keep, you may remove or edit it.
25424 # config.status only pays attention to the cache file if you give it
25425 # the --recheck option to rerun configure.
25427 # `ac_cv_env_foo
' variables (set or unset) will be overridden when
25428 # loading this file, other *unset* `ac_cv_foo' will be assigned the
25429 # following values.
25433 # The following way of writing the cache mishandles newlines in values,
25434 # but we know of no workaround that is simple, portable, and efficient.
25435 # So, we kill variables containing newlines.
25436 # Ultrix sh set writes to stderr and can't be redirected directly,
25437 # and sets the high bit in the cache file unless we assign to the vars.
25439 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
25440 eval ac_val
=\$
$ac_var
25444 *_cv_
*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
25445 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
25448 _
| IFS
| as_nl
) ;; #(
25449 *) $as_unset $ac_var ;;
25455 case $as_nl`(ac_space=' '; set) 2>&1` in #(
25456 *${as_nl}ac_space
=\
*)
25457 # `set' does not quote correctly, so add quotes (double-quote
25458 # substitution turns \\\\ into \\, and sed turns \\ into \).
25461 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
25464 # `set' quotes correctly as required by POSIX, so do not add quotes.
25465 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
25474 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
25476 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
25478 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
25479 if test -w "$cache_file"; then
25480 test "x$cache_file" != "x/dev/null" &&
25481 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
25482 echo "$as_me: updating cache $cache_file" >&6;}
25483 cat confcache
>$cache_file
25485 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
25486 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
25491 if test "$USE_LINUX" = 1 -o "$USE_GNU" = 1; then
25492 { echo "$as_me:$LINENO: checking for glibc 2.1 or later" >&5
25493 echo $ECHO_N "checking for glibc 2.1 or later... $ECHO_C" >&6; }
25494 if test "${wx_cv_lib_glibc21+set}" = set; then
25495 echo $ECHO_N "(cached) $ECHO_C" >&6
25498 cat >conftest.
$ac_ext <<_ACEOF
25501 cat confdefs.h
>>conftest.
$ac_ext
25502 cat >>conftest.
$ac_ext <<_ACEOF
25503 /* end confdefs.h. */
25504 #include <features.h>
25509 #if (__GLIBC__ < 2) || (__GLIBC_MINOR__ < 1)
25517 rm -f conftest.
$ac_objext
25518 if { (ac_try
="$ac_compile"
25519 case "(($ac_try" in
25520 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
25521 *) ac_try_echo=$ac_try;;
25523 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25524 (eval "$ac_compile") 2>conftest.er1
25526 grep -v '^ *+' conftest.er1 >conftest.err
25528 cat conftest.err >&5
25529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25530 (exit $ac_status); } && {
25531 test -z "$ac_c_werror_flag" ||
25532 test ! -s conftest.err
25533 } && test -s conftest.$ac_objext; then
25535 wx_cv_lib_glibc21=yes
25538 echo "$as_me: failed program was:" >&5
25539 sed 's/^/| /' conftest.$ac_ext >&5
25542 wx_cv_lib_glibc21=no
25547 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25550 { echo "$as_me:$LINENO: result: $wx_cv_lib_glibc21" >&5
25551 echo "${ECHO_T}$wx_cv_lib_glibc21" >&6; }
25552 if test "$wx_cv_lib_glibc21" = "yes"; then
25553 cat >>confdefs.h <<\_ACEOF
25554 #define wxHAVE_GLIBC2 1
25560 if test "x$wx_cv_lib_glibc21" = "xyes"; then
25561 if test "$wxUSE_UNICODE" = "yes" -o "$wxUSE_THREADS" = "yes"; then
25562 cat >>confdefs.h <<\_ACEOF
25563 #define _GNU_SOURCE 1
25574 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25575 { echo "$as_me:$LINENO: checking for $ac_func" >&5
25576 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
25577 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
25578 echo $ECHO_N "(cached) $ECHO_C" >&6
25580 cat >conftest.$ac_ext <<_ACEOF
25583 cat confdefs.h >>conftest.$ac_ext
25584 cat >>conftest.$ac_ext <<_ACEOF
25585 /* end confdefs.h. */
25586 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25587 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25588 #define $ac_func innocuous_$ac_func
25590 /* System header to define __stub macros and hopefully few prototypes,
25591 which can conflict with char $ac_func (); below.
25592 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25593 <limits.h> exists even on freestanding compilers. */
25596 # include <limits.h>
25598 # include <assert.h>
25603 /* Override any GCC internal prototype to avoid an error.
25604 Use char because int might match the return type of a GCC
25605 builtin and then its argument prototype would still apply. */
25610 /* The GNU C library defines this for functions which it implements
25611 to always fail with ENOSYS. Some functions are actually named
25612 something starting with __ and the normal name is an alias. */
25613 #if defined __stub_$ac_func || defined __stub___$ac_func
25620 return $ac_func ();
25625 rm -f conftest.$ac_objext conftest$ac_exeext
25626 if { (ac_try="$ac_link"
25627 case "(($ac_try" in
25628 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
25629 *) ac_try_echo
=$ac_try;;
25631 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25632 (eval "$ac_link") 2>conftest.er1
25634 grep -v '^ *+' conftest.er1
>conftest.err
25636 cat conftest.err
>&5
25637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25638 (exit $ac_status); } && {
25639 test -z "$ac_c_werror_flag" ||
25640 test ! -s conftest.err
25641 } && test -s conftest
$ac_exeext &&
25642 $as_test_x conftest
$ac_exeext; then
25643 eval "$as_ac_var=yes"
25645 echo "$as_me: failed program was:" >&5
25646 sed 's/^/| /' conftest.
$ac_ext >&5
25648 eval "$as_ac_var=no"
25651 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
25652 conftest
$ac_exeext conftest.
$ac_ext
25654 ac_res
=`eval echo '${'$as_ac_var'}'`
25655 { echo "$as_me:$LINENO: result: $ac_res" >&5
25656 echo "${ECHO_T}$ac_res" >&6; }
25657 if test `eval echo '${'$as_ac_var'}'` = yes; then
25658 cat >>confdefs.h
<<_ACEOF
25659 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25666 for ac_func
in floor
25668 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25669 { echo "$as_me:$LINENO: checking for $ac_func" >&5
25670 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
25671 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
25672 echo $ECHO_N "(cached) $ECHO_C" >&6
25674 cat >conftest.
$ac_ext <<_ACEOF
25677 cat confdefs.h
>>conftest.
$ac_ext
25678 cat >>conftest.
$ac_ext <<_ACEOF
25679 /* end confdefs.h. */
25680 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25681 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25682 #define $ac_func innocuous_$ac_func
25684 /* System header to define __stub macros and hopefully few prototypes,
25685 which can conflict with char $ac_func (); below.
25686 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25687 <limits.h> exists even on freestanding compilers. */
25690 # include <limits.h>
25692 # include <assert.h>
25697 /* Override any GCC internal prototype to avoid an error.
25698 Use char because int might match the return type of a GCC
25699 builtin and then its argument prototype would still apply. */
25704 /* The GNU C library defines this for functions which it implements
25705 to always fail with ENOSYS. Some functions are actually named
25706 something starting with __ and the normal name is an alias. */
25707 #if defined __stub_$ac_func || defined __stub___$ac_func
25714 return $ac_func ();
25719 rm -f conftest.
$ac_objext conftest
$ac_exeext
25720 if { (ac_try
="$ac_link"
25721 case "(($ac_try" in
25722 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
25723 *) ac_try_echo=$ac_try;;
25725 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25726 (eval "$ac_link") 2>conftest.er1
25728 grep -v '^ *+' conftest.er1 >conftest.err
25730 cat conftest.err >&5
25731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25732 (exit $ac_status); } && {
25733 test -z "$ac_c_werror_flag" ||
25734 test ! -s conftest.err
25735 } && test -s conftest$ac_exeext &&
25736 $as_test_x conftest$ac_exeext; then
25737 eval "$as_ac_var=yes"
25739 echo "$as_me: failed program was:" >&5
25740 sed 's/^/| /' conftest.$ac_ext >&5
25742 eval "$as_ac_var=no"
25745 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25746 conftest$ac_exeext conftest.$ac_ext
25748 ac_res=`eval echo '${'$as_ac_var'}'`
25749 { echo "$as_me:$LINENO: result: $ac_res" >&5
25750 echo "${ECHO_T}$ac_res" >&6; }
25751 if test `eval echo '${'$as_ac_var'}'` = yes; then
25752 cat >>confdefs.h <<_ACEOF
25753 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25759 { echo "$as_me:$LINENO: checking if floating point functions link without -lm" >&5
25760 echo $ECHO_N "checking if floating point functions link without -lm... $ECHO_C" >&6; }
25761 if test "$have_cos" = 1 -a "$have_floor" = 1; then
25762 { echo "$as_me:$LINENO: result: yes" >&5
25763 echo "${ECHO_T}yes" >&6; }
25765 { echo "$as_me:$LINENO: result: no" >&5
25766 echo "${ECHO_T}no" >&6; }
25768 # use different functions to avoid configure caching
25774 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25775 { echo "$as_me:$LINENO: checking for $ac_func" >&5
25776 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
25777 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
25778 echo $ECHO_N "(cached) $ECHO_C" >&6
25780 cat >conftest.$ac_ext <<_ACEOF
25783 cat confdefs.h >>conftest.$ac_ext
25784 cat >>conftest.$ac_ext <<_ACEOF
25785 /* end confdefs.h. */
25786 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25787 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25788 #define $ac_func innocuous_$ac_func
25790 /* System header to define __stub macros and hopefully few prototypes,
25791 which can conflict with char $ac_func (); below.
25792 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25793 <limits.h> exists even on freestanding compilers. */
25796 # include <limits.h>
25798 # include <assert.h>
25803 /* Override any GCC internal prototype to avoid an error.
25804 Use char because int might match the return type of a GCC
25805 builtin and then its argument prototype would still apply. */
25810 /* The GNU C library defines this for functions which it implements
25811 to always fail with ENOSYS. Some functions are actually named
25812 something starting with __ and the normal name is an alias. */
25813 #if defined __stub_$ac_func || defined __stub___$ac_func
25820 return $ac_func ();
25825 rm -f conftest.$ac_objext conftest$ac_exeext
25826 if { (ac_try="$ac_link"
25827 case "(($ac_try" in
25828 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
25829 *) ac_try_echo
=$ac_try;;
25831 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25832 (eval "$ac_link") 2>conftest.er1
25834 grep -v '^ *+' conftest.er1
>conftest.err
25836 cat conftest.err
>&5
25837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25838 (exit $ac_status); } && {
25839 test -z "$ac_c_werror_flag" ||
25840 test ! -s conftest.err
25841 } && test -s conftest
$ac_exeext &&
25842 $as_test_x conftest
$ac_exeext; then
25843 eval "$as_ac_var=yes"
25845 echo "$as_me: failed program was:" >&5
25846 sed 's/^/| /' conftest.
$ac_ext >&5
25848 eval "$as_ac_var=no"
25851 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
25852 conftest
$ac_exeext conftest.
$ac_ext
25854 ac_res
=`eval echo '${'$as_ac_var'}'`
25855 { echo "$as_me:$LINENO: result: $ac_res" >&5
25856 echo "${ECHO_T}$ac_res" >&6; }
25857 if test `eval echo '${'$as_ac_var'}'` = yes; then
25858 cat >>confdefs.h
<<_ACEOF
25859 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25866 for ac_func
in ceil
25868 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25869 { echo "$as_me:$LINENO: checking for $ac_func" >&5
25870 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
25871 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
25872 echo $ECHO_N "(cached) $ECHO_C" >&6
25874 cat >conftest.
$ac_ext <<_ACEOF
25877 cat confdefs.h
>>conftest.
$ac_ext
25878 cat >>conftest.
$ac_ext <<_ACEOF
25879 /* end confdefs.h. */
25880 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25881 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25882 #define $ac_func innocuous_$ac_func
25884 /* System header to define __stub macros and hopefully few prototypes,
25885 which can conflict with char $ac_func (); below.
25886 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25887 <limits.h> exists even on freestanding compilers. */
25890 # include <limits.h>
25892 # include <assert.h>
25897 /* Override any GCC internal prototype to avoid an error.
25898 Use char because int might match the return type of a GCC
25899 builtin and then its argument prototype would still apply. */
25904 /* The GNU C library defines this for functions which it implements
25905 to always fail with ENOSYS. Some functions are actually named
25906 something starting with __ and the normal name is an alias. */
25907 #if defined __stub_$ac_func || defined __stub___$ac_func
25914 return $ac_func ();
25919 rm -f conftest.
$ac_objext conftest
$ac_exeext
25920 if { (ac_try
="$ac_link"
25921 case "(($ac_try" in
25922 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
25923 *) ac_try_echo=$ac_try;;
25925 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25926 (eval "$ac_link") 2>conftest.er1
25928 grep -v '^ *+' conftest.er1 >conftest.err
25930 cat conftest.err >&5
25931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25932 (exit $ac_status); } && {
25933 test -z "$ac_c_werror_flag" ||
25934 test ! -s conftest.err
25935 } && test -s conftest$ac_exeext &&
25936 $as_test_x conftest$ac_exeext; then
25937 eval "$as_ac_var=yes"
25939 echo "$as_me: failed program was:" >&5
25940 sed 's/^/| /' conftest.$ac_ext >&5
25942 eval "$as_ac_var=no"
25945 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25946 conftest$ac_exeext conftest.$ac_ext
25948 ac_res=`eval echo '${'$as_ac_var'}'`
25949 { echo "$as_me:$LINENO: result: $ac_res" >&5
25950 echo "${ECHO_T}$ac_res" >&6; }
25951 if test `eval echo '${'$as_ac_var'}'` = yes; then
25952 cat >>confdefs.h <<_ACEOF
25953 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25959 { echo "$as_me:$LINENO: checking if floating point functions link with -lm" >&5
25960 echo $ECHO_N "checking if floating point functions link with -lm... $ECHO_C" >&6; }
25961 if test "$have_sin" = 1 -a "$have_ceil" = 1; then
25962 { echo "$as_me:$LINENO: result: yes" >&5
25963 echo "${ECHO_T}yes" >&6; }
25965 { echo "$as_me:$LINENO: result: no" >&5
25966 echo "${ECHO_T}no" >&6; }
25967 # not sure we should warn the user, crash, etc.
25972 ac_cpp='$CXXCPP $CPPFLAGS'
25973 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25974 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25975 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25977 if test "wxUSE_UNICODE" = "yes"; then
25979 for wx_func in wcstoull
25981 { echo "$as_me:$LINENO: checking for $wx_func" >&5
25982 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
25983 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
25984 echo $ECHO_N "(cached) $ECHO_C" >&6
25987 cat >conftest.$ac_ext <<_ACEOF
25991 cat confdefs.h >>conftest.$ac_ext
25992 cat >>conftest.$ac_ext <<_ACEOF
25993 /* end confdefs.h. */
25996 $ac_includes_default
26012 rm -f conftest.$ac_objext conftest$ac_exeext
26013 if { (ac_try="$ac_link"
26014 case "(($ac_try" in
26015 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
26016 *) ac_try_echo
=$ac_try;;
26018 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26019 (eval "$ac_link") 2>conftest.er1
26021 grep -v '^ *+' conftest.er1
>conftest.err
26023 cat conftest.err
>&5
26024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26025 (exit $ac_status); } && {
26026 test -z "$ac_cxx_werror_flag" ||
26027 test ! -s conftest.err
26028 } && test -s conftest
$ac_exeext &&
26029 $as_test_x conftest
$ac_exeext; then
26030 eval wx_cv_func_
$wx_func=yes
26032 echo "$as_me: failed program was:" >&5
26033 sed 's/^/| /' conftest.
$ac_ext >&5
26035 eval wx_cv_func_
$wx_func=no
26038 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
26039 conftest
$ac_exeext conftest.
$ac_ext
26042 ac_res
=`eval echo '${'wx_cv_func_$wx_func'}'`
26043 { echo "$as_me:$LINENO: result: $ac_res" >&5
26044 echo "${ECHO_T}$ac_res" >&6; }
26046 if eval test \
$wx_cv_func_$wx_func = yes
26048 cat >>confdefs.h
<<_ACEOF
26049 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
26061 for wx_func
in strtoull
26063 { echo "$as_me:$LINENO: checking for $wx_func" >&5
26064 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
26065 if { as_var
=wx_cv_func_
$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
26066 echo $ECHO_N "(cached) $ECHO_C" >&6
26069 cat >conftest.
$ac_ext <<_ACEOF
26073 cat confdefs.h
>>conftest.
$ac_ext
26074 cat >>conftest.
$ac_ext <<_ACEOF
26075 /* end confdefs.h. */
26078 $ac_includes_default
26094 rm -f conftest.
$ac_objext conftest
$ac_exeext
26095 if { (ac_try
="$ac_link"
26096 case "(($ac_try" in
26097 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
26098 *) ac_try_echo=$ac_try;;
26100 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26101 (eval "$ac_link") 2>conftest.er1
26103 grep -v '^ *+' conftest.er1 >conftest.err
26105 cat conftest.err >&5
26106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26107 (exit $ac_status); } && {
26108 test -z "$ac_cxx_werror_flag" ||
26109 test ! -s conftest.err
26110 } && test -s conftest$ac_exeext &&
26111 $as_test_x conftest$ac_exeext; then
26112 eval wx_cv_func_$wx_func=yes
26114 echo "$as_me: failed program was:" >&5
26115 sed 's/^/| /' conftest.$ac_ext >&5
26117 eval wx_cv_func_$wx_func=no
26120 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26121 conftest$ac_exeext conftest.$ac_ext
26124 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
26125 { echo "$as_me:$LINENO: result: $ac_res" >&5
26126 echo "${ECHO_T}$ac_res" >&6; }
26128 if eval test \$wx_cv_func_$wx_func = yes
26130 cat >>confdefs.h <<_ACEOF
26131 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
26143 ac_cpp='$CPP $CPPFLAGS'
26144 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26145 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26146 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26151 if test "$wxUSE_REGEX" != "no"; then
26152 cat >>confdefs.h <<\_ACEOF
26153 #define wxUSE_REGEX 1
26157 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_REGEX" = "yes"; then
26158 { echo "$as_me:$LINENO: WARNING: Defaulting to the builtin regex library for Unicode build." >&5
26159 echo "$as_me: WARNING: Defaulting to the builtin regex library for Unicode build." >&2;}
26160 wxUSE_REGEX=builtin
26163 if test "$wxUSE_REGEX" = "sys" -o "$wxUSE_REGEX" = "yes" ; then
26164 { echo "$as_me:$LINENO: checking for regex.h" >&5
26165 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6; }
26166 if test "${ac_cv_header_regex_h+set}" = set; then
26167 echo $ECHO_N "(cached) $ECHO_C" >&6
26169 cat >conftest.$ac_ext <<_ACEOF
26172 cat confdefs.h >>conftest.$ac_ext
26173 cat >>conftest.$ac_ext <<_ACEOF
26174 /* end confdefs.h. */
26179 rm -f conftest.$ac_objext
26180 if { (ac_try="$ac_compile"
26181 case "(($ac_try" in
26182 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
26183 *) ac_try_echo
=$ac_try;;
26185 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26186 (eval "$ac_compile") 2>conftest.er1
26188 grep -v '^ *+' conftest.er1
>conftest.err
26190 cat conftest.err
>&5
26191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26192 (exit $ac_status); } && {
26193 test -z "$ac_c_werror_flag" ||
26194 test ! -s conftest.err
26195 } && test -s conftest.
$ac_objext; then
26196 ac_cv_header_regex_h
=yes
26198 echo "$as_me: failed program was:" >&5
26199 sed 's/^/| /' conftest.
$ac_ext >&5
26201 ac_cv_header_regex_h
=no
26204 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
26206 { echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
26207 echo "${ECHO_T}$ac_cv_header_regex_h" >&6; }
26208 if test $ac_cv_header_regex_h = yes; then
26211 for ac_func
in regcomp re_search
26213 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26214 { echo "$as_me:$LINENO: checking for $ac_func" >&5
26215 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
26216 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
26217 echo $ECHO_N "(cached) $ECHO_C" >&6
26219 cat >conftest.
$ac_ext <<_ACEOF
26222 cat confdefs.h
>>conftest.
$ac_ext
26223 cat >>conftest.
$ac_ext <<_ACEOF
26224 /* end confdefs.h. */
26225 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
26226 For example, HP-UX 11i <limits.h> declares gettimeofday. */
26227 #define $ac_func innocuous_$ac_func
26229 /* System header to define __stub macros and hopefully few prototypes,
26230 which can conflict with char $ac_func (); below.
26231 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26232 <limits.h> exists even on freestanding compilers. */
26235 # include <limits.h>
26237 # include <assert.h>
26242 /* Override any GCC internal prototype to avoid an error.
26243 Use char because int might match the return type of a GCC
26244 builtin and then its argument prototype would still apply. */
26249 /* The GNU C library defines this for functions which it implements
26250 to always fail with ENOSYS. Some functions are actually named
26251 something starting with __ and the normal name is an alias. */
26252 #if defined __stub_$ac_func || defined __stub___$ac_func
26259 return $ac_func ();
26264 rm -f conftest.
$ac_objext conftest
$ac_exeext
26265 if { (ac_try
="$ac_link"
26266 case "(($ac_try" in
26267 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
26268 *) ac_try_echo=$ac_try;;
26270 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26271 (eval "$ac_link") 2>conftest.er1
26273 grep -v '^ *+' conftest.er1 >conftest.err
26275 cat conftest.err >&5
26276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26277 (exit $ac_status); } && {
26278 test -z "$ac_c_werror_flag" ||
26279 test ! -s conftest.err
26280 } && test -s conftest$ac_exeext &&
26281 $as_test_x conftest$ac_exeext; then
26282 eval "$as_ac_var=yes"
26284 echo "$as_me: failed program was:" >&5
26285 sed 's/^/| /' conftest.$ac_ext >&5
26287 eval "$as_ac_var=no"
26290 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26291 conftest$ac_exeext conftest.$ac_ext
26293 ac_res=`eval echo '${'$as_ac_var'}'`
26294 { echo "$as_me:$LINENO: result: $ac_res" >&5
26295 echo "${ECHO_T}$ac_res" >&6; }
26296 if test `eval echo '${'$as_ac_var'}'` = yes; then
26297 cat >>confdefs.h <<_ACEOF
26298 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26308 if test "x$ac_cv_func_regcomp" != "xyes"; then
26309 if test "$wxUSE_REGEX" = "sys" ; then
26310 { { echo "$as_me:$LINENO: error: system regex library not found! Use --with-regex to use built-in version" >&5
26311 echo "$as_me: error: system regex library not found! Use --with-regex to use built-in version" >&2;}
26312 { (exit 1); exit 1; }; }
26314 { echo "$as_me:$LINENO: WARNING: system regex library not found, will use built-in instead" >&5
26315 echo "$as_me: WARNING: system regex library not found, will use built-in instead" >&2;}
26316 wxUSE_REGEX=builtin
26320 cat >>confdefs.h <<\_ACEOF
26321 #define WX_NO_REGEX_ADVANCED 1
26330 if test "$wxUSE_ZLIB" != "no" ; then
26331 cat >>confdefs.h <<\_ACEOF
26332 #define wxUSE_ZLIB 1
26336 if test "$wxUSE_ZLIB" = "sys" -o "$wxUSE_ZLIB" = "yes" ; then
26337 if test "$USE_DARWIN" = 1; then
26338 system_zlib_h_ok="yes"
26340 { echo "$as_me:$LINENO: checking for zlib.h >= 1.1.4" >&5
26341 echo $ECHO_N "checking for zlib.h >= 1.1.4... $ECHO_C" >&6; }
26342 if test "${ac_cv_header_zlib_h+set}" = set; then
26343 echo $ECHO_N "(cached) $ECHO_C" >&6
26345 if test "$cross_compiling" = yes; then
26346 unset ac_cv_header_zlib_h
26349 cat >conftest.$ac_ext <<_ACEOF
26352 cat confdefs.h >>conftest.$ac_ext
26353 cat >>conftest.$ac_ext <<_ACEOF
26354 /* end confdefs.h. */
26361 FILE *f=fopen("conftestval", "w");
26364 ZLIB_VERSION[0] == '1' &&
26365 (ZLIB_VERSION[2] > '1' ||
26366 (ZLIB_VERSION[2] == '1' &&
26367 ZLIB_VERSION[4] >= '4')) ? "yes" : "no");
26372 rm -f conftest$ac_exeext
26373 if { (ac_try="$ac_link"
26374 case "(($ac_try" in
26375 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
26376 *) ac_try_echo
=$ac_try;;
26378 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26379 (eval "$ac_link") 2>&5
26381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26382 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
26383 { (case "(($ac_try" in
26384 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
26385 *) ac_try_echo=$ac_try;;
26387 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26388 (eval "$ac_try") 2>&5
26390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26391 (exit $ac_status); }; }; then
26392 ac_cv_header_zlib_h=`cat conftestval
`
26394 echo "$as_me: program exited with status $ac_status" >&5
26395 echo "$as_me: failed program was:" >&5
26396 sed 's/^/| /' conftest.$ac_ext >&5
26398 ( exit $ac_status )
26399 ac_cv_header_zlib_h=no
26401 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
26407 { echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
26408 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6; }
26409 { echo "$as_me:$LINENO: checking for zlib.h" >&5
26410 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6; }
26411 if test "${ac_cv_header_zlib_h+set}" = set; then
26412 echo $ECHO_N "(cached) $ECHO_C" >&6
26414 cat >conftest.$ac_ext <<_ACEOF
26417 cat confdefs.h >>conftest.$ac_ext
26418 cat >>conftest.$ac_ext <<_ACEOF
26419 /* end confdefs.h. */
26424 rm -f conftest.$ac_objext
26425 if { (ac_try="$ac_compile"
26426 case "(($ac_try" in
26427 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
26428 *) ac_try_echo
=$ac_try;;
26430 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26431 (eval "$ac_compile") 2>conftest.er1
26433 grep -v '^ *+' conftest.er1
>conftest.err
26435 cat conftest.err
>&5
26436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26437 (exit $ac_status); } && {
26438 test -z "$ac_c_werror_flag" ||
26439 test ! -s conftest.err
26440 } && test -s conftest.
$ac_objext; then
26441 ac_cv_header_zlib_h
=yes
26443 echo "$as_me: failed program was:" >&5
26444 sed 's/^/| /' conftest.
$ac_ext >&5
26446 ac_cv_header_zlib_h
=no
26449 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
26451 { echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
26452 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6; }
26456 system_zlib_h_ok
=$ac_cv_header_zlib_h
26459 if test "$system_zlib_h_ok" = "yes"; then
26460 { echo "$as_me:$LINENO: checking for deflate in -lz" >&5
26461 echo $ECHO_N "checking for deflate in -lz... $ECHO_C" >&6; }
26462 if test "${ac_cv_lib_z_deflate+set}" = set; then
26463 echo $ECHO_N "(cached) $ECHO_C" >&6
26465 ac_check_lib_save_LIBS
=$LIBS
26467 cat >conftest.
$ac_ext <<_ACEOF
26470 cat confdefs.h
>>conftest.
$ac_ext
26471 cat >>conftest.
$ac_ext <<_ACEOF
26472 /* end confdefs.h. */
26474 /* Override any GCC internal prototype to avoid an error.
26475 Use char because int might match the return type of a GCC
26476 builtin and then its argument prototype would still apply. */
26489 rm -f conftest.
$ac_objext conftest
$ac_exeext
26490 if { (ac_try
="$ac_link"
26491 case "(($ac_try" in
26492 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
26493 *) ac_try_echo=$ac_try;;
26495 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26496 (eval "$ac_link") 2>conftest.er1
26498 grep -v '^ *+' conftest.er1 >conftest.err
26500 cat conftest.err >&5
26501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26502 (exit $ac_status); } && {
26503 test -z "$ac_c_werror_flag" ||
26504 test ! -s conftest.err
26505 } && test -s conftest$ac_exeext &&
26506 $as_test_x conftest$ac_exeext; then
26507 ac_cv_lib_z_deflate=yes
26509 echo "$as_me: failed program was:" >&5
26510 sed 's/^/| /' conftest.$ac_ext >&5
26512 ac_cv_lib_z_deflate=no
26515 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26516 conftest$ac_exeext conftest.$ac_ext
26517 LIBS=$ac_check_lib_save_LIBS
26519 { echo "$as_me:$LINENO: result: $ac_cv_lib_z_deflate" >&5
26520 echo "${ECHO_T}$ac_cv_lib_z_deflate" >&6; }
26521 if test $ac_cv_lib_z_deflate = yes; then
26527 if test "x$ZLIB_LINK" = "x" ; then
26528 if test "$wxUSE_ZLIB" = "sys" ; then
26529 { { echo "$as_me:$LINENO: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&5
26530 echo "$as_me: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&2;}
26531 { (exit 1); exit 1; }; }
26533 { echo "$as_me:$LINENO: WARNING: zlib library not found or too old, will use built-in instead" >&5
26534 echo "$as_me: WARNING: zlib library not found or too old, will use built-in instead" >&2;}
26545 if test "$wxUSE_LIBPNG" != "no" ; then
26546 cat >>confdefs.h <<\_ACEOF
26547 #define wxUSE_LIBPNG 1
26551 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBPNG" = "builtin" ; then
26552 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&5
26553 echo "$as_me: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&2;}
26557 if test "$wxUSE_MGL" != 1 -a "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
26558 { echo "$as_me:$LINENO: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&5
26559 echo "$as_me: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&2;}
26560 wxUSE_LIBPNG=builtin
26563 if test "$wxUSE_MGL" != 1 ; then
26564 if test "$wxUSE_LIBPNG" = "sys" -o "$wxUSE_LIBPNG" = "yes" ; then
26565 { echo "$as_me:$LINENO: checking for png.h > 0.90" >&5
26566 echo $ECHO_N "checking for png.h > 0.90... $ECHO_C" >&6; }
26567 if test "${ac_cv_header_png_h+set}" = set; then
26568 echo $ECHO_N "(cached) $ECHO_C" >&6
26570 if test "$cross_compiling" = yes; then
26571 unset ac_cv_header_png_h
26574 cat >conftest.$ac_ext <<_ACEOF
26577 cat confdefs.h >>conftest.$ac_ext
26578 cat >>conftest.$ac_ext <<_ACEOF
26579 /* end confdefs.h. */
26586 FILE *f=fopen("conftestval", "w");
26589 PNG_LIBPNG_VER > 90 ? "yes" : "no");
26594 rm -f conftest$ac_exeext
26595 if { (ac_try="$ac_link"
26596 case "(($ac_try" in
26597 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
26598 *) ac_try_echo
=$ac_try;;
26600 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26601 (eval "$ac_link") 2>&5
26603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26604 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
26605 { (case "(($ac_try" in
26606 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
26607 *) ac_try_echo=$ac_try;;
26609 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26610 (eval "$ac_try") 2>&5
26612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26613 (exit $ac_status); }; }; then
26614 ac_cv_header_png_h=`cat conftestval
`
26616 echo "$as_me: program exited with status $ac_status" >&5
26617 echo "$as_me: failed program was:" >&5
26618 sed 's/^/| /' conftest.$ac_ext >&5
26620 ( exit $ac_status )
26621 ac_cv_header_png_h=no
26623 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
26629 { echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
26630 echo "${ECHO_T}$ac_cv_header_png_h" >&6; }
26631 { echo "$as_me:$LINENO: checking for png.h" >&5
26632 echo $ECHO_N "checking for png.h... $ECHO_C" >&6; }
26633 if test "${ac_cv_header_png_h+set}" = set; then
26634 echo $ECHO_N "(cached) $ECHO_C" >&6
26636 cat >conftest.$ac_ext <<_ACEOF
26639 cat confdefs.h >>conftest.$ac_ext
26640 cat >>conftest.$ac_ext <<_ACEOF
26641 /* end confdefs.h. */
26646 rm -f conftest.$ac_objext
26647 if { (ac_try="$ac_compile"
26648 case "(($ac_try" in
26649 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
26650 *) ac_try_echo
=$ac_try;;
26652 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26653 (eval "$ac_compile") 2>conftest.er1
26655 grep -v '^ *+' conftest.er1
>conftest.err
26657 cat conftest.err
>&5
26658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26659 (exit $ac_status); } && {
26660 test -z "$ac_c_werror_flag" ||
26661 test ! -s conftest.err
26662 } && test -s conftest.
$ac_objext; then
26663 ac_cv_header_png_h
=yes
26665 echo "$as_me: failed program was:" >&5
26666 sed 's/^/| /' conftest.
$ac_ext >&5
26668 ac_cv_header_png_h
=no
26671 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
26673 { echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
26674 echo "${ECHO_T}$ac_cv_header_png_h" >&6; }
26678 if test "$ac_cv_header_png_h" = "yes"; then
26679 { echo "$as_me:$LINENO: checking for png_check_sig in -lpng" >&5
26680 echo $ECHO_N "checking for png_check_sig in -lpng... $ECHO_C" >&6; }
26681 if test "${ac_cv_lib_png_png_check_sig+set}" = set; then
26682 echo $ECHO_N "(cached) $ECHO_C" >&6
26684 ac_check_lib_save_LIBS
=$LIBS
26685 LIBS
="-lpng -lz -lm $LIBS"
26686 cat >conftest.
$ac_ext <<_ACEOF
26689 cat confdefs.h
>>conftest.
$ac_ext
26690 cat >>conftest.
$ac_ext <<_ACEOF
26691 /* end confdefs.h. */
26693 /* Override any GCC internal prototype to avoid an error.
26694 Use char because int might match the return type of a GCC
26695 builtin and then its argument prototype would still apply. */
26699 char png_check_sig ();
26703 return png_check_sig ();
26708 rm -f conftest.
$ac_objext conftest
$ac_exeext
26709 if { (ac_try
="$ac_link"
26710 case "(($ac_try" in
26711 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
26712 *) ac_try_echo=$ac_try;;
26714 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26715 (eval "$ac_link") 2>conftest.er1
26717 grep -v '^ *+' conftest.er1 >conftest.err
26719 cat conftest.err >&5
26720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26721 (exit $ac_status); } && {
26722 test -z "$ac_c_werror_flag" ||
26723 test ! -s conftest.err
26724 } && test -s conftest$ac_exeext &&
26725 $as_test_x conftest$ac_exeext; then
26726 ac_cv_lib_png_png_check_sig=yes
26728 echo "$as_me: failed program was:" >&5
26729 sed 's/^/| /' conftest.$ac_ext >&5
26731 ac_cv_lib_png_png_check_sig=no
26734 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26735 conftest$ac_exeext conftest.$ac_ext
26736 LIBS=$ac_check_lib_save_LIBS
26738 { echo "$as_me:$LINENO: result: $ac_cv_lib_png_png_check_sig" >&5
26739 echo "${ECHO_T}$ac_cv_lib_png_png_check_sig" >&6; }
26740 if test $ac_cv_lib_png_png_check_sig = yes; then
26741 PNG_LINK=" -lpng -lz"
26746 if test "x$PNG_LINK" = "x" ; then
26747 if test "$wxUSE_LIBPNG" = "sys" ; then
26748 { { echo "$as_me:$LINENO: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&5
26749 echo "$as_me: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&2;}
26750 { (exit 1); exit 1; }; }
26752 { echo "$as_me:$LINENO: WARNING: system png library not found or too old, will use built-in instead" >&5
26753 echo "$as_me: WARNING: system png library not found or too old, will use built-in instead" >&2;}
26754 wxUSE_LIBPNG=builtin
26765 if test "$wxUSE_LIBJPEG" != "no" ; then
26766 cat >>confdefs.h <<\_ACEOF
26767 #define wxUSE_LIBJPEG 1
26771 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBJPEG" = "builtin" ; then
26772 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&5
26773 echo "$as_me: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&2;}
26777 if test "$wxUSE_MGL" != 1 ; then
26778 if test "$wxUSE_LIBJPEG" = "sys" -o "$wxUSE_LIBJPEG" = "yes" ; then
26779 { echo "$as_me:$LINENO: checking for jpeglib.h" >&5
26780 echo $ECHO_N "checking for jpeglib.h... $ECHO_C" >&6; }
26781 if test "${ac_cv_header_jpeglib_h+set}" = set; then
26782 echo $ECHO_N "(cached) $ECHO_C" >&6
26784 cat >conftest.$ac_ext <<_ACEOF
26787 cat confdefs.h >>conftest.$ac_ext
26788 cat >>conftest.$ac_ext <<_ACEOF
26789 /* end confdefs.h. */
26791 #undef HAVE_STDLIB_H
26793 #include <jpeglib.h>
26804 rm -f conftest.$ac_objext
26805 if { (ac_try="$ac_compile"
26806 case "(($ac_try" in
26807 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
26808 *) ac_try_echo
=$ac_try;;
26810 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26811 (eval "$ac_compile") 2>conftest.er1
26813 grep -v '^ *+' conftest.er1
>conftest.err
26815 cat conftest.err
>&5
26816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26817 (exit $ac_status); } && {
26818 test -z "$ac_c_werror_flag" ||
26819 test ! -s conftest.err
26820 } && test -s conftest.
$ac_objext; then
26821 ac_cv_header_jpeglib_h
=yes
26823 echo "$as_me: failed program was:" >&5
26824 sed 's/^/| /' conftest.
$ac_ext >&5
26826 ac_cv_header_jpeglib_h
=no
26830 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
26834 { echo "$as_me:$LINENO: result: $ac_cv_header_jpeglib_h" >&5
26835 echo "${ECHO_T}$ac_cv_header_jpeglib_h" >&6; }
26837 if test "$ac_cv_header_jpeglib_h" = "yes"; then
26838 { echo "$as_me:$LINENO: checking for jpeg_read_header in -ljpeg" >&5
26839 echo $ECHO_N "checking for jpeg_read_header in -ljpeg... $ECHO_C" >&6; }
26840 if test "${ac_cv_lib_jpeg_jpeg_read_header+set}" = set; then
26841 echo $ECHO_N "(cached) $ECHO_C" >&6
26843 ac_check_lib_save_LIBS
=$LIBS
26844 LIBS
="-ljpeg $LIBS"
26845 cat >conftest.
$ac_ext <<_ACEOF
26848 cat confdefs.h
>>conftest.
$ac_ext
26849 cat >>conftest.
$ac_ext <<_ACEOF
26850 /* end confdefs.h. */
26852 /* Override any GCC internal prototype to avoid an error.
26853 Use char because int might match the return type of a GCC
26854 builtin and then its argument prototype would still apply. */
26858 char jpeg_read_header ();
26862 return jpeg_read_header ();
26867 rm -f conftest.
$ac_objext conftest
$ac_exeext
26868 if { (ac_try
="$ac_link"
26869 case "(($ac_try" in
26870 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
26871 *) ac_try_echo=$ac_try;;
26873 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26874 (eval "$ac_link") 2>conftest.er1
26876 grep -v '^ *+' conftest.er1 >conftest.err
26878 cat conftest.err >&5
26879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26880 (exit $ac_status); } && {
26881 test -z "$ac_c_werror_flag" ||
26882 test ! -s conftest.err
26883 } && test -s conftest$ac_exeext &&
26884 $as_test_x conftest$ac_exeext; then
26885 ac_cv_lib_jpeg_jpeg_read_header=yes
26887 echo "$as_me: failed program was:" >&5
26888 sed 's/^/| /' conftest.$ac_ext >&5
26890 ac_cv_lib_jpeg_jpeg_read_header=no
26893 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26894 conftest$ac_exeext conftest.$ac_ext
26895 LIBS=$ac_check_lib_save_LIBS
26897 { echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jpeg_read_header" >&5
26898 echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_read_header" >&6; }
26899 if test $ac_cv_lib_jpeg_jpeg_read_header = yes; then
26900 JPEG_LINK=" -ljpeg"
26905 if test "x$JPEG_LINK" = "x" ; then
26906 if test "$wxUSE_LIBJPEG" = "sys" ; then
26907 { { echo "$as_me:$LINENO: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&5
26908 echo "$as_me: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&2;}
26909 { (exit 1); exit 1; }; }
26911 { echo "$as_me:$LINENO: WARNING: system jpeg library not found, will use built-in instead" >&5
26912 echo "$as_me: WARNING: system jpeg library not found, will use built-in instead" >&2;}
26913 wxUSE_LIBJPEG=builtin
26918 if test "$wxUSE_MSW" = 1; then
26919 { echo "$as_me:$LINENO: checking for boolean" >&5
26920 echo $ECHO_N "checking for boolean... $ECHO_C" >&6; }
26921 if test "${ac_cv_type_boolean+set}" = set; then
26922 echo $ECHO_N "(cached) $ECHO_C" >&6
26924 cat >conftest.$ac_ext <<_ACEOF
26927 cat confdefs.h >>conftest.$ac_ext
26928 cat >>conftest.$ac_ext <<_ACEOF
26929 /* end confdefs.h. */
26930 #include <windows.h>
26932 typedef boolean ac__type_new_;
26936 if ((ac__type_new_ *) 0)
26938 if (sizeof (ac__type_new_))
26944 rm -f conftest.$ac_objext
26945 if { (ac_try="$ac_compile"
26946 case "(($ac_try" in
26947 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
26948 *) ac_try_echo
=$ac_try;;
26950 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26951 (eval "$ac_compile") 2>conftest.er1
26953 grep -v '^ *+' conftest.er1
>conftest.err
26955 cat conftest.err
>&5
26956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26957 (exit $ac_status); } && {
26958 test -z "$ac_c_werror_flag" ||
26959 test ! -s conftest.err
26960 } && test -s conftest.
$ac_objext; then
26961 ac_cv_type_boolean
=yes
26963 echo "$as_me: failed program was:" >&5
26964 sed 's/^/| /' conftest.
$ac_ext >&5
26966 ac_cv_type_boolean
=no
26969 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
26971 { echo "$as_me:$LINENO: result: $ac_cv_type_boolean" >&5
26972 echo "${ECHO_T}$ac_cv_type_boolean" >&6; }
26973 if test $ac_cv_type_boolean = yes; then
26975 cat >>confdefs.h
<<_ACEOF
26976 #define HAVE_BOOLEAN 1
26980 { echo "$as_me:$LINENO: checking for boolean" >&5
26981 echo $ECHO_N "checking for boolean... $ECHO_C" >&6; }
26982 if test "${ac_cv_type_boolean+set}" = set; then
26983 echo $ECHO_N "(cached) $ECHO_C" >&6
26985 cat >conftest.
$ac_ext <<_ACEOF
26988 cat confdefs.h
>>conftest.
$ac_ext
26989 cat >>conftest.
$ac_ext <<_ACEOF
26990 /* end confdefs.h. */
26992 #undef HAVE_BOOLEAN
26994 #include <jpeglib.h>
26997 typedef boolean ac__type_new_;
27001 if ((ac__type_new_ *) 0)
27003 if (sizeof (ac__type_new_))
27009 rm -f conftest.
$ac_objext
27010 if { (ac_try
="$ac_compile"
27011 case "(($ac_try" in
27012 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
27013 *) ac_try_echo=$ac_try;;
27015 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27016 (eval "$ac_compile") 2>conftest.er1
27018 grep -v '^ *+' conftest.er1 >conftest.err
27020 cat conftest.err >&5
27021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27022 (exit $ac_status); } && {
27023 test -z "$ac_c_werror_flag" ||
27024 test ! -s conftest.err
27025 } && test -s conftest.$ac_objext; then
27026 ac_cv_type_boolean=yes
27028 echo "$as_me: failed program was:" >&5
27029 sed 's/^/| /' conftest.$ac_ext >&5
27031 ac_cv_type_boolean=no
27034 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27036 { echo "$as_me:$LINENO: result: $ac_cv_type_boolean" >&5
27037 echo "${ECHO_T}$ac_cv_type_boolean" >&6; }
27039 # The cast to long int works around a bug in the HP C Compiler
27040 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
27041 # declarations like `int a3
[[(sizeof
(unsigned char
)) >= 0]];'.
27042 # This bug is HP SR number 8606223364.
27043 { echo "$as_me:$LINENO: checking size of boolean" >&5
27044 echo $ECHO_N "checking size of boolean... $ECHO_C" >&6; }
27045 if test "${ac_cv_sizeof_boolean+set}" = set; then
27046 echo $ECHO_N "(cached) $ECHO_C" >&6
27048 if test "$cross_compiling" = yes; then
27049 # Depending upon the size, compute the lo and hi bounds.
27050 cat >conftest.$ac_ext <<_ACEOF
27053 cat confdefs.h >>conftest.$ac_ext
27054 cat >>conftest.$ac_ext <<_ACEOF
27055 /* end confdefs.h. */
27057 #undef HAVE_BOOLEAN
27059 #include <jpeglib.h>
27062 typedef boolean ac__type_sizeof_;
27066 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
27073 rm -f conftest.$ac_objext
27074 if { (ac_try="$ac_compile"
27075 case "(($ac_try" in
27076 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27077 *) ac_try_echo=$ac_try;;
27079 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27080 (eval "$ac_compile") 2>conftest.er1
27082 grep -v '^
*+' conftest.er1 >conftest.err
27084 cat conftest.err >&5
27085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27086 (exit $ac_status); } && {
27087 test -z "$ac_c_werror_flag" ||
27088 test ! -s conftest.err
27089 } && test -s conftest.$ac_objext; then
27092 cat >conftest.$ac_ext <<_ACEOF
27095 cat confdefs.h >>conftest.$ac_ext
27096 cat >>conftest.$ac_ext <<_ACEOF
27097 /* end confdefs.h. */
27099 #undef HAVE_BOOLEAN
27101 #include <jpeglib.h>
27104 typedef boolean ac__type_sizeof_;
27108 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
27115 rm -f conftest.$ac_objext
27116 if { (ac_try="$ac_compile"
27117 case "(($ac_try" in
27118 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27119 *) ac_try_echo=$ac_try;;
27121 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27122 (eval "$ac_compile") 2>conftest.er1
27124 grep -v '^
*+' conftest.er1 >conftest.err
27126 cat conftest.err >&5
27127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27128 (exit $ac_status); } && {
27129 test -z "$ac_c_werror_flag" ||
27130 test ! -s conftest.err
27131 } && test -s conftest.$ac_objext; then
27132 ac_hi=$ac_mid; break
27134 echo "$as_me: failed program was:" >&5
27135 sed 's
/^
/| /' conftest.$ac_ext >&5
27137 ac_lo=`expr $ac_mid + 1`
27138 if test $ac_lo -le $ac_mid; then
27142 ac_mid=`expr 2 '*' $ac_mid + 1`
27145 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27148 echo "$as_me: failed program was:" >&5
27149 sed 's
/^
/| /' conftest.$ac_ext >&5
27151 cat >conftest.$ac_ext <<_ACEOF
27154 cat confdefs.h >>conftest.$ac_ext
27155 cat >>conftest.$ac_ext <<_ACEOF
27156 /* end confdefs.h. */
27158 #undef HAVE_BOOLEAN
27160 #include <jpeglib.h>
27163 typedef boolean ac__type_sizeof_;
27167 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
27174 rm -f conftest.$ac_objext
27175 if { (ac_try="$ac_compile"
27176 case "(($ac_try" in
27177 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27178 *) ac_try_echo=$ac_try;;
27180 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27181 (eval "$ac_compile") 2>conftest.er1
27183 grep -v '^
*+' conftest.er1 >conftest.err
27185 cat conftest.err >&5
27186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27187 (exit $ac_status); } && {
27188 test -z "$ac_c_werror_flag" ||
27189 test ! -s conftest.err
27190 } && test -s conftest.$ac_objext; then
27193 cat >conftest.$ac_ext <<_ACEOF
27196 cat confdefs.h >>conftest.$ac_ext
27197 cat >>conftest.$ac_ext <<_ACEOF
27198 /* end confdefs.h. */
27200 #undef HAVE_BOOLEAN
27202 #include <jpeglib.h>
27205 typedef boolean ac__type_sizeof_;
27209 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
27216 rm -f conftest.$ac_objext
27217 if { (ac_try="$ac_compile"
27218 case "(($ac_try" in
27219 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27220 *) ac_try_echo=$ac_try;;
27222 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27223 (eval "$ac_compile") 2>conftest.er1
27225 grep -v '^
*+' conftest.er1 >conftest.err
27227 cat conftest.err >&5
27228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27229 (exit $ac_status); } && {
27230 test -z "$ac_c_werror_flag" ||
27231 test ! -s conftest.err
27232 } && test -s conftest.$ac_objext; then
27233 ac_lo=$ac_mid; break
27235 echo "$as_me: failed program was:" >&5
27236 sed 's
/^
/| /' conftest.$ac_ext >&5
27238 ac_hi=`expr '(' $ac_mid ')' - 1`
27239 if test $ac_mid -le $ac_hi; then
27243 ac_mid=`expr 2 '*' $ac_mid`
27246 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27249 echo "$as_me: failed program was:" >&5
27250 sed 's
/^
/| /' conftest.$ac_ext >&5
27255 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27258 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27259 # Binary search between lo and hi bounds.
27260 while test "x$ac_lo" != "x$ac_hi"; do
27261 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
27262 cat >conftest.$ac_ext <<_ACEOF
27265 cat confdefs.h >>conftest.$ac_ext
27266 cat >>conftest.$ac_ext <<_ACEOF
27267 /* end confdefs.h. */
27269 #undef HAVE_BOOLEAN
27271 #include <jpeglib.h>
27274 typedef boolean ac__type_sizeof_;
27278 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
27285 rm -f conftest.$ac_objext
27286 if { (ac_try="$ac_compile"
27287 case "(($ac_try" in
27288 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27289 *) ac_try_echo=$ac_try;;
27291 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27292 (eval "$ac_compile") 2>conftest.er1
27294 grep -v '^
*+' conftest.er1 >conftest.err
27296 cat conftest.err >&5
27297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27298 (exit $ac_status); } && {
27299 test -z "$ac_c_werror_flag" ||
27300 test ! -s conftest.err
27301 } && test -s conftest.$ac_objext; then
27304 echo "$as_me: failed program was:" >&5
27305 sed 's
/^
/| /' conftest.$ac_ext >&5
27307 ac_lo=`expr '(' $ac_mid ')' + 1`
27310 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27313 ?*) ac_cv_sizeof_boolean=$ac_lo;;
27314 '') if test "$ac_cv_type_boolean" = yes; then
27315 { { echo "$as_me:$LINENO: error: cannot compute sizeof (boolean)
27316 See \`config.log' for more details.
" >&5
27317 echo "$as_me: error
: cannot compute sizeof
(boolean
)
27318 See \
`config.log' for more details." >&2;}
27319 { (exit 77); exit 77; }; }
27321 ac_cv_sizeof_boolean=0
27325 cat >conftest.$ac_ext <<_ACEOF
27328 cat confdefs.h >>conftest.$ac_ext
27329 cat >>conftest.$ac_ext <<_ACEOF
27330 /* end confdefs.h. */
27332 #undef HAVE_BOOLEAN
27334 #include <jpeglib.h>
27337 typedef boolean ac__type_sizeof_;
27338 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
27339 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
27341 #include <stdlib.h>
27346 FILE *f = fopen ("conftest.val", "w");
27349 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
27351 long int i = longval ();
27352 if (i != ((long int) (sizeof (ac__type_sizeof_))))
27354 fprintf (f, "%ld\n", i);
27358 unsigned long int i = ulongval ();
27359 if (i != ((long int) (sizeof (ac__type_sizeof_))))
27361 fprintf (f, "%lu\n", i);
27363 return ferror (f) || fclose (f) != 0;
27369 rm -f conftest$ac_exeext
27370 if { (ac_try="$ac_link"
27371 case "(($ac_try" in
27372 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
27373 *) ac_try_echo
=$ac_try;;
27375 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27376 (eval "$ac_link") 2>&5
27378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27379 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
27380 { (case "(($ac_try" in
27381 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
27382 *) ac_try_echo=$ac_try;;
27384 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27385 (eval "$ac_try") 2>&5
27387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27388 (exit $ac_status); }; }; then
27389 ac_cv_sizeof_boolean=`cat conftest.val
`
27391 echo "$as_me: program exited with status $ac_status" >&5
27392 echo "$as_me: failed program was:" >&5
27393 sed 's/^/| /' conftest.$ac_ext >&5
27395 ( exit $ac_status )
27396 if test "$ac_cv_type_boolean" = yes; then
27397 { { echo "$as_me:$LINENO: error: cannot compute sizeof (boolean)
27398 See \`config.log
' for more details." >&5
27399 echo "$as_me: error: cannot compute sizeof (boolean)
27400 See \`config.log' for more details.
" >&2;}
27401 { (exit 77); exit 77; }; }
27403 ac_cv_sizeof_boolean=0
27406 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
27410 { echo "$as_me:$LINENO: result
: $ac_cv_sizeof_boolean" >&5
27411 echo "${ECHO_T}$ac_cv_sizeof_boolean" >&6; }
27415 cat >>confdefs.h <<_ACEOF
27416 #define SIZEOF_BOOLEAN $ac_cv_sizeof_boolean
27420 cat >>confdefs.h <<_ACEOF
27421 #define wxHACK_BOOLEAN wxInt`expr 8 \* $ac_cv_sizeof_boolean`
27435 TIFF_PREREQ_LINKS=-lm
27436 if test "$wxUSE_LIBTIFF" != "no
" ; then
27437 cat >>confdefs.h <<\_ACEOF
27438 #define wxUSE_LIBTIFF 1
27442 if test "$wxUSE_LIBTIFF" = "sys
" -o "$wxUSE_LIBTIFF" = "yes" ; then
27443 if test "$wxUSE_LIBJPEG" = "sys
"; then
27444 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $JPEG_LINK"
27446 if test "$wxUSE_ZLIB" = "sys
"; then
27447 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $ZLIB_LINK"
27449 { echo "$as_me:$LINENO: checking
for tiffio.h
" >&5
27450 echo $ECHO_N "checking
for tiffio.h...
$ECHO_C" >&6; }
27451 if test "${ac_cv_header_tiffio_h+set}" = set; then
27452 echo $ECHO_N "(cached
) $ECHO_C" >&6
27454 cat >conftest.$ac_ext <<_ACEOF
27457 cat confdefs.h >>conftest.$ac_ext
27458 cat >>conftest.$ac_ext <<_ACEOF
27459 /* end confdefs.h. */
27463 #include <tiffio.h>
27465 rm -f conftest.$ac_objext
27466 if { (ac_try="$ac_compile"
27467 case "(($ac_try" in
27468 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27469 *) ac_try_echo=$ac_try;;
27471 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
27472 (eval "$ac_compile") 2>conftest.er1
27474 grep -v '^ *+' conftest.er1 >conftest.err
27476 cat conftest.err >&5
27477 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
27478 (exit $ac_status); } && {
27479 test -z "$ac_c_werror_flag" ||
27480 test ! -s conftest.err
27481 } && test -s conftest.$ac_objext; then
27482 ac_cv_header_tiffio_h=yes
27484 echo "$as_me: failed program was
:" >&5
27485 sed 's/^/| /' conftest.$ac_ext >&5
27487 ac_cv_header_tiffio_h=no
27490 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27492 { echo "$as_me:$LINENO: result
: $ac_cv_header_tiffio_h" >&5
27493 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6; }
27494 if test $ac_cv_header_tiffio_h = yes; then
27496 { echo "$as_me:$LINENO: checking
for TIFFError
in -ltiff" >&5
27497 echo $ECHO_N "checking
for TIFFError
in -ltiff...
$ECHO_C" >&6; }
27498 if test "${ac_cv_lib_tiff_TIFFError+set}" = set; then
27499 echo $ECHO_N "(cached
) $ECHO_C" >&6
27501 ac_check_lib_save_LIBS=$LIBS
27502 LIBS="-ltiff $TIFF_PREREQ_LINKS $LIBS"
27503 cat >conftest.$ac_ext <<_ACEOF
27506 cat confdefs.h >>conftest.$ac_ext
27507 cat >>conftest.$ac_ext <<_ACEOF
27508 /* end confdefs.h. */
27510 /* Override any GCC internal prototype to avoid an error.
27511 Use char because int might match the return type of a GCC
27512 builtin and then its argument prototype would still apply. */
27520 return TIFFError ();
27525 rm -f conftest.$ac_objext conftest$ac_exeext
27526 if { (ac_try="$ac_link"
27527 case "(($ac_try" in
27528 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27529 *) ac_try_echo=$ac_try;;
27531 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
27532 (eval "$ac_link") 2>conftest.er1
27534 grep -v '^ *+' conftest.er1 >conftest.err
27536 cat conftest.err >&5
27537 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
27538 (exit $ac_status); } && {
27539 test -z "$ac_c_werror_flag" ||
27540 test ! -s conftest.err
27541 } && test -s conftest$ac_exeext &&
27542 $as_test_x conftest$ac_exeext; then
27543 ac_cv_lib_tiff_TIFFError=yes
27545 echo "$as_me: failed program was
:" >&5
27546 sed 's/^/| /' conftest.$ac_ext >&5
27548 ac_cv_lib_tiff_TIFFError=no
27551 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27552 conftest$ac_exeext conftest.$ac_ext
27553 LIBS=$ac_check_lib_save_LIBS
27555 { echo "$as_me:$LINENO: result
: $ac_cv_lib_tiff_TIFFError" >&5
27556 echo "${ECHO_T}$ac_cv_lib_tiff_TIFFError" >&6; }
27557 if test $ac_cv_lib_tiff_TIFFError = yes; then
27558 TIFF_LINK=" -ltiff"
27566 if test "x
$TIFF_LINK" = "x
" ; then
27567 if test "$wxUSE_LIBTIFF" = "sys
" ; then
27568 { { echo "$as_me:$LINENO: error
: system tiff library not found
! Use
--with-libtiff=builtin to use built
-in version
" >&5
27569 echo "$as_me: error
: system tiff library not found
! Use
--with-libtiff=builtin to use built
-in version
" >&2;}
27570 { (exit 1); exit 1; }; }
27572 { echo "$as_me:$LINENO: WARNING
: system tiff library not found
, will use built
-in instead
" >&5
27573 echo "$as_me: WARNING
: system tiff library not found
, will use built
-in instead
" >&2;}
27574 wxUSE_LIBTIFF=builtin
27580 if test "$wxUSE_LIBTIFF" = "builtin" ; then
27581 if test "$wxUSE_LIBJPEG" = "no
"; then
27582 ac_configure_args="$ac_configure_args --disable-jpeg"
27584 subdirs="$subdirs src
/tiff
"
27590 if test "$wxUSE_WCHAR_T" != "yes"; then
27591 if test "$wxUSE_EXPAT" != "no
"; then
27592 { echo "$as_me:$LINENO: WARNING
: wxWidgets requires wchar_t to use expat
, disabling
" >&5
27593 echo "$as_me: WARNING
: wxWidgets requires wchar_t to use expat
, disabling
" >&2;}
27596 if test "$wxUSE_XML" != "no
"; then
27597 { echo "$as_me:$LINENO: WARNING
: wxWidgets requires wchar_t to use xml
, disabling
" >&5
27598 echo "$as_me: WARNING
: wxWidgets requires wchar_t to use xml
, disabling
" >&2;}
27603 if test "$wxUSE_EXPAT" != "no
"; then
27605 cat >>confdefs.h <<\_ACEOF
27606 #define wxUSE_EXPAT 1
27609 cat >>confdefs.h <<\_ACEOF
27610 #define wxUSE_XML 1
27614 if test "$wxUSE_EXPAT" = "sys
" -o "$wxUSE_EXPAT" = "yes" ; then
27615 { echo "$as_me:$LINENO: checking
for expat.h
" >&5
27616 echo $ECHO_N "checking
for expat.h...
$ECHO_C" >&6; }
27617 if test "${ac_cv_header_expat_h+set}" = set; then
27618 echo $ECHO_N "(cached
) $ECHO_C" >&6
27620 cat >conftest.$ac_ext <<_ACEOF
27623 cat confdefs.h >>conftest.$ac_ext
27624 cat >>conftest.$ac_ext <<_ACEOF
27625 /* end confdefs.h. */
27630 rm -f conftest.$ac_objext
27631 if { (ac_try="$ac_compile"
27632 case "(($ac_try" in
27633 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27634 *) ac_try_echo=$ac_try;;
27636 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
27637 (eval "$ac_compile") 2>conftest.er1
27639 grep -v '^ *+' conftest.er1 >conftest.err
27641 cat conftest.err >&5
27642 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
27643 (exit $ac_status); } && {
27644 test -z "$ac_c_werror_flag" ||
27645 test ! -s conftest.err
27646 } && test -s conftest.$ac_objext; then
27647 ac_cv_header_expat_h=yes
27649 echo "$as_me: failed program was
:" >&5
27650 sed 's/^/| /' conftest.$ac_ext >&5
27652 ac_cv_header_expat_h=no
27655 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27657 { echo "$as_me:$LINENO: result
: $ac_cv_header_expat_h" >&5
27658 echo "${ECHO_T}$ac_cv_header_expat_h" >&6; }
27659 if test $ac_cv_header_expat_h = yes; then
27664 if test "x
$found_expat_h" = "x1
"; then
27665 { echo "$as_me:$LINENO: checking
if expat.h is valid C
++ header
" >&5
27666 echo $ECHO_N "checking
if expat.h is valid C
++ header...
$ECHO_C" >&6; }
27667 if test "${wx_cv_expat_is_not_broken+set}" = set; then
27668 echo $ECHO_N "(cached
) $ECHO_C" >&6
27672 ac_cpp='$CXXCPP $CPPFLAGS'
27673 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27674 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27675 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27677 cat >conftest.$ac_ext <<_ACEOF
27680 cat confdefs.h >>conftest.$ac_ext
27681 cat >>conftest.$ac_ext <<_ACEOF
27682 /* end confdefs.h. */
27692 rm -f conftest.$ac_objext
27693 if { (ac_try="$ac_compile"
27694 case "(($ac_try" in
27695 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27696 *) ac_try_echo=$ac_try;;
27698 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
27699 (eval "$ac_compile") 2>conftest.er1
27701 grep -v '^ *+' conftest.er1 >conftest.err
27703 cat conftest.err >&5
27704 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
27705 (exit $ac_status); } && {
27706 test -z "$ac_cxx_werror_flag" ||
27707 test ! -s conftest.err
27708 } && test -s conftest.$ac_objext; then
27709 wx_cv_expat_is_not_broken=yes
27711 echo "$as_me: failed program was
:" >&5
27712 sed 's/^/| /' conftest.$ac_ext >&5
27714 wx_cv_expat_is_not_broken=no
27718 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27720 ac_cpp='$CPP $CPPFLAGS'
27721 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27722 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27723 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27728 { echo "$as_me:$LINENO: result
: $wx_cv_expat_is_not_broken" >&5
27729 echo "${ECHO_T}$wx_cv_expat_is_not_broken" >&6; }
27730 if test "$wx_cv_expat_is_not_broken" = "yes" ; then
27731 { echo "$as_me:$LINENO: checking
for XML_ParserCreate
in -lexpat" >&5
27732 echo $ECHO_N "checking
for XML_ParserCreate
in -lexpat...
$ECHO_C" >&6; }
27733 if test "${ac_cv_lib_expat_XML_ParserCreate+set}" = set; then
27734 echo $ECHO_N "(cached
) $ECHO_C" >&6
27736 ac_check_lib_save_LIBS=$LIBS
27737 LIBS="-lexpat $LIBS"
27738 cat >conftest.$ac_ext <<_ACEOF
27741 cat confdefs.h >>conftest.$ac_ext
27742 cat >>conftest.$ac_ext <<_ACEOF
27743 /* end confdefs.h. */
27745 /* Override any GCC internal prototype to avoid an error.
27746 Use char because int might match the return type of a GCC
27747 builtin and then its argument prototype would still apply. */
27751 char XML_ParserCreate ();
27755 return XML_ParserCreate ();
27760 rm -f conftest.$ac_objext conftest$ac_exeext
27761 if { (ac_try="$ac_link"
27762 case "(($ac_try" in
27763 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27764 *) ac_try_echo=$ac_try;;
27766 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
27767 (eval "$ac_link") 2>conftest.er1
27769 grep -v '^ *+' conftest.er1 >conftest.err
27771 cat conftest.err >&5
27772 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
27773 (exit $ac_status); } && {
27774 test -z "$ac_c_werror_flag" ||
27775 test ! -s conftest.err
27776 } && test -s conftest$ac_exeext &&
27777 $as_test_x conftest$ac_exeext; then
27778 ac_cv_lib_expat_XML_ParserCreate=yes
27780 echo "$as_me: failed program was
:" >&5
27781 sed 's/^/| /' conftest.$ac_ext >&5
27783 ac_cv_lib_expat_XML_ParserCreate=no
27786 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27787 conftest$ac_exeext conftest.$ac_ext
27788 LIBS=$ac_check_lib_save_LIBS
27790 { echo "$as_me:$LINENO: result
: $ac_cv_lib_expat_XML_ParserCreate" >&5
27791 echo "${ECHO_T}$ac_cv_lib_expat_XML_ParserCreate" >&6; }
27792 if test $ac_cv_lib_expat_XML_ParserCreate = yes; then
27793 EXPAT_LINK=" -lexpat"
27798 if test "x
$EXPAT_LINK" = "x
" ; then
27799 if test "$wxUSE_EXPAT" = "sys
" ; then
27800 { { echo "$as_me:$LINENO: error
: system expat library not found
! Use
--with-expat=builtin to use built
-in version
" >&5
27801 echo "$as_me: error
: system expat library not found
! Use
--with-expat=builtin to use built
-in version
" >&2;}
27802 { (exit 1); exit 1; }; }
27804 { echo "$as_me:$LINENO: WARNING
: system expat library not found
, will use built
-in instead
" >&5
27805 echo "$as_me: WARNING
: system expat library not found
, will use built
-in instead
" >&2;}
27806 wxUSE_EXPAT=builtin
27812 if test "$wxUSE_EXPAT" = "builtin" ; then
27813 subdirs="$subdirs src
/expat
"
27820 if test "$wxUSE_LIBMSPACK" != "no
"; then
27821 { echo "$as_me:$LINENO: checking
for mspack.h
" >&5
27822 echo $ECHO_N "checking
for mspack.h...
$ECHO_C" >&6; }
27823 if test "${ac_cv_header_mspack_h+set}" = set; then
27824 echo $ECHO_N "(cached
) $ECHO_C" >&6
27826 cat >conftest.$ac_ext <<_ACEOF
27829 cat confdefs.h >>conftest.$ac_ext
27830 cat >>conftest.$ac_ext <<_ACEOF
27831 /* end confdefs.h. */
27834 #include <mspack.h>
27836 rm -f conftest.$ac_objext
27837 if { (ac_try="$ac_compile"
27838 case "(($ac_try" in
27839 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27840 *) ac_try_echo=$ac_try;;
27842 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
27843 (eval "$ac_compile") 2>conftest.er1
27845 grep -v '^ *+' conftest.er1 >conftest.err
27847 cat conftest.err >&5
27848 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
27849 (exit $ac_status); } && {
27850 test -z "$ac_c_werror_flag" ||
27851 test ! -s conftest.err
27852 } && test -s conftest.$ac_objext; then
27853 ac_cv_header_mspack_h=yes
27855 echo "$as_me: failed program was
:" >&5
27856 sed 's/^/| /' conftest.$ac_ext >&5
27858 ac_cv_header_mspack_h=no
27861 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27863 { echo "$as_me:$LINENO: result
: $ac_cv_header_mspack_h" >&5
27864 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6; }
27865 if test $ac_cv_header_mspack_h = yes; then
27870 if test "x
$found_mspack_h" = "x1
"; then
27871 { echo "$as_me:$LINENO: checking
for mspack_create_chm_decompressor
in -lmspack" >&5
27872 echo $ECHO_N "checking
for mspack_create_chm_decompressor
in -lmspack...
$ECHO_C" >&6; }
27873 if test "${ac_cv_lib_mspack_mspack_create_chm_decompressor+set}" = set; then
27874 echo $ECHO_N "(cached
) $ECHO_C" >&6
27876 ac_check_lib_save_LIBS=$LIBS
27877 LIBS="-lmspack $LIBS"
27878 cat >conftest.$ac_ext <<_ACEOF
27881 cat confdefs.h >>conftest.$ac_ext
27882 cat >>conftest.$ac_ext <<_ACEOF
27883 /* end confdefs.h. */
27885 /* Override any GCC internal prototype to avoid an error.
27886 Use char because int might match the return type of a GCC
27887 builtin and then its argument prototype would still apply. */
27891 char mspack_create_chm_decompressor ();
27895 return mspack_create_chm_decompressor ();
27900 rm -f conftest.$ac_objext conftest$ac_exeext
27901 if { (ac_try="$ac_link"
27902 case "(($ac_try" in
27903 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27904 *) ac_try_echo=$ac_try;;
27906 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
27907 (eval "$ac_link") 2>conftest.er1
27909 grep -v '^ *+' conftest.er1 >conftest.err
27911 cat conftest.err >&5
27912 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
27913 (exit $ac_status); } && {
27914 test -z "$ac_c_werror_flag" ||
27915 test ! -s conftest.err
27916 } && test -s conftest$ac_exeext &&
27917 $as_test_x conftest$ac_exeext; then
27918 ac_cv_lib_mspack_mspack_create_chm_decompressor=yes
27920 echo "$as_me: failed program was
:" >&5
27921 sed 's/^/| /' conftest.$ac_ext >&5
27923 ac_cv_lib_mspack_mspack_create_chm_decompressor=no
27926 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27927 conftest$ac_exeext conftest.$ac_ext
27928 LIBS=$ac_check_lib_save_LIBS
27930 { echo "$as_me:$LINENO: result
: $ac_cv_lib_mspack_mspack_create_chm_decompressor" >&5
27931 echo "${ECHO_T}$ac_cv_lib_mspack_mspack_create_chm_decompressor" >&6; }
27932 if test $ac_cv_lib_mspack_mspack_create_chm_decompressor = yes; then
27933 MSPACK_LINK=" -lmspack"
27937 if test "x
$MSPACK_LINK" = "x
" ; then
27942 if test "$wxUSE_LIBMSPACK" != "no
"; then
27943 cat >>confdefs.h <<\_ACEOF
27944 #define wxUSE_LIBMSPACK 1
27958 if test "$USE_WIN32" = 1 ; then
27960 for ac_header in w32api.h
27962 as_ac_Header=`echo "ac_cv_header_
$ac_header" | $as_tr_sh`
27963 { echo "$as_me:$LINENO: checking
for $ac_header" >&5
27964 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6; }
27965 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
27966 echo $ECHO_N "(cached
) $ECHO_C" >&6
27968 cat >conftest.$ac_ext <<_ACEOF
27971 cat confdefs.h >>conftest.$ac_ext
27972 cat >>conftest.$ac_ext <<_ACEOF
27973 /* end confdefs.h. */
27976 #include <$ac_header>
27978 rm -f conftest.$ac_objext
27979 if { (ac_try="$ac_compile"
27980 case "(($ac_try" in
27981 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27982 *) ac_try_echo=$ac_try;;
27984 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
27985 (eval "$ac_compile") 2>conftest.er1
27987 grep -v '^ *+' conftest.er1 >conftest.err
27989 cat conftest.err >&5
27990 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
27991 (exit $ac_status); } && {
27992 test -z "$ac_c_werror_flag" ||
27993 test ! -s conftest.err
27994 } && test -s conftest.$ac_objext; then
27995 eval "$as_ac_Header=yes"
27997 echo "$as_me: failed program was
:" >&5
27998 sed 's/^/| /' conftest.$ac_ext >&5
28000 eval "$as_ac_Header=no
"
28003 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28005 ac_res=`eval echo '${'$as_ac_Header'}'`
28006 { echo "$as_me:$LINENO: result
: $ac_res" >&5
28007 echo "${ECHO_T}$ac_res" >&6; }
28008 if test `eval echo '${'$as_ac_Header'}'` = yes; then
28009 cat >>confdefs.h <<_ACEOF
28010 #define `echo "HAVE_
$ac_header" | $as_tr_cpp` 1
28017 { echo "$as_me:$LINENO: checking
for windows.h
" >&5
28018 echo $ECHO_N "checking
for windows.h...
$ECHO_C" >&6; }
28019 if test "${ac_cv_header_windows_h+set}" = set; then
28020 echo $ECHO_N "(cached
) $ECHO_C" >&6
28022 cat >conftest.$ac_ext <<_ACEOF
28025 cat confdefs.h >>conftest.$ac_ext
28026 cat >>conftest.$ac_ext <<_ACEOF
28027 /* end confdefs.h. */
28030 #include <windows.h>
28032 rm -f conftest.$ac_objext
28033 if { (ac_try="$ac_compile"
28034 case "(($ac_try" in
28035 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28036 *) ac_try_echo=$ac_try;;
28038 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
28039 (eval "$ac_compile") 2>conftest.er1
28041 grep -v '^ *+' conftest.er1 >conftest.err
28043 cat conftest.err >&5
28044 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
28045 (exit $ac_status); } && {
28046 test -z "$ac_c_werror_flag" ||
28047 test ! -s conftest.err
28048 } && test -s conftest.$ac_objext; then
28049 ac_cv_header_windows_h=yes
28051 echo "$as_me: failed program was
:" >&5
28052 sed 's/^/| /' conftest.$ac_ext >&5
28054 ac_cv_header_windows_h=no
28057 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28059 { echo "$as_me:$LINENO: result
: $ac_cv_header_windows_h" >&5
28060 echo "${ECHO_T}$ac_cv_header_windows_h" >&6; }
28061 if test $ac_cv_header_windows_h = yes; then
28065 { { echo "$as_me:$LINENO: error
: please
set CFLAGS to contain the location of windows.h
" >&5
28066 echo "$as_me: error
: please
set CFLAGS to contain the location of windows.h
" >&2;}
28067 { (exit 1); exit 1; }; }
28074 x86_64-*-mingw32* )
28075 LIBS="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -lwctl3d32 -ladvapi32 -lwsock32 -lgdi32"
28078 LIBS="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -lctl3d32 -ladvapi32 -lwsock32 -lgdi32"
28081 if test "$wxUSE_ACCESSIBILITY" = "yes" ; then
28082 LIBS="$LIBS -loleacc"
28087 LIBS="$LIBS -lkernel32 -luser32"
28090 RESFLAGS="--include-dir \
$(top_srcdir)/include
--include-dir \
$(top_srcdir)/\
$(program_dir) --define __WIN32__
--define __WIN95__
--define __GNUWIN32__
"
28091 RESPROGRAMOBJ="\
$(PROGRAM)_resources.o
"
28093 WXCONFIG_RESFLAGS="--define __WIN32__
--define __WIN95__
--define __GNUWIN32__
"
28095 WIN32INSTALL=win32install
28097 { echo "$as_me:$LINENO: checking
for pbt.h
" >&5
28098 echo $ECHO_N "checking
for pbt.h...
$ECHO_C" >&6; }
28099 if test "${ac_cv_header_pbt_h+set}" = set; then
28100 echo $ECHO_N "(cached
) $ECHO_C" >&6
28102 cat >conftest.$ac_ext <<_ACEOF
28105 cat confdefs.h >>conftest.$ac_ext
28106 cat >>conftest.$ac_ext <<_ACEOF
28107 /* end confdefs.h. */
28112 rm -f conftest.$ac_objext
28113 if { (ac_try="$ac_compile"
28114 case "(($ac_try" in
28115 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28116 *) ac_try_echo=$ac_try;;
28118 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
28119 (eval "$ac_compile") 2>conftest.er1
28121 grep -v '^ *+' conftest.er1 >conftest.err
28123 cat conftest.err >&5
28124 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
28125 (exit $ac_status); } && {
28126 test -z "$ac_c_werror_flag" ||
28127 test ! -s conftest.err
28128 } && test -s conftest.$ac_objext; then
28129 ac_cv_header_pbt_h=yes
28131 echo "$as_me: failed program was
:" >&5
28132 sed 's/^/| /' conftest.$ac_ext >&5
28134 ac_cv_header_pbt_h=no
28137 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28139 { echo "$as_me:$LINENO: result
: $ac_cv_header_pbt_h" >&5
28140 echo "${ECHO_T}$ac_cv_header_pbt_h" >&6; }
28141 if test $ac_cv_header_pbt_h = yes; then
28144 cat >>confdefs.h <<\_ACEOF
28145 #define NEED_PBT_H 1
28153 if test "$wxUSE_GUI" = "yes"; then
28163 if test "$wxUSE_COCOA" = 1 ; then
28164 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes"; then
28165 { echo "$as_me:$LINENO: WARNING
: Printing not supported under wxCocoa yet
, disabled
" >&5
28166 echo "$as_me: WARNING
: Printing not supported under wxCocoa yet
, disabled
" >&2;}
28167 wxUSE_PRINTING_ARCHITECTURE=no
28169 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
28170 { echo "$as_me:$LINENO: WARNING
: Drag and Drop not supported under wxCocoa yet
, disabled
" >&5
28171 echo "$as_me: WARNING
: Drag and Drop not supported under wxCocoa yet
, disabled
" >&2;}
28172 wxUSE_DRAG_AND_DROP=no
28174 if test "$wxUSE_DRAGIMAGE" = "yes"; then
28175 { echo "$as_me:$LINENO: WARNING
: wxDragImage not supported under wxCocoa yet
, disabled
" >&5
28176 echo "$as_me: WARNING
: wxDragImage not supported under wxCocoa yet
, disabled
" >&2;}
28181 if test "$wxUSE_MSW" = 1 ; then
28187 WXCONFIG_LDFLAGS_GUI="$LDFLAGS -Wl,--subsystem,windows
-mwindows"
28191 if test "$wxUSE_GTK" = 1; then
28192 { echo "$as_me:$LINENO: checking
for GTK
+ version
" >&5
28193 echo $ECHO_N "checking
for GTK
+ version...
$ECHO_C" >&6; }
28195 gtk_version_cached=1
28196 if test "${wx_cv_lib_gtk+set}" = set; then
28197 echo $ECHO_N "(cached
) $ECHO_C" >&6
28200 gtk_version_cached=0
28201 { echo "$as_me:$LINENO: result
: " >&5
28202 echo "${ECHO_T}" >&6; }
28205 if test "$wxUSE_THREADS" = "yes"; then
28206 GTK_MODULES=gthread
28210 if test "x
$wxGTK_VERSION" != "x1
"
28214 if test "$wxUSE_THREADS" = "yes" -a "$GCC" = yes; then
28219 # Check whether --enable-gtktest was given.
28220 if test "${enable_gtktest+set}" = set; then
28221 enableval=$enable_gtktest;
28227 pkg_config_args=gtk+-2.0
28228 for module in . $GTK_MODULES
28232 pkg_config_args="$pkg_config_args gthread
-2.0
"
28239 # Extract the first word of "pkg
-config", so it can be a program name with args.
28240 set dummy pkg-config; ac_word=$2
28241 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
28242 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
28243 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
28244 echo $ECHO_N "(cached
) $ECHO_C" >&6
28246 case $PKG_CONFIG in
28248 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
28251 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
28252 for as_dir in $PATH
28255 test -z "$as_dir" && as_dir=.
28256 for ac_exec_ext in '' $ac_executable_extensions; do
28257 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
28258 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
28259 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
28266 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no
"
28270 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
28271 if test -n "$PKG_CONFIG"; then
28272 { echo "$as_me:$LINENO: result
: $PKG_CONFIG" >&5
28273 echo "${ECHO_T}$PKG_CONFIG" >&6; }
28275 { echo "$as_me:$LINENO: result
: no
" >&5
28276 echo "${ECHO_T}no
" >&6; }
28281 if test x$PKG_CONFIG != xno ; then
28282 if pkg-config --atleast-pkgconfig-version 0.7 ; then
28285 echo "*** pkg
-config too old
; version
0.7 or better required.
"
28293 min_gtk_version=2.4.0
28294 { echo "$as_me:$LINENO: checking
for GTK
+ - version
>= $min_gtk_version" >&5
28295 echo $ECHO_N "checking
for GTK
+ - version
>= $min_gtk_version...
$ECHO_C" >&6; }
28297 if test x$PKG_CONFIG != xno ; then
28298 ## don't try to run the test against uninstalled libtool libs
28299 if $PKG_CONFIG --uninstalled $pkg_config_args; then
28300 echo "Will use uninstalled version of GTK
+ found
in PKG_CONFIG_PATH
"
28304 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
28311 if test x"$no_gtk" = x ; then
28312 GTK_CFLAGS=`$PKG_CONFIG $pkg_config_args --cflags`
28313 GTK_LIBS=`$PKG_CONFIG $pkg_config_args --libs`
28314 gtk_config_major_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
28315 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
28316 gtk_config_minor_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
28317 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
28318 gtk_config_micro_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
28319 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
28320 if test "x
$enable_gtktest" = "xyes
" ; then
28321 ac_save_CFLAGS="$CFLAGS"
28322 ac_save_LIBS="$LIBS"
28323 CFLAGS="$CFLAGS $GTK_CFLAGS"
28324 LIBS="$GTK_LIBS $LIBS"
28326 if test "$cross_compiling" = yes; then
28327 echo $ac_n "cross compiling
; assumed OK...
$ac_c"
28329 cat >conftest.$ac_ext <<_ACEOF
28332 cat confdefs.h >>conftest.$ac_ext
28333 cat >>conftest.$ac_ext <<_ACEOF
28334 /* end confdefs.h. */
28336 #include <gtk/gtk.h>
28338 #include <stdlib.h>
28343 int major, minor, micro;
28346 system ("touch conf.gtktest
");
28348 /* HP/UX 9 (%@#!) writes to sscanf strings */
28349 tmp_version = g_strdup("$min_gtk_version");
28350 if (sscanf(tmp_version, "%d.
%d.
%d
", &major, &minor, µ) != 3) {
28351 printf("%s
, bad version string
\n", "$min_gtk_version");
28355 if ((gtk_major_version != $gtk_config_major_version) ||
28356 (gtk_minor_version != $gtk_config_minor_version) ||
28357 (gtk_micro_version != $gtk_config_micro_version))
28359 printf("\n*** 'pkg-config --modversion gtk+-2.0' returned
%d.
%d.
%d
, but GTK
+ (%d.
%d.
%d
)\n",
28360 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
28361 gtk_major_version, gtk_minor_version, gtk_micro_version);
28362 printf ("*** was found
! If pkg
-config was correct
, then it is best
\n");
28363 printf ("*** to remove the old version of GTK
+. You may also be able to fix the error
\n");
28364 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable
, or by editing
\n");
28365 printf("*** /etc
/ld.so.conf. Make sure you have run ldconfig
if that is
\n");
28366 printf("*** required on your system.
\n");
28367 printf("*** If pkg
-config was wrong
, set the environment variable PKG_CONFIG_PATH
\n");
28368 printf("*** to point to the correct configuration files
\n");
28370 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
28371 (gtk_minor_version != GTK_MINOR_VERSION) ||
28372 (gtk_micro_version != GTK_MICRO_VERSION))
28374 printf("*** GTK
+ header files
(version
%d.
%d.
%d
) do not match
\n",
28375 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
28376 printf("*** library
(version
%d.
%d.
%d
)\n",
28377 gtk_major_version, gtk_minor_version, gtk_micro_version);
28381 if ((gtk_major_version > major) ||
28382 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
28383 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
28389 printf("\n*** An old version of GTK
+ (%d.
%d.
%d
) was found.
\n",
28390 gtk_major_version, gtk_minor_version, gtk_micro_version);
28391 printf("*** You need a version of GTK
+ newer than
%d.
%d.
%d. The latest version of
\n",
28392 major, minor, micro);
28393 printf("*** GTK
+ is always available from
ftp://ftp.gtk.org.
\n");
28395 printf("*** If you have already installed a sufficiently new version
, this error
\n");
28396 printf("*** probably means that the wrong copy of the pkg
-config shell
script is
\n");
28397 printf("*** being found. The easiest way to fix this is to remove the old version
\n");
28398 printf("*** of GTK
+, but you can also
set the PKG_CONFIG environment to point to the
\n");
28399 printf("*** correct copy of pkg
-config.
(In this
case, you will have to
\n");
28400 printf("*** modify your LD_LIBRARY_PATH enviroment variable
, or edit
/etc
/ld.so.conf
\n");
28401 printf("*** so that the correct libraries are found
at run
-time))\n");
28408 rm -f conftest$ac_exeext
28409 if { (ac_try="$ac_link"
28410 case "(($ac_try" in
28411 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28412 *) ac_try_echo=$ac_try;;
28414 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
28415 (eval "$ac_link") 2>&5
28417 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
28418 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
28419 { (case "(($ac_try" in
28420 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28421 *) ac_try_echo=$ac_try;;
28423 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
28424 (eval "$ac_try") 2>&5
28426 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
28427 (exit $ac_status); }; }; then
28430 echo "$as_me: program exited with status
$ac_status" >&5
28431 echo "$as_me: failed program was
:" >&5
28432 sed 's/^/| /' conftest.$ac_ext >&5
28434 ( exit $ac_status )
28437 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
28441 CFLAGS="$ac_save_CFLAGS"
28442 LIBS="$ac_save_LIBS"
28445 if test "x
$no_gtk" = x ; then
28446 { echo "$as_me:$LINENO: result
: yes (version
$gtk_config_major_version.
$gtk_config_minor_version.
$gtk_config_micro_version)" >&5
28447 echo "${ECHO_T}yes (version
$gtk_config_major_version.
$gtk_config_minor_version.
$gtk_config_micro_version)" >&6; }
28450 { echo "$as_me:$LINENO: result
: no
" >&5
28451 echo "${ECHO_T}no
" >&6; }
28452 if test "$PKG_CONFIG" = "no
" ; then
28453 echo "*** A new enough version of pkg
-config was not found.
"
28454 echo "*** See http
://pkgconfig.sourceforge.net
"
28456 if test -f conf.gtktest ; then
28459 echo "*** Could not run GTK
+ test program
, checking why...
"
28460 ac_save_CFLAGS="$CFLAGS"
28461 ac_save_LIBS="$LIBS"
28462 CFLAGS="$CFLAGS $GTK_CFLAGS"
28463 LIBS="$LIBS $GTK_LIBS"
28464 cat >conftest.$ac_ext <<_ACEOF
28467 cat confdefs.h >>conftest.$ac_ext
28468 cat >>conftest.$ac_ext <<_ACEOF
28469 /* end confdefs.h. */
28471 #include <gtk/gtk.h>
28477 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
28482 rm -f conftest.$ac_objext conftest$ac_exeext
28483 if { (ac_try="$ac_link"
28484 case "(($ac_try" in
28485 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28486 *) ac_try_echo=$ac_try;;
28488 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
28489 (eval "$ac_link") 2>conftest.er1
28491 grep -v '^ *+' conftest.er1 >conftest.err
28493 cat conftest.err >&5
28494 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
28495 (exit $ac_status); } && {
28496 test -z "$ac_c_werror_flag" ||
28497 test ! -s conftest.err
28498 } && test -s conftest$ac_exeext &&
28499 $as_test_x conftest$ac_exeext; then
28500 echo "*** The
test program compiled
, but did not run. This usually means
"
28501 echo "*** that the run
-time linker is not finding GTK
+ or finding the wrong
"
28502 echo "*** version of GTK
+. If it is not finding GTK
+, you
'll need to set your"
28503 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
28504 echo "*** to the installed location Also, make sure you have run ldconfig if that"
28505 echo "*** is required on your system"
28507 echo "*** If you have an old version installed, it is best to remove it, although"
28508 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
28510 echo "$as_me: failed program was:" >&5
28511 sed 's
/^
/| /' conftest.$ac_ext >&5
28513 echo "*** The test program failed to compile or link. See the file config.log for the"
28514 echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."
28517 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28518 conftest$ac_exeext conftest.$ac_ext
28519 CFLAGS="$ac_save_CFLAGS"
28520 LIBS="$ac_save_LIBS"
28534 if test "$wxUSE_SHARED" != "yes"; then
28535 GTK_LIBS="$GTK_LIBS -lX11"
28540 if test -z "$wx_cv_lib_gtk"; then
28541 if test "x$wxGTK_VERSION" = "x1" -o "x$wxGTK_VERSION" = "xany" ; then
28543 # Check whether --with-gtk-prefix was given.
28544 if test "${with_gtk_prefix+set}" = set; then
28545 withval=$with_gtk_prefix; gtk_config_prefix="$withval"
28547 gtk_config_prefix=""
28551 # Check whether --with-gtk-exec-prefix was given.
28552 if test "${with_gtk_exec_prefix+set}" = set; then
28553 withval=$with_gtk_exec_prefix; gtk_config_exec_prefix="$withval"
28555 gtk_config_exec_prefix=""
28558 # Check whether --enable-gtktest was given.
28559 if test "${enable_gtktest+set}" = set; then
28560 enableval=$enable_gtktest;
28566 for module in . $GTK_MODULES
28570 gtk_config_args="$gtk_config_args gthread"
28575 if test x$gtk_config_exec_prefix != x ; then
28576 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
28577 if test x${GTK_CONFIG+set} != xset ; then
28578 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
28581 if test x$gtk_config_prefix != x ; then
28582 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
28583 if test x${GTK_CONFIG+set} != xset ; then
28584 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
28588 # Extract the first word of "gtk-config", so it can be a program name with args.
28589 set dummy gtk-config; ac_word=$2
28590 { echo "$as_me:$LINENO: checking for $ac_word" >&5
28591 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
28592 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
28593 echo $ECHO_N "(cached) $ECHO_C" >&6
28595 case $GTK_CONFIG in
28597 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
28600 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
28601 for as_dir in $PATH
28604 test -z "$as_dir" && as_dir=.
28605 for ac_exec_ext in '' $ac_executable_extensions; do
28606 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
28607 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
28608 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
28615 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
28619 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
28620 if test -n "$GTK_CONFIG"; then
28621 { echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
28622 echo "${ECHO_T}$GTK_CONFIG" >&6; }
28624 { echo "$as_me:$LINENO: result: no" >&5
28625 echo "${ECHO_T}no" >&6; }
28629 min_gtk_version=1.2.7
28630 { echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
28631 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6; }
28633 if test "$GTK_CONFIG" = "no" ; then
28636 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
28637 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
28638 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
28639 sed 's
/\
([0-9]*\
).\
([0-9]*\
).\
([0-9]*\
)/\
1/'`
28640 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
28641 sed 's
/\
([0-9]*\
).\
([0-9]*\
).\
([0-9]*\
)/\
2/'`
28642 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
28643 sed 's
/\
([0-9]*\
).\
([0-9]*\
).\
([0-9]*\
)/\
3/'`
28644 if test "x$enable_gtktest" = "xyes" ; then
28645 ac_save_CFLAGS="$CFLAGS"
28646 ac_save_LIBS="$LIBS"
28647 CFLAGS="$CFLAGS $GTK_CFLAGS"
28648 LIBS="$GTK_LIBS $LIBS"
28650 if test "$cross_compiling" = yes; then
28651 echo $ac_n "cross compiling; assumed OK... $ac_c"
28653 cat >conftest.$ac_ext <<_ACEOF
28656 cat confdefs.h >>conftest.$ac_ext
28657 cat >>conftest.$ac_ext <<_ACEOF
28658 /* end confdefs.h. */
28660 #include <gtk/gtk.h>
28662 #include <stdlib.h>
28667 int major, minor, micro;
28670 system ("touch conf.gtktest");
28672 /* HP/UX 9 (%@#!) writes to sscanf strings */
28673 tmp_version = g_strdup("$min_gtk_version");
28674 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
28675 printf("%s, bad version string\n", "$min_gtk_version");
28679 if ((gtk_major_version != $gtk_config_major_version) ||
28680 (gtk_minor_version != $gtk_config_minor_version) ||
28681 (gtk_micro_version != $gtk_config_micro_version))
28683 printf("\n*** 'gtk
-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
28684 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
28685 gtk_major_version, gtk_minor_version, gtk_micro_version);
28686 printf ("*** was found! If gtk-config was correct, then it is best\n");
28687 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
28688 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
28689 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
28690 printf("*** required on your system.\n");
28691 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
28692 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
28693 printf("*** before re-running configure\n");
28695 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
28696 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
28697 (gtk_minor_version != GTK_MINOR_VERSION) ||
28698 (gtk_micro_version != GTK_MICRO_VERSION))
28700 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
28701 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
28702 printf("*** library (version %d.%d.%d)\n",
28703 gtk_major_version, gtk_minor_version, gtk_micro_version);
28705 #endif /* defined (GTK_MAJOR_VERSION) ... */
28708 if ((gtk_major_version > major) ||
28709 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
28710 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
28716 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
28717 gtk_major_version, gtk_minor_version, gtk_micro_version);
28718 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
28719 major, minor, micro);
28720 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
28722 printf("*** If you have already installed a sufficiently new version, this error\n");
28723 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
28724 printf("*** being found. The easiest way to fix this is to remove the old version\n");
28725 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
28726 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
28727 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
28728 printf("*** so that the correct libraries are found at run-time))\n");
28735 rm -f conftest$ac_exeext
28736 if { (ac_try="$ac_link"
28737 case "(($ac_try" in
28738 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28739 *) ac_try_echo=$ac_try;;
28741 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28742 (eval "$ac_link") 2>&5
28744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28745 (exit $ac_status); } && { ac_try='.
/conftest
$ac_exeext'
28746 { (case "(($ac_try" in
28747 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28748 *) ac_try_echo=$ac_try;;
28750 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28751 (eval "$ac_try") 2>&5
28753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28754 (exit $ac_status); }; }; then
28757 echo "$as_me: program exited with status $ac_status" >&5
28758 echo "$as_me: failed program was:" >&5
28759 sed 's
/^
/| /' conftest.$ac_ext >&5
28761 ( exit $ac_status )
28764 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
28768 CFLAGS="$ac_save_CFLAGS"
28769 LIBS="$ac_save_LIBS"
28772 if test "x$no_gtk" = x ; then
28773 { echo "$as_me:$LINENO: result: yes" >&5
28774 echo "${ECHO_T}yes" >&6; }
28775 wx_cv_lib_gtk=1.2.7
28777 { echo "$as_me:$LINENO: result: no" >&5
28778 echo "${ECHO_T}no" >&6; }
28779 if test "$GTK_CONFIG" = "no" ; then
28780 echo "*** The gtk-config script installed by GTK could not be found"
28781 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
28782 echo "*** your path, or set the GTK_CONFIG environment variable to the"
28783 echo "*** full path to gtk-config."
28785 if test -f conf.gtktest ; then
28788 echo "*** Could not run GTK test program, checking why..."
28789 CFLAGS="$CFLAGS $GTK_CFLAGS"
28790 LIBS="$LIBS $GTK_LIBS"
28791 cat >conftest.$ac_ext <<_ACEOF
28794 cat confdefs.h >>conftest.$ac_ext
28795 cat >>conftest.$ac_ext <<_ACEOF
28796 /* end confdefs.h. */
28798 #include <gtk/gtk.h>
28804 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
28809 rm -f conftest.$ac_objext conftest$ac_exeext
28810 if { (ac_try="$ac_link"
28811 case "(($ac_try" in
28812 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28813 *) ac_try_echo=$ac_try;;
28815 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28816 (eval "$ac_link") 2>conftest.er1
28818 grep -v '^
*+' conftest.er1 >conftest.err
28820 cat conftest.err >&5
28821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28822 (exit $ac_status); } && {
28823 test -z "$ac_c_werror_flag" ||
28824 test ! -s conftest.err
28825 } && test -s conftest$ac_exeext &&
28826 $as_test_x conftest$ac_exeext; then
28827 echo "*** The test program compiled, but did not run. This usually means"
28828 echo "*** that the run-time linker is not finding GTK or finding the wrong"
28829 echo "*** version of GTK. If it is not finding GTK, you'll need to
set your
"
28830 echo "*** LD_LIBRARY_PATH environment variable
, or edit
/etc
/ld.so.conf to point
"
28831 echo "*** to the installed location Also
, make sure you have run ldconfig
if that
"
28832 echo "*** is required on your system
"
28834 echo "*** If you have an old version installed
, it is best to remove it
, although
"
28835 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH
"
28837 echo "*** If you have a RedHat
5.0 system
, you should remove the GTK package that
"
28838 echo "*** came with the system with the
command"
28840 echo "*** rpm
--erase --nodeps gtk gtk
-devel"
28842 echo "$as_me: failed program was
:" >&5
28843 sed 's/^/| /' conftest.$ac_ext >&5
28845 echo "*** The
test program failed to compile or link. See the
file config.log
for the
"
28846 echo "*** exact error that occured. This usually means GTK was incorrectly installed
"
28847 echo "*** or that you have moved GTK since it was installed. In the latter
case, you
"
28848 echo "*** may want to edit the gtk
-config script: $GTK_CONFIG"
28851 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28852 conftest$ac_exeext conftest.$ac_ext
28853 CFLAGS="$ac_save_CFLAGS"
28854 LIBS="$ac_save_LIBS"
28866 if test -z "$wx_cv_lib_gtk"; then
28868 # Check whether --with-gtk-prefix was given.
28869 if test "${with_gtk_prefix+set}" = set; then
28870 withval=$with_gtk_prefix; gtk_config_prefix="$withval"
28872 gtk_config_prefix=""
28876 # Check whether --with-gtk-exec-prefix was given.
28877 if test "${with_gtk_exec_prefix+set}" = set; then
28878 withval=$with_gtk_exec_prefix; gtk_config_exec_prefix="$withval"
28880 gtk_config_exec_prefix=""
28883 # Check whether --enable-gtktest was given.
28884 if test "${enable_gtktest+set}" = set; then
28885 enableval=$enable_gtktest;
28891 for module in . $GTK_MODULES
28895 gtk_config_args="$gtk_config_args gthread
"
28900 if test x$gtk_config_exec_prefix != x ; then
28901 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
28902 if test x${GTK_CONFIG+set} != xset ; then
28903 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
28906 if test x$gtk_config_prefix != x ; then
28907 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
28908 if test x${GTK_CONFIG+set} != xset ; then
28909 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
28913 # Extract the first word of "gtk
-config", so it can be a program name with args.
28914 set dummy gtk-config; ac_word=$2
28915 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
28916 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
28917 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
28918 echo $ECHO_N "(cached
) $ECHO_C" >&6
28920 case $GTK_CONFIG in
28922 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
28925 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
28926 for as_dir in $PATH
28929 test -z "$as_dir" && as_dir=.
28930 for ac_exec_ext in '' $ac_executable_extensions; do
28931 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
28932 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
28933 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
28940 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no
"
28944 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
28945 if test -n "$GTK_CONFIG"; then
28946 { echo "$as_me:$LINENO: result
: $GTK_CONFIG" >&5
28947 echo "${ECHO_T}$GTK_CONFIG" >&6; }
28949 { echo "$as_me:$LINENO: result
: no
" >&5
28950 echo "${ECHO_T}no
" >&6; }
28954 min_gtk_version=1.2.3
28955 { echo "$as_me:$LINENO: checking
for GTK
- version
>= $min_gtk_version" >&5
28956 echo $ECHO_N "checking
for GTK
- version
>= $min_gtk_version...
$ECHO_C" >&6; }
28958 if test "$GTK_CONFIG" = "no
" ; then
28961 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
28962 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
28963 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
28964 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
28965 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
28966 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
28967 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
28968 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
28969 if test "x
$enable_gtktest" = "xyes
" ; then
28970 ac_save_CFLAGS="$CFLAGS"
28971 ac_save_LIBS="$LIBS"
28972 CFLAGS="$CFLAGS $GTK_CFLAGS"
28973 LIBS="$GTK_LIBS $LIBS"
28975 if test "$cross_compiling" = yes; then
28976 echo $ac_n "cross compiling
; assumed OK...
$ac_c"
28978 cat >conftest.$ac_ext <<_ACEOF
28981 cat confdefs.h >>conftest.$ac_ext
28982 cat >>conftest.$ac_ext <<_ACEOF
28983 /* end confdefs.h. */
28985 #include <gtk/gtk.h>
28987 #include <stdlib.h>
28992 int major, minor, micro;
28995 system ("touch conf.gtktest
");
28997 /* HP/UX 9 (%@#!) writes to sscanf strings */
28998 tmp_version = g_strdup("$min_gtk_version");
28999 if (sscanf(tmp_version, "%d.
%d.
%d
", &major, &minor, µ) != 3) {
29000 printf("%s
, bad version string
\n", "$min_gtk_version");
29004 if ((gtk_major_version != $gtk_config_major_version) ||
29005 (gtk_minor_version != $gtk_config_minor_version) ||
29006 (gtk_micro_version != $gtk_config_micro_version))
29008 printf("\n*** 'gtk-config --version' returned
%d.
%d.
%d
, but GTK
+ (%d.
%d.
%d
)\n",
29009 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
29010 gtk_major_version, gtk_minor_version, gtk_micro_version);
29011 printf ("*** was found
! If gtk
-config was correct
, then it is best
\n");
29012 printf ("*** to remove the old version of GTK
+. You may also be able to fix the error
\n");
29013 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable
, or by editing
\n");
29014 printf("*** /etc
/ld.so.conf. Make sure you have run ldconfig
if that is
\n");
29015 printf("*** required on your system.
\n");
29016 printf("*** If gtk
-config was wrong
, set the environment variable GTK_CONFIG
\n");
29017 printf("*** to point to the correct copy of gtk
-config, and remove the
file config.cache
\n");
29018 printf("*** before re
-running configure
\n");
29020 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
29021 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
29022 (gtk_minor_version != GTK_MINOR_VERSION) ||
29023 (gtk_micro_version != GTK_MICRO_VERSION))
29025 printf("*** GTK
+ header files
(version
%d.
%d.
%d
) do not match
\n",
29026 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
29027 printf("*** library
(version
%d.
%d.
%d
)\n",
29028 gtk_major_version, gtk_minor_version, gtk_micro_version);
29030 #endif /* defined (GTK_MAJOR_VERSION) ... */
29033 if ((gtk_major_version > major) ||
29034 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
29035 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
29041 printf("\n*** An old version of GTK
+ (%d.
%d.
%d
) was found.
\n",
29042 gtk_major_version, gtk_minor_version, gtk_micro_version);
29043 printf("*** You need a version of GTK
+ newer than
%d.
%d.
%d. The latest version of
\n",
29044 major, minor, micro);
29045 printf("*** GTK
+ is always available from
ftp://ftp.gtk.org.
\n");
29047 printf("*** If you have already installed a sufficiently new version
, this error
\n");
29048 printf("*** probably means that the wrong copy of the gtk
-config shell
script is
\n");
29049 printf("*** being found. The easiest way to fix this is to remove the old version
\n");
29050 printf("*** of GTK
+, but you can also
set the GTK_CONFIG environment to point to the
\n");
29051 printf("*** correct copy of gtk
-config.
(In this
case, you will have to
\n");
29052 printf("*** modify your LD_LIBRARY_PATH enviroment variable
, or edit
/etc
/ld.so.conf
\n");
29053 printf("*** so that the correct libraries are found
at run
-time))\n");
29060 rm -f conftest$ac_exeext
29061 if { (ac_try="$ac_link"
29062 case "(($ac_try" in
29063 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29064 *) ac_try_echo=$ac_try;;
29066 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
29067 (eval "$ac_link") 2>&5
29069 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
29070 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
29071 { (case "(($ac_try" in
29072 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29073 *) ac_try_echo=$ac_try;;
29075 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
29076 (eval "$ac_try") 2>&5
29078 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
29079 (exit $ac_status); }; }; then
29082 echo "$as_me: program exited with status
$ac_status" >&5
29083 echo "$as_me: failed program was
:" >&5
29084 sed 's/^/| /' conftest.$ac_ext >&5
29086 ( exit $ac_status )
29089 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
29093 CFLAGS="$ac_save_CFLAGS"
29094 LIBS="$ac_save_LIBS"
29097 if test "x
$no_gtk" = x ; then
29098 { echo "$as_me:$LINENO: result
: yes" >&5
29099 echo "${ECHO_T}yes" >&6; }
29100 wx_cv_lib_gtk=1.2.3
29102 { echo "$as_me:$LINENO: result
: no
" >&5
29103 echo "${ECHO_T}no
" >&6; }
29104 if test "$GTK_CONFIG" = "no
" ; then
29105 echo "*** The gtk
-config script installed by GTK could not be found
"
29106 echo "*** If GTK was installed
in PREFIX
, make sure PREFIX
/bin is
in"
29107 echo "*** your path
, or
set the GTK_CONFIG environment variable to the
"
29108 echo "*** full path to gtk
-config.
"
29110 if test -f conf.gtktest ; then
29113 echo "*** Could not run GTK
test program
, checking why...
"
29114 CFLAGS="$CFLAGS $GTK_CFLAGS"
29115 LIBS="$LIBS $GTK_LIBS"
29116 cat >conftest.$ac_ext <<_ACEOF
29119 cat confdefs.h >>conftest.$ac_ext
29120 cat >>conftest.$ac_ext <<_ACEOF
29121 /* end confdefs.h. */
29123 #include <gtk/gtk.h>
29129 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
29134 rm -f conftest.$ac_objext conftest$ac_exeext
29135 if { (ac_try="$ac_link"
29136 case "(($ac_try" in
29137 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29138 *) ac_try_echo=$ac_try;;
29140 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
29141 (eval "$ac_link") 2>conftest.er1
29143 grep -v '^ *+' conftest.er1 >conftest.err
29145 cat conftest.err >&5
29146 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
29147 (exit $ac_status); } && {
29148 test -z "$ac_c_werror_flag" ||
29149 test ! -s conftest.err
29150 } && test -s conftest$ac_exeext &&
29151 $as_test_x conftest$ac_exeext; then
29152 echo "*** The
test program compiled
, but did not run. This usually means
"
29153 echo "*** that the run
-time linker is not finding GTK or finding the wrong
"
29154 echo "*** version of GTK. If it is not finding GTK
, you
'll need to set your"
29155 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
29156 echo "*** to the installed location Also, make sure you have run ldconfig if that"
29157 echo "*** is required on your system"
29159 echo "*** If you have an old version installed, it is best to remove it, although"
29160 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
29162 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
29163 echo "*** came with the system with the command"
29165 echo "*** rpm --erase --nodeps gtk gtk-devel"
29167 echo "$as_me: failed program was:" >&5
29168 sed 's
/^
/| /' conftest.$ac_ext >&5
29170 echo "*** The test program failed to compile or link. See the file config.log for the"
29171 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
29172 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
29173 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
29176 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29177 conftest$ac_exeext conftest.$ac_ext
29178 CFLAGS="$ac_save_CFLAGS"
29179 LIBS="$ac_save_LIBS"
29194 if test -z "$wx_cv_lib_gtk"; then
29197 wx_cv_cflags_gtk=$GTK_CFLAGS
29198 wx_cv_libs_gtk=`echo $GTK_LIBS | sed -e 's
/ -l[^
]*cairo
[^
]*//g
'`
29205 if test "$gtk_version_cached" = 1; then
29206 { echo "$as_me:$LINENO: result: $wx_cv_lib_gtk" >&5
29207 echo "${ECHO_T}$wx_cv_lib_gtk" >&6; }
29210 case "$wx_cv_lib_gtk" in
29219 *) { { echo "$as_me:$LINENO: error:
29220 The development files for GTK+ were not found. For GTK+ 2, please
29221 ensure that pkg-config is in the path and that gtk+-2.0.pc is
29222 installed. For GTK+ 1.2 please check that gtk-config is in the path,
29223 and that the version is 1.2.3 or above. Also check that the
29224 libraries returned by 'pkg
-config gtk
+-2.0
--libs' or 'gtk
-config
29225 --libs' are in the LD_LIBRARY_PATH or equivalent.
29227 echo "$as_me: error:
29228 The development files for GTK+ were not found. For GTK+ 2, please
29229 ensure that pkg-config is in the path and that gtk+-2.0.pc is
29230 installed. For GTK+ 1.2 please check that gtk-config is in the path,
29231 and that the version is 1.2.3 or above. Also check that the
29232 libraries returned by 'pkg
-config gtk
+-2.0
--libs' or 'gtk
-config
29233 --libs' are in the LD_LIBRARY_PATH or equivalent.
29235 { (exit 1); exit 1; }; }
29239 if test "$WXGTK2" = 1; then
29240 save_CFLAGS="$CFLAGS"
29242 CFLAGS="$wx_cv_cflags_gtk $CFLAGS"
29243 LIBS="$LIBS $wx_cv_libs_gtk"
29245 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.10" >&5
29246 echo $ECHO_N "checking if GTK+ is version >= 2.10... $ECHO_C" >&6; }
29247 cat >conftest.$ac_ext <<_ACEOF
29250 cat confdefs.h >>conftest.$ac_ext
29251 cat >>conftest.$ac_ext <<_ACEOF
29252 /* end confdefs.h. */
29254 #include <gtk/gtk.h>
29260 #if !GTK_CHECK_VERSION(2,10,0)
29268 rm -f conftest.$ac_objext
29269 if { (ac_try="$ac_compile"
29270 case "(($ac_try" in
29271 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29272 *) ac_try_echo=$ac_try;;
29274 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29275 (eval "$ac_compile") 2>conftest.er1
29277 grep -v '^
*+' conftest.er1 >conftest.err
29279 cat conftest.err >&5
29280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29281 (exit $ac_status); } && {
29282 test -z "$ac_c_werror_flag" ||
29283 test ! -s conftest.err
29284 } && test -s conftest.$ac_objext; then
29286 cat >>confdefs.h <<\_ACEOF
29287 #define __WXGTK210__ 1
29290 cat >>confdefs.h <<\_ACEOF
29291 #define __WXGTK26__ 1
29294 { echo "$as_me:$LINENO: result: yes" >&5
29295 echo "${ECHO_T}yes" >&6; }
29299 echo "$as_me: failed program was:" >&5
29300 sed 's
/^
/| /' conftest.$ac_ext >&5
29303 { echo "$as_me:$LINENO: result: no" >&5
29304 echo "${ECHO_T}no" >&6; }
29309 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29311 if test "$ac_wxgtk210" = 0; then
29312 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.6" >&5
29313 echo $ECHO_N "checking if GTK+ is version >= 2.6... $ECHO_C" >&6; }
29314 cat >conftest.$ac_ext <<_ACEOF
29317 cat confdefs.h >>conftest.$ac_ext
29318 cat >>conftest.$ac_ext <<_ACEOF
29319 /* end confdefs.h. */
29321 #include <gtk/gtk.h>
29327 #if !GTK_CHECK_VERSION(2,6,0)
29335 rm -f conftest.$ac_objext
29336 if { (ac_try="$ac_compile"
29337 case "(($ac_try" in
29338 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29339 *) ac_try_echo=$ac_try;;
29341 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29342 (eval "$ac_compile") 2>conftest.er1
29344 grep -v '^
*+' conftest.er1 >conftest.err
29346 cat conftest.err >&5
29347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29348 (exit $ac_status); } && {
29349 test -z "$ac_c_werror_flag" ||
29350 test ! -s conftest.err
29351 } && test -s conftest.$ac_objext; then
29353 cat >>confdefs.h <<\_ACEOF
29354 #define __WXGTK26__ 1
29357 { echo "$as_me:$LINENO: result: yes" >&5
29358 echo "${ECHO_T}yes" >&6; }
29362 echo "$as_me: failed program was:" >&5
29363 sed 's
/^
/| /' conftest.$ac_ext >&5
29366 { echo "$as_me:$LINENO: result: no" >&5
29367 echo "${ECHO_T}no" >&6; }
29372 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29375 CFLAGS="$save_CFLAGS"
29378 if test "$wxUSE_UNICODE" = "yes"; then
29379 { echo "$as_me:$LINENO: WARNING: Unicode configuration not supported with GTK+ 1.x" >&5
29380 echo "$as_me: WARNING: Unicode configuration not supported with GTK+ 1.x" >&2;}
29384 { echo "$as_me:$LINENO: checking for gdk_im_open in -lgdk" >&5
29385 echo $ECHO_N "checking for gdk_im_open in -lgdk... $ECHO_C" >&6; }
29386 if test "${ac_cv_lib_gdk_gdk_im_open+set}" = set; then
29387 echo $ECHO_N "(cached) $ECHO_C" >&6
29389 ac_check_lib_save_LIBS=$LIBS
29391 cat >conftest.$ac_ext <<_ACEOF
29394 cat confdefs.h >>conftest.$ac_ext
29395 cat >>conftest.$ac_ext <<_ACEOF
29396 /* end confdefs.h. */
29398 /* Override any GCC internal prototype to avoid an error.
29399 Use char because int might match the return type of a GCC
29400 builtin and then its argument prototype would still apply. */
29404 char gdk_im_open ();
29408 return gdk_im_open ();
29413 rm -f conftest.$ac_objext conftest$ac_exeext
29414 if { (ac_try="$ac_link"
29415 case "(($ac_try" in
29416 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29417 *) ac_try_echo=$ac_try;;
29419 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29420 (eval "$ac_link") 2>conftest.er1
29422 grep -v '^
*+' conftest.er1 >conftest.err
29424 cat conftest.err >&5
29425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29426 (exit $ac_status); } && {
29427 test -z "$ac_c_werror_flag" ||
29428 test ! -s conftest.err
29429 } && test -s conftest$ac_exeext &&
29430 $as_test_x conftest$ac_exeext; then
29431 ac_cv_lib_gdk_gdk_im_open=yes
29433 echo "$as_me: failed program was:" >&5
29434 sed 's
/^
/| /' conftest.$ac_ext >&5
29436 ac_cv_lib_gdk_gdk_im_open=no
29439 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29440 conftest$ac_exeext conftest.$ac_ext
29441 LIBS=$ac_check_lib_save_LIBS
29443 { echo "$as_me:$LINENO: result: $ac_cv_lib_gdk_gdk_im_open" >&5
29444 echo "${ECHO_T}$ac_cv_lib_gdk_gdk_im_open" >&6; }
29445 if test $ac_cv_lib_gdk_gdk_im_open = yes; then
29446 cat >>confdefs.h <<\_ACEOF
29453 if test "$USE_DARWIN" != 1; then
29455 for ac_func in poll
29457 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29458 { echo "$as_me:$LINENO: checking for $ac_func" >&5
29459 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
29460 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
29461 echo $ECHO_N "(cached) $ECHO_C" >&6
29463 cat >conftest.$ac_ext <<_ACEOF
29466 cat confdefs.h >>conftest.$ac_ext
29467 cat >>conftest.$ac_ext <<_ACEOF
29468 /* end confdefs.h. */
29469 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29470 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29471 #define $ac_func innocuous_$ac_func
29473 /* System header to define __stub macros and hopefully few prototypes,
29474 which can conflict with char $ac_func (); below.
29475 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29476 <limits.h> exists even on freestanding compilers. */
29479 # include <limits.h>
29481 # include <assert.h>
29486 /* Override any GCC internal prototype to avoid an error.
29487 Use char because int might match the return type of a GCC
29488 builtin and then its argument prototype would still apply. */
29493 /* The GNU C library defines this for functions which it implements
29494 to always fail with ENOSYS. Some functions are actually named
29495 something starting with __ and the normal name is an alias. */
29496 #if defined __stub_$ac_func || defined __stub___$ac_func
29503 return $ac_func ();
29508 rm -f conftest.$ac_objext conftest$ac_exeext
29509 if { (ac_try="$ac_link"
29510 case "(($ac_try" in
29511 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29512 *) ac_try_echo=$ac_try;;
29514 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29515 (eval "$ac_link") 2>conftest.er1
29517 grep -v '^
*+' conftest.er1 >conftest.err
29519 cat conftest.err >&5
29520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29521 (exit $ac_status); } && {
29522 test -z "$ac_c_werror_flag" ||
29523 test ! -s conftest.err
29524 } && test -s conftest$ac_exeext &&
29525 $as_test_x conftest$ac_exeext; then
29526 eval "$as_ac_var=yes"
29528 echo "$as_me: failed program was:" >&5
29529 sed 's
/^
/| /' conftest.$ac_ext >&5
29531 eval "$as_ac_var=no"
29534 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29535 conftest$ac_exeext conftest.$ac_ext
29537 ac_res=`eval echo '${'$as_ac_var'}'`
29538 { echo "$as_me:$LINENO: result: $ac_res" >&5
29539 echo "${ECHO_T}$ac_res" >&6; }
29540 if test `eval echo '${'$as_ac_var'}'` = yes; then
29541 cat >>confdefs.h <<_ACEOF
29542 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29551 TOOLKIT_INCLUDE="$wx_cv_cflags_gtk"
29552 GUI_TK_LIBRARY="$wx_cv_libs_gtk $GUI_TK_LIBRARY"
29554 AFMINSTALL=afminstall
29558 if test "$wxUSE_GPE" = "yes"; then
29559 { echo "$as_me:$LINENO: checking for gpewidget library" >&5
29560 echo $ECHO_N "checking for gpewidget library... $ECHO_C" >&6; }
29563 for ac_dir in $SEARCH_LIB;
29565 for ac_extension in a so sl dylib dll.a; do
29566 if test -f "$ac_dir/libgpewidget.$ac_extension"; then
29567 ac_find_libraries=$ac_dir
29573 if test "$ac_find_libraries" != "" ; then
29575 if test "$ac_find_libraries" = "default location"; then
29578 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
29580 if test $result = 0; then
29583 ac_path_to_link=" -L$ac_find_libraries"
29587 GUI_TK_LIBRARY="-L${prefix}/lib -lgpewidget $GUI_TK_LIBRARY"
29589 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
29590 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
29592 { echo "$as_me:$LINENO: result: not found" >&5
29593 echo "${ECHO_T}not found" >&6; }
29599 if test "$wxUSE_MGL" = 1; then
29600 { echo "$as_me:$LINENO: checking for SciTech MGL library" >&5
29601 echo $ECHO_N "checking for SciTech MGL library... $ECHO_C" >&6; }
29602 if test "x$MGL_ROOT" = x ; then
29603 { echo "$as_me:$LINENO: result: not found" >&5
29604 echo "${ECHO_T}not found" >&6; }
29605 { { echo "$as_me:$LINENO: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&5
29606 echo "$as_me: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&2;}
29607 { (exit 1); exit 1; }; }
29609 { echo "$as_me:$LINENO: result: $MGL_ROOT" >&5
29610 echo "${ECHO_T}$MGL_ROOT" >&6; }
29613 { echo "$as_me:$LINENO: checking for libmgl location" >&5
29614 echo $ECHO_N "checking for libmgl location... $ECHO_C" >&6; }
29617 if test "x$wxUSE_SHARED" = xyes ; then
29618 mgl_os_candidates="linux/gcc/x86/so linux/gcc/x86/a linux/gcc/glibc.so linux/gcc/glibc"
29620 mgl_os_candidates="linux/gcc/x86/a linux/gcc/x86/so linux/gcc/glibc linux/gcc/glibc.so"
29624 mgl_os_candidates="dos32/dj2"
29627 { { echo "$as_me:$LINENO: error: This system type ${host} is not yet supported by wxMGL." >&5
29628 echo "$as_me: error: This system type ${host} is not yet supported by wxMGL." >&2;}
29629 { (exit 1); exit 1; }; }
29635 for mgl_os_i in $mgl_os_candidates ; do
29636 if test "x$mgl_os" = x ; then
29637 if test "$wxUSE_DEBUG_FLAG" = yes ; then
29638 if test -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.a -o \
29639 -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.so; then
29644 if test "x$mgl_lib_type" = x ; then
29645 if test -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.a -o \
29646 -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.so; then
29647 mgl_lib_type=release
29654 if test "x$mgl_os" = x ; then
29655 { echo "$as_me:$LINENO: result: not found" >&5
29656 echo "${ECHO_T}not found" >&6; }
29657 { { echo "$as_me:$LINENO: error: Cannot find MGL libraries, make sure they are compiled." >&5
29658 echo "$as_me: error: Cannot find MGL libraries, make sure they are compiled." >&2;}
29659 { (exit 1); exit 1; }; }
29661 { echo "$as_me:$LINENO: result: \"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&5
29662 echo "${ECHO_T}\"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&6; }
29664 wxUSE_UNIVERSAL="yes"
29666 TOOLKIT_INCLUDE="-I$MGL_ROOT/include"
29667 GUI_TK_LIBRARY="-L$MGL_ROOT/lib/$mgl_lib_type/$mgl_os -lmgl -lmglcpp -lpm"
29669 AFMINSTALL=afminstall
29674 if test "$wxUSE_DFB" = 1; then
29677 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
29678 if test -n "$ac_tool_prefix"; then
29679 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
29680 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
29681 { echo "$as_me:$LINENO: checking for $ac_word" >&5
29682 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
29683 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
29684 echo $ECHO_N "(cached) $ECHO_C" >&6
29686 case $PKG_CONFIG in
29688 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
29691 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
29692 for as_dir in $PATH
29695 test -z "$as_dir" && as_dir=.
29696 for ac_exec_ext in '' $ac_executable_extensions; do
29697 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
29698 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
29699 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
29709 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
29710 if test -n "$PKG_CONFIG"; then
29711 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
29712 echo "${ECHO_T}$PKG_CONFIG" >&6; }
29714 { echo "$as_me:$LINENO: result: no" >&5
29715 echo "${ECHO_T}no" >&6; }
29720 if test -z "$ac_cv_path_PKG_CONFIG"; then
29721 ac_pt_PKG_CONFIG=$PKG_CONFIG
29722 # Extract the first word of "pkg-config", so it can be a program name with args.
29723 set dummy pkg-config; ac_word=$2
29724 { echo "$as_me:$LINENO: checking for $ac_word" >&5
29725 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
29726 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
29727 echo $ECHO_N "(cached) $ECHO_C" >&6
29729 case $ac_pt_PKG_CONFIG in
29731 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
29734 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
29735 for as_dir in $PATH
29738 test -z "$as_dir" && as_dir=.
29739 for ac_exec_ext in '' $ac_executable_extensions; do
29740 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
29741 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
29742 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
29752 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
29753 if test -n "$ac_pt_PKG_CONFIG"; then
29754 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
29755 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
29757 { echo "$as_me:$LINENO: result: no" >&5
29758 echo "${ECHO_T}no" >&6; }
29761 if test "x$ac_pt_PKG_CONFIG" = x; then
29764 case $cross_compiling:$ac_tool_warned in
29766 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
29767 whose name does not start with the host triplet. If you think this
29768 configuration is useful to you, please write to autoconf@gnu.org." >&5
29769 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
29770 whose name does not start with the host triplet. If you think this
29771 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
29772 ac_tool_warned=yes ;;
29774 PKG_CONFIG=$ac_pt_PKG_CONFIG
29777 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
29781 if test -n "$PKG_CONFIG"; then
29782 _pkg_min_version=0.9.0
29783 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
29784 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
29785 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
29786 { echo "$as_me:$LINENO: result: yes" >&5
29787 echo "${ECHO_T}yes" >&6; }
29789 { echo "$as_me:$LINENO: result: no" >&5
29790 echo "${ECHO_T}no" >&6; }
29798 { echo "$as_me:$LINENO: checking for DIRECTFB" >&5
29799 echo $ECHO_N "checking for DIRECTFB... $ECHO_C" >&6; }
29801 if test -n "$PKG_CONFIG"; then
29802 if test -n "$DIRECTFB_CFLAGS"; then
29803 pkg_cv_DIRECTFB_CFLAGS="$DIRECTFB_CFLAGS"
29805 if test -n "$PKG_CONFIG" && \
29806 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\"") >&5
29807 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.23") 2>&5
29809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29810 (exit $ac_status); }; then
29811 pkg_cv_DIRECTFB_CFLAGS=`$PKG_CONFIG --cflags "directfb >= 0.9.23" 2>/dev/null`
29819 if test -n "$PKG_CONFIG"; then
29820 if test -n "$DIRECTFB_LIBS"; then
29821 pkg_cv_DIRECTFB_LIBS="$DIRECTFB_LIBS"
29823 if test -n "$PKG_CONFIG" && \
29824 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\"") >&5
29825 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.23") 2>&5
29827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29828 (exit $ac_status); }; then
29829 pkg_cv_DIRECTFB_LIBS=`$PKG_CONFIG --libs "directfb >= 0.9.23" 2>/dev/null`
29840 if test $pkg_failed = yes; then
29842 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
29843 _pkg_short_errors_supported=yes
29845 _pkg_short_errors_supported=no
29847 if test $_pkg_short_errors_supported = yes; then
29848 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "directfb >= 0.9.23"`
29850 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "directfb >= 0.9.23"`
29852 # Put the nasty error message in config.log where it belongs
29853 echo "$DIRECTFB_PKG_ERRORS" >&5
29856 { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
29857 echo "$as_me: error: DirectFB not found." >&2;}
29858 { (exit 1); exit 1; }; }
29861 elif test $pkg_failed = untried; then
29863 { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
29864 echo "$as_me: error: DirectFB not found." >&2;}
29865 { (exit 1); exit 1; }; }
29869 DIRECTFB_CFLAGS=$pkg_cv_DIRECTFB_CFLAGS
29870 DIRECTFB_LIBS=$pkg_cv_DIRECTFB_LIBS
29871 { echo "$as_me:$LINENO: result: yes" >&5
29872 echo "${ECHO_T}yes" >&6; }
29874 wxUSE_UNIVERSAL="yes"
29875 TOOLKIT_INCLUDE="$DIRECTFB_CFLAGS"
29876 GUI_TK_LIBRARY="$DIRECTFB_LIBS"
29883 if test "$wxUSE_MICROWIN" = 1; then
29884 { echo "$as_me:$LINENO: checking for MicroWindows" >&5
29885 echo $ECHO_N "checking for MicroWindows... $ECHO_C" >&6; }
29886 if test "x$MICROWINDOWS" = x ; then
29887 { echo "$as_me:$LINENO: result: not found" >&5
29888 echo "${ECHO_T}not found" >&6; }
29889 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&5
29890 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&2;}
29891 { (exit 1); exit 1; }; }
29893 { echo "$as_me:$LINENO: result: $MICROWINDOWS" >&5
29894 echo "${ECHO_T}$MICROWINDOWS" >&6; }
29897 if test -f $MICROWINDOWS/lib/libmwin.a; then
29898 { echo "$as_me:$LINENO: result: MicroWindows' libraries found.
" >&5
29899 echo "${ECHO_T}MicroWindows
' libraries found." >&6; }
29901 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows libraries, make sure they are compiled." >&5
29902 echo "$as_me: error: Cannot find MicroWindows libraries, make sure they are compiled." >&2;}
29903 { (exit 1); exit 1; }; }
29906 TOOLKIT_INCLUDE="-I$MICROWINDOWS/include"
29907 GUI_TK_LIBRARY="-L$MICROWINDOWS/lib -lmwin -lmwengine -mwfonts -mwdrivers -mwinlib"
29909 wxUSE_UNIVERSAL="yes"
29911 AFMINSTALL=afminstall
29913 GUIDIST=MICROWIN_DIST
29915 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXMSW__ -D__WIN95__ -D__WIN32__ -DMWIN -DMICROWIN_NOCONTROLS -DMICROWIN_TODO=1"
29918 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
29919 { echo "$as_me:$LINENO: checking for X" >&5
29920 echo $ECHO_N "checking for X... $ECHO_C" >&6; }
29923 # Check whether --with-x was given.
29924 if test "${with_x+set}" = set; then
29928 # $have_x is `yes', `no', `disabled
', or empty when we do not yet know.
29929 if test "x$with_x" = xno; then
29930 # The user explicitly disabled X.
29933 case $x_includes,$x_libraries in #(
29934 *\'*) { { echo "$as_me:$LINENO: error: Cannot use X directory names containing '" >&5
29935 echo "$as_me: error
: Cannot use X directory names containing
'" >&2;}
29936 { (exit 1); exit 1; }; };; #(
29937 *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then
29938 echo $ECHO_N "(cached) $ECHO_C" >&6
29940 # One or both of the vars are not set, and there is no cached value.
29941 ac_x_includes=no ac_x_libraries=no
29942 rm -f -r conftest.dir
29943 if mkdir conftest.dir; then
29945 cat >Imakefile <<'_ACEOF'
29947 @echo incroot='${INCROOT}'
29949 @echo usrlibdir='${USRLIBDIR}'
29951 @echo libdir='${LIBDIR}'
29953 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
29954 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
29955 for ac_var in incroot usrlibdir libdir; do
29956 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's
/^
$ac_var=//p
'\`"
29958 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
29959 for ac_extension in a so sl; do
29960 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
29961 test -f "$ac_im_libdir/libX11.$ac_extension"; then
29962 ac_im_usrlibdir=$ac_im_libdir; break
29965 # Screen out bogus values from the imake configuration. They are
29966 # bogus both because they are the default anyway, and because
29967 # using them would break gcc on systems where it needs fixed includes.
29968 case $ac_im_incroot in
29969 /usr/include) ac_x_includes= ;;
29970 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
29972 case $ac_im_usrlibdir in
29973 /usr/lib | /lib) ;;
29974 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
29978 rm -f -r conftest.dir
29981 # Standard set of common directories for X headers.
29982 # Check X11 before X11Rn because it is often a symlink to the current release.
29994 /usr
/local
/X
11/include
29995 /usr
/local
/X
11R
6/include
29996 /usr
/local
/X
11R
5/include
29997 /usr
/local
/X
11R
4/include
29999 /usr
/local
/include
/X11
30000 /usr
/local
/include
/X11R6
30001 /usr
/local
/include
/X11R5
30002 /usr
/local
/include
/X11R4
30006 /usr
/XFree
86/include
/X11
30010 /usr
/unsupported
/include
30011 /usr
/athena
/include
30012 /usr
/local
/x
11r
5/include
30013 /usr
/lpp
/Xamples
/include
30015 /usr
/openwin
/include
30016 /usr
/openwin
/share
/include
'
30018 if test "$ac_x_includes" = no; then
30019 # Guess where to find include files, by looking for Xlib.h.
30020 # First, try using that file with no special directory specified.
30021 cat >conftest.$ac_ext <<_ACEOF
30024 cat confdefs.h >>conftest.$ac_ext
30025 cat >>conftest.$ac_ext <<_ACEOF
30026 /* end confdefs.h. */
30027 #include <X11/Xlib.h>
30029 if { (ac_try="$ac_cpp conftest.$ac_ext"
30030 case "(($ac_try" in
30031 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30032 *) ac_try_echo=$ac_try;;
30034 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30035 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
30037 grep -v '^
*+' conftest.er1 >conftest.err
30039 cat conftest.err >&5
30040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30041 (exit $ac_status); } >/dev/null && {
30042 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
30043 test ! -s conftest.err
30045 # We can compile using X headers with no special include directory.
30048 echo "$as_me: failed program was:" >&5
30049 sed 's
/^
/| /' conftest.$ac_ext >&5
30051 for ac_dir in $ac_x_header_dirs; do
30052 if test -r "$ac_dir/X11/Xlib.h"; then
30053 ac_x_includes=$ac_dir
30059 rm -f conftest.err conftest.$ac_ext
30060 fi # $ac_x_includes = no
30062 if test "$ac_x_libraries" = no; then
30063 # Check for the libraries.
30064 # See if we find them without any special options.
30065 # Don't add to
$LIBS permanently.
30068 cat >conftest.
$ac_ext <<_ACEOF
30071 cat confdefs.h
>>conftest.
$ac_ext
30072 cat >>conftest.
$ac_ext <<_ACEOF
30073 /* end confdefs.h. */
30074 #include <X11/Xlib.h>
30083 rm -f conftest.
$ac_objext conftest
$ac_exeext
30084 if { (ac_try
="$ac_link"
30085 case "(($ac_try" in
30086 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
30087 *) ac_try_echo=$ac_try;;
30089 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30090 (eval "$ac_link") 2>conftest.er1
30092 grep -v '^ *+' conftest.er1 >conftest.err
30094 cat conftest.err >&5
30095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30096 (exit $ac_status); } && {
30097 test -z "$ac_c_werror_flag" ||
30098 test ! -s conftest.err
30099 } && test -s conftest$ac_exeext &&
30100 $as_test_x conftest$ac_exeext; then
30102 # We can link X programs with no special library path.
30105 echo "$as_me: failed program was:" >&5
30106 sed 's/^/| /' conftest.$ac_ext >&5
30109 for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s
/include
/lib
/g
`
30111 # Don't even attempt the hair of trying to link an X program!
30112 for ac_extension in a so sl; do
30113 if test -r "$ac_dir/libX11.$ac_extension"; then
30114 ac_x_libraries=$ac_dir
30121 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30122 conftest$ac_exeext conftest.$ac_ext
30123 fi # $ac_x_libraries = no
30125 case $ac_x_includes,$ac_x_libraries in #(
30126 no,* | *,no | *\'*)
30127 # Didn't find X, or a directory has "'" in its name.
30128 ac_cv_have_x="have_x=no";; #(
30130 # Record where we found X for the cache.
30131 ac_cv_have_x="have_x=yes\
30132 ac_x_includes='$ac_x_includes'\
30133 ac_x_libraries='$ac_x_libraries'"
30139 eval "$ac_cv_have_x"
30142 if test "$have_x" != yes; then
30143 { echo "$as_me:$LINENO: result: $have_x" >&5
30144 echo "${ECHO_T}$have_x" >&6; }
30147 # If each of the values was on the command line, it overrides each guess.
30148 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
30149 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
30150 # Update the cache value to reflect the command line values.
30151 ac_cv_have_x="have_x=yes\
30152 ac_x_includes='$x_includes'\
30153 ac_x_libraries='$x_libraries'"
30154 { echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
30155 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6; }
30158 if test "$no_x" = yes; then
30159 # Not all programs may use this symbol, but it does not hurt to define it.
30161 cat >>confdefs.h <<\_ACEOF
30162 #define X_DISPLAY_MISSING 1
30165 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
30167 if test -n "$x_includes"; then
30168 X_CFLAGS="$X_CFLAGS -I$x_includes"
30171 # It would also be nice to do this for all -L options, not just this one.
30172 if test -n "$x_libraries"; then
30173 X_LIBS="$X_LIBS -L$x_libraries"
30174 # For Solaris; some versions of Sun CC require a space after -R and
30175 # others require no space. Words are not sufficient . . . .
30176 { echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
30177 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6; }
30178 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
30179 ac_xsave_c_werror_flag=$ac_c_werror_flag
30180 ac_c_werror_flag=yes
30181 cat >conftest.$ac_ext <<_ACEOF
30184 cat confdefs.h >>conftest.$ac_ext
30185 cat >>conftest.$ac_ext <<_ACEOF
30186 /* end confdefs.h. */
30196 rm -f conftest.$ac_objext conftest$ac_exeext
30197 if { (ac_try="$ac_link"
30198 case "(($ac_try" in
30199 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
30200 *) ac_try_echo
=$ac_try;;
30202 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30203 (eval "$ac_link") 2>conftest.er1
30205 grep -v '^ *+' conftest.er1
>conftest.err
30207 cat conftest.err
>&5
30208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30209 (exit $ac_status); } && {
30210 test -z "$ac_c_werror_flag" ||
30211 test ! -s conftest.err
30212 } && test -s conftest
$ac_exeext &&
30213 $as_test_x conftest
$ac_exeext; then
30214 { echo "$as_me:$LINENO: result: no" >&5
30215 echo "${ECHO_T}no" >&6; }
30216 X_LIBS
="$X_LIBS -R$x_libraries"
30218 echo "$as_me: failed program was:" >&5
30219 sed 's/^/| /' conftest.
$ac_ext >&5
30221 LIBS
="$ac_xsave_LIBS -R $x_libraries"
30222 cat >conftest.
$ac_ext <<_ACEOF
30225 cat confdefs.h
>>conftest.
$ac_ext
30226 cat >>conftest.
$ac_ext <<_ACEOF
30227 /* end confdefs.h. */
30237 rm -f conftest.
$ac_objext conftest
$ac_exeext
30238 if { (ac_try
="$ac_link"
30239 case "(($ac_try" in
30240 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
30241 *) ac_try_echo=$ac_try;;
30243 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30244 (eval "$ac_link") 2>conftest.er1
30246 grep -v '^ *+' conftest.er1 >conftest.err
30248 cat conftest.err >&5
30249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30250 (exit $ac_status); } && {
30251 test -z "$ac_c_werror_flag" ||
30252 test ! -s conftest.err
30253 } && test -s conftest$ac_exeext &&
30254 $as_test_x conftest$ac_exeext; then
30255 { echo "$as_me:$LINENO: result: yes" >&5
30256 echo "${ECHO_T}yes" >&6; }
30257 X_LIBS="$X_LIBS -R $x_libraries"
30259 echo "$as_me: failed program was:" >&5
30260 sed 's/^/| /' conftest.$ac_ext >&5
30262 { echo "$as_me:$LINENO: result: neither works" >&5
30263 echo "${ECHO_T}neither works" >&6; }
30266 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30267 conftest$ac_exeext conftest.$ac_ext
30270 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30271 conftest$ac_exeext conftest.$ac_ext
30272 ac_c_werror_flag=$ac_xsave_c_werror_flag
30273 LIBS=$ac_xsave_LIBS
30276 # Check for system-dependent libraries X programs must link with.
30277 # Do this before checking for the system-independent R6 libraries
30278 # (-lICE), since we may need -lsocket or whatever for X linking.
30280 if test "$ISC" = yes; then
30281 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
30283 # Martyn Johnson says this is needed for Ultrix, if the X
30284 # libraries were built with DECnet support. And Karl Berry says
30285 # the Alpha needs dnet_stub (dnet does not exist).
30286 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
30287 cat >conftest.$ac_ext <<_ACEOF
30290 cat confdefs.h >>conftest.$ac_ext
30291 cat >>conftest.$ac_ext <<_ACEOF
30292 /* end confdefs.h. */
30294 /* Override any GCC internal prototype to avoid an error.
30295 Use char because int might match the return type of a GCC
30296 builtin and then its argument prototype would still apply. */
30300 char XOpenDisplay ();
30304 return XOpenDisplay ();
30309 rm -f conftest.$ac_objext conftest$ac_exeext
30310 if { (ac_try="$ac_link"
30311 case "(($ac_try" in
30312 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
30313 *) ac_try_echo
=$ac_try;;
30315 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30316 (eval "$ac_link") 2>conftest.er1
30318 grep -v '^ *+' conftest.er1
>conftest.err
30320 cat conftest.err
>&5
30321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30322 (exit $ac_status); } && {
30323 test -z "$ac_c_werror_flag" ||
30324 test ! -s conftest.err
30325 } && test -s conftest
$ac_exeext &&
30326 $as_test_x conftest
$ac_exeext; then
30329 echo "$as_me: failed program was:" >&5
30330 sed 's/^/| /' conftest.
$ac_ext >&5
30332 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
30333 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6; }
30334 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
30335 echo $ECHO_N "(cached) $ECHO_C" >&6
30337 ac_check_lib_save_LIBS
=$LIBS
30338 LIBS
="-ldnet $LIBS"
30339 cat >conftest.
$ac_ext <<_ACEOF
30342 cat confdefs.h
>>conftest.
$ac_ext
30343 cat >>conftest.
$ac_ext <<_ACEOF
30344 /* end confdefs.h. */
30346 /* Override any GCC internal prototype to avoid an error.
30347 Use char because int might match the return type of a GCC
30348 builtin and then its argument prototype would still apply. */
30356 return dnet_ntoa ();
30361 rm -f conftest.
$ac_objext conftest
$ac_exeext
30362 if { (ac_try
="$ac_link"
30363 case "(($ac_try" in
30364 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
30365 *) ac_try_echo=$ac_try;;
30367 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30368 (eval "$ac_link") 2>conftest.er1
30370 grep -v '^ *+' conftest.er1 >conftest.err
30372 cat conftest.err >&5
30373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30374 (exit $ac_status); } && {
30375 test -z "$ac_c_werror_flag" ||
30376 test ! -s conftest.err
30377 } && test -s conftest$ac_exeext &&
30378 $as_test_x conftest$ac_exeext; then
30379 ac_cv_lib_dnet_dnet_ntoa=yes
30381 echo "$as_me: failed program was:" >&5
30382 sed 's/^/| /' conftest.$ac_ext >&5
30384 ac_cv_lib_dnet_dnet_ntoa=no
30387 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30388 conftest$ac_exeext conftest.$ac_ext
30389 LIBS=$ac_check_lib_save_LIBS
30391 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
30392 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6; }
30393 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
30394 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
30397 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
30398 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
30399 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6; }
30400 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
30401 echo $ECHO_N "(cached) $ECHO_C" >&6
30403 ac_check_lib_save_LIBS=$LIBS
30404 LIBS="-ldnet_stub $LIBS"
30405 cat >conftest.$ac_ext <<_ACEOF
30408 cat confdefs.h >>conftest.$ac_ext
30409 cat >>conftest.$ac_ext <<_ACEOF
30410 /* end confdefs.h. */
30412 /* Override any GCC internal prototype to avoid an error.
30413 Use char because int might match the return type of a GCC
30414 builtin and then its argument prototype would still apply. */
30422 return dnet_ntoa ();
30427 rm -f conftest.$ac_objext conftest$ac_exeext
30428 if { (ac_try="$ac_link"
30429 case "(($ac_try" in
30430 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
30431 *) ac_try_echo
=$ac_try;;
30433 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30434 (eval "$ac_link") 2>conftest.er1
30436 grep -v '^ *+' conftest.er1
>conftest.err
30438 cat conftest.err
>&5
30439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30440 (exit $ac_status); } && {
30441 test -z "$ac_c_werror_flag" ||
30442 test ! -s conftest.err
30443 } && test -s conftest
$ac_exeext &&
30444 $as_test_x conftest
$ac_exeext; then
30445 ac_cv_lib_dnet_stub_dnet_ntoa
=yes
30447 echo "$as_me: failed program was:" >&5
30448 sed 's/^/| /' conftest.
$ac_ext >&5
30450 ac_cv_lib_dnet_stub_dnet_ntoa
=no
30453 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
30454 conftest
$ac_exeext conftest.
$ac_ext
30455 LIBS
=$ac_check_lib_save_LIBS
30457 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
30458 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
30459 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
30460 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
30466 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
30467 conftest
$ac_exeext conftest.
$ac_ext
30468 LIBS
="$ac_xsave_LIBS"
30470 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
30471 # to get the SysV transport functions.
30472 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
30474 # The nsl library prevents programs from opening the X display
30475 # on Irix 5.2, according to T.E. Dickey.
30476 # The functions gethostbyname, getservbyname, and inet_addr are
30477 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
30478 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
30479 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
30480 if test "${ac_cv_func_gethostbyname+set}" = set; then
30481 echo $ECHO_N "(cached) $ECHO_C" >&6
30483 cat >conftest.
$ac_ext <<_ACEOF
30486 cat confdefs.h
>>conftest.
$ac_ext
30487 cat >>conftest.
$ac_ext <<_ACEOF
30488 /* end confdefs.h. */
30489 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
30490 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30491 #define gethostbyname innocuous_gethostbyname
30493 /* System header to define __stub macros and hopefully few prototypes,
30494 which can conflict with char gethostbyname (); below.
30495 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30496 <limits.h> exists even on freestanding compilers. */
30499 # include <limits.h>
30501 # include <assert.h>
30504 #undef gethostbyname
30506 /* Override any GCC internal prototype to avoid an error.
30507 Use char because int might match the return type of a GCC
30508 builtin and then its argument prototype would still apply. */
30512 char gethostbyname ();
30513 /* The GNU C library defines this for functions which it implements
30514 to always fail with ENOSYS. Some functions are actually named
30515 something starting with __ and the normal name is an alias. */
30516 #if defined __stub_gethostbyname || defined __stub___gethostbyname
30523 return gethostbyname ();
30528 rm -f conftest.
$ac_objext conftest
$ac_exeext
30529 if { (ac_try
="$ac_link"
30530 case "(($ac_try" in
30531 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
30532 *) ac_try_echo=$ac_try;;
30534 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30535 (eval "$ac_link") 2>conftest.er1
30537 grep -v '^ *+' conftest.er1 >conftest.err
30539 cat conftest.err >&5
30540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30541 (exit $ac_status); } && {
30542 test -z "$ac_c_werror_flag" ||
30543 test ! -s conftest.err
30544 } && test -s conftest$ac_exeext &&
30545 $as_test_x conftest$ac_exeext; then
30546 ac_cv_func_gethostbyname=yes
30548 echo "$as_me: failed program was:" >&5
30549 sed 's/^/| /' conftest.$ac_ext >&5
30551 ac_cv_func_gethostbyname=no
30554 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30555 conftest$ac_exeext conftest.$ac_ext
30557 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
30558 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
30560 if test $ac_cv_func_gethostbyname = no; then
30561 { echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
30562 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6; }
30563 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
30564 echo $ECHO_N "(cached) $ECHO_C" >&6
30566 ac_check_lib_save_LIBS=$LIBS
30568 cat >conftest.$ac_ext <<_ACEOF
30571 cat confdefs.h >>conftest.$ac_ext
30572 cat >>conftest.$ac_ext <<_ACEOF
30573 /* end confdefs.h. */
30575 /* Override any GCC internal prototype to avoid an error.
30576 Use char because int might match the return type of a GCC
30577 builtin and then its argument prototype would still apply. */
30581 char gethostbyname ();
30585 return gethostbyname ();
30590 rm -f conftest.$ac_objext conftest$ac_exeext
30591 if { (ac_try="$ac_link"
30592 case "(($ac_try" in
30593 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
30594 *) ac_try_echo
=$ac_try;;
30596 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30597 (eval "$ac_link") 2>conftest.er1
30599 grep -v '^ *+' conftest.er1
>conftest.err
30601 cat conftest.err
>&5
30602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30603 (exit $ac_status); } && {
30604 test -z "$ac_c_werror_flag" ||
30605 test ! -s conftest.err
30606 } && test -s conftest
$ac_exeext &&
30607 $as_test_x conftest
$ac_exeext; then
30608 ac_cv_lib_nsl_gethostbyname
=yes
30610 echo "$as_me: failed program was:" >&5
30611 sed 's/^/| /' conftest.
$ac_ext >&5
30613 ac_cv_lib_nsl_gethostbyname
=no
30616 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
30617 conftest
$ac_exeext conftest.
$ac_ext
30618 LIBS
=$ac_check_lib_save_LIBS
30620 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
30621 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6; }
30622 if test $ac_cv_lib_nsl_gethostbyname = yes; then
30623 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
30626 if test $ac_cv_lib_nsl_gethostbyname = no
; then
30627 { echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
30628 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6; }
30629 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
30630 echo $ECHO_N "(cached) $ECHO_C" >&6
30632 ac_check_lib_save_LIBS
=$LIBS
30634 cat >conftest.
$ac_ext <<_ACEOF
30637 cat confdefs.h
>>conftest.
$ac_ext
30638 cat >>conftest.
$ac_ext <<_ACEOF
30639 /* end confdefs.h. */
30641 /* Override any GCC internal prototype to avoid an error.
30642 Use char because int might match the return type of a GCC
30643 builtin and then its argument prototype would still apply. */
30647 char gethostbyname ();
30651 return gethostbyname ();
30656 rm -f conftest.
$ac_objext conftest
$ac_exeext
30657 if { (ac_try
="$ac_link"
30658 case "(($ac_try" in
30659 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
30660 *) ac_try_echo=$ac_try;;
30662 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30663 (eval "$ac_link") 2>conftest.er1
30665 grep -v '^ *+' conftest.er1 >conftest.err
30667 cat conftest.err >&5
30668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30669 (exit $ac_status); } && {
30670 test -z "$ac_c_werror_flag" ||
30671 test ! -s conftest.err
30672 } && test -s conftest$ac_exeext &&
30673 $as_test_x conftest$ac_exeext; then
30674 ac_cv_lib_bsd_gethostbyname=yes
30676 echo "$as_me: failed program was:" >&5
30677 sed 's/^/| /' conftest.$ac_ext >&5
30679 ac_cv_lib_bsd_gethostbyname=no
30682 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30683 conftest$ac_exeext conftest.$ac_ext
30684 LIBS=$ac_check_lib_save_LIBS
30686 { echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
30687 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6; }
30688 if test $ac_cv_lib_bsd_gethostbyname = yes; then
30689 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
30695 # lieder@skyler.mavd.honeywell.com says without -lsocket,
30696 # socket/setsockopt and other routines are undefined under SCO ODT
30697 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
30698 # on later versions), says Simon Leinen: it contains gethostby*
30699 # variants that don't use the name server (or something). -lsocket
30700 # must be given before -lnsl if both are needed. We assume that
30701 # if connect needs -lnsl, so does gethostbyname.
30702 { echo "$as_me:$LINENO: checking for connect" >&5
30703 echo $ECHO_N "checking for connect... $ECHO_C" >&6; }
30704 if test "${ac_cv_func_connect+set}" = set; then
30705 echo $ECHO_N "(cached) $ECHO_C" >&6
30707 cat >conftest.$ac_ext <<_ACEOF
30710 cat confdefs.h >>conftest.$ac_ext
30711 cat >>conftest.$ac_ext <<_ACEOF
30712 /* end confdefs.h. */
30713 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
30714 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30715 #define connect innocuous_connect
30717 /* System header to define __stub macros and hopefully few prototypes,
30718 which can conflict with char connect (); below.
30719 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30720 <limits.h> exists even on freestanding compilers. */
30723 # include <limits.h>
30725 # include <assert.h>
30730 /* Override any GCC internal prototype to avoid an error.
30731 Use char because int might match the return type of a GCC
30732 builtin and then its argument prototype would still apply. */
30737 /* The GNU C library defines this for functions which it implements
30738 to always fail with ENOSYS. Some functions are actually named
30739 something starting with __ and the normal name is an alias. */
30740 #if defined __stub_connect || defined __stub___connect
30752 rm -f conftest.$ac_objext conftest$ac_exeext
30753 if { (ac_try="$ac_link"
30754 case "(($ac_try" in
30755 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
30756 *) ac_try_echo
=$ac_try;;
30758 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30759 (eval "$ac_link") 2>conftest.er1
30761 grep -v '^ *+' conftest.er1
>conftest.err
30763 cat conftest.err
>&5
30764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30765 (exit $ac_status); } && {
30766 test -z "$ac_c_werror_flag" ||
30767 test ! -s conftest.err
30768 } && test -s conftest
$ac_exeext &&
30769 $as_test_x conftest
$ac_exeext; then
30770 ac_cv_func_connect
=yes
30772 echo "$as_me: failed program was:" >&5
30773 sed 's/^/| /' conftest.
$ac_ext >&5
30775 ac_cv_func_connect
=no
30778 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
30779 conftest
$ac_exeext conftest.
$ac_ext
30781 { echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
30782 echo "${ECHO_T}$ac_cv_func_connect" >&6; }
30784 if test $ac_cv_func_connect = no
; then
30785 { echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
30786 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6; }
30787 if test "${ac_cv_lib_socket_connect+set}" = set; then
30788 echo $ECHO_N "(cached) $ECHO_C" >&6
30790 ac_check_lib_save_LIBS
=$LIBS
30791 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
30792 cat >conftest.
$ac_ext <<_ACEOF
30795 cat confdefs.h
>>conftest.
$ac_ext
30796 cat >>conftest.
$ac_ext <<_ACEOF
30797 /* end confdefs.h. */
30799 /* Override any GCC internal prototype to avoid an error.
30800 Use char because int might match the return type of a GCC
30801 builtin and then its argument prototype would still apply. */
30814 rm -f conftest.
$ac_objext conftest
$ac_exeext
30815 if { (ac_try
="$ac_link"
30816 case "(($ac_try" in
30817 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
30818 *) ac_try_echo=$ac_try;;
30820 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30821 (eval "$ac_link") 2>conftest.er1
30823 grep -v '^ *+' conftest.er1 >conftest.err
30825 cat conftest.err >&5
30826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30827 (exit $ac_status); } && {
30828 test -z "$ac_c_werror_flag" ||
30829 test ! -s conftest.err
30830 } && test -s conftest$ac_exeext &&
30831 $as_test_x conftest$ac_exeext; then
30832 ac_cv_lib_socket_connect=yes
30834 echo "$as_me: failed program was:" >&5
30835 sed 's/^/| /' conftest.$ac_ext >&5
30837 ac_cv_lib_socket_connect=no
30840 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30841 conftest$ac_exeext conftest.$ac_ext
30842 LIBS=$ac_check_lib_save_LIBS
30844 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
30845 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6; }
30846 if test $ac_cv_lib_socket_connect = yes; then
30847 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
30852 # Guillermo Gomez says -lposix is necessary on A/UX.
30853 { echo "$as_me:$LINENO: checking for remove" >&5
30854 echo $ECHO_N "checking for remove... $ECHO_C" >&6; }
30855 if test "${ac_cv_func_remove+set}" = set; then
30856 echo $ECHO_N "(cached) $ECHO_C" >&6
30858 cat >conftest.$ac_ext <<_ACEOF
30861 cat confdefs.h >>conftest.$ac_ext
30862 cat >>conftest.$ac_ext <<_ACEOF
30863 /* end confdefs.h. */
30864 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
30865 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30866 #define remove innocuous_remove
30868 /* System header to define __stub macros and hopefully few prototypes,
30869 which can conflict with char remove (); below.
30870 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30871 <limits.h> exists even on freestanding compilers. */
30874 # include <limits.h>
30876 # include <assert.h>
30881 /* Override any GCC internal prototype to avoid an error.
30882 Use char because int might match the return type of a GCC
30883 builtin and then its argument prototype would still apply. */
30888 /* The GNU C library defines this for functions which it implements
30889 to always fail with ENOSYS. Some functions are actually named
30890 something starting with __ and the normal name is an alias. */
30891 #if defined __stub_remove || defined __stub___remove
30903 rm -f conftest.$ac_objext conftest$ac_exeext
30904 if { (ac_try="$ac_link"
30905 case "(($ac_try" in
30906 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
30907 *) ac_try_echo
=$ac_try;;
30909 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30910 (eval "$ac_link") 2>conftest.er1
30912 grep -v '^ *+' conftest.er1
>conftest.err
30914 cat conftest.err
>&5
30915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30916 (exit $ac_status); } && {
30917 test -z "$ac_c_werror_flag" ||
30918 test ! -s conftest.err
30919 } && test -s conftest
$ac_exeext &&
30920 $as_test_x conftest
$ac_exeext; then
30921 ac_cv_func_remove
=yes
30923 echo "$as_me: failed program was:" >&5
30924 sed 's/^/| /' conftest.
$ac_ext >&5
30926 ac_cv_func_remove
=no
30929 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
30930 conftest
$ac_exeext conftest.
$ac_ext
30932 { echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
30933 echo "${ECHO_T}$ac_cv_func_remove" >&6; }
30935 if test $ac_cv_func_remove = no
; then
30936 { echo "$as_me:$LINENO: checking for remove in -lposix" >&5
30937 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6; }
30938 if test "${ac_cv_lib_posix_remove+set}" = set; then
30939 echo $ECHO_N "(cached) $ECHO_C" >&6
30941 ac_check_lib_save_LIBS
=$LIBS
30942 LIBS
="-lposix $LIBS"
30943 cat >conftest.
$ac_ext <<_ACEOF
30946 cat confdefs.h
>>conftest.
$ac_ext
30947 cat >>conftest.
$ac_ext <<_ACEOF
30948 /* end confdefs.h. */
30950 /* Override any GCC internal prototype to avoid an error.
30951 Use char because int might match the return type of a GCC
30952 builtin and then its argument prototype would still apply. */
30965 rm -f conftest.
$ac_objext conftest
$ac_exeext
30966 if { (ac_try
="$ac_link"
30967 case "(($ac_try" in
30968 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
30969 *) ac_try_echo=$ac_try;;
30971 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30972 (eval "$ac_link") 2>conftest.er1
30974 grep -v '^ *+' conftest.er1 >conftest.err
30976 cat conftest.err >&5
30977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30978 (exit $ac_status); } && {
30979 test -z "$ac_c_werror_flag" ||
30980 test ! -s conftest.err
30981 } && test -s conftest$ac_exeext &&
30982 $as_test_x conftest$ac_exeext; then
30983 ac_cv_lib_posix_remove=yes
30985 echo "$as_me: failed program was:" >&5
30986 sed 's/^/| /' conftest.$ac_ext >&5
30988 ac_cv_lib_posix_remove=no
30991 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30992 conftest$ac_exeext conftest.$ac_ext
30993 LIBS=$ac_check_lib_save_LIBS
30995 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
30996 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6; }
30997 if test $ac_cv_lib_posix_remove = yes; then
30998 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
31003 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
31004 { echo "$as_me:$LINENO: checking for shmat" >&5
31005 echo $ECHO_N "checking for shmat... $ECHO_C" >&6; }
31006 if test "${ac_cv_func_shmat+set}" = set; then
31007 echo $ECHO_N "(cached) $ECHO_C" >&6
31009 cat >conftest.$ac_ext <<_ACEOF
31012 cat confdefs.h >>conftest.$ac_ext
31013 cat >>conftest.$ac_ext <<_ACEOF
31014 /* end confdefs.h. */
31015 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
31016 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31017 #define shmat innocuous_shmat
31019 /* System header to define __stub macros and hopefully few prototypes,
31020 which can conflict with char shmat (); below.
31021 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31022 <limits.h> exists even on freestanding compilers. */
31025 # include <limits.h>
31027 # include <assert.h>
31032 /* Override any GCC internal prototype to avoid an error.
31033 Use char because int might match the return type of a GCC
31034 builtin and then its argument prototype would still apply. */
31039 /* The GNU C library defines this for functions which it implements
31040 to always fail with ENOSYS. Some functions are actually named
31041 something starting with __ and the normal name is an alias. */
31042 #if defined __stub_shmat || defined __stub___shmat
31054 rm -f conftest.$ac_objext conftest$ac_exeext
31055 if { (ac_try="$ac_link"
31056 case "(($ac_try" in
31057 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
31058 *) ac_try_echo
=$ac_try;;
31060 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31061 (eval "$ac_link") 2>conftest.er1
31063 grep -v '^ *+' conftest.er1
>conftest.err
31065 cat conftest.err
>&5
31066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31067 (exit $ac_status); } && {
31068 test -z "$ac_c_werror_flag" ||
31069 test ! -s conftest.err
31070 } && test -s conftest
$ac_exeext &&
31071 $as_test_x conftest
$ac_exeext; then
31072 ac_cv_func_shmat
=yes
31074 echo "$as_me: failed program was:" >&5
31075 sed 's/^/| /' conftest.
$ac_ext >&5
31077 ac_cv_func_shmat
=no
31080 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
31081 conftest
$ac_exeext conftest.
$ac_ext
31083 { echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
31084 echo "${ECHO_T}$ac_cv_func_shmat" >&6; }
31086 if test $ac_cv_func_shmat = no
; then
31087 { echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
31088 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6; }
31089 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
31090 echo $ECHO_N "(cached) $ECHO_C" >&6
31092 ac_check_lib_save_LIBS
=$LIBS
31094 cat >conftest.
$ac_ext <<_ACEOF
31097 cat confdefs.h
>>conftest.
$ac_ext
31098 cat >>conftest.
$ac_ext <<_ACEOF
31099 /* end confdefs.h. */
31101 /* Override any GCC internal prototype to avoid an error.
31102 Use char because int might match the return type of a GCC
31103 builtin and then its argument prototype would still apply. */
31116 rm -f conftest.
$ac_objext conftest
$ac_exeext
31117 if { (ac_try
="$ac_link"
31118 case "(($ac_try" in
31119 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
31120 *) ac_try_echo=$ac_try;;
31122 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31123 (eval "$ac_link") 2>conftest.er1
31125 grep -v '^ *+' conftest.er1 >conftest.err
31127 cat conftest.err >&5
31128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31129 (exit $ac_status); } && {
31130 test -z "$ac_c_werror_flag" ||
31131 test ! -s conftest.err
31132 } && test -s conftest$ac_exeext &&
31133 $as_test_x conftest$ac_exeext; then
31134 ac_cv_lib_ipc_shmat=yes
31136 echo "$as_me: failed program was:" >&5
31137 sed 's/^/| /' conftest.$ac_ext >&5
31139 ac_cv_lib_ipc_shmat=no
31142 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31143 conftest$ac_exeext conftest.$ac_ext
31144 LIBS=$ac_check_lib_save_LIBS
31146 { echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
31147 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6; }
31148 if test $ac_cv_lib_ipc_shmat = yes; then
31149 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
31155 # Check for libraries that X11R6 Xt/Xaw programs need.
31156 ac_save_LDFLAGS=$LDFLAGS
31157 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
31158 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
31159 # check for ICE first), but we must link in the order -lSM -lICE or
31160 # we get undefined symbols. So assume we have SM if we have ICE.
31161 # These have to be linked with before -lX11, unlike the other
31162 # libraries we check for below, so use a different variable.
31163 # John Interrante, Karl Berry
31164 { echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
31165 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6; }
31166 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
31167 echo $ECHO_N "(cached) $ECHO_C" >&6
31169 ac_check_lib_save_LIBS=$LIBS
31170 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
31171 cat >conftest.$ac_ext <<_ACEOF
31174 cat confdefs.h >>conftest.$ac_ext
31175 cat >>conftest.$ac_ext <<_ACEOF
31176 /* end confdefs.h. */
31178 /* Override any GCC internal prototype to avoid an error.
31179 Use char because int might match the return type of a GCC
31180 builtin and then its argument prototype would still apply. */
31184 char IceConnectionNumber ();
31188 return IceConnectionNumber ();
31193 rm -f conftest.$ac_objext conftest$ac_exeext
31194 if { (ac_try="$ac_link"
31195 case "(($ac_try" in
31196 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
31197 *) ac_try_echo
=$ac_try;;
31199 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31200 (eval "$ac_link") 2>conftest.er1
31202 grep -v '^ *+' conftest.er1
>conftest.err
31204 cat conftest.err
>&5
31205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31206 (exit $ac_status); } && {
31207 test -z "$ac_c_werror_flag" ||
31208 test ! -s conftest.err
31209 } && test -s conftest
$ac_exeext &&
31210 $as_test_x conftest
$ac_exeext; then
31211 ac_cv_lib_ICE_IceConnectionNumber
=yes
31213 echo "$as_me: failed program was:" >&5
31214 sed 's/^/| /' conftest.
$ac_ext >&5
31216 ac_cv_lib_ICE_IceConnectionNumber
=no
31219 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
31220 conftest
$ac_exeext conftest.
$ac_ext
31221 LIBS
=$ac_check_lib_save_LIBS
31223 { echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
31224 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
31225 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
31226 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
31229 LDFLAGS
=$ac_save_LDFLAGS
31234 if test "$no_x" = "yes"; then
31235 { { echo "$as_me:$LINENO: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&5
31236 echo "$as_me: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&2;}
31237 { (exit 1); exit 1; }; }
31240 GUI_TK_LIBRARY
=`echo $X_LIBS | sed 's/ -LNONE//' | sed 's/ -RNONE//'`
31241 TOOLKIT_INCLUDE
=`echo $X_CFLAGS | sed 's/ -INONE//'`
31242 AFMINSTALL
=afminstall
31243 COMPILED_X_PROGRAM
=0
31247 if test "$wxUSE_X11" = 1; then
31248 if test "$wxUSE_NANOX" = "yes"; then
31249 { echo "$as_me:$LINENO: checking for MicroWindows/NanoX distribution" >&5
31250 echo $ECHO_N "checking for MicroWindows/NanoX distribution... $ECHO_C" >&6; }
31251 if test "x$MICROWIN" = x
; then
31252 { echo "$as_me:$LINENO: result: not found" >&5
31253 echo "${ECHO_T}not found" >&6; }
31254 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&5
31255 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&2;}
31256 { (exit 1); exit 1; }; }
31258 { echo "$as_me:$LINENO: result: $MICROWIN" >&5
31259 echo "${ECHO_T}$MICROWIN" >&6; }
31260 cat >>confdefs.h
<<\_ACEOF
31261 #define wxUSE_NANOX 1
31267 if test "$wxUSE_UNICODE" = "yes"; then
31270 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
31271 if test -n "$ac_tool_prefix"; then
31272 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
31273 set dummy
${ac_tool_prefix}pkg
-config; ac_word
=$2
31274 { echo "$as_me:$LINENO: checking for $ac_word" >&5
31275 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
31276 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
31277 echo $ECHO_N "(cached) $ECHO_C" >&6
31279 case $PKG_CONFIG in
31281 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
31284 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
31285 for as_dir
in $PATH
31288 test -z "$as_dir" && as_dir
=.
31289 for ac_exec_ext
in '' $ac_executable_extensions; do
31290 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
31291 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
31292 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
31302 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
31303 if test -n "$PKG_CONFIG"; then
31304 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
31305 echo "${ECHO_T}$PKG_CONFIG" >&6; }
31307 { echo "$as_me:$LINENO: result: no" >&5
31308 echo "${ECHO_T}no" >&6; }
31313 if test -z "$ac_cv_path_PKG_CONFIG"; then
31314 ac_pt_PKG_CONFIG
=$PKG_CONFIG
31315 # Extract the first word of "pkg-config", so it can be a program name with args.
31316 set dummy pkg
-config; ac_word
=$2
31317 { echo "$as_me:$LINENO: checking for $ac_word" >&5
31318 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
31319 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
31320 echo $ECHO_N "(cached) $ECHO_C" >&6
31322 case $ac_pt_PKG_CONFIG in
31324 ac_cv_path_ac_pt_PKG_CONFIG
="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
31327 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
31328 for as_dir
in $PATH
31331 test -z "$as_dir" && as_dir
=.
31332 for ac_exec_ext
in '' $ac_executable_extensions; do
31333 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
31334 ac_cv_path_ac_pt_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
31335 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
31345 ac_pt_PKG_CONFIG
=$ac_cv_path_ac_pt_PKG_CONFIG
31346 if test -n "$ac_pt_PKG_CONFIG"; then
31347 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
31348 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
31350 { echo "$as_me:$LINENO: result: no" >&5
31351 echo "${ECHO_T}no" >&6; }
31354 if test "x$ac_pt_PKG_CONFIG" = x
; then
31357 case $cross_compiling:$ac_tool_warned in
31359 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
31360 whose name does not start with the host triplet. If you think this
31361 configuration is useful to you, please write to autoconf@gnu.org." >&5
31362 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
31363 whose name does not start with the host triplet. If you think this
31364 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
31365 ac_tool_warned
=yes ;;
31367 PKG_CONFIG
=$ac_pt_PKG_CONFIG
31370 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
31374 if test -n "$PKG_CONFIG"; then
31375 _pkg_min_version
=0.9.0
31376 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
31377 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
31378 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
31379 { echo "$as_me:$LINENO: result: yes" >&5
31380 echo "${ECHO_T}yes" >&6; }
31382 { echo "$as_me:$LINENO: result: no" >&5
31383 echo "${ECHO_T}no" >&6; }
31391 { echo "$as_me:$LINENO: checking for PANGOX" >&5
31392 echo $ECHO_N "checking for PANGOX... $ECHO_C" >&6; }
31394 if test -n "$PKG_CONFIG"; then
31395 if test -n "$PANGOX_CFLAGS"; then
31396 pkg_cv_PANGOX_CFLAGS
="$PANGOX_CFLAGS"
31398 if test -n "$PKG_CONFIG" && \
31399 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
31400 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
31402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31403 (exit $ac_status); }; then
31404 pkg_cv_PANGOX_CFLAGS
=`$PKG_CONFIG --cflags "pangox" 2>/dev/null`
31412 if test -n "$PKG_CONFIG"; then
31413 if test -n "$PANGOX_LIBS"; then
31414 pkg_cv_PANGOX_LIBS
="$PANGOX_LIBS"
31416 if test -n "$PKG_CONFIG" && \
31417 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
31418 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
31420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31421 (exit $ac_status); }; then
31422 pkg_cv_PANGOX_LIBS
=`$PKG_CONFIG --libs "pangox" 2>/dev/null`
31433 if test $pkg_failed = yes; then
31435 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
31436 _pkg_short_errors_supported
=yes
31438 _pkg_short_errors_supported
=no
31440 if test $_pkg_short_errors_supported = yes; then
31441 PANGOX_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangox"`
31443 PANGOX_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangox"`
31445 # Put the nasty error message in config.log where it belongs
31446 echo "$PANGOX_PKG_ERRORS" >&5
31449 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
31450 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
31451 { (exit 1); exit 1; }; }
31454 elif test $pkg_failed = untried
; then
31456 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
31457 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
31458 { (exit 1); exit 1; }; }
31462 PANGOX_CFLAGS
=$pkg_cv_PANGOX_CFLAGS
31463 PANGOX_LIBS
=$pkg_cv_PANGOX_LIBS
31464 { echo "$as_me:$LINENO: result: yes" >&5
31465 echo "${ECHO_T}yes" >&6; }
31467 CFLAGS
="$PANGOX_CFLAGS $CFLAGS"
31468 CXXFLAGS
="$PANGOX_CFLAGS $CXXFLAGS"
31469 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOX_LIBS"
31474 { echo "$as_me:$LINENO: checking for PANGOFT2" >&5
31475 echo $ECHO_N "checking for PANGOFT2... $ECHO_C" >&6; }
31477 if test -n "$PKG_CONFIG"; then
31478 if test -n "$PANGOFT2_CFLAGS"; then
31479 pkg_cv_PANGOFT2_CFLAGS
="$PANGOFT2_CFLAGS"
31481 if test -n "$PKG_CONFIG" && \
31482 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
31483 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
31485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31486 (exit $ac_status); }; then
31487 pkg_cv_PANGOFT2_CFLAGS
=`$PKG_CONFIG --cflags "pangoft2" 2>/dev/null`
31495 if test -n "$PKG_CONFIG"; then
31496 if test -n "$PANGOFT2_LIBS"; then
31497 pkg_cv_PANGOFT2_LIBS
="$PANGOFT2_LIBS"
31499 if test -n "$PKG_CONFIG" && \
31500 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
31501 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
31503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31504 (exit $ac_status); }; then
31505 pkg_cv_PANGOFT2_LIBS
=`$PKG_CONFIG --libs "pangoft2" 2>/dev/null`
31516 if test $pkg_failed = yes; then
31518 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
31519 _pkg_short_errors_supported
=yes
31521 _pkg_short_errors_supported
=no
31523 if test $_pkg_short_errors_supported = yes; then
31524 PANGOFT2_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoft2"`
31526 PANGOFT2_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
31528 # Put the nasty error message in config.log where it belongs
31529 echo "$PANGOFT2_PKG_ERRORS" >&5
31532 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
31533 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
31534 wxUSE_PRINTING_ARCHITECTURE
="no"
31537 elif test $pkg_failed = untried
; then
31539 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
31540 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
31541 wxUSE_PRINTING_ARCHITECTURE
="no"
31545 PANGOFT2_CFLAGS
=$pkg_cv_PANGOFT2_CFLAGS
31546 PANGOFT2_LIBS
=$pkg_cv_PANGOFT2_LIBS
31547 { echo "$as_me:$LINENO: result: yes" >&5
31548 echo "${ECHO_T}yes" >&6; }
31550 CFLAGS
="$PANGOFT2_CFLAGS $CFLAGS"
31551 CXXFLAGS
="$PANGOFT2_CFLAGS $CXXFLAGS"
31552 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
31557 { echo "$as_me:$LINENO: checking for PANGOXFT" >&5
31558 echo $ECHO_N "checking for PANGOXFT... $ECHO_C" >&6; }
31560 if test -n "$PKG_CONFIG"; then
31561 if test -n "$PANGOXFT_CFLAGS"; then
31562 pkg_cv_PANGOXFT_CFLAGS
="$PANGOXFT_CFLAGS"
31564 if test -n "$PKG_CONFIG" && \
31565 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
31566 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
31568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31569 (exit $ac_status); }; then
31570 pkg_cv_PANGOXFT_CFLAGS
=`$PKG_CONFIG --cflags "pangoxft" 2>/dev/null`
31578 if test -n "$PKG_CONFIG"; then
31579 if test -n "$PANGOXFT_LIBS"; then
31580 pkg_cv_PANGOXFT_LIBS
="$PANGOXFT_LIBS"
31582 if test -n "$PKG_CONFIG" && \
31583 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
31584 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
31586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31587 (exit $ac_status); }; then
31588 pkg_cv_PANGOXFT_LIBS
=`$PKG_CONFIG --libs "pangoxft" 2>/dev/null`
31599 if test $pkg_failed = yes; then
31601 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
31602 _pkg_short_errors_supported
=yes
31604 _pkg_short_errors_supported
=no
31606 if test $_pkg_short_errors_supported = yes; then
31607 PANGOXFT_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoxft"`
31609 PANGOXFT_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoxft"`
31611 # Put the nasty error message in config.log where it belongs
31612 echo "$PANGOXFT_PKG_ERRORS" >&5
31615 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
31616 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
31619 elif test $pkg_failed = untried
; then
31621 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
31622 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
31626 PANGOXFT_CFLAGS
=$pkg_cv_PANGOXFT_CFLAGS
31627 PANGOXFT_LIBS
=$pkg_cv_PANGOXFT_LIBS
31628 { echo "$as_me:$LINENO: result: yes" >&5
31629 echo "${ECHO_T}yes" >&6; }
31631 cat >>confdefs.h
<<\_ACEOF
31632 #define HAVE_PANGO_XFT 1
31635 CFLAGS
="$PANGOXFT_CFLAGS $CFLAGS"
31636 CXXFLAGS
="$PANGOXFT_CFLAGS $CXXFLAGS"
31637 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOXFT_LIBS"
31641 LIBS
="$LIBS $PANGOX_LIBS"
31643 for ac_func
in pango_font_family_is_monospace
31645 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31646 { echo "$as_me:$LINENO: checking for $ac_func" >&5
31647 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
31648 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
31649 echo $ECHO_N "(cached) $ECHO_C" >&6
31651 cat >conftest.
$ac_ext <<_ACEOF
31654 cat confdefs.h
>>conftest.
$ac_ext
31655 cat >>conftest.
$ac_ext <<_ACEOF
31656 /* end confdefs.h. */
31657 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31658 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31659 #define $ac_func innocuous_$ac_func
31661 /* System header to define __stub macros and hopefully few prototypes,
31662 which can conflict with char $ac_func (); below.
31663 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31664 <limits.h> exists even on freestanding compilers. */
31667 # include <limits.h>
31669 # include <assert.h>
31674 /* Override any GCC internal prototype to avoid an error.
31675 Use char because int might match the return type of a GCC
31676 builtin and then its argument prototype would still apply. */
31681 /* The GNU C library defines this for functions which it implements
31682 to always fail with ENOSYS. Some functions are actually named
31683 something starting with __ and the normal name is an alias. */
31684 #if defined __stub_$ac_func || defined __stub___$ac_func
31691 return $ac_func ();
31696 rm -f conftest.
$ac_objext conftest
$ac_exeext
31697 if { (ac_try
="$ac_link"
31698 case "(($ac_try" in
31699 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
31700 *) ac_try_echo=$ac_try;;
31702 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31703 (eval "$ac_link") 2>conftest.er1
31705 grep -v '^ *+' conftest.er1 >conftest.err
31707 cat conftest.err >&5
31708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31709 (exit $ac_status); } && {
31710 test -z "$ac_c_werror_flag" ||
31711 test ! -s conftest.err
31712 } && test -s conftest$ac_exeext &&
31713 $as_test_x conftest$ac_exeext; then
31714 eval "$as_ac_var=yes"
31716 echo "$as_me: failed program was:" >&5
31717 sed 's/^/| /' conftest.$ac_ext >&5
31719 eval "$as_ac_var=no"
31722 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31723 conftest$ac_exeext conftest.$ac_ext
31725 ac_res=`eval echo '${'$as_ac_var'}'`
31726 { echo "$as_me:$LINENO: result: $ac_res" >&5
31727 echo "${ECHO_T}$ac_res" >&6; }
31728 if test `eval echo '${'$as_ac_var'}'` = yes; then
31729 cat >>confdefs.h <<_ACEOF
31730 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31739 wxUSE_UNIVERSAL="yes"
31741 if test "$wxUSE_NANOX" = "yes"; then
31742 TOOLKIT_INCLUDE="-I\$(top_srcdir)/include/wx/x11/nanox -I\$(MICROWIN)/src/include $TOOLKIT_INCLUDE"
31743 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"
31744 GUI_TK_LIBRARY="$GUI_TK_LIBRARY \$(MICROWIN)/src/lib/libnano-X.a"
31746 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lX11"
31753 if test "$wxUSE_MOTIF" = 1; then
31754 { echo "$as_me:$LINENO: checking for Motif/Lesstif headers" >&5
31755 echo $ECHO_N "checking for Motif/Lesstif headers... $ECHO_C" >&6; }
31758 for ac_dir in $SEARCH_INCLUDE /usr/include;
31760 if test -f "$ac_dir/Xm/Xm.h"; then
31761 ac_find_includes=$ac_dir
31766 if test "$ac_find_includes" != "" ; then
31767 { echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
31768 echo "${ECHO_T}found in $ac_find_includes" >&6; }
31770 if test "x$ac_find_includes" = "x/usr/include"; then
31771 ac_path_to_include=""
31773 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev/null
31775 if test $result = 0; then
31776 ac_path_to_include=""
31778 ac_path_to_include=" -I$ac_find_includes"
31782 TOOLKIT_INCLUDE="$TOOLKIT_INCLUDE$ac_path_to_include"
31784 save_CFLAGS=$CFLAGS
31785 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
31787 cat >conftest.$ac_ext <<_ACEOF
31790 cat confdefs.h >>conftest.$ac_ext
31791 cat >>conftest.$ac_ext <<_ACEOF
31792 /* end confdefs.h. */
31801 version = xmUseVersion;
31807 rm -f conftest.$ac_objext
31808 if { (ac_try="$ac_compile"
31809 case "(($ac_try" in
31810 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
31811 *) ac_try_echo
=$ac_try;;
31813 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31814 (eval "$ac_compile") 2>conftest.er1
31816 grep -v '^ *+' conftest.er1
>conftest.err
31818 cat conftest.err
>&5
31819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31820 (exit $ac_status); } && {
31821 test -z "$ac_c_werror_flag" ||
31822 test ! -s conftest.err
31823 } && test -s conftest.
$ac_objext; then
31825 { echo "$as_me:$LINENO: result: found in default search path" >&5
31826 echo "${ECHO_T}found in default search path" >&6; }
31827 COMPILED_X_PROGRAM
=1
31830 echo "$as_me: failed program was:" >&5
31831 sed 's/^/| /' conftest.
$ac_ext >&5
31834 { echo "$as_me:$LINENO: result: no" >&5
31835 echo "${ECHO_T}no" >&6; }
31836 { { echo "$as_me:$LINENO: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&5
31837 echo "$as_me: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&2;}
31838 { (exit 1); exit 1; }; }
31843 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
31845 CFLAGS
=$save_CFLAGS
31849 { echo "$as_me:$LINENO: checking for Motif/Lesstif library" >&5
31850 echo $ECHO_N "checking for Motif/Lesstif library... $ECHO_C" >&6; }
31853 for ac_dir
in $SEARCH_LIB;
31855 for ac_extension
in a so sl dylib dll.a
; do
31856 if test -f "$ac_dir/libXm.$ac_extension"; then
31857 ac_find_libraries
=$ac_dir
31864 if test "x$ac_find_libraries" != "x" ; then
31865 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
31866 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
31869 if test "$ac_find_libraries" = "default location"; then
31872 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
31874 if test $result = 0; then
31877 ac_path_to_link
=" -L$ac_find_libraries"
31881 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY$ac_path_to_link"
31883 save_CFLAGS
=$CFLAGS
31884 CFLAGS
="$TOOLKIT_INCLUDE $CFLAGS"
31886 LIBS
="$GUI_TK_LIBRARY -lXm -lXmu -lXext -lX11"
31888 cat >conftest.
$ac_ext <<_ACEOF
31891 cat confdefs.h
>>conftest.
$ac_ext
31892 cat >>conftest.
$ac_ext <<_ACEOF
31893 /* end confdefs.h. */
31902 version = xmUseVersion;
31908 rm -f conftest.
$ac_objext conftest
$ac_exeext
31909 if { (ac_try
="$ac_link"
31910 case "(($ac_try" in
31911 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
31912 *) ac_try_echo=$ac_try;;
31914 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31915 (eval "$ac_link") 2>conftest.er1
31917 grep -v '^ *+' conftest.er1 >conftest.err
31919 cat conftest.err >&5
31920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31921 (exit $ac_status); } && {
31922 test -z "$ac_c_werror_flag" ||
31923 test ! -s conftest.err
31924 } && test -s conftest$ac_exeext &&
31925 $as_test_x conftest$ac_exeext; then
31927 { echo "$as_me:$LINENO: result: found in default search path" >&5
31928 echo "${ECHO_T}found in default search path" >&6; }
31929 COMPILED_X_PROGRAM=1
31932 echo "$as_me: failed program was:" >&5
31933 sed 's/^/| /' conftest.$ac_ext >&5
31936 { echo "$as_me:$LINENO: result: no" >&5
31937 echo "${ECHO_T}no" >&6; }
31938 { { echo "$as_me:$LINENO: error: please set LDFLAGS to contain the location of libXm" >&5
31939 echo "$as_me: error: please set LDFLAGS to contain the location of libXm" >&2;}
31940 { (exit 1); exit 1; }; }
31945 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31946 conftest$ac_exeext conftest.$ac_ext
31948 CFLAGS=$save_CFLAGS
31952 { echo "$as_me:$LINENO: checking if we need -lXp and/or -lSM -lICE" >&5
31953 echo $ECHO_N "checking if we need -lXp and/or -lSM -lICE... $ECHO_C" >&6; }
31957 for libp in "" " -lXp"; do
31958 if test "$libs_found" = 0; then
31959 for libsm_ice in "" " -lSM -lICE"; do
31960 if test "$libs_found" = 0; then
31962 LIBS="$GUI_TK_LIBRARY -lXm ${libp} -lXmu -lXext -lXt${libsm_ice} -lX11"
31963 save_CFLAGS=$CFLAGS
31964 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
31966 cat >conftest.$ac_ext <<_ACEOF
31969 cat confdefs.h >>conftest.$ac_ext
31970 cat >>conftest.$ac_ext <<_ACEOF
31971 /* end confdefs.h. */
31974 #include <Xm/List.h>
31980 XmString string = NULL;
31983 XmListAddItem(w, string, position);
31989 rm -f conftest.$ac_objext conftest$ac_exeext
31990 if { (ac_try="$ac_link"
31991 case "(($ac_try" in
31992 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
31993 *) ac_try_echo
=$ac_try;;
31995 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31996 (eval "$ac_link") 2>conftest.er1
31998 grep -v '^ *+' conftest.er1
>conftest.err
32000 cat conftest.err
>&5
32001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32002 (exit $ac_status); } && {
32003 test -z "$ac_c_werror_flag" ||
32004 test ! -s conftest.err
32005 } && test -s conftest
$ac_exeext &&
32006 $as_test_x conftest
$ac_exeext; then
32009 libsm_ice_link
="$libsm_ice"
32010 { echo "$as_me:$LINENO: result: need${libp_link}${libsm_ice_link}" >&5
32011 echo "${ECHO_T}need${libp_link}${libsm_ice_link}" >&6; }
32015 echo "$as_me: failed program was:" >&5
32016 sed 's/^/| /' conftest.
$ac_ext >&5
32022 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
32023 conftest
$ac_exeext conftest.
$ac_ext
32026 CFLAGS
=$save_CFLAGS
32032 if test "$libs_found" = 0; then
32033 { echo "$as_me:$LINENO: result: can't find the right libraries" >&5
32034 echo "${ECHO_T}can't find the right libraries" >&6; }
32035 { { echo "$as_me:$LINENO: error: can't link a simple motif program" >&5
32036 echo "$as_me: error: can't link a simple motif program" >&2;}
32037 { (exit 1); exit 1; }; }
32040 { echo "$as_me:$LINENO: checking for SgCreateList in -lSgm" >&5
32041 echo $ECHO_N "checking for SgCreateList in -lSgm... $ECHO_C" >&6; }
32042 if test "${ac_cv_lib_Sgm_SgCreateList+set}" = set; then
32043 echo $ECHO_N "(cached) $ECHO_C" >&6
32045 ac_check_lib_save_LIBS
=$LIBS
32047 cat >conftest.
$ac_ext <<_ACEOF
32050 cat confdefs.h
>>conftest.
$ac_ext
32051 cat >>conftest.
$ac_ext <<_ACEOF
32052 /* end confdefs.h. */
32054 /* Override any GCC internal prototype to avoid an error.
32055 Use char because int might match the return type of a GCC
32056 builtin and then its argument prototype would still apply. */
32060 char SgCreateList ();
32064 return SgCreateList ();
32069 rm -f conftest.
$ac_objext conftest
$ac_exeext
32070 if { (ac_try
="$ac_link"
32071 case "(($ac_try" in
32072 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
32073 *) ac_try_echo=$ac_try;;
32075 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32076 (eval "$ac_link") 2>conftest.er1
32078 grep -v '^ *+' conftest.er1 >conftest.err
32080 cat conftest.err >&5
32081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32082 (exit $ac_status); } && {
32083 test -z "$ac_c_werror_flag" ||
32084 test ! -s conftest.err
32085 } && test -s conftest$ac_exeext &&
32086 $as_test_x conftest$ac_exeext; then
32087 ac_cv_lib_Sgm_SgCreateList=yes
32089 echo "$as_me: failed program was:" >&5
32090 sed 's/^/| /' conftest.$ac_ext >&5
32092 ac_cv_lib_Sgm_SgCreateList=no
32095 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32096 conftest$ac_exeext conftest.$ac_ext
32097 LIBS=$ac_check_lib_save_LIBS
32099 { echo "$as_me:$LINENO: result: $ac_cv_lib_Sgm_SgCreateList" >&5
32100 echo "${ECHO_T}$ac_cv_lib_Sgm_SgCreateList" >&6; }
32101 if test $ac_cv_lib_Sgm_SgCreateList = yes; then
32102 libsgm_link=" -lSgm"
32106 save_CFLAGS=$CFLAGS
32107 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
32109 { echo "$as_me:$LINENO: checking for Motif 2" >&5
32110 echo $ECHO_N "checking for Motif 2... $ECHO_C" >&6; }
32111 if test "${wx_cv_lib_motif2+set}" = set; then
32112 echo $ECHO_N "(cached) $ECHO_C" >&6
32114 cat >conftest.$ac_ext <<_ACEOF
32117 cat confdefs.h >>conftest.$ac_ext
32118 cat >>conftest.$ac_ext <<_ACEOF
32119 /* end confdefs.h. */
32127 #if XmVersion < 2000
32135 rm -f conftest.$ac_objext
32136 if { (ac_try="$ac_compile"
32137 case "(($ac_try" in
32138 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
32139 *) ac_try_echo
=$ac_try;;
32141 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32142 (eval "$ac_compile") 2>conftest.er1
32144 grep -v '^ *+' conftest.er1
>conftest.err
32146 cat conftest.err
>&5
32147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32148 (exit $ac_status); } && {
32149 test -z "$ac_c_werror_flag" ||
32150 test ! -s conftest.err
32151 } && test -s conftest.
$ac_objext; then
32152 wx_cv_lib_motif2
="yes"
32154 echo "$as_me: failed program was:" >&5
32155 sed 's/^/| /' conftest.
$ac_ext >&5
32157 wx_cv_lib_motif2
="no"
32160 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
32162 { echo "$as_me:$LINENO: result: $wx_cv_lib_motif2" >&5
32163 echo "${ECHO_T}$wx_cv_lib_motif2" >&6; }
32164 if test "$wx_cv_lib_motif2" = "yes"; then
32165 cat >>confdefs.h
<<\_ACEOF
32166 #define __WXMOTIF20__ 1
32170 cat >>confdefs.h
<<\_ACEOF
32171 #define __WXMOTIF20__ 0
32176 { echo "$as_me:$LINENO: checking whether Motif is Lesstif" >&5
32177 echo $ECHO_N "checking whether Motif is Lesstif... $ECHO_C" >&6; }
32178 if test "${wx_cv_lib_lesstif+set}" = set; then
32179 echo $ECHO_N "(cached) $ECHO_C" >&6
32181 cat >conftest.
$ac_ext <<_ACEOF
32184 cat confdefs.h
>>conftest.
$ac_ext
32185 cat >>conftest.
$ac_ext <<_ACEOF
32186 /* end confdefs.h. */
32194 #if !defined(LesstifVersion) || LesstifVersion <= 0
32202 rm -f conftest.
$ac_objext
32203 if { (ac_try
="$ac_compile"
32204 case "(($ac_try" in
32205 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
32206 *) ac_try_echo=$ac_try;;
32208 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32209 (eval "$ac_compile") 2>conftest.er1
32211 grep -v '^ *+' conftest.er1 >conftest.err
32213 cat conftest.err >&5
32214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32215 (exit $ac_status); } && {
32216 test -z "$ac_c_werror_flag" ||
32217 test ! -s conftest.err
32218 } && test -s conftest.$ac_objext; then
32219 wx_cv_lib_lesstif="yes"
32221 echo "$as_me: failed program was:" >&5
32222 sed 's/^/| /' conftest.$ac_ext >&5
32224 wx_cv_lib_lesstif="no"
32227 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32230 { echo "$as_me:$LINENO: result: $wx_cv_lib_lesstif" >&5
32231 echo "${ECHO_T}$wx_cv_lib_lesstif" >&6; }
32232 if test "$wx_cv_lib_lesstif" = "yes"; then
32233 cat >>confdefs.h <<\_ACEOF
32234 #define __WXLESSTIF__ 1
32238 cat >>confdefs.h <<\_ACEOF
32239 #define __WXLESSTIF__ 0
32244 CFLAGS=$save_CFLAGS
32246 GUI_TK_LIBRARY="$GUI_TK_LIBRARY${libsgm_link} -lXm${libp_link} -lXmu -lXext -lXt${libsm_ice_link} -lX11"
32251 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
32252 if test "$wxUSE_LIBXPM" = "sys"; then
32253 { echo "$as_me:$LINENO: checking for Xpm library" >&5
32254 echo $ECHO_N "checking for Xpm library... $ECHO_C" >&6; }
32257 for ac_dir in $SEARCH_LIB;
32259 for ac_extension in a so sl dylib dll.a; do
32260 if test -f "$ac_dir/libXpm.$ac_extension"; then
32261 ac_find_libraries=$ac_dir
32267 if test "$ac_find_libraries" != "" ; then
32269 if test "$ac_find_libraries" = "default location"; then
32272 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
32274 if test $result = 0; then
32277 ac_path_to_link=" -L$ac_find_libraries"
32281 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
32282 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
32283 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
32285 { echo "$as_me:$LINENO: checking for X11/xpm.h" >&5
32286 echo $ECHO_N "checking for X11/xpm.h... $ECHO_C" >&6; }
32287 if test "${wx_cv_x11_xpm_h+set}" = set; then
32288 echo $ECHO_N "(cached) $ECHO_C" >&6
32291 save_CFLAGS=$CFLAGS
32292 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
32294 cat >conftest.$ac_ext <<_ACEOF
32297 cat confdefs.h >>conftest.$ac_ext
32298 cat >>conftest.$ac_ext <<_ACEOF
32299 /* end confdefs.h. */
32301 #include <X11/xpm.h>
32308 version = XpmLibraryVersion();
32314 rm -f conftest.$ac_objext
32315 if { (ac_try="$ac_compile"
32316 case "(($ac_try" in
32317 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
32318 *) ac_try_echo
=$ac_try;;
32320 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32321 (eval "$ac_compile") 2>conftest.er1
32323 grep -v '^ *+' conftest.er1
>conftest.err
32325 cat conftest.err
>&5
32326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32327 (exit $ac_status); } && {
32328 test -z "$ac_c_werror_flag" ||
32329 test ! -s conftest.err
32330 } && test -s conftest.
$ac_objext; then
32331 wx_cv_x11_xpm_h
=yes
32333 echo "$as_me: failed program was:" >&5
32334 sed 's/^/| /' conftest.
$ac_ext >&5
32340 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
32342 CFLAGS
=$save_CFLAGS
32346 { echo "$as_me:$LINENO: result: $wx_cv_x11_xpm_h" >&5
32347 echo "${ECHO_T}$wx_cv_x11_xpm_h" >&6; }
32349 if test $wx_cv_x11_xpm_h = "yes"; then
32350 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXpm"
32351 cat >>confdefs.h
<<\_ACEOF
32352 #define wxHAVE_LIB_XPM 1
32356 { echo "$as_me:$LINENO: WARNING: built-in less efficient XPM decoder will be used" >&5
32357 echo "$as_me: WARNING: built-in less efficient XPM decoder will be used" >&2;}
32363 { echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
32364 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6; }
32365 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
32366 echo $ECHO_N "(cached) $ECHO_C" >&6
32368 ac_check_lib_save_LIBS
=$LIBS
32369 LIBS
="-lXext $GUI_TK_LIBRARY -lX11 $LIBS"
32370 cat >conftest.
$ac_ext <<_ACEOF
32373 cat confdefs.h
>>conftest.
$ac_ext
32374 cat >>conftest.
$ac_ext <<_ACEOF
32375 /* end confdefs.h. */
32377 /* Override any GCC internal prototype to avoid an error.
32378 Use char because int might match the return type of a GCC
32379 builtin and then its argument prototype would still apply. */
32383 char XShapeQueryExtension ();
32387 return XShapeQueryExtension ();
32392 rm -f conftest.
$ac_objext conftest
$ac_exeext
32393 if { (ac_try
="$ac_link"
32394 case "(($ac_try" in
32395 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
32396 *) ac_try_echo=$ac_try;;
32398 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32399 (eval "$ac_link") 2>conftest.er1
32401 grep -v '^ *+' conftest.er1 >conftest.err
32403 cat conftest.err >&5
32404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32405 (exit $ac_status); } && {
32406 test -z "$ac_c_werror_flag" ||
32407 test ! -s conftest.err
32408 } && test -s conftest$ac_exeext &&
32409 $as_test_x conftest$ac_exeext; then
32410 ac_cv_lib_Xext_XShapeQueryExtension=yes
32412 echo "$as_me: failed program was:" >&5
32413 sed 's/^/| /' conftest.$ac_ext >&5
32415 ac_cv_lib_Xext_XShapeQueryExtension=no
32418 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32419 conftest$ac_exeext conftest.$ac_ext
32420 LIBS=$ac_check_lib_save_LIBS
32422 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
32423 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
32424 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
32426 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXext"
32432 if test "$wxHAVE_XEXT_LIB" = 1; then
32433 save_CFLAGS="$CFLAGS"
32434 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
32436 { echo "$as_me:$LINENO: checking for X11/extensions/shape.h" >&5
32437 echo $ECHO_N "checking for X11/extensions/shape.h... $ECHO_C" >&6; }
32438 cat >conftest.$ac_ext <<_ACEOF
32441 cat confdefs.h >>conftest.$ac_ext
32442 cat >>conftest.$ac_ext <<_ACEOF
32443 /* end confdefs.h. */
32445 #include <X11/Xlib.h>
32446 #include <X11/extensions/shape.h>
32452 int dummy1, dummy2;
32453 XShapeQueryExtension((Display*)NULL,
32454 (int*)NULL, (int*)NULL);
32460 rm -f conftest.$ac_objext
32461 if { (ac_try="$ac_compile"
32462 case "(($ac_try" in
32463 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
32464 *) ac_try_echo
=$ac_try;;
32466 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32467 (eval "$ac_compile") 2>conftest.er1
32469 grep -v '^ *+' conftest.er1
>conftest.err
32471 cat conftest.err
>&5
32472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32473 (exit $ac_status); } && {
32474 test -z "$ac_c_werror_flag" ||
32475 test ! -s conftest.err
32476 } && test -s conftest.
$ac_objext; then
32478 cat >>confdefs.h
<<\_ACEOF
32479 #define HAVE_XSHAPE 1
32482 { echo "$as_me:$LINENO: result: found" >&5
32483 echo "${ECHO_T}found" >&6; }
32486 echo "$as_me: failed program was:" >&5
32487 sed 's/^/| /' conftest.
$ac_ext >&5
32490 { echo "$as_me:$LINENO: result: not found" >&5
32491 echo "${ECHO_T}not found" >&6; }
32495 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
32496 CFLAGS
="$save_CFLAGS"
32501 if test "$wxUSE_MAC" = 1; then
32502 { echo "$as_me:$LINENO: checking for compiler syntax to enable Pascal strings" >&5
32503 echo $ECHO_N "checking for compiler syntax to enable Pascal strings... $ECHO_C" >&6; }
32504 if test "$GCC" = yes; then
32505 { echo "$as_me:$LINENO: result: gcc" >&5
32506 echo "${ECHO_T}gcc" >&6; }
32507 CPPFLAGS_PASCAL
="-fpascal-strings"
32508 elif test "`echo $CXX | sed -e 's@.*/@@'`" = "xlC"; then
32509 { echo "$as_me:$LINENO: result: xlc" >&5
32510 echo "${ECHO_T}xlc" >&6; }
32511 CPPFLAGS_PASCAL
="-qmacpstr"
32513 { echo "$as_me:$LINENO: result: none" >&5
32514 echo "${ECHO_T}none" >&6; }
32517 if test "x$wxUSE_UNIX" = "xyes"; then
32518 CPPFLAGS
="$CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -I/Developer/Headers/FlatCarbon $CPPFLAGS"
32520 CPPFLAGS
="$CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -DTARGET_CARBON $CPPFLAGS"
32525 WXBASEPORT
="_carbon"
32528 if test "$wxUSE_COCOA" = 1; then
32533 if test "$wxUSE_PM" = 1; then
32536 { echo "$as_me:$LINENO: checking for type SPBCDATA" >&5
32537 echo $ECHO_N "checking for type SPBCDATA... $ECHO_C" >&6; }
32538 if test "${wx_cv_spbcdata+set}" = set; then
32539 echo $ECHO_N "(cached) $ECHO_C" >&6
32542 cat >conftest.
$ac_ext <<_ACEOF
32545 cat confdefs.h
>>conftest.
$ac_ext
32546 cat >>conftest.
$ac_ext <<_ACEOF
32547 /* end confdefs.h. */
32562 rm -f conftest.
$ac_objext
32563 if { (ac_try
="$ac_compile"
32564 case "(($ac_try" in
32565 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
32566 *) ac_try_echo=$ac_try;;
32568 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32569 (eval "$ac_compile") 2>conftest.er1
32571 grep -v '^ *+' conftest.er1 >conftest.err
32573 cat conftest.err >&5
32574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32575 (exit $ac_status); } && {
32576 test -z "$ac_c_werror_flag" ||
32577 test ! -s conftest.err
32578 } && test -s conftest.$ac_objext; then
32581 echo "$as_me: failed program was:" >&5
32582 sed 's/^/| /' conftest.$ac_ext >&5
32588 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32592 { echo "$as_me:$LINENO: result: $wx_cv_spbcdata" >&5
32593 echo "${ECHO_T}$wx_cv_spbcdata" >&6; }
32595 if test $wx_cv_spbcdata = "yes"; then
32596 cat >>confdefs.h <<\_ACEOF
32597 #define HAVE_SPBCDATA 1
32603 if test "$TOOLKIT" = "PM" ; then
32606 TOOLKIT_DIR=`echo ${TOOLKIT} | tr '[A-Z]' '[a-z]'`
32609 if test "$wxUSE_UNIVERSAL" = "yes"; then
32610 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
32614 GUIDIST="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
32615 DISTDIR="wx\$(TOOLKIT)"
32621 if test "$USE_WIN32" = 1 ; then
32625 GUIDIST="BASE_DIST"
32631 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_UTF8" = "auto" ; then
32632 if test "$USE_UNIX" = 1 -a "$wxUSE_DARWIN" != 1 ; then
32633 wxUSE_UNICODE_UTF8=yes
32634 elif test "$USE_OS2" = 1 ; then
32635 wxUSE_UNICODE_UTF8=yes
32637 wxUSE_UNICODE_UTF8=no
32642 if test "$wxUSE_GUI" = "yes"; then
32643 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_PM" != 1; then
32645 for ac_header in X11/Xlib.h
32647 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
32648 { echo "$as_me:$LINENO: checking for $ac_header" >&5
32649 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
32650 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
32651 echo $ECHO_N "(cached) $ECHO_C" >&6
32653 cat >conftest.$ac_ext <<_ACEOF
32656 cat confdefs.h >>conftest.$ac_ext
32657 cat >>conftest.$ac_ext <<_ACEOF
32658 /* end confdefs.h. */
32661 #include <$ac_header>
32663 rm -f conftest.$ac_objext
32664 if { (ac_try="$ac_compile"
32665 case "(($ac_try" in
32666 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
32667 *) ac_try_echo
=$ac_try;;
32669 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32670 (eval "$ac_compile") 2>conftest.er1
32672 grep -v '^ *+' conftest.er1
>conftest.err
32674 cat conftest.err
>&5
32675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32676 (exit $ac_status); } && {
32677 test -z "$ac_c_werror_flag" ||
32678 test ! -s conftest.err
32679 } && test -s conftest.
$ac_objext; then
32680 eval "$as_ac_Header=yes"
32682 echo "$as_me: failed program was:" >&5
32683 sed 's/^/| /' conftest.
$ac_ext >&5
32685 eval "$as_ac_Header=no"
32688 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
32690 ac_res
=`eval echo '${'$as_ac_Header'}'`
32691 { echo "$as_me:$LINENO: result: $ac_res" >&5
32692 echo "${ECHO_T}$ac_res" >&6; }
32693 if test `eval echo '${'$as_ac_Header'}'` = yes; then
32694 cat >>confdefs.h
<<_ACEOF
32695 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
32703 for ac_header
in X
11/XKBlib.h
32705 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
32706 { echo "$as_me:$LINENO: checking for $ac_header" >&5
32707 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
32708 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
32709 echo $ECHO_N "(cached) $ECHO_C" >&6
32711 cat >conftest.
$ac_ext <<_ACEOF
32714 cat confdefs.h
>>conftest.
$ac_ext
32715 cat >>conftest.
$ac_ext <<_ACEOF
32716 /* end confdefs.h. */
32718 #if HAVE_X11_XLIB_H
32719 #include <X11/Xlib.h>
32723 #include <$ac_header>
32725 rm -f conftest.
$ac_objext
32726 if { (ac_try
="$ac_compile"
32727 case "(($ac_try" in
32728 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
32729 *) ac_try_echo=$ac_try;;
32731 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32732 (eval "$ac_compile") 2>conftest.er1
32734 grep -v '^ *+' conftest.er1 >conftest.err
32736 cat conftest.err >&5
32737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32738 (exit $ac_status); } && {
32739 test -z "$ac_c_werror_flag" ||
32740 test ! -s conftest.err
32741 } && test -s conftest.$ac_objext; then
32742 eval "$as_ac_Header=yes"
32744 echo "$as_me: failed program was:" >&5
32745 sed 's/^/| /' conftest.$ac_ext >&5
32747 eval "$as_ac_Header=no"
32750 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32752 ac_res=`eval echo '${'$as_ac_Header'}'`
32753 { echo "$as_me:$LINENO: result: $ac_res" >&5
32754 echo "${ECHO_T}$ac_res" >&6; }
32755 if test `eval echo '${'$as_ac_Header'}'` = yes; then
32756 cat >>confdefs.h <<_ACEOF
32757 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
32769 if test "$wxUSE_DISPLAY" = "yes"; then
32770 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1; then
32771 { echo "$as_me:$LINENO: checking for Xinerama" >&5
32772 echo $ECHO_N "checking for Xinerama... $ECHO_C" >&6; }
32775 for ac_dir in $SEARCH_LIB;
32777 for ac_extension in a so sl dylib dll.a; do
32778 if test -f "$ac_dir/libXinerama.$ac_extension"; then
32779 ac_find_libraries=$ac_dir
32785 if test "$ac_find_libraries" != "" ; then
32787 if test "$ac_find_libraries" = "default location"; then
32790 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
32792 if test $result = 0; then
32795 ac_path_to_link=" -L$ac_find_libraries"
32799 if test "$ac_path_to_link" != " -L/usr/lib" ; then
32800 LDFLAGS="$LDFLAGS $ac_path_to_link"
32802 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXinerama"
32803 { echo "$as_me:$LINENO: result: yes" >&5
32804 echo "${ECHO_T}yes" >&6; }
32806 { echo "$as_me:$LINENO: checking for Xxf86vm extension" >&5
32807 echo $ECHO_N "checking for Xxf86vm extension... $ECHO_C" >&6; }
32810 for ac_dir in $SEARCH_LIB;
32812 for ac_extension in a so sl dylib dll.a; do
32813 if test -f "$ac_dir/libXxf86vm.$ac_extension"; then
32814 ac_find_libraries=$ac_dir
32820 if test "$ac_find_libraries" != "" ; then
32821 { echo "$as_me:$LINENO: result: yes" >&5
32822 echo "${ECHO_T}yes" >&6; }
32824 for ac_header in X11/extensions/xf86vmode.h
32826 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
32827 { echo "$as_me:$LINENO: checking for $ac_header" >&5
32828 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
32829 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
32830 echo $ECHO_N "(cached) $ECHO_C" >&6
32832 cat >conftest.$ac_ext <<_ACEOF
32835 cat confdefs.h >>conftest.$ac_ext
32836 cat >>conftest.$ac_ext <<_ACEOF
32837 /* end confdefs.h. */
32839 #if HAVE_X11_XLIB_H
32840 #include <X11/Xlib.h>
32844 #include <$ac_header>
32846 rm -f conftest.$ac_objext
32847 if { (ac_try="$ac_compile"
32848 case "(($ac_try" in
32849 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
32850 *) ac_try_echo
=$ac_try;;
32852 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32853 (eval "$ac_compile") 2>conftest.er1
32855 grep -v '^ *+' conftest.er1
>conftest.err
32857 cat conftest.err
>&5
32858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32859 (exit $ac_status); } && {
32860 test -z "$ac_c_werror_flag" ||
32861 test ! -s conftest.err
32862 } && test -s conftest.
$ac_objext; then
32863 eval "$as_ac_Header=yes"
32865 echo "$as_me: failed program was:" >&5
32866 sed 's/^/| /' conftest.
$ac_ext >&5
32868 eval "$as_ac_Header=no"
32871 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
32873 ac_res
=`eval echo '${'$as_ac_Header'}'`
32874 { echo "$as_me:$LINENO: result: $ac_res" >&5
32875 echo "${ECHO_T}$ac_res" >&6; }
32876 if test `eval echo '${'$as_ac_Header'}'` = yes; then
32877 cat >>confdefs.h
<<_ACEOF
32878 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
32881 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXxf86vm"
32888 { echo "$as_me:$LINENO: result: no" >&5
32889 echo "${ECHO_T}no" >&6; }
32893 { echo "$as_me:$LINENO: result: no" >&5
32894 echo "${ECHO_T}no" >&6; }
32895 { echo "$as_me:$LINENO: WARNING: Xinerama not found; disabling wxDisplay" >&5
32896 echo "$as_me: WARNING: Xinerama not found; disabling wxDisplay" >&2;}
32899 elif test "$wxUSE_MSW" = 1; then
32900 { echo "$as_me:$LINENO: checking for ddraw.h" >&5
32901 echo $ECHO_N "checking for ddraw.h... $ECHO_C" >&6; }
32902 if test "${ac_cv_header_ddraw_h+set}" = set; then
32903 echo $ECHO_N "(cached) $ECHO_C" >&6
32905 cat >conftest.
$ac_ext <<_ACEOF
32908 cat confdefs.h
>>conftest.
$ac_ext
32909 cat >>conftest.
$ac_ext <<_ACEOF
32910 /* end confdefs.h. */
32911 #include <windows.h>
32915 rm -f conftest.
$ac_objext
32916 if { (ac_try
="$ac_compile"
32917 case "(($ac_try" in
32918 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
32919 *) ac_try_echo=$ac_try;;
32921 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32922 (eval "$ac_compile") 2>conftest.er1
32924 grep -v '^ *+' conftest.er1 >conftest.err
32926 cat conftest.err >&5
32927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32928 (exit $ac_status); } && {
32929 test -z "$ac_c_werror_flag" ||
32930 test ! -s conftest.err
32931 } && test -s conftest.$ac_objext; then
32932 ac_cv_header_ddraw_h=yes
32934 echo "$as_me: failed program was:" >&5
32935 sed 's/^/| /' conftest.$ac_ext >&5
32937 ac_cv_header_ddraw_h=no
32940 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32942 { echo "$as_me:$LINENO: result: $ac_cv_header_ddraw_h" >&5
32943 echo "${ECHO_T}$ac_cv_header_ddraw_h" >&6; }
32949 if test "$wxUSE_DETECT_SM" = "yes"; then
32950 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1; then
32951 { echo "$as_me:$LINENO: checking for -lSM - X11 session management" >&5
32952 echo $ECHO_N "checking for -lSM - X11 session management... $ECHO_C" >&6; }
32955 for ac_dir in $SEARCH_LIB;
32957 for ac_extension in a so sl dylib dll.a; do
32958 if test -f "$ac_dir/libSM.$ac_extension"; then
32959 ac_find_libraries=$ac_dir
32965 if test "$ac_find_libraries" != "" ; then
32967 if test "$ac_find_libraries" = "default location"; then
32970 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
32972 if test $result = 0; then
32975 ac_path_to_link=" -L$ac_find_libraries"
32979 if test "$ac_path_to_link" != " -L/usr/lib" ; then
32980 LDFLAGS="$LDFLAGS $ac_path_to_link"
32982 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lSM"
32983 { echo "$as_me:$LINENO: result: yes" >&5
32984 echo "${ECHO_T}yes" >&6; }
32986 { echo "$as_me:$LINENO: result: no" >&5
32987 echo "${ECHO_T}no" >&6; }
32988 { echo "$as_me:$LINENO: WARNING: libSM not found; disabling session management detection" >&5
32989 echo "$as_me: WARNING: libSM not found; disabling session management detection" >&2;}
32990 wxUSE_DETECT_SM="no"
32993 wxUSE_DETECT_SM="no"
33000 if test "$wxUSE_OPENGL" = "yes"; then
33001 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = 1; then
33002 { echo "$as_me:$LINENO: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&5
33003 echo "$as_me: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&2;}
33005 elif test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1; then
33006 OPENGL_LIBS="-framework OpenGL -framework AGL"
33007 elif test "$wxUSE_MSW" = 1; then
33008 OPENGL_LIBS="-lopengl32 -lglu32"
33010 { echo "$as_me:$LINENO: checking for OpenGL headers" >&5
33011 echo $ECHO_N "checking for OpenGL headers... $ECHO_C" >&6; }
33014 for ac_dir in $SEARCH_INCLUDE /opt/graphics/OpenGL/include /usr/include;
33016 if test -f "$ac_dir/GL/gl.h"; then
33017 ac_find_includes=$ac_dir
33022 if test "$ac_find_includes" != "" ; then
33023 { echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
33024 echo "${ECHO_T}found in $ac_find_includes" >&6; }
33026 if test "x$ac_find_includes" = "x/usr/include"; then
33027 ac_path_to_include=""
33029 echo "$CPPFLAGS" | grep "\-I$ac_find_includes" > /dev/null
33031 if test $result = 0; then
33032 ac_path_to_include=""
33034 ac_path_to_include=" -I$ac_find_includes"
33038 CPPFLAGS="$ac_path_to_include $CPPFLAGS"
33040 { echo "$as_me:$LINENO: result: not found" >&5
33041 echo "${ECHO_T}not found" >&6; }
33044 { echo "$as_me:$LINENO: checking for GL/gl.h" >&5
33045 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6; }
33046 if test "${ac_cv_header_GL_gl_h+set}" = set; then
33047 echo $ECHO_N "(cached) $ECHO_C" >&6
33049 cat >conftest.$ac_ext <<_ACEOF
33052 cat confdefs.h >>conftest.$ac_ext
33053 cat >>conftest.$ac_ext <<_ACEOF
33054 /* end confdefs.h. */
33059 rm -f conftest.$ac_objext
33060 if { (ac_try="$ac_compile"
33061 case "(($ac_try" in
33062 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
33063 *) ac_try_echo
=$ac_try;;
33065 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33066 (eval "$ac_compile") 2>conftest.er1
33068 grep -v '^ *+' conftest.er1
>conftest.err
33070 cat conftest.err
>&5
33071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33072 (exit $ac_status); } && {
33073 test -z "$ac_c_werror_flag" ||
33074 test ! -s conftest.err
33075 } && test -s conftest.
$ac_objext; then
33076 ac_cv_header_GL_gl_h
=yes
33078 echo "$as_me: failed program was:" >&5
33079 sed 's/^/| /' conftest.
$ac_ext >&5
33081 ac_cv_header_GL_gl_h
=no
33084 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
33086 { echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
33087 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6; }
33088 if test $ac_cv_header_GL_gl_h = yes; then
33090 { echo "$as_me:$LINENO: checking for GL/glu.h" >&5
33091 echo $ECHO_N "checking for GL/glu.h... $ECHO_C" >&6; }
33092 if test "${ac_cv_header_GL_glu_h+set}" = set; then
33093 echo $ECHO_N "(cached) $ECHO_C" >&6
33095 cat >conftest.
$ac_ext <<_ACEOF
33098 cat confdefs.h
>>conftest.
$ac_ext
33099 cat >>conftest.
$ac_ext <<_ACEOF
33100 /* end confdefs.h. */
33103 #include <GL/glu.h>
33105 rm -f conftest.
$ac_objext
33106 if { (ac_try
="$ac_compile"
33107 case "(($ac_try" in
33108 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
33109 *) ac_try_echo=$ac_try;;
33111 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33112 (eval "$ac_compile") 2>conftest.er1
33114 grep -v '^ *+' conftest.er1 >conftest.err
33116 cat conftest.err >&5
33117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33118 (exit $ac_status); } && {
33119 test -z "$ac_c_werror_flag" ||
33120 test ! -s conftest.err
33121 } && test -s conftest.$ac_objext; then
33122 ac_cv_header_GL_glu_h=yes
33124 echo "$as_me: failed program was:" >&5
33125 sed 's/^/| /' conftest.$ac_ext >&5
33127 ac_cv_header_GL_glu_h=no
33130 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33132 { echo "$as_me:$LINENO: result: $ac_cv_header_GL_glu_h" >&5
33133 echo "${ECHO_T}$ac_cv_header_GL_glu_h" >&6; }
33134 if test $ac_cv_header_GL_glu_h = yes; then
33138 { echo "$as_me:$LINENO: checking for -lGL" >&5
33139 echo $ECHO_N "checking for -lGL... $ECHO_C" >&6; }
33142 for ac_dir in $SEARCH_LIB /opt/graphics/OpenGL/lib;
33144 for ac_extension in a so sl dylib dll.a; do
33145 if test -f "$ac_dir/libGL.$ac_extension"; then
33146 ac_find_libraries=$ac_dir
33152 if test "$ac_find_libraries" != "" ; then
33153 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
33154 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
33157 if test "$ac_find_libraries" = "default location"; then
33160 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
33162 if test $result = 0; then
33165 ac_path_to_link=" -L$ac_find_libraries"
33169 if test "$ac_path_to_link" != " -L/usr/lib" ; then
33170 LDFLAGS_GL="$ac_path_to_link"
33173 { echo "$as_me:$LINENO: checking for -lGLU" >&5
33174 echo $ECHO_N "checking for -lGLU... $ECHO_C" >&6; }
33177 for ac_dir in $SEARCH_LIB;
33179 for ac_extension in a so sl dylib dll.a; do
33180 if test -f "$ac_dir/libGLU.$ac_extension"; then
33181 ac_find_libraries=$ac_dir
33187 if test "$ac_find_libraries" != "" ; then
33189 if test "$ac_find_libraries" = "default location"; then
33192 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
33194 if test $result = 0; then
33197 ac_path_to_link=" -L$ac_find_libraries"
33201 if test "$ac_path_to_link" != " -L/usr/lib" -a \
33202 "$ac_path_to_link" != "$LDFLAGS_GL"; then
33203 LDFLAGS_GL="$LDFLAGS_GL$ac_path_to_link"
33207 OPENGL_LIBS="-lGL -lGLU"
33208 { echo "$as_me:$LINENO: result: yes" >&5
33209 echo "${ECHO_T}yes" >&6; }
33211 { echo "$as_me:$LINENO: result: no" >&5
33212 echo "${ECHO_T}no" >&6; }
33215 { echo "$as_me:$LINENO: result: no" >&5
33216 echo "${ECHO_T}no" >&6; }
33219 if test "$found_gl" != 1; then
33220 { echo "$as_me:$LINENO: checking for -lMesaGL" >&5
33221 echo $ECHO_N "checking for -lMesaGL... $ECHO_C" >&6; }
33224 for ac_dir in $SEARCH_LIB;
33226 for ac_extension in a so sl dylib dll.a; do
33227 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
33228 ac_find_libraries=$ac_dir
33234 if test "$ac_find_libraries" != "" ; then
33236 if test "$ac_find_libraries" = "default location"; then
33239 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
33241 if test $result = 0; then
33244 ac_path_to_link=" -L$ac_find_libraries"
33248 LDFLAGS_GL="$LDFLAGS$ac_path_to_link"
33249 OPENGL_LIBS="-lMesaGL -lMesaGLU"
33250 { echo "$as_me:$LINENO: result: yes" >&5
33251 echo "${ECHO_T}yes" >&6; }
33253 { echo "$as_me:$LINENO: result: no" >&5
33254 echo "${ECHO_T}no" >&6; }
33266 if test "x$OPENGL_LIBS" = "x"; then
33267 { { echo "$as_me:$LINENO: error: OpenGL libraries not available" >&5
33268 echo "$as_me: error: OpenGL libraries not available" >&2;}
33269 { (exit 1); exit 1; }; }
33273 if test "$wxUSE_OPENGL" = "yes"; then
33275 cat >>confdefs.h <<\_ACEOF
33276 #define wxUSE_OPENGL 1
33279 cat >>confdefs.h <<\_ACEOF
33280 #define wxUSE_GLCANVAS 1
33283 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS opengl opengl/cube opengl/penguin opengl/isosurf"
33288 if test -n "$TOOLKIT" ; then
33289 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
33294 if test "$wxUSE_SHARED" = "yes"; then
33298 { echo "$as_me:$LINENO: WARNING: Host system doesn't support shared libraries, disabling" >&5
33299 echo "$as_me: WARNING: Host system doesn't support shared libraries, disabling" >&2;}
33304 if test "$wxUSE_SHARED" = "yes"; then
33308 *-*-cygwin* | *-*-mingw* )
33309 wx_cv_version_script=no
33313 { echo "$as_me:$LINENO: checking if the linker accepts --version-script" >&5
33314 echo $ECHO_N "checking if the linker accepts --version-script... $ECHO_C" >&6; }
33315 if test "${wx_cv_version_script+set}" = set; then
33316 echo $ECHO_N "(cached) $ECHO_C" >&6
33319 echo "VER_1 { *; };" >conftest.sym
33320 echo "int main() { return 0; }" >conftest.cpp
33323 $CXX -o conftest.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
33324 -Wl,--version-script,conftest.sym >/dev/null 2>conftest.stderr'
33325 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33326 (eval $ac_try) 2>&5
33328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33329 (exit $ac_status); }; } ; then
33330 if test -s conftest.stderr ; then
33331 wx_cv_version_script=no
33333 wx_cv_version_script=yes
33336 wx_cv_version_script=no
33339 if test $wx_cv_version_script = yes
33341 echo "struct B { virtual ~B() { } }; \
33342 struct D : public B { }; \
33343 void F() { D d; }" > conftest.cpp
33346 $CXX -shared -fPIC -o conftest1.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
33347 -Wl,--version-script,conftest.sym >/dev/null 2>/dev/null'
33348 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33349 (eval $ac_try) 2>&5
33351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33352 (exit $ac_status); }; } &&
33354 $CXX -shared -fPIC -o conftest2.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
33355 -Wl,--version-script,conftest.sym conftest1.output >/dev/null 2>/dev/null'
33356 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33357 (eval $ac_try) 2>&5
33359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33360 (exit $ac_status); }; }
33363 $CXX -shared -fPIC -o conftest3.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
33364 -Wl,--version-script,conftest.sym conftest2.output conftest1.output >/dev/null 2>/dev/null'
33365 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33366 (eval $ac_try) 2>&5
33368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33369 (exit $ac_status); }; }
33371 wx_cv_version_script=yes
33373 wx_cv_version_script=no
33378 rm -f conftest.output conftest.stderr conftest.sym conftest.cpp
33379 rm -f conftest1.output conftest2.output conftest3.output
33382 { echo "$as_me:$LINENO: result: $wx_cv_version_script" >&5
33383 echo "${ECHO_T}$wx_cv_version_script" >&6; }
33385 if test $wx_cv_version_script = yes ; then
33386 LDFLAGS_VERSIONING="-Wl,--version-script,\$(wx_top_builddir)/version-script"
33392 if test "$wxUSE_VISIBILITY" != "no"; then
33395 if test -n "$GCC"; then
33396 CFLAGS_VISIBILITY="-fvisibility=hidden"
33397 CXXFLAGS_VISIBILITY="-fvisibility=hidden -fvisibility-inlines-hidden"
33398 { echo "$as_me:$LINENO: checking for symbols visibility support" >&5
33399 echo $ECHO_N "checking for symbols visibility support... $ECHO_C" >&6; }
33400 if test "${wx_cv_cc_visibility+set}" = set; then
33401 echo $ECHO_N "(cached) $ECHO_C" >&6
33404 wx_save_CXXFLAGS="$CXXFLAGS"
33405 CXXFLAGS="$CXXFLAGS $CXXFLAGS_VISIBILITY"
33407 ac_cpp='$CXXCPP $CPPFLAGS'
33408 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33409 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33410 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33412 cat >conftest.$ac_ext <<_ACEOF
33415 cat confdefs.h >>conftest.$ac_ext
33416 cat >>conftest.$ac_ext <<_ACEOF
33417 /* end confdefs.h. */
33419 /* we need gcc >= 4.0, older versions with visibility support
33420 didn't have class visibility: */
33421 #if defined(__GNUC__) && __GNUC__ < 4
33422 error this gcc is too old;
33425 /* visibility only makes sense for ELF shared libs: */
33426 #if !defined(__ELF__) && !defined(__APPLE__)
33427 error this platform has no visibility;
33430 extern __attribute__((__visibility__("hidden"))) int hiddenvar;
33431 extern __attribute__((__visibility__("default"))) int exportedvar;
33432 extern __attribute__((__visibility__("hidden"))) int hiddenfunc (void);
33433 extern __attribute__((__visibility__("default"))) int exportedfunc (void);
33434 class __attribute__((__visibility__("default"))) Foo {
33446 rm -f conftest.$ac_objext
33447 if { (ac_try="$ac_compile"
33448 case "(($ac_try" in
33449 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
33450 *) ac_try_echo
=$ac_try;;
33452 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33453 (eval "$ac_compile") 2>conftest.er1
33455 grep -v '^ *+' conftest.er1
>conftest.err
33457 cat conftest.err
>&5
33458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33459 (exit $ac_status); } && {
33460 test -z "$ac_cxx_werror_flag" ||
33461 test ! -s conftest.err
33462 } && test -s conftest.
$ac_objext; then
33463 wx_cv_cc_visibility
=yes
33465 echo "$as_me: failed program was:" >&5
33466 sed 's/^/| /' conftest.
$ac_ext >&5
33468 wx_cv_cc_visibility
=no
33471 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
33473 ac_cpp
='$CPP $CPPFLAGS'
33474 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33475 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33476 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
33478 CXXFLAGS
="$wx_save_CXXFLAGS"
33481 { echo "$as_me:$LINENO: result: $wx_cv_cc_visibility" >&5
33482 echo "${ECHO_T}$wx_cv_cc_visibility" >&6; }
33483 if test $wx_cv_cc_visibility = yes; then
33484 { echo "$as_me:$LINENO: checking for broken libstdc++ visibility" >&5
33485 echo $ECHO_N "checking for broken libstdc++ visibility... $ECHO_C" >&6; }
33486 if test "${wx_cv_cc_broken_libstdcxx_visibility+set}" = set; then
33487 echo $ECHO_N "(cached) $ECHO_C" >&6
33490 wx_save_CXXFLAGS
="$CXXFLAGS"
33491 wx_save_LDFLAGS
="$LDFLAGS"
33492 CXXFLAGS
="$CXXFLAGS $CXXFLAGS_VISIBILITY"
33493 LDFLAGS
="$LDFLAGS -shared -fPIC"
33495 ac_cpp
='$CXXCPP $CPPFLAGS'
33496 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33497 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33498 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
33500 cat >conftest.
$ac_ext <<_ACEOF
33503 cat confdefs.h
>>conftest.
$ac_ext
33504 cat >>conftest.
$ac_ext <<_ACEOF
33505 /* end confdefs.h. */
33513 std::string s("hello");
33520 rm -f conftest.
$ac_objext conftest
$ac_exeext
33521 if { (ac_try
="$ac_link"
33522 case "(($ac_try" in
33523 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
33524 *) ac_try_echo=$ac_try;;
33526 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33527 (eval "$ac_link") 2>conftest.er1
33529 grep -v '^ *+' conftest.er1 >conftest.err
33531 cat conftest.err >&5
33532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33533 (exit $ac_status); } && {
33534 test -z "$ac_cxx_werror_flag" ||
33535 test ! -s conftest.err
33536 } && test -s conftest$ac_exeext &&
33537 $as_test_x conftest$ac_exeext; then
33538 wx_cv_cc_broken_libstdcxx_visibility=no
33540 echo "$as_me: failed program was:" >&5
33541 sed 's/^/| /' conftest.$ac_ext >&5
33543 wx_cv_cc_broken_libstdcxx_visibility=yes
33546 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33547 conftest$ac_exeext conftest.$ac_ext
33549 ac_cpp='$CPP $CPPFLAGS'
33550 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33551 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33552 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33554 CXXFLAGS="$wx_save_CXXFLAGS"
33555 LDFLAGS="$wx_save_LDFLAGS"
33558 { echo "$as_me:$LINENO: result: $wx_cv_cc_broken_libstdcxx_visibility" >&5
33559 echo "${ECHO_T}$wx_cv_cc_broken_libstdcxx_visibility" >&6; }
33561 if test $wx_cv_cc_broken_libstdcxx_visibility = yes; then
33562 { echo "$as_me:$LINENO: checking whether we can work around it" >&5
33563 echo $ECHO_N "checking whether we can work around it... $ECHO_C" >&6; }
33564 if test "${wx_cv_cc_visibility_workaround+set}" = set; then
33565 echo $ECHO_N "(cached) $ECHO_C" >&6
33569 ac_cpp='$CXXCPP $CPPFLAGS'
33570 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33571 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33572 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33574 cat >conftest.$ac_ext <<_ACEOF
33577 cat confdefs.h >>conftest.$ac_ext
33578 cat >>conftest.$ac_ext <<_ACEOF
33579 /* end confdefs.h. */
33581 #pragma GCC visibility push(default)
33583 #pragma GCC visibility pop
33589 std::string s("hello");
33596 rm -f conftest.$ac_objext conftest$ac_exeext
33597 if { (ac_try="$ac_link"
33598 case "(($ac_try" in
33599 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
33600 *) ac_try_echo
=$ac_try;;
33602 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33603 (eval "$ac_link") 2>conftest.er1
33605 grep -v '^ *+' conftest.er1
>conftest.err
33607 cat conftest.err
>&5
33608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33609 (exit $ac_status); } && {
33610 test -z "$ac_cxx_werror_flag" ||
33611 test ! -s conftest.err
33612 } && test -s conftest
$ac_exeext &&
33613 $as_test_x conftest
$ac_exeext; then
33614 wx_cv_cc_visibility_workaround
=no
33616 echo "$as_me: failed program was:" >&5
33617 sed 's/^/| /' conftest.
$ac_ext >&5
33619 wx_cv_cc_visibility_workaround
=yes
33622 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
33623 conftest
$ac_exeext conftest.
$ac_ext
33625 ac_cpp
='$CPP $CPPFLAGS'
33626 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33627 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33628 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
33633 { echo "$as_me:$LINENO: result: $wx_cv_cc_visibility_workaround" >&5
33634 echo "${ECHO_T}$wx_cv_cc_visibility_workaround" >&6; }
33636 if test $wx_cv_cc_visibility_workaround = no
; then
33637 wx_cv_cc_visibility
=no
33642 if test $wx_cv_cc_visibility = yes; then
33643 cat >>confdefs.h
<<\_ACEOF
33644 #define HAVE_VISIBILITY 1
33647 if test $wx_cv_cc_broken_libstdcxx_visibility = yes; then
33648 cat >>confdefs.h
<<\_ACEOF
33649 #define HAVE_BROKEN_LIBSTDCXX_VISIBILITY 1
33654 CFLAGS_VISIBILITY
=""
33655 CXXFLAGS_VISIBILITY
=""
33663 if test "x$SUNCXX" = xyes
; then
33664 SAMPLES_RPATH_FLAG
="-R\$(wx_top_builddir)/lib"
33665 WXCONFIG_RPATH
="-R\$libdir"
33668 *-*-linux* | *-*-gnu* )
33669 SAMPLES_RPATH_FLAG
="-Wl,-rpath,\$(wx_top_builddir)/lib"
33670 WXCONFIG_RPATH
="-Wl,-rpath,\$libdir"
33675 CPPFLAGS
="-isystem /usr/openwin/include $CPPFLAGS"
33677 saveLdflags
="$LDFLAGS"
33678 LDFLAGS
="$saveLdflags -Wl,-rpath,/"
33679 { echo "$as_me:$LINENO: checking if the linker accepts -rpath" >&5
33680 echo $ECHO_N "checking if the linker accepts -rpath... $ECHO_C" >&6; }
33681 cat >conftest.
$ac_ext <<_ACEOF
33684 cat confdefs.h
>>conftest.
$ac_ext
33685 cat >>conftest.
$ac_ext <<_ACEOF
33686 /* end confdefs.h. */
33696 rm -f conftest.
$ac_objext conftest
$ac_exeext
33697 if { (ac_try
="$ac_link"
33698 case "(($ac_try" in
33699 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
33700 *) ac_try_echo=$ac_try;;
33702 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33703 (eval "$ac_link") 2>conftest.er1
33705 grep -v '^ *+' conftest.er1 >conftest.err
33707 cat conftest.err >&5
33708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33709 (exit $ac_status); } && {
33710 test -z "$ac_c_werror_flag" ||
33711 test ! -s conftest.err
33712 } && test -s conftest$ac_exeext &&
33713 $as_test_x conftest$ac_exeext; then
33715 { echo "$as_me:$LINENO: result: yes" >&5
33716 echo "${ECHO_T}yes" >&6; }
33717 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(wx_top_builddir)/lib"
33718 WXCONFIG_RPATH="-Wl,-rpath,\$libdir"
33721 echo "$as_me: failed program was:" >&5
33722 sed 's/^/| /' conftest.$ac_ext >&5
33725 { echo "$as_me:$LINENO: result: no" >&5
33726 echo "${ECHO_T}no" >&6; }
33727 { echo "$as_me:$LINENO: checking if the linker accepts -R" >&5
33728 echo $ECHO_N "checking if the linker accepts -R... $ECHO_C" >&6; }
33729 LDFLAGS="$saveLdflags -Wl,-R,/"
33730 cat >conftest.$ac_ext <<_ACEOF
33733 cat confdefs.h >>conftest.$ac_ext
33734 cat >>conftest.$ac_ext <<_ACEOF
33735 /* end confdefs.h. */
33745 rm -f conftest.$ac_objext conftest$ac_exeext
33746 if { (ac_try="$ac_link"
33747 case "(($ac_try" in
33748 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
33749 *) ac_try_echo
=$ac_try;;
33751 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33752 (eval "$ac_link") 2>conftest.er1
33754 grep -v '^ *+' conftest.er1
>conftest.err
33756 cat conftest.err
>&5
33757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33758 (exit $ac_status); } && {
33759 test -z "$ac_c_werror_flag" ||
33760 test ! -s conftest.err
33761 } && test -s conftest
$ac_exeext &&
33762 $as_test_x conftest
$ac_exeext; then
33764 { echo "$as_me:$LINENO: result: yes" >&5
33765 echo "${ECHO_T}yes" >&6; }
33766 SAMPLES_RPATH_FLAG
="-Wl,-R,\$(wx_top_builddir)/lib"
33767 WXCONFIG_RPATH
="-Wl,-R,\$libdir"
33770 echo "$as_me: failed program was:" >&5
33771 sed 's/^/| /' conftest.
$ac_ext >&5
33774 { echo "$as_me:$LINENO: result: no" >&5
33775 echo "${ECHO_T}no" >&6; }
33779 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
33780 conftest
$ac_exeext conftest.
$ac_ext
33784 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
33785 conftest
$ac_exeext conftest.
$ac_ext
33786 LDFLAGS
="$saveLdflags"
33790 install_name_tool
=`which install_name_tool`
33791 if test "$install_name_tool" -a -x "$install_name_tool"; then
33792 SAMPLES_RPATH_POSTLINK
="\$(wx_top_builddir)/change-install-names \$(LIBDIRNAME) \$(prefix) \$@"
33793 cat <<EOF >change-install-names
33795 libnames=\`cd \${1} ; ls -1 | grep '\.[0-9][0-9]*\.dylib\$'\`
33796 inst_cmd="install_name_tool "
33797 for i in \${libnames} ; do
33798 inst_cmd="\${inst_cmd} -change \${2}/lib/\${i} \${1}/\${i}"
33802 chmod +x change
-install-names
33806 *-*-cygwin* | *-*-mingw32* )
33810 SAMPLES_RPATH_FLAG
="-Wl,+b,\$(wx_top_builddir)/lib"
33811 WXCONFIG_RPATH
="-Wl,+b,\$libdir"
33817 WXCONFIG_ONLY_CPPFLAGS
="$WXCONFIG_ONLY_CPPFLAGS -DWXUSINGDLL"
33819 if test $wxUSE_RPATH = "no"; then
33820 SAMPLES_RPATH_FLAG
=''
33821 SAMPLES_RPATH_POSTLINK
=''
33829 config_linkage_component
="-static"
33836 lib_unicode_suffix
=
33838 if test "$wxUSE_UNICODE" = "yes"; then
33839 lib_unicode_suffix
=u
33840 WX_CHARTYPE
="unicode"
33845 WX_DEBUGTYPE
="release"
33847 if test "$wxUSE_DEBUG_FLAG" = "yes"; then
33849 WX_DEBUGTYPE
="debug"
33853 WX_FLAVOUR
=${WX_FLAVOUR:+-$WX_FLAVOUR}
33854 WX_LIB_FLAVOUR
=`echo $WX_FLAVOUR | tr '-' '_'`
33857 if test "$wxUSE_DEBUG_INFO" = "yes"; then
33861 WX_VERSION_TAG
=`echo WX${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}_${WX_RELEASE} | tr '[a-z]' '[A-Z]'`
33863 TOOLCHAIN_NAME
="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}"
33865 TOOLCHAIN_FULLNAME
="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}-${WX_CHARTYPE}-${WX_DEBUGTYPE}${config_linkage_component}-${WX_RELEASE}${WX_FLAVOUR}"
33867 if test "$cross_compiling" = "yes"; then
33868 HOST_SUFFIX
="-$host_alias"
33869 TOOLCHAIN_NAME
="$TOOLCHAIN_NAME$HOST_SUFFIX"
33870 TOOLCHAIN_FULLNAME
="${host_alias}-$TOOLCHAIN_FULLNAME"
33873 WX_LIBRARY_BASENAME_NOGUI
="wx_base${WXBASEPORT}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
33874 if test "${TOOLKIT_DIR}" = "os2"; then
33875 WX_LIBRARY_BASENAME_GUI
="wx_pm${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
33877 WX_LIBRARY_BASENAME_GUI
="wx_${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
33882 if test "$wxUSE_COCOA" = 1; then
33885 ac_cpp
='$CPP $CPPFLAGS'
33886 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33887 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33888 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
33892 { echo "$as_me:$LINENO: checking if AppKit/NSEvent.h conflicts with CoreFoundation" >&5
33893 echo $ECHO_N "checking if AppKit/NSEvent.h conflicts with CoreFoundation... $ECHO_C" >&6; }
33894 cat >conftest.
$ac_ext <<_ACEOF
33897 cat confdefs.h
>>conftest.
$ac_ext
33898 cat >>conftest.
$ac_ext <<_ACEOF
33899 /* end confdefs.h. */
33900 #include <AppKit/NSEvent.h>
33901 #include <CoreFoundation/CoreFoundation.h>
33911 rm -f conftest.
$ac_objext
33912 if { (ac_try
="$ac_compile"
33913 case "(($ac_try" in
33914 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
33915 *) ac_try_echo=$ac_try;;
33917 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33918 (eval "$ac_compile") 2>conftest.er1
33920 grep -v '^ *+' conftest.er1 >conftest.err
33922 cat conftest.err >&5
33923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33924 (exit $ac_status); } && {
33925 test -z "$ac_c_werror_flag" ||
33926 test ! -s conftest.err
33927 } && test -s conftest.$ac_objext; then
33928 { echo "$as_me:$LINENO: result: no" >&5
33929 echo "${ECHO_T}no" >&6; }
33931 echo "$as_me: failed program was:" >&5
33932 sed 's/^/| /' conftest.$ac_ext >&5
33934 { echo "$as_me:$LINENO: result: yes" >&5
33935 echo "${ECHO_T}yes" >&6; }
33936 { echo "$as_me:$LINENO: checking if defining __Point__ will fix it" >&5
33937 echo $ECHO_N "checking if defining __Point__ will fix it... $ECHO_C" >&6; }
33938 cat >conftest.$ac_ext <<_ACEOF
33941 cat confdefs.h >>conftest.$ac_ext
33942 cat >>conftest.$ac_ext <<_ACEOF
33943 /* end confdefs.h. */
33944 #define __Point__ 1
33945 #include <AppKit/NSEvent.h>
33946 #include <CoreFoundation/CoreFoundation.h>
33956 rm -f conftest.$ac_objext
33957 if { (ac_try="$ac_compile"
33958 case "(($ac_try" in
33959 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
33960 *) ac_try_echo
=$ac_try;;
33962 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33963 (eval "$ac_compile") 2>conftest.er1
33965 grep -v '^ *+' conftest.er1
>conftest.err
33967 cat conftest.err
>&5
33968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33969 (exit $ac_status); } && {
33970 test -z "$ac_c_werror_flag" ||
33971 test ! -s conftest.err
33972 } && test -s conftest.
$ac_objext; then
33973 { echo "$as_me:$LINENO: result: yes" >&5
33974 echo "${ECHO_T}yes" >&6; }
33975 cat >>confdefs.h
<<\_ACEOF
33976 #define __Point__ 1
33981 echo "$as_me: failed program was:" >&5
33982 sed 's/^/| /' conftest.
$ac_ext >&5
33984 { { echo "$as_me:$LINENO: error: no
33985 See \`config.log' for more details." >&5
33986 echo "$as_me: error: no
33987 See \`config.log' for more details." >&2;}
33988 { (exit 1); exit 1; }; }
33992 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
33996 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
33998 ac_cpp
='$CPP $CPPFLAGS'
33999 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34000 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34001 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
34006 { echo "$as_me:$LINENO: checking for mode_t" >&5
34007 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6; }
34008 if test "${ac_cv_type_mode_t+set}" = set; then
34009 echo $ECHO_N "(cached) $ECHO_C" >&6
34011 cat >conftest.
$ac_ext <<_ACEOF
34014 cat confdefs.h
>>conftest.
$ac_ext
34015 cat >>conftest.
$ac_ext <<_ACEOF
34016 /* end confdefs.h. */
34017 $ac_includes_default
34018 typedef mode_t ac__type_new_;
34022 if ((ac__type_new_ *) 0)
34024 if (sizeof (ac__type_new_))
34030 rm -f conftest.
$ac_objext
34031 if { (ac_try
="$ac_compile"
34032 case "(($ac_try" in
34033 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
34034 *) ac_try_echo=$ac_try;;
34036 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34037 (eval "$ac_compile") 2>conftest.er1
34039 grep -v '^ *+' conftest.er1 >conftest.err
34041 cat conftest.err >&5
34042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34043 (exit $ac_status); } && {
34044 test -z "$ac_c_werror_flag" ||
34045 test ! -s conftest.err
34046 } && test -s conftest.$ac_objext; then
34047 ac_cv_type_mode_t=yes
34049 echo "$as_me: failed program was:" >&5
34050 sed 's/^/| /' conftest.$ac_ext >&5
34052 ac_cv_type_mode_t=no
34055 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34057 { echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
34058 echo "${ECHO_T}$ac_cv_type_mode_t" >&6; }
34059 if test $ac_cv_type_mode_t = yes; then
34063 cat >>confdefs.h <<_ACEOF
34069 { echo "$as_me:$LINENO: checking for off_t" >&5
34070 echo $ECHO_N "checking for off_t... $ECHO_C" >&6; }
34071 if test "${ac_cv_type_off_t+set}" = set; then
34072 echo $ECHO_N "(cached) $ECHO_C" >&6
34074 cat >conftest.$ac_ext <<_ACEOF
34077 cat confdefs.h >>conftest.$ac_ext
34078 cat >>conftest.$ac_ext <<_ACEOF
34079 /* end confdefs.h. */
34080 $ac_includes_default
34081 typedef off_t ac__type_new_;
34085 if ((ac__type_new_ *) 0)
34087 if (sizeof (ac__type_new_))
34093 rm -f conftest.$ac_objext
34094 if { (ac_try="$ac_compile"
34095 case "(($ac_try" in
34096 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
34097 *) ac_try_echo
=$ac_try;;
34099 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34100 (eval "$ac_compile") 2>conftest.er1
34102 grep -v '^ *+' conftest.er1
>conftest.err
34104 cat conftest.err
>&5
34105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34106 (exit $ac_status); } && {
34107 test -z "$ac_c_werror_flag" ||
34108 test ! -s conftest.err
34109 } && test -s conftest.
$ac_objext; then
34110 ac_cv_type_off_t
=yes
34112 echo "$as_me: failed program was:" >&5
34113 sed 's/^/| /' conftest.
$ac_ext >&5
34115 ac_cv_type_off_t
=no
34118 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
34120 { echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
34121 echo "${ECHO_T}$ac_cv_type_off_t" >&6; }
34122 if test $ac_cv_type_off_t = yes; then
34126 cat >>confdefs.h
<<_ACEOF
34127 #define off_t long int
34132 { echo "$as_me:$LINENO: checking for pid_t" >&5
34133 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6; }
34134 if test "${ac_cv_type_pid_t+set}" = set; then
34135 echo $ECHO_N "(cached) $ECHO_C" >&6
34137 cat >conftest.
$ac_ext <<_ACEOF
34140 cat confdefs.h
>>conftest.
$ac_ext
34141 cat >>conftest.
$ac_ext <<_ACEOF
34142 /* end confdefs.h. */
34143 $ac_includes_default
34144 typedef pid_t ac__type_new_;
34148 if ((ac__type_new_ *) 0)
34150 if (sizeof (ac__type_new_))
34156 rm -f conftest.
$ac_objext
34157 if { (ac_try
="$ac_compile"
34158 case "(($ac_try" in
34159 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
34160 *) ac_try_echo=$ac_try;;
34162 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34163 (eval "$ac_compile") 2>conftest.er1
34165 grep -v '^ *+' conftest.er1 >conftest.err
34167 cat conftest.err >&5
34168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34169 (exit $ac_status); } && {
34170 test -z "$ac_c_werror_flag" ||
34171 test ! -s conftest.err
34172 } && test -s conftest.$ac_objext; then
34173 ac_cv_type_pid_t=yes
34175 echo "$as_me: failed program was:" >&5
34176 sed 's/^/| /' conftest.$ac_ext >&5
34178 ac_cv_type_pid_t=no
34181 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34183 { echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
34184 echo "${ECHO_T}$ac_cv_type_pid_t" >&6; }
34185 if test $ac_cv_type_pid_t = yes; then
34189 cat >>confdefs.h <<_ACEOF
34195 { echo "$as_me:$LINENO: checking for size_t" >&5
34196 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
34197 if test "${ac_cv_type_size_t+set}" = set; then
34198 echo $ECHO_N "(cached) $ECHO_C" >&6
34200 cat >conftest.$ac_ext <<_ACEOF
34203 cat confdefs.h >>conftest.$ac_ext
34204 cat >>conftest.$ac_ext <<_ACEOF
34205 /* end confdefs.h. */
34206 $ac_includes_default
34207 typedef size_t ac__type_new_;
34211 if ((ac__type_new_ *) 0)
34213 if (sizeof (ac__type_new_))
34219 rm -f conftest.$ac_objext
34220 if { (ac_try="$ac_compile"
34221 case "(($ac_try" in
34222 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
34223 *) ac_try_echo
=$ac_try;;
34225 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34226 (eval "$ac_compile") 2>conftest.er1
34228 grep -v '^ *+' conftest.er1
>conftest.err
34230 cat conftest.err
>&5
34231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34232 (exit $ac_status); } && {
34233 test -z "$ac_c_werror_flag" ||
34234 test ! -s conftest.err
34235 } && test -s conftest.
$ac_objext; then
34236 ac_cv_type_size_t
=yes
34238 echo "$as_me: failed program was:" >&5
34239 sed 's/^/| /' conftest.
$ac_ext >&5
34241 ac_cv_type_size_t
=no
34244 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
34246 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
34247 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
34248 if test $ac_cv_type_size_t = yes; then
34252 cat >>confdefs.h
<<_ACEOF
34253 #define size_t unsigned int
34259 { echo "$as_me:$LINENO: checking for ssize_t" >&5
34260 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6; }
34261 if test "${ac_cv_type_ssize_t+set}" = set; then
34262 echo $ECHO_N "(cached) $ECHO_C" >&6
34264 cat >conftest.
$ac_ext <<_ACEOF
34267 cat confdefs.h
>>conftest.
$ac_ext
34268 cat >>conftest.
$ac_ext <<_ACEOF
34269 /* end confdefs.h. */
34270 $ac_includes_default
34271 typedef ssize_t ac__type_new_;
34275 if ((ac__type_new_ *) 0)
34277 if (sizeof (ac__type_new_))
34283 rm -f conftest.
$ac_objext
34284 if { (ac_try
="$ac_compile"
34285 case "(($ac_try" in
34286 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
34287 *) ac_try_echo=$ac_try;;
34289 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34290 (eval "$ac_compile") 2>conftest.er1
34292 grep -v '^ *+' conftest.er1 >conftest.err
34294 cat conftest.err >&5
34295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34296 (exit $ac_status); } && {
34297 test -z "$ac_c_werror_flag" ||
34298 test ! -s conftest.err
34299 } && test -s conftest.$ac_objext; then
34300 ac_cv_type_ssize_t=yes
34302 echo "$as_me: failed program was:" >&5
34303 sed 's/^/| /' conftest.$ac_ext >&5
34305 ac_cv_type_ssize_t=no
34308 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34310 { echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
34311 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6; }
34312 if test $ac_cv_type_ssize_t = yes; then
34314 cat >>confdefs.h <<_ACEOF
34315 #define HAVE_SSIZE_T 1
34323 ac_cpp='$CXXCPP $CPPFLAGS'
34324 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34325 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34326 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34327 { echo "$as_me:$LINENO: checking if size_t is unsigned int" >&5
34328 echo $ECHO_N "checking if size_t is unsigned int... $ECHO_C" >&6; }
34329 if test "${wx_cv_size_t_is_uint+set}" = set; then
34330 echo $ECHO_N "(cached) $ECHO_C" >&6
34333 cat >conftest.$ac_ext <<_ACEOF
34336 cat confdefs.h >>conftest.$ac_ext
34337 cat >>conftest.$ac_ext <<_ACEOF
34338 /* end confdefs.h. */
34339 #include <stddef.h>
34346 struct Foo { void foo(size_t); void foo(unsigned int); };
34354 rm -f conftest.$ac_objext
34355 if { (ac_try="$ac_compile"
34356 case "(($ac_try" in
34357 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
34358 *) ac_try_echo
=$ac_try;;
34360 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34361 (eval "$ac_compile") 2>conftest.er1
34363 grep -v '^ *+' conftest.er1
>conftest.err
34365 cat conftest.err
>&5
34366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34367 (exit $ac_status); } && {
34368 test -z "$ac_cxx_werror_flag" ||
34369 test ! -s conftest.err
34370 } && test -s conftest.
$ac_objext; then
34371 wx_cv_size_t_is_uint
=no
34373 echo "$as_me: failed program was:" >&5
34374 sed 's/^/| /' conftest.
$ac_ext >&5
34376 wx_cv_size_t_is_uint
=yes
34380 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
34384 { echo "$as_me:$LINENO: result: $wx_cv_size_t_is_uint" >&5
34385 echo "${ECHO_T}$wx_cv_size_t_is_uint" >&6; }
34387 if test "$wx_cv_size_t_is_uint" = "yes"; then
34388 cat >>confdefs.h
<<\_ACEOF
34389 #define wxSIZE_T_IS_UINT 1
34393 { echo "$as_me:$LINENO: checking if size_t is unsigned long" >&5
34394 echo $ECHO_N "checking if size_t is unsigned long... $ECHO_C" >&6; }
34395 if test "${wx_cv_size_t_is_ulong+set}" = set; then
34396 echo $ECHO_N "(cached) $ECHO_C" >&6
34398 cat >conftest.
$ac_ext <<_ACEOF
34401 cat confdefs.h
>>conftest.
$ac_ext
34402 cat >>conftest.
$ac_ext <<_ACEOF
34403 /* end confdefs.h. */
34404 #include <stddef.h>
34411 struct Foo { void foo(size_t); void foo(unsigned long); };
34419 rm -f conftest.
$ac_objext
34420 if { (ac_try
="$ac_compile"
34421 case "(($ac_try" in
34422 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
34423 *) ac_try_echo=$ac_try;;
34425 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34426 (eval "$ac_compile") 2>conftest.er1
34428 grep -v '^ *+' conftest.er1 >conftest.err
34430 cat conftest.err >&5
34431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34432 (exit $ac_status); } && {
34433 test -z "$ac_cxx_werror_flag" ||
34434 test ! -s conftest.err
34435 } && test -s conftest.$ac_objext; then
34436 wx_cv_size_t_is_ulong=no
34438 echo "$as_me: failed program was:" >&5
34439 sed 's/^/| /' conftest.$ac_ext >&5
34441 wx_cv_size_t_is_ulong=yes
34445 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34448 { echo "$as_me:$LINENO: result: $wx_cv_size_t_is_ulong" >&5
34449 echo "${ECHO_T}$wx_cv_size_t_is_ulong" >&6; }
34451 if test "$wx_cv_size_t_is_ulong" = "yes"; then
34452 cat >>confdefs.h <<\_ACEOF
34453 #define wxSIZE_T_IS_ULONG 1
34459 { echo "$as_me:$LINENO: checking if wchar_t is separate type" >&5
34460 echo $ECHO_N "checking if wchar_t is separate type... $ECHO_C" >&6; }
34461 if test "${wx_cv_wchar_t_is_separate_type+set}" = set; then
34462 echo $ECHO_N "(cached) $ECHO_C" >&6
34464 cat >conftest.$ac_ext <<_ACEOF
34467 cat confdefs.h >>conftest.$ac_ext
34468 cat >>conftest.$ac_ext <<_ACEOF
34469 /* end confdefs.h. */
34477 struct Foo { void foo(wchar_t);
34478 void foo(unsigned short);
34479 void foo(unsigned int);
34480 void foo(unsigned long); };
34488 rm -f conftest.$ac_objext
34489 if { (ac_try="$ac_compile"
34490 case "(($ac_try" in
34491 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
34492 *) ac_try_echo
=$ac_try;;
34494 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34495 (eval "$ac_compile") 2>conftest.er1
34497 grep -v '^ *+' conftest.er1
>conftest.err
34499 cat conftest.err
>&5
34500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34501 (exit $ac_status); } && {
34502 test -z "$ac_cxx_werror_flag" ||
34503 test ! -s conftest.err
34504 } && test -s conftest.
$ac_objext; then
34505 wx_cv_wchar_t_is_separate_type
=yes
34507 echo "$as_me: failed program was:" >&5
34508 sed 's/^/| /' conftest.
$ac_ext >&5
34510 wx_cv_wchar_t_is_separate_type
=no
34514 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
34517 { echo "$as_me:$LINENO: result: $wx_cv_wchar_t_is_separate_type" >&5
34518 echo "${ECHO_T}$wx_cv_wchar_t_is_separate_type" >&6; }
34520 if test "$wx_cv_wchar_t_is_separate_type" = "yes"; then
34521 cat >>confdefs.h
<<\_ACEOF
34522 #define wxWCHAR_T_IS_REAL_TYPE 1
34526 cat >>confdefs.h
<<\_ACEOF
34527 #define wxWCHAR_T_IS_REAL_TYPE 0
34533 ac_cpp
='$CPP $CPPFLAGS'
34534 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34535 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34536 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
34539 { echo "$as_me:$LINENO: checking for pw_gecos in struct passwd" >&5
34540 echo $ECHO_N "checking for pw_gecos in struct passwd... $ECHO_C" >&6; }
34541 if test "${wx_cv_struct_pw_gecos+set}" = set; then
34542 echo $ECHO_N "(cached) $ECHO_C" >&6
34545 cat >conftest.
$ac_ext <<_ACEOF
34548 cat confdefs.h
>>conftest.
$ac_ext
34549 cat >>conftest.
$ac_ext <<_ACEOF
34550 /* end confdefs.h. */
34564 rm -f conftest.
$ac_objext
34565 if { (ac_try
="$ac_compile"
34566 case "(($ac_try" in
34567 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
34568 *) ac_try_echo=$ac_try;;
34570 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34571 (eval "$ac_compile") 2>conftest.er1
34573 grep -v '^ *+' conftest.er1 >conftest.err
34575 cat conftest.err >&5
34576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34577 (exit $ac_status); } && {
34578 test -z "$ac_c_werror_flag" ||
34579 test ! -s conftest.err
34580 } && test -s conftest.$ac_objext; then
34582 wx_cv_struct_pw_gecos=yes
34585 echo "$as_me: failed program was:" >&5
34586 sed 's/^/| /' conftest.$ac_ext >&5
34589 wx_cv_struct_pw_gecos=no
34594 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34598 { echo "$as_me:$LINENO: result: $wx_cv_struct_pw_gecos" >&5
34599 echo "${ECHO_T}$wx_cv_struct_pw_gecos" >&6; }
34601 if test "$wx_cv_struct_pw_gecos" = "yes"; then
34602 cat >>confdefs.h <<\_ACEOF
34603 #define HAVE_PW_GECOS 1
34609 if test "$wxUSE_WCHAR_T" = "yes"; then
34610 cat >>confdefs.h <<\_ACEOF
34611 #define wxUSE_WCHAR_T 1
34618 for ac_func in wcslen
34620 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34621 { echo "$as_me:$LINENO: checking for $ac_func" >&5
34622 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
34623 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
34624 echo $ECHO_N "(cached) $ECHO_C" >&6
34626 cat >conftest.$ac_ext <<_ACEOF
34629 cat confdefs.h >>conftest.$ac_ext
34630 cat >>conftest.$ac_ext <<_ACEOF
34631 /* end confdefs.h. */
34632 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34633 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34634 #define $ac_func innocuous_$ac_func
34636 /* System header to define __stub macros and hopefully few prototypes,
34637 which can conflict with char $ac_func (); below.
34638 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34639 <limits.h> exists even on freestanding compilers. */
34642 # include <limits.h>
34644 # include <assert.h>
34649 /* Override any GCC internal prototype to avoid an error.
34650 Use char because int might match the return type of a GCC
34651 builtin and then its argument prototype would still apply. */
34656 /* The GNU C library defines this for functions which it implements
34657 to always fail with ENOSYS. Some functions are actually named
34658 something starting with __ and the normal name is an alias. */
34659 #if defined __stub_$ac_func || defined __stub___$ac_func
34666 return $ac_func ();
34671 rm -f conftest.$ac_objext conftest$ac_exeext
34672 if { (ac_try="$ac_link"
34673 case "(($ac_try" in
34674 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
34675 *) ac_try_echo
=$ac_try;;
34677 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34678 (eval "$ac_link") 2>conftest.er1
34680 grep -v '^ *+' conftest.er1
>conftest.err
34682 cat conftest.err
>&5
34683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34684 (exit $ac_status); } && {
34685 test -z "$ac_c_werror_flag" ||
34686 test ! -s conftest.err
34687 } && test -s conftest
$ac_exeext &&
34688 $as_test_x conftest
$ac_exeext; then
34689 eval "$as_ac_var=yes"
34691 echo "$as_me: failed program was:" >&5
34692 sed 's/^/| /' conftest.
$ac_ext >&5
34694 eval "$as_ac_var=no"
34697 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
34698 conftest
$ac_exeext conftest.
$ac_ext
34700 ac_res
=`eval echo '${'$as_ac_var'}'`
34701 { echo "$as_me:$LINENO: result: $ac_res" >&5
34702 echo "${ECHO_T}$ac_res" >&6; }
34703 if test `eval echo '${'$as_ac_var'}'` = yes; then
34704 cat >>confdefs.h
<<_ACEOF
34705 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34712 if test "$WCSLEN_FOUND" = 0; then
34713 if test "$TOOLKIT" = "MSW"; then
34714 { echo "$as_me:$LINENO: checking for wcslen in -lmsvcrt" >&5
34715 echo $ECHO_N "checking for wcslen in -lmsvcrt... $ECHO_C" >&6; }
34716 if test "${ac_cv_lib_msvcrt_wcslen+set}" = set; then
34717 echo $ECHO_N "(cached) $ECHO_C" >&6
34719 ac_check_lib_save_LIBS
=$LIBS
34720 LIBS
="-lmsvcrt $LIBS"
34721 cat >conftest.
$ac_ext <<_ACEOF
34724 cat confdefs.h
>>conftest.
$ac_ext
34725 cat >>conftest.
$ac_ext <<_ACEOF
34726 /* end confdefs.h. */
34728 /* Override any GCC internal prototype to avoid an error.
34729 Use char because int might match the return type of a GCC
34730 builtin and then its argument prototype would still apply. */
34743 rm -f conftest.
$ac_objext conftest
$ac_exeext
34744 if { (ac_try
="$ac_link"
34745 case "(($ac_try" in
34746 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
34747 *) ac_try_echo=$ac_try;;
34749 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34750 (eval "$ac_link") 2>conftest.er1
34752 grep -v '^ *+' conftest.er1 >conftest.err
34754 cat conftest.err >&5
34755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34756 (exit $ac_status); } && {
34757 test -z "$ac_c_werror_flag" ||
34758 test ! -s conftest.err
34759 } && test -s conftest$ac_exeext &&
34760 $as_test_x conftest$ac_exeext; then
34761 ac_cv_lib_msvcrt_wcslen=yes
34763 echo "$as_me: failed program was:" >&5
34764 sed 's/^/| /' conftest.$ac_ext >&5
34766 ac_cv_lib_msvcrt_wcslen=no
34769 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34770 conftest$ac_exeext conftest.$ac_ext
34771 LIBS=$ac_check_lib_save_LIBS
34773 { echo "$as_me:$LINENO: result: $ac_cv_lib_msvcrt_wcslen" >&5
34774 echo "${ECHO_T}$ac_cv_lib_msvcrt_wcslen" >&6; }
34775 if test $ac_cv_lib_msvcrt_wcslen = yes; then
34780 { echo "$as_me:$LINENO: checking for wcslen in -lw" >&5
34781 echo $ECHO_N "checking for wcslen in -lw... $ECHO_C" >&6; }
34782 if test "${ac_cv_lib_w_wcslen+set}" = set; then
34783 echo $ECHO_N "(cached) $ECHO_C" >&6
34785 ac_check_lib_save_LIBS=$LIBS
34787 cat >conftest.$ac_ext <<_ACEOF
34790 cat confdefs.h >>conftest.$ac_ext
34791 cat >>conftest.$ac_ext <<_ACEOF
34792 /* end confdefs.h. */
34794 /* Override any GCC internal prototype to avoid an error.
34795 Use char because int might match the return type of a GCC
34796 builtin and then its argument prototype would still apply. */
34809 rm -f conftest.$ac_objext conftest$ac_exeext
34810 if { (ac_try="$ac_link"
34811 case "(($ac_try" in
34812 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
34813 *) ac_try_echo
=$ac_try;;
34815 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34816 (eval "$ac_link") 2>conftest.er1
34818 grep -v '^ *+' conftest.er1
>conftest.err
34820 cat conftest.err
>&5
34821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34822 (exit $ac_status); } && {
34823 test -z "$ac_c_werror_flag" ||
34824 test ! -s conftest.err
34825 } && test -s conftest
$ac_exeext &&
34826 $as_test_x conftest
$ac_exeext; then
34827 ac_cv_lib_w_wcslen
=yes
34829 echo "$as_me: failed program was:" >&5
34830 sed 's/^/| /' conftest.
$ac_ext >&5
34832 ac_cv_lib_w_wcslen
=no
34835 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
34836 conftest
$ac_exeext conftest.
$ac_ext
34837 LIBS
=$ac_check_lib_save_LIBS
34839 { echo "$as_me:$LINENO: result: $ac_cv_lib_w_wcslen" >&5
34840 echo "${ECHO_T}$ac_cv_lib_w_wcslen" >&6; }
34841 if test $ac_cv_lib_w_wcslen = yes; then
34851 if test "$WCSLEN_FOUND" = 1; then
34852 cat >>confdefs.h
<<\_ACEOF
34853 #define HAVE_WCSLEN 1
34859 for ac_func
in wcsdup
34861 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34862 { echo "$as_me:$LINENO: checking for $ac_func" >&5
34863 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
34864 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
34865 echo $ECHO_N "(cached) $ECHO_C" >&6
34867 cat >conftest.
$ac_ext <<_ACEOF
34870 cat confdefs.h
>>conftest.
$ac_ext
34871 cat >>conftest.
$ac_ext <<_ACEOF
34872 /* end confdefs.h. */
34873 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34874 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34875 #define $ac_func innocuous_$ac_func
34877 /* System header to define __stub macros and hopefully few prototypes,
34878 which can conflict with char $ac_func (); below.
34879 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34880 <limits.h> exists even on freestanding compilers. */
34883 # include <limits.h>
34885 # include <assert.h>
34890 /* Override any GCC internal prototype to avoid an error.
34891 Use char because int might match the return type of a GCC
34892 builtin and then its argument prototype would still apply. */
34897 /* The GNU C library defines this for functions which it implements
34898 to always fail with ENOSYS. Some functions are actually named
34899 something starting with __ and the normal name is an alias. */
34900 #if defined __stub_$ac_func || defined __stub___$ac_func
34907 return $ac_func ();
34912 rm -f conftest.
$ac_objext conftest
$ac_exeext
34913 if { (ac_try
="$ac_link"
34914 case "(($ac_try" in
34915 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
34916 *) ac_try_echo=$ac_try;;
34918 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34919 (eval "$ac_link") 2>conftest.er1
34921 grep -v '^ *+' conftest.er1 >conftest.err
34923 cat conftest.err >&5
34924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34925 (exit $ac_status); } && {
34926 test -z "$ac_c_werror_flag" ||
34927 test ! -s conftest.err
34928 } && test -s conftest$ac_exeext &&
34929 $as_test_x conftest$ac_exeext; then
34930 eval "$as_ac_var=yes"
34932 echo "$as_me: failed program was:" >&5
34933 sed 's/^/| /' conftest.$ac_ext >&5
34935 eval "$as_ac_var=no"
34938 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34939 conftest$ac_exeext conftest.$ac_ext
34941 ac_res=`eval echo '${'$as_ac_var'}'`
34942 { echo "$as_me:$LINENO: result: $ac_res" >&5
34943 echo "${ECHO_T}$ac_res" >&6; }
34944 if test `eval echo '${'$as_ac_var'}'` = yes; then
34945 cat >>confdefs.h <<_ACEOF
34946 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34953 if test "$USE_HPUX" = 1 -a "$GCC" != "yes"; then
34954 CPPFLAGS="-D_INCLUDE__STDC_A1_SOURCE $CPPFLAGS"
34957 { echo "$as_me:$LINENO: checking for mbstate_t" >&5
34958 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6; }
34959 if test "${ac_cv_type_mbstate_t+set}" = set; then
34960 echo $ECHO_N "(cached) $ECHO_C" >&6
34962 cat >conftest.$ac_ext <<_ACEOF
34965 cat confdefs.h >>conftest.$ac_ext
34966 cat >>conftest.$ac_ext <<_ACEOF
34967 /* end confdefs.h. */
34970 typedef mbstate_t ac__type_new_;
34974 if ((ac__type_new_ *) 0)
34976 if (sizeof (ac__type_new_))
34982 rm -f conftest.$ac_objext
34983 if { (ac_try="$ac_compile"
34984 case "(($ac_try" in
34985 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
34986 *) ac_try_echo
=$ac_try;;
34988 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34989 (eval "$ac_compile") 2>conftest.er1
34991 grep -v '^ *+' conftest.er1
>conftest.err
34993 cat conftest.err
>&5
34994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34995 (exit $ac_status); } && {
34996 test -z "$ac_c_werror_flag" ||
34997 test ! -s conftest.err
34998 } && test -s conftest.
$ac_objext; then
34999 ac_cv_type_mbstate_t
=yes
35001 echo "$as_me: failed program was:" >&5
35002 sed 's/^/| /' conftest.
$ac_ext >&5
35004 ac_cv_type_mbstate_t
=no
35007 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
35009 { echo "$as_me:$LINENO: result: $ac_cv_type_mbstate_t" >&5
35010 echo "${ECHO_T}$ac_cv_type_mbstate_t" >&6; }
35011 if test $ac_cv_type_mbstate_t = yes; then
35013 cat >>confdefs.h
<<_ACEOF
35014 #define HAVE_MBSTATE_T 1
35018 for ac_func
in wcsrtombs
35020 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35021 { echo "$as_me:$LINENO: checking for $ac_func" >&5
35022 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
35023 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
35024 echo $ECHO_N "(cached) $ECHO_C" >&6
35026 cat >conftest.
$ac_ext <<_ACEOF
35029 cat confdefs.h
>>conftest.
$ac_ext
35030 cat >>conftest.
$ac_ext <<_ACEOF
35031 /* end confdefs.h. */
35032 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35033 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35034 #define $ac_func innocuous_$ac_func
35036 /* System header to define __stub macros and hopefully few prototypes,
35037 which can conflict with char $ac_func (); below.
35038 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35039 <limits.h> exists even on freestanding compilers. */
35042 # include <limits.h>
35044 # include <assert.h>
35049 /* Override any GCC internal prototype to avoid an error.
35050 Use char because int might match the return type of a GCC
35051 builtin and then its argument prototype would still apply. */
35056 /* The GNU C library defines this for functions which it implements
35057 to always fail with ENOSYS. Some functions are actually named
35058 something starting with __ and the normal name is an alias. */
35059 #if defined __stub_$ac_func || defined __stub___$ac_func
35066 return $ac_func ();
35071 rm -f conftest.
$ac_objext conftest
$ac_exeext
35072 if { (ac_try
="$ac_link"
35073 case "(($ac_try" in
35074 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
35075 *) ac_try_echo=$ac_try;;
35077 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35078 (eval "$ac_link") 2>conftest.er1
35080 grep -v '^ *+' conftest.er1 >conftest.err
35082 cat conftest.err >&5
35083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35084 (exit $ac_status); } && {
35085 test -z "$ac_c_werror_flag" ||
35086 test ! -s conftest.err
35087 } && test -s conftest$ac_exeext &&
35088 $as_test_x conftest$ac_exeext; then
35089 eval "$as_ac_var=yes"
35091 echo "$as_me: failed program was:" >&5
35092 sed 's/^/| /' conftest.$ac_ext >&5
35094 eval "$as_ac_var=no"
35097 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35098 conftest$ac_exeext conftest.$ac_ext
35100 ac_res=`eval echo '${'$as_ac_var'}'`
35101 { echo "$as_me:$LINENO: result: $ac_res" >&5
35102 echo "${ECHO_T}$ac_res" >&6; }
35103 if test `eval echo '${'$as_ac_var'}'` = yes; then
35104 cat >>confdefs.h <<_ACEOF
35105 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35114 { echo "$as_me:$LINENO: WARNING: Wide character support is unavailable" >&5
35115 echo "$as_me: WARNING: Wide character support is unavailable" >&2;}
35121 for ac_func in snprintf vsnprintf vsscanf
35123 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35124 { echo "$as_me:$LINENO: checking for $ac_func" >&5
35125 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
35126 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
35127 echo $ECHO_N "(cached) $ECHO_C" >&6
35129 cat >conftest.$ac_ext <<_ACEOF
35132 cat confdefs.h >>conftest.$ac_ext
35133 cat >>conftest.$ac_ext <<_ACEOF
35134 /* end confdefs.h. */
35135 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35136 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35137 #define $ac_func innocuous_$ac_func
35139 /* System header to define __stub macros and hopefully few prototypes,
35140 which can conflict with char $ac_func (); below.
35141 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35142 <limits.h> exists even on freestanding compilers. */
35145 # include <limits.h>
35147 # include <assert.h>
35152 /* Override any GCC internal prototype to avoid an error.
35153 Use char because int might match the return type of a GCC
35154 builtin and then its argument prototype would still apply. */
35159 /* The GNU C library defines this for functions which it implements
35160 to always fail with ENOSYS. Some functions are actually named
35161 something starting with __ and the normal name is an alias. */
35162 #if defined __stub_$ac_func || defined __stub___$ac_func
35169 return $ac_func ();
35174 rm -f conftest.$ac_objext conftest$ac_exeext
35175 if { (ac_try="$ac_link"
35176 case "(($ac_try" in
35177 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
35178 *) ac_try_echo
=$ac_try;;
35180 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35181 (eval "$ac_link") 2>conftest.er1
35183 grep -v '^ *+' conftest.er1
>conftest.err
35185 cat conftest.err
>&5
35186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35187 (exit $ac_status); } && {
35188 test -z "$ac_c_werror_flag" ||
35189 test ! -s conftest.err
35190 } && test -s conftest
$ac_exeext &&
35191 $as_test_x conftest
$ac_exeext; then
35192 eval "$as_ac_var=yes"
35194 echo "$as_me: failed program was:" >&5
35195 sed 's/^/| /' conftest.
$ac_ext >&5
35197 eval "$as_ac_var=no"
35200 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
35201 conftest
$ac_exeext conftest.
$ac_ext
35203 ac_res
=`eval echo '${'$as_ac_var'}'`
35204 { echo "$as_me:$LINENO: result: $ac_res" >&5
35205 echo "${ECHO_T}$ac_res" >&6; }
35206 if test `eval echo '${'$as_ac_var'}'` = yes; then
35207 cat >>confdefs.h
<<_ACEOF
35208 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35216 ac_cpp
='$CXXCPP $CPPFLAGS'
35217 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35218 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35219 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
35221 if test "$ac_cv_func_vsnprintf" = "yes"; then
35222 { echo "$as_me:$LINENO: checking for vsnprintf declaration" >&5
35223 echo $ECHO_N "checking for vsnprintf declaration... $ECHO_C" >&6; }
35224 if test "${wx_cv_func_vsnprintf_decl+set}" = set; then
35225 echo $ECHO_N "(cached) $ECHO_C" >&6
35228 cat >conftest.
$ac_ext <<_ACEOF
35231 cat confdefs.h
>>conftest.
$ac_ext
35232 cat >>conftest.
$ac_ext <<_ACEOF
35233 /* end confdefs.h. */
35236 #include <stdarg.h>
35238 #if __MSL__ >= 0x6000
35240 using namespace std;
35250 vsnprintf(buf, 10u, "%s", ap);
35256 rm -f conftest.
$ac_objext
35257 if { (ac_try
="$ac_compile"
35258 case "(($ac_try" in
35259 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
35260 *) ac_try_echo=$ac_try;;
35262 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35263 (eval "$ac_compile") 2>conftest.er1
35265 grep -v '^ *+' conftest.er1 >conftest.err
35267 cat conftest.err >&5
35268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35269 (exit $ac_status); } && {
35270 test -z "$ac_cxx_werror_flag" ||
35271 test ! -s conftest.err
35272 } && test -s conftest.$ac_objext; then
35273 wx_cv_func_vsnprintf_decl=yes
35275 echo "$as_me: failed program was:" >&5
35276 sed 's/^/| /' conftest.$ac_ext >&5
35278 wx_cv_func_vsnprintf_decl=no
35282 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35286 { echo "$as_me:$LINENO: result: $wx_cv_func_vsnprintf_decl" >&5
35287 echo "${ECHO_T}$wx_cv_func_vsnprintf_decl" >&6; }
35289 if test "$wx_cv_func_vsnprintf_decl" = "yes"; then
35290 cat >>confdefs.h <<\_ACEOF
35291 #define HAVE_VSNPRINTF_DECL 1
35295 { echo "$as_me:$LINENO: checking if vsnprintf declaration is broken" >&5
35296 echo $ECHO_N "checking if vsnprintf declaration is broken... $ECHO_C" >&6; }
35297 if test "${wx_cv_func_broken_vsnprintf_decl+set}" = set; then
35298 echo $ECHO_N "(cached) $ECHO_C" >&6
35301 cat >conftest.$ac_ext <<_ACEOF
35304 cat confdefs.h >>conftest.$ac_ext
35305 cat >>conftest.$ac_ext <<_ACEOF
35306 /* end confdefs.h. */
35309 #include <stdarg.h>
35311 #if __MSL__ >= 0x6000
35313 using namespace std;
35323 const char *fmt = "%s";
35324 vsnprintf(buf, 10u, fmt, ap);
35330 rm -f conftest.$ac_objext
35331 if { (ac_try="$ac_compile"
35332 case "(($ac_try" in
35333 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
35334 *) ac_try_echo
=$ac_try;;
35336 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35337 (eval "$ac_compile") 2>conftest.er1
35339 grep -v '^ *+' conftest.er1
>conftest.err
35341 cat conftest.err
>&5
35342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35343 (exit $ac_status); } && {
35344 test -z "$ac_cxx_werror_flag" ||
35345 test ! -s conftest.err
35346 } && test -s conftest.
$ac_objext; then
35347 wx_cv_func_broken_vsnprintf_decl
=no
35349 echo "$as_me: failed program was:" >&5
35350 sed 's/^/| /' conftest.
$ac_ext >&5
35352 wx_cv_func_broken_vsnprintf_decl
=yes
35356 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
35360 { echo "$as_me:$LINENO: result: $wx_cv_func_broken_vsnprintf_decl" >&5
35361 echo "${ECHO_T}$wx_cv_func_broken_vsnprintf_decl" >&6; }
35363 if test "$wx_cv_func_broken_vsnprintf_decl" = "yes"; then
35364 cat >>confdefs.h
<<\_ACEOF
35365 #define HAVE_BROKEN_VSNPRINTF_DECL 1
35372 if test "$ac_cv_func_snprintf" = "yes"; then
35373 { echo "$as_me:$LINENO: checking for snprintf declaration" >&5
35374 echo $ECHO_N "checking for snprintf declaration... $ECHO_C" >&6; }
35375 if test "${wx_cv_func_snprintf_decl+set}" = set; then
35376 echo $ECHO_N "(cached) $ECHO_C" >&6
35379 cat >conftest.
$ac_ext <<_ACEOF
35382 cat confdefs.h
>>conftest.
$ac_ext
35383 cat >>conftest.
$ac_ext <<_ACEOF
35384 /* end confdefs.h. */
35387 #include <stdarg.h>
35389 #if __MSL__ >= 0x6000
35391 using namespace std;
35400 snprintf(buf, 10u, "%s", "wx");
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_cxx_werror_flag" ||
35421 test ! -s conftest.err
35422 } && test -s conftest.$ac_objext; then
35423 wx_cv_func_snprintf_decl=yes
35425 echo "$as_me: failed program was:" >&5
35426 sed 's/^/| /' conftest.$ac_ext >&5
35428 wx_cv_func_snprintf_decl=no
35432 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35436 { echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_decl" >&5
35437 echo "${ECHO_T}$wx_cv_func_snprintf_decl" >&6; }
35439 if test "$wx_cv_func_snprintf_decl" = "yes"; then
35440 cat >>confdefs.h <<\_ACEOF
35441 #define HAVE_SNPRINTF_DECL 1
35446 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
35448 { echo "$as_me:$LINENO: checking if snprintf supports positional arguments" >&5
35449 echo $ECHO_N "checking if snprintf supports positional arguments... $ECHO_C" >&6; }
35450 if test "${wx_cv_func_snprintf_pos_params+set}" = set; then
35451 echo $ECHO_N "(cached) $ECHO_C" >&6
35454 if test "$cross_compiling" = yes; then
35456 { echo "$as_me:$LINENO: WARNING: Assuming Unix98 printf() is not available,
35457 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&5
35458 echo "$as_me: WARNING: Assuming Unix98 printf() is not available,
35459 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&2;}
35460 wx_cv_func_snprintf_pos_params=no
35464 cat >conftest.$ac_ext <<_ACEOF
35467 cat confdefs.h >>conftest.$ac_ext
35468 cat >>conftest.$ac_ext <<_ACEOF
35469 /* end confdefs.h. */
35476 snprintf (buffer, 128, "%2$d %3$d %1$d", 1, 2, 3);
35477 if (strcmp ("2 3 1", buffer) == 0)
35483 rm -f conftest$ac_exeext
35484 if { (ac_try="$ac_link"
35485 case "(($ac_try" in
35486 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
35487 *) ac_try_echo
=$ac_try;;
35489 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35490 (eval "$ac_link") 2>&5
35492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35493 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
35494 { (case "(($ac_try" in
35495 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
35496 *) ac_try_echo=$ac_try;;
35498 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35499 (eval "$ac_try") 2>&5
35501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35502 (exit $ac_status); }; }; then
35503 wx_cv_func_snprintf_pos_params=no
35505 echo "$as_me: program exited with status $ac_status" >&5
35506 echo "$as_me: failed program was:" >&5
35507 sed 's/^/| /' conftest.$ac_ext >&5
35509 ( exit $ac_status )
35510 wx_cv_func_snprintf_pos_params=yes
35512 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
35519 { echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_pos_params" >&5
35520 echo "${ECHO_T}$wx_cv_func_snprintf_pos_params" >&6; }
35522 if test "$wx_cv_func_snprintf_pos_params" = "yes"; then
35523 cat >>confdefs.h <<\_ACEOF
35524 #define HAVE_UNIX98_PRINTF 1
35531 if test "$ac_cv_func_vsscanf" = "yes"; then
35532 { echo "$as_me:$LINENO: checking for vsscanf declaration" >&5
35533 echo $ECHO_N "checking for vsscanf declaration... $ECHO_C" >&6; }
35534 if test "${wx_cv_func_vsscanf_decl+set}" = set; then
35535 echo $ECHO_N "(cached) $ECHO_C" >&6
35538 cat >conftest.$ac_ext <<_ACEOF
35541 cat confdefs.h >>conftest.$ac_ext
35542 cat >>conftest.$ac_ext <<_ACEOF
35543 /* end confdefs.h. */
35546 #include <stdarg.h>
35548 #if __MSL__ >= 0x6000
35550 using namespace std;
35560 vsscanf(buf, "%s", args);
35566 rm -f conftest.$ac_objext
35567 if { (ac_try="$ac_compile"
35568 case "(($ac_try" in
35569 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
35570 *) ac_try_echo
=$ac_try;;
35572 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35573 (eval "$ac_compile") 2>conftest.er1
35575 grep -v '^ *+' conftest.er1
>conftest.err
35577 cat conftest.err
>&5
35578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35579 (exit $ac_status); } && {
35580 test -z "$ac_cxx_werror_flag" ||
35581 test ! -s conftest.err
35582 } && test -s conftest.
$ac_objext; then
35583 wx_cv_func_vsscanf_decl
=yes
35585 echo "$as_me: failed program was:" >&5
35586 sed 's/^/| /' conftest.
$ac_ext >&5
35588 wx_cv_func_vsscanf_decl
=no
35592 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
35596 { echo "$as_me:$LINENO: result: $wx_cv_func_vsscanf_decl" >&5
35597 echo "${ECHO_T}$wx_cv_func_vsscanf_decl" >&6; }
35599 if test "$wx_cv_func_vsscanf_decl" = "yes"; then
35600 cat >>confdefs.h
<<\_ACEOF
35601 #define HAVE_VSSCANF_DECL 1
35607 ac_cpp
='$CPP $CPPFLAGS'
35608 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35609 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35610 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
35613 if test "$wxUSE_UNICODE" = yes; then
35615 wchar_headers
="#include <stdio.h>
35616 #include <wchar.h>"
35620 for ac_header
in widec.h
35622 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
35623 { echo "$as_me:$LINENO: checking for $ac_header" >&5
35624 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
35625 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
35626 echo $ECHO_N "(cached) $ECHO_C" >&6
35628 cat >conftest.
$ac_ext <<_ACEOF
35631 cat confdefs.h
>>conftest.
$ac_ext
35632 cat >>conftest.
$ac_ext <<_ACEOF
35633 /* end confdefs.h. */
35634 $ac_includes_default
35636 #include <$ac_header>
35638 rm -f conftest.
$ac_objext
35639 if { (ac_try
="$ac_compile"
35640 case "(($ac_try" in
35641 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
35642 *) ac_try_echo=$ac_try;;
35644 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35645 (eval "$ac_compile") 2>conftest.er1
35647 grep -v '^ *+' conftest.er1 >conftest.err
35649 cat conftest.err >&5
35650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35651 (exit $ac_status); } && {
35652 test -z "$ac_c_werror_flag" ||
35653 test ! -s conftest.err
35654 } && test -s conftest.$ac_objext; then
35655 eval "$as_ac_Header=yes"
35657 echo "$as_me: failed program was:" >&5
35658 sed 's/^/| /' conftest.$ac_ext >&5
35660 eval "$as_ac_Header=no"
35663 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35665 ac_res=`eval echo '${'$as_ac_Header'}'`
35666 { echo "$as_me:$LINENO: result: $ac_res" >&5
35667 echo "${ECHO_T}$ac_res" >&6; }
35668 if test `eval echo '${'$as_ac_Header'}'` = yes; then
35669 cat >>confdefs.h <<_ACEOF
35670 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
35677 if test "$ac_cv_header_widec_h" = "yes"; then
35678 wchar_headers="$wchar_headers
35679 #include <widec.h>"
35684 for wx_func in putws fputws wprintf vswprintf vswscanf
35686 { echo "$as_me:$LINENO: checking for $wx_func" >&5
35687 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
35688 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
35689 echo $ECHO_N "(cached) $ECHO_C" >&6
35692 cat >conftest.$ac_ext <<_ACEOF
35696 cat confdefs.h >>conftest.$ac_ext
35697 cat >>conftest.$ac_ext <<_ACEOF
35698 /* end confdefs.h. */
35701 $ac_includes_default
35717 rm -f conftest.$ac_objext conftest$ac_exeext
35718 if { (ac_try="$ac_link"
35719 case "(($ac_try" in
35720 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
35721 *) ac_try_echo
=$ac_try;;
35723 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35724 (eval "$ac_link") 2>conftest.er1
35726 grep -v '^ *+' conftest.er1
>conftest.err
35728 cat conftest.err
>&5
35729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35730 (exit $ac_status); } && {
35731 test -z "$ac_c_werror_flag" ||
35732 test ! -s conftest.err
35733 } && test -s conftest
$ac_exeext &&
35734 $as_test_x conftest
$ac_exeext; then
35735 eval wx_cv_func_
$wx_func=yes
35737 echo "$as_me: failed program was:" >&5
35738 sed 's/^/| /' conftest.
$ac_ext >&5
35740 eval wx_cv_func_
$wx_func=no
35743 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
35744 conftest
$ac_exeext conftest.
$ac_ext
35747 ac_res
=`eval echo '${'wx_cv_func_$wx_func'}'`
35748 { echo "$as_me:$LINENO: result: $ac_res" >&5
35749 echo "${ECHO_T}$ac_res" >&6; }
35751 if eval test \
$wx_cv_func_$wx_func = yes
35753 cat >>confdefs.h
<<_ACEOF
35754 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
35765 { echo "$as_me:$LINENO: checking for _vsnwprintf" >&5
35766 echo $ECHO_N "checking for _vsnwprintf... $ECHO_C" >&6; }
35767 cat >conftest.
$ac_ext <<_ACEOF
35770 cat confdefs.h
>>conftest.
$ac_ext
35771 cat >>conftest.
$ac_ext <<_ACEOF
35772 /* end confdefs.h. */
35782 rm -f conftest.
$ac_objext
35783 if { (ac_try
="$ac_compile"
35784 case "(($ac_try" in
35785 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
35786 *) ac_try_echo=$ac_try;;
35788 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35789 (eval "$ac_compile") 2>conftest.er1
35791 grep -v '^ *+' conftest.er1 >conftest.err
35793 cat conftest.err >&5
35794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35795 (exit $ac_status); } && {
35796 test -z "$ac_c_werror_flag" ||
35797 test ! -s conftest.err
35798 } && test -s conftest.$ac_objext; then
35799 { echo "$as_me:$LINENO: result: yes" >&5
35800 echo "${ECHO_T}yes" >&6; }
35801 cat >>confdefs.h <<\_ACEOF
35802 #define HAVE__VSNWPRINTF 1
35806 echo "$as_me: failed program was:" >&5
35807 sed 's/^/| /' conftest.$ac_ext >&5
35809 { echo "$as_me:$LINENO: result: no" >&5
35810 echo "${ECHO_T}no" >&6; }
35813 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext;
35816 if test "$wxUSE_FILE" = "yes"; then
35818 for wx_func in fsync
35820 { echo "$as_me:$LINENO: checking for $wx_func" >&5
35821 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
35822 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
35823 echo $ECHO_N "(cached) $ECHO_C" >&6
35826 cat >conftest.$ac_ext <<_ACEOF
35830 cat confdefs.h >>conftest.$ac_ext
35831 cat >>conftest.$ac_ext <<_ACEOF
35832 /* end confdefs.h. */
35835 $ac_includes_default
35851 rm -f conftest.$ac_objext conftest$ac_exeext
35852 if { (ac_try="$ac_link"
35853 case "(($ac_try" in
35854 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
35855 *) ac_try_echo
=$ac_try;;
35857 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35858 (eval "$ac_link") 2>conftest.er1
35860 grep -v '^ *+' conftest.er1
>conftest.err
35862 cat conftest.err
>&5
35863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35864 (exit $ac_status); } && {
35865 test -z "$ac_c_werror_flag" ||
35866 test ! -s conftest.err
35867 } && test -s conftest
$ac_exeext &&
35868 $as_test_x conftest
$ac_exeext; then
35869 eval wx_cv_func_
$wx_func=yes
35871 echo "$as_me: failed program was:" >&5
35872 sed 's/^/| /' conftest.
$ac_ext >&5
35874 eval wx_cv_func_
$wx_func=no
35877 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
35878 conftest
$ac_exeext conftest.
$ac_ext
35881 ac_res
=`eval echo '${'wx_cv_func_$wx_func'}'`
35882 { echo "$as_me:$LINENO: result: $ac_res" >&5
35883 echo "${ECHO_T}$ac_res" >&6; }
35885 if eval test \
$wx_cv_func_$wx_func = yes
35887 cat >>confdefs.h
<<_ACEOF
35888 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
35901 ac_cpp
='$CXXCPP $CPPFLAGS'
35902 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35903 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35904 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
35907 for wx_func
in round
35909 { echo "$as_me:$LINENO: checking for $wx_func" >&5
35910 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
35911 if { as_var
=wx_cv_func_
$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
35912 echo $ECHO_N "(cached) $ECHO_C" >&6
35915 cat >conftest.
$ac_ext <<_ACEOF
35919 cat confdefs.h
>>conftest.
$ac_ext
35920 cat >>conftest.
$ac_ext <<_ACEOF
35921 /* end confdefs.h. */
35924 $ac_includes_default
35940 rm -f conftest.
$ac_objext conftest
$ac_exeext
35941 if { (ac_try
="$ac_link"
35942 case "(($ac_try" in
35943 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
35944 *) ac_try_echo=$ac_try;;
35946 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35947 (eval "$ac_link") 2>conftest.er1
35949 grep -v '^ *+' conftest.er1 >conftest.err
35951 cat conftest.err >&5
35952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35953 (exit $ac_status); } && {
35954 test -z "$ac_cxx_werror_flag" ||
35955 test ! -s conftest.err
35956 } && test -s conftest$ac_exeext &&
35957 $as_test_x conftest$ac_exeext; then
35958 eval wx_cv_func_$wx_func=yes
35960 echo "$as_me: failed program was:" >&5
35961 sed 's/^/| /' conftest.$ac_ext >&5
35963 eval wx_cv_func_$wx_func=no
35966 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35967 conftest$ac_exeext conftest.$ac_ext
35970 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
35971 { echo "$as_me:$LINENO: result: $ac_res" >&5
35972 echo "${ECHO_T}$ac_res" >&6; }
35974 if eval test \$wx_cv_func_$wx_func = yes
35976 cat >>confdefs.h <<_ACEOF
35977 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
35988 ac_cpp='$CPP $CPPFLAGS'
35989 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35990 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35991 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35994 if test "$TOOLKIT" != "MSW"; then
35996 if test "$wxUSE_LIBICONV" != "no" ; then
36000 # Check whether --with-libiconv-prefix was given.
36001 if test "${with_libiconv_prefix+set}" = set; then
36002 withval=$with_libiconv_prefix;
36003 for dir in `echo "$withval" | tr : ' '`; do
36004 if test -d $dir/include; then CPPFLAGS="$CPPFLAGS -I$dir/include"; fi
36005 if test -d $dir/lib; then LDFLAGS="$LDFLAGS -L$dir/lib"; fi
36011 { echo "$as_me:$LINENO: checking for iconv" >&5
36012 echo $ECHO_N "checking for iconv... $ECHO_C" >&6; }
36013 if test "${am_cv_func_iconv+set}" = set; then
36014 echo $ECHO_N "(cached) $ECHO_C" >&6
36017 am_cv_func_iconv="no, consider installing GNU libiconv"
36019 cat >conftest.$ac_ext <<_ACEOF
36022 cat confdefs.h >>conftest.$ac_ext
36023 cat >>conftest.$ac_ext <<_ACEOF
36024 /* end confdefs.h. */
36025 #include <stdlib.h>
36030 iconv_t cd = iconv_open("","");
36031 iconv(cd,NULL,NULL,NULL,NULL);
36037 rm -f conftest.$ac_objext conftest$ac_exeext
36038 if { (ac_try="$ac_link"
36039 case "(($ac_try" in
36040 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
36041 *) ac_try_echo
=$ac_try;;
36043 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36044 (eval "$ac_link") 2>conftest.er1
36046 grep -v '^ *+' conftest.er1
>conftest.err
36048 cat conftest.err
>&5
36049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36050 (exit $ac_status); } && {
36051 test -z "$ac_c_werror_flag" ||
36052 test ! -s conftest.err
36053 } && test -s conftest
$ac_exeext &&
36054 $as_test_x conftest
$ac_exeext; then
36055 am_cv_func_iconv
=yes
36057 echo "$as_me: failed program was:" >&5
36058 sed 's/^/| /' conftest.
$ac_ext >&5
36063 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
36064 conftest
$ac_exeext conftest.
$ac_ext
36065 if test "$am_cv_func_iconv" != yes; then
36066 am_save_LIBS
="$LIBS"
36067 LIBS
="$LIBS -liconv"
36068 cat >conftest.
$ac_ext <<_ACEOF
36071 cat confdefs.h
>>conftest.
$ac_ext
36072 cat >>conftest.
$ac_ext <<_ACEOF
36073 /* end confdefs.h. */
36074 #include <stdlib.h>
36079 iconv_t cd = iconv_open("","");
36080 iconv(cd,NULL,NULL,NULL,NULL);
36086 rm -f conftest.
$ac_objext conftest
$ac_exeext
36087 if { (ac_try
="$ac_link"
36088 case "(($ac_try" in
36089 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
36090 *) ac_try_echo=$ac_try;;
36092 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36093 (eval "$ac_link") 2>conftest.er1
36095 grep -v '^ *+' conftest.er1 >conftest.err
36097 cat conftest.err >&5
36098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36099 (exit $ac_status); } && {
36100 test -z "$ac_c_werror_flag" ||
36101 test ! -s conftest.err
36102 } && test -s conftest$ac_exeext &&
36103 $as_test_x conftest$ac_exeext; then
36104 am_cv_lib_iconv=yes
36105 am_cv_func_iconv=yes
36107 echo "$as_me: failed program was:" >&5
36108 sed 's/^/| /' conftest.$ac_ext >&5
36113 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36114 conftest$ac_exeext conftest.$ac_ext
36115 LIBS="$am_save_LIBS"
36119 { echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
36120 echo "${ECHO_T}$am_cv_func_iconv" >&6; }
36121 if test "$am_cv_func_iconv" = yes; then
36123 cat >>confdefs.h <<\_ACEOF
36124 #define HAVE_ICONV 1
36127 { echo "$as_me:$LINENO: checking if iconv needs const" >&5
36128 echo $ECHO_N "checking if iconv needs const... $ECHO_C" >&6; }
36129 if test "${wx_cv_func_iconv_const+set}" = set; then
36130 echo $ECHO_N "(cached) $ECHO_C" >&6
36132 cat >conftest.$ac_ext <<_ACEOF
36135 cat confdefs.h >>conftest.$ac_ext
36136 cat >>conftest.$ac_ext <<_ACEOF
36137 /* end confdefs.h. */
36139 #include <stdlib.h>
36145 #if defined(__STDC__) || defined(__cplusplus)
36146 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
36159 rm -f conftest.$ac_objext
36160 if { (ac_try="$ac_compile"
36161 case "(($ac_try" in
36162 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
36163 *) ac_try_echo
=$ac_try;;
36165 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36166 (eval "$ac_compile") 2>conftest.er1
36168 grep -v '^ *+' conftest.er1
>conftest.err
36170 cat conftest.err
>&5
36171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36172 (exit $ac_status); } && {
36173 test -z "$ac_c_werror_flag" ||
36174 test ! -s conftest.err
36175 } && test -s conftest.
$ac_objext; then
36176 wx_cv_func_iconv_const
="no"
36178 echo "$as_me: failed program was:" >&5
36179 sed 's/^/| /' conftest.
$ac_ext >&5
36181 wx_cv_func_iconv_const
="yes"
36185 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
36188 { echo "$as_me:$LINENO: result: $wx_cv_func_iconv_const" >&5
36189 echo "${ECHO_T}$wx_cv_func_iconv_const" >&6; }
36192 if test "x$wx_cv_func_iconv_const" = "xyes"; then
36193 iconv_const
="const"
36197 cat >>confdefs.h
<<_ACEOF
36198 #define ICONV_CONST $iconv_const
36203 if test "$am_cv_lib_iconv" = yes; then
36208 LIBS
="$LIBICONV $LIBS"
36211 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
36213 for ac_func
in sigaction
36215 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36216 { echo "$as_me:$LINENO: checking for $ac_func" >&5
36217 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
36218 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
36219 echo $ECHO_N "(cached) $ECHO_C" >&6
36221 cat >conftest.
$ac_ext <<_ACEOF
36224 cat confdefs.h
>>conftest.
$ac_ext
36225 cat >>conftest.
$ac_ext <<_ACEOF
36226 /* end confdefs.h. */
36227 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36228 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36229 #define $ac_func innocuous_$ac_func
36231 /* System header to define __stub macros and hopefully few prototypes,
36232 which can conflict with char $ac_func (); below.
36233 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36234 <limits.h> exists even on freestanding compilers. */
36237 # include <limits.h>
36239 # include <assert.h>
36244 /* Override any GCC internal prototype to avoid an error.
36245 Use char because int might match the return type of a GCC
36246 builtin and then its argument prototype would still apply. */
36251 /* The GNU C library defines this for functions which it implements
36252 to always fail with ENOSYS. Some functions are actually named
36253 something starting with __ and the normal name is an alias. */
36254 #if defined __stub_$ac_func || defined __stub___$ac_func
36261 return $ac_func ();
36266 rm -f conftest.
$ac_objext conftest
$ac_exeext
36267 if { (ac_try
="$ac_link"
36268 case "(($ac_try" in
36269 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
36270 *) ac_try_echo=$ac_try;;
36272 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36273 (eval "$ac_link") 2>conftest.er1
36275 grep -v '^ *+' conftest.er1 >conftest.err
36277 cat conftest.err >&5
36278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36279 (exit $ac_status); } && {
36280 test -z "$ac_c_werror_flag" ||
36281 test ! -s conftest.err
36282 } && test -s conftest$ac_exeext &&
36283 $as_test_x conftest$ac_exeext; then
36284 eval "$as_ac_var=yes"
36286 echo "$as_me: failed program was:" >&5
36287 sed 's/^/| /' conftest.$ac_ext >&5
36289 eval "$as_ac_var=no"
36292 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36293 conftest$ac_exeext conftest.$ac_ext
36295 ac_res=`eval echo '${'$as_ac_var'}'`
36296 { echo "$as_me:$LINENO: result: $ac_res" >&5
36297 echo "${ECHO_T}$ac_res" >&6; }
36298 if test `eval echo '${'$as_ac_var'}'` = yes; then
36299 cat >>confdefs.h <<_ACEOF
36300 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36307 if test "$ac_cv_func_sigaction" = "no"; then
36308 { echo "$as_me:$LINENO: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&5
36309 echo "$as_me: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&2;}
36310 wxUSE_ON_FATAL_EXCEPTION=no
36313 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
36314 { echo "$as_me:$LINENO: checking for sa_handler type" >&5
36315 echo $ECHO_N "checking for sa_handler type... $ECHO_C" >&6; }
36316 if test "${wx_cv_type_sa_handler+set}" = set; then
36317 echo $ECHO_N "(cached) $ECHO_C" >&6
36321 ac_cpp='$CXXCPP $CPPFLAGS'
36322 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36323 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36324 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36326 cat >conftest.$ac_ext <<_ACEOF
36329 cat confdefs.h >>conftest.$ac_ext
36330 cat >>conftest.$ac_ext <<_ACEOF
36331 /* end confdefs.h. */
36332 #include <signal.h>
36337 extern void testSigHandler(int);
36339 struct sigaction sa;
36340 sa.sa_handler = testSigHandler;
36346 rm -f conftest.$ac_objext
36347 if { (ac_try="$ac_compile"
36348 case "(($ac_try" in
36349 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
36350 *) ac_try_echo
=$ac_try;;
36352 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36353 (eval "$ac_compile") 2>conftest.er1
36355 grep -v '^ *+' conftest.er1
>conftest.err
36357 cat conftest.err
>&5
36358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36359 (exit $ac_status); } && {
36360 test -z "$ac_cxx_werror_flag" ||
36361 test ! -s conftest.err
36362 } && test -s conftest.
$ac_objext; then
36364 wx_cv_type_sa_handler
=int
36367 echo "$as_me: failed program was:" >&5
36368 sed 's/^/| /' conftest.
$ac_ext >&5
36371 wx_cv_type_sa_handler
=void
36375 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
36377 ac_cpp
='$CPP $CPPFLAGS'
36378 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36379 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36380 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
36384 { echo "$as_me:$LINENO: result: $wx_cv_type_sa_handler" >&5
36385 echo "${ECHO_T}$wx_cv_type_sa_handler" >&6; }
36387 cat >>confdefs.h
<<_ACEOF
36388 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
36394 if test "$wxUSE_STACKWALKER" = "yes" -a "$wxUSE_UNIX" = "yes"; then
36395 { echo "$as_me:$LINENO: checking for backtrace() in <execinfo.h>" >&5
36396 echo $ECHO_N "checking for backtrace() in <execinfo.h>... $ECHO_C" >&6; }
36397 if test "${wx_cv_func_backtrace+set}" = set; then
36398 echo $ECHO_N "(cached) $ECHO_C" >&6
36402 ac_cpp
='$CXXCPP $CPPFLAGS'
36403 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36404 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36405 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
36407 cat >conftest.
$ac_ext <<_ACEOF
36410 cat confdefs.h
>>conftest.
$ac_ext
36411 cat >>conftest.
$ac_ext <<_ACEOF
36412 /* end confdefs.h. */
36413 #include <execinfo.h>
36421 backtrace(trace, 1);
36422 messages = backtrace_symbols(trace, 1);
36428 rm -f conftest.
$ac_objext
36429 if { (ac_try
="$ac_compile"
36430 case "(($ac_try" in
36431 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
36432 *) ac_try_echo=$ac_try;;
36434 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36435 (eval "$ac_compile") 2>conftest.er1
36437 grep -v '^ *+' conftest.er1 >conftest.err
36439 cat conftest.err >&5
36440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36441 (exit $ac_status); } && {
36442 test -z "$ac_cxx_werror_flag" ||
36443 test ! -s conftest.err
36444 } && test -s conftest.$ac_objext; then
36445 wx_cv_func_backtrace=yes
36447 echo "$as_me: failed program was:" >&5
36448 sed 's/^/| /' conftest.$ac_ext >&5
36450 wx_cv_func_backtrace=no
36454 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36456 ac_cpp='$CPP $CPPFLAGS'
36457 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36458 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36459 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36464 { echo "$as_me:$LINENO: result: $wx_cv_func_backtrace" >&5
36465 echo "${ECHO_T}$wx_cv_func_backtrace" >&6; }
36468 if test "$wx_cv_func_backtrace" = "no"; then
36469 { echo "$as_me:$LINENO: WARNING: backtrace() is not available, wxStackWalker will not be available" >&5
36470 echo "$as_me: WARNING: backtrace() is not available, wxStackWalker will not be available" >&2;}
36471 wxUSE_STACKWALKER=no
36473 { echo "$as_me:$LINENO: checking for __cxa_demangle() in <cxxabi.h>" >&5
36474 echo $ECHO_N "checking for __cxa_demangle() in <cxxabi.h>... $ECHO_C" >&6; }
36475 if test "${wx_cv_func_cxa_demangle+set}" = set; then
36476 echo $ECHO_N "(cached) $ECHO_C" >&6
36480 ac_cpp='$CXXCPP $CPPFLAGS'
36481 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36482 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36483 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36485 cat >conftest.$ac_ext <<_ACEOF
36488 cat confdefs.h >>conftest.$ac_ext
36489 cat >>conftest.$ac_ext <<_ACEOF
36490 /* end confdefs.h. */
36491 #include <cxxabi.h>
36497 __cxxabiv1::__cxa_demangle("foo", 0, 0, &rc);
36503 rm -f conftest.$ac_objext conftest$ac_exeext
36504 if { (ac_try="$ac_link"
36505 case "(($ac_try" in
36506 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
36507 *) ac_try_echo
=$ac_try;;
36509 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36510 (eval "$ac_link") 2>conftest.er1
36512 grep -v '^ *+' conftest.er1
>conftest.err
36514 cat conftest.err
>&5
36515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36516 (exit $ac_status); } && {
36517 test -z "$ac_cxx_werror_flag" ||
36518 test ! -s conftest.err
36519 } && test -s conftest
$ac_exeext &&
36520 $as_test_x conftest
$ac_exeext; then
36521 wx_cv_func_cxa_demangle
=yes
36523 echo "$as_me: failed program was:" >&5
36524 sed 's/^/| /' conftest.
$ac_ext >&5
36526 wx_cv_func_cxa_demangle
=no
36530 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
36531 conftest
$ac_exeext conftest.
$ac_ext
36533 ac_cpp
='$CPP $CPPFLAGS'
36534 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36535 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36536 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
36541 { echo "$as_me:$LINENO: result: $wx_cv_func_cxa_demangle" >&5
36542 echo "${ECHO_T}$wx_cv_func_cxa_demangle" >&6; }
36544 if test "$wx_cv_func_cxa_demangle" = "yes"; then
36545 cat >>confdefs.h
<<\_ACEOF
36546 #define HAVE_CXA_DEMANGLE 1
36553 if test "$wxUSE_STACKWALKER" = "yes" -a "$USE_WIN32" != 1 -a "$USE_UNIX" != 1; then
36554 { echo "$as_me:$LINENO: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&5
36555 echo "$as_me: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&2;}
36556 wxUSE_STACKWALKER
=no
36562 for ac_func
in mkstemp mktemp
36564 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36565 { echo "$as_me:$LINENO: checking for $ac_func" >&5
36566 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
36567 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
36568 echo $ECHO_N "(cached) $ECHO_C" >&6
36570 cat >conftest.
$ac_ext <<_ACEOF
36573 cat confdefs.h
>>conftest.
$ac_ext
36574 cat >>conftest.
$ac_ext <<_ACEOF
36575 /* end confdefs.h. */
36576 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36577 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36578 #define $ac_func innocuous_$ac_func
36580 /* System header to define __stub macros and hopefully few prototypes,
36581 which can conflict with char $ac_func (); below.
36582 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36583 <limits.h> exists even on freestanding compilers. */
36586 # include <limits.h>
36588 # include <assert.h>
36593 /* Override any GCC internal prototype to avoid an error.
36594 Use char because int might match the return type of a GCC
36595 builtin and then its argument prototype would still apply. */
36600 /* The GNU C library defines this for functions which it implements
36601 to always fail with ENOSYS. Some functions are actually named
36602 something starting with __ and the normal name is an alias. */
36603 #if defined __stub_$ac_func || defined __stub___$ac_func
36610 return $ac_func ();
36615 rm -f conftest.
$ac_objext conftest
$ac_exeext
36616 if { (ac_try
="$ac_link"
36617 case "(($ac_try" in
36618 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
36619 *) ac_try_echo=$ac_try;;
36621 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36622 (eval "$ac_link") 2>conftest.er1
36624 grep -v '^ *+' conftest.er1 >conftest.err
36626 cat conftest.err >&5
36627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36628 (exit $ac_status); } && {
36629 test -z "$ac_c_werror_flag" ||
36630 test ! -s conftest.err
36631 } && test -s conftest$ac_exeext &&
36632 $as_test_x conftest$ac_exeext; then
36633 eval "$as_ac_var=yes"
36635 echo "$as_me: failed program was:" >&5
36636 sed 's/^/| /' conftest.$ac_ext >&5
36638 eval "$as_ac_var=no"
36641 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36642 conftest$ac_exeext conftest.$ac_ext
36644 ac_res=`eval echo '${'$as_ac_var'}'`
36645 { echo "$as_me:$LINENO: result: $ac_res" >&5
36646 echo "${ECHO_T}$ac_res" >&6; }
36647 if test `eval echo '${'$as_ac_var'}'` = yes; then
36648 cat >>confdefs.h <<_ACEOF
36649 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36656 { echo "$as_me:$LINENO: checking for statfs" >&5
36657 echo $ECHO_N "checking for statfs... $ECHO_C" >&6; }
36658 if test "${wx_cv_func_statfs+set}" = set; then
36659 echo $ECHO_N "(cached) $ECHO_C" >&6
36661 cat >conftest.$ac_ext <<_ACEOF
36664 cat confdefs.h >>conftest.$ac_ext
36665 cat >>conftest.$ac_ext <<_ACEOF
36666 /* end confdefs.h. */
36668 #if defined(__BSD__)
36669 #include <sys/param.h>
36670 #include <sys/mount.h>
36672 #include <sys/vfs.h>
36690 rm -f conftest.$ac_objext
36691 if { (ac_try="$ac_compile"
36692 case "(($ac_try" in
36693 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
36694 *) ac_try_echo
=$ac_try;;
36696 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36697 (eval "$ac_compile") 2>conftest.er1
36699 grep -v '^ *+' conftest.er1
>conftest.err
36701 cat conftest.err
>&5
36702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36703 (exit $ac_status); } && {
36704 test -z "$ac_c_werror_flag" ||
36705 test ! -s conftest.err
36706 } && test -s conftest.
$ac_objext; then
36707 wx_cv_func_statfs
=yes
36709 echo "$as_me: failed program was:" >&5
36710 sed 's/^/| /' conftest.
$ac_ext >&5
36712 wx_cv_func_statfs
=no
36716 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
36719 { echo "$as_me:$LINENO: result: $wx_cv_func_statfs" >&5
36720 echo "${ECHO_T}$wx_cv_func_statfs" >&6; }
36722 if test "$wx_cv_func_statfs" = "yes"; then
36723 { echo "$as_me:$LINENO: checking for statfs declaration" >&5
36724 echo $ECHO_N "checking for statfs declaration... $ECHO_C" >&6; }
36725 if test "${wx_cv_func_statfs_decl+set}" = set; then
36726 echo $ECHO_N "(cached) $ECHO_C" >&6
36729 ac_cpp
='$CXXCPP $CPPFLAGS'
36730 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36731 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36732 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
36734 cat >conftest.
$ac_ext <<_ACEOF
36737 cat confdefs.h
>>conftest.
$ac_ext
36738 cat >>conftest.
$ac_ext <<_ACEOF
36739 /* end confdefs.h. */
36741 #if defined(__BSD__)
36742 #include <sys/param.h>
36743 #include <sys/mount.h>
36745 #include <sys/vfs.h>
36759 rm -f conftest.
$ac_objext
36760 if { (ac_try
="$ac_compile"
36761 case "(($ac_try" in
36762 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
36763 *) ac_try_echo=$ac_try;;
36765 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36766 (eval "$ac_compile") 2>conftest.er1
36768 grep -v '^ *+' conftest.er1 >conftest.err
36770 cat conftest.err >&5
36771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36772 (exit $ac_status); } && {
36773 test -z "$ac_cxx_werror_flag" ||
36774 test ! -s conftest.err
36775 } && test -s conftest.$ac_objext; then
36776 wx_cv_func_statfs_decl=yes
36778 echo "$as_me: failed program was:" >&5
36779 sed 's/^/| /' conftest.$ac_ext >&5
36781 wx_cv_func_statfs_decl=no
36785 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36787 ac_cpp='$CPP $CPPFLAGS'
36788 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36789 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36790 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36794 { echo "$as_me:$LINENO: result: $wx_cv_func_statfs_decl" >&5
36795 echo "${ECHO_T}$wx_cv_func_statfs_decl" >&6; }
36797 if test "$wx_cv_func_statfs_decl" = "yes"; then
36798 cat >>confdefs.h <<\_ACEOF
36799 #define HAVE_STATFS_DECL 1
36804 wx_cv_type_statvfs_t="struct statfs"
36805 cat >>confdefs.h <<\_ACEOF
36806 #define HAVE_STATFS 1
36810 { echo "$as_me:$LINENO: checking for statvfs" >&5
36811 echo $ECHO_N "checking for statvfs... $ECHO_C" >&6; }
36812 if test "${wx_cv_func_statvfs+set}" = set; then
36813 echo $ECHO_N "(cached) $ECHO_C" >&6
36815 cat >conftest.$ac_ext <<_ACEOF
36818 cat confdefs.h >>conftest.$ac_ext
36819 cat >>conftest.$ac_ext <<_ACEOF
36820 /* end confdefs.h. */
36822 #include <stddef.h>
36823 #include <sys/statvfs.h>
36829 statvfs("/", NULL);
36835 rm -f conftest.$ac_objext
36836 if { (ac_try="$ac_compile"
36837 case "(($ac_try" in
36838 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
36839 *) ac_try_echo
=$ac_try;;
36841 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36842 (eval "$ac_compile") 2>conftest.er1
36844 grep -v '^ *+' conftest.er1
>conftest.err
36846 cat conftest.err
>&5
36847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36848 (exit $ac_status); } && {
36849 test -z "$ac_c_werror_flag" ||
36850 test ! -s conftest.err
36851 } && test -s conftest.
$ac_objext; then
36852 wx_cv_func_statvfs
=yes
36854 echo "$as_me: failed program was:" >&5
36855 sed 's/^/| /' conftest.
$ac_ext >&5
36857 wx_cv_func_statvfs
=no
36861 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
36864 { echo "$as_me:$LINENO: result: $wx_cv_func_statvfs" >&5
36865 echo "${ECHO_T}$wx_cv_func_statvfs" >&6; }
36867 if test "$wx_cv_func_statvfs" = "yes"; then
36868 { echo "$as_me:$LINENO: checking for statvfs argument type" >&5
36869 echo $ECHO_N "checking for statvfs argument type... $ECHO_C" >&6; }
36870 if test "${wx_cv_type_statvfs_t+set}" = set; then
36871 echo $ECHO_N "(cached) $ECHO_C" >&6
36874 ac_cpp
='$CXXCPP $CPPFLAGS'
36875 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36876 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36877 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
36879 cat >conftest.
$ac_ext <<_ACEOF
36882 cat confdefs.h
>>conftest.
$ac_ext
36883 cat >>conftest.
$ac_ext <<_ACEOF
36884 /* end confdefs.h. */
36886 #include <sys/statvfs.h>
36903 rm -f conftest.
$ac_objext
36904 if { (ac_try
="$ac_compile"
36905 case "(($ac_try" in
36906 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
36907 *) ac_try_echo=$ac_try;;
36909 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36910 (eval "$ac_compile") 2>conftest.er1
36912 grep -v '^ *+' conftest.er1 >conftest.err
36914 cat conftest.err >&5
36915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36916 (exit $ac_status); } && {
36917 test -z "$ac_cxx_werror_flag" ||
36918 test ! -s conftest.err
36919 } && test -s conftest.$ac_objext; then
36920 wx_cv_type_statvfs_t=statvfs_t
36922 echo "$as_me: failed program was:" >&5
36923 sed 's/^/| /' conftest.$ac_ext >&5
36926 cat >conftest.$ac_ext <<_ACEOF
36929 cat confdefs.h >>conftest.$ac_ext
36930 cat >>conftest.$ac_ext <<_ACEOF
36931 /* end confdefs.h. */
36933 #include <sys/statvfs.h>
36950 rm -f conftest.$ac_objext
36951 if { (ac_try="$ac_compile"
36952 case "(($ac_try" in
36953 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
36954 *) ac_try_echo
=$ac_try;;
36956 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36957 (eval "$ac_compile") 2>conftest.er1
36959 grep -v '^ *+' conftest.er1
>conftest.err
36961 cat conftest.err
>&5
36962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36963 (exit $ac_status); } && {
36964 test -z "$ac_cxx_werror_flag" ||
36965 test ! -s conftest.err
36966 } && test -s conftest.
$ac_objext; then
36967 wx_cv_type_statvfs_t
="struct statvfs"
36969 echo "$as_me: failed program was:" >&5
36970 sed 's/^/| /' conftest.
$ac_ext >&5
36972 wx_cv_type_statvfs_t
="unknown"
36976 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
36981 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
36983 ac_cpp
='$CPP $CPPFLAGS'
36984 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36985 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36986 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
36990 { echo "$as_me:$LINENO: result: $wx_cv_type_statvfs_t" >&5
36991 echo "${ECHO_T}$wx_cv_type_statvfs_t" >&6; }
36993 if test "$wx_cv_type_statvfs_t" != "unknown"; then
36994 cat >>confdefs.h
<<\_ACEOF
36995 #define HAVE_STATVFS 1
37000 wx_cv_type_statvfs_t
="unknown"
37004 if test "$wx_cv_type_statvfs_t" != "unknown"; then
37005 cat >>confdefs.h
<<_ACEOF
37006 #define WX_STATFS_T $wx_cv_type_statvfs_t
37010 { echo "$as_me:$LINENO: WARNING: wxGetDiskSpace() function won't work without statfs()" >&5
37011 echo "$as_me: WARNING: wxGetDiskSpace() function won't work without statfs()" >&2;}
37014 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
37017 for ac_func
in fcntl flock
37019 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37020 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37021 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37022 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37023 echo $ECHO_N "(cached) $ECHO_C" >&6
37025 cat >conftest.
$ac_ext <<_ACEOF
37028 cat confdefs.h
>>conftest.
$ac_ext
37029 cat >>conftest.
$ac_ext <<_ACEOF
37030 /* end confdefs.h. */
37031 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37032 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37033 #define $ac_func innocuous_$ac_func
37035 /* System header to define __stub macros and hopefully few prototypes,
37036 which can conflict with char $ac_func (); below.
37037 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37038 <limits.h> exists even on freestanding compilers. */
37041 # include <limits.h>
37043 # include <assert.h>
37048 /* Override any GCC internal prototype to avoid an error.
37049 Use char because int might match the return type of a GCC
37050 builtin and then its argument prototype would still apply. */
37055 /* The GNU C library defines this for functions which it implements
37056 to always fail with ENOSYS. Some functions are actually named
37057 something starting with __ and the normal name is an alias. */
37058 #if defined __stub_$ac_func || defined __stub___$ac_func
37065 return $ac_func ();
37070 rm -f conftest.
$ac_objext conftest
$ac_exeext
37071 if { (ac_try
="$ac_link"
37072 case "(($ac_try" in
37073 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
37074 *) ac_try_echo=$ac_try;;
37076 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37077 (eval "$ac_link") 2>conftest.er1
37079 grep -v '^ *+' conftest.er1 >conftest.err
37081 cat conftest.err >&5
37082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37083 (exit $ac_status); } && {
37084 test -z "$ac_c_werror_flag" ||
37085 test ! -s conftest.err
37086 } && test -s conftest$ac_exeext &&
37087 $as_test_x conftest$ac_exeext; then
37088 eval "$as_ac_var=yes"
37090 echo "$as_me: failed program was:" >&5
37091 sed 's/^/| /' conftest.$ac_ext >&5
37093 eval "$as_ac_var=no"
37096 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37097 conftest$ac_exeext conftest.$ac_ext
37099 ac_res=`eval echo '${'$as_ac_var'}'`
37100 { echo "$as_me:$LINENO: result: $ac_res" >&5
37101 echo "${ECHO_T}$ac_res" >&6; }
37102 if test `eval echo '${'$as_ac_var'}'` = yes; then
37103 cat >>confdefs.h <<_ACEOF
37104 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37111 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
37112 { echo "$as_me:$LINENO: WARNING: wxSingleInstanceChecker not available" >&5
37113 echo "$as_me: WARNING: wxSingleInstanceChecker not available" >&2;}
37114 wxUSE_SNGLINST_CHECKER=no
37120 for ac_func in setenv putenv
37122 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37123 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37124 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37125 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37126 echo $ECHO_N "(cached) $ECHO_C" >&6
37128 cat >conftest.$ac_ext <<_ACEOF
37131 cat confdefs.h >>conftest.$ac_ext
37132 cat >>conftest.$ac_ext <<_ACEOF
37133 /* end confdefs.h. */
37134 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37135 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37136 #define $ac_func innocuous_$ac_func
37138 /* System header to define __stub macros and hopefully few prototypes,
37139 which can conflict with char $ac_func (); below.
37140 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37141 <limits.h> exists even on freestanding compilers. */
37144 # include <limits.h>
37146 # include <assert.h>
37151 /* Override any GCC internal prototype to avoid an error.
37152 Use char because int might match the return type of a GCC
37153 builtin and then its argument prototype would still apply. */
37158 /* The GNU C library defines this for functions which it implements
37159 to always fail with ENOSYS. Some functions are actually named
37160 something starting with __ and the normal name is an alias. */
37161 #if defined __stub_$ac_func || defined __stub___$ac_func
37168 return $ac_func ();
37173 rm -f conftest.$ac_objext conftest$ac_exeext
37174 if { (ac_try="$ac_link"
37175 case "(($ac_try" in
37176 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
37177 *) ac_try_echo
=$ac_try;;
37179 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37180 (eval "$ac_link") 2>conftest.er1
37182 grep -v '^ *+' conftest.er1
>conftest.err
37184 cat conftest.err
>&5
37185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37186 (exit $ac_status); } && {
37187 test -z "$ac_c_werror_flag" ||
37188 test ! -s conftest.err
37189 } && test -s conftest
$ac_exeext &&
37190 $as_test_x conftest
$ac_exeext; then
37191 eval "$as_ac_var=yes"
37193 echo "$as_me: failed program was:" >&5
37194 sed 's/^/| /' conftest.
$ac_ext >&5
37196 eval "$as_ac_var=no"
37199 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
37200 conftest
$ac_exeext conftest.
$ac_ext
37202 ac_res
=`eval echo '${'$as_ac_var'}'`
37203 { echo "$as_me:$LINENO: result: $ac_res" >&5
37204 echo "${ECHO_T}$ac_res" >&6; }
37205 if test `eval echo '${'$as_ac_var'}'` = yes; then
37206 cat >>confdefs.h
<<_ACEOF
37207 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37213 if test "$ac_cv_func_setenv" = "yes"; then
37215 for ac_func
in unsetenv
37217 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37218 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37219 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37220 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37221 echo $ECHO_N "(cached) $ECHO_C" >&6
37223 cat >conftest.
$ac_ext <<_ACEOF
37226 cat confdefs.h
>>conftest.
$ac_ext
37227 cat >>conftest.
$ac_ext <<_ACEOF
37228 /* end confdefs.h. */
37229 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37230 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37231 #define $ac_func innocuous_$ac_func
37233 /* System header to define __stub macros and hopefully few prototypes,
37234 which can conflict with char $ac_func (); below.
37235 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37236 <limits.h> exists even on freestanding compilers. */
37239 # include <limits.h>
37241 # include <assert.h>
37246 /* Override any GCC internal prototype to avoid an error.
37247 Use char because int might match the return type of a GCC
37248 builtin and then its argument prototype would still apply. */
37253 /* The GNU C library defines this for functions which it implements
37254 to always fail with ENOSYS. Some functions are actually named
37255 something starting with __ and the normal name is an alias. */
37256 #if defined __stub_$ac_func || defined __stub___$ac_func
37263 return $ac_func ();
37268 rm -f conftest.
$ac_objext conftest
$ac_exeext
37269 if { (ac_try
="$ac_link"
37270 case "(($ac_try" in
37271 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
37272 *) ac_try_echo=$ac_try;;
37274 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37275 (eval "$ac_link") 2>conftest.er1
37277 grep -v '^ *+' conftest.er1 >conftest.err
37279 cat conftest.err >&5
37280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37281 (exit $ac_status); } && {
37282 test -z "$ac_c_werror_flag" ||
37283 test ! -s conftest.err
37284 } && test -s conftest$ac_exeext &&
37285 $as_test_x conftest$ac_exeext; then
37286 eval "$as_ac_var=yes"
37288 echo "$as_me: failed program was:" >&5
37289 sed 's/^/| /' conftest.$ac_ext >&5
37291 eval "$as_ac_var=no"
37294 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37295 conftest$ac_exeext conftest.$ac_ext
37297 ac_res=`eval echo '${'$as_ac_var'}'`
37298 { echo "$as_me:$LINENO: result: $ac_res" >&5
37299 echo "${ECHO_T}$ac_res" >&6; }
37300 if test `eval echo '${'$as_ac_var'}'` = yes; then
37301 cat >>confdefs.h <<_ACEOF
37302 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37310 HAVE_SOME_SLEEP_FUNC=0
37311 if test "$USE_BEOS" = 1; then
37312 cat >>confdefs.h <<\_ACEOF
37313 #define HAVE_SLEEP 1
37316 HAVE_SOME_SLEEP_FUNC=1
37319 if test "$USE_DARWIN" = 1; then
37320 cat >>confdefs.h <<\_ACEOF
37321 #define HAVE_USLEEP 1
37324 HAVE_SOME_SLEEP_FUNC=1
37327 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
37330 for ac_func in nanosleep
37332 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37333 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37334 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37335 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37336 echo $ECHO_N "(cached) $ECHO_C" >&6
37338 cat >conftest.$ac_ext <<_ACEOF
37341 cat confdefs.h >>conftest.$ac_ext
37342 cat >>conftest.$ac_ext <<_ACEOF
37343 /* end confdefs.h. */
37344 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37345 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37346 #define $ac_func innocuous_$ac_func
37348 /* System header to define __stub macros and hopefully few prototypes,
37349 which can conflict with char $ac_func (); below.
37350 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37351 <limits.h> exists even on freestanding compilers. */
37354 # include <limits.h>
37356 # include <assert.h>
37361 /* Override any GCC internal prototype to avoid an error.
37362 Use char because int might match the return type of a GCC
37363 builtin and then its argument prototype would still apply. */
37368 /* The GNU C library defines this for functions which it implements
37369 to always fail with ENOSYS. Some functions are actually named
37370 something starting with __ and the normal name is an alias. */
37371 #if defined __stub_$ac_func || defined __stub___$ac_func
37378 return $ac_func ();
37383 rm -f conftest.$ac_objext conftest$ac_exeext
37384 if { (ac_try="$ac_link"
37385 case "(($ac_try" in
37386 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
37387 *) ac_try_echo
=$ac_try;;
37389 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37390 (eval "$ac_link") 2>conftest.er1
37392 grep -v '^ *+' conftest.er1
>conftest.err
37394 cat conftest.err
>&5
37395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37396 (exit $ac_status); } && {
37397 test -z "$ac_c_werror_flag" ||
37398 test ! -s conftest.err
37399 } && test -s conftest
$ac_exeext &&
37400 $as_test_x conftest
$ac_exeext; then
37401 eval "$as_ac_var=yes"
37403 echo "$as_me: failed program was:" >&5
37404 sed 's/^/| /' conftest.
$ac_ext >&5
37406 eval "$as_ac_var=no"
37409 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
37410 conftest
$ac_exeext conftest.
$ac_ext
37412 ac_res
=`eval echo '${'$as_ac_var'}'`
37413 { echo "$as_me:$LINENO: result: $ac_res" >&5
37414 echo "${ECHO_T}$ac_res" >&6; }
37415 if test `eval echo '${'$as_ac_var'}'` = yes; then
37416 cat >>confdefs.h
<<_ACEOF
37417 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37419 cat >>confdefs.h
<<\_ACEOF
37420 #define HAVE_NANOSLEEP 1
37425 { echo "$as_me:$LINENO: checking for nanosleep in -lposix4" >&5
37426 echo $ECHO_N "checking for nanosleep in -lposix4... $ECHO_C" >&6; }
37427 if test "${ac_cv_lib_posix4_nanosleep+set}" = set; then
37428 echo $ECHO_N "(cached) $ECHO_C" >&6
37430 ac_check_lib_save_LIBS
=$LIBS
37431 LIBS
="-lposix4 $LIBS"
37432 cat >conftest.
$ac_ext <<_ACEOF
37435 cat confdefs.h
>>conftest.
$ac_ext
37436 cat >>conftest.
$ac_ext <<_ACEOF
37437 /* end confdefs.h. */
37439 /* Override any GCC internal prototype to avoid an error.
37440 Use char because int might match the return type of a GCC
37441 builtin and then its argument prototype would still apply. */
37449 return nanosleep ();
37454 rm -f conftest.
$ac_objext conftest
$ac_exeext
37455 if { (ac_try
="$ac_link"
37456 case "(($ac_try" in
37457 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
37458 *) ac_try_echo=$ac_try;;
37460 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37461 (eval "$ac_link") 2>conftest.er1
37463 grep -v '^ *+' conftest.er1 >conftest.err
37465 cat conftest.err >&5
37466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37467 (exit $ac_status); } && {
37468 test -z "$ac_c_werror_flag" ||
37469 test ! -s conftest.err
37470 } && test -s conftest$ac_exeext &&
37471 $as_test_x conftest$ac_exeext; then
37472 ac_cv_lib_posix4_nanosleep=yes
37474 echo "$as_me: failed program was:" >&5
37475 sed 's/^/| /' conftest.$ac_ext >&5
37477 ac_cv_lib_posix4_nanosleep=no
37480 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37481 conftest$ac_exeext conftest.$ac_ext
37482 LIBS=$ac_check_lib_save_LIBS
37484 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_nanosleep" >&5
37485 echo "${ECHO_T}$ac_cv_lib_posix4_nanosleep" >&6; }
37486 if test $ac_cv_lib_posix4_nanosleep = yes; then
37488 cat >>confdefs.h <<\_ACEOF
37489 #define HAVE_NANOSLEEP 1
37492 POSIX4_LINK=" -lposix4"
37497 for wx_func in usleep
37499 { echo "$as_me:$LINENO: checking for $wx_func" >&5
37500 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
37501 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
37502 echo $ECHO_N "(cached) $ECHO_C" >&6
37505 cat >conftest.$ac_ext <<_ACEOF
37509 cat confdefs.h >>conftest.$ac_ext
37510 cat >>conftest.$ac_ext <<_ACEOF
37511 /* end confdefs.h. */
37514 $ac_includes_default
37530 rm -f conftest.$ac_objext conftest$ac_exeext
37531 if { (ac_try="$ac_link"
37532 case "(($ac_try" in
37533 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
37534 *) ac_try_echo
=$ac_try;;
37536 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37537 (eval "$ac_link") 2>conftest.er1
37539 grep -v '^ *+' conftest.er1
>conftest.err
37541 cat conftest.err
>&5
37542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37543 (exit $ac_status); } && {
37544 test -z "$ac_c_werror_flag" ||
37545 test ! -s conftest.err
37546 } && test -s conftest
$ac_exeext &&
37547 $as_test_x conftest
$ac_exeext; then
37548 eval wx_cv_func_
$wx_func=yes
37550 echo "$as_me: failed program was:" >&5
37551 sed 's/^/| /' conftest.
$ac_ext >&5
37553 eval wx_cv_func_
$wx_func=no
37556 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
37557 conftest
$ac_exeext conftest.
$ac_ext
37560 ac_res
=`eval echo '${'wx_cv_func_$wx_func'}'`
37561 { echo "$as_me:$LINENO: result: $ac_res" >&5
37562 echo "${ECHO_T}$ac_res" >&6; }
37564 if eval test \
$wx_cv_func_$wx_func = yes
37566 cat >>confdefs.h
<<_ACEOF
37567 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
37573 { echo "$as_me:$LINENO: WARNING: wxSleep() function will not work" >&5
37574 echo "$as_me: WARNING: wxSleep() function will not work" >&2;}
37591 for wx_func
in uname
37593 { echo "$as_me:$LINENO: checking for $wx_func" >&5
37594 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
37595 if { as_var
=wx_cv_func_
$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
37596 echo $ECHO_N "(cached) $ECHO_C" >&6
37599 cat >conftest.
$ac_ext <<_ACEOF
37603 cat confdefs.h
>>conftest.
$ac_ext
37604 cat >>conftest.
$ac_ext <<_ACEOF
37605 /* end confdefs.h. */
37607 #include <sys/utsname.h>
37608 $ac_includes_default
37624 rm -f conftest.
$ac_objext conftest
$ac_exeext
37625 if { (ac_try
="$ac_link"
37626 case "(($ac_try" in
37627 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
37628 *) ac_try_echo=$ac_try;;
37630 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37631 (eval "$ac_link") 2>conftest.er1
37633 grep -v '^ *+' conftest.er1 >conftest.err
37635 cat conftest.err >&5
37636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37637 (exit $ac_status); } && {
37638 test -z "$ac_c_werror_flag" ||
37639 test ! -s conftest.err
37640 } && test -s conftest$ac_exeext &&
37641 $as_test_x conftest$ac_exeext; then
37642 eval wx_cv_func_$wx_func=yes
37644 echo "$as_me: failed program was:" >&5
37645 sed 's/^/| /' conftest.$ac_ext >&5
37647 eval wx_cv_func_$wx_func=no
37650 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37651 conftest$ac_exeext conftest.$ac_ext
37654 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
37655 { echo "$as_me:$LINENO: result: $ac_res" >&5
37656 echo "${ECHO_T}$ac_res" >&6; }
37658 if eval test \$wx_cv_func_$wx_func = yes
37660 cat >>confdefs.h <<_ACEOF
37661 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
37671 if test "$wx_cv_func_uname" != yes; then
37673 for wx_func in gethostname
37675 { echo "$as_me:$LINENO: checking for $wx_func" >&5
37676 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
37677 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
37678 echo $ECHO_N "(cached) $ECHO_C" >&6
37681 cat >conftest.$ac_ext <<_ACEOF
37685 cat confdefs.h >>conftest.$ac_ext
37686 cat >>conftest.$ac_ext <<_ACEOF
37687 /* end confdefs.h. */
37690 $ac_includes_default
37706 rm -f conftest.$ac_objext conftest$ac_exeext
37707 if { (ac_try="$ac_link"
37708 case "(($ac_try" in
37709 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
37710 *) ac_try_echo
=$ac_try;;
37712 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37713 (eval "$ac_link") 2>conftest.er1
37715 grep -v '^ *+' conftest.er1
>conftest.err
37717 cat conftest.err
>&5
37718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37719 (exit $ac_status); } && {
37720 test -z "$ac_c_werror_flag" ||
37721 test ! -s conftest.err
37722 } && test -s conftest
$ac_exeext &&
37723 $as_test_x conftest
$ac_exeext; then
37724 eval wx_cv_func_
$wx_func=yes
37726 echo "$as_me: failed program was:" >&5
37727 sed 's/^/| /' conftest.
$ac_ext >&5
37729 eval wx_cv_func_
$wx_func=no
37732 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
37733 conftest
$ac_exeext conftest.
$ac_ext
37736 ac_res
=`eval echo '${'wx_cv_func_$wx_func'}'`
37737 { echo "$as_me:$LINENO: result: $ac_res" >&5
37738 echo "${ECHO_T}$ac_res" >&6; }
37740 if eval test \
$wx_cv_func_$wx_func = yes
37742 cat >>confdefs.h
<<_ACEOF
37743 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
37756 for wx_func
in strtok_r
37758 { echo "$as_me:$LINENO: checking for $wx_func" >&5
37759 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
37760 if { as_var
=wx_cv_func_
$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
37761 echo $ECHO_N "(cached) $ECHO_C" >&6
37764 cat >conftest.
$ac_ext <<_ACEOF
37768 cat confdefs.h
>>conftest.
$ac_ext
37769 cat >>conftest.
$ac_ext <<_ACEOF
37770 /* end confdefs.h. */
37773 $ac_includes_default
37789 rm -f conftest.
$ac_objext conftest
$ac_exeext
37790 if { (ac_try
="$ac_link"
37791 case "(($ac_try" in
37792 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
37793 *) ac_try_echo=$ac_try;;
37795 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37796 (eval "$ac_link") 2>conftest.er1
37798 grep -v '^ *+' conftest.er1 >conftest.err
37800 cat conftest.err >&5
37801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37802 (exit $ac_status); } && {
37803 test -z "$ac_c_werror_flag" ||
37804 test ! -s conftest.err
37805 } && test -s conftest$ac_exeext &&
37806 $as_test_x conftest$ac_exeext; then
37807 eval wx_cv_func_$wx_func=yes
37809 echo "$as_me: failed program was:" >&5
37810 sed 's/^/| /' conftest.$ac_ext >&5
37812 eval wx_cv_func_$wx_func=no
37815 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37816 conftest$ac_exeext conftest.$ac_ext
37819 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
37820 { echo "$as_me:$LINENO: result: $ac_res" >&5
37821 echo "${ECHO_T}$ac_res" >&6; }
37823 if eval test \$wx_cv_func_$wx_func = yes
37825 cat >>confdefs.h <<_ACEOF
37826 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
37839 for ac_func in inet_addr
37841 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37842 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37843 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37844 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37845 echo $ECHO_N "(cached) $ECHO_C" >&6
37847 cat >conftest.$ac_ext <<_ACEOF
37850 cat confdefs.h >>conftest.$ac_ext
37851 cat >>conftest.$ac_ext <<_ACEOF
37852 /* end confdefs.h. */
37853 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37854 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37855 #define $ac_func innocuous_$ac_func
37857 /* System header to define __stub macros and hopefully few prototypes,
37858 which can conflict with char $ac_func (); below.
37859 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37860 <limits.h> exists even on freestanding compilers. */
37863 # include <limits.h>
37865 # include <assert.h>
37870 /* Override any GCC internal prototype to avoid an error.
37871 Use char because int might match the return type of a GCC
37872 builtin and then its argument prototype would still apply. */
37877 /* The GNU C library defines this for functions which it implements
37878 to always fail with ENOSYS. Some functions are actually named
37879 something starting with __ and the normal name is an alias. */
37880 #if defined __stub_$ac_func || defined __stub___$ac_func
37887 return $ac_func ();
37892 rm -f conftest.$ac_objext conftest$ac_exeext
37893 if { (ac_try="$ac_link"
37894 case "(($ac_try" in
37895 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
37896 *) ac_try_echo
=$ac_try;;
37898 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37899 (eval "$ac_link") 2>conftest.er1
37901 grep -v '^ *+' conftest.er1
>conftest.err
37903 cat conftest.err
>&5
37904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37905 (exit $ac_status); } && {
37906 test -z "$ac_c_werror_flag" ||
37907 test ! -s conftest.err
37908 } && test -s conftest
$ac_exeext &&
37909 $as_test_x conftest
$ac_exeext; then
37910 eval "$as_ac_var=yes"
37912 echo "$as_me: failed program was:" >&5
37913 sed 's/^/| /' conftest.
$ac_ext >&5
37915 eval "$as_ac_var=no"
37918 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
37919 conftest
$ac_exeext conftest.
$ac_ext
37921 ac_res
=`eval echo '${'$as_ac_var'}'`
37922 { echo "$as_me:$LINENO: result: $ac_res" >&5
37923 echo "${ECHO_T}$ac_res" >&6; }
37924 if test `eval echo '${'$as_ac_var'}'` = yes; then
37925 cat >>confdefs.h
<<_ACEOF
37926 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37928 cat >>confdefs.h
<<\_ACEOF
37929 #define HAVE_INET_ADDR 1
37934 { echo "$as_me:$LINENO: checking for inet_addr in -lnsl" >&5
37935 echo $ECHO_N "checking for inet_addr in -lnsl... $ECHO_C" >&6; }
37936 if test "${ac_cv_lib_nsl_inet_addr+set}" = set; then
37937 echo $ECHO_N "(cached) $ECHO_C" >&6
37939 ac_check_lib_save_LIBS
=$LIBS
37941 cat >conftest.
$ac_ext <<_ACEOF
37944 cat confdefs.h
>>conftest.
$ac_ext
37945 cat >>conftest.
$ac_ext <<_ACEOF
37946 /* end confdefs.h. */
37948 /* Override any GCC internal prototype to avoid an error.
37949 Use char because int might match the return type of a GCC
37950 builtin and then its argument prototype would still apply. */
37958 return inet_addr ();
37963 rm -f conftest.
$ac_objext conftest
$ac_exeext
37964 if { (ac_try
="$ac_link"
37965 case "(($ac_try" in
37966 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
37967 *) ac_try_echo=$ac_try;;
37969 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37970 (eval "$ac_link") 2>conftest.er1
37972 grep -v '^ *+' conftest.er1 >conftest.err
37974 cat conftest.err >&5
37975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37976 (exit $ac_status); } && {
37977 test -z "$ac_c_werror_flag" ||
37978 test ! -s conftest.err
37979 } && test -s conftest$ac_exeext &&
37980 $as_test_x conftest$ac_exeext; then
37981 ac_cv_lib_nsl_inet_addr=yes
37983 echo "$as_me: failed program was:" >&5
37984 sed 's/^/| /' conftest.$ac_ext >&5
37986 ac_cv_lib_nsl_inet_addr=no
37989 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37990 conftest$ac_exeext conftest.$ac_ext
37991 LIBS=$ac_check_lib_save_LIBS
37993 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_inet_addr" >&5
37994 echo "${ECHO_T}$ac_cv_lib_nsl_inet_addr" >&6; }
37995 if test $ac_cv_lib_nsl_inet_addr = yes; then
37999 { echo "$as_me:$LINENO: checking for inet_addr in -lresolv" >&5
38000 echo $ECHO_N "checking for inet_addr in -lresolv... $ECHO_C" >&6; }
38001 if test "${ac_cv_lib_resolv_inet_addr+set}" = set; then
38002 echo $ECHO_N "(cached) $ECHO_C" >&6
38004 ac_check_lib_save_LIBS=$LIBS
38005 LIBS="-lresolv $LIBS"
38006 cat >conftest.$ac_ext <<_ACEOF
38009 cat confdefs.h >>conftest.$ac_ext
38010 cat >>conftest.$ac_ext <<_ACEOF
38011 /* end confdefs.h. */
38013 /* Override any GCC internal prototype to avoid an error.
38014 Use char because int might match the return type of a GCC
38015 builtin and then its argument prototype would still apply. */
38023 return inet_addr ();
38028 rm -f conftest.$ac_objext conftest$ac_exeext
38029 if { (ac_try="$ac_link"
38030 case "(($ac_try" in
38031 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
38032 *) ac_try_echo
=$ac_try;;
38034 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38035 (eval "$ac_link") 2>conftest.er1
38037 grep -v '^ *+' conftest.er1
>conftest.err
38039 cat conftest.err
>&5
38040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38041 (exit $ac_status); } && {
38042 test -z "$ac_c_werror_flag" ||
38043 test ! -s conftest.err
38044 } && test -s conftest
$ac_exeext &&
38045 $as_test_x conftest
$ac_exeext; then
38046 ac_cv_lib_resolv_inet_addr
=yes
38048 echo "$as_me: failed program was:" >&5
38049 sed 's/^/| /' conftest.
$ac_ext >&5
38051 ac_cv_lib_resolv_inet_addr
=no
38054 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
38055 conftest
$ac_exeext conftest.
$ac_ext
38056 LIBS
=$ac_check_lib_save_LIBS
38058 { echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_addr" >&5
38059 echo "${ECHO_T}$ac_cv_lib_resolv_inet_addr" >&6; }
38060 if test $ac_cv_lib_resolv_inet_addr = yes; then
38064 { echo "$as_me:$LINENO: checking for inet_addr in -lsocket" >&5
38065 echo $ECHO_N "checking for inet_addr in -lsocket... $ECHO_C" >&6; }
38066 if test "${ac_cv_lib_socket_inet_addr+set}" = set; then
38067 echo $ECHO_N "(cached) $ECHO_C" >&6
38069 ac_check_lib_save_LIBS
=$LIBS
38070 LIBS
="-lsocket $LIBS"
38071 cat >conftest.
$ac_ext <<_ACEOF
38074 cat confdefs.h
>>conftest.
$ac_ext
38075 cat >>conftest.
$ac_ext <<_ACEOF
38076 /* end confdefs.h. */
38078 /* Override any GCC internal prototype to avoid an error.
38079 Use char because int might match the return type of a GCC
38080 builtin and then its argument prototype would still apply. */
38088 return inet_addr ();
38093 rm -f conftest.
$ac_objext conftest
$ac_exeext
38094 if { (ac_try
="$ac_link"
38095 case "(($ac_try" in
38096 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
38097 *) ac_try_echo=$ac_try;;
38099 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38100 (eval "$ac_link") 2>conftest.er1
38102 grep -v '^ *+' conftest.er1 >conftest.err
38104 cat conftest.err >&5
38105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38106 (exit $ac_status); } && {
38107 test -z "$ac_c_werror_flag" ||
38108 test ! -s conftest.err
38109 } && test -s conftest$ac_exeext &&
38110 $as_test_x conftest$ac_exeext; then
38111 ac_cv_lib_socket_inet_addr=yes
38113 echo "$as_me: failed program was:" >&5
38114 sed 's/^/| /' conftest.$ac_ext >&5
38116 ac_cv_lib_socket_inet_addr=no
38119 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38120 conftest$ac_exeext conftest.$ac_ext
38121 LIBS=$ac_check_lib_save_LIBS
38123 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_inet_addr" >&5
38124 echo "${ECHO_T}$ac_cv_lib_socket_inet_addr" >&6; }
38125 if test $ac_cv_lib_socket_inet_addr = yes; then
38145 for ac_func in inet_aton
38147 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38148 { echo "$as_me:$LINENO: checking for $ac_func" >&5
38149 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
38150 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
38151 echo $ECHO_N "(cached) $ECHO_C" >&6
38153 cat >conftest.$ac_ext <<_ACEOF
38156 cat confdefs.h >>conftest.$ac_ext
38157 cat >>conftest.$ac_ext <<_ACEOF
38158 /* end confdefs.h. */
38159 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38160 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38161 #define $ac_func innocuous_$ac_func
38163 /* System header to define __stub macros and hopefully few prototypes,
38164 which can conflict with char $ac_func (); below.
38165 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38166 <limits.h> exists even on freestanding compilers. */
38169 # include <limits.h>
38171 # include <assert.h>
38176 /* Override any GCC internal prototype to avoid an error.
38177 Use char because int might match the return type of a GCC
38178 builtin and then its argument prototype would still apply. */
38183 /* The GNU C library defines this for functions which it implements
38184 to always fail with ENOSYS. Some functions are actually named
38185 something starting with __ and the normal name is an alias. */
38186 #if defined __stub_$ac_func || defined __stub___$ac_func
38193 return $ac_func ();
38198 rm -f conftest.$ac_objext conftest$ac_exeext
38199 if { (ac_try="$ac_link"
38200 case "(($ac_try" in
38201 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
38202 *) ac_try_echo
=$ac_try;;
38204 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38205 (eval "$ac_link") 2>conftest.er1
38207 grep -v '^ *+' conftest.er1
>conftest.err
38209 cat conftest.err
>&5
38210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38211 (exit $ac_status); } && {
38212 test -z "$ac_c_werror_flag" ||
38213 test ! -s conftest.err
38214 } && test -s conftest
$ac_exeext &&
38215 $as_test_x conftest
$ac_exeext; then
38216 eval "$as_ac_var=yes"
38218 echo "$as_me: failed program was:" >&5
38219 sed 's/^/| /' conftest.
$ac_ext >&5
38221 eval "$as_ac_var=no"
38224 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
38225 conftest
$ac_exeext conftest.
$ac_ext
38227 ac_res
=`eval echo '${'$as_ac_var'}'`
38228 { echo "$as_me:$LINENO: result: $ac_res" >&5
38229 echo "${ECHO_T}$ac_res" >&6; }
38230 if test `eval echo '${'$as_ac_var'}'` = yes; then
38231 cat >>confdefs.h
<<_ACEOF
38232 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38234 cat >>confdefs.h
<<\_ACEOF
38235 #define HAVE_INET_ATON 1
38240 as_ac_Lib
=`echo "ac_cv_lib_$INET_LINK''_inet_aton" | $as_tr_sh`
38241 { echo "$as_me:$LINENO: checking for inet_aton in -l$INET_LINK" >&5
38242 echo $ECHO_N "checking for inet_aton in -l$INET_LINK... $ECHO_C" >&6; }
38243 if { as_var
=$as_ac_Lib; eval "test \"\${$as_var+set}\" = set"; }; then
38244 echo $ECHO_N "(cached) $ECHO_C" >&6
38246 ac_check_lib_save_LIBS
=$LIBS
38247 LIBS
="-l$INET_LINK $LIBS"
38248 cat >conftest.
$ac_ext <<_ACEOF
38251 cat confdefs.h
>>conftest.
$ac_ext
38252 cat >>conftest.
$ac_ext <<_ACEOF
38253 /* end confdefs.h. */
38255 /* Override any GCC internal prototype to avoid an error.
38256 Use char because int might match the return type of a GCC
38257 builtin and then its argument prototype would still apply. */
38265 return inet_aton ();
38270 rm -f conftest.
$ac_objext conftest
$ac_exeext
38271 if { (ac_try
="$ac_link"
38272 case "(($ac_try" in
38273 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
38274 *) ac_try_echo=$ac_try;;
38276 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38277 (eval "$ac_link") 2>conftest.er1
38279 grep -v '^ *+' conftest.er1 >conftest.err
38281 cat conftest.err >&5
38282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38283 (exit $ac_status); } && {
38284 test -z "$ac_c_werror_flag" ||
38285 test ! -s conftest.err
38286 } && test -s conftest$ac_exeext &&
38287 $as_test_x conftest$ac_exeext; then
38288 eval "$as_ac_Lib=yes"
38290 echo "$as_me: failed program was:" >&5
38291 sed 's/^/| /' conftest.$ac_ext >&5
38293 eval "$as_ac_Lib=no"
38296 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38297 conftest$ac_exeext conftest.$ac_ext
38298 LIBS=$ac_check_lib_save_LIBS
38300 ac_res=`eval echo '${'$as_ac_Lib'}'`
38301 { echo "$as_me:$LINENO: result: $ac_res" >&5
38302 echo "${ECHO_T}$ac_res" >&6; }
38303 if test `eval echo '${'$as_ac_Lib'}'` = yes; then
38304 cat >>confdefs.h <<\_ACEOF
38305 #define HAVE_INET_ATON 1
38315 if test "x$INET_LINK" != "x"; then
38316 cat >>confdefs.h <<\_ACEOF
38317 #define HAVE_INET_ADDR 1
38320 INET_LINK=" -l$INET_LINK"
38324 for wx_func in fdopen
38326 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38327 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38328 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38329 echo $ECHO_N "(cached) $ECHO_C" >&6
38332 cat >conftest.$ac_ext <<_ACEOF
38336 cat confdefs.h >>conftest.$ac_ext
38337 cat >>conftest.$ac_ext <<_ACEOF
38338 /* end confdefs.h. */
38341 $ac_includes_default
38357 rm -f conftest.$ac_objext conftest$ac_exeext
38358 if { (ac_try="$ac_link"
38359 case "(($ac_try" in
38360 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
38361 *) ac_try_echo
=$ac_try;;
38363 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38364 (eval "$ac_link") 2>conftest.er1
38366 grep -v '^ *+' conftest.er1
>conftest.err
38368 cat conftest.err
>&5
38369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38370 (exit $ac_status); } && {
38371 test -z "$ac_c_werror_flag" ||
38372 test ! -s conftest.err
38373 } && test -s conftest
$ac_exeext &&
38374 $as_test_x conftest
$ac_exeext; then
38375 eval wx_cv_func_
$wx_func=yes
38377 echo "$as_me: failed program was:" >&5
38378 sed 's/^/| /' conftest.
$ac_ext >&5
38380 eval wx_cv_func_
$wx_func=no
38383 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
38384 conftest
$ac_exeext conftest.
$ac_ext
38387 ac_res
=`eval echo '${'wx_cv_func_$wx_func'}'`
38388 { echo "$as_me:$LINENO: result: $ac_res" >&5
38389 echo "${ECHO_T}$ac_res" >&6; }
38391 if eval test \
$wx_cv_func_$wx_func = yes
38393 cat >>confdefs.h
<<_ACEOF
38394 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
38405 if test "$wxUSE_TARSTREAM" = "yes"; then
38407 for wx_func
in sysconf
38409 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38410 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38411 if { as_var
=wx_cv_func_
$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38412 echo $ECHO_N "(cached) $ECHO_C" >&6
38415 cat >conftest.
$ac_ext <<_ACEOF
38419 cat confdefs.h
>>conftest.
$ac_ext
38420 cat >>conftest.
$ac_ext <<_ACEOF
38421 /* end confdefs.h. */
38424 $ac_includes_default
38440 rm -f conftest.
$ac_objext conftest
$ac_exeext
38441 if { (ac_try
="$ac_link"
38442 case "(($ac_try" in
38443 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
38444 *) ac_try_echo=$ac_try;;
38446 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38447 (eval "$ac_link") 2>conftest.er1
38449 grep -v '^ *+' conftest.er1 >conftest.err
38451 cat conftest.err >&5
38452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38453 (exit $ac_status); } && {
38454 test -z "$ac_c_werror_flag" ||
38455 test ! -s conftest.err
38456 } && test -s conftest$ac_exeext &&
38457 $as_test_x conftest$ac_exeext; then
38458 eval wx_cv_func_$wx_func=yes
38460 echo "$as_me: failed program was:" >&5
38461 sed 's/^/| /' conftest.$ac_ext >&5
38463 eval wx_cv_func_$wx_func=no
38466 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38467 conftest$ac_exeext conftest.$ac_ext
38470 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
38471 { echo "$as_me:$LINENO: result: $ac_res" >&5
38472 echo "${ECHO_T}$ac_res" >&6; }
38474 if eval test \$wx_cv_func_$wx_func = yes
38476 cat >>confdefs.h <<_ACEOF
38477 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
38489 for wx_func in getpwuid_r
38491 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38492 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38493 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38494 echo $ECHO_N "(cached) $ECHO_C" >&6
38497 cat >conftest.$ac_ext <<_ACEOF
38501 cat confdefs.h >>conftest.$ac_ext
38502 cat >>conftest.$ac_ext <<_ACEOF
38503 /* end confdefs.h. */
38509 $ac_includes_default
38519 struct passwd pw, *ppw;
38521 getpwuid_r(0, &pw, buf, sizeof(buf), &ppw)
38529 rm -f conftest.$ac_objext conftest$ac_exeext
38530 if { (ac_try="$ac_link"
38531 case "(($ac_try" in
38532 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
38533 *) ac_try_echo
=$ac_try;;
38535 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38536 (eval "$ac_link") 2>conftest.er1
38538 grep -v '^ *+' conftest.er1
>conftest.err
38540 cat conftest.err
>&5
38541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38542 (exit $ac_status); } && {
38543 test -z "$ac_c_werror_flag" ||
38544 test ! -s conftest.err
38545 } && test -s conftest
$ac_exeext &&
38546 $as_test_x conftest
$ac_exeext; then
38547 eval wx_cv_func_
$wx_func=yes
38549 echo "$as_me: failed program was:" >&5
38550 sed 's/^/| /' conftest.
$ac_ext >&5
38552 eval wx_cv_func_
$wx_func=no
38555 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
38556 conftest
$ac_exeext conftest.
$ac_ext
38559 ac_res
=`eval echo '${'wx_cv_func_$wx_func'}'`
38560 { echo "$as_me:$LINENO: result: $ac_res" >&5
38561 echo "${ECHO_T}$ac_res" >&6; }
38563 if eval test \
$wx_cv_func_$wx_func = yes
38565 cat >>confdefs.h
<<_ACEOF
38566 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
38578 for wx_func
in getgrgid_r
38580 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38581 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38582 if { as_var
=wx_cv_func_
$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38583 echo $ECHO_N "(cached) $ECHO_C" >&6
38586 cat >conftest.
$ac_ext <<_ACEOF
38590 cat confdefs.h
>>conftest.
$ac_ext
38591 cat >>conftest.
$ac_ext <<_ACEOF
38592 /* end confdefs.h. */
38598 $ac_includes_default
38608 struct group grp, *pgrp;
38610 getgrgid_r(0, &grp, buf, sizeof(buf), &pgrp)
38618 rm -f conftest.
$ac_objext conftest
$ac_exeext
38619 if { (ac_try
="$ac_link"
38620 case "(($ac_try" in
38621 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
38622 *) ac_try_echo=$ac_try;;
38624 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38625 (eval "$ac_link") 2>conftest.er1
38627 grep -v '^ *+' conftest.er1 >conftest.err
38629 cat conftest.err >&5
38630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38631 (exit $ac_status); } && {
38632 test -z "$ac_c_werror_flag" ||
38633 test ! -s conftest.err
38634 } && test -s conftest$ac_exeext &&
38635 $as_test_x conftest$ac_exeext; then
38636 eval wx_cv_func_$wx_func=yes
38638 echo "$as_me: failed program was:" >&5
38639 sed 's/^/| /' conftest.$ac_ext >&5
38641 eval wx_cv_func_$wx_func=no
38644 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38645 conftest$ac_exeext conftest.$ac_ext
38648 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
38649 { echo "$as_me:$LINENO: result: $ac_res" >&5
38650 echo "${ECHO_T}$ac_res" >&6; }
38652 if eval test \$wx_cv_func_$wx_func = yes
38654 cat >>confdefs.h <<_ACEOF
38655 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
38671 cat >confcache <<\_ACEOF
38672 # This file is a shell script that caches the results of configure
38673 # tests run on this system so they can be shared between configure
38674 # scripts and configure runs, see configure's option --config-cache.
38675 # It is not useful on other systems. If it contains results you don't
38676 # want to keep, you may remove or edit it.
38678 # config.status only pays attention to the cache file if you give it
38679 # the --recheck option to rerun configure.
38681 # `ac_cv_env_foo
' variables (set or unset) will be overridden when
38682 # loading this file, other *unset* `ac_cv_foo' will be assigned the
38683 # following values.
38687 # The following way of writing the cache mishandles newlines in values,
38688 # but we know of no workaround that is simple, portable, and efficient.
38689 # So, we kill variables containing newlines.
38690 # Ultrix sh set writes to stderr and can't be redirected directly,
38691 # and sets the high bit in the cache file unless we assign to the vars.
38693 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
38694 eval ac_val
=\$
$ac_var
38698 *_cv_
*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
38699 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
38702 _
| IFS
| as_nl
) ;; #(
38703 *) $as_unset $ac_var ;;
38709 case $as_nl`(ac_space=' '; set) 2>&1` in #(
38710 *${as_nl}ac_space
=\
*)
38711 # `set' does not quote correctly, so add quotes (double-quote
38712 # substitution turns \\\\ into \\, and sed turns \\ into \).
38715 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
38718 # `set' quotes correctly as required by POSIX, so do not add quotes.
38719 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
38728 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
38730 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
38732 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
38733 if test -w "$cache_file"; then
38734 test "x$cache_file" != "x/dev/null" &&
38735 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
38736 echo "$as_me: updating cache $cache_file" >&6;}
38737 cat confcache
>$cache_file
38739 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
38740 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
38746 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
38752 if test "$wxUSE_THREADS" = "yes" ; then
38753 if test "$USE_BEOS" = 1; then
38754 { echo "$as_me:$LINENO: WARNING: BeOS threads are not yet supported... disabled" >&5
38755 echo "$as_me: WARNING: BeOS threads are not yet supported... disabled" >&2;}
38760 if test "$wxUSE_THREADS" = "yes" ; then
38763 THREAD_OPTS
="-pthread"
38764 if test "x$SUNCXX" = xyes
; then
38765 THREAD_OPTS
="-mt lthread $THREAD_OPTS"
38769 *-*-solaris2* | *-*-sunos4* )
38770 if test "x$GCC" = "xyes"; then
38771 THREAD_OPTS
="-pthreads $THREAD_OPTS"
38775 THREAD_OPTS
="-kthread lthread $THREAD_OPTS c_r"
38777 *-*-darwin* | *-*-cygwin* )
38781 THREAD_OPTS
="pthreads"
38784 if test "x$GCC" = "xyes"; then
38785 $CXX -dumpspecs | grep 'pthread:' >/dev
/null
||
38793 if test "x$GCC" = "xyes"; then
38799 if test "x$GCC" != "xyes"; then
38800 THREAD_OPTS
="-Ethread"
38805 THREAD_OPTS
="$THREAD_OPTS pthread none"
38808 for flag
in $THREAD_OPTS; do
38811 { echo "$as_me:$LINENO: checking whether pthreads work without any flags" >&5
38812 echo $ECHO_N "checking whether pthreads work without any flags... $ECHO_C" >&6; }
38816 { echo "$as_me:$LINENO: checking whether pthreads work with $flag" >&5
38817 echo $ECHO_N "checking whether pthreads work with $flag... $ECHO_C" >&6; }
38818 THREADS_CFLAGS
="$flag"
38822 { echo "$as_me:$LINENO: checking for the pthreads library -l$flag" >&5
38823 echo $ECHO_N "checking for the pthreads library -l$flag... $ECHO_C" >&6; }
38824 THREADS_LINK
="-l$flag"
38829 save_CFLAGS
="$CFLAGS"
38830 LIBS
="$THREADS_LINK $LIBS"
38831 CFLAGS
="$THREADS_CFLAGS $CFLAGS"
38833 cat >conftest.
$ac_ext <<_ACEOF
38836 cat confdefs.h
>>conftest.
$ac_ext
38837 cat >>conftest.
$ac_ext <<_ACEOF
38838 /* end confdefs.h. */
38839 #include <pthread.h>
38843 pthread_create(0,0,0,0);
38848 rm -f conftest.
$ac_objext conftest
$ac_exeext
38849 if { (ac_try
="$ac_link"
38850 case "(($ac_try" in
38851 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
38852 *) ac_try_echo=$ac_try;;
38854 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38855 (eval "$ac_link") 2>conftest.er1
38857 grep -v '^ *+' conftest.er1 >conftest.err
38859 cat conftest.err >&5
38860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38861 (exit $ac_status); } && {
38862 test -z "$ac_c_werror_flag" ||
38863 test ! -s conftest.err
38864 } && test -s conftest$ac_exeext &&
38865 $as_test_x conftest$ac_exeext; then
38868 echo "$as_me: failed program was:" >&5
38869 sed 's/^/| /' conftest.$ac_ext >&5
38874 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38875 conftest$ac_exeext conftest.$ac_ext
38878 CFLAGS="$save_CFLAGS"
38880 { echo "$as_me:$LINENO: result: $THREADS_OK" >&5
38881 echo "${ECHO_T}$THREADS_OK" >&6; }
38882 if test "x$THREADS_OK" = "xyes"; then
38890 if test "x$THREADS_OK" != "xyes"; then
38892 { echo "$as_me:$LINENO: WARNING: No thread support on this system... disabled" >&5
38893 echo "$as_me: WARNING: No thread support on this system... disabled" >&2;}
38895 LDFLAGS="$THREADS_CFLAGS $LDFLAGS"
38896 LIBS="$THREADS_LINK $LIBS"
38898 { echo "$as_me:$LINENO: checking if more special flags are required for pthreads" >&5
38899 echo $ECHO_N "checking if more special flags are required for pthreads... $ECHO_C" >&6; }
38903 LDFLAGS="-L/usr/lib/threads $LDFLAGS"
38904 flag="-D_THREAD_SAFE"
38907 flag="-D_THREAD_SAFE"
38910 flag="-D_REENTRANT"
38911 if test "x$GCC" != "xyes"; then
38912 flag="$flag -D_RWSTD_MULTI_THREAD"
38915 *solaris* | alpha*-osf*)
38916 flag="-D_REENTRANT"
38919 { echo "$as_me:$LINENO: result: ${flag}" >&5
38920 echo "${ECHO_T}${flag}" >&6; }
38921 if test "x$flag" != xno; then
38922 THREADS_CFLAGS="$THREADS_CFLAGS $flag"
38925 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS $THREADS_CFLAGS"
38929 if test "$wxUSE_THREADS" = "yes" ; then
38931 for ac_func in thr_setconcurrency
38933 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38934 { echo "$as_me:$LINENO: checking for $ac_func" >&5
38935 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
38936 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
38937 echo $ECHO_N "(cached) $ECHO_C" >&6
38939 cat >conftest.$ac_ext <<_ACEOF
38942 cat confdefs.h >>conftest.$ac_ext
38943 cat >>conftest.$ac_ext <<_ACEOF
38944 /* end confdefs.h. */
38945 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38946 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38947 #define $ac_func innocuous_$ac_func
38949 /* System header to define __stub macros and hopefully few prototypes,
38950 which can conflict with char $ac_func (); below.
38951 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38952 <limits.h> exists even on freestanding compilers. */
38955 # include <limits.h>
38957 # include <assert.h>
38962 /* Override any GCC internal prototype to avoid an error.
38963 Use char because int might match the return type of a GCC
38964 builtin and then its argument prototype would still apply. */
38969 /* The GNU C library defines this for functions which it implements
38970 to always fail with ENOSYS. Some functions are actually named
38971 something starting with __ and the normal name is an alias. */
38972 #if defined __stub_$ac_func || defined __stub___$ac_func
38979 return $ac_func ();
38984 rm -f conftest.$ac_objext conftest$ac_exeext
38985 if { (ac_try="$ac_link"
38986 case "(($ac_try" in
38987 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
38988 *) ac_try_echo
=$ac_try;;
38990 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38991 (eval "$ac_link") 2>conftest.er1
38993 grep -v '^ *+' conftest.er1
>conftest.err
38995 cat conftest.err
>&5
38996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38997 (exit $ac_status); } && {
38998 test -z "$ac_c_werror_flag" ||
38999 test ! -s conftest.err
39000 } && test -s conftest
$ac_exeext &&
39001 $as_test_x conftest
$ac_exeext; then
39002 eval "$as_ac_var=yes"
39004 echo "$as_me: failed program was:" >&5
39005 sed 's/^/| /' conftest.
$ac_ext >&5
39007 eval "$as_ac_var=no"
39010 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
39011 conftest
$ac_exeext conftest.
$ac_ext
39013 ac_res
=`eval echo '${'$as_ac_var'}'`
39014 { echo "$as_me:$LINENO: result: $ac_res" >&5
39015 echo "${ECHO_T}$ac_res" >&6; }
39016 if test `eval echo '${'$as_ac_var'}'` = yes; then
39017 cat >>confdefs.h
<<_ACEOF
39018 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39025 { echo "$as_me:$LINENO: checking for pthread_cleanup_push/pop" >&5
39026 echo $ECHO_N "checking for pthread_cleanup_push/pop... $ECHO_C" >&6; }
39027 if test "${wx_cv_func_pthread_cleanup+set}" = set; then
39028 echo $ECHO_N "(cached) $ECHO_C" >&6
39032 ac_cpp
='$CXXCPP $CPPFLAGS'
39033 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39034 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39035 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
39037 cat >conftest.
$ac_ext <<_ACEOF
39040 cat confdefs.h
>>conftest.
$ac_ext
39041 cat >>conftest.
$ac_ext <<_ACEOF
39042 /* end confdefs.h. */
39043 #include <pthread.h>
39044 void ThreadCleanupFunc(void *p);
39051 pthread_cleanup_push(ThreadCleanupFunc, p);
39052 pthread_cleanup_pop(0);
39058 rm -f conftest.
$ac_objext
39059 if { (ac_try
="$ac_compile"
39060 case "(($ac_try" in
39061 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
39062 *) ac_try_echo=$ac_try;;
39064 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39065 (eval "$ac_compile") 2>conftest.er1
39067 grep -v '^ *+' conftest.er1 >conftest.err
39069 cat conftest.err >&5
39070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39071 (exit $ac_status); } && {
39072 test -z "$ac_cxx_werror_flag" ||
39073 test ! -s conftest.err
39074 } && test -s conftest.$ac_objext; then
39076 wx_cv_func_pthread_cleanup=yes
39079 echo "$as_me: failed program was:" >&5
39080 sed 's/^/| /' conftest.$ac_ext >&5
39083 wx_cv_func_pthread_cleanup=no
39088 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39090 ac_cpp='$CPP $CPPFLAGS'
39091 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39092 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39093 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39097 { echo "$as_me:$LINENO: result: $wx_cv_func_pthread_cleanup" >&5
39098 echo "${ECHO_T}$wx_cv_func_pthread_cleanup" >&6; }
39099 if test "x$wx_cv_func_pthread_cleanup" = "xyes"; then
39100 cat >>confdefs.h <<\_ACEOF
39101 #define wxHAVE_PTHREAD_CLEANUP 1
39107 for ac_header in sched.h
39109 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
39110 { echo "$as_me:$LINENO: checking for $ac_header" >&5
39111 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
39112 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
39113 echo $ECHO_N "(cached) $ECHO_C" >&6
39115 cat >conftest.$ac_ext <<_ACEOF
39118 cat confdefs.h >>conftest.$ac_ext
39119 cat >>conftest.$ac_ext <<_ACEOF
39120 /* end confdefs.h. */
39121 $ac_includes_default
39123 #include <$ac_header>
39125 rm -f conftest.$ac_objext
39126 if { (ac_try="$ac_compile"
39127 case "(($ac_try" in
39128 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
39129 *) ac_try_echo
=$ac_try;;
39131 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39132 (eval "$ac_compile") 2>conftest.er1
39134 grep -v '^ *+' conftest.er1
>conftest.err
39136 cat conftest.err
>&5
39137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39138 (exit $ac_status); } && {
39139 test -z "$ac_c_werror_flag" ||
39140 test ! -s conftest.err
39141 } && test -s conftest.
$ac_objext; then
39142 eval "$as_ac_Header=yes"
39144 echo "$as_me: failed program was:" >&5
39145 sed 's/^/| /' conftest.
$ac_ext >&5
39147 eval "$as_ac_Header=no"
39150 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
39152 ac_res
=`eval echo '${'$as_ac_Header'}'`
39153 { echo "$as_me:$LINENO: result: $ac_res" >&5
39154 echo "${ECHO_T}$ac_res" >&6; }
39155 if test `eval echo '${'$as_ac_Header'}'` = yes; then
39156 cat >>confdefs.h
<<_ACEOF
39157 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
39164 if test "$ac_cv_header_sched_h" = "yes"; then
39165 { echo "$as_me:$LINENO: checking for sched_yield" >&5
39166 echo $ECHO_N "checking for sched_yield... $ECHO_C" >&6; }
39167 if test "${ac_cv_func_sched_yield+set}" = set; then
39168 echo $ECHO_N "(cached) $ECHO_C" >&6
39170 cat >conftest.
$ac_ext <<_ACEOF
39173 cat confdefs.h
>>conftest.
$ac_ext
39174 cat >>conftest.
$ac_ext <<_ACEOF
39175 /* end confdefs.h. */
39176 /* Define sched_yield to an innocuous variant, in case <limits.h> declares sched_yield.
39177 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39178 #define sched_yield innocuous_sched_yield
39180 /* System header to define __stub macros and hopefully few prototypes,
39181 which can conflict with char sched_yield (); below.
39182 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39183 <limits.h> exists even on freestanding compilers. */
39186 # include <limits.h>
39188 # include <assert.h>
39193 /* Override any GCC internal prototype to avoid an error.
39194 Use char because int might match the return type of a GCC
39195 builtin and then its argument prototype would still apply. */
39199 char sched_yield ();
39200 /* The GNU C library defines this for functions which it implements
39201 to always fail with ENOSYS. Some functions are actually named
39202 something starting with __ and the normal name is an alias. */
39203 #if defined __stub_sched_yield || defined __stub___sched_yield
39210 return sched_yield ();
39215 rm -f conftest.
$ac_objext conftest
$ac_exeext
39216 if { (ac_try
="$ac_link"
39217 case "(($ac_try" in
39218 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
39219 *) ac_try_echo=$ac_try;;
39221 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39222 (eval "$ac_link") 2>conftest.er1
39224 grep -v '^ *+' conftest.er1 >conftest.err
39226 cat conftest.err >&5
39227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39228 (exit $ac_status); } && {
39229 test -z "$ac_c_werror_flag" ||
39230 test ! -s conftest.err
39231 } && test -s conftest$ac_exeext &&
39232 $as_test_x conftest$ac_exeext; then
39233 ac_cv_func_sched_yield=yes
39235 echo "$as_me: failed program was:" >&5
39236 sed 's/^/| /' conftest.$ac_ext >&5
39238 ac_cv_func_sched_yield=no
39241 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39242 conftest$ac_exeext conftest.$ac_ext
39244 { echo "$as_me:$LINENO: result: $ac_cv_func_sched_yield" >&5
39245 echo "${ECHO_T}$ac_cv_func_sched_yield" >&6; }
39246 if test $ac_cv_func_sched_yield = yes; then
39247 cat >>confdefs.h <<\_ACEOF
39248 #define HAVE_SCHED_YIELD 1
39253 { echo "$as_me:$LINENO: checking for sched_yield in -lposix4" >&5
39254 echo $ECHO_N "checking for sched_yield in -lposix4... $ECHO_C" >&6; }
39255 if test "${ac_cv_lib_posix4_sched_yield+set}" = set; then
39256 echo $ECHO_N "(cached) $ECHO_C" >&6
39258 ac_check_lib_save_LIBS=$LIBS
39259 LIBS="-lposix4 $LIBS"
39260 cat >conftest.$ac_ext <<_ACEOF
39263 cat confdefs.h >>conftest.$ac_ext
39264 cat >>conftest.$ac_ext <<_ACEOF
39265 /* end confdefs.h. */
39267 /* Override any GCC internal prototype to avoid an error.
39268 Use char because int might match the return type of a GCC
39269 builtin and then its argument prototype would still apply. */
39273 char sched_yield ();
39277 return sched_yield ();
39282 rm -f conftest.$ac_objext conftest$ac_exeext
39283 if { (ac_try="$ac_link"
39284 case "(($ac_try" in
39285 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
39286 *) ac_try_echo
=$ac_try;;
39288 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39289 (eval "$ac_link") 2>conftest.er1
39291 grep -v '^ *+' conftest.er1
>conftest.err
39293 cat conftest.err
>&5
39294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39295 (exit $ac_status); } && {
39296 test -z "$ac_c_werror_flag" ||
39297 test ! -s conftest.err
39298 } && test -s conftest
$ac_exeext &&
39299 $as_test_x conftest
$ac_exeext; then
39300 ac_cv_lib_posix4_sched_yield
=yes
39302 echo "$as_me: failed program was:" >&5
39303 sed 's/^/| /' conftest.
$ac_ext >&5
39305 ac_cv_lib_posix4_sched_yield
=no
39308 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
39309 conftest
$ac_exeext conftest.
$ac_ext
39310 LIBS
=$ac_check_lib_save_LIBS
39312 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_yield" >&5
39313 echo "${ECHO_T}$ac_cv_lib_posix4_sched_yield" >&6; }
39314 if test $ac_cv_lib_posix4_sched_yield = yes; then
39315 cat >>confdefs.h
<<\_ACEOF
39316 #define HAVE_SCHED_YIELD 1
39318 POSIX4_LINK
=" -lposix4"
39320 { echo "$as_me:$LINENO: WARNING: wxThread::Yield will not work properly" >&5
39321 echo "$as_me: WARNING: wxThread::Yield will not work properly" >&2;}
39332 { echo "$as_me:$LINENO: checking for pthread_attr_getschedpolicy" >&5
39333 echo $ECHO_N "checking for pthread_attr_getschedpolicy... $ECHO_C" >&6; }
39334 if test "${ac_cv_func_pthread_attr_getschedpolicy+set}" = set; then
39335 echo $ECHO_N "(cached) $ECHO_C" >&6
39337 cat >conftest.
$ac_ext <<_ACEOF
39340 cat confdefs.h
>>conftest.
$ac_ext
39341 cat >>conftest.
$ac_ext <<_ACEOF
39342 /* end confdefs.h. */
39343 /* Define pthread_attr_getschedpolicy to an innocuous variant, in case <limits.h> declares pthread_attr_getschedpolicy.
39344 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39345 #define pthread_attr_getschedpolicy innocuous_pthread_attr_getschedpolicy
39347 /* System header to define __stub macros and hopefully few prototypes,
39348 which can conflict with char pthread_attr_getschedpolicy (); below.
39349 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39350 <limits.h> exists even on freestanding compilers. */
39353 # include <limits.h>
39355 # include <assert.h>
39358 #undef pthread_attr_getschedpolicy
39360 /* Override any GCC internal prototype to avoid an error.
39361 Use char because int might match the return type of a GCC
39362 builtin and then its argument prototype would still apply. */
39366 char pthread_attr_getschedpolicy ();
39367 /* The GNU C library defines this for functions which it implements
39368 to always fail with ENOSYS. Some functions are actually named
39369 something starting with __ and the normal name is an alias. */
39370 #if defined __stub_pthread_attr_getschedpolicy || defined __stub___pthread_attr_getschedpolicy
39377 return pthread_attr_getschedpolicy ();
39382 rm -f conftest.
$ac_objext conftest
$ac_exeext
39383 if { (ac_try
="$ac_link"
39384 case "(($ac_try" in
39385 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
39386 *) ac_try_echo=$ac_try;;
39388 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39389 (eval "$ac_link") 2>conftest.er1
39391 grep -v '^ *+' conftest.er1 >conftest.err
39393 cat conftest.err >&5
39394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39395 (exit $ac_status); } && {
39396 test -z "$ac_c_werror_flag" ||
39397 test ! -s conftest.err
39398 } && test -s conftest$ac_exeext &&
39399 $as_test_x conftest$ac_exeext; then
39400 ac_cv_func_pthread_attr_getschedpolicy=yes
39402 echo "$as_me: failed program was:" >&5
39403 sed 's/^/| /' conftest.$ac_ext >&5
39405 ac_cv_func_pthread_attr_getschedpolicy=no
39408 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39409 conftest$ac_exeext conftest.$ac_ext
39411 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_getschedpolicy" >&5
39412 echo "${ECHO_T}$ac_cv_func_pthread_attr_getschedpolicy" >&6; }
39413 if test $ac_cv_func_pthread_attr_getschedpolicy = yes; then
39414 { echo "$as_me:$LINENO: checking for pthread_attr_setschedparam" >&5
39415 echo $ECHO_N "checking for pthread_attr_setschedparam... $ECHO_C" >&6; }
39416 if test "${ac_cv_func_pthread_attr_setschedparam+set}" = set; then
39417 echo $ECHO_N "(cached) $ECHO_C" >&6
39419 cat >conftest.$ac_ext <<_ACEOF
39422 cat confdefs.h >>conftest.$ac_ext
39423 cat >>conftest.$ac_ext <<_ACEOF
39424 /* end confdefs.h. */
39425 /* Define pthread_attr_setschedparam to an innocuous variant, in case <limits.h> declares pthread_attr_setschedparam.
39426 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39427 #define pthread_attr_setschedparam innocuous_pthread_attr_setschedparam
39429 /* System header to define __stub macros and hopefully few prototypes,
39430 which can conflict with char pthread_attr_setschedparam (); below.
39431 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39432 <limits.h> exists even on freestanding compilers. */
39435 # include <limits.h>
39437 # include <assert.h>
39440 #undef pthread_attr_setschedparam
39442 /* Override any GCC internal prototype to avoid an error.
39443 Use char because int might match the return type of a GCC
39444 builtin and then its argument prototype would still apply. */
39448 char pthread_attr_setschedparam ();
39449 /* The GNU C library defines this for functions which it implements
39450 to always fail with ENOSYS. Some functions are actually named
39451 something starting with __ and the normal name is an alias. */
39452 #if defined __stub_pthread_attr_setschedparam || defined __stub___pthread_attr_setschedparam
39459 return pthread_attr_setschedparam ();
39464 rm -f conftest.$ac_objext conftest$ac_exeext
39465 if { (ac_try="$ac_link"
39466 case "(($ac_try" in
39467 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
39468 *) ac_try_echo
=$ac_try;;
39470 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39471 (eval "$ac_link") 2>conftest.er1
39473 grep -v '^ *+' conftest.er1
>conftest.err
39475 cat conftest.err
>&5
39476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39477 (exit $ac_status); } && {
39478 test -z "$ac_c_werror_flag" ||
39479 test ! -s conftest.err
39480 } && test -s conftest
$ac_exeext &&
39481 $as_test_x conftest
$ac_exeext; then
39482 ac_cv_func_pthread_attr_setschedparam
=yes
39484 echo "$as_me: failed program was:" >&5
39485 sed 's/^/| /' conftest.
$ac_ext >&5
39487 ac_cv_func_pthread_attr_setschedparam
=no
39490 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
39491 conftest
$ac_exeext conftest.
$ac_ext
39493 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setschedparam" >&5
39494 echo "${ECHO_T}$ac_cv_func_pthread_attr_setschedparam" >&6; }
39495 if test $ac_cv_func_pthread_attr_setschedparam = yes; then
39496 { echo "$as_me:$LINENO: checking for sched_get_priority_max" >&5
39497 echo $ECHO_N "checking for sched_get_priority_max... $ECHO_C" >&6; }
39498 if test "${ac_cv_func_sched_get_priority_max+set}" = set; then
39499 echo $ECHO_N "(cached) $ECHO_C" >&6
39501 cat >conftest.
$ac_ext <<_ACEOF
39504 cat confdefs.h
>>conftest.
$ac_ext
39505 cat >>conftest.
$ac_ext <<_ACEOF
39506 /* end confdefs.h. */
39507 /* Define sched_get_priority_max to an innocuous variant, in case <limits.h> declares sched_get_priority_max.
39508 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39509 #define sched_get_priority_max innocuous_sched_get_priority_max
39511 /* System header to define __stub macros and hopefully few prototypes,
39512 which can conflict with char sched_get_priority_max (); below.
39513 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39514 <limits.h> exists even on freestanding compilers. */
39517 # include <limits.h>
39519 # include <assert.h>
39522 #undef sched_get_priority_max
39524 /* Override any GCC internal prototype to avoid an error.
39525 Use char because int might match the return type of a GCC
39526 builtin and then its argument prototype would still apply. */
39530 char sched_get_priority_max ();
39531 /* The GNU C library defines this for functions which it implements
39532 to always fail with ENOSYS. Some functions are actually named
39533 something starting with __ and the normal name is an alias. */
39534 #if defined __stub_sched_get_priority_max || defined __stub___sched_get_priority_max
39541 return sched_get_priority_max ();
39546 rm -f conftest.
$ac_objext conftest
$ac_exeext
39547 if { (ac_try
="$ac_link"
39548 case "(($ac_try" in
39549 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
39550 *) ac_try_echo=$ac_try;;
39552 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39553 (eval "$ac_link") 2>conftest.er1
39555 grep -v '^ *+' conftest.er1 >conftest.err
39557 cat conftest.err >&5
39558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39559 (exit $ac_status); } && {
39560 test -z "$ac_c_werror_flag" ||
39561 test ! -s conftest.err
39562 } && test -s conftest$ac_exeext &&
39563 $as_test_x conftest$ac_exeext; then
39564 ac_cv_func_sched_get_priority_max=yes
39566 echo "$as_me: failed program was:" >&5
39567 sed 's/^/| /' conftest.$ac_ext >&5
39569 ac_cv_func_sched_get_priority_max=no
39572 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39573 conftest$ac_exeext conftest.$ac_ext
39575 { echo "$as_me:$LINENO: result: $ac_cv_func_sched_get_priority_max" >&5
39576 echo "${ECHO_T}$ac_cv_func_sched_get_priority_max" >&6; }
39577 if test $ac_cv_func_sched_get_priority_max = yes; then
39580 { echo "$as_me:$LINENO: checking for sched_get_priority_max in -lposix4" >&5
39581 echo $ECHO_N "checking for sched_get_priority_max in -lposix4... $ECHO_C" >&6; }
39582 if test "${ac_cv_lib_posix4_sched_get_priority_max+set}" = set; then
39583 echo $ECHO_N "(cached) $ECHO_C" >&6
39585 ac_check_lib_save_LIBS=$LIBS
39586 LIBS="-lposix4 $LIBS"
39587 cat >conftest.$ac_ext <<_ACEOF
39590 cat confdefs.h >>conftest.$ac_ext
39591 cat >>conftest.$ac_ext <<_ACEOF
39592 /* end confdefs.h. */
39594 /* Override any GCC internal prototype to avoid an error.
39595 Use char because int might match the return type of a GCC
39596 builtin and then its argument prototype would still apply. */
39600 char sched_get_priority_max ();
39604 return sched_get_priority_max ();
39609 rm -f conftest.$ac_objext conftest$ac_exeext
39610 if { (ac_try="$ac_link"
39611 case "(($ac_try" in
39612 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
39613 *) ac_try_echo
=$ac_try;;
39615 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39616 (eval "$ac_link") 2>conftest.er1
39618 grep -v '^ *+' conftest.er1
>conftest.err
39620 cat conftest.err
>&5
39621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39622 (exit $ac_status); } && {
39623 test -z "$ac_c_werror_flag" ||
39624 test ! -s conftest.err
39625 } && test -s conftest
$ac_exeext &&
39626 $as_test_x conftest
$ac_exeext; then
39627 ac_cv_lib_posix4_sched_get_priority_max
=yes
39629 echo "$as_me: failed program was:" >&5
39630 sed 's/^/| /' conftest.
$ac_ext >&5
39632 ac_cv_lib_posix4_sched_get_priority_max
=no
39635 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
39636 conftest
$ac_exeext conftest.
$ac_ext
39637 LIBS
=$ac_check_lib_save_LIBS
39639 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_get_priority_max" >&5
39640 echo "${ECHO_T}$ac_cv_lib_posix4_sched_get_priority_max" >&6; }
39641 if test $ac_cv_lib_posix4_sched_get_priority_max = yes; then
39644 POSIX4_LINK
=" -lposix4"
39658 if test "$HAVE_PRIOR_FUNCS" = 1; then
39659 cat >>confdefs.h
<<\_ACEOF
39660 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
39664 { echo "$as_me:$LINENO: WARNING: Setting thread priority will not work" >&5
39665 echo "$as_me: WARNING: Setting thread priority will not work" >&2;}
39668 { echo "$as_me:$LINENO: checking for pthread_cancel" >&5
39669 echo $ECHO_N "checking for pthread_cancel... $ECHO_C" >&6; }
39670 if test "${ac_cv_func_pthread_cancel+set}" = set; then
39671 echo $ECHO_N "(cached) $ECHO_C" >&6
39673 cat >conftest.
$ac_ext <<_ACEOF
39676 cat confdefs.h
>>conftest.
$ac_ext
39677 cat >>conftest.
$ac_ext <<_ACEOF
39678 /* end confdefs.h. */
39679 /* Define pthread_cancel to an innocuous variant, in case <limits.h> declares pthread_cancel.
39680 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39681 #define pthread_cancel innocuous_pthread_cancel
39683 /* System header to define __stub macros and hopefully few prototypes,
39684 which can conflict with char pthread_cancel (); below.
39685 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39686 <limits.h> exists even on freestanding compilers. */
39689 # include <limits.h>
39691 # include <assert.h>
39694 #undef pthread_cancel
39696 /* Override any GCC internal prototype to avoid an error.
39697 Use char because int might match the return type of a GCC
39698 builtin and then its argument prototype would still apply. */
39702 char pthread_cancel ();
39703 /* The GNU C library defines this for functions which it implements
39704 to always fail with ENOSYS. Some functions are actually named
39705 something starting with __ and the normal name is an alias. */
39706 #if defined __stub_pthread_cancel || defined __stub___pthread_cancel
39713 return pthread_cancel ();
39718 rm -f conftest.
$ac_objext conftest
$ac_exeext
39719 if { (ac_try
="$ac_link"
39720 case "(($ac_try" in
39721 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
39722 *) ac_try_echo=$ac_try;;
39724 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39725 (eval "$ac_link") 2>conftest.er1
39727 grep -v '^ *+' conftest.er1 >conftest.err
39729 cat conftest.err >&5
39730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39731 (exit $ac_status); } && {
39732 test -z "$ac_c_werror_flag" ||
39733 test ! -s conftest.err
39734 } && test -s conftest$ac_exeext &&
39735 $as_test_x conftest$ac_exeext; then
39736 ac_cv_func_pthread_cancel=yes
39738 echo "$as_me: failed program was:" >&5
39739 sed 's/^/| /' conftest.$ac_ext >&5
39741 ac_cv_func_pthread_cancel=no
39744 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39745 conftest$ac_exeext conftest.$ac_ext
39747 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_cancel" >&5
39748 echo "${ECHO_T}$ac_cv_func_pthread_cancel" >&6; }
39749 if test $ac_cv_func_pthread_cancel = yes; then
39750 cat >>confdefs.h <<\_ACEOF
39751 #define HAVE_PTHREAD_CANCEL 1
39755 { echo "$as_me:$LINENO: WARNING: wxThread::Kill() will not work properly" >&5
39756 echo "$as_me: WARNING: wxThread::Kill() will not work properly" >&2;}
39760 { echo "$as_me:$LINENO: checking for pthread_mutex_timedlock" >&5
39761 echo $ECHO_N "checking for pthread_mutex_timedlock... $ECHO_C" >&6; }
39762 if test "${ac_cv_func_pthread_mutex_timedlock+set}" = set; then
39763 echo $ECHO_N "(cached) $ECHO_C" >&6
39765 cat >conftest.$ac_ext <<_ACEOF
39768 cat confdefs.h >>conftest.$ac_ext
39769 cat >>conftest.$ac_ext <<_ACEOF
39770 /* end confdefs.h. */
39771 /* Define pthread_mutex_timedlock to an innocuous variant, in case <limits.h> declares pthread_mutex_timedlock.
39772 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39773 #define pthread_mutex_timedlock innocuous_pthread_mutex_timedlock
39775 /* System header to define __stub macros and hopefully few prototypes,
39776 which can conflict with char pthread_mutex_timedlock (); below.
39777 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39778 <limits.h> exists even on freestanding compilers. */
39781 # include <limits.h>
39783 # include <assert.h>
39786 #undef pthread_mutex_timedlock
39788 /* Override any GCC internal prototype to avoid an error.
39789 Use char because int might match the return type of a GCC
39790 builtin and then its argument prototype would still apply. */
39794 char pthread_mutex_timedlock ();
39795 /* The GNU C library defines this for functions which it implements
39796 to always fail with ENOSYS. Some functions are actually named
39797 something starting with __ and the normal name is an alias. */
39798 #if defined __stub_pthread_mutex_timedlock || defined __stub___pthread_mutex_timedlock
39805 return pthread_mutex_timedlock ();
39810 rm -f conftest.$ac_objext conftest$ac_exeext
39811 if { (ac_try="$ac_link"
39812 case "(($ac_try" in
39813 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
39814 *) ac_try_echo
=$ac_try;;
39816 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39817 (eval "$ac_link") 2>conftest.er1
39819 grep -v '^ *+' conftest.er1
>conftest.err
39821 cat conftest.err
>&5
39822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39823 (exit $ac_status); } && {
39824 test -z "$ac_c_werror_flag" ||
39825 test ! -s conftest.err
39826 } && test -s conftest
$ac_exeext &&
39827 $as_test_x conftest
$ac_exeext; then
39828 ac_cv_func_pthread_mutex_timedlock
=yes
39830 echo "$as_me: failed program was:" >&5
39831 sed 's/^/| /' conftest.
$ac_ext >&5
39833 ac_cv_func_pthread_mutex_timedlock
=no
39836 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
39837 conftest
$ac_exeext conftest.
$ac_ext
39839 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_mutex_timedlock" >&5
39840 echo "${ECHO_T}$ac_cv_func_pthread_mutex_timedlock" >&6; }
39841 if test $ac_cv_func_pthread_mutex_timedlock = yes; then
39842 cat >>confdefs.h
<<\_ACEOF
39843 #define HAVE_PTHREAD_MUTEX_TIMEDLOCK 1
39847 { echo "$as_me:$LINENO: WARNING: wxMutex::LockTimeout() will not work" >&5
39848 echo "$as_me: WARNING: wxMutex::LockTimeout() will not work" >&2;}
39852 { echo "$as_me:$LINENO: checking for pthread_attr_setstacksize" >&5
39853 echo $ECHO_N "checking for pthread_attr_setstacksize... $ECHO_C" >&6; }
39854 if test "${ac_cv_func_pthread_attr_setstacksize+set}" = set; then
39855 echo $ECHO_N "(cached) $ECHO_C" >&6
39857 cat >conftest.
$ac_ext <<_ACEOF
39860 cat confdefs.h
>>conftest.
$ac_ext
39861 cat >>conftest.
$ac_ext <<_ACEOF
39862 /* end confdefs.h. */
39863 /* Define pthread_attr_setstacksize to an innocuous variant, in case <limits.h> declares pthread_attr_setstacksize.
39864 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39865 #define pthread_attr_setstacksize innocuous_pthread_attr_setstacksize
39867 /* System header to define __stub macros and hopefully few prototypes,
39868 which can conflict with char pthread_attr_setstacksize (); below.
39869 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39870 <limits.h> exists even on freestanding compilers. */
39873 # include <limits.h>
39875 # include <assert.h>
39878 #undef pthread_attr_setstacksize
39880 /* Override any GCC internal prototype to avoid an error.
39881 Use char because int might match the return type of a GCC
39882 builtin and then its argument prototype would still apply. */
39886 char pthread_attr_setstacksize ();
39887 /* The GNU C library defines this for functions which it implements
39888 to always fail with ENOSYS. Some functions are actually named
39889 something starting with __ and the normal name is an alias. */
39890 #if defined __stub_pthread_attr_setstacksize || defined __stub___pthread_attr_setstacksize
39897 return pthread_attr_setstacksize ();
39902 rm -f conftest.
$ac_objext conftest
$ac_exeext
39903 if { (ac_try
="$ac_link"
39904 case "(($ac_try" in
39905 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
39906 *) ac_try_echo=$ac_try;;
39908 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39909 (eval "$ac_link") 2>conftest.er1
39911 grep -v '^ *+' conftest.er1 >conftest.err
39913 cat conftest.err >&5
39914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39915 (exit $ac_status); } && {
39916 test -z "$ac_c_werror_flag" ||
39917 test ! -s conftest.err
39918 } && test -s conftest$ac_exeext &&
39919 $as_test_x conftest$ac_exeext; then
39920 ac_cv_func_pthread_attr_setstacksize=yes
39922 echo "$as_me: failed program was:" >&5
39923 sed 's/^/| /' conftest.$ac_ext >&5
39925 ac_cv_func_pthread_attr_setstacksize=no
39928 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39929 conftest$ac_exeext conftest.$ac_ext
39931 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setstacksize" >&5
39932 echo "${ECHO_T}$ac_cv_func_pthread_attr_setstacksize" >&6; }
39933 if test $ac_cv_func_pthread_attr_setstacksize = yes; then
39934 cat >>confdefs.h <<\_ACEOF
39935 #define HAVE_PTHREAD_ATTR_SETSTACKSIZE 1
39942 { echo "$as_me:$LINENO: checking for pthread_mutexattr_t" >&5
39943 echo $ECHO_N "checking for pthread_mutexattr_t... $ECHO_C" >&6; }
39944 if test "${wx_cv_type_pthread_mutexattr_t+set}" = set; then
39945 echo $ECHO_N "(cached) $ECHO_C" >&6
39948 cat >conftest.$ac_ext <<_ACEOF
39951 cat confdefs.h >>conftest.$ac_ext
39952 cat >>conftest.$ac_ext <<_ACEOF
39953 /* end confdefs.h. */
39954 #include <pthread.h>
39959 pthread_mutexattr_t attr;
39960 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
39966 rm -f conftest.$ac_objext
39967 if { (ac_try="$ac_compile"
39968 case "(($ac_try" in
39969 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
39970 *) ac_try_echo
=$ac_try;;
39972 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39973 (eval "$ac_compile") 2>conftest.er1
39975 grep -v '^ *+' conftest.er1
>conftest.err
39977 cat conftest.err
>&5
39978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39979 (exit $ac_status); } && {
39980 test -z "$ac_c_werror_flag" ||
39981 test ! -s conftest.err
39982 } && test -s conftest.
$ac_objext; then
39983 wx_cv_type_pthread_mutexattr_t
=yes
39985 echo "$as_me: failed program was:" >&5
39986 sed 's/^/| /' conftest.
$ac_ext >&5
39988 wx_cv_type_pthread_mutexattr_t
=no
39992 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
39995 { echo "$as_me:$LINENO: result: $wx_cv_type_pthread_mutexattr_t" >&5
39996 echo "${ECHO_T}$wx_cv_type_pthread_mutexattr_t" >&6; }
39998 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
39999 cat >>confdefs.h
<<\_ACEOF
40000 #define HAVE_PTHREAD_MUTEXATTR_T 1
40004 { echo "$as_me:$LINENO: checking for pthread_mutexattr_settype declaration" >&5
40005 echo $ECHO_N "checking for pthread_mutexattr_settype declaration... $ECHO_C" >&6; }
40006 if test "${wx_cv_func_pthread_mutexattr_settype_decl+set}" = set; then
40007 echo $ECHO_N "(cached) $ECHO_C" >&6
40010 cat >conftest.
$ac_ext <<_ACEOF
40013 cat confdefs.h
>>conftest.
$ac_ext
40014 cat >>conftest.
$ac_ext <<_ACEOF
40015 /* end confdefs.h. */
40016 #include <pthread.h>
40021 pthread_mutexattr_t attr;
40022 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
40028 rm -f conftest.
$ac_objext
40029 if { (ac_try
="$ac_compile"
40030 case "(($ac_try" in
40031 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
40032 *) ac_try_echo=$ac_try;;
40034 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40035 (eval "$ac_compile") 2>conftest.er1
40037 grep -v '^ *+' conftest.er1 >conftest.err
40039 cat conftest.err >&5
40040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40041 (exit $ac_status); } && {
40042 test -z "$ac_c_werror_flag" ||
40043 test ! -s conftest.err
40044 } && test -s conftest.$ac_objext; then
40045 wx_cv_func_pthread_mutexattr_settype_decl=yes
40047 echo "$as_me: failed program was:" >&5
40048 sed 's/^/| /' conftest.$ac_ext >&5
40050 wx_cv_func_pthread_mutexattr_settype_decl=no
40054 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40057 { echo "$as_me:$LINENO: result: $wx_cv_func_pthread_mutexattr_settype_decl" >&5
40058 echo "${ECHO_T}$wx_cv_func_pthread_mutexattr_settype_decl" >&6; }
40059 if test "$wx_cv_func_pthread_mutexattr_settype_decl" = "yes"; then
40060 cat >>confdefs.h <<\_ACEOF
40061 #define HAVE_PTHREAD_MUTEXATTR_SETTYPE_DECL 1
40066 { echo "$as_me:$LINENO: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
40067 echo $ECHO_N "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER... $ECHO_C" >&6; }
40068 if test "${wx_cv_type_pthread_rec_mutex_init+set}" = set; then
40069 echo $ECHO_N "(cached) $ECHO_C" >&6
40072 cat >conftest.$ac_ext <<_ACEOF
40075 cat confdefs.h >>conftest.$ac_ext
40076 cat >>conftest.$ac_ext <<_ACEOF
40077 /* end confdefs.h. */
40078 #include <pthread.h>
40083 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
40089 rm -f conftest.$ac_objext
40090 if { (ac_try="$ac_compile"
40091 case "(($ac_try" in
40092 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
40093 *) ac_try_echo
=$ac_try;;
40095 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40096 (eval "$ac_compile") 2>conftest.er1
40098 grep -v '^ *+' conftest.er1
>conftest.err
40100 cat conftest.err
>&5
40101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40102 (exit $ac_status); } && {
40103 test -z "$ac_c_werror_flag" ||
40104 test ! -s conftest.err
40105 } && test -s conftest.
$ac_objext; then
40107 wx_cv_type_pthread_rec_mutex_init
=yes
40110 echo "$as_me: failed program was:" >&5
40111 sed 's/^/| /' conftest.
$ac_ext >&5
40114 wx_cv_type_pthread_rec_mutex_init
=no
40119 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
40122 { echo "$as_me:$LINENO: result: $wx_cv_type_pthread_rec_mutex_init" >&5
40123 echo "${ECHO_T}$wx_cv_type_pthread_rec_mutex_init" >&6; }
40124 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
40125 cat >>confdefs.h
<<\_ACEOF
40126 #define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1
40130 { echo "$as_me:$LINENO: WARNING: wxMutex won't be recursive on this platform" >&5
40131 echo "$as_me: WARNING: wxMutex won't be recursive on this platform" >&2;}
40137 if test "$wxUSE_THREADS" = "yes" ; then
40139 x86_64
-*-mingw32* )
40142 { echo "$as_me:$LINENO: checking if compiler supports -mthreads" >&5
40143 echo $ECHO_N "checking if compiler supports -mthreads... $ECHO_C" >&6; }
40144 if test "${wx_cv_cflags_mthread+set}" = set; then
40145 echo $ECHO_N "(cached) $ECHO_C" >&6
40148 CFLAGS_OLD
="$CFLAGS"
40149 CFLAGS
="-mthreads $CFLAGS"
40150 cat >conftest.
$ac_ext <<_ACEOF
40153 cat confdefs.h
>>conftest.
$ac_ext
40154 cat >>conftest.
$ac_ext <<_ACEOF
40155 /* end confdefs.h. */
40165 rm -f conftest.
$ac_objext
40166 if { (ac_try
="$ac_compile"
40167 case "(($ac_try" in
40168 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
40169 *) ac_try_echo=$ac_try;;
40171 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40172 (eval "$ac_compile") 2>conftest.er1
40174 grep -v '^ *+' conftest.er1 >conftest.err
40176 cat conftest.err >&5
40177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40178 (exit $ac_status); } && {
40179 test -z "$ac_c_werror_flag" ||
40180 test ! -s conftest.err
40181 } && test -s conftest.$ac_objext; then
40182 wx_cv_cflags_mthread=yes
40184 echo "$as_me: failed program was:" >&5
40185 sed 's/^/| /' conftest.$ac_ext >&5
40187 wx_cv_cflags_mthread=no
40191 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40195 { echo "$as_me:$LINENO: result: $wx_cv_cflags_mthread" >&5
40196 echo "${ECHO_T}$wx_cv_cflags_mthread" >&6; }
40198 if test "$wx_cv_cflags_mthread" = "yes"; then
40199 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -mthreads"
40200 LDFLAGS="$LDFLAGS -mthreads"
40202 CFLAGS="$CFLAGS_OLD"
40206 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -Zmt -D__ST_MT_ERRNO__"
40207 LDFLAGS="$LDFLAGS -Zmt"
40213 { echo "$as_me:$LINENO: checking for localtime_r" >&5
40214 echo $ECHO_N "checking for localtime_r... $ECHO_C" >&6; }
40215 if test "${ac_cv_func_localtime_r+set}" = set; then
40216 echo $ECHO_N "(cached) $ECHO_C" >&6
40218 cat >conftest.$ac_ext <<_ACEOF
40221 cat confdefs.h >>conftest.$ac_ext
40222 cat >>conftest.$ac_ext <<_ACEOF
40223 /* end confdefs.h. */
40224 /* Define localtime_r to an innocuous variant, in case <limits.h> declares localtime_r.
40225 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40226 #define localtime_r innocuous_localtime_r
40228 /* System header to define __stub macros and hopefully few prototypes,
40229 which can conflict with char localtime_r (); below.
40230 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40231 <limits.h> exists even on freestanding compilers. */
40234 # include <limits.h>
40236 # include <assert.h>
40241 /* Override any GCC internal prototype to avoid an error.
40242 Use char because int might match the return type of a GCC
40243 builtin and then its argument prototype would still apply. */
40247 char localtime_r ();
40248 /* The GNU C library defines this for functions which it implements
40249 to always fail with ENOSYS. Some functions are actually named
40250 something starting with __ and the normal name is an alias. */
40251 #if defined __stub_localtime_r || defined __stub___localtime_r
40258 return localtime_r ();
40263 rm -f conftest.$ac_objext conftest$ac_exeext
40264 if { (ac_try="$ac_link"
40265 case "(($ac_try" in
40266 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
40267 *) ac_try_echo
=$ac_try;;
40269 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40270 (eval "$ac_link") 2>conftest.er1
40272 grep -v '^ *+' conftest.er1
>conftest.err
40274 cat conftest.err
>&5
40275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40276 (exit $ac_status); } && {
40277 test -z "$ac_c_werror_flag" ||
40278 test ! -s conftest.err
40279 } && test -s conftest
$ac_exeext &&
40280 $as_test_x conftest
$ac_exeext; then
40281 ac_cv_func_localtime_r
=yes
40283 echo "$as_me: failed program was:" >&5
40284 sed 's/^/| /' conftest.
$ac_ext >&5
40286 ac_cv_func_localtime_r
=no
40289 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
40290 conftest
$ac_exeext conftest.
$ac_ext
40292 { echo "$as_me:$LINENO: result: $ac_cv_func_localtime_r" >&5
40293 echo "${ECHO_T}$ac_cv_func_localtime_r" >&6; }
40294 if test $ac_cv_func_localtime_r = yes; then
40295 cat >>confdefs.h
<<\_ACEOF
40296 #define HAVE_LOCALTIME_R 1
40301 { echo "$as_me:$LINENO: checking for gmtime_r" >&5
40302 echo $ECHO_N "checking for gmtime_r... $ECHO_C" >&6; }
40303 if test "${ac_cv_func_gmtime_r+set}" = set; then
40304 echo $ECHO_N "(cached) $ECHO_C" >&6
40306 cat >conftest.
$ac_ext <<_ACEOF
40309 cat confdefs.h
>>conftest.
$ac_ext
40310 cat >>conftest.
$ac_ext <<_ACEOF
40311 /* end confdefs.h. */
40312 /* Define gmtime_r to an innocuous variant, in case <limits.h> declares gmtime_r.
40313 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40314 #define gmtime_r innocuous_gmtime_r
40316 /* System header to define __stub macros and hopefully few prototypes,
40317 which can conflict with char gmtime_r (); below.
40318 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40319 <limits.h> exists even on freestanding compilers. */
40322 # include <limits.h>
40324 # include <assert.h>
40329 /* Override any GCC internal prototype to avoid an error.
40330 Use char because int might match the return type of a GCC
40331 builtin and then its argument prototype would still apply. */
40336 /* The GNU C library defines this for functions which it implements
40337 to always fail with ENOSYS. Some functions are actually named
40338 something starting with __ and the normal name is an alias. */
40339 #if defined __stub_gmtime_r || defined __stub___gmtime_r
40346 return gmtime_r ();
40351 rm -f conftest.
$ac_objext conftest
$ac_exeext
40352 if { (ac_try
="$ac_link"
40353 case "(($ac_try" in
40354 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
40355 *) ac_try_echo=$ac_try;;
40357 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40358 (eval "$ac_link") 2>conftest.er1
40360 grep -v '^ *+' conftest.er1 >conftest.err
40362 cat conftest.err >&5
40363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40364 (exit $ac_status); } && {
40365 test -z "$ac_c_werror_flag" ||
40366 test ! -s conftest.err
40367 } && test -s conftest$ac_exeext &&
40368 $as_test_x conftest$ac_exeext; then
40369 ac_cv_func_gmtime_r=yes
40371 echo "$as_me: failed program was:" >&5
40372 sed 's/^/| /' conftest.$ac_ext >&5
40374 ac_cv_func_gmtime_r=no
40377 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40378 conftest$ac_exeext conftest.$ac_ext
40380 { echo "$as_me:$LINENO: result: $ac_cv_func_gmtime_r" >&5
40381 echo "${ECHO_T}$ac_cv_func_gmtime_r" >&6; }
40382 if test $ac_cv_func_gmtime_r = yes; then
40383 cat >>confdefs.h <<\_ACEOF
40384 #define HAVE_GMTIME_R 1
40393 ac_cpp='$CPP $CPPFLAGS'
40394 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40395 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40396 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40398 { echo "$as_me:$LINENO: checking how many arguments gethostbyname_r() takes" >&5
40399 echo $ECHO_N "checking how many arguments gethostbyname_r() takes... $ECHO_C" >&6; }
40401 if test "${ac_cv_func_which_gethostbyname_r+set}" = set; then
40402 echo $ECHO_N "(cached) $ECHO_C" >&6
40406 ################################################################
40408 ac_cv_func_which_gethostbyname_r=unknown
40411 # ONE ARGUMENT (sanity check)
40414 # This should fail, as there is no variant of gethostbyname_r() that takes
40415 # a single argument. If it actually compiles, then we can assume that
40416 # netdb.h is not declaring the function, and the compiler is thereby
40417 # assuming an implicit prototype. In which case, we're out of luck.
40419 cat >conftest.$ac_ext <<_ACEOF
40422 cat confdefs.h >>conftest.$ac_ext
40423 cat >>conftest.$ac_ext <<_ACEOF
40424 /* end confdefs.h. */
40430 char *name = "www.gnu.org";
40431 (void)gethostbyname_r(name) /* ; */
40437 rm -f conftest.$ac_objext
40438 if { (ac_try="$ac_compile"
40439 case "(($ac_try" in
40440 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
40441 *) ac_try_echo
=$ac_try;;
40443 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40444 (eval "$ac_compile") 2>conftest.er1
40446 grep -v '^ *+' conftest.er1
>conftest.err
40448 cat conftest.err
>&5
40449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40450 (exit $ac_status); } && {
40451 test -z "$ac_c_werror_flag" ||
40452 test ! -s conftest.err
40453 } && test -s conftest.
$ac_objext; then
40454 ac_cv_func_which_gethostbyname_r
=no
40456 echo "$as_me: failed program was:" >&5
40457 sed 's/^/| /' conftest.
$ac_ext >&5
40462 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
40469 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
40471 cat >conftest.
$ac_ext <<_ACEOF
40474 cat confdefs.h
>>conftest.
$ac_ext
40475 cat >>conftest.
$ac_ext <<_ACEOF
40476 /* end confdefs.h. */
40482 char *name = "www.gnu.org";
40483 struct hostent ret, *retp;
40487 (void)gethostbyname_r(name, &ret, buf, buflen, &retp, &my_h_errno) /* ; */
40493 rm -f conftest.
$ac_objext
40494 if { (ac_try
="$ac_compile"
40495 case "(($ac_try" in
40496 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
40497 *) ac_try_echo=$ac_try;;
40499 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40500 (eval "$ac_compile") 2>conftest.er1
40502 grep -v '^ *+' conftest.er1 >conftest.err
40504 cat conftest.err >&5
40505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40506 (exit $ac_status); } && {
40507 test -z "$ac_c_werror_flag" ||
40508 test ! -s conftest.err
40509 } && test -s conftest.$ac_objext; then
40510 ac_cv_func_which_gethostbyname_r=six
40512 echo "$as_me: failed program was:" >&5
40513 sed 's/^/| /' conftest.$ac_ext >&5
40518 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40527 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
40529 cat >conftest.$ac_ext <<_ACEOF
40532 cat confdefs.h >>conftest.$ac_ext
40533 cat >>conftest.$ac_ext <<_ACEOF
40534 /* end confdefs.h. */
40540 char *name = "www.gnu.org";
40541 struct hostent ret;
40545 (void)gethostbyname_r(name, &ret, buf, buflen, &my_h_errno) /* ; */
40551 rm -f conftest.$ac_objext
40552 if { (ac_try="$ac_compile"
40553 case "(($ac_try" in
40554 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
40555 *) ac_try_echo
=$ac_try;;
40557 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40558 (eval "$ac_compile") 2>conftest.er1
40560 grep -v '^ *+' conftest.er1
>conftest.err
40562 cat conftest.err
>&5
40563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40564 (exit $ac_status); } && {
40565 test -z "$ac_c_werror_flag" ||
40566 test ! -s conftest.err
40567 } && test -s conftest.
$ac_objext; then
40568 ac_cv_func_which_gethostbyname_r
=five
40570 echo "$as_me: failed program was:" >&5
40571 sed 's/^/| /' conftest.
$ac_ext >&5
40576 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
40582 # (e.g. AIX, HP-UX, Tru64)
40585 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
40587 cat >conftest.
$ac_ext <<_ACEOF
40590 cat confdefs.h
>>conftest.
$ac_ext
40591 cat >>conftest.
$ac_ext <<_ACEOF
40592 /* end confdefs.h. */
40598 char *name = "www.gnu.org";
40599 struct hostent ret;
40600 struct hostent_data data;
40601 (void)gethostbyname_r(name, &ret, &data) /* ; */
40607 rm -f conftest.
$ac_objext
40608 if { (ac_try
="$ac_compile"
40609 case "(($ac_try" in
40610 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
40611 *) ac_try_echo=$ac_try;;
40613 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40614 (eval "$ac_compile") 2>conftest.er1
40616 grep -v '^ *+' conftest.er1 >conftest.err
40618 cat conftest.err >&5
40619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40620 (exit $ac_status); } && {
40621 test -z "$ac_c_werror_flag" ||
40622 test ! -s conftest.err
40623 } && test -s conftest.$ac_objext; then
40624 ac_cv_func_which_gethostbyname_r=three
40626 echo "$as_me: failed program was:" >&5
40627 sed 's/^/| /' conftest.$ac_ext >&5
40632 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40636 ################################################################
40641 case "$ac_cv_func_which_gethostbyname_r" in
40643 { echo "$as_me:$LINENO: result: three" >&5
40644 echo "${ECHO_T}three" >&6; }
40645 cat >>confdefs.h <<\_ACEOF
40646 #define HAVE_FUNC_GETHOSTBYNAME_R_3 1
40652 { echo "$as_me:$LINENO: result: five" >&5
40653 echo "${ECHO_T}five" >&6; }
40654 cat >>confdefs.h <<\_ACEOF
40655 #define HAVE_FUNC_GETHOSTBYNAME_R_5 1
40661 { echo "$as_me:$LINENO: result: six" >&5
40662 echo "${ECHO_T}six" >&6; }
40663 cat >>confdefs.h <<\_ACEOF
40664 #define HAVE_FUNC_GETHOSTBYNAME_R_6 1
40670 { echo "$as_me:$LINENO: result: cannot find function declaration in netdb.h" >&5
40671 echo "${ECHO_T}cannot find function declaration in netdb.h" >&6; }
40675 { echo "$as_me:$LINENO: result: can't tell" >&5
40676 echo "${ECHO_T}can't tell" >&6; }
40680 { { echo "$as_me:$LINENO: error: internal error" >&5
40681 echo "$as_me: error: internal error" >&2;}
40682 { (exit 1); exit 1; }; }
40687 ac_cpp='$CPP $CPPFLAGS'
40688 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40689 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40690 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40694 if test "x$ac_cv_func_which_gethostbyname_r" = "xno" -o \
40695 "x$ac_cv_func_which_gethostbyname_r" = "xunknown" ; then
40696 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
40697 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
40698 if test "${ac_cv_func_gethostbyname+set}" = set; then
40699 echo $ECHO_N "(cached) $ECHO_C" >&6
40701 cat >conftest.$ac_ext <<_ACEOF
40704 cat confdefs.h >>conftest.$ac_ext
40705 cat >>conftest.$ac_ext <<_ACEOF
40706 /* end confdefs.h. */
40707 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
40708 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40709 #define gethostbyname innocuous_gethostbyname
40711 /* System header to define __stub macros and hopefully few prototypes,
40712 which can conflict with char gethostbyname (); below.
40713 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40714 <limits.h> exists even on freestanding compilers. */
40717 # include <limits.h>
40719 # include <assert.h>
40722 #undef gethostbyname
40724 /* Override any GCC internal prototype to avoid an error.
40725 Use char because int might match the return type of a GCC
40726 builtin and then its argument prototype would still apply. */
40730 char gethostbyname ();
40731 /* The GNU C library defines this for functions which it implements
40732 to always fail with ENOSYS. Some functions are actually named
40733 something starting with __ and the normal name is an alias. */
40734 #if defined __stub_gethostbyname || defined __stub___gethostbyname
40741 return gethostbyname ();
40746 rm -f conftest.$ac_objext conftest$ac_exeext
40747 if { (ac_try="$ac_link"
40748 case "(($ac_try" in
40749 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
40750 *) ac_try_echo
=$ac_try;;
40752 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40753 (eval "$ac_link") 2>conftest.er1
40755 grep -v '^ *+' conftest.er1
>conftest.err
40757 cat conftest.err
>&5
40758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40759 (exit $ac_status); } && {
40760 test -z "$ac_c_werror_flag" ||
40761 test ! -s conftest.err
40762 } && test -s conftest
$ac_exeext &&
40763 $as_test_x conftest
$ac_exeext; then
40764 ac_cv_func_gethostbyname
=yes
40766 echo "$as_me: failed program was:" >&5
40767 sed 's/^/| /' conftest.
$ac_ext >&5
40769 ac_cv_func_gethostbyname
=no
40772 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
40773 conftest
$ac_exeext conftest.
$ac_ext
40775 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
40776 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
40777 if test $ac_cv_func_gethostbyname = yes; then
40778 cat >>confdefs.h
<<\_ACEOF
40779 #define HAVE_GETHOSTBYNAME 1
40786 { echo "$as_me:$LINENO: checking how many arguments getservbyname_r() takes" >&5
40787 echo $ECHO_N "checking how many arguments getservbyname_r() takes... $ECHO_C" >&6; }
40788 if test "${ac_cv_func_which_getservbyname_r+set}" = set; then
40789 echo $ECHO_N "(cached) $ECHO_C" >&6
40793 ac_cpp
='$CXXCPP $CPPFLAGS'
40794 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40795 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40796 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
40799 cat >conftest.
$ac_ext <<_ACEOF
40802 cat confdefs.h
>>conftest.
$ac_ext
40803 cat >>conftest.
$ac_ext <<_ACEOF
40804 /* end confdefs.h. */
40812 struct servent *se, *res;
40815 (void) getservbyname_r(name, proto, se, buffer, buflen, &res)
40821 rm -f conftest.
$ac_objext
40822 if { (ac_try
="$ac_compile"
40823 case "(($ac_try" in
40824 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
40825 *) ac_try_echo=$ac_try;;
40827 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40828 (eval "$ac_compile") 2>conftest.er1
40830 grep -v '^ *+' conftest.er1 >conftest.err
40832 cat conftest.err >&5
40833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40834 (exit $ac_status); } && {
40835 test -z "$ac_cxx_werror_flag" ||
40836 test ! -s conftest.err
40837 } && test -s conftest.$ac_objext; then
40838 ac_cv_func_which_getservbyname_r=six
40840 echo "$as_me: failed program was:" >&5
40841 sed 's/^/| /' conftest.$ac_ext >&5
40844 cat >conftest.$ac_ext <<_ACEOF
40847 cat confdefs.h >>conftest.$ac_ext
40848 cat >>conftest.$ac_ext <<_ACEOF
40849 /* end confdefs.h. */
40857 struct servent *se;
40860 (void) getservbyname_r(name, proto, se, buffer, buflen)
40866 rm -f conftest.$ac_objext
40867 if { (ac_try="$ac_compile"
40868 case "(($ac_try" in
40869 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
40870 *) ac_try_echo
=$ac_try;;
40872 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40873 (eval "$ac_compile") 2>conftest.er1
40875 grep -v '^ *+' conftest.er1
>conftest.err
40877 cat conftest.err
>&5
40878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40879 (exit $ac_status); } && {
40880 test -z "$ac_cxx_werror_flag" ||
40881 test ! -s conftest.err
40882 } && test -s conftest.
$ac_objext; then
40883 ac_cv_func_which_getservbyname_r
=five
40885 echo "$as_me: failed program was:" >&5
40886 sed 's/^/| /' conftest.
$ac_ext >&5
40889 cat >conftest.
$ac_ext <<_ACEOF
40892 cat confdefs.h
>>conftest.
$ac_ext
40893 cat >>conftest.
$ac_ext <<_ACEOF
40894 /* end confdefs.h. */
40902 struct servent *se;
40903 struct servent_data data;
40904 (void) getservbyname_r(name, proto, se, &data);
40910 rm -f conftest.
$ac_objext
40911 if { (ac_try
="$ac_compile"
40912 case "(($ac_try" in
40913 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
40914 *) ac_try_echo=$ac_try;;
40916 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40917 (eval "$ac_compile") 2>conftest.er1
40919 grep -v '^ *+' conftest.er1 >conftest.err
40921 cat conftest.err >&5
40922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40923 (exit $ac_status); } && {
40924 test -z "$ac_cxx_werror_flag" ||
40925 test ! -s conftest.err
40926 } && test -s conftest.$ac_objext; then
40927 ac_cv_func_which_getservbyname_r=four
40929 echo "$as_me: failed program was:" >&5
40930 sed 's/^/| /' conftest.$ac_ext >&5
40932 ac_cv_func_which_getservbyname_r=no
40936 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40941 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40946 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40948 ac_cpp='$CPP $CPPFLAGS'
40949 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40950 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40951 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40956 { echo "$as_me:$LINENO: result: $ac_cv_func_which_getservbyname_r" >&5
40957 echo "${ECHO_T}$ac_cv_func_which_getservbyname_r" >&6; }
40959 if test $ac_cv_func_which_getservbyname_r = six; then
40960 cat >>confdefs.h <<\_ACEOF
40961 #define HAVE_FUNC_GETSERVBYNAME_R_6 1
40964 elif test $ac_cv_func_which_getservbyname_r = five; then
40965 cat >>confdefs.h <<\_ACEOF
40966 #define HAVE_FUNC_GETSERVBYNAME_R_5 1
40969 elif test $ac_cv_func_which_getservbyname_r = four; then
40970 cat >>confdefs.h <<\_ACEOF
40971 #define HAVE_FUNC_GETSERVBYNAME_R_4 1
40977 if test "x$ac_cv_func_which_getservbyname_r" = "xno" -o \
40978 "x$ac_cv_func_which_getservbyname_r" = "xunknown" ; then
40980 for ac_func in getservbyname
40982 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40983 { echo "$as_me:$LINENO: checking for $ac_func" >&5
40984 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
40985 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
40986 echo $ECHO_N "(cached) $ECHO_C" >&6
40988 cat >conftest.$ac_ext <<_ACEOF
40991 cat confdefs.h >>conftest.$ac_ext
40992 cat >>conftest.$ac_ext <<_ACEOF
40993 /* end confdefs.h. */
40994 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40995 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40996 #define $ac_func innocuous_$ac_func
40998 /* System header to define __stub macros and hopefully few prototypes,
40999 which can conflict with char $ac_func (); below.
41000 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41001 <limits.h> exists even on freestanding compilers. */
41004 # include <limits.h>
41006 # include <assert.h>
41011 /* Override any GCC internal prototype to avoid an error.
41012 Use char because int might match the return type of a GCC
41013 builtin and then its argument prototype would still apply. */
41018 /* The GNU C library defines this for functions which it implements
41019 to always fail with ENOSYS. Some functions are actually named
41020 something starting with __ and the normal name is an alias. */
41021 #if defined __stub_$ac_func || defined __stub___$ac_func
41028 return $ac_func ();
41033 rm -f conftest.$ac_objext conftest$ac_exeext
41034 if { (ac_try="$ac_link"
41035 case "(($ac_try" in
41036 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
41037 *) ac_try_echo
=$ac_try;;
41039 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41040 (eval "$ac_link") 2>conftest.er1
41042 grep -v '^ *+' conftest.er1
>conftest.err
41044 cat conftest.err
>&5
41045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41046 (exit $ac_status); } && {
41047 test -z "$ac_c_werror_flag" ||
41048 test ! -s conftest.err
41049 } && test -s conftest
$ac_exeext &&
41050 $as_test_x conftest
$ac_exeext; then
41051 eval "$as_ac_var=yes"
41053 echo "$as_me: failed program was:" >&5
41054 sed 's/^/| /' conftest.
$ac_ext >&5
41056 eval "$as_ac_var=no"
41059 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
41060 conftest
$ac_exeext conftest.
$ac_ext
41062 ac_res
=`eval echo '${'$as_ac_var'}'`
41063 { echo "$as_me:$LINENO: result: $ac_res" >&5
41064 echo "${ECHO_T}$ac_res" >&6; }
41065 if test `eval echo '${'$as_ac_var'}'` = yes; then
41066 cat >>confdefs.h
<<_ACEOF
41067 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41069 cat >>confdefs.h
<<\_ACEOF
41070 #define HAVE_GETSERVBYNAME 1
41078 if test "$wxUSE_THREADS" = "yes"; then
41079 cat >>confdefs.h
<<\_ACEOF
41080 #define wxUSE_THREADS 1
41084 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS thread"
41086 if test "$wx_cv_func_strtok_r" = "yes"; then
41087 { echo "$as_me:$LINENO: checking if -D_REENTRANT is needed" >&5
41088 echo $ECHO_N "checking if -D_REENTRANT is needed... $ECHO_C" >&6; }
41089 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
41090 WXCONFIG_CPPFLAGS
="$WXCONFIG_CPPFLAGS -D_REENTRANT"
41091 { echo "$as_me:$LINENO: result: yes" >&5
41092 echo "${ECHO_T}yes" >&6; }
41094 { echo "$as_me:$LINENO: result: no" >&5
41095 echo "${ECHO_T}no" >&6; }
41100 if test "$WXGTK2" = 1 ; then
41101 cat >>confdefs.h
<<_ACEOF
41102 #define __WXGTK20__ $WXGTK2
41108 if test "$WXGTK12" = 1 ; then
41109 cat >>confdefs.h
<<_ACEOF
41110 #define __WXGTK12__ $WXGTK12
41115 if test "$WXGTK127" = 1 ; then
41116 cat >>confdefs.h
<<_ACEOF
41117 #define __WXGTK127__ $WXGTK127
41122 if test "$WXGPE" = 1 ; then
41123 cat >>confdefs.h
<<_ACEOF
41124 #define __WXGPE__ $WXGPE
41130 if test "$wxUSE_DEBUG_INFO" = "yes" ; then
41135 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
41136 wxUSE_DEBUG_INFO
=yes
41137 if test "$GCC" = yes; then
41138 DEBUG_CFLAGS
="-ggdb"
41142 if test "$wxUSE_DEBUG_FLAG" = "yes" ; then
41143 cat >>confdefs.h
<<\_ACEOF
41147 WXCONFIG_CPPFLAGS
="$WXCONFIG_CPPFLAGS -D__WXDEBUG__"
41149 if test "$wxUSE_GTK" = 1 ; then
41150 if test "x$wxGTK_VERSION" = "x1" ; then
41151 CPPFLAGS
="-DGTK_NO_CHECK_CASTS $CPPFLAGS"
41156 if test "$wxUSE_MEM_TRACING" = "yes" ; then
41157 cat >>confdefs.h
<<\_ACEOF
41158 #define wxUSE_MEMORY_TRACING 1
41161 cat >>confdefs.h
<<\_ACEOF
41162 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
41165 cat >>confdefs.h
<<\_ACEOF
41166 #define wxUSE_DEBUG_NEW_ALWAYS 1
41169 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS memcheck"
41172 if test "$wxUSE_DMALLOC" = "yes" ; then
41173 DMALLOC_LIBS
="-ldmallocthcxx"
41177 if test "$wxUSE_PROFILE" = "yes" ; then
41178 PROFILE_FLAGS
=" -pg"
41181 if test "$GCC" = "yes" ; then
41182 if test "$wxUSE_NO_RTTI" = "yes" ; then
41183 WXCONFIG_CXXFLAGS
="$WXCONFIG_CXXFLAGS -fno-rtti"
41185 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
41186 WXCONFIG_CXXFLAGS
="$WXCONFIG_CXXFLAGS -fno-exceptions"
41188 if test "$wxUSE_PERMISSIVE" = "yes" ; then
41189 WXCONFIG_CFLAGS
="$WXCONFIG_CFLAGS -fpermissive"
41194 WXCONFIG_CFLAGS
="$WXCONFIG_CFLAGS -mminimal-toc"
41197 WXCONFIG_CFLAGS
="$WXCONFIG_CFLAGS -ffunction-sections"
41203 if test "$wxUSE_OPTIMISE" = "no" ; then
41204 if test "$GCC" = yes ; then
41205 OPTIMISE_CFLAGS
="-O0"
41208 if test "$GCC" = yes ; then
41210 *-pc-os2_emx | *-pc-os2-emx )
41211 OPTIMISE_CFLAGS
="-O2"
41214 OPTIMISE_CFLAGS
="-O2 -fno-strict-aliasing"
41218 OPTIMISE_CFLAGS
="-O"
41223 if test "x$WXWIN_COMPATIBILITY_2_6" = "xyes"; then
41224 cat >>confdefs.h
<<\_ACEOF
41225 #define WXWIN_COMPATIBILITY_2_6 1
41229 WXWIN_COMPATIBILITY_2_8
="yes"
41232 if test "x$WXWIN_COMPATIBILITY_2_8" != "xno"; then
41233 cat >>confdefs.h
<<\_ACEOF
41234 #define WXWIN_COMPATIBILITY_2_8 1
41240 if test "$wxUSE_GUI" = "yes"; then
41241 cat >>confdefs.h
<<\_ACEOF
41242 #define wxUSE_GUI 1
41249 if test "$wxUSE_UNIX" = "yes"; then
41250 cat >>confdefs.h
<<\_ACEOF
41251 #define wxUSE_UNIX 1
41257 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
41261 if test "$wxUSE_DYNAMIC_LOADER" = "yes" -o "$wxUSE_DYNLIB_CLASS" = "yes" ; then
41262 if test "$USE_DOS" = 1; then
41266 for ac_func
in dlopen
41268 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41269 { echo "$as_me:$LINENO: checking for $ac_func" >&5
41270 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
41271 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
41272 echo $ECHO_N "(cached) $ECHO_C" >&6
41274 cat >conftest.
$ac_ext <<_ACEOF
41277 cat confdefs.h
>>conftest.
$ac_ext
41278 cat >>conftest.
$ac_ext <<_ACEOF
41279 /* end confdefs.h. */
41280 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41281 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41282 #define $ac_func innocuous_$ac_func
41284 /* System header to define __stub macros and hopefully few prototypes,
41285 which can conflict with char $ac_func (); below.
41286 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41287 <limits.h> exists even on freestanding compilers. */
41290 # include <limits.h>
41292 # include <assert.h>
41297 /* Override any GCC internal prototype to avoid an error.
41298 Use char because int might match the return type of a GCC
41299 builtin and then its argument prototype would still apply. */
41304 /* The GNU C library defines this for functions which it implements
41305 to always fail with ENOSYS. Some functions are actually named
41306 something starting with __ and the normal name is an alias. */
41307 #if defined __stub_$ac_func || defined __stub___$ac_func
41314 return $ac_func ();
41319 rm -f conftest.
$ac_objext conftest
$ac_exeext
41320 if { (ac_try
="$ac_link"
41321 case "(($ac_try" in
41322 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
41323 *) ac_try_echo=$ac_try;;
41325 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41326 (eval "$ac_link") 2>conftest.er1
41328 grep -v '^ *+' conftest.er1 >conftest.err
41330 cat conftest.err >&5
41331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41332 (exit $ac_status); } && {
41333 test -z "$ac_c_werror_flag" ||
41334 test ! -s conftest.err
41335 } && test -s conftest$ac_exeext &&
41336 $as_test_x conftest$ac_exeext; then
41337 eval "$as_ac_var=yes"
41339 echo "$as_me: failed program was:" >&5
41340 sed 's/^/| /' conftest.$ac_ext >&5
41342 eval "$as_ac_var=no"
41345 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41346 conftest$ac_exeext conftest.$ac_ext
41348 ac_res=`eval echo '${'$as_ac_var'}'`
41349 { echo "$as_me:$LINENO: result: $ac_res" >&5
41350 echo "${ECHO_T}$ac_res" >&6; }
41351 if test `eval echo '${'$as_ac_var'}'` = yes; then
41352 cat >>confdefs.h <<_ACEOF
41353 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41356 cat >>confdefs.h <<\_ACEOF
41357 #define HAVE_DLOPEN 1
41364 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
41365 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
41366 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
41367 echo $ECHO_N "(cached) $ECHO_C" >&6
41369 ac_check_lib_save_LIBS=$LIBS
41371 cat >conftest.$ac_ext <<_ACEOF
41374 cat confdefs.h >>conftest.$ac_ext
41375 cat >>conftest.$ac_ext <<_ACEOF
41376 /* end confdefs.h. */
41378 /* Override any GCC internal prototype to avoid an error.
41379 Use char because int might match the return type of a GCC
41380 builtin and then its argument prototype would still apply. */
41393 rm -f conftest.$ac_objext conftest$ac_exeext
41394 if { (ac_try="$ac_link"
41395 case "(($ac_try" in
41396 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
41397 *) ac_try_echo
=$ac_try;;
41399 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41400 (eval "$ac_link") 2>conftest.er1
41402 grep -v '^ *+' conftest.er1
>conftest.err
41404 cat conftest.err
>&5
41405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41406 (exit $ac_status); } && {
41407 test -z "$ac_c_werror_flag" ||
41408 test ! -s conftest.err
41409 } && test -s conftest
$ac_exeext &&
41410 $as_test_x conftest
$ac_exeext; then
41411 ac_cv_lib_dl_dlopen
=yes
41413 echo "$as_me: failed program was:" >&5
41414 sed 's/^/| /' conftest.
$ac_ext >&5
41416 ac_cv_lib_dl_dlopen
=no
41419 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
41420 conftest
$ac_exeext conftest.
$ac_ext
41421 LIBS
=$ac_check_lib_save_LIBS
41423 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
41424 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
41425 if test $ac_cv_lib_dl_dlopen = yes; then
41427 cat >>confdefs.h
<<\_ACEOF
41428 #define HAVE_DLOPEN 1
41432 DL_LINK
=" -ldl$DL_LINK"
41437 for ac_func
in shl_load
41439 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41440 { echo "$as_me:$LINENO: checking for $ac_func" >&5
41441 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
41442 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
41443 echo $ECHO_N "(cached) $ECHO_C" >&6
41445 cat >conftest.
$ac_ext <<_ACEOF
41448 cat confdefs.h
>>conftest.
$ac_ext
41449 cat >>conftest.
$ac_ext <<_ACEOF
41450 /* end confdefs.h. */
41451 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41452 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41453 #define $ac_func innocuous_$ac_func
41455 /* System header to define __stub macros and hopefully few prototypes,
41456 which can conflict with char $ac_func (); below.
41457 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41458 <limits.h> exists even on freestanding compilers. */
41461 # include <limits.h>
41463 # include <assert.h>
41468 /* Override any GCC internal prototype to avoid an error.
41469 Use char because int might match the return type of a GCC
41470 builtin and then its argument prototype would still apply. */
41475 /* The GNU C library defines this for functions which it implements
41476 to always fail with ENOSYS. Some functions are actually named
41477 something starting with __ and the normal name is an alias. */
41478 #if defined __stub_$ac_func || defined __stub___$ac_func
41485 return $ac_func ();
41490 rm -f conftest.
$ac_objext conftest
$ac_exeext
41491 if { (ac_try
="$ac_link"
41492 case "(($ac_try" in
41493 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
41494 *) ac_try_echo=$ac_try;;
41496 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41497 (eval "$ac_link") 2>conftest.er1
41499 grep -v '^ *+' conftest.er1 >conftest.err
41501 cat conftest.err >&5
41502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41503 (exit $ac_status); } && {
41504 test -z "$ac_c_werror_flag" ||
41505 test ! -s conftest.err
41506 } && test -s conftest$ac_exeext &&
41507 $as_test_x conftest$ac_exeext; then
41508 eval "$as_ac_var=yes"
41510 echo "$as_me: failed program was:" >&5
41511 sed 's/^/| /' conftest.$ac_ext >&5
41513 eval "$as_ac_var=no"
41516 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41517 conftest$ac_exeext conftest.$ac_ext
41519 ac_res=`eval echo '${'$as_ac_var'}'`
41520 { echo "$as_me:$LINENO: result: $ac_res" >&5
41521 echo "${ECHO_T}$ac_res" >&6; }
41522 if test `eval echo '${'$as_ac_var'}'` = yes; then
41523 cat >>confdefs.h <<_ACEOF
41524 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41527 cat >>confdefs.h <<\_ACEOF
41528 #define HAVE_SHL_LOAD 1
41535 { echo "$as_me:$LINENO: checking for dld in -lshl_load" >&5
41536 echo $ECHO_N "checking for dld in -lshl_load... $ECHO_C" >&6; }
41537 if test "${ac_cv_lib_shl_load_dld+set}" = set; then
41538 echo $ECHO_N "(cached) $ECHO_C" >&6
41540 ac_check_lib_save_LIBS=$LIBS
41541 LIBS="-lshl_load $LIBS"
41542 cat >conftest.$ac_ext <<_ACEOF
41545 cat confdefs.h >>conftest.$ac_ext
41546 cat >>conftest.$ac_ext <<_ACEOF
41547 /* end confdefs.h. */
41549 /* Override any GCC internal prototype to avoid an error.
41550 Use char because int might match the return type of a GCC
41551 builtin and then its argument prototype would still apply. */
41564 rm -f conftest.$ac_objext conftest$ac_exeext
41565 if { (ac_try="$ac_link"
41566 case "(($ac_try" in
41567 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
41568 *) ac_try_echo
=$ac_try;;
41570 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41571 (eval "$ac_link") 2>conftest.er1
41573 grep -v '^ *+' conftest.er1
>conftest.err
41575 cat conftest.err
>&5
41576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41577 (exit $ac_status); } && {
41578 test -z "$ac_c_werror_flag" ||
41579 test ! -s conftest.err
41580 } && test -s conftest
$ac_exeext &&
41581 $as_test_x conftest
$ac_exeext; then
41582 ac_cv_lib_shl_load_dld
=yes
41584 echo "$as_me: failed program was:" >&5
41585 sed 's/^/| /' conftest.
$ac_ext >&5
41587 ac_cv_lib_shl_load_dld
=no
41590 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
41591 conftest
$ac_exeext conftest.
$ac_ext
41592 LIBS
=$ac_check_lib_save_LIBS
41594 { echo "$as_me:$LINENO: result: $ac_cv_lib_shl_load_dld" >&5
41595 echo "${ECHO_T}$ac_cv_lib_shl_load_dld" >&6; }
41596 if test $ac_cv_lib_shl_load_dld = yes; then
41599 DL_LINK
=" -ldld$DL_LINK"
41615 if test "$HAVE_DL_FUNCS" = 1; then
41617 for ac_func
in dlerror
41619 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41620 { echo "$as_me:$LINENO: checking for $ac_func" >&5
41621 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
41622 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
41623 echo $ECHO_N "(cached) $ECHO_C" >&6
41625 cat >conftest.
$ac_ext <<_ACEOF
41628 cat confdefs.h
>>conftest.
$ac_ext
41629 cat >>conftest.
$ac_ext <<_ACEOF
41630 /* end confdefs.h. */
41631 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41632 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41633 #define $ac_func innocuous_$ac_func
41635 /* System header to define __stub macros and hopefully few prototypes,
41636 which can conflict with char $ac_func (); below.
41637 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41638 <limits.h> exists even on freestanding compilers. */
41641 # include <limits.h>
41643 # include <assert.h>
41648 /* Override any GCC internal prototype to avoid an error.
41649 Use char because int might match the return type of a GCC
41650 builtin and then its argument prototype would still apply. */
41655 /* The GNU C library defines this for functions which it implements
41656 to always fail with ENOSYS. Some functions are actually named
41657 something starting with __ and the normal name is an alias. */
41658 #if defined __stub_$ac_func || defined __stub___$ac_func
41665 return $ac_func ();
41670 rm -f conftest.
$ac_objext conftest
$ac_exeext
41671 if { (ac_try
="$ac_link"
41672 case "(($ac_try" in
41673 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
41674 *) ac_try_echo=$ac_try;;
41676 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41677 (eval "$ac_link") 2>conftest.er1
41679 grep -v '^ *+' conftest.er1 >conftest.err
41681 cat conftest.err >&5
41682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41683 (exit $ac_status); } && {
41684 test -z "$ac_c_werror_flag" ||
41685 test ! -s conftest.err
41686 } && test -s conftest$ac_exeext &&
41687 $as_test_x conftest$ac_exeext; then
41688 eval "$as_ac_var=yes"
41690 echo "$as_me: failed program was:" >&5
41691 sed 's/^/| /' conftest.$ac_ext >&5
41693 eval "$as_ac_var=no"
41696 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41697 conftest$ac_exeext conftest.$ac_ext
41699 ac_res=`eval echo '${'$as_ac_var'}'`
41700 { echo "$as_me:$LINENO: result: $ac_res" >&5
41701 echo "${ECHO_T}$ac_res" >&6; }
41702 if test `eval echo '${'$as_ac_var'}'` = yes; then
41703 cat >>confdefs.h <<_ACEOF
41704 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41706 cat >>confdefs.h <<\_ACEOF
41707 #define HAVE_DLERROR 1
41712 { echo "$as_me:$LINENO: checking for dlerror in -ldl" >&5
41713 echo $ECHO_N "checking for dlerror in -ldl... $ECHO_C" >&6; }
41714 if test "${ac_cv_lib_dl_dlerror+set}" = set; then
41715 echo $ECHO_N "(cached) $ECHO_C" >&6
41717 ac_check_lib_save_LIBS=$LIBS
41719 cat >conftest.$ac_ext <<_ACEOF
41722 cat confdefs.h >>conftest.$ac_ext
41723 cat >>conftest.$ac_ext <<_ACEOF
41724 /* end confdefs.h. */
41726 /* Override any GCC internal prototype to avoid an error.
41727 Use char because int might match the return type of a GCC
41728 builtin and then its argument prototype would still apply. */
41741 rm -f conftest.$ac_objext conftest$ac_exeext
41742 if { (ac_try="$ac_link"
41743 case "(($ac_try" in
41744 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
41745 *) ac_try_echo
=$ac_try;;
41747 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41748 (eval "$ac_link") 2>conftest.er1
41750 grep -v '^ *+' conftest.er1
>conftest.err
41752 cat conftest.err
>&5
41753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41754 (exit $ac_status); } && {
41755 test -z "$ac_c_werror_flag" ||
41756 test ! -s conftest.err
41757 } && test -s conftest
$ac_exeext &&
41758 $as_test_x conftest
$ac_exeext; then
41759 ac_cv_lib_dl_dlerror
=yes
41761 echo "$as_me: failed program was:" >&5
41762 sed 's/^/| /' conftest.
$ac_ext >&5
41764 ac_cv_lib_dl_dlerror
=no
41767 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
41768 conftest
$ac_exeext conftest.
$ac_ext
41769 LIBS
=$ac_check_lib_save_LIBS
41771 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlerror" >&5
41772 echo "${ECHO_T}$ac_cv_lib_dl_dlerror" >&6; }
41773 if test $ac_cv_lib_dl_dlerror = yes; then
41774 cat >>confdefs.h
<<\_ACEOF
41775 #define HAVE_DLERROR 1
41788 if test "$USE_DARWIN" = 1; then
41792 if test "$HAVE_DL_FUNCS" = 0; then
41793 if test "$HAVE_SHL_FUNCS" = 0; then
41794 if test "$USE_UNIX" = 1 -o "$USE_DOS" = 1; then
41795 { echo "$as_me:$LINENO: WARNING: Missing dynamic loading support, several features will be disabled" >&5
41796 echo "$as_me: WARNING: Missing dynamic loading support, several features will be disabled" >&2;}
41797 wxUSE_DYNAMIC_LOADER
=no
41798 wxUSE_DYNLIB_CLASS
=no
41800 { echo "$as_me:$LINENO: WARNING: Assuming wxLibrary class works on this platform" >&5
41801 echo "$as_me: WARNING: Assuming wxLibrary class works on this platform" >&2;}
41808 if test "$wxUSE_DYNAMIC_LOADER" = "yes" ; then
41809 cat >>confdefs.h
<<\_ACEOF
41810 #define wxUSE_DYNAMIC_LOADER 1
41814 if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
41815 cat >>confdefs.h
<<\_ACEOF
41816 #define wxUSE_DYNLIB_CLASS 1
41823 if test "$wxUSE_PLUGINS" = "yes" ; then
41824 if test "$wxUSE_SHARED" = "no" ; then
41825 { echo "$as_me:$LINENO: WARNING: plugins supported only in shared build, disabling" >&5
41826 echo "$as_me: WARNING: plugins supported only in shared build, disabling" >&2;}
41829 if test "$wxUSE_MONOLITHIC" = "yes" ; then
41830 { echo "$as_me:$LINENO: WARNING: plugins not supported monolithic build, disabling" >&5
41831 echo "$as_me: WARNING: plugins not supported monolithic build, disabling" >&2;}
41834 if test "$wxUSE_DYNLIB_CLASS" = "no" ; then
41835 { echo "$as_me:$LINENO: WARNING: plugins require wxDynamicLibrary, disabling" >&5
41836 echo "$as_me: WARNING: plugins require wxDynamicLibrary, disabling" >&2;}
41839 if test "$wxUSE_PLUGINS" = "yes" ; then
41840 cat >>confdefs.h
<<\_ACEOF
41841 #define wxUSE_PLUGINS 1
41848 if test "$wxUSE_STL" = "yes"; then
41849 cat >>confdefs.h
<<\_ACEOF
41850 #define wxUSE_STL 1
41855 if test "$wxUSE_EXTENDED_RTTI" = "yes"; then
41856 cat >>confdefs.h
<<\_ACEOF
41857 #define wxUSE_EXTENDED_RTTI 1
41862 if test "$wxUSE_APPLE_IEEE" = "yes"; then
41863 cat >>confdefs.h
<<\_ACEOF
41864 #define wxUSE_APPLE_IEEE 1
41869 if test "$wxUSE_TIMER" = "yes"; then
41870 cat >>confdefs.h
<<\_ACEOF
41871 #define wxUSE_TIMER 1
41876 if test "$USE_UNIX" = 1 ; then
41877 if test "$wxUSE_MGL" != 1; then
41878 { echo "$as_me:$LINENO: checking for SNDCTL_DSP_SPEED in sys/soundcard.h" >&5
41879 echo $ECHO_N "checking for SNDCTL_DSP_SPEED in sys/soundcard.h... $ECHO_C" >&6; }
41880 if test "${ac_cv_header_sys_soundcard+set}" = set; then
41881 echo $ECHO_N "(cached) $ECHO_C" >&6
41884 cat >conftest.
$ac_ext <<_ACEOF
41887 cat confdefs.h
>>conftest.
$ac_ext
41888 cat >>conftest.
$ac_ext <<_ACEOF
41889 /* end confdefs.h. */
41891 #include <sys/ioctl.h>
41892 #include <sys/soundcard.h>
41898 ioctl(0, SNDCTL_DSP_SPEED, 0);
41904 rm -f conftest.
$ac_objext conftest
$ac_exeext
41905 if { (ac_try
="$ac_link"
41906 case "(($ac_try" in
41907 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
41908 *) ac_try_echo=$ac_try;;
41910 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41911 (eval "$ac_link") 2>conftest.er1
41913 grep -v '^ *+' conftest.er1 >conftest.err
41915 cat conftest.err >&5
41916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41917 (exit $ac_status); } && {
41918 test -z "$ac_c_werror_flag" ||
41919 test ! -s conftest.err
41920 } && test -s conftest$ac_exeext &&
41921 $as_test_x conftest$ac_exeext; then
41922 ac_cv_header_sys_soundcard=yes
41924 echo "$as_me: failed program was:" >&5
41925 sed 's/^/| /' conftest.$ac_ext >&5
41929 LIBS="$saveLibs -lossaudio"
41930 cat >conftest.$ac_ext <<_ACEOF
41933 cat confdefs.h >>conftest.$ac_ext
41934 cat >>conftest.$ac_ext <<_ACEOF
41935 /* end confdefs.h. */
41937 #include <sys/ioctl.h>
41938 #include <sys/soundcard.h>
41944 ioctl(0, SNDCTL_DSP_SPEED, 0);
41950 rm -f conftest.$ac_objext conftest$ac_exeext
41951 if { (ac_try="$ac_link"
41952 case "(($ac_try" in
41953 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
41954 *) ac_try_echo
=$ac_try;;
41956 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41957 (eval "$ac_link") 2>conftest.er1
41959 grep -v '^ *+' conftest.er1
>conftest.err
41961 cat conftest.err
>&5
41962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41963 (exit $ac_status); } && {
41964 test -z "$ac_c_werror_flag" ||
41965 test ! -s conftest.err
41966 } && test -s conftest
$ac_exeext &&
41967 $as_test_x conftest
$ac_exeext; then
41968 ac_cv_header_sys_soundcard
=yes
41970 echo "$as_me: failed program was:" >&5
41971 sed 's/^/| /' conftest.
$ac_ext >&5
41975 ac_cv_header_sys_soundcard
=no
41980 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
41981 conftest
$ac_exeext conftest.
$ac_ext
41986 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
41987 conftest
$ac_exeext conftest.
$ac_ext
41990 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_soundcard" >&5
41991 echo "${ECHO_T}$ac_cv_header_sys_soundcard" >&6; }
41994 if test "$ac_cv_header_sys_soundcard" = "yes"; then
41995 cat >>confdefs.h
<<\_ACEOF
41996 #define HAVE_SYS_SOUNDCARD_H 1
42003 if test "$wxUSE_SOUND" = "yes"; then
42004 if test "$USE_UNIX" = 1 ; then
42005 if test "$wxUSE_LIBSDL" != "no"; then
42007 # Check whether --with-sdl-prefix was given.
42008 if test "${with_sdl_prefix+set}" = set; then
42009 withval
=$with_sdl_prefix; sdl_prefix
="$withval"
42015 # Check whether --with-sdl-exec-prefix was given.
42016 if test "${with_sdl_exec_prefix+set}" = set; then
42017 withval
=$with_sdl_exec_prefix; sdl_exec_prefix
="$withval"
42022 # Check whether --enable-sdltest was given.
42023 if test "${enable_sdltest+set}" = set; then
42024 enableval
=$enable_sdltest;
42030 if test x
$sdl_exec_prefix != x
; then
42031 sdl_args
="$sdl_args --exec-prefix=$sdl_exec_prefix"
42032 if test x
${SDL_CONFIG+set} != xset
; then
42033 SDL_CONFIG
=$sdl_exec_prefix/bin
/sdl
-config
42036 if test x
$sdl_prefix != x
; then
42037 sdl_args
="$sdl_args --prefix=$sdl_prefix"
42038 if test x
${SDL_CONFIG+set} != xset
; then
42039 SDL_CONFIG
=$sdl_prefix/bin
/sdl
-config
42043 if test "x$prefix" != xNONE
; then
42044 PATH
="$prefix/bin:$prefix/usr/bin:$PATH"
42046 # Extract the first word of "sdl-config", so it can be a program name with args.
42047 set dummy sdl
-config; ac_word
=$2
42048 { echo "$as_me:$LINENO: checking for $ac_word" >&5
42049 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
42050 if test "${ac_cv_path_SDL_CONFIG+set}" = set; then
42051 echo $ECHO_N "(cached) $ECHO_C" >&6
42053 case $SDL_CONFIG in
42055 ac_cv_path_SDL_CONFIG
="$SDL_CONFIG" # Let the user override the test with a path.
42058 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
42059 for as_dir
in $PATH
42062 test -z "$as_dir" && as_dir
=.
42063 for ac_exec_ext
in '' $ac_executable_extensions; do
42064 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
42065 ac_cv_path_SDL_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
42066 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
42073 test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG
="no"
42077 SDL_CONFIG
=$ac_cv_path_SDL_CONFIG
42078 if test -n "$SDL_CONFIG"; then
42079 { echo "$as_me:$LINENO: result: $SDL_CONFIG" >&5
42080 echo "${ECHO_T}$SDL_CONFIG" >&6; }
42082 { echo "$as_me:$LINENO: result: no" >&5
42083 echo "${ECHO_T}no" >&6; }
42087 min_sdl_version
=1.2.0
42088 { echo "$as_me:$LINENO: checking for SDL - version >= $min_sdl_version" >&5
42089 echo $ECHO_N "checking for SDL - version >= $min_sdl_version... $ECHO_C" >&6; }
42091 if test "$SDL_CONFIG" = "no" ; then
42094 SDL_CFLAGS
=`$SDL_CONFIG $sdlconf_args --cflags`
42095 SDL_LIBS
=`$SDL_CONFIG $sdlconf_args --libs`
42097 sdl_major_version
=`$SDL_CONFIG $sdl_args --version | \
42098 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
42099 sdl_minor_version
=`$SDL_CONFIG $sdl_args --version | \
42100 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
42101 sdl_micro_version
=`$SDL_CONFIG $sdl_config_args --version | \
42102 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
42103 if test "x$enable_sdltest" = "xyes" ; then
42104 ac_save_CFLAGS
="$CFLAGS"
42105 ac_save_CXXFLAGS
="$CXXFLAGS"
42106 ac_save_LIBS
="$LIBS"
42107 CFLAGS
="$CFLAGS $SDL_CFLAGS"
42108 CXXFLAGS
="$CXXFLAGS $SDL_CFLAGS"
42109 LIBS
="$LIBS $SDL_LIBS"
42111 if test "$cross_compiling" = yes; then
42112 echo $ac_n "cross compiling; assumed OK... $ac_c"
42114 cat >conftest.
$ac_ext <<_ACEOF
42117 cat confdefs.h
>>conftest.
$ac_ext
42118 cat >>conftest.
$ac_ext <<_ACEOF
42119 /* end confdefs.h. */
42122 #include <stdlib.h>
42123 #include <string.h>
42127 my_strdup (char *str)
42133 new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
42134 strcpy (new_str, str);
42142 int main (int argc, char *argv[])
42144 int major, minor, micro;
42147 /* This hangs on some systems (?)
42148 system ("touch conf.sdltest");
42150 { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
42152 /* HP/UX 9 (%@#!) writes to sscanf strings */
42153 tmp_version = my_strdup("$min_sdl_version");
42154 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
42155 printf("%s, bad version string\n", "$min_sdl_version");
42159 if (($sdl_major_version > major) ||
42160 (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
42161 (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
42167 printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
42168 printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
42169 printf("*** best to upgrade to the required version.\n");
42170 printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
42171 printf("*** to point to the correct copy of sdl-config, and remove the file\n");
42172 printf("*** config.cache before re-running configure\n");
42179 rm -f conftest
$ac_exeext
42180 if { (ac_try
="$ac_link"
42181 case "(($ac_try" in
42182 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
42183 *) ac_try_echo=$ac_try;;
42185 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42186 (eval "$ac_link") 2>&5
42188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42189 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
42190 { (case "(($ac_try" in
42191 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
42192 *) ac_try_echo
=$ac_try;;
42194 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42195 (eval "$ac_try") 2>&5
42197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42198 (exit $ac_status); }; }; then
42201 echo "$as_me: program exited with status $ac_status" >&5
42202 echo "$as_me: failed program was:" >&5
42203 sed 's/^/| /' conftest.
$ac_ext >&5
42205 ( exit $ac_status )
42208 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
42212 CFLAGS
="$ac_save_CFLAGS"
42213 CXXFLAGS
="$ac_save_CXXFLAGS"
42214 LIBS
="$ac_save_LIBS"
42217 if test "x$no_sdl" = x
; then
42218 { echo "$as_me:$LINENO: result: yes" >&5
42219 echo "${ECHO_T}yes" >&6; }
42221 EXTRALIBS_SDL
="$SDL_LIBS"
42222 CFLAGS
="$SDL_CFLAGS $CFLAGS"
42223 CXXFLAGS
="$SDL_CFLAGS $CXXFLAGS"
42224 cat >>confdefs.h
<<\_ACEOF
42225 #define wxUSE_LIBSDL 1
42230 { echo "$as_me:$LINENO: result: no" >&5
42231 echo "${ECHO_T}no" >&6; }
42232 if test "$SDL_CONFIG" = "no" ; then
42233 echo "*** The sdl-config script installed by SDL could not be found"
42234 echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
42235 echo "*** your path, or set the SDL_CONFIG environment variable to the"
42236 echo "*** full path to sdl-config."
42238 if test -f conf.sdltest
; then
42241 echo "*** Could not run SDL test program, checking why..."
42242 CFLAGS
="$CFLAGS $SDL_CFLAGS"
42243 CXXFLAGS
="$CXXFLAGS $SDL_CFLAGS"
42244 LIBS
="$LIBS $SDL_LIBS"
42245 cat >conftest.
$ac_ext <<_ACEOF
42248 cat confdefs.h
>>conftest.
$ac_ext
42249 cat >>conftest.
$ac_ext <<_ACEOF
42250 /* end confdefs.h. */
42255 int main(int argc, char *argv[])
42258 #define main K_and_R_C_main
42268 rm -f conftest.
$ac_objext conftest
$ac_exeext
42269 if { (ac_try
="$ac_link"
42270 case "(($ac_try" in
42271 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
42272 *) ac_try_echo=$ac_try;;
42274 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42275 (eval "$ac_link") 2>conftest.er1
42277 grep -v '^ *+' conftest.er1 >conftest.err
42279 cat conftest.err >&5
42280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42281 (exit $ac_status); } && {
42282 test -z "$ac_c_werror_flag" ||
42283 test ! -s conftest.err
42284 } && test -s conftest$ac_exeext &&
42285 $as_test_x conftest$ac_exeext; then
42286 echo "*** The test program compiled, but did not run. This usually means"
42287 echo "*** that the run-time linker is not finding SDL or finding the wrong"
42288 echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
42289 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
42290 echo "*** to the installed location Also, make sure you have run ldconfig if that"
42291 echo "*** is required on your system"
42293 echo "*** If you have an old version installed, it is best to remove it, although"
42294 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
42296 echo "$as_me: failed program was:" >&5
42297 sed 's/^/| /' conftest.$ac_ext >&5
42299 echo "*** The test program failed to compile or link. See the file config.log for the"
42300 echo "*** exact error that occured. This usually means SDL was incorrectly installed"
42301 echo "*** or that you have moved SDL since it was installed. In the latter case, you"
42302 echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
42305 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42306 conftest$ac_exeext conftest.$ac_ext
42307 CFLAGS="$ac_save_CFLAGS"
42308 CXXFLAGS="$ac_save_CXXFLAGS"
42309 LIBS="$ac_save_LIBS"
42320 if test "$wxUSE_LIBSDL" = "yes" -a "$wxUSE_PLUGINS" = "yes" ; then
42325 if test "$wxUSE_MGL" = 1; then
42326 { echo "$as_me:$LINENO: WARNING: wxSound not supported in MGL under DOS... disabled" >&5
42327 echo "$as_me: WARNING: wxSound not supported in MGL under DOS... disabled" >&2;}
42333 if test "$wxUSE_SOUND" = "yes"; then
42334 cat >>confdefs.h <<\_ACEOF
42335 #define wxUSE_SOUND 1
42338 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sound"
42341 if test "$WXGTK2" = 1; then
42344 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
42345 if test -n "$ac_tool_prefix"; then
42346 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
42347 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
42348 { echo "$as_me:$LINENO: checking for $ac_word" >&5
42349 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
42350 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
42351 echo $ECHO_N "(cached) $ECHO_C" >&6
42353 case $PKG_CONFIG in
42355 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
42358 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
42359 for as_dir in $PATH
42362 test -z "$as_dir" && as_dir=.
42363 for ac_exec_ext in '' $ac_executable_extensions; do
42364 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
42365 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
42366 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
42376 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
42377 if test -n "$PKG_CONFIG"; then
42378 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
42379 echo "${ECHO_T}$PKG_CONFIG" >&6; }
42381 { echo "$as_me:$LINENO: result: no" >&5
42382 echo "${ECHO_T}no" >&6; }
42387 if test -z "$ac_cv_path_PKG_CONFIG"; then
42388 ac_pt_PKG_CONFIG=$PKG_CONFIG
42389 # Extract the first word of "pkg-config", so it can be a program name with args.
42390 set dummy pkg-config; ac_word=$2
42391 { echo "$as_me:$LINENO: checking for $ac_word" >&5
42392 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
42393 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
42394 echo $ECHO_N "(cached) $ECHO_C" >&6
42396 case $ac_pt_PKG_CONFIG in
42398 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
42401 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
42402 for as_dir in $PATH
42405 test -z "$as_dir" && as_dir=.
42406 for ac_exec_ext in '' $ac_executable_extensions; do
42407 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
42408 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
42409 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
42419 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
42420 if test -n "$ac_pt_PKG_CONFIG"; then
42421 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
42422 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
42424 { echo "$as_me:$LINENO: result: no" >&5
42425 echo "${ECHO_T}no" >&6; }
42428 if test "x$ac_pt_PKG_CONFIG" = x; then
42431 case $cross_compiling:$ac_tool_warned in
42433 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
42434 whose name does not start with the host triplet. If you think this
42435 configuration is useful to you, please write to autoconf@gnu.org." >&5
42436 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
42437 whose name does not start with the host triplet. If you think this
42438 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
42439 ac_tool_warned=yes ;;
42441 PKG_CONFIG=$ac_pt_PKG_CONFIG
42444 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
42448 if test -n "$PKG_CONFIG"; then
42449 _pkg_min_version=0.9.0
42450 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
42451 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
42452 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
42453 { echo "$as_me:$LINENO: result: yes" >&5
42454 echo "${ECHO_T}yes" >&6; }
42456 { echo "$as_me:$LINENO: result: no" >&5
42457 echo "${ECHO_T}no" >&6; }
42463 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
42465 if test "$wxUSE_GTKPRINT" = "yes" ; then
42469 { echo "$as_me:$LINENO: checking for GTKPRINT" >&5
42470 echo $ECHO_N "checking for GTKPRINT... $ECHO_C" >&6; }
42472 if test -n "$PKG_CONFIG"; then
42473 if test -n "$GTKPRINT_CFLAGS"; then
42474 pkg_cv_GTKPRINT_CFLAGS="$GTKPRINT_CFLAGS"
42476 if test -n "$PKG_CONFIG" && \
42477 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtk+-unix-print-2.0 >= 2.10\"") >&5
42478 ($PKG_CONFIG --exists --print-errors "gtk+-unix-print-2.0 >= 2.10") 2>&5
42480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42481 (exit $ac_status); }; then
42482 pkg_cv_GTKPRINT_CFLAGS=`$PKG_CONFIG --cflags "gtk+-unix-print-2.0 >= 2.10" 2>/dev
/null
`
42490 if test -n "$PKG_CONFIG"; then
42491 if test -n "$GTKPRINT_LIBS"; then
42492 pkg_cv_GTKPRINT_LIBS="$GTKPRINT_LIBS"
42494 if test -n "$PKG_CONFIG" && \
42495 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtk+-unix-print-2.0 >= 2.10\"") >&5
42496 ($PKG_CONFIG --exists --print-errors "gtk+-unix-print-2.0 >= 2.10") 2>&5
42498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42499 (exit $ac_status); }; then
42500 pkg_cv_GTKPRINT_LIBS=`$PKG_CONFIG --libs "gtk+-unix-print-2.0 >= 2.10" 2>/dev
/null
`
42511 if test $pkg_failed = yes; then
42513 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
42514 _pkg_short_errors_supported=yes
42516 _pkg_short_errors_supported=no
42518 if test $_pkg_short_errors_supported = yes; then
42519 GTKPRINT_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gtk+-unix-print-2.0 >= 2.10"`
42521 GTKPRINT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gtk+-unix-print-2.0 >= 2.10"`
42523 # Put the nasty error message in config.log where it belongs
42524 echo "$GTKPRINT_PKG_ERRORS" >&5
42527 { echo "$as_me:$LINENO: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&5
42528 echo "$as_me: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&2;}
42529 wxUSE_GTKPRINT="no"
42532 elif test $pkg_failed = untried; then
42534 { echo "$as_me:$LINENO: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&5
42535 echo "$as_me: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&2;}
42536 wxUSE_GTKPRINT="no"
42540 GTKPRINT_CFLAGS=$pkg_cv_GTKPRINT_CFLAGS
42541 GTKPRINT_LIBS=$pkg_cv_GTKPRINT_LIBS
42542 { echo "$as_me:$LINENO: result: yes" >&5
42543 echo "${ECHO_T}yes" >&6; }
42545 CFLAGS="$GTKPRINT_CFLAGS $CFLAGS"
42546 CXXFLAGS="$GTKPRINT_CFLAGS $CXXFLAGS"
42547 cat >>confdefs.h <<\_ACEOF
42548 #define wxUSE_GTKPRINT 1
42555 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
42559 { echo "$as_me:$LINENO: checking for LIBGNOMEPRINTUI" >&5
42560 echo $ECHO_N "checking for LIBGNOMEPRINTUI... $ECHO_C" >&6; }
42562 if test -n "$PKG_CONFIG"; then
42563 if test -n "$LIBGNOMEPRINTUI_CFLAGS"; then
42564 pkg_cv_LIBGNOMEPRINTUI_CFLAGS="$LIBGNOMEPRINTUI_CFLAGS"
42566 if test -n "$PKG_CONFIG" && \
42567 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
42568 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
42570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42571 (exit $ac_status); }; then
42572 pkg_cv_LIBGNOMEPRINTUI_CFLAGS=`$PKG_CONFIG --cflags "libgnomeprintui-2.2 >= 2.8" 2>/dev
/null
`
42580 if test -n "$PKG_CONFIG"; then
42581 if test -n "$LIBGNOMEPRINTUI_LIBS"; then
42582 pkg_cv_LIBGNOMEPRINTUI_LIBS="$LIBGNOMEPRINTUI_LIBS"
42584 if test -n "$PKG_CONFIG" && \
42585 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
42586 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
42588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42589 (exit $ac_status); }; then
42590 pkg_cv_LIBGNOMEPRINTUI_LIBS=`$PKG_CONFIG --libs "libgnomeprintui-2.2 >= 2.8" 2>/dev
/null
`
42601 if test $pkg_failed = yes; then
42603 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
42604 _pkg_short_errors_supported=yes
42606 _pkg_short_errors_supported=no
42608 if test $_pkg_short_errors_supported = yes; then
42609 LIBGNOMEPRINTUI_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
42611 LIBGNOMEPRINTUI_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
42613 # Put the nasty error message in config.log where it belongs
42614 echo "$LIBGNOMEPRINTUI_PKG_ERRORS" >&5
42617 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
42618 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
42619 wxUSE_LIBGNOMEPRINT="no"
42622 elif test $pkg_failed = untried; then
42624 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
42625 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
42626 wxUSE_LIBGNOMEPRINT="no"
42630 LIBGNOMEPRINTUI_CFLAGS=$pkg_cv_LIBGNOMEPRINTUI_CFLAGS
42631 LIBGNOMEPRINTUI_LIBS=$pkg_cv_LIBGNOMEPRINTUI_LIBS
42632 { echo "$as_me:$LINENO: result: yes" >&5
42633 echo "${ECHO_T}yes" >&6; }
42635 CFLAGS="$LIBGNOMEPRINTUI_CFLAGS $CFLAGS"
42636 CXXFLAGS="$LIBGNOMEPRINTUI_CFLAGS $CXXFLAGS"
42637 cat >>confdefs.h <<\_ACEOF
42638 #define wxUSE_LIBGNOMEPRINT 1
42646 if test "$wxUSE_MIMETYPE" = "yes" ; then
42647 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
42651 { echo "$as_me:$LINENO: checking for GNOMEVFS" >&5
42652 echo $ECHO_N "checking for GNOMEVFS... $ECHO_C" >&6; }
42654 if test -n "$PKG_CONFIG"; then
42655 if test -n "$GNOMEVFS_CFLAGS"; then
42656 pkg_cv_GNOMEVFS_CFLAGS="$GNOMEVFS_CFLAGS"
42658 if test -n "$PKG_CONFIG" && \
42659 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
42660 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
42662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42663 (exit $ac_status); }; then
42664 pkg_cv_GNOMEVFS_CFLAGS=`$PKG_CONFIG --cflags "gnome-vfs-2.0 >= 2.0" 2>/dev
/null
`
42672 if test -n "$PKG_CONFIG"; then
42673 if test -n "$GNOMEVFS_LIBS"; then
42674 pkg_cv_GNOMEVFS_LIBS="$GNOMEVFS_LIBS"
42676 if test -n "$PKG_CONFIG" && \
42677 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
42678 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
42680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42681 (exit $ac_status); }; then
42682 pkg_cv_GNOMEVFS_LIBS=`$PKG_CONFIG --libs "gnome-vfs-2.0 >= 2.0" 2>/dev
/null
`
42693 if test $pkg_failed = yes; then
42695 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
42696 _pkg_short_errors_supported=yes
42698 _pkg_short_errors_supported=no
42700 if test $_pkg_short_errors_supported = yes; then
42701 GNOMEVFS_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
42703 GNOMEVFS_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
42705 # Put the nasty error message in config.log where it belongs
42706 echo "$GNOMEVFS_PKG_ERRORS" >&5
42709 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
42710 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
42711 wxUSE_LIBGNOMEVFS="no"
42714 elif test $pkg_failed = untried; then
42716 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
42717 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
42718 wxUSE_LIBGNOMEVFS="no"
42722 GNOMEVFS_CFLAGS=$pkg_cv_GNOMEVFS_CFLAGS
42723 GNOMEVFS_LIBS=$pkg_cv_GNOMEVFS_LIBS
42724 { echo "$as_me:$LINENO: result: yes" >&5
42725 echo "${ECHO_T}yes" >&6; }
42727 CFLAGS="$GNOMEVFS_CFLAGS $CFLAGS"
42728 CXXFLAGS="$GNOMEVFS_CFLAGS $CXXFLAGS"
42729 cat >>confdefs.h <<\_ACEOF
42730 #define wxUSE_LIBGNOMEVFS 1
42738 if test "$wxUSE_LIBHILDON" = "yes" ; then
42741 { echo "$as_me:$LINENO: checking for HILDON" >&5
42742 echo $ECHO_N "checking for HILDON... $ECHO_C" >&6; }
42744 if test -n "$PKG_CONFIG"; then
42745 if test -n "$HILDON_CFLAGS"; then
42746 pkg_cv_HILDON_CFLAGS="$HILDON_CFLAGS"
42748 if test -n "$PKG_CONFIG" && \
42749 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
42750 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
42752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42753 (exit $ac_status); }; then
42754 pkg_cv_HILDON_CFLAGS=`$PKG_CONFIG --cflags "hildon-lgpl >= 0.9" 2>/dev
/null
`
42762 if test -n "$PKG_CONFIG"; then
42763 if test -n "$HILDON_LIBS"; then
42764 pkg_cv_HILDON_LIBS="$HILDON_LIBS"
42766 if test -n "$PKG_CONFIG" && \
42767 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
42768 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
42770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42771 (exit $ac_status); }; then
42772 pkg_cv_HILDON_LIBS=`$PKG_CONFIG --libs "hildon-lgpl >= 0.9" 2>/dev
/null
`
42783 if test $pkg_failed = yes; then
42785 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
42786 _pkg_short_errors_supported=yes
42788 _pkg_short_errors_supported=no
42790 if test $_pkg_short_errors_supported = yes; then
42791 HILDON_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
42793 HILDON_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
42795 # Put the nasty error message in config.log where it belongs
42796 echo "$HILDON_PKG_ERRORS" >&5
42799 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
42800 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
42801 wxUSE_LIBHILDON="no"
42804 elif test $pkg_failed = untried; then
42806 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
42807 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
42808 wxUSE_LIBHILDON="no"
42812 HILDON_CFLAGS=$pkg_cv_HILDON_CFLAGS
42813 HILDON_LIBS=$pkg_cv_HILDON_LIBS
42814 { echo "$as_me:$LINENO: result: yes" >&5
42815 echo "${ECHO_T}yes" >&6; }
42817 EXTRALIBS_HILDON="$HILDON_LIBS"
42818 CFLAGS="$CFLAGS $HILDON_CFLAGS"
42819 CXXFLAGS="$CXXFLAGS $HILDON_CFLAGS"
42820 cat >>confdefs.h <<\_ACEOF
42821 #define wxUSE_LIBHILDON 1
42829 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
42830 cat >>confdefs.h <<\_ACEOF
42831 #define wxUSE_CMDLINE_PARSER 1
42836 if test "$wxUSE_STOPWATCH" = "yes"; then
42837 cat >>confdefs.h <<\_ACEOF
42838 #define wxUSE_STOPWATCH 1
42843 if test "$wxUSE_DATETIME" = "yes"; then
42844 cat >>confdefs.h <<\_ACEOF
42845 #define wxUSE_DATETIME 1
42850 if test "$wxUSE_FILE" = "yes"; then
42851 cat >>confdefs.h <<\_ACEOF
42852 #define wxUSE_FILE 1
42857 if test "$wxUSE_FFILE" = "yes"; then
42858 cat >>confdefs.h <<\_ACEOF
42859 #define wxUSE_FFILE 1
42864 if test "$wxUSE_ARCHIVE_STREAMS" = "yes"; then
42865 if test "$wxUSE_STREAMS" != yes; then
42866 { echo "$as_me:$LINENO: WARNING: wxArchive requires wxStreams... disabled" >&5
42867 echo "$as_me: WARNING: wxArchive requires wxStreams... disabled" >&2;}
42868 wxUSE_ARCHIVE_STREAMS=no
42870 cat >>confdefs.h <<\_ACEOF
42871 #define wxUSE_ARCHIVE_STREAMS 1
42877 if test "$wxUSE_ZIPSTREAM" = "yes"; then
42878 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
42879 { echo "$as_me:$LINENO: WARNING: wxZip requires wxArchive... disabled" >&5
42880 echo "$as_me: WARNING: wxZip requires wxArchive... disabled" >&2;}
42881 elif test "$wxUSE_ZLIB" = "no"; then
42882 { echo "$as_me:$LINENO: WARNING: wxZip requires wxZlib... disabled" >&5
42883 echo "$as_me: WARNING: wxZip requires wxZlib... disabled" >&2;}
42885 cat >>confdefs.h <<\_ACEOF
42886 #define wxUSE_ZIPSTREAM 1
42892 if test "$wxUSE_TARSTREAM" = "yes"; then
42893 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
42894 { echo "$as_me:$LINENO: WARNING: wxTar requires wxArchive... disabled" >&5
42895 echo "$as_me: WARNING: wxTar requires wxArchive... disabled" >&2;}
42897 cat >>confdefs.h <<\_ACEOF
42898 #define wxUSE_TARSTREAM 1
42904 if test "$wxUSE_FILESYSTEM" = "yes"; then
42905 if test "$wxUSE_STREAMS" != yes -o \( "$wxUSE_FILE" != yes -a "$wxUSE_FFILE" != yes \); then
42906 { echo "$as_me:$LINENO: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&5
42907 echo "$as_me: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&2;}
42908 wxUSE_FILESYSTEM=no
42910 cat >>confdefs.h <<\_ACEOF
42911 #define wxUSE_FILESYSTEM 1
42917 if test "$wxUSE_FS_ARCHIVE" = "yes"; then
42918 if test "$wxUSE_FILESYSTEM" != yes -o "$wxUSE_ARCHIVE_STREAMS" != yes; then
42919 { echo "$as_me:$LINENO: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&5
42920 echo "$as_me: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&2;}
42922 cat >>confdefs.h <<\_ACEOF
42923 #define wxUSE_FS_ARCHIVE 1
42929 if test "$wxUSE_FS_ZIP" = "yes"; then
42930 if test "$wxUSE_FS_ARCHIVE" != yes; then
42931 { echo "$as_me:$LINENO: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&5
42932 echo "$as_me: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&2;}
42934 cat >>confdefs.h <<\_ACEOF
42935 #define wxUSE_FS_ZIP 1
42941 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
42942 if test "$USE_UNIX" != 1; then
42943 { echo "$as_me:$LINENO: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&5
42944 echo "$as_me: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&2;}
42945 wxUSE_ON_FATAL_EXCEPTION=no
42947 cat >>confdefs.h <<\_ACEOF
42948 #define wxUSE_ON_FATAL_EXCEPTION 1
42954 if test "$wxUSE_STACKWALKER" = "yes"; then
42955 cat >>confdefs.h <<\_ACEOF
42956 #define wxUSE_STACKWALKER 1
42961 if test "$wxUSE_DEBUGREPORT" = "yes"; then
42962 if test "$USE_UNIX" != 1 -a "$USE_WIN32" != 1; then
42963 { echo "$as_me:$LINENO: WARNING: Creating debug reports not currently supported on this system, disabled" >&5
42964 echo "$as_me: WARNING: Creating debug reports not currently supported on this system, disabled" >&2;}
42965 wxUSE_DEBUGREPORT=no
42967 cat >>confdefs.h <<\_ACEOF
42968 #define wxUSE_DEBUGREPORT 1
42971 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
42972 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS debugrpt"
42977 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
42978 cat >>confdefs.h <<\_ACEOF
42979 #define wxUSE_SNGLINST_CHECKER 1
42984 if test "$wxUSE_BUSYINFO" = "yes"; then
42985 cat >>confdefs.h <<\_ACEOF
42986 #define wxUSE_BUSYINFO 1
42991 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
42992 cat >>confdefs.h <<\_ACEOF
42993 #define wxUSE_STD_IOSTREAM 1
42998 if test "$wxUSE_STD_STRING" = "yes"; then
42999 cat >>confdefs.h <<\_ACEOF
43000 #define wxUSE_STD_STRING 1
43005 if test "$wxUSE_STDPATHS" = "yes"; then
43006 cat >>confdefs.h <<\_ACEOF
43007 #define wxUSE_STDPATHS 1
43012 if test "$wxUSE_TEXTBUFFER" = "yes"; then
43013 cat >>confdefs.h <<\_ACEOF
43014 #define wxUSE_TEXTBUFFER 1
43019 if test "$wxUSE_TEXTFILE" = "yes"; then
43020 if test "$wxUSE_FILE" != "yes" -o "$wxUSE_TEXTBUFFER" != "yes" ; then
43021 { echo "$as_me:$LINENO: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&5
43022 echo "$as_me: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&2;}
43024 cat >>confdefs.h <<\_ACEOF
43025 #define wxUSE_TEXTFILE 1
43031 if test "$wxUSE_CONFIG" = "yes" ; then
43032 if test "$wxUSE_TEXTFILE" != "yes"; then
43033 { echo "$as_me:$LINENO: WARNING: wxConfig requires wxTextFile... disabled" >&5
43034 echo "$as_me: WARNING: wxConfig requires wxTextFile... disabled" >&2;}
43036 cat >>confdefs.h <<\_ACEOF
43037 #define wxUSE_CONFIG 1
43040 cat >>confdefs.h <<\_ACEOF
43041 #define wxUSE_CONFIG_NATIVE 1
43044 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS config"
43048 if test "$wxUSE_INTL" = "yes" ; then
43049 if test "$wxUSE_FILE" != "yes"; then
43050 { echo "$as_me:$LINENO: WARNING: I18n code requires wxFile... disabled" >&5
43051 echo "$as_me: WARNING: I18n code requires wxFile... disabled" >&2;}
43053 cat >>confdefs.h <<\_ACEOF
43054 #define wxUSE_INTL 1
43057 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS internat"
43058 GUIDIST="$GUIDIST INTL_DIST"
43062 if test "$wxUSE_XLOCALE" == "yes" ; then
43063 cat >>confdefs.h <<\_ACEOF
43064 #define wxUSE_XLOCALE 1
43067 { echo "$as_me:$LINENO: checking for locale_t" >&5
43068 echo $ECHO_N "checking for locale_t... $ECHO_C" >&6; }
43069 if test "${ac_cv_type_locale_t+set}" = set; then
43070 echo $ECHO_N "(cached) $ECHO_C" >&6
43072 cat >conftest.$ac_ext <<_ACEOF
43075 cat confdefs.h >>conftest.$ac_ext
43076 cat >>conftest.$ac_ext <<_ACEOF
43077 /* end confdefs.h. */
43078 #include <xlocale.h>
43079 #include <locale.h>
43081 typedef locale_t ac__type_new_;
43085 if ((ac__type_new_ *) 0)
43087 if (sizeof (ac__type_new_))
43093 rm -f conftest.$ac_objext
43094 if { (ac_try="$ac_compile"
43095 case "(($ac_try" in
43096 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
43097 *) ac_try_echo
=$ac_try;;
43099 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43100 (eval "$ac_compile") 2>conftest.er1
43102 grep -v '^ *+' conftest.er1
>conftest.err
43104 cat conftest.err
>&5
43105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43106 (exit $ac_status); } && {
43107 test -z "$ac_c_werror_flag" ||
43108 test ! -s conftest.err
43109 } && test -s conftest.
$ac_objext; then
43110 ac_cv_type_locale_t
=yes
43112 echo "$as_me: failed program was:" >&5
43113 sed 's/^/| /' conftest.
$ac_ext >&5
43115 ac_cv_type_locale_t
=no
43118 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
43120 { echo "$as_me:$LINENO: result: $ac_cv_type_locale_t" >&5
43121 echo "${ECHO_T}$ac_cv_type_locale_t" >&6; }
43122 if test $ac_cv_type_locale_t = yes; then
43124 cat >>confdefs.h
<<_ACEOF
43125 #define HAVE_LOCALE_T 1
43133 if test "$wxUSE_LOG" = "yes"; then
43134 cat >>confdefs.h
<<\_ACEOF
43135 #define wxUSE_LOG 1
43139 if test "$wxUSE_LOGGUI" = "yes"; then
43140 cat >>confdefs.h
<<\_ACEOF
43141 #define wxUSE_LOGGUI 1
43146 if test "$wxUSE_LOGWINDOW" = "yes"; then
43147 cat >>confdefs.h
<<\_ACEOF
43148 #define wxUSE_LOGWINDOW 1
43153 if test "$wxUSE_LOGDIALOG" = "yes"; then
43154 cat >>confdefs.h
<<\_ACEOF
43155 #define wxUSE_LOG_DIALOG 1
43160 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS keyboard"
43163 if test "$wxUSE_LONGLONG" = "yes"; then
43164 cat >>confdefs.h
<<\_ACEOF
43165 #define wxUSE_LONGLONG 1
43170 if test "$wxUSE_GEOMETRY" = "yes"; then
43171 cat >>confdefs.h
<<\_ACEOF
43172 #define wxUSE_GEOMETRY 1
43177 if test "$wxUSE_BASE64" = "yes"; then
43178 cat >>confdefs.h
<<\_ACEOF
43179 #define wxUSE_BASE64 1
43184 if test "$wxUSE_STREAMS" = "yes" ; then
43185 cat >>confdefs.h
<<\_ACEOF
43186 #define wxUSE_STREAMS 1
43191 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
43192 cat >>confdefs.h
<<\_ACEOF
43193 #define wxUSE_PRINTF_POS_PARAMS 1
43198 if test "$wxUSE_OBJC_UNIQUIFYING" = "yes"; then
43199 cat >>confdefs.h
<<\_ACEOF
43200 #define wxUSE_OBJC_UNIQUIFYING 1
43206 if test "$wxUSE_CONSOLE_EVENTLOOP" = "yes"; then
43207 cat >>confdefs.h
<<\_ACEOF
43208 #define wxUSE_CONSOLE_EVENTLOOP 1
43212 if test "$wxUSE_UNIX" = "yes"; then
43213 if test "$wxUSE_SELECT_DISPATCHER" = "yes"; then
43214 cat >>confdefs.h
<<\_ACEOF
43215 #define wxUSE_SELECT_DISPATCHER 1
43220 if test "$wxUSE_EPOLL_DISPATCHER" = "yes"; then
43222 for ac_header
in sys
/epoll.h
43224 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
43225 { echo "$as_me:$LINENO: checking for $ac_header" >&5
43226 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
43227 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
43228 echo $ECHO_N "(cached) $ECHO_C" >&6
43230 cat >conftest.
$ac_ext <<_ACEOF
43233 cat confdefs.h
>>conftest.
$ac_ext
43234 cat >>conftest.
$ac_ext <<_ACEOF
43235 /* end confdefs.h. */
43236 $ac_includes_default
43238 #include <$ac_header>
43240 rm -f conftest.
$ac_objext
43241 if { (ac_try
="$ac_compile"
43242 case "(($ac_try" in
43243 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
43244 *) ac_try_echo=$ac_try;;
43246 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43247 (eval "$ac_compile") 2>conftest.er1
43249 grep -v '^ *+' conftest.er1 >conftest.err
43251 cat conftest.err >&5
43252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43253 (exit $ac_status); } && {
43254 test -z "$ac_c_werror_flag" ||
43255 test ! -s conftest.err
43256 } && test -s conftest.$ac_objext; then
43257 eval "$as_ac_Header=yes"
43259 echo "$as_me: failed program was:" >&5
43260 sed 's/^/| /' conftest.$ac_ext >&5
43262 eval "$as_ac_Header=no"
43265 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43267 ac_res=`eval echo '${'$as_ac_Header'}'`
43268 { echo "$as_me:$LINENO: result: $ac_res" >&5
43269 echo "${ECHO_T}$ac_res" >&6; }
43270 if test `eval echo '${'$as_ac_Header'}'` = yes; then
43271 cat >>confdefs.h <<_ACEOF
43272 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
43279 if test "$ac_cv_header_sys_epoll_h" = "yes"; then
43280 cat >>confdefs.h <<\_ACEOF
43281 #define wxUSE_EPOLL_DISPATCHER 1
43285 { echo "$as_me:$LINENO: WARNING: sys/epoll.h not available, wxEpollDispatcher disabled" >&5
43286 echo "$as_me: WARNING: sys/epoll.h not available, wxEpollDispatcher disabled" >&2;}
43295 for ac_func in gettimeofday ftime
43297 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43298 { echo "$as_me:$LINENO: checking for $ac_func" >&5
43299 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
43300 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
43301 echo $ECHO_N "(cached) $ECHO_C" >&6
43303 cat >conftest.$ac_ext <<_ACEOF
43306 cat confdefs.h >>conftest.$ac_ext
43307 cat >>conftest.$ac_ext <<_ACEOF
43308 /* end confdefs.h. */
43309 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43310 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43311 #define $ac_func innocuous_$ac_func
43313 /* System header to define __stub macros and hopefully few prototypes,
43314 which can conflict with char $ac_func (); below.
43315 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43316 <limits.h> exists even on freestanding compilers. */
43319 # include <limits.h>
43321 # include <assert.h>
43326 /* Override any GCC internal prototype to avoid an error.
43327 Use char because int might match the return type of a GCC
43328 builtin and then its argument prototype would still apply. */
43333 /* The GNU C library defines this for functions which it implements
43334 to always fail with ENOSYS. Some functions are actually named
43335 something starting with __ and the normal name is an alias. */
43336 #if defined __stub_$ac_func || defined __stub___$ac_func
43343 return $ac_func ();
43348 rm -f conftest.$ac_objext conftest$ac_exeext
43349 if { (ac_try="$ac_link"
43350 case "(($ac_try" in
43351 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
43352 *) ac_try_echo
=$ac_try;;
43354 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43355 (eval "$ac_link") 2>conftest.er1
43357 grep -v '^ *+' conftest.er1
>conftest.err
43359 cat conftest.err
>&5
43360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43361 (exit $ac_status); } && {
43362 test -z "$ac_c_werror_flag" ||
43363 test ! -s conftest.err
43364 } && test -s conftest
$ac_exeext &&
43365 $as_test_x conftest
$ac_exeext; then
43366 eval "$as_ac_var=yes"
43368 echo "$as_me: failed program was:" >&5
43369 sed 's/^/| /' conftest.
$ac_ext >&5
43371 eval "$as_ac_var=no"
43374 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
43375 conftest
$ac_exeext conftest.
$ac_ext
43377 ac_res
=`eval echo '${'$as_ac_var'}'`
43378 { echo "$as_me:$LINENO: result: $ac_res" >&5
43379 echo "${ECHO_T}$ac_res" >&6; }
43380 if test `eval echo '${'$as_ac_var'}'` = yes; then
43381 cat >>confdefs.h
<<_ACEOF
43382 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43389 if test "$ac_cv_func_gettimeofday" = "yes"; then
43390 { echo "$as_me:$LINENO: checking whether gettimeofday takes two arguments" >&5
43391 echo $ECHO_N "checking whether gettimeofday takes two arguments... $ECHO_C" >&6; }
43392 if test "${wx_cv_func_gettimeofday_has_2_args+set}" = set; then
43393 echo $ECHO_N "(cached) $ECHO_C" >&6
43396 cat >conftest.
$ac_ext <<_ACEOF
43399 cat confdefs.h
>>conftest.
$ac_ext
43400 cat >>conftest.
$ac_ext <<_ACEOF
43401 /* end confdefs.h. */
43403 #include <sys/time.h>
43404 #include <unistd.h>
43411 gettimeofday(&tv, NULL);
43417 rm -f conftest.
$ac_objext
43418 if { (ac_try
="$ac_compile"
43419 case "(($ac_try" in
43420 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
43421 *) ac_try_echo=$ac_try;;
43423 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43424 (eval "$ac_compile") 2>conftest.er1
43426 grep -v '^ *+' conftest.er1 >conftest.err
43428 cat conftest.err >&5
43429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43430 (exit $ac_status); } && {
43431 test -z "$ac_c_werror_flag" ||
43432 test ! -s conftest.err
43433 } && test -s conftest.$ac_objext; then
43434 wx_cv_func_gettimeofday_has_2_args=yes
43436 echo "$as_me: failed program was:" >&5
43437 sed 's/^/| /' conftest.$ac_ext >&5
43439 cat >conftest.$ac_ext <<_ACEOF
43442 cat confdefs.h >>conftest.$ac_ext
43443 cat >>conftest.$ac_ext <<_ACEOF
43444 /* end confdefs.h. */
43446 #include <sys/time.h>
43447 #include <unistd.h>
43460 rm -f conftest.$ac_objext
43461 if { (ac_try="$ac_compile"
43462 case "(($ac_try" in
43463 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
43464 *) ac_try_echo
=$ac_try;;
43466 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43467 (eval "$ac_compile") 2>conftest.er1
43469 grep -v '^ *+' conftest.er1
>conftest.err
43471 cat conftest.err
>&5
43472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43473 (exit $ac_status); } && {
43474 test -z "$ac_c_werror_flag" ||
43475 test ! -s conftest.err
43476 } && test -s conftest.
$ac_objext; then
43477 wx_cv_func_gettimeofday_has_2_args
=no
43479 echo "$as_me: failed program was:" >&5
43480 sed 's/^/| /' conftest.
$ac_ext >&5
43483 { echo "$as_me:$LINENO: WARNING: failed to determine number of gettimeofday() arguments" >&5
43484 echo "$as_me: WARNING: failed to determine number of gettimeofday() arguments" >&2;}
43485 wx_cv_func_gettimeofday_has_2_args
=unknown
43490 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
43494 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
43497 { echo "$as_me:$LINENO: result: $wx_cv_func_gettimeofday_has_2_args" >&5
43498 echo "${ECHO_T}$wx_cv_func_gettimeofday_has_2_args" >&6; }
43500 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
43501 cat >>confdefs.h
<<\_ACEOF
43502 #define WX_GETTIMEOFDAY_NO_TZ 1
43508 if test "$wxUSE_DATETIME" = "yes"; then
43509 { echo "$as_me:$LINENO: checking for strptime" >&5
43510 echo $ECHO_N "checking for strptime... $ECHO_C" >&6; }
43511 if test "${ac_cv_func_strptime+set}" = set; then
43512 echo $ECHO_N "(cached) $ECHO_C" >&6
43514 cat >conftest.
$ac_ext <<_ACEOF
43517 cat confdefs.h
>>conftest.
$ac_ext
43518 cat >>conftest.
$ac_ext <<_ACEOF
43519 /* end confdefs.h. */
43520 /* Define strptime to an innocuous variant, in case <limits.h> declares strptime.
43521 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43522 #define strptime innocuous_strptime
43524 /* System header to define __stub macros and hopefully few prototypes,
43525 which can conflict with char strptime (); below.
43526 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43527 <limits.h> exists even on freestanding compilers. */
43530 # include <limits.h>
43532 # include <assert.h>
43537 /* Override any GCC internal prototype to avoid an error.
43538 Use char because int might match the return type of a GCC
43539 builtin and then its argument prototype would still apply. */
43544 /* The GNU C library defines this for functions which it implements
43545 to always fail with ENOSYS. Some functions are actually named
43546 something starting with __ and the normal name is an alias. */
43547 #if defined __stub_strptime || defined __stub___strptime
43554 return strptime ();
43559 rm -f conftest.
$ac_objext conftest
$ac_exeext
43560 if { (ac_try
="$ac_link"
43561 case "(($ac_try" in
43562 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
43563 *) ac_try_echo=$ac_try;;
43565 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43566 (eval "$ac_link") 2>conftest.er1
43568 grep -v '^ *+' conftest.er1 >conftest.err
43570 cat conftest.err >&5
43571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43572 (exit $ac_status); } && {
43573 test -z "$ac_c_werror_flag" ||
43574 test ! -s conftest.err
43575 } && test -s conftest$ac_exeext &&
43576 $as_test_x conftest$ac_exeext; then
43577 ac_cv_func_strptime=yes
43579 echo "$as_me: failed program was:" >&5
43580 sed 's/^/| /' conftest.$ac_ext >&5
43582 ac_cv_func_strptime=no
43585 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43586 conftest$ac_exeext conftest.$ac_ext
43588 { echo "$as_me:$LINENO: result: $ac_cv_func_strptime" >&5
43589 echo "${ECHO_T}$ac_cv_func_strptime" >&6; }
43591 if test "$ac_cv_func_strptime" = "yes"; then
43592 { echo "$as_me:$LINENO: checking for strptime declaration" >&5
43593 echo $ECHO_N "checking for strptime declaration... $ECHO_C" >&6; }
43594 if test "${wx_cv_func_strptime_decl+set}" = set; then
43595 echo $ECHO_N "(cached) $ECHO_C" >&6
43599 ac_cpp='$CXXCPP $CPPFLAGS'
43600 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43601 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43602 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43604 cat >conftest.$ac_ext <<_ACEOF
43607 cat confdefs.h >>conftest.$ac_ext
43608 cat >>conftest.$ac_ext <<_ACEOF
43609 /* end confdefs.h. */
43618 strptime("foo", "bar", &t);
43624 rm -f conftest.$ac_objext
43625 if { (ac_try="$ac_compile"
43626 case "(($ac_try" in
43627 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
43628 *) ac_try_echo
=$ac_try;;
43630 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43631 (eval "$ac_compile") 2>conftest.er1
43633 grep -v '^ *+' conftest.er1
>conftest.err
43635 cat conftest.err
>&5
43636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43637 (exit $ac_status); } && {
43638 test -z "$ac_cxx_werror_flag" ||
43639 test ! -s conftest.err
43640 } && test -s conftest.
$ac_objext; then
43641 wx_cv_func_strptime_decl
=yes
43643 echo "$as_me: failed program was:" >&5
43644 sed 's/^/| /' conftest.
$ac_ext >&5
43646 wx_cv_func_strptime_decl
=no
43650 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
43652 ac_cpp
='$CPP $CPPFLAGS'
43653 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43654 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43655 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
43660 { echo "$as_me:$LINENO: result: $wx_cv_func_strptime_decl" >&5
43661 echo "${ECHO_T}$wx_cv_func_strptime_decl" >&6; }
43663 if test "$wx_cv_func_strptime_decl" = "yes"; then
43664 cat >>confdefs.h
<<\_ACEOF
43665 #define HAVE_STRPTIME_DECL 1
43669 wx_strptime_decl
="extern char *strptime(const char *, const char *, struct tm *);"
43671 if test "$ac_cv_func_strptime" = "yes"; then
43672 { echo "$as_me:$LINENO: checking whether strptime() fails on invalid strings" >&5
43673 echo $ECHO_N "checking whether strptime() fails on invalid strings... $ECHO_C" >&6; }
43674 if test "${wx_cv_func_strptime_ok+set}" = set; then
43675 echo $ECHO_N "(cached) $ECHO_C" >&6
43677 if test "$cross_compiling" = yes; then
43678 wx_cv_func_strptime_ok
=no
43681 cat >conftest.
$ac_ext <<_ACEOF
43683 #include <stdlib.h>
43685 #include "confdefs.h"
43692 return !!strptime("", "%x", &t);
43696 rm -f conftest
$ac_exeext
43697 if { (ac_try
="$ac_link"
43698 case "(($ac_try" in
43699 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
43700 *) ac_try_echo=$ac_try;;
43702 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43703 (eval "$ac_link") 2>&5
43705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43706 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
43707 { (case "(($ac_try" in
43708 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
43709 *) ac_try_echo
=$ac_try;;
43711 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43712 (eval "$ac_try") 2>&5
43714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43715 (exit $ac_status); }; }; then
43716 wx_cv_func_strptime_ok
=yes
43718 echo "$as_me: program exited with status $ac_status" >&5
43719 echo "$as_me: failed program was:" >&5
43720 sed 's/^/| /' conftest.
$ac_ext >&5
43722 ( exit $ac_status )
43723 wx_cv_func_strptime_ok
=no
43725 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
43731 { echo "$as_me:$LINENO: result: $wx_cv_func_strptime_ok" >&5
43732 echo "${ECHO_T}$wx_cv_func_strptime_ok" >&6; }
43734 if test "$wx_cv_func_strptime_ok" = "yes"; then
43735 cat >>confdefs.h
<<\_ACEOF
43736 #define HAVE_STRPTIME 1
43742 { echo "$as_me:$LINENO: checking for timezone variable in <time.h>" >&5
43743 echo $ECHO_N "checking for timezone variable in <time.h>... $ECHO_C" >&6; }
43744 if test "${wx_cv_var_timezone+set}" = set; then
43745 echo $ECHO_N "(cached) $ECHO_C" >&6
43749 ac_cpp
='$CXXCPP $CPPFLAGS'
43750 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43751 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43752 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
43754 cat >conftest.
$ac_ext <<_ACEOF
43757 cat confdefs.h
>>conftest.
$ac_ext
43758 cat >>conftest.
$ac_ext <<_ACEOF
43759 /* end confdefs.h. */
43774 rm -f conftest.
$ac_objext
43775 if { (ac_try
="$ac_compile"
43776 case "(($ac_try" in
43777 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
43778 *) ac_try_echo=$ac_try;;
43780 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43781 (eval "$ac_compile") 2>conftest.er1
43783 grep -v '^ *+' conftest.er1 >conftest.err
43785 cat conftest.err >&5
43786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43787 (exit $ac_status); } && {
43788 test -z "$ac_cxx_werror_flag" ||
43789 test ! -s conftest.err
43790 } && test -s conftest.$ac_objext; then
43792 wx_cv_var_timezone=timezone
43795 echo "$as_me: failed program was:" >&5
43796 sed 's/^/| /' conftest.$ac_ext >&5
43799 cat >conftest.$ac_ext <<_ACEOF
43802 cat confdefs.h >>conftest.$ac_ext
43803 cat >>conftest.$ac_ext <<_ACEOF
43804 /* end confdefs.h. */
43819 rm -f conftest.$ac_objext
43820 if { (ac_try="$ac_compile"
43821 case "(($ac_try" in
43822 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
43823 *) ac_try_echo
=$ac_try;;
43825 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43826 (eval "$ac_compile") 2>conftest.er1
43828 grep -v '^ *+' conftest.er1
>conftest.err
43830 cat conftest.err
>&5
43831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43832 (exit $ac_status); } && {
43833 test -z "$ac_cxx_werror_flag" ||
43834 test ! -s conftest.err
43835 } && test -s conftest.
$ac_objext; then
43837 wx_cv_var_timezone
=_timezone
43840 echo "$as_me: failed program was:" >&5
43841 sed 's/^/| /' conftest.
$ac_ext >&5
43844 cat >conftest.
$ac_ext <<_ACEOF
43847 cat confdefs.h
>>conftest.
$ac_ext
43848 cat >>conftest.
$ac_ext <<_ACEOF
43849 /* end confdefs.h. */
43864 rm -f conftest.
$ac_objext
43865 if { (ac_try
="$ac_compile"
43866 case "(($ac_try" in
43867 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
43868 *) ac_try_echo=$ac_try;;
43870 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43871 (eval "$ac_compile") 2>conftest.er1
43873 grep -v '^ *+' conftest.er1 >conftest.err
43875 cat conftest.err >&5
43876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43877 (exit $ac_status); } && {
43878 test -z "$ac_cxx_werror_flag" ||
43879 test ! -s conftest.err
43880 } && test -s conftest.$ac_objext; then
43882 wx_cv_var_timezone=__timezone
43885 echo "$as_me: failed program was:" >&5
43886 sed 's/^/| /' conftest.$ac_ext >&5
43889 if test "$USE_DOS" = 0 ; then
43890 { echo "$as_me:$LINENO: WARNING: no timezone variable" >&5
43891 echo "$as_me: WARNING: no timezone variable" >&2;}
43897 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43902 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43907 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43909 ac_cpp='$CPP $CPPFLAGS'
43910 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43911 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43912 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43917 { echo "$as_me:$LINENO: result: $wx_cv_var_timezone" >&5
43918 echo "${ECHO_T}$wx_cv_var_timezone" >&6; }
43920 if test "x$wx_cv_var_timezone" != x ; then
43921 cat >>confdefs.h <<_ACEOF
43922 #define WX_TIMEZONE $wx_cv_var_timezone
43928 for ac_func in localtime
43930 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43931 { echo "$as_me:$LINENO: checking for $ac_func" >&5
43932 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
43933 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
43934 echo $ECHO_N "(cached) $ECHO_C" >&6
43936 cat >conftest.$ac_ext <<_ACEOF
43939 cat confdefs.h >>conftest.$ac_ext
43940 cat >>conftest.$ac_ext <<_ACEOF
43941 /* end confdefs.h. */
43942 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43943 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43944 #define $ac_func innocuous_$ac_func
43946 /* System header to define __stub macros and hopefully few prototypes,
43947 which can conflict with char $ac_func (); below.
43948 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43949 <limits.h> exists even on freestanding compilers. */
43952 # include <limits.h>
43954 # include <assert.h>
43959 /* Override any GCC internal prototype to avoid an error.
43960 Use char because int might match the return type of a GCC
43961 builtin and then its argument prototype would still apply. */
43966 /* The GNU C library defines this for functions which it implements
43967 to always fail with ENOSYS. Some functions are actually named
43968 something starting with __ and the normal name is an alias. */
43969 #if defined __stub_$ac_func || defined __stub___$ac_func
43976 return $ac_func ();
43981 rm -f conftest.$ac_objext conftest$ac_exeext
43982 if { (ac_try="$ac_link"
43983 case "(($ac_try" in
43984 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
43985 *) ac_try_echo
=$ac_try;;
43987 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43988 (eval "$ac_link") 2>conftest.er1
43990 grep -v '^ *+' conftest.er1
>conftest.err
43992 cat conftest.err
>&5
43993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43994 (exit $ac_status); } && {
43995 test -z "$ac_c_werror_flag" ||
43996 test ! -s conftest.err
43997 } && test -s conftest
$ac_exeext &&
43998 $as_test_x conftest
$ac_exeext; then
43999 eval "$as_ac_var=yes"
44001 echo "$as_me: failed program was:" >&5
44002 sed 's/^/| /' conftest.
$ac_ext >&5
44004 eval "$as_ac_var=no"
44007 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
44008 conftest
$ac_exeext conftest.
$ac_ext
44010 ac_res
=`eval echo '${'$as_ac_var'}'`
44011 { echo "$as_me:$LINENO: result: $ac_res" >&5
44012 echo "${ECHO_T}$ac_res" >&6; }
44013 if test `eval echo '${'$as_ac_var'}'` = yes; then
44014 cat >>confdefs.h
<<_ACEOF
44015 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44022 if test "$ac_cv_func_localtime" = "yes"; then
44023 { echo "$as_me:$LINENO: checking for tm_gmtoff in struct tm" >&5
44024 echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6; }
44025 if test "${wx_cv_struct_tm_has_gmtoff+set}" = set; then
44026 echo $ECHO_N "(cached) $ECHO_C" >&6
44029 cat >conftest.
$ac_ext <<_ACEOF
44032 cat confdefs.h
>>conftest.
$ac_ext
44033 cat >>conftest.
$ac_ext <<_ACEOF
44034 /* end confdefs.h. */
44049 rm -f conftest.
$ac_objext
44050 if { (ac_try
="$ac_compile"
44051 case "(($ac_try" in
44052 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
44053 *) ac_try_echo=$ac_try;;
44055 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44056 (eval "$ac_compile") 2>conftest.er1
44058 grep -v '^ *+' conftest.er1 >conftest.err
44060 cat conftest.err >&5
44061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44062 (exit $ac_status); } && {
44063 test -z "$ac_c_werror_flag" ||
44064 test ! -s conftest.err
44065 } && test -s conftest.$ac_objext; then
44067 wx_cv_struct_tm_has_gmtoff=yes
44070 echo "$as_me: failed program was:" >&5
44071 sed 's/^/| /' conftest.$ac_ext >&5
44073 wx_cv_struct_tm_has_gmtoff=no
44077 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44080 { echo "$as_me:$LINENO: result: $wx_cv_struct_tm_has_gmtoff" >&5
44081 echo "${ECHO_T}$wx_cv_struct_tm_has_gmtoff" >&6; }
44084 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
44085 cat >>confdefs.h <<\_ACEOF
44086 #define WX_GMTOFF_IN_TM 1
44091 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS typetest"
44095 if test "$wxUSE_SOCKETS" = "yes"; then
44096 if test "$wxUSE_MGL" = 1; then
44097 { echo "$as_me:$LINENO: WARNING: wxSocket not yet supported under MGL... disabled" >&5
44098 echo "$as_me: WARNING: wxSocket not yet supported under MGL... disabled" >&2;}
44103 if test "$wxUSE_SOCKETS" = "yes"; then
44104 if test "$TOOLKIT" != "MSW"; then
44105 { echo "$as_me:$LINENO: checking for socket" >&5
44106 echo $ECHO_N "checking for socket... $ECHO_C" >&6; }
44107 if test "${ac_cv_func_socket+set}" = set; then
44108 echo $ECHO_N "(cached) $ECHO_C" >&6
44110 cat >conftest.$ac_ext <<_ACEOF
44113 cat confdefs.h >>conftest.$ac_ext
44114 cat >>conftest.$ac_ext <<_ACEOF
44115 /* end confdefs.h. */
44116 /* Define socket to an innocuous variant, in case <limits.h> declares socket.
44117 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44118 #define socket innocuous_socket
44120 /* System header to define __stub macros and hopefully few prototypes,
44121 which can conflict with char socket (); below.
44122 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44123 <limits.h> exists even on freestanding compilers. */
44126 # include <limits.h>
44128 # include <assert.h>
44133 /* Override any GCC internal prototype to avoid an error.
44134 Use char because int might match the return type of a GCC
44135 builtin and then its argument prototype would still apply. */
44140 /* The GNU C library defines this for functions which it implements
44141 to always fail with ENOSYS. Some functions are actually named
44142 something starting with __ and the normal name is an alias. */
44143 #if defined __stub_socket || defined __stub___socket
44155 rm -f conftest.$ac_objext conftest$ac_exeext
44156 if { (ac_try="$ac_link"
44157 case "(($ac_try" in
44158 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
44159 *) ac_try_echo
=$ac_try;;
44161 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44162 (eval "$ac_link") 2>conftest.er1
44164 grep -v '^ *+' conftest.er1
>conftest.err
44166 cat conftest.err
>&5
44167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44168 (exit $ac_status); } && {
44169 test -z "$ac_c_werror_flag" ||
44170 test ! -s conftest.err
44171 } && test -s conftest
$ac_exeext &&
44172 $as_test_x conftest
$ac_exeext; then
44173 ac_cv_func_socket
=yes
44175 echo "$as_me: failed program was:" >&5
44176 sed 's/^/| /' conftest.
$ac_ext >&5
44178 ac_cv_func_socket
=no
44181 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
44182 conftest
$ac_exeext conftest.
$ac_ext
44184 { echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5
44185 echo "${ECHO_T}$ac_cv_func_socket" >&6; }
44186 if test $ac_cv_func_socket = yes; then
44190 { echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
44191 echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6; }
44192 if test "${ac_cv_lib_socket_socket+set}" = set; then
44193 echo $ECHO_N "(cached) $ECHO_C" >&6
44195 ac_check_lib_save_LIBS
=$LIBS
44196 LIBS
="-lsocket $LIBS"
44197 cat >conftest.
$ac_ext <<_ACEOF
44200 cat confdefs.h
>>conftest.
$ac_ext
44201 cat >>conftest.
$ac_ext <<_ACEOF
44202 /* end confdefs.h. */
44204 /* Override any GCC internal prototype to avoid an error.
44205 Use char because int might match the return type of a GCC
44206 builtin and then its argument prototype would still apply. */
44219 rm -f conftest.
$ac_objext conftest
$ac_exeext
44220 if { (ac_try
="$ac_link"
44221 case "(($ac_try" in
44222 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
44223 *) ac_try_echo=$ac_try;;
44225 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44226 (eval "$ac_link") 2>conftest.er1
44228 grep -v '^ *+' conftest.er1 >conftest.err
44230 cat conftest.err >&5
44231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44232 (exit $ac_status); } && {
44233 test -z "$ac_c_werror_flag" ||
44234 test ! -s conftest.err
44235 } && test -s conftest$ac_exeext &&
44236 $as_test_x conftest$ac_exeext; then
44237 ac_cv_lib_socket_socket=yes
44239 echo "$as_me: failed program was:" >&5
44240 sed 's/^/| /' conftest.$ac_ext >&5
44242 ac_cv_lib_socket_socket=no
44245 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
44246 conftest$ac_exeext conftest.$ac_ext
44247 LIBS=$ac_check_lib_save_LIBS
44249 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
44250 echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6; }
44251 if test $ac_cv_lib_socket_socket = yes; then
44252 if test "$INET_LINK" != " -lsocket"; then
44253 INET_LINK="$INET_LINK -lsocket"
44257 { echo "$as_me:$LINENO: WARNING: socket library not found - sockets will be disabled" >&5
44258 echo "$as_me: WARNING: socket library not found - sockets will be disabled" >&2;}
44271 if test "$wxUSE_SOCKETS" = "yes" ; then
44272 if test "$TOOLKIT" != "MSW"; then
44273 { echo "$as_me:$LINENO: checking what is the type of the third argument of getsockname" >&5
44274 echo $ECHO_N "checking what is the type of the third argument of getsockname... $ECHO_C" >&6; }
44275 if test "${wx_cv_type_getsockname3+set}" = set; then
44276 echo $ECHO_N "(cached) $ECHO_C" >&6
44280 ac_cpp='$CXXCPP $CPPFLAGS'
44281 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44282 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44283 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44285 cat >conftest.$ac_ext <<_ACEOF
44288 cat confdefs.h >>conftest.$ac_ext
44289 cat >>conftest.$ac_ext <<_ACEOF
44290 /* end confdefs.h. */
44292 #include <sys/types.h>
44293 #include <sys/socket.h>
44300 getsockname(0, 0, &len);
44306 rm -f conftest.$ac_objext
44307 if { (ac_try="$ac_compile"
44308 case "(($ac_try" in
44309 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
44310 *) ac_try_echo
=$ac_try;;
44312 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44313 (eval "$ac_compile") 2>conftest.er1
44315 grep -v '^ *+' conftest.er1
>conftest.err
44317 cat conftest.err
>&5
44318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44319 (exit $ac_status); } && {
44320 test -z "$ac_cxx_werror_flag" ||
44321 test ! -s conftest.err
44322 } && test -s conftest.
$ac_objext; then
44323 wx_cv_type_getsockname3
=socklen_t
44325 echo "$as_me: failed program was:" >&5
44326 sed 's/^/| /' conftest.
$ac_ext >&5
44329 CFLAGS_OLD
="$CFLAGS"
44330 if test "$GCC" = yes ; then
44331 CFLAGS
="-Werror $CFLAGS"
44334 cat >conftest.
$ac_ext <<_ACEOF
44337 cat confdefs.h
>>conftest.
$ac_ext
44338 cat >>conftest.
$ac_ext <<_ACEOF
44339 /* end confdefs.h. */
44341 #include <sys/types.h>
44342 #include <sys/socket.h>
44349 getsockname(0, 0, &len);
44355 rm -f conftest.
$ac_objext
44356 if { (ac_try
="$ac_compile"
44357 case "(($ac_try" in
44358 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
44359 *) ac_try_echo=$ac_try;;
44361 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44362 (eval "$ac_compile") 2>conftest.er1
44364 grep -v '^ *+' conftest.er1 >conftest.err
44366 cat conftest.err >&5
44367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44368 (exit $ac_status); } && {
44369 test -z "$ac_cxx_werror_flag" ||
44370 test ! -s conftest.err
44371 } && test -s conftest.$ac_objext; then
44372 wx_cv_type_getsockname3=size_t
44374 echo "$as_me: failed program was:" >&5
44375 sed 's/^/| /' conftest.$ac_ext >&5
44377 cat >conftest.$ac_ext <<_ACEOF
44380 cat confdefs.h >>conftest.$ac_ext
44381 cat >>conftest.$ac_ext <<_ACEOF
44382 /* end confdefs.h. */
44384 #include <sys/types.h>
44385 #include <sys/socket.h>
44392 getsockname(0, 0, &len);
44398 rm -f conftest.$ac_objext
44399 if { (ac_try="$ac_compile"
44400 case "(($ac_try" in
44401 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
44402 *) ac_try_echo
=$ac_try;;
44404 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44405 (eval "$ac_compile") 2>conftest.er1
44407 grep -v '^ *+' conftest.er1
>conftest.err
44409 cat conftest.err
>&5
44410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44411 (exit $ac_status); } && {
44412 test -z "$ac_cxx_werror_flag" ||
44413 test ! -s conftest.err
44414 } && test -s conftest.
$ac_objext; then
44415 wx_cv_type_getsockname3
=int
44417 echo "$as_me: failed program was:" >&5
44418 sed 's/^/| /' conftest.
$ac_ext >&5
44420 wx_cv_type_getsockname3
=unknown
44424 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
44428 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
44430 CFLAGS
="$CFLAGS_OLD"
44435 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
44437 ac_cpp
='$CPP $CPPFLAGS'
44438 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44439 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44440 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
44444 { echo "$as_me:$LINENO: result: $wx_cv_type_getsockname3" >&5
44445 echo "${ECHO_T}$wx_cv_type_getsockname3" >&6; }
44447 if test "$wx_cv_type_getsockname3" = "unknown"; then
44449 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
44450 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
44452 cat >>confdefs.h
<<_ACEOF
44453 #define WX_SOCKLEN_T $wx_cv_type_getsockname3
44457 { echo "$as_me:$LINENO: checking what is the type of the fifth argument of getsockopt" >&5
44458 echo $ECHO_N "checking what is the type of the fifth argument of getsockopt... $ECHO_C" >&6; }
44459 if test "${wx_cv_type_getsockopt5+set}" = set; then
44460 echo $ECHO_N "(cached) $ECHO_C" >&6
44464 ac_cpp
='$CXXCPP $CPPFLAGS'
44465 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44466 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44467 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
44469 cat >conftest.
$ac_ext <<_ACEOF
44472 cat confdefs.h
>>conftest.
$ac_ext
44473 cat >>conftest.
$ac_ext <<_ACEOF
44474 /* end confdefs.h. */
44476 #include <sys/types.h>
44477 #include <sys/socket.h>
44484 getsockopt(0, 0, 0, 0, &len);
44490 rm -f conftest.
$ac_objext
44491 if { (ac_try
="$ac_compile"
44492 case "(($ac_try" in
44493 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
44494 *) ac_try_echo=$ac_try;;
44496 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44497 (eval "$ac_compile") 2>conftest.er1
44499 grep -v '^ *+' conftest.er1 >conftest.err
44501 cat conftest.err >&5
44502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44503 (exit $ac_status); } && {
44504 test -z "$ac_cxx_werror_flag" ||
44505 test ! -s conftest.err
44506 } && test -s conftest.$ac_objext; then
44507 wx_cv_type_getsockopt5=socklen_t
44509 echo "$as_me: failed program was:" >&5
44510 sed 's/^/| /' conftest.$ac_ext >&5
44513 cat >conftest.$ac_ext <<_ACEOF
44516 cat confdefs.h >>conftest.$ac_ext
44517 cat >>conftest.$ac_ext <<_ACEOF
44518 /* end confdefs.h. */
44520 #include <sys/types.h>
44521 #include <sys/socket.h>
44528 getsockopt(0, 0, 0, 0, &len);
44534 rm -f conftest.$ac_objext
44535 if { (ac_try="$ac_compile"
44536 case "(($ac_try" in
44537 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
44538 *) ac_try_echo
=$ac_try;;
44540 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44541 (eval "$ac_compile") 2>conftest.er1
44543 grep -v '^ *+' conftest.er1
>conftest.err
44545 cat conftest.err
>&5
44546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44547 (exit $ac_status); } && {
44548 test -z "$ac_cxx_werror_flag" ||
44549 test ! -s conftest.err
44550 } && test -s conftest.
$ac_objext; then
44551 wx_cv_type_getsockopt5
=size_t
44553 echo "$as_me: failed program was:" >&5
44554 sed 's/^/| /' conftest.
$ac_ext >&5
44556 cat >conftest.
$ac_ext <<_ACEOF
44559 cat confdefs.h
>>conftest.
$ac_ext
44560 cat >>conftest.
$ac_ext <<_ACEOF
44561 /* end confdefs.h. */
44563 #include <sys/types.h>
44564 #include <sys/socket.h>
44571 getsockopt(0, 0, 0, 0, &len);
44577 rm -f conftest.
$ac_objext
44578 if { (ac_try
="$ac_compile"
44579 case "(($ac_try" in
44580 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
44581 *) ac_try_echo=$ac_try;;
44583 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44584 (eval "$ac_compile") 2>conftest.er1
44586 grep -v '^ *+' conftest.er1 >conftest.err
44588 cat conftest.err >&5
44589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44590 (exit $ac_status); } && {
44591 test -z "$ac_cxx_werror_flag" ||
44592 test ! -s conftest.err
44593 } && test -s conftest.$ac_objext; then
44594 wx_cv_type_getsockopt5=int
44596 echo "$as_me: failed program was:" >&5
44597 sed 's/^/| /' conftest.$ac_ext >&5
44599 wx_cv_type_getsockopt5=unknown
44603 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44607 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44612 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44614 ac_cpp='$CPP $CPPFLAGS'
44615 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44616 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44617 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44621 { echo "$as_me:$LINENO: result: $wx_cv_type_getsockopt5" >&5
44622 echo "${ECHO_T}$wx_cv_type_getsockopt5" >&6; }
44624 if test "$wx_cv_type_getsockopt5" = "unknown"; then
44626 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
44627 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
44629 cat >>confdefs.h <<_ACEOF
44630 #define SOCKOPTLEN_T $wx_cv_type_getsockopt5
44637 if test "$wxUSE_SOCKETS" = "yes" ; then
44638 if test "$wxUSE_IPV6" = "yes"; then
44639 { echo "$as_me:$LINENO: checking whether we have sockaddr_in6" >&5
44640 echo $ECHO_N "checking whether we have sockaddr_in6... $ECHO_C" >&6; }
44641 if test "${wx_cv_type_sockaddr_in6+set}" = set; then
44642 echo $ECHO_N "(cached) $ECHO_C" >&6
44645 cat >conftest.$ac_ext <<_ACEOF
44648 cat confdefs.h >>conftest.$ac_ext
44649 cat >>conftest.$ac_ext <<_ACEOF
44650 /* end confdefs.h. */
44652 #include <sys/types.h>
44653 #include <sys/socket.h>
44654 #include <netinet/in.h>
44660 struct sockaddr_in6 sa6;
44666 rm -f conftest.$ac_objext
44667 if { (ac_try="$ac_compile"
44668 case "(($ac_try" in
44669 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
44670 *) ac_try_echo
=$ac_try;;
44672 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44673 (eval "$ac_compile") 2>conftest.er1
44675 grep -v '^ *+' conftest.er1
>conftest.err
44677 cat conftest.err
>&5
44678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44679 (exit $ac_status); } && {
44680 test -z "$ac_c_werror_flag" ||
44681 test ! -s conftest.err
44682 } && test -s conftest.
$ac_objext; then
44683 wx_cv_type_sockaddr_in6
=yes
44685 echo "$as_me: failed program was:" >&5
44686 sed 's/^/| /' conftest.
$ac_ext >&5
44688 wx_cv_type_sockaddr_in6
=no
44692 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
44696 { echo "$as_me:$LINENO: result: $wx_cv_type_sockaddr_in6" >&5
44697 echo "${ECHO_T}$wx_cv_type_sockaddr_in6" >&6; }
44699 if test "$wx_cv_type_sockaddr_in6"="yes"; then
44700 cat >>confdefs.h
<<\_ACEOF
44701 #define wxUSE_IPV6 1
44705 { echo "$as_me:$LINENO: WARNING: IPv6 support not available... disabled" >&5
44706 echo "$as_me: WARNING: IPv6 support not available... disabled" >&2;}
44710 cat >>confdefs.h
<<\_ACEOF
44711 #define wxUSE_SOCKETS 1
44714 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sockets"
44717 if test "$wxUSE_PROTOCOL" = "yes"; then
44718 if test "$wxUSE_SOCKETS" != "yes"; then
44719 { echo "$as_me:$LINENO: WARNING: Protocol classes require sockets... disabled" >&5
44720 echo "$as_me: WARNING: Protocol classes require sockets... disabled" >&2;}
44725 if test "$wxUSE_PROTOCOL" = "yes"; then
44726 cat >>confdefs.h
<<\_ACEOF
44727 #define wxUSE_PROTOCOL 1
44731 if test "$wxUSE_PROTOCOL_HTTP" = "yes"; then
44732 cat >>confdefs.h
<<\_ACEOF
44733 #define wxUSE_PROTOCOL_HTTP 1
44737 if test "$wxUSE_PROTOCOL_FTP" = "yes"; then
44738 cat >>confdefs.h
<<\_ACEOF
44739 #define wxUSE_PROTOCOL_FTP 1
44743 if test "$wxUSE_PROTOCOL_FILE" = "yes"; then
44744 cat >>confdefs.h
<<\_ACEOF
44745 #define wxUSE_PROTOCOL_FILE 1
44750 if test "$wxUSE_FS_INET" = "yes"; then
44751 { echo "$as_me:$LINENO: WARNING: HTTP filesystem require protocol classes... disabled" >&5
44752 echo "$as_me: WARNING: HTTP filesystem require protocol classes... disabled" >&2;}
44757 if test "$wxUSE_URL" = "yes"; then
44758 if test "$wxUSE_PROTOCOL" != "yes"; then
44759 { echo "$as_me:$LINENO: WARNING: wxURL class requires wxProtocol... disabled" >&5
44760 echo "$as_me: WARNING: wxURL class requires wxProtocol... disabled" >&2;}
44763 if test "$wxUSE_URL" = "yes"; then
44764 cat >>confdefs.h
<<\_ACEOF
44765 #define wxUSE_URL 1
44771 if test "$wxUSE_VARIANT" = "yes"; then
44772 cat >>confdefs.h
<<\_ACEOF
44773 #define wxUSE_VARIANT 1
44778 if test "$wxUSE_FS_INET" = "yes"; then
44779 cat >>confdefs.h
<<\_ACEOF
44780 #define wxUSE_FS_INET 1
44786 if test "$wxUSE_GUI" = "yes" -a "$wxUSE_JOYSTICK" = "yes"; then
44789 if test "$TOOLKIT" = "MSW"; then
44792 elif test "$TOOLKIT" = "MAC" -o "$TOOLKIT" = "COCOA"; then
44793 if test "$USE_DARWIN" = 1; then
44794 { echo "$as_me:$LINENO: checking headers have declarations needed for joystick support" >&5
44795 echo $ECHO_N "checking headers have declarations needed for joystick support... $ECHO_C" >&6; }
44797 ac_cpp
='$CXXCPP $CPPFLAGS'
44798 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44799 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44800 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
44802 cat >conftest.
$ac_ext <<_ACEOF
44805 cat confdefs.h
>>conftest.
$ac_ext
44806 cat >>conftest.
$ac_ext <<_ACEOF
44807 /* end confdefs.h. */
44808 #include <IOKit/hid/IOHIDLib.h>
44812 IOHIDQueueInterface *qi = NULL;
44813 IOHIDCallbackFunction cb = NULL;
44814 qi->setEventCallout(NULL, cb, NULL, NULL);
44819 rm -f conftest.
$ac_objext
44820 if { (ac_try
="$ac_compile"
44821 case "(($ac_try" in
44822 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
44823 *) ac_try_echo=$ac_try;;
44825 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44826 (eval "$ac_compile") 2>conftest.er1
44828 grep -v '^ *+' conftest.er1 >conftest.err
44830 cat conftest.err >&5
44831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44832 (exit $ac_status); } && {
44833 test -z "$ac_cxx_werror_flag" ||
44834 test ! -s conftest.err
44835 } && test -s conftest.$ac_objext; then
44839 echo "$as_me: failed program was:" >&5
44840 sed 's/^/| /' conftest.$ac_ext >&5
44845 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44847 ac_cpp='$CPP $CPPFLAGS'
44848 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44849 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44850 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44852 { echo "$as_me:$LINENO: result: $wxUSE_JOYSTICK" >&5
44853 echo "${ECHO_T}$wxUSE_JOYSTICK" >&6; }
44857 if test "$wxUSE_MGL" != 1; then
44859 for ac_header in linux/joystick.h
44861 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
44862 { echo "$as_me:$LINENO: checking for $ac_header" >&5
44863 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
44864 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
44865 echo $ECHO_N "(cached) $ECHO_C" >&6
44867 cat >conftest.$ac_ext <<_ACEOF
44870 cat confdefs.h >>conftest.$ac_ext
44871 cat >>conftest.$ac_ext <<_ACEOF
44872 /* end confdefs.h. */
44873 $ac_includes_default
44875 #include <$ac_header>
44877 rm -f conftest.$ac_objext
44878 if { (ac_try="$ac_compile"
44879 case "(($ac_try" in
44880 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
44881 *) ac_try_echo
=$ac_try;;
44883 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44884 (eval "$ac_compile") 2>conftest.er1
44886 grep -v '^ *+' conftest.er1
>conftest.err
44888 cat conftest.err
>&5
44889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44890 (exit $ac_status); } && {
44891 test -z "$ac_c_werror_flag" ||
44892 test ! -s conftest.err
44893 } && test -s conftest.
$ac_objext; then
44894 eval "$as_ac_Header=yes"
44896 echo "$as_me: failed program was:" >&5
44897 sed 's/^/| /' conftest.
$ac_ext >&5
44899 eval "$as_ac_Header=no"
44902 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
44904 ac_res
=`eval echo '${'$as_ac_Header'}'`
44905 { echo "$as_me:$LINENO: result: $ac_res" >&5
44906 echo "${ECHO_T}$ac_res" >&6; }
44907 if test `eval echo '${'$as_ac_Header'}'` = yes; then
44908 cat >>confdefs.h
<<_ACEOF
44909 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
44919 if test "$wxUSE_JOYSTICK" = "yes"; then
44920 cat >>confdefs.h
<<\_ACEOF
44921 #define wxUSE_JOYSTICK 1
44924 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS joytest"
44926 { echo "$as_me:$LINENO: WARNING: Joystick not supported by this system... disabled" >&5
44927 echo "$as_me: WARNING: Joystick not supported by this system... disabled" >&2;}
44933 if test "$wxUSE_FONTENUM" = "yes" ; then
44934 cat >>confdefs.h
<<\_ACEOF
44935 #define wxUSE_FONTENUM 1
44940 if test "$wxUSE_FONTMAP" = "yes" ; then
44941 cat >>confdefs.h
<<\_ACEOF
44942 #define wxUSE_FONTMAP 1
44947 if test "$wxUSE_UNICODE" = "yes" ; then
44948 cat >>confdefs.h
<<\_ACEOF
44949 #define wxUSE_UNICODE 1
44953 if test "$USE_WIN32" != 1; then
44954 wxUSE_UNICODE_MSLU
=no
44957 if test "$USE_WIN32" = 1 -a "$wxUSE_UNICODE_MSLU" = "yes"; then
44958 { echo "$as_me:$LINENO: checking for main in -lunicows" >&5
44959 echo $ECHO_N "checking for main in -lunicows... $ECHO_C" >&6; }
44960 if test "${ac_cv_lib_unicows_main+set}" = set; then
44961 echo $ECHO_N "(cached) $ECHO_C" >&6
44963 ac_check_lib_save_LIBS
=$LIBS
44964 LIBS
="-lunicows $LIBS"
44965 cat >conftest.
$ac_ext <<_ACEOF
44968 cat confdefs.h
>>conftest.
$ac_ext
44969 cat >>conftest.
$ac_ext <<_ACEOF
44970 /* end confdefs.h. */
44981 rm -f conftest.
$ac_objext conftest
$ac_exeext
44982 if { (ac_try
="$ac_link"
44983 case "(($ac_try" in
44984 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
44985 *) ac_try_echo=$ac_try;;
44987 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44988 (eval "$ac_link") 2>conftest.er1
44990 grep -v '^ *+' conftest.er1 >conftest.err
44992 cat conftest.err >&5
44993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44994 (exit $ac_status); } && {
44995 test -z "$ac_c_werror_flag" ||
44996 test ! -s conftest.err
44997 } && test -s conftest$ac_exeext &&
44998 $as_test_x conftest$ac_exeext; then
44999 ac_cv_lib_unicows_main=yes
45001 echo "$as_me: failed program was:" >&5
45002 sed 's/^/| /' conftest.$ac_ext >&5
45004 ac_cv_lib_unicows_main=no
45007 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
45008 conftest$ac_exeext conftest.$ac_ext
45009 LIBS=$ac_check_lib_save_LIBS
45011 { echo "$as_me:$LINENO: result: $ac_cv_lib_unicows_main" >&5
45012 echo "${ECHO_T}$ac_cv_lib_unicows_main" >&6; }
45013 if test $ac_cv_lib_unicows_main = yes; then
45015 cat >>confdefs.h <<\_ACEOF
45016 #define wxUSE_UNICODE_MSLU 1
45022 { echo "$as_me:$LINENO: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
45023 Applications will only run on Windows NT/2000/XP!" >&5
45024 echo "$as_me: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
45025 Applications will only run on Windows NT/2000/XP!" >&2;}
45026 wxUSE_UNICODE_MSLU=no
45033 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_UTF8" = "yes"; then
45034 cat >>confdefs.h <<\_ACEOF
45035 #define wxUSE_UNICODE_UTF8 1
45039 if test "$wxUSE_UNICODE_UTF8_LOCALE" = "yes"; then
45040 cat >>confdefs.h <<\_ACEOF
45041 #define wxUSE_UTF8_LOCALE_ONLY 1
45048 if test "$wxUSE_CONSTRAINTS" = "yes"; then
45049 cat >>confdefs.h <<\_ACEOF
45050 #define wxUSE_CONSTRAINTS 1
45053 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS layout"
45056 if test "$wxUSE_MDI" = "yes"; then
45057 cat >>confdefs.h <<\_ACEOF
45058 #define wxUSE_MDI 1
45062 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
45063 cat >>confdefs.h <<\_ACEOF
45064 #define wxUSE_MDI_ARCHITECTURE 1
45067 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mdi"
45071 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
45072 cat >>confdefs.h <<\_ACEOF
45073 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
45076 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docview"
45077 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
45078 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docvwmdi"
45082 if test "$wxUSE_HELP" = "yes"; then
45083 cat >>confdefs.h <<\_ACEOF
45084 #define wxUSE_HELP 1
45087 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS help"
45089 if test "$wxUSE_MSW" = 1; then
45090 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
45091 cat >>confdefs.h <<\_ACEOF
45092 #define wxUSE_MS_HTML_HELP 1
45098 if test "$wxUSE_WXHTML_HELP" = "yes"; then
45099 if test "$wxUSE_HTML" = "yes"; then
45100 cat >>confdefs.h <<\_ACEOF
45101 #define wxUSE_WXHTML_HELP 1
45105 { echo "$as_me:$LINENO: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&5
45106 echo "$as_me: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&2;}
45107 wxUSE_WXHTML_HELP=no
45112 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
45113 if test "$wxUSE_CONSTRAINTS" != "yes"; then
45114 { echo "$as_me:$LINENO: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&5
45115 echo "$as_me: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&2;}
45117 cat >>confdefs.h <<\_ACEOF
45118 #define wxUSE_PRINTING_ARCHITECTURE 1
45122 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS printing"
45125 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
45126 cat >>confdefs.h <<\_ACEOF
45127 #define wxUSE_POSTSCRIPT 1
45132 cat >>confdefs.h <<\_ACEOF
45133 #define wxUSE_AFM_FOR_POSTSCRIPT 1
45137 if test "$wxUSE_SVG" = "yes"; then
45138 cat >>confdefs.h <<\_ACEOF
45139 #define wxUSE_SVG 1
45145 if test "$wxUSE_METAFILE" = "yes"; then
45146 if test "$wxUSE_MSW" != 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_PM" != 1; then
45147 { echo "$as_me:$LINENO: WARNING: wxMetafile is not available on this system... disabled" >&5
45148 echo "$as_me: WARNING: wxMetafile is not available on this system... disabled" >&2;}
45154 if test "$USE_WIN32" = 1 -a \( "$wxUSE_DATAOBJ" = "yes" \
45155 -o "$wxUSE_CLIPBOARD" = "yes" \
45156 -o "$wxUSE_OLE" = "yes" \
45157 -o "$wxUSE_DRAG_AND_DROP" = "yes" \) ; then
45158 { echo "$as_me:$LINENO: checking for ole2.h" >&5
45159 echo $ECHO_N "checking for ole2.h... $ECHO_C" >&6; }
45160 if test "${ac_cv_header_ole2_h+set}" = set; then
45161 echo $ECHO_N "(cached) $ECHO_C" >&6
45163 cat >conftest.$ac_ext <<_ACEOF
45166 cat confdefs.h >>conftest.$ac_ext
45167 cat >>conftest.$ac_ext <<_ACEOF
45168 /* end confdefs.h. */
45173 rm -f conftest.$ac_objext
45174 if { (ac_try="$ac_compile"
45175 case "(($ac_try" in
45176 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
45177 *) ac_try_echo
=$ac_try;;
45179 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45180 (eval "$ac_compile") 2>conftest.er1
45182 grep -v '^ *+' conftest.er1
>conftest.err
45184 cat conftest.err
>&5
45185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45186 (exit $ac_status); } && {
45187 test -z "$ac_c_werror_flag" ||
45188 test ! -s conftest.err
45189 } && test -s conftest.
$ac_objext; then
45190 ac_cv_header_ole2_h
=yes
45192 echo "$as_me: failed program was:" >&5
45193 sed 's/^/| /' conftest.
$ac_ext >&5
45195 ac_cv_header_ole2_h
=no
45198 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
45200 { echo "$as_me:$LINENO: result: $ac_cv_header_ole2_h" >&5
45201 echo "${ECHO_T}$ac_cv_header_ole2_h" >&6; }
45205 if test "$ac_cv_header_ole2_h" = "yes" ; then
45206 if test "$GCC" = yes ; then
45207 { echo "$as_me:$LINENO: checking if g++ requires -fvtable-thunks" >&5
45208 echo $ECHO_N "checking if g++ requires -fvtable-thunks... $ECHO_C" >&6; }
45209 cat >conftest.
$ac_ext <<_ACEOF
45212 cat confdefs.h
>>conftest.
$ac_ext
45213 cat >>conftest.
$ac_ext <<_ACEOF
45214 /* end confdefs.h. */
45215 #include <windows.h>
45225 rm -f conftest.
$ac_objext
45226 if { (ac_try
="$ac_compile"
45227 case "(($ac_try" in
45228 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
45229 *) ac_try_echo=$ac_try;;
45231 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45232 (eval "$ac_compile") 2>conftest.er1
45234 grep -v '^ *+' conftest.er1 >conftest.err
45236 cat conftest.err >&5
45237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45238 (exit $ac_status); } && {
45239 test -z "$ac_c_werror_flag" ||
45240 test ! -s conftest.err
45241 } && test -s conftest.$ac_objext; then
45242 { echo "$as_me:$LINENO: result: no" >&5
45243 echo "${ECHO_T}no" >&6; }
45245 echo "$as_me: failed program was:" >&5
45246 sed 's/^/| /' conftest.$ac_ext >&5
45248 { echo "$as_me:$LINENO: result: yes" >&5
45249 echo "${ECHO_T}yes" >&6; }
45250 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fvtable-thunks"
45253 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45254 LIBS=" -lrpcrt4 -loleaut32 -lole32 -luuid$LIBS"
45255 if test "$wxUSE_OLE" = "yes" ; then
45256 cat >>confdefs.h <<\_ACEOF
45257 #define wxUSE_OLE 1
45260 cat >>confdefs.h <<\_ACEOF
45261 #define wxUSE_OLE_AUTOMATION 1
45264 cat >>confdefs.h <<\_ACEOF
45265 #define wxUSE_ACTIVEX 1
45268 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS oleauto"
45272 if test "$wxUSE_DATAOBJ" = "yes" ; then
45273 cat >>confdefs.h <<\_ACEOF
45274 #define wxUSE_DATAOBJ 1
45279 { echo "$as_me:$LINENO: WARNING: Some features disabled because OLE headers not found" >&5
45280 echo "$as_me: WARNING: Some features disabled because OLE headers not found" >&2;}
45283 wxUSE_DRAG_AND_DROP=no
45288 if test "$wxUSE_METAFILE" = "yes"; then
45289 cat >>confdefs.h <<\_ACEOF
45290 #define wxUSE_METAFILE 1
45294 cat >>confdefs.h <<\_ACEOF
45295 #define wxUSE_ENH_METAFILE 1
45301 if test "$wxUSE_IPC" = "yes"; then
45302 if test "$wxUSE_SOCKETS" != "yes" -a "$USE_WIN32" != 1; then
45303 { echo "$as_me:$LINENO: WARNING: wxWidgets IPC classes require sockets... disabled" >&5
45304 echo "$as_me: WARNING: wxWidgets IPC classes require sockets... disabled" >&2;}
45308 if test "$wxUSE_IPC" = "yes"; then
45309 cat >>confdefs.h <<\_ACEOF
45310 #define wxUSE_IPC 1
45313 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ipc"
45317 if test "$wxUSE_DATAOBJ" = "yes"; then
45318 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = 1; then
45319 { echo "$as_me:$LINENO: WARNING: wxDataObject not yet supported under $TOOLKIT... disabled" >&5
45320 echo "$as_me: WARNING: wxDataObject not yet supported under $TOOLKIT... disabled" >&2;}
45323 cat >>confdefs.h <<\_ACEOF
45324 #define wxUSE_DATAOBJ 1
45329 { echo "$as_me:$LINENO: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&5
45330 echo "$as_me: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&2;}
45332 wxUSE_DRAG_AND_DROP=no
45335 if test "$wxUSE_CLIPBOARD" = "yes"; then
45336 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = 1; then
45337 { echo "$as_me:$LINENO: WARNING: Clipboard not yet supported under $TOOLKIT... disabled" >&5
45338 echo "$as_me: WARNING: Clipboard not yet supported under $TOOLKIT... disabled" >&2;}
45342 if test "$wxUSE_CLIPBOARD" = "yes"; then
45343 cat >>confdefs.h <<\_ACEOF
45344 #define wxUSE_CLIPBOARD 1
45350 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
45351 if test "$wxUSE_GTK" = 1; then
45352 if test "$WXGTK12" != 1; then
45353 { echo "$as_me:$LINENO: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&5
45354 echo "$as_me: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&2;}
45355 wxUSE_DRAG_AND_DROP=no
45359 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_X11" = 1 -o "$wxUSE_MGL" = 1 -o \
45360 "$wxUSE_DFB" = 1; then
45361 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under $TOOLKIT... disabled" >&5
45362 echo "$as_me: WARNING: Drag and drop not yet supported under $TOOLKIT... disabled" >&2;}
45363 wxUSE_DRAG_AND_DROP=no
45366 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
45367 cat >>confdefs.h <<\_ACEOF
45368 #define wxUSE_DRAG_AND_DROP 1
45375 if test "$wxUSE_DRAG_AND_DROP" = "yes" -o "$wxUSE_CLIPBOARD" = "yes"; then
45376 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dnd"
45379 if test "$wxUSE_SPLINES" = "yes" ; then
45380 cat >>confdefs.h <<\_ACEOF
45381 #define wxUSE_SPLINES 1
45386 if test "$wxUSE_MOUSEWHEEL" = "yes" ; then
45387 cat >>confdefs.h <<\_ACEOF
45388 #define wxUSE_MOUSEWHEEL 1
45395 if test "$wxUSE_CONTROLS" = "yes"; then
45399 if test "$wxUSE_ACCEL" = "yes"; then
45400 cat >>confdefs.h <<\_ACEOF
45401 #define wxUSE_ACCEL 1
45407 if test "$wxUSE_ANIMATIONCTRL" = "yes"; then
45408 cat >>confdefs.h <<\_ACEOF
45409 #define wxUSE_ANIMATIONCTRL 1
45413 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS animate"
45416 if test "$wxUSE_BUTTON" = "yes"; then
45417 cat >>confdefs.h <<\_ACEOF
45418 #define wxUSE_BUTTON 1
45424 if test "$wxUSE_BMPBUTTON" = "yes"; then
45425 cat >>confdefs.h <<\_ACEOF
45426 #define wxUSE_BMPBUTTON 1
45432 if test "$wxUSE_CALCTRL" = "yes"; then
45433 cat >>confdefs.h <<\_ACEOF
45434 #define wxUSE_CALENDARCTRL 1
45438 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS calendar"
45441 if test "$wxUSE_CARET" = "yes"; then
45442 cat >>confdefs.h <<\_ACEOF
45443 #define wxUSE_CARET 1
45447 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS caret"
45450 if test "$wxUSE_COLLPANE" = "yes"; then
45451 cat >>confdefs.h <<\_ACEOF
45452 #define wxUSE_COLLPANE 1
45456 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS collpane"
45459 if test "$wxUSE_COMBOBOX" = "yes"; then
45460 cat >>confdefs.h <<\_ACEOF
45461 #define wxUSE_COMBOBOX 1
45467 if test "$wxUSE_COMBOCTRL" = "yes"; then
45468 cat >>confdefs.h <<\_ACEOF
45469 #define wxUSE_COMBOCTRL 1
45475 if test "$wxUSE_CHOICE" = "yes"; then
45476 cat >>confdefs.h <<\_ACEOF
45477 #define wxUSE_CHOICE 1
45483 if test "$wxUSE_CHOICEBOOK" = "yes"; then
45484 cat >>confdefs.h <<\_ACEOF
45485 #define wxUSE_CHOICEBOOK 1
45491 if test "$wxUSE_CHECKBOX" = "yes"; then
45492 cat >>confdefs.h <<\_ACEOF
45493 #define wxUSE_CHECKBOX 1
45499 if test "$wxUSE_CHECKLST" = "yes"; then
45500 cat >>confdefs.h <<\_ACEOF
45501 #define wxUSE_CHECKLISTBOX 1
45507 if test "$wxUSE_COLOURPICKERCTRL" = "yes"; then
45508 cat >>confdefs.h <<\_ACEOF
45509 #define wxUSE_COLOURPICKERCTRL 1
45515 if test "$wxUSE_DATEPICKCTRL" = "yes"; then
45516 cat >>confdefs.h <<\_ACEOF
45517 #define wxUSE_DATEPICKCTRL 1
45523 if test "$wxUSE_DIRPICKERCTRL" = "yes"; then
45524 cat >>confdefs.h <<\_ACEOF
45525 #define wxUSE_DIRPICKERCTRL 1
45531 if test "$wxUSE_FILECTRL" = "yes"; then
45532 cat >>confdefs.h <<\_ACEOF
45533 #define wxUSE_FILECTRL 1
45539 if test "$wxUSE_FILEPICKERCTRL" = "yes"; then
45540 cat >>confdefs.h <<\_ACEOF
45541 #define wxUSE_FILEPICKERCTRL 1
45547 if test "$wxUSE_FONTPICKERCTRL" = "yes"; then
45548 cat >>confdefs.h <<\_ACEOF
45549 #define wxUSE_FONTPICKERCTRL 1
45555 if test "$wxUSE_DISPLAY" = "yes"; then
45556 if test "$wxUSE_DFB" = 1 -o "$wxUSE_MGL" = 1; then
45557 { echo "$as_me:$LINENO: WARNING: wxDisplay not yet supported under $TOOLKIT... disabled" >&5
45558 echo "$as_me: WARNING: wxDisplay not yet supported under $TOOLKIT... disabled" >&2;}
45561 cat >>confdefs.h <<\_ACEOF
45562 #define wxUSE_DISPLAY 1
45565 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS display"
45569 if test "$wxUSE_DETECT_SM" = "yes"; then
45570 cat >>confdefs.h <<\_ACEOF
45571 #define wxUSE_DETECT_SM 1
45576 if test "$wxUSE_GAUGE" = "yes"; then
45577 cat >>confdefs.h <<\_ACEOF
45578 #define wxUSE_GAUGE 1
45584 if test "$wxUSE_GRID" = "yes"; then
45585 cat >>confdefs.h <<\_ACEOF
45586 #define wxUSE_GRID 1
45590 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS grid"
45593 if test "$wxUSE_HYPERLINKCTRL" = "yes"; then
45594 cat >>confdefs.h <<\_ACEOF
45595 #define wxUSE_HYPERLINKCTRL 1
45601 if test "$wxUSE_BITMAPCOMBOBOX" = "yes"; then
45602 cat >>confdefs.h <<\_ACEOF
45603 #define wxUSE_BITMAPCOMBOBOX 1
45609 if test "$wxUSE_DATAVIEWCTRL" = "yes"; then
45610 cat >>confdefs.h <<\_ACEOF
45611 #define wxUSE_DATAVIEWCTRL 1
45615 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dataview"
45618 if test "$wxUSE_IMAGLIST" = "yes"; then
45619 cat >>confdefs.h <<\_ACEOF
45620 #define wxUSE_IMAGLIST 1
45625 if test "$wxUSE_LISTBOOK" = "yes"; then
45626 cat >>confdefs.h <<\_ACEOF
45627 #define wxUSE_LISTBOOK 1
45633 if test "$wxUSE_LISTBOX" = "yes"; then
45634 cat >>confdefs.h <<\_ACEOF
45635 #define wxUSE_LISTBOX 1
45641 if test "$wxUSE_LISTCTRL" = "yes"; then
45642 if test "$wxUSE_IMAGLIST" = "yes"; then
45643 cat >>confdefs.h <<\_ACEOF
45644 #define wxUSE_LISTCTRL 1
45648 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS listctrl"
45650 { echo "$as_me:$LINENO: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&5
45651 echo "$as_me: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&2;}
45655 if test "$wxUSE_EDITABLELISTBOX" = "yes"; then
45656 cat >>confdefs.h <<\_ACEOF
45657 #define wxUSE_EDITABLELISTBOX 1
45661 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS editlbox"
45664 if test "$wxUSE_NOTEBOOK" = "yes"; then
45665 cat >>confdefs.h <<\_ACEOF
45666 #define wxUSE_NOTEBOOK 1
45670 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS notebook"
45673 if test "$wxUSE_NOTIFICATION_MESSAGE" = "yes"; then
45674 cat >>confdefs.h <<\_ACEOF
45675 #define wxUSE_NOTIFICATION_MESSAGE 1
45680 if test "$wxUSE_ODCOMBOBOX" = "yes"; then
45681 cat >>confdefs.h <<\_ACEOF
45682 #define wxUSE_ODCOMBOBOX 1
45686 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS combo"
45689 if test "$wxUSE_RADIOBOX" = "yes"; then
45690 cat >>confdefs.h <<\_ACEOF
45691 #define wxUSE_RADIOBOX 1
45697 if test "$wxUSE_RADIOBTN" = "yes"; then
45698 cat >>confdefs.h <<\_ACEOF
45699 #define wxUSE_RADIOBTN 1
45705 if test "$wxUSE_SASH" = "yes"; then
45706 cat >>confdefs.h <<\_ACEOF
45707 #define wxUSE_SASH 1
45710 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sashtest"
45713 if test "$wxUSE_SCROLLBAR" = "yes"; then
45714 cat >>confdefs.h <<\_ACEOF
45715 #define wxUSE_SCROLLBAR 1
45719 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS scroll scrollsub"
45722 if test "$wxUSE_SEARCHCTRL" = "yes"; then
45723 cat >>confdefs.h <<\_ACEOF
45724 #define wxUSE_SEARCHCTRL 1
45730 if test "$wxUSE_SLIDER" = "yes"; then
45731 cat >>confdefs.h <<\_ACEOF
45732 #define wxUSE_SLIDER 1
45738 if test "$wxUSE_SPINBTN" = "yes"; then
45739 cat >>confdefs.h <<\_ACEOF
45740 #define wxUSE_SPINBTN 1
45746 if test "$wxUSE_SPINCTRL" = "yes"; then
45747 cat >>confdefs.h <<\_ACEOF
45748 #define wxUSE_SPINCTRL 1
45754 if test "$wxUSE_SPLITTER" = "yes"; then
45755 cat >>confdefs.h <<\_ACEOF
45756 #define wxUSE_SPLITTER 1
45759 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splitter"
45762 if test "$wxUSE_STATBMP" = "yes"; then
45763 cat >>confdefs.h <<\_ACEOF
45764 #define wxUSE_STATBMP 1
45770 if test "$wxUSE_STATBOX" = "yes"; then
45771 cat >>confdefs.h <<\_ACEOF
45772 #define wxUSE_STATBOX 1
45778 if test "$wxUSE_STATTEXT" = "yes"; then
45779 cat >>confdefs.h <<\_ACEOF
45780 #define wxUSE_STATTEXT 1
45786 if test "$wxUSE_STATLINE" = "yes"; then
45787 cat >>confdefs.h <<\_ACEOF
45788 #define wxUSE_STATLINE 1
45794 if test "$wxUSE_STATUSBAR" = "yes"; then
45795 cat >>confdefs.h <<\_ACEOF
45796 #define wxUSE_NATIVE_STATUSBAR 1
45799 cat >>confdefs.h <<\_ACEOF
45800 #define wxUSE_STATUSBAR 1
45805 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS statbar"
45808 if test "$wxUSE_TAB_DIALOG" = "yes"; then
45809 cat >>confdefs.h <<\_ACEOF
45810 #define wxUSE_TAB_DIALOG 1
45815 if test "$wxUSE_TEXTCTRL" = "yes"; then
45816 cat >>confdefs.h <<\_ACEOF
45817 #define wxUSE_TEXTCTRL 1
45821 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS text"
45823 cat >>confdefs.h <<\_ACEOF
45824 #define wxUSE_RICHEDIT 1
45827 cat >>confdefs.h <<\_ACEOF
45828 #define wxUSE_RICHEDIT2 1
45833 if test "$wxUSE_TOGGLEBTN" = "yes"; then
45834 if test "$wxUSE_COCOA" = 1 ; then
45835 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&5
45836 echo "$as_me: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&2;}
45840 if test "$wxUSE_TOGGLEBTN" = "yes"; then
45841 cat >>confdefs.h <<\_ACEOF
45842 #define wxUSE_TOGGLEBTN 1
45849 if test "$wxUSE_TOOLBAR" = "yes"; then
45850 cat >>confdefs.h <<\_ACEOF
45851 #define wxUSE_TOOLBAR 1
45856 if test "$wxUSE_UNIVERSAL" = "yes"; then
45857 wxUSE_TOOLBAR_NATIVE="no"
45859 wxUSE_TOOLBAR_NATIVE="yes"
45860 cat >>confdefs.h <<\_ACEOF
45861 #define wxUSE_TOOLBAR_NATIVE 1
45866 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS toolbar"
45869 if test "$wxUSE_TOOLTIPS" = "yes"; then
45870 if test "$wxUSE_MOTIF" = 1; then
45871 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet under Motif... disabled" >&5
45872 echo "$as_me: WARNING: wxTooltip not supported yet under Motif... disabled" >&2;}
45874 if test "$wxUSE_UNIVERSAL" = "yes"; then
45875 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&5
45876 echo "$as_me: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&2;}
45878 cat >>confdefs.h <<\_ACEOF
45879 #define wxUSE_TOOLTIPS 1
45886 if test "$wxUSE_TREEBOOK" = "yes"; then
45887 cat >>confdefs.h <<\_ACEOF
45888 #define wxUSE_TREEBOOK 1
45894 if test "$wxUSE_TOOLBOOK" = "yes"; then
45895 cat >>confdefs.h <<\_ACEOF
45896 #define wxUSE_TOOLBOOK 1
45902 if test "$wxUSE_TREECTRL" = "yes"; then
45903 if test "$wxUSE_IMAGLIST" = "yes"; then
45904 cat >>confdefs.h <<\_ACEOF
45905 #define wxUSE_TREECTRL 1
45909 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS treectrl"
45911 { echo "$as_me:$LINENO: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&5
45912 echo "$as_me: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&2;}
45916 if test "$wxUSE_POPUPWIN" = "yes"; then
45917 if test "$wxUSE_COCOA" = 1 ; then
45918 { echo "$as_me:$LINENO: WARNING: Popup window not yet supported under Mac OS X... disabled" >&5
45919 echo "$as_me: WARNING: Popup window not yet supported under Mac OS X... disabled" >&2;}
45921 if test "$wxUSE_PM" = 1; then
45922 { echo "$as_me:$LINENO: WARNING: wxPopupWindow not yet supported under PM... disabled" >&5
45923 echo "$as_me: WARNING: wxPopupWindow not yet supported under PM... disabled" >&2;}
45925 cat >>confdefs.h <<\_ACEOF
45926 #define wxUSE_POPUPWIN 1
45929 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS popup"
45936 if test "$wxUSE_DIALUP_MANAGER" = "yes"; then
45937 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 -o "$wxUSE_MGL" = 1; then
45938 { echo "$as_me:$LINENO: WARNING: Dialup manager not supported on this platform... disabled" >&5
45939 echo "$as_me: WARNING: Dialup manager not supported on this platform... disabled" >&2;}
45941 cat >>confdefs.h <<\_ACEOF
45942 #define wxUSE_DIALUP_MANAGER 1
45945 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dialup"
45949 if test "$wxUSE_TIPWINDOW" = "yes"; then
45950 if test "$wxUSE_PM" = 1; then
45951 { echo "$as_me:$LINENO: WARNING: wxTipWindow not yet supported under PM... disabled" >&5
45952 echo "$as_me: WARNING: wxTipWindow not yet supported under PM... disabled" >&2;}
45954 cat >>confdefs.h <<\_ACEOF
45955 #define wxUSE_TIPWINDOW 1
45961 if test "$USES_CONTROLS" = 1; then
45962 cat >>confdefs.h <<\_ACEOF
45963 #define wxUSE_CONTROLS 1
45969 if test "$wxUSE_ACCESSIBILITY" = "yes"; then
45970 cat >>confdefs.h <<\_ACEOF
45971 #define wxUSE_ACCESSIBILITY 1
45974 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS access"
45977 if test "$wxUSE_DRAGIMAGE" = "yes"; then
45978 cat >>confdefs.h <<\_ACEOF
45979 #define wxUSE_DRAGIMAGE 1
45982 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dragimag"
45985 if test "$wxUSE_EXCEPTIONS" = "yes"; then
45986 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
45987 { echo "$as_me:$LINENO: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&5
45988 echo "$as_me: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&2;}
45990 cat >>confdefs.h <<\_ACEOF
45991 #define wxUSE_EXCEPTIONS 1
45994 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS except"
45999 if test "$wxUSE_HTML" = "yes"; then
46000 cat >>confdefs.h <<\_ACEOF
46001 #define wxUSE_HTML 1
46005 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html html/about html/help html/helpview html/printing html/test html/virtual html/widget html/zip htlbox"
46006 if test "$wxUSE_MAC" = 1; then
46007 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html/htmlctrl"
46010 if test "$wxUSE_WEBKIT" = "yes"; then
46011 if test "$wxUSE_MAC" = 1 -a "$USE_DARWIN" = 1; then
46012 old_CPPFLAGS="$CPPFLAGS"
46013 CPPFLAGS="-x objective-c++ $CPPFLAGS"
46014 { echo "$as_me:$LINENO: checking for WebKit/HIWebView.h" >&5
46015 echo $ECHO_N "checking for WebKit/HIWebView.h... $ECHO_C" >&6; }
46016 if test "${ac_cv_header_WebKit_HIWebView_h+set}" = set; then
46017 echo $ECHO_N "(cached) $ECHO_C" >&6
46019 cat >conftest.$ac_ext <<_ACEOF
46022 cat confdefs.h >>conftest.$ac_ext
46023 cat >>conftest.$ac_ext <<_ACEOF
46024 /* end confdefs.h. */
46026 #include <Carbon/Carbon.h>
46027 #include <WebKit/WebKit.h>
46030 #include <WebKit/HIWebView.h>
46032 rm -f conftest.$ac_objext
46033 if { (ac_try="$ac_compile"
46034 case "(($ac_try" in
46035 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
46036 *) ac_try_echo
=$ac_try;;
46038 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46039 (eval "$ac_compile") 2>conftest.er1
46041 grep -v '^ *+' conftest.er1
>conftest.err
46043 cat conftest.err
>&5
46044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46045 (exit $ac_status); } && {
46046 test -z "$ac_c_werror_flag" ||
46047 test ! -s conftest.err
46048 } && test -s conftest.
$ac_objext; then
46049 ac_cv_header_WebKit_HIWebView_h
=yes
46051 echo "$as_me: failed program was:" >&5
46052 sed 's/^/| /' conftest.
$ac_ext >&5
46054 ac_cv_header_WebKit_HIWebView_h
=no
46057 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
46059 { echo "$as_me:$LINENO: result: $ac_cv_header_WebKit_HIWebView_h" >&5
46060 echo "${ECHO_T}$ac_cv_header_WebKit_HIWebView_h" >&6; }
46061 if test $ac_cv_header_WebKit_HIWebView_h = yes; then
46063 cat >>confdefs.h
<<\_ACEOF
46064 #define wxUSE_WEBKIT 1
46067 WEBKIT_LINK
="-framework WebKit"
46071 { echo "$as_me:$LINENO: WARNING: WebKit headers not found; disabling wxWebKit" >&5
46072 echo "$as_me: WARNING: WebKit headers not found; disabling wxWebKit" >&2;}
46078 CPPFLAGS
="$old_CPPFLAGS"
46079 elif test "$wxUSE_COCOA" = 1; then
46080 cat >>confdefs.h
<<\_ACEOF
46081 #define wxUSE_WEBKIT 1
46090 if test "$wxUSE_XRC" = "yes"; then
46091 if test "$wxUSE_XML" != "yes"; then
46092 { echo "$as_me:$LINENO: WARNING: XML library not built, XRC resources disabled" >&5
46093 echo "$as_me: WARNING: XML library not built, XRC resources disabled" >&2;}
46096 cat >>confdefs.h
<<\_ACEOF
46097 #define wxUSE_XRC 1
46101 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS xrc"
46106 if test "$wxUSE_AUI" = "yes"; then
46107 cat >>confdefs.h
<<\_ACEOF
46108 #define wxUSE_AUI 1
46112 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS aui"
46116 if test "$wxUSE_STC" = "yes"; then
46117 cat >>confdefs.h
<<\_ACEOF
46118 #define wxUSE_STC 1
46122 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS stc"
46125 if test "$wxUSE_MENUS" = "yes"; then
46126 cat >>confdefs.h
<<\_ACEOF
46127 #define wxUSE_MENUS 1
46130 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS menu"
46133 if test "$wxUSE_METAFILE" = "yes"; then
46134 cat >>confdefs.h
<<\_ACEOF
46135 #define wxUSE_METAFILE 1
46140 if test "$wxUSE_MIMETYPE" = "yes"; then
46141 cat >>confdefs.h
<<\_ACEOF
46142 #define wxUSE_MIMETYPE 1
46147 if test "$wxUSE_MINIFRAME" = "yes"; then
46148 cat >>confdefs.h
<<\_ACEOF
46149 #define wxUSE_MINIFRAME 1
46154 if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
46155 cat >>confdefs.h
<<\_ACEOF
46156 #define wxUSE_SYSTEM_OPTIONS 1
46161 if test "$wxUSE_TASKBARICON" = "yes"; then
46162 cat >>confdefs.h
<<\_ACEOF
46163 #define wxUSE_TASKBARICON 1
46166 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS taskbar"
46170 if test "$wxUSE_VALIDATORS" = "yes"; then
46171 cat >>confdefs.h
<<\_ACEOF
46172 #define wxUSE_VALIDATORS 1
46175 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS validate"
46178 if test "$wxUSE_PALETTE" = "yes" ; then
46179 if test "$wxUSE_DFB" = 1; then
46180 { echo "$as_me:$LINENO: WARNING: wxPalette not yet supported under DFB... disabled" >&5
46181 echo "$as_me: WARNING: wxPalette not yet supported under DFB... disabled" >&2;}
46184 cat >>confdefs.h
<<\_ACEOF
46185 #define wxUSE_PALETTE 1
46191 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_MSLU" = "yes" ; then
46192 LIBS
=" -lunicows $LIBS"
46196 if test "$wxUSE_RICHTEXT" = "yes"; then
46197 cat >>confdefs.h
<<\_ACEOF
46198 #define wxUSE_RICHTEXT 1
46202 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS richtext"
46206 if test "$wxUSE_IMAGE" = "yes" ; then
46207 cat >>confdefs.h
<<\_ACEOF
46208 #define wxUSE_IMAGE 1
46212 if test "$wxUSE_GIF" = "yes" ; then
46213 cat >>confdefs.h
<<\_ACEOF
46214 #define wxUSE_GIF 1
46219 if test "$wxUSE_PCX" = "yes" ; then
46220 cat >>confdefs.h
<<\_ACEOF
46221 #define wxUSE_PCX 1
46226 if test "$wxUSE_TGA" = "yes" ; then
46227 cat >>confdefs.h
<<\_ACEOF
46228 #define wxUSE_TGA 1
46233 if test "$wxUSE_IFF" = "yes" ; then
46234 cat >>confdefs.h
<<\_ACEOF
46235 #define wxUSE_IFF 1
46240 if test "$wxUSE_PNM" = "yes" ; then
46241 cat >>confdefs.h
<<\_ACEOF
46242 #define wxUSE_PNM 1
46247 if test "$wxUSE_XPM" = "yes" ; then
46248 cat >>confdefs.h
<<\_ACEOF
46249 #define wxUSE_XPM 1
46254 if test "$wxUSE_ICO_CUR" = "yes" ; then
46255 cat >>confdefs.h
<<\_ACEOF
46256 #define wxUSE_ICO_CUR 1
46263 if test "$wxUSE_ABOUTDLG" = "yes"; then
46264 cat >>confdefs.h
<<\_ACEOF
46265 #define wxUSE_ABOUTDLG 1
46270 if test "$wxUSE_CHOICEDLG" = "yes"; then
46271 cat >>confdefs.h
<<\_ACEOF
46272 #define wxUSE_CHOICEDLG 1
46277 if test "$wxUSE_COLOURDLG" = "yes"; then
46278 cat >>confdefs.h
<<\_ACEOF
46279 #define wxUSE_COLOURDLG 1
46284 if test "$wxUSE_FILEDLG" = "yes"; then
46285 cat >>confdefs.h
<<\_ACEOF
46286 #define wxUSE_FILEDLG 1
46291 if test "$wxUSE_FINDREPLDLG" = "yes"; then
46292 cat >>confdefs.h
<<\_ACEOF
46293 #define wxUSE_FINDREPLDLG 1
46298 if test "$wxUSE_FONTDLG" = "yes"; then
46299 cat >>confdefs.h
<<\_ACEOF
46300 #define wxUSE_FONTDLG 1
46305 if test "$wxUSE_DIRDLG" = "yes"; then
46306 if test "$wxUSE_TREECTRL" != "yes"; then
46307 { echo "$as_me:$LINENO: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&5
46308 echo "$as_me: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&2;}
46310 cat >>confdefs.h
<<\_ACEOF
46311 #define wxUSE_DIRDLG 1
46317 if test "$wxUSE_MSGDLG" = "yes"; then
46318 cat >>confdefs.h
<<\_ACEOF
46319 #define wxUSE_MSGDLG 1
46324 if test "$wxUSE_NUMBERDLG" = "yes"; then
46325 cat >>confdefs.h
<<\_ACEOF
46326 #define wxUSE_NUMBERDLG 1
46331 if test "$wxUSE_PROGRESSDLG" = "yes"; then
46332 if test "$wxUSE_CONSTRAINTS" != "yes"; then
46333 { echo "$as_me:$LINENO: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&5
46334 echo "$as_me: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&2;}
46336 cat >>confdefs.h
<<\_ACEOF
46337 #define wxUSE_PROGRESSDLG 1
46343 if test "$wxUSE_SPLASH" = "yes"; then
46344 cat >>confdefs.h
<<\_ACEOF
46345 #define wxUSE_SPLASH 1
46348 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS splash"
46351 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
46352 if test "$wxUSE_CONSTRAINTS" != "yes"; then
46353 { echo "$as_me:$LINENO: WARNING: Startup tips requires constraints and won't be compiled without them" >&5
46354 echo "$as_me: WARNING: Startup tips requires constraints and won't be compiled without them" >&2;}
46356 cat >>confdefs.h
<<\_ACEOF
46357 #define wxUSE_STARTUP_TIPS 1
46363 if test "$wxUSE_TEXTDLG" = "yes"; then
46364 cat >>confdefs.h
<<\_ACEOF
46365 #define wxUSE_TEXTDLG 1
46370 if test "$wxUSE_WIZARDDLG" = "yes"; then
46371 cat >>confdefs.h
<<\_ACEOF
46372 #define wxUSE_WIZARDDLG 1
46375 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS wizard"
46379 if test "$wxUSE_MSW" = 1 -o "$wxUSE_PM" = 1; then
46380 if test "$wxUSE_OWNER_DRAWN" = "yes"; then
46381 cat >>confdefs.h
<<\_ACEOF
46382 #define wxUSE_OWNER_DRAWN 1
46389 if test "$wxUSE_MSW" = 1 ; then
46391 if test "$wxUSE_DC_CACHEING" = "yes"; then
46392 cat >>confdefs.h
<<\_ACEOF
46393 #define wxUSE_DC_CACHEING 1
46398 if test "$wxUSE_DIB" = "yes"; then
46399 cat >>confdefs.h
<<\_ACEOF
46400 #define wxUSE_WXDIB 1
46405 if test "$wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW" = "yes"; then
46406 cat >>confdefs.h
<<\_ACEOF
46407 #define wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW 1
46412 if test "$wxUSE_UXTHEME" = "yes"; then
46413 cat >>confdefs.h
<<\_ACEOF
46414 #define wxUSE_UXTHEME 1
46421 if test "$wxUSE_AUTOID_MANAGEMENT" = "yes"; then
46422 cat >>confdefs.h
<<\_ACEOF
46423 #define wxUSE_AUTOID_MANAGEMENT 1
46428 if test "$USE_WIN32" = 1 ; then
46429 if test "$wxUSE_INICONF" = "yes"; then
46430 cat >>confdefs.h
<<\_ACEOF
46431 #define wxUSE_INICONF 1
46436 if test "$wxUSE_REGKEY" = "yes"; then
46437 cat >>confdefs.h
<<\_ACEOF
46438 #define wxUSE_REGKEY 1
46444 if test "$wxUSE_MAC" = 1; then
46445 wxUSE_GRAPHICS_CONTEXT
="yes"
46448 if test "$wxUSE_GRAPHICS_CONTEXT" = "yes"; then
46449 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1; then
46450 cat >>confdefs.h
<<\_ACEOF
46451 #define wxUSE_GRAPHICS_CONTEXT 1
46454 elif test "$wxUSE_GTK" != 1; then
46455 cat >>confdefs.h
<<\_ACEOF
46456 #define wxUSE_GRAPHICS_CONTEXT 1
46462 { echo "$as_me:$LINENO: checking for CAIRO" >&5
46463 echo $ECHO_N "checking for CAIRO... $ECHO_C" >&6; }
46465 if test -n "$PKG_CONFIG"; then
46466 if test -n "$CAIRO_CFLAGS"; then
46467 pkg_cv_CAIRO_CFLAGS
="$CAIRO_CFLAGS"
46469 if test -n "$PKG_CONFIG" && \
46470 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo\"") >&5
46471 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
46473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46474 (exit $ac_status); }; then
46475 pkg_cv_CAIRO_CFLAGS
=`$PKG_CONFIG --cflags "cairo" 2>/dev/null`
46483 if test -n "$PKG_CONFIG"; then
46484 if test -n "$CAIRO_LIBS"; then
46485 pkg_cv_CAIRO_LIBS
="$CAIRO_LIBS"
46487 if test -n "$PKG_CONFIG" && \
46488 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo\"") >&5
46489 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
46491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46492 (exit $ac_status); }; then
46493 pkg_cv_CAIRO_LIBS
=`$PKG_CONFIG --libs "cairo" 2>/dev/null`
46504 if test $pkg_failed = yes; then
46506 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
46507 _pkg_short_errors_supported
=yes
46509 _pkg_short_errors_supported
=no
46511 if test $_pkg_short_errors_supported = yes; then
46512 CAIRO_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "cairo"`
46514 CAIRO_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "cairo"`
46516 # Put the nasty error message in config.log where it belongs
46517 echo "$CAIRO_PKG_ERRORS" >&5
46519 { echo "$as_me:$LINENO: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&5
46520 echo "$as_me: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&2;}
46522 elif test $pkg_failed = untried
; then
46523 { echo "$as_me:$LINENO: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&5
46524 echo "$as_me: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&2;}
46527 CAIRO_CFLAGS
=$pkg_cv_CAIRO_CFLAGS
46528 CAIRO_LIBS
=$pkg_cv_CAIRO_LIBS
46529 { echo "$as_me:$LINENO: result: yes" >&5
46530 echo "${ECHO_T}yes" >&6; }
46531 cat >>confdefs.h
<<\_ACEOF
46532 #define wxUSE_GRAPHICS_CONTEXT 1
46542 if test "$wxUSE_MEDIACTRL" = "yes"; then
46545 if test "$wxUSE_GTK" = 1; then
46546 wxUSE_GSTREAMER
="no"
46548 GST_VERSION_MAJOR
=0
46549 GST_VERSION_MINOR
=10
46550 GST_VERSION
=$GST_VERSION_MAJOR.
$GST_VERSION_MINOR
46552 if test "$wxUSE_GSTREAMER8" = "no"; then
46555 { echo "$as_me:$LINENO: checking for GST" >&5
46556 echo $ECHO_N "checking for GST... $ECHO_C" >&6; }
46558 if test -n "$PKG_CONFIG"; then
46559 if test -n "$GST_CFLAGS"; then
46560 pkg_cv_GST_CFLAGS
="$GST_CFLAGS"
46562 if test -n "$PKG_CONFIG" && \
46563 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION gconf-2.0\"") >&5
46564 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0") 2>&5
46566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46567 (exit $ac_status); }; then
46568 pkg_cv_GST_CFLAGS
=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" 2>/dev/null`
46576 if test -n "$PKG_CONFIG"; then
46577 if test -n "$GST_LIBS"; then
46578 pkg_cv_GST_LIBS
="$GST_LIBS"
46580 if test -n "$PKG_CONFIG" && \
46581 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION gconf-2.0\"") >&5
46582 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0") 2>&5
46584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46585 (exit $ac_status); }; then
46586 pkg_cv_GST_LIBS
=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" 2>/dev/null`
46597 if test $pkg_failed = yes; then
46599 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
46600 _pkg_short_errors_supported
=yes
46602 _pkg_short_errors_supported
=no
46604 if test $_pkg_short_errors_supported = yes; then
46605 GST_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
46607 GST_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
46609 # Put the nasty error message in config.log where it belongs
46610 echo "$GST_PKG_ERRORS" >&5
46613 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
46614 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
46615 GST_VERSION_MINOR
=8
46618 elif test $pkg_failed = untried
; then
46620 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
46621 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
46622 GST_VERSION_MINOR
=8
46626 GST_CFLAGS
=$pkg_cv_GST_CFLAGS
46627 GST_LIBS
=$pkg_cv_GST_LIBS
46628 { echo "$as_me:$LINENO: result: yes" >&5
46629 echo "${ECHO_T}yes" >&6; }
46631 wxUSE_GSTREAMER
="yes"
46632 GST_LIBS
="$GST_LIBS -lgstinterfaces-$GST_VERSION"
46636 GST_VERSION_MINOR
=8
46639 if test $GST_VERSION_MINOR = "8"; then
46640 GST_VERSION
=$GST_VERSION_MAJOR.
$GST_VERSION_MINOR
46643 { echo "$as_me:$LINENO: checking for GST" >&5
46644 echo $ECHO_N "checking for GST... $ECHO_C" >&6; }
46646 if test -n "$PKG_CONFIG"; then
46647 if test -n "$GST_CFLAGS"; then
46648 pkg_cv_GST_CFLAGS
="$GST_CFLAGS"
46650 if test -n "$PKG_CONFIG" && \
46651 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
46652 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
46654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46655 (exit $ac_status); }; then
46656 pkg_cv_GST_CFLAGS
=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev/null`
46664 if test -n "$PKG_CONFIG"; then
46665 if test -n "$GST_LIBS"; then
46666 pkg_cv_GST_LIBS
="$GST_LIBS"
46668 if test -n "$PKG_CONFIG" && \
46669 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
46670 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
46672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46673 (exit $ac_status); }; then
46674 pkg_cv_GST_LIBS
=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev/null`
46685 if test $pkg_failed = yes; then
46687 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
46688 _pkg_short_errors_supported
=yes
46690 _pkg_short_errors_supported
=no
46692 if test $_pkg_short_errors_supported = yes; then
46693 GST_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
46695 GST_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
46697 # Put the nasty error message in config.log where it belongs
46698 echo "$GST_PKG_ERRORS" >&5
46701 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
46702 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
46704 elif test $pkg_failed = untried
; then
46706 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
46707 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
46710 GST_CFLAGS
=$pkg_cv_GST_CFLAGS
46711 GST_LIBS
=$pkg_cv_GST_LIBS
46712 { echo "$as_me:$LINENO: result: yes" >&5
46713 echo "${ECHO_T}yes" >&6; }
46714 wxUSE_GSTREAMER
="yes"
46719 if test "$wxUSE_GSTREAMER" = "yes"; then
46720 CPPFLAGS
="$GST_CFLAGS $CPPFLAGS"
46721 EXTRALIBS_MEDIA
="$GST_LIBS"
46723 cat >>confdefs.h
<<\_ACEOF
46724 #define wxUSE_GSTREAMER 1
46732 if test $USE_MEDIA = 1; then
46733 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS mediaplayer"
46734 cat >>confdefs.h
<<\_ACEOF
46735 #define wxUSE_MEDIACTRL 1
46742 if test "$cross_compiling" = "yes"; then
46745 OSINFO
=`uname -s -r -m`
46746 OSINFO
="\"$OSINFO\""
46749 cat >>confdefs.h
<<_ACEOF
46750 #define WXWIN_OS_DESCRIPTION $OSINFO
46755 if test "x$prefix" != "xNONE"; then
46758 wxPREFIX
=$ac_default_prefix
46761 cat >>confdefs.h
<<_ACEOF
46762 #define wxINSTALL_PREFIX "$wxPREFIX"
46768 STD_BASE_LIBS
="base"
46770 BUILT_WX_LIBS
="base"
46771 ALL_WX_LIBS
="xrc stc gl media qa html adv core xml net base"
46773 if test "$wxUSE_SOCKETS" = "yes" ; then
46774 STD_BASE_LIBS
="net $STD_BASE_LIBS"
46775 BUILT_WX_LIBS
="net $BUILT_WX_LIBS"
46777 if test "$wxUSE_XML" = "yes" ; then
46778 STD_BASE_LIBS
="xml $STD_BASE_LIBS"
46779 BUILT_WX_LIBS
="xml $BUILT_WX_LIBS"
46782 if test "$wxUSE_GUI" = "yes"; then
46783 STD_GUI_LIBS
="adv core"
46784 BUILT_WX_LIBS
="$STD_GUI_LIBS $BUILT_WX_LIBS"
46786 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
46787 STD_GUI_LIBS
="qa $STD_GUI_LIBS"
46788 BUILT_WX_LIBS
="qa $BUILT_WX_LIBS"
46790 if test "$wxUSE_HTML" = "yes" ; then
46791 STD_GUI_LIBS
="html $STD_GUI_LIBS"
46792 BUILT_WX_LIBS
="html $BUILT_WX_LIBS"
46794 if test "$wxUSE_MEDIACTRL" = "yes" ; then
46795 BUILT_WX_LIBS
="media $BUILT_WX_LIBS"
46797 if test "$wxUSE_OPENGL" = "yes" ; then
46798 BUILT_WX_LIBS
="gl $BUILT_WX_LIBS"
46800 if test "$wxUSE_AUI" = "yes" ; then
46801 BUILT_WX_LIBS
="aui $BUILT_WX_LIBS"
46803 if test "$wxUSE_STC" = "yes" ; then
46804 BUILT_WX_LIBS
="stc $BUILT_WX_LIBS"
46806 if test "$wxUSE_XRC" = "yes" ; then
46807 STD_GUI_LIBS
="xrc $STD_GUI_LIBS"
46808 BUILT_WX_LIBS
="xrc $BUILT_WX_LIBS"
46819 if test "$wxUSE_MAC" = 1 ; then
46820 if test "$wxUSE_SOUND" = "yes" || test "$wxUSE_MEDIACTRL" = "yes"; then
46821 if test "$USE_DARWIN" = 1; then
46822 LDFLAGS
="$LDFLAGS -framework QuickTime"
46824 LDFLAGS
="$LDFLAGS -lQuickTimeLib"
46827 if test "$USE_DARWIN" = 1; then
46828 LDFLAGS
="$LDFLAGS -framework IOKit -framework Carbon -framework Cocoa -framework AudioToolbox -framework System"
46830 LDFLAGS
="$LDFLAGS -lCarbonLib"
46833 if test "$wxUSE_COCOA" = 1 ; then
46834 LDFLAGS
="$LDFLAGS -framework IOKit -framework Cocoa"
46835 if test "$wxUSE_MEDIACTRL" = "yes"; then
46836 LDFLAGS
="$LDFLAGS -framework QuickTime"
46839 if test "$USE_DARWIN" = 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1 ; then
46840 LDFLAGS
="$LDFLAGS -framework IOKit -framework CoreServices -framework System -framework ApplicationServices"
46843 LIBS
="$ZLIB_LINK $POSIX4_LINK $INET_LINK $WCHAR_LINK $DL_LINK $LIBS"
46845 if test "$wxUSE_GUI" = "yes"; then
46848 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS artprov controls dialogs drawing \
46849 erase event exec font image minimal mobile \
46850 mobile/wxedit mobile/styles render \
46851 shaped svg taborder vscroll widgets"
46853 if test "$wxUSE_MONOLITHIC" != "yes"; then
46854 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS console"
46856 if test "$TOOLKIT" = "MSW"; then
46857 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS regtest"
46858 if test "$wxUSE_UNIVERSAL" != "yes"; then
46859 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS ownerdrw nativdlg"
46862 if test "$TOOLKIT" = "PM" -a "$wxUSE_UNIVERSAL" != "yes"; then
46863 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS ownerdrw"
46866 SAMPLES_SUBDIRS
="console"
46867 if test "$wxUSE_SOCKETS" = "yes" ; then
46868 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sockets"
46870 if test "$wxUSE_IPC" = "yes" ; then
46871 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS ipc"
46876 if test "x$INTELCC" = "xyes" ; then
46877 CWARNINGS
="-Wall -wd810,869,981,1418,1572,1684"
46878 elif test "$GCC" = yes ; then
46879 CWARNINGS
="-Wall -Wundef"
46882 if test "x$INTELCXX" = "xyes" ; then
46883 CXXWARNINGS
="-Wall -wd279,383,444,810,869,981,1418,1419"
46884 elif test "$GXX" = yes ; then
46885 CXXWARNINGS
="-Wall -Wundef -Wunused-parameter -Wno-ctor-dtor-privacy"
46889 WXCONFIG_CFLAGS
=`echo $WXCONFIG_CFLAGS`
46890 WXCONFIG_CXXFLAGS
=`echo $WXCONFIG_CFLAGS $WXCONFIG_CXXFLAGS`
46893 CPPFLAGS
=`echo $WXCONFIG_CPPFLAGS \
46894 -I\\${wx_top_builddir}/lib/wx/include/${TOOLCHAIN_FULLNAME} \
46895 -I\\${top_srcdir}/include $TOOLKIT_INCLUDE \
46898 C_AND_CXX_FLAGS
="$DEBUG_CFLAGS $PROFILE_FLAGS $OPTIMISE_CFLAGS"
46899 CFLAGS
=`echo $WXCONFIG_CFLAGS $CWARNINGS $C_AND_CXX_FLAGS $CFLAGS `
46900 CXXFLAGS
=`echo $WXCONFIG_CXXFLAGS $C_AND_CXX_FLAGS $CXXFLAGS `
46901 OBJCFLAGS
=`echo $WXCONFIG_CFLAGS $CWARNINGS $C_AND_CXX_FLAGS $OBJCFLAGS `
46902 OBJCXXFLAGS
=`echo $WXCONFIG_CXXFLAGS $C_AND_CXX_FLAGS $OBJCXXFLAGS `
46904 WXCONFIG_CPPFLAGS
=`echo $WXCONFIG_CPPFLAGS $WXCONFIG_ONLY_CPPFLAGS`
46907 if test "x$MWCC" = "xyes"; then
46909 CC
="$CC -cwd source -I-"
46910 CXX
="$CXX -cwd source -I-"
46915 EXTRALIBS
="$LDFLAGS $LDFLAGS_VERSIONING $LIBS $DMALLOC_LIBS"
46916 EXTRALIBS_XML
="$EXPAT_LINK"
46917 EXTRALIBS_HTML
="$MSPACK_LINK"
46918 EXTRALIBS_MEDIA
="$GST_LIBS"
46919 EXTRALIBS_STC
="-lwxscintilla${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX}"
46920 if test "$wxUSE_GUI" = "yes"; then
46921 EXTRALIBS_GUI
=`echo $GUI_TK_LIBRARY $PNG_LINK $JPEG_LINK $TIFF_LINK $WEBKIT_LINK $EXTRALIBS_HILDON $EXTRALIBS_GNOMEVFS $EXTRALIBS_GNOMEPRINT`
46923 if test "$wxUSE_OPENGL" = "yes"; then
46924 EXTRALIBS_OPENGL
="$LDFLAGS_GL $OPENGL_LIBS"
46927 LDFLAGS
="$LDFLAGS $PROFILE_FLAGS"
46929 WXCONFIG_LIBS
="$LIBS"
46931 if test "$wxUSE_REGEX" = "builtin" ; then
46932 wxconfig_3rdparty
="regex${lib_unicode_suffix} $wxconfig_3rdparty"
46934 if test "$wxUSE_EXPAT" = "builtin" ; then
46935 wxconfig_3rdparty
="expat $wxconfig_3rdparty"
46937 if test "$wxUSE_LIBTIFF" = "builtin" ; then
46938 wxconfig_3rdparty
="tiff $wxconfig_3rdparty"
46940 if test "$wxUSE_LIBJPEG" = "builtin" ; then
46941 wxconfig_3rdparty
="jpeg $wxconfig_3rdparty"
46943 if test "$wxUSE_LIBPNG" = "builtin" ; then
46944 wxconfig_3rdparty
="png $wxconfig_3rdparty"
46946 if test "$wxUSE_ZLIB" = "builtin" ; then
46947 wxconfig_3rdparty
="zlib $wxconfig_3rdparty"
46950 for i
in $wxconfig_3rdparty ; do
46951 WXCONFIG_LIBS
="-lwx${i}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX} $WXCONFIG_LIBS"
46955 if test "x$wxUSE_UNIVERSAL" = "xyes" ; then
46958 case "$wxUNIV_THEMES" in
46960 cat >>confdefs.h
<<\_ACEOF
46961 #define wxUSE_ALL_THEMES 1
46967 for t
in `echo $wxUNIV_THEMES | tr , ' ' | tr '[a-z]' '[A-Z]'`; do
46968 cat >>confdefs.h
<<_ACEOF
46969 #define wxUSE_THEME_$t 1
46985 if test $wxUSE_MONOLITHIC = "yes" ; then
46991 if test $wxUSE_PLUGINS = "yes" ; then
46997 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
47003 if test $wxUSE_OFFICIAL_BUILD = "yes" ; then
47036 TOOLKIT_LOWERCASE
=`echo $TOOLKIT | tr '[A-Z]' '[a-z]'`
47047 TOOLKIT_DESC
="GTK+"
47048 if test "$WXGTK2" = 1; then
47049 TOOLKIT_DESC
="$TOOLKIT_DESC 2"
47050 if test "$wxUSE_GTKPRINT" = "yes" ; then
47051 TOOLKIT_EXTRA
="$TOOLKIT_EXTRA GTK+ printing";
47053 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
47054 TOOLKIT_EXTRA
="$TOOLKIT_EXTRA gnomeprint";
47056 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
47057 TOOLKIT_EXTRA
="$TOOLKIT_EXTRA gnomevfs"
47059 if test "$wxUSE_LIBHILDON" = "yes"; then
47060 TOOLKIT_EXTRA
="$TOOLKIT_EXTRA hildon"
47063 if test "$TOOLKIT_EXTRA" != ""; then
47064 TOOLKIT_DESC
="$TOOLKIT_DESC with support for `echo $TOOLKIT_EXTRA | tr -s ' '`"
47070 TOOLKIT_DESC
=$TOOLKIT_LOWERCASE
47074 TOOLKIT_DESC
="base only"
47078 if test "$wxUSE_WINE" = "yes"; then
47079 BAKEFILE_FORCE_PLATFORM
=win32
47082 if test "$wxUSE_UNICODE" = yes -a "$GCC" = yes -a "$bk_use_pch" != no
47084 { echo "$as_me:$LINENO: checking for gcc precompiled header bug" >&5
47085 echo $ECHO_N "checking for gcc precompiled header bug... $ECHO_C" >&6; }
47086 if test "${wx_cv_gcc_pch_bug+set}" = set; then
47087 echo $ECHO_N "(cached) $ECHO_C" >&6
47090 echo '#include <stdio.h>
47091 const wchar_t test_var[] = L"awidetest";' > conftest.h
47093 echo '#include "conftest.h"
47096 printf("%ls", test_var);
47100 wx_cv_gcc_pch_bug
="pch not supported"
47102 if $CXX conftest.h
>/dev
/null
2>&1
47106 if $CXX -o conftest
$PROGRAM_EXT conftest.cpp
>/dev
/null
2>&1
47108 if tr -dc '[a-z]' < conftest
$PROGRAM_EXT |
47109 grep awidetest
>/dev
/null
47111 wx_cv_gcc_pch_bug
=no
47113 wx_cv_gcc_pch_bug
=yes
47118 rm -f conftest.h conftest.gch conftest.cpp conftest
$PROGRAM_EXT
47121 { echo "$as_me:$LINENO: result: $wx_cv_gcc_pch_bug" >&5
47122 echo "${ECHO_T}$wx_cv_gcc_pch_bug" >&6; }
47124 if test "$wx_cv_gcc_pch_bug" = yes; then
47135 if test "x$BAKEFILE_HOST" = "x"; then
47136 if test "x${host}" = "x" ; then
47137 { { echo "$as_me:$LINENO: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&5
47138 echo "$as_me: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&2;}
47139 { (exit 1); exit 1; }; }
47142 BAKEFILE_HOST
="${host}"
47145 if test "x$BAKEFILE_CHECK_BASICS" != "xno"; then
47147 if test -n "$ac_tool_prefix"; then
47148 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
47149 set dummy
${ac_tool_prefix}ranlib
; 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_RANLIB+set}" = set; then
47153 echo $ECHO_N "(cached) $ECHO_C" >&6
47155 if test -n "$RANLIB"; then
47156 ac_cv_prog_RANLIB
="$RANLIB" # 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_RANLIB
="${ac_tool_prefix}ranlib"
47166 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47175 RANLIB
=$ac_cv_prog_RANLIB
47176 if test -n "$RANLIB"; then
47177 { echo "$as_me:$LINENO: result: $RANLIB" >&5
47178 echo "${ECHO_T}$RANLIB" >&6; }
47180 { echo "$as_me:$LINENO: result: no" >&5
47181 echo "${ECHO_T}no" >&6; }
47186 if test -z "$ac_cv_prog_RANLIB"; then
47187 ac_ct_RANLIB
=$RANLIB
47188 # Extract the first word of "ranlib", so it can be a program name with args.
47189 set dummy ranlib
; ac_word
=$2
47190 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47191 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47192 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
47193 echo $ECHO_N "(cached) $ECHO_C" >&6
47195 if test -n "$ac_ct_RANLIB"; then
47196 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
47198 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
47199 for as_dir
in $PATH
47202 test -z "$as_dir" && as_dir
=.
47203 for ac_exec_ext
in '' $ac_executable_extensions; do
47204 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47205 ac_cv_prog_ac_ct_RANLIB
="ranlib"
47206 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47215 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
47216 if test -n "$ac_ct_RANLIB"; then
47217 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
47218 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
47220 { echo "$as_me:$LINENO: result: no" >&5
47221 echo "${ECHO_T}no" >&6; }
47224 if test "x$ac_ct_RANLIB" = x
; then
47227 case $cross_compiling:$ac_tool_warned in
47229 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
47230 whose name does not start with the host triplet. If you think this
47231 configuration is useful to you, please write to autoconf@gnu.org." >&5
47232 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
47233 whose name does not start with the host triplet. If you think this
47234 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
47235 ac_tool_warned
=yes ;;
47237 RANLIB
=$ac_ct_RANLIB
47240 RANLIB
="$ac_cv_prog_RANLIB"
47243 # Find a good install program. We prefer a C program (faster),
47244 # so one script is as good as another. But avoid the broken or
47245 # incompatible versions:
47246 # SysV /etc/install, /usr/sbin/install
47247 # SunOS /usr/etc/install
47248 # IRIX /sbin/install
47250 # AmigaOS /C/install, which installs bootblocks on floppy discs
47251 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
47252 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
47253 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
47254 # OS/2's system install, which has a completely different semantic
47255 # ./install, which can be erroneously created by make from ./install.sh.
47256 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
47257 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
47258 if test -z "$INSTALL"; then
47259 if test "${ac_cv_path_install+set}" = set; then
47260 echo $ECHO_N "(cached) $ECHO_C" >&6
47262 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
47263 for as_dir
in $PATH
47266 test -z "$as_dir" && as_dir
=.
47267 # Account for people who put trailing slashes in PATH elements.
47269 .
/ | .
// | /cC
/* | \
47270 /etc
/* | /usr
/sbin
/* | /usr
/etc
/* | /sbin
/* | /usr
/afsws
/bin
/* | \
47271 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
47274 # OSF1 and SCO ODT 3.0 have their own names for install.
47275 # Don't use installbsd from OSF since it installs stuff as root
47277 for ac_prog
in ginstall scoinst
install; do
47278 for ac_exec_ext
in '' $ac_executable_extensions; do
47279 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
47280 if test $ac_prog = install &&
47281 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
47282 # AIX install. It has an incompatible calling convention.
47284 elif test $ac_prog = install &&
47285 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
47286 # program-specific install script used by HP pwplus--don't use.
47289 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
47302 if test "${ac_cv_path_install+set}" = set; then
47303 INSTALL
=$ac_cv_path_install
47305 # As a last resort, use the slow shell script. Don't cache a
47306 # value for INSTALL within a source directory, because that will
47307 # break other packages using the cache if that directory is
47308 # removed, or if the value is a relative name.
47309 INSTALL
=$ac_install_sh
47312 { echo "$as_me:$LINENO: result: $INSTALL" >&5
47313 echo "${ECHO_T}$INSTALL" >&6; }
47315 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
47316 # It thinks the first close brace ends the variable substitution.
47317 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
47319 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
47321 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
47323 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
47324 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
47326 if test "$LN_S" = "ln -s"; then
47327 { echo "$as_me:$LINENO: result: yes" >&5
47328 echo "${ECHO_T}yes" >&6; }
47330 { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
47331 echo "${ECHO_T}no, using $LN_S" >&6; }
47335 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
47336 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
47337 set x
${MAKE-make}; ac_make
=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
47338 if { as_var
=ac_cv_prog_make_
${ac_make}_set
; eval "test \"\${$as_var+set}\" = set"; }; then
47339 echo $ECHO_N "(cached) $ECHO_C" >&6
47341 cat >conftest.
make <<\_ACEOF
47344 @
echo '@@@%%%=$(MAKE)=@@@%%%'
47346 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
47347 case `${MAKE-make} -f conftest.make 2>/dev/null` in
47348 *@@@
%%%=?
*=@@@
%%%*)
47349 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
47351 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
47353 rm -f conftest.
make
47355 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
47356 { echo "$as_me:$LINENO: result: yes" >&5
47357 echo "${ECHO_T}yes" >&6; }
47360 { echo "$as_me:$LINENO: result: no" >&5
47361 echo "${ECHO_T}no" >&6; }
47362 SET_MAKE
="MAKE=${MAKE-make}"
47367 if test "x$SUNCXX" = "xyes"; then
47369 AROPTIONS
="-xar -o"
47371 elif test "x$SGICC" = "xyes"; then
47376 if test -n "$ac_tool_prefix"; then
47377 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
47378 set dummy
${ac_tool_prefix}ar; ac_word
=$2
47379 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47380 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47381 if test "${ac_cv_prog_AR+set}" = set; then
47382 echo $ECHO_N "(cached) $ECHO_C" >&6
47384 if test -n "$AR"; then
47385 ac_cv_prog_AR
="$AR" # Let the user override the test.
47387 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
47388 for as_dir
in $PATH
47391 test -z "$as_dir" && as_dir
=.
47392 for ac_exec_ext
in '' $ac_executable_extensions; do
47393 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47394 ac_cv_prog_AR
="${ac_tool_prefix}ar"
47395 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47405 if test -n "$AR"; then
47406 { echo "$as_me:$LINENO: result: $AR" >&5
47407 echo "${ECHO_T}$AR" >&6; }
47409 { echo "$as_me:$LINENO: result: no" >&5
47410 echo "${ECHO_T}no" >&6; }
47415 if test -z "$ac_cv_prog_AR"; then
47417 # Extract the first word of "ar", so it can be a program name with args.
47418 set dummy
ar; ac_word
=$2
47419 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47420 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47421 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
47422 echo $ECHO_N "(cached) $ECHO_C" >&6
47424 if test -n "$ac_ct_AR"; then
47425 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
47427 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
47428 for as_dir
in $PATH
47431 test -z "$as_dir" && as_dir
=.
47432 for ac_exec_ext
in '' $ac_executable_extensions; do
47433 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47434 ac_cv_prog_ac_ct_AR
="ar"
47435 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47444 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
47445 if test -n "$ac_ct_AR"; then
47446 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
47447 echo "${ECHO_T}$ac_ct_AR" >&6; }
47449 { echo "$as_me:$LINENO: result: no" >&5
47450 echo "${ECHO_T}no" >&6; }
47453 if test "x$ac_ct_AR" = x
; then
47456 case $cross_compiling:$ac_tool_warned in
47458 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
47459 whose name does not start with the host triplet. If you think this
47460 configuration is useful to you, please write to autoconf@gnu.org." >&5
47461 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
47462 whose name does not start with the host triplet. If you think this
47463 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
47464 ac_tool_warned
=yes ;;
47469 AR
="$ac_cv_prog_AR"
47476 if test -n "$ac_tool_prefix"; then
47477 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
47478 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
47479 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47480 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47481 if test "${ac_cv_prog_STRIP+set}" = set; then
47482 echo $ECHO_N "(cached) $ECHO_C" >&6
47484 if test -n "$STRIP"; then
47485 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
47487 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
47488 for as_dir
in $PATH
47491 test -z "$as_dir" && as_dir
=.
47492 for ac_exec_ext
in '' $ac_executable_extensions; do
47493 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47494 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
47495 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47504 STRIP
=$ac_cv_prog_STRIP
47505 if test -n "$STRIP"; then
47506 { echo "$as_me:$LINENO: result: $STRIP" >&5
47507 echo "${ECHO_T}$STRIP" >&6; }
47509 { echo "$as_me:$LINENO: result: no" >&5
47510 echo "${ECHO_T}no" >&6; }
47515 if test -z "$ac_cv_prog_STRIP"; then
47517 # Extract the first word of "strip", so it can be a program name with args.
47518 set dummy strip
; ac_word
=$2
47519 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47520 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47521 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
47522 echo $ECHO_N "(cached) $ECHO_C" >&6
47524 if test -n "$ac_ct_STRIP"; then
47525 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
47527 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
47528 for as_dir
in $PATH
47531 test -z "$as_dir" && as_dir
=.
47532 for ac_exec_ext
in '' $ac_executable_extensions; do
47533 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47534 ac_cv_prog_ac_ct_STRIP
="strip"
47535 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47544 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
47545 if test -n "$ac_ct_STRIP"; then
47546 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
47547 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
47549 { echo "$as_me:$LINENO: result: no" >&5
47550 echo "${ECHO_T}no" >&6; }
47553 if test "x$ac_ct_STRIP" = x
; then
47556 case $cross_compiling:$ac_tool_warned in
47558 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
47559 whose name does not start with the host triplet. If you think this
47560 configuration is useful to you, please write to autoconf@gnu.org." >&5
47561 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
47562 whose name does not start with the host triplet. If you think this
47563 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
47564 ac_tool_warned
=yes ;;
47569 STRIP
="$ac_cv_prog_STRIP"
47572 if test -n "$ac_tool_prefix"; then
47573 # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args.
47574 set dummy
${ac_tool_prefix}nm
; ac_word
=$2
47575 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47576 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47577 if test "${ac_cv_prog_NM+set}" = set; then
47578 echo $ECHO_N "(cached) $ECHO_C" >&6
47580 if test -n "$NM"; then
47581 ac_cv_prog_NM
="$NM" # Let the user override the test.
47583 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
47584 for as_dir
in $PATH
47587 test -z "$as_dir" && as_dir
=.
47588 for ac_exec_ext
in '' $ac_executable_extensions; do
47589 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47590 ac_cv_prog_NM
="${ac_tool_prefix}nm"
47591 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47601 if test -n "$NM"; then
47602 { echo "$as_me:$LINENO: result: $NM" >&5
47603 echo "${ECHO_T}$NM" >&6; }
47605 { echo "$as_me:$LINENO: result: no" >&5
47606 echo "${ECHO_T}no" >&6; }
47611 if test -z "$ac_cv_prog_NM"; then
47613 # Extract the first word of "nm", so it can be a program name with args.
47614 set dummy nm
; ac_word
=$2
47615 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47616 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47617 if test "${ac_cv_prog_ac_ct_NM+set}" = set; then
47618 echo $ECHO_N "(cached) $ECHO_C" >&6
47620 if test -n "$ac_ct_NM"; then
47621 ac_cv_prog_ac_ct_NM
="$ac_ct_NM" # Let the user override the test.
47623 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
47624 for as_dir
in $PATH
47627 test -z "$as_dir" && as_dir
=.
47628 for ac_exec_ext
in '' $ac_executable_extensions; do
47629 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47630 ac_cv_prog_ac_ct_NM
="nm"
47631 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47640 ac_ct_NM
=$ac_cv_prog_ac_ct_NM
47641 if test -n "$ac_ct_NM"; then
47642 { echo "$as_me:$LINENO: result: $ac_ct_NM" >&5
47643 echo "${ECHO_T}$ac_ct_NM" >&6; }
47645 { echo "$as_me:$LINENO: result: no" >&5
47646 echo "${ECHO_T}no" >&6; }
47649 if test "x$ac_ct_NM" = x
; then
47652 case $cross_compiling:$ac_tool_warned in
47654 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
47655 whose name does not start with the host triplet. If you think this
47656 configuration is useful to you, please write to autoconf@gnu.org." >&5
47657 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
47658 whose name does not start with the host triplet. If you think this
47659 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
47660 ac_tool_warned
=yes ;;
47665 NM
="$ac_cv_prog_NM"
47669 { echo "$as_me:$LINENO: checking for command to install directories" >&5
47670 echo $ECHO_N "checking for command to install directories... $ECHO_C" >&6; }
47671 INSTALL_TEST_DIR
=acbftest$$
47672 $INSTALL -d $INSTALL_TEST_DIR > /dev
/null
2>&1
47673 if test $?
= 0 -a -d $INSTALL_TEST_DIR; then
47674 rmdir $INSTALL_TEST_DIR
47675 INSTALL_DIR
='$(INSTALL) -d'
47676 { echo "$as_me:$LINENO: result: $INSTALL -d" >&5
47677 echo "${ECHO_T}$INSTALL -d" >&6; }
47679 INSTALL_DIR
="mkdir -p"
47680 { echo "$as_me:$LINENO: result: mkdir -p" >&5
47681 echo "${ECHO_T}mkdir -p" >&6; }
47686 case ${BAKEFILE_HOST} in
47687 *-*-cygwin* | *-*-mingw32* )
47688 LDFLAGS_GUI
="-mwindows"
47694 { echo "$as_me:$LINENO: checking if make is GNU make" >&5
47695 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6; }
47696 if test "${bakefile_cv_prog_makeisgnu+set}" = set; then
47697 echo $ECHO_N "(cached) $ECHO_C" >&6
47700 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev
/null
|
47701 egrep -s GNU
> /dev
/null
); then
47702 bakefile_cv_prog_makeisgnu
="yes"
47704 bakefile_cv_prog_makeisgnu
="no"
47708 { echo "$as_me:$LINENO: result: $bakefile_cv_prog_makeisgnu" >&5
47709 echo "${ECHO_T}$bakefile_cv_prog_makeisgnu" >&6; }
47711 if test "x$bakefile_cv_prog_makeisgnu" = "xyes"; then
47728 if test "x$BAKEFILE_FORCE_PLATFORM" = "x"; then
47729 case "${BAKEFILE_HOST}" in
47736 *-pc-os2_emx | *-pc-os2-emx )
47746 powerpc
-apple-macos* )
47755 case "$BAKEFILE_FORCE_PLATFORM" in
47790 # Check whether --enable-omf was given.
47791 if test "${enable_omf+set}" = set; then
47792 enableval
=$enable_omf; bk_os2_use_omf
="$enableval"
47796 case "${BAKEFILE_HOST}" in
47798 if test "x$GCC" = "xyes"; then
47799 CFLAGS
="$CFLAGS -fno-common"
47800 CXXFLAGS
="$CXXFLAGS -fno-common"
47802 if test "x$XLCC" = "xyes"; then
47803 CFLAGS
="$CFLAGS -qnocommon"
47804 CXXFLAGS
="$CXXFLAGS -qnocommon"
47808 *-pc-os2_emx | *-pc-os2-emx )
47809 if test "x$bk_os2_use_omf" = "xyes" ; then
47812 LDFLAGS
="-Zomf $LDFLAGS"
47813 CFLAGS
="-Zomf $CFLAGS"
47814 CXXFLAGS
="-Zomf $CXXFLAGS"
47822 LDFLAGS
="-L/boot/develop/lib/x86 $LDFLAGS"
47828 SO_SUFFIX_MODULE
="so"
47833 DLLPREFIX_MODULE
=""
47837 case "${BAKEFILE_HOST}" in
47840 SO_SUFFIX_MODULE
="sl"
47844 SO_SUFFIX_MODULE
="a"
47848 SO_SUFFIX_MODULE
="dll"
47849 DLLIMP_SUFFIX
="dll.a"
47856 SO_SUFFIX_MODULE
="dll"
47857 DLLIMP_SUFFIX
="dll.a"
47867 *-pc-os2_emx | *-pc-os2-emx )
47869 SO_SUFFIX_MODULE
="dll"
47870 DLLIMP_SUFFIX
=$OS2_LIBEXT
47874 LIBEXT
=".$OS2_LIBEXT"
47879 SO_SUFFIX_MODULE
="bundle"
47883 if test "x$DLLIMP_SUFFIX" = "x" ; then
47884 DLLIMP_SUFFIX
="$SO_SUFFIX"
47899 if test "x$GCC" = "xyes"; then
47903 SHARED_LD_CC
="\$(CC) -shared ${PIC_FLAG} -o"
47904 SHARED_LD_CXX
="\$(CXX) -shared ${PIC_FLAG} -o"
47907 case "${BAKEFILE_HOST}" in
47909 if test "x$GCC" != "xyes"; then
47910 LDFLAGS
="$LDFLAGS -L/usr/lib"
47912 SHARED_LD_CC
="${CC} -b -o"
47913 SHARED_LD_CXX
="${CXX} -b -o"
47919 if test "$INTELCC" = "yes"; then
47921 elif test "x$SUNCXX" = "xyes"; then
47922 SHARED_LD_CC
="${CC} -G -o"
47923 SHARED_LD_CXX
="${CXX} -G -o"
47929 if test "x$SUNCXX" = xyes
; then
47930 SHARED_LD_CC
="${CC} -G -o"
47931 SHARED_LD_CXX
="${CXX} -G -o"
47939 cat <<EOF >shared-ld-sh
47941 #-----------------------------------------------------------------------------
47942 #-- Name: distrib/mac/shared-ld-sh
47943 #-- Purpose: Link a mach-o dynamic shared library for Darwin / Mac OS X
47944 #-- Author: Gilles Depeyrot
47945 #-- Copyright: (c) 2002 Gilles Depeyrot
47946 #-- Licence: any use permitted
47947 #-----------------------------------------------------------------------------
47952 linking_flag="-dynamiclib"
47953 ldargs="-r -keep_private_externs -nostdlib"
47955 if test "x${D}CXX" = "x"; then
47959 while test ${D}# -gt 0; do
47966 -o|-compatibility_version|-current_version|-framework|-undefined|-install_name)
47967 # collect these options and values
47968 args="${D}{args} ${D}1 ${D}2"
47973 # collect these options and values
47974 ldargs="${D}{ldargs} ${D}1 ${D}2"
47979 # collect these load args
47980 ldargs="${D}{ldargs} ${D}1"
47983 -l*|-L*|-flat_namespace|-headerpad_max_install_names)
47984 # collect these options
47985 args="${D}{args} ${D}1"
47988 -dynamiclib|-bundle)
47989 linking_flag="${D}1"
47993 echo "shared-ld: unhandled option '${D}1'"
47997 *.o | *.a | *.dylib)
47998 # collect object files
47999 objects="${D}{objects} ${D}1"
48003 echo "shared-ld: unhandled argument '${D}1'"
48014 # Link one module containing all the others
48016 if test ${D}{verbose} = 1; then
48017 echo "${D}CXX ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o"
48019 ${D}CXX ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o
48023 # Link the shared library from the single module created, but only if the
48024 # previous command didn't fail:
48026 if test ${D}{status} = 0; then
48027 if test ${D}{verbose} = 1; then
48028 echo "${D}CXX ${D}{linking_flag} master.${D}${D}.o ${D}{args}"
48030 ${D}CXX ${D}{linking_flag} master.${D}${D}.o ${D}{args}
48035 # Remove intermediate module
48037 rm -f master.${D}${D}.o
48042 chmod +x shared
-ld-sh
48044 SHARED_LD_MODULE_CC
="`pwd`/shared-ld-sh -bundle -headerpad_max_install_names -o"
48045 SHARED_LD_MODULE_CXX
="CXX=\$(CXX) $SHARED_LD_MODULE_CC"
48048 { echo "$as_me:$LINENO: checking for gcc 3.1 or later" >&5
48049 echo $ECHO_N "checking for gcc 3.1 or later... $ECHO_C" >&6; }
48050 if test "${bakefile_cv_gcc31+set}" = set; then
48051 echo $ECHO_N "(cached) $ECHO_C" >&6
48054 cat >conftest.
$ac_ext <<_ACEOF
48057 cat confdefs.h
>>conftest.
$ac_ext
48058 cat >>conftest.
$ac_ext <<_ACEOF
48059 /* end confdefs.h. */
48065 #if (__GNUC__ < 3) || \
48066 ((__GNUC__ == 3) && (__GNUC_MINOR__ < 1))
48074 rm -f conftest.
$ac_objext
48075 if { (ac_try
="$ac_compile"
48076 case "(($ac_try" in
48077 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
48078 *) ac_try_echo=$ac_try;;
48080 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48081 (eval "$ac_compile") 2>conftest.er1
48083 grep -v '^ *+' conftest.er1 >conftest.err
48085 cat conftest.err >&5
48086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48087 (exit $ac_status); } && {
48088 test -z "$ac_c_werror_flag" ||
48089 test ! -s conftest.err
48090 } && test -s conftest.$ac_objext; then
48092 bakefile_cv_gcc31=yes
48095 echo "$as_me: failed program was:" >&5
48096 sed 's/^/| /' conftest.$ac_ext >&5
48099 bakefile_cv_gcc31=no
48104 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48107 { echo "$as_me:$LINENO: result: $bakefile_cv_gcc31" >&5
48108 echo "${ECHO_T}$bakefile_cv_gcc31" >&6; }
48109 if test "$bakefile_cv_gcc31" = "no"; then
48110 SHARED_LD_CC="`pwd`/shared-ld-sh -dynamiclib -headerpad_max_install_names -o"
48111 SHARED_LD_CXX="$SHARED_LD_CC"
48113 SHARED_LD_CC="\${CC} -dynamiclib -single_module -headerpad_max_install_names -o"
48114 SHARED_LD_CXX="\${CXX} -dynamiclib -single_module -headerpad_max_install_names -o"
48117 if test "x$GCC" == "xyes"; then
48118 PIC_FLAG="-dynamic -fPIC"
48120 if test "x$XLCC" = "xyes"; then
48121 PIC_FLAG="-dynamic -DPIC"
48126 if test "x$GCC" = "xyes"; then
48129 case "${BAKEFILE_HOST}" in
48131 LD_EXPFULL="-Wl,-bexpfull"
48135 SHARED_LD_CC="\$(CC) -shared $LD_EXPFULL -o"
48136 SHARED_LD_CXX="\$(CXX) -shared $LD_EXPFULL -o"
48138 # Extract the first word of "makeC++SharedLib", so it can be a program name with args.
48139 set dummy makeC++SharedLib; ac_word=$2
48140 { echo "$as_me:$LINENO: checking for $ac_word" >&5
48141 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
48142 if test "${ac_cv_prog_AIX_CXX_LD+set}" = set; then
48143 echo $ECHO_N "(cached) $ECHO_C" >&6
48145 if test -n "$AIX_CXX_LD"; then
48146 ac_cv_prog_AIX_CXX_LD="$AIX_CXX_LD" # Let the user override the test.
48148 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
48149 for as_dir in $PATH
48152 test -z "$as_dir" && as_dir=.
48153 for ac_exec_ext in '' $ac_executable_extensions; do
48154 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
48155 ac_cv_prog_AIX_CXX_LD="makeC++SharedLib"
48156 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48163 test -z "$ac_cv_prog_AIX_CXX_LD" && ac_cv_prog_AIX_CXX_LD="/usr/lpp/xlC/bin/makeC++SharedLib"
48166 AIX_CXX_LD=$ac_cv_prog_AIX_CXX_LD
48167 if test -n "$AIX_CXX_LD"; then
48168 { echo "$as_me:$LINENO: result: $AIX_CXX_LD" >&5
48169 echo "${ECHO_T}$AIX_CXX_LD" >&6; }
48171 { echo "$as_me:$LINENO: result: no" >&5
48172 echo "${ECHO_T}no" >&6; }
48176 SHARED_LD_CC="$AIX_CC_LD -p 0 -o"
48177 SHARED_LD_CXX="$AIX_CXX_LD -p 0 -o"
48182 SHARED_LD_CC="${LD} -nostart -o"
48183 SHARED_LD_CXX="${LD} -nostart -o"
48187 if test "x$GCC" != "xyes"; then
48192 *-*-cygwin* | *-*-mingw32* )
48194 SHARED_LD_CC="\$(CC) -shared -o"
48195 SHARED_LD_CXX="\$(CXX) -shared -o"
48199 *-pc-os2_emx | *-pc-os2-emx )
48200 SHARED_LD_CC="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
48201 SHARED_LD_CXX="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
48205 cat <<EOF >dllar.sh
48208 # dllar - a tool to build both a .dll and an .a file
48209 # from a set of object (.o) files for EMX/OS2.
48211 # Written by Andrew Zabolotny, bit@freya.etu.ru
48212 # Ported to Unix like shell by Stefan Neis, Stefan.Neis@t-online.de
48214 # This script will accept a set of files on the command line.
48215 # All the public symbols from the .o files will be exported into
48216 # a .DEF file, then linker will be run (through gcc) against them to
48217 # build a shared library consisting of all given .o files. All libraries
48218 # (.a) will be first decompressed into component .o files then act as
48219 # described above. You can optionally give a description (-d "description")
48220 # which will be put into .DLL. To see the list of accepted options (as well
48221 # as command-line format) simply run this program without options. The .DLL
48222 # is built to be imported by name (there is no guarantee that new versions
48223 # of the library you build will have same ordinals for same symbols).
48225 # dllar is free software; you can redistribute it and/or modify
48226 # it under the terms of the GNU General Public License as published by
48227 # the Free Software Foundation; either version 2, or (at your option)
48228 # any later version.
48230 # dllar is distributed in the hope that it will be useful,
48231 # but WITHOUT ANY WARRANTY; without even the implied warranty of
48232 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
48233 # GNU General Public License for more details.
48235 # You should have received a copy of the GNU General Public License
48236 # along with dllar; see the file COPYING. If not, write to the Free
48237 # Software Foundation, 59 Temple Place - Suite 330, Boston, MA
48240 # To successfuly run this program you will need:
48241 # - Current drive should have LFN support (HPFS, ext2, network, etc)
48242 # (Sometimes dllar generates filenames which won't fit 8.3 scheme)
48244 # (used to build the .dll)
48246 # (used to create .def file from .o files)
48248 # (used to create .a file from .def file)
48249 # - GNU text utilites (cat, sort, uniq)
48250 # used to process emxexp output
48251 # - GNU file utilities (mv, rm)
48253 # - lxlite (optional, see flag below)
48254 # (used for general .dll cleanup)
48261 # basnam, variant of basename, which does _not_ remove the path, _iff_
48262 # second argument (suffix to remove) is given
48266 echo ${D}1 | sed 's/.*\\///' | sed 's/.*\\\\//'
48269 echo ${D}1 | sed 's/'${D}2'${D}//'
48272 echo "error in basnam ${D}*"
48278 # Cleanup temporary files and output
48281 for i in ${D}inputFiles ; do
48284 rm -rf \`basnam
${D}i
!\
`
48291 # Kill result in case of failure as there is just to many stupid make/nmake
48292 # things out there which doesn't do this.
48293 if [ ${D}# -eq 0 ]; then
48294 rm -f ${D}arcFile ${D}arcFile2 ${D}defFile ${D}dllFile
48298 # Print usage and exit script with rc=1.
48300 echo 'Usage: dllar.sh [-o[utput] output_file] [-i[mport] importlib_name]'
48301 echo ' [-name-mangler-script script.sh]'
48302 echo ' [-d[escription] "dll descrption"] [-cc "CC"] [-f[lags] "CFLAGS"]'
48303 echo ' [-ord[inals]] -ex[clude] "symbol(s)"'
48304 echo ' [-libf[lags] "{INIT|TERM}{GLOBAL|INSTANCE}"] [-nocrt[dll]] [-nolxl[ite]]'
48305 echo ' [*.o] [*.a]'
48306 echo '*> "output_file" should have no extension.'
48307 echo ' If it has the .o, .a or .dll extension, it is automatically removed.'
48308 echo ' The import library name is derived from this and is set to "name".a,'
48309 echo ' unless overridden by -import'
48310 echo '*> "importlib_name" should have no extension.'
48311 echo ' If it has the .o, or .a extension, it is automatically removed.'
48312 echo ' This name is used as the import library name and may be longer and'
48313 echo ' more descriptive than the DLL name which has to follow the old '
48314 echo ' 8.3 convention of FAT.'
48315 echo '*> "script.sh may be given to override the output_file name by a'
48316 echo ' different name. It is mainly useful if the regular make process'
48317 echo ' of some package does not take into account OS/2 restriction of'
48318 echo ' DLL name lengths. It takes the importlib name as input and is'
48319 echo ' supposed to procude a shorter name as output. The script should'
48320 echo ' expect to get importlib_name without extension and should produce'
48321 echo ' a (max.) 8 letter name without extension.'
48322 echo '*> "cc" is used to use another GCC executable. (default: gcc.exe)'
48323 echo '*> "flags" should be any set of valid GCC flags. (default: -s -Zcrtdll)'
48324 echo ' These flags will be put at the start of GCC command line.'
48325 echo '*> -ord[inals] tells dllar to export entries by ordinals. Be careful.'
48326 echo '*> -ex[clude] defines symbols which will not be exported. You can define'
48327 echo ' multiple symbols, for example -ex "myfunc yourfunc _GLOBAL*".'
48328 echo ' If the last character of a symbol is "*", all symbols beginning'
48329 echo ' with the prefix before "*" will be exclude, (see _GLOBAL* above).'
48330 echo '*> -libf[lags] can be used to add INITGLOBAL/INITINSTANCE and/or'
48331 echo ' TERMGLOBAL/TERMINSTANCE flags to the dynamically-linked library.'
48332 echo '*> -nocrt[dll] switch will disable linking the library against emx''s'
48333 echo ' C runtime DLLs.'
48334 echo '*> -nolxl[ite] switch will disable running lxlite on the resulting DLL.'
48335 echo '*> All other switches (for example -L./ or -lmylib) will be passed'
48336 echo ' unchanged to GCC at the end of command line.'
48337 echo '*> If you create a DLL from a library and you do not specify -o,'
48338 echo ' the basename for DLL and import library will be set to library name,'
48339 echo ' the initial library will be renamed to 'name'_s.a (_s for static)'
48340 echo ' i.e. "dllar gcc.a" will create gcc.dll and gcc.a, and the initial'
48341 echo ' library will be renamed into gcc_s.a.'
48344 echo ' dllar -o gcc290.dll libgcc.a -d "GNU C runtime library" -ord'
48345 echo ' -ex "__main __ctordtor*" -libf "INITINSTANCE TERMINSTANCE"'
48350 # Execute a command.
48351 # If exit code of the commnad <> 0 CleanUp() is called and we'll exit the script.
48352 # @Uses Whatever CleanUp() uses.
48358 if [ ${D}rcCmd -ne 0 ]; then
48359 echo "command failed, exit code="${D}rcCmd
48374 CFLAGS="-s -Zcrtdll"
48376 EXPORT_BY_ORDINALS=0
48381 case ${D}curDirS in
48385 curDirS=${D}{curDirS}"/"
48388 # Parse commandline
48391 while [ ${D}1 ]; do
48394 EXPORT_BY_ORDINALS=1;
48404 -name-mangler-script)
48425 exclude_symbols=${D}{exclude_symbols}${D}1" "
48429 library_flags=${D}{library_flags}${D}1" "
48448 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
48451 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS} \`basnam
${D}1 .dll\
`"
48452 if [ ${D}omfLinking -eq 1 ]; then
48453 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.lib"
48455 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.a"
48460 if [ ${D}libsToLink -ne 0 ]; then
48461 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
48463 for file in ${D}1 ; do
48464 if [ -f ${D}file ]; then
48465 inputFiles="${D}{inputFiles} ${D}file"
48469 if [ ${D}found -eq 0 ]; then
48470 echo "ERROR: No file(s) found: "${D}1
48477 done # iterate cmdline words
48480 if [ -z "${D}inputFiles" ]; then
48481 echo "dllar: no input files"
48485 # Now extract all .o files from .a files
48487 for file in ${D}inputFiles ; do
48498 EXTRA_CFLAGS="${D}EXTRA_CFLAGS -Zomf"
48503 dirname=\`basnam
${D}file ${D}suffix\
`"_%"
48505 if [ ${D}? -ne 0 ]; then
48506 echo "Failed to create subdirectory ./${D}dirname"
48510 # Append '!' to indicate archive
48511 newInputFiles="${D}newInputFiles ${D}{dirname}!"
48512 doCommand "cd ${D}dirname; ${D}AR x ../${D}file"
48515 for subfile in ${D}dirname/*.o* ; do
48516 if [ -f ${D}subfile ]; then
48518 if [ -s ${D}subfile ]; then
48519 # FIXME: This should be: is file size > 32 byte, _not_ > 0!
48520 newInputFiles="${D}newInputFiles ${D}subfile"
48524 if [ ${D}found -eq 0 ]; then
48525 echo "WARNING: there are no files in archive \\'${D}file\\'"
48529 newInputFiles="${D}{newInputFiles} ${D}file"
48533 inputFiles="${D}newInputFiles"
48535 # Output filename(s).
48537 if [ -z ${D}outFile ]; then
48539 set outFile ${D}inputFiles; outFile=${D}2
48542 # If it is an archive, remove the '!' and the '_%' suffixes
48543 case ${D}outFile in
48545 outFile=\`basnam
${D}outFile _
%!\
`
48550 case ${D}outFile in
48552 outFile=\`basnam
${D}outFile .dll\
`
48555 outFile=\`basnam
${D}outFile .DLL\
`
48558 outFile=\`basnam
${D}outFile .o\
`
48561 outFile=\`basnam
${D}outFile .obj\
`
48564 outFile=\`basnam
${D}outFile .a\
`
48567 outFile=\`basnam
${D}outFile .lib\
`
48572 case ${D}outimpFile in
48574 outimpFile=\`basnam
${D}outimpFile .a\
`
48577 outimpFile=\`basnam
${D}outimpFile .lib\
`
48582 if [ -z ${D}outimpFile ]; then
48583 outimpFile=${D}outFile
48585 defFile="${D}{outFile}.def"
48586 arcFile="${D}{outimpFile}.a"
48587 arcFile2="${D}{outimpFile}.lib"
48589 #create ${D}dllFile as something matching 8.3 restrictions,
48590 if [ -z ${D}renameScript ] ; then
48591 dllFile="${D}outFile"
48593 dllFile=\`${D}renameScript
${D}outimpFile\
`
48596 if [ ${D}do_backup -ne 0 ] ; then
48597 if [ -f ${D}arcFile ] ; then
48598 doCommand "mv ${D}arcFile ${D}{outFile}_s.a"
48600 if [ -f ${D}arcFile2 ] ; then
48601 doCommand "mv ${D}arcFile2 ${D}{outFile}_s.lib"
48605 # Extract public symbols from all the object files.
48606 tmpdefFile=${D}{defFile}_%
48607 rm -f ${D}tmpdefFile
48608 for file in ${D}inputFiles ; do
48613 doCommand "emxexp -u ${D}file >> ${D}tmpdefFile"
48618 # Create the def file.
48620 echo "LIBRARY \`basnam
${D}dllFile\
` ${D}library_flags" >> ${D}defFile
48621 dllFile="${D}{dllFile}.dll"
48622 if [ ! -z ${D}description ]; then
48623 echo "DESCRIPTION \\"${D}{description}\\"" >> ${D}defFile
48625 echo "EXPORTS" >> ${D}defFile
48627 doCommand "cat ${D}tmpdefFile | sort.exe | uniq.exe > ${D}{tmpdefFile}%"
48628 grep -v "^ *;" < ${D}{tmpdefFile}% | grep -v "^ *${D}" >${D}tmpdefFile
48630 # Checks if the export is ok or not.
48631 for word in ${D}exclude_symbols; do
48632 grep -v ${D}word < ${D}tmpdefFile >${D}{tmpdefFile}%
48633 mv ${D}{tmpdefFile}% ${D}tmpdefFile
48637 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
48638 sed "=" < ${D}tmpdefFile | \\
48642 s/^\\([0-9]\\+\\)\\([^;]*\\)\\(;.*\\)\\?/\\2 @\\1 NONAME/
48644 ' > ${D}{tmpdefFile}%
48645 grep -v "^ *${D}" < ${D}{tmpdefFile}% > ${D}tmpdefFile
48647 rm -f ${D}{tmpdefFile}%
48649 cat ${D}tmpdefFile >> ${D}defFile
48650 rm -f ${D}tmpdefFile
48652 # Do linking, create implib, and apply lxlite.
48654 for file in ${D}inputFiles ; do
48659 gccCmdl="${D}gccCmdl ${D}file"
48663 doCommand "${D}CC ${D}CFLAGS -Zdll -o ${D}dllFile ${D}defFile ${D}gccCmdl ${D}EXTRA_CFLAGS"
48664 touch "${D}{outFile}.dll"
48666 doCommand "emximp -o ${D}arcFile ${D}defFile"
48667 if [ ${D}flag_USE_LXLITE -ne 0 ]; then
48669 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
48672 doCommand "lxlite -cs -t: -mrn -mln ${D}add_flags ${D}dllFile"
48674 doCommand "emxomf -s -l ${D}arcFile"
48684 powerpc-apple-macos* | \
48685 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | *-*-k*bsd*-gnu | \
48695 { { echo "$as_me:$LINENO: error: unknown system type $BAKEFILE_HOST." >&5
48696 echo "$as_me: error: unknown system type $BAKEFILE_HOST." >&2;}
48697 { (exit 1); exit 1; }; }
48700 if test "x$PIC_FLAG" != "x" ; then
48701 PIC_FLAG="$PIC_FLAG -DPIC"
48704 if test "x$SHARED_LD_MODULE_CC" = "x" ; then
48705 SHARED_LD_MODULE_CC="$SHARED_LD_CC"
48707 if test "x$SHARED_LD_MODULE_CXX" = "x" ; then
48708 SHARED_LD_MODULE_CXX="$SHARED_LD_CXX"
48727 case "${BAKEFILE_HOST}" in
48728 *-*-linux* | *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | \
48729 *-*-k*bsd*-gnu | *-*-mirbsd* )
48730 if test "x$SUNCXX" = "xyes"; then
48733 SONAME_FLAG="-Wl,-soname,"
48768 # Check whether --enable-dependency-tracking was given.
48769 if test "${enable_dependency_tracking+set}" = set; then
48770 enableval=$enable_dependency_tracking; bk_use_trackdeps="$enableval"
48774 { echo "$as_me:$LINENO: checking for dependency tracking method" >&5
48775 echo $ECHO_N "checking for dependency tracking method... $ECHO_C" >&6; }
48778 if test "x$bk_use_trackdeps" = "xno" ; then
48780 { echo "$as_me:$LINENO: result: disabled" >&5
48781 echo "${ECHO_T}disabled" >&6; }
48785 if test "x$GCC" = "xyes"; then
48787 case "${BAKEFILE_HOST}" in
48789 DEPSFLAG="-no-cpp-precomp -MMD"
48795 { echo "$as_me:$LINENO: result: gcc" >&5
48796 echo "${ECHO_T}gcc" >&6; }
48797 elif test "x$MWCC" = "xyes"; then
48800 { echo "$as_me:$LINENO: result: mwcc" >&5
48801 echo "${ECHO_T}mwcc" >&6; }
48802 elif test "x$SUNCC" = "xyes"; then
48805 { echo "$as_me:$LINENO: result: Sun cc" >&5
48806 echo "${ECHO_T}Sun cc" >&6; }
48807 elif test "x$SGICC" = "xyes"; then
48810 { echo "$as_me:$LINENO: result: SGI cc" >&5
48811 echo "${ECHO_T}SGI cc" >&6; }
48812 elif test "x$HPCC" = "xyes"; then
48815 { echo "$as_me:$LINENO: result: HP cc" >&5
48816 echo "${ECHO_T}HP cc" >&6; }
48817 elif test "x$COMPAQCC" = "xyes"; then
48820 { echo "$as_me:$LINENO: result: Compaq cc" >&5
48821 echo "${ECHO_T}Compaq cc" >&6; }
48824 { echo "$as_me:$LINENO: result: none" >&5
48825 echo "${ECHO_T}none" >&6; }
48828 if test $DEPS_TRACKING = 1 ; then
48834 # This script is part of Bakefile (http://www.bakefile.org) autoconf
48835 # script. It is used to track C/C++ files dependencies in portable way.
48837 # Permission is given to use this file in any way.
48839 DEPSMODE=${DEPSMODE}
48841 DEPSFLAG="${DEPSFLAG}"
48843 mkdir -p ${D}DEPSDIR
48845 if test ${D}DEPSMODE = gcc ; then
48846 ${D}* ${D}{DEPSFLAG}
48849 # determine location of created files:
48850 while test ${D}# -gt 0; do
48864 depfile=\`basename ${D}srcfile
| sed -e 's/\\..*${D}/.d/g'\
`
48865 depobjname=\`echo ${D}depfile
|sed -e 's/\\.d/.o/g'\
`
48867 # if the compiler failed, we're done:
48868 if test ${D}{status} != 0 ; then
48873 # move created file to the location we want it in:
48874 if test -f ${D}depfile ; then
48875 sed -e "s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
48878 # "g++ -MMD -o fooobj.o foosrc.cpp" produces fooobj.d
48879 depfile=\`basename ${D}objfile
| sed -e 's/\\..*${D}/.d/g'\
`
48880 if test ! -f ${D}depfile ; then
48881 # "cxx -MD -o fooobj.o foosrc.cpp" creates fooobj.o.d (Compaq C++)
48882 depfile="${D}objfile.d"
48884 if test -f ${D}depfile ; then
48885 sed -e "/^${D}objfile/!s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
48890 elif test ${D}DEPSMODE = mwcc ; then
48891 ${D}* || exit ${D}?
48892 # Run mwcc again with -MM and redirect into the dep file we want
48893 # NOTE: We can't use shift here because we need ${D}* to be valid
48895 for arg in ${D}* ; do
48896 if test "${D}prevarg" = "-o"; then
48909 ${D}* ${D}DEPSFLAG >${D}{DEPSDIR}/${D}{objfile}.d
48911 elif test ${D}DEPSMODE = unixcc; then
48912 ${D}* || exit ${D}?
48913 # Run compiler again with deps flag and redirect into the dep file.
48914 # It doesn't work if the '-o FILE' option is used, but without it the
48915 # dependency file will contain the wrong name for the object. So it is
48916 # removed from the command line, and the dep file is fixed with sed.
48918 while test ${D}# -gt 0; do
48925 eval arg${D}#=\\${D}1
48926 cmd="${D}cmd \\${D}arg${D}#"
48931 eval "${D}cmd ${D}DEPSFLAG" | sed "s|.*:|${D}objfile:|" >${D}{DEPSDIR}/${D}{objfile}.d
48940 BK_DEPS="`pwd`/bk-deps"
48948 case ${BAKEFILE_HOST} in
48949 *-*-cygwin* | *-*-mingw32* )
48950 if test -n "$ac_tool_prefix"; then
48951 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
48952 set dummy ${ac_tool_prefix}windres; ac_word=$2
48953 { echo "$as_me:$LINENO: checking for $ac_word" >&5
48954 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
48955 if test "${ac_cv_prog_WINDRES+set}" = set; then
48956 echo $ECHO_N "(cached) $ECHO_C" >&6
48958 if test -n "$WINDRES"; then
48959 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
48961 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
48962 for as_dir in $PATH
48965 test -z "$as_dir" && as_dir=.
48966 for ac_exec_ext in '' $ac_executable_extensions; do
48967 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
48968 ac_cv_prog_WINDRES="${ac_tool_prefix}windres"
48969 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48978 WINDRES=$ac_cv_prog_WINDRES
48979 if test -n "$WINDRES"; then
48980 { echo "$as_me:$LINENO: result: $WINDRES" >&5
48981 echo "${ECHO_T}$WINDRES" >&6; }
48983 { echo "$as_me:$LINENO: result: no" >&5
48984 echo "${ECHO_T}no" >&6; }
48989 if test -z "$ac_cv_prog_WINDRES"; then
48990 ac_ct_WINDRES=$WINDRES
48991 # Extract the first word of "windres", so it can be a program name with args.
48992 set dummy windres; ac_word=$2
48993 { echo "$as_me:$LINENO: checking for $ac_word" >&5
48994 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
48995 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
48996 echo $ECHO_N "(cached) $ECHO_C" >&6
48998 if test -n "$ac_ct_WINDRES"; then
48999 ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
49001 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49002 for as_dir in $PATH
49005 test -z "$as_dir" && as_dir=.
49006 for ac_exec_ext in '' $ac_executable_extensions; do
49007 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49008 ac_cv_prog_ac_ct_WINDRES="windres"
49009 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49018 ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
49019 if test -n "$ac_ct_WINDRES"; then
49020 { echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
49021 echo "${ECHO_T}$ac_ct_WINDRES" >&6; }
49023 { echo "$as_me:$LINENO: result: no" >&5
49024 echo "${ECHO_T}no" >&6; }
49027 if test "x$ac_ct_WINDRES" = x; then
49030 case $cross_compiling:$ac_tool_warned in
49032 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
49033 whose name does not start with the host triplet. If you think this
49034 configuration is useful to you, please write to autoconf@gnu.org." >&5
49035 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
49036 whose name does not start with the host triplet. If you think this
49037 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
49038 ac_tool_warned=yes ;;
49040 WINDRES=$ac_ct_WINDRES
49043 WINDRES="$ac_cv_prog_WINDRES"
49048 *-*-darwin* | powerpc-apple-macos* )
49049 # Extract the first word of "Rez", so it can be a program name with args.
49050 set dummy Rez; ac_word=$2
49051 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49052 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49053 if test "${ac_cv_prog_REZ+set}" = set; then
49054 echo $ECHO_N "(cached) $ECHO_C" >&6
49056 if test -n "$REZ"; then
49057 ac_cv_prog_REZ="$REZ" # Let the user override the test.
49059 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49060 for as_dir in $PATH
49063 test -z "$as_dir" && as_dir=.
49064 for ac_exec_ext in '' $ac_executable_extensions; do
49065 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49066 ac_cv_prog_REZ="Rez"
49067 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49074 test -z "$ac_cv_prog_REZ" && ac_cv_prog_REZ="/Developer/Tools/Rez"
49077 REZ=$ac_cv_prog_REZ
49078 if test -n "$REZ"; then
49079 { echo "$as_me:$LINENO: result: $REZ" >&5
49080 echo "${ECHO_T}$REZ" >&6; }
49082 { echo "$as_me:$LINENO: result: no" >&5
49083 echo "${ECHO_T}no" >&6; }
49087 # Extract the first word of "SetFile", so it can be a program name with args.
49088 set dummy SetFile; ac_word=$2
49089 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49090 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49091 if test "${ac_cv_prog_SETFILE+set}" = set; then
49092 echo $ECHO_N "(cached) $ECHO_C" >&6
49094 if test -n "$SETFILE"; then
49095 ac_cv_prog_SETFILE="$SETFILE" # Let the user override the test.
49097 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49098 for as_dir in $PATH
49101 test -z "$as_dir" && as_dir=.
49102 for ac_exec_ext in '' $ac_executable_extensions; do
49103 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49104 ac_cv_prog_SETFILE="SetFile"
49105 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49112 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE="/Developer/Tools/SetFile"
49115 SETFILE=$ac_cv_prog_SETFILE
49116 if test -n "$SETFILE"; then
49117 { echo "$as_me:$LINENO: result: $SETFILE" >&5
49118 echo "${ECHO_T}$SETFILE" >&6; }
49120 { echo "$as_me:$LINENO: result: no" >&5
49121 echo "${ECHO_T}no" >&6; }
49133 BAKEFILE_BAKEFILE_M4_VERSION="0.2.3"
49136 BAKEFILE_AUTOCONF_INC_M4_VERSION="0.2.3"
49140 # Check whether --enable-precomp-headers was given.
49141 if test "${enable_precomp_headers+set}" = set; then
49142 enableval=$enable_precomp_headers; bk_use_pch="$enableval"
49151 case ${BAKEFILE_HOST} in
49157 if test "x$bk_use_pch" = "x" -o "x$bk_use_pch" = "xyes" ; then
49158 if test "x$GCC" = "xyes"; then
49159 { echo "$as_me:$LINENO: checking if the compiler supports precompiled headers" >&5
49160 echo $ECHO_N "checking if the compiler supports precompiled headers... $ECHO_C" >&6; }
49161 cat >conftest.$ac_ext <<_ACEOF
49164 cat confdefs.h >>conftest.$ac_ext
49165 cat >>conftest.$ac_ext <<_ACEOF
49166 /* end confdefs.h. */
49172 #if !defined(__GNUC__) || !defined(__GNUC_MINOR__)
49173 There is no PCH support
49176 There is no PCH support
49178 #if (__GNUC__ == 3) && \
49179 ((!defined(__APPLE_CC__) && (__GNUC_MINOR__ < 4)) || \
49180 ( defined(__APPLE_CC__) && (__GNUC_MINOR__ < 3))) || \
49181 ( defined(__INTEL_COMPILER) )
49182 There is no PCH support
49189 rm -f conftest.$ac_objext
49190 if { (ac_try="$ac_compile"
49191 case "(($ac_try" in
49192 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
49193 *) ac_try_echo
=$ac_try;;
49195 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
49196 (eval "$ac_compile") 2>conftest.er1
49198 grep -v '^ *+' conftest.er1
>conftest.err
49200 cat conftest.err
>&5
49201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49202 (exit $ac_status); } && {
49203 test -z "$ac_c_werror_flag" ||
49204 test ! -s conftest.err
49205 } && test -s conftest.
$ac_objext; then
49207 { echo "$as_me:$LINENO: result: yes" >&5
49208 echo "${ECHO_T}yes" >&6; }
49212 echo "$as_me: failed program was:" >&5
49213 sed 's/^/| /' conftest.
$ac_ext >&5
49216 cat >conftest.
$ac_ext <<_ACEOF
49219 cat confdefs.h
>>conftest.
$ac_ext
49220 cat >>conftest.
$ac_ext <<_ACEOF
49221 /* end confdefs.h. */
49227 #if !defined(__INTEL_COMPILER) || \
49228 (__INTEL_COMPILER < 800)
49229 There is no PCH support
49236 rm -f conftest.
$ac_objext
49237 if { (ac_try
="$ac_compile"
49238 case "(($ac_try" in
49239 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
49240 *) ac_try_echo=$ac_try;;
49242 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
49243 (eval "$ac_compile") 2>conftest.er1
49245 grep -v '^ *+' conftest.er1 >conftest.err
49247 cat conftest.err >&5
49248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49249 (exit $ac_status); } && {
49250 test -z "$ac_c_werror_flag" ||
49251 test ! -s conftest.err
49252 } && test -s conftest.$ac_objext; then
49254 { echo "$as_me:$LINENO: result: yes" >&5
49255 echo "${ECHO_T}yes" >&6; }
49259 echo "$as_me: failed program was:" >&5
49260 sed 's/^/| /' conftest.$ac_ext >&5
49263 { echo "$as_me:$LINENO: result: no" >&5
49264 echo "${ECHO_T}no" >&6; }
49268 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49272 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49273 if test $GCC_PCH = 1 -o $ICC_PCH = 1 ; then
49277 cat <<EOF >bk-make-pch
49280 # This script is part of Bakefile (http://www.bakefile.org) autoconf
49281 # script. It is used to generated precompiled headers.
49283 # Permission is given to use this file in any way.
49293 while test ${D}{#} -gt 0; do
49297 incdir=\`echo ${D}{1} | sed -e 's/-I\\(.*\\)/\\1/g'\
`
49298 if test "x${D}{headerfile}" = "x" -a -f "${D}{incdir}/${D}{header}" ; then
49299 headerfile="${D}{incdir}/${D}{header}"
49302 -use-pch|-use_pch )
49307 if test ${D}add_to_cmdline = 1 ; then
49308 compiler="${D}{compiler} ${D}{1}"
49313 if test "x${D}{headerfile}" = "x" ; then
49314 echo "error: can't find header ${D}{header} in include paths" >&2
49316 if test -f ${D}{outfile} ; then
49317 rm -f ${D}{outfile}
49319 mkdir -p \`dirname ${D}{outfile
}\
`
49321 depsfile=".deps/\`echo ${D}{outfile
} | tr '/.' '__'\
`.d"
49323 if test "x${GCC_PCH}" = "x1" ; then
49324 # can do this because gcc is >= 3.4:
49325 ${D}{compiler} -o ${D}{outfile} -MMD -MF "${D}{depsfile}" "${D}{headerfile}"
49326 elif test "x${ICC_PCH}" = "x1" ; then
49327 filename=pch_gen-${D}${D}
49328 file=${D}{filename}.c
49329 dfile=${D}{filename}.d
49330 cat > ${D}file <<EOT
49331 #include "${D}header"
49333 # using -MF icc complains about differing command lines in creation/use
49334 ${D}compiler -c -create_pch ${D}outfile -MMD ${D}file && \\
49335 sed -e "s,^.*:,${D}outfile:," -e "s, ${D}file,," < ${D}dfile > ${D}depsfile && \\
49336 rm -f ${D}file ${D}dfile ${D}{filename}.o
49342 chmod +x bk-make-pch
49343 BK_MAKE_PCH="`pwd`/bk-make-pch"
49352 COND_BUILD_DEBUG="#"
49353 if test "x$BUILD" = "xdebug" ; then
49354 COND_BUILD_DEBUG=""
49357 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT="#"
49358 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
49359 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT=""
49362 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT="#"
49363 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
49364 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT=""
49367 COND_BUILD_DEBUG_UNICODE_0="#"
49368 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
49369 COND_BUILD_DEBUG_UNICODE_0=""
49372 COND_BUILD_DEBUG_UNICODE_1="#"
49373 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
49374 COND_BUILD_DEBUG_UNICODE_1=""
49377 COND_BUILD_RELEASE="#"
49378 if test "x$BUILD" = "xrelease" ; then
49379 COND_BUILD_RELEASE=""
49382 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT="#"
49383 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
49384 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT=""
49387 COND_BUILD_RELEASE_UNICODE_0="#"
49388 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
49389 COND_BUILD_RELEASE_UNICODE_0=""
49392 COND_BUILD_RELEASE_UNICODE_1="#"
49393 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
49394 COND_BUILD_RELEASE_UNICODE_1=""
49397 COND_DEBUG_FLAG_1="#"
49398 if test "x$DEBUG_FLAG" = "x1" ; then
49399 COND_DEBUG_FLAG_1=""
49402 COND_DEBUG_INFO_0="#"
49403 if test "x$DEBUG_INFO" = "x0" ; then
49404 COND_DEBUG_INFO_0=""
49407 COND_DEBUG_INFO_1="#"
49408 if test "x$DEBUG_INFO" = "x1" ; then
49409 COND_DEBUG_INFO_1=""
49412 COND_DEPS_TRACKING_0="#"
49413 if test "x$DEPS_TRACKING" = "x0" ; then
49414 COND_DEPS_TRACKING_0=""
49417 COND_DEPS_TRACKING_1="#"
49418 if test "x$DEPS_TRACKING" = "x1" ; then
49419 COND_DEPS_TRACKING_1=""
49423 if test "x$GCC_PCH" = "x1" ; then
49428 if test "x$ICC_PCH" = "x1" ; then
49432 COND_MONOLITHIC_0="#"
49433 if test "x$MONOLITHIC" = "x0" ; then
49434 COND_MONOLITHIC_0=""
49437 COND_MONOLITHIC_0_SHARED_0="#"
49438 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" ; then
49439 COND_MONOLITHIC_0_SHARED_0=""
49442 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1="#"
49443 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_AUI" = "x1" ; then
49444 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1=""
49447 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1="#"
49448 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" ; then
49449 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1=""
49452 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1="#"
49453 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
49454 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1=""
49457 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1="#"
49458 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
49459 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1=""
49462 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1="#"
49463 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
49464 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1=""
49467 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1="#"
49468 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
49469 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1=""
49472 COND_MONOLITHIC_0_SHARED_0_USE_STC_1="#"
49473 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_STC" = "x1" ; then
49474 COND_MONOLITHIC_0_SHARED_0_USE_STC_1=""
49477 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1="#"
49478 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
49479 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1=""
49482 COND_MONOLITHIC_0_SHARED_1="#"
49483 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" ; then
49484 COND_MONOLITHIC_0_SHARED_1=""
49487 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1="#"
49488 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_AUI" = "x1" ; then
49489 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1=""
49492 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1="#"
49493 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" ; then
49494 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1=""
49497 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1="#"
49498 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
49499 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1=""
49502 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1="#"
49503 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
49504 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1=""
49507 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1="#"
49508 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
49509 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1=""
49512 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1="#"
49513 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_RICHTEXT" = "x1" ; then
49514 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1=""
49517 COND_MONOLITHIC_0_SHARED_1_USE_STC_1="#"
49518 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_STC" = "x1" ; then
49519 COND_MONOLITHIC_0_SHARED_1_USE_STC_1=""
49522 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1="#"
49523 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
49524 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1=""
49527 COND_MONOLITHIC_0_USE_AUI_1="#"
49528 if test "x$MONOLITHIC" = "x0" -a "x$USE_AUI" = "x1" ; then
49529 COND_MONOLITHIC_0_USE_AUI_1=""
49532 COND_MONOLITHIC_0_USE_GUI_1="#"
49533 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" ; then
49534 COND_MONOLITHIC_0_USE_GUI_1=""
49537 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1="#"
49538 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
49539 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1=""
49542 COND_MONOLITHIC_0_USE_HTML_1="#"
49543 if test "x$MONOLITHIC" = "x0" -a "x$USE_HTML" = "x1" ; then
49544 COND_MONOLITHIC_0_USE_HTML_1=""
49547 COND_MONOLITHIC_0_USE_MEDIA_1="#"
49548 if test "x$MONOLITHIC" = "x0" -a "x$USE_MEDIA" = "x1" ; then
49549 COND_MONOLITHIC_0_USE_MEDIA_1=""
49552 COND_MONOLITHIC_0_USE_QA_1="#"
49553 if test "x$MONOLITHIC" = "x0" -a "x$USE_QA" = "x1" ; then
49554 COND_MONOLITHIC_0_USE_QA_1=""
49557 COND_MONOLITHIC_0_USE_RICHTEXT_1="#"
49558 if test "x$MONOLITHIC" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
49559 COND_MONOLITHIC_0_USE_RICHTEXT_1=""
49562 COND_MONOLITHIC_0_USE_STC_1="#"
49563 if test "x$MONOLITHIC" = "x0" -a "x$USE_STC" = "x1" ; then
49564 COND_MONOLITHIC_0_USE_STC_1=""
49567 COND_MONOLITHIC_0_USE_XRC_1="#"
49568 if test "x$MONOLITHIC" = "x0" -a "x$USE_XRC" = "x1" ; then
49569 COND_MONOLITHIC_0_USE_XRC_1=""
49572 COND_MONOLITHIC_1="#"
49573 if test "x$MONOLITHIC" = "x1" ; then
49574 COND_MONOLITHIC_1=""
49577 COND_MONOLITHIC_1_SHARED_0="#"
49578 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x0" ; then
49579 COND_MONOLITHIC_1_SHARED_0=""
49582 COND_MONOLITHIC_1_SHARED_1="#"
49583 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x1" ; then
49584 COND_MONOLITHIC_1_SHARED_1=""
49587 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1="#"
49588 if test "x$OFFICIAL_BUILD" = "x0" -a "x$PLATFORM_WIN32" = "x1" ; then
49589 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1=""
49592 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1="#"
49593 if test "x$OFFICIAL_BUILD" = "x1" -a "x$PLATFORM_WIN32" = "x1" ; then
49594 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1=""
49597 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1="#"
49598 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERCYGWIN" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
49599 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1=""
49602 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1="#"
49603 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
49604 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1=""
49607 COND_PLATFORM_MACOSX_1="#"
49608 if test "x$PLATFORM_MACOSX" = "x1" ; then
49609 COND_PLATFORM_MACOSX_1=""
49612 COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0="#"
49613 if test "x$PLATFORM_MACOSX" = "x1" -a "x$PLATFORM_MSDOS" = "x0" ; then
49614 COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0=""
49617 COND_PLATFORM_MACOSX_1_TOOLKIT_="#"
49618 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "x" ; then
49619 COND_PLATFORM_MACOSX_1_TOOLKIT_=""
49622 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA="#"
49623 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xCOCOA" ; then
49624 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA=""
49627 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK="#"
49628 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xGTK" ; then
49629 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK=""
49632 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC="#"
49633 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" ; then
49634 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC=""
49637 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1="#"
49638 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
49639 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1=""
49642 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF="#"
49643 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMOTIF" ; then
49644 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF=""
49647 COND_PLATFORM_MACOSX_1_TOOLKIT_X11="#"
49648 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xX11" ; then
49649 COND_PLATFORM_MACOSX_1_TOOLKIT_X11=""
49652 COND_PLATFORM_MACOSX_1_USE_GUI_1="#"
49653 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_GUI" = "x1" ; then
49654 COND_PLATFORM_MACOSX_1_USE_GUI_1=""
49657 COND_PLATFORM_MACOSX_1_USE_OPENGL_1="#"
49658 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_OPENGL" = "x1" ; then
49659 COND_PLATFORM_MACOSX_1_USE_OPENGL_1=""
49662 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1="#"
49663 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
49664 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1=""
49667 COND_PLATFORM_MACOS_1="#"
49668 if test "x$PLATFORM_MACOS" = "x1" ; then
49669 COND_PLATFORM_MACOS_1=""
49672 COND_PLATFORM_MAC_0="#"
49673 if test "x$PLATFORM_MAC" = "x0" ; then
49674 COND_PLATFORM_MAC_0=""
49677 COND_PLATFORM_MAC_1="#"
49678 if test "x$PLATFORM_MAC" = "x1" ; then
49679 COND_PLATFORM_MAC_1=""
49682 COND_PLATFORM_MSDOS_0="#"
49683 if test "x$PLATFORM_MSDOS" = "x0" ; then
49684 COND_PLATFORM_MSDOS_0=""
49687 COND_PLATFORM_MSDOS_1="#"
49688 if test "x$PLATFORM_MSDOS" = "x1" ; then
49689 COND_PLATFORM_MSDOS_1=""
49692 COND_PLATFORM_OS2_1="#"
49693 if test "x$PLATFORM_OS2" = "x1" ; then
49694 COND_PLATFORM_OS2_1=""
49697 COND_PLATFORM_UNIX_0="#"
49698 if test "x$PLATFORM_UNIX" = "x0" ; then
49699 COND_PLATFORM_UNIX_0=""
49702 COND_PLATFORM_UNIX_1="#"
49703 if test "x$PLATFORM_UNIX" = "x1" ; then
49704 COND_PLATFORM_UNIX_1=""
49707 COND_PLATFORM_UNIX_1_TOOLKIT_MGL="#"
49708 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xMGL" ; then
49709 COND_PLATFORM_UNIX_1_TOOLKIT_MGL=""
49712 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1="#"
49713 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
49714 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1=""
49717 COND_PLATFORM_UNIX_1_USE_GUI_1="#"
49718 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_GUI" = "x1" ; then
49719 COND_PLATFORM_UNIX_1_USE_GUI_1=""
49722 COND_PLATFORM_UNIX_1_USE_PLUGINS_0="#"
49723 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_PLUGINS" = "x0" ; then
49724 COND_PLATFORM_UNIX_1_USE_PLUGINS_0=""
49727 COND_PLATFORM_WIN32_0="#"
49728 if test "x$PLATFORM_WIN32" = "x0" ; then
49729 COND_PLATFORM_WIN32_0=""
49732 COND_PLATFORM_WIN32_1="#"
49733 if test "x$PLATFORM_WIN32" = "x1" ; then
49734 COND_PLATFORM_WIN32_1=""
49738 if test "x$SHARED" = "x0" ; then
49742 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0="#"
49743 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMAC" -a "x$WXUNIV" = "x0" ; then
49744 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0=""
49747 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0="#"
49748 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
49749 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0=""
49752 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0="#"
49753 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xPM" -a "x$WXUNIV" = "x0" ; then
49754 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0=""
49757 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1="#"
49758 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
49759 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1=""
49762 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN="#"
49763 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
49764 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN=""
49767 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN="#"
49768 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
49769 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN=""
49772 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN="#"
49773 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
49774 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN=""
49777 COND_SHARED_0_USE_STC_1="#"
49778 if test "x$SHARED" = "x0" -a "x$USE_STC" = "x1" ; then
49779 COND_SHARED_0_USE_STC_1=""
49782 COND_SHARED_0_WXUSE_EXPAT_BUILTIN="#"
49783 if test "x$SHARED" = "x0" -a "x$wxUSE_EXPAT" = "xbuiltin" ; then
49784 COND_SHARED_0_WXUSE_EXPAT_BUILTIN=""
49787 COND_SHARED_0_WXUSE_REGEX_BUILTIN="#"
49788 if test "x$SHARED" = "x0" -a "x$wxUSE_REGEX" = "xbuiltin" ; then
49789 COND_SHARED_0_WXUSE_REGEX_BUILTIN=""
49792 COND_SHARED_0_WXUSE_ZLIB_BUILTIN="#"
49793 if test "x$SHARED" = "x0" -a "x$wxUSE_ZLIB" = "xbuiltin" ; then
49794 COND_SHARED_0_WXUSE_ZLIB_BUILTIN=""
49798 if test "x$SHARED" = "x1" ; then
49802 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1="#"
49803 if test "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
49804 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1=""
49808 if test "x$TOOLKIT" = "x" ; then
49812 COND_TOOLKIT_COCOA="#"
49813 if test "x$TOOLKIT" = "xCOCOA" ; then
49814 COND_TOOLKIT_COCOA=""
49817 COND_TOOLKIT_COCOA_USE_GUI_1="#"
49818 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" ; then
49819 COND_TOOLKIT_COCOA_USE_GUI_1=""
49822 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0="#"
49823 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49824 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0=""
49827 COND_TOOLKIT_DFB="#"
49828 if test "x$TOOLKIT" = "xDFB" ; then
49829 COND_TOOLKIT_DFB=""
49832 COND_TOOLKIT_DFB_USE_GUI_1="#"
49833 if test "x$TOOLKIT" = "xDFB" -a "x$USE_GUI" = "x1" ; then
49834 COND_TOOLKIT_DFB_USE_GUI_1=""
49837 COND_TOOLKIT_GTK="#"
49838 if test "x$TOOLKIT" = "xGTK" ; then
49839 COND_TOOLKIT_GTK=""
49842 COND_TOOLKIT_GTK_TOOLKIT_VERSION_="#"
49843 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" ; then
49844 COND_TOOLKIT_GTK_TOOLKIT_VERSION_=""
49847 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2="#"
49848 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" ; then
49849 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2=""
49852 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1="#"
49853 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" ; then
49854 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1=""
49857 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0="#"
49858 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49859 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0=""
49862 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_WXUNIV_0="#"
49863 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$WXUNIV" = "x0" ; then
49864 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_WXUNIV_0=""
49867 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1="#"
49868 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" ; then
49869 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1=""
49872 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0="#"
49873 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49874 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0=""
49877 COND_TOOLKIT_GTK_USE_GUI_1="#"
49878 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" ; then
49879 COND_TOOLKIT_GTK_USE_GUI_1=""
49882 COND_TOOLKIT_MAC="#"
49883 if test "x$TOOLKIT" = "xMAC" ; then
49884 COND_TOOLKIT_MAC=""
49887 COND_TOOLKIT_MAC_USE_GUI_1="#"
49888 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
49889 COND_TOOLKIT_MAC_USE_GUI_1=""
49892 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0="#"
49893 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49894 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0=""
49897 COND_TOOLKIT_MGL="#"
49898 if test "x$TOOLKIT" = "xMGL" ; then
49899 COND_TOOLKIT_MGL=""
49902 COND_TOOLKIT_MGL_USE_GUI_1="#"
49903 if test "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
49904 COND_TOOLKIT_MGL_USE_GUI_1=""
49907 COND_TOOLKIT_MOTIF="#"
49908 if test "x$TOOLKIT" = "xMOTIF" ; then
49909 COND_TOOLKIT_MOTIF=""
49912 COND_TOOLKIT_MOTIF_USE_GUI_1="#"
49913 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" ; then
49914 COND_TOOLKIT_MOTIF_USE_GUI_1=""
49917 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0="#"
49918 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49919 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0=""
49922 COND_TOOLKIT_MSW="#"
49923 if test "x$TOOLKIT" = "xMSW" ; then
49924 COND_TOOLKIT_MSW=""
49927 COND_TOOLKIT_MSW_USE_GUI_1="#"
49928 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" ; then
49929 COND_TOOLKIT_MSW_USE_GUI_1=""
49932 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0="#"
49933 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49934 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0=""
49937 COND_TOOLKIT_MSW_WXUNIV_0="#"
49938 if test "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
49939 COND_TOOLKIT_MSW_WXUNIV_0=""
49942 COND_TOOLKIT_PM="#"
49943 if test "x$TOOLKIT" = "xPM" ; then
49947 COND_TOOLKIT_PM_USE_GUI_1="#"
49948 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" ; then
49949 COND_TOOLKIT_PM_USE_GUI_1=""
49952 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0="#"
49953 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49954 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0=""
49957 COND_TOOLKIT_WINCE="#"
49958 if test "x$TOOLKIT" = "xWINCE" ; then
49959 COND_TOOLKIT_WINCE=""
49962 COND_TOOLKIT_WINCE_USE_GUI_1="#"
49963 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" ; then
49964 COND_TOOLKIT_WINCE_USE_GUI_1=""
49967 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0="#"
49968 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49969 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0=""
49972 COND_TOOLKIT_WINCE_WXUNIV_0="#"
49973 if test "x$TOOLKIT" = "xWINCE" -a "x$WXUNIV" = "x0" ; then
49974 COND_TOOLKIT_WINCE_WXUNIV_0=""
49977 COND_TOOLKIT_X11="#"
49978 if test "x$TOOLKIT" = "xX11" ; then
49979 COND_TOOLKIT_X11=""
49982 COND_TOOLKIT_X11_USE_GUI_1="#"
49983 if test "x$TOOLKIT" = "xX11" -a "x$USE_GUI" = "x1" ; then
49984 COND_TOOLKIT_X11_USE_GUI_1=""
49988 if test "x$UNICODE" = "x1" ; then
49992 COND_USE_EXCEPTIONS_0="#"
49993 if test "x$USE_EXCEPTIONS" = "x0" ; then
49994 COND_USE_EXCEPTIONS_0=""
49997 COND_USE_EXCEPTIONS_1="#"
49998 if test "x$USE_EXCEPTIONS" = "x1" ; then
49999 COND_USE_EXCEPTIONS_1=""
50003 if test "x$USE_GUI" = "x0" ; then
50008 if test "x$USE_GUI" = "x1" ; then
50012 COND_USE_GUI_1_USE_OPENGL_1="#"
50013 if test "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
50014 COND_USE_GUI_1_USE_OPENGL_1=""
50017 COND_USE_GUI_1_WXUNIV_0="#"
50018 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50019 COND_USE_GUI_1_WXUNIV_0=""
50022 COND_USE_GUI_1_WXUNIV_1="#"
50023 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
50024 COND_USE_GUI_1_WXUNIV_1=""
50027 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN="#"
50028 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
50029 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN=""
50032 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN="#"
50033 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
50034 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN=""
50037 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN="#"
50038 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
50039 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN=""
50042 COND_USE_OPENGL_1="#"
50043 if test "x$USE_OPENGL" = "x1" ; then
50044 COND_USE_OPENGL_1=""
50048 if test "x$USE_PCH" = "x1" ; then
50052 COND_USE_PLUGINS_0="#"
50053 if test "x$USE_PLUGINS" = "x0" ; then
50054 COND_USE_PLUGINS_0=""
50057 COND_USE_RTTI_0="#"
50058 if test "x$USE_RTTI" = "x0" ; then
50062 COND_USE_RTTI_1="#"
50063 if test "x$USE_RTTI" = "x1" ; then
50067 COND_USE_SOSYMLINKS_1="#"
50068 if test "x$USE_SOSYMLINKS" = "x1" ; then
50069 COND_USE_SOSYMLINKS_1=""
50072 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1="#"
50073 if test "x$USE_SOVERCYGWIN" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
50074 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1=""
50077 COND_USE_SOVERLINUX_1="#"
50078 if test "x$USE_SOVERLINUX" = "x1" ; then
50079 COND_USE_SOVERLINUX_1=""
50082 COND_USE_SOVERSION_0="#"
50083 if test "x$USE_SOVERSION" = "x0" ; then
50084 COND_USE_SOVERSION_0=""
50087 COND_USE_SOVERSOLARIS_1="#"
50088 if test "x$USE_SOVERSOLARIS" = "x1" ; then
50089 COND_USE_SOVERSOLARIS_1=""
50093 if test "x$USE_STC" = "x1" ; then
50097 COND_USE_THREADS_0="#"
50098 if test "x$USE_THREADS" = "x0" ; then
50099 COND_USE_THREADS_0=""
50102 COND_USE_THREADS_1="#"
50103 if test "x$USE_THREADS" = "x1" ; then
50104 COND_USE_THREADS_1=""
50108 if test "x$USE_XRC" = "x1" ; then
50112 COND_WINDOWS_IMPLIB_1="#"
50113 if test "x$WINDOWS_IMPLIB" = "x1" ; then
50114 COND_WINDOWS_IMPLIB_1=""
50117 COND_WITH_PLUGIN_SDL_1="#"
50118 if test "x$WITH_PLUGIN_SDL" = "x1" ; then
50119 COND_WITH_PLUGIN_SDL_1=""
50123 if test "x$WXUNIV" = "x0" ; then
50128 if test "x$WXUNIV" = "x1" ; then
50132 COND_WXUSE_EXPAT_BUILTIN="#"
50133 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
50134 COND_WXUSE_EXPAT_BUILTIN=""
50137 COND_WXUSE_LIBJPEG_BUILTIN="#"
50138 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
50139 COND_WXUSE_LIBJPEG_BUILTIN=""
50142 COND_WXUSE_LIBPNG_BUILTIN="#"
50143 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
50144 COND_WXUSE_LIBPNG_BUILTIN=""
50147 COND_WXUSE_LIBTIFF_BUILTIN="#"
50148 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
50149 COND_WXUSE_LIBTIFF_BUILTIN=""
50152 COND_WXUSE_REGEX_BUILTIN="#"
50153 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
50154 COND_WXUSE_REGEX_BUILTIN=""
50157 COND_WXUSE_ZLIB_BUILTIN="#"
50158 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
50159 COND_WXUSE_ZLIB_BUILTIN=""
50164 if test "$BAKEFILE_AUTOCONF_INC_M4_VERSION" = "" ; then
50165 { { 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
50166 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;}
50167 { (exit 1); exit 1; }; }
50170 if test "$BAKEFILE_BAKEFILE_M4_VERSION" != "$BAKEFILE_AUTOCONF_INC_M4_VERSION" ; then
50171 { { 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
50172 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;}
50173 { (exit 1); exit 1; }; }
50180 ?:* ) # Drive letter, considered as absolute.
50183 INSTALL=`pwd`/${INSTALL} ;;
50186 if test "$wxUSE_GUI" = "yes"; then
50188 if test "$wxUSE_MSW" = 1 ; then
50189 if test "x$WINDRES" = "x"; then
50190 { { echo "$as_me:$LINENO: error: Required windres program not found" >&5
50191 echo "$as_me: error: Required windres program not found" >&2;}
50192 { (exit 1); exit 1; }; }
50198 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1; then
50199 WX_RESOURCES_MACOSX_ASCII="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.r"
50200 WX_RESOURCES_MACOSX_DATA="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.rsrc"
50202 LIBWXMACRES="\$(wx_top_builddir)/lib/${WX_RESOURCES_MACOSX_ASCII}"
50204 # Extract the first word of "DeRez", so it can be a program name with args.
50205 set dummy DeRez; ac_word=$2
50206 { echo "$as_me:$LINENO: checking for $ac_word" >&5
50207 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
50208 if test "${ac_cv_prog_DEREZ+set}" = set; then
50209 echo $ECHO_N "(cached) $ECHO_C" >&6
50211 if test -n "$DEREZ"; then
50212 ac_cv_prog_DEREZ="$DEREZ" # Let the user override the test.
50214 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
50215 for as_dir in $PATH
50218 test -z "$as_dir" && as_dir=.
50219 for ac_exec_ext in '' $ac_executable_extensions; do
50220 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
50221 ac_cv_prog_DEREZ="DeRez"
50222 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
50229 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ="/Developer/Tools/DeRez"
50232 DEREZ=$ac_cv_prog_DEREZ
50233 if test -n "$DEREZ"; then
50234 { echo "$as_me:$LINENO: result: $DEREZ" >&5
50235 echo "${ECHO_T}$DEREZ" >&6; }
50237 { echo "$as_me:$LINENO: result: no" >&5
50238 echo "${ECHO_T}no" >&6; }
50243 MACSETFILE="\$(SETFILE)"
50245 if test "$wxUSE_MAC" = 1; then
50246 POSTLINK_COMMAND="\$(REZ) -d __DARWIN__ -t APPL Carbon.r -o"
50248 WXCONFIG_RESFLAGS="-d __DARWIN__ -t APPL Carbon.r -o"
50250 POSTLINK_COMMAND="cat /dev/null | \$(REZ) -d __DARWIN__ -t APPL ${LIBWXMACRES}"
50251 RESCOMP="cat /dev/null \| $REZ"
50252 WXCONFIG_RESFLAGS="-d __DARWIN__ -t APPL \$libdir/$WX_RESOURCES_MACOSX_ASCII"
50258 if test "$wxUSE_PM" = 1; then
50260 WXCONFIG_RESFLAGS="-ep"
50262 POSTLINK_COMMAND="$RESCOMP $WXCONFIG_RESFLAGS"
50264 POSTLINK_COMMAND="@true"
50271 if test $GCC_PCH = 1
50273 if test "$wx_cv_gcc_pch_bug" = yes; then
50274 { echo "$as_me:$LINENO: WARNING: *** Precompiled header support is broken on this compiler" >&5
50275 echo "$as_me: WARNING: *** Precompiled header support is broken on this compiler" >&2;}
50276 { echo "$as_me:$LINENO: WARNING: *** --enable-precomp-headers is not recommended" >&5
50277 echo "$as_me: WARNING: *** --enable-precomp-headers is not recommended" >&2;}
50278 { echo "$as_me:$LINENO: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&5
50279 echo "$as_me: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&2;}
50282 # Our WX_PRECOMP flag does not make sense for any language except C++ because
50283 # the headers that benefit from precompilation are mostly C++ headers.
50284 CXXFLAGS="-DWX_PRECOMP $CXXFLAGS"
50285 # When Bakefile can do multi-language PCH (e.g. C++ and Objective-C++) enable this:
50286 #OBJCXXFLAGS="-DWX_PRECOMP $CXXFLAGS"
50290 if test "$wxUSE_MAC" = 1 ; then
50291 if test "x$wxUSE_UNIVERSAL_BINARY" != "xno" ; then
50292 sed "s/DEPSMODE=gcc/DEPSMODE=none/" < bk-deps > temp
50298 if test "$wxUSE_SHARED" = "yes"; then
50300 *-pc-os2_emx | *-pc-os2-emx )
50301 SHARED_LD_CC="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
50302 SHARED_LD_CXX="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
50303 cp -p ${srcdir}/src/os2/dllnames.sh .
50304 cp -p ${srcdir}/src/os2/dllar.sh .
50308 if test "$wxUSE_OMF" = "yes"; then
50310 *-pc-os2_emx | *-pc-os2-emx )
50311 LDFLAGS="$LDFLAGS -Zlinker /EXEPACK"
50312 LDFLAGS_GUI="-Zlinker /PMTYPE:PM"
50313 WXCONFIG_LDFLAGS_GUI="-Zlinker /PMTYPE:PM"
50318 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS $TOOLCHAIN_DEFS"
50323 if test "$GCC" = yes; then
50324 CPPFLAGS=`echo $CPPFLAGS | sed 's/-mt//'`
50325 LIBS=`echo $LIBS | sed 's/-mt//'`
50326 EXTRALIBS_GUI=`echo $EXTRALIBS_GUI | sed 's/-mt//'`
50331 if test "x$SUNCXX" = xyes; then
50332 CPPFLAGS=`echo $CPPFLAGS | sed 's/-pthread//'`
50333 LIBS=`echo $LIBS | sed 's/-pthread//'`
50334 EXTRALIBS_GUI=`echo $EXTRALIBS_GUI | sed 's/-pthread//'`
50339 CFLAGS="$CFLAGS $CFLAGS_VISIBILITY"
50340 CXXFLAGS="$CXXFLAGS $CXXFLAGS_VISIBILITY"
50342 SAMPLES_SUBDIRS="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
50403 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
50404 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
50405 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
50406 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
50407 echo $ECHO_N "(cached) $ECHO_C" >&6
50409 cat >conftest.make <<\_ACEOF
50412 @echo '@@@%%%=$(MAKE)=@@@%%%'
50414 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
50415 case `${MAKE-make} -f conftest.
make 2>/dev
/null
` in
50416 *@@@%%%=?*=@@@%%%*)
50417 eval ac_cv_prog_make_${ac_make}_set=yes;;
50419 eval ac_cv_prog_make_${ac_make}_set=no;;
50421 rm -f conftest.make
50423 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
50424 { echo "$as_me:$LINENO: result: yes" >&5
50425 echo "${ECHO_T}yes" >&6; }
50428 { echo "$as_me:$LINENO: result: no" >&5
50429 echo "${ECHO_T}no" >&6; }
50430 SET_MAKE="MAKE=${MAKE-make}"
50435 ac_config_headers="$ac_config_headers lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in"
50438 if test "$USE_WIN32" = 1; then
50439 ac_config_commands="$ac_config_commands
50445 ac_config_files="$ac_config_files lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in"
50448 ac_config_files="$ac_config_files lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in"
50451 ac_config_files="$ac_config_files utils/ifacecheck/rungccxml.sh"
50454 if test "$wx_cv_version_script" = "yes"; then
50455 ac_config_files="$ac_config_files version-script"
50458 ac_config_files="$ac_config_files Makefile"
50461 ac_config_commands="$ac_config_commands wx-config"
50465 if test "$wxWITH_SUBDIRS" != "no"; then
50466 if test "$wxUSE_GUI" = "yes"; then
50467 SUBDIRS="samples demos utils"
50469 SUBDIRS="samples utils"
50474 # Check whether --with-cppunit-prefix was given.
50475 if test "${with_cppunit_prefix+set}" = set; then
50476 withval=$with_cppunit_prefix; cppunit_config_prefix="$withval"
50478 cppunit_config_prefix=""
50482 # Check whether --with-cppunit-exec-prefix was given.
50483 if test "${with_cppunit_exec_prefix+set}" = set; then
50484 withval=$with_cppunit_exec_prefix; cppunit_config_exec_prefix="$withval"
50486 cppunit_config_exec_prefix=""
50490 if test x$cppunit_config_exec_prefix != x ; then
50491 cppunit_config_args="$cppunit_config_args --exec-prefix=$cppunit_config_exec_prefix"
50492 if test x${CPPUNIT_CONFIG+set} != xset ; then
50493 CPPUNIT_CONFIG=$cppunit_config_exec_prefix/bin/cppunit-config
50496 if test x$cppunit_config_prefix != x ; then
50497 cppunit_config_args="$cppunit_config_args --prefix=$cppunit_config_prefix"
50498 if test x${CPPUNIT_CONFIG+set} != xset ; then
50499 CPPUNIT_CONFIG=$cppunit_config_prefix/bin/cppunit-config
50503 # Extract the first word of "cppunit-config", so it can be a program name with args.
50504 set dummy cppunit-config; ac_word=$2
50505 { echo "$as_me:$LINENO: checking for $ac_word" >&5
50506 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
50507 if test "${ac_cv_path_CPPUNIT_CONFIG+set}" = set; then
50508 echo $ECHO_N "(cached) $ECHO_C" >&6
50510 case $CPPUNIT_CONFIG in
50512 ac_cv_path_CPPUNIT_CONFIG="$CPPUNIT_CONFIG" # Let the user override the test with a path.
50515 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
50516 for as_dir in $PATH
50519 test -z "$as_dir" && as_dir=.
50520 for ac_exec_ext in '' $ac_executable_extensions; do
50521 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
50522 ac_cv_path_CPPUNIT_CONFIG="$as_dir/$ac_word$ac_exec_ext"
50523 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
50530 test -z "$ac_cv_path_CPPUNIT_CONFIG" && ac_cv_path_CPPUNIT_CONFIG="no"
50534 CPPUNIT_CONFIG=$ac_cv_path_CPPUNIT_CONFIG
50535 if test -n "$CPPUNIT_CONFIG"; then
50536 { echo "$as_me:$LINENO: result: $CPPUNIT_CONFIG" >&5
50537 echo "${ECHO_T}$CPPUNIT_CONFIG" >&6; }
50539 { echo "$as_me:$LINENO: result: no" >&5
50540 echo "${ECHO_T}no" >&6; }
50544 cppunit_version_min=1.8.0
50546 { echo "$as_me:$LINENO: checking for Cppunit - version >= $cppunit_version_min" >&5
50547 echo $ECHO_N "checking for Cppunit - version >= $cppunit_version_min... $ECHO_C" >&6; }
50549 if test "$CPPUNIT_CONFIG" = "no" ; then
50550 { echo "$as_me:$LINENO: result: no" >&5
50551 echo "${ECHO_T}no" >&6; }
50554 CPPUNIT_CFLAGS=`$CPPUNIT_CONFIG --cflags`
50555 CPPUNIT_LIBS=`$CPPUNIT_CONFIG --libs`
50556 cppunit_version=`$CPPUNIT_CONFIG --version`
50558 cppunit_major_version=`echo $cppunit_version | \
50559 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
50560 cppunit_minor_version=`echo $cppunit_version | \
50561 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
50562 cppunit_micro_version=`echo $cppunit_version | \
50563 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
50565 cppunit_major_min=`echo $cppunit_version_min | \
50566 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
50567 cppunit_minor_min=`echo $cppunit_version_min | \
50568 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
50569 cppunit_micro_min=`echo $cppunit_version_min | \
50570 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
50572 cppunit_version_proper=`expr \
50573 $cppunit_major_version \
> $cppunit_major_min \
| \
50574 $cppunit_major_version \
= $cppunit_major_min \
& \
50575 $cppunit_minor_version \
> $cppunit_minor_min \
| \
50576 $cppunit_major_version \
= $cppunit_major_min \
& \
50577 $cppunit_minor_version \
= $cppunit_minor_min \
& \
50578 $cppunit_micro_version \
>= $cppunit_micro_min `
50580 if test "$cppunit_version_proper" = "1" ; then
50581 { echo "$as_me:$LINENO: result: $cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&5
50582 echo "${ECHO_T}$cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&6; }
50584 { echo "$as_me:$LINENO: result: no" >&5
50585 echo "${ECHO_T}no" >&6; }
50590 if test "x$no_cppunit" = x ; then
50591 SUBDIRS="$SUBDIRS tests"
50602 for subdir in $SUBDIRS; do
50603 if test -d ${srcdir}/${subdir} ; then
50604 if test "$wxUSE_GUI" = "yes"; then
50605 if test ${subdir} = "samples"; then
50606 makefiles="samples/Makefile.in $makefiles"
50607 for sample in $SAMPLES_SUBDIRS; do
50608 if test -d $srcdir/samples/$sample; then
50609 makefiles="samples/$sample/Makefile.in $makefiles"
50613 disabled_var=DISABLED_`echo $subdir | tr '[a-z]' '[A-Z]'`
50614 eval "disabled=\$$disabled_var"
50615 disabled=/`echo X
$disabled | sed 's@ @/|/@g'`/
50616 makefiles=`(cd $srcdir ; find $subdir -name Makefile.
in) | $EGREP -v "$disabled"`
50619 if test ${subdir} = "samples"; then
50620 makefiles="samples/Makefile.in $makefiles"
50621 for sample in `echo $SAMPLES_SUBDIRS`; do
50622 if test -d $srcdir/samples/$sample; then
50623 makefiles="samples/$sample/Makefile.in $makefiles"
50626 elif test ${subdir} = "utils"; then
50628 for util in ifacecheck ; do
50629 if test -d $srcdir/utils/$util ; then
50630 makefiles="utils/$util/src/Makefile.in \
50635 makefiles=`(cd $srcdir ; find $subdir -name Makefile.
in)`
50639 for mkin in $makefiles ; do
50640 mk=`echo $mkin | sed 's/Makefile\.in/Makefile/g'`
50641 ac_config_files="$ac_config_files $mk"
50647 cat >confcache <<\_ACEOF
50648 # This file is a shell script that caches the results of configure
50649 # tests run on this system so they can be shared between configure
50650 # scripts and configure runs, see configure's option --config-cache.
50651 # It is not useful on other systems. If it contains results you don't
50652 # want to keep, you may remove or edit it.
50654 # config.status only pays attention to the cache file if you give it
50655 # the --recheck option to rerun configure.
50657 # `ac_cv_env_foo
' variables (set or unset) will be overridden when
50658 # loading this file, other *unset* `ac_cv_foo' will be assigned the
50659 # following values.
50663 # The following way of writing the cache mishandles newlines in values,
50664 # but we know of no workaround that is simple, portable, and efficient.
50665 # So, we kill variables containing newlines.
50666 # Ultrix sh set writes to stderr and can't be redirected directly,
50667 # and sets the high bit in the cache file unless we assign to the vars.
50669 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
50670 eval ac_val
=\$
$ac_var
50674 *_cv_
*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
50675 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
50678 _
| IFS
| as_nl
) ;; #(
50679 *) $as_unset $ac_var ;;
50685 case $as_nl`(ac_space=' '; set) 2>&1` in #(
50686 *${as_nl}ac_space
=\
*)
50687 # `set' does not quote correctly, so add quotes (double-quote
50688 # substitution turns \\\\ into \\, and sed turns \\ into \).
50691 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
50694 # `set' quotes correctly as required by POSIX, so do not add quotes.
50695 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
50704 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
50706 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
50708 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
50709 if test -w "$cache_file"; then
50710 test "x$cache_file" != "x/dev/null" &&
50711 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
50712 echo "$as_me: updating cache $cache_file" >&6;}
50713 cat confcache
>$cache_file
50715 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
50716 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
50721 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
50722 # Let make expand exec_prefix.
50723 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
50725 DEFS
=-DHAVE_CONFIG_H
50729 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
50730 # 1. Remove the extension, and $U if already installed.
50731 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
50732 ac_i
=`echo "$ac_i" | sed "$ac_script"`
50733 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
50734 # will be set to the directory where LIBOBJS objects are built.
50735 ac_libobjs
="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
50736 ac_ltlibobjs
="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
50738 LIBOBJS
=$ac_libobjs
50740 LTLIBOBJS
=$ac_ltlibobjs
50744 : ${CONFIG_STATUS=./config.status}
50745 ac_clean_files_save
=$ac_clean_files
50746 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
50747 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
50748 echo "$as_me: creating $CONFIG_STATUS" >&6;}
50749 cat >$CONFIG_STATUS <<_ACEOF
50751 # Generated by $as_me.
50752 # Run this file to recreate the current configuration.
50753 # Compiler output produced by configure, useful for debugging
50754 # configure, is in config.log if it exists.
50757 ac_cs_recheck=false
50759 SHELL=\${CONFIG_SHELL-$SHELL}
50762 cat >>$CONFIG_STATUS <<\_ACEOF
50763 ## --------------------- ##
50764 ## M4sh Initialization. ##
50765 ## --------------------- ##
50767 # Be more Bourne compatible
50768 DUALCASE
=1; export DUALCASE
# for MKS sh
50769 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
50772 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
50773 # is contrary to our usage. Disable this feature.
50774 alias -g '${1+"$@"}'='"$@"'
50775 setopt NO_GLOB_SUBST
50777 case `(set -o) 2>/dev/null` in
50778 *posix
*) set -o posix
;;
50787 # Avoid depending upon Character Ranges.
50788 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
50789 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
50790 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
50791 as_cr_digits
='0123456789'
50792 as_cr_alnum
=$as_cr_Letters$as_cr_digits
50794 # The user is always right.
50795 if test "${PATH_SEPARATOR+set}" != set; then
50796 echo "#! /bin/sh" >conf$$.sh
50797 echo "exit 0" >>conf$$.sh
50799 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
50807 # Support unset when possible.
50808 if ( (MAIL
=60; unset MAIL
) || exit) >/dev
/null
2>&1; then
50816 # We need space, tab and new line, in precisely that order. Quoting is
50817 # there to prevent editors from complaining about space-tab.
50818 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
50819 # splitting by setting IFS to empty value.)
50824 # Find who we are. Look in the path if we contain no directory separator.
50826 *[\\/]* ) as_myself
=$0 ;;
50827 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
50828 for as_dir
in $PATH
50831 test -z "$as_dir" && as_dir
=.
50832 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
50838 # We did not find ourselves, most probably we were run as `sh COMMAND'
50839 # in which case we are not to be found in the path.
50840 if test "x$as_myself" = x
; then
50843 if test ! -f "$as_myself"; then
50844 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
50845 { (exit 1); exit 1; }
50848 # Work around bugs in pre-3.0 UWIN ksh.
50849 for as_var
in ENV MAIL MAILPATH
50850 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
50858 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
50859 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
50860 LC_TELEPHONE LC_TIME
50862 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
50863 eval $as_var=C
; export $as_var
50865 ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
50869 # Required to use basename.
50870 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
50871 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
50877 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
50878 as_basename
=basename
50884 # Name of the executable.
50885 as_me
=`$as_basename -- "$0" ||
50886 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
50887 X"$0" : 'X\(//\)$' \| \
50888 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
50890 sed '/^.*\/\([^/][^/]*\)\/*$/{
50909 as_lineno_1
=$LINENO
50910 as_lineno_2
=$LINENO
50911 test "x$as_lineno_1" != "x$as_lineno_2" &&
50912 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
50914 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
50915 # uniformly replaced by the line number. The first 'sed' inserts a
50916 # line-number line after each line using $LINENO; the second 'sed'
50917 # does the real work. The second script uses 'N' to pair each
50918 # line-number line with the line containing $LINENO, and appends
50919 # trailing '-' during substitution so that $LINENO is not a special
50920 # case at line end.
50921 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
50922 # scripts with optimization help from Paolo Bonzini. Blame Lee
50923 # E. McMahon (1931-1989) for sed's syntax. :-)
50935 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
50938 ' >$as_me.lineno
&&
50939 chmod +x
"$as_me.lineno" ||
50940 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
50941 { (exit 1); exit 1; }; }
50943 # Don't try to exec as it changes $[0], causing all sort of problems
50944 # (the dirname of $[0] is not the place where we might find the
50945 # original and so on. Autoconf is especially sensitive to this).
50946 .
"./$as_me.lineno"
50947 # Exit status is that of the last command.
50952 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
50958 ECHO_C
= ECHO_N
= ECHO_T
=
50959 case `echo -n x` in
50961 case `echo 'x\c'` in
50962 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
50969 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
50970 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
50976 rm -f conf$$ conf$$.exe conf$$.
file
50977 if test -d conf$$.dir
; then
50978 rm -f conf$$.dir
/conf$$.
file
50984 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
50986 # ... but there are two gotchas:
50987 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
50988 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
50989 # In both cases, we have to default to `cp -p'.
50990 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe
||
50992 elif ln conf$$.
file conf$$
2>/dev
/null
; then
50997 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
50998 rmdir conf$$.dir
2>/dev
/null
51000 if mkdir -p .
2>/dev
/null
; then
51003 test -d .
/-p && rmdir .
/-p
51007 if test -x / >/dev
/null
2>&1; then
51008 as_test_x
='test -x'
51010 if ls -dL / >/dev
/null
2>&1; then
51017 if test -d "$1"; then
51023 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
51024 ???[sx]*):;;*)false;;esac;fi
51028 as_executable_p
=$as_test_x
51030 # Sed expression to map a string onto a valid CPP name.
51031 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
51033 # Sed expression to map a string onto a valid variable name.
51034 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
51039 # Save the log message, to keep $[0] and so on meaningful, and to
51040 # report actual input values of CONFIG_FILES etc. instead of their
51041 # values after options handling.
51043 This file was extended by wxWidgets $as_me 2.9.0, which was
51044 generated by GNU Autoconf 2.61. Invocation command line was
51046 CONFIG_FILES = $CONFIG_FILES
51047 CONFIG_HEADERS = $CONFIG_HEADERS
51048 CONFIG_LINKS = $CONFIG_LINKS
51049 CONFIG_COMMANDS = $CONFIG_COMMANDS
51052 on `(hostname || uname -n) 2>/dev/null | sed 1q`
51057 cat >>$CONFIG_STATUS <<_ACEOF
51058 # Files that config.status was made for.
51059 config_files="$ac_config_files"
51060 config_headers="$ac_config_headers"
51061 config_commands="$ac_config_commands"
51065 cat >>$CONFIG_STATUS <<\_ACEOF
51067 \`$as_me' instantiates files from templates according to the
51068 current configuration.
51070 Usage: $0 [OPTIONS] [FILE]...
51072 -h, --help print this help, then exit
51073 -V, --version print version number and configuration settings, then exit
51074 -q, --quiet do not print progress messages
51075 -d, --debug don't remove temporary files
51076 --recheck update $as_me by reconfiguring in the same conditions
51077 --file=FILE[:TEMPLATE]
51078 instantiate the configuration file FILE
51079 --header=FILE[:TEMPLATE]
51080 instantiate the configuration header FILE
51082 Configuration files:
51085 Configuration headers:
51088 Configuration commands:
51091 Report bugs to <bug-autoconf@gnu.org>."
51094 cat >>$CONFIG_STATUS <<_ACEOF
51096 wxWidgets config.status 2.9.0
51097 configured by $0, generated by GNU Autoconf 2.61,
51098 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
51100 Copyright (C) 2006 Free Software Foundation, Inc.
51101 This config.status script is free software; the Free Software Foundation
51102 gives unlimited permission to copy, distribute and modify it."
51109 cat >>$CONFIG_STATUS <<\_ACEOF
51110 # If no file are specified by the user, then we need to provide default
51111 # value. By we need to know if files were specified by the user.
51117 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
51118 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
51129 # Handling of the options.
51130 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
51132 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
51133 echo "$ac_cs_version"; exit ;;
51134 --debug | --debu | --deb | --de | --d | -d )
51136 --file | --fil | --fi | --f )
51138 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
51139 ac_need_defaults
=false
;;
51140 --header | --heade | --head | --hea )
51142 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
51143 ac_need_defaults
=false
;;
51145 # Conflict between --help and --header
51146 { echo "$as_me: error: ambiguous option: $1
51147 Try \`$0 --help' for more information." >&2
51148 { (exit 1); exit 1; }; };;
51149 --help | --hel | -h )
51150 echo "$ac_cs_usage"; exit ;;
51151 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
51152 | -silent | --silent | --silen | --sile | --sil | --si | --s)
51155 # This is an error.
51156 -*) { echo "$as_me: error: unrecognized option: $1
51157 Try \`$0 --help' for more information." >&2
51158 { (exit 1); exit 1; }; } ;;
51160 *) ac_config_targets
="$ac_config_targets $1"
51161 ac_need_defaults
=false
;;
51167 ac_configure_extra_args
=
51169 if $ac_cs_silent; then
51171 ac_configure_extra_args
="$ac_configure_extra_args --silent"
51175 cat >>$CONFIG_STATUS <<_ACEOF
51176 if \$ac_cs_recheck; then
51177 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
51178 CONFIG_SHELL=$SHELL
51179 export CONFIG_SHELL
51180 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
51184 cat >>$CONFIG_STATUS <<\_ACEOF
51188 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
51189 ## Running $as_me. ##
51195 cat >>$CONFIG_STATUS <<_ACEOF
51201 infile="$srcdir/include/wx/msw/genrcdefs.h"
51202 outdir="lib/wx/include/$TOOLCHAIN_FULLNAME/wx/msw"
51205 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
51206 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
51207 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
51213 cat >>$CONFIG_STATUS <<\_ACEOF
51215 # Handling of arguments.
51216 for ac_config_target
in $ac_config_targets
51218 case $ac_config_target in
51219 "lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h") CONFIG_HEADERS
="$CONFIG_HEADERS lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in" ;;
51220 "rcdefs.h") CONFIG_COMMANDS
="$CONFIG_COMMANDS rcdefs.h" ;;
51221 "lib/wx/config/${TOOLCHAIN_FULLNAME}") CONFIG_FILES
="$CONFIG_FILES lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in" ;;
51222 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}") CONFIG_FILES
="$CONFIG_FILES lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in" ;;
51223 "utils/ifacecheck/rungccxml.sh") CONFIG_FILES
="$CONFIG_FILES utils/ifacecheck/rungccxml.sh" ;;
51224 "version-script") CONFIG_FILES
="$CONFIG_FILES version-script" ;;
51225 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
51226 "wx-config") CONFIG_COMMANDS
="$CONFIG_COMMANDS wx-config" ;;
51227 "$mk") CONFIG_FILES
="$CONFIG_FILES $mk" ;;
51229 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
51230 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
51231 { (exit 1); exit 1; }; };;
51236 # If the user did not use the arguments to specify the items to instantiate,
51237 # then the envvar interface is used. Set only those that are not.
51238 # We use the long form for the default assignment because of an extremely
51239 # bizarre bug on SunOS 4.1.3.
51240 if $ac_need_defaults; then
51241 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
51242 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
51243 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
51246 # Have a temporary directory for convenience. Make it in the build tree
51247 # simply because there is no reason against having it here, and in addition,
51248 # creating and moving files from /tmp can sometimes cause problems.
51249 # Hook for its removal unless debugging.
51250 # Note that there is a small window in which the directory will not be cleaned:
51251 # after its creation but before its name has been assigned to `$tmp'.
51255 trap 'exit_status=$?
51256 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
51258 trap '{ (exit 1); exit 1; }' 1 2 13 15
51260 # Create a (secure) tmp directory for tmp files.
51263 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
51264 test -n "$tmp" && test -d "$tmp"
51267 tmp
=.
/conf$$
-$RANDOM
51268 (umask 077 && mkdir "$tmp")
51271 echo "$me: cannot create a temporary directory in ." >&2
51272 { (exit 1); exit 1; }
51276 # Set up the sed scripts for CONFIG_FILES section.
51279 # No need to generate the scripts if there are no CONFIG_FILES.
51280 # This happens for instance when ./config.status config.h
51281 if test -n "$CONFIG_FILES"; then
51288 for ac_last_try
in false false false false false
:; do
51289 cat >conf$
$subs.
sed <<_ACEOF
51290 SHELL!$SHELL$ac_delim
51291 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
51292 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
51293 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
51294 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
51295 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
51296 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
51297 exec_prefix!$exec_prefix$ac_delim
51298 prefix!$prefix$ac_delim
51299 program_transform_name!$program_transform_name$ac_delim
51300 bindir!$bindir$ac_delim
51301 sbindir!$sbindir$ac_delim
51302 libexecdir!$libexecdir$ac_delim
51303 datarootdir!$datarootdir$ac_delim
51304 datadir!$datadir$ac_delim
51305 sysconfdir!$sysconfdir$ac_delim
51306 sharedstatedir!$sharedstatedir$ac_delim
51307 localstatedir!$localstatedir$ac_delim
51308 includedir!$includedir$ac_delim
51309 oldincludedir!$oldincludedir$ac_delim
51310 docdir!$docdir$ac_delim
51311 infodir!$infodir$ac_delim
51312 htmldir!$htmldir$ac_delim
51313 dvidir!$dvidir$ac_delim
51314 pdfdir!$pdfdir$ac_delim
51315 psdir!$psdir$ac_delim
51316 libdir!$libdir$ac_delim
51317 localedir!$localedir$ac_delim
51318 mandir!$mandir$ac_delim
51319 DEFS!$DEFS$ac_delim
51320 ECHO_C!$ECHO_C$ac_delim
51321 ECHO_N!$ECHO_N$ac_delim
51322 ECHO_T!$ECHO_T$ac_delim
51323 LIBS!$LIBS$ac_delim
51324 build_alias!$build_alias$ac_delim
51325 host_alias!$host_alias$ac_delim
51326 target_alias!$target_alias$ac_delim
51327 build!$build$ac_delim
51328 build_cpu!$build_cpu$ac_delim
51329 build_vendor!$build_vendor$ac_delim
51330 build_os!$build_os$ac_delim
51331 host!$host$ac_delim
51332 host_cpu!$host_cpu$ac_delim
51333 host_vendor!$host_vendor$ac_delim
51334 host_os!$host_os$ac_delim
51335 target!$target$ac_delim
51336 target_cpu!$target_cpu$ac_delim
51337 target_vendor!$target_vendor$ac_delim
51338 target_os!$target_os$ac_delim
51339 wx_top_builddir!$wx_top_builddir$ac_delim
51341 CFLAGS!$CFLAGS$ac_delim
51342 LDFLAGS!$LDFLAGS$ac_delim
51343 CPPFLAGS!$CPPFLAGS$ac_delim
51344 ac_ct_CC!$ac_ct_CC$ac_delim
51345 EXEEXT!$EXEEXT$ac_delim
51346 OBJEXT!$OBJEXT$ac_delim
51348 GREP!$GREP$ac_delim
51349 EGREP!$EGREP$ac_delim
51351 CXXFLAGS!$CXXFLAGS$ac_delim
51352 ac_ct_CXX!$ac_ct_CXX$ac_delim
51354 subdirs!$subdirs$ac_delim
51355 PKG_CONFIG!$PKG_CONFIG$ac_delim
51356 GTK_CFLAGS!$GTK_CFLAGS$ac_delim
51357 GTK_LIBS!$GTK_LIBS$ac_delim
51358 GTK_CONFIG!$GTK_CONFIG$ac_delim
51359 DIRECTFB_CFLAGS!$DIRECTFB_CFLAGS$ac_delim
51360 DIRECTFB_LIBS!$DIRECTFB_LIBS$ac_delim
51361 XMKMF!$XMKMF$ac_delim
51362 X_CFLAGS!$X_CFLAGS$ac_delim
51363 X_PRE_LIBS!$X_PRE_LIBS$ac_delim
51364 X_LIBS!$X_LIBS$ac_delim
51365 X_EXTRA_LIBS!$X_EXTRA_LIBS$ac_delim
51366 PANGOX_CFLAGS!$PANGOX_CFLAGS$ac_delim
51367 PANGOX_LIBS!$PANGOX_LIBS$ac_delim
51368 PANGOFT2_CFLAGS!$PANGOFT2_CFLAGS$ac_delim
51369 PANGOFT2_LIBS!$PANGOFT2_LIBS$ac_delim
51370 PANGOXFT_CFLAGS!$PANGOXFT_CFLAGS$ac_delim
51371 PANGOXFT_LIBS!$PANGOXFT_LIBS$ac_delim
51372 CFLAGS_VISIBILITY!$CFLAGS_VISIBILITY$ac_delim
51373 CXXFLAGS_VISIBILITY!$CXXFLAGS_VISIBILITY$ac_delim
51374 LIBICONV!$LIBICONV$ac_delim
51375 SDL_CONFIG!$SDL_CONFIG$ac_delim
51376 SDL_CFLAGS!$SDL_CFLAGS$ac_delim
51377 SDL_LIBS!$SDL_LIBS$ac_delim
51378 GTKPRINT_CFLAGS!$GTKPRINT_CFLAGS$ac_delim
51379 GTKPRINT_LIBS!$GTKPRINT_LIBS$ac_delim
51380 LIBGNOMEPRINTUI_CFLAGS!$LIBGNOMEPRINTUI_CFLAGS$ac_delim
51381 LIBGNOMEPRINTUI_LIBS!$LIBGNOMEPRINTUI_LIBS$ac_delim
51382 GNOMEVFS_CFLAGS!$GNOMEVFS_CFLAGS$ac_delim
51383 GNOMEVFS_LIBS!$GNOMEVFS_LIBS$ac_delim
51384 HILDON_CFLAGS!$HILDON_CFLAGS$ac_delim
51385 HILDON_LIBS!$HILDON_LIBS$ac_delim
51386 CAIRO_CFLAGS!$CAIRO_CFLAGS$ac_delim
51389 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
51391 elif $ac_last_try; then
51392 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
51393 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
51394 { (exit 1); exit 1; }; }
51396 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
51400 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
51401 if test -n "$ac_eof"; then
51402 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
51403 ac_eof
=`expr $ac_eof + 1`
51406 cat >>$CONFIG_STATUS <<_ACEOF
51407 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
51408 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
51411 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
51412 s/^/s,@/; s/!/@,|#_!!_#|/
51415 s/'"$ac_delim"'$/,g/; t
51417 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
51418 ' >>$CONFIG_STATUS <conf$
$subs.
sed
51419 rm -f conf$
$subs.
sed
51420 cat >>$CONFIG_STATUS <<_ACEOF
51426 for ac_last_try
in false false false false false
:; do
51427 cat >conf$
$subs.
sed <<_ACEOF
51428 CAIRO_LIBS!$CAIRO_LIBS$ac_delim
51429 GST_CFLAGS!$GST_CFLAGS$ac_delim
51430 GST_LIBS!$GST_LIBS$ac_delim
51431 ALL_WX_LIBS!$ALL_WX_LIBS$ac_delim
51432 BUILT_WX_LIBS!$BUILT_WX_LIBS$ac_delim
51433 STD_BASE_LIBS!$STD_BASE_LIBS$ac_delim
51434 STD_GUI_LIBS!$STD_GUI_LIBS$ac_delim
51435 wxUSE_ZLIB!$wxUSE_ZLIB$ac_delim
51436 wxUSE_REGEX!$wxUSE_REGEX$ac_delim
51437 wxUSE_EXPAT!$wxUSE_EXPAT$ac_delim
51438 wxUSE_LIBJPEG!$wxUSE_LIBJPEG$ac_delim
51439 wxUSE_LIBPNG!$wxUSE_LIBPNG$ac_delim
51440 wxUSE_LIBTIFF!$wxUSE_LIBTIFF$ac_delim
51441 VENDOR!$VENDOR$ac_delim
51442 OFFICIAL_BUILD!$OFFICIAL_BUILD$ac_delim
51443 WX_FLAVOUR!$WX_FLAVOUR$ac_delim
51444 WX_LIB_FLAVOUR!$WX_LIB_FLAVOUR$ac_delim
51445 WXUNIV!$WXUNIV$ac_delim
51446 MONOLITHIC!$MONOLITHIC$ac_delim
51447 USE_PLUGINS!$USE_PLUGINS$ac_delim
51448 CXXWARNINGS!$CXXWARNINGS$ac_delim
51449 EXTRALIBS!$EXTRALIBS$ac_delim
51450 EXTRALIBS_XML!$EXTRALIBS_XML$ac_delim
51451 EXTRALIBS_HTML!$EXTRALIBS_HTML$ac_delim
51452 EXTRALIBS_MEDIA!$EXTRALIBS_MEDIA$ac_delim
51453 EXTRALIBS_GUI!$EXTRALIBS_GUI$ac_delim
51454 EXTRALIBS_OPENGL!$EXTRALIBS_OPENGL$ac_delim
51455 EXTRALIBS_SDL!$EXTRALIBS_SDL$ac_delim
51456 EXTRALIBS_STC!$EXTRALIBS_STC$ac_delim
51457 WITH_PLUGIN_SDL!$WITH_PLUGIN_SDL$ac_delim
51458 EXTRALIBS_GTKPRINT!$EXTRALIBS_GTKPRINT$ac_delim
51459 EXTRALIBS_GNOMEPRINT!$EXTRALIBS_GNOMEPRINT$ac_delim
51460 EXTRALIBS_GNOMEVFS!$EXTRALIBS_GNOMEVFS$ac_delim
51461 EXTRALIBS_HILDON!$EXTRALIBS_HILDON$ac_delim
51462 UNICODE!$UNICODE$ac_delim
51463 BUILD!$BUILD$ac_delim
51464 DEBUG_INFO!$DEBUG_INFO$ac_delim
51465 DEBUG_FLAG!$DEBUG_FLAG$ac_delim
51466 TOOLKIT_LOWERCASE!$TOOLKIT_LOWERCASE$ac_delim
51467 TOOLKIT_VERSION!$TOOLKIT_VERSION$ac_delim
51468 SAMPLES_RPATH_FLAG!$SAMPLES_RPATH_FLAG$ac_delim
51469 SAMPLES_RPATH_POSTLINK!$SAMPLES_RPATH_POSTLINK$ac_delim
51470 HOST_SUFFIX!$HOST_SUFFIX$ac_delim
51471 CPPUNIT_CFLAGS!$CPPUNIT_CFLAGS$ac_delim
51472 CPPUNIT_LIBS!$CPPUNIT_LIBS$ac_delim
51473 RANLIB!$RANLIB$ac_delim
51474 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
51475 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
51476 INSTALL_DATA!$INSTALL_DATA$ac_delim
51477 LN_S!$LN_S$ac_delim
51478 SET_MAKE!$SET_MAKE$ac_delim
51479 MAKE_SET!$MAKE_SET$ac_delim
51480 AROPTIONS!$AROPTIONS$ac_delim
51481 STRIP!$STRIP$ac_delim
51483 INSTALL_DIR!$INSTALL_DIR$ac_delim
51484 LDFLAGS_GUI!$LDFLAGS_GUI$ac_delim
51485 IF_GNU_MAKE!$IF_GNU_MAKE$ac_delim
51486 PLATFORM_UNIX!$PLATFORM_UNIX$ac_delim
51487 PLATFORM_WIN32!$PLATFORM_WIN32$ac_delim
51488 PLATFORM_MSDOS!$PLATFORM_MSDOS$ac_delim
51489 PLATFORM_MAC!$PLATFORM_MAC$ac_delim
51490 PLATFORM_MACOS!$PLATFORM_MACOS$ac_delim
51491 PLATFORM_MACOSX!$PLATFORM_MACOSX$ac_delim
51492 PLATFORM_OS2!$PLATFORM_OS2$ac_delim
51493 PLATFORM_BEOS!$PLATFORM_BEOS$ac_delim
51494 SO_SUFFIX!$SO_SUFFIX$ac_delim
51495 SO_SUFFIX_MODULE!$SO_SUFFIX_MODULE$ac_delim
51496 DLLIMP_SUFFIX!$DLLIMP_SUFFIX$ac_delim
51497 LIBPREFIX!$LIBPREFIX$ac_delim
51498 LIBEXT!$LIBEXT$ac_delim
51499 DLLPREFIX!$DLLPREFIX$ac_delim
51500 DLLPREFIX_MODULE!$DLLPREFIX_MODULE$ac_delim
51501 dlldir!$dlldir$ac_delim
51502 AIX_CXX_LD!$AIX_CXX_LD$ac_delim
51503 SHARED_LD_CC!$SHARED_LD_CC$ac_delim
51504 SHARED_LD_CXX!$SHARED_LD_CXX$ac_delim
51505 SHARED_LD_MODULE_CC!$SHARED_LD_MODULE_CC$ac_delim
51506 SHARED_LD_MODULE_CXX!$SHARED_LD_MODULE_CXX$ac_delim
51507 PIC_FLAG!$PIC_FLAG$ac_delim
51508 WINDOWS_IMPLIB!$WINDOWS_IMPLIB$ac_delim
51509 USE_SOVERSION!$USE_SOVERSION$ac_delim
51510 USE_SOVERLINUX!$USE_SOVERLINUX$ac_delim
51511 USE_SOVERSOLARIS!$USE_SOVERSOLARIS$ac_delim
51512 USE_SOVERCYGWIN!$USE_SOVERCYGWIN$ac_delim
51513 USE_MACVERSION!$USE_MACVERSION$ac_delim
51514 USE_SOSYMLINKS!$USE_SOSYMLINKS$ac_delim
51515 SONAME_FLAG!$SONAME_FLAG$ac_delim
51516 DEPS_TRACKING!$DEPS_TRACKING$ac_delim
51517 BK_DEPS!$BK_DEPS$ac_delim
51518 WINDRES!$WINDRES$ac_delim
51520 SETFILE!$SETFILE$ac_delim
51521 GCC_PCH!$GCC_PCH$ac_delim
51522 ICC_PCH!$ICC_PCH$ac_delim
51523 BK_MAKE_PCH!$BK_MAKE_PCH$ac_delim
51524 COND_BUILD_DEBUG!$COND_BUILD_DEBUG$ac_delim
51527 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
51529 elif $ac_last_try; then
51530 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
51531 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
51532 { (exit 1); exit 1; }; }
51534 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
51538 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
51539 if test -n "$ac_eof"; then
51540 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
51541 ac_eof
=`expr $ac_eof + 1`
51544 cat >>$CONFIG_STATUS <<_ACEOF
51545 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
51546 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
51549 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
51550 s/^/s,@/; s/!/@,|#_!!_#|/
51553 s/'"$ac_delim"'$/,g/; t
51555 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
51556 ' >>$CONFIG_STATUS <conf$
$subs.
sed
51557 rm -f conf$
$subs.
sed
51558 cat >>$CONFIG_STATUS <<_ACEOF
51564 for ac_last_try
in false false false false false
:; do
51565 cat >conf$
$subs.
sed <<_ACEOF
51566 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT!$COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT$ac_delim
51567 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT!$COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT$ac_delim
51568 COND_BUILD_DEBUG_UNICODE_0!$COND_BUILD_DEBUG_UNICODE_0$ac_delim
51569 COND_BUILD_DEBUG_UNICODE_1!$COND_BUILD_DEBUG_UNICODE_1$ac_delim
51570 COND_BUILD_RELEASE!$COND_BUILD_RELEASE$ac_delim
51571 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT!$COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT$ac_delim
51572 COND_BUILD_RELEASE_UNICODE_0!$COND_BUILD_RELEASE_UNICODE_0$ac_delim
51573 COND_BUILD_RELEASE_UNICODE_1!$COND_BUILD_RELEASE_UNICODE_1$ac_delim
51574 COND_DEBUG_FLAG_1!$COND_DEBUG_FLAG_1$ac_delim
51575 COND_DEBUG_INFO_0!$COND_DEBUG_INFO_0$ac_delim
51576 COND_DEBUG_INFO_1!$COND_DEBUG_INFO_1$ac_delim
51577 COND_DEPS_TRACKING_0!$COND_DEPS_TRACKING_0$ac_delim
51578 COND_DEPS_TRACKING_1!$COND_DEPS_TRACKING_1$ac_delim
51579 COND_GCC_PCH_1!$COND_GCC_PCH_1$ac_delim
51580 COND_ICC_PCH_1!$COND_ICC_PCH_1$ac_delim
51581 COND_MONOLITHIC_0!$COND_MONOLITHIC_0$ac_delim
51582 COND_MONOLITHIC_0_SHARED_0!$COND_MONOLITHIC_0_SHARED_0$ac_delim
51583 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1!$COND_MONOLITHIC_0_SHARED_0_USE_AUI_1$ac_delim
51584 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1$ac_delim
51585 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1$ac_delim
51586 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1$ac_delim
51587 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1$ac_delim
51588 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1!$COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1$ac_delim
51589 COND_MONOLITHIC_0_SHARED_0_USE_STC_1!$COND_MONOLITHIC_0_SHARED_0_USE_STC_1$ac_delim
51590 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1!$COND_MONOLITHIC_0_SHARED_0_USE_XRC_1$ac_delim
51591 COND_MONOLITHIC_0_SHARED_1!$COND_MONOLITHIC_0_SHARED_1$ac_delim
51592 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1!$COND_MONOLITHIC_0_SHARED_1_USE_AUI_1$ac_delim
51593 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1$ac_delim
51594 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1$ac_delim
51595 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1$ac_delim
51596 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1$ac_delim
51597 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1!$COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1$ac_delim
51598 COND_MONOLITHIC_0_SHARED_1_USE_STC_1!$COND_MONOLITHIC_0_SHARED_1_USE_STC_1$ac_delim
51599 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1!$COND_MONOLITHIC_0_SHARED_1_USE_XRC_1$ac_delim
51600 COND_MONOLITHIC_0_USE_AUI_1!$COND_MONOLITHIC_0_USE_AUI_1$ac_delim
51601 COND_MONOLITHIC_0_USE_GUI_1!$COND_MONOLITHIC_0_USE_GUI_1$ac_delim
51602 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1$ac_delim
51603 COND_MONOLITHIC_0_USE_HTML_1!$COND_MONOLITHIC_0_USE_HTML_1$ac_delim
51604 COND_MONOLITHIC_0_USE_MEDIA_1!$COND_MONOLITHIC_0_USE_MEDIA_1$ac_delim
51605 COND_MONOLITHIC_0_USE_QA_1!$COND_MONOLITHIC_0_USE_QA_1$ac_delim
51606 COND_MONOLITHIC_0_USE_RICHTEXT_1!$COND_MONOLITHIC_0_USE_RICHTEXT_1$ac_delim
51607 COND_MONOLITHIC_0_USE_STC_1!$COND_MONOLITHIC_0_USE_STC_1$ac_delim
51608 COND_MONOLITHIC_0_USE_XRC_1!$COND_MONOLITHIC_0_USE_XRC_1$ac_delim
51609 COND_MONOLITHIC_1!$COND_MONOLITHIC_1$ac_delim
51610 COND_MONOLITHIC_1_SHARED_0!$COND_MONOLITHIC_1_SHARED_0$ac_delim
51611 COND_MONOLITHIC_1_SHARED_1!$COND_MONOLITHIC_1_SHARED_1$ac_delim
51612 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1!$COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1$ac_delim
51613 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1!$COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1$ac_delim
51614 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1$ac_delim
51615 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_0_USE_SOVERSION_1$ac_delim
51616 COND_PLATFORM_MACOSX_1!$COND_PLATFORM_MACOSX_1$ac_delim
51617 COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0!$COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0$ac_delim
51618 COND_PLATFORM_MACOSX_1_TOOLKIT_!$COND_PLATFORM_MACOSX_1_TOOLKIT_$ac_delim
51619 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA!$COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA$ac_delim
51620 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK!$COND_PLATFORM_MACOSX_1_TOOLKIT_GTK$ac_delim
51621 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC!$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC$ac_delim
51622 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1!$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1$ac_delim
51623 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF!$COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF$ac_delim
51624 COND_PLATFORM_MACOSX_1_TOOLKIT_X11!$COND_PLATFORM_MACOSX_1_TOOLKIT_X11$ac_delim
51625 COND_PLATFORM_MACOSX_1_USE_GUI_1!$COND_PLATFORM_MACOSX_1_USE_GUI_1$ac_delim
51626 COND_PLATFORM_MACOSX_1_USE_OPENGL_1!$COND_PLATFORM_MACOSX_1_USE_OPENGL_1$ac_delim
51627 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_1_USE_SOVERSION_1$ac_delim
51628 COND_PLATFORM_MACOS_1!$COND_PLATFORM_MACOS_1$ac_delim
51629 COND_PLATFORM_MAC_0!$COND_PLATFORM_MAC_0$ac_delim
51630 COND_PLATFORM_MAC_1!$COND_PLATFORM_MAC_1$ac_delim
51631 COND_PLATFORM_MSDOS_0!$COND_PLATFORM_MSDOS_0$ac_delim
51632 COND_PLATFORM_MSDOS_1!$COND_PLATFORM_MSDOS_1$ac_delim
51633 COND_PLATFORM_OS2_1!$COND_PLATFORM_OS2_1$ac_delim
51634 COND_PLATFORM_UNIX_0!$COND_PLATFORM_UNIX_0$ac_delim
51635 COND_PLATFORM_UNIX_1!$COND_PLATFORM_UNIX_1$ac_delim
51636 COND_PLATFORM_UNIX_1_TOOLKIT_MGL!$COND_PLATFORM_UNIX_1_TOOLKIT_MGL$ac_delim
51637 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1!$COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1$ac_delim
51638 COND_PLATFORM_UNIX_1_USE_GUI_1!$COND_PLATFORM_UNIX_1_USE_GUI_1$ac_delim
51639 COND_PLATFORM_UNIX_1_USE_PLUGINS_0!$COND_PLATFORM_UNIX_1_USE_PLUGINS_0$ac_delim
51640 COND_PLATFORM_WIN32_0!$COND_PLATFORM_WIN32_0$ac_delim
51641 COND_PLATFORM_WIN32_1!$COND_PLATFORM_WIN32_1$ac_delim
51642 COND_SHARED_0!$COND_SHARED_0$ac_delim
51643 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0!$COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0$ac_delim
51644 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0!$COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0$ac_delim
51645 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0!$COND_SHARED_0_TOOLKIT_PM_WXUNIV_0$ac_delim
51646 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1!$COND_SHARED_0_USE_GUI_1_USE_OPENGL_1$ac_delim
51647 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN!$COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN$ac_delim
51648 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN!$COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN$ac_delim
51649 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN!$COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN$ac_delim
51650 COND_SHARED_0_USE_STC_1!$COND_SHARED_0_USE_STC_1$ac_delim
51651 COND_SHARED_0_WXUSE_EXPAT_BUILTIN!$COND_SHARED_0_WXUSE_EXPAT_BUILTIN$ac_delim
51652 COND_SHARED_0_WXUSE_REGEX_BUILTIN!$COND_SHARED_0_WXUSE_REGEX_BUILTIN$ac_delim
51653 COND_SHARED_0_WXUSE_ZLIB_BUILTIN!$COND_SHARED_0_WXUSE_ZLIB_BUILTIN$ac_delim
51654 COND_SHARED_1!$COND_SHARED_1$ac_delim
51655 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1!$COND_SHARED_1_USE_GUI_1_USE_OPENGL_1$ac_delim
51656 COND_TOOLKIT_!$COND_TOOLKIT_$ac_delim
51657 COND_TOOLKIT_COCOA!$COND_TOOLKIT_COCOA$ac_delim
51658 COND_TOOLKIT_COCOA_USE_GUI_1!$COND_TOOLKIT_COCOA_USE_GUI_1$ac_delim
51659 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0$ac_delim
51660 COND_TOOLKIT_DFB!$COND_TOOLKIT_DFB$ac_delim
51661 COND_TOOLKIT_DFB_USE_GUI_1!$COND_TOOLKIT_DFB_USE_GUI_1$ac_delim
51662 COND_TOOLKIT_GTK!$COND_TOOLKIT_GTK$ac_delim
51665 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
51667 elif $ac_last_try; then
51668 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
51669 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
51670 { (exit 1); exit 1; }; }
51672 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
51676 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
51677 if test -n "$ac_eof"; then
51678 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
51679 ac_eof
=`expr $ac_eof + 1`
51682 cat >>$CONFIG_STATUS <<_ACEOF
51683 cat >"\$tmp/subs-3.sed" <<\CEOF$ac_eof
51684 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
51687 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
51688 s/^/s,@/; s/!/@,|#_!!_#|/
51691 s/'"$ac_delim"'$/,g/; t
51693 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
51694 ' >>$CONFIG_STATUS <conf$
$subs.
sed
51695 rm -f conf$
$subs.
sed
51696 cat >>$CONFIG_STATUS <<_ACEOF
51702 for ac_last_try
in false false false false false
:; do
51703 cat >conf$
$subs.
sed <<_ACEOF
51704 COND_TOOLKIT_GTK_TOOLKIT_VERSION_!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_$ac_delim
51705 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2$ac_delim
51706 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1$ac_delim
51707 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0$ac_delim
51708 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_WXUNIV_0!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_WXUNIV_0$ac_delim
51709 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1!$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1$ac_delim
51710 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0$ac_delim
51711 COND_TOOLKIT_GTK_USE_GUI_1!$COND_TOOLKIT_GTK_USE_GUI_1$ac_delim
51712 COND_TOOLKIT_MAC!$COND_TOOLKIT_MAC$ac_delim
51713 COND_TOOLKIT_MAC_USE_GUI_1!$COND_TOOLKIT_MAC_USE_GUI_1$ac_delim
51714 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0$ac_delim
51715 COND_TOOLKIT_MGL!$COND_TOOLKIT_MGL$ac_delim
51716 COND_TOOLKIT_MGL_USE_GUI_1!$COND_TOOLKIT_MGL_USE_GUI_1$ac_delim
51717 COND_TOOLKIT_MOTIF!$COND_TOOLKIT_MOTIF$ac_delim
51718 COND_TOOLKIT_MOTIF_USE_GUI_1!$COND_TOOLKIT_MOTIF_USE_GUI_1$ac_delim
51719 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0$ac_delim
51720 COND_TOOLKIT_MSW!$COND_TOOLKIT_MSW$ac_delim
51721 COND_TOOLKIT_MSW_USE_GUI_1!$COND_TOOLKIT_MSW_USE_GUI_1$ac_delim
51722 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0$ac_delim
51723 COND_TOOLKIT_MSW_WXUNIV_0!$COND_TOOLKIT_MSW_WXUNIV_0$ac_delim
51724 COND_TOOLKIT_PM!$COND_TOOLKIT_PM$ac_delim
51725 COND_TOOLKIT_PM_USE_GUI_1!$COND_TOOLKIT_PM_USE_GUI_1$ac_delim
51726 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0$ac_delim
51727 COND_TOOLKIT_WINCE!$COND_TOOLKIT_WINCE$ac_delim
51728 COND_TOOLKIT_WINCE_USE_GUI_1!$COND_TOOLKIT_WINCE_USE_GUI_1$ac_delim
51729 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0$ac_delim
51730 COND_TOOLKIT_WINCE_WXUNIV_0!$COND_TOOLKIT_WINCE_WXUNIV_0$ac_delim
51731 COND_TOOLKIT_X11!$COND_TOOLKIT_X11$ac_delim
51732 COND_TOOLKIT_X11_USE_GUI_1!$COND_TOOLKIT_X11_USE_GUI_1$ac_delim
51733 COND_UNICODE_1!$COND_UNICODE_1$ac_delim
51734 COND_USE_EXCEPTIONS_0!$COND_USE_EXCEPTIONS_0$ac_delim
51735 COND_USE_EXCEPTIONS_1!$COND_USE_EXCEPTIONS_1$ac_delim
51736 COND_USE_GUI_0!$COND_USE_GUI_0$ac_delim
51737 COND_USE_GUI_1!$COND_USE_GUI_1$ac_delim
51738 COND_USE_GUI_1_USE_OPENGL_1!$COND_USE_GUI_1_USE_OPENGL_1$ac_delim
51739 COND_USE_GUI_1_WXUNIV_0!$COND_USE_GUI_1_WXUNIV_0$ac_delim
51740 COND_USE_GUI_1_WXUNIV_1!$COND_USE_GUI_1_WXUNIV_1$ac_delim
51741 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN$ac_delim
51742 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN$ac_delim
51743 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN$ac_delim
51744 COND_USE_OPENGL_1!$COND_USE_OPENGL_1$ac_delim
51745 COND_USE_PCH_1!$COND_USE_PCH_1$ac_delim
51746 COND_USE_PLUGINS_0!$COND_USE_PLUGINS_0$ac_delim
51747 COND_USE_RTTI_0!$COND_USE_RTTI_0$ac_delim
51748 COND_USE_RTTI_1!$COND_USE_RTTI_1$ac_delim
51749 COND_USE_SOSYMLINKS_1!$COND_USE_SOSYMLINKS_1$ac_delim
51750 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1!$COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1$ac_delim
51751 COND_USE_SOVERLINUX_1!$COND_USE_SOVERLINUX_1$ac_delim
51752 COND_USE_SOVERSION_0!$COND_USE_SOVERSION_0$ac_delim
51753 COND_USE_SOVERSOLARIS_1!$COND_USE_SOVERSOLARIS_1$ac_delim
51754 COND_USE_STC_1!$COND_USE_STC_1$ac_delim
51755 COND_USE_THREADS_0!$COND_USE_THREADS_0$ac_delim
51756 COND_USE_THREADS_1!$COND_USE_THREADS_1$ac_delim
51757 COND_USE_XRC_1!$COND_USE_XRC_1$ac_delim
51758 COND_WINDOWS_IMPLIB_1!$COND_WINDOWS_IMPLIB_1$ac_delim
51759 COND_WITH_PLUGIN_SDL_1!$COND_WITH_PLUGIN_SDL_1$ac_delim
51760 COND_WXUNIV_0!$COND_WXUNIV_0$ac_delim
51761 COND_WXUNIV_1!$COND_WXUNIV_1$ac_delim
51762 COND_WXUSE_EXPAT_BUILTIN!$COND_WXUSE_EXPAT_BUILTIN$ac_delim
51763 COND_WXUSE_LIBJPEG_BUILTIN!$COND_WXUSE_LIBJPEG_BUILTIN$ac_delim
51764 COND_WXUSE_LIBPNG_BUILTIN!$COND_WXUSE_LIBPNG_BUILTIN$ac_delim
51765 COND_WXUSE_LIBTIFF_BUILTIN!$COND_WXUSE_LIBTIFF_BUILTIN$ac_delim
51766 COND_WXUSE_REGEX_BUILTIN!$COND_WXUSE_REGEX_BUILTIN$ac_delim
51767 COND_WXUSE_ZLIB_BUILTIN!$COND_WXUSE_ZLIB_BUILTIN$ac_delim
51768 DEREZ!$DEREZ$ac_delim
51769 SHARED!$SHARED$ac_delim
51770 WX_LIBRARY_BASENAME_NOGUI!$WX_LIBRARY_BASENAME_NOGUI$ac_delim
51771 WX_LIBRARY_BASENAME_GUI!$WX_LIBRARY_BASENAME_GUI$ac_delim
51772 USE_GUI!$USE_GUI$ac_delim
51773 AFMINSTALL!$AFMINSTALL$ac_delim
51774 WIN32INSTALL!$WIN32INSTALL$ac_delim
51775 TOOLKIT!$TOOLKIT$ac_delim
51776 TOOLKIT_DIR!$TOOLKIT_DIR$ac_delim
51777 TOOLCHAIN_NAME!$TOOLCHAIN_NAME$ac_delim
51778 TOOLCHAIN_FULLNAME!$TOOLCHAIN_FULLNAME$ac_delim
51779 cross_compiling!$cross_compiling$ac_delim
51780 WIDGET_SET!$WIDGET_SET$ac_delim
51781 WX_RELEASE!$WX_RELEASE$ac_delim
51782 WX_VERSION!$WX_VERSION$ac_delim
51783 WX_SUBVERSION!$WX_SUBVERSION$ac_delim
51784 WX_CHARTYPE!$WX_CHARTYPE$ac_delim
51785 WX_DEBUGTYPE!$WX_DEBUGTYPE$ac_delim
51786 WXCONFIG_CPPFLAGS!$WXCONFIG_CPPFLAGS$ac_delim
51787 WXCONFIG_CFLAGS!$WXCONFIG_CFLAGS$ac_delim
51788 WXCONFIG_CXXFLAGS!$WXCONFIG_CXXFLAGS$ac_delim
51789 WXCONFIG_LIBS!$WXCONFIG_LIBS$ac_delim
51790 WXCONFIG_RPATH!$WXCONFIG_RPATH$ac_delim
51791 WXCONFIG_LDFLAGS_GUI!$WXCONFIG_LDFLAGS_GUI$ac_delim
51792 WXCONFIG_RESFLAGS!$WXCONFIG_RESFLAGS$ac_delim
51793 GUIDIST!$GUIDIST$ac_delim
51794 DISTDIR!$DISTDIR$ac_delim
51795 SAMPLES_SUBDIRS!$SAMPLES_SUBDIRS$ac_delim
51796 LDFLAGS_GL!$LDFLAGS_GL$ac_delim
51797 OPENGL_LIBS!$OPENGL_LIBS$ac_delim
51798 DMALLOC_LIBS!$DMALLOC_LIBS$ac_delim
51799 WX_VERSION_TAG!$WX_VERSION_TAG$ac_delim
51800 RESCOMP!$RESCOMP$ac_delim
51803 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
51805 elif $ac_last_try; then
51806 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
51807 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
51808 { (exit 1); exit 1; }; }
51810 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
51814 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
51815 if test -n "$ac_eof"; then
51816 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
51817 ac_eof
=`expr $ac_eof + 1`
51820 cat >>$CONFIG_STATUS <<_ACEOF
51821 cat >"\$tmp/subs-4.sed" <<\CEOF$ac_eof
51822 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
51825 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
51826 s/^/s,@/; s/!/@,|#_!!_#|/
51829 s/'"$ac_delim"'$/,g/; t
51831 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
51832 ' >>$CONFIG_STATUS <conf$
$subs.
sed
51833 rm -f conf$
$subs.
sed
51834 cat >>$CONFIG_STATUS <<_ACEOF
51840 for ac_last_try
in false false false false false
:; do
51841 cat >conf$
$subs.
sed <<_ACEOF
51842 RESFLAGS!$RESFLAGS$ac_delim
51843 RESPROGRAMOBJ!$RESPROGRAMOBJ$ac_delim
51844 WX_RESOURCES_MACOSX_ASCII!$WX_RESOURCES_MACOSX_ASCII$ac_delim
51845 WX_RESOURCES_MACOSX_DATA!$WX_RESOURCES_MACOSX_DATA$ac_delim
51846 LIBWXMACRES!$LIBWXMACRES$ac_delim
51847 POSTLINK_COMMAND!$POSTLINK_COMMAND$ac_delim
51848 MACSETFILE!$MACSETFILE$ac_delim
51850 DLLTOOL!$DLLTOOL$ac_delim
51851 CPPUNIT_CONFIG!$CPPUNIT_CONFIG$ac_delim
51852 LIBOBJS!$LIBOBJS$ac_delim
51853 LTLIBOBJS!$LTLIBOBJS$ac_delim
51856 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 12; then
51858 elif $ac_last_try; then
51859 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
51860 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
51861 { (exit 1); exit 1; }; }
51863 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
51867 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
51868 if test -n "$ac_eof"; then
51869 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
51870 ac_eof
=`expr $ac_eof + 1`
51873 cat >>$CONFIG_STATUS <<_ACEOF
51874 cat >"\$tmp/subs-5.sed" <<\CEOF$ac_eof
51875 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
51878 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
51879 s/^/s,@/; s/!/@,|#_!!_#|/
51882 s/'"$ac_delim"'$/,g/; t
51884 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
51885 ' >>$CONFIG_STATUS <conf$
$subs.
sed
51886 rm -f conf$
$subs.
sed
51887 cat >>$CONFIG_STATUS <<_ACEOF
51894 # VPATH may cause trouble with some makes, so we remove $(srcdir),
51895 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
51896 # trailing colons and then remove the whole line if VPATH becomes empty
51897 # (actually we leave an empty line to preserve line numbers).
51898 if test "x$srcdir" = x.
; then
51899 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
51900 s/:*\$(srcdir):*/:/
51901 s/:*\${srcdir}:*/:/
51903 s/^\([^=]*=[ ]*\):*/\1/
51909 cat >>$CONFIG_STATUS <<\_ACEOF
51910 fi # test -n "$CONFIG_FILES"
51913 for ac_tag
in :F
$CONFIG_FILES :H
$CONFIG_HEADERS :C
$CONFIG_COMMANDS
51916 :[FHLC
]) ac_mode
=$ac_tag; continue;;
51918 case $ac_mode$ac_tag in
51920 :L
* | :C
*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
51921 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
51922 { (exit 1); exit 1; }; };;
51923 :[FH
]-) ac_tag
=-:-;;
51924 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
51941 -) ac_f
="$tmp/stdin";;
51942 *) # Look for the file first in the build tree, then in the source tree
51943 # (if the path is not absolute). The absolute path cannot be DOS-style,
51944 # because $ac_f cannot contain `:'.
51948 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
51950 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
51951 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
51952 { (exit 1); exit 1; }; };;
51954 ac_file_inputs
="$ac_file_inputs $ac_f"
51957 # Let's still pretend it is `configure' which instantiates (i.e., don't
51958 # use $as_me), people would be surprised to read:
51959 # /* config.h. Generated by config.status. */
51960 configure_input
="Generated from "`IFS=:
51961 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
51962 if test x
"$ac_file" != x
-; then
51963 configure_input
="$ac_file. $configure_input"
51964 { echo "$as_me:$LINENO: creating $ac_file" >&5
51965 echo "$as_me: creating $ac_file" >&6;}
51969 *:-:* | *:-) cat >"$tmp/stdin";;
51974 ac_dir
=`$as_dirname -- "$ac_file" ||
51975 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
51976 X"$ac_file" : 'X\(//\)[^/]' \| \
51977 X"$ac_file" : 'X\(//\)$' \| \
51978 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
51980 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
51984 /^X\(\/\/\)[^/].*/{
51999 -*) as_dir
=.
/$as_dir;;
52001 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
52005 *\'*) as_qdir
=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
52006 *) as_qdir
=$as_dir;;
52008 as_dirs
="'$as_qdir' $as_dirs"
52009 as_dir
=`$as_dirname -- "$as_dir" ||
52010 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
52011 X"$as_dir" : 'X\(//\)[^/]' \| \
52012 X"$as_dir" : 'X\(//\)$' \| \
52013 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
52015 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
52019 /^X\(\/\/\)[^/].*/{
52032 test -d "$as_dir" && break
52034 test -z "$as_dirs" || eval "mkdir $as_dirs"
52035 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
52036 echo "$as_me: error: cannot create directory $as_dir" >&2;}
52037 { (exit 1); exit 1; }; }; }
52041 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
52043 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
52044 # A ".." for each directory in $ac_dir_suffix.
52045 ac_top_builddir_sub
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
52046 case $ac_top_builddir_sub in
52047 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
52048 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
52051 ac_abs_top_builddir
=$ac_pwd
52052 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
52053 # for backward compatibility:
52054 ac_top_builddir
=$ac_top_build_prefix
52057 .
) # We are building in place.
52059 ac_top_srcdir
=$ac_top_builddir_sub
52060 ac_abs_top_srcdir
=$ac_pwd ;;
52061 [\\/]* | ?
:[\\/]* ) # Absolute name.
52062 ac_srcdir
=$srcdir$ac_dir_suffix;
52063 ac_top_srcdir
=$srcdir
52064 ac_abs_top_srcdir
=$srcdir ;;
52065 *) # Relative name.
52066 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
52067 ac_top_srcdir
=$ac_top_build_prefix$srcdir
52068 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
52070 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
52080 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
52081 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
52085 cat >>$CONFIG_STATUS <<\_ACEOF
52086 # If the template does not know about datarootdir, expand it.
52087 # FIXME: This hack should be removed a few years after 2.60.
52088 ac_datarootdir_hack
=; ac_datarootdir_seen
=
52090 case `sed -n '/datarootdir/ {
52099 ' $ac_file_inputs` in
52100 *datarootdir
*) ac_datarootdir_seen
=yes;;
52101 *@datadir@
*|*@docdir@
*|*@infodir@
*|*@localedir@
*|*@mandir@
*)
52102 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
52103 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
52105 cat >>$CONFIG_STATUS <<_ACEOF
52106 ac_datarootdir_hack='
52107 s&@datadir@&$datadir&g
52108 s&@docdir@&$docdir&g
52109 s&@infodir@&$infodir&g
52110 s&@localedir@&$localedir&g
52111 s&@mandir@&$mandir&g
52112 s&\\\${datarootdir}&$datarootdir&g' ;;
52116 # Neutralize VPATH when `$srcdir' = `.'.
52117 # Shell code in configure.ac might set extrasub.
52118 # FIXME: do we really want to maintain this feature?
52119 cat >>$CONFIG_STATUS <<_ACEOF
52123 cat >>$CONFIG_STATUS <<\_ACEOF
52125 /@
[a
-zA-Z_][a
-zA-Z_0-9]*@
/!b
52126 s
&@configure_input@
&$configure_input&;t t
52127 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
52128 s
&@srcdir@
&$ac_srcdir&;t t
52129 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
52130 s
&@top_srcdir@
&$ac_top_srcdir&;t t
52131 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
52132 s
&@builddir@
&$ac_builddir&;t t
52133 s
&@abs_builddir@
&$ac_abs_builddir&;t t
52134 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
52135 s
&@INSTALL@
&$ac_INSTALL&;t t
52136 $ac_datarootdir_hack
52137 " $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
52139 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
52140 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
52141 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
52142 { echo "$as_me:$LINENO: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
52143 which seems to be undefined. Please make sure it is defined." >&5
52144 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
52145 which seems to be undefined. Please make sure it is defined." >&2;}
52149 -) cat "$tmp/out"; rm -f "$tmp/out";;
52150 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
52159 # Transform confdefs.h into a sed script `conftest.defines', that
52160 # substitutes the proper values into config.h.in to produce config.h.
52161 rm -f conftest.defines conftest.
tail
52162 # First, append a space to every undef/define line, to ease matching.
52163 echo 's/$/ /' >conftest.defines
52164 # Then, protect against being on the right side of a sed subst, or in
52165 # an unquoted here document, in config.status. If some macros were
52166 # called several times there might be several #defines for the same
52167 # symbol, which is useless. But do not sort them, since the last
52168 # AC_DEFINE must be honored.
52169 ac_word_re
=[_
$as_cr_Letters][_
$as_cr_alnum]*
52170 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
52171 # NAME is the cpp macro being defined, VALUE is the value it is being given.
52172 # PARAMS is the parameter list in the macro definition--in most cases, it's
52173 # just an empty string.
52174 ac_dA
='s,^\\([ #]*\\)[^ ]*\\([ ]*'
52175 ac_dB
='\\)[ (].*,\\1define\\2'
52183 s/^[ ]*#[ ]*define[ ][ ]*//
52188 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
52189 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
52190 ' >>conftest.defines
52192 # Remove the space that was appended to ease matching.
52193 # Then replace #undef with comments. This is necessary, for
52194 # example, in the case of _POSIX_SOURCE, which is predefined and required
52195 # on some systems where configure will not decide to define it.
52196 # (The regexp can be short, since the line contains either #define or #undef.)
52198 s,^[ #]*u.*,/* & */,' >>conftest.defines
52200 # Break up conftest.defines:
52201 ac_max_sed_lines
=50
52203 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
52204 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
52205 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
52207 ac_in
='$ac_file_inputs'
52208 ac_out
='"$tmp/out1"'
52209 ac_nxt
='"$tmp/out2"'
52213 # Write a here document:
52214 cat >>$CONFIG_STATUS <<_ACEOF
52215 # First, check the format of the line:
52216 cat >"\$tmp/defines.sed" <<\\CEOF
52217 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
52218 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
52222 sed ${ac_max_sed_lines}q conftest.defines
>>$CONFIG_STATUS
52224 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
52225 ac_in
=$ac_out; ac_out
=$ac_nxt; ac_nxt
=$ac_in
52226 sed 1,${ac_max_sed_lines}d conftest.defines
>conftest.
tail
52227 grep . conftest.
tail >/dev
/null
|| break
52228 rm -f conftest.defines
52229 mv conftest.
tail conftest.defines
52231 rm -f conftest.defines conftest.
tail
52233 echo "ac_result=$ac_in" >>$CONFIG_STATUS
52234 cat >>$CONFIG_STATUS <<\_ACEOF
52235 if test x
"$ac_file" != x
-; then
52236 echo "/* $configure_input */" >"$tmp/config.h"
52237 cat "$ac_result" >>"$tmp/config.h"
52238 if diff $ac_file "$tmp/config.h" >/dev
/null
2>&1; then
52239 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
52240 echo "$as_me: $ac_file is unchanged" >&6;}
52243 mv "$tmp/config.h" $ac_file
52246 echo "/* $configure_input */"
52252 :C
) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
52253 echo "$as_me: executing $ac_file commands" >&6;}
52258 case $ac_file$ac_mode in
52260 mkdir -p $outdir &&
52261 $CPP $infile | sed 's/^# *[1-9].*//;s/^ *//;/./,/^$/!d' > $outdir/rcdefs.h
52263 "lib/wx/config/${TOOLCHAIN_FULLNAME}":F
) chmod +x lib
/wx
/config
/${TOOLCHAIN_FULLNAME} ;;
52264 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}":F
) chmod +x lib
/wx
/config
/inplace
-${TOOLCHAIN_FULLNAME} ;;
52265 "utils/ifacecheck/rungccxml.sh":F
) chmod +x utils
/ifacecheck
/rungccxml.sh
;;
52266 "wx-config":C
) rm -f wx
-config
52267 ${LN_S} lib
/wx
/config
/inplace
-${TOOLCHAIN_FULLNAME} wx
-config
52274 { (exit 0); exit 0; }
52276 chmod +x
$CONFIG_STATUS
52277 ac_clean_files
=$ac_clean_files_save
52280 # configure is writing to config.log, and then calls config.status.
52281 # config.status does its own redirection, appending to config.log.
52282 # Unfortunately, on DOS this fails, as config.log is still kept open
52283 # by configure, so config.status won't be able to write to it; its
52284 # output is simply discarded. So we exec the FD to /dev/null,
52285 # effectively closing config.log, so it can be properly (re)opened and
52286 # appended to by config.status. When coming back to configure, we
52287 # need to make the FD available again.
52288 if test "$no_create" != yes; then
52290 ac_config_status_args
=
52291 test "$silent" = yes &&
52292 ac_config_status_args
="$ac_config_status_args --quiet"
52294 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
52296 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
52297 # would make configure fail if this is the last instruction.
52298 $ac_cs_success || { (exit 1); exit 1; }
52302 # CONFIG_SUBDIRS section.
52304 if test "$no_recursion" != yes; then
52306 # Remove --cache-file and --srcdir arguments so they do not pile up.
52307 ac_sub_configure_args
=
52309 eval "set x $ac_configure_args"
52313 if test -n "$ac_prev"; then
52318 -cache-file | --cache-file | --cache-fil | --cache-fi \
52319 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
52320 ac_prev
=cache_file
;;
52321 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
52322 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
52325 --config-cache | -C)
52327 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
52329 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
52331 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
52333 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
52337 *\'*) ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
52339 ac_sub_configure_args
="$ac_sub_configure_args '$ac_arg'" ;;
52343 # Always prepend --prefix to ensure using the same prefix
52344 # in subdir configurations.
52345 ac_arg
="--prefix=$prefix"
52347 *\'*) ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
52349 ac_sub_configure_args
="'$ac_arg' $ac_sub_configure_args"
52352 if test "$silent" = yes; then
52353 ac_sub_configure_args
="--silent $ac_sub_configure_args"
52357 for ac_dir
in : $subdirs; do test "x$ac_dir" = x
: && continue
52359 # Do not complain, so a configure script can configure whichever
52360 # parts of a large source tree are present.
52361 test -d "$srcdir/$ac_dir" || continue
52363 ac_msg
="=== configuring in $ac_dir (`pwd`/$ac_dir)"
52364 echo "$as_me:$LINENO: $ac_msg" >&5
52368 -*) as_dir
=.
/$as_dir;;
52370 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
52374 *\'*) as_qdir
=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
52375 *) as_qdir
=$as_dir;;
52377 as_dirs
="'$as_qdir' $as_dirs"
52378 as_dir
=`$as_dirname -- "$as_dir" ||
52379 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
52380 X"$as_dir" : 'X\(//\)[^/]' \| \
52381 X"$as_dir" : 'X\(//\)$' \| \
52382 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
52384 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
52388 /^X\(\/\/\)[^/].*/{
52401 test -d "$as_dir" && break
52403 test -z "$as_dirs" || eval "mkdir $as_dirs"
52404 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
52405 echo "$as_me: error: cannot create directory $as_dir" >&2;}
52406 { (exit 1); exit 1; }; }; }
52410 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
52412 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
52413 # A ".." for each directory in $ac_dir_suffix.
52414 ac_top_builddir_sub
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
52415 case $ac_top_builddir_sub in
52416 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
52417 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
52420 ac_abs_top_builddir
=$ac_pwd
52421 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
52422 # for backward compatibility:
52423 ac_top_builddir
=$ac_top_build_prefix
52426 .
) # We are building in place.
52428 ac_top_srcdir
=$ac_top_builddir_sub
52429 ac_abs_top_srcdir
=$ac_pwd ;;
52430 [\\/]* | ?
:[\\/]* ) # Absolute name.
52431 ac_srcdir
=$srcdir$ac_dir_suffix;
52432 ac_top_srcdir
=$srcdir
52433 ac_abs_top_srcdir
=$srcdir ;;
52434 *) # Relative name.
52435 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
52436 ac_top_srcdir
=$ac_top_build_prefix$srcdir
52437 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
52439 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
52444 # Check for guested configure; otherwise get Cygnus style configure.
52445 if test -f "$ac_srcdir/configure.gnu"; then
52446 ac_sub_configure
=$ac_srcdir/configure.gnu
52447 elif test -f "$ac_srcdir/configure"; then
52448 ac_sub_configure
=$ac_srcdir/configure
52449 elif test -f "$ac_srcdir/configure.in"; then
52450 # This should be Cygnus configure.
52451 ac_sub_configure
=$ac_aux_dir/configure
52453 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
52454 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
52458 # The recursion is here.
52459 if test -n "$ac_sub_configure"; then
52460 # Make the cache file name correct relative to the subdirectory.
52461 case $cache_file in
52462 [\\/]* | ?
:[\\/]* ) ac_sub_cache_file
=$cache_file ;;
52463 *) # Relative name.
52464 ac_sub_cache_file
=$ac_top_build_prefix$cache_file ;;
52467 { echo "$as_me:$LINENO: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
52468 echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
52469 # The eval makes quoting arguments work.
52470 eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
52471 --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
52472 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
52473 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
52474 { (exit 1); exit 1; }; }
52483 echo "Configured wxWidgets ${WX_VERSION} for \`${host}'"
52485 echo " Which GUI toolkit should wxWidgets use? ${TOOLKIT_DESC}"
52486 echo " Should wxWidgets be compiled into single library? ${wxUSE_MONOLITHIC:-yes}"
52488 echo " Should wxWidgets be compiled in debug mode? ${wxUSE_DEBUG:-no}"
52489 echo " Should wxWidgets be linked as a shared library? ${wxUSE_SHARED:-no}"
52490 echo $ECHO_N " Should wxWidgets support Unicode? ${wxUSE_UNICODE:-no}$ECHO_C"
52491 if test "$wxUSE_UNICODE" = "yes"; then
52492 if test "$wxUSE_UNICODE_UTF8" = "yes"; then
52493 echo " (using UTF-8)"
52495 echo " (using wchar_t)"
52501 echo " What level of wxWidgets compatibility should be enabled?"
52502 echo " wxWidgets 2.6 ${WXWIN_COMPATIBILITY_2_6:-no}"
52503 echo " wxWidgets 2.8 ${WXWIN_COMPATIBILITY_2_8:-yes}"
52505 echo " Which libraries should wxWidgets use?"
52506 echo " STL ${wxUSE_STL}"
52507 echo " jpeg ${wxUSE_LIBJPEG-none}"
52508 echo " png ${wxUSE_LIBPNG-none}"
52509 echo " regex ${wxUSE_REGEX}"
52510 echo " tiff ${wxUSE_LIBTIFF-none}"
52511 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
52512 echo " xpm ${wxUSE_LIBXPM-none}"
52514 echo " zlib ${wxUSE_ZLIB}"
52515 echo " expat ${wxUSE_EXPAT}"
52516 echo " libmspack ${wxUSE_LIBMSPACK}"
52517 echo " sdl ${wxUSE_LIBSDL}"