2 # From configure.in Id: configure.in 54996 2008-08-06 17:50:06Z 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 --enable-debug same as debug_flag and debug_info
1646 --enable-stl use STL for containers
1647 --enable-std_iostreams use standard C++ stream classes
1648 --enable-std_string use standard C++ string classes
1649 --disable-unicode compile without Unicode support
1650 --enable-mslu use MS Layer for Unicode on Windows 9x (Win32 only)
1651 --enable-utf8 use UTF-8 representation for strings (Unix only)
1652 --enable-utf8only only support UTF-8 locales in UTF-8 build (Unix only)
1653 --enable-extended_rtti use extended RTTI (XTI)
1654 --enable-omf use OMF object format
1655 --enable-debug_flag set __WXDEBUG__ flag (recommended for developers!)
1656 --enable-debug_info create code with debugging information
1657 --disable-optimise compile without optimisations
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; }
4362 if test -z "$defaultval"; then
4363 if test x"$enablestring" = xdisable; then
4370 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-debug" >&5
4371 echo $ECHO_N "checking
for --${enablestring:-enable}-debug...
$ECHO_C" >&6; }
4372 # Check whether --enable-debug was given.
4373 if test "${enable_debug+set}" = set; then
4374 enableval=$enable_debug;
4375 if test "$enableval" = yes; then
4376 wx_cv_use_debug='wxUSE_DEBUG=yes'
4378 wx_cv_use_debug='wxUSE_DEBUG=no'
4383 wx_cv_use_debug='wxUSE_DEBUG=${'DEFAULT_wxUSE_DEBUG":-$defaultval}"
4388 eval "$wx_cv_use_debug"
4390 if test x
"$enablestring" = xdisable
; then
4391 if test $wxUSE_DEBUG = yes; then
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}-stl" >&5
4415 echo $ECHO_N "checking for --${enablestring:-enable}-stl... $ECHO_C" >&6; }
4416 # Check whether --enable-stl was given.
4417 if test "${enable_stl+set}" = set; then
4418 enableval
=$enable_stl;
4419 if test "$enableval" = yes; then
4420 wx_cv_use_stl
='wxUSE_STL=yes'
4422 wx_cv_use_stl
='wxUSE_STL=no'
4427 wx_cv_use_stl
='wxUSE_STL=${'DEFAULT_wxUSE_STL":-$defaultval}"
4432 eval "$wx_cv_use_stl"
4434 if test x"$enablestring" = xdisable; then
4435 if test $wxUSE_STL = 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}-std_iostreams" >&5
4459 echo $ECHO_N "checking for --${enablestring:-enable}-std_iostreams... $ECHO_C" >&6; }
4460 # Check whether --enable-std_iostreams was given.
4461 if test "${enable_std_iostreams+set}" = set; then
4462 enableval=$enable_std_iostreams;
4463 if test "$enableval" = yes; then
4464 wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM
=yes'
4466 wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM
=no
'
4471 wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM
=${'DEFAULT_wxUSE_STD_IOSTREAM":-$defaultval}"
4476 eval "$wx_cv_use_std_iostreams"
4478 if test x"$enablestring" = xdisable; then
4479 if test $wxUSE_STD_IOSTREAM = yes; then
4485 result=$wxUSE_STD_IOSTREAM
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_string" >&5
4503 echo $ECHO_N "checking
for --${enablestring:-enable}-std_string...
$ECHO_C" >&6; }
4504 # Check whether --enable-std_string was given.
4505 if test "${enable_std_string+set}" = set; then
4506 enableval=$enable_std_string;
4507 if test "$enableval" = yes; then
4508 wx_cv_use_std_string='wxUSE_STD_STRING=yes'
4510 wx_cv_use_std_string='wxUSE_STD_STRING=no'
4515 wx_cv_use_std_string='wxUSE_STD_STRING=${'DEFAULT_wxUSE_STD_STRING":-$defaultval}"
4520 eval "$wx_cv_use_std_string"
4522 if test x
"$enablestring" = xdisable
; then
4523 if test $wxUSE_STD_STRING = yes; then
4529 result
=$wxUSE_STD_STRING
4532 { echo "$as_me:$LINENO: result: $result" >&5
4533 echo "${ECHO_T}$result" >&6; }
4536 enablestring
=disable
4538 if test -z "$defaultval"; then
4539 if test x
"$enablestring" = xdisable
; then
4546 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-unicode" >&5
4547 echo $ECHO_N "checking for --${enablestring:-enable}-unicode... $ECHO_C" >&6; }
4548 # Check whether --enable-unicode was given.
4549 if test "${enable_unicode+set}" = set; then
4550 enableval
=$enable_unicode;
4551 if test "$enableval" = yes; then
4552 wx_cv_use_unicode
='wxUSE_UNICODE=yes'
4554 wx_cv_use_unicode
='wxUSE_UNICODE=no'
4559 wx_cv_use_unicode
='wxUSE_UNICODE=${'DEFAULT_wxUSE_UNICODE":-$defaultval}"
4564 eval "$wx_cv_use_unicode"
4566 if test x"$enablestring" = xdisable; then
4567 if test $wxUSE_UNICODE = yes; then
4573 result=$wxUSE_UNICODE
4576 { echo "$as_me:$LINENO: result: $result" >&5
4577 echo "${ECHO_T}$result" >&6; }
4582 if test -z "$defaultval"; then
4583 if test x"$enablestring" = xdisable; then
4590 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mslu" >&5
4591 echo $ECHO_N "checking for --${enablestring:-enable}-mslu... $ECHO_C" >&6; }
4592 # Check whether --enable-mslu was given.
4593 if test "${enable_mslu+set}" = set; then
4594 enableval=$enable_mslu;
4595 if test "$enableval" = yes; then
4596 wx_cv_use_mslu='wxUSE_UNICODE_MSLU
=yes'
4598 wx_cv_use_mslu='wxUSE_UNICODE_MSLU
=no
'
4603 wx_cv_use_mslu='wxUSE_UNICODE_MSLU
=${'DEFAULT_wxUSE_UNICODE_MSLU":-$defaultval}"
4608 eval "$wx_cv_use_mslu"
4610 if test x"$enablestring" = xdisable; then
4611 if test $wxUSE_UNICODE_MSLU = yes; then
4617 result=$wxUSE_UNICODE_MSLU
4620 { echo "$as_me:$LINENO: result
: $result" >&5
4621 echo "${ECHO_T}$result" >&6; }
4625 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-utf8" >&5
4626 echo $ECHO_N "checking
for --${enablestring:-enable}-utf8...
$ECHO_C" >&6; }
4627 # Check whether --enable-utf8 was given.
4628 if test "${enable_utf8+set}" = set; then
4629 enableval=$enable_utf8;
4630 wx_cv_use_utf8="wxUSE_UNICODE_UTF8
='$enableval'"
4634 wx_cv_use_utf8='wxUSE_UNICODE_UTF8='$DEFAULT_wxUSE_UNICODE_UTF8
4639 eval "$wx_cv_use_utf8"
4641 { echo "$as_me:$LINENO: result
: $wxUSE_UNICODE_UTF8" >&5
4642 echo "${ECHO_T}$wxUSE_UNICODE_UTF8" >&6; }
4647 if test -z "$defaultval"; then
4648 if test x"$enablestring" = xdisable; then
4655 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-utf8only" >&5
4656 echo $ECHO_N "checking
for --${enablestring:-enable}-utf8only...
$ECHO_C" >&6; }
4657 # Check whether --enable-utf8only was given.
4658 if test "${enable_utf8only+set}" = set; then
4659 enableval=$enable_utf8only;
4660 if test "$enableval" = yes; then
4661 wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=yes'
4663 wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=no'
4668 wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=${'DEFAULT_wxUSE_UNICODE_UTF8_LOCALE":-$defaultval}"
4673 eval "$wx_cv_use_utf8only"
4675 if test x
"$enablestring" = xdisable
; then
4676 if test $wxUSE_UNICODE_UTF8_LOCALE = yes; then
4682 result
=$wxUSE_UNICODE_UTF8_LOCALE
4685 { echo "$as_me:$LINENO: result: $result" >&5
4686 echo "${ECHO_T}$result" >&6; }
4691 if test -z "$defaultval"; then
4692 if test x
"$enablestring" = xdisable
; then
4699 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-extended_rtti" >&5
4700 echo $ECHO_N "checking for --${enablestring:-enable}-extended_rtti... $ECHO_C" >&6; }
4701 # Check whether --enable-extended_rtti was given.
4702 if test "${enable_extended_rtti+set}" = set; then
4703 enableval
=$enable_extended_rtti;
4704 if test "$enableval" = yes; then
4705 wx_cv_use_extended_rtti
='wxUSE_EXTENDED_RTTI=yes'
4707 wx_cv_use_extended_rtti
='wxUSE_EXTENDED_RTTI=no'
4712 wx_cv_use_extended_rtti
='wxUSE_EXTENDED_RTTI=${'DEFAULT_wxUSE_EXTENDED_RTTI":-$defaultval}"
4717 eval "$wx_cv_use_extended_rtti"
4719 if test x"$enablestring" = xdisable; then
4720 if test $wxUSE_EXTENDED_RTTI = yes; then
4726 result=$wxUSE_EXTENDED_RTTI
4729 { echo "$as_me:$LINENO: result: $result" >&5
4730 echo "${ECHO_T}$result" >&6; }
4732 if test "$USE_OS2" = 1; then
4733 DEFAULT_wxUSE_OMF=no
4737 if test -z "$defaultval"; then
4738 if test x"$enablestring" = xdisable; then
4745 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-omf" >&5
4746 echo $ECHO_N "checking for --${enablestring:-enable}-omf... $ECHO_C" >&6; }
4747 # Check whether --enable-omf was given.
4748 if test "${enable_omf+set}" = set; then
4749 enableval=$enable_omf;
4750 if test "$enableval" = yes; then
4751 wx_cv_use_omf='wxUSE_OMF
=yes'
4753 wx_cv_use_omf='wxUSE_OMF
=no
'
4758 wx_cv_use_omf='wxUSE_OMF
=${'DEFAULT_wxUSE_OMF":-$defaultval}"
4763 eval "$wx_cv_use_omf"
4765 if test x"$enablestring" = xdisable; then
4766 if test $wxUSE_OMF = yes; then
4775 { echo "$as_me:$LINENO: result
: $result" >&5
4776 echo "${ECHO_T}$result" >&6; }
4780 if test "$wxUSE_DEBUG" = "yes"; then
4781 DEFAULT_wxUSE_DEBUG_FLAG=yes
4782 DEFAULT_wxUSE_DEBUG_INFO=yes
4784 elif test "$wxUSE_DEBUG" = "no
"; then
4785 DEFAULT_wxUSE_DEBUG_FLAG=no
4786 DEFAULT_wxUSE_DEBUG_INFO=no
4793 if test -z "$defaultval"; then
4794 if test x"$enablestring" = xdisable; then
4801 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-debug_flag" >&5
4802 echo $ECHO_N "checking
for --${enablestring:-enable}-debug_flag...
$ECHO_C" >&6; }
4803 # Check whether --enable-debug_flag was given.
4804 if test "${enable_debug_flag+set}" = set; then
4805 enableval=$enable_debug_flag;
4806 if test "$enableval" = yes; then
4807 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG=yes'
4809 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG=no'
4814 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG=${'DEFAULT_wxUSE_DEBUG_FLAG":-$defaultval}"
4819 eval "$wx_cv_use_debug_flag"
4821 if test x
"$enablestring" = xdisable
; then
4822 if test $wxUSE_DEBUG_FLAG = yes; then
4828 result
=$wxUSE_DEBUG_FLAG
4831 { echo "$as_me:$LINENO: result: $result" >&5
4832 echo "${ECHO_T}$result" >&6; }
4837 if test -z "$defaultval"; then
4838 if test x
"$enablestring" = xdisable
; then
4845 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_info" >&5
4846 echo $ECHO_N "checking for --${enablestring:-enable}-debug_info... $ECHO_C" >&6; }
4847 # Check whether --enable-debug_info was given.
4848 if test "${enable_debug_info+set}" = set; then
4849 enableval
=$enable_debug_info;
4850 if test "$enableval" = yes; then
4851 wx_cv_use_debug_info
='wxUSE_DEBUG_INFO=yes'
4853 wx_cv_use_debug_info
='wxUSE_DEBUG_INFO=no'
4858 wx_cv_use_debug_info
='wxUSE_DEBUG_INFO=${'DEFAULT_wxUSE_DEBUG_INFO":-$defaultval}"
4863 eval "$wx_cv_use_debug_info"
4865 if test x"$enablestring" = xdisable; then
4866 if test $wxUSE_DEBUG_INFO = yes; then
4872 result=$wxUSE_DEBUG_INFO
4875 { echo "$as_me:$LINENO: result: $result" >&5
4876 echo "${ECHO_T}$result" >&6; }
4879 if test "$wxUSE_DEBUG_FLAG" = "yes" -a "$wxUSE_DEBUG_INFO" = "yes"; then
4884 if test "$wxUSE_DEBUG" = "yes"; then
4885 DEFAULT_wxUSE_OPTIMISE=no
4889 enablestring=disable
4891 if test -z "$defaultval"; then
4892 if test x"$enablestring" = xdisable; then
4899 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-optimise" >&5
4900 echo $ECHO_N "checking for --${enablestring:-enable}-optimise... $ECHO_C" >&6; }
4901 # Check whether --enable-optimise was given.
4902 if test "${enable_optimise+set}" = set; then
4903 enableval=$enable_optimise;
4904 if test "$enableval" = yes; then
4905 wx_cv_use_optimise='wxUSE_OPTIMISE
=yes'
4907 wx_cv_use_optimise='wxUSE_OPTIMISE
=no
'
4912 wx_cv_use_optimise='wxUSE_OPTIMISE
=${'DEFAULT_wxUSE_OPTIMISE":-$defaultval}"
4917 eval "$wx_cv_use_optimise"
4919 if test x"$enablestring" = xdisable; then
4920 if test $wxUSE_OPTIMISE = yes; then
4926 result=$wxUSE_OPTIMISE
4929 { echo "$as_me:$LINENO: result
: $result" >&5
4930 echo "${ECHO_T}$result" >&6; }
4936 if test -z "$defaultval"; then
4937 if test x"$enablestring" = xdisable; then
4944 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-debug_gdb" >&5
4945 echo $ECHO_N "checking
for --${enablestring:-enable}-debug_gdb...
$ECHO_C" >&6; }
4946 # Check whether --enable-debug_gdb was given.
4947 if test "${enable_debug_gdb+set}" = set; then
4948 enableval=$enable_debug_gdb;
4949 if test "$enableval" = yes; then
4950 wx_cv_use_debug_gdb='wxUSE_DEBUG_GDB=yes'
4952 wx_cv_use_debug_gdb='wxUSE_DEBUG_GDB=no'
4957 wx_cv_use_debug_gdb='wxUSE_DEBUG_GDB=${'DEFAULT_wxUSE_DEBUG_GDB":-$defaultval}"
4962 eval "$wx_cv_use_debug_gdb"
4964 if test x
"$enablestring" = xdisable
; then
4965 if test $wxUSE_DEBUG_GDB = yes; then
4971 result
=$wxUSE_DEBUG_GDB
4974 { echo "$as_me:$LINENO: result: $result" >&5
4975 echo "${ECHO_T}$result" >&6; }
4980 if test -z "$defaultval"; then
4981 if test x
"$enablestring" = xdisable
; then
4988 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_cntxt" >&5
4989 echo $ECHO_N "checking for --${enablestring:-enable}-debug_cntxt... $ECHO_C" >&6; }
4990 # Check whether --enable-debug_cntxt was given.
4991 if test "${enable_debug_cntxt+set}" = set; then
4992 enableval
=$enable_debug_cntxt;
4993 if test "$enableval" = yes; then
4994 wx_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT=yes'
4996 wx_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT=no'
5001 wx_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT=${'DEFAULT_wxUSE_DEBUG_CONTEXT":-$defaultval}"
5006 eval "$wx_cv_use_debug_cntxt"
5008 if test x"$enablestring" = xdisable; then
5009 if test $wxUSE_DEBUG_CONTEXT = yes; then
5015 result=$wxUSE_DEBUG_CONTEXT
5018 { echo "$as_me:$LINENO: result: $result" >&5
5019 echo "${ECHO_T}$result" >&6; }
5024 if test -z "$defaultval"; then
5025 if test x"$enablestring" = xdisable; then
5032 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mem_tracing" >&5
5033 echo $ECHO_N "checking for --${enablestring:-enable}-mem_tracing... $ECHO_C" >&6; }
5034 # Check whether --enable-mem_tracing was given.
5035 if test "${enable_mem_tracing+set}" = set; then
5036 enableval=$enable_mem_tracing;
5037 if test "$enableval" = yes; then
5038 wx_cv_use_mem_tracing='wxUSE_MEM_TRACING
=yes'
5040 wx_cv_use_mem_tracing='wxUSE_MEM_TRACING
=no
'
5045 wx_cv_use_mem_tracing='wxUSE_MEM_TRACING
=${'DEFAULT_wxUSE_MEM_TRACING":-$defaultval}"
5050 eval "$wx_cv_use_mem_tracing"
5052 if test x"$enablestring" = xdisable; then
5053 if test $wxUSE_MEM_TRACING = yes; then
5059 result=$wxUSE_MEM_TRACING
5062 { echo "$as_me:$LINENO: result
: $result" >&5
5063 echo "${ECHO_T}$result" >&6; }
5068 if test -z "$defaultval"; then
5069 if test x"$enablestring" = xdisable; then
5076 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-profile" >&5
5077 echo $ECHO_N "checking
for --${enablestring:-enable}-profile...
$ECHO_C" >&6; }
5078 # Check whether --enable-profile was given.
5079 if test "${enable_profile+set}" = set; then
5080 enableval=$enable_profile;
5081 if test "$enableval" = yes; then
5082 wx_cv_use_profile='wxUSE_PROFILE=yes'
5084 wx_cv_use_profile='wxUSE_PROFILE=no'
5089 wx_cv_use_profile='wxUSE_PROFILE=${'DEFAULT_wxUSE_PROFILE":-$defaultval}"
5094 eval "$wx_cv_use_profile"
5096 if test x
"$enablestring" = xdisable
; then
5097 if test $wxUSE_PROFILE = yes; then
5103 result
=$wxUSE_PROFILE
5106 { echo "$as_me:$LINENO: result: $result" >&5
5107 echo "${ECHO_T}$result" >&6; }
5112 if test -z "$defaultval"; then
5113 if test x
"$enablestring" = xdisable
; then
5120 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_rtti" >&5
5121 echo $ECHO_N "checking for --${enablestring:-enable}-no_rtti... $ECHO_C" >&6; }
5122 # Check whether --enable-no_rtti was given.
5123 if test "${enable_no_rtti+set}" = set; then
5124 enableval
=$enable_no_rtti;
5125 if test "$enableval" = yes; then
5126 wx_cv_use_no_rtti
='wxUSE_NO_RTTI=yes'
5128 wx_cv_use_no_rtti
='wxUSE_NO_RTTI=no'
5133 wx_cv_use_no_rtti
='wxUSE_NO_RTTI=${'DEFAULT_wxUSE_NO_RTTI":-$defaultval}"
5138 eval "$wx_cv_use_no_rtti"
5140 if test x"$enablestring" = xdisable; then
5141 if test $wxUSE_NO_RTTI = yes; then
5147 result=$wxUSE_NO_RTTI
5150 { echo "$as_me:$LINENO: result: $result" >&5
5151 echo "${ECHO_T}$result" >&6; }
5156 if test -z "$defaultval"; then
5157 if test x"$enablestring" = xdisable; then
5164 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_exceptions" >&5
5165 echo $ECHO_N "checking for --${enablestring:-enable}-no_exceptions... $ECHO_C" >&6; }
5166 # Check whether --enable-no_exceptions was given.
5167 if test "${enable_no_exceptions+set}" = set; then
5168 enableval=$enable_no_exceptions;
5169 if test "$enableval" = yes; then
5170 wx_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS
=yes'
5172 wx_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS
=no
'
5177 wx_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS
=${'DEFAULT_wxUSE_NO_EXCEPTIONS":-$defaultval}"
5182 eval "$wx_cv_use_no_exceptions"
5184 if test x"$enablestring" = xdisable; then
5185 if test $wxUSE_NO_EXCEPTIONS = yes; then
5191 result=$wxUSE_NO_EXCEPTIONS
5194 { echo "$as_me:$LINENO: result
: $result" >&5
5195 echo "${ECHO_T}$result" >&6; }
5200 if test -z "$defaultval"; then
5201 if test x"$enablestring" = xdisable; then
5208 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-permissive" >&5
5209 echo $ECHO_N "checking
for --${enablestring:-enable}-permissive...
$ECHO_C" >&6; }
5210 # Check whether --enable-permissive was given.
5211 if test "${enable_permissive+set}" = set; then
5212 enableval=$enable_permissive;
5213 if test "$enableval" = yes; then
5214 wx_cv_use_permissive='wxUSE_PERMISSIVE=yes'
5216 wx_cv_use_permissive='wxUSE_PERMISSIVE=no'
5221 wx_cv_use_permissive='wxUSE_PERMISSIVE=${'DEFAULT_wxUSE_PERMISSIVE":-$defaultval}"
5226 eval "$wx_cv_use_permissive"
5228 if test x
"$enablestring" = xdisable
; then
5229 if test $wxUSE_PERMISSIVE = yes; then
5235 result
=$wxUSE_PERMISSIVE
5238 { echo "$as_me:$LINENO: result: $result" >&5
5239 echo "${ECHO_T}$result" >&6; }
5244 if test -z "$defaultval"; then
5245 if test x
"$enablestring" = xdisable
; then
5252 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_deps" >&5
5253 echo $ECHO_N "checking for --${enablestring:-enable}-no_deps... $ECHO_C" >&6; }
5254 # Check whether --enable-no_deps was given.
5255 if test "${enable_no_deps+set}" = set; then
5256 enableval
=$enable_no_deps;
5257 if test "$enableval" = yes; then
5258 wx_cv_use_no_deps
='wxUSE_NO_DEPS=yes'
5260 wx_cv_use_no_deps
='wxUSE_NO_DEPS=no'
5265 wx_cv_use_no_deps
='wxUSE_NO_DEPS=${'DEFAULT_wxUSE_NO_DEPS":-$defaultval}"
5270 eval "$wx_cv_use_no_deps"
5272 if test x"$enablestring" = xdisable; then
5273 if test $wxUSE_NO_DEPS = yes; then
5279 result=$wxUSE_NO_DEPS
5282 { echo "$as_me:$LINENO: result: $result" >&5
5283 echo "${ECHO_T}$result" >&6; }
5286 enablestring=disable
5288 if test -z "$defaultval"; then
5289 if test x"$enablestring" = xdisable; then
5296 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-vararg_macros" >&5
5297 echo $ECHO_N "checking for --${enablestring:-enable}-vararg_macros... $ECHO_C" >&6; }
5298 # Check whether --enable-vararg_macros was given.
5299 if test "${enable_vararg_macros+set}" = set; then
5300 enableval=$enable_vararg_macros;
5301 if test "$enableval" = yes; then
5302 wx_cv_use_vararg_macros='wxUSE_VARARG_MACROS
=yes'
5304 wx_cv_use_vararg_macros='wxUSE_VARARG_MACROS
=no
'
5309 wx_cv_use_vararg_macros='wxUSE_VARARG_MACROS
=${'DEFAULT_wxUSE_VARARG_MACROS":-$defaultval}"
5314 eval "$wx_cv_use_vararg_macros"
5316 if test x"$enablestring" = xdisable; then
5317 if test $wxUSE_VARARG_MACROS = yes; then
5323 result=$wxUSE_VARARG_MACROS
5326 { echo "$as_me:$LINENO: result
: $result" >&5
5327 echo "${ECHO_T}$result" >&6; }
5331 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-universal_binary" >&5
5332 echo $ECHO_N "checking
for --${enablestring:-enable}-universal_binary...
$ECHO_C" >&6; }
5333 # Check whether --enable-universal_binary was given.
5334 if test "${enable_universal_binary+set}" = set; then
5335 enableval=$enable_universal_binary;
5336 wx_cv_use_universal_binary="wxUSE_UNIVERSAL_BINARY
='$enableval'"
5340 wx_cv_use_universal_binary='wxUSE_UNIVERSAL_BINARY='$DEFAULT_wxUSE_UNIVERSAL_BINARY
5345 eval "$wx_cv_use_universal_binary"
5347 { echo "$as_me:$LINENO: result
: $wxUSE_UNIVERSAL_BINARY" >&5
5348 echo "${ECHO_T}$wxUSE_UNIVERSAL_BINARY" >&6; }
5354 if test -z "$defaultval"; then
5355 if test x"$enablestring" = xdisable; then
5362 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-compat26" >&5
5363 echo $ECHO_N "checking
for --${enablestring:-enable}-compat26...
$ECHO_C" >&6; }
5364 # Check whether --enable-compat26 was given.
5365 if test "${enable_compat26+set}" = set; then
5366 enableval=$enable_compat26;
5367 if test "$enableval" = yes; then
5368 wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=yes'
5370 wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=no'
5375 wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=${'DEFAULT_WXWIN_COMPATIBILITY_2_6":-$defaultval}"
5380 eval "$wx_cv_use_compat26"
5382 if test x
"$enablestring" = xdisable
; then
5383 if test $WXWIN_COMPATIBILITY_2_6 = yes; then
5389 result
=$WXWIN_COMPATIBILITY_2_6
5392 { echo "$as_me:$LINENO: result: $result" >&5
5393 echo "${ECHO_T}$result" >&6; }
5396 enablestring
=disable
5398 if test -z "$defaultval"; then
5399 if test x
"$enablestring" = xdisable
; then
5406 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat28" >&5
5407 echo $ECHO_N "checking for --${enablestring:-enable}-compat28... $ECHO_C" >&6; }
5408 # Check whether --enable-compat28 was given.
5409 if test "${enable_compat28+set}" = set; then
5410 enableval
=$enable_compat28;
5411 if test "$enableval" = yes; then
5412 wx_cv_use_compat28
='WXWIN_COMPATIBILITY_2_8=yes'
5414 wx_cv_use_compat28
='WXWIN_COMPATIBILITY_2_8=no'
5419 wx_cv_use_compat28
='WXWIN_COMPATIBILITY_2_8=${'DEFAULT_WXWIN_COMPATIBILITY_2_8":-$defaultval}"
5424 eval "$wx_cv_use_compat28"
5426 if test x"$enablestring" = xdisable; then
5427 if test $WXWIN_COMPATIBILITY_2_8 = yes; then
5433 result=$WXWIN_COMPATIBILITY_2_8
5436 { echo "$as_me:$LINENO: result: $result" >&5
5437 echo "${ECHO_T}$result" >&6; }
5441 enablestring=disable
5443 if test -z "$defaultval"; then
5444 if test x"$enablestring" = xdisable; then
5451 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-rpath" >&5
5452 echo $ECHO_N "checking for --${enablestring:-enable}-rpath... $ECHO_C" >&6; }
5453 # Check whether --enable-rpath was given.
5454 if test "${enable_rpath+set}" = set; then
5455 enableval=$enable_rpath;
5456 if test "$enableval" = yes; then
5457 wx_cv_use_rpath='wxUSE_RPATH
=yes'
5459 wx_cv_use_rpath='wxUSE_RPATH
=no
'
5464 wx_cv_use_rpath='wxUSE_RPATH
=${'DEFAULT_wxUSE_RPATH":-$defaultval}"
5469 eval "$wx_cv_use_rpath"
5471 if test x"$enablestring" = xdisable; then
5472 if test $wxUSE_RPATH = yes; then
5481 { echo "$as_me:$LINENO: result
: $result" >&5
5482 echo "${ECHO_T}$result" >&6; }
5488 if test -z "$defaultval"; then
5489 if test x"$enablestring" = xdisable; then
5496 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-objc_uniquifying" >&5
5497 echo $ECHO_N "checking
for --${enablestring:-enable}-objc_uniquifying...
$ECHO_C" >&6; }
5498 # Check whether --enable-objc_uniquifying was given.
5499 if test "${enable_objc_uniquifying+set}" = set; then
5500 enableval=$enable_objc_uniquifying;
5501 if test "$enableval" = yes; then
5502 wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING=yes'
5504 wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING=no'
5509 wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING=${'DEFAULT_wxUSE_OBJC_UNIQUIFYING":-$defaultval}"
5514 eval "$wx_cv_use_objc_uniquifying"
5516 if test x
"$enablestring" = xdisable
; then
5517 if test $wxUSE_OBJC_UNIQUIFYING = yes; then
5523 result
=$wxUSE_OBJC_UNIQUIFYING
5526 { echo "$as_me:$LINENO: result: $result" >&5
5527 echo "${ECHO_T}$result" >&6; }
5531 enablestring
=disable
5533 if test -z "$defaultval"; then
5534 if test x
"$enablestring" = xdisable
; then
5541 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-visibility" >&5
5542 echo $ECHO_N "checking for --${enablestring:-enable}-visibility... $ECHO_C" >&6; }
5543 # Check whether --enable-visibility was given.
5544 if test "${enable_visibility+set}" = set; then
5545 enableval
=$enable_visibility;
5546 if test "$enableval" = yes; then
5547 wx_cv_use_visibility
='wxUSE_VISIBILITY=yes'
5549 wx_cv_use_visibility
='wxUSE_VISIBILITY=no'
5554 wx_cv_use_visibility
='wxUSE_VISIBILITY=${'DEFAULT_wxUSE_VISIBILITY":-$defaultval}"
5559 eval "$wx_cv_use_visibility"
5561 if test x"$enablestring" = xdisable; then
5562 if test $wxUSE_VISIBILITY = yes; then
5568 result=$wxUSE_VISIBILITY
5571 { echo "$as_me:$LINENO: result: $result" >&5
5572 echo "${ECHO_T}$result" >&6; }
5578 defaultval=$wxUSE_ALL_FEATURES
5579 if test -z "$defaultval"; then
5580 if test x"$enablestring" = xdisable; then
5587 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-intl" >&5
5588 echo $ECHO_N "checking for --${enablestring:-enable}-intl... $ECHO_C" >&6; }
5589 # Check whether --enable-intl was given.
5590 if test "${enable_intl+set}" = set; then
5591 enableval=$enable_intl;
5592 if test "$enableval" = yes; then
5593 wx_cv_use_intl='wxUSE_INTL
=yes'
5595 wx_cv_use_intl='wxUSE_INTL
=no
'
5600 wx_cv_use_intl='wxUSE_INTL
=${'DEFAULT_wxUSE_INTL":-$defaultval}"
5605 eval "$wx_cv_use_intl"
5607 if test x"$enablestring" = xdisable; then
5608 if test $wxUSE_INTL = yes; then
5617 { echo "$as_me:$LINENO: result
: $result" >&5
5618 echo "${ECHO_T}$result" >&6; }
5622 defaultval=$wxUSE_ALL_FEATURES
5623 if test -z "$defaultval"; then
5624 if test x"$enablestring" = xdisable; then
5631 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-xlocale" >&5
5632 echo $ECHO_N "checking
for --${enablestring:-enable}-xlocale...
$ECHO_C" >&6; }
5633 # Check whether --enable-xlocale was given.
5634 if test "${enable_xlocale+set}" = set; then
5635 enableval=$enable_xlocale;
5636 if test "$enableval" = yes; then
5637 wx_cv_use_xlocale='wxUSE_XLOCALE=yes'
5639 wx_cv_use_xlocale='wxUSE_XLOCALE=no'
5644 wx_cv_use_xlocale='wxUSE_XLOCALE=${'DEFAULT_wxUSE_XLOCALE":-$defaultval}"
5649 eval "$wx_cv_use_xlocale"
5651 if test x
"$enablestring" = xdisable
; then
5652 if test $wxUSE_XLOCALE = yes; then
5658 result
=$wxUSE_XLOCALE
5661 { echo "$as_me:$LINENO: result: $result" >&5
5662 echo "${ECHO_T}$result" >&6; }
5666 defaultval
=$wxUSE_ALL_FEATURES
5667 if test -z "$defaultval"; then
5668 if test x
"$enablestring" = xdisable
; then
5675 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-config" >&5
5676 echo $ECHO_N "checking for --${enablestring:-enable}-config... $ECHO_C" >&6; }
5677 # Check whether --enable-config was given.
5678 if test "${enable_config+set}" = set; then
5679 enableval
=$enable_config;
5680 if test "$enableval" = yes; then
5681 wx_cv_use_config
='wxUSE_CONFIG=yes'
5683 wx_cv_use_config
='wxUSE_CONFIG=no'
5688 wx_cv_use_config
='wxUSE_CONFIG=${'DEFAULT_wxUSE_CONFIG":-$defaultval}"
5693 eval "$wx_cv_use_config"
5695 if test x"$enablestring" = xdisable; then
5696 if test $wxUSE_CONFIG = yes; then
5702 result=$wxUSE_CONFIG
5705 { echo "$as_me:$LINENO: result: $result" >&5
5706 echo "${ECHO_T}$result" >&6; }
5711 defaultval=$wxUSE_ALL_FEATURES
5712 if test -z "$defaultval"; then
5713 if test x"$enablestring" = xdisable; then
5720 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocols" >&5
5721 echo $ECHO_N "checking for --${enablestring:-enable}-protocols... $ECHO_C" >&6; }
5722 # Check whether --enable-protocols was given.
5723 if test "${enable_protocols+set}" = set; then
5724 enableval=$enable_protocols;
5725 if test "$enableval" = yes; then
5726 wx_cv_use_protocols='wxUSE_PROTOCOL
=yes'
5728 wx_cv_use_protocols='wxUSE_PROTOCOL
=no
'
5733 wx_cv_use_protocols='wxUSE_PROTOCOL
=${'DEFAULT_wxUSE_PROTOCOL":-$defaultval}"
5738 eval "$wx_cv_use_protocols"
5740 if test x"$enablestring" = xdisable; then
5741 if test $wxUSE_PROTOCOL = yes; then
5747 result=$wxUSE_PROTOCOL
5750 { echo "$as_me:$LINENO: result
: $result" >&5
5751 echo "${ECHO_T}$result" >&6; }
5755 defaultval=$wxUSE_ALL_FEATURES
5756 if test -z "$defaultval"; then
5757 if test x"$enablestring" = xdisable; then
5764 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-ftp" >&5
5765 echo $ECHO_N "checking
for --${enablestring:-enable}-ftp...
$ECHO_C" >&6; }
5766 # Check whether --enable-ftp was given.
5767 if test "${enable_ftp+set}" = set; then
5768 enableval=$enable_ftp;
5769 if test "$enableval" = yes; then
5770 wx_cv_use_ftp='wxUSE_PROTOCOL_FTP=yes'
5772 wx_cv_use_ftp='wxUSE_PROTOCOL_FTP=no'
5777 wx_cv_use_ftp='wxUSE_PROTOCOL_FTP=${'DEFAULT_wxUSE_PROTOCOL_FTP":-$defaultval}"
5782 eval "$wx_cv_use_ftp"
5784 if test x
"$enablestring" = xdisable
; then
5785 if test $wxUSE_PROTOCOL_FTP = yes; then
5791 result
=$wxUSE_PROTOCOL_FTP
5794 { echo "$as_me:$LINENO: result: $result" >&5
5795 echo "${ECHO_T}$result" >&6; }
5799 defaultval
=$wxUSE_ALL_FEATURES
5800 if test -z "$defaultval"; then
5801 if test x
"$enablestring" = xdisable
; then
5808 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-http" >&5
5809 echo $ECHO_N "checking for --${enablestring:-enable}-http... $ECHO_C" >&6; }
5810 # Check whether --enable-http was given.
5811 if test "${enable_http+set}" = set; then
5812 enableval
=$enable_http;
5813 if test "$enableval" = yes; then
5814 wx_cv_use_http
='wxUSE_PROTOCOL_HTTP=yes'
5816 wx_cv_use_http
='wxUSE_PROTOCOL_HTTP=no'
5821 wx_cv_use_http
='wxUSE_PROTOCOL_HTTP=${'DEFAULT_wxUSE_PROTOCOL_HTTP":-$defaultval}"
5826 eval "$wx_cv_use_http"
5828 if test x"$enablestring" = xdisable; then
5829 if test $wxUSE_PROTOCOL_HTTP = yes; then
5835 result=$wxUSE_PROTOCOL_HTTP
5838 { echo "$as_me:$LINENO: result: $result" >&5
5839 echo "${ECHO_T}$result" >&6; }
5843 defaultval=$wxUSE_ALL_FEATURES
5844 if test -z "$defaultval"; then
5845 if test x"$enablestring" = xdisable; then
5852 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fileproto" >&5
5853 echo $ECHO_N "checking for --${enablestring:-enable}-fileproto... $ECHO_C" >&6; }
5854 # Check whether --enable-fileproto was given.
5855 if test "${enable_fileproto+set}" = set; then
5856 enableval=$enable_fileproto;
5857 if test "$enableval" = yes; then
5858 wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE
=yes'
5860 wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE
=no
'
5865 wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE
=${'DEFAULT_wxUSE_PROTOCOL_FILE":-$defaultval}"
5870 eval "$wx_cv_use_fileproto"
5872 if test x"$enablestring" = xdisable; then
5873 if test $wxUSE_PROTOCOL_FILE = yes; then
5879 result=$wxUSE_PROTOCOL_FILE
5882 { echo "$as_me:$LINENO: result
: $result" >&5
5883 echo "${ECHO_T}$result" >&6; }
5887 defaultval=$wxUSE_ALL_FEATURES
5888 if test -z "$defaultval"; then
5889 if test x"$enablestring" = xdisable; then
5896 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-sockets" >&5
5897 echo $ECHO_N "checking
for --${enablestring:-enable}-sockets...
$ECHO_C" >&6; }
5898 # Check whether --enable-sockets was given.
5899 if test "${enable_sockets+set}" = set; then
5900 enableval=$enable_sockets;
5901 if test "$enableval" = yes; then
5902 wx_cv_use_sockets='wxUSE_SOCKETS=yes'
5904 wx_cv_use_sockets='wxUSE_SOCKETS=no'
5909 wx_cv_use_sockets='wxUSE_SOCKETS=${'DEFAULT_wxUSE_SOCKETS":-$defaultval}"
5914 eval "$wx_cv_use_sockets"
5916 if test x
"$enablestring" = xdisable
; then
5917 if test $wxUSE_SOCKETS = yes; then
5923 result
=$wxUSE_SOCKETS
5926 { echo "$as_me:$LINENO: result: $result" >&5
5927 echo "${ECHO_T}$result" >&6; }
5931 defaultval
=$wxUSE_ALL_FEATURES
5932 if test -z "$defaultval"; then
5933 if test x
"$enablestring" = xdisable
; then
5940 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ipv6" >&5
5941 echo $ECHO_N "checking for --${enablestring:-enable}-ipv6... $ECHO_C" >&6; }
5942 # Check whether --enable-ipv6 was given.
5943 if test "${enable_ipv6+set}" = set; then
5944 enableval
=$enable_ipv6;
5945 if test "$enableval" = yes; then
5946 wx_cv_use_ipv6
='wxUSE_IPV6=yes'
5948 wx_cv_use_ipv6
='wxUSE_IPV6=no'
5953 wx_cv_use_ipv6
='wxUSE_IPV6=${'DEFAULT_wxUSE_IPV6":-$defaultval}"
5958 eval "$wx_cv_use_ipv6"
5960 if test x"$enablestring" = xdisable; then
5961 if test $wxUSE_IPV6 = yes; then
5970 { echo "$as_me:$LINENO: result: $result" >&5
5971 echo "${ECHO_T}$result" >&6; }
5975 defaultval=$wxUSE_ALL_FEATURES
5976 if test -z "$defaultval"; then
5977 if test x"$enablestring" = xdisable; then
5984 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ole" >&5
5985 echo $ECHO_N "checking for --${enablestring:-enable}-ole... $ECHO_C" >&6; }
5986 # Check whether --enable-ole was given.
5987 if test "${enable_ole+set}" = set; then
5988 enableval=$enable_ole;
5989 if test "$enableval" = yes; then
5990 wx_cv_use_ole='wxUSE_OLE
=yes'
5992 wx_cv_use_ole='wxUSE_OLE
=no
'
5997 wx_cv_use_ole='wxUSE_OLE
=${'DEFAULT_wxUSE_OLE":-$defaultval}"
6002 eval "$wx_cv_use_ole"
6004 if test x"$enablestring" = xdisable; then
6005 if test $wxUSE_OLE = yes; then
6014 { echo "$as_me:$LINENO: result
: $result" >&5
6015 echo "${ECHO_T}$result" >&6; }
6019 defaultval=$wxUSE_ALL_FEATURES
6020 if test -z "$defaultval"; then
6021 if test x"$enablestring" = xdisable; then
6028 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-dataobj" >&5
6029 echo $ECHO_N "checking
for --${enablestring:-enable}-dataobj...
$ECHO_C" >&6; }
6030 # Check whether --enable-dataobj was given.
6031 if test "${enable_dataobj+set}" = set; then
6032 enableval=$enable_dataobj;
6033 if test "$enableval" = yes; then
6034 wx_cv_use_dataobj='wxUSE_DATAOBJ=yes'
6036 wx_cv_use_dataobj='wxUSE_DATAOBJ=no'
6041 wx_cv_use_dataobj='wxUSE_DATAOBJ=${'DEFAULT_wxUSE_DATAOBJ":-$defaultval}"
6046 eval "$wx_cv_use_dataobj"
6048 if test x
"$enablestring" = xdisable
; then
6049 if test $wxUSE_DATAOBJ = yes; then
6055 result
=$wxUSE_DATAOBJ
6058 { echo "$as_me:$LINENO: result: $result" >&5
6059 echo "${ECHO_T}$result" >&6; }
6064 defaultval
=$wxUSE_ALL_FEATURES
6065 if test -z "$defaultval"; then
6066 if test x
"$enablestring" = xdisable
; then
6073 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ipc" >&5
6074 echo $ECHO_N "checking for --${enablestring:-enable}-ipc... $ECHO_C" >&6; }
6075 # Check whether --enable-ipc was given.
6076 if test "${enable_ipc+set}" = set; then
6077 enableval
=$enable_ipc;
6078 if test "$enableval" = yes; then
6079 wx_cv_use_ipc
='wxUSE_IPC=yes'
6081 wx_cv_use_ipc
='wxUSE_IPC=no'
6086 wx_cv_use_ipc
='wxUSE_IPC=${'DEFAULT_wxUSE_IPC":-$defaultval}"
6091 eval "$wx_cv_use_ipc"
6093 if test x"$enablestring" = xdisable; then
6094 if test $wxUSE_IPC = yes; then
6103 { echo "$as_me:$LINENO: result: $result" >&5
6104 echo "${ECHO_T}$result" >&6; }
6109 defaultval=$wxUSE_ALL_FEATURES
6110 if test -z "$defaultval"; then
6111 if test x"$enablestring" = xdisable; then
6118 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-baseevtloop" >&5
6119 echo $ECHO_N "checking for --${enablestring:-enable}-baseevtloop... $ECHO_C" >&6; }
6120 # Check whether --enable-baseevtloop was given.
6121 if test "${enable_baseevtloop+set}" = set; then
6122 enableval=$enable_baseevtloop;
6123 if test "$enableval" = yes; then
6124 wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP
=yes'
6126 wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP
=no
'
6131 wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP
=${'DEFAULT_wxUSE_CONSOLE_EVENTLOOP":-$defaultval}"
6136 eval "$wx_cv_use_baseevtloop"
6138 if test x"$enablestring" = xdisable; then
6139 if test $wxUSE_CONSOLE_EVENTLOOP = yes; then
6145 result=$wxUSE_CONSOLE_EVENTLOOP
6148 { echo "$as_me:$LINENO: result
: $result" >&5
6149 echo "${ECHO_T}$result" >&6; }
6153 defaultval=$wxUSE_ALL_FEATURES
6154 if test -z "$defaultval"; then
6155 if test x"$enablestring" = xdisable; then
6162 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-epollloop" >&5
6163 echo $ECHO_N "checking
for --${enablestring:-enable}-epollloop...
$ECHO_C" >&6; }
6164 # Check whether --enable-epollloop was given.
6165 if test "${enable_epollloop+set}" = set; then
6166 enableval=$enable_epollloop;
6167 if test "$enableval" = yes; then
6168 wx_cv_use_epollloop='wxUSE_EPOLL_DISPATCHER=yes'
6170 wx_cv_use_epollloop='wxUSE_EPOLL_DISPATCHER=no'
6175 wx_cv_use_epollloop='wxUSE_EPOLL_DISPATCHER=${'DEFAULT_wxUSE_EPOLL_DISPATCHER":-$defaultval}"
6180 eval "$wx_cv_use_epollloop"
6182 if test x
"$enablestring" = xdisable
; then
6183 if test $wxUSE_EPOLL_DISPATCHER = yes; then
6189 result
=$wxUSE_EPOLL_DISPATCHER
6192 { echo "$as_me:$LINENO: result: $result" >&5
6193 echo "${ECHO_T}$result" >&6; }
6197 defaultval
=$wxUSE_ALL_FEATURES
6198 if test -z "$defaultval"; then
6199 if test x
"$enablestring" = xdisable
; then
6206 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-selectloop" >&5
6207 echo $ECHO_N "checking for --${enablestring:-enable}-selectloop... $ECHO_C" >&6; }
6208 # Check whether --enable-selectloop was given.
6209 if test "${enable_selectloop+set}" = set; then
6210 enableval
=$enable_selectloop;
6211 if test "$enableval" = yes; then
6212 wx_cv_use_selectloop
='wxUSE_SELECT_DISPATCHER=yes'
6214 wx_cv_use_selectloop
='wxUSE_SELECT_DISPATCHER=no'
6219 wx_cv_use_selectloop
='wxUSE_SELECT_DISPATCHER=${'DEFAULT_wxUSE_SELECT_DISPATCHER":-$defaultval}"
6224 eval "$wx_cv_use_selectloop"
6226 if test x"$enablestring" = xdisable; then
6227 if test $wxUSE_SELECT_DISPATCHER = yes; then
6233 result=$wxUSE_SELECT_DISPATCHER
6236 { echo "$as_me:$LINENO: result: $result" >&5
6237 echo "${ECHO_T}$result" >&6; }
6242 defaultval=$wxUSE_ALL_FEATURES
6243 if test -z "$defaultval"; then
6244 if test x"$enablestring" = xdisable; then
6251 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-apple_ieee" >&5
6252 echo $ECHO_N "checking for --${enablestring:-enable}-apple_ieee... $ECHO_C" >&6; }
6253 # Check whether --enable-apple_ieee was given.
6254 if test "${enable_apple_ieee+set}" = set; then
6255 enableval=$enable_apple_ieee;
6256 if test "$enableval" = yes; then
6257 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE
=yes'
6259 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE
=no
'
6264 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE
=${'DEFAULT_wxUSE_APPLE_IEEE":-$defaultval}"
6269 eval "$wx_cv_use_apple_ieee"
6271 if test x"$enablestring" = xdisable; then
6272 if test $wxUSE_APPLE_IEEE = yes; then
6278 result=$wxUSE_APPLE_IEEE
6281 { echo "$as_me:$LINENO: result
: $result" >&5
6282 echo "${ECHO_T}$result" >&6; }
6286 defaultval=$wxUSE_ALL_FEATURES
6287 if test -z "$defaultval"; then
6288 if test x"$enablestring" = xdisable; then
6295 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-arcstream" >&5
6296 echo $ECHO_N "checking
for --${enablestring:-enable}-arcstream...
$ECHO_C" >&6; }
6297 # Check whether --enable-arcstream was given.
6298 if test "${enable_arcstream+set}" = set; then
6299 enableval=$enable_arcstream;
6300 if test "$enableval" = yes; then
6301 wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=yes'
6303 wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=no'
6308 wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=${'DEFAULT_wxUSE_ARCHIVE_STREAMS":-$defaultval}"
6313 eval "$wx_cv_use_arcstream"
6315 if test x
"$enablestring" = xdisable
; then
6316 if test $wxUSE_ARCHIVE_STREAMS = yes; then
6322 result
=$wxUSE_ARCHIVE_STREAMS
6325 { echo "$as_me:$LINENO: result: $result" >&5
6326 echo "${ECHO_T}$result" >&6; }
6330 defaultval
=$wxUSE_ALL_FEATURES
6331 if test -z "$defaultval"; then
6332 if test x
"$enablestring" = xdisable
; then
6339 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-base64" >&5
6340 echo $ECHO_N "checking for --${enablestring:-enable}-base64... $ECHO_C" >&6; }
6341 # Check whether --enable-base64 was given.
6342 if test "${enable_base64+set}" = set; then
6343 enableval
=$enable_base64;
6344 if test "$enableval" = yes; then
6345 wx_cv_use_base64
='wxUSE_BASE64=yes'
6347 wx_cv_use_base64
='wxUSE_BASE64=no'
6352 wx_cv_use_base64
='wxUSE_BASE64=${'DEFAULT_wxUSE_BASE64":-$defaultval}"
6357 eval "$wx_cv_use_base64"
6359 if test x"$enablestring" = xdisable; then
6360 if test $wxUSE_BASE64 = yes; then
6366 result=$wxUSE_BASE64
6369 { echo "$as_me:$LINENO: result: $result" >&5
6370 echo "${ECHO_T}$result" >&6; }
6374 defaultval=$wxUSE_ALL_FEATURES
6375 if test -z "$defaultval"; then
6376 if test x"$enablestring" = xdisable; then
6383 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-backtrace" >&5
6384 echo $ECHO_N "checking for --${enablestring:-enable}-backtrace... $ECHO_C" >&6; }
6385 # Check whether --enable-backtrace was given.
6386 if test "${enable_backtrace+set}" = set; then
6387 enableval=$enable_backtrace;
6388 if test "$enableval" = yes; then
6389 wx_cv_use_backtrace='wxUSE_STACKWALKER
=yes'
6391 wx_cv_use_backtrace='wxUSE_STACKWALKER
=no
'
6396 wx_cv_use_backtrace='wxUSE_STACKWALKER
=${'DEFAULT_wxUSE_STACKWALKER":-$defaultval}"
6401 eval "$wx_cv_use_backtrace"
6403 if test x"$enablestring" = xdisable; then
6404 if test $wxUSE_STACKWALKER = yes; then
6410 result=$wxUSE_STACKWALKER
6413 { echo "$as_me:$LINENO: result
: $result" >&5
6414 echo "${ECHO_T}$result" >&6; }
6418 defaultval=$wxUSE_ALL_FEATURES
6419 if test -z "$defaultval"; then
6420 if test x"$enablestring" = xdisable; then
6427 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-catch_segvs" >&5
6428 echo $ECHO_N "checking
for --${enablestring:-enable}-catch_segvs...
$ECHO_C" >&6; }
6429 # Check whether --enable-catch_segvs was given.
6430 if test "${enable_catch_segvs+set}" = set; then
6431 enableval=$enable_catch_segvs;
6432 if test "$enableval" = yes; then
6433 wx_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=yes'
6435 wx_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=no'
6440 wx_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=${'DEFAULT_wxUSE_ON_FATAL_EXCEPTION":-$defaultval}"
6445 eval "$wx_cv_use_catch_segvs"
6447 if test x
"$enablestring" = xdisable
; then
6448 if test $wxUSE_ON_FATAL_EXCEPTION = yes; then
6454 result
=$wxUSE_ON_FATAL_EXCEPTION
6457 { echo "$as_me:$LINENO: result: $result" >&5
6458 echo "${ECHO_T}$result" >&6; }
6462 defaultval
=$wxUSE_ALL_FEATURES
6463 if test -z "$defaultval"; then
6464 if test x
"$enablestring" = xdisable
; then
6471 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-cmdline" >&5
6472 echo $ECHO_N "checking for --${enablestring:-enable}-cmdline... $ECHO_C" >&6; }
6473 # Check whether --enable-cmdline was given.
6474 if test "${enable_cmdline+set}" = set; then
6475 enableval
=$enable_cmdline;
6476 if test "$enableval" = yes; then
6477 wx_cv_use_cmdline
='wxUSE_CMDLINE_PARSER=yes'
6479 wx_cv_use_cmdline
='wxUSE_CMDLINE_PARSER=no'
6484 wx_cv_use_cmdline
='wxUSE_CMDLINE_PARSER=${'DEFAULT_wxUSE_CMDLINE_PARSER":-$defaultval}"
6489 eval "$wx_cv_use_cmdline"
6491 if test x"$enablestring" = xdisable; then
6492 if test $wxUSE_CMDLINE_PARSER = yes; then
6498 result=$wxUSE_CMDLINE_PARSER
6501 { echo "$as_me:$LINENO: result: $result" >&5
6502 echo "${ECHO_T}$result" >&6; }
6506 defaultval=$wxUSE_ALL_FEATURES
6507 if test -z "$defaultval"; then
6508 if test x"$enablestring" = xdisable; then
6515 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datetime" >&5
6516 echo $ECHO_N "checking for --${enablestring:-enable}-datetime... $ECHO_C" >&6; }
6517 # Check whether --enable-datetime was given.
6518 if test "${enable_datetime+set}" = set; then
6519 enableval=$enable_datetime;
6520 if test "$enableval" = yes; then
6521 wx_cv_use_datetime='wxUSE_DATETIME
=yes'
6523 wx_cv_use_datetime='wxUSE_DATETIME
=no
'
6528 wx_cv_use_datetime='wxUSE_DATETIME
=${'DEFAULT_wxUSE_DATETIME":-$defaultval}"
6533 eval "$wx_cv_use_datetime"
6535 if test x"$enablestring" = xdisable; then
6536 if test $wxUSE_DATETIME = yes; then
6542 result=$wxUSE_DATETIME
6545 { echo "$as_me:$LINENO: result
: $result" >&5
6546 echo "${ECHO_T}$result" >&6; }
6550 defaultval=$wxUSE_ALL_FEATURES
6551 if test -z "$defaultval"; then
6552 if test x"$enablestring" = xdisable; then
6559 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-debugreport" >&5
6560 echo $ECHO_N "checking
for --${enablestring:-enable}-debugreport...
$ECHO_C" >&6; }
6561 # Check whether --enable-debugreport was given.
6562 if test "${enable_debugreport+set}" = set; then
6563 enableval=$enable_debugreport;
6564 if test "$enableval" = yes; then
6565 wx_cv_use_debugreport='wxUSE_DEBUGREPORT=yes'
6567 wx_cv_use_debugreport='wxUSE_DEBUGREPORT=no'
6572 wx_cv_use_debugreport='wxUSE_DEBUGREPORT=${'DEFAULT_wxUSE_DEBUGREPORT":-$defaultval}"
6577 eval "$wx_cv_use_debugreport"
6579 if test x
"$enablestring" = xdisable
; then
6580 if test $wxUSE_DEBUGREPORT = yes; then
6586 result
=$wxUSE_DEBUGREPORT
6589 { echo "$as_me:$LINENO: result: $result" >&5
6590 echo "${ECHO_T}$result" >&6; }
6594 defaultval
=$wxUSE_ALL_FEATURES
6595 if test -z "$defaultval"; then
6596 if test x
"$enablestring" = xdisable
; then
6603 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dialupman" >&5
6604 echo $ECHO_N "checking for --${enablestring:-enable}-dialupman... $ECHO_C" >&6; }
6605 # Check whether --enable-dialupman was given.
6606 if test "${enable_dialupman+set}" = set; then
6607 enableval
=$enable_dialupman;
6608 if test "$enableval" = yes; then
6609 wx_cv_use_dialupman
='wxUSE_DIALUP_MANAGER=yes'
6611 wx_cv_use_dialupman
='wxUSE_DIALUP_MANAGER=no'
6616 wx_cv_use_dialupman
='wxUSE_DIALUP_MANAGER=${'DEFAULT_wxUSE_DIALUP_MANAGER":-$defaultval}"
6621 eval "$wx_cv_use_dialupman"
6623 if test x"$enablestring" = xdisable; then
6624 if test $wxUSE_DIALUP_MANAGER = yes; then
6630 result=$wxUSE_DIALUP_MANAGER
6633 { echo "$as_me:$LINENO: result: $result" >&5
6634 echo "${ECHO_T}$result" >&6; }
6638 defaultval=$wxUSE_ALL_FEATURES
6639 if test -z "$defaultval"; then
6640 if test x"$enablestring" = xdisable; then
6647 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynlib" >&5
6648 echo $ECHO_N "checking for --${enablestring:-enable}-dynlib... $ECHO_C" >&6; }
6649 # Check whether --enable-dynlib was given.
6650 if test "${enable_dynlib+set}" = set; then
6651 enableval=$enable_dynlib;
6652 if test "$enableval" = yes; then
6653 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS
=yes'
6655 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS
=no
'
6660 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS
=${'DEFAULT_wxUSE_DYNLIB_CLASS":-$defaultval}"
6665 eval "$wx_cv_use_dynlib"
6667 if test x"$enablestring" = xdisable; then
6668 if test $wxUSE_DYNLIB_CLASS = yes; then
6674 result=$wxUSE_DYNLIB_CLASS
6677 { echo "$as_me:$LINENO: result
: $result" >&5
6678 echo "${ECHO_T}$result" >&6; }
6682 defaultval=$wxUSE_ALL_FEATURES
6683 if test -z "$defaultval"; then
6684 if test x"$enablestring" = xdisable; then
6691 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-dynamicloader" >&5
6692 echo $ECHO_N "checking
for --${enablestring:-enable}-dynamicloader...
$ECHO_C" >&6; }
6693 # Check whether --enable-dynamicloader was given.
6694 if test "${enable_dynamicloader+set}" = set; then
6695 enableval=$enable_dynamicloader;
6696 if test "$enableval" = yes; then
6697 wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=yes'
6699 wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=no'
6704 wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=${'DEFAULT_wxUSE_DYNAMIC_LOADER":-$defaultval}"
6709 eval "$wx_cv_use_dynamicloader"
6711 if test x
"$enablestring" = xdisable
; then
6712 if test $wxUSE_DYNAMIC_LOADER = yes; then
6718 result
=$wxUSE_DYNAMIC_LOADER
6721 { echo "$as_me:$LINENO: result: $result" >&5
6722 echo "${ECHO_T}$result" >&6; }
6726 defaultval
=$wxUSE_ALL_FEATURES
6727 if test -z "$defaultval"; then
6728 if test x
"$enablestring" = xdisable
; then
6735 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-exceptions" >&5
6736 echo $ECHO_N "checking for --${enablestring:-enable}-exceptions... $ECHO_C" >&6; }
6737 # Check whether --enable-exceptions was given.
6738 if test "${enable_exceptions+set}" = set; then
6739 enableval
=$enable_exceptions;
6740 if test "$enableval" = yes; then
6741 wx_cv_use_exceptions
='wxUSE_EXCEPTIONS=yes'
6743 wx_cv_use_exceptions
='wxUSE_EXCEPTIONS=no'
6748 wx_cv_use_exceptions
='wxUSE_EXCEPTIONS=${'DEFAULT_wxUSE_EXCEPTIONS":-$defaultval}"
6753 eval "$wx_cv_use_exceptions"
6755 if test x"$enablestring" = xdisable; then
6756 if test $wxUSE_EXCEPTIONS = yes; then
6762 result=$wxUSE_EXCEPTIONS
6765 { echo "$as_me:$LINENO: result: $result" >&5
6766 echo "${ECHO_T}$result" >&6; }
6770 defaultval=$wxUSE_ALL_FEATURES
6771 if test -z "$defaultval"; then
6772 if test x"$enablestring" = xdisable; then
6779 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ffile" >&5
6780 echo $ECHO_N "checking for --${enablestring:-enable}-ffile... $ECHO_C" >&6; }
6781 # Check whether --enable-ffile was given.
6782 if test "${enable_ffile+set}" = set; then
6783 enableval=$enable_ffile;
6784 if test "$enableval" = yes; then
6785 wx_cv_use_ffile='wxUSE_FFILE
=yes'
6787 wx_cv_use_ffile='wxUSE_FFILE
=no
'
6792 wx_cv_use_ffile='wxUSE_FFILE
=${'DEFAULT_wxUSE_FFILE":-$defaultval}"
6797 eval "$wx_cv_use_ffile"
6799 if test x"$enablestring" = xdisable; then
6800 if test $wxUSE_FFILE = yes; then
6809 { echo "$as_me:$LINENO: result
: $result" >&5
6810 echo "${ECHO_T}$result" >&6; }
6814 defaultval=$wxUSE_ALL_FEATURES
6815 if test -z "$defaultval"; then
6816 if test x"$enablestring" = xdisable; then
6823 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-file" >&5
6824 echo $ECHO_N "checking
for --${enablestring:-enable}-file...
$ECHO_C" >&6; }
6825 # Check whether --enable-file was given.
6826 if test "${enable_file+set}" = set; then
6827 enableval=$enable_file;
6828 if test "$enableval" = yes; then
6829 wx_cv_use_file='wxUSE_FILE=yes'
6831 wx_cv_use_file='wxUSE_FILE=no'
6836 wx_cv_use_file='wxUSE_FILE=${'DEFAULT_wxUSE_FILE":-$defaultval}"
6841 eval "$wx_cv_use_file"
6843 if test x
"$enablestring" = xdisable
; then
6844 if test $wxUSE_FILE = yes; then
6853 { echo "$as_me:$LINENO: result: $result" >&5
6854 echo "${ECHO_T}$result" >&6; }
6858 defaultval
=$wxUSE_ALL_FEATURES
6859 if test -z "$defaultval"; then
6860 if test x
"$enablestring" = xdisable
; then
6867 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filesystem" >&5
6868 echo $ECHO_N "checking for --${enablestring:-enable}-filesystem... $ECHO_C" >&6; }
6869 # Check whether --enable-filesystem was given.
6870 if test "${enable_filesystem+set}" = set; then
6871 enableval
=$enable_filesystem;
6872 if test "$enableval" = yes; then
6873 wx_cv_use_filesystem
='wxUSE_FILESYSTEM=yes'
6875 wx_cv_use_filesystem
='wxUSE_FILESYSTEM=no'
6880 wx_cv_use_filesystem
='wxUSE_FILESYSTEM=${'DEFAULT_wxUSE_FILESYSTEM":-$defaultval}"
6885 eval "$wx_cv_use_filesystem"
6887 if test x"$enablestring" = xdisable; then
6888 if test $wxUSE_FILESYSTEM = yes; then
6894 result=$wxUSE_FILESYSTEM
6897 { echo "$as_me:$LINENO: result: $result" >&5
6898 echo "${ECHO_T}$result" >&6; }
6902 defaultval=$wxUSE_ALL_FEATURES
6903 if test -z "$defaultval"; then
6904 if test x"$enablestring" = xdisable; then
6911 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontenum" >&5
6912 echo $ECHO_N "checking for --${enablestring:-enable}-fontenum... $ECHO_C" >&6; }
6913 # Check whether --enable-fontenum was given.
6914 if test "${enable_fontenum+set}" = set; then
6915 enableval=$enable_fontenum;
6916 if test "$enableval" = yes; then
6917 wx_cv_use_fontenum='wxUSE_FONTENUM
=yes'
6919 wx_cv_use_fontenum='wxUSE_FONTENUM
=no
'
6924 wx_cv_use_fontenum='wxUSE_FONTENUM
=${'DEFAULT_wxUSE_FONTENUM":-$defaultval}"
6929 eval "$wx_cv_use_fontenum"
6931 if test x"$enablestring" = xdisable; then
6932 if test $wxUSE_FONTENUM = yes; then
6938 result=$wxUSE_FONTENUM
6941 { echo "$as_me:$LINENO: result
: $result" >&5
6942 echo "${ECHO_T}$result" >&6; }
6946 defaultval=$wxUSE_ALL_FEATURES
6947 if test -z "$defaultval"; then
6948 if test x"$enablestring" = xdisable; then
6955 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-fontmap" >&5
6956 echo $ECHO_N "checking
for --${enablestring:-enable}-fontmap...
$ECHO_C" >&6; }
6957 # Check whether --enable-fontmap was given.
6958 if test "${enable_fontmap+set}" = set; then
6959 enableval=$enable_fontmap;
6960 if test "$enableval" = yes; then
6961 wx_cv_use_fontmap='wxUSE_FONTMAP=yes'
6963 wx_cv_use_fontmap='wxUSE_FONTMAP=no'
6968 wx_cv_use_fontmap='wxUSE_FONTMAP=${'DEFAULT_wxUSE_FONTMAP":-$defaultval}"
6973 eval "$wx_cv_use_fontmap"
6975 if test x
"$enablestring" = xdisable
; then
6976 if test $wxUSE_FONTMAP = yes; then
6982 result
=$wxUSE_FONTMAP
6985 { echo "$as_me:$LINENO: result: $result" >&5
6986 echo "${ECHO_T}$result" >&6; }
6990 defaultval
=$wxUSE_ALL_FEATURES
6991 if test -z "$defaultval"; then
6992 if test x
"$enablestring" = xdisable
; then
6999 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_archive" >&5
7000 echo $ECHO_N "checking for --${enablestring:-enable}-fs_archive... $ECHO_C" >&6; }
7001 # Check whether --enable-fs_archive was given.
7002 if test "${enable_fs_archive+set}" = set; then
7003 enableval
=$enable_fs_archive;
7004 if test "$enableval" = yes; then
7005 wx_cv_use_fs_archive
='wxUSE_FS_ARCHIVE=yes'
7007 wx_cv_use_fs_archive
='wxUSE_FS_ARCHIVE=no'
7012 wx_cv_use_fs_archive
='wxUSE_FS_ARCHIVE=${'DEFAULT_wxUSE_FS_ARCHIVE":-$defaultval}"
7017 eval "$wx_cv_use_fs_archive"
7019 if test x"$enablestring" = xdisable; then
7020 if test $wxUSE_FS_ARCHIVE = yes; then
7026 result=$wxUSE_FS_ARCHIVE
7029 { echo "$as_me:$LINENO: result: $result" >&5
7030 echo "${ECHO_T}$result" >&6; }
7034 defaultval=$wxUSE_ALL_FEATURES
7035 if test -z "$defaultval"; then
7036 if test x"$enablestring" = xdisable; then
7043 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_inet" >&5
7044 echo $ECHO_N "checking for --${enablestring:-enable}-fs_inet... $ECHO_C" >&6; }
7045 # Check whether --enable-fs_inet was given.
7046 if test "${enable_fs_inet+set}" = set; then
7047 enableval=$enable_fs_inet;
7048 if test "$enableval" = yes; then
7049 wx_cv_use_fs_inet='wxUSE_FS_INET
=yes'
7051 wx_cv_use_fs_inet='wxUSE_FS_INET
=no
'
7056 wx_cv_use_fs_inet='wxUSE_FS_INET
=${'DEFAULT_wxUSE_FS_INET":-$defaultval}"
7061 eval "$wx_cv_use_fs_inet"
7063 if test x"$enablestring" = xdisable; then
7064 if test $wxUSE_FS_INET = yes; then
7070 result=$wxUSE_FS_INET
7073 { echo "$as_me:$LINENO: result
: $result" >&5
7074 echo "${ECHO_T}$result" >&6; }
7078 defaultval=$wxUSE_ALL_FEATURES
7079 if test -z "$defaultval"; then
7080 if test x"$enablestring" = xdisable; then
7087 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-fs_zip" >&5
7088 echo $ECHO_N "checking
for --${enablestring:-enable}-fs_zip...
$ECHO_C" >&6; }
7089 # Check whether --enable-fs_zip was given.
7090 if test "${enable_fs_zip+set}" = set; then
7091 enableval=$enable_fs_zip;
7092 if test "$enableval" = yes; then
7093 wx_cv_use_fs_zip='wxUSE_FS_ZIP=yes'
7095 wx_cv_use_fs_zip='wxUSE_FS_ZIP=no'
7100 wx_cv_use_fs_zip='wxUSE_FS_ZIP=${'DEFAULT_wxUSE_FS_ZIP":-$defaultval}"
7105 eval "$wx_cv_use_fs_zip"
7107 if test x
"$enablestring" = xdisable
; then
7108 if test $wxUSE_FS_ZIP = yes; then
7114 result
=$wxUSE_FS_ZIP
7117 { echo "$as_me:$LINENO: result: $result" >&5
7118 echo "${ECHO_T}$result" >&6; }
7122 defaultval
=$wxUSE_ALL_FEATURES
7123 if test -z "$defaultval"; then
7124 if test x
"$enablestring" = xdisable
; then
7131 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-geometry" >&5
7132 echo $ECHO_N "checking for --${enablestring:-enable}-geometry... $ECHO_C" >&6; }
7133 # Check whether --enable-geometry was given.
7134 if test "${enable_geometry+set}" = set; then
7135 enableval
=$enable_geometry;
7136 if test "$enableval" = yes; then
7137 wx_cv_use_geometry
='wxUSE_GEOMETRY=yes'
7139 wx_cv_use_geometry
='wxUSE_GEOMETRY=no'
7144 wx_cv_use_geometry
='wxUSE_GEOMETRY=${'DEFAULT_wxUSE_GEOMETRY":-$defaultval}"
7149 eval "$wx_cv_use_geometry"
7151 if test x"$enablestring" = xdisable; then
7152 if test $wxUSE_GEOMETRY = yes; then
7158 result=$wxUSE_GEOMETRY
7161 { echo "$as_me:$LINENO: result: $result" >&5
7162 echo "${ECHO_T}$result" >&6; }
7166 defaultval=$wxUSE_ALL_FEATURES
7167 if test -z "$defaultval"; then
7168 if test x"$enablestring" = xdisable; then
7175 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-log" >&5
7176 echo $ECHO_N "checking for --${enablestring:-enable}-log... $ECHO_C" >&6; }
7177 # Check whether --enable-log was given.
7178 if test "${enable_log+set}" = set; then
7179 enableval=$enable_log;
7180 if test "$enableval" = yes; then
7181 wx_cv_use_log='wxUSE_LOG
=yes'
7183 wx_cv_use_log='wxUSE_LOG
=no
'
7188 wx_cv_use_log='wxUSE_LOG
=${'DEFAULT_wxUSE_LOG":-$defaultval}"
7193 eval "$wx_cv_use_log"
7195 if test x"$enablestring" = xdisable; then
7196 if test $wxUSE_LOG = yes; then
7205 { echo "$as_me:$LINENO: result
: $result" >&5
7206 echo "${ECHO_T}$result" >&6; }
7210 defaultval=$wxUSE_ALL_FEATURES
7211 if test -z "$defaultval"; then
7212 if test x"$enablestring" = xdisable; then
7219 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-longlong" >&5
7220 echo $ECHO_N "checking
for --${enablestring:-enable}-longlong...
$ECHO_C" >&6; }
7221 # Check whether --enable-longlong was given.
7222 if test "${enable_longlong+set}" = set; then
7223 enableval=$enable_longlong;
7224 if test "$enableval" = yes; then
7225 wx_cv_use_longlong='wxUSE_LONGLONG=yes'
7227 wx_cv_use_longlong='wxUSE_LONGLONG=no'
7232 wx_cv_use_longlong='wxUSE_LONGLONG=${'DEFAULT_wxUSE_LONGLONG":-$defaultval}"
7237 eval "$wx_cv_use_longlong"
7239 if test x
"$enablestring" = xdisable
; then
7240 if test $wxUSE_LONGLONG = yes; then
7246 result
=$wxUSE_LONGLONG
7249 { echo "$as_me:$LINENO: result: $result" >&5
7250 echo "${ECHO_T}$result" >&6; }
7254 defaultval
=$wxUSE_ALL_FEATURES
7255 if test -z "$defaultval"; then
7256 if test x
"$enablestring" = xdisable
; then
7263 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mimetype" >&5
7264 echo $ECHO_N "checking for --${enablestring:-enable}-mimetype... $ECHO_C" >&6; }
7265 # Check whether --enable-mimetype was given.
7266 if test "${enable_mimetype+set}" = set; then
7267 enableval
=$enable_mimetype;
7268 if test "$enableval" = yes; then
7269 wx_cv_use_mimetype
='wxUSE_MIMETYPE=yes'
7271 wx_cv_use_mimetype
='wxUSE_MIMETYPE=no'
7276 wx_cv_use_mimetype
='wxUSE_MIMETYPE=${'DEFAULT_wxUSE_MIMETYPE":-$defaultval}"
7281 eval "$wx_cv_use_mimetype"
7283 if test x"$enablestring" = xdisable; then
7284 if test $wxUSE_MIMETYPE = yes; then
7290 result=$wxUSE_MIMETYPE
7293 { echo "$as_me:$LINENO: result: $result" >&5
7294 echo "${ECHO_T}$result" >&6; }
7298 defaultval=$wxUSE_ALL_FEATURES
7299 if test -z "$defaultval"; then
7300 if test x"$enablestring" = xdisable; then
7307 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printfposparam" >&5
7308 echo $ECHO_N "checking for --${enablestring:-enable}-printfposparam... $ECHO_C" >&6; }
7309 # Check whether --enable-printfposparam was given.
7310 if test "${enable_printfposparam+set}" = set; then
7311 enableval=$enable_printfposparam;
7312 if test "$enableval" = yes; then
7313 wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS
=yes'
7315 wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS
=no
'
7320 wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS
=${'DEFAULT_wxUSE_PRINTF_POS_PARAMS":-$defaultval}"
7325 eval "$wx_cv_use_printfposparam"
7327 if test x"$enablestring" = xdisable; then
7328 if test $wxUSE_PRINTF_POS_PARAMS = yes; then
7334 result=$wxUSE_PRINTF_POS_PARAMS
7337 { echo "$as_me:$LINENO: result
: $result" >&5
7338 echo "${ECHO_T}$result" >&6; }
7342 defaultval=$wxUSE_ALL_FEATURES
7343 if test -z "$defaultval"; then
7344 if test x"$enablestring" = xdisable; then
7351 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-snglinst" >&5
7352 echo $ECHO_N "checking
for --${enablestring:-enable}-snglinst...
$ECHO_C" >&6; }
7353 # Check whether --enable-snglinst was given.
7354 if test "${enable_snglinst+set}" = set; then
7355 enableval=$enable_snglinst;
7356 if test "$enableval" = yes; then
7357 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=yes'
7359 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=no'
7364 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=${'DEFAULT_wxUSE_SNGLINST_CHECKER":-$defaultval}"
7369 eval "$wx_cv_use_snglinst"
7371 if test x
"$enablestring" = xdisable
; then
7372 if test $wxUSE_SNGLINST_CHECKER = yes; then
7378 result
=$wxUSE_SNGLINST_CHECKER
7381 { echo "$as_me:$LINENO: result: $result" >&5
7382 echo "${ECHO_T}$result" >&6; }
7386 defaultval
=$wxUSE_ALL_FEATURES
7387 if test -z "$defaultval"; then
7388 if test x
"$enablestring" = xdisable
; then
7395 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sound" >&5
7396 echo $ECHO_N "checking for --${enablestring:-enable}-sound... $ECHO_C" >&6; }
7397 # Check whether --enable-sound was given.
7398 if test "${enable_sound+set}" = set; then
7399 enableval
=$enable_sound;
7400 if test "$enableval" = yes; then
7401 wx_cv_use_sound
='wxUSE_SOUND=yes'
7403 wx_cv_use_sound
='wxUSE_SOUND=no'
7408 wx_cv_use_sound
='wxUSE_SOUND=${'DEFAULT_wxUSE_SOUND":-$defaultval}"
7413 eval "$wx_cv_use_sound"
7415 if test x"$enablestring" = xdisable; then
7416 if test $wxUSE_SOUND = yes; then
7425 { echo "$as_me:$LINENO: result: $result" >&5
7426 echo "${ECHO_T}$result" >&6; }
7430 defaultval=$wxUSE_ALL_FEATURES
7431 if test -z "$defaultval"; then
7432 if test x"$enablestring" = xdisable; then
7439 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stdpaths" >&5
7440 echo $ECHO_N "checking for --${enablestring:-enable}-stdpaths... $ECHO_C" >&6; }
7441 # Check whether --enable-stdpaths was given.
7442 if test "${enable_stdpaths+set}" = set; then
7443 enableval=$enable_stdpaths;
7444 if test "$enableval" = yes; then
7445 wx_cv_use_stdpaths='wxUSE_STDPATHS
=yes'
7447 wx_cv_use_stdpaths='wxUSE_STDPATHS
=no
'
7452 wx_cv_use_stdpaths='wxUSE_STDPATHS
=${'DEFAULT_wxUSE_STDPATHS":-$defaultval}"
7457 eval "$wx_cv_use_stdpaths"
7459 if test x"$enablestring" = xdisable; then
7460 if test $wxUSE_STDPATHS = yes; then
7466 result=$wxUSE_STDPATHS
7469 { echo "$as_me:$LINENO: result
: $result" >&5
7470 echo "${ECHO_T}$result" >&6; }
7474 defaultval=$wxUSE_ALL_FEATURES
7475 if test -z "$defaultval"; then
7476 if test x"$enablestring" = xdisable; then
7483 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-stopwatch" >&5
7484 echo $ECHO_N "checking
for --${enablestring:-enable}-stopwatch...
$ECHO_C" >&6; }
7485 # Check whether --enable-stopwatch was given.
7486 if test "${enable_stopwatch+set}" = set; then
7487 enableval=$enable_stopwatch;
7488 if test "$enableval" = yes; then
7489 wx_cv_use_stopwatch='wxUSE_STOPWATCH=yes'
7491 wx_cv_use_stopwatch='wxUSE_STOPWATCH=no'
7496 wx_cv_use_stopwatch='wxUSE_STOPWATCH=${'DEFAULT_wxUSE_STOPWATCH":-$defaultval}"
7501 eval "$wx_cv_use_stopwatch"
7503 if test x
"$enablestring" = xdisable
; then
7504 if test $wxUSE_STOPWATCH = yes; then
7510 result
=$wxUSE_STOPWATCH
7513 { echo "$as_me:$LINENO: result: $result" >&5
7514 echo "${ECHO_T}$result" >&6; }
7518 defaultval
=$wxUSE_ALL_FEATURES
7519 if test -z "$defaultval"; then
7520 if test x
"$enablestring" = xdisable
; then
7527 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-streams" >&5
7528 echo $ECHO_N "checking for --${enablestring:-enable}-streams... $ECHO_C" >&6; }
7529 # Check whether --enable-streams was given.
7530 if test "${enable_streams+set}" = set; then
7531 enableval
=$enable_streams;
7532 if test "$enableval" = yes; then
7533 wx_cv_use_streams
='wxUSE_STREAMS=yes'
7535 wx_cv_use_streams
='wxUSE_STREAMS=no'
7540 wx_cv_use_streams
='wxUSE_STREAMS=${'DEFAULT_wxUSE_STREAMS":-$defaultval}"
7545 eval "$wx_cv_use_streams"
7547 if test x"$enablestring" = xdisable; then
7548 if test $wxUSE_STREAMS = yes; then
7554 result=$wxUSE_STREAMS
7557 { echo "$as_me:$LINENO: result: $result" >&5
7558 echo "${ECHO_T}$result" >&6; }
7562 defaultval=$wxUSE_ALL_FEATURES
7563 if test -z "$defaultval"; then
7564 if test x"$enablestring" = xdisable; then
7571 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-system_options" >&5
7572 echo $ECHO_N "checking for --${enablestring:-enable}-system_options... $ECHO_C" >&6; }
7573 # Check whether --enable-system_options was given.
7574 if test "${enable_system_options+set}" = set; then
7575 enableval=$enable_system_options;
7576 if test "$enableval" = yes; then
7577 wx_cv_use_system_options='wxUSE_SYSTEM_OPTIONS
=yes'
7579 wx_cv_use_system_options='wxUSE_SYSTEM_OPTIONS
=no
'
7584 wx_cv_use_system_options='wxUSE_SYSTEM_OPTIONS
=${'DEFAULT_wxUSE_SYSTEM_OPTIONS":-$defaultval}"
7589 eval "$wx_cv_use_system_options"
7591 if test x"$enablestring" = xdisable; then
7592 if test $wxUSE_SYSTEM_OPTIONS = yes; then
7598 result=$wxUSE_SYSTEM_OPTIONS
7601 { echo "$as_me:$LINENO: result
: $result" >&5
7602 echo "${ECHO_T}$result" >&6; }
7606 defaultval=$wxUSE_ALL_FEATURES
7607 if test -z "$defaultval"; then
7608 if test x"$enablestring" = xdisable; then
7615 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-tarstream" >&5
7616 echo $ECHO_N "checking
for --${enablestring:-enable}-tarstream...
$ECHO_C" >&6; }
7617 # Check whether --enable-tarstream was given.
7618 if test "${enable_tarstream+set}" = set; then
7619 enableval=$enable_tarstream;
7620 if test "$enableval" = yes; then
7621 wx_cv_use_tarstream='wxUSE_TARSTREAM=yes'
7623 wx_cv_use_tarstream='wxUSE_TARSTREAM=no'
7628 wx_cv_use_tarstream='wxUSE_TARSTREAM=${'DEFAULT_wxUSE_TARSTREAM":-$defaultval}"
7633 eval "$wx_cv_use_tarstream"
7635 if test x
"$enablestring" = xdisable
; then
7636 if test $wxUSE_TARSTREAM = yes; then
7642 result
=$wxUSE_TARSTREAM
7645 { echo "$as_me:$LINENO: result: $result" >&5
7646 echo "${ECHO_T}$result" >&6; }
7650 defaultval
=$wxUSE_ALL_FEATURES
7651 if test -z "$defaultval"; then
7652 if test x
"$enablestring" = xdisable
; then
7659 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textbuf" >&5
7660 echo $ECHO_N "checking for --${enablestring:-enable}-textbuf... $ECHO_C" >&6; }
7661 # Check whether --enable-textbuf was given.
7662 if test "${enable_textbuf+set}" = set; then
7663 enableval
=$enable_textbuf;
7664 if test "$enableval" = yes; then
7665 wx_cv_use_textbuf
='wxUSE_TEXTBUFFER=yes'
7667 wx_cv_use_textbuf
='wxUSE_TEXTBUFFER=no'
7672 wx_cv_use_textbuf
='wxUSE_TEXTBUFFER=${'DEFAULT_wxUSE_TEXTBUFFER":-$defaultval}"
7677 eval "$wx_cv_use_textbuf"
7679 if test x"$enablestring" = xdisable; then
7680 if test $wxUSE_TEXTBUFFER = yes; then
7686 result=$wxUSE_TEXTBUFFER
7689 { echo "$as_me:$LINENO: result: $result" >&5
7690 echo "${ECHO_T}$result" >&6; }
7694 defaultval=$wxUSE_ALL_FEATURES
7695 if test -z "$defaultval"; then
7696 if test x"$enablestring" = xdisable; then
7703 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textfile" >&5
7704 echo $ECHO_N "checking for --${enablestring:-enable}-textfile... $ECHO_C" >&6; }
7705 # Check whether --enable-textfile was given.
7706 if test "${enable_textfile+set}" = set; then
7707 enableval=$enable_textfile;
7708 if test "$enableval" = yes; then
7709 wx_cv_use_textfile='wxUSE_TEXTFILE
=yes'
7711 wx_cv_use_textfile='wxUSE_TEXTFILE
=no
'
7716 wx_cv_use_textfile='wxUSE_TEXTFILE
=${'DEFAULT_wxUSE_TEXTFILE":-$defaultval}"
7721 eval "$wx_cv_use_textfile"
7723 if test x"$enablestring" = xdisable; then
7724 if test $wxUSE_TEXTFILE = yes; then
7730 result=$wxUSE_TEXTFILE
7733 { echo "$as_me:$LINENO: result
: $result" >&5
7734 echo "${ECHO_T}$result" >&6; }
7738 defaultval=$wxUSE_ALL_FEATURES
7739 if test -z "$defaultval"; then
7740 if test x"$enablestring" = xdisable; then
7747 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-timer" >&5
7748 echo $ECHO_N "checking
for --${enablestring:-enable}-timer...
$ECHO_C" >&6; }
7749 # Check whether --enable-timer was given.
7750 if test "${enable_timer+set}" = set; then
7751 enableval=$enable_timer;
7752 if test "$enableval" = yes; then
7753 wx_cv_use_timer='wxUSE_TIMER=yes'
7755 wx_cv_use_timer='wxUSE_TIMER=no'
7760 wx_cv_use_timer='wxUSE_TIMER=${'DEFAULT_wxUSE_TIMER":-$defaultval}"
7765 eval "$wx_cv_use_timer"
7767 if test x
"$enablestring" = xdisable
; then
7768 if test $wxUSE_TIMER = yes; then
7777 { echo "$as_me:$LINENO: result: $result" >&5
7778 echo "${ECHO_T}$result" >&6; }
7782 defaultval
=$wxUSE_ALL_FEATURES
7783 if test -z "$defaultval"; then
7784 if test x
"$enablestring" = xdisable
; then
7791 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-variant" >&5
7792 echo $ECHO_N "checking for --${enablestring:-enable}-variant... $ECHO_C" >&6; }
7793 # Check whether --enable-variant was given.
7794 if test "${enable_variant+set}" = set; then
7795 enableval
=$enable_variant;
7796 if test "$enableval" = yes; then
7797 wx_cv_use_variant
='wxUSE_VARIANT=yes'
7799 wx_cv_use_variant
='wxUSE_VARIANT=no'
7804 wx_cv_use_variant
='wxUSE_VARIANT=${'DEFAULT_wxUSE_VARIANT":-$defaultval}"
7809 eval "$wx_cv_use_variant"
7811 if test x"$enablestring" = xdisable; then
7812 if test $wxUSE_VARIANT = yes; then
7818 result=$wxUSE_VARIANT
7821 { echo "$as_me:$LINENO: result: $result" >&5
7822 echo "${ECHO_T}$result" >&6; }
7826 defaultval=$wxUSE_ALL_FEATURES
7827 if test -z "$defaultval"; then
7828 if test x"$enablestring" = xdisable; then
7835 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-zipstream" >&5
7836 echo $ECHO_N "checking for --${enablestring:-enable}-zipstream... $ECHO_C" >&6; }
7837 # Check whether --enable-zipstream was given.
7838 if test "${enable_zipstream+set}" = set; then
7839 enableval=$enable_zipstream;
7840 if test "$enableval" = yes; then
7841 wx_cv_use_zipstream='wxUSE_ZIPSTREAM
=yes'
7843 wx_cv_use_zipstream='wxUSE_ZIPSTREAM
=no
'
7848 wx_cv_use_zipstream='wxUSE_ZIPSTREAM
=${'DEFAULT_wxUSE_ZIPSTREAM":-$defaultval}"
7853 eval "$wx_cv_use_zipstream"
7855 if test x"$enablestring" = xdisable; then
7856 if test $wxUSE_ZIPSTREAM = yes; then
7862 result=$wxUSE_ZIPSTREAM
7865 { echo "$as_me:$LINENO: result
: $result" >&5
7866 echo "${ECHO_T}$result" >&6; }
7871 defaultval=$wxUSE_ALL_FEATURES
7872 if test -z "$defaultval"; then
7873 if test x"$enablestring" = xdisable; then
7880 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-url" >&5
7881 echo $ECHO_N "checking
for --${enablestring:-enable}-url...
$ECHO_C" >&6; }
7882 # Check whether --enable-url was given.
7883 if test "${enable_url+set}" = set; then
7884 enableval=$enable_url;
7885 if test "$enableval" = yes; then
7886 wx_cv_use_url='wxUSE_URL=yes'
7888 wx_cv_use_url='wxUSE_URL=no'
7893 wx_cv_use_url='wxUSE_URL=${'DEFAULT_wxUSE_URL":-$defaultval}"
7898 eval "$wx_cv_use_url"
7900 if test x
"$enablestring" = xdisable
; then
7901 if test $wxUSE_URL = yes; then
7910 { echo "$as_me:$LINENO: result: $result" >&5
7911 echo "${ECHO_T}$result" >&6; }
7915 defaultval
=$wxUSE_ALL_FEATURES
7916 if test -z "$defaultval"; then
7917 if test x
"$enablestring" = xdisable
; then
7924 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol" >&5
7925 echo $ECHO_N "checking for --${enablestring:-enable}-protocol... $ECHO_C" >&6; }
7926 # Check whether --enable-protocol was given.
7927 if test "${enable_protocol+set}" = set; then
7928 enableval
=$enable_protocol;
7929 if test "$enableval" = yes; then
7930 wx_cv_use_protocol
='wxUSE_PROTOCOL=yes'
7932 wx_cv_use_protocol
='wxUSE_PROTOCOL=no'
7937 wx_cv_use_protocol
='wxUSE_PROTOCOL=${'DEFAULT_wxUSE_PROTOCOL":-$defaultval}"
7942 eval "$wx_cv_use_protocol"
7944 if test x"$enablestring" = xdisable; then
7945 if test $wxUSE_PROTOCOL = yes; then
7951 result=$wxUSE_PROTOCOL
7954 { echo "$as_me:$LINENO: result: $result" >&5
7955 echo "${ECHO_T}$result" >&6; }
7959 defaultval=$wxUSE_ALL_FEATURES
7960 if test -z "$defaultval"; then
7961 if test x"$enablestring" = xdisable; then
7968 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_http" >&5
7969 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_http... $ECHO_C" >&6; }
7970 # Check whether --enable-protocol_http was given.
7971 if test "${enable_protocol_http+set}" = set; then
7972 enableval=$enable_protocol_http;
7973 if test "$enableval" = yes; then
7974 wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP
=yes'
7976 wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP
=no
'
7981 wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP
=${'DEFAULT_wxUSE_PROTOCOL_HTTP":-$defaultval}"
7986 eval "$wx_cv_use_protocol_http"
7988 if test x"$enablestring" = xdisable; then
7989 if test $wxUSE_PROTOCOL_HTTP = yes; then
7995 result=$wxUSE_PROTOCOL_HTTP
7998 { echo "$as_me:$LINENO: result
: $result" >&5
7999 echo "${ECHO_T}$result" >&6; }
8003 defaultval=$wxUSE_ALL_FEATURES
8004 if test -z "$defaultval"; then
8005 if test x"$enablestring" = xdisable; then
8012 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-protocol_ftp" >&5
8013 echo $ECHO_N "checking
for --${enablestring:-enable}-protocol_ftp...
$ECHO_C" >&6; }
8014 # Check whether --enable-protocol_ftp was given.
8015 if test "${enable_protocol_ftp+set}" = set; then
8016 enableval=$enable_protocol_ftp;
8017 if test "$enableval" = yes; then
8018 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=yes'
8020 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=no'
8025 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=${'DEFAULT_wxUSE_PROTOCOL_FTP":-$defaultval}"
8030 eval "$wx_cv_use_protocol_ftp"
8032 if test x
"$enablestring" = xdisable
; then
8033 if test $wxUSE_PROTOCOL_FTP = yes; then
8039 result
=$wxUSE_PROTOCOL_FTP
8042 { echo "$as_me:$LINENO: result: $result" >&5
8043 echo "${ECHO_T}$result" >&6; }
8047 defaultval
=$wxUSE_ALL_FEATURES
8048 if test -z "$defaultval"; then
8049 if test x
"$enablestring" = xdisable
; then
8056 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_file" >&5
8057 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_file... $ECHO_C" >&6; }
8058 # Check whether --enable-protocol_file was given.
8059 if test "${enable_protocol_file+set}" = set; then
8060 enableval
=$enable_protocol_file;
8061 if test "$enableval" = yes; then
8062 wx_cv_use_protocol_file
='wxUSE_PROTOCOL_FILE=yes'
8064 wx_cv_use_protocol_file
='wxUSE_PROTOCOL_FILE=no'
8069 wx_cv_use_protocol_file
='wxUSE_PROTOCOL_FILE=${'DEFAULT_wxUSE_PROTOCOL_FILE":-$defaultval}"
8074 eval "$wx_cv_use_protocol_file"
8076 if test x"$enablestring" = xdisable; then
8077 if test $wxUSE_PROTOCOL_FILE = yes; then
8083 result=$wxUSE_PROTOCOL_FILE
8086 { echo "$as_me:$LINENO: result: $result" >&5
8087 echo "${ECHO_T}$result" >&6; }
8092 defaultval=$wxUSE_ALL_FEATURES
8093 if test -z "$defaultval"; then
8094 if test x"$enablestring" = xdisable; then
8101 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-threads" >&5
8102 echo $ECHO_N "checking for --${enablestring:-enable}-threads... $ECHO_C" >&6; }
8103 # Check whether --enable-threads was given.
8104 if test "${enable_threads+set}" = set; then
8105 enableval=$enable_threads;
8106 if test "$enableval" = yes; then
8107 wx_cv_use_threads='wxUSE_THREADS
=yes'
8109 wx_cv_use_threads='wxUSE_THREADS
=no
'
8114 wx_cv_use_threads='wxUSE_THREADS
=${'DEFAULT_wxUSE_THREADS":-$defaultval}"
8119 eval "$wx_cv_use_threads"
8121 if test x"$enablestring" = xdisable; then
8122 if test $wxUSE_THREADS = yes; then
8128 result=$wxUSE_THREADS
8131 { echo "$as_me:$LINENO: result
: $result" >&5
8132 echo "${ECHO_T}$result" >&6; }
8138 if test -z "$defaultval"; then
8139 if test x"$enablestring" = xdisable; then
8146 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-iniconf" >&5
8147 echo $ECHO_N "checking
for --${enablestring:-enable}-iniconf...
$ECHO_C" >&6; }
8148 # Check whether --enable-iniconf was given.
8149 if test "${enable_iniconf+set}" = set; then
8150 enableval=$enable_iniconf;
8151 if test "$enableval" = yes; then
8152 wx_cv_use_iniconf='wxUSE_INICONF=yes'
8154 wx_cv_use_iniconf='wxUSE_INICONF=no'
8159 wx_cv_use_iniconf='wxUSE_INICONF=${'DEFAULT_wxUSE_INICONF":-$defaultval}"
8164 eval "$wx_cv_use_iniconf"
8166 if test x
"$enablestring" = xdisable
; then
8167 if test $wxUSE_INICONF = yes; then
8173 result
=$wxUSE_INICONF
8176 { echo "$as_me:$LINENO: result: $result" >&5
8177 echo "${ECHO_T}$result" >&6; }
8181 defaultval
=$wxUSE_ALL_FEATURES
8182 if test -z "$defaultval"; then
8183 if test x
"$enablestring" = xdisable
; then
8190 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-regkey" >&5
8191 echo $ECHO_N "checking for --${enablestring:-enable}-regkey... $ECHO_C" >&6; }
8192 # Check whether --enable-regkey was given.
8193 if test "${enable_regkey+set}" = set; then
8194 enableval
=$enable_regkey;
8195 if test "$enableval" = yes; then
8196 wx_cv_use_regkey
='wxUSE_REGKEY=yes'
8198 wx_cv_use_regkey
='wxUSE_REGKEY=no'
8203 wx_cv_use_regkey
='wxUSE_REGKEY=${'DEFAULT_wxUSE_REGKEY":-$defaultval}"
8208 eval "$wx_cv_use_regkey"
8210 if test x"$enablestring" = xdisable; then
8211 if test $wxUSE_REGKEY = yes; then
8217 result=$wxUSE_REGKEY
8220 { echo "$as_me:$LINENO: result: $result" >&5
8221 echo "${ECHO_T}$result" >&6; }
8224 if test "$wxUSE_GUI" = "yes"; then
8229 defaultval=$wxUSE_ALL_FEATURES
8230 if test -z "$defaultval"; then
8231 if test x"$enablestring" = xdisable; then
8238 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-docview" >&5
8239 echo $ECHO_N "checking for --${enablestring:-enable}-docview... $ECHO_C" >&6; }
8240 # Check whether --enable-docview was given.
8241 if test "${enable_docview+set}" = set; then
8242 enableval=$enable_docview;
8243 if test "$enableval" = yes; then
8244 wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE
=yes'
8246 wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE
=no
'
8251 wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE
=${'DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE":-$defaultval}"
8256 eval "$wx_cv_use_docview"
8258 if test x"$enablestring" = xdisable; then
8259 if test $wxUSE_DOC_VIEW_ARCHITECTURE = yes; then
8265 result=$wxUSE_DOC_VIEW_ARCHITECTURE
8268 { echo "$as_me:$LINENO: result
: $result" >&5
8269 echo "${ECHO_T}$result" >&6; }
8273 defaultval=$wxUSE_ALL_FEATURES
8274 if test -z "$defaultval"; then
8275 if test x"$enablestring" = xdisable; then
8282 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-help" >&5
8283 echo $ECHO_N "checking
for --${enablestring:-enable}-help...
$ECHO_C" >&6; }
8284 # Check whether --enable-help was given.
8285 if test "${enable_help+set}" = set; then
8286 enableval=$enable_help;
8287 if test "$enableval" = yes; then
8288 wx_cv_use_help='wxUSE_HELP=yes'
8290 wx_cv_use_help='wxUSE_HELP=no'
8295 wx_cv_use_help='wxUSE_HELP=${'DEFAULT_wxUSE_HELP":-$defaultval}"
8300 eval "$wx_cv_use_help"
8302 if test x
"$enablestring" = xdisable
; then
8303 if test $wxUSE_HELP = yes; then
8312 { echo "$as_me:$LINENO: result: $result" >&5
8313 echo "${ECHO_T}$result" >&6; }
8317 defaultval
=$wxUSE_ALL_FEATURES
8318 if test -z "$defaultval"; then
8319 if test x
"$enablestring" = xdisable
; then
8326 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mshtmlhelp" >&5
8327 echo $ECHO_N "checking for --${enablestring:-enable}-mshtmlhelp... $ECHO_C" >&6; }
8328 # Check whether --enable-mshtmlhelp was given.
8329 if test "${enable_mshtmlhelp+set}" = set; then
8330 enableval
=$enable_mshtmlhelp;
8331 if test "$enableval" = yes; then
8332 wx_cv_use_mshtmlhelp
='wxUSE_MS_HTML_HELP=yes'
8334 wx_cv_use_mshtmlhelp
='wxUSE_MS_HTML_HELP=no'
8339 wx_cv_use_mshtmlhelp
='wxUSE_MS_HTML_HELP=${'DEFAULT_wxUSE_MS_HTML_HELP":-$defaultval}"
8344 eval "$wx_cv_use_mshtmlhelp"
8346 if test x"$enablestring" = xdisable; then
8347 if test $wxUSE_MS_HTML_HELP = yes; then
8353 result=$wxUSE_MS_HTML_HELP
8356 { echo "$as_me:$LINENO: result: $result" >&5
8357 echo "${ECHO_T}$result" >&6; }
8361 defaultval=$wxUSE_ALL_FEATURES
8362 if test -z "$defaultval"; then
8363 if test x"$enablestring" = xdisable; then
8370 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-html" >&5
8371 echo $ECHO_N "checking for --${enablestring:-enable}-html... $ECHO_C" >&6; }
8372 # Check whether --enable-html was given.
8373 if test "${enable_html+set}" = set; then
8374 enableval=$enable_html;
8375 if test "$enableval" = yes; then
8376 wx_cv_use_html='wxUSE_HTML
=yes'
8378 wx_cv_use_html='wxUSE_HTML
=no
'
8383 wx_cv_use_html='wxUSE_HTML
=${'DEFAULT_wxUSE_HTML":-$defaultval}"
8388 eval "$wx_cv_use_html"
8390 if test x"$enablestring" = xdisable; then
8391 if test $wxUSE_HTML = yes; then
8400 { echo "$as_me:$LINENO: result
: $result" >&5
8401 echo "${ECHO_T}$result" >&6; }
8405 defaultval=$wxUSE_ALL_FEATURES
8406 if test -z "$defaultval"; then
8407 if test x"$enablestring" = xdisable; then
8414 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-htmlhelp" >&5
8415 echo $ECHO_N "checking
for --${enablestring:-enable}-htmlhelp...
$ECHO_C" >&6; }
8416 # Check whether --enable-htmlhelp was given.
8417 if test "${enable_htmlhelp+set}" = set; then
8418 enableval=$enable_htmlhelp;
8419 if test "$enableval" = yes; then
8420 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP=yes'
8422 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP=no'
8427 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP=${'DEFAULT_wxUSE_WXHTML_HELP":-$defaultval}"
8432 eval "$wx_cv_use_htmlhelp"
8434 if test x
"$enablestring" = xdisable
; then
8435 if test $wxUSE_WXHTML_HELP = yes; then
8441 result
=$wxUSE_WXHTML_HELP
8444 { echo "$as_me:$LINENO: result: $result" >&5
8445 echo "${ECHO_T}$result" >&6; }
8449 defaultval
=$wxUSE_ALL_FEATURES
8450 if test -z "$defaultval"; then
8451 if test x
"$enablestring" = xdisable
; then
8458 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xrc" >&5
8459 echo $ECHO_N "checking for --${enablestring:-enable}-xrc... $ECHO_C" >&6; }
8460 # Check whether --enable-xrc was given.
8461 if test "${enable_xrc+set}" = set; then
8462 enableval
=$enable_xrc;
8463 if test "$enableval" = yes; then
8464 wx_cv_use_xrc
='wxUSE_XRC=yes'
8466 wx_cv_use_xrc
='wxUSE_XRC=no'
8471 wx_cv_use_xrc
='wxUSE_XRC=${'DEFAULT_wxUSE_XRC":-$defaultval}"
8476 eval "$wx_cv_use_xrc"
8478 if test x"$enablestring" = xdisable; then
8479 if test $wxUSE_XRC = yes; then
8488 { echo "$as_me:$LINENO: result: $result" >&5
8489 echo "${ECHO_T}$result" >&6; }
8493 defaultval=$wxUSE_ALL_FEATURES
8494 if test -z "$defaultval"; then
8495 if test x"$enablestring" = xdisable; then
8502 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-aui" >&5
8503 echo $ECHO_N "checking for --${enablestring:-enable}-aui... $ECHO_C" >&6; }
8504 # Check whether --enable-aui was given.
8505 if test "${enable_aui+set}" = set; then
8506 enableval=$enable_aui;
8507 if test "$enableval" = yes; then
8508 wx_cv_use_aui='wxUSE_AUI
=yes'
8510 wx_cv_use_aui='wxUSE_AUI
=no
'
8515 wx_cv_use_aui='wxUSE_AUI
=${'DEFAULT_wxUSE_AUI":-$defaultval}"
8520 eval "$wx_cv_use_aui"
8522 if test x"$enablestring" = xdisable; then
8523 if test $wxUSE_AUI = yes; then
8532 { echo "$as_me:$LINENO: result
: $result" >&5
8533 echo "${ECHO_T}$result" >&6; }
8537 defaultval=$wxUSE_ALL_FEATURES
8538 if test -z "$defaultval"; then
8539 if test x"$enablestring" = xdisable; then
8546 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-stc" >&5
8547 echo $ECHO_N "checking
for --${enablestring:-enable}-stc...
$ECHO_C" >&6; }
8548 # Check whether --enable-stc was given.
8549 if test "${enable_stc+set}" = set; then
8550 enableval=$enable_stc;
8551 if test "$enableval" = yes; then
8552 wx_cv_use_stc='wxUSE_STC=yes'
8554 wx_cv_use_stc='wxUSE_STC=no'
8559 wx_cv_use_stc='wxUSE_STC=${'DEFAULT_wxUSE_STC":-$defaultval}"
8564 eval "$wx_cv_use_stc"
8566 if test x
"$enablestring" = xdisable
; then
8567 if test $wxUSE_STC = yes; then
8576 { echo "$as_me:$LINENO: result: $result" >&5
8577 echo "${ECHO_T}$result" >&6; }
8581 defaultval
=$wxUSE_ALL_FEATURES
8582 if test -z "$defaultval"; then
8583 if test x
"$enablestring" = xdisable
; then
8590 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-constraints" >&5
8591 echo $ECHO_N "checking for --${enablestring:-enable}-constraints... $ECHO_C" >&6; }
8592 # Check whether --enable-constraints was given.
8593 if test "${enable_constraints+set}" = set; then
8594 enableval
=$enable_constraints;
8595 if test "$enableval" = yes; then
8596 wx_cv_use_constraints
='wxUSE_CONSTRAINTS=yes'
8598 wx_cv_use_constraints
='wxUSE_CONSTRAINTS=no'
8603 wx_cv_use_constraints
='wxUSE_CONSTRAINTS=${'DEFAULT_wxUSE_CONSTRAINTS":-$defaultval}"
8608 eval "$wx_cv_use_constraints"
8610 if test x"$enablestring" = xdisable; then
8611 if test $wxUSE_CONSTRAINTS = yes; then
8617 result=$wxUSE_CONSTRAINTS
8620 { echo "$as_me:$LINENO: result: $result" >&5
8621 echo "${ECHO_T}$result" >&6; }
8625 defaultval=$wxUSE_ALL_FEATURES
8626 if test -z "$defaultval"; then
8627 if test x"$enablestring" = xdisable; then
8634 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-loggui" >&5
8635 echo $ECHO_N "checking for --${enablestring:-enable}-loggui... $ECHO_C" >&6; }
8636 # Check whether --enable-loggui was given.
8637 if test "${enable_loggui+set}" = set; then
8638 enableval=$enable_loggui;
8639 if test "$enableval" = yes; then
8640 wx_cv_use_loggui='wxUSE_LOGGUI
=yes'
8642 wx_cv_use_loggui='wxUSE_LOGGUI
=no
'
8647 wx_cv_use_loggui='wxUSE_LOGGUI
=${'DEFAULT_wxUSE_LOGGUI":-$defaultval}"
8652 eval "$wx_cv_use_loggui"
8654 if test x"$enablestring" = xdisable; then
8655 if test $wxUSE_LOGGUI = yes; then
8661 result=$wxUSE_LOGGUI
8664 { echo "$as_me:$LINENO: result
: $result" >&5
8665 echo "${ECHO_T}$result" >&6; }
8669 defaultval=$wxUSE_ALL_FEATURES
8670 if test -z "$defaultval"; then
8671 if test x"$enablestring" = xdisable; then
8678 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-logwin" >&5
8679 echo $ECHO_N "checking
for --${enablestring:-enable}-logwin...
$ECHO_C" >&6; }
8680 # Check whether --enable-logwin was given.
8681 if test "${enable_logwin+set}" = set; then
8682 enableval=$enable_logwin;
8683 if test "$enableval" = yes; then
8684 wx_cv_use_logwin='wxUSE_LOGWINDOW=yes'
8686 wx_cv_use_logwin='wxUSE_LOGWINDOW=no'
8691 wx_cv_use_logwin='wxUSE_LOGWINDOW=${'DEFAULT_wxUSE_LOGWINDOW":-$defaultval}"
8696 eval "$wx_cv_use_logwin"
8698 if test x
"$enablestring" = xdisable
; then
8699 if test $wxUSE_LOGWINDOW = yes; then
8705 result
=$wxUSE_LOGWINDOW
8708 { echo "$as_me:$LINENO: result: $result" >&5
8709 echo "${ECHO_T}$result" >&6; }
8713 defaultval
=$wxUSE_ALL_FEATURES
8714 if test -z "$defaultval"; then
8715 if test x
"$enablestring" = xdisable
; then
8722 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logdialog" >&5
8723 echo $ECHO_N "checking for --${enablestring:-enable}-logdialog... $ECHO_C" >&6; }
8724 # Check whether --enable-logdialog was given.
8725 if test "${enable_logdialog+set}" = set; then
8726 enableval
=$enable_logdialog;
8727 if test "$enableval" = yes; then
8728 wx_cv_use_logdialog
='wxUSE_LOGDIALOG=yes'
8730 wx_cv_use_logdialog
='wxUSE_LOGDIALOG=no'
8735 wx_cv_use_logdialog
='wxUSE_LOGDIALOG=${'DEFAULT_wxUSE_LOGDIALOG":-$defaultval}"
8740 eval "$wx_cv_use_logdialog"
8742 if test x"$enablestring" = xdisable; then
8743 if test $wxUSE_LOGDIALOG = yes; then
8749 result=$wxUSE_LOGDIALOG
8752 { echo "$as_me:$LINENO: result: $result" >&5
8753 echo "${ECHO_T}$result" >&6; }
8757 defaultval=$wxUSE_ALL_FEATURES
8758 if test -z "$defaultval"; then
8759 if test x"$enablestring" = xdisable; then
8766 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdi" >&5
8767 echo $ECHO_N "checking for --${enablestring:-enable}-mdi... $ECHO_C" >&6; }
8768 # Check whether --enable-mdi was given.
8769 if test "${enable_mdi+set}" = set; then
8770 enableval=$enable_mdi;
8771 if test "$enableval" = yes; then
8772 wx_cv_use_mdi='wxUSE_MDI
=yes'
8774 wx_cv_use_mdi='wxUSE_MDI
=no
'
8779 wx_cv_use_mdi='wxUSE_MDI
=${'DEFAULT_wxUSE_MDI":-$defaultval}"
8784 eval "$wx_cv_use_mdi"
8786 if test x"$enablestring" = xdisable; then
8787 if test $wxUSE_MDI = yes; then
8796 { echo "$as_me:$LINENO: result
: $result" >&5
8797 echo "${ECHO_T}$result" >&6; }
8801 defaultval=$wxUSE_ALL_FEATURES
8802 if test -z "$defaultval"; then
8803 if test x"$enablestring" = xdisable; then
8810 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-mdidoc" >&5
8811 echo $ECHO_N "checking
for --${enablestring:-enable}-mdidoc...
$ECHO_C" >&6; }
8812 # Check whether --enable-mdidoc was given.
8813 if test "${enable_mdidoc+set}" = set; then
8814 enableval=$enable_mdidoc;
8815 if test "$enableval" = yes; then
8816 wx_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=yes'
8818 wx_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=no'
8823 wx_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=${'DEFAULT_wxUSE_MDI_ARCHITECTURE":-$defaultval}"
8828 eval "$wx_cv_use_mdidoc"
8830 if test x
"$enablestring" = xdisable
; then
8831 if test $wxUSE_MDI_ARCHITECTURE = yes; then
8837 result
=$wxUSE_MDI_ARCHITECTURE
8840 { echo "$as_me:$LINENO: result: $result" >&5
8841 echo "${ECHO_T}$result" >&6; }
8845 defaultval
=$wxUSE_ALL_FEATURES
8846 if test -z "$defaultval"; then
8847 if test x
"$enablestring" = xdisable
; then
8854 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mediactrl" >&5
8855 echo $ECHO_N "checking for --${enablestring:-enable}-mediactrl... $ECHO_C" >&6; }
8856 # Check whether --enable-mediactrl was given.
8857 if test "${enable_mediactrl+set}" = set; then
8858 enableval
=$enable_mediactrl;
8859 if test "$enableval" = yes; then
8860 wx_cv_use_mediactrl
='wxUSE_MEDIACTRL=yes'
8862 wx_cv_use_mediactrl
='wxUSE_MEDIACTRL=no'
8867 wx_cv_use_mediactrl
='wxUSE_MEDIACTRL=${'DEFAULT_wxUSE_MEDIACTRL":-$defaultval}"
8872 eval "$wx_cv_use_mediactrl"
8874 if test x"$enablestring" = xdisable; then
8875 if test $wxUSE_MEDIACTRL = yes; then
8881 result=$wxUSE_MEDIACTRL
8884 { echo "$as_me:$LINENO: result: $result" >&5
8885 echo "${ECHO_T}$result" >&6; }
8889 defaultval=$wxUSE_ALL_FEATURES
8890 if test -z "$defaultval"; then
8891 if test x"$enablestring" = xdisable; then
8898 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gstreamer8" >&5
8899 echo $ECHO_N "checking for --${enablestring:-enable}-gstreamer8... $ECHO_C" >&6; }
8900 # Check whether --enable-gstreamer8 was given.
8901 if test "${enable_gstreamer8+set}" = set; then
8902 enableval=$enable_gstreamer8;
8903 if test "$enableval" = yes; then
8904 wx_cv_use_gstreamer8='wxUSE_GSTREAMER8
=yes'
8906 wx_cv_use_gstreamer8='wxUSE_GSTREAMER8
=no
'
8911 wx_cv_use_gstreamer8='wxUSE_GSTREAMER8
=${'DEFAULT_wxUSE_GSTREAMER8":-$defaultval}"
8916 eval "$wx_cv_use_gstreamer8"
8918 if test x"$enablestring" = xdisable; then
8919 if test $wxUSE_GSTREAMER8 = yes; then
8925 result=$wxUSE_GSTREAMER8
8928 { echo "$as_me:$LINENO: result
: $result" >&5
8929 echo "${ECHO_T}$result" >&6; }
8933 defaultval=$wxUSE_ALL_FEATURES
8934 if test -z "$defaultval"; then
8935 if test x"$enablestring" = xdisable; then
8942 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-webkit" >&5
8943 echo $ECHO_N "checking
for --${enablestring:-enable}-webkit...
$ECHO_C" >&6; }
8944 # Check whether --enable-webkit was given.
8945 if test "${enable_webkit+set}" = set; then
8946 enableval=$enable_webkit;
8947 if test "$enableval" = yes; then
8948 wx_cv_use_webkit='wxUSE_WEBKIT=yes'
8950 wx_cv_use_webkit='wxUSE_WEBKIT=no'
8955 wx_cv_use_webkit='wxUSE_WEBKIT=${'DEFAULT_wxUSE_WEBKIT":-$defaultval}"
8960 eval "$wx_cv_use_webkit"
8962 if test x
"$enablestring" = xdisable
; then
8963 if test $wxUSE_WEBKIT = yes; then
8969 result
=$wxUSE_WEBKIT
8972 { echo "$as_me:$LINENO: result: $result" >&5
8973 echo "${ECHO_T}$result" >&6; }
8977 defaultval
=$wxUSE_ALL_FEATURES
8978 if test -z "$defaultval"; then
8979 if test x
"$enablestring" = xdisable
; then
8986 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-richtext" >&5
8987 echo $ECHO_N "checking for --${enablestring:-enable}-richtext... $ECHO_C" >&6; }
8988 # Check whether --enable-richtext was given.
8989 if test "${enable_richtext+set}" = set; then
8990 enableval
=$enable_richtext;
8991 if test "$enableval" = yes; then
8992 wx_cv_use_richtext
='wxUSE_RICHTEXT=yes'
8994 wx_cv_use_richtext
='wxUSE_RICHTEXT=no'
8999 wx_cv_use_richtext
='wxUSE_RICHTEXT=${'DEFAULT_wxUSE_RICHTEXT":-$defaultval}"
9004 eval "$wx_cv_use_richtext"
9006 if test x"$enablestring" = xdisable; then
9007 if test $wxUSE_RICHTEXT = yes; then
9013 result=$wxUSE_RICHTEXT
9016 { echo "$as_me:$LINENO: result: $result" >&5
9017 echo "${ECHO_T}$result" >&6; }
9021 defaultval=$wxUSE_ALL_FEATURES
9022 if test -z "$defaultval"; then
9023 if test x"$enablestring" = xdisable; then
9030 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-graphics_ctx" >&5
9031 echo $ECHO_N "checking for --${enablestring:-enable}-graphics_ctx... $ECHO_C" >&6; }
9032 # Check whether --enable-graphics_ctx was given.
9033 if test "${enable_graphics_ctx+set}" = set; then
9034 enableval=$enable_graphics_ctx;
9035 if test "$enableval" = yes; then
9036 wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT
=yes'
9038 wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT
=no
'
9043 wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT
=${'DEFAULT_wxUSE_GRAPHICS_CONTEXT":-$defaultval}"
9048 eval "$wx_cv_use_graphics_ctx"
9050 if test x"$enablestring" = xdisable; then
9051 if test $wxUSE_GRAPHICS_CONTEXT = yes; then
9057 result=$wxUSE_GRAPHICS_CONTEXT
9060 { echo "$as_me:$LINENO: result
: $result" >&5
9061 echo "${ECHO_T}$result" >&6; }
9065 defaultval=$wxUSE_ALL_FEATURES
9066 if test -z "$defaultval"; then
9067 if test x"$enablestring" = xdisable; then
9074 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-postscript" >&5
9075 echo $ECHO_N "checking
for --${enablestring:-enable}-postscript...
$ECHO_C" >&6; }
9076 # Check whether --enable-postscript was given.
9077 if test "${enable_postscript+set}" = set; then
9078 enableval=$enable_postscript;
9079 if test "$enableval" = yes; then
9080 wx_cv_use_postscript='wxUSE_POSTSCRIPT=yes'
9082 wx_cv_use_postscript='wxUSE_POSTSCRIPT=no'
9087 wx_cv_use_postscript='wxUSE_POSTSCRIPT=${'DEFAULT_wxUSE_POSTSCRIPT":-$defaultval}"
9092 eval "$wx_cv_use_postscript"
9094 if test x
"$enablestring" = xdisable
; then
9095 if test $wxUSE_POSTSCRIPT = yes; then
9101 result
=$wxUSE_POSTSCRIPT
9104 { echo "$as_me:$LINENO: result: $result" >&5
9105 echo "${ECHO_T}$result" >&6; }
9109 defaultval
=$wxUSE_ALL_FEATURES
9110 if test -z "$defaultval"; then
9111 if test x
"$enablestring" = xdisable
; then
9118 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printarch" >&5
9119 echo $ECHO_N "checking for --${enablestring:-enable}-printarch... $ECHO_C" >&6; }
9120 # Check whether --enable-printarch was given.
9121 if test "${enable_printarch+set}" = set; then
9122 enableval
=$enable_printarch;
9123 if test "$enableval" = yes; then
9124 wx_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE=yes'
9126 wx_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE=no'
9131 wx_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE=${'DEFAULT_wxUSE_PRINTING_ARCHITECTURE":-$defaultval}"
9136 eval "$wx_cv_use_printarch"
9138 if test x"$enablestring" = xdisable; then
9139 if test $wxUSE_PRINTING_ARCHITECTURE = yes; then
9145 result=$wxUSE_PRINTING_ARCHITECTURE
9148 { echo "$as_me:$LINENO: result: $result" >&5
9149 echo "${ECHO_T}$result" >&6; }
9153 defaultval=$wxUSE_ALL_FEATURES
9154 if test -z "$defaultval"; then
9155 if test x"$enablestring" = xdisable; then
9162 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-svg" >&5
9163 echo $ECHO_N "checking for --${enablestring:-enable}-svg... $ECHO_C" >&6; }
9164 # Check whether --enable-svg was given.
9165 if test "${enable_svg+set}" = set; then
9166 enableval=$enable_svg;
9167 if test "$enableval" = yes; then
9168 wx_cv_use_svg='wxUSE_SVG
=yes'
9170 wx_cv_use_svg='wxUSE_SVG
=no
'
9175 wx_cv_use_svg='wxUSE_SVG
=${'DEFAULT_wxUSE_SVG":-$defaultval}"
9180 eval "$wx_cv_use_svg"
9182 if test x"$enablestring" = xdisable; then
9183 if test $wxUSE_SVG = yes; then
9192 { echo "$as_me:$LINENO: result
: $result" >&5
9193 echo "${ECHO_T}$result" >&6; }
9199 defaultval=$wxUSE_ALL_FEATURES
9200 if test -z "$defaultval"; then
9201 if test x"$enablestring" = xdisable; then
9208 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-clipboard" >&5
9209 echo $ECHO_N "checking
for --${enablestring:-enable}-clipboard...
$ECHO_C" >&6; }
9210 # Check whether --enable-clipboard was given.
9211 if test "${enable_clipboard+set}" = set; then
9212 enableval=$enable_clipboard;
9213 if test "$enableval" = yes; then
9214 wx_cv_use_clipboard='wxUSE_CLIPBOARD=yes'
9216 wx_cv_use_clipboard='wxUSE_CLIPBOARD=no'
9221 wx_cv_use_clipboard='wxUSE_CLIPBOARD=${'DEFAULT_wxUSE_CLIPBOARD":-$defaultval}"
9226 eval "$wx_cv_use_clipboard"
9228 if test x
"$enablestring" = xdisable
; then
9229 if test $wxUSE_CLIPBOARD = yes; then
9235 result
=$wxUSE_CLIPBOARD
9238 { echo "$as_me:$LINENO: result: $result" >&5
9239 echo "${ECHO_T}$result" >&6; }
9243 defaultval
=$wxUSE_ALL_FEATURES
9244 if test -z "$defaultval"; then
9245 if test x
"$enablestring" = xdisable
; then
9252 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dnd" >&5
9253 echo $ECHO_N "checking for --${enablestring:-enable}-dnd... $ECHO_C" >&6; }
9254 # Check whether --enable-dnd was given.
9255 if test "${enable_dnd+set}" = set; then
9256 enableval
=$enable_dnd;
9257 if test "$enableval" = yes; then
9258 wx_cv_use_dnd
='wxUSE_DRAG_AND_DROP=yes'
9260 wx_cv_use_dnd
='wxUSE_DRAG_AND_DROP=no'
9265 wx_cv_use_dnd
='wxUSE_DRAG_AND_DROP=${'DEFAULT_wxUSE_DRAG_AND_DROP":-$defaultval}"
9270 eval "$wx_cv_use_dnd"
9272 if test x"$enablestring" = xdisable; then
9273 if test $wxUSE_DRAG_AND_DROP = yes; then
9279 result=$wxUSE_DRAG_AND_DROP
9282 { echo "$as_me:$LINENO: result: $result" >&5
9283 echo "${ECHO_T}$result" >&6; }
9287 defaultval=$wxUSE_ALL_FEATURES
9288 if test -z "$defaultval"; then
9289 if test x"$enablestring" = xdisable; then
9296 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
9297 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6; }
9298 # Check whether --enable-metafile was given.
9299 if test "${enable_metafile+set}" = set; then
9300 enableval=$enable_metafile;
9301 if test "$enableval" = yes; then
9302 wx_cv_use_metafile='wxUSE_METAFILE
=yes'
9304 wx_cv_use_metafile='wxUSE_METAFILE
=no
'
9309 wx_cv_use_metafile='wxUSE_METAFILE
=${'DEFAULT_wxUSE_METAFILE":-$defaultval}"
9314 eval "$wx_cv_use_metafile"
9316 if test x"$enablestring" = xdisable; then
9317 if test $wxUSE_METAFILE = yes; then
9323 result=$wxUSE_METAFILE
9326 { echo "$as_me:$LINENO: result
: $result" >&5
9327 echo "${ECHO_T}$result" >&6; }
9331 DEFAULT_wxUSE_CONTROLS=none
9333 enablestring=disable
9335 if test -z "$defaultval"; then
9336 if test x"$enablestring" = xdisable; then
9343 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-controls" >&5
9344 echo $ECHO_N "checking
for --${enablestring:-enable}-controls...
$ECHO_C" >&6; }
9345 # Check whether --enable-controls was given.
9346 if test "${enable_controls+set}" = set; then
9347 enableval=$enable_controls;
9348 if test "$enableval" = yes; then
9349 wx_cv_use_controls='wxUSE_CONTROLS=yes'
9351 wx_cv_use_controls='wxUSE_CONTROLS=no'
9356 wx_cv_use_controls='wxUSE_CONTROLS=${'DEFAULT_wxUSE_CONTROLS":-$defaultval}"
9361 eval "$wx_cv_use_controls"
9363 if test x
"$enablestring" = xdisable
; then
9364 if test $wxUSE_CONTROLS = yes; then
9370 result
=$wxUSE_CONTROLS
9373 { echo "$as_me:$LINENO: result: $result" >&5
9374 echo "${ECHO_T}$result" >&6; }
9377 if test "$wxUSE_CONTROLS" = "yes"; then
9378 DEFAULT_wxUSE_ACCEL
=yes
9379 DEFAULT_wxUSE_ANIMATIONCTRL
=yes
9380 DEFAULT_wxUSE_BMPBUTTON
=yes
9381 DEFAULT_wxUSE_BUTTON
=yes
9382 DEFAULT_wxUSE_CALCTRL
=yes
9383 DEFAULT_wxUSE_CARET
=yes
9384 DEFAULT_wxUSE_COMBOBOX
=yes
9385 DEFAULT_wxUSE_CHECKBOX
=yes
9386 DEFAULT_wxUSE_CHECKLISTBOX
=yes
9387 DEFAULT_wxUSE_CHOICE
=yes
9388 DEFAULT_wxUSE_CHOICEBOOK
=yes
9389 DEFAULT_wxUSE_COLLPANE
=yes
9390 DEFAULT_wxUSE_COLOURPICKERCTRL
=yes
9391 DEFAULT_wxUSE_COMBOBOX
=yes
9392 DEFAULT_wxUSE_DATEPICKCTRL
=yes
9393 DEFAULT_wxUSE_DISPLAY
=yes
9394 DEFAULT_wxUSE_DETECT_SM
=yes
9395 DEFAULT_wxUSE_DIRPICKERCTRL
=yes
9396 DEFAULT_wxUSE_FILECTRL
=yes
9397 DEFAULT_wxUSE_FILEPICKERCTRL
=yes
9398 DEFAULT_wxUSE_FONTPICKERCTRL
=yes
9399 DEFAULT_wxUSE_GAUGE
=yes
9400 DEFAULT_wxUSE_GRID
=yes
9401 DEFAULT_wxUSE_HYPERLINKCTRL
=yes
9402 DEFAULT_wxUSE_DATAVIEWCTRL
=yes
9403 DEFAULT_wxUSE_IMAGLIST
=yes
9404 DEFAULT_wxUSE_LISTBOOK
=yes
9405 DEFAULT_wxUSE_LISTBOX
=yes
9406 DEFAULT_wxUSE_LISTCTRL
=yes
9407 DEFAULT_wxUSE_NOTEBOOK
=yes
9408 DEFAULT_wxUSE_RADIOBOX
=yes
9409 DEFAULT_wxUSE_RADIOBTN
=yes
9410 DEFAULT_wxUSE_SASH
=yes
9411 DEFAULT_wxUSE_SCROLLBAR
=yes
9412 DEFAULT_wxUSE_SEARCHCTRL
=yes
9413 DEFAULT_wxUSE_SLIDER
=yes
9414 DEFAULT_wxUSE_SPINBTN
=yes
9415 DEFAULT_wxUSE_SPINCTRL
=yes
9416 DEFAULT_wxUSE_SPLITTER
=yes
9417 DEFAULT_wxUSE_STATBMP
=yes
9418 DEFAULT_wxUSE_STATBOX
=yes
9419 DEFAULT_wxUSE_STATLINE
=yes
9420 DEFAULT_wxUSE_STATUSBAR
=yes
9421 DEFAULT_wxUSE_TAB_DIALOG
=yes
9422 DEFAULT_wxUSE_TOGGLEBTN
=yes
9423 DEFAULT_wxUSE_TOOLBAR
=yes
9424 DEFAULT_wxUSE_TOOLBAR_NATIVE
=yes
9425 DEFAULT_wxUSE_TOOLTIPS
=yes
9426 DEFAULT_wxUSE_TREEBOOK
=yes
9427 DEFAULT_wxUSE_TOOLBOOK
=yes
9428 DEFAULT_wxUSE_TREECTRL
=yes
9429 DEFAULT_wxUSE_POPUPWIN
=yes
9430 DEFAULT_wxUSE_TIPWINDOW
=yes
9431 elif test "$wxUSE_CONTROLS" = "no"; then
9432 DEFAULT_wxUSE_ACCEL
=no
9433 DEFAULT_wxUSE_ANIMATIONCTRL
=no
9434 DEFAULT_wxUSE_BMPBUTTON
=no
9435 DEFAULT_wxUSE_BUTTON
=no
9436 DEFAULT_wxUSE_CALCTRL
=no
9437 DEFAULT_wxUSE_CARET
=no
9438 DEFAULT_wxUSE_COLLPANE
=no
9439 DEFAULT_wxUSE_COMBOBOX
=no
9440 DEFAULT_wxUSE_CHECKBOX
=no
9441 DEFAULT_wxUSE_CHECKLISTBOX
=no
9442 DEFAULT_wxUSE_CHOICE
=no
9443 DEFAULT_wxUSE_CHOICEBOOK
=no
9444 DEFAULT_wxUSE_COLOURPICKERCTRL
=no
9445 DEFAULT_wxUSE_COMBOBOX
=no
9446 DEFAULT_wxUSE_DATEPICKCTRL
=no
9447 DEFAULT_wxUSE_DISPLAY
=no
9448 DEFAULT_wxUSE_DETECT_SM
=no
9449 DEFAULT_wxUSE_DIRPICKERCTRL
=no
9450 DEFAULT_wxUSE_FILECTRL
=no
9451 DEFAULT_wxUSE_FILEPICKERCTRL
=no
9452 DEFAULT_wxUSE_FONTPICKERCTRL
=no
9453 DEFAULT_wxUSE_GAUGE
=no
9454 DEFAULT_wxUSE_GRID
=no
9455 DEFAULT_wxUSE_HYPERLINKCTRL
=no
9456 DEFAULT_wxUSE_DATAVIEWCTRL
=no
9457 DEFAULT_wxUSE_IMAGLIST
=no
9458 DEFAULT_wxUSE_LISTBOOK
=no
9459 DEFAULT_wxUSE_LISTBOX
=no
9460 DEFAULT_wxUSE_LISTCTRL
=no
9461 DEFAULT_wxUSE_NOTEBOOK
=no
9462 DEFAULT_wxUSE_RADIOBOX
=no
9463 DEFAULT_wxUSE_RADIOBTN
=no
9464 DEFAULT_wxUSE_SASH
=no
9465 DEFAULT_wxUSE_SCROLLBAR
=no
9466 DEFAULT_wxUSE_SEARCHCTRL
=no
9467 DEFAULT_wxUSE_SLIDER
=no
9468 DEFAULT_wxUSE_SPINBTN
=no
9469 DEFAULT_wxUSE_SPINCTRL
=no
9470 DEFAULT_wxUSE_SPLITTER
=no
9471 DEFAULT_wxUSE_STATBMP
=no
9472 DEFAULT_wxUSE_STATBOX
=no
9473 DEFAULT_wxUSE_STATLINE
=no
9474 DEFAULT_wxUSE_STATUSBAR
=no
9475 DEFAULT_wxUSE_TAB_DIALOG
=no
9476 DEFAULT_wxUSE_TOGGLEBTN
=no
9477 DEFAULT_wxUSE_TOOLBAR
=no
9478 DEFAULT_wxUSE_TOOLBAR_NATIVE
=no
9479 DEFAULT_wxUSE_TOOLTIPS
=no
9480 DEFAULT_wxUSE_TREEBOOK
=no
9481 DEFAULT_wxUSE_TOOLBOOK
=no
9482 DEFAULT_wxUSE_TREECTRL
=no
9483 DEFAULT_wxUSE_POPUPWIN
=no
9484 DEFAULT_wxUSE_TIPWINDOW
=no
9489 defaultval
=$wxUSE_ALL_FEATURES
9490 if test -z "$defaultval"; then
9491 if test x
"$enablestring" = xdisable
; then
9498 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accel" >&5
9499 echo $ECHO_N "checking for --${enablestring:-enable}-accel... $ECHO_C" >&6; }
9500 # Check whether --enable-accel was given.
9501 if test "${enable_accel+set}" = set; then
9502 enableval
=$enable_accel;
9503 if test "$enableval" = yes; then
9504 wx_cv_use_accel
='wxUSE_ACCEL=yes'
9506 wx_cv_use_accel
='wxUSE_ACCEL=no'
9511 wx_cv_use_accel
='wxUSE_ACCEL=${'DEFAULT_wxUSE_ACCEL":-$defaultval}"
9516 eval "$wx_cv_use_accel"
9518 if test x"$enablestring" = xdisable; then
9519 if test $wxUSE_ACCEL = yes; then
9528 { echo "$as_me:$LINENO: result: $result" >&5
9529 echo "${ECHO_T}$result" >&6; }
9533 defaultval=$wxUSE_ALL_FEATURES
9534 if test -z "$defaultval"; then
9535 if test x"$enablestring" = xdisable; then
9542 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-animatectrl" >&5
9543 echo $ECHO_N "checking for --${enablestring:-enable}-animatectrl... $ECHO_C" >&6; }
9544 # Check whether --enable-animatectrl was given.
9545 if test "${enable_animatectrl+set}" = set; then
9546 enableval=$enable_animatectrl;
9547 if test "$enableval" = yes; then
9548 wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL
=yes'
9550 wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL
=no
'
9555 wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL
=${'DEFAULT_wxUSE_ANIMATIONCTRL":-$defaultval}"
9560 eval "$wx_cv_use_animatectrl"
9562 if test x"$enablestring" = xdisable; then
9563 if test $wxUSE_ANIMATIONCTRL = yes; then
9569 result=$wxUSE_ANIMATIONCTRL
9572 { echo "$as_me:$LINENO: result
: $result" >&5
9573 echo "${ECHO_T}$result" >&6; }
9577 defaultval=$wxUSE_ALL_FEATURES
9578 if test -z "$defaultval"; then
9579 if test x"$enablestring" = xdisable; then
9586 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-button" >&5
9587 echo $ECHO_N "checking
for --${enablestring:-enable}-button...
$ECHO_C" >&6; }
9588 # Check whether --enable-button was given.
9589 if test "${enable_button+set}" = set; then
9590 enableval=$enable_button;
9591 if test "$enableval" = yes; then
9592 wx_cv_use_button='wxUSE_BUTTON=yes'
9594 wx_cv_use_button='wxUSE_BUTTON=no'
9599 wx_cv_use_button='wxUSE_BUTTON=${'DEFAULT_wxUSE_BUTTON":-$defaultval}"
9604 eval "$wx_cv_use_button"
9606 if test x
"$enablestring" = xdisable
; then
9607 if test $wxUSE_BUTTON = yes; then
9613 result
=$wxUSE_BUTTON
9616 { echo "$as_me:$LINENO: result: $result" >&5
9617 echo "${ECHO_T}$result" >&6; }
9621 defaultval
=$wxUSE_ALL_FEATURES
9622 if test -z "$defaultval"; then
9623 if test x
"$enablestring" = xdisable
; then
9630 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpbutton" >&5
9631 echo $ECHO_N "checking for --${enablestring:-enable}-bmpbutton... $ECHO_C" >&6; }
9632 # Check whether --enable-bmpbutton was given.
9633 if test "${enable_bmpbutton+set}" = set; then
9634 enableval
=$enable_bmpbutton;
9635 if test "$enableval" = yes; then
9636 wx_cv_use_bmpbutton
='wxUSE_BMPBUTTON=yes'
9638 wx_cv_use_bmpbutton
='wxUSE_BMPBUTTON=no'
9643 wx_cv_use_bmpbutton
='wxUSE_BMPBUTTON=${'DEFAULT_wxUSE_BMPBUTTON":-$defaultval}"
9648 eval "$wx_cv_use_bmpbutton"
9650 if test x"$enablestring" = xdisable; then
9651 if test $wxUSE_BMPBUTTON = yes; then
9657 result=$wxUSE_BMPBUTTON
9660 { echo "$as_me:$LINENO: result: $result" >&5
9661 echo "${ECHO_T}$result" >&6; }
9665 defaultval=$wxUSE_ALL_FEATURES
9666 if test -z "$defaultval"; then
9667 if test x"$enablestring" = xdisable; then
9674 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpcombobox" >&5
9675 echo $ECHO_N "checking for --${enablestring:-enable}-bmpcombobox... $ECHO_C" >&6; }
9676 # Check whether --enable-bmpcombobox was given.
9677 if test "${enable_bmpcombobox+set}" = set; then
9678 enableval=$enable_bmpcombobox;
9679 if test "$enableval" = yes; then
9680 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX
=yes'
9682 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX
=no
'
9687 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX
=${'DEFAULT_wxUSE_BITMAPCOMBOBOX":-$defaultval}"
9692 eval "$wx_cv_use_bmpcombobox"
9694 if test x"$enablestring" = xdisable; then
9695 if test $wxUSE_BITMAPCOMBOBOX = yes; then
9701 result=$wxUSE_BITMAPCOMBOBOX
9704 { echo "$as_me:$LINENO: result
: $result" >&5
9705 echo "${ECHO_T}$result" >&6; }
9709 defaultval=$wxUSE_ALL_FEATURES
9710 if test -z "$defaultval"; then
9711 if test x"$enablestring" = xdisable; then
9718 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-calendar" >&5
9719 echo $ECHO_N "checking
for --${enablestring:-enable}-calendar...
$ECHO_C" >&6; }
9720 # Check whether --enable-calendar was given.
9721 if test "${enable_calendar+set}" = set; then
9722 enableval=$enable_calendar;
9723 if test "$enableval" = yes; then
9724 wx_cv_use_calendar='wxUSE_CALCTRL=yes'
9726 wx_cv_use_calendar='wxUSE_CALCTRL=no'
9731 wx_cv_use_calendar='wxUSE_CALCTRL=${'DEFAULT_wxUSE_CALCTRL":-$defaultval}"
9736 eval "$wx_cv_use_calendar"
9738 if test x
"$enablestring" = xdisable
; then
9739 if test $wxUSE_CALCTRL = yes; then
9745 result
=$wxUSE_CALCTRL
9748 { echo "$as_me:$LINENO: result: $result" >&5
9749 echo "${ECHO_T}$result" >&6; }
9753 defaultval
=$wxUSE_ALL_FEATURES
9754 if test -z "$defaultval"; then
9755 if test x
"$enablestring" = xdisable
; then
9762 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-caret" >&5
9763 echo $ECHO_N "checking for --${enablestring:-enable}-caret... $ECHO_C" >&6; }
9764 # Check whether --enable-caret was given.
9765 if test "${enable_caret+set}" = set; then
9766 enableval
=$enable_caret;
9767 if test "$enableval" = yes; then
9768 wx_cv_use_caret
='wxUSE_CARET=yes'
9770 wx_cv_use_caret
='wxUSE_CARET=no'
9775 wx_cv_use_caret
='wxUSE_CARET=${'DEFAULT_wxUSE_CARET":-$defaultval}"
9780 eval "$wx_cv_use_caret"
9782 if test x"$enablestring" = xdisable; then
9783 if test $wxUSE_CARET = yes; then
9792 { echo "$as_me:$LINENO: result: $result" >&5
9793 echo "${ECHO_T}$result" >&6; }
9797 defaultval=$wxUSE_ALL_FEATURES
9798 if test -z "$defaultval"; then
9799 if test x"$enablestring" = xdisable; then
9806 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checkbox" >&5
9807 echo $ECHO_N "checking for --${enablestring:-enable}-checkbox... $ECHO_C" >&6; }
9808 # Check whether --enable-checkbox was given.
9809 if test "${enable_checkbox+set}" = set; then
9810 enableval=$enable_checkbox;
9811 if test "$enableval" = yes; then
9812 wx_cv_use_checkbox='wxUSE_CHECKBOX
=yes'
9814 wx_cv_use_checkbox='wxUSE_CHECKBOX
=no
'
9819 wx_cv_use_checkbox='wxUSE_CHECKBOX
=${'DEFAULT_wxUSE_CHECKBOX":-$defaultval}"
9824 eval "$wx_cv_use_checkbox"
9826 if test x"$enablestring" = xdisable; then
9827 if test $wxUSE_CHECKBOX = yes; then
9833 result=$wxUSE_CHECKBOX
9836 { echo "$as_me:$LINENO: result
: $result" >&5
9837 echo "${ECHO_T}$result" >&6; }
9841 defaultval=$wxUSE_ALL_FEATURES
9842 if test -z "$defaultval"; then
9843 if test x"$enablestring" = xdisable; then
9850 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-checklst" >&5
9851 echo $ECHO_N "checking
for --${enablestring:-enable}-checklst...
$ECHO_C" >&6; }
9852 # Check whether --enable-checklst was given.
9853 if test "${enable_checklst+set}" = set; then
9854 enableval=$enable_checklst;
9855 if test "$enableval" = yes; then
9856 wx_cv_use_checklst='wxUSE_CHECKLST=yes'
9858 wx_cv_use_checklst='wxUSE_CHECKLST=no'
9863 wx_cv_use_checklst='wxUSE_CHECKLST=${'DEFAULT_wxUSE_CHECKLST":-$defaultval}"
9868 eval "$wx_cv_use_checklst"
9870 if test x
"$enablestring" = xdisable
; then
9871 if test $wxUSE_CHECKLST = yes; then
9877 result
=$wxUSE_CHECKLST
9880 { echo "$as_me:$LINENO: result: $result" >&5
9881 echo "${ECHO_T}$result" >&6; }
9885 defaultval
=$wxUSE_ALL_FEATURES
9886 if test -z "$defaultval"; then
9887 if test x
"$enablestring" = xdisable
; then
9894 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choice" >&5
9895 echo $ECHO_N "checking for --${enablestring:-enable}-choice... $ECHO_C" >&6; }
9896 # Check whether --enable-choice was given.
9897 if test "${enable_choice+set}" = set; then
9898 enableval
=$enable_choice;
9899 if test "$enableval" = yes; then
9900 wx_cv_use_choice
='wxUSE_CHOICE=yes'
9902 wx_cv_use_choice
='wxUSE_CHOICE=no'
9907 wx_cv_use_choice
='wxUSE_CHOICE=${'DEFAULT_wxUSE_CHOICE":-$defaultval}"
9912 eval "$wx_cv_use_choice"
9914 if test x"$enablestring" = xdisable; then
9915 if test $wxUSE_CHOICE = yes; then
9921 result=$wxUSE_CHOICE
9924 { echo "$as_me:$LINENO: result: $result" >&5
9925 echo "${ECHO_T}$result" >&6; }
9929 defaultval=$wxUSE_ALL_FEATURES
9930 if test -z "$defaultval"; then
9931 if test x"$enablestring" = xdisable; then
9938 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicebook" >&5
9939 echo $ECHO_N "checking for --${enablestring:-enable}-choicebook... $ECHO_C" >&6; }
9940 # Check whether --enable-choicebook was given.
9941 if test "${enable_choicebook+set}" = set; then
9942 enableval=$enable_choicebook;
9943 if test "$enableval" = yes; then
9944 wx_cv_use_choicebook='wxUSE_CHOICEBOOK
=yes'
9946 wx_cv_use_choicebook='wxUSE_CHOICEBOOK
=no
'
9951 wx_cv_use_choicebook='wxUSE_CHOICEBOOK
=${'DEFAULT_wxUSE_CHOICEBOOK":-$defaultval}"
9956 eval "$wx_cv_use_choicebook"
9958 if test x"$enablestring" = xdisable; then
9959 if test $wxUSE_CHOICEBOOK = yes; then
9965 result=$wxUSE_CHOICEBOOK
9968 { echo "$as_me:$LINENO: result
: $result" >&5
9969 echo "${ECHO_T}$result" >&6; }
9973 defaultval=$wxUSE_ALL_FEATURES
9974 if test -z "$defaultval"; then
9975 if test x"$enablestring" = xdisable; then
9982 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-collpane" >&5
9983 echo $ECHO_N "checking
for --${enablestring:-enable}-collpane...
$ECHO_C" >&6; }
9984 # Check whether --enable-collpane was given.
9985 if test "${enable_collpane+set}" = set; then
9986 enableval=$enable_collpane;
9987 if test "$enableval" = yes; then
9988 wx_cv_use_collpane='wxUSE_COLLPANE=yes'
9990 wx_cv_use_collpane='wxUSE_COLLPANE=no'
9995 wx_cv_use_collpane='wxUSE_COLLPANE=${'DEFAULT_wxUSE_COLLPANE":-$defaultval}"
10000 eval "$wx_cv_use_collpane"
10002 if test x
"$enablestring" = xdisable
; then
10003 if test $wxUSE_COLLPANE = yes; then
10009 result
=$wxUSE_COLLPANE
10012 { echo "$as_me:$LINENO: result: $result" >&5
10013 echo "${ECHO_T}$result" >&6; }
10017 defaultval
=$wxUSE_ALL_FEATURES
10018 if test -z "$defaultval"; then
10019 if test x
"$enablestring" = xdisable
; then
10026 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-colourpicker" >&5
10027 echo $ECHO_N "checking for --${enablestring:-enable}-colourpicker... $ECHO_C" >&6; }
10028 # Check whether --enable-colourpicker was given.
10029 if test "${enable_colourpicker+set}" = set; then
10030 enableval
=$enable_colourpicker;
10031 if test "$enableval" = yes; then
10032 wx_cv_use_colourpicker
='wxUSE_COLOURPICKERCTRL=yes'
10034 wx_cv_use_colourpicker
='wxUSE_COLOURPICKERCTRL=no'
10039 wx_cv_use_colourpicker
='wxUSE_COLOURPICKERCTRL=${'DEFAULT_wxUSE_COLOURPICKERCTRL":-$defaultval}"
10044 eval "$wx_cv_use_colourpicker"
10046 if test x"$enablestring" = xdisable; then
10047 if test $wxUSE_COLOURPICKERCTRL = yes; then
10053 result=$wxUSE_COLOURPICKERCTRL
10056 { echo "$as_me:$LINENO: result: $result" >&5
10057 echo "${ECHO_T}$result" >&6; }
10061 defaultval=$wxUSE_ALL_FEATURES
10062 if test -z "$defaultval"; then
10063 if test x"$enablestring" = xdisable; then
10070 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-combobox" >&5
10071 echo $ECHO_N "checking for --${enablestring:-enable}-combobox... $ECHO_C" >&6; }
10072 # Check whether --enable-combobox was given.
10073 if test "${enable_combobox+set}" = set; then
10074 enableval=$enable_combobox;
10075 if test "$enableval" = yes; then
10076 wx_cv_use_combobox='wxUSE_COMBOBOX
=yes'
10078 wx_cv_use_combobox='wxUSE_COMBOBOX
=no
'
10083 wx_cv_use_combobox='wxUSE_COMBOBOX
=${'DEFAULT_wxUSE_COMBOBOX":-$defaultval}"
10088 eval "$wx_cv_use_combobox"
10090 if test x"$enablestring" = xdisable; then
10091 if test $wxUSE_COMBOBOX = yes; then
10097 result=$wxUSE_COMBOBOX
10100 { echo "$as_me:$LINENO: result
: $result" >&5
10101 echo "${ECHO_T}$result" >&6; }
10105 defaultval=$wxUSE_ALL_FEATURES
10106 if test -z "$defaultval"; then
10107 if test x"$enablestring" = xdisable; then
10114 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-comboctrl" >&5
10115 echo $ECHO_N "checking
for --${enablestring:-enable}-comboctrl...
$ECHO_C" >&6; }
10116 # Check whether --enable-comboctrl was given.
10117 if test "${enable_comboctrl+set}" = set; then
10118 enableval=$enable_comboctrl;
10119 if test "$enableval" = yes; then
10120 wx_cv_use_comboctrl='wxUSE_COMBOCTRL=yes'
10122 wx_cv_use_comboctrl='wxUSE_COMBOCTRL=no'
10127 wx_cv_use_comboctrl='wxUSE_COMBOCTRL=${'DEFAULT_wxUSE_COMBOCTRL":-$defaultval}"
10132 eval "$wx_cv_use_comboctrl"
10134 if test x
"$enablestring" = xdisable
; then
10135 if test $wxUSE_COMBOCTRL = yes; then
10141 result
=$wxUSE_COMBOCTRL
10144 { echo "$as_me:$LINENO: result: $result" >&5
10145 echo "${ECHO_T}$result" >&6; }
10149 defaultval
=$wxUSE_ALL_FEATURES
10150 if test -z "$defaultval"; then
10151 if test x
"$enablestring" = xdisable
; then
10158 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datepick" >&5
10159 echo $ECHO_N "checking for --${enablestring:-enable}-datepick... $ECHO_C" >&6; }
10160 # Check whether --enable-datepick was given.
10161 if test "${enable_datepick+set}" = set; then
10162 enableval
=$enable_datepick;
10163 if test "$enableval" = yes; then
10164 wx_cv_use_datepick
='wxUSE_DATEPICKCTRL=yes'
10166 wx_cv_use_datepick
='wxUSE_DATEPICKCTRL=no'
10171 wx_cv_use_datepick
='wxUSE_DATEPICKCTRL=${'DEFAULT_wxUSE_DATEPICKCTRL":-$defaultval}"
10176 eval "$wx_cv_use_datepick"
10178 if test x"$enablestring" = xdisable; then
10179 if test $wxUSE_DATEPICKCTRL = yes; then
10185 result=$wxUSE_DATEPICKCTRL
10188 { echo "$as_me:$LINENO: result: $result" >&5
10189 echo "${ECHO_T}$result" >&6; }
10193 defaultval=$wxUSE_ALL_FEATURES
10194 if test -z "$defaultval"; then
10195 if test x"$enablestring" = xdisable; then
10202 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirpicker" >&5
10203 echo $ECHO_N "checking for --${enablestring:-enable}-dirpicker... $ECHO_C" >&6; }
10204 # Check whether --enable-dirpicker was given.
10205 if test "${enable_dirpicker+set}" = set; then
10206 enableval=$enable_dirpicker;
10207 if test "$enableval" = yes; then
10208 wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL
=yes'
10210 wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL
=no
'
10215 wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL
=${'DEFAULT_wxUSE_DIRPICKERCTRL":-$defaultval}"
10220 eval "$wx_cv_use_dirpicker"
10222 if test x"$enablestring" = xdisable; then
10223 if test $wxUSE_DIRPICKERCTRL = yes; then
10229 result=$wxUSE_DIRPICKERCTRL
10232 { echo "$as_me:$LINENO: result
: $result" >&5
10233 echo "${ECHO_T}$result" >&6; }
10237 defaultval=$wxUSE_ALL_FEATURES
10238 if test -z "$defaultval"; then
10239 if test x"$enablestring" = xdisable; then
10246 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-display" >&5
10247 echo $ECHO_N "checking
for --${enablestring:-enable}-display...
$ECHO_C" >&6; }
10248 # Check whether --enable-display was given.
10249 if test "${enable_display+set}" = set; then
10250 enableval=$enable_display;
10251 if test "$enableval" = yes; then
10252 wx_cv_use_display='wxUSE_DISPLAY=yes'
10254 wx_cv_use_display='wxUSE_DISPLAY=no'
10259 wx_cv_use_display='wxUSE_DISPLAY=${'DEFAULT_wxUSE_DISPLAY":-$defaultval}"
10264 eval "$wx_cv_use_display"
10266 if test x
"$enablestring" = xdisable
; then
10267 if test $wxUSE_DISPLAY = yes; then
10273 result
=$wxUSE_DISPLAY
10276 { echo "$as_me:$LINENO: result: $result" >&5
10277 echo "${ECHO_T}$result" >&6; }
10281 defaultval
=$wxUSE_ALL_FEATURES
10282 if test -z "$defaultval"; then
10283 if test x
"$enablestring" = xdisable
; then
10290 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-detect_sm" >&5
10291 echo $ECHO_N "checking for --${enablestring:-enable}-detect_sm... $ECHO_C" >&6; }
10292 # Check whether --enable-detect_sm was given.
10293 if test "${enable_detect_sm+set}" = set; then
10294 enableval
=$enable_detect_sm;
10295 if test "$enableval" = yes; then
10296 wx_cv_use_detect_sm
='wxUSE_DETECT_SM=yes'
10298 wx_cv_use_detect_sm
='wxUSE_DETECT_SM=no'
10303 wx_cv_use_detect_sm
='wxUSE_DETECT_SM=${'DEFAULT_wxUSE_DETECT_SM":-$defaultval}"
10308 eval "$wx_cv_use_detect_sm"
10310 if test x"$enablestring" = xdisable; then
10311 if test $wxUSE_DETECT_SM = yes; then
10317 result=$wxUSE_DETECT_SM
10320 { echo "$as_me:$LINENO: result: $result" >&5
10321 echo "${ECHO_T}$result" >&6; }
10325 defaultval=$wxUSE_ALL_FEATURES
10326 if test -z "$defaultval"; then
10327 if test x"$enablestring" = xdisable; then
10334 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-editablebox" >&5
10335 echo $ECHO_N "checking for --${enablestring:-enable}-editablebox... $ECHO_C" >&6; }
10336 # Check whether --enable-editablebox was given.
10337 if test "${enable_editablebox+set}" = set; then
10338 enableval=$enable_editablebox;
10339 if test "$enableval" = yes; then
10340 wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX
=yes'
10342 wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX
=no
'
10347 wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX
=${'DEFAULT_wxUSE_EDITABLELISTBOX":-$defaultval}"
10352 eval "$wx_cv_use_editablebox"
10354 if test x"$enablestring" = xdisable; then
10355 if test $wxUSE_EDITABLELISTBOX = yes; then
10361 result=$wxUSE_EDITABLELISTBOX
10364 { echo "$as_me:$LINENO: result
: $result" >&5
10365 echo "${ECHO_T}$result" >&6; }
10369 defaultval=$wxUSE_ALL_FEATURES
10370 if test -z "$defaultval"; then
10371 if test x"$enablestring" = xdisable; then
10378 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-filepicker" >&5
10379 echo $ECHO_N "checking
for --${enablestring:-enable}-filepicker...
$ECHO_C" >&6; }
10380 # Check whether --enable-filepicker was given.
10381 if test "${enable_filepicker+set}" = set; then
10382 enableval=$enable_filepicker;
10383 if test "$enableval" = yes; then
10384 wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL=yes'
10386 wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL=no'
10391 wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL=${'DEFAULT_wxUSE_FILEPICKERCTRL":-$defaultval}"
10396 eval "$wx_cv_use_filepicker"
10398 if test x
"$enablestring" = xdisable
; then
10399 if test $wxUSE_FILEPICKERCTRL = yes; then
10405 result
=$wxUSE_FILEPICKERCTRL
10408 { echo "$as_me:$LINENO: result: $result" >&5
10409 echo "${ECHO_T}$result" >&6; }
10413 defaultval
=$wxUSE_ALL_FEATURES
10414 if test -z "$defaultval"; then
10415 if test x
"$enablestring" = xdisable
; then
10422 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filectrl" >&5
10423 echo $ECHO_N "checking for --${enablestring:-enable}-filectrl... $ECHO_C" >&6; }
10424 # Check whether --enable-filectrl was given.
10425 if test "${enable_filectrl+set}" = set; then
10426 enableval
=$enable_filectrl;
10427 if test "$enableval" = yes; then
10428 wx_cv_use_filectrl
='wxUSE_FILECTRL=yes'
10430 wx_cv_use_filectrl
='wxUSE_FILECTRL=no'
10435 wx_cv_use_filectrl
='wxUSE_FILECTRL=${'DEFAULT_wxUSE_FILECTRL":-$defaultval}"
10440 eval "$wx_cv_use_filectrl"
10442 if test x"$enablestring" = xdisable; then
10443 if test $wxUSE_FILECTRL = yes; then
10449 result=$wxUSE_FILECTRL
10452 { echo "$as_me:$LINENO: result: $result" >&5
10453 echo "${ECHO_T}$result" >&6; }
10457 defaultval=$wxUSE_ALL_FEATURES
10458 if test -z "$defaultval"; then
10459 if test x"$enablestring" = xdisable; then
10466 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontpicker" >&5
10467 echo $ECHO_N "checking for --${enablestring:-enable}-fontpicker... $ECHO_C" >&6; }
10468 # Check whether --enable-fontpicker was given.
10469 if test "${enable_fontpicker+set}" = set; then
10470 enableval=$enable_fontpicker;
10471 if test "$enableval" = yes; then
10472 wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL
=yes'
10474 wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL
=no
'
10479 wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL
=${'DEFAULT_wxUSE_FONTPICKERCTRL":-$defaultval}"
10484 eval "$wx_cv_use_fontpicker"
10486 if test x"$enablestring" = xdisable; then
10487 if test $wxUSE_FONTPICKERCTRL = yes; then
10493 result=$wxUSE_FONTPICKERCTRL
10496 { echo "$as_me:$LINENO: result
: $result" >&5
10497 echo "${ECHO_T}$result" >&6; }
10501 defaultval=$wxUSE_ALL_FEATURES
10502 if test -z "$defaultval"; then
10503 if test x"$enablestring" = xdisable; then
10510 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-gauge" >&5
10511 echo $ECHO_N "checking
for --${enablestring:-enable}-gauge...
$ECHO_C" >&6; }
10512 # Check whether --enable-gauge was given.
10513 if test "${enable_gauge+set}" = set; then
10514 enableval=$enable_gauge;
10515 if test "$enableval" = yes; then
10516 wx_cv_use_gauge='wxUSE_GAUGE=yes'
10518 wx_cv_use_gauge='wxUSE_GAUGE=no'
10523 wx_cv_use_gauge='wxUSE_GAUGE=${'DEFAULT_wxUSE_GAUGE":-$defaultval}"
10528 eval "$wx_cv_use_gauge"
10530 if test x
"$enablestring" = xdisable
; then
10531 if test $wxUSE_GAUGE = yes; then
10537 result
=$wxUSE_GAUGE
10540 { echo "$as_me:$LINENO: result: $result" >&5
10541 echo "${ECHO_T}$result" >&6; }
10545 defaultval
=$wxUSE_ALL_FEATURES
10546 if test -z "$defaultval"; then
10547 if test x
"$enablestring" = xdisable
; then
10554 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-grid" >&5
10555 echo $ECHO_N "checking for --${enablestring:-enable}-grid... $ECHO_C" >&6; }
10556 # Check whether --enable-grid was given.
10557 if test "${enable_grid+set}" = set; then
10558 enableval
=$enable_grid;
10559 if test "$enableval" = yes; then
10560 wx_cv_use_grid
='wxUSE_GRID=yes'
10562 wx_cv_use_grid
='wxUSE_GRID=no'
10567 wx_cv_use_grid
='wxUSE_GRID=${'DEFAULT_wxUSE_GRID":-$defaultval}"
10572 eval "$wx_cv_use_grid"
10574 if test x"$enablestring" = xdisable; then
10575 if test $wxUSE_GRID = yes; then
10584 { echo "$as_me:$LINENO: result: $result" >&5
10585 echo "${ECHO_T}$result" >&6; }
10589 defaultval=$wxUSE_ALL_FEATURES
10590 if test -z "$defaultval"; then
10591 if test x"$enablestring" = xdisable; then
10598 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataviewctrl" >&5
10599 echo $ECHO_N "checking for --${enablestring:-enable}-dataviewctrl... $ECHO_C" >&6; }
10600 # Check whether --enable-dataviewctrl was given.
10601 if test "${enable_dataviewctrl+set}" = set; then
10602 enableval=$enable_dataviewctrl;
10603 if test "$enableval" = yes; then
10604 wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL
=yes'
10606 wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL
=no
'
10611 wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL
=${'DEFAULT_wxUSE_DATAVIEWCTRL":-$defaultval}"
10616 eval "$wx_cv_use_dataviewctrl"
10618 if test x"$enablestring" = xdisable; then
10619 if test $wxUSE_DATAVIEWCTRL = yes; then
10625 result=$wxUSE_DATAVIEWCTRL
10628 { echo "$as_me:$LINENO: result
: $result" >&5
10629 echo "${ECHO_T}$result" >&6; }
10633 defaultval=$wxUSE_ALL_FEATURES
10634 if test -z "$defaultval"; then
10635 if test x"$enablestring" = xdisable; then
10642 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-hyperlink" >&5
10643 echo $ECHO_N "checking
for --${enablestring:-enable}-hyperlink...
$ECHO_C" >&6; }
10644 # Check whether --enable-hyperlink was given.
10645 if test "${enable_hyperlink+set}" = set; then
10646 enableval=$enable_hyperlink;
10647 if test "$enableval" = yes; then
10648 wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=yes'
10650 wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=no'
10655 wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=${'DEFAULT_wxUSE_HYPERLINKCTRL":-$defaultval}"
10660 eval "$wx_cv_use_hyperlink"
10662 if test x
"$enablestring" = xdisable
; then
10663 if test $wxUSE_HYPERLINKCTRL = yes; then
10669 result
=$wxUSE_HYPERLINKCTRL
10672 { echo "$as_me:$LINENO: result: $result" >&5
10673 echo "${ECHO_T}$result" >&6; }
10677 defaultval
=$wxUSE_ALL_FEATURES
10678 if test -z "$defaultval"; then
10679 if test x
"$enablestring" = xdisable
; then
10686 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-imaglist" >&5
10687 echo $ECHO_N "checking for --${enablestring:-enable}-imaglist... $ECHO_C" >&6; }
10688 # Check whether --enable-imaglist was given.
10689 if test "${enable_imaglist+set}" = set; then
10690 enableval
=$enable_imaglist;
10691 if test "$enableval" = yes; then
10692 wx_cv_use_imaglist
='wxUSE_IMAGLIST=yes'
10694 wx_cv_use_imaglist
='wxUSE_IMAGLIST=no'
10699 wx_cv_use_imaglist
='wxUSE_IMAGLIST=${'DEFAULT_wxUSE_IMAGLIST":-$defaultval}"
10704 eval "$wx_cv_use_imaglist"
10706 if test x"$enablestring" = xdisable; then
10707 if test $wxUSE_IMAGLIST = yes; then
10713 result=$wxUSE_IMAGLIST
10716 { echo "$as_me:$LINENO: result: $result" >&5
10717 echo "${ECHO_T}$result" >&6; }
10721 defaultval=$wxUSE_ALL_FEATURES
10722 if test -z "$defaultval"; then
10723 if test x"$enablestring" = xdisable; then
10730 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbook" >&5
10731 echo $ECHO_N "checking for --${enablestring:-enable}-listbook... $ECHO_C" >&6; }
10732 # Check whether --enable-listbook was given.
10733 if test "${enable_listbook+set}" = set; then
10734 enableval=$enable_listbook;
10735 if test "$enableval" = yes; then
10736 wx_cv_use_listbook='wxUSE_LISTBOOK
=yes'
10738 wx_cv_use_listbook='wxUSE_LISTBOOK
=no
'
10743 wx_cv_use_listbook='wxUSE_LISTBOOK
=${'DEFAULT_wxUSE_LISTBOOK":-$defaultval}"
10748 eval "$wx_cv_use_listbook"
10750 if test x"$enablestring" = xdisable; then
10751 if test $wxUSE_LISTBOOK = yes; then
10757 result=$wxUSE_LISTBOOK
10760 { echo "$as_me:$LINENO: result
: $result" >&5
10761 echo "${ECHO_T}$result" >&6; }
10765 defaultval=$wxUSE_ALL_FEATURES
10766 if test -z "$defaultval"; then
10767 if test x"$enablestring" = xdisable; then
10774 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-listbox" >&5
10775 echo $ECHO_N "checking
for --${enablestring:-enable}-listbox...
$ECHO_C" >&6; }
10776 # Check whether --enable-listbox was given.
10777 if test "${enable_listbox+set}" = set; then
10778 enableval=$enable_listbox;
10779 if test "$enableval" = yes; then
10780 wx_cv_use_listbox='wxUSE_LISTBOX=yes'
10782 wx_cv_use_listbox='wxUSE_LISTBOX=no'
10787 wx_cv_use_listbox='wxUSE_LISTBOX=${'DEFAULT_wxUSE_LISTBOX":-$defaultval}"
10792 eval "$wx_cv_use_listbox"
10794 if test x
"$enablestring" = xdisable
; then
10795 if test $wxUSE_LISTBOX = yes; then
10801 result
=$wxUSE_LISTBOX
10804 { echo "$as_me:$LINENO: result: $result" >&5
10805 echo "${ECHO_T}$result" >&6; }
10809 defaultval
=$wxUSE_ALL_FEATURES
10810 if test -z "$defaultval"; then
10811 if test x
"$enablestring" = xdisable
; then
10818 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listctrl" >&5
10819 echo $ECHO_N "checking for --${enablestring:-enable}-listctrl... $ECHO_C" >&6; }
10820 # Check whether --enable-listctrl was given.
10821 if test "${enable_listctrl+set}" = set; then
10822 enableval
=$enable_listctrl;
10823 if test "$enableval" = yes; then
10824 wx_cv_use_listctrl
='wxUSE_LISTCTRL=yes'
10826 wx_cv_use_listctrl
='wxUSE_LISTCTRL=no'
10831 wx_cv_use_listctrl
='wxUSE_LISTCTRL=${'DEFAULT_wxUSE_LISTCTRL":-$defaultval}"
10836 eval "$wx_cv_use_listctrl"
10838 if test x"$enablestring" = xdisable; then
10839 if test $wxUSE_LISTCTRL = yes; then
10845 result=$wxUSE_LISTCTRL
10848 { echo "$as_me:$LINENO: result: $result" >&5
10849 echo "${ECHO_T}$result" >&6; }
10853 defaultval=$wxUSE_ALL_FEATURES
10854 if test -z "$defaultval"; then
10855 if test x"$enablestring" = xdisable; then
10862 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-notebook" >&5
10863 echo $ECHO_N "checking for --${enablestring:-enable}-notebook... $ECHO_C" >&6; }
10864 # Check whether --enable-notebook was given.
10865 if test "${enable_notebook+set}" = set; then
10866 enableval=$enable_notebook;
10867 if test "$enableval" = yes; then
10868 wx_cv_use_notebook='wxUSE_NOTEBOOK
=yes'
10870 wx_cv_use_notebook='wxUSE_NOTEBOOK
=no
'
10875 wx_cv_use_notebook='wxUSE_NOTEBOOK
=${'DEFAULT_wxUSE_NOTEBOOK":-$defaultval}"
10880 eval "$wx_cv_use_notebook"
10882 if test x"$enablestring" = xdisable; then
10883 if test $wxUSE_NOTEBOOK = yes; then
10889 result=$wxUSE_NOTEBOOK
10892 { echo "$as_me:$LINENO: result
: $result" >&5
10893 echo "${ECHO_T}$result" >&6; }
10897 defaultval=$wxUSE_ALL_FEATURES
10898 if test -z "$defaultval"; then
10899 if test x"$enablestring" = xdisable; then
10906 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-notifmsg" >&5
10907 echo $ECHO_N "checking
for --${enablestring:-enable}-notifmsg...
$ECHO_C" >&6; }
10908 # Check whether --enable-notifmsg was given.
10909 if test "${enable_notifmsg+set}" = set; then
10910 enableval=$enable_notifmsg;
10911 if test "$enableval" = yes; then
10912 wx_cv_use_notifmsg='wxUSE_NOTIFICATION_MESSAGE=yes'
10914 wx_cv_use_notifmsg='wxUSE_NOTIFICATION_MESSAGE=no'
10919 wx_cv_use_notifmsg='wxUSE_NOTIFICATION_MESSAGE=${'DEFAULT_wxUSE_NOTIFICATION_MESSAGE":-$defaultval}"
10924 eval "$wx_cv_use_notifmsg"
10926 if test x
"$enablestring" = xdisable
; then
10927 if test $wxUSE_NOTIFICATION_MESSAGE = yes; then
10933 result
=$wxUSE_NOTIFICATION_MESSAGE
10936 { echo "$as_me:$LINENO: result: $result" >&5
10937 echo "${ECHO_T}$result" >&6; }
10941 defaultval
=$wxUSE_ALL_FEATURES
10942 if test -z "$defaultval"; then
10943 if test x
"$enablestring" = xdisable
; then
10950 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-odcombobox" >&5
10951 echo $ECHO_N "checking for --${enablestring:-enable}-odcombobox... $ECHO_C" >&6; }
10952 # Check whether --enable-odcombobox was given.
10953 if test "${enable_odcombobox+set}" = set; then
10954 enableval
=$enable_odcombobox;
10955 if test "$enableval" = yes; then
10956 wx_cv_use_odcombobox
='wxUSE_ODCOMBOBOX=yes'
10958 wx_cv_use_odcombobox
='wxUSE_ODCOMBOBOX=no'
10963 wx_cv_use_odcombobox
='wxUSE_ODCOMBOBOX=${'DEFAULT_wxUSE_ODCOMBOBOX":-$defaultval}"
10968 eval "$wx_cv_use_odcombobox"
10970 if test x"$enablestring" = xdisable; then
10971 if test $wxUSE_ODCOMBOBOX = yes; then
10977 result=$wxUSE_ODCOMBOBOX
10980 { echo "$as_me:$LINENO: result: $result" >&5
10981 echo "${ECHO_T}$result" >&6; }
10985 defaultval=$wxUSE_ALL_FEATURES
10986 if test -z "$defaultval"; then
10987 if test x"$enablestring" = xdisable; then
10994 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobox" >&5
10995 echo $ECHO_N "checking for --${enablestring:-enable}-radiobox... $ECHO_C" >&6; }
10996 # Check whether --enable-radiobox was given.
10997 if test "${enable_radiobox+set}" = set; then
10998 enableval=$enable_radiobox;
10999 if test "$enableval" = yes; then
11000 wx_cv_use_radiobox='wxUSE_RADIOBOX
=yes'
11002 wx_cv_use_radiobox='wxUSE_RADIOBOX
=no
'
11007 wx_cv_use_radiobox='wxUSE_RADIOBOX
=${'DEFAULT_wxUSE_RADIOBOX":-$defaultval}"
11012 eval "$wx_cv_use_radiobox"
11014 if test x"$enablestring" = xdisable; then
11015 if test $wxUSE_RADIOBOX = yes; then
11021 result=$wxUSE_RADIOBOX
11024 { echo "$as_me:$LINENO: result
: $result" >&5
11025 echo "${ECHO_T}$result" >&6; }
11029 defaultval=$wxUSE_ALL_FEATURES
11030 if test -z "$defaultval"; then
11031 if test x"$enablestring" = xdisable; then
11038 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-radiobtn" >&5
11039 echo $ECHO_N "checking
for --${enablestring:-enable}-radiobtn...
$ECHO_C" >&6; }
11040 # Check whether --enable-radiobtn was given.
11041 if test "${enable_radiobtn+set}" = set; then
11042 enableval=$enable_radiobtn;
11043 if test "$enableval" = yes; then
11044 wx_cv_use_radiobtn='wxUSE_RADIOBTN=yes'
11046 wx_cv_use_radiobtn='wxUSE_RADIOBTN=no'
11051 wx_cv_use_radiobtn='wxUSE_RADIOBTN=${'DEFAULT_wxUSE_RADIOBTN":-$defaultval}"
11056 eval "$wx_cv_use_radiobtn"
11058 if test x
"$enablestring" = xdisable
; then
11059 if test $wxUSE_RADIOBTN = yes; then
11065 result
=$wxUSE_RADIOBTN
11068 { echo "$as_me:$LINENO: result: $result" >&5
11069 echo "${ECHO_T}$result" >&6; }
11073 defaultval
=$wxUSE_ALL_FEATURES
11074 if test -z "$defaultval"; then
11075 if test x
"$enablestring" = xdisable
; then
11082 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sash" >&5
11083 echo $ECHO_N "checking for --${enablestring:-enable}-sash... $ECHO_C" >&6; }
11084 # Check whether --enable-sash was given.
11085 if test "${enable_sash+set}" = set; then
11086 enableval
=$enable_sash;
11087 if test "$enableval" = yes; then
11088 wx_cv_use_sash
='wxUSE_SASH=yes'
11090 wx_cv_use_sash
='wxUSE_SASH=no'
11095 wx_cv_use_sash
='wxUSE_SASH=${'DEFAULT_wxUSE_SASH":-$defaultval}"
11100 eval "$wx_cv_use_sash"
11102 if test x"$enablestring" = xdisable; then
11103 if test $wxUSE_SASH = yes; then
11112 { echo "$as_me:$LINENO: result: $result" >&5
11113 echo "${ECHO_T}$result" >&6; }
11117 defaultval=$wxUSE_ALL_FEATURES
11118 if test -z "$defaultval"; then
11119 if test x"$enablestring" = xdisable; then
11126 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-scrollbar" >&5
11127 echo $ECHO_N "checking for --${enablestring:-enable}-scrollbar... $ECHO_C" >&6; }
11128 # Check whether --enable-scrollbar was given.
11129 if test "${enable_scrollbar+set}" = set; then
11130 enableval=$enable_scrollbar;
11131 if test "$enableval" = yes; then
11132 wx_cv_use_scrollbar='wxUSE_SCROLLBAR
=yes'
11134 wx_cv_use_scrollbar='wxUSE_SCROLLBAR
=no
'
11139 wx_cv_use_scrollbar='wxUSE_SCROLLBAR
=${'DEFAULT_wxUSE_SCROLLBAR":-$defaultval}"
11144 eval "$wx_cv_use_scrollbar"
11146 if test x"$enablestring" = xdisable; then
11147 if test $wxUSE_SCROLLBAR = yes; then
11153 result=$wxUSE_SCROLLBAR
11156 { echo "$as_me:$LINENO: result
: $result" >&5
11157 echo "${ECHO_T}$result" >&6; }
11161 defaultval=$wxUSE_ALL_FEATURES
11162 if test -z "$defaultval"; then
11163 if test x"$enablestring" = xdisable; then
11170 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-searchctrl" >&5
11171 echo $ECHO_N "checking
for --${enablestring:-enable}-searchctrl...
$ECHO_C" >&6; }
11172 # Check whether --enable-searchctrl was given.
11173 if test "${enable_searchctrl+set}" = set; then
11174 enableval=$enable_searchctrl;
11175 if test "$enableval" = yes; then
11176 wx_cv_use_searchctrl='wxUSE_SEARCHCTRL=yes'
11178 wx_cv_use_searchctrl='wxUSE_SEARCHCTRL=no'
11183 wx_cv_use_searchctrl='wxUSE_SEARCHCTRL=${'DEFAULT_wxUSE_SEARCHCTRL":-$defaultval}"
11188 eval "$wx_cv_use_searchctrl"
11190 if test x
"$enablestring" = xdisable
; then
11191 if test $wxUSE_SEARCHCTRL = yes; then
11197 result
=$wxUSE_SEARCHCTRL
11200 { echo "$as_me:$LINENO: result: $result" >&5
11201 echo "${ECHO_T}$result" >&6; }
11205 defaultval
=$wxUSE_ALL_FEATURES
11206 if test -z "$defaultval"; then
11207 if test x
"$enablestring" = xdisable
; then
11214 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-slider" >&5
11215 echo $ECHO_N "checking for --${enablestring:-enable}-slider... $ECHO_C" >&6; }
11216 # Check whether --enable-slider was given.
11217 if test "${enable_slider+set}" = set; then
11218 enableval
=$enable_slider;
11219 if test "$enableval" = yes; then
11220 wx_cv_use_slider
='wxUSE_SLIDER=yes'
11222 wx_cv_use_slider
='wxUSE_SLIDER=no'
11227 wx_cv_use_slider
='wxUSE_SLIDER=${'DEFAULT_wxUSE_SLIDER":-$defaultval}"
11232 eval "$wx_cv_use_slider"
11234 if test x"$enablestring" = xdisable; then
11235 if test $wxUSE_SLIDER = yes; then
11241 result=$wxUSE_SLIDER
11244 { echo "$as_me:$LINENO: result: $result" >&5
11245 echo "${ECHO_T}$result" >&6; }
11249 defaultval=$wxUSE_ALL_FEATURES
11250 if test -z "$defaultval"; then
11251 if test x"$enablestring" = xdisable; then
11258 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinbtn" >&5
11259 echo $ECHO_N "checking for --${enablestring:-enable}-spinbtn... $ECHO_C" >&6; }
11260 # Check whether --enable-spinbtn was given.
11261 if test "${enable_spinbtn+set}" = set; then
11262 enableval=$enable_spinbtn;
11263 if test "$enableval" = yes; then
11264 wx_cv_use_spinbtn='wxUSE_SPINBTN
=yes'
11266 wx_cv_use_spinbtn='wxUSE_SPINBTN
=no
'
11271 wx_cv_use_spinbtn='wxUSE_SPINBTN
=${'DEFAULT_wxUSE_SPINBTN":-$defaultval}"
11276 eval "$wx_cv_use_spinbtn"
11278 if test x"$enablestring" = xdisable; then
11279 if test $wxUSE_SPINBTN = yes; then
11285 result=$wxUSE_SPINBTN
11288 { echo "$as_me:$LINENO: result
: $result" >&5
11289 echo "${ECHO_T}$result" >&6; }
11293 defaultval=$wxUSE_ALL_FEATURES
11294 if test -z "$defaultval"; then
11295 if test x"$enablestring" = xdisable; then
11302 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-spinctrl" >&5
11303 echo $ECHO_N "checking
for --${enablestring:-enable}-spinctrl...
$ECHO_C" >&6; }
11304 # Check whether --enable-spinctrl was given.
11305 if test "${enable_spinctrl+set}" = set; then
11306 enableval=$enable_spinctrl;
11307 if test "$enableval" = yes; then
11308 wx_cv_use_spinctrl='wxUSE_SPINCTRL=yes'
11310 wx_cv_use_spinctrl='wxUSE_SPINCTRL=no'
11315 wx_cv_use_spinctrl='wxUSE_SPINCTRL=${'DEFAULT_wxUSE_SPINCTRL":-$defaultval}"
11320 eval "$wx_cv_use_spinctrl"
11322 if test x
"$enablestring" = xdisable
; then
11323 if test $wxUSE_SPINCTRL = yes; then
11329 result
=$wxUSE_SPINCTRL
11332 { echo "$as_me:$LINENO: result: $result" >&5
11333 echo "${ECHO_T}$result" >&6; }
11337 defaultval
=$wxUSE_ALL_FEATURES
11338 if test -z "$defaultval"; then
11339 if test x
"$enablestring" = xdisable
; then
11346 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splitter" >&5
11347 echo $ECHO_N "checking for --${enablestring:-enable}-splitter... $ECHO_C" >&6; }
11348 # Check whether --enable-splitter was given.
11349 if test "${enable_splitter+set}" = set; then
11350 enableval
=$enable_splitter;
11351 if test "$enableval" = yes; then
11352 wx_cv_use_splitter
='wxUSE_SPLITTER=yes'
11354 wx_cv_use_splitter
='wxUSE_SPLITTER=no'
11359 wx_cv_use_splitter
='wxUSE_SPLITTER=${'DEFAULT_wxUSE_SPLITTER":-$defaultval}"
11364 eval "$wx_cv_use_splitter"
11366 if test x"$enablestring" = xdisable; then
11367 if test $wxUSE_SPLITTER = yes; then
11373 result=$wxUSE_SPLITTER
11376 { echo "$as_me:$LINENO: result: $result" >&5
11377 echo "${ECHO_T}$result" >&6; }
11381 defaultval=$wxUSE_ALL_FEATURES
11382 if test -z "$defaultval"; then
11383 if test x"$enablestring" = xdisable; then
11390 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbmp" >&5
11391 echo $ECHO_N "checking for --${enablestring:-enable}-statbmp... $ECHO_C" >&6; }
11392 # Check whether --enable-statbmp was given.
11393 if test "${enable_statbmp+set}" = set; then
11394 enableval=$enable_statbmp;
11395 if test "$enableval" = yes; then
11396 wx_cv_use_statbmp='wxUSE_STATBMP
=yes'
11398 wx_cv_use_statbmp='wxUSE_STATBMP
=no
'
11403 wx_cv_use_statbmp='wxUSE_STATBMP
=${'DEFAULT_wxUSE_STATBMP":-$defaultval}"
11408 eval "$wx_cv_use_statbmp"
11410 if test x"$enablestring" = xdisable; then
11411 if test $wxUSE_STATBMP = yes; then
11417 result=$wxUSE_STATBMP
11420 { echo "$as_me:$LINENO: result
: $result" >&5
11421 echo "${ECHO_T}$result" >&6; }
11425 defaultval=$wxUSE_ALL_FEATURES
11426 if test -z "$defaultval"; then
11427 if test x"$enablestring" = xdisable; then
11434 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-statbox" >&5
11435 echo $ECHO_N "checking
for --${enablestring:-enable}-statbox...
$ECHO_C" >&6; }
11436 # Check whether --enable-statbox was given.
11437 if test "${enable_statbox+set}" = set; then
11438 enableval=$enable_statbox;
11439 if test "$enableval" = yes; then
11440 wx_cv_use_statbox='wxUSE_STATBOX=yes'
11442 wx_cv_use_statbox='wxUSE_STATBOX=no'
11447 wx_cv_use_statbox='wxUSE_STATBOX=${'DEFAULT_wxUSE_STATBOX":-$defaultval}"
11452 eval "$wx_cv_use_statbox"
11454 if test x
"$enablestring" = xdisable
; then
11455 if test $wxUSE_STATBOX = yes; then
11461 result
=$wxUSE_STATBOX
11464 { echo "$as_me:$LINENO: result: $result" >&5
11465 echo "${ECHO_T}$result" >&6; }
11469 defaultval
=$wxUSE_ALL_FEATURES
11470 if test -z "$defaultval"; then
11471 if test x
"$enablestring" = xdisable
; then
11478 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statline" >&5
11479 echo $ECHO_N "checking for --${enablestring:-enable}-statline... $ECHO_C" >&6; }
11480 # Check whether --enable-statline was given.
11481 if test "${enable_statline+set}" = set; then
11482 enableval
=$enable_statline;
11483 if test "$enableval" = yes; then
11484 wx_cv_use_statline
='wxUSE_STATLINE=yes'
11486 wx_cv_use_statline
='wxUSE_STATLINE=no'
11491 wx_cv_use_statline
='wxUSE_STATLINE=${'DEFAULT_wxUSE_STATLINE":-$defaultval}"
11496 eval "$wx_cv_use_statline"
11498 if test x"$enablestring" = xdisable; then
11499 if test $wxUSE_STATLINE = yes; then
11505 result=$wxUSE_STATLINE
11508 { echo "$as_me:$LINENO: result: $result" >&5
11509 echo "${ECHO_T}$result" >&6; }
11513 defaultval=$wxUSE_ALL_FEATURES
11514 if test -z "$defaultval"; then
11515 if test x"$enablestring" = xdisable; then
11522 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stattext" >&5
11523 echo $ECHO_N "checking for --${enablestring:-enable}-stattext... $ECHO_C" >&6; }
11524 # Check whether --enable-stattext was given.
11525 if test "${enable_stattext+set}" = set; then
11526 enableval=$enable_stattext;
11527 if test "$enableval" = yes; then
11528 wx_cv_use_stattext='wxUSE_STATTEXT
=yes'
11530 wx_cv_use_stattext='wxUSE_STATTEXT
=no
'
11535 wx_cv_use_stattext='wxUSE_STATTEXT
=${'DEFAULT_wxUSE_STATTEXT":-$defaultval}"
11540 eval "$wx_cv_use_stattext"
11542 if test x"$enablestring" = xdisable; then
11543 if test $wxUSE_STATTEXT = yes; then
11549 result=$wxUSE_STATTEXT
11552 { echo "$as_me:$LINENO: result
: $result" >&5
11553 echo "${ECHO_T}$result" >&6; }
11557 defaultval=$wxUSE_ALL_FEATURES
11558 if test -z "$defaultval"; then
11559 if test x"$enablestring" = xdisable; then
11566 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-statusbar" >&5
11567 echo $ECHO_N "checking
for --${enablestring:-enable}-statusbar...
$ECHO_C" >&6; }
11568 # Check whether --enable-statusbar was given.
11569 if test "${enable_statusbar+set}" = set; then
11570 enableval=$enable_statusbar;
11571 if test "$enableval" = yes; then
11572 wx_cv_use_statusbar='wxUSE_STATUSBAR=yes'
11574 wx_cv_use_statusbar='wxUSE_STATUSBAR=no'
11579 wx_cv_use_statusbar='wxUSE_STATUSBAR=${'DEFAULT_wxUSE_STATUSBAR":-$defaultval}"
11584 eval "$wx_cv_use_statusbar"
11586 if test x
"$enablestring" = xdisable
; then
11587 if test $wxUSE_STATUSBAR = yes; then
11593 result
=$wxUSE_STATUSBAR
11596 { echo "$as_me:$LINENO: result: $result" >&5
11597 echo "${ECHO_T}$result" >&6; }
11601 defaultval
=$wxUSE_ALL_FEATURES
11602 if test -z "$defaultval"; then
11603 if test x
"$enablestring" = xdisable
; then
11610 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tabdialog" >&5
11611 echo $ECHO_N "checking for --${enablestring:-enable}-tabdialog... $ECHO_C" >&6; }
11612 # Check whether --enable-tabdialog was given.
11613 if test "${enable_tabdialog+set}" = set; then
11614 enableval
=$enable_tabdialog;
11615 if test "$enableval" = yes; then
11616 wx_cv_use_tabdialog
='wxUSE_TAB_DIALOG=yes'
11618 wx_cv_use_tabdialog
='wxUSE_TAB_DIALOG=no'
11623 wx_cv_use_tabdialog
='wxUSE_TAB_DIALOG=${'DEFAULT_wxUSE_TAB_DIALOG":-$defaultval}"
11628 eval "$wx_cv_use_tabdialog"
11630 if test x"$enablestring" = xdisable; then
11631 if test $wxUSE_TAB_DIALOG = yes; then
11637 result=$wxUSE_TAB_DIALOG
11640 { echo "$as_me:$LINENO: result: $result" >&5
11641 echo "${ECHO_T}$result" >&6; }
11645 defaultval=$wxUSE_ALL_FEATURES
11646 if test -z "$defaultval"; then
11647 if test x"$enablestring" = xdisable; then
11654 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-taskbaricon" >&5
11655 echo $ECHO_N "checking for --${enablestring:-enable}-taskbaricon... $ECHO_C" >&6; }
11656 # Check whether --enable-taskbaricon was given.
11657 if test "${enable_taskbaricon+set}" = set; then
11658 enableval=$enable_taskbaricon;
11659 if test "$enableval" = yes; then
11660 wx_cv_use_taskbaricon='wxUSE_TASKBARICON
=yes'
11662 wx_cv_use_taskbaricon='wxUSE_TASKBARICON
=no
'
11667 wx_cv_use_taskbaricon='wxUSE_TASKBARICON
=${'DEFAULT_wxUSE_TASKBARICON":-$defaultval}"
11672 eval "$wx_cv_use_taskbaricon"
11674 if test x"$enablestring" = xdisable; then
11675 if test $wxUSE_TASKBARICON = yes; then
11681 result=$wxUSE_TASKBARICON
11684 { echo "$as_me:$LINENO: result
: $result" >&5
11685 echo "${ECHO_T}$result" >&6; }
11689 defaultval=$wxUSE_ALL_FEATURES
11690 if test -z "$defaultval"; then
11691 if test x"$enablestring" = xdisable; then
11698 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-textctrl" >&5
11699 echo $ECHO_N "checking
for --${enablestring:-enable}-textctrl...
$ECHO_C" >&6; }
11700 # Check whether --enable-textctrl was given.
11701 if test "${enable_textctrl+set}" = set; then
11702 enableval=$enable_textctrl;
11703 if test "$enableval" = yes; then
11704 wx_cv_use_textctrl='wxUSE_TEXTCTRL=yes'
11706 wx_cv_use_textctrl='wxUSE_TEXTCTRL=no'
11711 wx_cv_use_textctrl='wxUSE_TEXTCTRL=${'DEFAULT_wxUSE_TEXTCTRL":-$defaultval}"
11716 eval "$wx_cv_use_textctrl"
11718 if test x
"$enablestring" = xdisable
; then
11719 if test $wxUSE_TEXTCTRL = yes; then
11725 result
=$wxUSE_TEXTCTRL
11728 { echo "$as_me:$LINENO: result: $result" >&5
11729 echo "${ECHO_T}$result" >&6; }
11733 defaultval
=$wxUSE_ALL_FEATURES
11734 if test -z "$defaultval"; then
11735 if test x
"$enablestring" = xdisable
; then
11742 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-togglebtn" >&5
11743 echo $ECHO_N "checking for --${enablestring:-enable}-togglebtn... $ECHO_C" >&6; }
11744 # Check whether --enable-togglebtn was given.
11745 if test "${enable_togglebtn+set}" = set; then
11746 enableval
=$enable_togglebtn;
11747 if test "$enableval" = yes; then
11748 wx_cv_use_togglebtn
='wxUSE_TOGGLEBTN=yes'
11750 wx_cv_use_togglebtn
='wxUSE_TOGGLEBTN=no'
11755 wx_cv_use_togglebtn
='wxUSE_TOGGLEBTN=${'DEFAULT_wxUSE_TOGGLEBTN":-$defaultval}"
11760 eval "$wx_cv_use_togglebtn"
11762 if test x"$enablestring" = xdisable; then
11763 if test $wxUSE_TOGGLEBTN = yes; then
11769 result=$wxUSE_TOGGLEBTN
11772 { echo "$as_me:$LINENO: result: $result" >&5
11773 echo "${ECHO_T}$result" >&6; }
11777 defaultval=$wxUSE_ALL_FEATURES
11778 if test -z "$defaultval"; then
11779 if test x"$enablestring" = xdisable; then
11786 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbar" >&5
11787 echo $ECHO_N "checking for --${enablestring:-enable}-toolbar... $ECHO_C" >&6; }
11788 # Check whether --enable-toolbar was given.
11789 if test "${enable_toolbar+set}" = set; then
11790 enableval=$enable_toolbar;
11791 if test "$enableval" = yes; then
11792 wx_cv_use_toolbar='wxUSE_TOOLBAR
=yes'
11794 wx_cv_use_toolbar='wxUSE_TOOLBAR
=no
'
11799 wx_cv_use_toolbar='wxUSE_TOOLBAR
=${'DEFAULT_wxUSE_TOOLBAR":-$defaultval}"
11804 eval "$wx_cv_use_toolbar"
11806 if test x"$enablestring" = xdisable; then
11807 if test $wxUSE_TOOLBAR = yes; then
11813 result=$wxUSE_TOOLBAR
11816 { echo "$as_me:$LINENO: result
: $result" >&5
11817 echo "${ECHO_T}$result" >&6; }
11821 defaultval=$wxUSE_ALL_FEATURES
11822 if test -z "$defaultval"; then
11823 if test x"$enablestring" = xdisable; then
11830 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-tbarnative" >&5
11831 echo $ECHO_N "checking
for --${enablestring:-enable}-tbarnative...
$ECHO_C" >&6; }
11832 # Check whether --enable-tbarnative was given.
11833 if test "${enable_tbarnative+set}" = set; then
11834 enableval=$enable_tbarnative;
11835 if test "$enableval" = yes; then
11836 wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=yes'
11838 wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=no'
11843 wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=${'DEFAULT_wxUSE_TOOLBAR_NATIVE":-$defaultval}"
11848 eval "$wx_cv_use_tbarnative"
11850 if test x
"$enablestring" = xdisable
; then
11851 if test $wxUSE_TOOLBAR_NATIVE = yes; then
11857 result
=$wxUSE_TOOLBAR_NATIVE
11860 { echo "$as_me:$LINENO: result: $result" >&5
11861 echo "${ECHO_T}$result" >&6; }
11865 defaultval
=$wxUSE_ALL_FEATURES
11866 if test -z "$defaultval"; then
11867 if test x
"$enablestring" = xdisable
; then
11874 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treebook" >&5
11875 echo $ECHO_N "checking for --${enablestring:-enable}-treebook... $ECHO_C" >&6; }
11876 # Check whether --enable-treebook was given.
11877 if test "${enable_treebook+set}" = set; then
11878 enableval
=$enable_treebook;
11879 if test "$enableval" = yes; then
11880 wx_cv_use_treebook
='wxUSE_TREEBOOK=yes'
11882 wx_cv_use_treebook
='wxUSE_TREEBOOK=no'
11887 wx_cv_use_treebook
='wxUSE_TREEBOOK=${'DEFAULT_wxUSE_TREEBOOK":-$defaultval}"
11892 eval "$wx_cv_use_treebook"
11894 if test x"$enablestring" = xdisable; then
11895 if test $wxUSE_TREEBOOK = yes; then
11901 result=$wxUSE_TREEBOOK
11904 { echo "$as_me:$LINENO: result: $result" >&5
11905 echo "${ECHO_T}$result" >&6; }
11909 defaultval=$wxUSE_ALL_FEATURES
11910 if test -z "$defaultval"; then
11911 if test x"$enablestring" = xdisable; then
11918 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbook" >&5
11919 echo $ECHO_N "checking for --${enablestring:-enable}-toolbook... $ECHO_C" >&6; }
11920 # Check whether --enable-toolbook was given.
11921 if test "${enable_toolbook+set}" = set; then
11922 enableval=$enable_toolbook;
11923 if test "$enableval" = yes; then
11924 wx_cv_use_toolbook='wxUSE_TOOLBOOK
=yes'
11926 wx_cv_use_toolbook='wxUSE_TOOLBOOK
=no
'
11931 wx_cv_use_toolbook='wxUSE_TOOLBOOK
=${'DEFAULT_wxUSE_TOOLBOOK":-$defaultval}"
11936 eval "$wx_cv_use_toolbook"
11938 if test x"$enablestring" = xdisable; then
11939 if test $wxUSE_TOOLBOOK = yes; then
11945 result=$wxUSE_TOOLBOOK
11948 { echo "$as_me:$LINENO: result
: $result" >&5
11949 echo "${ECHO_T}$result" >&6; }
11953 defaultval=$wxUSE_ALL_FEATURES
11954 if test -z "$defaultval"; then
11955 if test x"$enablestring" = xdisable; then
11962 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-treectrl" >&5
11963 echo $ECHO_N "checking
for --${enablestring:-enable}-treectrl...
$ECHO_C" >&6; }
11964 # Check whether --enable-treectrl was given.
11965 if test "${enable_treectrl+set}" = set; then
11966 enableval=$enable_treectrl;
11967 if test "$enableval" = yes; then
11968 wx_cv_use_treectrl='wxUSE_TREECTRL=yes'
11970 wx_cv_use_treectrl='wxUSE_TREECTRL=no'
11975 wx_cv_use_treectrl='wxUSE_TREECTRL=${'DEFAULT_wxUSE_TREECTRL":-$defaultval}"
11980 eval "$wx_cv_use_treectrl"
11982 if test x
"$enablestring" = xdisable
; then
11983 if test $wxUSE_TREECTRL = yes; then
11989 result
=$wxUSE_TREECTRL
11992 { echo "$as_me:$LINENO: result: $result" >&5
11993 echo "${ECHO_T}$result" >&6; }
11997 defaultval
=$wxUSE_ALL_FEATURES
11998 if test -z "$defaultval"; then
11999 if test x
"$enablestring" = xdisable
; then
12006 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipwindow" >&5
12007 echo $ECHO_N "checking for --${enablestring:-enable}-tipwindow... $ECHO_C" >&6; }
12008 # Check whether --enable-tipwindow was given.
12009 if test "${enable_tipwindow+set}" = set; then
12010 enableval
=$enable_tipwindow;
12011 if test "$enableval" = yes; then
12012 wx_cv_use_tipwindow
='wxUSE_TIPWINDOW=yes'
12014 wx_cv_use_tipwindow
='wxUSE_TIPWINDOW=no'
12019 wx_cv_use_tipwindow
='wxUSE_TIPWINDOW=${'DEFAULT_wxUSE_TIPWINDOW":-$defaultval}"
12024 eval "$wx_cv_use_tipwindow"
12026 if test x"$enablestring" = xdisable; then
12027 if test $wxUSE_TIPWINDOW = yes; then
12033 result=$wxUSE_TIPWINDOW
12036 { echo "$as_me:$LINENO: result: $result" >&5
12037 echo "${ECHO_T}$result" >&6; }
12041 defaultval=$wxUSE_ALL_FEATURES
12042 if test -z "$defaultval"; then
12043 if test x"$enablestring" = xdisable; then
12050 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-popupwin" >&5
12051 echo $ECHO_N "checking for --${enablestring:-enable}-popupwin... $ECHO_C" >&6; }
12052 # Check whether --enable-popupwin was given.
12053 if test "${enable_popupwin+set}" = set; then
12054 enableval=$enable_popupwin;
12055 if test "$enableval" = yes; then
12056 wx_cv_use_popupwin='wxUSE_POPUPWIN
=yes'
12058 wx_cv_use_popupwin='wxUSE_POPUPWIN
=no
'
12063 wx_cv_use_popupwin='wxUSE_POPUPWIN
=${'DEFAULT_wxUSE_POPUPWIN":-$defaultval}"
12068 eval "$wx_cv_use_popupwin"
12070 if test x"$enablestring" = xdisable; then
12071 if test $wxUSE_POPUPWIN = yes; then
12077 result=$wxUSE_POPUPWIN
12080 { echo "$as_me:$LINENO: result
: $result" >&5
12081 echo "${ECHO_T}$result" >&6; }
12087 defaultval=$wxUSE_ALL_FEATURES
12088 if test -z "$defaultval"; then
12089 if test x"$enablestring" = xdisable; then
12096 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-commondlg" >&5
12097 echo $ECHO_N "checking
for --${enablestring:-enable}-commondlg...
$ECHO_C" >&6; }
12098 # Check whether --enable-commondlg was given.
12099 if test "${enable_commondlg+set}" = set; then
12100 enableval=$enable_commondlg;
12101 if test "$enableval" = yes; then
12102 wx_cv_use_commondlg='wxUSE_COMMONDLGS=yes'
12104 wx_cv_use_commondlg='wxUSE_COMMONDLGS=no'
12109 wx_cv_use_commondlg='wxUSE_COMMONDLGS=${'DEFAULT_wxUSE_COMMONDLGS":-$defaultval}"
12114 eval "$wx_cv_use_commondlg"
12116 if test x
"$enablestring" = xdisable
; then
12117 if test $wxUSE_COMMONDLGS = yes; then
12123 result
=$wxUSE_COMMONDLGS
12126 { echo "$as_me:$LINENO: result: $result" >&5
12127 echo "${ECHO_T}$result" >&6; }
12131 defaultval
=$wxUSE_ALL_FEATURES
12132 if test -z "$defaultval"; then
12133 if test x
"$enablestring" = xdisable
; then
12140 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-aboutdlg" >&5
12141 echo $ECHO_N "checking for --${enablestring:-enable}-aboutdlg... $ECHO_C" >&6; }
12142 # Check whether --enable-aboutdlg was given.
12143 if test "${enable_aboutdlg+set}" = set; then
12144 enableval
=$enable_aboutdlg;
12145 if test "$enableval" = yes; then
12146 wx_cv_use_aboutdlg
='wxUSE_ABOUTDLG=yes'
12148 wx_cv_use_aboutdlg
='wxUSE_ABOUTDLG=no'
12153 wx_cv_use_aboutdlg
='wxUSE_ABOUTDLG=${'DEFAULT_wxUSE_ABOUTDLG":-$defaultval}"
12158 eval "$wx_cv_use_aboutdlg"
12160 if test x"$enablestring" = xdisable; then
12161 if test $wxUSE_ABOUTDLG = yes; then
12167 result=$wxUSE_ABOUTDLG
12170 { echo "$as_me:$LINENO: result: $result" >&5
12171 echo "${ECHO_T}$result" >&6; }
12175 defaultval=$wxUSE_ALL_FEATURES
12176 if test -z "$defaultval"; then
12177 if test x"$enablestring" = xdisable; then
12184 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicedlg" >&5
12185 echo $ECHO_N "checking for --${enablestring:-enable}-choicedlg... $ECHO_C" >&6; }
12186 # Check whether --enable-choicedlg was given.
12187 if test "${enable_choicedlg+set}" = set; then
12188 enableval=$enable_choicedlg;
12189 if test "$enableval" = yes; then
12190 wx_cv_use_choicedlg='wxUSE_CHOICEDLG
=yes'
12192 wx_cv_use_choicedlg='wxUSE_CHOICEDLG
=no
'
12197 wx_cv_use_choicedlg='wxUSE_CHOICEDLG
=${'DEFAULT_wxUSE_CHOICEDLG":-$defaultval}"
12202 eval "$wx_cv_use_choicedlg"
12204 if test x"$enablestring" = xdisable; then
12205 if test $wxUSE_CHOICEDLG = yes; then
12211 result=$wxUSE_CHOICEDLG
12214 { echo "$as_me:$LINENO: result
: $result" >&5
12215 echo "${ECHO_T}$result" >&6; }
12219 defaultval=$wxUSE_ALL_FEATURES
12220 if test -z "$defaultval"; then
12221 if test x"$enablestring" = xdisable; then
12228 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-coldlg" >&5
12229 echo $ECHO_N "checking
for --${enablestring:-enable}-coldlg...
$ECHO_C" >&6; }
12230 # Check whether --enable-coldlg was given.
12231 if test "${enable_coldlg+set}" = set; then
12232 enableval=$enable_coldlg;
12233 if test "$enableval" = yes; then
12234 wx_cv_use_coldlg='wxUSE_COLOURDLG=yes'
12236 wx_cv_use_coldlg='wxUSE_COLOURDLG=no'
12241 wx_cv_use_coldlg='wxUSE_COLOURDLG=${'DEFAULT_wxUSE_COLOURDLG":-$defaultval}"
12246 eval "$wx_cv_use_coldlg"
12248 if test x
"$enablestring" = xdisable
; then
12249 if test $wxUSE_COLOURDLG = yes; then
12255 result
=$wxUSE_COLOURDLG
12258 { echo "$as_me:$LINENO: result: $result" >&5
12259 echo "${ECHO_T}$result" >&6; }
12263 defaultval
=$wxUSE_ALL_FEATURES
12264 if test -z "$defaultval"; then
12265 if test x
"$enablestring" = xdisable
; then
12272 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filedlg" >&5
12273 echo $ECHO_N "checking for --${enablestring:-enable}-filedlg... $ECHO_C" >&6; }
12274 # Check whether --enable-filedlg was given.
12275 if test "${enable_filedlg+set}" = set; then
12276 enableval
=$enable_filedlg;
12277 if test "$enableval" = yes; then
12278 wx_cv_use_filedlg
='wxUSE_FILEDLG=yes'
12280 wx_cv_use_filedlg
='wxUSE_FILEDLG=no'
12285 wx_cv_use_filedlg
='wxUSE_FILEDLG=${'DEFAULT_wxUSE_FILEDLG":-$defaultval}"
12290 eval "$wx_cv_use_filedlg"
12292 if test x"$enablestring" = xdisable; then
12293 if test $wxUSE_FILEDLG = yes; then
12299 result=$wxUSE_FILEDLG
12302 { echo "$as_me:$LINENO: result: $result" >&5
12303 echo "${ECHO_T}$result" >&6; }
12307 defaultval=$wxUSE_ALL_FEATURES
12308 if test -z "$defaultval"; then
12309 if test x"$enablestring" = xdisable; then
12316 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-finddlg" >&5
12317 echo $ECHO_N "checking for --${enablestring:-enable}-finddlg... $ECHO_C" >&6; }
12318 # Check whether --enable-finddlg was given.
12319 if test "${enable_finddlg+set}" = set; then
12320 enableval=$enable_finddlg;
12321 if test "$enableval" = yes; then
12322 wx_cv_use_finddlg='wxUSE_FINDREPLDLG
=yes'
12324 wx_cv_use_finddlg='wxUSE_FINDREPLDLG
=no
'
12329 wx_cv_use_finddlg='wxUSE_FINDREPLDLG
=${'DEFAULT_wxUSE_FINDREPLDLG":-$defaultval}"
12334 eval "$wx_cv_use_finddlg"
12336 if test x"$enablestring" = xdisable; then
12337 if test $wxUSE_FINDREPLDLG = yes; then
12343 result=$wxUSE_FINDREPLDLG
12346 { echo "$as_me:$LINENO: result
: $result" >&5
12347 echo "${ECHO_T}$result" >&6; }
12351 defaultval=$wxUSE_ALL_FEATURES
12352 if test -z "$defaultval"; then
12353 if test x"$enablestring" = xdisable; then
12360 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-fontdlg" >&5
12361 echo $ECHO_N "checking
for --${enablestring:-enable}-fontdlg...
$ECHO_C" >&6; }
12362 # Check whether --enable-fontdlg was given.
12363 if test "${enable_fontdlg+set}" = set; then
12364 enableval=$enable_fontdlg;
12365 if test "$enableval" = yes; then
12366 wx_cv_use_fontdlg='wxUSE_FONTDLG=yes'
12368 wx_cv_use_fontdlg='wxUSE_FONTDLG=no'
12373 wx_cv_use_fontdlg='wxUSE_FONTDLG=${'DEFAULT_wxUSE_FONTDLG":-$defaultval}"
12378 eval "$wx_cv_use_fontdlg"
12380 if test x
"$enablestring" = xdisable
; then
12381 if test $wxUSE_FONTDLG = yes; then
12387 result
=$wxUSE_FONTDLG
12390 { echo "$as_me:$LINENO: result: $result" >&5
12391 echo "${ECHO_T}$result" >&6; }
12395 defaultval
=$wxUSE_ALL_FEATURES
12396 if test -z "$defaultval"; then
12397 if test x
"$enablestring" = xdisable
; then
12404 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirdlg" >&5
12405 echo $ECHO_N "checking for --${enablestring:-enable}-dirdlg... $ECHO_C" >&6; }
12406 # Check whether --enable-dirdlg was given.
12407 if test "${enable_dirdlg+set}" = set; then
12408 enableval
=$enable_dirdlg;
12409 if test "$enableval" = yes; then
12410 wx_cv_use_dirdlg
='wxUSE_DIRDLG=yes'
12412 wx_cv_use_dirdlg
='wxUSE_DIRDLG=no'
12417 wx_cv_use_dirdlg
='wxUSE_DIRDLG=${'DEFAULT_wxUSE_DIRDLG":-$defaultval}"
12422 eval "$wx_cv_use_dirdlg"
12424 if test x"$enablestring" = xdisable; then
12425 if test $wxUSE_DIRDLG = yes; then
12431 result=$wxUSE_DIRDLG
12434 { echo "$as_me:$LINENO: result: $result" >&5
12435 echo "${ECHO_T}$result" >&6; }
12439 defaultval=$wxUSE_ALL_FEATURES
12440 if test -z "$defaultval"; then
12441 if test x"$enablestring" = xdisable; then
12448 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-msgdlg" >&5
12449 echo $ECHO_N "checking for --${enablestring:-enable}-msgdlg... $ECHO_C" >&6; }
12450 # Check whether --enable-msgdlg was given.
12451 if test "${enable_msgdlg+set}" = set; then
12452 enableval=$enable_msgdlg;
12453 if test "$enableval" = yes; then
12454 wx_cv_use_msgdlg='wxUSE_MSGDLG
=yes'
12456 wx_cv_use_msgdlg='wxUSE_MSGDLG
=no
'
12461 wx_cv_use_msgdlg='wxUSE_MSGDLG
=${'DEFAULT_wxUSE_MSGDLG":-$defaultval}"
12466 eval "$wx_cv_use_msgdlg"
12468 if test x"$enablestring" = xdisable; then
12469 if test $wxUSE_MSGDLG = yes; then
12475 result=$wxUSE_MSGDLG
12478 { echo "$as_me:$LINENO: result
: $result" >&5
12479 echo "${ECHO_T}$result" >&6; }
12483 defaultval=$wxUSE_ALL_FEATURES
12484 if test -z "$defaultval"; then
12485 if test x"$enablestring" = xdisable; then
12492 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-numberdlg" >&5
12493 echo $ECHO_N "checking
for --${enablestring:-enable}-numberdlg...
$ECHO_C" >&6; }
12494 # Check whether --enable-numberdlg was given.
12495 if test "${enable_numberdlg+set}" = set; then
12496 enableval=$enable_numberdlg;
12497 if test "$enableval" = yes; then
12498 wx_cv_use_numberdlg='wxUSE_NUMBERDLG=yes'
12500 wx_cv_use_numberdlg='wxUSE_NUMBERDLG=no'
12505 wx_cv_use_numberdlg='wxUSE_NUMBERDLG=${'DEFAULT_wxUSE_NUMBERDLG":-$defaultval}"
12510 eval "$wx_cv_use_numberdlg"
12512 if test x
"$enablestring" = xdisable
; then
12513 if test $wxUSE_NUMBERDLG = yes; then
12519 result
=$wxUSE_NUMBERDLG
12522 { echo "$as_me:$LINENO: result: $result" >&5
12523 echo "${ECHO_T}$result" >&6; }
12527 defaultval
=$wxUSE_ALL_FEATURES
12528 if test -z "$defaultval"; then
12529 if test x
"$enablestring" = xdisable
; then
12536 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splash" >&5
12537 echo $ECHO_N "checking for --${enablestring:-enable}-splash... $ECHO_C" >&6; }
12538 # Check whether --enable-splash was given.
12539 if test "${enable_splash+set}" = set; then
12540 enableval
=$enable_splash;
12541 if test "$enableval" = yes; then
12542 wx_cv_use_splash
='wxUSE_SPLASH=yes'
12544 wx_cv_use_splash
='wxUSE_SPLASH=no'
12549 wx_cv_use_splash
='wxUSE_SPLASH=${'DEFAULT_wxUSE_SPLASH":-$defaultval}"
12554 eval "$wx_cv_use_splash"
12556 if test x"$enablestring" = xdisable; then
12557 if test $wxUSE_SPLASH = yes; then
12563 result=$wxUSE_SPLASH
12566 { echo "$as_me:$LINENO: result: $result" >&5
12567 echo "${ECHO_T}$result" >&6; }
12571 defaultval=$wxUSE_ALL_FEATURES
12572 if test -z "$defaultval"; then
12573 if test x"$enablestring" = xdisable; then
12580 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textdlg" >&5
12581 echo $ECHO_N "checking for --${enablestring:-enable}-textdlg... $ECHO_C" >&6; }
12582 # Check whether --enable-textdlg was given.
12583 if test "${enable_textdlg+set}" = set; then
12584 enableval=$enable_textdlg;
12585 if test "$enableval" = yes; then
12586 wx_cv_use_textdlg='wxUSE_TEXTDLG
=yes'
12588 wx_cv_use_textdlg='wxUSE_TEXTDLG
=no
'
12593 wx_cv_use_textdlg='wxUSE_TEXTDLG
=${'DEFAULT_wxUSE_TEXTDLG":-$defaultval}"
12598 eval "$wx_cv_use_textdlg"
12600 if test x"$enablestring" = xdisable; then
12601 if test $wxUSE_TEXTDLG = yes; then
12607 result=$wxUSE_TEXTDLG
12610 { echo "$as_me:$LINENO: result
: $result" >&5
12611 echo "${ECHO_T}$result" >&6; }
12615 defaultval=$wxUSE_ALL_FEATURES
12616 if test -z "$defaultval"; then
12617 if test x"$enablestring" = xdisable; then
12624 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-tipdlg" >&5
12625 echo $ECHO_N "checking
for --${enablestring:-enable}-tipdlg...
$ECHO_C" >&6; }
12626 # Check whether --enable-tipdlg was given.
12627 if test "${enable_tipdlg+set}" = set; then
12628 enableval=$enable_tipdlg;
12629 if test "$enableval" = yes; then
12630 wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS=yes'
12632 wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS=no'
12637 wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS=${'DEFAULT_wxUSE_STARTUP_TIPS":-$defaultval}"
12642 eval "$wx_cv_use_tipdlg"
12644 if test x
"$enablestring" = xdisable
; then
12645 if test $wxUSE_STARTUP_TIPS = yes; then
12651 result
=$wxUSE_STARTUP_TIPS
12654 { echo "$as_me:$LINENO: result: $result" >&5
12655 echo "${ECHO_T}$result" >&6; }
12659 defaultval
=$wxUSE_ALL_FEATURES
12660 if test -z "$defaultval"; then
12661 if test x
"$enablestring" = xdisable
; then
12668 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-progressdlg" >&5
12669 echo $ECHO_N "checking for --${enablestring:-enable}-progressdlg... $ECHO_C" >&6; }
12670 # Check whether --enable-progressdlg was given.
12671 if test "${enable_progressdlg+set}" = set; then
12672 enableval
=$enable_progressdlg;
12673 if test "$enableval" = yes; then
12674 wx_cv_use_progressdlg
='wxUSE_PROGRESSDLG=yes'
12676 wx_cv_use_progressdlg
='wxUSE_PROGRESSDLG=no'
12681 wx_cv_use_progressdlg
='wxUSE_PROGRESSDLG=${'DEFAULT_wxUSE_PROGRESSDLG":-$defaultval}"
12686 eval "$wx_cv_use_progressdlg"
12688 if test x"$enablestring" = xdisable; then
12689 if test $wxUSE_PROGRESSDLG = yes; then
12695 result=$wxUSE_PROGRESSDLG
12698 { echo "$as_me:$LINENO: result: $result" >&5
12699 echo "${ECHO_T}$result" >&6; }
12703 defaultval=$wxUSE_ALL_FEATURES
12704 if test -z "$defaultval"; then
12705 if test x"$enablestring" = xdisable; then
12712 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wizarddlg" >&5
12713 echo $ECHO_N "checking for --${enablestring:-enable}-wizarddlg... $ECHO_C" >&6; }
12714 # Check whether --enable-wizarddlg was given.
12715 if test "${enable_wizarddlg+set}" = set; then
12716 enableval=$enable_wizarddlg;
12717 if test "$enableval" = yes; then
12718 wx_cv_use_wizarddlg='wxUSE_WIZARDDLG
=yes'
12720 wx_cv_use_wizarddlg='wxUSE_WIZARDDLG
=no
'
12725 wx_cv_use_wizarddlg='wxUSE_WIZARDDLG
=${'DEFAULT_wxUSE_WIZARDDLG":-$defaultval}"
12730 eval "$wx_cv_use_wizarddlg"
12732 if test x"$enablestring" = xdisable; then
12733 if test $wxUSE_WIZARDDLG = yes; then
12739 result=$wxUSE_WIZARDDLG
12742 { echo "$as_me:$LINENO: result
: $result" >&5
12743 echo "${ECHO_T}$result" >&6; }
12749 defaultval=$wxUSE_ALL_FEATURES
12750 if test -z "$defaultval"; then
12751 if test x"$enablestring" = xdisable; then
12758 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-menus" >&5
12759 echo $ECHO_N "checking
for --${enablestring:-enable}-menus...
$ECHO_C" >&6; }
12760 # Check whether --enable-menus was given.
12761 if test "${enable_menus+set}" = set; then
12762 enableval=$enable_menus;
12763 if test "$enableval" = yes; then
12764 wx_cv_use_menus='wxUSE_MENUS=yes'
12766 wx_cv_use_menus='wxUSE_MENUS=no'
12771 wx_cv_use_menus='wxUSE_MENUS=${'DEFAULT_wxUSE_MENUS":-$defaultval}"
12776 eval "$wx_cv_use_menus"
12778 if test x
"$enablestring" = xdisable
; then
12779 if test $wxUSE_MENUS = yes; then
12785 result
=$wxUSE_MENUS
12788 { echo "$as_me:$LINENO: result: $result" >&5
12789 echo "${ECHO_T}$result" >&6; }
12793 defaultval
=$wxUSE_ALL_FEATURES
12794 if test -z "$defaultval"; then
12795 if test x
"$enablestring" = xdisable
; then
12802 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-miniframe" >&5
12803 echo $ECHO_N "checking for --${enablestring:-enable}-miniframe... $ECHO_C" >&6; }
12804 # Check whether --enable-miniframe was given.
12805 if test "${enable_miniframe+set}" = set; then
12806 enableval
=$enable_miniframe;
12807 if test "$enableval" = yes; then
12808 wx_cv_use_miniframe
='wxUSE_MINIFRAME=yes'
12810 wx_cv_use_miniframe
='wxUSE_MINIFRAME=no'
12815 wx_cv_use_miniframe
='wxUSE_MINIFRAME=${'DEFAULT_wxUSE_MINIFRAME":-$defaultval}"
12820 eval "$wx_cv_use_miniframe"
12822 if test x"$enablestring" = xdisable; then
12823 if test $wxUSE_MINIFRAME = yes; then
12829 result=$wxUSE_MINIFRAME
12832 { echo "$as_me:$LINENO: result: $result" >&5
12833 echo "${ECHO_T}$result" >&6; }
12837 defaultval=$wxUSE_ALL_FEATURES
12838 if test -z "$defaultval"; then
12839 if test x"$enablestring" = xdisable; then
12846 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tooltips" >&5
12847 echo $ECHO_N "checking for --${enablestring:-enable}-tooltips... $ECHO_C" >&6; }
12848 # Check whether --enable-tooltips was given.
12849 if test "${enable_tooltips+set}" = set; then
12850 enableval=$enable_tooltips;
12851 if test "$enableval" = yes; then
12852 wx_cv_use_tooltips='wxUSE_TOOLTIPS
=yes'
12854 wx_cv_use_tooltips='wxUSE_TOOLTIPS
=no
'
12859 wx_cv_use_tooltips='wxUSE_TOOLTIPS
=${'DEFAULT_wxUSE_TOOLTIPS":-$defaultval}"
12864 eval "$wx_cv_use_tooltips"
12866 if test x"$enablestring" = xdisable; then
12867 if test $wxUSE_TOOLTIPS = yes; then
12873 result=$wxUSE_TOOLTIPS
12876 { echo "$as_me:$LINENO: result
: $result" >&5
12877 echo "${ECHO_T}$result" >&6; }
12881 defaultval=$wxUSE_ALL_FEATURES
12882 if test -z "$defaultval"; then
12883 if test x"$enablestring" = xdisable; then
12890 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-splines" >&5
12891 echo $ECHO_N "checking
for --${enablestring:-enable}-splines...
$ECHO_C" >&6; }
12892 # Check whether --enable-splines was given.
12893 if test "${enable_splines+set}" = set; then
12894 enableval=$enable_splines;
12895 if test "$enableval" = yes; then
12896 wx_cv_use_splines='wxUSE_SPLINES=yes'
12898 wx_cv_use_splines='wxUSE_SPLINES=no'
12903 wx_cv_use_splines='wxUSE_SPLINES=${'DEFAULT_wxUSE_SPLINES":-$defaultval}"
12908 eval "$wx_cv_use_splines"
12910 if test x
"$enablestring" = xdisable
; then
12911 if test $wxUSE_SPLINES = yes; then
12917 result
=$wxUSE_SPLINES
12920 { echo "$as_me:$LINENO: result: $result" >&5
12921 echo "${ECHO_T}$result" >&6; }
12925 defaultval
=$wxUSE_ALL_FEATURES
12926 if test -z "$defaultval"; then
12927 if test x
"$enablestring" = xdisable
; then
12934 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mousewheel" >&5
12935 echo $ECHO_N "checking for --${enablestring:-enable}-mousewheel... $ECHO_C" >&6; }
12936 # Check whether --enable-mousewheel was given.
12937 if test "${enable_mousewheel+set}" = set; then
12938 enableval
=$enable_mousewheel;
12939 if test "$enableval" = yes; then
12940 wx_cv_use_mousewheel
='wxUSE_MOUSEWHEEL=yes'
12942 wx_cv_use_mousewheel
='wxUSE_MOUSEWHEEL=no'
12947 wx_cv_use_mousewheel
='wxUSE_MOUSEWHEEL=${'DEFAULT_wxUSE_MOUSEWHEEL":-$defaultval}"
12952 eval "$wx_cv_use_mousewheel"
12954 if test x"$enablestring" = xdisable; then
12955 if test $wxUSE_MOUSEWHEEL = yes; then
12961 result=$wxUSE_MOUSEWHEEL
12964 { echo "$as_me:$LINENO: result: $result" >&5
12965 echo "${ECHO_T}$result" >&6; }
12969 defaultval=$wxUSE_ALL_FEATURES
12970 if test -z "$defaultval"; then
12971 if test x"$enablestring" = xdisable; then
12978 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-validators" >&5
12979 echo $ECHO_N "checking for --${enablestring:-enable}-validators... $ECHO_C" >&6; }
12980 # Check whether --enable-validators was given.
12981 if test "${enable_validators+set}" = set; then
12982 enableval=$enable_validators;
12983 if test "$enableval" = yes; then
12984 wx_cv_use_validators='wxUSE_VALIDATORS
=yes'
12986 wx_cv_use_validators='wxUSE_VALIDATORS
=no
'
12991 wx_cv_use_validators='wxUSE_VALIDATORS
=${'DEFAULT_wxUSE_VALIDATORS":-$defaultval}"
12996 eval "$wx_cv_use_validators"
12998 if test x"$enablestring" = xdisable; then
12999 if test $wxUSE_VALIDATORS = yes; then
13005 result=$wxUSE_VALIDATORS
13008 { echo "$as_me:$LINENO: result
: $result" >&5
13009 echo "${ECHO_T}$result" >&6; }
13013 defaultval=$wxUSE_ALL_FEATURES
13014 if test -z "$defaultval"; then
13015 if test x"$enablestring" = xdisable; then
13022 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-busyinfo" >&5
13023 echo $ECHO_N "checking
for --${enablestring:-enable}-busyinfo...
$ECHO_C" >&6; }
13024 # Check whether --enable-busyinfo was given.
13025 if test "${enable_busyinfo+set}" = set; then
13026 enableval=$enable_busyinfo;
13027 if test "$enableval" = yes; then
13028 wx_cv_use_busyinfo='wxUSE_BUSYINFO=yes'
13030 wx_cv_use_busyinfo='wxUSE_BUSYINFO=no'
13035 wx_cv_use_busyinfo='wxUSE_BUSYINFO=${'DEFAULT_wxUSE_BUSYINFO":-$defaultval}"
13040 eval "$wx_cv_use_busyinfo"
13042 if test x
"$enablestring" = xdisable
; then
13043 if test $wxUSE_BUSYINFO = yes; then
13049 result
=$wxUSE_BUSYINFO
13052 { echo "$as_me:$LINENO: result: $result" >&5
13053 echo "${ECHO_T}$result" >&6; }
13057 defaultval
=$wxUSE_ALL_FEATURES
13058 if test -z "$defaultval"; then
13059 if test x
"$enablestring" = xdisable
; then
13066 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-joystick" >&5
13067 echo $ECHO_N "checking for --${enablestring:-enable}-joystick... $ECHO_C" >&6; }
13068 # Check whether --enable-joystick was given.
13069 if test "${enable_joystick+set}" = set; then
13070 enableval
=$enable_joystick;
13071 if test "$enableval" = yes; then
13072 wx_cv_use_joystick
='wxUSE_JOYSTICK=yes'
13074 wx_cv_use_joystick
='wxUSE_JOYSTICK=no'
13079 wx_cv_use_joystick
='wxUSE_JOYSTICK=${'DEFAULT_wxUSE_JOYSTICK":-$defaultval}"
13084 eval "$wx_cv_use_joystick"
13086 if test x"$enablestring" = xdisable; then
13087 if test $wxUSE_JOYSTICK = yes; then
13093 result=$wxUSE_JOYSTICK
13096 { echo "$as_me:$LINENO: result: $result" >&5
13097 echo "${ECHO_T}$result" >&6; }
13101 defaultval=$wxUSE_ALL_FEATURES
13102 if test -z "$defaultval"; then
13103 if test x"$enablestring" = xdisable; then
13110 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
13111 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6; }
13112 # Check whether --enable-metafile was given.
13113 if test "${enable_metafile+set}" = set; then
13114 enableval=$enable_metafile;
13115 if test "$enableval" = yes; then
13116 wx_cv_use_metafile='wxUSE_METAFILE
=yes'
13118 wx_cv_use_metafile='wxUSE_METAFILE
=no
'
13123 wx_cv_use_metafile='wxUSE_METAFILE
=${'DEFAULT_wxUSE_METAFILE":-$defaultval}"
13128 eval "$wx_cv_use_metafile"
13130 if test x"$enablestring" = xdisable; then
13131 if test $wxUSE_METAFILE = yes; then
13137 result=$wxUSE_METAFILE
13140 { echo "$as_me:$LINENO: result
: $result" >&5
13141 echo "${ECHO_T}$result" >&6; }
13145 defaultval=$wxUSE_ALL_FEATURES
13146 if test -z "$defaultval"; then
13147 if test x"$enablestring" = xdisable; then
13154 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-dragimage" >&5
13155 echo $ECHO_N "checking
for --${enablestring:-enable}-dragimage...
$ECHO_C" >&6; }
13156 # Check whether --enable-dragimage was given.
13157 if test "${enable_dragimage+set}" = set; then
13158 enableval=$enable_dragimage;
13159 if test "$enableval" = yes; then
13160 wx_cv_use_dragimage='wxUSE_DRAGIMAGE=yes'
13162 wx_cv_use_dragimage='wxUSE_DRAGIMAGE=no'
13167 wx_cv_use_dragimage='wxUSE_DRAGIMAGE=${'DEFAULT_wxUSE_DRAGIMAGE":-$defaultval}"
13172 eval "$wx_cv_use_dragimage"
13174 if test x
"$enablestring" = xdisable
; then
13175 if test $wxUSE_DRAGIMAGE = yes; then
13181 result
=$wxUSE_DRAGIMAGE
13184 { echo "$as_me:$LINENO: result: $result" >&5
13185 echo "${ECHO_T}$result" >&6; }
13189 defaultval
=$wxUSE_ALL_FEATURES
13190 if test -z "$defaultval"; then
13191 if test x
"$enablestring" = xdisable
; then
13198 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accessibility" >&5
13199 echo $ECHO_N "checking for --${enablestring:-enable}-accessibility... $ECHO_C" >&6; }
13200 # Check whether --enable-accessibility was given.
13201 if test "${enable_accessibility+set}" = set; then
13202 enableval
=$enable_accessibility;
13203 if test "$enableval" = yes; then
13204 wx_cv_use_accessibility
='wxUSE_ACCESSIBILITY=yes'
13206 wx_cv_use_accessibility
='wxUSE_ACCESSIBILITY=no'
13211 wx_cv_use_accessibility
='wxUSE_ACCESSIBILITY=${'DEFAULT_wxUSE_ACCESSIBILITY":-$defaultval}"
13216 eval "$wx_cv_use_accessibility"
13218 if test x"$enablestring" = xdisable; then
13219 if test $wxUSE_ACCESSIBILITY = yes; then
13225 result=$wxUSE_ACCESSIBILITY
13228 { echo "$as_me:$LINENO: result: $result" >&5
13229 echo "${ECHO_T}$result" >&6; }
13235 defaultval=$wxUSE_ALL_FEATURES
13236 if test -z "$defaultval"; then
13237 if test x"$enablestring" = xdisable; then
13244 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-palette" >&5
13245 echo $ECHO_N "checking for --${enablestring:-enable}-palette... $ECHO_C" >&6; }
13246 # Check whether --enable-palette was given.
13247 if test "${enable_palette+set}" = set; then
13248 enableval=$enable_palette;
13249 if test "$enableval" = yes; then
13250 wx_cv_use_palette='wxUSE_PALETTE
=yes'
13252 wx_cv_use_palette='wxUSE_PALETTE
=no
'
13257 wx_cv_use_palette='wxUSE_PALETTE
=${'DEFAULT_wxUSE_PALETTE":-$defaultval}"
13262 eval "$wx_cv_use_palette"
13264 if test x"$enablestring" = xdisable; then
13265 if test $wxUSE_PALETTE = yes; then
13271 result=$wxUSE_PALETTE
13274 { echo "$as_me:$LINENO: result
: $result" >&5
13275 echo "${ECHO_T}$result" >&6; }
13279 defaultval=$wxUSE_ALL_FEATURES
13280 if test -z "$defaultval"; then
13281 if test x"$enablestring" = xdisable; then
13288 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-image" >&5
13289 echo $ECHO_N "checking
for --${enablestring:-enable}-image...
$ECHO_C" >&6; }
13290 # Check whether --enable-image was given.
13291 if test "${enable_image+set}" = set; then
13292 enableval=$enable_image;
13293 if test "$enableval" = yes; then
13294 wx_cv_use_image='wxUSE_IMAGE=yes'
13296 wx_cv_use_image='wxUSE_IMAGE=no'
13301 wx_cv_use_image='wxUSE_IMAGE=${'DEFAULT_wxUSE_IMAGE":-$defaultval}"
13306 eval "$wx_cv_use_image"
13308 if test x
"$enablestring" = xdisable
; then
13309 if test $wxUSE_IMAGE = yes; then
13315 result
=$wxUSE_IMAGE
13318 { echo "$as_me:$LINENO: result: $result" >&5
13319 echo "${ECHO_T}$result" >&6; }
13323 defaultval
=$wxUSE_ALL_FEATURES
13324 if test -z "$defaultval"; then
13325 if test x
"$enablestring" = xdisable
; then
13332 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gif" >&5
13333 echo $ECHO_N "checking for --${enablestring:-enable}-gif... $ECHO_C" >&6; }
13334 # Check whether --enable-gif was given.
13335 if test "${enable_gif+set}" = set; then
13336 enableval
=$enable_gif;
13337 if test "$enableval" = yes; then
13338 wx_cv_use_gif
='wxUSE_GIF=yes'
13340 wx_cv_use_gif
='wxUSE_GIF=no'
13345 wx_cv_use_gif
='wxUSE_GIF=${'DEFAULT_wxUSE_GIF":-$defaultval}"
13350 eval "$wx_cv_use_gif"
13352 if test x"$enablestring" = xdisable; then
13353 if test $wxUSE_GIF = yes; then
13362 { echo "$as_me:$LINENO: result: $result" >&5
13363 echo "${ECHO_T}$result" >&6; }
13367 defaultval=$wxUSE_ALL_FEATURES
13368 if test -z "$defaultval"; then
13369 if test x"$enablestring" = xdisable; then
13376 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pcx" >&5
13377 echo $ECHO_N "checking for --${enablestring:-enable}-pcx... $ECHO_C" >&6; }
13378 # Check whether --enable-pcx was given.
13379 if test "${enable_pcx+set}" = set; then
13380 enableval=$enable_pcx;
13381 if test "$enableval" = yes; then
13382 wx_cv_use_pcx='wxUSE_PCX
=yes'
13384 wx_cv_use_pcx='wxUSE_PCX
=no
'
13389 wx_cv_use_pcx='wxUSE_PCX
=${'DEFAULT_wxUSE_PCX":-$defaultval}"
13394 eval "$wx_cv_use_pcx"
13396 if test x"$enablestring" = xdisable; then
13397 if test $wxUSE_PCX = yes; then
13406 { echo "$as_me:$LINENO: result
: $result" >&5
13407 echo "${ECHO_T}$result" >&6; }
13411 defaultval=$wxUSE_ALL_FEATURES
13412 if test -z "$defaultval"; then
13413 if test x"$enablestring" = xdisable; then
13420 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-tga" >&5
13421 echo $ECHO_N "checking
for --${enablestring:-enable}-tga...
$ECHO_C" >&6; }
13422 # Check whether --enable-tga was given.
13423 if test "${enable_tga+set}" = set; then
13424 enableval=$enable_tga;
13425 if test "$enableval" = yes; then
13426 wx_cv_use_tga='wxUSE_TGA=yes'
13428 wx_cv_use_tga='wxUSE_TGA=no'
13433 wx_cv_use_tga='wxUSE_TGA=${'DEFAULT_wxUSE_TGA":-$defaultval}"
13438 eval "$wx_cv_use_tga"
13440 if test x
"$enablestring" = xdisable
; then
13441 if test $wxUSE_TGA = yes; then
13450 { echo "$as_me:$LINENO: result: $result" >&5
13451 echo "${ECHO_T}$result" >&6; }
13455 defaultval
=$wxUSE_ALL_FEATURES
13456 if test -z "$defaultval"; then
13457 if test x
"$enablestring" = xdisable
; then
13464 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-iff" >&5
13465 echo $ECHO_N "checking for --${enablestring:-enable}-iff... $ECHO_C" >&6; }
13466 # Check whether --enable-iff was given.
13467 if test "${enable_iff+set}" = set; then
13468 enableval
=$enable_iff;
13469 if test "$enableval" = yes; then
13470 wx_cv_use_iff
='wxUSE_IFF=yes'
13472 wx_cv_use_iff
='wxUSE_IFF=no'
13477 wx_cv_use_iff
='wxUSE_IFF=${'DEFAULT_wxUSE_IFF":-$defaultval}"
13482 eval "$wx_cv_use_iff"
13484 if test x"$enablestring" = xdisable; then
13485 if test $wxUSE_IFF = yes; then
13494 { echo "$as_me:$LINENO: result: $result" >&5
13495 echo "${ECHO_T}$result" >&6; }
13499 defaultval=$wxUSE_ALL_FEATURES
13500 if test -z "$defaultval"; then
13501 if test x"$enablestring" = xdisable; then
13508 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pnm" >&5
13509 echo $ECHO_N "checking for --${enablestring:-enable}-pnm... $ECHO_C" >&6; }
13510 # Check whether --enable-pnm was given.
13511 if test "${enable_pnm+set}" = set; then
13512 enableval=$enable_pnm;
13513 if test "$enableval" = yes; then
13514 wx_cv_use_pnm='wxUSE_PNM
=yes'
13516 wx_cv_use_pnm='wxUSE_PNM
=no
'
13521 wx_cv_use_pnm='wxUSE_PNM
=${'DEFAULT_wxUSE_PNM":-$defaultval}"
13526 eval "$wx_cv_use_pnm"
13528 if test x"$enablestring" = xdisable; then
13529 if test $wxUSE_PNM = yes; then
13538 { echo "$as_me:$LINENO: result
: $result" >&5
13539 echo "${ECHO_T}$result" >&6; }
13543 defaultval=$wxUSE_ALL_FEATURES
13544 if test -z "$defaultval"; then
13545 if test x"$enablestring" = xdisable; then
13552 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-xpm" >&5
13553 echo $ECHO_N "checking
for --${enablestring:-enable}-xpm...
$ECHO_C" >&6; }
13554 # Check whether --enable-xpm was given.
13555 if test "${enable_xpm+set}" = set; then
13556 enableval=$enable_xpm;
13557 if test "$enableval" = yes; then
13558 wx_cv_use_xpm='wxUSE_XPM=yes'
13560 wx_cv_use_xpm='wxUSE_XPM=no'
13565 wx_cv_use_xpm='wxUSE_XPM=${'DEFAULT_wxUSE_XPM":-$defaultval}"
13570 eval "$wx_cv_use_xpm"
13572 if test x
"$enablestring" = xdisable
; then
13573 if test $wxUSE_XPM = yes; then
13582 { echo "$as_me:$LINENO: result: $result" >&5
13583 echo "${ECHO_T}$result" >&6; }
13587 defaultval
=$wxUSE_ALL_FEATURES
13588 if test -z "$defaultval"; then
13589 if test x
"$enablestring" = xdisable
; then
13596 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ico_cur" >&5
13597 echo $ECHO_N "checking for --${enablestring:-enable}-ico_cur... $ECHO_C" >&6; }
13598 # Check whether --enable-ico_cur was given.
13599 if test "${enable_ico_cur+set}" = set; then
13600 enableval
=$enable_ico_cur;
13601 if test "$enableval" = yes; then
13602 wx_cv_use_ico_cur
='wxUSE_ICO_CUR=yes'
13604 wx_cv_use_ico_cur
='wxUSE_ICO_CUR=no'
13609 wx_cv_use_ico_cur
='wxUSE_ICO_CUR=${'DEFAULT_wxUSE_ICO_CUR":-$defaultval}"
13614 eval "$wx_cv_use_ico_cur"
13616 if test x"$enablestring" = xdisable; then
13617 if test $wxUSE_ICO_CUR = yes; then
13623 result=$wxUSE_ICO_CUR
13626 { echo "$as_me:$LINENO: result: $result" >&5
13627 echo "${ECHO_T}$result" >&6; }
13633 defaultval=$wxUSE_ALL_FEATURES
13634 if test -z "$defaultval"; then
13635 if test x"$enablestring" = xdisable; then
13642 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dccache" >&5
13643 echo $ECHO_N "checking for --${enablestring:-enable}-dccache... $ECHO_C" >&6; }
13644 # Check whether --enable-dccache was given.
13645 if test "${enable_dccache+set}" = set; then
13646 enableval=$enable_dccache;
13647 if test "$enableval" = yes; then
13648 wx_cv_use_dccache='wxUSE_DC_CACHEING
=yes'
13650 wx_cv_use_dccache='wxUSE_DC_CACHEING
=no
'
13655 wx_cv_use_dccache='wxUSE_DC_CACHEING
=${'DEFAULT_wxUSE_DC_CACHEING":-$defaultval}"
13660 eval "$wx_cv_use_dccache"
13662 if test x"$enablestring" = xdisable; then
13663 if test $wxUSE_DC_CACHEING = yes; then
13669 result=$wxUSE_DC_CACHEING
13672 { echo "$as_me:$LINENO: result
: $result" >&5
13673 echo "${ECHO_T}$result" >&6; }
13677 defaultval=$wxUSE_ALL_FEATURES
13678 if test -z "$defaultval"; then
13679 if test x"$enablestring" = xdisable; then
13686 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-ps-in-msw" >&5
13687 echo $ECHO_N "checking
for --${enablestring:-enable}-ps-in-msw...
$ECHO_C" >&6; }
13688 # Check whether --enable-ps-in-msw was given.
13689 if test "${enable_ps_in_msw+set}" = set; then
13690 enableval=$enable_ps_in_msw;
13691 if test "$enableval" = yes; then
13692 wx_cv_use_ps_in_msw='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=yes'
13694 wx_cv_use_ps_in_msw='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=no'
13699 wx_cv_use_ps_in_msw='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=${'DEFAULT_wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW":-$defaultval}"
13704 eval "$wx_cv_use_ps_in_msw"
13706 if test x
"$enablestring" = xdisable
; then
13707 if test $wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW = yes; then
13713 result
=$wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW
13716 { echo "$as_me:$LINENO: result: $result" >&5
13717 echo "${ECHO_T}$result" >&6; }
13721 defaultval
=$wxUSE_ALL_FEATURES
13722 if test -z "$defaultval"; then
13723 if test x
"$enablestring" = xdisable
; then
13730 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ownerdrawn" >&5
13731 echo $ECHO_N "checking for --${enablestring:-enable}-ownerdrawn... $ECHO_C" >&6; }
13732 # Check whether --enable-ownerdrawn was given.
13733 if test "${enable_ownerdrawn+set}" = set; then
13734 enableval
=$enable_ownerdrawn;
13735 if test "$enableval" = yes; then
13736 wx_cv_use_ownerdrawn
='wxUSE_OWNER_DRAWN=yes'
13738 wx_cv_use_ownerdrawn
='wxUSE_OWNER_DRAWN=no'
13743 wx_cv_use_ownerdrawn
='wxUSE_OWNER_DRAWN=${'DEFAULT_wxUSE_OWNER_DRAWN":-$defaultval}"
13748 eval "$wx_cv_use_ownerdrawn"
13750 if test x"$enablestring" = xdisable; then
13751 if test $wxUSE_OWNER_DRAWN = yes; then
13757 result=$wxUSE_OWNER_DRAWN
13760 { echo "$as_me:$LINENO: result: $result" >&5
13761 echo "${ECHO_T}$result" >&6; }
13765 defaultval=$wxUSE_ALL_FEATURES
13766 if test -z "$defaultval"; then
13767 if test x"$enablestring" = xdisable; then
13774 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-uxtheme" >&5
13775 echo $ECHO_N "checking for --${enablestring:-enable}-uxtheme... $ECHO_C" >&6; }
13776 # Check whether --enable-uxtheme was given.
13777 if test "${enable_uxtheme+set}" = set; then
13778 enableval=$enable_uxtheme;
13779 if test "$enableval" = yes; then
13780 wx_cv_use_uxtheme='wxUSE_UXTHEME
=yes'
13782 wx_cv_use_uxtheme='wxUSE_UXTHEME
=no
'
13787 wx_cv_use_uxtheme='wxUSE_UXTHEME
=${'DEFAULT_wxUSE_UXTHEME":-$defaultval}"
13792 eval "$wx_cv_use_uxtheme"
13794 if test x"$enablestring" = xdisable; then
13795 if test $wxUSE_UXTHEME = yes; then
13801 result=$wxUSE_UXTHEME
13804 { echo "$as_me:$LINENO: result
: $result" >&5
13805 echo "${ECHO_T}$result" >&6; }
13809 defaultval=$wxUSE_ALL_FEATURES
13810 if test -z "$defaultval"; then
13811 if test x"$enablestring" = xdisable; then
13818 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-wxdib" >&5
13819 echo $ECHO_N "checking
for --${enablestring:-enable}-wxdib...
$ECHO_C" >&6; }
13820 # Check whether --enable-wxdib was given.
13821 if test "${enable_wxdib+set}" = set; then
13822 enableval=$enable_wxdib;
13823 if test "$enableval" = yes; then
13824 wx_cv_use_wxdib='wxUSE_DIB=yes'
13826 wx_cv_use_wxdib='wxUSE_DIB=no'
13831 wx_cv_use_wxdib='wxUSE_DIB=${'DEFAULT_wxUSE_DIB":-$defaultval}"
13836 eval "$wx_cv_use_wxdib"
13838 if test x
"$enablestring" = xdisable
; then
13839 if test $wxUSE_DIB = yes; then
13848 { echo "$as_me:$LINENO: result: $result" >&5
13849 echo "${ECHO_T}$result" >&6; }
13852 if test "$wxUSE_MSW" != 1; then
13853 DEFAULT_wxUSE_AUTOID_MANAGEMENT
=no
13858 defaultval
=$wxUSE_ALL_FEATURES
13859 if test -z "$defaultval"; then
13860 if test x
"$enablestring" = xdisable
; then
13867 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-autoidman" >&5
13868 echo $ECHO_N "checking for --${enablestring:-enable}-autoidman... $ECHO_C" >&6; }
13869 # Check whether --enable-autoidman was given.
13870 if test "${enable_autoidman+set}" = set; then
13871 enableval
=$enable_autoidman;
13872 if test "$enableval" = yes; then
13873 wx_cv_use_autoidman
='wxUSE_AUTOID_MANAGEMENT=yes'
13875 wx_cv_use_autoidman
='wxUSE_AUTOID_MANAGEMENT=no'
13880 wx_cv_use_autoidman
='wxUSE_AUTOID_MANAGEMENT=${'DEFAULT_wxUSE_AUTOID_MANAGEMENT":-$defaultval}"
13885 eval "$wx_cv_use_autoidman"
13887 if test x"$enablestring" = xdisable; then
13888 if test $wxUSE_AUTOID_MANAGEMENT = yes; then
13894 result=$wxUSE_AUTOID_MANAGEMENT
13897 { echo "$as_me:$LINENO: result: $result" >&5
13898 echo "${ECHO_T}$result" >&6; }
13904 cat >confcache <<\_ACEOF
13905 # This file is a shell script that caches the results of configure
13906 # tests run on this system so they can be shared between configure
13907 # scripts and configure runs, see configure's option
--config-cache.
13908 # It is not useful on other systems. If it contains results you don't
13909 # want to keep, you may remove or edit it.
13911 # config.status only pays attention to the cache file if you give it
13912 # the --recheck option to rerun configure.
13914 # `ac_cv_env_foo' variables (set or unset) will be overridden when
13915 # loading this file, other *unset* `ac_cv_foo' will be assigned the
13916 # following values.
13920 # The following way of writing the cache mishandles newlines in values,
13921 # but we know of no workaround that is simple, portable, and efficient.
13922 # So, we kill variables containing newlines.
13923 # Ultrix sh set writes to stderr and can't be redirected directly,
13924 # and sets the high bit in the cache file unless we assign to the vars.
13926 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
13927 eval ac_val
=\$
$ac_var
13931 *_cv_
*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
13932 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
13935 _
| IFS
| as_nl
) ;; #(
13936 *) $as_unset $ac_var ;;
13942 case $as_nl`(ac_space=' '; set) 2>&1` in #(
13943 *${as_nl}ac_space
=\
*)
13944 # `set' does not quote correctly, so add quotes (double-quote
13945 # substitution turns \\\\ into \\, and sed turns \\ into \).
13948 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
13951 # `set' quotes correctly as required by POSIX, so do not add quotes.
13952 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
13961 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
13963 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
13965 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
13966 if test -w "$cache_file"; then
13967 test "x$cache_file" != "x/dev/null" &&
13968 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
13969 echo "$as_me: updating cache $cache_file" >&6;}
13970 cat confcache
>$cache_file
13972 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
13973 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
13983 ac_cpp
='$CPP $CPPFLAGS'
13984 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13985 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13986 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13987 if test -n "$ac_tool_prefix"; then
13988 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
13989 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
13990 { echo "$as_me:$LINENO: checking for $ac_word" >&5
13991 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
13992 if test "${ac_cv_prog_CC+set}" = set; then
13993 echo $ECHO_N "(cached) $ECHO_C" >&6
13995 if test -n "$CC"; then
13996 ac_cv_prog_CC
="$CC" # Let the user override the test.
13998 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13999 for as_dir
in $PATH
14002 test -z "$as_dir" && as_dir
=.
14003 for ac_exec_ext
in '' $ac_executable_extensions; do
14004 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14005 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
14006 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14016 if test -n "$CC"; then
14017 { echo "$as_me:$LINENO: result: $CC" >&5
14018 echo "${ECHO_T}$CC" >&6; }
14020 { echo "$as_me:$LINENO: result: no" >&5
14021 echo "${ECHO_T}no" >&6; }
14026 if test -z "$ac_cv_prog_CC"; then
14028 # Extract the first word of "gcc", so it can be a program name with args.
14029 set dummy gcc
; ac_word
=$2
14030 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14031 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14032 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
14033 echo $ECHO_N "(cached) $ECHO_C" >&6
14035 if test -n "$ac_ct_CC"; then
14036 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
14038 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14039 for as_dir
in $PATH
14042 test -z "$as_dir" && as_dir
=.
14043 for ac_exec_ext
in '' $ac_executable_extensions; do
14044 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14045 ac_cv_prog_ac_ct_CC
="gcc"
14046 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14055 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
14056 if test -n "$ac_ct_CC"; then
14057 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
14058 echo "${ECHO_T}$ac_ct_CC" >&6; }
14060 { echo "$as_me:$LINENO: result: no" >&5
14061 echo "${ECHO_T}no" >&6; }
14064 if test "x$ac_ct_CC" = x
; then
14067 case $cross_compiling:$ac_tool_warned in
14069 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
14070 whose name does not start with the host triplet. If you think this
14071 configuration is useful to you, please write to autoconf@gnu.org." >&5
14072 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
14073 whose name does not start with the host triplet. If you think this
14074 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
14075 ac_tool_warned
=yes ;;
14080 CC
="$ac_cv_prog_CC"
14083 if test -z "$CC"; then
14084 if test -n "$ac_tool_prefix"; then
14085 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
14086 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
14087 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14088 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14089 if test "${ac_cv_prog_CC+set}" = set; then
14090 echo $ECHO_N "(cached) $ECHO_C" >&6
14092 if test -n "$CC"; then
14093 ac_cv_prog_CC
="$CC" # Let the user override the test.
14095 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14096 for as_dir
in $PATH
14099 test -z "$as_dir" && as_dir
=.
14100 for ac_exec_ext
in '' $ac_executable_extensions; do
14101 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14102 ac_cv_prog_CC
="${ac_tool_prefix}cc"
14103 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14113 if test -n "$CC"; then
14114 { echo "$as_me:$LINENO: result: $CC" >&5
14115 echo "${ECHO_T}$CC" >&6; }
14117 { echo "$as_me:$LINENO: result: no" >&5
14118 echo "${ECHO_T}no" >&6; }
14124 if test -z "$CC"; then
14125 # Extract the first word of "cc", so it can be a program name with args.
14126 set dummy cc
; ac_word
=$2
14127 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14128 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14129 if test "${ac_cv_prog_CC+set}" = set; then
14130 echo $ECHO_N "(cached) $ECHO_C" >&6
14132 if test -n "$CC"; then
14133 ac_cv_prog_CC
="$CC" # Let the user override the test.
14135 ac_prog_rejected
=no
14136 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14137 for as_dir
in $PATH
14140 test -z "$as_dir" && as_dir
=.
14141 for ac_exec_ext
in '' $ac_executable_extensions; do
14142 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14143 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
14144 ac_prog_rejected
=yes
14148 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14155 if test $ac_prog_rejected = yes; then
14156 # We found a bogon in the path, so make sure we never use it.
14157 set dummy
$ac_cv_prog_CC
14159 if test $# != 0; then
14160 # We chose a different compiler from the bogus one.
14161 # However, it has the same basename, so the bogon will be chosen
14162 # first if we set CC to just the basename; use the full file name.
14164 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
14170 if test -n "$CC"; then
14171 { echo "$as_me:$LINENO: result: $CC" >&5
14172 echo "${ECHO_T}$CC" >&6; }
14174 { echo "$as_me:$LINENO: result: no" >&5
14175 echo "${ECHO_T}no" >&6; }
14180 if test -z "$CC"; then
14181 if test -n "$ac_tool_prefix"; then
14182 for ac_prog
in cl.exe
14184 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
14185 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
14186 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14187 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14188 if test "${ac_cv_prog_CC+set}" = set; then
14189 echo $ECHO_N "(cached) $ECHO_C" >&6
14191 if test -n "$CC"; then
14192 ac_cv_prog_CC
="$CC" # Let the user override the test.
14194 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14195 for as_dir
in $PATH
14198 test -z "$as_dir" && as_dir
=.
14199 for ac_exec_ext
in '' $ac_executable_extensions; do
14200 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14201 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
14202 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14212 if test -n "$CC"; then
14213 { echo "$as_me:$LINENO: result: $CC" >&5
14214 echo "${ECHO_T}$CC" >&6; }
14216 { echo "$as_me:$LINENO: result: no" >&5
14217 echo "${ECHO_T}no" >&6; }
14221 test -n "$CC" && break
14224 if test -z "$CC"; then
14226 for ac_prog
in cl.exe
14228 # Extract the first word of "$ac_prog", so it can be a program name with args.
14229 set dummy
$ac_prog; ac_word
=$2
14230 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14231 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14232 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
14233 echo $ECHO_N "(cached) $ECHO_C" >&6
14235 if test -n "$ac_ct_CC"; then
14236 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
14238 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14239 for as_dir
in $PATH
14242 test -z "$as_dir" && as_dir
=.
14243 for ac_exec_ext
in '' $ac_executable_extensions; do
14244 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14245 ac_cv_prog_ac_ct_CC
="$ac_prog"
14246 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14255 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
14256 if test -n "$ac_ct_CC"; then
14257 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
14258 echo "${ECHO_T}$ac_ct_CC" >&6; }
14260 { echo "$as_me:$LINENO: result: no" >&5
14261 echo "${ECHO_T}no" >&6; }
14265 test -n "$ac_ct_CC" && break
14268 if test "x$ac_ct_CC" = x
; then
14271 case $cross_compiling:$ac_tool_warned in
14273 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
14274 whose name does not start with the host triplet. If you think this
14275 configuration is useful to you, please write to autoconf@gnu.org." >&5
14276 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
14277 whose name does not start with the host triplet. If you think this
14278 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
14279 ac_tool_warned
=yes ;;
14288 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
14289 See \`config.log' for more details." >&5
14290 echo "$as_me: error: no acceptable C compiler found in \$PATH
14291 See \`config.log' for more details." >&2;}
14292 { (exit 1); exit 1; }; }
14294 # Provide some information about the compiler.
14295 echo "$as_me:$LINENO: checking for C compiler version" >&5
14296 ac_compiler
=`set X $ac_compile; echo $2`
14297 { (ac_try
="$ac_compiler --version >&5"
14298 case "(($ac_try" in
14299 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
14300 *) ac_try_echo=$ac_try;;
14302 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14303 (eval "$ac_compiler --version >&5") 2>&5
14305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14306 (exit $ac_status); }
14307 { (ac_try="$ac_compiler -v >&5"
14308 case "(($ac_try" in
14309 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
14310 *) ac_try_echo
=$ac_try;;
14312 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14313 (eval "$ac_compiler -v >&5") 2>&5
14315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14316 (exit $ac_status); }
14317 { (ac_try
="$ac_compiler -V >&5"
14318 case "(($ac_try" in
14319 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
14320 *) ac_try_echo=$ac_try;;
14322 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14323 (eval "$ac_compiler -V >&5") 2>&5
14325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14326 (exit $ac_status); }
14328 cat >conftest.$ac_ext <<_ACEOF
14331 cat confdefs.h >>conftest.$ac_ext
14332 cat >>conftest.$ac_ext <<_ACEOF
14333 /* end confdefs.h. */
14343 ac_clean_files_save=$ac_clean_files
14344 ac_clean_files="$ac_clean_files a.out a.exe b.out"
14345 # Try to create an executable without -o first, disregard a.out.
14346 # It will help us diagnose broken compilers, and finding out an intuition
14348 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
14349 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
14350 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
14352 # List of possible output files, starting from the most likely.
14353 # The algorithm is not robust to junk in `.
', hence go to wildcards (a.*)
14354 # only as a last resort. b.out is created by i960 compilers.
14355 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.
* conftest.
* b.out
'
14357 # The IRIX 6 linker writes into existing files which may not be
14358 # executable, retaining their permissions. Remove them first so a
14359 # subsequent execution test works.
14361 for ac_file in $ac_files
14364 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
14365 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
14370 if { (ac_try="$ac_link_default"
14371 case "(($ac_try" in
14372 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14373 *) ac_try_echo=$ac_try;;
14375 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14376 (eval "$ac_link_default") 2>&5
14378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14379 (exit $ac_status); }; then
14380 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
14381 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
14382 # in a Makefile. We should not override ac_cv_exeext if it was cached,
14383 # so that the user can short-circuit this test for compilers unknown to
14385 for ac_file
in $ac_files ''
14387 test -f "$ac_file" || continue
14389 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.map
| *.inf
| *.o
| *.obj
)
14392 # We found the default executable, but exeext='' is most
14396 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
14398 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
14400 # We set ac_cv_exeext here because the later test for it is not
14401 # safe: cross compilers may not add the suffix if given an `-o'
14402 # argument, so we may need to know it at that point already.
14403 # Even if this section looks crufty: it has the advantage of
14404 # actually working.
14410 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
14416 { echo "$as_me:$LINENO: result: $ac_file" >&5
14417 echo "${ECHO_T}$ac_file" >&6; }
14418 if test -z "$ac_file"; then
14419 echo "$as_me: failed program was:" >&5
14420 sed 's/^/| /' conftest.
$ac_ext >&5
14422 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
14423 See \`config.log' for more details." >&5
14424 echo "$as_me: error: C compiler cannot create executables
14425 See \`config.log' for more details." >&2;}
14426 { (exit 77); exit 77; }; }
14429 ac_exeext
=$ac_cv_exeext
14431 # Check that the compiler produces executables we can run. If not, either
14432 # the compiler is broken, or we cross compile.
14433 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
14434 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
14435 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
14436 # If not cross compiling, check that we can run a simple program.
14437 if test "$cross_compiling" != yes; then
14438 if { ac_try
='./$ac_file'
14439 { (case "(($ac_try" in
14440 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
14441 *) ac_try_echo=$ac_try;;
14443 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14444 (eval "$ac_try") 2>&5
14446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14447 (exit $ac_status); }; }; then
14450 if test "$cross_compiling" = maybe; then
14451 cross_compiling=yes
14453 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
14454 If you meant to cross compile, use \`--host'.
14455 See \`config.log' for more details.
" >&5
14456 echo "$as_me: error
: cannot run C compiled programs.
14457 If you meant to cross compile
, use \
`--host'.
14458 See \`config.log
' for more details." >&2;}
14459 { (exit 1); exit 1; }; }
14463 { echo "$as_me:$LINENO: result: yes" >&5
14464 echo "${ECHO_T}yes" >&6; }
14466 rm -f a.out a.exe conftest$ac_cv_exeext b.out
14467 ac_clean_files=$ac_clean_files_save
14468 # Check that the compiler produces executables we can run. If not, either
14469 # the compiler is broken, or we cross compile.
14470 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
14471 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
14472 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
14473 echo "${ECHO_T}$cross_compiling" >&6; }
14475 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
14476 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
14477 if { (ac_try="$ac_link"
14478 case "(($ac_try" in
14479 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14480 *) ac_try_echo=$ac_try;;
14482 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14483 (eval "$ac_link") 2>&5
14485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14486 (exit $ac_status); }; then
14487 # If both `conftest.exe' and
`conftest' are `present
' (well, observable)
14488 # catch `conftest.exe'. For instance with Cygwin
, `ls conftest' will
14489 # work properly (i.e., refer to `conftest.exe
'), while it won't with
14491 for ac_file
in conftest.exe conftest conftest.
*; do
14492 test -f "$ac_file" || continue
14494 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.map
| *.inf
| *.o
| *.obj
) ;;
14495 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
14501 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
14502 See \`config.log' for more details." >&5
14503 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
14504 See \`config.log' for more details." >&2;}
14505 { (exit 1); exit 1; }; }
14508 rm -f conftest
$ac_cv_exeext
14509 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
14510 echo "${ECHO_T}$ac_cv_exeext" >&6; }
14512 rm -f conftest.
$ac_ext
14513 EXEEXT
=$ac_cv_exeext
14515 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
14516 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
14517 if test "${ac_cv_objext+set}" = set; then
14518 echo $ECHO_N "(cached) $ECHO_C" >&6
14520 cat >conftest.
$ac_ext <<_ACEOF
14523 cat confdefs.h
>>conftest.
$ac_ext
14524 cat >>conftest.
$ac_ext <<_ACEOF
14525 /* end confdefs.h. */
14535 rm -f conftest.o conftest.obj
14536 if { (ac_try
="$ac_compile"
14537 case "(($ac_try" in
14538 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
14539 *) ac_try_echo=$ac_try;;
14541 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14542 (eval "$ac_compile") 2>&5
14544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14545 (exit $ac_status); }; then
14546 for ac_file in conftest.o conftest.obj conftest.*; do
14547 test -f "$ac_file" || continue;
14549 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
14550 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
14555 echo "$as_me: failed program was:" >&5
14556 sed 's/^/| /' conftest.$ac_ext >&5
14558 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
14559 See \`config.log
' for more details." >&5
14560 echo "$as_me: error: cannot compute suffix of object files: cannot compile
14561 See \`config.log' for more details.
" >&2;}
14562 { (exit 1); exit 1; }; }
14565 rm -f conftest.$ac_cv_objext conftest.$ac_ext
14567 { echo "$as_me:$LINENO: result
: $ac_cv_objext" >&5
14568 echo "${ECHO_T}$ac_cv_objext" >&6; }
14569 OBJEXT=$ac_cv_objext
14571 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler
" >&5
14572 echo $ECHO_N "checking whether we are using the GNU C compiler...
$ECHO_C" >&6; }
14573 if test "${ac_cv_c_compiler_gnu+set}" = set; then
14574 echo $ECHO_N "(cached
) $ECHO_C" >&6
14576 cat >conftest.$ac_ext <<_ACEOF
14579 cat confdefs.h >>conftest.$ac_ext
14580 cat >>conftest.$ac_ext <<_ACEOF
14581 /* end confdefs.h. */
14594 rm -f conftest.$ac_objext
14595 if { (ac_try="$ac_compile"
14596 case "(($ac_try" in
14597 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14598 *) ac_try_echo=$ac_try;;
14600 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
14601 (eval "$ac_compile") 2>conftest.er1
14603 grep -v '^ *+' conftest.er1 >conftest.err
14605 cat conftest.err >&5
14606 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
14607 (exit $ac_status); } && {
14608 test -z "$ac_c_werror_flag" ||
14609 test ! -s conftest.err
14610 } && test -s conftest.$ac_objext; then
14611 ac_compiler_gnu=yes
14613 echo "$as_me: failed program was
:" >&5
14614 sed 's/^/| /' conftest.$ac_ext >&5
14619 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14620 ac_cv_c_compiler_gnu=$ac_compiler_gnu
14623 { echo "$as_me:$LINENO: result
: $ac_cv_c_compiler_gnu" >&5
14624 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
14625 GCC=`test $ac_compiler_gnu = yes && echo yes`
14626 ac_test_CFLAGS=${CFLAGS+set}
14627 ac_save_CFLAGS=$CFLAGS
14628 { echo "$as_me:$LINENO: checking whether
$CC accepts
-g" >&5
14629 echo $ECHO_N "checking whether
$CC accepts
-g...
$ECHO_C" >&6; }
14630 if test "${ac_cv_prog_cc_g+set}" = set; then
14631 echo $ECHO_N "(cached
) $ECHO_C" >&6
14633 ac_save_c_werror_flag=$ac_c_werror_flag
14634 ac_c_werror_flag=yes
14637 cat >conftest.$ac_ext <<_ACEOF
14640 cat confdefs.h >>conftest.$ac_ext
14641 cat >>conftest.$ac_ext <<_ACEOF
14642 /* end confdefs.h. */
14652 rm -f conftest.$ac_objext
14653 if { (ac_try="$ac_compile"
14654 case "(($ac_try" in
14655 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14656 *) ac_try_echo=$ac_try;;
14658 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
14659 (eval "$ac_compile") 2>conftest.er1
14661 grep -v '^ *+' conftest.er1 >conftest.err
14663 cat conftest.err >&5
14664 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
14665 (exit $ac_status); } && {
14666 test -z "$ac_c_werror_flag" ||
14667 test ! -s conftest.err
14668 } && test -s conftest.$ac_objext; then
14669 ac_cv_prog_cc_g=yes
14671 echo "$as_me: failed program was
:" >&5
14672 sed 's/^/| /' conftest.$ac_ext >&5
14675 cat >conftest.$ac_ext <<_ACEOF
14678 cat confdefs.h >>conftest.$ac_ext
14679 cat >>conftest.$ac_ext <<_ACEOF
14680 /* end confdefs.h. */
14690 rm -f conftest.$ac_objext
14691 if { (ac_try="$ac_compile"
14692 case "(($ac_try" in
14693 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14694 *) ac_try_echo=$ac_try;;
14696 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
14697 (eval "$ac_compile") 2>conftest.er1
14699 grep -v '^ *+' conftest.er1 >conftest.err
14701 cat conftest.err >&5
14702 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
14703 (exit $ac_status); } && {
14704 test -z "$ac_c_werror_flag" ||
14705 test ! -s conftest.err
14706 } && test -s conftest.$ac_objext; then
14709 echo "$as_me: failed program was
:" >&5
14710 sed 's/^/| /' conftest.$ac_ext >&5
14712 ac_c_werror_flag=$ac_save_c_werror_flag
14714 cat >conftest.$ac_ext <<_ACEOF
14717 cat confdefs.h >>conftest.$ac_ext
14718 cat >>conftest.$ac_ext <<_ACEOF
14719 /* end confdefs.h. */
14729 rm -f conftest.$ac_objext
14730 if { (ac_try="$ac_compile"
14731 case "(($ac_try" in
14732 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14733 *) ac_try_echo=$ac_try;;
14735 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
14736 (eval "$ac_compile") 2>conftest.er1
14738 grep -v '^ *+' conftest.er1 >conftest.err
14740 cat conftest.err >&5
14741 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
14742 (exit $ac_status); } && {
14743 test -z "$ac_c_werror_flag" ||
14744 test ! -s conftest.err
14745 } && test -s conftest.$ac_objext; then
14746 ac_cv_prog_cc_g=yes
14748 echo "$as_me: failed program was
:" >&5
14749 sed 's/^/| /' conftest.$ac_ext >&5
14754 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14757 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14760 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14761 ac_c_werror_flag=$ac_save_c_werror_flag
14763 { echo "$as_me:$LINENO: result
: $ac_cv_prog_cc_g" >&5
14764 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
14765 if test "$ac_test_CFLAGS" = set; then
14766 CFLAGS=$ac_save_CFLAGS
14767 elif test $ac_cv_prog_cc_g = yes; then
14768 if test "$GCC" = yes; then
14774 if test "$GCC" = yes; then
14780 { echo "$as_me:$LINENO: checking
for $CC option to accept ISO C89
" >&5
14781 echo $ECHO_N "checking
for $CC option to accept ISO C89...
$ECHO_C" >&6; }
14782 if test "${ac_cv_prog_cc_c89+set}" = set; then
14783 echo $ECHO_N "(cached
) $ECHO_C" >&6
14785 ac_cv_prog_cc_c89=no
14787 cat >conftest.$ac_ext <<_ACEOF
14790 cat confdefs.h >>conftest.$ac_ext
14791 cat >>conftest.$ac_ext <<_ACEOF
14792 /* end confdefs.h. */
14793 #include <stdarg.h>
14795 #include <sys/types.h>
14796 #include <sys/stat.h>
14797 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
14798 struct buf { int x; };
14799 FILE * (*rcsopen) (struct buf *, struct stat *, int);
14800 static char *e (p, i)
14806 static char *f (char * (*g) (char **, int), char **p, ...)
14811 s = g (p, va_arg (v,int));
14816 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
14817 function prototypes and stuff, but not '\xHH' hex character constants.
14818 These don't provoke an error unfortunately, instead are silently treated
14819 as 'x'. The following induces an error, until -std is added to get
14820 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
14821 array size at least. It's necessary to write '\x00'==0 to get something
14822 that's true only with -std. */
14823 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
14825 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
14826 inside strings and character constants. */
14828 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
14830 int test (int i, double x);
14831 struct s1 {int (*f) (int a);};
14832 struct s2 {int (*f) (double a);};
14833 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
14839 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
14844 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
14845 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
14847 CC="$ac_save_CC $ac_arg"
14848 rm -f conftest.$ac_objext
14849 if { (ac_try="$ac_compile"
14850 case "(($ac_try" in
14851 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14852 *) ac_try_echo=$ac_try;;
14854 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
14855 (eval "$ac_compile") 2>conftest.er1
14857 grep -v '^ *+' conftest.er1 >conftest.err
14859 cat conftest.err >&5
14860 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
14861 (exit $ac_status); } && {
14862 test -z "$ac_c_werror_flag" ||
14863 test ! -s conftest.err
14864 } && test -s conftest.$ac_objext; then
14865 ac_cv_prog_cc_c89=$ac_arg
14867 echo "$as_me: failed program was
:" >&5
14868 sed 's/^/| /' conftest.$ac_ext >&5
14873 rm -f core conftest.err conftest.$ac_objext
14874 test "x
$ac_cv_prog_cc_c89" != "xno
" && break
14876 rm -f conftest.$ac_ext
14881 case "x
$ac_cv_prog_cc_c89" in
14883 { echo "$as_me:$LINENO: result
: none needed
" >&5
14884 echo "${ECHO_T}none needed
" >&6; } ;;
14886 { echo "$as_me:$LINENO: result
: unsupported
" >&5
14887 echo "${ECHO_T}unsupported
" >&6; } ;;
14889 CC="$CC $ac_cv_prog_cc_c89"
14890 { echo "$as_me:$LINENO: result
: $ac_cv_prog_cc_c89" >&5
14891 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
14896 ac_cpp='$CPP $CPPFLAGS'
14897 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14898 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14899 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14905 ac_cpp='$CPP $CPPFLAGS'
14906 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14907 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14908 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14910 { echo "$as_me:$LINENO: checking whether we are using the Intel C compiler
" >&5
14911 echo $ECHO_N "checking whether we are using the Intel C compiler...
$ECHO_C" >&6; }
14912 if test "${bakefile_cv_c_compiler___INTEL_COMPILER+set}" = set; then
14913 echo $ECHO_N "(cached
) $ECHO_C" >&6
14915 cat >conftest.$ac_ext <<_ACEOF
14918 cat confdefs.h >>conftest.$ac_ext
14919 cat >>conftest.$ac_ext <<_ACEOF
14920 /* end confdefs.h. */
14926 #ifndef __INTEL_COMPILER
14934 rm -f conftest.$ac_objext
14935 if { (ac_try="$ac_compile"
14936 case "(($ac_try" in
14937 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14938 *) ac_try_echo=$ac_try;;
14940 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
14941 (eval "$ac_compile") 2>conftest.er1
14943 grep -v '^ *+' conftest.er1 >conftest.err
14945 cat conftest.err >&5
14946 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
14947 (exit $ac_status); } && {
14948 test -z "$ac_c_werror_flag" ||
14949 test ! -s conftest.err
14950 } && test -s conftest.$ac_objext; then
14951 bakefile_cv_c_compiler___INTEL_COMPILER=yes
14953 echo "$as_me: failed program was
:" >&5
14954 sed 's/^/| /' conftest.$ac_ext >&5
14956 bakefile_cv_c_compiler___INTEL_COMPILER=no
14960 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14964 { echo "$as_me:$LINENO: result
: $bakefile_cv_c_compiler___INTEL_COMPILER" >&5
14965 echo "${ECHO_T}$bakefile_cv_c_compiler___INTEL_COMPILER" >&6; }
14966 if test "x
$bakefile_cv_c_compiler___INTEL_COMPILER" = "xyes
"; then
14972 ac_cpp='$CPP $CPPFLAGS'
14973 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14974 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14975 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14980 if test "x
$GCC" != "xyes
"; then
14981 if test "xCC
" = "xC
"; then
14982 { echo "$as_me:$LINENO: checking
if the C compiler requires
-ext o
" >&5
14983 echo $ECHO_N "checking
if the C compiler requires
-ext o...
$ECHO_C" >&6; }
14984 if test "${bakefile_cv_c_exto+set}" = set; then
14985 echo $ECHO_N "(cached
) $ECHO_C" >&6
14987 cat >conftest.$ac_ext <<_ACEOF
14990 cat confdefs.h >>conftest.$ac_ext
14991 cat >>conftest.$ac_ext <<_ACEOF
14992 /* end confdefs.h. */
15002 rm -f conftest.$ac_objext conftest.$ac_ext.o
15003 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15004 (eval $ac_compile) 2>&5
15006 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
15007 (exit $ac_status); }; then
15008 for ac_file in `(ls conftest.* 2>/dev/null)`; do
15010 conftest.$ac_ext.o)
15011 bakefile_cv_c_exto="-ext o
"
15018 { { echo "$as_me:$LINENO: error
: cannot figure out
if compiler needs
-ext o
: cannot compile
15019 See \
`config.log' for more details." >&5
15020 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
15021 See \`config.log
' for more details." >&2;}
15022 { (exit 1); exit 1; }; }
15026 rm -f conftest.$ac_ext.o conftest.$ac_objext conftest.$ac_ext
15029 { echo "$as_me:$LINENO: result: $bakefile_cv_c_exto" >&5
15030 echo "${ECHO_T}$bakefile_cv_c_exto" >&6; }
15031 if test "x$bakefile_cv_c_exto" '!=' "x"; then
15032 if test "c" = "c"; then
15033 CFLAGS="$bakefile_cv_c_exto $CFLAGS"
15035 if test "c" = "cxx"; then
15036 CXXFLAGS="$bakefile_cv_c_exto $CXXFLAGS"
15040 if test "x$bakefile_cv_c_exto" '!=' "x"; then
15041 unset ac_cv_prog_cc_g
15042 ac_test_CFLAGS=${CFLAGS+set}
15043 ac_save_CFLAGS=$CFLAGS
15044 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
15045 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
15046 if test "${ac_cv_prog_cc_g+set}" = set; then
15047 echo $ECHO_N "(cached) $ECHO_C" >&6
15049 ac_save_c_werror_flag=$ac_c_werror_flag
15050 ac_c_werror_flag=yes
15053 cat >conftest.$ac_ext <<_ACEOF
15056 cat confdefs.h >>conftest.$ac_ext
15057 cat >>conftest.$ac_ext <<_ACEOF
15058 /* end confdefs.h. */
15068 rm -f conftest.$ac_objext
15069 if { (ac_try="$ac_compile"
15070 case "(($ac_try" in
15071 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15072 *) ac_try_echo=$ac_try;;
15074 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15075 (eval "$ac_compile") 2>conftest.er1
15077 grep -v '^
*+' conftest.er1 >conftest.err
15079 cat conftest.err >&5
15080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15081 (exit $ac_status); } && {
15082 test -z "$ac_c_werror_flag" ||
15083 test ! -s conftest.err
15084 } && test -s conftest.$ac_objext; then
15085 ac_cv_prog_cc_g=yes
15087 echo "$as_me: failed program was:" >&5
15088 sed 's
/^
/| /' conftest.$ac_ext >&5
15091 cat >conftest.$ac_ext <<_ACEOF
15094 cat confdefs.h >>conftest.$ac_ext
15095 cat >>conftest.$ac_ext <<_ACEOF
15096 /* end confdefs.h. */
15106 rm -f conftest.$ac_objext
15107 if { (ac_try="$ac_compile"
15108 case "(($ac_try" in
15109 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15110 *) ac_try_echo=$ac_try;;
15112 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15113 (eval "$ac_compile") 2>conftest.er1
15115 grep -v '^
*+' conftest.er1 >conftest.err
15117 cat conftest.err >&5
15118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15119 (exit $ac_status); } && {
15120 test -z "$ac_c_werror_flag" ||
15121 test ! -s conftest.err
15122 } && test -s conftest.$ac_objext; then
15125 echo "$as_me: failed program was:" >&5
15126 sed 's
/^
/| /' conftest.$ac_ext >&5
15128 ac_c_werror_flag=$ac_save_c_werror_flag
15130 cat >conftest.$ac_ext <<_ACEOF
15133 cat confdefs.h >>conftest.$ac_ext
15134 cat >>conftest.$ac_ext <<_ACEOF
15135 /* end confdefs.h. */
15145 rm -f conftest.$ac_objext
15146 if { (ac_try="$ac_compile"
15147 case "(($ac_try" in
15148 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15149 *) ac_try_echo=$ac_try;;
15151 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15152 (eval "$ac_compile") 2>conftest.er1
15154 grep -v '^
*+' conftest.er1 >conftest.err
15156 cat conftest.err >&5
15157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15158 (exit $ac_status); } && {
15159 test -z "$ac_c_werror_flag" ||
15160 test ! -s conftest.err
15161 } && test -s conftest.$ac_objext; then
15162 ac_cv_prog_cc_g=yes
15164 echo "$as_me: failed program was:" >&5
15165 sed 's
/^
/| /' conftest.$ac_ext >&5
15170 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15173 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15176 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15177 ac_c_werror_flag=$ac_save_c_werror_flag
15179 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
15180 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
15181 if test "$ac_test_CFLAGS" = set; then
15182 CFLAGS=$ac_save_CFLAGS
15183 elif test $ac_cv_prog_cc_g = yes; then
15184 if test "$GCC" = yes; then
15190 if test "$GCC" = yes; then
15204 ac_cpp='$CPP $CPPFLAGS'
15205 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
15206 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
15207 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15209 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
15210 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6; }
15211 if test "${bakefile_cv_c_compiler___xlC__+set}" = set; then
15212 echo $ECHO_N "(cached) $ECHO_C" >&6
15214 cat >conftest.$ac_ext <<_ACEOF
15217 cat confdefs.h >>conftest.$ac_ext
15218 cat >>conftest.$ac_ext <<_ACEOF
15219 /* end confdefs.h. */
15233 rm -f conftest.$ac_objext
15234 if { (ac_try="$ac_compile"
15235 case "(($ac_try" in
15236 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15237 *) ac_try_echo=$ac_try;;
15239 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15240 (eval "$ac_compile") 2>conftest.er1
15242 grep -v '^
*+' conftest.er1 >conftest.err
15244 cat conftest.err >&5
15245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15246 (exit $ac_status); } && {
15247 test -z "$ac_c_werror_flag" ||
15248 test ! -s conftest.err
15249 } && test -s conftest.$ac_objext; then
15250 bakefile_cv_c_compiler___xlC__=yes
15252 echo "$as_me: failed program was:" >&5
15253 sed 's
/^
/| /' conftest.$ac_ext >&5
15255 bakefile_cv_c_compiler___xlC__=no
15259 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15263 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___xlC__" >&5
15264 echo "${ECHO_T}$bakefile_cv_c_compiler___xlC__" >&6; }
15265 if test "x$bakefile_cv_c_compiler___xlC__" = "xyes"; then
15271 ac_cpp='$CPP $CPPFLAGS'
15272 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
15273 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
15274 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15284 ac_cpp='$CPP $CPPFLAGS'
15285 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
15286 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
15287 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15289 { echo "$as_me:$LINENO: checking whether we are using the Metrowerks C compiler" >&5
15290 echo $ECHO_N "checking whether we are using the Metrowerks C compiler... $ECHO_C" >&6; }
15291 if test "${bakefile_cv_c_compiler___MWERKS__+set}" = set; then
15292 echo $ECHO_N "(cached) $ECHO_C" >&6
15294 cat >conftest.$ac_ext <<_ACEOF
15297 cat confdefs.h >>conftest.$ac_ext
15298 cat >>conftest.$ac_ext <<_ACEOF
15299 /* end confdefs.h. */
15313 rm -f conftest.$ac_objext
15314 if { (ac_try="$ac_compile"
15315 case "(($ac_try" in
15316 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15317 *) ac_try_echo=$ac_try;;
15319 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15320 (eval "$ac_compile") 2>conftest.er1
15322 grep -v '^
*+' conftest.er1 >conftest.err
15324 cat conftest.err >&5
15325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15326 (exit $ac_status); } && {
15327 test -z "$ac_c_werror_flag" ||
15328 test ! -s conftest.err
15329 } && test -s conftest.$ac_objext; then
15330 bakefile_cv_c_compiler___MWERKS__=yes
15332 echo "$as_me: failed program was:" >&5
15333 sed 's
/^
/| /' conftest.$ac_ext >&5
15335 bakefile_cv_c_compiler___MWERKS__=no
15339 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15343 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___MWERKS__" >&5
15344 echo "${ECHO_T}$bakefile_cv_c_compiler___MWERKS__" >&6; }
15345 if test "x$bakefile_cv_c_compiler___MWERKS__" = "xyes"; then
15351 ac_cpp='$CPP $CPPFLAGS'
15352 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
15353 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
15354 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15361 ac_cpp='$CPP $CPPFLAGS'
15362 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
15363 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
15364 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15366 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
15367 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6; }
15368 if test "${bakefile_cv_c_compiler___xlC__+set}" = set; then
15369 echo $ECHO_N "(cached) $ECHO_C" >&6
15371 cat >conftest.$ac_ext <<_ACEOF
15374 cat confdefs.h >>conftest.$ac_ext
15375 cat >>conftest.$ac_ext <<_ACEOF
15376 /* end confdefs.h. */
15390 rm -f conftest.$ac_objext
15391 if { (ac_try="$ac_compile"
15392 case "(($ac_try" in
15393 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15394 *) ac_try_echo=$ac_try;;
15396 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15397 (eval "$ac_compile") 2>conftest.er1
15399 grep -v '^
*+' conftest.er1 >conftest.err
15401 cat conftest.err >&5
15402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15403 (exit $ac_status); } && {
15404 test -z "$ac_c_werror_flag" ||
15405 test ! -s conftest.err
15406 } && test -s conftest.$ac_objext; then
15407 bakefile_cv_c_compiler___xlC__=yes
15409 echo "$as_me: failed program was:" >&5
15410 sed 's
/^
/| /' conftest.$ac_ext >&5
15412 bakefile_cv_c_compiler___xlC__=no
15416 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15420 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___xlC__" >&5
15421 echo "${ECHO_T}$bakefile_cv_c_compiler___xlC__" >&6; }
15422 if test "x$bakefile_cv_c_compiler___xlC__" = "xyes"; then
15428 ac_cpp='$CPP $CPPFLAGS'
15429 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
15430 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
15431 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15441 ac_cpp='$CPP $CPPFLAGS'
15442 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
15443 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
15444 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15446 { echo "$as_me:$LINENO: checking whether we are using the SGI C compiler" >&5
15447 echo $ECHO_N "checking whether we are using the SGI C compiler... $ECHO_C" >&6; }
15448 if test "${bakefile_cv_c_compiler__SGI_COMPILER_VERSION+set}" = set; then
15449 echo $ECHO_N "(cached) $ECHO_C" >&6
15451 cat >conftest.$ac_ext <<_ACEOF
15454 cat confdefs.h >>conftest.$ac_ext
15455 cat >>conftest.$ac_ext <<_ACEOF
15456 /* end confdefs.h. */
15462 #ifndef _SGI_COMPILER_VERSION
15470 rm -f conftest.$ac_objext
15471 if { (ac_try="$ac_compile"
15472 case "(($ac_try" in
15473 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15474 *) ac_try_echo=$ac_try;;
15476 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15477 (eval "$ac_compile") 2>conftest.er1
15479 grep -v '^
*+' conftest.er1 >conftest.err
15481 cat conftest.err >&5
15482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15483 (exit $ac_status); } && {
15484 test -z "$ac_c_werror_flag" ||
15485 test ! -s conftest.err
15486 } && test -s conftest.$ac_objext; then
15487 bakefile_cv_c_compiler__SGI_COMPILER_VERSION=yes
15489 echo "$as_me: failed program was:" >&5
15490 sed 's
/^
/| /' conftest.$ac_ext >&5
15492 bakefile_cv_c_compiler__SGI_COMPILER_VERSION=no
15496 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15500 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&5
15501 echo "${ECHO_T}$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&6; }
15502 if test "x$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" = "xyes"; then
15508 ac_cpp='$CPP $CPPFLAGS'
15509 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
15510 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
15511 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15521 ac_cpp='$CPP $CPPFLAGS'
15522 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
15523 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
15524 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15526 { echo "$as_me:$LINENO: checking whether we are using the Sun C compiler" >&5
15527 echo $ECHO_N "checking whether we are using the Sun C compiler... $ECHO_C" >&6; }
15528 if test "${bakefile_cv_c_compiler___SUNPRO_C+set}" = set; then
15529 echo $ECHO_N "(cached) $ECHO_C" >&6
15531 cat >conftest.$ac_ext <<_ACEOF
15534 cat confdefs.h >>conftest.$ac_ext
15535 cat >>conftest.$ac_ext <<_ACEOF
15536 /* end confdefs.h. */
15550 rm -f conftest.$ac_objext
15551 if { (ac_try="$ac_compile"
15552 case "(($ac_try" in
15553 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15554 *) ac_try_echo=$ac_try;;
15556 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15557 (eval "$ac_compile") 2>conftest.er1
15559 grep -v '^
*+' conftest.er1 >conftest.err
15561 cat conftest.err >&5
15562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15563 (exit $ac_status); } && {
15564 test -z "$ac_c_werror_flag" ||
15565 test ! -s conftest.err
15566 } && test -s conftest.$ac_objext; then
15567 bakefile_cv_c_compiler___SUNPRO_C=yes
15569 echo "$as_me: failed program was:" >&5
15570 sed 's
/^
/| /' conftest.$ac_ext >&5
15572 bakefile_cv_c_compiler___SUNPRO_C=no
15576 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15580 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
15581 echo "${ECHO_T}$bakefile_cv_c_compiler___SUNPRO_C" >&6; }
15582 if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
15588 ac_cpp='$CPP $CPPFLAGS'
15589 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
15590 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
15591 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15601 ac_cpp='$CPP $CPPFLAGS'
15602 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
15603 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
15604 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15606 { echo "$as_me:$LINENO: checking whether we are using the HP C compiler" >&5
15607 echo $ECHO_N "checking whether we are using the HP C compiler... $ECHO_C" >&6; }
15608 if test "${bakefile_cv_c_compiler___HP_cc+set}" = set; then
15609 echo $ECHO_N "(cached) $ECHO_C" >&6
15611 cat >conftest.$ac_ext <<_ACEOF
15614 cat confdefs.h >>conftest.$ac_ext
15615 cat >>conftest.$ac_ext <<_ACEOF
15616 /* end confdefs.h. */
15630 rm -f conftest.$ac_objext
15631 if { (ac_try="$ac_compile"
15632 case "(($ac_try" in
15633 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15634 *) ac_try_echo=$ac_try;;
15636 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15637 (eval "$ac_compile") 2>conftest.er1
15639 grep -v '^
*+' conftest.er1 >conftest.err
15641 cat conftest.err >&5
15642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15643 (exit $ac_status); } && {
15644 test -z "$ac_c_werror_flag" ||
15645 test ! -s conftest.err
15646 } && test -s conftest.$ac_objext; then
15647 bakefile_cv_c_compiler___HP_cc=yes
15649 echo "$as_me: failed program was:" >&5
15650 sed 's
/^
/| /' conftest.$ac_ext >&5
15652 bakefile_cv_c_compiler___HP_cc=no
15656 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15660 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___HP_cc" >&5
15661 echo "${ECHO_T}$bakefile_cv_c_compiler___HP_cc" >&6; }
15662 if test "x$bakefile_cv_c_compiler___HP_cc" = "xyes"; then
15668 ac_cpp='$CPP $CPPFLAGS'
15669 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
15670 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
15671 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15681 ac_cpp='$CPP $CPPFLAGS'
15682 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
15683 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
15684 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15686 { echo "$as_me:$LINENO: checking whether we are using the Compaq C compiler" >&5
15687 echo $ECHO_N "checking whether we are using the Compaq C compiler... $ECHO_C" >&6; }
15688 if test "${bakefile_cv_c_compiler___DECC+set}" = set; then
15689 echo $ECHO_N "(cached) $ECHO_C" >&6
15691 cat >conftest.$ac_ext <<_ACEOF
15694 cat confdefs.h >>conftest.$ac_ext
15695 cat >>conftest.$ac_ext <<_ACEOF
15696 /* end confdefs.h. */
15710 rm -f conftest.$ac_objext
15711 if { (ac_try="$ac_compile"
15712 case "(($ac_try" in
15713 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15714 *) ac_try_echo=$ac_try;;
15716 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15717 (eval "$ac_compile") 2>conftest.er1
15719 grep -v '^
*+' conftest.er1 >conftest.err
15721 cat conftest.err >&5
15722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15723 (exit $ac_status); } && {
15724 test -z "$ac_c_werror_flag" ||
15725 test ! -s conftest.err
15726 } && test -s conftest.$ac_objext; then
15727 bakefile_cv_c_compiler___DECC=yes
15729 echo "$as_me: failed program was:" >&5
15730 sed 's
/^
/| /' conftest.$ac_ext >&5
15732 bakefile_cv_c_compiler___DECC=no
15736 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15740 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___DECC" >&5
15741 echo "${ECHO_T}$bakefile_cv_c_compiler___DECC" >&6; }
15742 if test "x$bakefile_cv_c_compiler___DECC" = "xyes"; then
15748 ac_cpp='$CPP $CPPFLAGS'
15749 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
15750 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
15751 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15761 ac_cpp='$CPP $CPPFLAGS'
15762 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
15763 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
15764 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15766 { echo "$as_me:$LINENO: checking whether we are using the Sun C compiler" >&5
15767 echo $ECHO_N "checking whether we are using the Sun C compiler... $ECHO_C" >&6; }
15768 if test "${bakefile_cv_c_compiler___SUNPRO_C+set}" = set; then
15769 echo $ECHO_N "(cached) $ECHO_C" >&6
15771 cat >conftest.$ac_ext <<_ACEOF
15774 cat confdefs.h >>conftest.$ac_ext
15775 cat >>conftest.$ac_ext <<_ACEOF
15776 /* end confdefs.h. */
15790 rm -f conftest.$ac_objext
15791 if { (ac_try="$ac_compile"
15792 case "(($ac_try" in
15793 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15794 *) ac_try_echo=$ac_try;;
15796 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15797 (eval "$ac_compile") 2>conftest.er1
15799 grep -v '^
*+' conftest.er1 >conftest.err
15801 cat conftest.err >&5
15802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15803 (exit $ac_status); } && {
15804 test -z "$ac_c_werror_flag" ||
15805 test ! -s conftest.err
15806 } && test -s conftest.$ac_objext; then
15807 bakefile_cv_c_compiler___SUNPRO_C=yes
15809 echo "$as_me: failed program was:" >&5
15810 sed 's
/^
/| /' conftest.$ac_ext >&5
15812 bakefile_cv_c_compiler___SUNPRO_C=no
15816 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15820 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
15821 echo "${ECHO_T}$bakefile_cv_c_compiler___SUNPRO_C" >&6; }
15822 if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
15828 ac_cpp='$CPP $CPPFLAGS'
15829 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
15830 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
15831 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15842 ac_cpp='$CPP $CPPFLAGS'
15843 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
15844 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
15845 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15846 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
15847 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
15848 # On Suns, sometimes $CPP names a directory.
15849 if test -n "$CPP" && test -d "$CPP"; then
15852 if test -z "$CPP"; then
15853 if test "${ac_cv_prog_CPP+set}" = set; then
15854 echo $ECHO_N "(cached) $ECHO_C" >&6
15856 # Double quotes because CPP needs to be expanded
15857 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
15859 ac_preproc_ok=false
15860 for ac_c_preproc_warn_flag in '' yes
15862 # Use a header file that comes with gcc, so configuring glibc
15863 # with a fresh cross-compiler works.
15864 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15865 # <limits.h> exists even on freestanding compilers.
15866 # On the NeXT, cc -E runs the code through the compiler's parser
,
15867 # not just through cpp. "Syntax error" is here to catch this case.
15868 cat >conftest.
$ac_ext <<_ACEOF
15871 cat confdefs.h
>>conftest.
$ac_ext
15872 cat >>conftest.
$ac_ext <<_ACEOF
15873 /* end confdefs.h. */
15875 # include <limits.h>
15877 # include <assert.h>
15881 if { (ac_try
="$ac_cpp conftest.$ac_ext"
15882 case "(($ac_try" in
15883 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
15884 *) ac_try_echo=$ac_try;;
15886 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15887 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
15889 grep -v '^ *+' conftest.er1 >conftest.err
15891 cat conftest.err >&5
15892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15893 (exit $ac_status); } >/dev/null && {
15894 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
15895 test ! -s conftest.err
15899 echo "$as_me: failed program was:" >&5
15900 sed 's/^/| /' conftest.$ac_ext >&5
15902 # Broken: fails on valid input.
15906 rm -f conftest.err conftest.$ac_ext
15908 # OK, works on sane cases. Now check whether nonexistent headers
15909 # can be detected and how.
15910 cat >conftest.$ac_ext <<_ACEOF
15913 cat confdefs.h >>conftest.$ac_ext
15914 cat >>conftest.$ac_ext <<_ACEOF
15915 /* end confdefs.h. */
15916 #include <ac_nonexistent.h>
15918 if { (ac_try="$ac_cpp conftest.$ac_ext"
15919 case "(($ac_try" in
15920 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
15921 *) ac_try_echo
=$ac_try;;
15923 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15924 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
15926 grep -v '^ *+' conftest.er1
>conftest.err
15928 cat conftest.err
>&5
15929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15930 (exit $ac_status); } >/dev
/null
&& {
15931 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
15932 test ! -s conftest.err
15934 # Broken: success on invalid input.
15937 echo "$as_me: failed program was:" >&5
15938 sed 's/^/| /' conftest.
$ac_ext >&5
15940 # Passes both tests.
15945 rm -f conftest.err conftest.
$ac_ext
15948 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
15949 rm -f conftest.err conftest.
$ac_ext
15950 if $ac_preproc_ok; then
15955 ac_cv_prog_CPP
=$CPP
15958 CPP
=$ac_cv_prog_CPP
15960 ac_cv_prog_CPP
=$CPP
15962 { echo "$as_me:$LINENO: result: $CPP" >&5
15963 echo "${ECHO_T}$CPP" >&6; }
15964 ac_preproc_ok
=false
15965 for ac_c_preproc_warn_flag
in '' yes
15967 # Use a header file that comes with gcc, so configuring glibc
15968 # with a fresh cross-compiler works.
15969 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15970 # <limits.h> exists even on freestanding compilers.
15971 # On the NeXT, cc -E runs the code through the compiler's parser,
15972 # not just through cpp. "Syntax error" is here to catch this case.
15973 cat >conftest.
$ac_ext <<_ACEOF
15976 cat confdefs.h
>>conftest.
$ac_ext
15977 cat >>conftest.
$ac_ext <<_ACEOF
15978 /* end confdefs.h. */
15980 # include <limits.h>
15982 # include <assert.h>
15986 if { (ac_try
="$ac_cpp conftest.$ac_ext"
15987 case "(($ac_try" in
15988 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
15989 *) ac_try_echo=$ac_try;;
15991 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15992 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
15994 grep -v '^ *+' conftest.er1 >conftest.err
15996 cat conftest.err >&5
15997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15998 (exit $ac_status); } >/dev/null && {
15999 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
16000 test ! -s conftest.err
16004 echo "$as_me: failed program was:" >&5
16005 sed 's/^/| /' conftest.$ac_ext >&5
16007 # Broken: fails on valid input.
16011 rm -f conftest.err conftest.$ac_ext
16013 # OK, works on sane cases. Now check whether nonexistent headers
16014 # can be detected and how.
16015 cat >conftest.$ac_ext <<_ACEOF
16018 cat confdefs.h >>conftest.$ac_ext
16019 cat >>conftest.$ac_ext <<_ACEOF
16020 /* end confdefs.h. */
16021 #include <ac_nonexistent.h>
16023 if { (ac_try="$ac_cpp conftest.$ac_ext"
16024 case "(($ac_try" in
16025 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
16026 *) ac_try_echo
=$ac_try;;
16028 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16029 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
16031 grep -v '^ *+' conftest.er1
>conftest.err
16033 cat conftest.err
>&5
16034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16035 (exit $ac_status); } >/dev
/null
&& {
16036 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
16037 test ! -s conftest.err
16039 # Broken: success on invalid input.
16042 echo "$as_me: failed program was:" >&5
16043 sed 's/^/| /' conftest.
$ac_ext >&5
16045 # Passes both tests.
16050 rm -f conftest.err conftest.
$ac_ext
16053 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
16054 rm -f conftest.err conftest.
$ac_ext
16055 if $ac_preproc_ok; then
16058 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
16059 See \`config.log' for more details." >&5
16060 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
16061 See \`config.log' for more details." >&2;}
16062 { (exit 1); exit 1; }; }
16066 ac_cpp
='$CPP $CPPFLAGS'
16067 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16068 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16069 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
16072 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
16073 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
16074 if test "${ac_cv_path_GREP+set}" = set; then
16075 echo $ECHO_N "(cached) $ECHO_C" >&6
16077 # Extract the first word of "grep ggrep" to use in msg output
16078 if test -z "$GREP"; then
16079 set dummy
grep ggrep
; ac_prog_name
=$2
16080 if test "${ac_cv_path_GREP+set}" = set; then
16081 echo $ECHO_N "(cached) $ECHO_C" >&6
16083 ac_path_GREP_found
=false
16084 # Loop through the user's path and test for each of PROGNAME-LIST
16085 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16086 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
16089 test -z "$as_dir" && as_dir
=.
16090 for ac_prog
in grep ggrep
; do
16091 for ac_exec_ext
in '' $ac_executable_extensions; do
16092 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
16093 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
16094 # Check for GNU ac_path_GREP and select it if it is found.
16095 # Check for GNU $ac_path_GREP
16096 case `"$ac_path_GREP" --version 2>&1` in
16098 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
16101 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
16104 cat "conftest.in" "conftest.in" >"conftest.tmp"
16105 mv "conftest.tmp" "conftest.in"
16106 cp "conftest.in" "conftest.nl"
16107 echo 'GREP' >> "conftest.nl"
16108 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null
|| break
16109 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 || break
16110 ac_count
=`expr $ac_count + 1`
16111 if test $ac_count -gt ${ac_path_GREP_max-0}; then
16112 # Best one so far, save it but keep looking for a better one
16113 ac_cv_path_GREP
="$ac_path_GREP"
16114 ac_path_GREP_max
=$ac_count
16116 # 10*(2^10) chars as input seems more than enough
16117 test $ac_count -gt 10 && break
16119 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
16123 $ac_path_GREP_found && break 3
16133 GREP
="$ac_cv_path_GREP"
16134 if test -z "$GREP"; then
16135 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
16136 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
16137 { (exit 1); exit 1; }; }
16141 ac_cv_path_GREP
=$GREP
16146 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
16147 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
16148 GREP
="$ac_cv_path_GREP"
16151 { echo "$as_me:$LINENO: checking for egrep" >&5
16152 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
16153 if test "${ac_cv_path_EGREP+set}" = set; then
16154 echo $ECHO_N "(cached) $ECHO_C" >&6
16156 if echo a
| $GREP -E '(a|b)' >/dev
/null
2>&1
16157 then ac_cv_path_EGREP
="$GREP -E"
16159 # Extract the first word of "egrep" to use in msg output
16160 if test -z "$EGREP"; then
16161 set dummy
egrep; ac_prog_name
=$2
16162 if test "${ac_cv_path_EGREP+set}" = set; then
16163 echo $ECHO_N "(cached) $ECHO_C" >&6
16165 ac_path_EGREP_found
=false
16166 # Loop through the user's path and test for each of PROGNAME-LIST
16167 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16168 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
16171 test -z "$as_dir" && as_dir
=.
16172 for ac_prog
in egrep; do
16173 for ac_exec_ext
in '' $ac_executable_extensions; do
16174 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
16175 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
16176 # Check for GNU ac_path_EGREP and select it if it is found.
16177 # Check for GNU $ac_path_EGREP
16178 case `"$ac_path_EGREP" --version 2>&1` in
16180 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
16183 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
16186 cat "conftest.in" "conftest.in" >"conftest.tmp"
16187 mv "conftest.tmp" "conftest.in"
16188 cp "conftest.in" "conftest.nl"
16189 echo 'EGREP' >> "conftest.nl"
16190 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null
|| break
16191 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 || break
16192 ac_count
=`expr $ac_count + 1`
16193 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
16194 # Best one so far, save it but keep looking for a better one
16195 ac_cv_path_EGREP
="$ac_path_EGREP"
16196 ac_path_EGREP_max
=$ac_count
16198 # 10*(2^10) chars as input seems more than enough
16199 test $ac_count -gt 10 && break
16201 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
16205 $ac_path_EGREP_found && break 3
16215 EGREP
="$ac_cv_path_EGREP"
16216 if test -z "$EGREP"; then
16217 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
16218 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
16219 { (exit 1); exit 1; }; }
16223 ac_cv_path_EGREP
=$EGREP
16229 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
16230 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
16231 EGREP
="$ac_cv_path_EGREP"
16234 if test $ac_cv_c_compiler_gnu = yes; then
16235 { echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
16236 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6; }
16237 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
16238 echo $ECHO_N "(cached) $ECHO_C" >&6
16240 ac_pattern
="Autoconf.*'x'"
16241 cat >conftest.
$ac_ext <<_ACEOF
16244 cat confdefs.h
>>conftest.
$ac_ext
16245 cat >>conftest.
$ac_ext <<_ACEOF
16246 /* end confdefs.h. */
16250 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16251 $EGREP "$ac_pattern" >/dev
/null
2>&1; then
16252 ac_cv_prog_gcc_traditional
=yes
16254 ac_cv_prog_gcc_traditional
=no
16259 if test $ac_cv_prog_gcc_traditional = no
; then
16260 cat >conftest.
$ac_ext <<_ACEOF
16263 cat confdefs.h
>>conftest.
$ac_ext
16264 cat >>conftest.
$ac_ext <<_ACEOF
16265 /* end confdefs.h. */
16266 #include <termio.h>
16269 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16270 $EGREP "$ac_pattern" >/dev
/null
2>&1; then
16271 ac_cv_prog_gcc_traditional
=yes
16277 { echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
16278 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6; }
16279 if test $ac_cv_prog_gcc_traditional = yes; then
16280 CC
="$CC -traditional"
16285 CXXFLAGS
=${CXXFLAGS:=}
16290 ac_cpp
='$CXXCPP $CPPFLAGS'
16291 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16292 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16293 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
16294 if test -z "$CXX"; then
16295 if test -n "$CCC"; then
16298 if test -n "$ac_tool_prefix"; then
16299 for ac_prog
in g
++ c
++ gpp aCC CC cxx cc
++ cl.exe FCC KCC RCC xlC_r xlC
16301 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
16302 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
16303 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16304 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16305 if test "${ac_cv_prog_CXX+set}" = set; then
16306 echo $ECHO_N "(cached) $ECHO_C" >&6
16308 if test -n "$CXX"; then
16309 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
16311 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16312 for as_dir
in $PATH
16315 test -z "$as_dir" && as_dir
=.
16316 for ac_exec_ext
in '' $ac_executable_extensions; do
16317 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16318 ac_cv_prog_CXX
="$ac_tool_prefix$ac_prog"
16319 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16328 CXX
=$ac_cv_prog_CXX
16329 if test -n "$CXX"; then
16330 { echo "$as_me:$LINENO: result: $CXX" >&5
16331 echo "${ECHO_T}$CXX" >&6; }
16333 { echo "$as_me:$LINENO: result: no" >&5
16334 echo "${ECHO_T}no" >&6; }
16338 test -n "$CXX" && break
16341 if test -z "$CXX"; then
16343 for ac_prog
in g
++ c
++ gpp aCC CC cxx cc
++ cl.exe FCC KCC RCC xlC_r xlC
16345 # Extract the first word of "$ac_prog", so it can be a program name with args.
16346 set dummy
$ac_prog; ac_word
=$2
16347 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16348 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16349 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
16350 echo $ECHO_N "(cached) $ECHO_C" >&6
16352 if test -n "$ac_ct_CXX"; then
16353 ac_cv_prog_ac_ct_CXX
="$ac_ct_CXX" # Let the user override the test.
16355 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16356 for as_dir
in $PATH
16359 test -z "$as_dir" && as_dir
=.
16360 for ac_exec_ext
in '' $ac_executable_extensions; do
16361 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16362 ac_cv_prog_ac_ct_CXX
="$ac_prog"
16363 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16372 ac_ct_CXX
=$ac_cv_prog_ac_ct_CXX
16373 if test -n "$ac_ct_CXX"; then
16374 { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
16375 echo "${ECHO_T}$ac_ct_CXX" >&6; }
16377 { echo "$as_me:$LINENO: result: no" >&5
16378 echo "${ECHO_T}no" >&6; }
16382 test -n "$ac_ct_CXX" && break
16385 if test "x$ac_ct_CXX" = x
; then
16388 case $cross_compiling:$ac_tool_warned in
16390 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
16391 whose name does not start with the host triplet. If you think this
16392 configuration is useful to you, please write to autoconf@gnu.org." >&5
16393 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
16394 whose name does not start with the host triplet. If you think this
16395 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
16396 ac_tool_warned
=yes ;;
16404 # Provide some information about the compiler.
16405 echo "$as_me:$LINENO: checking for C++ compiler version" >&5
16406 ac_compiler
=`set X $ac_compile; echo $2`
16407 { (ac_try
="$ac_compiler --version >&5"
16408 case "(($ac_try" in
16409 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
16410 *) ac_try_echo=$ac_try;;
16412 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16413 (eval "$ac_compiler --version >&5") 2>&5
16415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16416 (exit $ac_status); }
16417 { (ac_try="$ac_compiler -v >&5"
16418 case "(($ac_try" in
16419 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
16420 *) ac_try_echo
=$ac_try;;
16422 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16423 (eval "$ac_compiler -v >&5") 2>&5
16425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16426 (exit $ac_status); }
16427 { (ac_try
="$ac_compiler -V >&5"
16428 case "(($ac_try" in
16429 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
16430 *) ac_try_echo=$ac_try;;
16432 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16433 (eval "$ac_compiler -V >&5") 2>&5
16435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16436 (exit $ac_status); }
16438 { echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
16439 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
16440 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
16441 echo $ECHO_N "(cached) $ECHO_C" >&6
16443 cat >conftest.$ac_ext <<_ACEOF
16446 cat confdefs.h >>conftest.$ac_ext
16447 cat >>conftest.$ac_ext <<_ACEOF
16448 /* end confdefs.h. */
16461 rm -f conftest.$ac_objext
16462 if { (ac_try="$ac_compile"
16463 case "(($ac_try" in
16464 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
16465 *) ac_try_echo
=$ac_try;;
16467 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16468 (eval "$ac_compile") 2>conftest.er1
16470 grep -v '^ *+' conftest.er1
>conftest.err
16472 cat conftest.err
>&5
16473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16474 (exit $ac_status); } && {
16475 test -z "$ac_cxx_werror_flag" ||
16476 test ! -s conftest.err
16477 } && test -s conftest.
$ac_objext; then
16478 ac_compiler_gnu
=yes
16480 echo "$as_me: failed program was:" >&5
16481 sed 's/^/| /' conftest.
$ac_ext >&5
16486 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16487 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
16490 { echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
16491 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
16492 GXX
=`test $ac_compiler_gnu = yes && echo yes`
16493 ac_test_CXXFLAGS
=${CXXFLAGS+set}
16494 ac_save_CXXFLAGS
=$CXXFLAGS
16495 { echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
16496 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
16497 if test "${ac_cv_prog_cxx_g+set}" = set; then
16498 echo $ECHO_N "(cached) $ECHO_C" >&6
16500 ac_save_cxx_werror_flag
=$ac_cxx_werror_flag
16501 ac_cxx_werror_flag
=yes
16502 ac_cv_prog_cxx_g
=no
16504 cat >conftest.
$ac_ext <<_ACEOF
16507 cat confdefs.h
>>conftest.
$ac_ext
16508 cat >>conftest.
$ac_ext <<_ACEOF
16509 /* end confdefs.h. */
16519 rm -f conftest.
$ac_objext
16520 if { (ac_try
="$ac_compile"
16521 case "(($ac_try" in
16522 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
16523 *) ac_try_echo=$ac_try;;
16525 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16526 (eval "$ac_compile") 2>conftest.er1
16528 grep -v '^ *+' conftest.er1 >conftest.err
16530 cat conftest.err >&5
16531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16532 (exit $ac_status); } && {
16533 test -z "$ac_cxx_werror_flag" ||
16534 test ! -s conftest.err
16535 } && test -s conftest.$ac_objext; then
16536 ac_cv_prog_cxx_g=yes
16538 echo "$as_me: failed program was:" >&5
16539 sed 's/^/| /' conftest.$ac_ext >&5
16542 cat >conftest.$ac_ext <<_ACEOF
16545 cat confdefs.h >>conftest.$ac_ext
16546 cat >>conftest.$ac_ext <<_ACEOF
16547 /* end confdefs.h. */
16557 rm -f conftest.$ac_objext
16558 if { (ac_try="$ac_compile"
16559 case "(($ac_try" in
16560 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
16561 *) ac_try_echo
=$ac_try;;
16563 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16564 (eval "$ac_compile") 2>conftest.er1
16566 grep -v '^ *+' conftest.er1
>conftest.err
16568 cat conftest.err
>&5
16569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16570 (exit $ac_status); } && {
16571 test -z "$ac_cxx_werror_flag" ||
16572 test ! -s conftest.err
16573 } && test -s conftest.
$ac_objext; then
16576 echo "$as_me: failed program was:" >&5
16577 sed 's/^/| /' conftest.
$ac_ext >&5
16579 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
16581 cat >conftest.
$ac_ext <<_ACEOF
16584 cat confdefs.h
>>conftest.
$ac_ext
16585 cat >>conftest.
$ac_ext <<_ACEOF
16586 /* end confdefs.h. */
16596 rm -f conftest.
$ac_objext
16597 if { (ac_try
="$ac_compile"
16598 case "(($ac_try" in
16599 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
16600 *) ac_try_echo=$ac_try;;
16602 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16603 (eval "$ac_compile") 2>conftest.er1
16605 grep -v '^ *+' conftest.er1 >conftest.err
16607 cat conftest.err >&5
16608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16609 (exit $ac_status); } && {
16610 test -z "$ac_cxx_werror_flag" ||
16611 test ! -s conftest.err
16612 } && test -s conftest.$ac_objext; then
16613 ac_cv_prog_cxx_g=yes
16615 echo "$as_me: failed program was:" >&5
16616 sed 's/^/| /' conftest.$ac_ext >&5
16621 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16624 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16627 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16628 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
16630 { echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
16631 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
16632 if test "$ac_test_CXXFLAGS" = set; then
16633 CXXFLAGS=$ac_save_CXXFLAGS
16634 elif test $ac_cv_prog_cxx_g = yes; then
16635 if test "$GXX" = yes; then
16641 if test "$GXX" = yes; then
16648 ac_cpp='$CPP $CPPFLAGS'
16649 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16650 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16651 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16657 ac_cpp='$CXXCPP $CPPFLAGS'
16658 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16659 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16660 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16662 { echo "$as_me:$LINENO: checking whether we are using the Intel C++ compiler" >&5
16663 echo $ECHO_N "checking whether we are using the Intel C++ compiler... $ECHO_C" >&6; }
16664 if test "${bakefile_cv_cxx_compiler___INTEL_COMPILER+set}" = set; then
16665 echo $ECHO_N "(cached) $ECHO_C" >&6
16667 cat >conftest.$ac_ext <<_ACEOF
16670 cat confdefs.h >>conftest.$ac_ext
16671 cat >>conftest.$ac_ext <<_ACEOF
16672 /* end confdefs.h. */
16678 #ifndef __INTEL_COMPILER
16686 rm -f conftest.$ac_objext
16687 if { (ac_try="$ac_compile"
16688 case "(($ac_try" in
16689 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
16690 *) ac_try_echo
=$ac_try;;
16692 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16693 (eval "$ac_compile") 2>conftest.er1
16695 grep -v '^ *+' conftest.er1
>conftest.err
16697 cat conftest.err
>&5
16698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16699 (exit $ac_status); } && {
16700 test -z "$ac_cxx_werror_flag" ||
16701 test ! -s conftest.err
16702 } && test -s conftest.
$ac_objext; then
16703 bakefile_cv_cxx_compiler___INTEL_COMPILER
=yes
16705 echo "$as_me: failed program was:" >&5
16706 sed 's/^/| /' conftest.
$ac_ext >&5
16708 bakefile_cv_cxx_compiler___INTEL_COMPILER
=no
16712 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16716 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER" >&5
16717 echo "${ECHO_T}$bakefile_cv_cxx_compiler___INTEL_COMPILER" >&6; }
16718 if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER" = "xyes"; then
16724 ac_cpp
='$CPP $CPPFLAGS'
16725 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16726 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16727 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
16732 if test "x$GCXX" != "xyes"; then
16733 if test "xCXX" = "xC"; then
16734 { echo "$as_me:$LINENO: checking if the C compiler requires -ext o" >&5
16735 echo $ECHO_N "checking if the C compiler requires -ext o... $ECHO_C" >&6; }
16736 if test "${bakefile_cv_c_exto+set}" = set; then
16737 echo $ECHO_N "(cached) $ECHO_C" >&6
16739 cat >conftest.
$ac_ext <<_ACEOF
16742 cat confdefs.h
>>conftest.
$ac_ext
16743 cat >>conftest.
$ac_ext <<_ACEOF
16744 /* end confdefs.h. */
16754 rm -f conftest.
$ac_objext conftest.
$ac_ext.o
16755 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16756 (eval $ac_compile) 2>&5
16758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16759 (exit $ac_status); }; then
16760 for ac_file
in `(ls conftest.* 2>/dev/null)`; do
16762 conftest.
$ac_ext.o
)
16763 bakefile_cv_c_exto
="-ext o"
16770 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
16771 See \`config.log' for more details." >&5
16772 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
16773 See \`config.log' for more details." >&2;}
16774 { (exit 1); exit 1; }; }
16778 rm -f conftest.
$ac_ext.o conftest.
$ac_objext conftest.
$ac_ext
16781 { echo "$as_me:$LINENO: result: $bakefile_cv_c_exto" >&5
16782 echo "${ECHO_T}$bakefile_cv_c_exto" >&6; }
16783 if test "x$bakefile_cv_c_exto" '!=' "x"; then
16784 if test "c" = "c"; then
16785 CFLAGS
="$bakefile_cv_c_exto $CFLAGS"
16787 if test "c" = "cxx"; then
16788 CXXFLAGS
="$bakefile_cv_c_exto $CXXFLAGS"
16792 if test "x$bakefile_cv_c_exto" '!=' "x"; then
16793 unset ac_cv_prog_cc_g
16794 ac_test_CFLAGS
=${CFLAGS+set}
16795 ac_save_CFLAGS
=$CFLAGS
16796 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
16797 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
16798 if test "${ac_cv_prog_cc_g+set}" = set; then
16799 echo $ECHO_N "(cached) $ECHO_C" >&6
16801 ac_save_c_werror_flag
=$ac_c_werror_flag
16802 ac_c_werror_flag
=yes
16805 cat >conftest.
$ac_ext <<_ACEOF
16808 cat confdefs.h
>>conftest.
$ac_ext
16809 cat >>conftest.
$ac_ext <<_ACEOF
16810 /* end confdefs.h. */
16820 rm -f conftest.
$ac_objext
16821 if { (ac_try
="$ac_compile"
16822 case "(($ac_try" in
16823 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
16824 *) ac_try_echo=$ac_try;;
16826 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16827 (eval "$ac_compile") 2>conftest.er1
16829 grep -v '^ *+' conftest.er1 >conftest.err
16831 cat conftest.err >&5
16832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16833 (exit $ac_status); } && {
16834 test -z "$ac_c_werror_flag" ||
16835 test ! -s conftest.err
16836 } && test -s conftest.$ac_objext; then
16837 ac_cv_prog_cc_g=yes
16839 echo "$as_me: failed program was:" >&5
16840 sed 's/^/| /' conftest.$ac_ext >&5
16843 cat >conftest.$ac_ext <<_ACEOF
16846 cat confdefs.h >>conftest.$ac_ext
16847 cat >>conftest.$ac_ext <<_ACEOF
16848 /* end confdefs.h. */
16858 rm -f conftest.$ac_objext
16859 if { (ac_try="$ac_compile"
16860 case "(($ac_try" in
16861 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
16862 *) ac_try_echo
=$ac_try;;
16864 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16865 (eval "$ac_compile") 2>conftest.er1
16867 grep -v '^ *+' conftest.er1
>conftest.err
16869 cat conftest.err
>&5
16870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16871 (exit $ac_status); } && {
16872 test -z "$ac_c_werror_flag" ||
16873 test ! -s conftest.err
16874 } && test -s conftest.
$ac_objext; then
16877 echo "$as_me: failed program was:" >&5
16878 sed 's/^/| /' conftest.
$ac_ext >&5
16880 ac_c_werror_flag
=$ac_save_c_werror_flag
16882 cat >conftest.
$ac_ext <<_ACEOF
16885 cat confdefs.h
>>conftest.
$ac_ext
16886 cat >>conftest.
$ac_ext <<_ACEOF
16887 /* end confdefs.h. */
16897 rm -f conftest.
$ac_objext
16898 if { (ac_try
="$ac_compile"
16899 case "(($ac_try" in
16900 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
16901 *) ac_try_echo=$ac_try;;
16903 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16904 (eval "$ac_compile") 2>conftest.er1
16906 grep -v '^ *+' conftest.er1 >conftest.err
16908 cat conftest.err >&5
16909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16910 (exit $ac_status); } && {
16911 test -z "$ac_c_werror_flag" ||
16912 test ! -s conftest.err
16913 } && test -s conftest.$ac_objext; then
16914 ac_cv_prog_cc_g=yes
16916 echo "$as_me: failed program was:" >&5
16917 sed 's/^/| /' conftest.$ac_ext >&5
16922 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16925 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16928 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16929 ac_c_werror_flag=$ac_save_c_werror_flag
16931 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
16932 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
16933 if test "$ac_test_CFLAGS" = set; then
16934 CFLAGS=$ac_save_CFLAGS
16935 elif test $ac_cv_prog_cc_g = yes; then
16936 if test "$GCC" = yes; then
16942 if test "$GCC" = yes; then
16956 ac_cpp='$CXXCPP $CPPFLAGS'
16957 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16958 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16959 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16961 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
16962 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6; }
16963 if test "${bakefile_cv_cxx_compiler___xlC__+set}" = set; then
16964 echo $ECHO_N "(cached) $ECHO_C" >&6
16966 cat >conftest.$ac_ext <<_ACEOF
16969 cat confdefs.h >>conftest.$ac_ext
16970 cat >>conftest.$ac_ext <<_ACEOF
16971 /* end confdefs.h. */
16985 rm -f conftest.$ac_objext
16986 if { (ac_try="$ac_compile"
16987 case "(($ac_try" in
16988 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
16989 *) ac_try_echo
=$ac_try;;
16991 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16992 (eval "$ac_compile") 2>conftest.er1
16994 grep -v '^ *+' conftest.er1
>conftest.err
16996 cat conftest.err
>&5
16997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16998 (exit $ac_status); } && {
16999 test -z "$ac_cxx_werror_flag" ||
17000 test ! -s conftest.err
17001 } && test -s conftest.
$ac_objext; then
17002 bakefile_cv_cxx_compiler___xlC__
=yes
17004 echo "$as_me: failed program was:" >&5
17005 sed 's/^/| /' conftest.
$ac_ext >&5
17007 bakefile_cv_cxx_compiler___xlC__
=no
17011 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17015 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___xlC__" >&5
17016 echo "${ECHO_T}$bakefile_cv_cxx_compiler___xlC__" >&6; }
17017 if test "x$bakefile_cv_cxx_compiler___xlC__" = "xyes"; then
17023 ac_cpp
='$CPP $CPPFLAGS'
17024 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17025 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17026 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
17036 ac_cpp
='$CXXCPP $CPPFLAGS'
17037 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17038 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17039 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
17041 { echo "$as_me:$LINENO: checking whether we are using the Metrowerks C++ compiler" >&5
17042 echo $ECHO_N "checking whether we are using the Metrowerks C++ compiler... $ECHO_C" >&6; }
17043 if test "${bakefile_cv_cxx_compiler___MWERKS__+set}" = set; then
17044 echo $ECHO_N "(cached) $ECHO_C" >&6
17046 cat >conftest.
$ac_ext <<_ACEOF
17049 cat confdefs.h
>>conftest.
$ac_ext
17050 cat >>conftest.
$ac_ext <<_ACEOF
17051 /* end confdefs.h. */
17065 rm -f conftest.
$ac_objext
17066 if { (ac_try
="$ac_compile"
17067 case "(($ac_try" in
17068 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
17069 *) ac_try_echo=$ac_try;;
17071 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17072 (eval "$ac_compile") 2>conftest.er1
17074 grep -v '^ *+' conftest.er1 >conftest.err
17076 cat conftest.err >&5
17077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17078 (exit $ac_status); } && {
17079 test -z "$ac_cxx_werror_flag" ||
17080 test ! -s conftest.err
17081 } && test -s conftest.$ac_objext; then
17082 bakefile_cv_cxx_compiler___MWERKS__=yes
17084 echo "$as_me: failed program was:" >&5
17085 sed 's/^/| /' conftest.$ac_ext >&5
17087 bakefile_cv_cxx_compiler___MWERKS__=no
17091 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17095 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___MWERKS__" >&5
17096 echo "${ECHO_T}$bakefile_cv_cxx_compiler___MWERKS__" >&6; }
17097 if test "x$bakefile_cv_cxx_compiler___MWERKS__" = "xyes"; then
17103 ac_cpp='$CPP $CPPFLAGS'
17104 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17105 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17106 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17113 ac_cpp='$CXXCPP $CPPFLAGS'
17114 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17115 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17116 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17118 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
17119 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6; }
17120 if test "${bakefile_cv_cxx_compiler___xlC__+set}" = set; then
17121 echo $ECHO_N "(cached) $ECHO_C" >&6
17123 cat >conftest.$ac_ext <<_ACEOF
17126 cat confdefs.h >>conftest.$ac_ext
17127 cat >>conftest.$ac_ext <<_ACEOF
17128 /* end confdefs.h. */
17142 rm -f conftest.$ac_objext
17143 if { (ac_try="$ac_compile"
17144 case "(($ac_try" in
17145 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
17146 *) ac_try_echo
=$ac_try;;
17148 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17149 (eval "$ac_compile") 2>conftest.er1
17151 grep -v '^ *+' conftest.er1
>conftest.err
17153 cat conftest.err
>&5
17154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17155 (exit $ac_status); } && {
17156 test -z "$ac_cxx_werror_flag" ||
17157 test ! -s conftest.err
17158 } && test -s conftest.
$ac_objext; then
17159 bakefile_cv_cxx_compiler___xlC__
=yes
17161 echo "$as_me: failed program was:" >&5
17162 sed 's/^/| /' conftest.
$ac_ext >&5
17164 bakefile_cv_cxx_compiler___xlC__
=no
17168 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17172 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___xlC__" >&5
17173 echo "${ECHO_T}$bakefile_cv_cxx_compiler___xlC__" >&6; }
17174 if test "x$bakefile_cv_cxx_compiler___xlC__" = "xyes"; then
17180 ac_cpp
='$CPP $CPPFLAGS'
17181 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17182 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17183 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
17193 ac_cpp
='$CXXCPP $CPPFLAGS'
17194 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17195 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17196 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
17198 { echo "$as_me:$LINENO: checking whether we are using the SGI C++ compiler" >&5
17199 echo $ECHO_N "checking whether we are using the SGI C++ compiler... $ECHO_C" >&6; }
17200 if test "${bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION+set}" = set; then
17201 echo $ECHO_N "(cached) $ECHO_C" >&6
17203 cat >conftest.
$ac_ext <<_ACEOF
17206 cat confdefs.h
>>conftest.
$ac_ext
17207 cat >>conftest.
$ac_ext <<_ACEOF
17208 /* end confdefs.h. */
17214 #ifndef _SGI_COMPILER_VERSION
17222 rm -f conftest.
$ac_objext
17223 if { (ac_try
="$ac_compile"
17224 case "(($ac_try" in
17225 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
17226 *) ac_try_echo=$ac_try;;
17228 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17229 (eval "$ac_compile") 2>conftest.er1
17231 grep -v '^ *+' conftest.er1 >conftest.err
17233 cat conftest.err >&5
17234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17235 (exit $ac_status); } && {
17236 test -z "$ac_cxx_werror_flag" ||
17237 test ! -s conftest.err
17238 } && test -s conftest.$ac_objext; then
17239 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=yes
17241 echo "$as_me: failed program was:" >&5
17242 sed 's/^/| /' conftest.$ac_ext >&5
17244 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=no
17248 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17252 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&5
17253 echo "${ECHO_T}$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&6; }
17254 if test "x$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" = "xyes"; then
17260 ac_cpp='$CPP $CPPFLAGS'
17261 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17262 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17263 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17273 ac_cpp='$CXXCPP $CPPFLAGS'
17274 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17275 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17276 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17278 { echo "$as_me:$LINENO: checking whether we are using the Sun C++ compiler" >&5
17279 echo $ECHO_N "checking whether we are using the Sun C++ compiler... $ECHO_C" >&6; }
17280 if test "${bakefile_cv_cxx_compiler___SUNPRO_CC+set}" = set; then
17281 echo $ECHO_N "(cached) $ECHO_C" >&6
17283 cat >conftest.$ac_ext <<_ACEOF
17286 cat confdefs.h >>conftest.$ac_ext
17287 cat >>conftest.$ac_ext <<_ACEOF
17288 /* end confdefs.h. */
17294 #ifndef __SUNPRO_CC
17302 rm -f conftest.$ac_objext
17303 if { (ac_try="$ac_compile"
17304 case "(($ac_try" in
17305 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
17306 *) ac_try_echo
=$ac_try;;
17308 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17309 (eval "$ac_compile") 2>conftest.er1
17311 grep -v '^ *+' conftest.er1
>conftest.err
17313 cat conftest.err
>&5
17314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17315 (exit $ac_status); } && {
17316 test -z "$ac_cxx_werror_flag" ||
17317 test ! -s conftest.err
17318 } && test -s conftest.
$ac_objext; then
17319 bakefile_cv_cxx_compiler___SUNPRO_CC
=yes
17321 echo "$as_me: failed program was:" >&5
17322 sed 's/^/| /' conftest.
$ac_ext >&5
17324 bakefile_cv_cxx_compiler___SUNPRO_CC
=no
17328 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17332 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
17333 echo "${ECHO_T}$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6; }
17334 if test "x$bakefile_cv_cxx_compiler___SUNPRO_CC" = "xyes"; then
17340 ac_cpp
='$CPP $CPPFLAGS'
17341 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17342 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17343 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
17353 ac_cpp
='$CXXCPP $CPPFLAGS'
17354 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17355 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17356 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
17358 { echo "$as_me:$LINENO: checking whether we are using the HP C++ compiler" >&5
17359 echo $ECHO_N "checking whether we are using the HP C++ compiler... $ECHO_C" >&6; }
17360 if test "${bakefile_cv_cxx_compiler___HP_aCC+set}" = set; then
17361 echo $ECHO_N "(cached) $ECHO_C" >&6
17363 cat >conftest.
$ac_ext <<_ACEOF
17366 cat confdefs.h
>>conftest.
$ac_ext
17367 cat >>conftest.
$ac_ext <<_ACEOF
17368 /* end confdefs.h. */
17382 rm -f conftest.
$ac_objext
17383 if { (ac_try
="$ac_compile"
17384 case "(($ac_try" in
17385 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
17386 *) ac_try_echo=$ac_try;;
17388 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17389 (eval "$ac_compile") 2>conftest.er1
17391 grep -v '^ *+' conftest.er1 >conftest.err
17393 cat conftest.err >&5
17394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17395 (exit $ac_status); } && {
17396 test -z "$ac_cxx_werror_flag" ||
17397 test ! -s conftest.err
17398 } && test -s conftest.$ac_objext; then
17399 bakefile_cv_cxx_compiler___HP_aCC=yes
17401 echo "$as_me: failed program was:" >&5
17402 sed 's/^/| /' conftest.$ac_ext >&5
17404 bakefile_cv_cxx_compiler___HP_aCC=no
17408 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17412 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___HP_aCC" >&5
17413 echo "${ECHO_T}$bakefile_cv_cxx_compiler___HP_aCC" >&6; }
17414 if test "x$bakefile_cv_cxx_compiler___HP_aCC" = "xyes"; then
17420 ac_cpp='$CPP $CPPFLAGS'
17421 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17422 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17423 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17433 ac_cpp='$CXXCPP $CPPFLAGS'
17434 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17435 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17436 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17438 { echo "$as_me:$LINENO: checking whether we are using the Compaq C++ compiler" >&5
17439 echo $ECHO_N "checking whether we are using the Compaq C++ compiler... $ECHO_C" >&6; }
17440 if test "${bakefile_cv_cxx_compiler___DECCXX+set}" = set; then
17441 echo $ECHO_N "(cached) $ECHO_C" >&6
17443 cat >conftest.$ac_ext <<_ACEOF
17446 cat confdefs.h >>conftest.$ac_ext
17447 cat >>conftest.$ac_ext <<_ACEOF
17448 /* end confdefs.h. */
17462 rm -f conftest.$ac_objext
17463 if { (ac_try="$ac_compile"
17464 case "(($ac_try" in
17465 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
17466 *) ac_try_echo
=$ac_try;;
17468 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17469 (eval "$ac_compile") 2>conftest.er1
17471 grep -v '^ *+' conftest.er1
>conftest.err
17473 cat conftest.err
>&5
17474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17475 (exit $ac_status); } && {
17476 test -z "$ac_cxx_werror_flag" ||
17477 test ! -s conftest.err
17478 } && test -s conftest.
$ac_objext; then
17479 bakefile_cv_cxx_compiler___DECCXX
=yes
17481 echo "$as_me: failed program was:" >&5
17482 sed 's/^/| /' conftest.
$ac_ext >&5
17484 bakefile_cv_cxx_compiler___DECCXX
=no
17488 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17492 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___DECCXX" >&5
17493 echo "${ECHO_T}$bakefile_cv_cxx_compiler___DECCXX" >&6; }
17494 if test "x$bakefile_cv_cxx_compiler___DECCXX" = "xyes"; then
17500 ac_cpp
='$CPP $CPPFLAGS'
17501 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17502 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17503 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
17513 ac_cpp
='$CXXCPP $CPPFLAGS'
17514 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17515 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17516 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
17518 { echo "$as_me:$LINENO: checking whether we are using the Sun C++ compiler" >&5
17519 echo $ECHO_N "checking whether we are using the Sun C++ compiler... $ECHO_C" >&6; }
17520 if test "${bakefile_cv_cxx_compiler___SUNPRO_CC+set}" = set; then
17521 echo $ECHO_N "(cached) $ECHO_C" >&6
17523 cat >conftest.
$ac_ext <<_ACEOF
17526 cat confdefs.h
>>conftest.
$ac_ext
17527 cat >>conftest.
$ac_ext <<_ACEOF
17528 /* end confdefs.h. */
17534 #ifndef __SUNPRO_CC
17542 rm -f conftest.
$ac_objext
17543 if { (ac_try
="$ac_compile"
17544 case "(($ac_try" in
17545 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
17546 *) ac_try_echo=$ac_try;;
17548 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17549 (eval "$ac_compile") 2>conftest.er1
17551 grep -v '^ *+' conftest.er1 >conftest.err
17553 cat conftest.err >&5
17554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17555 (exit $ac_status); } && {
17556 test -z "$ac_cxx_werror_flag" ||
17557 test ! -s conftest.err
17558 } && test -s conftest.$ac_objext; then
17559 bakefile_cv_cxx_compiler___SUNPRO_CC=yes
17561 echo "$as_me: failed program was:" >&5
17562 sed 's/^/| /' conftest.$ac_ext >&5
17564 bakefile_cv_cxx_compiler___SUNPRO_CC=no
17568 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17572 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
17573 echo "${ECHO_T}$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6; }
17574 if test "x$bakefile_cv_cxx_compiler___SUNPRO_CC" = "xyes"; then
17580 ac_cpp='$CPP $CPPFLAGS'
17581 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17582 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17583 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17593 if test "$CXX" = "g++" -a "$GXX" != "yes"; then
17594 { { echo "$as_me:$LINENO: error: C++ compiler is needed to build wxWidgets" >&5
17595 echo "$as_me: error: C++ compiler is needed to build wxWidgets" >&2;}
17596 { (exit 1); exit 1; }; }
17599 if test "x$SUNCXX" != xyes; then
17600 if test -n "$ac_tool_prefix"; then
17601 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
17602 set dummy ${ac_tool_prefix}ar; ac_word=$2
17603 { echo "$as_me:$LINENO: checking for $ac_word" >&5
17604 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
17605 if test "${ac_cv_prog_AR+set}" = set; then
17606 echo $ECHO_N "(cached) $ECHO_C" >&6
17608 if test -n "$AR"; then
17609 ac_cv_prog_AR="$AR" # Let the user override the test.
17611 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17612 for as_dir in $PATH
17615 test -z "$as_dir" && as_dir=.
17616 for ac_exec_ext in '' $ac_executable_extensions; do
17617 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
17618 ac_cv_prog_AR="${ac_tool_prefix}ar"
17619 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
17629 if test -n "$AR"; then
17630 { echo "$as_me:$LINENO: result: $AR" >&5
17631 echo "${ECHO_T}$AR" >&6; }
17633 { echo "$as_me:$LINENO: result: no" >&5
17634 echo "${ECHO_T}no" >&6; }
17639 if test -z "$ac_cv_prog_AR"; then
17641 # Extract the first word of "ar", so it can be a program name with args.
17642 set dummy ar; ac_word=$2
17643 { echo "$as_me:$LINENO: checking for $ac_word" >&5
17644 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
17645 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
17646 echo $ECHO_N "(cached) $ECHO_C" >&6
17648 if test -n "$ac_ct_AR"; then
17649 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
17651 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17652 for as_dir in $PATH
17655 test -z "$as_dir" && as_dir=.
17656 for ac_exec_ext in '' $ac_executable_extensions; do
17657 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
17658 ac_cv_prog_ac_ct_AR="ar"
17659 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
17668 ac_ct_AR=$ac_cv_prog_ac_ct_AR
17669 if test -n "$ac_ct_AR"; then
17670 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
17671 echo "${ECHO_T}$ac_ct_AR" >&6; }
17673 { echo "$as_me:$LINENO: result: no" >&5
17674 echo "${ECHO_T}no" >&6; }
17677 if test "x$ac_ct_AR" = x; then
17680 case $cross_compiling:$ac_tool_warned in
17682 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
17683 whose name does not start with the host triplet. If you think this
17684 configuration is useful to you, please write to autoconf@gnu.org." >&5
17685 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
17686 whose name does not start with the host triplet. If you think this
17687 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
17688 ac_tool_warned=yes ;;
17693 AR="$ac_cv_prog_AR"
17696 if test "x$AR" = "x" ; then
17697 { { echo "$as_me:$LINENO: error: ar is needed to build wxWidgets" >&5
17698 echo "$as_me: error: ar is needed to build wxWidgets" >&2;}
17699 { (exit 1); exit 1; }; }
17703 retest_macosx_linking=no
17705 #if test "$wxUSE_MAC" = 1; then
17706 if test "x$wxUSE_UNIVERSAL_BINARY" != xno ; then
17707 if test "x$wxUSE_UNIVERSAL_BINARY" == xyes; then
17708 # Implicitly turn on the new --with-macosx-sdk using the default
17709 # SDK which provides the behavior this option has always had.
17710 if test "x$wxUSE_MACOSX_SDK" = "x"; then
17711 { echo "$as_me:$LINENO: WARNING: Enabling default SDK due to --enable-universal_binary." >&5
17712 echo "$as_me: WARNING: Enabling default SDK due to --enable-universal_binary." >&2;}
17713 { echo "$as_me:$LINENO: WARNING: If you don't want this, specify --without-macosx-sdk" >&5
17714 echo "$as_me: WARNING: If you don't want this, specify --without-macosx-sdk" >&2;}
17715 wxUSE_MACOSX_SDK=yes
17718 # Complain to user if he specified an argument to --enable-universal_binary
17719 # and also 1) specified --with-macosx-sdk using the default (yes) or
17720 # 2) specified --with-macosx-sdk using a path or 3) specified
17721 # --without-macosx-sdk (no).
17722 if test "x$wxUSE_MACOSX_SDK" != "x" ; then
17723 { { echo "$as_me:$LINENO: error: Please specify the new --with-macosx-sdk=PATH and do not specify an arg to --enable-universal_binary
17724 See \`config.log
' for more details." >&5
17725 echo "$as_me: error: Please specify the new --with-macosx-sdk=PATH and do not specify an arg to --enable-universal_binary
17726 See \`config.log' for more details.
" >&2;}
17727 { (exit 1); exit 1; }; }
17729 # Put the SDK path into the wxUSE_MACOSX_SDK. We don't have to
17730 # special-case the empty string because the below test simply
17731 # converts "no
" to the empty string anyway.
17732 wxUSE_MACOSX_SDK="$wxUSE_UNIVERSAL_BINARY"
17733 { echo "$as_me:$LINENO: WARNING
: Please use
--with-macosx-sdk=PATH and
--enable-universal_binary without an argument
" >&5
17734 echo "$as_me: WARNING
: Please use
--with-macosx-sdk=PATH and
--enable-universal_binary without an argument
" >&2;}
17737 OSX_UNIV_OPTS="-arch ppc
-arch i386
"
17738 CXXFLAGS="$OSX_UNIV_OPTS $CXXFLAGS"
17739 CFLAGS="$OSX_UNIV_OPTS $CFLAGS"
17740 OBJCXXFLAGS="$OSX_UNIV_OPTS $OBJCXXFLAGS"
17741 OBJCFLAGS="$OSX_UNIV_OPTS $OBJCFLAGS"
17742 LDFLAGS="$OSX_UNIV_OPTS $LDFLAGS"
17743 retest_macosx_linking=yes
17745 { echo "$as_me:$LINENO: WARNING
: Disabling precompiled headers due to universal binary build.
" >&5
17746 echo "$as_me: WARNING
: Disabling precompiled headers due to universal binary build.
" >&2;}
17751 if test "x
$wxUSE_MACOSX_SDK" = "xno
"; then
17753 elif test "x
$wxUSE_MACOSX_SDK" = "xyes
"; then
17754 # TODO: Search for most recent SDK and use it.
17755 wxUSE_MACOSX_SDK="/Developer
/SDKs
/MacOSX10.4u.sdk
"
17759 if test "x
$wxUSE_MACOSX_SDK" != "x
"; then
17760 { echo "$as_me:$LINENO: checking
for SDK directory
$wxUSE_MACOSX_SDK" >&5
17761 echo $ECHO_N "checking
for SDK directory
$wxUSE_MACOSX_SDK...
$ECHO_C" >&6; }
17762 if ! test -d "$wxUSE_MACOSX_SDK"; then
17763 { { echo "$as_me:$LINENO: error
: not found
17764 See \
`config.log' for more details." >&5
17765 echo "$as_me: error: not found
17766 See \`config.log
' for more details." >&2;}
17767 { (exit 1); exit 1; }; }
17769 { echo "$as_me:$LINENO: result: exists" >&5
17770 echo "${ECHO_T}exists" >&6; }
17772 MACOSX_SDK_OPTS="-isysroot $wxUSE_MACOSX_SDK"
17773 eval "CC=\"$CC $MACOSX_SDK_OPTS\""
17774 eval "CXX=\"$CXX $MACOSX_SDK_OPTS\""
17775 eval "LD=\"$LD $MACOSX_SDK_OPTS\""
17776 retest_macosx_linking=yes
17779 if test "x$wxUSE_MACOSX_VERSION_MIN" = "xno"; then
17780 wxUSE_MACOSX_VERSION_MIN=
17781 elif test "x$wxUSE_MACOSX_VERSION_MIN" = "xyes"; then
17782 if test "x$wxUSE_MACOSX_SDK" != "x"; then
17783 { echo "$as_me:$LINENO: checking SDK deployment version" >&5
17784 echo $ECHO_N "checking SDK deployment version... $ECHO_C" >&6; }
17786 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/'`
17788 # If that failed, try again with the new key
17789 if test "x$MACOSX_SDK_PLIST_VERSION_MIN" == "x"; then
17791 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/'`
17795 if test "x$MACOSX_SDK_PLIST_VERSION_MIN" != "x"; then
17796 wxUSE_MACOSX_VERSION_MIN=$MACOSX_SDK_PLIST_VERSION_MIN
17797 { echo "$as_me:$LINENO: result: $wxUSE_MACOSX_VERSION_MIN" >&5
17798 echo "${ECHO_T}$wxUSE_MACOSX_VERSION_MIN" >&6; }
17800 { echo "$as_me:$LINENO: WARNING: Could not determine deployment target from SDKSettings.plist" >&5
17801 echo "$as_me: WARNING: Could not determine deployment target from SDKSettings.plist" >&2;}
17802 wxUSE_MACOSX_VERSION_MIN=
17805 wxUSE_MACOSX_VERSION_MIN=
17807 elif test "x$wxUSE_MACOSX_VERSION_MIN" = "x"; then
17808 if test "$wxUSE_MAC" = 1; then
17809 # otherwise configure stops on leopard for universal_binary
17810 wxUSE_MACOSX_VERSION_MIN=10.4
17814 if test "x$wxUSE_MACOSX_VERSION_MIN" != "x"; then
17815 MACOSX_VERSION_MIN_OPTS="-mmacosx-version-min=$wxUSE_MACOSX_VERSION_MIN"
17816 eval "CC=\"$CC $MACOSX_VERSION_MIN_OPTS\""
17817 eval "CXX=\"$CXX $MACOSX_VERSION_MIN_OPTS\""
17818 eval "LD=\"$LD $MACOSX_VERSION_MIN_OPTS\""
17819 retest_macosx_linking=yes
17822 if test "x$retest_macosx_linking" = "xyes"; then
17824 ac_cpp='$CPP $CPPFLAGS'
17825 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
17826 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
17827 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17829 { echo "$as_me:$LINENO: checking if C compiler works with SDK/version options" >&5
17830 echo $ECHO_N "checking if C compiler works with SDK/version options... $ECHO_C" >&6; }
17831 cat >conftest.$ac_ext <<_ACEOF
17834 cat confdefs.h >>conftest.$ac_ext
17835 cat >>conftest.$ac_ext <<_ACEOF
17836 /* end confdefs.h. */
17846 rm -f conftest.$ac_objext conftest$ac_exeext
17847 if { (ac_try="$ac_link"
17848 case "(($ac_try" in
17849 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17850 *) ac_try_echo=$ac_try;;
17852 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17853 (eval "$ac_link") 2>conftest.er1
17855 grep -v '^
*+' conftest.er1 >conftest.err
17857 cat conftest.err >&5
17858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17859 (exit $ac_status); } && {
17860 test -z "$ac_c_werror_flag" ||
17861 test ! -s conftest.err
17862 } && test -s conftest$ac_exeext &&
17863 $as_test_x conftest$ac_exeext; then
17864 { echo "$as_me:$LINENO: result: yes" >&5
17865 echo "${ECHO_T}yes" >&6; }
17867 echo "$as_me: failed program was:" >&5
17868 sed 's
/^
/| /' conftest.$ac_ext >&5
17870 { { echo "$as_me:$LINENO: error: no. Try a different SDK
17871 See \`config.log' for more details.
" >&5
17872 echo "$as_me: error
: no. Try a different SDK
17873 See \
`config.log' for more details." >&2;}
17874 { (exit 1); exit 1; }; }; exit 1
17877 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17878 conftest$ac_exeext conftest.$ac_ext
17880 ac_cpp='$CPP $CPPFLAGS'
17881 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17882 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17883 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17887 ac_cpp='$CXXCPP $CPPFLAGS'
17888 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17889 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17890 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17892 { echo "$as_me:$LINENO: checking if C++ compiler works with SDK/version options" >&5
17893 echo $ECHO_N "checking if C++ compiler works with SDK/version options... $ECHO_C" >&6; }
17894 cat >conftest.$ac_ext <<_ACEOF
17897 cat confdefs.h >>conftest.$ac_ext
17898 cat >>conftest.$ac_ext <<_ACEOF
17899 /* end confdefs.h. */
17909 rm -f conftest.$ac_objext conftest$ac_exeext
17910 if { (ac_try="$ac_link"
17911 case "(($ac_try" in
17912 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
17913 *) ac_try_echo
=$ac_try;;
17915 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17916 (eval "$ac_link") 2>conftest.er1
17918 grep -v '^ *+' conftest.er1
>conftest.err
17920 cat conftest.err
>&5
17921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17922 (exit $ac_status); } && {
17923 test -z "$ac_cxx_werror_flag" ||
17924 test ! -s conftest.err
17925 } && test -s conftest
$ac_exeext &&
17926 $as_test_x conftest
$ac_exeext; then
17927 { echo "$as_me:$LINENO: result: yes" >&5
17928 echo "${ECHO_T}yes" >&6; }
17930 echo "$as_me: failed program was:" >&5
17931 sed 's/^/| /' conftest.
$ac_ext >&5
17933 { { echo "$as_me:$LINENO: error: no. Try a different SDK
17934 See \`config.log' for more details." >&5
17935 echo "$as_me: error: no. Try a different SDK
17936 See \`config.log' for more details." >&2;}
17937 { (exit 1); exit 1; }; }; exit 1
17940 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
17941 conftest
$ac_exeext conftest.
$ac_ext
17943 ac_cpp
='$CPP $CPPFLAGS'
17944 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17945 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17946 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
17954 INSTALL_PROGRAM
="cp -fp"
17955 INSTALL_DATA
="cp -fp"
17962 if test "x$XLCXX" = "xyes" -a "x$USE_AIX" = "x1"; then
17963 CXXFLAGS
="-qunique $CXXFLAGS"
17967 powerpc
-*-darwin* )
17968 { echo "$as_me:$LINENO: checking if __POWERPC__ is already defined" >&5
17969 echo $ECHO_N "checking if __POWERPC__ is already defined... $ECHO_C" >&6; }
17970 cat >conftest.
$ac_ext <<_ACEOF
17973 cat confdefs.h
>>conftest.
$ac_ext
17974 cat >>conftest.
$ac_ext <<_ACEOF
17975 /* end confdefs.h. */
17980 #ifndef __POWERPC__
17981 choke me for lack of PowerPC
17988 rm -f conftest.
$ac_objext
17989 if { (ac_try
="$ac_compile"
17990 case "(($ac_try" in
17991 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
17992 *) ac_try_echo=$ac_try;;
17994 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17995 (eval "$ac_compile") 2>conftest.er1
17997 grep -v '^ *+' conftest.er1 >conftest.err
17999 cat conftest.err >&5
18000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18001 (exit $ac_status); } && {
18002 test -z "$ac_c_werror_flag" ||
18003 test ! -s conftest.err
18004 } && test -s conftest.$ac_objext; then
18005 { echo "$as_me:$LINENO: result: yes" >&5
18006 echo "${ECHO_T}yes" >&6; }
18008 echo "$as_me: failed program was:" >&5
18009 sed 's/^/| /' conftest.$ac_ext >&5
18011 { echo "$as_me:$LINENO: result: no" >&5
18012 echo "${ECHO_T}no" >&6; }
18013 cat >>confdefs.h <<\_ACEOF
18014 #define __POWERPC__ 1
18020 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18026 { echo "$as_me:$LINENO: checking if CoreFoundation/CFBase.h is usable" >&5
18027 echo $ECHO_N "checking if CoreFoundation/CFBase.h is usable... $ECHO_C" >&6; }
18028 cat >conftest.$ac_ext <<_ACEOF
18031 cat confdefs.h >>conftest.$ac_ext
18032 cat >>conftest.$ac_ext <<_ACEOF
18033 /* end confdefs.h. */
18034 #include <CoreFoundation/CFBase.h>
18044 rm -f conftest.$ac_objext
18045 if { (ac_try="$ac_compile"
18046 case "(($ac_try" in
18047 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
18048 *) ac_try_echo
=$ac_try;;
18050 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18051 (eval "$ac_compile") 2>conftest.er1
18053 grep -v '^ *+' conftest.er1
>conftest.err
18055 cat conftest.err
>&5
18056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18057 (exit $ac_status); } && {
18058 test -z "$ac_c_werror_flag" ||
18059 test ! -s conftest.err
18060 } && test -s conftest.
$ac_objext; then
18061 { echo "$as_me:$LINENO: result: yes" >&5
18062 echo "${ECHO_T}yes" >&6; }
18064 echo "$as_me: failed program was:" >&5
18065 sed 's/^/| /' conftest.
$ac_ext >&5
18067 { echo "$as_me:$LINENO: result: no" >&5
18068 echo "${ECHO_T}no" >&6; }
18069 { echo "$as_me:$LINENO: checking if __CF_USE_FRAMEWORK_INCLUDES__ is required" >&5
18070 echo $ECHO_N "checking if __CF_USE_FRAMEWORK_INCLUDES__ is required... $ECHO_C" >&6; }
18071 cat >conftest.
$ac_ext <<_ACEOF
18074 cat confdefs.h
>>conftest.
$ac_ext
18075 cat >>conftest.
$ac_ext <<_ACEOF
18076 /* end confdefs.h. */
18077 #define __CF_USE_FRAMEWORK_INCLUDES__
18078 #include <CoreFoundation/CFBase.h>
18088 rm -f conftest.
$ac_objext
18089 if { (ac_try
="$ac_compile"
18090 case "(($ac_try" in
18091 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
18092 *) ac_try_echo=$ac_try;;
18094 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18095 (eval "$ac_compile") 2>conftest.er1
18097 grep -v '^ *+' conftest.er1 >conftest.err
18099 cat conftest.err >&5
18100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18101 (exit $ac_status); } && {
18102 test -z "$ac_c_werror_flag" ||
18103 test ! -s conftest.err
18104 } && test -s conftest.$ac_objext; then
18105 { echo "$as_me:$LINENO: result: yes" >&5
18106 echo "${ECHO_T}yes" >&6; }
18107 CPPFLAGS="-D__CF_USE_FRAMEWORK_INCLUDES__ $CPPFLAGS"
18109 echo "$as_me: failed program was:" >&5
18110 sed 's/^/| /' conftest.$ac_ext >&5
18112 { { echo "$as_me:$LINENO: error: no. CoreFoundation not available.
18113 See \`config.log
' for more details." >&5
18114 echo "$as_me: error: no. CoreFoundation not available.
18115 See \`config.log' for more details.
" >&2;}
18116 { (exit 1); exit 1; }; }
18120 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18125 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18130 doesnt_want_win32=0
18133 if test "$wxUSE_MSW" = 1 ; then
18136 { echo "$as_me:$LINENO: checking
if -mno-cygwin is
in effect
" >&5
18137 echo $ECHO_N "checking
if -mno-cygwin is
in effect...
$ECHO_C" >&6; }
18138 if test "${wx_cv_nocygwin+set}" = set; then
18139 echo $ECHO_N "(cached
) $ECHO_C" >&6
18142 cat >conftest.$ac_ext <<_ACEOF
18145 cat confdefs.h >>conftest.$ac_ext
18146 cat >>conftest.$ac_ext <<_ACEOF
18147 /* end confdefs.h. */
18161 rm -f conftest.$ac_objext
18162 if { (ac_try="$ac_compile"
18163 case "(($ac_try" in
18164 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18165 *) ac_try_echo=$ac_try;;
18167 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
18168 (eval "$ac_compile") 2>conftest.er1
18170 grep -v '^ *+' conftest.er1 >conftest.err
18172 cat conftest.err >&5
18173 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
18174 (exit $ac_status); } && {
18175 test -z "$ac_c_werror_flag" ||
18176 test ! -s conftest.err
18177 } && test -s conftest.$ac_objext; then
18180 echo "$as_me: failed program was
:" >&5
18181 sed 's/^/| /' conftest.$ac_ext >&5
18187 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18191 { echo "$as_me:$LINENO: result
: $wx_cv_nocygwin" >&5
18192 echo "${ECHO_T}$wx_cv_nocygwin" >&6; }
18194 if test "$wx_cv_nocygwin" = "yes"; then
18197 doesnt_want_win32=1
18200 if test "$wants_win32" = 1 ; then
18201 BAKEFILE_FORCE_PLATFORM=win32
18209 if test "$wxUSE_WINE" = "yes"; then
18211 LDFLAGS_GUI="-mwindows"
18214 if test "$wants_win32" = 1 ; then
18217 cat >>confdefs.h <<\_ACEOF
18218 #define __WIN32__ 1
18221 cat >>confdefs.h <<\_ACEOF
18222 #define __WIN95__ 1
18225 cat >>confdefs.h <<\_ACEOF
18226 #define __WINDOWS__ 1
18229 cat >>confdefs.h <<\_ACEOF
18230 #define __GNUWIN32__ 1
18233 cat >>confdefs.h <<\_ACEOF
18238 if test "$doesnt_want_win32" = 1 ; then
18243 if test "$USE_UNIX" = 1 ; then
18245 cat >>confdefs.h <<\_ACEOF
18252 *-pc-os2_emx | *-pc-os2-emx )
18253 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
18254 { echo "$as_me:$LINENO: checking
for drand48
in -lcExt" >&5
18255 echo $ECHO_N "checking
for drand48
in -lcExt...
$ECHO_C" >&6; }
18256 if test "${ac_cv_lib_cExt_drand48+set}" = set; then
18257 echo $ECHO_N "(cached
) $ECHO_C" >&6
18259 ac_check_lib_save_LIBS=$LIBS
18260 LIBS="-lcExt $LIBS"
18261 cat >conftest.$ac_ext <<_ACEOF
18264 cat confdefs.h >>conftest.$ac_ext
18265 cat >>conftest.$ac_ext <<_ACEOF
18266 /* end confdefs.h. */
18268 /* Override any GCC internal prototype to avoid an error.
18269 Use char because int might match the return type of a GCC
18270 builtin and then its argument prototype would still apply. */
18283 rm -f conftest.$ac_objext conftest$ac_exeext
18284 if { (ac_try="$ac_link"
18285 case "(($ac_try" in
18286 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18287 *) ac_try_echo=$ac_try;;
18289 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
18290 (eval "$ac_link") 2>conftest.er1
18292 grep -v '^ *+' conftest.er1 >conftest.err
18294 cat conftest.err >&5
18295 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
18296 (exit $ac_status); } && {
18297 test -z "$ac_c_werror_flag" ||
18298 test ! -s conftest.err
18299 } && test -s conftest$ac_exeext &&
18300 $as_test_x conftest$ac_exeext; then
18301 ac_cv_lib_cExt_drand48=yes
18303 echo "$as_me: failed program was
:" >&5
18304 sed 's/^/| /' conftest.$ac_ext >&5
18306 ac_cv_lib_cExt_drand48=no
18309 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18310 conftest$ac_exeext conftest.$ac_ext
18311 LIBS=$ac_check_lib_save_LIBS
18313 { echo "$as_me:$LINENO: result
: $ac_cv_lib_cExt_drand48" >&5
18314 echo "${ECHO_T}$ac_cv_lib_cExt_drand48" >&6; }
18315 if test $ac_cv_lib_cExt_drand48 = yes; then
18316 LIBS="$LIBS -lcExt"
18320 RESPROGRAMOBJ="\
${top_srcdir}/include
/wx
/os
2/wx.res
"
18322 { echo "$as_me:$LINENO: checking
for gcc
/libc version
" >&5
18323 echo $ECHO_N "checking
for gcc
/libc version...
$ECHO_C" >&6; }
18324 if test "${wx_cv_gccversion+set}" = set; then
18325 echo $ECHO_N "(cached
) $ECHO_C" >&6
18328 if test "$cross_compiling" = yes; then
18329 wx_cv_gccversion="EMX2
"
18332 cat >conftest.$ac_ext <<_ACEOF
18335 cat confdefs.h >>conftest.$ac_ext
18336 cat >>conftest.$ac_ext <<_ACEOF
18337 /* end confdefs.h. */
18343 FILE *f=fopen("conftestval
", "w
");
18348 #elif (__GNUC__==3) && ((__GNUC_MINOR__ < 2) || ((__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__<2)))
18350 #elif (__GNUC__==3) && (__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__==2)
18360 rm -f conftest$ac_exeext
18361 if { (ac_try="$ac_link"
18362 case "(($ac_try" in
18363 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18364 *) ac_try_echo=$ac_try;;
18366 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
18367 (eval "$ac_link") 2>&5
18369 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
18370 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
18371 { (case "(($ac_try" in
18372 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18373 *) ac_try_echo=$ac_try;;
18375 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
18376 (eval "$ac_try") 2>&5
18378 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
18379 (exit $ac_status); }; }; then
18380 wx_cv_gccversion=`cat conftestval`
18382 echo "$as_me: program exited with status
$ac_status" >&5
18383 echo "$as_me: failed program was
:" >&5
18384 sed 's/^/| /' conftest.$ac_ext >&5
18386 ( exit $ac_status )
18387 wx_cv_gccversion="EMX2
"
18389 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
18395 { echo "$as_me:$LINENO: result
: $wx_cv_gccversion" >&5
18396 echo "${ECHO_T}$wx_cv_gccversion" >&6; }
18397 if test "$wx_cv_gccversion" = "EMX2
"; then
18398 LIBS="$LIBS -lstdcpp"
18399 LDFLAGS="$LDFLAGS -Zsysv-signals"
18401 if test "$wx_cv_gccversion" = "EMX3
"; then
18402 LIBS="$LIBS -lstdcxx -lgcc"
18403 LDFLAGS="$LDFLAGS -Zsysv-signals"
18405 LIBS="$LIBS -lstdc++"
18408 if test "$wxUSE_SHARED" = "yes" -a "$wxUSE_OMF" = "no
"; then
18409 { echo "$as_me:$LINENO: WARNING
: Building DLLs requires OMF mode
, enabled
" >&5
18410 echo "$as_me: WARNING
: Building DLLs requires OMF mode
, enabled
" >&2;}
18417 { echo "$as_me:$LINENO: checking
for strcasecmp
() in string.h
" >&5
18418 echo $ECHO_N "checking
for strcasecmp
() in string.h...
$ECHO_C" >&6; }
18419 if test "${ac_cv_string_strcasecmp+set}" = set; then
18420 echo $ECHO_N "(cached
) $ECHO_C" >&6
18423 cat >conftest.$ac_ext <<_ACEOF
18426 cat confdefs.h >>conftest.$ac_ext
18427 cat >>conftest.$ac_ext <<_ACEOF
18428 /* end confdefs.h. */
18430 #include <string.h>
18436 strcasecmp("foo
", "bar
");
18442 rm -f conftest.$ac_objext conftest$ac_exeext
18443 if { (ac_try="$ac_link"
18444 case "(($ac_try" in
18445 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18446 *) ac_try_echo=$ac_try;;
18448 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
18449 (eval "$ac_link") 2>conftest.er1
18451 grep -v '^ *+' conftest.er1 >conftest.err
18453 cat conftest.err >&5
18454 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
18455 (exit $ac_status); } && {
18456 test -z "$ac_c_werror_flag" ||
18457 test ! -s conftest.err
18458 } && test -s conftest$ac_exeext &&
18459 $as_test_x conftest$ac_exeext; then
18460 ac_cv_string_strcasecmp=yes
18462 echo "$as_me: failed program was
:" >&5
18463 sed 's/^/| /' conftest.$ac_ext >&5
18465 ac_cv_string_strcasecmp=no
18469 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18470 conftest$ac_exeext conftest.$ac_ext
18473 { echo "$as_me:$LINENO: result
: $ac_cv_string_strcasecmp" >&5
18474 echo "${ECHO_T}$ac_cv_string_strcasecmp" >&6; }
18476 if test x"$ac_cv_string_strcasecmp" = "xyes
"; then
18477 cat >>confdefs.h <<\_ACEOF
18478 #define HAVE_STRCASECMP_IN_STRING_H 1
18482 { echo "$as_me:$LINENO: checking
for strcasecmp
() in strings.h
" >&5
18483 echo $ECHO_N "checking
for strcasecmp
() in strings.h...
$ECHO_C" >&6; }
18484 if test "${ac_cv_strings_strcasecmp+set}" = set; then
18485 echo $ECHO_N "(cached
) $ECHO_C" >&6
18488 cat >conftest.$ac_ext <<_ACEOF
18491 cat confdefs.h >>conftest.$ac_ext
18492 cat >>conftest.$ac_ext <<_ACEOF
18493 /* end confdefs.h. */
18495 #include <strings.h>
18501 strcasecmp("foo
", "bar
");
18507 rm -f conftest.$ac_objext conftest$ac_exeext
18508 if { (ac_try="$ac_link"
18509 case "(($ac_try" in
18510 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18511 *) ac_try_echo=$ac_try;;
18513 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
18514 (eval "$ac_link") 2>conftest.er1
18516 grep -v '^ *+' conftest.er1 >conftest.err
18518 cat conftest.err >&5
18519 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
18520 (exit $ac_status); } && {
18521 test -z "$ac_c_werror_flag" ||
18522 test ! -s conftest.err
18523 } && test -s conftest$ac_exeext &&
18524 $as_test_x conftest$ac_exeext; then
18525 ac_cv_strings_strcasecmp=yes
18527 echo "$as_me: failed program was
:" >&5
18528 sed 's/^/| /' conftest.$ac_ext >&5
18530 ac_cv_strings_strcasecmp=no
18534 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18535 conftest$ac_exeext conftest.$ac_ext
18538 { echo "$as_me:$LINENO: result
: $ac_cv_strings_strcasecmp" >&5
18539 echo "${ECHO_T}$ac_cv_strings_strcasecmp" >&6; }
18541 if test x"$ac_cv_strings_strcasecmp" = "xyes
"; then
18542 cat >>confdefs.h <<\_ACEOF
18543 #define HAVE_STRCASECMP_IN_STRINGS_H 1
18547 { { echo "$as_me:$LINENO: error
: No
case-insensitive string comparison
function found.
" >&5
18548 echo "$as_me: error
: No
case-insensitive string comparison
function found.
" >&2;}
18549 { (exit 1); exit 1; }; }
18557 { echo "$as_me:$LINENO: checking
for ANSI C header files
" >&5
18558 echo $ECHO_N "checking
for ANSI C header files...
$ECHO_C" >&6; }
18559 if test "${ac_cv_header_stdc+set}" = set; then
18560 echo $ECHO_N "(cached
) $ECHO_C" >&6
18562 cat >conftest.$ac_ext <<_ACEOF
18565 cat confdefs.h >>conftest.$ac_ext
18566 cat >>conftest.$ac_ext <<_ACEOF
18567 /* end confdefs.h. */
18568 #include <stdlib.h>
18569 #include <stdarg.h>
18570 #include <string.h>
18581 rm -f conftest.$ac_objext
18582 if { (ac_try="$ac_compile"
18583 case "(($ac_try" in
18584 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18585 *) ac_try_echo=$ac_try;;
18587 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
18588 (eval "$ac_compile") 2>conftest.er1
18590 grep -v '^ *+' conftest.er1 >conftest.err
18592 cat conftest.err >&5
18593 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
18594 (exit $ac_status); } && {
18595 test -z "$ac_c_werror_flag" ||
18596 test ! -s conftest.err
18597 } && test -s conftest.$ac_objext; then
18598 ac_cv_header_stdc=yes
18600 echo "$as_me: failed program was
:" >&5
18601 sed 's/^/| /' conftest.$ac_ext >&5
18603 ac_cv_header_stdc=no
18606 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18608 if test $ac_cv_header_stdc = yes; then
18609 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
18610 cat >conftest.$ac_ext <<_ACEOF
18613 cat confdefs.h >>conftest.$ac_ext
18614 cat >>conftest.$ac_ext <<_ACEOF
18615 /* end confdefs.h. */
18616 #include <string.h>
18619 if (eval "$ac_cpp conftest.
$ac_ext") 2>&5 |
18620 $EGREP "memchr
" >/dev/null 2>&1; then
18623 ac_cv_header_stdc=no
18629 if test $ac_cv_header_stdc = yes; then
18630 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
18631 cat >conftest.$ac_ext <<_ACEOF
18634 cat confdefs.h >>conftest.$ac_ext
18635 cat >>conftest.$ac_ext <<_ACEOF
18636 /* end confdefs.h. */
18637 #include <stdlib.h>
18640 if (eval "$ac_cpp conftest.
$ac_ext") 2>&5 |
18641 $EGREP "free
" >/dev/null 2>&1; then
18644 ac_cv_header_stdc=no
18650 if test $ac_cv_header_stdc = yes; then
18651 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
18652 if test "$cross_compiling" = yes; then
18655 cat >conftest.$ac_ext <<_ACEOF
18658 cat confdefs.h >>conftest.$ac_ext
18659 cat >>conftest.$ac_ext <<_ACEOF
18660 /* end confdefs.h. */
18662 #include <stdlib.h>
18663 #if ((' ' & 0x0FF) == 0x020)
18664 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
18665 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
18667 # define ISLOWER(c) \
18668 (('a' <= (c) && (c) <= 'i') \
18669 || ('j' <= (c) && (c) <= 'r') \
18670 || ('s' <= (c) && (c) <= 'z'))
18671 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
18674 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
18679 for (i = 0; i < 256; i++)
18680 if (XOR (islower (i), ISLOWER (i))
18681 || toupper (i) != TOUPPER (i))
18686 rm -f conftest$ac_exeext
18687 if { (ac_try="$ac_link"
18688 case "(($ac_try" in
18689 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18690 *) ac_try_echo=$ac_try;;
18692 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
18693 (eval "$ac_link") 2>&5
18695 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
18696 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
18697 { (case "(($ac_try" in
18698 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18699 *) ac_try_echo=$ac_try;;
18701 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
18702 (eval "$ac_try") 2>&5
18704 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
18705 (exit $ac_status); }; }; then
18708 echo "$as_me: program exited with status
$ac_status" >&5
18709 echo "$as_me: failed program was
:" >&5
18710 sed 's/^/| /' conftest.$ac_ext >&5
18712 ( exit $ac_status )
18713 ac_cv_header_stdc=no
18715 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
18721 { echo "$as_me:$LINENO: result
: $ac_cv_header_stdc" >&5
18722 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
18723 if test $ac_cv_header_stdc = yes; then
18725 cat >>confdefs.h <<\_ACEOF
18726 #define STDC_HEADERS 1
18731 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
18741 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
18742 inttypes.h stdint.h unistd.h
18744 as_ac_Header=`echo "ac_cv_header_
$ac_header" | $as_tr_sh`
18745 { echo "$as_me:$LINENO: checking
for $ac_header" >&5
18746 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6; }
18747 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
18748 echo $ECHO_N "(cached
) $ECHO_C" >&6
18750 cat >conftest.$ac_ext <<_ACEOF
18753 cat confdefs.h >>conftest.$ac_ext
18754 cat >>conftest.$ac_ext <<_ACEOF
18755 /* end confdefs.h. */
18756 $ac_includes_default
18758 #include <$ac_header>
18760 rm -f conftest.$ac_objext
18761 if { (ac_try="$ac_compile"
18762 case "(($ac_try" in
18763 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18764 *) ac_try_echo=$ac_try;;
18766 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
18767 (eval "$ac_compile") 2>conftest.er1
18769 grep -v '^ *+' conftest.er1 >conftest.err
18771 cat conftest.err >&5
18772 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
18773 (exit $ac_status); } && {
18774 test -z "$ac_c_werror_flag" ||
18775 test ! -s conftest.err
18776 } && test -s conftest.$ac_objext; then
18777 eval "$as_ac_Header=yes"
18779 echo "$as_me: failed program was
:" >&5
18780 sed 's/^/| /' conftest.$ac_ext >&5
18782 eval "$as_ac_Header=no
"
18785 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18787 ac_res=`eval echo '${'$as_ac_Header'}'`
18788 { echo "$as_me:$LINENO: result
: $ac_res" >&5
18789 echo "${ECHO_T}$ac_res" >&6; }
18790 if test `eval echo '${'$as_ac_Header'}'` = yes; then
18791 cat >>confdefs.h <<_ACEOF
18792 #define `echo "HAVE_
$ac_header" | $as_tr_cpp` 1
18802 for ac_header in langinfo.h wchar.h
18804 as_ac_Header=`echo "ac_cv_header_
$ac_header" | $as_tr_sh`
18805 { echo "$as_me:$LINENO: checking
for $ac_header" >&5
18806 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6; }
18807 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
18808 echo $ECHO_N "(cached
) $ECHO_C" >&6
18810 cat >conftest.$ac_ext <<_ACEOF
18813 cat confdefs.h >>conftest.$ac_ext
18814 cat >>conftest.$ac_ext <<_ACEOF
18815 /* end confdefs.h. */
18816 $ac_includes_default
18818 #include <$ac_header>
18820 rm -f conftest.$ac_objext
18821 if { (ac_try="$ac_compile"
18822 case "(($ac_try" in
18823 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18824 *) ac_try_echo=$ac_try;;
18826 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
18827 (eval "$ac_compile") 2>conftest.er1
18829 grep -v '^ *+' conftest.er1 >conftest.err
18831 cat conftest.err >&5
18832 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
18833 (exit $ac_status); } && {
18834 test -z "$ac_c_werror_flag" ||
18835 test ! -s conftest.err
18836 } && test -s conftest.$ac_objext; then
18837 eval "$as_ac_Header=yes"
18839 echo "$as_me: failed program was
:" >&5
18840 sed 's/^/| /' conftest.$ac_ext >&5
18842 eval "$as_ac_Header=no
"
18845 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18847 ac_res=`eval echo '${'$as_ac_Header'}'`
18848 { echo "$as_me:$LINENO: result
: $ac_res" >&5
18849 echo "${ECHO_T}$ac_res" >&6; }
18850 if test `eval echo '${'$as_ac_Header'}'` = yes; then
18851 cat >>confdefs.h <<_ACEOF
18852 #define `echo "HAVE_
$ac_header" | $as_tr_cpp` 1
18860 if test "$ac_cv_header_wchar_h" != "yes"; then
18862 for ac_header in wcstr.h
18864 as_ac_Header=`echo "ac_cv_header_
$ac_header" | $as_tr_sh`
18865 { echo "$as_me:$LINENO: checking
for $ac_header" >&5
18866 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6; }
18867 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
18868 echo $ECHO_N "(cached
) $ECHO_C" >&6
18870 cat >conftest.$ac_ext <<_ACEOF
18873 cat confdefs.h >>conftest.$ac_ext
18874 cat >>conftest.$ac_ext <<_ACEOF
18875 /* end confdefs.h. */
18876 $ac_includes_default
18878 #include <$ac_header>
18880 rm -f conftest.$ac_objext
18881 if { (ac_try="$ac_compile"
18882 case "(($ac_try" in
18883 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18884 *) ac_try_echo=$ac_try;;
18886 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
18887 (eval "$ac_compile") 2>conftest.er1
18889 grep -v '^ *+' conftest.er1 >conftest.err
18891 cat conftest.err >&5
18892 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
18893 (exit $ac_status); } && {
18894 test -z "$ac_c_werror_flag" ||
18895 test ! -s conftest.err
18896 } && test -s conftest.$ac_objext; then
18897 eval "$as_ac_Header=yes"
18899 echo "$as_me: failed program was
:" >&5
18900 sed 's/^/| /' conftest.$ac_ext >&5
18902 eval "$as_ac_Header=no
"
18905 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18907 ac_res=`eval echo '${'$as_ac_Header'}'`
18908 { echo "$as_me:$LINENO: result
: $ac_res" >&5
18909 echo "${ECHO_T}$ac_res" >&6; }
18910 if test `eval echo '${'$as_ac_Header'}'` = yes; then
18911 cat >>confdefs.h <<_ACEOF
18912 #define `echo "HAVE_
$ac_header" | $as_tr_cpp` 1
18922 *-pc-os2_emx | *-pc-os2-emx )
18923 if test $ac_cv_header_langinfo_h = "yes" \
18924 -a \( "$wx_cv_gccversion" = "EMX2
" \
18925 -o "$wx_cv_gccversion" = "EMX3
" \
18926 -o "$wx_cv_gccversion" = "Innotek5
" \); then
18927 LIBS="$LIBS -lintl"
18932 if test "$USE_UNIX" = 1 ; then
18934 for ac_header in sys/select.h
18936 as_ac_Header=`echo "ac_cv_header_
$ac_header" | $as_tr_sh`
18937 { echo "$as_me:$LINENO: checking
for $ac_header" >&5
18938 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6; }
18939 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
18940 echo $ECHO_N "(cached
) $ECHO_C" >&6
18942 cat >conftest.$ac_ext <<_ACEOF
18945 cat confdefs.h >>conftest.$ac_ext
18946 cat >>conftest.$ac_ext <<_ACEOF
18947 /* end confdefs.h. */
18948 $ac_includes_default
18950 #include <$ac_header>
18952 rm -f conftest.$ac_objext
18953 if { (ac_try="$ac_compile"
18954 case "(($ac_try" in
18955 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18956 *) ac_try_echo=$ac_try;;
18958 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
18959 (eval "$ac_compile") 2>conftest.er1
18961 grep -v '^ *+' conftest.er1 >conftest.err
18963 cat conftest.err >&5
18964 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
18965 (exit $ac_status); } && {
18966 test -z "$ac_c_werror_flag" ||
18967 test ! -s conftest.err
18968 } && test -s conftest.$ac_objext; then
18969 eval "$as_ac_Header=yes"
18971 echo "$as_me: failed program was
:" >&5
18972 sed 's/^/| /' conftest.$ac_ext >&5
18974 eval "$as_ac_Header=no
"
18977 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18979 ac_res=`eval echo '${'$as_ac_Header'}'`
18980 { echo "$as_me:$LINENO: result
: $ac_res" >&5
18981 echo "${ECHO_T}$ac_res" >&6; }
18982 if test `eval echo '${'$as_ac_Header'}'` = yes; then
18983 cat >>confdefs.h <<_ACEOF
18984 #define `echo "HAVE_
$ac_header" | $as_tr_cpp` 1
18994 { echo "$as_me:$LINENO: checking
for an ANSI C
-conforming const
" >&5
18995 echo $ECHO_N "checking
for an ANSI C
-conforming const...
$ECHO_C" >&6; }
18996 if test "${ac_cv_c_const+set}" = set; then
18997 echo $ECHO_N "(cached
) $ECHO_C" >&6
18999 cat >conftest.$ac_ext <<_ACEOF
19002 cat confdefs.h >>conftest.$ac_ext
19003 cat >>conftest.$ac_ext <<_ACEOF
19004 /* end confdefs.h. */
19009 /* FIXME: Include the comments suggested by Paul. */
19010 #ifndef __cplusplus
19011 /* Ultrix mips cc rejects this. */
19012 typedef int charset[2];
19014 /* SunOS 4.1.1 cc rejects this. */
19015 char const *const *pcpcc;
19017 /* NEC SVR4.0.2 mips cc rejects this. */
19018 struct point {int x, y;};
19019 static struct point const zero = {0,0};
19020 /* AIX XL C 1.02.0.0 rejects this.
19021 It does not let you subtract one const X* pointer from another in
19022 an arm of an if-expression whose if-part is not a constant
19024 const char *g = "string
";
19025 pcpcc = &g + (g ? g-g : 0);
19026 /* HPUX 7.0 cc rejects these. */
19028 ppc = (char**) pcpcc;
19029 pcpcc = (char const *const *) ppc;
19030 { /* SCO 3.2v4 cc rejects this. */
19032 char const *s = 0 ? (char *) 0 : (char const *) 0;
19037 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
19038 int x[] = {25, 17};
19039 const int *foo = &x[0];
19042 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
19043 typedef const int *iptr;
19047 { /* AIX XL C 1.02.0.0 rejects this saying
19048 "k.c
", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
19049 struct s { int j; const int *ap[3]; };
19050 struct s *b; b->j = 5;
19052 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
19053 const int foo = 10;
19054 if (!foo) return 0;
19056 return !cs[0] && !zero.x;
19063 rm -f conftest.$ac_objext
19064 if { (ac_try="$ac_compile"
19065 case "(($ac_try" in
19066 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19067 *) ac_try_echo=$ac_try;;
19069 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19070 (eval "$ac_compile") 2>conftest.er1
19072 grep -v '^ *+' conftest.er1 >conftest.err
19074 cat conftest.err >&5
19075 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19076 (exit $ac_status); } && {
19077 test -z "$ac_c_werror_flag" ||
19078 test ! -s conftest.err
19079 } && test -s conftest.$ac_objext; then
19082 echo "$as_me: failed program was
:" >&5
19083 sed 's/^/| /' conftest.$ac_ext >&5
19088 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19090 { echo "$as_me:$LINENO: result
: $ac_cv_c_const" >&5
19091 echo "${ECHO_T}$ac_cv_c_const" >&6; }
19092 if test $ac_cv_c_const = no; then
19094 cat >>confdefs.h <<\_ACEOF
19100 { echo "$as_me:$LINENO: checking
for inline
" >&5
19101 echo $ECHO_N "checking
for inline...
$ECHO_C" >&6; }
19102 if test "${ac_cv_c_inline+set}" = set; then
19103 echo $ECHO_N "(cached
) $ECHO_C" >&6
19106 for ac_kw in inline __inline__ __inline; do
19107 cat >conftest.$ac_ext <<_ACEOF
19110 cat confdefs.h >>conftest.$ac_ext
19111 cat >>conftest.$ac_ext <<_ACEOF
19112 /* end confdefs.h. */
19113 #ifndef __cplusplus
19115 static $ac_kw foo_t static_foo () {return 0; }
19116 $ac_kw foo_t foo () {return 0; }
19120 rm -f conftest.$ac_objext
19121 if { (ac_try="$ac_compile"
19122 case "(($ac_try" in
19123 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19124 *) ac_try_echo=$ac_try;;
19126 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19127 (eval "$ac_compile") 2>conftest.er1
19129 grep -v '^ *+' conftest.er1 >conftest.err
19131 cat conftest.err >&5
19132 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19133 (exit $ac_status); } && {
19134 test -z "$ac_c_werror_flag" ||
19135 test ! -s conftest.err
19136 } && test -s conftest.$ac_objext; then
19137 ac_cv_c_inline=$ac_kw
19139 echo "$as_me: failed program was
:" >&5
19140 sed 's/^/| /' conftest.$ac_ext >&5
19145 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19146 test "$ac_cv_c_inline" != no && break
19150 { echo "$as_me:$LINENO: result
: $ac_cv_c_inline" >&5
19151 echo "${ECHO_T}$ac_cv_c_inline" >&6; }
19154 case $ac_cv_c_inline in
19157 case $ac_cv_c_inline in
19159 *) ac_val=$ac_cv_c_inline;;
19161 cat >>confdefs.h <<_ACEOF
19162 #ifndef __cplusplus
19163 #define inline $ac_val
19170 { echo "$as_me:$LINENO: checking
for short
" >&5
19171 echo $ECHO_N "checking
for short...
$ECHO_C" >&6; }
19172 if test "${ac_cv_type_short+set}" = set; then
19173 echo $ECHO_N "(cached
) $ECHO_C" >&6
19175 cat >conftest.$ac_ext <<_ACEOF
19178 cat confdefs.h >>conftest.$ac_ext
19179 cat >>conftest.$ac_ext <<_ACEOF
19180 /* end confdefs.h. */
19181 $ac_includes_default
19182 typedef short ac__type_new_;
19186 if ((ac__type_new_ *) 0)
19188 if (sizeof (ac__type_new_))
19194 rm -f conftest.$ac_objext
19195 if { (ac_try="$ac_compile"
19196 case "(($ac_try" in
19197 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19198 *) ac_try_echo=$ac_try;;
19200 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19201 (eval "$ac_compile") 2>conftest.er1
19203 grep -v '^ *+' conftest.er1 >conftest.err
19205 cat conftest.err >&5
19206 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19207 (exit $ac_status); } && {
19208 test -z "$ac_c_werror_flag" ||
19209 test ! -s conftest.err
19210 } && test -s conftest.$ac_objext; then
19211 ac_cv_type_short=yes
19213 echo "$as_me: failed program was
:" >&5
19214 sed 's/^/| /' conftest.$ac_ext >&5
19216 ac_cv_type_short=no
19219 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19221 { echo "$as_me:$LINENO: result
: $ac_cv_type_short" >&5
19222 echo "${ECHO_T}$ac_cv_type_short" >&6; }
19224 # The cast to long int works around a bug in the HP C Compiler
19225 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
19226 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
19227 # This bug is HP SR number 8606223364.
19228 { echo "$as_me:$LINENO: checking size of short
" >&5
19229 echo $ECHO_N "checking size of short...
$ECHO_C" >&6; }
19230 if test "${ac_cv_sizeof_short+set}" = set; then
19231 echo $ECHO_N "(cached
) $ECHO_C" >&6
19233 if test "$cross_compiling" = yes; then
19234 # Depending upon the size, compute the lo and hi bounds.
19235 cat >conftest.$ac_ext <<_ACEOF
19238 cat confdefs.h >>conftest.$ac_ext
19239 cat >>conftest.$ac_ext <<_ACEOF
19240 /* end confdefs.h. */
19241 $ac_includes_default
19242 typedef short ac__type_sizeof_;
19246 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
19253 rm -f conftest.$ac_objext
19254 if { (ac_try="$ac_compile"
19255 case "(($ac_try" in
19256 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19257 *) ac_try_echo=$ac_try;;
19259 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19260 (eval "$ac_compile") 2>conftest.er1
19262 grep -v '^ *+' conftest.er1 >conftest.err
19264 cat conftest.err >&5
19265 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19266 (exit $ac_status); } && {
19267 test -z "$ac_c_werror_flag" ||
19268 test ! -s conftest.err
19269 } && test -s conftest.$ac_objext; then
19272 cat >conftest.$ac_ext <<_ACEOF
19275 cat confdefs.h >>conftest.$ac_ext
19276 cat >>conftest.$ac_ext <<_ACEOF
19277 /* end confdefs.h. */
19278 $ac_includes_default
19279 typedef short ac__type_sizeof_;
19283 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
19290 rm -f conftest.$ac_objext
19291 if { (ac_try="$ac_compile"
19292 case "(($ac_try" in
19293 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19294 *) ac_try_echo=$ac_try;;
19296 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19297 (eval "$ac_compile") 2>conftest.er1
19299 grep -v '^ *+' conftest.er1 >conftest.err
19301 cat conftest.err >&5
19302 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19303 (exit $ac_status); } && {
19304 test -z "$ac_c_werror_flag" ||
19305 test ! -s conftest.err
19306 } && test -s conftest.$ac_objext; then
19307 ac_hi=$ac_mid; break
19309 echo "$as_me: failed program was
:" >&5
19310 sed 's/^/| /' conftest.$ac_ext >&5
19312 ac_lo=`expr $ac_mid + 1`
19313 if test $ac_lo -le $ac_mid; then
19317 ac_mid=`expr 2 '*' $ac_mid + 1`
19320 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19323 echo "$as_me: failed program was
:" >&5
19324 sed 's/^/| /' conftest.$ac_ext >&5
19326 cat >conftest.$ac_ext <<_ACEOF
19329 cat confdefs.h >>conftest.$ac_ext
19330 cat >>conftest.$ac_ext <<_ACEOF
19331 /* end confdefs.h. */
19332 $ac_includes_default
19333 typedef short ac__type_sizeof_;
19337 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
19344 rm -f conftest.$ac_objext
19345 if { (ac_try="$ac_compile"
19346 case "(($ac_try" in
19347 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19348 *) ac_try_echo=$ac_try;;
19350 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19351 (eval "$ac_compile") 2>conftest.er1
19353 grep -v '^ *+' conftest.er1 >conftest.err
19355 cat conftest.err >&5
19356 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19357 (exit $ac_status); } && {
19358 test -z "$ac_c_werror_flag" ||
19359 test ! -s conftest.err
19360 } && test -s conftest.$ac_objext; then
19363 cat >conftest.$ac_ext <<_ACEOF
19366 cat confdefs.h >>conftest.$ac_ext
19367 cat >>conftest.$ac_ext <<_ACEOF
19368 /* end confdefs.h. */
19369 $ac_includes_default
19370 typedef short ac__type_sizeof_;
19374 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
19381 rm -f conftest.$ac_objext
19382 if { (ac_try="$ac_compile"
19383 case "(($ac_try" in
19384 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19385 *) ac_try_echo=$ac_try;;
19387 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19388 (eval "$ac_compile") 2>conftest.er1
19390 grep -v '^ *+' conftest.er1 >conftest.err
19392 cat conftest.err >&5
19393 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19394 (exit $ac_status); } && {
19395 test -z "$ac_c_werror_flag" ||
19396 test ! -s conftest.err
19397 } && test -s conftest.$ac_objext; then
19398 ac_lo=$ac_mid; break
19400 echo "$as_me: failed program was
:" >&5
19401 sed 's/^/| /' conftest.$ac_ext >&5
19403 ac_hi=`expr '(' $ac_mid ')' - 1`
19404 if test $ac_mid -le $ac_hi; then
19408 ac_mid=`expr 2 '*' $ac_mid`
19411 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19414 echo "$as_me: failed program was
:" >&5
19415 sed 's/^/| /' conftest.$ac_ext >&5
19420 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19423 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19424 # Binary search between lo and hi bounds.
19425 while test "x
$ac_lo" != "x
$ac_hi"; do
19426 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
19427 cat >conftest.$ac_ext <<_ACEOF
19430 cat confdefs.h >>conftest.$ac_ext
19431 cat >>conftest.$ac_ext <<_ACEOF
19432 /* end confdefs.h. */
19433 $ac_includes_default
19434 typedef short ac__type_sizeof_;
19438 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
19445 rm -f conftest.$ac_objext
19446 if { (ac_try="$ac_compile"
19447 case "(($ac_try" in
19448 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19449 *) ac_try_echo=$ac_try;;
19451 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19452 (eval "$ac_compile") 2>conftest.er1
19454 grep -v '^ *+' conftest.er1 >conftest.err
19456 cat conftest.err >&5
19457 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19458 (exit $ac_status); } && {
19459 test -z "$ac_c_werror_flag" ||
19460 test ! -s conftest.err
19461 } && test -s conftest.$ac_objext; then
19464 echo "$as_me: failed program was
:" >&5
19465 sed 's/^/| /' conftest.$ac_ext >&5
19467 ac_lo=`expr '(' $ac_mid ')' + 1`
19470 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19473 ?*) ac_cv_sizeof_short=$ac_lo;;
19474 '') if test "$ac_cv_type_short" = yes; then
19475 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(short
)
19476 See \
`config.log' for more details." >&5
19477 echo "$as_me: error: cannot compute sizeof (short)
19478 See \`config.log
' for more details." >&2;}
19479 { (exit 77); exit 77; }; }
19481 ac_cv_sizeof_short=0
19485 cat >conftest.$ac_ext <<_ACEOF
19488 cat confdefs.h >>conftest.$ac_ext
19489 cat >>conftest.$ac_ext <<_ACEOF
19490 /* end confdefs.h. */
19491 $ac_includes_default
19492 typedef short ac__type_sizeof_;
19493 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
19494 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
19496 #include <stdlib.h>
19501 FILE *f = fopen ("conftest.val", "w");
19504 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
19506 long int i = longval ();
19507 if (i != ((long int) (sizeof (ac__type_sizeof_))))
19509 fprintf (f, "%ld\n", i);
19513 unsigned long int i = ulongval ();
19514 if (i != ((long int) (sizeof (ac__type_sizeof_))))
19516 fprintf (f, "%lu\n", i);
19518 return ferror (f) || fclose (f) != 0;
19524 rm -f conftest$ac_exeext
19525 if { (ac_try="$ac_link"
19526 case "(($ac_try" in
19527 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19528 *) ac_try_echo=$ac_try;;
19530 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19531 (eval "$ac_link") 2>&5
19533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19534 (exit $ac_status); } && { ac_try='.
/conftest
$ac_exeext'
19535 { (case "(($ac_try" in
19536 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19537 *) ac_try_echo=$ac_try;;
19539 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19540 (eval "$ac_try") 2>&5
19542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19543 (exit $ac_status); }; }; then
19544 ac_cv_sizeof_short=`cat conftest.val`
19546 echo "$as_me: program exited with status $ac_status" >&5
19547 echo "$as_me: failed program was:" >&5
19548 sed 's
/^
/| /' conftest.$ac_ext >&5
19550 ( exit $ac_status )
19551 if test "$ac_cv_type_short" = yes; then
19552 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short)
19553 See \`config.log' for more details.
" >&5
19554 echo "$as_me: error
: cannot compute sizeof
(short
)
19555 See \
`config.log' for more details." >&2;}
19556 { (exit 77); exit 77; }; }
19558 ac_cv_sizeof_short=0
19561 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19565 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
19566 echo "${ECHO_T}$ac_cv_sizeof_short" >&6; }
19570 cat >>confdefs.h <<_ACEOF
19571 #define SIZEOF_SHORT $ac_cv_sizeof_short
19575 { echo "$as_me:$LINENO: checking for void *" >&5
19576 echo $ECHO_N "checking for void *... $ECHO_C" >&6; }
19577 if test "${ac_cv_type_void_p+set}" = set; then
19578 echo $ECHO_N "(cached) $ECHO_C" >&6
19580 cat >conftest.$ac_ext <<_ACEOF
19583 cat confdefs.h >>conftest.$ac_ext
19584 cat >>conftest.$ac_ext <<_ACEOF
19585 /* end confdefs.h. */
19586 $ac_includes_default
19587 typedef void * ac__type_new_;
19591 if ((ac__type_new_ *) 0)
19593 if (sizeof (ac__type_new_))
19599 rm -f conftest.$ac_objext
19600 if { (ac_try="$ac_compile"
19601 case "(($ac_try" in
19602 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
19603 *) ac_try_echo
=$ac_try;;
19605 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19606 (eval "$ac_compile") 2>conftest.er1
19608 grep -v '^ *+' conftest.er1
>conftest.err
19610 cat conftest.err
>&5
19611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19612 (exit $ac_status); } && {
19613 test -z "$ac_c_werror_flag" ||
19614 test ! -s conftest.err
19615 } && test -s conftest.
$ac_objext; then
19616 ac_cv_type_void_p
=yes
19618 echo "$as_me: failed program was:" >&5
19619 sed 's/^/| /' conftest.
$ac_ext >&5
19621 ac_cv_type_void_p
=no
19624 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19626 { echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
19627 echo "${ECHO_T}$ac_cv_type_void_p" >&6; }
19629 # The cast to long int works around a bug in the HP C Compiler
19630 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
19631 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
19632 # This bug is HP SR number 8606223364.
19633 { echo "$as_me:$LINENO: checking size of void *" >&5
19634 echo $ECHO_N "checking size of void *... $ECHO_C" >&6; }
19635 if test "${ac_cv_sizeof_void_p+set}" = set; then
19636 echo $ECHO_N "(cached) $ECHO_C" >&6
19638 if test "$cross_compiling" = yes; then
19639 # Depending upon the size, compute the lo and hi bounds.
19640 cat >conftest.
$ac_ext <<_ACEOF
19643 cat confdefs.h
>>conftest.
$ac_ext
19644 cat >>conftest.
$ac_ext <<_ACEOF
19645 /* end confdefs.h. */
19646 $ac_includes_default
19647 typedef void * ac__type_sizeof_;
19651 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
19658 rm -f conftest.
$ac_objext
19659 if { (ac_try
="$ac_compile"
19660 case "(($ac_try" in
19661 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
19662 *) ac_try_echo=$ac_try;;
19664 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19665 (eval "$ac_compile") 2>conftest.er1
19667 grep -v '^ *+' conftest.er1 >conftest.err
19669 cat conftest.err >&5
19670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19671 (exit $ac_status); } && {
19672 test -z "$ac_c_werror_flag" ||
19673 test ! -s conftest.err
19674 } && test -s conftest.$ac_objext; then
19677 cat >conftest.$ac_ext <<_ACEOF
19680 cat confdefs.h >>conftest.$ac_ext
19681 cat >>conftest.$ac_ext <<_ACEOF
19682 /* end confdefs.h. */
19683 $ac_includes_default
19684 typedef void * ac__type_sizeof_;
19688 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
19695 rm -f conftest.$ac_objext
19696 if { (ac_try="$ac_compile"
19697 case "(($ac_try" in
19698 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
19699 *) ac_try_echo
=$ac_try;;
19701 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19702 (eval "$ac_compile") 2>conftest.er1
19704 grep -v '^ *+' conftest.er1
>conftest.err
19706 cat conftest.err
>&5
19707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19708 (exit $ac_status); } && {
19709 test -z "$ac_c_werror_flag" ||
19710 test ! -s conftest.err
19711 } && test -s conftest.
$ac_objext; then
19712 ac_hi
=$ac_mid; break
19714 echo "$as_me: failed program was:" >&5
19715 sed 's/^/| /' conftest.
$ac_ext >&5
19717 ac_lo
=`expr $ac_mid + 1`
19718 if test $ac_lo -le $ac_mid; then
19722 ac_mid
=`expr 2 '*' $ac_mid + 1`
19725 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19728 echo "$as_me: failed program was:" >&5
19729 sed 's/^/| /' conftest.
$ac_ext >&5
19731 cat >conftest.
$ac_ext <<_ACEOF
19734 cat confdefs.h
>>conftest.
$ac_ext
19735 cat >>conftest.
$ac_ext <<_ACEOF
19736 /* end confdefs.h. */
19737 $ac_includes_default
19738 typedef void * ac__type_sizeof_;
19742 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
19749 rm -f conftest.
$ac_objext
19750 if { (ac_try
="$ac_compile"
19751 case "(($ac_try" in
19752 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
19753 *) ac_try_echo=$ac_try;;
19755 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19756 (eval "$ac_compile") 2>conftest.er1
19758 grep -v '^ *+' conftest.er1 >conftest.err
19760 cat conftest.err >&5
19761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19762 (exit $ac_status); } && {
19763 test -z "$ac_c_werror_flag" ||
19764 test ! -s conftest.err
19765 } && test -s conftest.$ac_objext; then
19768 cat >conftest.$ac_ext <<_ACEOF
19771 cat confdefs.h >>conftest.$ac_ext
19772 cat >>conftest.$ac_ext <<_ACEOF
19773 /* end confdefs.h. */
19774 $ac_includes_default
19775 typedef void * ac__type_sizeof_;
19779 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
19786 rm -f conftest.$ac_objext
19787 if { (ac_try="$ac_compile"
19788 case "(($ac_try" in
19789 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
19790 *) ac_try_echo
=$ac_try;;
19792 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19793 (eval "$ac_compile") 2>conftest.er1
19795 grep -v '^ *+' conftest.er1
>conftest.err
19797 cat conftest.err
>&5
19798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19799 (exit $ac_status); } && {
19800 test -z "$ac_c_werror_flag" ||
19801 test ! -s conftest.err
19802 } && test -s conftest.
$ac_objext; then
19803 ac_lo
=$ac_mid; break
19805 echo "$as_me: failed program was:" >&5
19806 sed 's/^/| /' conftest.
$ac_ext >&5
19808 ac_hi
=`expr '(' $ac_mid ')' - 1`
19809 if test $ac_mid -le $ac_hi; then
19813 ac_mid
=`expr 2 '*' $ac_mid`
19816 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19819 echo "$as_me: failed program was:" >&5
19820 sed 's/^/| /' conftest.
$ac_ext >&5
19825 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19828 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19829 # Binary search between lo and hi bounds.
19830 while test "x$ac_lo" != "x$ac_hi"; do
19831 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
19832 cat >conftest.
$ac_ext <<_ACEOF
19835 cat confdefs.h
>>conftest.
$ac_ext
19836 cat >>conftest.
$ac_ext <<_ACEOF
19837 /* end confdefs.h. */
19838 $ac_includes_default
19839 typedef void * ac__type_sizeof_;
19843 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
19850 rm -f conftest.
$ac_objext
19851 if { (ac_try
="$ac_compile"
19852 case "(($ac_try" in
19853 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
19854 *) ac_try_echo=$ac_try;;
19856 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19857 (eval "$ac_compile") 2>conftest.er1
19859 grep -v '^ *+' conftest.er1 >conftest.err
19861 cat conftest.err >&5
19862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19863 (exit $ac_status); } && {
19864 test -z "$ac_c_werror_flag" ||
19865 test ! -s conftest.err
19866 } && test -s conftest.$ac_objext; then
19869 echo "$as_me: failed program was:" >&5
19870 sed 's/^/| /' conftest.$ac_ext >&5
19872 ac_lo=`expr '(' $ac_mid ')' + 1`
19875 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19878 ?*) ac_cv_sizeof_void_p=$ac_lo;;
19879 '') if test "$ac_cv_type_void_p" = yes; then
19880 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *)
19881 See \`config.log
' for more details." >&5
19882 echo "$as_me: error: cannot compute sizeof (void *)
19883 See \`config.log' for more details.
" >&2;}
19884 { (exit 77); exit 77; }; }
19886 ac_cv_sizeof_void_p=0
19890 cat >conftest.$ac_ext <<_ACEOF
19893 cat confdefs.h >>conftest.$ac_ext
19894 cat >>conftest.$ac_ext <<_ACEOF
19895 /* end confdefs.h. */
19896 $ac_includes_default
19897 typedef void * ac__type_sizeof_;
19898 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
19899 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
19901 #include <stdlib.h>
19906 FILE *f = fopen ("conftest.val
", "w
");
19909 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
19911 long int i = longval ();
19912 if (i != ((long int) (sizeof (ac__type_sizeof_))))
19914 fprintf (f, "%ld
\n", i);
19918 unsigned long int i = ulongval ();
19919 if (i != ((long int) (sizeof (ac__type_sizeof_))))
19921 fprintf (f, "%lu
\n", i);
19923 return ferror (f) || fclose (f) != 0;
19929 rm -f conftest$ac_exeext
19930 if { (ac_try="$ac_link"
19931 case "(($ac_try" in
19932 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19933 *) ac_try_echo=$ac_try;;
19935 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19936 (eval "$ac_link") 2>&5
19938 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19939 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
19940 { (case "(($ac_try" in
19941 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19942 *) ac_try_echo=$ac_try;;
19944 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19945 (eval "$ac_try") 2>&5
19947 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19948 (exit $ac_status); }; }; then
19949 ac_cv_sizeof_void_p=`cat conftest.val`
19951 echo "$as_me: program exited with status
$ac_status" >&5
19952 echo "$as_me: failed program was
:" >&5
19953 sed 's/^/| /' conftest.$ac_ext >&5
19955 ( exit $ac_status )
19956 if test "$ac_cv_type_void_p" = yes; then
19957 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(void
*)
19958 See \
`config.log' for more details." >&5
19959 echo "$as_me: error: cannot compute sizeof (void *)
19960 See \`config.log
' for more details." >&2;}
19961 { (exit 77); exit 77; }; }
19963 ac_cv_sizeof_void_p=0
19966 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19970 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
19971 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6; }
19975 cat >>confdefs.h <<_ACEOF
19976 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
19980 { echo "$as_me:$LINENO: checking for int" >&5
19981 echo $ECHO_N "checking for int... $ECHO_C" >&6; }
19982 if test "${ac_cv_type_int+set}" = set; then
19983 echo $ECHO_N "(cached) $ECHO_C" >&6
19985 cat >conftest.$ac_ext <<_ACEOF
19988 cat confdefs.h >>conftest.$ac_ext
19989 cat >>conftest.$ac_ext <<_ACEOF
19990 /* end confdefs.h. */
19991 $ac_includes_default
19992 typedef int ac__type_new_;
19996 if ((ac__type_new_ *) 0)
19998 if (sizeof (ac__type_new_))
20004 rm -f conftest.$ac_objext
20005 if { (ac_try="$ac_compile"
20006 case "(($ac_try" in
20007 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20008 *) ac_try_echo=$ac_try;;
20010 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20011 (eval "$ac_compile") 2>conftest.er1
20013 grep -v '^
*+' conftest.er1 >conftest.err
20015 cat conftest.err >&5
20016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20017 (exit $ac_status); } && {
20018 test -z "$ac_c_werror_flag" ||
20019 test ! -s conftest.err
20020 } && test -s conftest.$ac_objext; then
20023 echo "$as_me: failed program was:" >&5
20024 sed 's
/^
/| /' conftest.$ac_ext >&5
20029 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20031 { echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
20032 echo "${ECHO_T}$ac_cv_type_int" >&6; }
20034 # The cast to long int works around a bug in the HP C Compiler
20035 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20036 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20037 # This bug is HP SR number 8606223364.
20038 { echo "$as_me:$LINENO: checking size of int" >&5
20039 echo $ECHO_N "checking size of int... $ECHO_C" >&6; }
20040 if test "${ac_cv_sizeof_int+set}" = set; then
20041 echo $ECHO_N "(cached) $ECHO_C" >&6
20043 if test "$cross_compiling" = yes; then
20044 # Depending upon the size, compute the lo and hi bounds.
20045 cat >conftest.
$ac_ext <<_ACEOF
20048 cat confdefs.h
>>conftest.
$ac_ext
20049 cat >>conftest.
$ac_ext <<_ACEOF
20050 /* end confdefs.h. */
20051 $ac_includes_default
20052 typedef int ac__type_sizeof_;
20056 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
20063 rm -f conftest.
$ac_objext
20064 if { (ac_try
="$ac_compile"
20065 case "(($ac_try" in
20066 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
20067 *) ac_try_echo=$ac_try;;
20069 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20070 (eval "$ac_compile") 2>conftest.er1
20072 grep -v '^ *+' conftest.er1 >conftest.err
20074 cat conftest.err >&5
20075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20076 (exit $ac_status); } && {
20077 test -z "$ac_c_werror_flag" ||
20078 test ! -s conftest.err
20079 } && test -s conftest.$ac_objext; then
20082 cat >conftest.$ac_ext <<_ACEOF
20085 cat confdefs.h >>conftest.$ac_ext
20086 cat >>conftest.$ac_ext <<_ACEOF
20087 /* end confdefs.h. */
20088 $ac_includes_default
20089 typedef int ac__type_sizeof_;
20093 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20100 rm -f conftest.$ac_objext
20101 if { (ac_try="$ac_compile"
20102 case "(($ac_try" in
20103 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
20104 *) ac_try_echo
=$ac_try;;
20106 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20107 (eval "$ac_compile") 2>conftest.er1
20109 grep -v '^ *+' conftest.er1
>conftest.err
20111 cat conftest.err
>&5
20112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20113 (exit $ac_status); } && {
20114 test -z "$ac_c_werror_flag" ||
20115 test ! -s conftest.err
20116 } && test -s conftest.
$ac_objext; then
20117 ac_hi
=$ac_mid; break
20119 echo "$as_me: failed program was:" >&5
20120 sed 's/^/| /' conftest.
$ac_ext >&5
20122 ac_lo
=`expr $ac_mid + 1`
20123 if test $ac_lo -le $ac_mid; then
20127 ac_mid
=`expr 2 '*' $ac_mid + 1`
20130 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20133 echo "$as_me: failed program was:" >&5
20134 sed 's/^/| /' conftest.
$ac_ext >&5
20136 cat >conftest.
$ac_ext <<_ACEOF
20139 cat confdefs.h
>>conftest.
$ac_ext
20140 cat >>conftest.
$ac_ext <<_ACEOF
20141 /* end confdefs.h. */
20142 $ac_includes_default
20143 typedef int ac__type_sizeof_;
20147 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
20154 rm -f conftest.
$ac_objext
20155 if { (ac_try
="$ac_compile"
20156 case "(($ac_try" in
20157 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
20158 *) ac_try_echo=$ac_try;;
20160 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20161 (eval "$ac_compile") 2>conftest.er1
20163 grep -v '^ *+' conftest.er1 >conftest.err
20165 cat conftest.err >&5
20166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20167 (exit $ac_status); } && {
20168 test -z "$ac_c_werror_flag" ||
20169 test ! -s conftest.err
20170 } && test -s conftest.$ac_objext; then
20173 cat >conftest.$ac_ext <<_ACEOF
20176 cat confdefs.h >>conftest.$ac_ext
20177 cat >>conftest.$ac_ext <<_ACEOF
20178 /* end confdefs.h. */
20179 $ac_includes_default
20180 typedef int ac__type_sizeof_;
20184 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
20191 rm -f conftest.$ac_objext
20192 if { (ac_try="$ac_compile"
20193 case "(($ac_try" in
20194 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
20195 *) ac_try_echo
=$ac_try;;
20197 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20198 (eval "$ac_compile") 2>conftest.er1
20200 grep -v '^ *+' conftest.er1
>conftest.err
20202 cat conftest.err
>&5
20203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20204 (exit $ac_status); } && {
20205 test -z "$ac_c_werror_flag" ||
20206 test ! -s conftest.err
20207 } && test -s conftest.
$ac_objext; then
20208 ac_lo
=$ac_mid; break
20210 echo "$as_me: failed program was:" >&5
20211 sed 's/^/| /' conftest.
$ac_ext >&5
20213 ac_hi
=`expr '(' $ac_mid ')' - 1`
20214 if test $ac_mid -le $ac_hi; then
20218 ac_mid
=`expr 2 '*' $ac_mid`
20221 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20224 echo "$as_me: failed program was:" >&5
20225 sed 's/^/| /' conftest.
$ac_ext >&5
20230 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20233 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20234 # Binary search between lo and hi bounds.
20235 while test "x$ac_lo" != "x$ac_hi"; do
20236 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20237 cat >conftest.
$ac_ext <<_ACEOF
20240 cat confdefs.h
>>conftest.
$ac_ext
20241 cat >>conftest.
$ac_ext <<_ACEOF
20242 /* end confdefs.h. */
20243 $ac_includes_default
20244 typedef int ac__type_sizeof_;
20248 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20255 rm -f conftest.
$ac_objext
20256 if { (ac_try
="$ac_compile"
20257 case "(($ac_try" in
20258 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
20259 *) ac_try_echo=$ac_try;;
20261 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20262 (eval "$ac_compile") 2>conftest.er1
20264 grep -v '^ *+' conftest.er1 >conftest.err
20266 cat conftest.err >&5
20267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20268 (exit $ac_status); } && {
20269 test -z "$ac_c_werror_flag" ||
20270 test ! -s conftest.err
20271 } && test -s conftest.$ac_objext; then
20274 echo "$as_me: failed program was:" >&5
20275 sed 's/^/| /' conftest.$ac_ext >&5
20277 ac_lo=`expr '(' $ac_mid ')' + 1`
20280 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20283 ?*) ac_cv_sizeof_int=$ac_lo;;
20284 '') if test "$ac_cv_type_int" = yes; then
20285 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int)
20286 See \`config.log
' for more details." >&5
20287 echo "$as_me: error: cannot compute sizeof (int)
20288 See \`config.log' for more details.
" >&2;}
20289 { (exit 77); exit 77; }; }
20295 cat >conftest.$ac_ext <<_ACEOF
20298 cat confdefs.h >>conftest.$ac_ext
20299 cat >>conftest.$ac_ext <<_ACEOF
20300 /* end confdefs.h. */
20301 $ac_includes_default
20302 typedef int ac__type_sizeof_;
20303 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
20304 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
20306 #include <stdlib.h>
20311 FILE *f = fopen ("conftest.val
", "w
");
20314 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
20316 long int i = longval ();
20317 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20319 fprintf (f, "%ld
\n", i);
20323 unsigned long int i = ulongval ();
20324 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20326 fprintf (f, "%lu
\n", i);
20328 return ferror (f) || fclose (f) != 0;
20334 rm -f conftest$ac_exeext
20335 if { (ac_try="$ac_link"
20336 case "(($ac_try" in
20337 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20338 *) ac_try_echo=$ac_try;;
20340 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
20341 (eval "$ac_link") 2>&5
20343 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
20344 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20345 { (case "(($ac_try" in
20346 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20347 *) ac_try_echo=$ac_try;;
20349 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
20350 (eval "$ac_try") 2>&5
20352 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
20353 (exit $ac_status); }; }; then
20354 ac_cv_sizeof_int=`cat conftest.val`
20356 echo "$as_me: program exited with status
$ac_status" >&5
20357 echo "$as_me: failed program was
:" >&5
20358 sed 's/^/| /' conftest.$ac_ext >&5
20360 ( exit $ac_status )
20361 if test "$ac_cv_type_int" = yes; then
20362 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(int
)
20363 See \
`config.log' for more details." >&5
20364 echo "$as_me: error: cannot compute sizeof (int)
20365 See \`config.log
' for more details." >&2;}
20366 { (exit 77); exit 77; }; }
20371 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20375 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
20376 echo "${ECHO_T}$ac_cv_sizeof_int" >&6; }
20380 cat >>confdefs.h <<_ACEOF
20381 #define SIZEOF_INT $ac_cv_sizeof_int
20385 { echo "$as_me:$LINENO: checking for long" >&5
20386 echo $ECHO_N "checking for long... $ECHO_C" >&6; }
20387 if test "${ac_cv_type_long+set}" = set; then
20388 echo $ECHO_N "(cached) $ECHO_C" >&6
20390 cat >conftest.$ac_ext <<_ACEOF
20393 cat confdefs.h >>conftest.$ac_ext
20394 cat >>conftest.$ac_ext <<_ACEOF
20395 /* end confdefs.h. */
20396 $ac_includes_default
20397 typedef long ac__type_new_;
20401 if ((ac__type_new_ *) 0)
20403 if (sizeof (ac__type_new_))
20409 rm -f conftest.$ac_objext
20410 if { (ac_try="$ac_compile"
20411 case "(($ac_try" in
20412 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20413 *) ac_try_echo=$ac_try;;
20415 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20416 (eval "$ac_compile") 2>conftest.er1
20418 grep -v '^
*+' conftest.er1 >conftest.err
20420 cat conftest.err >&5
20421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20422 (exit $ac_status); } && {
20423 test -z "$ac_c_werror_flag" ||
20424 test ! -s conftest.err
20425 } && test -s conftest.$ac_objext; then
20426 ac_cv_type_long=yes
20428 echo "$as_me: failed program was:" >&5
20429 sed 's
/^
/| /' conftest.$ac_ext >&5
20434 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20436 { echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
20437 echo "${ECHO_T}$ac_cv_type_long" >&6; }
20439 # The cast to long int works around a bug in the HP C Compiler
20440 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20441 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20442 # This bug is HP SR number 8606223364.
20443 { echo "$as_me:$LINENO: checking size of long" >&5
20444 echo $ECHO_N "checking size of long... $ECHO_C" >&6; }
20445 if test "${ac_cv_sizeof_long+set}" = set; then
20446 echo $ECHO_N "(cached) $ECHO_C" >&6
20448 if test "$cross_compiling" = yes; then
20449 # Depending upon the size, compute the lo and hi bounds.
20450 cat >conftest.
$ac_ext <<_ACEOF
20453 cat confdefs.h
>>conftest.
$ac_ext
20454 cat >>conftest.
$ac_ext <<_ACEOF
20455 /* end confdefs.h. */
20456 $ac_includes_default
20457 typedef long ac__type_sizeof_;
20461 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
20468 rm -f conftest.
$ac_objext
20469 if { (ac_try
="$ac_compile"
20470 case "(($ac_try" in
20471 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
20472 *) ac_try_echo=$ac_try;;
20474 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20475 (eval "$ac_compile") 2>conftest.er1
20477 grep -v '^ *+' conftest.er1 >conftest.err
20479 cat conftest.err >&5
20480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20481 (exit $ac_status); } && {
20482 test -z "$ac_c_werror_flag" ||
20483 test ! -s conftest.err
20484 } && test -s conftest.$ac_objext; then
20487 cat >conftest.$ac_ext <<_ACEOF
20490 cat confdefs.h >>conftest.$ac_ext
20491 cat >>conftest.$ac_ext <<_ACEOF
20492 /* end confdefs.h. */
20493 $ac_includes_default
20494 typedef long ac__type_sizeof_;
20498 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20505 rm -f conftest.$ac_objext
20506 if { (ac_try="$ac_compile"
20507 case "(($ac_try" in
20508 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
20509 *) ac_try_echo
=$ac_try;;
20511 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20512 (eval "$ac_compile") 2>conftest.er1
20514 grep -v '^ *+' conftest.er1
>conftest.err
20516 cat conftest.err
>&5
20517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20518 (exit $ac_status); } && {
20519 test -z "$ac_c_werror_flag" ||
20520 test ! -s conftest.err
20521 } && test -s conftest.
$ac_objext; then
20522 ac_hi
=$ac_mid; break
20524 echo "$as_me: failed program was:" >&5
20525 sed 's/^/| /' conftest.
$ac_ext >&5
20527 ac_lo
=`expr $ac_mid + 1`
20528 if test $ac_lo -le $ac_mid; then
20532 ac_mid
=`expr 2 '*' $ac_mid + 1`
20535 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20538 echo "$as_me: failed program was:" >&5
20539 sed 's/^/| /' conftest.
$ac_ext >&5
20541 cat >conftest.
$ac_ext <<_ACEOF
20544 cat confdefs.h
>>conftest.
$ac_ext
20545 cat >>conftest.
$ac_ext <<_ACEOF
20546 /* end confdefs.h. */
20547 $ac_includes_default
20548 typedef long ac__type_sizeof_;
20552 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
20559 rm -f conftest.
$ac_objext
20560 if { (ac_try
="$ac_compile"
20561 case "(($ac_try" in
20562 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
20563 *) ac_try_echo=$ac_try;;
20565 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20566 (eval "$ac_compile") 2>conftest.er1
20568 grep -v '^ *+' conftest.er1 >conftest.err
20570 cat conftest.err >&5
20571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20572 (exit $ac_status); } && {
20573 test -z "$ac_c_werror_flag" ||
20574 test ! -s conftest.err
20575 } && test -s conftest.$ac_objext; then
20578 cat >conftest.$ac_ext <<_ACEOF
20581 cat confdefs.h >>conftest.$ac_ext
20582 cat >>conftest.$ac_ext <<_ACEOF
20583 /* end confdefs.h. */
20584 $ac_includes_default
20585 typedef long ac__type_sizeof_;
20589 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
20596 rm -f conftest.$ac_objext
20597 if { (ac_try="$ac_compile"
20598 case "(($ac_try" in
20599 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
20600 *) ac_try_echo
=$ac_try;;
20602 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20603 (eval "$ac_compile") 2>conftest.er1
20605 grep -v '^ *+' conftest.er1
>conftest.err
20607 cat conftest.err
>&5
20608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20609 (exit $ac_status); } && {
20610 test -z "$ac_c_werror_flag" ||
20611 test ! -s conftest.err
20612 } && test -s conftest.
$ac_objext; then
20613 ac_lo
=$ac_mid; break
20615 echo "$as_me: failed program was:" >&5
20616 sed 's/^/| /' conftest.
$ac_ext >&5
20618 ac_hi
=`expr '(' $ac_mid ')' - 1`
20619 if test $ac_mid -le $ac_hi; then
20623 ac_mid
=`expr 2 '*' $ac_mid`
20626 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20629 echo "$as_me: failed program was:" >&5
20630 sed 's/^/| /' conftest.
$ac_ext >&5
20635 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20638 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20639 # Binary search between lo and hi bounds.
20640 while test "x$ac_lo" != "x$ac_hi"; do
20641 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20642 cat >conftest.
$ac_ext <<_ACEOF
20645 cat confdefs.h
>>conftest.
$ac_ext
20646 cat >>conftest.
$ac_ext <<_ACEOF
20647 /* end confdefs.h. */
20648 $ac_includes_default
20649 typedef long ac__type_sizeof_;
20653 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20660 rm -f conftest.
$ac_objext
20661 if { (ac_try
="$ac_compile"
20662 case "(($ac_try" in
20663 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
20664 *) ac_try_echo=$ac_try;;
20666 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20667 (eval "$ac_compile") 2>conftest.er1
20669 grep -v '^ *+' conftest.er1 >conftest.err
20671 cat conftest.err >&5
20672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20673 (exit $ac_status); } && {
20674 test -z "$ac_c_werror_flag" ||
20675 test ! -s conftest.err
20676 } && test -s conftest.$ac_objext; then
20679 echo "$as_me: failed program was:" >&5
20680 sed 's/^/| /' conftest.$ac_ext >&5
20682 ac_lo=`expr '(' $ac_mid ')' + 1`
20685 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20688 ?*) ac_cv_sizeof_long=$ac_lo;;
20689 '') if test "$ac_cv_type_long" = yes; then
20690 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long)
20691 See \`config.log
' for more details." >&5
20692 echo "$as_me: error: cannot compute sizeof (long)
20693 See \`config.log' for more details.
" >&2;}
20694 { (exit 77); exit 77; }; }
20696 ac_cv_sizeof_long=0
20700 cat >conftest.$ac_ext <<_ACEOF
20703 cat confdefs.h >>conftest.$ac_ext
20704 cat >>conftest.$ac_ext <<_ACEOF
20705 /* end confdefs.h. */
20706 $ac_includes_default
20707 typedef long ac__type_sizeof_;
20708 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
20709 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
20711 #include <stdlib.h>
20716 FILE *f = fopen ("conftest.val
", "w
");
20719 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
20721 long int i = longval ();
20722 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20724 fprintf (f, "%ld
\n", i);
20728 unsigned long int i = ulongval ();
20729 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20731 fprintf (f, "%lu
\n", i);
20733 return ferror (f) || fclose (f) != 0;
20739 rm -f conftest$ac_exeext
20740 if { (ac_try="$ac_link"
20741 case "(($ac_try" in
20742 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20743 *) ac_try_echo=$ac_try;;
20745 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
20746 (eval "$ac_link") 2>&5
20748 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
20749 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20750 { (case "(($ac_try" in
20751 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20752 *) ac_try_echo=$ac_try;;
20754 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
20755 (eval "$ac_try") 2>&5
20757 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
20758 (exit $ac_status); }; }; then
20759 ac_cv_sizeof_long=`cat conftest.val`
20761 echo "$as_me: program exited with status
$ac_status" >&5
20762 echo "$as_me: failed program was
:" >&5
20763 sed 's/^/| /' conftest.$ac_ext >&5
20765 ( exit $ac_status )
20766 if test "$ac_cv_type_long" = yes; then
20767 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(long
)
20768 See \
`config.log' for more details." >&5
20769 echo "$as_me: error: cannot compute sizeof (long)
20770 See \`config.log
' for more details." >&2;}
20771 { (exit 77); exit 77; }; }
20773 ac_cv_sizeof_long=0
20776 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20780 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
20781 echo "${ECHO_T}$ac_cv_sizeof_long" >&6; }
20785 cat >>confdefs.h <<_ACEOF
20786 #define SIZEOF_LONG $ac_cv_sizeof_long
20790 { echo "$as_me:$LINENO: checking for size_t" >&5
20791 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
20792 if test "${ac_cv_type_size_t+set}" = set; then
20793 echo $ECHO_N "(cached) $ECHO_C" >&6
20795 cat >conftest.$ac_ext <<_ACEOF
20798 cat confdefs.h >>conftest.$ac_ext
20799 cat >>conftest.$ac_ext <<_ACEOF
20800 /* end confdefs.h. */
20801 $ac_includes_default
20802 typedef size_t ac__type_new_;
20806 if ((ac__type_new_ *) 0)
20808 if (sizeof (ac__type_new_))
20814 rm -f conftest.$ac_objext
20815 if { (ac_try="$ac_compile"
20816 case "(($ac_try" in
20817 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20818 *) ac_try_echo=$ac_try;;
20820 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20821 (eval "$ac_compile") 2>conftest.er1
20823 grep -v '^
*+' conftest.er1 >conftest.err
20825 cat conftest.err >&5
20826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20827 (exit $ac_status); } && {
20828 test -z "$ac_c_werror_flag" ||
20829 test ! -s conftest.err
20830 } && test -s conftest.$ac_objext; then
20831 ac_cv_type_size_t=yes
20833 echo "$as_me: failed program was:" >&5
20834 sed 's
/^
/| /' conftest.$ac_ext >&5
20836 ac_cv_type_size_t=no
20839 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20841 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
20842 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
20844 # The cast to long int works around a bug in the HP C Compiler
20845 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20846 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20847 # This bug is HP SR number 8606223364.
20848 { echo "$as_me:$LINENO: checking size of size_t" >&5
20849 echo $ECHO_N "checking size of size_t... $ECHO_C" >&6; }
20850 if test "${ac_cv_sizeof_size_t+set}" = set; then
20851 echo $ECHO_N "(cached) $ECHO_C" >&6
20853 if test "$cross_compiling" = yes; then
20854 # Depending upon the size, compute the lo and hi bounds.
20855 cat >conftest.
$ac_ext <<_ACEOF
20858 cat confdefs.h
>>conftest.
$ac_ext
20859 cat >>conftest.
$ac_ext <<_ACEOF
20860 /* end confdefs.h. */
20861 $ac_includes_default
20862 typedef size_t ac__type_sizeof_;
20866 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
20873 rm -f conftest.
$ac_objext
20874 if { (ac_try
="$ac_compile"
20875 case "(($ac_try" in
20876 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
20877 *) ac_try_echo=$ac_try;;
20879 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20880 (eval "$ac_compile") 2>conftest.er1
20882 grep -v '^ *+' conftest.er1 >conftest.err
20884 cat conftest.err >&5
20885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20886 (exit $ac_status); } && {
20887 test -z "$ac_c_werror_flag" ||
20888 test ! -s conftest.err
20889 } && test -s conftest.$ac_objext; then
20892 cat >conftest.$ac_ext <<_ACEOF
20895 cat confdefs.h >>conftest.$ac_ext
20896 cat >>conftest.$ac_ext <<_ACEOF
20897 /* end confdefs.h. */
20898 $ac_includes_default
20899 typedef size_t ac__type_sizeof_;
20903 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20910 rm -f conftest.$ac_objext
20911 if { (ac_try="$ac_compile"
20912 case "(($ac_try" in
20913 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
20914 *) ac_try_echo
=$ac_try;;
20916 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20917 (eval "$ac_compile") 2>conftest.er1
20919 grep -v '^ *+' conftest.er1
>conftest.err
20921 cat conftest.err
>&5
20922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20923 (exit $ac_status); } && {
20924 test -z "$ac_c_werror_flag" ||
20925 test ! -s conftest.err
20926 } && test -s conftest.
$ac_objext; then
20927 ac_hi
=$ac_mid; break
20929 echo "$as_me: failed program was:" >&5
20930 sed 's/^/| /' conftest.
$ac_ext >&5
20932 ac_lo
=`expr $ac_mid + 1`
20933 if test $ac_lo -le $ac_mid; then
20937 ac_mid
=`expr 2 '*' $ac_mid + 1`
20940 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20943 echo "$as_me: failed program was:" >&5
20944 sed 's/^/| /' conftest.
$ac_ext >&5
20946 cat >conftest.
$ac_ext <<_ACEOF
20949 cat confdefs.h
>>conftest.
$ac_ext
20950 cat >>conftest.
$ac_ext <<_ACEOF
20951 /* end confdefs.h. */
20952 $ac_includes_default
20953 typedef size_t ac__type_sizeof_;
20957 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
20964 rm -f conftest.
$ac_objext
20965 if { (ac_try
="$ac_compile"
20966 case "(($ac_try" in
20967 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
20968 *) ac_try_echo=$ac_try;;
20970 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20971 (eval "$ac_compile") 2>conftest.er1
20973 grep -v '^ *+' conftest.er1 >conftest.err
20975 cat conftest.err >&5
20976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20977 (exit $ac_status); } && {
20978 test -z "$ac_c_werror_flag" ||
20979 test ! -s conftest.err
20980 } && test -s conftest.$ac_objext; then
20983 cat >conftest.$ac_ext <<_ACEOF
20986 cat confdefs.h >>conftest.$ac_ext
20987 cat >>conftest.$ac_ext <<_ACEOF
20988 /* end confdefs.h. */
20989 $ac_includes_default
20990 typedef size_t ac__type_sizeof_;
20994 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
21001 rm -f conftest.$ac_objext
21002 if { (ac_try="$ac_compile"
21003 case "(($ac_try" in
21004 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
21005 *) ac_try_echo
=$ac_try;;
21007 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21008 (eval "$ac_compile") 2>conftest.er1
21010 grep -v '^ *+' conftest.er1
>conftest.err
21012 cat conftest.err
>&5
21013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21014 (exit $ac_status); } && {
21015 test -z "$ac_c_werror_flag" ||
21016 test ! -s conftest.err
21017 } && test -s conftest.
$ac_objext; then
21018 ac_lo
=$ac_mid; break
21020 echo "$as_me: failed program was:" >&5
21021 sed 's/^/| /' conftest.
$ac_ext >&5
21023 ac_hi
=`expr '(' $ac_mid ')' - 1`
21024 if test $ac_mid -le $ac_hi; then
21028 ac_mid
=`expr 2 '*' $ac_mid`
21031 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21034 echo "$as_me: failed program was:" >&5
21035 sed 's/^/| /' conftest.
$ac_ext >&5
21040 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21043 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21044 # Binary search between lo and hi bounds.
21045 while test "x$ac_lo" != "x$ac_hi"; do
21046 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21047 cat >conftest.
$ac_ext <<_ACEOF
21050 cat confdefs.h
>>conftest.
$ac_ext
21051 cat >>conftest.
$ac_ext <<_ACEOF
21052 /* end confdefs.h. */
21053 $ac_includes_default
21054 typedef size_t ac__type_sizeof_;
21058 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21065 rm -f conftest.
$ac_objext
21066 if { (ac_try
="$ac_compile"
21067 case "(($ac_try" in
21068 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
21069 *) ac_try_echo=$ac_try;;
21071 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21072 (eval "$ac_compile") 2>conftest.er1
21074 grep -v '^ *+' conftest.er1 >conftest.err
21076 cat conftest.err >&5
21077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21078 (exit $ac_status); } && {
21079 test -z "$ac_c_werror_flag" ||
21080 test ! -s conftest.err
21081 } && test -s conftest.$ac_objext; then
21084 echo "$as_me: failed program was:" >&5
21085 sed 's/^/| /' conftest.$ac_ext >&5
21087 ac_lo=`expr '(' $ac_mid ')' + 1`
21090 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21093 ?*) ac_cv_sizeof_size_t=$ac_lo;;
21094 '') if test "$ac_cv_type_size_t" = yes; then
21095 { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t)
21096 See \`config.log
' for more details." >&5
21097 echo "$as_me: error: cannot compute sizeof (size_t)
21098 See \`config.log' for more details.
" >&2;}
21099 { (exit 77); exit 77; }; }
21101 ac_cv_sizeof_size_t=0
21105 cat >conftest.$ac_ext <<_ACEOF
21108 cat confdefs.h >>conftest.$ac_ext
21109 cat >>conftest.$ac_ext <<_ACEOF
21110 /* end confdefs.h. */
21111 $ac_includes_default
21112 typedef size_t ac__type_sizeof_;
21113 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
21114 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
21116 #include <stdlib.h>
21121 FILE *f = fopen ("conftest.val
", "w
");
21124 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
21126 long int i = longval ();
21127 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21129 fprintf (f, "%ld
\n", i);
21133 unsigned long int i = ulongval ();
21134 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21136 fprintf (f, "%lu
\n", i);
21138 return ferror (f) || fclose (f) != 0;
21144 rm -f conftest$ac_exeext
21145 if { (ac_try="$ac_link"
21146 case "(($ac_try" in
21147 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21148 *) ac_try_echo=$ac_try;;
21150 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21151 (eval "$ac_link") 2>&5
21153 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21154 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21155 { (case "(($ac_try" in
21156 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21157 *) ac_try_echo=$ac_try;;
21159 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21160 (eval "$ac_try") 2>&5
21162 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21163 (exit $ac_status); }; }; then
21164 ac_cv_sizeof_size_t=`cat conftest.val`
21166 echo "$as_me: program exited with status
$ac_status" >&5
21167 echo "$as_me: failed program was
:" >&5
21168 sed 's/^/| /' conftest.$ac_ext >&5
21170 ( exit $ac_status )
21171 if test "$ac_cv_type_size_t" = yes; then
21172 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(size_t
)
21173 See \
`config.log' for more details." >&5
21174 echo "$as_me: error: cannot compute sizeof (size_t)
21175 See \`config.log
' for more details." >&2;}
21176 { (exit 77); exit 77; }; }
21178 ac_cv_sizeof_size_t=0
21181 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21185 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_size_t" >&5
21186 echo "${ECHO_T}$ac_cv_sizeof_size_t" >&6; }
21190 cat >>confdefs.h <<_ACEOF
21191 #define SIZEOF_SIZE_T $ac_cv_sizeof_size_t
21198 { echo "$as_me:$LINENO: checking for long long" >&5
21199 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
21200 if test "${ac_cv_type_long_long+set}" = set; then
21201 echo $ECHO_N "(cached) $ECHO_C" >&6
21203 cat >conftest.$ac_ext <<_ACEOF
21206 cat confdefs.h >>conftest.$ac_ext
21207 cat >>conftest.$ac_ext <<_ACEOF
21208 /* end confdefs.h. */
21209 $ac_includes_default
21210 typedef long long ac__type_new_;
21214 if ((ac__type_new_ *) 0)
21216 if (sizeof (ac__type_new_))
21222 rm -f conftest.$ac_objext
21223 if { (ac_try="$ac_compile"
21224 case "(($ac_try" in
21225 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21226 *) ac_try_echo=$ac_try;;
21228 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21229 (eval "$ac_compile") 2>conftest.er1
21231 grep -v '^
*+' conftest.er1 >conftest.err
21233 cat conftest.err >&5
21234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21235 (exit $ac_status); } && {
21236 test -z "$ac_c_werror_flag" ||
21237 test ! -s conftest.err
21238 } && test -s conftest.$ac_objext; then
21239 ac_cv_type_long_long=yes
21241 echo "$as_me: failed program was:" >&5
21242 sed 's
/^
/| /' conftest.$ac_ext >&5
21244 ac_cv_type_long_long=no
21247 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21249 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
21250 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
21252 # The cast to long int works around a bug in the HP C Compiler
21253 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21254 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21255 # This bug is HP SR number 8606223364.
21256 { echo "$as_me:$LINENO: checking size of long long" >&5
21257 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
21258 if test "${ac_cv_sizeof_long_long+set}" = set; then
21259 echo $ECHO_N "(cached) $ECHO_C" >&6
21261 if test "$cross_compiling" = yes; then
21262 # Depending upon the size, compute the lo and hi bounds.
21263 cat >conftest.
$ac_ext <<_ACEOF
21266 cat confdefs.h
>>conftest.
$ac_ext
21267 cat >>conftest.
$ac_ext <<_ACEOF
21268 /* end confdefs.h. */
21269 $ac_includes_default
21270 typedef long long ac__type_sizeof_;
21274 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
21281 rm -f conftest.
$ac_objext
21282 if { (ac_try
="$ac_compile"
21283 case "(($ac_try" in
21284 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
21285 *) ac_try_echo=$ac_try;;
21287 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21288 (eval "$ac_compile") 2>conftest.er1
21290 grep -v '^ *+' conftest.er1 >conftest.err
21292 cat conftest.err >&5
21293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21294 (exit $ac_status); } && {
21295 test -z "$ac_c_werror_flag" ||
21296 test ! -s conftest.err
21297 } && test -s conftest.$ac_objext; then
21300 cat >conftest.$ac_ext <<_ACEOF
21303 cat confdefs.h >>conftest.$ac_ext
21304 cat >>conftest.$ac_ext <<_ACEOF
21305 /* end confdefs.h. */
21306 $ac_includes_default
21307 typedef long long ac__type_sizeof_;
21311 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21318 rm -f conftest.$ac_objext
21319 if { (ac_try="$ac_compile"
21320 case "(($ac_try" in
21321 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
21322 *) ac_try_echo
=$ac_try;;
21324 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21325 (eval "$ac_compile") 2>conftest.er1
21327 grep -v '^ *+' conftest.er1
>conftest.err
21329 cat conftest.err
>&5
21330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21331 (exit $ac_status); } && {
21332 test -z "$ac_c_werror_flag" ||
21333 test ! -s conftest.err
21334 } && test -s conftest.
$ac_objext; then
21335 ac_hi
=$ac_mid; break
21337 echo "$as_me: failed program was:" >&5
21338 sed 's/^/| /' conftest.
$ac_ext >&5
21340 ac_lo
=`expr $ac_mid + 1`
21341 if test $ac_lo -le $ac_mid; then
21345 ac_mid
=`expr 2 '*' $ac_mid + 1`
21348 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21351 echo "$as_me: failed program was:" >&5
21352 sed 's/^/| /' conftest.
$ac_ext >&5
21354 cat >conftest.
$ac_ext <<_ACEOF
21357 cat confdefs.h
>>conftest.
$ac_ext
21358 cat >>conftest.
$ac_ext <<_ACEOF
21359 /* end confdefs.h. */
21360 $ac_includes_default
21361 typedef long long ac__type_sizeof_;
21365 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
21372 rm -f conftest.
$ac_objext
21373 if { (ac_try
="$ac_compile"
21374 case "(($ac_try" in
21375 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
21376 *) ac_try_echo=$ac_try;;
21378 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21379 (eval "$ac_compile") 2>conftest.er1
21381 grep -v '^ *+' conftest.er1 >conftest.err
21383 cat conftest.err >&5
21384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21385 (exit $ac_status); } && {
21386 test -z "$ac_c_werror_flag" ||
21387 test ! -s conftest.err
21388 } && test -s conftest.$ac_objext; then
21391 cat >conftest.$ac_ext <<_ACEOF
21394 cat confdefs.h >>conftest.$ac_ext
21395 cat >>conftest.$ac_ext <<_ACEOF
21396 /* end confdefs.h. */
21397 $ac_includes_default
21398 typedef long long ac__type_sizeof_;
21402 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
21409 rm -f conftest.$ac_objext
21410 if { (ac_try="$ac_compile"
21411 case "(($ac_try" in
21412 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
21413 *) ac_try_echo
=$ac_try;;
21415 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21416 (eval "$ac_compile") 2>conftest.er1
21418 grep -v '^ *+' conftest.er1
>conftest.err
21420 cat conftest.err
>&5
21421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21422 (exit $ac_status); } && {
21423 test -z "$ac_c_werror_flag" ||
21424 test ! -s conftest.err
21425 } && test -s conftest.
$ac_objext; then
21426 ac_lo
=$ac_mid; break
21428 echo "$as_me: failed program was:" >&5
21429 sed 's/^/| /' conftest.
$ac_ext >&5
21431 ac_hi
=`expr '(' $ac_mid ')' - 1`
21432 if test $ac_mid -le $ac_hi; then
21436 ac_mid
=`expr 2 '*' $ac_mid`
21439 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21442 echo "$as_me: failed program was:" >&5
21443 sed 's/^/| /' conftest.
$ac_ext >&5
21448 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21451 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21452 # Binary search between lo and hi bounds.
21453 while test "x$ac_lo" != "x$ac_hi"; do
21454 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21455 cat >conftest.
$ac_ext <<_ACEOF
21458 cat confdefs.h
>>conftest.
$ac_ext
21459 cat >>conftest.
$ac_ext <<_ACEOF
21460 /* end confdefs.h. */
21461 $ac_includes_default
21462 typedef long long ac__type_sizeof_;
21466 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21473 rm -f conftest.
$ac_objext
21474 if { (ac_try
="$ac_compile"
21475 case "(($ac_try" in
21476 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
21477 *) ac_try_echo=$ac_try;;
21479 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21480 (eval "$ac_compile") 2>conftest.er1
21482 grep -v '^ *+' conftest.er1 >conftest.err
21484 cat conftest.err >&5
21485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21486 (exit $ac_status); } && {
21487 test -z "$ac_c_werror_flag" ||
21488 test ! -s conftest.err
21489 } && test -s conftest.$ac_objext; then
21492 echo "$as_me: failed program was:" >&5
21493 sed 's/^/| /' conftest.$ac_ext >&5
21495 ac_lo=`expr '(' $ac_mid ')' + 1`
21498 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21501 ?*) ac_cv_sizeof_long_long=$ac_lo;;
21502 '') if test "$ac_cv_type_long_long" = yes; then
21503 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
21504 See \`config.log
' for more details." >&5
21505 echo "$as_me: error: cannot compute sizeof (long long)
21506 See \`config.log' for more details.
" >&2;}
21507 { (exit 77); exit 77; }; }
21509 ac_cv_sizeof_long_long=0
21513 cat >conftest.$ac_ext <<_ACEOF
21516 cat confdefs.h >>conftest.$ac_ext
21517 cat >>conftest.$ac_ext <<_ACEOF
21518 /* end confdefs.h. */
21519 $ac_includes_default
21520 typedef long long ac__type_sizeof_;
21521 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
21522 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
21524 #include <stdlib.h>
21529 FILE *f = fopen ("conftest.val
", "w
");
21532 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
21534 long int i = longval ();
21535 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21537 fprintf (f, "%ld
\n", i);
21541 unsigned long int i = ulongval ();
21542 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21544 fprintf (f, "%lu
\n", i);
21546 return ferror (f) || fclose (f) != 0;
21552 rm -f conftest$ac_exeext
21553 if { (ac_try="$ac_link"
21554 case "(($ac_try" in
21555 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21556 *) ac_try_echo=$ac_try;;
21558 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21559 (eval "$ac_link") 2>&5
21561 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21562 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21563 { (case "(($ac_try" in
21564 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21565 *) ac_try_echo=$ac_try;;
21567 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21568 (eval "$ac_try") 2>&5
21570 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21571 (exit $ac_status); }; }; then
21572 ac_cv_sizeof_long_long=`cat conftest.val`
21574 echo "$as_me: program exited with status
$ac_status" >&5
21575 echo "$as_me: failed program was
:" >&5
21576 sed 's/^/| /' conftest.$ac_ext >&5
21578 ( exit $ac_status )
21579 if test "$ac_cv_type_long_long" = yes; then
21580 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(long long
)
21581 See \
`config.log' for more details." >&5
21582 echo "$as_me: error: cannot compute sizeof (long long)
21583 See \`config.log
' for more details." >&2;}
21584 { (exit 77); exit 77; }; }
21586 ac_cv_sizeof_long_long=0
21589 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21593 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
21594 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
21598 cat >>confdefs.h <<_ACEOF
21599 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
21605 { echo "$as_me:$LINENO: checking for long long" >&5
21606 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
21607 if test "${ac_cv_type_long_long+set}" = set; then
21608 echo $ECHO_N "(cached) $ECHO_C" >&6
21610 cat >conftest.$ac_ext <<_ACEOF
21613 cat confdefs.h >>conftest.$ac_ext
21614 cat >>conftest.$ac_ext <<_ACEOF
21615 /* end confdefs.h. */
21616 $ac_includes_default
21617 typedef long long ac__type_new_;
21621 if ((ac__type_new_ *) 0)
21623 if (sizeof (ac__type_new_))
21629 rm -f conftest.$ac_objext
21630 if { (ac_try="$ac_compile"
21631 case "(($ac_try" in
21632 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21633 *) ac_try_echo=$ac_try;;
21635 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21636 (eval "$ac_compile") 2>conftest.er1
21638 grep -v '^
*+' conftest.er1 >conftest.err
21640 cat conftest.err >&5
21641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21642 (exit $ac_status); } && {
21643 test -z "$ac_c_werror_flag" ||
21644 test ! -s conftest.err
21645 } && test -s conftest.$ac_objext; then
21646 ac_cv_type_long_long=yes
21648 echo "$as_me: failed program was:" >&5
21649 sed 's
/^
/| /' conftest.$ac_ext >&5
21651 ac_cv_type_long_long=no
21654 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21656 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
21657 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
21659 # The cast to long int works around a bug in the HP C Compiler
21660 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21661 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21662 # This bug is HP SR number 8606223364.
21663 { echo "$as_me:$LINENO: checking size of long long" >&5
21664 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
21665 if test "${ac_cv_sizeof_long_long+set}" = set; then
21666 echo $ECHO_N "(cached) $ECHO_C" >&6
21668 if test "$cross_compiling" = yes; then
21669 # Depending upon the size, compute the lo and hi bounds.
21670 cat >conftest.
$ac_ext <<_ACEOF
21673 cat confdefs.h
>>conftest.
$ac_ext
21674 cat >>conftest.
$ac_ext <<_ACEOF
21675 /* end confdefs.h. */
21676 $ac_includes_default
21677 typedef long long ac__type_sizeof_;
21681 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
21688 rm -f conftest.
$ac_objext
21689 if { (ac_try
="$ac_compile"
21690 case "(($ac_try" in
21691 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
21692 *) ac_try_echo=$ac_try;;
21694 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21695 (eval "$ac_compile") 2>conftest.er1
21697 grep -v '^ *+' conftest.er1 >conftest.err
21699 cat conftest.err >&5
21700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21701 (exit $ac_status); } && {
21702 test -z "$ac_c_werror_flag" ||
21703 test ! -s conftest.err
21704 } && test -s conftest.$ac_objext; then
21707 cat >conftest.$ac_ext <<_ACEOF
21710 cat confdefs.h >>conftest.$ac_ext
21711 cat >>conftest.$ac_ext <<_ACEOF
21712 /* end confdefs.h. */
21713 $ac_includes_default
21714 typedef long long ac__type_sizeof_;
21718 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21725 rm -f conftest.$ac_objext
21726 if { (ac_try="$ac_compile"
21727 case "(($ac_try" in
21728 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
21729 *) ac_try_echo
=$ac_try;;
21731 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21732 (eval "$ac_compile") 2>conftest.er1
21734 grep -v '^ *+' conftest.er1
>conftest.err
21736 cat conftest.err
>&5
21737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21738 (exit $ac_status); } && {
21739 test -z "$ac_c_werror_flag" ||
21740 test ! -s conftest.err
21741 } && test -s conftest.
$ac_objext; then
21742 ac_hi
=$ac_mid; break
21744 echo "$as_me: failed program was:" >&5
21745 sed 's/^/| /' conftest.
$ac_ext >&5
21747 ac_lo
=`expr $ac_mid + 1`
21748 if test $ac_lo -le $ac_mid; then
21752 ac_mid
=`expr 2 '*' $ac_mid + 1`
21755 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21758 echo "$as_me: failed program was:" >&5
21759 sed 's/^/| /' conftest.
$ac_ext >&5
21761 cat >conftest.
$ac_ext <<_ACEOF
21764 cat confdefs.h
>>conftest.
$ac_ext
21765 cat >>conftest.
$ac_ext <<_ACEOF
21766 /* end confdefs.h. */
21767 $ac_includes_default
21768 typedef long long ac__type_sizeof_;
21772 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
21779 rm -f conftest.
$ac_objext
21780 if { (ac_try
="$ac_compile"
21781 case "(($ac_try" in
21782 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
21783 *) ac_try_echo=$ac_try;;
21785 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21786 (eval "$ac_compile") 2>conftest.er1
21788 grep -v '^ *+' conftest.er1 >conftest.err
21790 cat conftest.err >&5
21791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21792 (exit $ac_status); } && {
21793 test -z "$ac_c_werror_flag" ||
21794 test ! -s conftest.err
21795 } && test -s conftest.$ac_objext; then
21798 cat >conftest.$ac_ext <<_ACEOF
21801 cat confdefs.h >>conftest.$ac_ext
21802 cat >>conftest.$ac_ext <<_ACEOF
21803 /* end confdefs.h. */
21804 $ac_includes_default
21805 typedef long long ac__type_sizeof_;
21809 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
21816 rm -f conftest.$ac_objext
21817 if { (ac_try="$ac_compile"
21818 case "(($ac_try" in
21819 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
21820 *) ac_try_echo
=$ac_try;;
21822 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21823 (eval "$ac_compile") 2>conftest.er1
21825 grep -v '^ *+' conftest.er1
>conftest.err
21827 cat conftest.err
>&5
21828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21829 (exit $ac_status); } && {
21830 test -z "$ac_c_werror_flag" ||
21831 test ! -s conftest.err
21832 } && test -s conftest.
$ac_objext; then
21833 ac_lo
=$ac_mid; break
21835 echo "$as_me: failed program was:" >&5
21836 sed 's/^/| /' conftest.
$ac_ext >&5
21838 ac_hi
=`expr '(' $ac_mid ')' - 1`
21839 if test $ac_mid -le $ac_hi; then
21843 ac_mid
=`expr 2 '*' $ac_mid`
21846 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21849 echo "$as_me: failed program was:" >&5
21850 sed 's/^/| /' conftest.
$ac_ext >&5
21855 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21858 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21859 # Binary search between lo and hi bounds.
21860 while test "x$ac_lo" != "x$ac_hi"; do
21861 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21862 cat >conftest.
$ac_ext <<_ACEOF
21865 cat confdefs.h
>>conftest.
$ac_ext
21866 cat >>conftest.
$ac_ext <<_ACEOF
21867 /* end confdefs.h. */
21868 $ac_includes_default
21869 typedef long long ac__type_sizeof_;
21873 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21880 rm -f conftest.
$ac_objext
21881 if { (ac_try
="$ac_compile"
21882 case "(($ac_try" in
21883 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
21884 *) ac_try_echo=$ac_try;;
21886 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21887 (eval "$ac_compile") 2>conftest.er1
21889 grep -v '^ *+' conftest.er1 >conftest.err
21891 cat conftest.err >&5
21892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21893 (exit $ac_status); } && {
21894 test -z "$ac_c_werror_flag" ||
21895 test ! -s conftest.err
21896 } && test -s conftest.$ac_objext; then
21899 echo "$as_me: failed program was:" >&5
21900 sed 's/^/| /' conftest.$ac_ext >&5
21902 ac_lo=`expr '(' $ac_mid ')' + 1`
21905 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21908 ?*) ac_cv_sizeof_long_long=$ac_lo;;
21909 '') if test "$ac_cv_type_long_long" = yes; then
21910 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
21911 See \`config.log
' for more details." >&5
21912 echo "$as_me: error: cannot compute sizeof (long long)
21913 See \`config.log' for more details.
" >&2;}
21914 { (exit 77); exit 77; }; }
21916 ac_cv_sizeof_long_long=0
21920 cat >conftest.$ac_ext <<_ACEOF
21923 cat confdefs.h >>conftest.$ac_ext
21924 cat >>conftest.$ac_ext <<_ACEOF
21925 /* end confdefs.h. */
21926 $ac_includes_default
21927 typedef long long ac__type_sizeof_;
21928 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
21929 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
21931 #include <stdlib.h>
21936 FILE *f = fopen ("conftest.val
", "w
");
21939 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
21941 long int i = longval ();
21942 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21944 fprintf (f, "%ld
\n", i);
21948 unsigned long int i = ulongval ();
21949 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21951 fprintf (f, "%lu
\n", i);
21953 return ferror (f) || fclose (f) != 0;
21959 rm -f conftest$ac_exeext
21960 if { (ac_try="$ac_link"
21961 case "(($ac_try" in
21962 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21963 *) ac_try_echo=$ac_try;;
21965 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21966 (eval "$ac_link") 2>&5
21968 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21969 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21970 { (case "(($ac_try" in
21971 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21972 *) ac_try_echo=$ac_try;;
21974 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21975 (eval "$ac_try") 2>&5
21977 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21978 (exit $ac_status); }; }; then
21979 ac_cv_sizeof_long_long=`cat conftest.val`
21981 echo "$as_me: program exited with status
$ac_status" >&5
21982 echo "$as_me: failed program was
:" >&5
21983 sed 's/^/| /' conftest.$ac_ext >&5
21985 ( exit $ac_status )
21986 if test "$ac_cv_type_long_long" = yes; then
21987 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(long long
)
21988 See \
`config.log' for more details." >&5
21989 echo "$as_me: error: cannot compute sizeof (long long)
21990 See \`config.log
' for more details." >&2;}
21991 { (exit 77); exit 77; }; }
21993 ac_cv_sizeof_long_long=0
21996 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22000 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
22001 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
22005 cat >>confdefs.h <<_ACEOF
22006 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
22010 if test "$ac_cv_sizeof_long_long" != 0; then
22011 CPPFLAGS="-D_INCLUDE_LONGLONG $CPPFLAGS"
22015 { echo "$as_me:$LINENO: checking for long long" >&5
22016 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
22017 if test "${ac_cv_type_long_long+set}" = set; then
22018 echo $ECHO_N "(cached) $ECHO_C" >&6
22020 cat >conftest.$ac_ext <<_ACEOF
22023 cat confdefs.h >>conftest.$ac_ext
22024 cat >>conftest.$ac_ext <<_ACEOF
22025 /* end confdefs.h. */
22026 $ac_includes_default
22027 typedef long long ac__type_new_;
22031 if ((ac__type_new_ *) 0)
22033 if (sizeof (ac__type_new_))
22039 rm -f conftest.$ac_objext
22040 if { (ac_try="$ac_compile"
22041 case "(($ac_try" in
22042 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22043 *) ac_try_echo=$ac_try;;
22045 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22046 (eval "$ac_compile") 2>conftest.er1
22048 grep -v '^
*+' conftest.er1 >conftest.err
22050 cat conftest.err >&5
22051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22052 (exit $ac_status); } && {
22053 test -z "$ac_c_werror_flag" ||
22054 test ! -s conftest.err
22055 } && test -s conftest.$ac_objext; then
22056 ac_cv_type_long_long=yes
22058 echo "$as_me: failed program was:" >&5
22059 sed 's
/^
/| /' conftest.$ac_ext >&5
22061 ac_cv_type_long_long=no
22064 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22066 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
22067 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
22069 # The cast to long int works around a bug in the HP C Compiler
22070 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
22071 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
22072 # This bug is HP SR number 8606223364.
22073 { echo "$as_me:$LINENO: checking size of long long" >&5
22074 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
22075 if test "${ac_cv_sizeof_long_long+set}" = set; then
22076 echo $ECHO_N "(cached) $ECHO_C" >&6
22078 if test "$cross_compiling" = yes; then
22079 # Depending upon the size, compute the lo and hi bounds.
22080 cat >conftest.
$ac_ext <<_ACEOF
22083 cat confdefs.h
>>conftest.
$ac_ext
22084 cat >>conftest.
$ac_ext <<_ACEOF
22085 /* end confdefs.h. */
22086 $ac_includes_default
22087 typedef long long ac__type_sizeof_;
22091 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
22098 rm -f conftest.
$ac_objext
22099 if { (ac_try
="$ac_compile"
22100 case "(($ac_try" in
22101 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
22102 *) ac_try_echo=$ac_try;;
22104 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22105 (eval "$ac_compile") 2>conftest.er1
22107 grep -v '^ *+' conftest.er1 >conftest.err
22109 cat conftest.err >&5
22110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22111 (exit $ac_status); } && {
22112 test -z "$ac_c_werror_flag" ||
22113 test ! -s conftest.err
22114 } && test -s conftest.$ac_objext; then
22117 cat >conftest.$ac_ext <<_ACEOF
22120 cat confdefs.h >>conftest.$ac_ext
22121 cat >>conftest.$ac_ext <<_ACEOF
22122 /* end confdefs.h. */
22123 $ac_includes_default
22124 typedef long long ac__type_sizeof_;
22128 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22135 rm -f conftest.$ac_objext
22136 if { (ac_try="$ac_compile"
22137 case "(($ac_try" in
22138 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
22139 *) ac_try_echo
=$ac_try;;
22141 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22142 (eval "$ac_compile") 2>conftest.er1
22144 grep -v '^ *+' conftest.er1
>conftest.err
22146 cat conftest.err
>&5
22147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22148 (exit $ac_status); } && {
22149 test -z "$ac_c_werror_flag" ||
22150 test ! -s conftest.err
22151 } && test -s conftest.
$ac_objext; then
22152 ac_hi
=$ac_mid; break
22154 echo "$as_me: failed program was:" >&5
22155 sed 's/^/| /' conftest.
$ac_ext >&5
22157 ac_lo
=`expr $ac_mid + 1`
22158 if test $ac_lo -le $ac_mid; then
22162 ac_mid
=`expr 2 '*' $ac_mid + 1`
22165 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22168 echo "$as_me: failed program was:" >&5
22169 sed 's/^/| /' conftest.
$ac_ext >&5
22171 cat >conftest.
$ac_ext <<_ACEOF
22174 cat confdefs.h
>>conftest.
$ac_ext
22175 cat >>conftest.
$ac_ext <<_ACEOF
22176 /* end confdefs.h. */
22177 $ac_includes_default
22178 typedef long long ac__type_sizeof_;
22182 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
22189 rm -f conftest.
$ac_objext
22190 if { (ac_try
="$ac_compile"
22191 case "(($ac_try" in
22192 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
22193 *) ac_try_echo=$ac_try;;
22195 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22196 (eval "$ac_compile") 2>conftest.er1
22198 grep -v '^ *+' conftest.er1 >conftest.err
22200 cat conftest.err >&5
22201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22202 (exit $ac_status); } && {
22203 test -z "$ac_c_werror_flag" ||
22204 test ! -s conftest.err
22205 } && test -s conftest.$ac_objext; then
22208 cat >conftest.$ac_ext <<_ACEOF
22211 cat confdefs.h >>conftest.$ac_ext
22212 cat >>conftest.$ac_ext <<_ACEOF
22213 /* end confdefs.h. */
22214 $ac_includes_default
22215 typedef long long ac__type_sizeof_;
22219 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
22226 rm -f conftest.$ac_objext
22227 if { (ac_try="$ac_compile"
22228 case "(($ac_try" in
22229 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
22230 *) ac_try_echo
=$ac_try;;
22232 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22233 (eval "$ac_compile") 2>conftest.er1
22235 grep -v '^ *+' conftest.er1
>conftest.err
22237 cat conftest.err
>&5
22238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22239 (exit $ac_status); } && {
22240 test -z "$ac_c_werror_flag" ||
22241 test ! -s conftest.err
22242 } && test -s conftest.
$ac_objext; then
22243 ac_lo
=$ac_mid; break
22245 echo "$as_me: failed program was:" >&5
22246 sed 's/^/| /' conftest.
$ac_ext >&5
22248 ac_hi
=`expr '(' $ac_mid ')' - 1`
22249 if test $ac_mid -le $ac_hi; then
22253 ac_mid
=`expr 2 '*' $ac_mid`
22256 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22259 echo "$as_me: failed program was:" >&5
22260 sed 's/^/| /' conftest.
$ac_ext >&5
22265 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22268 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22269 # Binary search between lo and hi bounds.
22270 while test "x$ac_lo" != "x$ac_hi"; do
22271 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
22272 cat >conftest.
$ac_ext <<_ACEOF
22275 cat confdefs.h
>>conftest.
$ac_ext
22276 cat >>conftest.
$ac_ext <<_ACEOF
22277 /* end confdefs.h. */
22278 $ac_includes_default
22279 typedef long long ac__type_sizeof_;
22283 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22290 rm -f conftest.
$ac_objext
22291 if { (ac_try
="$ac_compile"
22292 case "(($ac_try" in
22293 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
22294 *) ac_try_echo=$ac_try;;
22296 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22297 (eval "$ac_compile") 2>conftest.er1
22299 grep -v '^ *+' conftest.er1 >conftest.err
22301 cat conftest.err >&5
22302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22303 (exit $ac_status); } && {
22304 test -z "$ac_c_werror_flag" ||
22305 test ! -s conftest.err
22306 } && test -s conftest.$ac_objext; then
22309 echo "$as_me: failed program was:" >&5
22310 sed 's/^/| /' conftest.$ac_ext >&5
22312 ac_lo=`expr '(' $ac_mid ')' + 1`
22315 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22318 ?*) ac_cv_sizeof_long_long=$ac_lo;;
22319 '') if test "$ac_cv_type_long_long" = yes; then
22320 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
22321 See \`config.log
' for more details." >&5
22322 echo "$as_me: error: cannot compute sizeof (long long)
22323 See \`config.log' for more details.
" >&2;}
22324 { (exit 77); exit 77; }; }
22326 ac_cv_sizeof_long_long=0
22330 cat >conftest.$ac_ext <<_ACEOF
22333 cat confdefs.h >>conftest.$ac_ext
22334 cat >>conftest.$ac_ext <<_ACEOF
22335 /* end confdefs.h. */
22336 $ac_includes_default
22337 typedef long long ac__type_sizeof_;
22338 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
22339 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
22341 #include <stdlib.h>
22346 FILE *f = fopen ("conftest.val
", "w
");
22349 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
22351 long int i = longval ();
22352 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22354 fprintf (f, "%ld
\n", i);
22358 unsigned long int i = ulongval ();
22359 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22361 fprintf (f, "%lu
\n", i);
22363 return ferror (f) || fclose (f) != 0;
22369 rm -f conftest$ac_exeext
22370 if { (ac_try="$ac_link"
22371 case "(($ac_try" in
22372 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22373 *) ac_try_echo=$ac_try;;
22375 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
22376 (eval "$ac_link") 2>&5
22378 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
22379 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22380 { (case "(($ac_try" in
22381 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22382 *) ac_try_echo=$ac_try;;
22384 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
22385 (eval "$ac_try") 2>&5
22387 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
22388 (exit $ac_status); }; }; then
22389 ac_cv_sizeof_long_long=`cat conftest.val`
22391 echo "$as_me: program exited with status
$ac_status" >&5
22392 echo "$as_me: failed program was
:" >&5
22393 sed 's/^/| /' conftest.$ac_ext >&5
22395 ( exit $ac_status )
22396 if test "$ac_cv_type_long_long" = yes; then
22397 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(long long
)
22398 See \
`config.log' for more details." >&5
22399 echo "$as_me: error: cannot compute sizeof (long long)
22400 See \`config.log
' for more details." >&2;}
22401 { (exit 77); exit 77; }; }
22403 ac_cv_sizeof_long_long=0
22406 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22410 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
22411 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
22415 cat >>confdefs.h <<_ACEOF
22416 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
22422 { echo "$as_me:$LINENO: checking for wchar_t" >&5
22423 echo $ECHO_N "checking for wchar_t... $ECHO_C" >&6; }
22424 if test "${ac_cv_type_wchar_t+set}" = set; then
22425 echo $ECHO_N "(cached) $ECHO_C" >&6
22427 cat >conftest.$ac_ext <<_ACEOF
22430 cat confdefs.h >>conftest.$ac_ext
22431 cat >>conftest.$ac_ext <<_ACEOF
22432 /* end confdefs.h. */
22434 /* DJGPP's wchar_t is now a keyword
in C
++ (still not C though
) */
22435 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
22436 # error "fake wchar_t"
22438 #ifdef HAVE_WCHAR_H
22440 # include <stddef.h>
22442 # include <wchar.h>
22444 #ifdef HAVE_STDLIB_H
22445 # include <stdlib.h>
22451 typedef wchar_t ac__type_new_
;
22455 if ((ac__type_new_
*) 0)
22457 if (sizeof
(ac__type_new_
))
22463 rm -f conftest.
$ac_objext
22464 if { (ac_try
="$ac_compile"
22465 case "(($ac_try" in
22466 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
22467 *) ac_try_echo=$ac_try;;
22469 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22470 (eval "$ac_compile") 2>conftest.er1
22472 grep -v '^ *+' conftest.er1 >conftest.err
22474 cat conftest.err >&5
22475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22476 (exit $ac_status); } && {
22477 test -z "$ac_c_werror_flag" ||
22478 test ! -s conftest.err
22479 } && test -s conftest.$ac_objext; then
22480 ac_cv_type_wchar_t=yes
22482 echo "$as_me: failed program was:" >&5
22483 sed 's/^/| /' conftest.$ac_ext >&5
22485 ac_cv_type_wchar_t=no
22488 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22490 { echo "$as_me:$LINENO: result: $ac_cv_type_wchar_t" >&5
22491 echo "${ECHO_T}$ac_cv_type_wchar_t" >&6; }
22493 # The cast to long int works around a bug in the HP C Compiler
22494 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
22495 # declarations like `int a3
[[(sizeof
(unsigned char
)) >= 0]];'.
22496 # This bug is HP SR number 8606223364.
22497 { echo "$as_me:$LINENO: checking size of wchar_t" >&5
22498 echo $ECHO_N "checking size of wchar_t... $ECHO_C" >&6; }
22499 if test "${ac_cv_sizeof_wchar_t+set}" = set; then
22500 echo $ECHO_N "(cached) $ECHO_C" >&6
22502 if test "$cross_compiling" = yes; then
22503 # Depending upon the size, compute the lo and hi bounds.
22504 cat >conftest.$ac_ext <<_ACEOF
22507 cat confdefs.h >>conftest.$ac_ext
22508 cat >>conftest.$ac_ext <<_ACEOF
22509 /* end confdefs.h. */
22511 /* DJGPP's wchar_t is now a keyword
in C
++ (still not C though
) */
22512 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
22513 # error "fake wchar_t"
22515 #ifdef HAVE_WCHAR_H
22517 # include <stddef.h>
22519 # include <wchar.h>
22521 #ifdef HAVE_STDLIB_H
22522 # include <stdlib.h>
22528 typedef wchar_t ac__type_sizeof_
;
22532 static int test_array
[1 - 2 * !(((long int
) (sizeof
(ac__type_sizeof_
))) >= 0)];
22539 rm -f conftest.
$ac_objext
22540 if { (ac_try
="$ac_compile"
22541 case "(($ac_try" in
22542 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
22543 *) ac_try_echo=$ac_try;;
22545 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22546 (eval "$ac_compile") 2>conftest.er1
22548 grep -v '^ *+' conftest.er1 >conftest.err
22550 cat conftest.err >&5
22551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22552 (exit $ac_status); } && {
22553 test -z "$ac_c_werror_flag" ||
22554 test ! -s conftest.err
22555 } && test -s conftest.$ac_objext; then
22558 cat >conftest.$ac_ext <<_ACEOF
22561 cat confdefs.h >>conftest.$ac_ext
22562 cat >>conftest.$ac_ext <<_ACEOF
22563 /* end confdefs.h. */
22565 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
22566 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
22567 # error "fake wchar_t"
22569 #ifdef HAVE_WCHAR_H
22571 # include <stddef.h>
22573 # include <wchar.h>
22575 #ifdef HAVE_STDLIB_H
22576 # include <stdlib.h>
22582 typedef wchar_t ac__type_sizeof_;
22586 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22593 rm -f conftest.$ac_objext
22594 if { (ac_try="$ac_compile"
22595 case "(($ac_try" in
22596 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
22597 *) ac_try_echo
=$ac_try;;
22599 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22600 (eval "$ac_compile") 2>conftest.er1
22602 grep -v '^ *+' conftest.er1
>conftest.err
22604 cat conftest.err
>&5
22605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22606 (exit $ac_status); } && {
22607 test -z "$ac_c_werror_flag" ||
22608 test ! -s conftest.err
22609 } && test -s conftest.
$ac_objext; then
22610 ac_hi
=$ac_mid; break
22612 echo "$as_me: failed program was:" >&5
22613 sed 's/^/| /' conftest.
$ac_ext >&5
22615 ac_lo
=`expr $ac_mid + 1`
22616 if test $ac_lo -le $ac_mid; then
22620 ac_mid
=`expr 2 '*' $ac_mid + 1`
22623 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22626 echo "$as_me: failed program was:" >&5
22627 sed 's/^/| /' conftest.
$ac_ext >&5
22629 cat >conftest.
$ac_ext <<_ACEOF
22632 cat confdefs.h
>>conftest.
$ac_ext
22633 cat >>conftest.
$ac_ext <<_ACEOF
22634 /* end confdefs.h. */
22636 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
22637 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
22638 # error "fake wchar_t"
22640 #ifdef HAVE_WCHAR_H
22642 # include <stddef.h>
22644 # include <wchar.h>
22646 #ifdef HAVE_STDLIB_H
22647 # include <stdlib.h>
22653 typedef wchar_t ac__type_sizeof_;
22657 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
22664 rm -f conftest.
$ac_objext
22665 if { (ac_try
="$ac_compile"
22666 case "(($ac_try" in
22667 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
22668 *) ac_try_echo=$ac_try;;
22670 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22671 (eval "$ac_compile") 2>conftest.er1
22673 grep -v '^ *+' conftest.er1 >conftest.err
22675 cat conftest.err >&5
22676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22677 (exit $ac_status); } && {
22678 test -z "$ac_c_werror_flag" ||
22679 test ! -s conftest.err
22680 } && test -s conftest.$ac_objext; then
22683 cat >conftest.$ac_ext <<_ACEOF
22686 cat confdefs.h >>conftest.$ac_ext
22687 cat >>conftest.$ac_ext <<_ACEOF
22688 /* end confdefs.h. */
22690 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
22691 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
22692 # error "fake wchar_t"
22694 #ifdef HAVE_WCHAR_H
22696 # include <stddef.h>
22698 # include <wchar.h>
22700 #ifdef HAVE_STDLIB_H
22701 # include <stdlib.h>
22707 typedef wchar_t ac__type_sizeof_;
22711 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
22718 rm -f conftest.$ac_objext
22719 if { (ac_try="$ac_compile"
22720 case "(($ac_try" in
22721 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
22722 *) ac_try_echo
=$ac_try;;
22724 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22725 (eval "$ac_compile") 2>conftest.er1
22727 grep -v '^ *+' conftest.er1
>conftest.err
22729 cat conftest.err
>&5
22730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22731 (exit $ac_status); } && {
22732 test -z "$ac_c_werror_flag" ||
22733 test ! -s conftest.err
22734 } && test -s conftest.
$ac_objext; then
22735 ac_lo
=$ac_mid; break
22737 echo "$as_me: failed program was:" >&5
22738 sed 's/^/| /' conftest.
$ac_ext >&5
22740 ac_hi
=`expr '(' $ac_mid ')' - 1`
22741 if test $ac_mid -le $ac_hi; then
22745 ac_mid
=`expr 2 '*' $ac_mid`
22748 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22751 echo "$as_me: failed program was:" >&5
22752 sed 's/^/| /' conftest.
$ac_ext >&5
22757 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22760 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22761 # Binary search between lo and hi bounds.
22762 while test "x$ac_lo" != "x$ac_hi"; do
22763 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
22764 cat >conftest.
$ac_ext <<_ACEOF
22767 cat confdefs.h
>>conftest.
$ac_ext
22768 cat >>conftest.
$ac_ext <<_ACEOF
22769 /* end confdefs.h. */
22771 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
22772 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
22773 # error "fake wchar_t"
22775 #ifdef HAVE_WCHAR_H
22777 # include <stddef.h>
22779 # include <wchar.h>
22781 #ifdef HAVE_STDLIB_H
22782 # include <stdlib.h>
22788 typedef wchar_t ac__type_sizeof_;
22792 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22799 rm -f conftest.
$ac_objext
22800 if { (ac_try
="$ac_compile"
22801 case "(($ac_try" in
22802 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
22803 *) ac_try_echo=$ac_try;;
22805 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22806 (eval "$ac_compile") 2>conftest.er1
22808 grep -v '^ *+' conftest.er1 >conftest.err
22810 cat conftest.err >&5
22811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22812 (exit $ac_status); } && {
22813 test -z "$ac_c_werror_flag" ||
22814 test ! -s conftest.err
22815 } && test -s conftest.$ac_objext; then
22818 echo "$as_me: failed program was:" >&5
22819 sed 's/^/| /' conftest.$ac_ext >&5
22821 ac_lo=`expr '(' $ac_mid ')' + 1`
22824 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22827 ?*) ac_cv_sizeof_wchar_t=$ac_lo;;
22828 '') if test "$ac_cv_type_wchar_t" = yes; then
22829 { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t)
22830 See \`config.log
' for more details." >&5
22831 echo "$as_me: error: cannot compute sizeof (wchar_t)
22832 See \`config.log' for more details.
" >&2;}
22833 { (exit 77); exit 77; }; }
22835 ac_cv_sizeof_wchar_t=0
22839 cat >conftest.$ac_ext <<_ACEOF
22842 cat confdefs.h >>conftest.$ac_ext
22843 cat >>conftest.$ac_ext <<_ACEOF
22844 /* end confdefs.h. */
22846 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
22847 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
22848 # error "fake wchar_t
"
22850 #ifdef HAVE_WCHAR_H
22852 # include <stddef.h>
22854 # include <wchar.h>
22856 #ifdef HAVE_STDLIB_H
22857 # include <stdlib.h>
22863 typedef wchar_t ac__type_sizeof_;
22864 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
22865 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
22867 #include <stdlib.h>
22872 FILE *f = fopen ("conftest.val
", "w
");
22875 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
22877 long int i = longval ();
22878 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22880 fprintf (f, "%ld
\n", i);
22884 unsigned long int i = ulongval ();
22885 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22887 fprintf (f, "%lu
\n", i);
22889 return ferror (f) || fclose (f) != 0;
22895 rm -f conftest$ac_exeext
22896 if { (ac_try="$ac_link"
22897 case "(($ac_try" in
22898 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22899 *) ac_try_echo=$ac_try;;
22901 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
22902 (eval "$ac_link") 2>&5
22904 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
22905 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22906 { (case "(($ac_try" in
22907 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22908 *) ac_try_echo=$ac_try;;
22910 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
22911 (eval "$ac_try") 2>&5
22913 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
22914 (exit $ac_status); }; }; then
22915 ac_cv_sizeof_wchar_t=`cat conftest.val`
22917 echo "$as_me: program exited with status
$ac_status" >&5
22918 echo "$as_me: failed program was
:" >&5
22919 sed 's/^/| /' conftest.$ac_ext >&5
22921 ( exit $ac_status )
22922 if test "$ac_cv_type_wchar_t" = yes; then
22923 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(wchar_t
)
22924 See \
`config.log' for more details." >&5
22925 echo "$as_me: error: cannot compute sizeof (wchar_t)
22926 See \`config.log
' for more details." >&2;}
22927 { (exit 77); exit 77; }; }
22929 ac_cv_sizeof_wchar_t=0
22932 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22936 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_wchar_t" >&5
22937 echo "${ECHO_T}$ac_cv_sizeof_wchar_t" >&6; }
22941 cat >>confdefs.h <<_ACEOF
22942 #define SIZEOF_WCHAR_T $ac_cv_sizeof_wchar_t
22946 if test "$ac_cv_sizeof_wchar_t" != 0; then
22952 { echo "$as_me:$LINENO: checking for va_copy" >&5
22953 echo $ECHO_N "checking for va_copy... $ECHO_C" >&6; }
22954 if test "${wx_cv_func_va_copy+set}" = set; then
22955 echo $ECHO_N "(cached) $ECHO_C" >&6
22959 ac_cpp='$CXXCPP $CPPFLAGS'
22960 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
22961 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
22962 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22964 cat >conftest.$ac_ext <<_ACEOF
22966 #include <stdarg.h>
22967 void foo(char *f, ...)
22981 rm -f conftest.$ac_objext conftest$ac_exeext
22982 if { (ac_try="$ac_link"
22983 case "(($ac_try" in
22984 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22985 *) ac_try_echo=$ac_try;;
22987 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22988 (eval "$ac_link") 2>conftest.er1
22990 grep -v '^
*+' conftest.er1 >conftest.err
22992 cat conftest.err >&5
22993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22994 (exit $ac_status); } && {
22995 test -z "$ac_cxx_werror_flag" ||
22996 test ! -s conftest.err
22997 } && test -s conftest$ac_exeext &&
22998 $as_test_x conftest$ac_exeext; then
22999 wx_cv_func_va_copy=yes
23001 echo "$as_me: failed program was:" >&5
23002 sed 's
/^
/| /' conftest.$ac_ext >&5
23004 wx_cv_func_va_copy=no
23008 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
23009 conftest$ac_exeext conftest.$ac_ext
23011 ac_cpp='$CPP $CPPFLAGS'
23012 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
23013 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
23014 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23019 { echo "$as_me:$LINENO: result: $wx_cv_func_va_copy" >&5
23020 echo "${ECHO_T}$wx_cv_func_va_copy" >&6; }
23022 if test $wx_cv_func_va_copy = "yes"; then
23023 cat >>confdefs.h <<\_ACEOF
23024 #define HAVE_VA_COPY 1
23028 { echo "$as_me:$LINENO: checking if va_list can be copied by value" >&5
23029 echo $ECHO_N "checking if va_list can be copied by value... $ECHO_C" >&6; }
23030 if test "${wx_cv_type_va_list_lvalue+set}" = set; then
23031 echo $ECHO_N "(cached) $ECHO_C" >&6
23034 if test "$cross_compiling" = yes; then
23035 wx_cv_type_va_list_lvalue=yes
23038 cat >conftest.$ac_ext <<_ACEOF
23040 #include <stdarg.h>
23041 int foo(char *f, ...)
23046 if ( va_arg(ap1, int) != 17 || va_arg(ap2, int) != 17 )
23054 return foo("hi", 17);
23057 rm -f conftest$ac_exeext
23058 if { (ac_try="$ac_link"
23059 case "(($ac_try" in
23060 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23061 *) ac_try_echo=$ac_try;;
23063 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23064 (eval "$ac_link") 2>&5
23066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23067 (exit $ac_status); } && { ac_try='.
/conftest
$ac_exeext'
23068 { (case "(($ac_try" in
23069 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23070 *) ac_try_echo=$ac_try;;
23072 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23073 (eval "$ac_try") 2>&5
23075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23076 (exit $ac_status); }; }; then
23077 wx_cv_type_va_list_lvalue=yes
23079 echo "$as_me: program exited with status $ac_status" >&5
23080 echo "$as_me: failed program was:" >&5
23081 sed 's
/^
/| /' conftest.$ac_ext >&5
23083 ( exit $ac_status )
23084 wx_cv_type_va_list_lvalue=no
23086 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
23093 { echo "$as_me:$LINENO: result: $wx_cv_type_va_list_lvalue" >&5
23094 echo "${ECHO_T}$wx_cv_type_va_list_lvalue" >&6; }
23096 if test $wx_cv_type_va_list_lvalue != "yes"; then
23097 cat >>confdefs.h <<\_ACEOF
23098 #define VA_LIST_IS_ARRAY 1
23104 if test "$wxUSE_VARARG_MACROS" = "yes"; then
23106 { echo "$as_me:$LINENO: checking whether the compiler supports variadic macros" >&5
23107 echo $ECHO_N "checking whether the compiler supports variadic macros... $ECHO_C" >&6; }
23108 if test "${wx_cv_have_variadic_macros+set}" = set; then
23109 echo $ECHO_N "(cached) $ECHO_C" >&6
23113 ac_cpp='$CXXCPP $CPPFLAGS'
23114 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
23115 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
23116 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23118 cat >conftest.$ac_ext <<_ACEOF
23121 cat confdefs.h >>conftest.$ac_ext
23122 cat >>conftest.$ac_ext <<_ACEOF
23123 /* end confdefs.h. */
23126 #define test(fmt, ...) printf(fmt, __VA_ARGS__)
23132 test("%s %d %p", "test", 1, 0);
23139 rm -f conftest.$ac_objext
23140 if { (ac_try="$ac_compile"
23141 case "(($ac_try" in
23142 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23143 *) ac_try_echo=$ac_try;;
23145 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23146 (eval "$ac_compile") 2>conftest.er1
23148 grep -v '^
*+' conftest.er1 >conftest.err
23150 cat conftest.err >&5
23151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23152 (exit $ac_status); } && {
23153 test -z "$ac_cxx_werror_flag" ||
23154 test ! -s conftest.err
23155 } && test -s conftest.$ac_objext; then
23156 wx_cv_have_variadic_macros=yes
23158 echo "$as_me: failed program was:" >&5
23159 sed 's
/^
/| /' conftest.$ac_ext >&5
23161 wx_cv_have_variadic_macros=no
23165 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23167 ac_cpp='$CPP $CPPFLAGS'
23168 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
23169 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
23170 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23175 { echo "$as_me:$LINENO: result: $wx_cv_have_variadic_macros" >&5
23176 echo "${ECHO_T}$wx_cv_have_variadic_macros" >&6; }
23178 if test $wx_cv_have_variadic_macros = "yes"; then
23179 cat >>confdefs.h <<\_ACEOF
23180 #define HAVE_VARIADIC_MACROS 1
23186 # Check whether --enable-largefile was given.
23187 if test "${enable_largefile+set}" = set; then
23188 enableval=$enable_largefile;
23191 if test "$enable_largefile" != no; then
23194 { echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
23195 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6; }
23196 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
23197 echo $ECHO_N "(cached) $ECHO_C" >&6
23200 cat >conftest.$ac_ext <<_ACEOF
23203 cat confdefs.h >>conftest.$ac_ext
23204 cat >>conftest.$ac_ext <<_ACEOF
23205 /* end confdefs.h. */
23206 #define _FILE_OFFSET_BITS 64
23207 #include <sys/types.h>
23212 unsigned int field: sizeof(off_t) == 8;
23219 rm -f conftest.$ac_objext
23220 if { (ac_try="$ac_compile"
23221 case "(($ac_try" in
23222 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23223 *) ac_try_echo=$ac_try;;
23225 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23226 (eval "$ac_compile") 2>conftest.er1
23228 grep -v '^
*+' conftest.er1 >conftest.err
23230 cat conftest.err >&5
23231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23232 (exit $ac_status); } && {
23233 test -z "$ac_c_werror_flag" ||
23234 test ! -s conftest.err
23235 } && test -s conftest.$ac_objext; then
23236 ac_cv_sys_file_offset_bits=64
23238 echo "$as_me: failed program was:" >&5
23239 sed 's
/^
/| /' conftest.$ac_ext >&5
23241 ac_cv_sys_file_offset_bits=no
23244 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23248 { echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
23249 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6; }
23251 if test "$ac_cv_sys_file_offset_bits" != no; then
23253 cat >>confdefs.h <<_ACEOF
23254 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
23259 if test "x$wx_largefile" != "xyes"; then
23261 { echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
23262 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6; }
23263 if test "${ac_cv_sys_large_files+set}" = set; then
23264 echo $ECHO_N "(cached) $ECHO_C" >&6
23267 cat >conftest.$ac_ext <<_ACEOF
23270 cat confdefs.h >>conftest.$ac_ext
23271 cat >>conftest.$ac_ext <<_ACEOF
23272 /* end confdefs.h. */
23273 #define _LARGE_FILES 1
23274 #include <sys/types.h>
23279 unsigned int field: sizeof(off_t) == 8;
23286 rm -f conftest.$ac_objext
23287 if { (ac_try="$ac_compile"
23288 case "(($ac_try" in
23289 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23290 *) ac_try_echo=$ac_try;;
23292 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23293 (eval "$ac_compile") 2>conftest.er1
23295 grep -v '^
*+' conftest.er1 >conftest.err
23297 cat conftest.err >&5
23298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23299 (exit $ac_status); } && {
23300 test -z "$ac_c_werror_flag" ||
23301 test ! -s conftest.err
23302 } && test -s conftest.$ac_objext; then
23303 ac_cv_sys_large_files=1
23305 echo "$as_me: failed program was:" >&5
23306 sed 's
/^
/| /' conftest.$ac_ext >&5
23308 ac_cv_sys_large_files=no
23311 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23315 { echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
23316 echo "${ECHO_T}$ac_cv_sys_large_files" >&6; }
23318 if test "$ac_cv_sys_large_files" != no; then
23320 cat >>confdefs.h <<_ACEOF
23321 #define _LARGE_FILES $ac_cv_sys_large_files
23328 { echo "$as_me:$LINENO: checking if large file support is available" >&5
23329 echo $ECHO_N "checking if large file support is available... $ECHO_C" >&6; }
23330 if test "x$wx_largefile" = "xyes"; then
23331 cat >>confdefs.h <<\_ACEOF
23332 #define HAVE_LARGEFILE_SUPPORT 1
23336 { echo "$as_me:$LINENO: result: $wx_largefile" >&5
23337 echo "${ECHO_T}$wx_largefile" >&6; }
23341 if test "x$wx_largefile" = "xyes"; then
23342 if test "x$ac_cv_sys_file_offset_bits" = "x64"; then
23343 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES"
23345 if test "$USE_HPUX" = 1 -a "$GXX" = "yes"; then
23346 { echo "$as_me:$LINENO: checking if -D__STDC_EXT__ is required" >&5
23347 echo $ECHO_N "checking if -D__STDC_EXT__ is required... $ECHO_C" >&6; }
23348 if test "${wx_cv_STDC_EXT_required+set}" = set; then
23349 echo $ECHO_N "(cached) $ECHO_C" >&6
23353 ac_cpp='$CXXCPP $CPPFLAGS'
23354 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
23355 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
23356 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23358 cat >conftest.$ac_ext <<_ACEOF
23361 cat confdefs.h >>conftest.$ac_ext
23362 cat >>conftest.$ac_ext <<_ACEOF
23363 /* end confdefs.h. */
23369 #ifndef __STDC_EXT__
23377 rm -f conftest.$ac_objext
23378 if { (ac_try="$ac_compile"
23379 case "(($ac_try" in
23380 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23381 *) ac_try_echo=$ac_try;;
23383 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23384 (eval "$ac_compile") 2>conftest.er1
23386 grep -v '^
*+' conftest.er1 >conftest.err
23388 cat conftest.err >&5
23389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23390 (exit $ac_status); } && {
23391 test -z "$ac_cxx_werror_flag" ||
23392 test ! -s conftest.err
23393 } && test -s conftest.$ac_objext; then
23394 wx_cv_STDC_EXT_required=no
23396 echo "$as_me: failed program was:" >&5
23397 sed 's
/^
/| /' conftest.$ac_ext >&5
23399 wx_cv_STDC_EXT_required=yes
23403 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23405 ac_cpp='$CPP $CPPFLAGS'
23406 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
23407 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
23408 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23413 { echo "$as_me:$LINENO: result: $wx_cv_STDC_EXT_required" >&5
23414 echo "${ECHO_T}$wx_cv_STDC_EXT_required" >&6; }
23415 if test "x$wx_cv_STDC_EXT_required" = "xyes"; then
23416 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -D__STDC_EXT__"
23420 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_LARGE_FILES"
23422 { echo "$as_me:$LINENO: checking for _LARGEFILE_SOURCE value needed for large files" >&5
23423 echo $ECHO_N "checking for _LARGEFILE_SOURCE value needed for large files... $ECHO_C" >&6; }
23424 if test "${ac_cv_sys_largefile_source+set}" = set; then
23425 echo $ECHO_N "(cached) $ECHO_C" >&6
23428 cat >conftest.$ac_ext <<_ACEOF
23431 cat confdefs.h >>conftest.$ac_ext
23432 cat >>conftest.$ac_ext <<_ACEOF
23433 /* end confdefs.h. */
23434 #include <sys/types.h> /* for off_t */
23439 int (*fp) (FILE *, off_t, int) = fseeko;
23440 return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
23445 rm -f conftest.$ac_objext conftest$ac_exeext
23446 if { (ac_try="$ac_link"
23447 case "(($ac_try" in
23448 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23449 *) ac_try_echo=$ac_try;;
23451 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23452 (eval "$ac_link") 2>conftest.er1
23454 grep -v '^
*+' conftest.er1 >conftest.err
23456 cat conftest.err >&5
23457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23458 (exit $ac_status); } && {
23459 test -z "$ac_c_werror_flag" ||
23460 test ! -s conftest.err
23461 } && test -s conftest$ac_exeext &&
23462 $as_test_x conftest$ac_exeext; then
23463 ac_cv_sys_largefile_source=no; break
23465 echo "$as_me: failed program was:" >&5
23466 sed 's
/^
/| /' conftest.$ac_ext >&5
23471 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
23472 conftest$ac_exeext conftest.$ac_ext
23473 cat >conftest.$ac_ext <<_ACEOF
23476 cat confdefs.h >>conftest.$ac_ext
23477 cat >>conftest.$ac_ext <<_ACEOF
23478 /* end confdefs.h. */
23479 #define _LARGEFILE_SOURCE 1
23480 #include <sys/types.h> /* for off_t */
23485 int (*fp) (FILE *, off_t, int) = fseeko;
23486 return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
23491 rm -f conftest.$ac_objext conftest$ac_exeext
23492 if { (ac_try="$ac_link"
23493 case "(($ac_try" in
23494 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23495 *) ac_try_echo=$ac_try;;
23497 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23498 (eval "$ac_link") 2>conftest.er1
23500 grep -v '^
*+' conftest.er1 >conftest.err
23502 cat conftest.err >&5
23503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23504 (exit $ac_status); } && {
23505 test -z "$ac_c_werror_flag" ||
23506 test ! -s conftest.err
23507 } && test -s conftest$ac_exeext &&
23508 $as_test_x conftest$ac_exeext; then
23509 ac_cv_sys_largefile_source=1; break
23511 echo "$as_me: failed program was:" >&5
23512 sed 's
/^
/| /' conftest.$ac_ext >&5
23517 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
23518 conftest$ac_exeext conftest.$ac_ext
23519 ac_cv_sys_largefile_source=unknown
23523 { echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_source" >&5
23524 echo "${ECHO_T}$ac_cv_sys_largefile_source" >&6; }
23525 case $ac_cv_sys_largefile_source in #(
23528 cat >>confdefs.h <<_ACEOF
23529 #define _LARGEFILE_SOURCE $ac_cv_sys_largefile_source
23535 # We used to try defining _XOPEN_SOURCE=500 too, to work around a bug
23536 # in glibc 2.1.3, but that breaks too many other things.
23537 # If you want fseeko and ftello with glibc, upgrade to a fixed glibc.
23538 if test $ac_cv_sys_largefile_source != unknown; then
23540 cat >>confdefs.h <<\_ACEOF
23541 #define HAVE_FSEEKO 1
23546 if test "$ac_cv_sys_largefile_source" != no; then
23547 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_LARGEFILE_SOURCE=$ac_cv_sys_largefile_source"
23551 { echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
23552 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6; }
23553 if test "${ac_cv_c_bigendian+set}" = set; then
23554 echo $ECHO_N "(cached) $ECHO_C" >&6
23556 ac_cv_c_bigendian=unknown
23557 # See if sys/param.h defines the BYTE_ORDER macro.
23558 cat >conftest.$ac_ext <<_ACEOF
23561 cat confdefs.h >>conftest.$ac_ext
23562 cat >>conftest.$ac_ext <<_ACEOF
23563 /* end confdefs.h. */
23564 #include <sys/types.h>
23565 #include <sys/param.h>
23570 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
23571 bogus endian macros
23577 rm -f conftest.$ac_objext
23578 if { (ac_try="$ac_compile"
23579 case "(($ac_try" in
23580 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23581 *) ac_try_echo=$ac_try;;
23583 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23584 (eval "$ac_compile") 2>conftest.er1
23586 grep -v '^
*+' conftest.er1 >conftest.err
23588 cat conftest.err >&5
23589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23590 (exit $ac_status); } && {
23591 test -z "$ac_c_werror_flag" ||
23592 test ! -s conftest.err
23593 } && test -s conftest.$ac_objext; then
23594 # It does; now see whether it defined to BIG_ENDIAN or not.
23595 cat >conftest.$ac_ext <<_ACEOF
23598 cat confdefs.h >>conftest.$ac_ext
23599 cat >>conftest.$ac_ext <<_ACEOF
23600 /* end confdefs.h. */
23601 #include <sys/types.h>
23602 #include <sys/param.h>
23607 #if BYTE_ORDER != BIG_ENDIAN
23614 rm -f conftest.$ac_objext
23615 if { (ac_try="$ac_compile"
23616 case "(($ac_try" in
23617 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23618 *) ac_try_echo=$ac_try;;
23620 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23621 (eval "$ac_compile") 2>conftest.er1
23623 grep -v '^
*+' conftest.er1 >conftest.err
23625 cat conftest.err >&5
23626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23627 (exit $ac_status); } && {
23628 test -z "$ac_c_werror_flag" ||
23629 test ! -s conftest.err
23630 } && test -s conftest.$ac_objext; then
23631 ac_cv_c_bigendian=yes
23633 echo "$as_me: failed program was:" >&5
23634 sed 's
/^
/| /' conftest.$ac_ext >&5
23636 ac_cv_c_bigendian=no
23639 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23641 echo "$as_me: failed program was:" >&5
23642 sed 's
/^
/| /' conftest.$ac_ext >&5
23647 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23648 if test $ac_cv_c_bigendian = unknown; then
23649 if test "$cross_compiling" = yes; then
23650 ac_cv_c_bigendian=unknown
23652 cat >conftest.$ac_ext <<_ACEOF
23655 cat confdefs.h >>conftest.$ac_ext
23656 cat >>conftest.$ac_ext <<_ACEOF
23657 /* end confdefs.h. */
23659 /* Are we little or big endian? From Harbison&Steele. */
23663 char c[sizeof (long)];
23666 exit (u.c[sizeof (long) - 1] == 1);
23669 rm -f conftest$ac_exeext
23670 if { (ac_try="$ac_link"
23671 case "(($ac_try" in
23672 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23673 *) ac_try_echo=$ac_try;;
23675 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23676 (eval "$ac_link") 2>&5
23678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23679 (exit $ac_status); } && { ac_try='.
/conftest
$ac_exeext'
23680 { (case "(($ac_try" in
23681 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23682 *) ac_try_echo=$ac_try;;
23684 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23685 (eval "$ac_try") 2>&5
23687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23688 (exit $ac_status); }; }; then
23689 ac_cv_c_bigendian=no
23691 echo "$as_me: program exited with status $ac_status" >&5
23692 echo "$as_me: failed program was:" >&5
23693 sed 's
/^
/| /' conftest.$ac_ext >&5
23695 ( exit $ac_status )
23696 ac_cv_c_bigendian=yes
23698 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
23704 { echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
23705 echo "${ECHO_T}$ac_cv_c_bigendian" >&6; }
23706 if test $ac_cv_c_bigendian = unknown; then
23707 { 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
23708 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;}
23710 if test $ac_cv_c_bigendian = yes; then
23711 cat >>confdefs.h <<\_ACEOF
23712 #define WORDS_BIGENDIAN 1
23721 ac_cpp='$CXXCPP $CPPFLAGS'
23722 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
23723 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
23724 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23728 for ac_header in iostream
23730 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
23731 { echo "$as_me:$LINENO: checking for $ac_header" >&5
23732 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
23733 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
23734 echo $ECHO_N "(cached) $ECHO_C" >&6
23736 cat >conftest.$ac_ext <<_ACEOF
23739 cat confdefs.h >>conftest.$ac_ext
23740 cat >>conftest.$ac_ext <<_ACEOF
23741 /* end confdefs.h. */
23744 #include <$ac_header>
23746 rm -f conftest.$ac_objext
23747 if { (ac_try="$ac_compile"
23748 case "(($ac_try" in
23749 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23750 *) ac_try_echo=$ac_try;;
23752 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23753 (eval "$ac_compile") 2>conftest.er1
23755 grep -v '^
*+' conftest.er1 >conftest.err
23757 cat conftest.err >&5
23758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23759 (exit $ac_status); } && {
23760 test -z "$ac_cxx_werror_flag" ||
23761 test ! -s conftest.err
23762 } && test -s conftest.$ac_objext; then
23763 eval "$as_ac_Header=yes"
23765 echo "$as_me: failed program was:" >&5
23766 sed 's
/^
/| /' conftest.$ac_ext >&5
23768 eval "$as_ac_Header=no"
23771 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23773 ac_res=`eval echo '${'$as_ac_Header'}'`
23774 { echo "$as_me:$LINENO: result: $ac_res" >&5
23775 echo "${ECHO_T}$ac_res" >&6; }
23776 if test `eval echo '${'$as_ac_Header'}'` = yes; then
23777 cat >>confdefs.h <<_ACEOF
23778 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
23786 if test "$ac_cv_header_iostream" = "yes" ; then
23789 cat >>confdefs.h <<\_ACEOF
23790 #define wxUSE_IOSTREAMH 1
23796 ac_cpp='$CPP $CPPFLAGS'
23797 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
23798 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
23799 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23804 { echo "$as_me:$LINENO: checking if C++ compiler supports bool" >&5
23805 echo $ECHO_N "checking if C++ compiler supports bool... $ECHO_C" >&6; }
23806 if test "${wx_cv_cpp_bool+set}" = set; then
23807 echo $ECHO_N "(cached) $ECHO_C" >&6
23812 ac_cpp='$CXXCPP $CPPFLAGS'
23813 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
23814 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
23815 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23818 cat >conftest.$ac_ext <<_ACEOF
23821 cat confdefs.h >>conftest.$ac_ext
23822 cat >>conftest.$ac_ext <<_ACEOF
23823 /* end confdefs.h. */
23838 rm -f conftest.$ac_objext
23839 if { (ac_try="$ac_compile"
23840 case "(($ac_try" in
23841 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23842 *) ac_try_echo=$ac_try;;
23844 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23845 (eval "$ac_compile") 2>conftest.er1
23847 grep -v '^
*+' conftest.er1 >conftest.err
23849 cat conftest.err >&5
23850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23851 (exit $ac_status); } && {
23852 test -z "$ac_cxx_werror_flag" ||
23853 test ! -s conftest.err
23854 } && test -s conftest.$ac_objext; then
23859 echo "$as_me: failed program was:" >&5
23860 sed 's
/^
/| /' conftest.$ac_ext >&5
23868 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23871 ac_cpp='$CPP $CPPFLAGS'
23872 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
23873 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
23874 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23878 { echo "$as_me:$LINENO: result: $wx_cv_cpp_bool" >&5
23879 echo "${ECHO_T}$wx_cv_cpp_bool" >&6; }
23881 if test "$wx_cv_cpp_bool" = "yes"; then
23882 cat >>confdefs.h <<\_ACEOF
23883 #define HAVE_BOOL 1
23890 { echo "$as_me:$LINENO: checking if C++ compiler supports the explicit keyword" >&5
23891 echo $ECHO_N "checking if C++ compiler supports the explicit keyword... $ECHO_C" >&6; }
23892 if test "${wx_cv_explicit+set}" = set; then
23893 echo $ECHO_N "(cached) $ECHO_C" >&6
23898 ac_cpp='$CXXCPP $CPPFLAGS'
23899 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
23900 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
23901 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23904 cat >conftest.$ac_ext <<_ACEOF
23907 cat confdefs.h >>conftest.$ac_ext
23908 cat >>conftest.$ac_ext <<_ACEOF
23909 /* end confdefs.h. */
23911 class Foo { public: explicit Foo(int) {} };
23923 rm -f conftest.$ac_objext
23924 if { (ac_try="$ac_compile"
23925 case "(($ac_try" in
23926 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23927 *) ac_try_echo=$ac_try;;
23929 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23930 (eval "$ac_compile") 2>conftest.er1
23932 grep -v '^
*+' conftest.er1 >conftest.err
23934 cat conftest.err >&5
23935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23936 (exit $ac_status); } && {
23937 test -z "$ac_cxx_werror_flag" ||
23938 test ! -s conftest.err
23939 } && test -s conftest.$ac_objext; then
23941 cat >conftest.$ac_ext <<_ACEOF
23944 cat confdefs.h >>conftest.$ac_ext
23945 cat >>conftest.$ac_ext <<_ACEOF
23946 /* end confdefs.h. */
23948 class Foo { public: explicit Foo(int) {} };
23949 static void TakeFoo(const Foo& foo) { }
23962 rm -f conftest.$ac_objext
23963 if { (ac_try="$ac_compile"
23964 case "(($ac_try" in
23965 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23966 *) ac_try_echo=$ac_try;;
23968 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23969 (eval "$ac_compile") 2>conftest.er1
23971 grep -v '^
*+' conftest.er1 >conftest.err
23973 cat conftest.err >&5
23974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23975 (exit $ac_status); } && {
23976 test -z "$ac_cxx_werror_flag" ||
23977 test ! -s conftest.err
23978 } && test -s conftest.$ac_objext; then
23981 echo "$as_me: failed program was:" >&5
23982 sed 's
/^
/| /' conftest.$ac_ext >&5
23988 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23991 echo "$as_me: failed program was:" >&5
23992 sed 's
/^
/| /' conftest.$ac_ext >&5
23998 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24001 ac_cpp='$CPP $CPPFLAGS'
24002 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
24003 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
24004 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24008 { echo "$as_me:$LINENO: result: $wx_cv_explicit" >&5
24009 echo "${ECHO_T}$wx_cv_explicit" >&6; }
24011 if test "$wx_cv_explicit" = "yes"; then
24012 cat >>confdefs.h <<\_ACEOF
24013 #define HAVE_EXPLICIT 1
24019 { echo "$as_me:$LINENO: checking whether the compiler supports const_cast<>" >&5
24020 echo $ECHO_N "checking whether the compiler supports const_cast<>... $ECHO_C" >&6; }
24021 if test "${ac_cv_cxx_const_cast+set}" = set; then
24022 echo $ECHO_N "(cached) $ECHO_C" >&6
24026 ac_cpp='$CXXCPP $CPPFLAGS'
24027 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
24028 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
24029 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24031 cat >conftest.$ac_ext <<_ACEOF
24034 cat confdefs.h >>conftest.$ac_ext
24035 cat >>conftest.$ac_ext <<_ACEOF
24036 /* end confdefs.h. */
24041 int x = 0;const int& y = x;int& z = const_cast<int&>(y);return z;
24046 rm -f conftest.$ac_objext
24047 if { (ac_try="$ac_compile"
24048 case "(($ac_try" in
24049 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24050 *) ac_try_echo=$ac_try;;
24052 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24053 (eval "$ac_compile") 2>conftest.er1
24055 grep -v '^
*+' conftest.er1 >conftest.err
24057 cat conftest.err >&5
24058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24059 (exit $ac_status); } && {
24060 test -z "$ac_cxx_werror_flag" ||
24061 test ! -s conftest.err
24062 } && test -s conftest.$ac_objext; then
24063 ac_cv_cxx_const_cast=yes
24065 echo "$as_me: failed program was:" >&5
24066 sed 's
/^
/| /' conftest.$ac_ext >&5
24068 ac_cv_cxx_const_cast=no
24071 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24073 ac_cpp='$CPP $CPPFLAGS'
24074 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
24075 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
24076 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24080 { echo "$as_me:$LINENO: result: $ac_cv_cxx_const_cast" >&5
24081 echo "${ECHO_T}$ac_cv_cxx_const_cast" >&6; }
24082 if test "$ac_cv_cxx_const_cast" = yes; then
24084 cat >>confdefs.h <<\_ACEOF
24085 #define HAVE_CONST_CAST
24090 { echo "$as_me:$LINENO: checking whether the compiler supports reinterpret_cast<>" >&5
24091 echo $ECHO_N "checking whether the compiler supports reinterpret_cast<>... $ECHO_C" >&6; }
24092 if test "${ac_cv_cxx_reinterpret_cast+set}" = set; then
24093 echo $ECHO_N "(cached) $ECHO_C" >&6
24097 ac_cpp='$CXXCPP $CPPFLAGS'
24098 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
24099 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
24100 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24102 cat >conftest.$ac_ext <<_ACEOF
24105 cat confdefs.h >>conftest.$ac_ext
24106 cat >>conftest.$ac_ext <<_ACEOF
24107 /* end confdefs.h. */
24108 #include <typeinfo>
24109 class Base { public : Base () {} virtual void f () = 0;};
24110 class Derived : public Base { public : Derived () {} virtual void f () {} };
24111 class Unrelated { public : Unrelated () {} };
24112 int g (Unrelated&) { return 0; }
24117 Derived d;Base& b=d;Unrelated& e=reinterpret_cast<Unrelated&>(b);return g(e);
24122 rm -f conftest.$ac_objext
24123 if { (ac_try="$ac_compile"
24124 case "(($ac_try" in
24125 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24126 *) ac_try_echo=$ac_try;;
24128 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24129 (eval "$ac_compile") 2>conftest.er1
24131 grep -v '^
*+' conftest.er1 >conftest.err
24133 cat conftest.err >&5
24134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24135 (exit $ac_status); } && {
24136 test -z "$ac_cxx_werror_flag" ||
24137 test ! -s conftest.err
24138 } && test -s conftest.$ac_objext; then
24139 ac_cv_cxx_reinterpret_cast=yes
24141 echo "$as_me: failed program was:" >&5
24142 sed 's
/^
/| /' conftest.$ac_ext >&5
24144 ac_cv_cxx_reinterpret_cast=no
24147 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24149 ac_cpp='$CPP $CPPFLAGS'
24150 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
24151 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
24152 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24156 { echo "$as_me:$LINENO: result: $ac_cv_cxx_reinterpret_cast" >&5
24157 echo "${ECHO_T}$ac_cv_cxx_reinterpret_cast" >&6; }
24158 if test "$ac_cv_cxx_reinterpret_cast" = yes; then
24160 cat >>confdefs.h <<\_ACEOF
24161 #define HAVE_REINTERPRET_CAST
24166 { echo "$as_me:$LINENO: checking whether the compiler supports static_cast<>" >&5
24167 echo $ECHO_N "checking whether the compiler supports static_cast<>... $ECHO_C" >&6; }
24168 if test "${ac_cv_cxx_static_cast+set}" = set; then
24169 echo $ECHO_N "(cached) $ECHO_C" >&6
24173 ac_cpp='$CXXCPP $CPPFLAGS'
24174 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
24175 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
24176 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24178 cat >conftest.$ac_ext <<_ACEOF
24181 cat confdefs.h >>conftest.$ac_ext
24182 cat >>conftest.$ac_ext <<_ACEOF
24183 /* end confdefs.h. */
24184 #include <typeinfo>
24185 class Base { public : Base () {} virtual void f () = 0; };
24186 class Derived : public Base { public : Derived () {} virtual void f () {} };
24187 int g (Derived&) { return 0; }
24192 Derived d; Base& b = d; Derived& s = static_cast<Derived&> (b); return g (s);
24197 rm -f conftest.$ac_objext
24198 if { (ac_try="$ac_compile"
24199 case "(($ac_try" in
24200 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24201 *) ac_try_echo=$ac_try;;
24203 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24204 (eval "$ac_compile") 2>conftest.er1
24206 grep -v '^
*+' conftest.er1 >conftest.err
24208 cat conftest.err >&5
24209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24210 (exit $ac_status); } && {
24211 test -z "$ac_cxx_werror_flag" ||
24212 test ! -s conftest.err
24213 } && test -s conftest.$ac_objext; then
24214 ac_cv_cxx_static_cast=yes
24216 echo "$as_me: failed program was:" >&5
24217 sed 's
/^
/| /' conftest.$ac_ext >&5
24219 ac_cv_cxx_static_cast=no
24222 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24224 ac_cpp='$CPP $CPPFLAGS'
24225 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
24226 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
24227 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24231 { echo "$as_me:$LINENO: result: $ac_cv_cxx_static_cast" >&5
24232 echo "${ECHO_T}$ac_cv_cxx_static_cast" >&6; }
24233 if test "$ac_cv_cxx_static_cast" = yes; then
24235 cat >>confdefs.h <<\_ACEOF
24236 #define HAVE_STATIC_CAST
24242 if test "x$SUNCXX" = xyes; then
24243 CXXFLAGS="-features=tmplife $CXXFLAGS"
24246 if test "x$SUNCC" = xyes; then
24247 CFLAGS="-erroff=E_NO_EXPLICIT_TYPE_GIVEN $CFLAGS"
24250 if test "x$SGICC" = "xyes"; then
24251 CFLAGS="-woff 3970 $CFLAGS"
24253 if test "x$SGICXX" = "xyes"; then
24254 CXXFLAGS="-woff 3970 $CXXFLAGS"
24257 if test "x$HPCC" = "xyes"; then
24258 CFLAGS="+W 2011,2450 $CFLAGS"
24260 if test "x$HPCXX" = "xyes"; then
24261 CXXFLAGS="+W 2340 $CXXFLAGS"
24264 if test "x$COMPAQCXX" = "xyes"; then
24265 CXXFLAGS="-w0 -msg_disable basclsnondto,unrimpret,intconlosbit"
24269 ac_cpp='$CXXCPP $CPPFLAGS'
24270 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
24271 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
24272 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24275 if test "$wxUSE_STD_STRING" = "yes" -o "$wxUSE_STL" = "yes"; then
24276 if test "$wxUSE_UNICODE" = "yes"; then
24277 std_string="std::wstring"
24278 char_type="wchar_t"
24280 std_string="std::string"
24284 { echo "$as_me:$LINENO: checking for $std_string in <string>" >&5
24285 echo $ECHO_N "checking for $std_string in <string>... $ECHO_C" >&6; }
24286 if test "${wx_cv_class_stdstring+set}" = set; then
24287 echo $ECHO_N "(cached) $ECHO_C" >&6
24290 cat >conftest.$ac_ext <<_ACEOF
24293 cat confdefs.h >>conftest.$ac_ext
24294 cat >>conftest.$ac_ext <<_ACEOF
24295 /* end confdefs.h. */
24305 rm -f conftest.$ac_objext
24306 if { (ac_try="$ac_compile"
24307 case "(($ac_try" in
24308 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24309 *) ac_try_echo=$ac_try;;
24311 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24312 (eval "$ac_compile") 2>conftest.er1
24314 grep -v '^
*+' conftest.er1 >conftest.err
24316 cat conftest.err >&5
24317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24318 (exit $ac_status); } && {
24319 test -z "$ac_cxx_werror_flag" ||
24320 test ! -s conftest.err
24321 } && test -s conftest.$ac_objext; then
24322 wx_cv_class_stdstring=yes
24324 echo "$as_me: failed program was:" >&5
24325 sed 's
/^
/| /' conftest.$ac_ext >&5
24327 wx_cv_class_stdstring=no
24331 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24335 { echo "$as_me:$LINENO: result: $wx_cv_class_stdstring" >&5
24336 echo "${ECHO_T}$wx_cv_class_stdstring" >&6; }
24338 if test "$wx_cv_class_stdstring" = yes; then
24339 if test "$wxUSE_UNICODE" = "yes"; then
24340 cat >>confdefs.h <<\_ACEOF
24341 #define HAVE_STD_WSTRING 1
24346 { echo "$as_me:$LINENO: checking if std::basic_string<$char_type> works" >&5
24347 echo $ECHO_N "checking if std::basic_string<$char_type> works... $ECHO_C" >&6; }
24348 if test "${wx_cv_class_stdbasicstring+set}" = set; then
24349 echo $ECHO_N "(cached) $ECHO_C" >&6
24352 cat >conftest.$ac_ext <<_ACEOF
24355 cat confdefs.h >>conftest.$ac_ext
24356 cat >>conftest.$ac_ext <<_ACEOF
24357 /* end confdefs.h. */
24359 #ifdef HAVE_WCHAR_H
24361 # include <stddef.h>
24363 # include <wchar.h>
24365 #ifdef HAVE_STDLIB_H
24366 # include <stdlib.h>
24374 std::basic_string<$char_type> foo;
24375 const $char_type* dummy = foo.c_str();
24380 rm -f conftest.$ac_objext
24381 if { (ac_try="$ac_compile"
24382 case "(($ac_try" in
24383 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24384 *) ac_try_echo=$ac_try;;
24386 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24387 (eval "$ac_compile") 2>conftest.er1
24389 grep -v '^
*+' conftest.er1 >conftest.err
24391 cat conftest.err >&5
24392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24393 (exit $ac_status); } && {
24394 test -z "$ac_cxx_werror_flag" ||
24395 test ! -s conftest.err
24396 } && test -s conftest.$ac_objext; then
24397 wx_cv_class_stdbasicstring=yes
24399 echo "$as_me: failed program was:" >&5
24400 sed 's
/^
/| /' conftest.$ac_ext >&5
24402 wx_cv_class_stdbasicstring=no
24406 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24410 { echo "$as_me:$LINENO: result: $wx_cv_class_stdbasicstring" >&5
24411 echo "${ECHO_T}$wx_cv_class_stdbasicstring" >&6; }
24413 if test "$wx_cv_class_stdbasicstring" != yes; then
24414 if test "$wxUSE_STL" = "yes"; then
24415 { { echo "$as_me:$LINENO: error: Can't use
--enable-stl without
$std_string or std
::basic_string
<$char_type>" >&5
24416 echo "$as_me: error
: Can
't use --enable-stl without $std_string or std::basic_string<$char_type>" >&2;}
24417 { (exit 1); exit 1; }; }
24418 elif test "$wxUSE_STD_STRING" = "yes"; then
24419 { { echo "$as_me:$LINENO: error: Can't use
--enable-std_string without
$std_string or std
::basic_string
<$char_type>" >&5
24420 echo "$as_me: error
: Can
't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&2;}
24421 { (exit 1); exit 1; }; }
24423 { echo "$as_me:$LINENO: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&5
24424 echo "$as_me: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&2;}
24425 wxUSE_STD_STRING=no
24431 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
24432 { echo "$as_me:$LINENO: checking for std::istream" >&5
24433 echo $ECHO_N "checking for std::istream... $ECHO_C" >&6; }
24434 if test "${ac_cv_type_std__istream+set}" = set; then
24435 echo $ECHO_N "(cached) $ECHO_C" >&6
24437 cat >conftest.$ac_ext <<_ACEOF
24440 cat confdefs.h >>conftest.$ac_ext
24441 cat >>conftest.$ac_ext <<_ACEOF
24442 /* end confdefs.h. */
24443 #include <iostream>
24445 typedef std::istream ac__type_new_;
24449 if ((ac__type_new_ *) 0)
24451 if (sizeof (ac__type_new_))
24457 rm -f conftest.$ac_objext
24458 if { (ac_try="$ac_compile"
24459 case "(($ac_try" in
24460 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24461 *) ac_try_echo=$ac_try;;
24463 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24464 (eval "$ac_compile") 2>conftest.er1
24466 grep -v '^
*+' conftest.er1 >conftest.err
24468 cat conftest.err >&5
24469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24470 (exit $ac_status); } && {
24471 test -z "$ac_cxx_werror_flag" ||
24472 test ! -s conftest.err
24473 } && test -s conftest.$ac_objext; then
24474 ac_cv_type_std__istream=yes
24476 echo "$as_me: failed program was:" >&5
24477 sed 's
/^
/| /' conftest.$ac_ext >&5
24479 ac_cv_type_std__istream=no
24482 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24484 { echo "$as_me:$LINENO: result: $ac_cv_type_std__istream" >&5
24485 echo "${ECHO_T}$ac_cv_type_std__istream" >&6; }
24486 if test $ac_cv_type_std__istream = yes; then
24488 cat >>confdefs.h <<_ACEOF
24489 #define HAVE_STD__ISTREAM 1
24494 wxUSE_STD_IOSTREAM=no
24496 { echo "$as_me:$LINENO: checking for std::ostream" >&5
24497 echo $ECHO_N "checking for std::ostream... $ECHO_C" >&6; }
24498 if test "${ac_cv_type_std__ostream+set}" = set; then
24499 echo $ECHO_N "(cached) $ECHO_C" >&6
24501 cat >conftest.$ac_ext <<_ACEOF
24504 cat confdefs.h >>conftest.$ac_ext
24505 cat >>conftest.$ac_ext <<_ACEOF
24506 /* end confdefs.h. */
24507 #include <iostream>
24509 typedef std::ostream ac__type_new_;
24513 if ((ac__type_new_ *) 0)
24515 if (sizeof (ac__type_new_))
24521 rm -f conftest.$ac_objext
24522 if { (ac_try="$ac_compile"
24523 case "(($ac_try" in
24524 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24525 *) ac_try_echo=$ac_try;;
24527 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24528 (eval "$ac_compile") 2>conftest.er1
24530 grep -v '^
*+' conftest.er1 >conftest.err
24532 cat conftest.err >&5
24533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24534 (exit $ac_status); } && {
24535 test -z "$ac_cxx_werror_flag" ||
24536 test ! -s conftest.err
24537 } && test -s conftest.$ac_objext; then
24538 ac_cv_type_std__ostream=yes
24540 echo "$as_me: failed program was:" >&5
24541 sed 's
/^
/| /' conftest.$ac_ext >&5
24543 ac_cv_type_std__ostream=no
24546 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24548 { echo "$as_me:$LINENO: result: $ac_cv_type_std__ostream" >&5
24549 echo "${ECHO_T}$ac_cv_type_std__ostream" >&6; }
24550 if test $ac_cv_type_std__ostream = yes; then
24552 cat >>confdefs.h <<_ACEOF
24553 #define HAVE_STD__OSTREAM 1
24558 wxUSE_STD_IOSTREAM=no
24562 if test "$wxUSE_STD_IOSTREAM" != "yes"; then
24563 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
24564 { { echo "$as_me:$LINENO: error: Can't use
--enable-std_iostreams without std
::istream and std
::ostream
" >&5
24565 echo "$as_me: error
: Can
't use --enable-std_iostreams without std::istream and std::ostream" >&2;}
24566 { (exit 1); exit 1; }; }
24568 { echo "$as_me:$LINENO: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&5
24569 echo "$as_me: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&2;}
24574 if test "$wxUSE_STL" = "yes"; then
24575 { echo "$as_me:$LINENO: checking for basic STL functionality" >&5
24576 echo $ECHO_N "checking for basic STL functionality... $ECHO_C" >&6; }
24577 if test "${wx_cv_lib_stl+set}" = set; then
24578 echo $ECHO_N "(cached) $ECHO_C" >&6
24580 cat >conftest.$ac_ext <<_ACEOF
24583 cat confdefs.h >>conftest.$ac_ext
24584 cat >>conftest.$ac_ext <<_ACEOF
24585 /* end confdefs.h. */
24587 #include <functional>
24588 #include <algorithm>
24594 std::vector<int> moo;
24595 std::list<int> foo;
24596 std::vector<int>::iterator it =
24597 std::find_if(moo.begin(), moo.end(),
24598 std::bind2nd(std::less<int>(), 3));
24603 rm -f conftest.$ac_objext
24604 if { (ac_try="$ac_compile"
24605 case "(($ac_try" in
24606 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24607 *) ac_try_echo=$ac_try;;
24609 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24610 (eval "$ac_compile") 2>conftest.er1
24612 grep -v '^
*+' conftest.er1 >conftest.err
24614 cat conftest.err >&5
24615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24616 (exit $ac_status); } && {
24617 test -z "$ac_cxx_werror_flag" ||
24618 test ! -s conftest.err
24619 } && test -s conftest.$ac_objext; then
24622 echo "$as_me: failed program was:" >&5
24623 sed 's
/^
/| /' conftest.$ac_ext >&5
24629 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24632 { echo "$as_me:$LINENO: result: $wx_cv_lib_stl" >&5
24633 echo "${ECHO_T}$wx_cv_lib_stl" >&6; }
24635 if test "$wx_cv_lib_stl" != yes; then
24636 { { echo "$as_me:$LINENO: error: Can't use
--enable-stl as basic STL functionality is missing
" >&5
24637 echo "$as_me: error
: Can
't use --enable-stl as basic STL functionality is missing" >&2;}
24638 { (exit 1); exit 1; }; }
24641 { echo "$as_me:$LINENO: checking for compliant std::string::compare" >&5
24642 echo $ECHO_N "checking for compliant std::string::compare... $ECHO_C" >&6; }
24643 if test "${wx_cv_func_stdstring_compare+set}" = set; then
24644 echo $ECHO_N "(cached) $ECHO_C" >&6
24646 cat >conftest.$ac_ext <<_ACEOF
24649 cat confdefs.h >>conftest.$ac_ext
24650 cat >>conftest.$ac_ext <<_ACEOF
24651 /* end confdefs.h. */
24656 std::string foo, bar;
24658 foo.compare(1, 1, bar);
24659 foo.compare(1, 1, bar, 1, 1);
24661 foo.compare(1, 1, "");
24662 foo.compare(1, 1, "", 2);
24667 rm -f conftest.$ac_objext
24668 if { (ac_try="$ac_compile"
24669 case "(($ac_try" in
24670 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24671 *) ac_try_echo=$ac_try;;
24673 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24674 (eval "$ac_compile") 2>conftest.er1
24676 grep -v '^
*+' conftest.er1 >conftest.err
24678 cat conftest.err >&5
24679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24680 (exit $ac_status); } && {
24681 test -z "$ac_cxx_werror_flag" ||
24682 test ! -s conftest.err
24683 } && test -s conftest.$ac_objext; then
24684 wx_cv_func_stdstring_compare=yes
24686 echo "$as_me: failed program was:" >&5
24687 sed 's
/^
/| /' conftest.$ac_ext >&5
24689 wx_cv_func_stdstring_compare=no
24693 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24696 { echo "$as_me:$LINENO: result: $wx_cv_func_stdstring_compare" >&5
24697 echo "${ECHO_T}$wx_cv_func_stdstring_compare" >&6; }
24699 if test "$wx_cv_func_stdstring_compare" = yes; then
24700 cat >>confdefs.h <<\_ACEOF
24701 #define HAVE_STD_STRING_COMPARE 1
24706 if test "$wx_cv_class_gnuhashmapset" = yes; then
24707 cat >>confdefs.h <<\_ACEOF
24708 #define HAVE_EXT_HASH_MAP 1
24711 cat >>confdefs.h <<\_ACEOF
24712 #define HAVE_GNU_CXX_HASH_MAP 1
24717 { echo "$as_me:$LINENO: checking for unordered_map" >&5
24718 echo $ECHO_N "checking for unordered_map... $ECHO_C" >&6; }
24719 if test "${ac_cv_header_unordered_map+set}" = set; then
24720 echo $ECHO_N "(cached) $ECHO_C" >&6
24722 cat >conftest.$ac_ext <<_ACEOF
24725 cat confdefs.h >>conftest.$ac_ext
24726 cat >>conftest.$ac_ext <<_ACEOF
24727 /* end confdefs.h. */
24731 #include <unordered_map>
24733 rm -f conftest.$ac_objext
24734 if { (ac_try="$ac_compile"
24735 case "(($ac_try" in
24736 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24737 *) ac_try_echo=$ac_try;;
24739 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24740 (eval "$ac_compile") 2>conftest.er1
24742 grep -v '^
*+' conftest.er1 >conftest.err
24744 cat conftest.err >&5
24745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24746 (exit $ac_status); } && {
24747 test -z "$ac_cxx_werror_flag" ||
24748 test ! -s conftest.err
24749 } && test -s conftest.$ac_objext; then
24750 ac_cv_header_unordered_map=yes
24752 echo "$as_me: failed program was:" >&5
24753 sed 's
/^
/| /' conftest.$ac_ext >&5
24755 ac_cv_header_unordered_map=no
24758 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24760 { echo "$as_me:$LINENO: result: $ac_cv_header_unordered_map" >&5
24761 echo "${ECHO_T}$ac_cv_header_unordered_map" >&6; }
24762 if test $ac_cv_header_unordered_map = yes; then
24763 { echo "$as_me:$LINENO: checking for unordered_map and unordered_set in std" >&5
24764 echo $ECHO_N "checking for unordered_map and unordered_set in std... $ECHO_C" >&6; }
24765 if test "${wx_cv_class_stdunorderedmapset+set}" = set; then
24766 echo $ECHO_N "(cached) $ECHO_C" >&6
24768 cat >conftest.$ac_ext <<_ACEOF
24771 cat confdefs.h >>conftest.$ac_ext
24772 cat >>conftest.$ac_ext <<_ACEOF
24773 /* end confdefs.h. */
24774 #include <unordered_map>
24775 #include <unordered_set>
24779 std::unordered_map<double*, char*> test1;
24780 std::unordered_set<char*> test2;
24785 rm -f conftest.$ac_objext
24786 if { (ac_try="$ac_compile"
24787 case "(($ac_try" in
24788 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24789 *) ac_try_echo=$ac_try;;
24791 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24792 (eval "$ac_compile") 2>conftest.er1
24794 grep -v '^
*+' conftest.er1 >conftest.err
24796 cat conftest.err >&5
24797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24798 (exit $ac_status); } && {
24799 test -z "$ac_cxx_werror_flag" ||
24800 test ! -s conftest.err
24801 } && test -s conftest.$ac_objext; then
24802 wx_cv_class_stdunorderedmapset=yes
24804 echo "$as_me: failed program was:" >&5
24805 sed 's
/^
/| /' conftest.$ac_ext >&5
24807 wx_cv_class_stdunorderedmapset=no
24810 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24814 { echo "$as_me:$LINENO: result: $wx_cv_class_stdunorderedmapset" >&5
24815 echo "${ECHO_T}$wx_cv_class_stdunorderedmapset" >&6; }
24820 if test "$wx_cv_class_stdunorderedmapset" = yes; then
24821 cat >>confdefs.h <<\_ACEOF
24822 #define HAVE_STD_UNORDERED_MAP 1
24825 cat >>confdefs.h <<\_ACEOF
24826 #define HAVE_STD_UNORDERED_SET 1
24830 { echo "$as_me:$LINENO: checking for tr1/unordered_map" >&5
24831 echo $ECHO_N "checking for tr1/unordered_map... $ECHO_C" >&6; }
24832 if test "${ac_cv_header_tr1_unordered_map+set}" = set; then
24833 echo $ECHO_N "(cached) $ECHO_C" >&6
24835 cat >conftest.$ac_ext <<_ACEOF
24838 cat confdefs.h >>conftest.$ac_ext
24839 cat >>conftest.$ac_ext <<_ACEOF
24840 /* end confdefs.h. */
24844 #include <tr1/unordered_map>
24846 rm -f conftest.$ac_objext
24847 if { (ac_try="$ac_compile"
24848 case "(($ac_try" in
24849 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24850 *) ac_try_echo=$ac_try;;
24852 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24853 (eval "$ac_compile") 2>conftest.er1
24855 grep -v '^
*+' conftest.er1 >conftest.err
24857 cat conftest.err >&5
24858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24859 (exit $ac_status); } && {
24860 test -z "$ac_cxx_werror_flag" ||
24861 test ! -s conftest.err
24862 } && test -s conftest.$ac_objext; then
24863 ac_cv_header_tr1_unordered_map=yes
24865 echo "$as_me: failed program was:" >&5
24866 sed 's
/^
/| /' conftest.$ac_ext >&5
24868 ac_cv_header_tr1_unordered_map=no
24871 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24873 { echo "$as_me:$LINENO: result: $ac_cv_header_tr1_unordered_map" >&5
24874 echo "${ECHO_T}$ac_cv_header_tr1_unordered_map" >&6; }
24875 if test $ac_cv_header_tr1_unordered_map = yes; then
24876 { echo "$as_me:$LINENO: checking for unordered_map and unordered_set in std::tr1" >&5
24877 echo $ECHO_N "checking for unordered_map and unordered_set in std::tr1... $ECHO_C" >&6; }
24878 if test "${wx_cv_class_tr1unorderedmapset+set}" = set; then
24879 echo $ECHO_N "(cached) $ECHO_C" >&6
24881 cat >conftest.$ac_ext <<_ACEOF
24884 cat confdefs.h >>conftest.$ac_ext
24885 cat >>conftest.$ac_ext <<_ACEOF
24886 /* end confdefs.h. */
24887 #include <tr1/unordered_map>
24888 #include <tr1/unordered_set>
24892 std::tr1::unordered_map<double*, char*> test1;
24893 std::tr1::unordered_set<char*> test2;
24894 #if defined(__GNUC__) && (__GNUC__==4) && (__GNUC_MINOR__<2)
24895 #error can't use unordered_
{map
,set} with gcc
-4.
[01]: http
://gcc.gnu.org
/PR24389
24901 rm -f conftest.
$ac_objext
24902 if { (ac_try
="$ac_compile"
24903 case "(($ac_try" in
24904 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
24905 *) ac_try_echo=$ac_try;;
24907 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24908 (eval "$ac_compile") 2>conftest.er1
24910 grep -v '^ *+' conftest.er1 >conftest.err
24912 cat conftest.err >&5
24913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24914 (exit $ac_status); } && {
24915 test -z "$ac_cxx_werror_flag" ||
24916 test ! -s conftest.err
24917 } && test -s conftest.$ac_objext; then
24918 wx_cv_class_tr1unorderedmapset=yes
24920 echo "$as_me: failed program was:" >&5
24921 sed 's/^/| /' conftest.$ac_ext >&5
24923 wx_cv_class_tr1unorderedmapset=no
24926 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24930 { echo "$as_me:$LINENO: result: $wx_cv_class_tr1unorderedmapset" >&5
24931 echo "${ECHO_T}$wx_cv_class_tr1unorderedmapset" >&6; }
24936 if test "$wx_cv_class_tr1unorderedmapset" = yes; then
24937 cat >>confdefs.h <<\_ACEOF
24938 #define HAVE_TR1_UNORDERED_MAP 1
24941 cat >>confdefs.h <<\_ACEOF
24942 #define HAVE_TR1_UNORDERED_SET 1
24946 { echo "$as_me:$LINENO: checking for hash_map" >&5
24947 echo $ECHO_N "checking for hash_map... $ECHO_C" >&6; }
24948 if test "${ac_cv_header_hash_map+set}" = set; then
24949 echo $ECHO_N "(cached) $ECHO_C" >&6
24951 cat >conftest.$ac_ext <<_ACEOF
24954 cat confdefs.h >>conftest.$ac_ext
24955 cat >>conftest.$ac_ext <<_ACEOF
24956 /* end confdefs.h. */
24960 #include <hash_map>
24962 rm -f conftest.$ac_objext
24963 if { (ac_try="$ac_compile"
24964 case "(($ac_try" in
24965 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
24966 *) ac_try_echo
=$ac_try;;
24968 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24969 (eval "$ac_compile") 2>conftest.er1
24971 grep -v '^ *+' conftest.er1
>conftest.err
24973 cat conftest.err
>&5
24974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24975 (exit $ac_status); } && {
24976 test -z "$ac_cxx_werror_flag" ||
24977 test ! -s conftest.err
24978 } && test -s conftest.
$ac_objext; then
24979 ac_cv_header_hash_map
=yes
24981 echo "$as_me: failed program was:" >&5
24982 sed 's/^/| /' conftest.
$ac_ext >&5
24984 ac_cv_header_hash_map
=no
24987 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
24989 { echo "$as_me:$LINENO: result: $ac_cv_header_hash_map" >&5
24990 echo "${ECHO_T}$ac_cv_header_hash_map" >&6; }
24991 if test $ac_cv_header_hash_map = yes; then
24992 { echo "$as_me:$LINENO: checking for std::hash_map and hash_set" >&5
24993 echo $ECHO_N "checking for std::hash_map and hash_set... $ECHO_C" >&6; }
24994 if test "${wx_cv_class_stdhashmapset+set}" = set; then
24995 echo $ECHO_N "(cached) $ECHO_C" >&6
24997 cat >conftest.
$ac_ext <<_ACEOF
25000 cat confdefs.h
>>conftest.
$ac_ext
25001 cat >>conftest.
$ac_ext <<_ACEOF
25002 /* end confdefs.h. */
25003 #include <hash_map>
25004 #include <hash_set>
25008 std::hash_map<double*, char*, std::hash<double*>, std::equal_to<double*> > test1;
25009 std::hash_set<char*, std::hash<char*>, std::equal_to<char*> > test2;
25014 rm -f conftest.
$ac_objext
25015 if { (ac_try
="$ac_compile"
25016 case "(($ac_try" in
25017 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
25018 *) ac_try_echo=$ac_try;;
25020 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25021 (eval "$ac_compile") 2>conftest.er1
25023 grep -v '^ *+' conftest.er1 >conftest.err
25025 cat conftest.err >&5
25026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25027 (exit $ac_status); } && {
25028 test -z "$ac_cxx_werror_flag" ||
25029 test ! -s conftest.err
25030 } && test -s conftest.$ac_objext; then
25031 wx_cv_class_stdhashmapset=yes
25033 echo "$as_me: failed program was:" >&5
25034 sed 's/^/| /' conftest.$ac_ext >&5
25036 wx_cv_class_stdhashmapset=no
25039 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25043 { echo "$as_me:$LINENO: result: $wx_cv_class_stdhashmapset" >&5
25044 echo "${ECHO_T}$wx_cv_class_stdhashmapset" >&6; }
25049 if test "$wx_cv_class_stdhashmapset" = yes; then
25050 cat >>confdefs.h <<\_ACEOF
25051 #define HAVE_HASH_MAP 1
25054 cat >>confdefs.h <<\_ACEOF
25055 #define HAVE_STD_HASH_MAP 1
25060 { echo "$as_me:$LINENO: checking for ext/hash_map" >&5
25061 echo $ECHO_N "checking for ext/hash_map... $ECHO_C" >&6; }
25062 if test "${ac_cv_header_ext_hash_map+set}" = set; then
25063 echo $ECHO_N "(cached) $ECHO_C" >&6
25065 cat >conftest.$ac_ext <<_ACEOF
25068 cat confdefs.h >>conftest.$ac_ext
25069 cat >>conftest.$ac_ext <<_ACEOF
25070 /* end confdefs.h. */
25074 #include <ext/hash_map>
25076 rm -f conftest.$ac_objext
25077 if { (ac_try="$ac_compile"
25078 case "(($ac_try" in
25079 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
25080 *) ac_try_echo
=$ac_try;;
25082 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25083 (eval "$ac_compile") 2>conftest.er1
25085 grep -v '^ *+' conftest.er1
>conftest.err
25087 cat conftest.err
>&5
25088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25089 (exit $ac_status); } && {
25090 test -z "$ac_cxx_werror_flag" ||
25091 test ! -s conftest.err
25092 } && test -s conftest.
$ac_objext; then
25093 ac_cv_header_ext_hash_map
=yes
25095 echo "$as_me: failed program was:" >&5
25096 sed 's/^/| /' conftest.
$ac_ext >&5
25098 ac_cv_header_ext_hash_map
=no
25101 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
25103 { echo "$as_me:$LINENO: result: $ac_cv_header_ext_hash_map" >&5
25104 echo "${ECHO_T}$ac_cv_header_ext_hash_map" >&6; }
25105 if test $ac_cv_header_ext_hash_map = yes; then
25106 { echo "$as_me:$LINENO: checking for GNU hash_map and hash_set" >&5
25107 echo $ECHO_N "checking for GNU hash_map and hash_set... $ECHO_C" >&6; }
25108 if test "${wx_cv_class_gnuhashmapset+set}" = set; then
25109 echo $ECHO_N "(cached) $ECHO_C" >&6
25111 cat >conftest.
$ac_ext <<_ACEOF
25114 cat confdefs.h
>>conftest.
$ac_ext
25115 cat >>conftest.
$ac_ext <<_ACEOF
25116 /* end confdefs.h. */
25117 #include <ext/hash_map>
25118 #include <ext/hash_set>
25122 __gnu_cxx::hash_map<double*, char*, __gnu_cxx::hash<double*>, std::equal_to<double*> > test1;
25123 __gnu_cxx::hash_set<char*, __gnu_cxx::hash<char*>, std::equal_to<char*> > test2;
25128 rm -f conftest.
$ac_objext
25129 if { (ac_try
="$ac_compile"
25130 case "(($ac_try" in
25131 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
25132 *) ac_try_echo=$ac_try;;
25134 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25135 (eval "$ac_compile") 2>conftest.er1
25137 grep -v '^ *+' conftest.er1 >conftest.err
25139 cat conftest.err >&5
25140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25141 (exit $ac_status); } && {
25142 test -z "$ac_cxx_werror_flag" ||
25143 test ! -s conftest.err
25144 } && test -s conftest.$ac_objext; then
25145 wx_cv_class_gnuhashmapset=yes
25147 echo "$as_me: failed program was:" >&5
25148 sed 's/^/| /' conftest.$ac_ext >&5
25150 wx_cv_class_gnuhashmapset=no
25153 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25157 { echo "$as_me:$LINENO: result: $wx_cv_class_gnuhashmapset" >&5
25158 echo "${ECHO_T}$wx_cv_class_gnuhashmapset" >&6; }
25169 if test -n "$GCC"; then
25170 { echo "$as_me:$LINENO: checking for __sync_fetch_and_add and __sync_sub_and_fetch builtins" >&5
25171 echo $ECHO_N "checking for __sync_fetch_and_add and __sync_sub_and_fetch builtins... $ECHO_C" >&6; }
25172 if test "${wx_cv_cc_gcc_atomic_builtins+set}" = set; then
25173 echo $ECHO_N "(cached) $ECHO_C" >&6
25176 cat >conftest.$ac_ext <<_ACEOF
25179 cat confdefs.h >>conftest.$ac_ext
25180 cat >>conftest.$ac_ext <<_ACEOF
25181 /* end confdefs.h. */
25187 unsigned int value=0;
25188 /* wxAtomicInc doesn't use return value here */
25189 __sync_fetch_and_add(&value, 2);
25190 __sync_sub_and_fetch(&value, 1);
25191 /* but wxAtomicDec does, so mimic that: */
25192 unsigned int r2 = __sync_sub_and_fetch(&value, 1);
25198 rm -f conftest.$ac_objext conftest$ac_exeext
25199 if { (ac_try="$ac_link"
25200 case "(($ac_try" in
25201 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
25202 *) ac_try_echo
=$ac_try;;
25204 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25205 (eval "$ac_link") 2>conftest.er1
25207 grep -v '^ *+' conftest.er1
>conftest.err
25209 cat conftest.err
>&5
25210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25211 (exit $ac_status); } && {
25212 test -z "$ac_cxx_werror_flag" ||
25213 test ! -s conftest.err
25214 } && test -s conftest
$ac_exeext &&
25215 $as_test_x conftest
$ac_exeext; then
25216 wx_cv_cc_gcc_atomic_builtins
=yes
25218 echo "$as_me: failed program was:" >&5
25219 sed 's/^/| /' conftest.
$ac_ext >&5
25221 wx_cv_cc_gcc_atomic_builtins
=no
25224 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
25225 conftest
$ac_exeext conftest.
$ac_ext
25229 { echo "$as_me:$LINENO: result: $wx_cv_cc_gcc_atomic_builtins" >&5
25230 echo "${ECHO_T}$wx_cv_cc_gcc_atomic_builtins" >&6; }
25231 if test $wx_cv_cc_gcc_atomic_builtins = yes; then
25232 cat >>confdefs.h
<<\_ACEOF
25233 #define HAVE_GCC_ATOMIC_BUILTINS 1
25241 ac_cpp
='$CPP $CPPFLAGS'
25242 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25243 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25244 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
25249 /usr/local/include \
25250 /usr/local/X11/include \
25251 /usr/local/include/X11 \
25252 /usr/local/X11R6/include \
25253 /usr/local/include/X11R6 \
25255 /usr/Motif-2.1/include \
25256 /usr/Motif-1.2/include \
25257 /usr/include/Motif1.2 \
25260 /usr/openwin/include \
25264 /usr/X11R6/include \
25265 /usr/X11R6.4/include \
25267 /usr/include/X11R6 \
25272 /usr/XFree86/include/X11 \
25275 /usr/local/X1R5/include \
25276 /usr/local/include/X11R5 \
25277 /usr/X11R5/include \
25278 /usr/include/X11R5 \
25280 /usr/local/X11R4/include \
25281 /usr/local/include/X11R4 \
25282 /usr/X11R4/include \
25283 /usr/include/X11R4 \
25285 /usr/openwin/share/include"
25287 { echo "$as_me:$LINENO: checking for libraries directory" >&5
25288 echo $ECHO_N "checking for libraries directory... $ECHO_C" >&6; }
25292 if test "${wx_cv_std_libpath+set}" = set; then
25293 echo $ECHO_N "(cached) $ECHO_C" >&6
25296 for d
in /usr
/lib
/usr
/lib32
/usr
/lib
/64 /usr
/lib64
; do
25297 for e
in a so sl dylib dll.a
; do
25299 if test -f $libc; then
25302 cat >conftest.
$ac_ext <<_ACEOF
25303 int main() { return 0; }
25305 rm -f conftest.
$ac_objext conftest
$ac_exeext
25306 if { (ac_try
="$ac_link"
25307 case "(($ac_try" in
25308 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
25309 *) ac_try_echo=$ac_try;;
25311 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25312 (eval "$ac_link") 2>conftest.er1
25314 grep -v '^ *+' conftest.er1 >conftest.err
25316 cat conftest.err >&5
25317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25318 (exit $ac_status); } && {
25319 test -z "$ac_c_werror_flag" ||
25320 test ! -s conftest.err
25321 } && test -s conftest$ac_exeext &&
25322 $as_test_x conftest$ac_exeext; then
25323 wx_cv_std_libpath=`echo $d | sed s@
/usr
/@@
`
25325 echo "$as_me: failed program was:" >&5
25326 sed 's/^/| /' conftest.$ac_ext >&5
25331 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25332 conftest$ac_exeext conftest.$ac_ext
25334 if test "x$wx_cv_std_libpath" != "x"; then
25340 if test "x$wx_cv_std_libpath" = "x"; then
25341 wx_cv_std_libpath="lib"
25350 if test "$ac_cv_sizeof_void_p" = 8 -a -d "/usr/lib/64"; then
25351 wx_cv_std_libpath="lib/64"
25353 wx_cv_std_libpath="lib"
25358 if test "$ac_cv_sizeof_void_p" = 8 -a \
25359 -d "/usr/lib64" -a ! -h "/usr/lib64"; then
25360 wx_cv_std_libpath="lib64"
25362 wx_cv_std_libpath="lib"
25367 wx_cv_std_libpath="lib";
25371 { echo "$as_me:$LINENO: result: $wx_cv_std_libpath" >&5
25372 echo "${ECHO_T}$wx_cv_std_libpath" >&6; }
25374 SEARCH_LIB="`echo "$SEARCH_INCLUDE" | sed s@include@
$wx_cv_std_libpath@g
` /usr/$wx_cv_std_libpath"
25376 if test "$build" != "$host" -a "$GCC" = yes; then
25377 if cross_root=`$CC -print-prog-name=ld
2>/dev
/null
`; then
25378 cross_root=`dirname $cross_root`
25379 cross_root=`dirname $cross_root`
25381 SEARCH_LIB=`for x
in $SEARCH_LIB; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
25382 SEARCH_INCLUDE=`for x
in $SEARCH_INCLUDE; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
25383 SEARCH_INCLUDE="$SEARCH_INCLUDE $cross_root/include"
25385 if test -z "$PKG_CONFIG_PATH"; then
25386 PKG_CONFIG_PATH="$cross_root/local/lib/pkgconfig:$cross_root/lib/pkgconfig"
25387 export PKG_CONFIG_PATH
25390 if test -z "$x_includes" -o "$x_includes" = NONE; then
25393 for ac_dir in $SEARCH_INCLUDE /usr/include;
25395 if test -f "$ac_dir/X11/Intrinsic.h"; then
25396 ac_find_includes=$ac_dir
25401 x_includes=$ac_find_includes
25403 if test -z "$x_libraries" -o "$x_libraries" = NONE; then
25406 for ac_dir in $SEARCH_LIB;
25408 for ac_extension in a so sl dylib dll.a; do
25409 if test -f "$ac_dir/libXt.$ac_extension"; then
25410 ac_find_libraries=$ac_dir
25416 x_libraries=$ac_find_libraries
25422 cat >confcache <<\_ACEOF
25423 # This file is a shell script that caches the results of configure
25424 # tests run on this system so they can be shared between configure
25425 # scripts and configure runs, see configure's option --config-cache.
25426 # It is not useful on other systems. If it contains results you don't
25427 # want to keep, you may remove or edit it.
25429 # config.status only pays attention to the cache file if you give it
25430 # the --recheck option to rerun configure.
25432 # `ac_cv_env_foo
' variables (set or unset) will be overridden when
25433 # loading this file, other *unset* `ac_cv_foo' will be assigned the
25434 # following values.
25438 # The following way of writing the cache mishandles newlines in values,
25439 # but we know of no workaround that is simple, portable, and efficient.
25440 # So, we kill variables containing newlines.
25441 # Ultrix sh set writes to stderr and can't be redirected directly,
25442 # and sets the high bit in the cache file unless we assign to the vars.
25444 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
25445 eval ac_val
=\$
$ac_var
25449 *_cv_
*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
25450 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
25453 _
| IFS
| as_nl
) ;; #(
25454 *) $as_unset $ac_var ;;
25460 case $as_nl`(ac_space=' '; set) 2>&1` in #(
25461 *${as_nl}ac_space
=\
*)
25462 # `set' does not quote correctly, so add quotes (double-quote
25463 # substitution turns \\\\ into \\, and sed turns \\ into \).
25466 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
25469 # `set' quotes correctly as required by POSIX, so do not add quotes.
25470 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
25479 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
25481 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
25483 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
25484 if test -w "$cache_file"; then
25485 test "x$cache_file" != "x/dev/null" &&
25486 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
25487 echo "$as_me: updating cache $cache_file" >&6;}
25488 cat confcache
>$cache_file
25490 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
25491 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
25496 if test "$USE_LINUX" = 1 -o "$USE_GNU" = 1; then
25497 { echo "$as_me:$LINENO: checking for glibc 2.1 or later" >&5
25498 echo $ECHO_N "checking for glibc 2.1 or later... $ECHO_C" >&6; }
25499 if test "${wx_cv_lib_glibc21+set}" = set; then
25500 echo $ECHO_N "(cached) $ECHO_C" >&6
25503 cat >conftest.
$ac_ext <<_ACEOF
25506 cat confdefs.h
>>conftest.
$ac_ext
25507 cat >>conftest.
$ac_ext <<_ACEOF
25508 /* end confdefs.h. */
25509 #include <features.h>
25514 #if (__GLIBC__ < 2) || (__GLIBC_MINOR__ < 1)
25522 rm -f conftest.
$ac_objext
25523 if { (ac_try
="$ac_compile"
25524 case "(($ac_try" in
25525 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
25526 *) ac_try_echo=$ac_try;;
25528 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25529 (eval "$ac_compile") 2>conftest.er1
25531 grep -v '^ *+' conftest.er1 >conftest.err
25533 cat conftest.err >&5
25534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25535 (exit $ac_status); } && {
25536 test -z "$ac_c_werror_flag" ||
25537 test ! -s conftest.err
25538 } && test -s conftest.$ac_objext; then
25540 wx_cv_lib_glibc21=yes
25543 echo "$as_me: failed program was:" >&5
25544 sed 's/^/| /' conftest.$ac_ext >&5
25547 wx_cv_lib_glibc21=no
25552 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25555 { echo "$as_me:$LINENO: result: $wx_cv_lib_glibc21" >&5
25556 echo "${ECHO_T}$wx_cv_lib_glibc21" >&6; }
25557 if test "$wx_cv_lib_glibc21" = "yes"; then
25558 cat >>confdefs.h <<\_ACEOF
25559 #define wxHAVE_GLIBC2 1
25565 if test "x$wx_cv_lib_glibc21" = "xyes"; then
25566 if test "$wxUSE_UNICODE" = "yes" -o "$wxUSE_THREADS" = "yes"; then
25567 cat >>confdefs.h <<\_ACEOF
25568 #define _GNU_SOURCE 1
25579 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25580 { echo "$as_me:$LINENO: checking for $ac_func" >&5
25581 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
25582 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
25583 echo $ECHO_N "(cached) $ECHO_C" >&6
25585 cat >conftest.$ac_ext <<_ACEOF
25588 cat confdefs.h >>conftest.$ac_ext
25589 cat >>conftest.$ac_ext <<_ACEOF
25590 /* end confdefs.h. */
25591 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25592 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25593 #define $ac_func innocuous_$ac_func
25595 /* System header to define __stub macros and hopefully few prototypes,
25596 which can conflict with char $ac_func (); below.
25597 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25598 <limits.h> exists even on freestanding compilers. */
25601 # include <limits.h>
25603 # include <assert.h>
25608 /* Override any GCC internal prototype to avoid an error.
25609 Use char because int might match the return type of a GCC
25610 builtin and then its argument prototype would still apply. */
25615 /* The GNU C library defines this for functions which it implements
25616 to always fail with ENOSYS. Some functions are actually named
25617 something starting with __ and the normal name is an alias. */
25618 #if defined __stub_$ac_func || defined __stub___$ac_func
25625 return $ac_func ();
25630 rm -f conftest.$ac_objext conftest$ac_exeext
25631 if { (ac_try="$ac_link"
25632 case "(($ac_try" in
25633 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
25634 *) ac_try_echo
=$ac_try;;
25636 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25637 (eval "$ac_link") 2>conftest.er1
25639 grep -v '^ *+' conftest.er1
>conftest.err
25641 cat conftest.err
>&5
25642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25643 (exit $ac_status); } && {
25644 test -z "$ac_c_werror_flag" ||
25645 test ! -s conftest.err
25646 } && test -s conftest
$ac_exeext &&
25647 $as_test_x conftest
$ac_exeext; then
25648 eval "$as_ac_var=yes"
25650 echo "$as_me: failed program was:" >&5
25651 sed 's/^/| /' conftest.
$ac_ext >&5
25653 eval "$as_ac_var=no"
25656 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
25657 conftest
$ac_exeext conftest.
$ac_ext
25659 ac_res
=`eval echo '${'$as_ac_var'}'`
25660 { echo "$as_me:$LINENO: result: $ac_res" >&5
25661 echo "${ECHO_T}$ac_res" >&6; }
25662 if test `eval echo '${'$as_ac_var'}'` = yes; then
25663 cat >>confdefs.h
<<_ACEOF
25664 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25671 for ac_func
in floor
25673 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25674 { echo "$as_me:$LINENO: checking for $ac_func" >&5
25675 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
25676 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
25677 echo $ECHO_N "(cached) $ECHO_C" >&6
25679 cat >conftest.
$ac_ext <<_ACEOF
25682 cat confdefs.h
>>conftest.
$ac_ext
25683 cat >>conftest.
$ac_ext <<_ACEOF
25684 /* end confdefs.h. */
25685 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25686 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25687 #define $ac_func innocuous_$ac_func
25689 /* System header to define __stub macros and hopefully few prototypes,
25690 which can conflict with char $ac_func (); below.
25691 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25692 <limits.h> exists even on freestanding compilers. */
25695 # include <limits.h>
25697 # include <assert.h>
25702 /* Override any GCC internal prototype to avoid an error.
25703 Use char because int might match the return type of a GCC
25704 builtin and then its argument prototype would still apply. */
25709 /* The GNU C library defines this for functions which it implements
25710 to always fail with ENOSYS. Some functions are actually named
25711 something starting with __ and the normal name is an alias. */
25712 #if defined __stub_$ac_func || defined __stub___$ac_func
25719 return $ac_func ();
25724 rm -f conftest.
$ac_objext conftest
$ac_exeext
25725 if { (ac_try
="$ac_link"
25726 case "(($ac_try" in
25727 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
25728 *) ac_try_echo=$ac_try;;
25730 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25731 (eval "$ac_link") 2>conftest.er1
25733 grep -v '^ *+' conftest.er1 >conftest.err
25735 cat conftest.err >&5
25736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25737 (exit $ac_status); } && {
25738 test -z "$ac_c_werror_flag" ||
25739 test ! -s conftest.err
25740 } && test -s conftest$ac_exeext &&
25741 $as_test_x conftest$ac_exeext; then
25742 eval "$as_ac_var=yes"
25744 echo "$as_me: failed program was:" >&5
25745 sed 's/^/| /' conftest.$ac_ext >&5
25747 eval "$as_ac_var=no"
25750 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25751 conftest$ac_exeext conftest.$ac_ext
25753 ac_res=`eval echo '${'$as_ac_var'}'`
25754 { echo "$as_me:$LINENO: result: $ac_res" >&5
25755 echo "${ECHO_T}$ac_res" >&6; }
25756 if test `eval echo '${'$as_ac_var'}'` = yes; then
25757 cat >>confdefs.h <<_ACEOF
25758 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25764 { echo "$as_me:$LINENO: checking if floating point functions link without -lm" >&5
25765 echo $ECHO_N "checking if floating point functions link without -lm... $ECHO_C" >&6; }
25766 if test "$have_cos" = 1 -a "$have_floor" = 1; then
25767 { echo "$as_me:$LINENO: result: yes" >&5
25768 echo "${ECHO_T}yes" >&6; }
25770 { echo "$as_me:$LINENO: result: no" >&5
25771 echo "${ECHO_T}no" >&6; }
25773 # use different functions to avoid configure caching
25779 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25780 { echo "$as_me:$LINENO: checking for $ac_func" >&5
25781 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
25782 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
25783 echo $ECHO_N "(cached) $ECHO_C" >&6
25785 cat >conftest.$ac_ext <<_ACEOF
25788 cat confdefs.h >>conftest.$ac_ext
25789 cat >>conftest.$ac_ext <<_ACEOF
25790 /* end confdefs.h. */
25791 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25792 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25793 #define $ac_func innocuous_$ac_func
25795 /* System header to define __stub macros and hopefully few prototypes,
25796 which can conflict with char $ac_func (); below.
25797 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25798 <limits.h> exists even on freestanding compilers. */
25801 # include <limits.h>
25803 # include <assert.h>
25808 /* Override any GCC internal prototype to avoid an error.
25809 Use char because int might match the return type of a GCC
25810 builtin and then its argument prototype would still apply. */
25815 /* The GNU C library defines this for functions which it implements
25816 to always fail with ENOSYS. Some functions are actually named
25817 something starting with __ and the normal name is an alias. */
25818 #if defined __stub_$ac_func || defined __stub___$ac_func
25825 return $ac_func ();
25830 rm -f conftest.$ac_objext conftest$ac_exeext
25831 if { (ac_try="$ac_link"
25832 case "(($ac_try" in
25833 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
25834 *) ac_try_echo
=$ac_try;;
25836 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25837 (eval "$ac_link") 2>conftest.er1
25839 grep -v '^ *+' conftest.er1
>conftest.err
25841 cat conftest.err
>&5
25842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25843 (exit $ac_status); } && {
25844 test -z "$ac_c_werror_flag" ||
25845 test ! -s conftest.err
25846 } && test -s conftest
$ac_exeext &&
25847 $as_test_x conftest
$ac_exeext; then
25848 eval "$as_ac_var=yes"
25850 echo "$as_me: failed program was:" >&5
25851 sed 's/^/| /' conftest.
$ac_ext >&5
25853 eval "$as_ac_var=no"
25856 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
25857 conftest
$ac_exeext conftest.
$ac_ext
25859 ac_res
=`eval echo '${'$as_ac_var'}'`
25860 { echo "$as_me:$LINENO: result: $ac_res" >&5
25861 echo "${ECHO_T}$ac_res" >&6; }
25862 if test `eval echo '${'$as_ac_var'}'` = yes; then
25863 cat >>confdefs.h
<<_ACEOF
25864 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25871 for ac_func
in ceil
25873 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25874 { echo "$as_me:$LINENO: checking for $ac_func" >&5
25875 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
25876 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
25877 echo $ECHO_N "(cached) $ECHO_C" >&6
25879 cat >conftest.
$ac_ext <<_ACEOF
25882 cat confdefs.h
>>conftest.
$ac_ext
25883 cat >>conftest.
$ac_ext <<_ACEOF
25884 /* end confdefs.h. */
25885 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25886 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25887 #define $ac_func innocuous_$ac_func
25889 /* System header to define __stub macros and hopefully few prototypes,
25890 which can conflict with char $ac_func (); below.
25891 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25892 <limits.h> exists even on freestanding compilers. */
25895 # include <limits.h>
25897 # include <assert.h>
25902 /* Override any GCC internal prototype to avoid an error.
25903 Use char because int might match the return type of a GCC
25904 builtin and then its argument prototype would still apply. */
25909 /* The GNU C library defines this for functions which it implements
25910 to always fail with ENOSYS. Some functions are actually named
25911 something starting with __ and the normal name is an alias. */
25912 #if defined __stub_$ac_func || defined __stub___$ac_func
25919 return $ac_func ();
25924 rm -f conftest.
$ac_objext conftest
$ac_exeext
25925 if { (ac_try
="$ac_link"
25926 case "(($ac_try" in
25927 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
25928 *) ac_try_echo=$ac_try;;
25930 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25931 (eval "$ac_link") 2>conftest.er1
25933 grep -v '^ *+' conftest.er1 >conftest.err
25935 cat conftest.err >&5
25936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25937 (exit $ac_status); } && {
25938 test -z "$ac_c_werror_flag" ||
25939 test ! -s conftest.err
25940 } && test -s conftest$ac_exeext &&
25941 $as_test_x conftest$ac_exeext; then
25942 eval "$as_ac_var=yes"
25944 echo "$as_me: failed program was:" >&5
25945 sed 's/^/| /' conftest.$ac_ext >&5
25947 eval "$as_ac_var=no"
25950 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25951 conftest$ac_exeext conftest.$ac_ext
25953 ac_res=`eval echo '${'$as_ac_var'}'`
25954 { echo "$as_me:$LINENO: result: $ac_res" >&5
25955 echo "${ECHO_T}$ac_res" >&6; }
25956 if test `eval echo '${'$as_ac_var'}'` = yes; then
25957 cat >>confdefs.h <<_ACEOF
25958 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25964 { echo "$as_me:$LINENO: checking if floating point functions link with -lm" >&5
25965 echo $ECHO_N "checking if floating point functions link with -lm... $ECHO_C" >&6; }
25966 if test "$have_sin" = 1 -a "$have_ceil" = 1; then
25967 { echo "$as_me:$LINENO: result: yes" >&5
25968 echo "${ECHO_T}yes" >&6; }
25970 { echo "$as_me:$LINENO: result: no" >&5
25971 echo "${ECHO_T}no" >&6; }
25972 # not sure we should warn the user, crash, etc.
25977 ac_cpp='$CXXCPP $CPPFLAGS'
25978 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25979 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25980 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25982 if test "wxUSE_UNICODE" = "yes"; then
25984 for wx_func in wcstoull
25986 { echo "$as_me:$LINENO: checking for $wx_func" >&5
25987 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
25988 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
25989 echo $ECHO_N "(cached) $ECHO_C" >&6
25992 cat >conftest.$ac_ext <<_ACEOF
25996 cat confdefs.h >>conftest.$ac_ext
25997 cat >>conftest.$ac_ext <<_ACEOF
25998 /* end confdefs.h. */
26001 $ac_includes_default
26017 rm -f conftest.$ac_objext conftest$ac_exeext
26018 if { (ac_try="$ac_link"
26019 case "(($ac_try" in
26020 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
26021 *) ac_try_echo
=$ac_try;;
26023 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26024 (eval "$ac_link") 2>conftest.er1
26026 grep -v '^ *+' conftest.er1
>conftest.err
26028 cat conftest.err
>&5
26029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26030 (exit $ac_status); } && {
26031 test -z "$ac_cxx_werror_flag" ||
26032 test ! -s conftest.err
26033 } && test -s conftest
$ac_exeext &&
26034 $as_test_x conftest
$ac_exeext; then
26035 eval wx_cv_func_
$wx_func=yes
26037 echo "$as_me: failed program was:" >&5
26038 sed 's/^/| /' conftest.
$ac_ext >&5
26040 eval wx_cv_func_
$wx_func=no
26043 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
26044 conftest
$ac_exeext conftest.
$ac_ext
26047 ac_res
=`eval echo '${'wx_cv_func_$wx_func'}'`
26048 { echo "$as_me:$LINENO: result: $ac_res" >&5
26049 echo "${ECHO_T}$ac_res" >&6; }
26051 if eval test \
$wx_cv_func_$wx_func = yes
26053 cat >>confdefs.h
<<_ACEOF
26054 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
26066 for wx_func
in strtoull
26068 { echo "$as_me:$LINENO: checking for $wx_func" >&5
26069 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
26070 if { as_var
=wx_cv_func_
$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
26071 echo $ECHO_N "(cached) $ECHO_C" >&6
26074 cat >conftest.
$ac_ext <<_ACEOF
26078 cat confdefs.h
>>conftest.
$ac_ext
26079 cat >>conftest.
$ac_ext <<_ACEOF
26080 /* end confdefs.h. */
26083 $ac_includes_default
26099 rm -f conftest.
$ac_objext conftest
$ac_exeext
26100 if { (ac_try
="$ac_link"
26101 case "(($ac_try" in
26102 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
26103 *) ac_try_echo=$ac_try;;
26105 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26106 (eval "$ac_link") 2>conftest.er1
26108 grep -v '^ *+' conftest.er1 >conftest.err
26110 cat conftest.err >&5
26111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26112 (exit $ac_status); } && {
26113 test -z "$ac_cxx_werror_flag" ||
26114 test ! -s conftest.err
26115 } && test -s conftest$ac_exeext &&
26116 $as_test_x conftest$ac_exeext; then
26117 eval wx_cv_func_$wx_func=yes
26119 echo "$as_me: failed program was:" >&5
26120 sed 's/^/| /' conftest.$ac_ext >&5
26122 eval wx_cv_func_$wx_func=no
26125 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26126 conftest$ac_exeext conftest.$ac_ext
26129 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
26130 { echo "$as_me:$LINENO: result: $ac_res" >&5
26131 echo "${ECHO_T}$ac_res" >&6; }
26133 if eval test \$wx_cv_func_$wx_func = yes
26135 cat >>confdefs.h <<_ACEOF
26136 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
26148 ac_cpp='$CPP $CPPFLAGS'
26149 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26150 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26151 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26156 if test "$wxUSE_REGEX" != "no"; then
26157 cat >>confdefs.h <<\_ACEOF
26158 #define wxUSE_REGEX 1
26162 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_REGEX" = "yes"; then
26163 { echo "$as_me:$LINENO: WARNING: Defaulting to the builtin regex library for Unicode build." >&5
26164 echo "$as_me: WARNING: Defaulting to the builtin regex library for Unicode build." >&2;}
26165 wxUSE_REGEX=builtin
26168 if test "$wxUSE_REGEX" = "sys" -o "$wxUSE_REGEX" = "yes" ; then
26169 { echo "$as_me:$LINENO: checking for regex.h" >&5
26170 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6; }
26171 if test "${ac_cv_header_regex_h+set}" = set; then
26172 echo $ECHO_N "(cached) $ECHO_C" >&6
26174 cat >conftest.$ac_ext <<_ACEOF
26177 cat confdefs.h >>conftest.$ac_ext
26178 cat >>conftest.$ac_ext <<_ACEOF
26179 /* end confdefs.h. */
26184 rm -f conftest.$ac_objext
26185 if { (ac_try="$ac_compile"
26186 case "(($ac_try" in
26187 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
26188 *) ac_try_echo
=$ac_try;;
26190 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26191 (eval "$ac_compile") 2>conftest.er1
26193 grep -v '^ *+' conftest.er1
>conftest.err
26195 cat conftest.err
>&5
26196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26197 (exit $ac_status); } && {
26198 test -z "$ac_c_werror_flag" ||
26199 test ! -s conftest.err
26200 } && test -s conftest.
$ac_objext; then
26201 ac_cv_header_regex_h
=yes
26203 echo "$as_me: failed program was:" >&5
26204 sed 's/^/| /' conftest.
$ac_ext >&5
26206 ac_cv_header_regex_h
=no
26209 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
26211 { echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
26212 echo "${ECHO_T}$ac_cv_header_regex_h" >&6; }
26213 if test $ac_cv_header_regex_h = yes; then
26216 for ac_func
in regcomp re_search
26218 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26219 { echo "$as_me:$LINENO: checking for $ac_func" >&5
26220 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
26221 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
26222 echo $ECHO_N "(cached) $ECHO_C" >&6
26224 cat >conftest.
$ac_ext <<_ACEOF
26227 cat confdefs.h
>>conftest.
$ac_ext
26228 cat >>conftest.
$ac_ext <<_ACEOF
26229 /* end confdefs.h. */
26230 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
26231 For example, HP-UX 11i <limits.h> declares gettimeofday. */
26232 #define $ac_func innocuous_$ac_func
26234 /* System header to define __stub macros and hopefully few prototypes,
26235 which can conflict with char $ac_func (); below.
26236 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26237 <limits.h> exists even on freestanding compilers. */
26240 # include <limits.h>
26242 # include <assert.h>
26247 /* Override any GCC internal prototype to avoid an error.
26248 Use char because int might match the return type of a GCC
26249 builtin and then its argument prototype would still apply. */
26254 /* The GNU C library defines this for functions which it implements
26255 to always fail with ENOSYS. Some functions are actually named
26256 something starting with __ and the normal name is an alias. */
26257 #if defined __stub_$ac_func || defined __stub___$ac_func
26264 return $ac_func ();
26269 rm -f conftest.
$ac_objext conftest
$ac_exeext
26270 if { (ac_try
="$ac_link"
26271 case "(($ac_try" in
26272 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
26273 *) ac_try_echo=$ac_try;;
26275 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26276 (eval "$ac_link") 2>conftest.er1
26278 grep -v '^ *+' conftest.er1 >conftest.err
26280 cat conftest.err >&5
26281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26282 (exit $ac_status); } && {
26283 test -z "$ac_c_werror_flag" ||
26284 test ! -s conftest.err
26285 } && test -s conftest$ac_exeext &&
26286 $as_test_x conftest$ac_exeext; then
26287 eval "$as_ac_var=yes"
26289 echo "$as_me: failed program was:" >&5
26290 sed 's/^/| /' conftest.$ac_ext >&5
26292 eval "$as_ac_var=no"
26295 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26296 conftest$ac_exeext conftest.$ac_ext
26298 ac_res=`eval echo '${'$as_ac_var'}'`
26299 { echo "$as_me:$LINENO: result: $ac_res" >&5
26300 echo "${ECHO_T}$ac_res" >&6; }
26301 if test `eval echo '${'$as_ac_var'}'` = yes; then
26302 cat >>confdefs.h <<_ACEOF
26303 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26313 if test "x$ac_cv_func_regcomp" != "xyes"; then
26314 if test "$wxUSE_REGEX" = "sys" ; then
26315 { { echo "$as_me:$LINENO: error: system regex library not found! Use --with-regex to use built-in version" >&5
26316 echo "$as_me: error: system regex library not found! Use --with-regex to use built-in version" >&2;}
26317 { (exit 1); exit 1; }; }
26319 { echo "$as_me:$LINENO: WARNING: system regex library not found, will use built-in instead" >&5
26320 echo "$as_me: WARNING: system regex library not found, will use built-in instead" >&2;}
26321 wxUSE_REGEX=builtin
26325 cat >>confdefs.h <<\_ACEOF
26326 #define WX_NO_REGEX_ADVANCED 1
26335 if test "$wxUSE_ZLIB" != "no" ; then
26336 cat >>confdefs.h <<\_ACEOF
26337 #define wxUSE_ZLIB 1
26341 if test "$wxUSE_ZLIB" = "sys" -o "$wxUSE_ZLIB" = "yes" ; then
26342 if test "$USE_DARWIN" = 1; then
26343 system_zlib_h_ok="yes"
26345 { echo "$as_me:$LINENO: checking for zlib.h >= 1.1.4" >&5
26346 echo $ECHO_N "checking for zlib.h >= 1.1.4... $ECHO_C" >&6; }
26347 if test "${ac_cv_header_zlib_h+set}" = set; then
26348 echo $ECHO_N "(cached) $ECHO_C" >&6
26350 if test "$cross_compiling" = yes; then
26351 unset ac_cv_header_zlib_h
26354 cat >conftest.$ac_ext <<_ACEOF
26357 cat confdefs.h >>conftest.$ac_ext
26358 cat >>conftest.$ac_ext <<_ACEOF
26359 /* end confdefs.h. */
26366 FILE *f=fopen("conftestval", "w");
26369 ZLIB_VERSION[0] == '1' &&
26370 (ZLIB_VERSION[2] > '1' ||
26371 (ZLIB_VERSION[2] == '1' &&
26372 ZLIB_VERSION[4] >= '4')) ? "yes" : "no");
26377 rm -f conftest$ac_exeext
26378 if { (ac_try="$ac_link"
26379 case "(($ac_try" in
26380 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
26381 *) ac_try_echo
=$ac_try;;
26383 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26384 (eval "$ac_link") 2>&5
26386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26387 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
26388 { (case "(($ac_try" in
26389 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
26390 *) ac_try_echo=$ac_try;;
26392 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26393 (eval "$ac_try") 2>&5
26395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26396 (exit $ac_status); }; }; then
26397 ac_cv_header_zlib_h=`cat conftestval
`
26399 echo "$as_me: program exited with status $ac_status" >&5
26400 echo "$as_me: failed program was:" >&5
26401 sed 's/^/| /' conftest.$ac_ext >&5
26403 ( exit $ac_status )
26404 ac_cv_header_zlib_h=no
26406 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
26412 { echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
26413 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6; }
26414 { echo "$as_me:$LINENO: checking for zlib.h" >&5
26415 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6; }
26416 if test "${ac_cv_header_zlib_h+set}" = set; then
26417 echo $ECHO_N "(cached) $ECHO_C" >&6
26419 cat >conftest.$ac_ext <<_ACEOF
26422 cat confdefs.h >>conftest.$ac_ext
26423 cat >>conftest.$ac_ext <<_ACEOF
26424 /* end confdefs.h. */
26429 rm -f conftest.$ac_objext
26430 if { (ac_try="$ac_compile"
26431 case "(($ac_try" in
26432 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
26433 *) ac_try_echo
=$ac_try;;
26435 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26436 (eval "$ac_compile") 2>conftest.er1
26438 grep -v '^ *+' conftest.er1
>conftest.err
26440 cat conftest.err
>&5
26441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26442 (exit $ac_status); } && {
26443 test -z "$ac_c_werror_flag" ||
26444 test ! -s conftest.err
26445 } && test -s conftest.
$ac_objext; then
26446 ac_cv_header_zlib_h
=yes
26448 echo "$as_me: failed program was:" >&5
26449 sed 's/^/| /' conftest.
$ac_ext >&5
26451 ac_cv_header_zlib_h
=no
26454 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
26456 { echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
26457 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6; }
26461 system_zlib_h_ok
=$ac_cv_header_zlib_h
26464 if test "$system_zlib_h_ok" = "yes"; then
26465 { echo "$as_me:$LINENO: checking for deflate in -lz" >&5
26466 echo $ECHO_N "checking for deflate in -lz... $ECHO_C" >&6; }
26467 if test "${ac_cv_lib_z_deflate+set}" = set; then
26468 echo $ECHO_N "(cached) $ECHO_C" >&6
26470 ac_check_lib_save_LIBS
=$LIBS
26472 cat >conftest.
$ac_ext <<_ACEOF
26475 cat confdefs.h
>>conftest.
$ac_ext
26476 cat >>conftest.
$ac_ext <<_ACEOF
26477 /* end confdefs.h. */
26479 /* Override any GCC internal prototype to avoid an error.
26480 Use char because int might match the return type of a GCC
26481 builtin and then its argument prototype would still apply. */
26494 rm -f conftest.
$ac_objext conftest
$ac_exeext
26495 if { (ac_try
="$ac_link"
26496 case "(($ac_try" in
26497 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
26498 *) ac_try_echo=$ac_try;;
26500 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26501 (eval "$ac_link") 2>conftest.er1
26503 grep -v '^ *+' conftest.er1 >conftest.err
26505 cat conftest.err >&5
26506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26507 (exit $ac_status); } && {
26508 test -z "$ac_c_werror_flag" ||
26509 test ! -s conftest.err
26510 } && test -s conftest$ac_exeext &&
26511 $as_test_x conftest$ac_exeext; then
26512 ac_cv_lib_z_deflate=yes
26514 echo "$as_me: failed program was:" >&5
26515 sed 's/^/| /' conftest.$ac_ext >&5
26517 ac_cv_lib_z_deflate=no
26520 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26521 conftest$ac_exeext conftest.$ac_ext
26522 LIBS=$ac_check_lib_save_LIBS
26524 { echo "$as_me:$LINENO: result: $ac_cv_lib_z_deflate" >&5
26525 echo "${ECHO_T}$ac_cv_lib_z_deflate" >&6; }
26526 if test $ac_cv_lib_z_deflate = yes; then
26532 if test "x$ZLIB_LINK" = "x" ; then
26533 if test "$wxUSE_ZLIB" = "sys" ; then
26534 { { echo "$as_me:$LINENO: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&5
26535 echo "$as_me: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&2;}
26536 { (exit 1); exit 1; }; }
26538 { echo "$as_me:$LINENO: WARNING: zlib library not found or too old, will use built-in instead" >&5
26539 echo "$as_me: WARNING: zlib library not found or too old, will use built-in instead" >&2;}
26550 if test "$wxUSE_LIBPNG" != "no" ; then
26551 cat >>confdefs.h <<\_ACEOF
26552 #define wxUSE_LIBPNG 1
26556 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBPNG" = "builtin" ; then
26557 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&5
26558 echo "$as_me: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&2;}
26562 if test "$wxUSE_MGL" != 1 -a "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
26563 { echo "$as_me:$LINENO: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&5
26564 echo "$as_me: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&2;}
26565 wxUSE_LIBPNG=builtin
26568 if test "$wxUSE_MGL" != 1 ; then
26569 if test "$wxUSE_LIBPNG" = "sys" -o "$wxUSE_LIBPNG" = "yes" ; then
26570 { echo "$as_me:$LINENO: checking for png.h > 0.90" >&5
26571 echo $ECHO_N "checking for png.h > 0.90... $ECHO_C" >&6; }
26572 if test "${ac_cv_header_png_h+set}" = set; then
26573 echo $ECHO_N "(cached) $ECHO_C" >&6
26575 if test "$cross_compiling" = yes; then
26576 unset ac_cv_header_png_h
26579 cat >conftest.$ac_ext <<_ACEOF
26582 cat confdefs.h >>conftest.$ac_ext
26583 cat >>conftest.$ac_ext <<_ACEOF
26584 /* end confdefs.h. */
26591 FILE *f=fopen("conftestval", "w");
26594 PNG_LIBPNG_VER > 90 ? "yes" : "no");
26599 rm -f conftest$ac_exeext
26600 if { (ac_try="$ac_link"
26601 case "(($ac_try" in
26602 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
26603 *) ac_try_echo
=$ac_try;;
26605 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26606 (eval "$ac_link") 2>&5
26608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26609 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
26610 { (case "(($ac_try" in
26611 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
26612 *) ac_try_echo=$ac_try;;
26614 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26615 (eval "$ac_try") 2>&5
26617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26618 (exit $ac_status); }; }; then
26619 ac_cv_header_png_h=`cat conftestval
`
26621 echo "$as_me: program exited with status $ac_status" >&5
26622 echo "$as_me: failed program was:" >&5
26623 sed 's/^/| /' conftest.$ac_ext >&5
26625 ( exit $ac_status )
26626 ac_cv_header_png_h=no
26628 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
26634 { echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
26635 echo "${ECHO_T}$ac_cv_header_png_h" >&6; }
26636 { echo "$as_me:$LINENO: checking for png.h" >&5
26637 echo $ECHO_N "checking for png.h... $ECHO_C" >&6; }
26638 if test "${ac_cv_header_png_h+set}" = set; then
26639 echo $ECHO_N "(cached) $ECHO_C" >&6
26641 cat >conftest.$ac_ext <<_ACEOF
26644 cat confdefs.h >>conftest.$ac_ext
26645 cat >>conftest.$ac_ext <<_ACEOF
26646 /* end confdefs.h. */
26651 rm -f conftest.$ac_objext
26652 if { (ac_try="$ac_compile"
26653 case "(($ac_try" in
26654 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
26655 *) ac_try_echo
=$ac_try;;
26657 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26658 (eval "$ac_compile") 2>conftest.er1
26660 grep -v '^ *+' conftest.er1
>conftest.err
26662 cat conftest.err
>&5
26663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26664 (exit $ac_status); } && {
26665 test -z "$ac_c_werror_flag" ||
26666 test ! -s conftest.err
26667 } && test -s conftest.
$ac_objext; then
26668 ac_cv_header_png_h
=yes
26670 echo "$as_me: failed program was:" >&5
26671 sed 's/^/| /' conftest.
$ac_ext >&5
26673 ac_cv_header_png_h
=no
26676 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
26678 { echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
26679 echo "${ECHO_T}$ac_cv_header_png_h" >&6; }
26683 if test "$ac_cv_header_png_h" = "yes"; then
26684 { echo "$as_me:$LINENO: checking for png_check_sig in -lpng" >&5
26685 echo $ECHO_N "checking for png_check_sig in -lpng... $ECHO_C" >&6; }
26686 if test "${ac_cv_lib_png_png_check_sig+set}" = set; then
26687 echo $ECHO_N "(cached) $ECHO_C" >&6
26689 ac_check_lib_save_LIBS
=$LIBS
26690 LIBS
="-lpng -lz -lm $LIBS"
26691 cat >conftest.
$ac_ext <<_ACEOF
26694 cat confdefs.h
>>conftest.
$ac_ext
26695 cat >>conftest.
$ac_ext <<_ACEOF
26696 /* end confdefs.h. */
26698 /* Override any GCC internal prototype to avoid an error.
26699 Use char because int might match the return type of a GCC
26700 builtin and then its argument prototype would still apply. */
26704 char png_check_sig ();
26708 return png_check_sig ();
26713 rm -f conftest.
$ac_objext conftest
$ac_exeext
26714 if { (ac_try
="$ac_link"
26715 case "(($ac_try" in
26716 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
26717 *) ac_try_echo=$ac_try;;
26719 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26720 (eval "$ac_link") 2>conftest.er1
26722 grep -v '^ *+' conftest.er1 >conftest.err
26724 cat conftest.err >&5
26725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26726 (exit $ac_status); } && {
26727 test -z "$ac_c_werror_flag" ||
26728 test ! -s conftest.err
26729 } && test -s conftest$ac_exeext &&
26730 $as_test_x conftest$ac_exeext; then
26731 ac_cv_lib_png_png_check_sig=yes
26733 echo "$as_me: failed program was:" >&5
26734 sed 's/^/| /' conftest.$ac_ext >&5
26736 ac_cv_lib_png_png_check_sig=no
26739 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26740 conftest$ac_exeext conftest.$ac_ext
26741 LIBS=$ac_check_lib_save_LIBS
26743 { echo "$as_me:$LINENO: result: $ac_cv_lib_png_png_check_sig" >&5
26744 echo "${ECHO_T}$ac_cv_lib_png_png_check_sig" >&6; }
26745 if test $ac_cv_lib_png_png_check_sig = yes; then
26746 PNG_LINK=" -lpng -lz"
26751 if test "x$PNG_LINK" = "x" ; then
26752 if test "$wxUSE_LIBPNG" = "sys" ; then
26753 { { echo "$as_me:$LINENO: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&5
26754 echo "$as_me: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&2;}
26755 { (exit 1); exit 1; }; }
26757 { echo "$as_me:$LINENO: WARNING: system png library not found or too old, will use built-in instead" >&5
26758 echo "$as_me: WARNING: system png library not found or too old, will use built-in instead" >&2;}
26759 wxUSE_LIBPNG=builtin
26770 if test "$wxUSE_LIBJPEG" != "no" ; then
26771 cat >>confdefs.h <<\_ACEOF
26772 #define wxUSE_LIBJPEG 1
26776 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBJPEG" = "builtin" ; then
26777 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&5
26778 echo "$as_me: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&2;}
26782 if test "$wxUSE_MGL" != 1 ; then
26783 if test "$wxUSE_LIBJPEG" = "sys" -o "$wxUSE_LIBJPEG" = "yes" ; then
26784 { echo "$as_me:$LINENO: checking for jpeglib.h" >&5
26785 echo $ECHO_N "checking for jpeglib.h... $ECHO_C" >&6; }
26786 if test "${ac_cv_header_jpeglib_h+set}" = set; then
26787 echo $ECHO_N "(cached) $ECHO_C" >&6
26789 cat >conftest.$ac_ext <<_ACEOF
26792 cat confdefs.h >>conftest.$ac_ext
26793 cat >>conftest.$ac_ext <<_ACEOF
26794 /* end confdefs.h. */
26796 #undef HAVE_STDLIB_H
26798 #include <jpeglib.h>
26809 rm -f conftest.$ac_objext
26810 if { (ac_try="$ac_compile"
26811 case "(($ac_try" in
26812 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
26813 *) ac_try_echo
=$ac_try;;
26815 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26816 (eval "$ac_compile") 2>conftest.er1
26818 grep -v '^ *+' conftest.er1
>conftest.err
26820 cat conftest.err
>&5
26821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26822 (exit $ac_status); } && {
26823 test -z "$ac_c_werror_flag" ||
26824 test ! -s conftest.err
26825 } && test -s conftest.
$ac_objext; then
26826 ac_cv_header_jpeglib_h
=yes
26828 echo "$as_me: failed program was:" >&5
26829 sed 's/^/| /' conftest.
$ac_ext >&5
26831 ac_cv_header_jpeglib_h
=no
26835 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
26839 { echo "$as_me:$LINENO: result: $ac_cv_header_jpeglib_h" >&5
26840 echo "${ECHO_T}$ac_cv_header_jpeglib_h" >&6; }
26842 if test "$ac_cv_header_jpeglib_h" = "yes"; then
26843 { echo "$as_me:$LINENO: checking for jpeg_read_header in -ljpeg" >&5
26844 echo $ECHO_N "checking for jpeg_read_header in -ljpeg... $ECHO_C" >&6; }
26845 if test "${ac_cv_lib_jpeg_jpeg_read_header+set}" = set; then
26846 echo $ECHO_N "(cached) $ECHO_C" >&6
26848 ac_check_lib_save_LIBS
=$LIBS
26849 LIBS
="-ljpeg $LIBS"
26850 cat >conftest.
$ac_ext <<_ACEOF
26853 cat confdefs.h
>>conftest.
$ac_ext
26854 cat >>conftest.
$ac_ext <<_ACEOF
26855 /* end confdefs.h. */
26857 /* Override any GCC internal prototype to avoid an error.
26858 Use char because int might match the return type of a GCC
26859 builtin and then its argument prototype would still apply. */
26863 char jpeg_read_header ();
26867 return jpeg_read_header ();
26872 rm -f conftest.
$ac_objext conftest
$ac_exeext
26873 if { (ac_try
="$ac_link"
26874 case "(($ac_try" in
26875 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
26876 *) ac_try_echo=$ac_try;;
26878 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26879 (eval "$ac_link") 2>conftest.er1
26881 grep -v '^ *+' conftest.er1 >conftest.err
26883 cat conftest.err >&5
26884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26885 (exit $ac_status); } && {
26886 test -z "$ac_c_werror_flag" ||
26887 test ! -s conftest.err
26888 } && test -s conftest$ac_exeext &&
26889 $as_test_x conftest$ac_exeext; then
26890 ac_cv_lib_jpeg_jpeg_read_header=yes
26892 echo "$as_me: failed program was:" >&5
26893 sed 's/^/| /' conftest.$ac_ext >&5
26895 ac_cv_lib_jpeg_jpeg_read_header=no
26898 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26899 conftest$ac_exeext conftest.$ac_ext
26900 LIBS=$ac_check_lib_save_LIBS
26902 { echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jpeg_read_header" >&5
26903 echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_read_header" >&6; }
26904 if test $ac_cv_lib_jpeg_jpeg_read_header = yes; then
26905 JPEG_LINK=" -ljpeg"
26910 if test "x$JPEG_LINK" = "x" ; then
26911 if test "$wxUSE_LIBJPEG" = "sys" ; then
26912 { { echo "$as_me:$LINENO: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&5
26913 echo "$as_me: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&2;}
26914 { (exit 1); exit 1; }; }
26916 { echo "$as_me:$LINENO: WARNING: system jpeg library not found, will use built-in instead" >&5
26917 echo "$as_me: WARNING: system jpeg library not found, will use built-in instead" >&2;}
26918 wxUSE_LIBJPEG=builtin
26923 if test "$wxUSE_MSW" = 1; then
26924 { echo "$as_me:$LINENO: checking for boolean" >&5
26925 echo $ECHO_N "checking for boolean... $ECHO_C" >&6; }
26926 if test "${ac_cv_type_boolean+set}" = set; then
26927 echo $ECHO_N "(cached) $ECHO_C" >&6
26929 cat >conftest.$ac_ext <<_ACEOF
26932 cat confdefs.h >>conftest.$ac_ext
26933 cat >>conftest.$ac_ext <<_ACEOF
26934 /* end confdefs.h. */
26935 #include <windows.h>
26937 typedef boolean ac__type_new_;
26941 if ((ac__type_new_ *) 0)
26943 if (sizeof (ac__type_new_))
26949 rm -f conftest.$ac_objext
26950 if { (ac_try="$ac_compile"
26951 case "(($ac_try" in
26952 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
26953 *) ac_try_echo
=$ac_try;;
26955 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26956 (eval "$ac_compile") 2>conftest.er1
26958 grep -v '^ *+' conftest.er1
>conftest.err
26960 cat conftest.err
>&5
26961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26962 (exit $ac_status); } && {
26963 test -z "$ac_c_werror_flag" ||
26964 test ! -s conftest.err
26965 } && test -s conftest.
$ac_objext; then
26966 ac_cv_type_boolean
=yes
26968 echo "$as_me: failed program was:" >&5
26969 sed 's/^/| /' conftest.
$ac_ext >&5
26971 ac_cv_type_boolean
=no
26974 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
26976 { echo "$as_me:$LINENO: result: $ac_cv_type_boolean" >&5
26977 echo "${ECHO_T}$ac_cv_type_boolean" >&6; }
26978 if test $ac_cv_type_boolean = yes; then
26980 cat >>confdefs.h
<<_ACEOF
26981 #define HAVE_BOOLEAN 1
26985 { echo "$as_me:$LINENO: checking for boolean" >&5
26986 echo $ECHO_N "checking for boolean... $ECHO_C" >&6; }
26987 if test "${ac_cv_type_boolean+set}" = set; then
26988 echo $ECHO_N "(cached) $ECHO_C" >&6
26990 cat >conftest.
$ac_ext <<_ACEOF
26993 cat confdefs.h
>>conftest.
$ac_ext
26994 cat >>conftest.
$ac_ext <<_ACEOF
26995 /* end confdefs.h. */
26997 #undef HAVE_BOOLEAN
26999 #include <jpeglib.h>
27002 typedef boolean ac__type_new_;
27006 if ((ac__type_new_ *) 0)
27008 if (sizeof (ac__type_new_))
27014 rm -f conftest.
$ac_objext
27015 if { (ac_try
="$ac_compile"
27016 case "(($ac_try" in
27017 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
27018 *) ac_try_echo=$ac_try;;
27020 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27021 (eval "$ac_compile") 2>conftest.er1
27023 grep -v '^ *+' conftest.er1 >conftest.err
27025 cat conftest.err >&5
27026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27027 (exit $ac_status); } && {
27028 test -z "$ac_c_werror_flag" ||
27029 test ! -s conftest.err
27030 } && test -s conftest.$ac_objext; then
27031 ac_cv_type_boolean=yes
27033 echo "$as_me: failed program was:" >&5
27034 sed 's/^/| /' conftest.$ac_ext >&5
27036 ac_cv_type_boolean=no
27039 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27041 { echo "$as_me:$LINENO: result: $ac_cv_type_boolean" >&5
27042 echo "${ECHO_T}$ac_cv_type_boolean" >&6; }
27044 # The cast to long int works around a bug in the HP C Compiler
27045 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
27046 # declarations like `int a3
[[(sizeof
(unsigned char
)) >= 0]];'.
27047 # This bug is HP SR number 8606223364.
27048 { echo "$as_me:$LINENO: checking size of boolean" >&5
27049 echo $ECHO_N "checking size of boolean... $ECHO_C" >&6; }
27050 if test "${ac_cv_sizeof_boolean+set}" = set; then
27051 echo $ECHO_N "(cached) $ECHO_C" >&6
27053 if test "$cross_compiling" = yes; then
27054 # Depending upon the size, compute the lo and hi bounds.
27055 cat >conftest.$ac_ext <<_ACEOF
27058 cat confdefs.h >>conftest.$ac_ext
27059 cat >>conftest.$ac_ext <<_ACEOF
27060 /* end confdefs.h. */
27062 #undef HAVE_BOOLEAN
27064 #include <jpeglib.h>
27067 typedef boolean ac__type_sizeof_;
27071 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
27078 rm -f conftest.$ac_objext
27079 if { (ac_try="$ac_compile"
27080 case "(($ac_try" in
27081 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27082 *) ac_try_echo=$ac_try;;
27084 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27085 (eval "$ac_compile") 2>conftest.er1
27087 grep -v '^
*+' conftest.er1 >conftest.err
27089 cat conftest.err >&5
27090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27091 (exit $ac_status); } && {
27092 test -z "$ac_c_werror_flag" ||
27093 test ! -s conftest.err
27094 } && test -s conftest.$ac_objext; then
27097 cat >conftest.$ac_ext <<_ACEOF
27100 cat confdefs.h >>conftest.$ac_ext
27101 cat >>conftest.$ac_ext <<_ACEOF
27102 /* end confdefs.h. */
27104 #undef HAVE_BOOLEAN
27106 #include <jpeglib.h>
27109 typedef boolean ac__type_sizeof_;
27113 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
27120 rm -f conftest.$ac_objext
27121 if { (ac_try="$ac_compile"
27122 case "(($ac_try" in
27123 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27124 *) ac_try_echo=$ac_try;;
27126 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27127 (eval "$ac_compile") 2>conftest.er1
27129 grep -v '^
*+' conftest.er1 >conftest.err
27131 cat conftest.err >&5
27132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27133 (exit $ac_status); } && {
27134 test -z "$ac_c_werror_flag" ||
27135 test ! -s conftest.err
27136 } && test -s conftest.$ac_objext; then
27137 ac_hi=$ac_mid; break
27139 echo "$as_me: failed program was:" >&5
27140 sed 's
/^
/| /' conftest.$ac_ext >&5
27142 ac_lo=`expr $ac_mid + 1`
27143 if test $ac_lo -le $ac_mid; then
27147 ac_mid=`expr 2 '*' $ac_mid + 1`
27150 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27153 echo "$as_me: failed program was:" >&5
27154 sed 's
/^
/| /' conftest.$ac_ext >&5
27156 cat >conftest.$ac_ext <<_ACEOF
27159 cat confdefs.h >>conftest.$ac_ext
27160 cat >>conftest.$ac_ext <<_ACEOF
27161 /* end confdefs.h. */
27163 #undef HAVE_BOOLEAN
27165 #include <jpeglib.h>
27168 typedef boolean ac__type_sizeof_;
27172 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
27179 rm -f conftest.$ac_objext
27180 if { (ac_try="$ac_compile"
27181 case "(($ac_try" in
27182 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27183 *) ac_try_echo=$ac_try;;
27185 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27186 (eval "$ac_compile") 2>conftest.er1
27188 grep -v '^
*+' conftest.er1 >conftest.err
27190 cat conftest.err >&5
27191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27192 (exit $ac_status); } && {
27193 test -z "$ac_c_werror_flag" ||
27194 test ! -s conftest.err
27195 } && test -s conftest.$ac_objext; then
27198 cat >conftest.$ac_ext <<_ACEOF
27201 cat confdefs.h >>conftest.$ac_ext
27202 cat >>conftest.$ac_ext <<_ACEOF
27203 /* end confdefs.h. */
27205 #undef HAVE_BOOLEAN
27207 #include <jpeglib.h>
27210 typedef boolean ac__type_sizeof_;
27214 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
27221 rm -f conftest.$ac_objext
27222 if { (ac_try="$ac_compile"
27223 case "(($ac_try" in
27224 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27225 *) ac_try_echo=$ac_try;;
27227 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27228 (eval "$ac_compile") 2>conftest.er1
27230 grep -v '^
*+' conftest.er1 >conftest.err
27232 cat conftest.err >&5
27233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27234 (exit $ac_status); } && {
27235 test -z "$ac_c_werror_flag" ||
27236 test ! -s conftest.err
27237 } && test -s conftest.$ac_objext; then
27238 ac_lo=$ac_mid; break
27240 echo "$as_me: failed program was:" >&5
27241 sed 's
/^
/| /' conftest.$ac_ext >&5
27243 ac_hi=`expr '(' $ac_mid ')' - 1`
27244 if test $ac_mid -le $ac_hi; then
27248 ac_mid=`expr 2 '*' $ac_mid`
27251 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27254 echo "$as_me: failed program was:" >&5
27255 sed 's
/^
/| /' conftest.$ac_ext >&5
27260 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27263 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27264 # Binary search between lo and hi bounds.
27265 while test "x$ac_lo" != "x$ac_hi"; do
27266 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
27267 cat >conftest.$ac_ext <<_ACEOF
27270 cat confdefs.h >>conftest.$ac_ext
27271 cat >>conftest.$ac_ext <<_ACEOF
27272 /* end confdefs.h. */
27274 #undef HAVE_BOOLEAN
27276 #include <jpeglib.h>
27279 typedef boolean ac__type_sizeof_;
27283 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
27290 rm -f conftest.$ac_objext
27291 if { (ac_try="$ac_compile"
27292 case "(($ac_try" in
27293 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27294 *) ac_try_echo=$ac_try;;
27296 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27297 (eval "$ac_compile") 2>conftest.er1
27299 grep -v '^
*+' conftest.er1 >conftest.err
27301 cat conftest.err >&5
27302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27303 (exit $ac_status); } && {
27304 test -z "$ac_c_werror_flag" ||
27305 test ! -s conftest.err
27306 } && test -s conftest.$ac_objext; then
27309 echo "$as_me: failed program was:" >&5
27310 sed 's
/^
/| /' conftest.$ac_ext >&5
27312 ac_lo=`expr '(' $ac_mid ')' + 1`
27315 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27318 ?*) ac_cv_sizeof_boolean=$ac_lo;;
27319 '') if test "$ac_cv_type_boolean" = yes; then
27320 { { echo "$as_me:$LINENO: error: cannot compute sizeof (boolean)
27321 See \`config.log' for more details.
" >&5
27322 echo "$as_me: error
: cannot compute sizeof
(boolean
)
27323 See \
`config.log' for more details." >&2;}
27324 { (exit 77); exit 77; }; }
27326 ac_cv_sizeof_boolean=0
27330 cat >conftest.$ac_ext <<_ACEOF
27333 cat confdefs.h >>conftest.$ac_ext
27334 cat >>conftest.$ac_ext <<_ACEOF
27335 /* end confdefs.h. */
27337 #undef HAVE_BOOLEAN
27339 #include <jpeglib.h>
27342 typedef boolean ac__type_sizeof_;
27343 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
27344 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
27346 #include <stdlib.h>
27351 FILE *f = fopen ("conftest.val", "w");
27354 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
27356 long int i = longval ();
27357 if (i != ((long int) (sizeof (ac__type_sizeof_))))
27359 fprintf (f, "%ld\n", i);
27363 unsigned long int i = ulongval ();
27364 if (i != ((long int) (sizeof (ac__type_sizeof_))))
27366 fprintf (f, "%lu\n", i);
27368 return ferror (f) || fclose (f) != 0;
27374 rm -f conftest$ac_exeext
27375 if { (ac_try="$ac_link"
27376 case "(($ac_try" in
27377 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
27378 *) ac_try_echo
=$ac_try;;
27380 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27381 (eval "$ac_link") 2>&5
27383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27384 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
27385 { (case "(($ac_try" in
27386 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
27387 *) ac_try_echo=$ac_try;;
27389 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27390 (eval "$ac_try") 2>&5
27392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27393 (exit $ac_status); }; }; then
27394 ac_cv_sizeof_boolean=`cat conftest.val
`
27396 echo "$as_me: program exited with status $ac_status" >&5
27397 echo "$as_me: failed program was:" >&5
27398 sed 's/^/| /' conftest.$ac_ext >&5
27400 ( exit $ac_status )
27401 if test "$ac_cv_type_boolean" = yes; then
27402 { { echo "$as_me:$LINENO: error: cannot compute sizeof (boolean)
27403 See \`config.log
' for more details." >&5
27404 echo "$as_me: error: cannot compute sizeof (boolean)
27405 See \`config.log' for more details.
" >&2;}
27406 { (exit 77); exit 77; }; }
27408 ac_cv_sizeof_boolean=0
27411 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
27415 { echo "$as_me:$LINENO: result
: $ac_cv_sizeof_boolean" >&5
27416 echo "${ECHO_T}$ac_cv_sizeof_boolean" >&6; }
27420 cat >>confdefs.h <<_ACEOF
27421 #define SIZEOF_BOOLEAN $ac_cv_sizeof_boolean
27425 cat >>confdefs.h <<_ACEOF
27426 #define wxHACK_BOOLEAN wxInt`expr 8 \* $ac_cv_sizeof_boolean`
27440 TIFF_PREREQ_LINKS=-lm
27441 if test "$wxUSE_LIBTIFF" != "no
" ; then
27442 cat >>confdefs.h <<\_ACEOF
27443 #define wxUSE_LIBTIFF 1
27447 if test "$wxUSE_LIBTIFF" = "sys
" -o "$wxUSE_LIBTIFF" = "yes" ; then
27448 if test "$wxUSE_LIBJPEG" = "sys
"; then
27449 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $JPEG_LINK"
27451 if test "$wxUSE_ZLIB" = "sys
"; then
27452 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $ZLIB_LINK"
27454 { echo "$as_me:$LINENO: checking
for tiffio.h
" >&5
27455 echo $ECHO_N "checking
for tiffio.h...
$ECHO_C" >&6; }
27456 if test "${ac_cv_header_tiffio_h+set}" = set; then
27457 echo $ECHO_N "(cached
) $ECHO_C" >&6
27459 cat >conftest.$ac_ext <<_ACEOF
27462 cat confdefs.h >>conftest.$ac_ext
27463 cat >>conftest.$ac_ext <<_ACEOF
27464 /* end confdefs.h. */
27468 #include <tiffio.h>
27470 rm -f conftest.$ac_objext
27471 if { (ac_try="$ac_compile"
27472 case "(($ac_try" in
27473 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27474 *) ac_try_echo=$ac_try;;
27476 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
27477 (eval "$ac_compile") 2>conftest.er1
27479 grep -v '^ *+' conftest.er1 >conftest.err
27481 cat conftest.err >&5
27482 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
27483 (exit $ac_status); } && {
27484 test -z "$ac_c_werror_flag" ||
27485 test ! -s conftest.err
27486 } && test -s conftest.$ac_objext; then
27487 ac_cv_header_tiffio_h=yes
27489 echo "$as_me: failed program was
:" >&5
27490 sed 's/^/| /' conftest.$ac_ext >&5
27492 ac_cv_header_tiffio_h=no
27495 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27497 { echo "$as_me:$LINENO: result
: $ac_cv_header_tiffio_h" >&5
27498 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6; }
27499 if test $ac_cv_header_tiffio_h = yes; then
27501 { echo "$as_me:$LINENO: checking
for TIFFError
in -ltiff" >&5
27502 echo $ECHO_N "checking
for TIFFError
in -ltiff...
$ECHO_C" >&6; }
27503 if test "${ac_cv_lib_tiff_TIFFError+set}" = set; then
27504 echo $ECHO_N "(cached
) $ECHO_C" >&6
27506 ac_check_lib_save_LIBS=$LIBS
27507 LIBS="-ltiff $TIFF_PREREQ_LINKS $LIBS"
27508 cat >conftest.$ac_ext <<_ACEOF
27511 cat confdefs.h >>conftest.$ac_ext
27512 cat >>conftest.$ac_ext <<_ACEOF
27513 /* end confdefs.h. */
27515 /* Override any GCC internal prototype to avoid an error.
27516 Use char because int might match the return type of a GCC
27517 builtin and then its argument prototype would still apply. */
27525 return TIFFError ();
27530 rm -f conftest.$ac_objext conftest$ac_exeext
27531 if { (ac_try="$ac_link"
27532 case "(($ac_try" in
27533 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27534 *) ac_try_echo=$ac_try;;
27536 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
27537 (eval "$ac_link") 2>conftest.er1
27539 grep -v '^ *+' conftest.er1 >conftest.err
27541 cat conftest.err >&5
27542 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
27543 (exit $ac_status); } && {
27544 test -z "$ac_c_werror_flag" ||
27545 test ! -s conftest.err
27546 } && test -s conftest$ac_exeext &&
27547 $as_test_x conftest$ac_exeext; then
27548 ac_cv_lib_tiff_TIFFError=yes
27550 echo "$as_me: failed program was
:" >&5
27551 sed 's/^/| /' conftest.$ac_ext >&5
27553 ac_cv_lib_tiff_TIFFError=no
27556 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27557 conftest$ac_exeext conftest.$ac_ext
27558 LIBS=$ac_check_lib_save_LIBS
27560 { echo "$as_me:$LINENO: result
: $ac_cv_lib_tiff_TIFFError" >&5
27561 echo "${ECHO_T}$ac_cv_lib_tiff_TIFFError" >&6; }
27562 if test $ac_cv_lib_tiff_TIFFError = yes; then
27563 TIFF_LINK=" -ltiff"
27571 if test "x
$TIFF_LINK" = "x
" ; then
27572 if test "$wxUSE_LIBTIFF" = "sys
" ; then
27573 { { echo "$as_me:$LINENO: error
: system tiff library not found
! Use
--with-libtiff=builtin to use built
-in version
" >&5
27574 echo "$as_me: error
: system tiff library not found
! Use
--with-libtiff=builtin to use built
-in version
" >&2;}
27575 { (exit 1); exit 1; }; }
27577 { echo "$as_me:$LINENO: WARNING
: system tiff library not found
, will use built
-in instead
" >&5
27578 echo "$as_me: WARNING
: system tiff library not found
, will use built
-in instead
" >&2;}
27579 wxUSE_LIBTIFF=builtin
27585 if test "$wxUSE_LIBTIFF" = "builtin" ; then
27586 if test "$wxUSE_LIBJPEG" = "no
"; then
27587 ac_configure_args="$ac_configure_args --disable-jpeg"
27589 subdirs="$subdirs src
/tiff
"
27595 if test "$wxUSE_WCHAR_T" != "yes"; then
27596 if test "$wxUSE_EXPAT" != "no
"; then
27597 { echo "$as_me:$LINENO: WARNING
: wxWidgets requires wchar_t to use expat
, disabling
" >&5
27598 echo "$as_me: WARNING
: wxWidgets requires wchar_t to use expat
, disabling
" >&2;}
27601 if test "$wxUSE_XML" != "no
"; then
27602 { echo "$as_me:$LINENO: WARNING
: wxWidgets requires wchar_t to use xml
, disabling
" >&5
27603 echo "$as_me: WARNING
: wxWidgets requires wchar_t to use xml
, disabling
" >&2;}
27608 if test "$wxUSE_EXPAT" != "no
"; then
27610 cat >>confdefs.h <<\_ACEOF
27611 #define wxUSE_EXPAT 1
27614 cat >>confdefs.h <<\_ACEOF
27615 #define wxUSE_XML 1
27619 if test "$wxUSE_EXPAT" = "sys
" -o "$wxUSE_EXPAT" = "yes" ; then
27620 { echo "$as_me:$LINENO: checking
for expat.h
" >&5
27621 echo $ECHO_N "checking
for expat.h...
$ECHO_C" >&6; }
27622 if test "${ac_cv_header_expat_h+set}" = set; then
27623 echo $ECHO_N "(cached
) $ECHO_C" >&6
27625 cat >conftest.$ac_ext <<_ACEOF
27628 cat confdefs.h >>conftest.$ac_ext
27629 cat >>conftest.$ac_ext <<_ACEOF
27630 /* end confdefs.h. */
27635 rm -f conftest.$ac_objext
27636 if { (ac_try="$ac_compile"
27637 case "(($ac_try" in
27638 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27639 *) ac_try_echo=$ac_try;;
27641 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
27642 (eval "$ac_compile") 2>conftest.er1
27644 grep -v '^ *+' conftest.er1 >conftest.err
27646 cat conftest.err >&5
27647 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
27648 (exit $ac_status); } && {
27649 test -z "$ac_c_werror_flag" ||
27650 test ! -s conftest.err
27651 } && test -s conftest.$ac_objext; then
27652 ac_cv_header_expat_h=yes
27654 echo "$as_me: failed program was
:" >&5
27655 sed 's/^/| /' conftest.$ac_ext >&5
27657 ac_cv_header_expat_h=no
27660 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27662 { echo "$as_me:$LINENO: result
: $ac_cv_header_expat_h" >&5
27663 echo "${ECHO_T}$ac_cv_header_expat_h" >&6; }
27664 if test $ac_cv_header_expat_h = yes; then
27669 if test "x
$found_expat_h" = "x1
"; then
27670 { echo "$as_me:$LINENO: checking
if expat.h is valid C
++ header
" >&5
27671 echo $ECHO_N "checking
if expat.h is valid C
++ header...
$ECHO_C" >&6; }
27672 if test "${wx_cv_expat_is_not_broken+set}" = set; then
27673 echo $ECHO_N "(cached
) $ECHO_C" >&6
27677 ac_cpp='$CXXCPP $CPPFLAGS'
27678 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27679 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27680 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27682 cat >conftest.$ac_ext <<_ACEOF
27685 cat confdefs.h >>conftest.$ac_ext
27686 cat >>conftest.$ac_ext <<_ACEOF
27687 /* end confdefs.h. */
27697 rm -f conftest.$ac_objext
27698 if { (ac_try="$ac_compile"
27699 case "(($ac_try" in
27700 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27701 *) ac_try_echo=$ac_try;;
27703 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
27704 (eval "$ac_compile") 2>conftest.er1
27706 grep -v '^ *+' conftest.er1 >conftest.err
27708 cat conftest.err >&5
27709 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
27710 (exit $ac_status); } && {
27711 test -z "$ac_cxx_werror_flag" ||
27712 test ! -s conftest.err
27713 } && test -s conftest.$ac_objext; then
27714 wx_cv_expat_is_not_broken=yes
27716 echo "$as_me: failed program was
:" >&5
27717 sed 's/^/| /' conftest.$ac_ext >&5
27719 wx_cv_expat_is_not_broken=no
27723 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27725 ac_cpp='$CPP $CPPFLAGS'
27726 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27727 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27728 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27733 { echo "$as_me:$LINENO: result
: $wx_cv_expat_is_not_broken" >&5
27734 echo "${ECHO_T}$wx_cv_expat_is_not_broken" >&6; }
27735 if test "$wx_cv_expat_is_not_broken" = "yes" ; then
27736 { echo "$as_me:$LINENO: checking
for XML_ParserCreate
in -lexpat" >&5
27737 echo $ECHO_N "checking
for XML_ParserCreate
in -lexpat...
$ECHO_C" >&6; }
27738 if test "${ac_cv_lib_expat_XML_ParserCreate+set}" = set; then
27739 echo $ECHO_N "(cached
) $ECHO_C" >&6
27741 ac_check_lib_save_LIBS=$LIBS
27742 LIBS="-lexpat $LIBS"
27743 cat >conftest.$ac_ext <<_ACEOF
27746 cat confdefs.h >>conftest.$ac_ext
27747 cat >>conftest.$ac_ext <<_ACEOF
27748 /* end confdefs.h. */
27750 /* Override any GCC internal prototype to avoid an error.
27751 Use char because int might match the return type of a GCC
27752 builtin and then its argument prototype would still apply. */
27756 char XML_ParserCreate ();
27760 return XML_ParserCreate ();
27765 rm -f conftest.$ac_objext conftest$ac_exeext
27766 if { (ac_try="$ac_link"
27767 case "(($ac_try" in
27768 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27769 *) ac_try_echo=$ac_try;;
27771 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
27772 (eval "$ac_link") 2>conftest.er1
27774 grep -v '^ *+' conftest.er1 >conftest.err
27776 cat conftest.err >&5
27777 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
27778 (exit $ac_status); } && {
27779 test -z "$ac_c_werror_flag" ||
27780 test ! -s conftest.err
27781 } && test -s conftest$ac_exeext &&
27782 $as_test_x conftest$ac_exeext; then
27783 ac_cv_lib_expat_XML_ParserCreate=yes
27785 echo "$as_me: failed program was
:" >&5
27786 sed 's/^/| /' conftest.$ac_ext >&5
27788 ac_cv_lib_expat_XML_ParserCreate=no
27791 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27792 conftest$ac_exeext conftest.$ac_ext
27793 LIBS=$ac_check_lib_save_LIBS
27795 { echo "$as_me:$LINENO: result
: $ac_cv_lib_expat_XML_ParserCreate" >&5
27796 echo "${ECHO_T}$ac_cv_lib_expat_XML_ParserCreate" >&6; }
27797 if test $ac_cv_lib_expat_XML_ParserCreate = yes; then
27798 EXPAT_LINK=" -lexpat"
27803 if test "x
$EXPAT_LINK" = "x
" ; then
27804 if test "$wxUSE_EXPAT" = "sys
" ; then
27805 { { echo "$as_me:$LINENO: error
: system expat library not found
! Use
--with-expat=builtin to use built
-in version
" >&5
27806 echo "$as_me: error
: system expat library not found
! Use
--with-expat=builtin to use built
-in version
" >&2;}
27807 { (exit 1); exit 1; }; }
27809 { echo "$as_me:$LINENO: WARNING
: system expat library not found
, will use built
-in instead
" >&5
27810 echo "$as_me: WARNING
: system expat library not found
, will use built
-in instead
" >&2;}
27811 wxUSE_EXPAT=builtin
27817 if test "$wxUSE_EXPAT" = "builtin" ; then
27818 subdirs="$subdirs src
/expat
"
27825 if test "$wxUSE_LIBMSPACK" != "no
"; then
27826 { echo "$as_me:$LINENO: checking
for mspack.h
" >&5
27827 echo $ECHO_N "checking
for mspack.h...
$ECHO_C" >&6; }
27828 if test "${ac_cv_header_mspack_h+set}" = set; then
27829 echo $ECHO_N "(cached
) $ECHO_C" >&6
27831 cat >conftest.$ac_ext <<_ACEOF
27834 cat confdefs.h >>conftest.$ac_ext
27835 cat >>conftest.$ac_ext <<_ACEOF
27836 /* end confdefs.h. */
27839 #include <mspack.h>
27841 rm -f conftest.$ac_objext
27842 if { (ac_try="$ac_compile"
27843 case "(($ac_try" in
27844 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27845 *) ac_try_echo=$ac_try;;
27847 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
27848 (eval "$ac_compile") 2>conftest.er1
27850 grep -v '^ *+' conftest.er1 >conftest.err
27852 cat conftest.err >&5
27853 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
27854 (exit $ac_status); } && {
27855 test -z "$ac_c_werror_flag" ||
27856 test ! -s conftest.err
27857 } && test -s conftest.$ac_objext; then
27858 ac_cv_header_mspack_h=yes
27860 echo "$as_me: failed program was
:" >&5
27861 sed 's/^/| /' conftest.$ac_ext >&5
27863 ac_cv_header_mspack_h=no
27866 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27868 { echo "$as_me:$LINENO: result
: $ac_cv_header_mspack_h" >&5
27869 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6; }
27870 if test $ac_cv_header_mspack_h = yes; then
27875 if test "x
$found_mspack_h" = "x1
"; then
27876 { echo "$as_me:$LINENO: checking
for mspack_create_chm_decompressor
in -lmspack" >&5
27877 echo $ECHO_N "checking
for mspack_create_chm_decompressor
in -lmspack...
$ECHO_C" >&6; }
27878 if test "${ac_cv_lib_mspack_mspack_create_chm_decompressor+set}" = set; then
27879 echo $ECHO_N "(cached
) $ECHO_C" >&6
27881 ac_check_lib_save_LIBS=$LIBS
27882 LIBS="-lmspack $LIBS"
27883 cat >conftest.$ac_ext <<_ACEOF
27886 cat confdefs.h >>conftest.$ac_ext
27887 cat >>conftest.$ac_ext <<_ACEOF
27888 /* end confdefs.h. */
27890 /* Override any GCC internal prototype to avoid an error.
27891 Use char because int might match the return type of a GCC
27892 builtin and then its argument prototype would still apply. */
27896 char mspack_create_chm_decompressor ();
27900 return mspack_create_chm_decompressor ();
27905 rm -f conftest.$ac_objext conftest$ac_exeext
27906 if { (ac_try="$ac_link"
27907 case "(($ac_try" in
27908 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27909 *) ac_try_echo=$ac_try;;
27911 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
27912 (eval "$ac_link") 2>conftest.er1
27914 grep -v '^ *+' conftest.er1 >conftest.err
27916 cat conftest.err >&5
27917 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
27918 (exit $ac_status); } && {
27919 test -z "$ac_c_werror_flag" ||
27920 test ! -s conftest.err
27921 } && test -s conftest$ac_exeext &&
27922 $as_test_x conftest$ac_exeext; then
27923 ac_cv_lib_mspack_mspack_create_chm_decompressor=yes
27925 echo "$as_me: failed program was
:" >&5
27926 sed 's/^/| /' conftest.$ac_ext >&5
27928 ac_cv_lib_mspack_mspack_create_chm_decompressor=no
27931 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27932 conftest$ac_exeext conftest.$ac_ext
27933 LIBS=$ac_check_lib_save_LIBS
27935 { echo "$as_me:$LINENO: result
: $ac_cv_lib_mspack_mspack_create_chm_decompressor" >&5
27936 echo "${ECHO_T}$ac_cv_lib_mspack_mspack_create_chm_decompressor" >&6; }
27937 if test $ac_cv_lib_mspack_mspack_create_chm_decompressor = yes; then
27938 MSPACK_LINK=" -lmspack"
27942 if test "x
$MSPACK_LINK" = "x
" ; then
27947 if test "$wxUSE_LIBMSPACK" != "no
"; then
27948 cat >>confdefs.h <<\_ACEOF
27949 #define wxUSE_LIBMSPACK 1
27963 if test "$USE_WIN32" = 1 ; then
27965 for ac_header in w32api.h
27967 as_ac_Header=`echo "ac_cv_header_
$ac_header" | $as_tr_sh`
27968 { echo "$as_me:$LINENO: checking
for $ac_header" >&5
27969 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6; }
27970 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
27971 echo $ECHO_N "(cached
) $ECHO_C" >&6
27973 cat >conftest.$ac_ext <<_ACEOF
27976 cat confdefs.h >>conftest.$ac_ext
27977 cat >>conftest.$ac_ext <<_ACEOF
27978 /* end confdefs.h. */
27981 #include <$ac_header>
27983 rm -f conftest.$ac_objext
27984 if { (ac_try="$ac_compile"
27985 case "(($ac_try" in
27986 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27987 *) ac_try_echo=$ac_try;;
27989 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
27990 (eval "$ac_compile") 2>conftest.er1
27992 grep -v '^ *+' conftest.er1 >conftest.err
27994 cat conftest.err >&5
27995 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
27996 (exit $ac_status); } && {
27997 test -z "$ac_c_werror_flag" ||
27998 test ! -s conftest.err
27999 } && test -s conftest.$ac_objext; then
28000 eval "$as_ac_Header=yes"
28002 echo "$as_me: failed program was
:" >&5
28003 sed 's/^/| /' conftest.$ac_ext >&5
28005 eval "$as_ac_Header=no
"
28008 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28010 ac_res=`eval echo '${'$as_ac_Header'}'`
28011 { echo "$as_me:$LINENO: result
: $ac_res" >&5
28012 echo "${ECHO_T}$ac_res" >&6; }
28013 if test `eval echo '${'$as_ac_Header'}'` = yes; then
28014 cat >>confdefs.h <<_ACEOF
28015 #define `echo "HAVE_
$ac_header" | $as_tr_cpp` 1
28022 { echo "$as_me:$LINENO: checking
for windows.h
" >&5
28023 echo $ECHO_N "checking
for windows.h...
$ECHO_C" >&6; }
28024 if test "${ac_cv_header_windows_h+set}" = set; then
28025 echo $ECHO_N "(cached
) $ECHO_C" >&6
28027 cat >conftest.$ac_ext <<_ACEOF
28030 cat confdefs.h >>conftest.$ac_ext
28031 cat >>conftest.$ac_ext <<_ACEOF
28032 /* end confdefs.h. */
28035 #include <windows.h>
28037 rm -f conftest.$ac_objext
28038 if { (ac_try="$ac_compile"
28039 case "(($ac_try" in
28040 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28041 *) ac_try_echo=$ac_try;;
28043 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
28044 (eval "$ac_compile") 2>conftest.er1
28046 grep -v '^ *+' conftest.er1 >conftest.err
28048 cat conftest.err >&5
28049 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
28050 (exit $ac_status); } && {
28051 test -z "$ac_c_werror_flag" ||
28052 test ! -s conftest.err
28053 } && test -s conftest.$ac_objext; then
28054 ac_cv_header_windows_h=yes
28056 echo "$as_me: failed program was
:" >&5
28057 sed 's/^/| /' conftest.$ac_ext >&5
28059 ac_cv_header_windows_h=no
28062 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28064 { echo "$as_me:$LINENO: result
: $ac_cv_header_windows_h" >&5
28065 echo "${ECHO_T}$ac_cv_header_windows_h" >&6; }
28066 if test $ac_cv_header_windows_h = yes; then
28070 { { echo "$as_me:$LINENO: error
: please
set CFLAGS to contain the location of windows.h
" >&5
28071 echo "$as_me: error
: please
set CFLAGS to contain the location of windows.h
" >&2;}
28072 { (exit 1); exit 1; }; }
28079 x86_64-*-mingw32* )
28080 LIBS="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -lwctl3d32 -ladvapi32 -lwsock32 -lgdi32"
28083 LIBS="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -lctl3d32 -ladvapi32 -lwsock32 -lgdi32"
28086 if test "$wxUSE_ACCESSIBILITY" = "yes" ; then
28087 LIBS="$LIBS -loleacc"
28092 LIBS="$LIBS -lkernel32 -luser32"
28095 RESFLAGS="--include-dir \
$(top_srcdir)/include
--include-dir \
$(top_srcdir)/\
$(program_dir) --define __WIN32__
--define __WIN95__
--define __GNUWIN32__
"
28096 RESPROGRAMOBJ="\
$(PROGRAM)_resources.o
"
28098 WXCONFIG_RESFLAGS="--define __WIN32__
--define __WIN95__
--define __GNUWIN32__
"
28100 WIN32INSTALL=win32install
28102 { echo "$as_me:$LINENO: checking
for pbt.h
" >&5
28103 echo $ECHO_N "checking
for pbt.h...
$ECHO_C" >&6; }
28104 if test "${ac_cv_header_pbt_h+set}" = set; then
28105 echo $ECHO_N "(cached
) $ECHO_C" >&6
28107 cat >conftest.$ac_ext <<_ACEOF
28110 cat confdefs.h >>conftest.$ac_ext
28111 cat >>conftest.$ac_ext <<_ACEOF
28112 /* end confdefs.h. */
28117 rm -f conftest.$ac_objext
28118 if { (ac_try="$ac_compile"
28119 case "(($ac_try" in
28120 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28121 *) ac_try_echo=$ac_try;;
28123 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
28124 (eval "$ac_compile") 2>conftest.er1
28126 grep -v '^ *+' conftest.er1 >conftest.err
28128 cat conftest.err >&5
28129 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
28130 (exit $ac_status); } && {
28131 test -z "$ac_c_werror_flag" ||
28132 test ! -s conftest.err
28133 } && test -s conftest.$ac_objext; then
28134 ac_cv_header_pbt_h=yes
28136 echo "$as_me: failed program was
:" >&5
28137 sed 's/^/| /' conftest.$ac_ext >&5
28139 ac_cv_header_pbt_h=no
28142 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28144 { echo "$as_me:$LINENO: result
: $ac_cv_header_pbt_h" >&5
28145 echo "${ECHO_T}$ac_cv_header_pbt_h" >&6; }
28146 if test $ac_cv_header_pbt_h = yes; then
28149 cat >>confdefs.h <<\_ACEOF
28150 #define NEED_PBT_H 1
28158 if test "$wxUSE_GUI" = "yes"; then
28168 if test "$wxUSE_COCOA" = 1 ; then
28169 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes"; then
28170 { echo "$as_me:$LINENO: WARNING
: Printing not supported under wxCocoa yet
, disabled
" >&5
28171 echo "$as_me: WARNING
: Printing not supported under wxCocoa yet
, disabled
" >&2;}
28172 wxUSE_PRINTING_ARCHITECTURE=no
28174 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
28175 { echo "$as_me:$LINENO: WARNING
: Drag and Drop not supported under wxCocoa yet
, disabled
" >&5
28176 echo "$as_me: WARNING
: Drag and Drop not supported under wxCocoa yet
, disabled
" >&2;}
28177 wxUSE_DRAG_AND_DROP=no
28179 if test "$wxUSE_DRAGIMAGE" = "yes"; then
28180 { echo "$as_me:$LINENO: WARNING
: wxDragImage not supported under wxCocoa yet
, disabled
" >&5
28181 echo "$as_me: WARNING
: wxDragImage not supported under wxCocoa yet
, disabled
" >&2;}
28186 if test "$wxUSE_MSW" = 1 ; then
28192 WXCONFIG_LDFLAGS_GUI="$LDFLAGS -Wl,--subsystem,windows
-mwindows"
28196 if test "$wxUSE_GTK" = 1; then
28197 { echo "$as_me:$LINENO: checking
for GTK
+ version
" >&5
28198 echo $ECHO_N "checking
for GTK
+ version...
$ECHO_C" >&6; }
28200 gtk_version_cached=1
28201 if test "${wx_cv_lib_gtk+set}" = set; then
28202 echo $ECHO_N "(cached
) $ECHO_C" >&6
28205 gtk_version_cached=0
28206 { echo "$as_me:$LINENO: result
: " >&5
28207 echo "${ECHO_T}" >&6; }
28210 if test "$wxUSE_THREADS" = "yes"; then
28211 GTK_MODULES=gthread
28215 if test "x
$wxGTK_VERSION" != "x1
"
28219 if test "$wxUSE_THREADS" = "yes" -a "$GCC" = yes; then
28224 # Check whether --enable-gtktest was given.
28225 if test "${enable_gtktest+set}" = set; then
28226 enableval=$enable_gtktest;
28232 pkg_config_args=gtk+-2.0
28233 for module in . $GTK_MODULES
28237 pkg_config_args="$pkg_config_args gthread
-2.0
"
28244 # Extract the first word of "pkg
-config", so it can be a program name with args.
28245 set dummy pkg-config; ac_word=$2
28246 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
28247 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
28248 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
28249 echo $ECHO_N "(cached
) $ECHO_C" >&6
28251 case $PKG_CONFIG in
28253 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
28256 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
28257 for as_dir in $PATH
28260 test -z "$as_dir" && as_dir=.
28261 for ac_exec_ext in '' $ac_executable_extensions; do
28262 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
28263 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
28264 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
28271 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no
"
28275 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
28276 if test -n "$PKG_CONFIG"; then
28277 { echo "$as_me:$LINENO: result
: $PKG_CONFIG" >&5
28278 echo "${ECHO_T}$PKG_CONFIG" >&6; }
28280 { echo "$as_me:$LINENO: result
: no
" >&5
28281 echo "${ECHO_T}no
" >&6; }
28286 if test x$PKG_CONFIG != xno ; then
28287 if pkg-config --atleast-pkgconfig-version 0.7 ; then
28290 echo "*** pkg
-config too old
; version
0.7 or better required.
"
28298 min_gtk_version=2.4.0
28299 { echo "$as_me:$LINENO: checking
for GTK
+ - version
>= $min_gtk_version" >&5
28300 echo $ECHO_N "checking
for GTK
+ - version
>= $min_gtk_version...
$ECHO_C" >&6; }
28302 if test x$PKG_CONFIG != xno ; then
28303 ## don't try to run the test against uninstalled libtool libs
28304 if $PKG_CONFIG --uninstalled $pkg_config_args; then
28305 echo "Will use uninstalled version of GTK
+ found
in PKG_CONFIG_PATH
"
28309 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
28316 if test x"$no_gtk" = x ; then
28317 GTK_CFLAGS=`$PKG_CONFIG $pkg_config_args --cflags`
28318 GTK_LIBS=`$PKG_CONFIG $pkg_config_args --libs`
28319 gtk_config_major_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
28320 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
28321 gtk_config_minor_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
28322 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
28323 gtk_config_micro_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
28324 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
28325 if test "x
$enable_gtktest" = "xyes
" ; then
28326 ac_save_CFLAGS="$CFLAGS"
28327 ac_save_LIBS="$LIBS"
28328 CFLAGS="$CFLAGS $GTK_CFLAGS"
28329 LIBS="$GTK_LIBS $LIBS"
28331 if test "$cross_compiling" = yes; then
28332 echo $ac_n "cross compiling
; assumed OK...
$ac_c"
28334 cat >conftest.$ac_ext <<_ACEOF
28337 cat confdefs.h >>conftest.$ac_ext
28338 cat >>conftest.$ac_ext <<_ACEOF
28339 /* end confdefs.h. */
28341 #include <gtk/gtk.h>
28343 #include <stdlib.h>
28348 int major, minor, micro;
28351 system ("touch conf.gtktest
");
28353 /* HP/UX 9 (%@#!) writes to sscanf strings */
28354 tmp_version = g_strdup("$min_gtk_version");
28355 if (sscanf(tmp_version, "%d.
%d.
%d
", &major, &minor, µ) != 3) {
28356 printf("%s
, bad version string
\n", "$min_gtk_version");
28360 if ((gtk_major_version != $gtk_config_major_version) ||
28361 (gtk_minor_version != $gtk_config_minor_version) ||
28362 (gtk_micro_version != $gtk_config_micro_version))
28364 printf("\n*** 'pkg-config --modversion gtk+-2.0' returned
%d.
%d.
%d
, but GTK
+ (%d.
%d.
%d
)\n",
28365 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
28366 gtk_major_version, gtk_minor_version, gtk_micro_version);
28367 printf ("*** was found
! If pkg
-config was correct
, then it is best
\n");
28368 printf ("*** to remove the old version of GTK
+. You may also be able to fix the error
\n");
28369 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable
, or by editing
\n");
28370 printf("*** /etc
/ld.so.conf. Make sure you have run ldconfig
if that is
\n");
28371 printf("*** required on your system.
\n");
28372 printf("*** If pkg
-config was wrong
, set the environment variable PKG_CONFIG_PATH
\n");
28373 printf("*** to point to the correct configuration files
\n");
28375 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
28376 (gtk_minor_version != GTK_MINOR_VERSION) ||
28377 (gtk_micro_version != GTK_MICRO_VERSION))
28379 printf("*** GTK
+ header files
(version
%d.
%d.
%d
) do not match
\n",
28380 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
28381 printf("*** library
(version
%d.
%d.
%d
)\n",
28382 gtk_major_version, gtk_minor_version, gtk_micro_version);
28386 if ((gtk_major_version > major) ||
28387 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
28388 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
28394 printf("\n*** An old version of GTK
+ (%d.
%d.
%d
) was found.
\n",
28395 gtk_major_version, gtk_minor_version, gtk_micro_version);
28396 printf("*** You need a version of GTK
+ newer than
%d.
%d.
%d. The latest version of
\n",
28397 major, minor, micro);
28398 printf("*** GTK
+ is always available from
ftp://ftp.gtk.org.
\n");
28400 printf("*** If you have already installed a sufficiently new version
, this error
\n");
28401 printf("*** probably means that the wrong copy of the pkg
-config shell
script is
\n");
28402 printf("*** being found. The easiest way to fix this is to remove the old version
\n");
28403 printf("*** of GTK
+, but you can also
set the PKG_CONFIG environment to point to the
\n");
28404 printf("*** correct copy of pkg
-config.
(In this
case, you will have to
\n");
28405 printf("*** modify your LD_LIBRARY_PATH enviroment variable
, or edit
/etc
/ld.so.conf
\n");
28406 printf("*** so that the correct libraries are found
at run
-time))\n");
28413 rm -f conftest$ac_exeext
28414 if { (ac_try="$ac_link"
28415 case "(($ac_try" in
28416 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28417 *) ac_try_echo=$ac_try;;
28419 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
28420 (eval "$ac_link") 2>&5
28422 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
28423 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
28424 { (case "(($ac_try" in
28425 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28426 *) ac_try_echo=$ac_try;;
28428 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
28429 (eval "$ac_try") 2>&5
28431 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
28432 (exit $ac_status); }; }; then
28435 echo "$as_me: program exited with status
$ac_status" >&5
28436 echo "$as_me: failed program was
:" >&5
28437 sed 's/^/| /' conftest.$ac_ext >&5
28439 ( exit $ac_status )
28442 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
28446 CFLAGS="$ac_save_CFLAGS"
28447 LIBS="$ac_save_LIBS"
28450 if test "x
$no_gtk" = x ; then
28451 { echo "$as_me:$LINENO: result
: yes (version
$gtk_config_major_version.
$gtk_config_minor_version.
$gtk_config_micro_version)" >&5
28452 echo "${ECHO_T}yes (version
$gtk_config_major_version.
$gtk_config_minor_version.
$gtk_config_micro_version)" >&6; }
28455 { echo "$as_me:$LINENO: result
: no
" >&5
28456 echo "${ECHO_T}no
" >&6; }
28457 if test "$PKG_CONFIG" = "no
" ; then
28458 echo "*** A new enough version of pkg
-config was not found.
"
28459 echo "*** See http
://pkgconfig.sourceforge.net
"
28461 if test -f conf.gtktest ; then
28464 echo "*** Could not run GTK
+ test program
, checking why...
"
28465 ac_save_CFLAGS="$CFLAGS"
28466 ac_save_LIBS="$LIBS"
28467 CFLAGS="$CFLAGS $GTK_CFLAGS"
28468 LIBS="$LIBS $GTK_LIBS"
28469 cat >conftest.$ac_ext <<_ACEOF
28472 cat confdefs.h >>conftest.$ac_ext
28473 cat >>conftest.$ac_ext <<_ACEOF
28474 /* end confdefs.h. */
28476 #include <gtk/gtk.h>
28482 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
28487 rm -f conftest.$ac_objext conftest$ac_exeext
28488 if { (ac_try="$ac_link"
28489 case "(($ac_try" in
28490 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28491 *) ac_try_echo=$ac_try;;
28493 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
28494 (eval "$ac_link") 2>conftest.er1
28496 grep -v '^ *+' conftest.er1 >conftest.err
28498 cat conftest.err >&5
28499 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
28500 (exit $ac_status); } && {
28501 test -z "$ac_c_werror_flag" ||
28502 test ! -s conftest.err
28503 } && test -s conftest$ac_exeext &&
28504 $as_test_x conftest$ac_exeext; then
28505 echo "*** The
test program compiled
, but did not run. This usually means
"
28506 echo "*** that the run
-time linker is not finding GTK
+ or finding the wrong
"
28507 echo "*** version of GTK
+. If it is not finding GTK
+, you
'll need to set your"
28508 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
28509 echo "*** to the installed location Also, make sure you have run ldconfig if that"
28510 echo "*** is required on your system"
28512 echo "*** If you have an old version installed, it is best to remove it, although"
28513 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
28515 echo "$as_me: failed program was:" >&5
28516 sed 's
/^
/| /' conftest.$ac_ext >&5
28518 echo "*** The test program failed to compile or link. See the file config.log for the"
28519 echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."
28522 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28523 conftest$ac_exeext conftest.$ac_ext
28524 CFLAGS="$ac_save_CFLAGS"
28525 LIBS="$ac_save_LIBS"
28539 if test "$wxUSE_SHARED" != "yes"; then
28540 GTK_LIBS="$GTK_LIBS -lX11"
28545 if test -z "$wx_cv_lib_gtk"; then
28546 if test "x$wxGTK_VERSION" = "x1" -o "x$wxGTK_VERSION" = "xany" ; then
28548 # Check whether --with-gtk-prefix was given.
28549 if test "${with_gtk_prefix+set}" = set; then
28550 withval=$with_gtk_prefix; gtk_config_prefix="$withval"
28552 gtk_config_prefix=""
28556 # Check whether --with-gtk-exec-prefix was given.
28557 if test "${with_gtk_exec_prefix+set}" = set; then
28558 withval=$with_gtk_exec_prefix; gtk_config_exec_prefix="$withval"
28560 gtk_config_exec_prefix=""
28563 # Check whether --enable-gtktest was given.
28564 if test "${enable_gtktest+set}" = set; then
28565 enableval=$enable_gtktest;
28571 for module in . $GTK_MODULES
28575 gtk_config_args="$gtk_config_args gthread"
28580 if test x$gtk_config_exec_prefix != x ; then
28581 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
28582 if test x${GTK_CONFIG+set} != xset ; then
28583 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
28586 if test x$gtk_config_prefix != x ; then
28587 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
28588 if test x${GTK_CONFIG+set} != xset ; then
28589 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
28593 # Extract the first word of "gtk-config", so it can be a program name with args.
28594 set dummy gtk-config; ac_word=$2
28595 { echo "$as_me:$LINENO: checking for $ac_word" >&5
28596 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
28597 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
28598 echo $ECHO_N "(cached) $ECHO_C" >&6
28600 case $GTK_CONFIG in
28602 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
28605 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
28606 for as_dir in $PATH
28609 test -z "$as_dir" && as_dir=.
28610 for ac_exec_ext in '' $ac_executable_extensions; do
28611 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
28612 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
28613 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
28620 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
28624 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
28625 if test -n "$GTK_CONFIG"; then
28626 { echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
28627 echo "${ECHO_T}$GTK_CONFIG" >&6; }
28629 { echo "$as_me:$LINENO: result: no" >&5
28630 echo "${ECHO_T}no" >&6; }
28634 min_gtk_version=1.2.7
28635 { echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
28636 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6; }
28638 if test "$GTK_CONFIG" = "no" ; then
28641 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
28642 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
28643 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
28644 sed 's
/\
([0-9]*\
).\
([0-9]*\
).\
([0-9]*\
)/\
1/'`
28645 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
28646 sed 's
/\
([0-9]*\
).\
([0-9]*\
).\
([0-9]*\
)/\
2/'`
28647 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
28648 sed 's
/\
([0-9]*\
).\
([0-9]*\
).\
([0-9]*\
)/\
3/'`
28649 if test "x$enable_gtktest" = "xyes" ; then
28650 ac_save_CFLAGS="$CFLAGS"
28651 ac_save_LIBS="$LIBS"
28652 CFLAGS="$CFLAGS $GTK_CFLAGS"
28653 LIBS="$GTK_LIBS $LIBS"
28655 if test "$cross_compiling" = yes; then
28656 echo $ac_n "cross compiling; assumed OK... $ac_c"
28658 cat >conftest.$ac_ext <<_ACEOF
28661 cat confdefs.h >>conftest.$ac_ext
28662 cat >>conftest.$ac_ext <<_ACEOF
28663 /* end confdefs.h. */
28665 #include <gtk/gtk.h>
28667 #include <stdlib.h>
28672 int major, minor, micro;
28675 system ("touch conf.gtktest");
28677 /* HP/UX 9 (%@#!) writes to sscanf strings */
28678 tmp_version = g_strdup("$min_gtk_version");
28679 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
28680 printf("%s, bad version string\n", "$min_gtk_version");
28684 if ((gtk_major_version != $gtk_config_major_version) ||
28685 (gtk_minor_version != $gtk_config_minor_version) ||
28686 (gtk_micro_version != $gtk_config_micro_version))
28688 printf("\n*** 'gtk
-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
28689 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
28690 gtk_major_version, gtk_minor_version, gtk_micro_version);
28691 printf ("*** was found! If gtk-config was correct, then it is best\n");
28692 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
28693 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
28694 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
28695 printf("*** required on your system.\n");
28696 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
28697 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
28698 printf("*** before re-running configure\n");
28700 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
28701 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
28702 (gtk_minor_version != GTK_MINOR_VERSION) ||
28703 (gtk_micro_version != GTK_MICRO_VERSION))
28705 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
28706 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
28707 printf("*** library (version %d.%d.%d)\n",
28708 gtk_major_version, gtk_minor_version, gtk_micro_version);
28710 #endif /* defined (GTK_MAJOR_VERSION) ... */
28713 if ((gtk_major_version > major) ||
28714 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
28715 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
28721 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
28722 gtk_major_version, gtk_minor_version, gtk_micro_version);
28723 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
28724 major, minor, micro);
28725 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
28727 printf("*** If you have already installed a sufficiently new version, this error\n");
28728 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
28729 printf("*** being found. The easiest way to fix this is to remove the old version\n");
28730 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
28731 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
28732 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
28733 printf("*** so that the correct libraries are found at run-time))\n");
28740 rm -f conftest$ac_exeext
28741 if { (ac_try="$ac_link"
28742 case "(($ac_try" in
28743 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28744 *) ac_try_echo=$ac_try;;
28746 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28747 (eval "$ac_link") 2>&5
28749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28750 (exit $ac_status); } && { ac_try='.
/conftest
$ac_exeext'
28751 { (case "(($ac_try" in
28752 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28753 *) ac_try_echo=$ac_try;;
28755 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28756 (eval "$ac_try") 2>&5
28758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28759 (exit $ac_status); }; }; then
28762 echo "$as_me: program exited with status $ac_status" >&5
28763 echo "$as_me: failed program was:" >&5
28764 sed 's
/^
/| /' conftest.$ac_ext >&5
28766 ( exit $ac_status )
28769 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
28773 CFLAGS="$ac_save_CFLAGS"
28774 LIBS="$ac_save_LIBS"
28777 if test "x$no_gtk" = x ; then
28778 { echo "$as_me:$LINENO: result: yes" >&5
28779 echo "${ECHO_T}yes" >&6; }
28780 wx_cv_lib_gtk=1.2.7
28782 { echo "$as_me:$LINENO: result: no" >&5
28783 echo "${ECHO_T}no" >&6; }
28784 if test "$GTK_CONFIG" = "no" ; then
28785 echo "*** The gtk-config script installed by GTK could not be found"
28786 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
28787 echo "*** your path, or set the GTK_CONFIG environment variable to the"
28788 echo "*** full path to gtk-config."
28790 if test -f conf.gtktest ; then
28793 echo "*** Could not run GTK test program, checking why..."
28794 CFLAGS="$CFLAGS $GTK_CFLAGS"
28795 LIBS="$LIBS $GTK_LIBS"
28796 cat >conftest.$ac_ext <<_ACEOF
28799 cat confdefs.h >>conftest.$ac_ext
28800 cat >>conftest.$ac_ext <<_ACEOF
28801 /* end confdefs.h. */
28803 #include <gtk/gtk.h>
28809 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
28814 rm -f conftest.$ac_objext conftest$ac_exeext
28815 if { (ac_try="$ac_link"
28816 case "(($ac_try" in
28817 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28818 *) ac_try_echo=$ac_try;;
28820 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28821 (eval "$ac_link") 2>conftest.er1
28823 grep -v '^
*+' conftest.er1 >conftest.err
28825 cat conftest.err >&5
28826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28827 (exit $ac_status); } && {
28828 test -z "$ac_c_werror_flag" ||
28829 test ! -s conftest.err
28830 } && test -s conftest$ac_exeext &&
28831 $as_test_x conftest$ac_exeext; then
28832 echo "*** The test program compiled, but did not run. This usually means"
28833 echo "*** that the run-time linker is not finding GTK or finding the wrong"
28834 echo "*** version of GTK. If it is not finding GTK, you'll need to
set your
"
28835 echo "*** LD_LIBRARY_PATH environment variable
, or edit
/etc
/ld.so.conf to point
"
28836 echo "*** to the installed location Also
, make sure you have run ldconfig
if that
"
28837 echo "*** is required on your system
"
28839 echo "*** If you have an old version installed
, it is best to remove it
, although
"
28840 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH
"
28842 echo "*** If you have a RedHat
5.0 system
, you should remove the GTK package that
"
28843 echo "*** came with the system with the
command"
28845 echo "*** rpm
--erase --nodeps gtk gtk
-devel"
28847 echo "$as_me: failed program was
:" >&5
28848 sed 's/^/| /' conftest.$ac_ext >&5
28850 echo "*** The
test program failed to compile or link. See the
file config.log
for the
"
28851 echo "*** exact error that occured. This usually means GTK was incorrectly installed
"
28852 echo "*** or that you have moved GTK since it was installed. In the latter
case, you
"
28853 echo "*** may want to edit the gtk
-config script: $GTK_CONFIG"
28856 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28857 conftest$ac_exeext conftest.$ac_ext
28858 CFLAGS="$ac_save_CFLAGS"
28859 LIBS="$ac_save_LIBS"
28871 if test -z "$wx_cv_lib_gtk"; then
28873 # Check whether --with-gtk-prefix was given.
28874 if test "${with_gtk_prefix+set}" = set; then
28875 withval=$with_gtk_prefix; gtk_config_prefix="$withval"
28877 gtk_config_prefix=""
28881 # Check whether --with-gtk-exec-prefix was given.
28882 if test "${with_gtk_exec_prefix+set}" = set; then
28883 withval=$with_gtk_exec_prefix; gtk_config_exec_prefix="$withval"
28885 gtk_config_exec_prefix=""
28888 # Check whether --enable-gtktest was given.
28889 if test "${enable_gtktest+set}" = set; then
28890 enableval=$enable_gtktest;
28896 for module in . $GTK_MODULES
28900 gtk_config_args="$gtk_config_args gthread
"
28905 if test x$gtk_config_exec_prefix != x ; then
28906 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
28907 if test x${GTK_CONFIG+set} != xset ; then
28908 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
28911 if test x$gtk_config_prefix != x ; then
28912 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
28913 if test x${GTK_CONFIG+set} != xset ; then
28914 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
28918 # Extract the first word of "gtk
-config", so it can be a program name with args.
28919 set dummy gtk-config; ac_word=$2
28920 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
28921 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
28922 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
28923 echo $ECHO_N "(cached
) $ECHO_C" >&6
28925 case $GTK_CONFIG in
28927 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
28930 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
28931 for as_dir in $PATH
28934 test -z "$as_dir" && as_dir=.
28935 for ac_exec_ext in '' $ac_executable_extensions; do
28936 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
28937 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
28938 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
28945 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no
"
28949 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
28950 if test -n "$GTK_CONFIG"; then
28951 { echo "$as_me:$LINENO: result
: $GTK_CONFIG" >&5
28952 echo "${ECHO_T}$GTK_CONFIG" >&6; }
28954 { echo "$as_me:$LINENO: result
: no
" >&5
28955 echo "${ECHO_T}no
" >&6; }
28959 min_gtk_version=1.2.3
28960 { echo "$as_me:$LINENO: checking
for GTK
- version
>= $min_gtk_version" >&5
28961 echo $ECHO_N "checking
for GTK
- version
>= $min_gtk_version...
$ECHO_C" >&6; }
28963 if test "$GTK_CONFIG" = "no
" ; then
28966 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
28967 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
28968 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
28969 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
28970 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
28971 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
28972 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
28973 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
28974 if test "x
$enable_gtktest" = "xyes
" ; then
28975 ac_save_CFLAGS="$CFLAGS"
28976 ac_save_LIBS="$LIBS"
28977 CFLAGS="$CFLAGS $GTK_CFLAGS"
28978 LIBS="$GTK_LIBS $LIBS"
28980 if test "$cross_compiling" = yes; then
28981 echo $ac_n "cross compiling
; assumed OK...
$ac_c"
28983 cat >conftest.$ac_ext <<_ACEOF
28986 cat confdefs.h >>conftest.$ac_ext
28987 cat >>conftest.$ac_ext <<_ACEOF
28988 /* end confdefs.h. */
28990 #include <gtk/gtk.h>
28992 #include <stdlib.h>
28997 int major, minor, micro;
29000 system ("touch conf.gtktest
");
29002 /* HP/UX 9 (%@#!) writes to sscanf strings */
29003 tmp_version = g_strdup("$min_gtk_version");
29004 if (sscanf(tmp_version, "%d.
%d.
%d
", &major, &minor, µ) != 3) {
29005 printf("%s
, bad version string
\n", "$min_gtk_version");
29009 if ((gtk_major_version != $gtk_config_major_version) ||
29010 (gtk_minor_version != $gtk_config_minor_version) ||
29011 (gtk_micro_version != $gtk_config_micro_version))
29013 printf("\n*** 'gtk-config --version' returned
%d.
%d.
%d
, but GTK
+ (%d.
%d.
%d
)\n",
29014 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
29015 gtk_major_version, gtk_minor_version, gtk_micro_version);
29016 printf ("*** was found
! If gtk
-config was correct
, then it is best
\n");
29017 printf ("*** to remove the old version of GTK
+. You may also be able to fix the error
\n");
29018 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable
, or by editing
\n");
29019 printf("*** /etc
/ld.so.conf. Make sure you have run ldconfig
if that is
\n");
29020 printf("*** required on your system.
\n");
29021 printf("*** If gtk
-config was wrong
, set the environment variable GTK_CONFIG
\n");
29022 printf("*** to point to the correct copy of gtk
-config, and remove the
file config.cache
\n");
29023 printf("*** before re
-running configure
\n");
29025 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
29026 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
29027 (gtk_minor_version != GTK_MINOR_VERSION) ||
29028 (gtk_micro_version != GTK_MICRO_VERSION))
29030 printf("*** GTK
+ header files
(version
%d.
%d.
%d
) do not match
\n",
29031 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
29032 printf("*** library
(version
%d.
%d.
%d
)\n",
29033 gtk_major_version, gtk_minor_version, gtk_micro_version);
29035 #endif /* defined (GTK_MAJOR_VERSION) ... */
29038 if ((gtk_major_version > major) ||
29039 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
29040 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
29046 printf("\n*** An old version of GTK
+ (%d.
%d.
%d
) was found.
\n",
29047 gtk_major_version, gtk_minor_version, gtk_micro_version);
29048 printf("*** You need a version of GTK
+ newer than
%d.
%d.
%d. The latest version of
\n",
29049 major, minor, micro);
29050 printf("*** GTK
+ is always available from
ftp://ftp.gtk.org.
\n");
29052 printf("*** If you have already installed a sufficiently new version
, this error
\n");
29053 printf("*** probably means that the wrong copy of the gtk
-config shell
script is
\n");
29054 printf("*** being found. The easiest way to fix this is to remove the old version
\n");
29055 printf("*** of GTK
+, but you can also
set the GTK_CONFIG environment to point to the
\n");
29056 printf("*** correct copy of gtk
-config.
(In this
case, you will have to
\n");
29057 printf("*** modify your LD_LIBRARY_PATH enviroment variable
, or edit
/etc
/ld.so.conf
\n");
29058 printf("*** so that the correct libraries are found
at run
-time))\n");
29065 rm -f conftest$ac_exeext
29066 if { (ac_try="$ac_link"
29067 case "(($ac_try" in
29068 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29069 *) ac_try_echo=$ac_try;;
29071 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
29072 (eval "$ac_link") 2>&5
29074 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
29075 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
29076 { (case "(($ac_try" in
29077 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29078 *) ac_try_echo=$ac_try;;
29080 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
29081 (eval "$ac_try") 2>&5
29083 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
29084 (exit $ac_status); }; }; then
29087 echo "$as_me: program exited with status
$ac_status" >&5
29088 echo "$as_me: failed program was
:" >&5
29089 sed 's/^/| /' conftest.$ac_ext >&5
29091 ( exit $ac_status )
29094 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
29098 CFLAGS="$ac_save_CFLAGS"
29099 LIBS="$ac_save_LIBS"
29102 if test "x
$no_gtk" = x ; then
29103 { echo "$as_me:$LINENO: result
: yes" >&5
29104 echo "${ECHO_T}yes" >&6; }
29105 wx_cv_lib_gtk=1.2.3
29107 { echo "$as_me:$LINENO: result
: no
" >&5
29108 echo "${ECHO_T}no
" >&6; }
29109 if test "$GTK_CONFIG" = "no
" ; then
29110 echo "*** The gtk
-config script installed by GTK could not be found
"
29111 echo "*** If GTK was installed
in PREFIX
, make sure PREFIX
/bin is
in"
29112 echo "*** your path
, or
set the GTK_CONFIG environment variable to the
"
29113 echo "*** full path to gtk
-config.
"
29115 if test -f conf.gtktest ; then
29118 echo "*** Could not run GTK
test program
, checking why...
"
29119 CFLAGS="$CFLAGS $GTK_CFLAGS"
29120 LIBS="$LIBS $GTK_LIBS"
29121 cat >conftest.$ac_ext <<_ACEOF
29124 cat confdefs.h >>conftest.$ac_ext
29125 cat >>conftest.$ac_ext <<_ACEOF
29126 /* end confdefs.h. */
29128 #include <gtk/gtk.h>
29134 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
29139 rm -f conftest.$ac_objext conftest$ac_exeext
29140 if { (ac_try="$ac_link"
29141 case "(($ac_try" in
29142 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29143 *) ac_try_echo=$ac_try;;
29145 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
29146 (eval "$ac_link") 2>conftest.er1
29148 grep -v '^ *+' conftest.er1 >conftest.err
29150 cat conftest.err >&5
29151 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
29152 (exit $ac_status); } && {
29153 test -z "$ac_c_werror_flag" ||
29154 test ! -s conftest.err
29155 } && test -s conftest$ac_exeext &&
29156 $as_test_x conftest$ac_exeext; then
29157 echo "*** The
test program compiled
, but did not run. This usually means
"
29158 echo "*** that the run
-time linker is not finding GTK or finding the wrong
"
29159 echo "*** version of GTK. If it is not finding GTK
, you
'll need to set your"
29160 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
29161 echo "*** to the installed location Also, make sure you have run ldconfig if that"
29162 echo "*** is required on your system"
29164 echo "*** If you have an old version installed, it is best to remove it, although"
29165 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
29167 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
29168 echo "*** came with the system with the command"
29170 echo "*** rpm --erase --nodeps gtk gtk-devel"
29172 echo "$as_me: failed program was:" >&5
29173 sed 's
/^
/| /' conftest.$ac_ext >&5
29175 echo "*** The test program failed to compile or link. See the file config.log for the"
29176 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
29177 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
29178 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
29181 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29182 conftest$ac_exeext conftest.$ac_ext
29183 CFLAGS="$ac_save_CFLAGS"
29184 LIBS="$ac_save_LIBS"
29199 if test -z "$wx_cv_lib_gtk"; then
29202 wx_cv_cflags_gtk=$GTK_CFLAGS
29203 wx_cv_libs_gtk=`echo $GTK_LIBS | sed -e 's
/ -l[^
]*cairo
[^
]*//g
'`
29210 if test "$gtk_version_cached" = 1; then
29211 { echo "$as_me:$LINENO: result: $wx_cv_lib_gtk" >&5
29212 echo "${ECHO_T}$wx_cv_lib_gtk" >&6; }
29215 case "$wx_cv_lib_gtk" in
29224 *) { { echo "$as_me:$LINENO: error:
29225 The development files for GTK+ were not found. For GTK+ 2, please
29226 ensure that pkg-config is in the path and that gtk+-2.0.pc is
29227 installed. For GTK+ 1.2 please check that gtk-config is in the path,
29228 and that the version is 1.2.3 or above. Also check that the
29229 libraries returned by 'pkg
-config gtk
+-2.0
--libs' or 'gtk
-config
29230 --libs' are in the LD_LIBRARY_PATH or equivalent.
29232 echo "$as_me: error:
29233 The development files for GTK+ were not found. For GTK+ 2, please
29234 ensure that pkg-config is in the path and that gtk+-2.0.pc is
29235 installed. For GTK+ 1.2 please check that gtk-config is in the path,
29236 and that the version is 1.2.3 or above. Also check that the
29237 libraries returned by 'pkg
-config gtk
+-2.0
--libs' or 'gtk
-config
29238 --libs' are in the LD_LIBRARY_PATH or equivalent.
29240 { (exit 1); exit 1; }; }
29244 if test "$WXGTK2" = 1; then
29245 save_CFLAGS="$CFLAGS"
29247 CFLAGS="$wx_cv_cflags_gtk $CFLAGS"
29248 LIBS="$LIBS $wx_cv_libs_gtk"
29250 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.10" >&5
29251 echo $ECHO_N "checking if GTK+ is version >= 2.10... $ECHO_C" >&6; }
29252 cat >conftest.$ac_ext <<_ACEOF
29255 cat confdefs.h >>conftest.$ac_ext
29256 cat >>conftest.$ac_ext <<_ACEOF
29257 /* end confdefs.h. */
29259 #include <gtk/gtk.h>
29265 #if !GTK_CHECK_VERSION(2,10,0)
29273 rm -f conftest.$ac_objext
29274 if { (ac_try="$ac_compile"
29275 case "(($ac_try" in
29276 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29277 *) ac_try_echo=$ac_try;;
29279 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29280 (eval "$ac_compile") 2>conftest.er1
29282 grep -v '^
*+' conftest.er1 >conftest.err
29284 cat conftest.err >&5
29285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29286 (exit $ac_status); } && {
29287 test -z "$ac_c_werror_flag" ||
29288 test ! -s conftest.err
29289 } && test -s conftest.$ac_objext; then
29291 cat >>confdefs.h <<\_ACEOF
29292 #define __WXGTK210__ 1
29295 cat >>confdefs.h <<\_ACEOF
29296 #define __WXGTK26__ 1
29299 { echo "$as_me:$LINENO: result: yes" >&5
29300 echo "${ECHO_T}yes" >&6; }
29304 echo "$as_me: failed program was:" >&5
29305 sed 's
/^
/| /' conftest.$ac_ext >&5
29308 { echo "$as_me:$LINENO: result: no" >&5
29309 echo "${ECHO_T}no" >&6; }
29314 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29316 if test "$ac_wxgtk210" = 0; then
29317 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.6" >&5
29318 echo $ECHO_N "checking if GTK+ is version >= 2.6... $ECHO_C" >&6; }
29319 cat >conftest.$ac_ext <<_ACEOF
29322 cat confdefs.h >>conftest.$ac_ext
29323 cat >>conftest.$ac_ext <<_ACEOF
29324 /* end confdefs.h. */
29326 #include <gtk/gtk.h>
29332 #if !GTK_CHECK_VERSION(2,6,0)
29340 rm -f conftest.$ac_objext
29341 if { (ac_try="$ac_compile"
29342 case "(($ac_try" in
29343 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29344 *) ac_try_echo=$ac_try;;
29346 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29347 (eval "$ac_compile") 2>conftest.er1
29349 grep -v '^
*+' conftest.er1 >conftest.err
29351 cat conftest.err >&5
29352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29353 (exit $ac_status); } && {
29354 test -z "$ac_c_werror_flag" ||
29355 test ! -s conftest.err
29356 } && test -s conftest.$ac_objext; then
29358 cat >>confdefs.h <<\_ACEOF
29359 #define __WXGTK26__ 1
29362 { echo "$as_me:$LINENO: result: yes" >&5
29363 echo "${ECHO_T}yes" >&6; }
29367 echo "$as_me: failed program was:" >&5
29368 sed 's
/^
/| /' conftest.$ac_ext >&5
29371 { echo "$as_me:$LINENO: result: no" >&5
29372 echo "${ECHO_T}no" >&6; }
29377 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29380 CFLAGS="$save_CFLAGS"
29383 if test "$wxUSE_UNICODE" = "yes"; then
29384 { echo "$as_me:$LINENO: WARNING: Unicode configuration not supported with GTK+ 1.x" >&5
29385 echo "$as_me: WARNING: Unicode configuration not supported with GTK+ 1.x" >&2;}
29389 { echo "$as_me:$LINENO: checking for gdk_im_open in -lgdk" >&5
29390 echo $ECHO_N "checking for gdk_im_open in -lgdk... $ECHO_C" >&6; }
29391 if test "${ac_cv_lib_gdk_gdk_im_open+set}" = set; then
29392 echo $ECHO_N "(cached) $ECHO_C" >&6
29394 ac_check_lib_save_LIBS=$LIBS
29396 cat >conftest.$ac_ext <<_ACEOF
29399 cat confdefs.h >>conftest.$ac_ext
29400 cat >>conftest.$ac_ext <<_ACEOF
29401 /* end confdefs.h. */
29403 /* Override any GCC internal prototype to avoid an error.
29404 Use char because int might match the return type of a GCC
29405 builtin and then its argument prototype would still apply. */
29409 char gdk_im_open ();
29413 return gdk_im_open ();
29418 rm -f conftest.$ac_objext conftest$ac_exeext
29419 if { (ac_try="$ac_link"
29420 case "(($ac_try" in
29421 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29422 *) ac_try_echo=$ac_try;;
29424 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29425 (eval "$ac_link") 2>conftest.er1
29427 grep -v '^
*+' conftest.er1 >conftest.err
29429 cat conftest.err >&5
29430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29431 (exit $ac_status); } && {
29432 test -z "$ac_c_werror_flag" ||
29433 test ! -s conftest.err
29434 } && test -s conftest$ac_exeext &&
29435 $as_test_x conftest$ac_exeext; then
29436 ac_cv_lib_gdk_gdk_im_open=yes
29438 echo "$as_me: failed program was:" >&5
29439 sed 's
/^
/| /' conftest.$ac_ext >&5
29441 ac_cv_lib_gdk_gdk_im_open=no
29444 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29445 conftest$ac_exeext conftest.$ac_ext
29446 LIBS=$ac_check_lib_save_LIBS
29448 { echo "$as_me:$LINENO: result: $ac_cv_lib_gdk_gdk_im_open" >&5
29449 echo "${ECHO_T}$ac_cv_lib_gdk_gdk_im_open" >&6; }
29450 if test $ac_cv_lib_gdk_gdk_im_open = yes; then
29451 cat >>confdefs.h <<\_ACEOF
29458 if test "$USE_DARWIN" != 1; then
29460 for ac_func in poll
29462 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29463 { echo "$as_me:$LINENO: checking for $ac_func" >&5
29464 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
29465 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
29466 echo $ECHO_N "(cached) $ECHO_C" >&6
29468 cat >conftest.$ac_ext <<_ACEOF
29471 cat confdefs.h >>conftest.$ac_ext
29472 cat >>conftest.$ac_ext <<_ACEOF
29473 /* end confdefs.h. */
29474 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29475 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29476 #define $ac_func innocuous_$ac_func
29478 /* System header to define __stub macros and hopefully few prototypes,
29479 which can conflict with char $ac_func (); below.
29480 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29481 <limits.h> exists even on freestanding compilers. */
29484 # include <limits.h>
29486 # include <assert.h>
29491 /* Override any GCC internal prototype to avoid an error.
29492 Use char because int might match the return type of a GCC
29493 builtin and then its argument prototype would still apply. */
29498 /* The GNU C library defines this for functions which it implements
29499 to always fail with ENOSYS. Some functions are actually named
29500 something starting with __ and the normal name is an alias. */
29501 #if defined __stub_$ac_func || defined __stub___$ac_func
29508 return $ac_func ();
29513 rm -f conftest.$ac_objext conftest$ac_exeext
29514 if { (ac_try="$ac_link"
29515 case "(($ac_try" in
29516 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29517 *) ac_try_echo=$ac_try;;
29519 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29520 (eval "$ac_link") 2>conftest.er1
29522 grep -v '^
*+' conftest.er1 >conftest.err
29524 cat conftest.err >&5
29525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29526 (exit $ac_status); } && {
29527 test -z "$ac_c_werror_flag" ||
29528 test ! -s conftest.err
29529 } && test -s conftest$ac_exeext &&
29530 $as_test_x conftest$ac_exeext; then
29531 eval "$as_ac_var=yes"
29533 echo "$as_me: failed program was:" >&5
29534 sed 's
/^
/| /' conftest.$ac_ext >&5
29536 eval "$as_ac_var=no"
29539 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29540 conftest$ac_exeext conftest.$ac_ext
29542 ac_res=`eval echo '${'$as_ac_var'}'`
29543 { echo "$as_me:$LINENO: result: $ac_res" >&5
29544 echo "${ECHO_T}$ac_res" >&6; }
29545 if test `eval echo '${'$as_ac_var'}'` = yes; then
29546 cat >>confdefs.h <<_ACEOF
29547 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29556 TOOLKIT_INCLUDE="$wx_cv_cflags_gtk"
29557 GUI_TK_LIBRARY="$wx_cv_libs_gtk $GUI_TK_LIBRARY"
29559 AFMINSTALL=afminstall
29563 if test "$wxUSE_GPE" = "yes"; then
29564 { echo "$as_me:$LINENO: checking for gpewidget library" >&5
29565 echo $ECHO_N "checking for gpewidget library... $ECHO_C" >&6; }
29568 for ac_dir in $SEARCH_LIB;
29570 for ac_extension in a so sl dylib dll.a; do
29571 if test -f "$ac_dir/libgpewidget.$ac_extension"; then
29572 ac_find_libraries=$ac_dir
29578 if test "$ac_find_libraries" != "" ; then
29580 if test "$ac_find_libraries" = "default location"; then
29583 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
29585 if test $result = 0; then
29588 ac_path_to_link=" -L$ac_find_libraries"
29592 GUI_TK_LIBRARY="-L${prefix}/lib -lgpewidget $GUI_TK_LIBRARY"
29594 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
29595 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
29597 { echo "$as_me:$LINENO: result: not found" >&5
29598 echo "${ECHO_T}not found" >&6; }
29604 if test "$wxUSE_MGL" = 1; then
29605 { echo "$as_me:$LINENO: checking for SciTech MGL library" >&5
29606 echo $ECHO_N "checking for SciTech MGL library... $ECHO_C" >&6; }
29607 if test "x$MGL_ROOT" = x ; then
29608 { echo "$as_me:$LINENO: result: not found" >&5
29609 echo "${ECHO_T}not found" >&6; }
29610 { { echo "$as_me:$LINENO: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&5
29611 echo "$as_me: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&2;}
29612 { (exit 1); exit 1; }; }
29614 { echo "$as_me:$LINENO: result: $MGL_ROOT" >&5
29615 echo "${ECHO_T}$MGL_ROOT" >&6; }
29618 { echo "$as_me:$LINENO: checking for libmgl location" >&5
29619 echo $ECHO_N "checking for libmgl location... $ECHO_C" >&6; }
29622 if test "x$wxUSE_SHARED" = xyes ; then
29623 mgl_os_candidates="linux/gcc/x86/so linux/gcc/x86/a linux/gcc/glibc.so linux/gcc/glibc"
29625 mgl_os_candidates="linux/gcc/x86/a linux/gcc/x86/so linux/gcc/glibc linux/gcc/glibc.so"
29629 mgl_os_candidates="dos32/dj2"
29632 { { echo "$as_me:$LINENO: error: This system type ${host} is not yet supported by wxMGL." >&5
29633 echo "$as_me: error: This system type ${host} is not yet supported by wxMGL." >&2;}
29634 { (exit 1); exit 1; }; }
29640 for mgl_os_i in $mgl_os_candidates ; do
29641 if test "x$mgl_os" = x ; then
29642 if test "$wxUSE_DEBUG_FLAG" = yes ; then
29643 if test -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.a -o \
29644 -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.so; then
29649 if test "x$mgl_lib_type" = x ; then
29650 if test -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.a -o \
29651 -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.so; then
29652 mgl_lib_type=release
29659 if test "x$mgl_os" = x ; then
29660 { echo "$as_me:$LINENO: result: not found" >&5
29661 echo "${ECHO_T}not found" >&6; }
29662 { { echo "$as_me:$LINENO: error: Cannot find MGL libraries, make sure they are compiled." >&5
29663 echo "$as_me: error: Cannot find MGL libraries, make sure they are compiled." >&2;}
29664 { (exit 1); exit 1; }; }
29666 { echo "$as_me:$LINENO: result: \"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&5
29667 echo "${ECHO_T}\"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&6; }
29669 wxUSE_UNIVERSAL="yes"
29671 TOOLKIT_INCLUDE="-I$MGL_ROOT/include"
29672 GUI_TK_LIBRARY="-L$MGL_ROOT/lib/$mgl_lib_type/$mgl_os -lmgl -lmglcpp -lpm"
29674 AFMINSTALL=afminstall
29679 if test "$wxUSE_DFB" = 1; then
29682 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
29683 if test -n "$ac_tool_prefix"; then
29684 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
29685 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
29686 { echo "$as_me:$LINENO: checking for $ac_word" >&5
29687 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
29688 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
29689 echo $ECHO_N "(cached) $ECHO_C" >&6
29691 case $PKG_CONFIG in
29693 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
29696 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
29697 for as_dir in $PATH
29700 test -z "$as_dir" && as_dir=.
29701 for ac_exec_ext in '' $ac_executable_extensions; do
29702 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
29703 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
29704 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
29714 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
29715 if test -n "$PKG_CONFIG"; then
29716 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
29717 echo "${ECHO_T}$PKG_CONFIG" >&6; }
29719 { echo "$as_me:$LINENO: result: no" >&5
29720 echo "${ECHO_T}no" >&6; }
29725 if test -z "$ac_cv_path_PKG_CONFIG"; then
29726 ac_pt_PKG_CONFIG=$PKG_CONFIG
29727 # Extract the first word of "pkg-config", so it can be a program name with args.
29728 set dummy pkg-config; ac_word=$2
29729 { echo "$as_me:$LINENO: checking for $ac_word" >&5
29730 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
29731 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
29732 echo $ECHO_N "(cached) $ECHO_C" >&6
29734 case $ac_pt_PKG_CONFIG in
29736 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
29739 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
29740 for as_dir in $PATH
29743 test -z "$as_dir" && as_dir=.
29744 for ac_exec_ext in '' $ac_executable_extensions; do
29745 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
29746 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
29747 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
29757 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
29758 if test -n "$ac_pt_PKG_CONFIG"; then
29759 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
29760 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
29762 { echo "$as_me:$LINENO: result: no" >&5
29763 echo "${ECHO_T}no" >&6; }
29766 if test "x$ac_pt_PKG_CONFIG" = x; then
29769 case $cross_compiling:$ac_tool_warned in
29771 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
29772 whose name does not start with the host triplet. If you think this
29773 configuration is useful to you, please write to autoconf@gnu.org." >&5
29774 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
29775 whose name does not start with the host triplet. If you think this
29776 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
29777 ac_tool_warned=yes ;;
29779 PKG_CONFIG=$ac_pt_PKG_CONFIG
29782 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
29786 if test -n "$PKG_CONFIG"; then
29787 _pkg_min_version=0.9.0
29788 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
29789 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
29790 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
29791 { echo "$as_me:$LINENO: result: yes" >&5
29792 echo "${ECHO_T}yes" >&6; }
29794 { echo "$as_me:$LINENO: result: no" >&5
29795 echo "${ECHO_T}no" >&6; }
29803 { echo "$as_me:$LINENO: checking for DIRECTFB" >&5
29804 echo $ECHO_N "checking for DIRECTFB... $ECHO_C" >&6; }
29806 if test -n "$PKG_CONFIG"; then
29807 if test -n "$DIRECTFB_CFLAGS"; then
29808 pkg_cv_DIRECTFB_CFLAGS="$DIRECTFB_CFLAGS"
29810 if test -n "$PKG_CONFIG" && \
29811 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\"") >&5
29812 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.23") 2>&5
29814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29815 (exit $ac_status); }; then
29816 pkg_cv_DIRECTFB_CFLAGS=`$PKG_CONFIG --cflags "directfb >= 0.9.23" 2>/dev/null`
29824 if test -n "$PKG_CONFIG"; then
29825 if test -n "$DIRECTFB_LIBS"; then
29826 pkg_cv_DIRECTFB_LIBS="$DIRECTFB_LIBS"
29828 if test -n "$PKG_CONFIG" && \
29829 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\"") >&5
29830 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.23") 2>&5
29832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29833 (exit $ac_status); }; then
29834 pkg_cv_DIRECTFB_LIBS=`$PKG_CONFIG --libs "directfb >= 0.9.23" 2>/dev/null`
29845 if test $pkg_failed = yes; then
29847 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
29848 _pkg_short_errors_supported=yes
29850 _pkg_short_errors_supported=no
29852 if test $_pkg_short_errors_supported = yes; then
29853 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "directfb >= 0.9.23"`
29855 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "directfb >= 0.9.23"`
29857 # Put the nasty error message in config.log where it belongs
29858 echo "$DIRECTFB_PKG_ERRORS" >&5
29861 { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
29862 echo "$as_me: error: DirectFB not found." >&2;}
29863 { (exit 1); exit 1; }; }
29866 elif test $pkg_failed = untried; then
29868 { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
29869 echo "$as_me: error: DirectFB not found." >&2;}
29870 { (exit 1); exit 1; }; }
29874 DIRECTFB_CFLAGS=$pkg_cv_DIRECTFB_CFLAGS
29875 DIRECTFB_LIBS=$pkg_cv_DIRECTFB_LIBS
29876 { echo "$as_me:$LINENO: result: yes" >&5
29877 echo "${ECHO_T}yes" >&6; }
29879 wxUSE_UNIVERSAL="yes"
29880 TOOLKIT_INCLUDE="$DIRECTFB_CFLAGS"
29881 GUI_TK_LIBRARY="$DIRECTFB_LIBS"
29888 if test "$wxUSE_MICROWIN" = 1; then
29889 { echo "$as_me:$LINENO: checking for MicroWindows" >&5
29890 echo $ECHO_N "checking for MicroWindows... $ECHO_C" >&6; }
29891 if test "x$MICROWINDOWS" = x ; then
29892 { echo "$as_me:$LINENO: result: not found" >&5
29893 echo "${ECHO_T}not found" >&6; }
29894 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&5
29895 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&2;}
29896 { (exit 1); exit 1; }; }
29898 { echo "$as_me:$LINENO: result: $MICROWINDOWS" >&5
29899 echo "${ECHO_T}$MICROWINDOWS" >&6; }
29902 if test -f $MICROWINDOWS/lib/libmwin.a; then
29903 { echo "$as_me:$LINENO: result: MicroWindows' libraries found.
" >&5
29904 echo "${ECHO_T}MicroWindows
' libraries found." >&6; }
29906 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows libraries, make sure they are compiled." >&5
29907 echo "$as_me: error: Cannot find MicroWindows libraries, make sure they are compiled." >&2;}
29908 { (exit 1); exit 1; }; }
29911 TOOLKIT_INCLUDE="-I$MICROWINDOWS/include"
29912 GUI_TK_LIBRARY="-L$MICROWINDOWS/lib -lmwin -lmwengine -mwfonts -mwdrivers -mwinlib"
29914 wxUSE_UNIVERSAL="yes"
29916 AFMINSTALL=afminstall
29918 GUIDIST=MICROWIN_DIST
29920 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXMSW__ -D__WIN95__ -D__WIN32__ -DMWIN -DMICROWIN_NOCONTROLS -DMICROWIN_TODO=1"
29923 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
29924 { echo "$as_me:$LINENO: checking for X" >&5
29925 echo $ECHO_N "checking for X... $ECHO_C" >&6; }
29928 # Check whether --with-x was given.
29929 if test "${with_x+set}" = set; then
29933 # $have_x is `yes', `no', `disabled
', or empty when we do not yet know.
29934 if test "x$with_x" = xno; then
29935 # The user explicitly disabled X.
29938 case $x_includes,$x_libraries in #(
29939 *\'*) { { echo "$as_me:$LINENO: error: Cannot use X directory names containing '" >&5
29940 echo "$as_me: error
: Cannot use X directory names containing
'" >&2;}
29941 { (exit 1); exit 1; }; };; #(
29942 *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then
29943 echo $ECHO_N "(cached) $ECHO_C" >&6
29945 # One or both of the vars are not set, and there is no cached value.
29946 ac_x_includes=no ac_x_libraries=no
29947 rm -f -r conftest.dir
29948 if mkdir conftest.dir; then
29950 cat >Imakefile <<'_ACEOF'
29952 @echo incroot='${INCROOT}'
29954 @echo usrlibdir='${USRLIBDIR}'
29956 @echo libdir='${LIBDIR}'
29958 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
29959 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
29960 for ac_var in incroot usrlibdir libdir; do
29961 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's
/^
$ac_var=//p
'\`"
29963 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
29964 for ac_extension in a so sl; do
29965 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
29966 test -f "$ac_im_libdir/libX11.$ac_extension"; then
29967 ac_im_usrlibdir=$ac_im_libdir; break
29970 # Screen out bogus values from the imake configuration. They are
29971 # bogus both because they are the default anyway, and because
29972 # using them would break gcc on systems where it needs fixed includes.
29973 case $ac_im_incroot in
29974 /usr/include) ac_x_includes= ;;
29975 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
29977 case $ac_im_usrlibdir in
29978 /usr/lib | /lib) ;;
29979 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
29983 rm -f -r conftest.dir
29986 # Standard set of common directories for X headers.
29987 # Check X11 before X11Rn because it is often a symlink to the current release.
29999 /usr
/local
/X
11/include
30000 /usr
/local
/X
11R
6/include
30001 /usr
/local
/X
11R
5/include
30002 /usr
/local
/X
11R
4/include
30004 /usr
/local
/include
/X11
30005 /usr
/local
/include
/X11R6
30006 /usr
/local
/include
/X11R5
30007 /usr
/local
/include
/X11R4
30011 /usr
/XFree
86/include
/X11
30015 /usr
/unsupported
/include
30016 /usr
/athena
/include
30017 /usr
/local
/x
11r
5/include
30018 /usr
/lpp
/Xamples
/include
30020 /usr
/openwin
/include
30021 /usr
/openwin
/share
/include
'
30023 if test "$ac_x_includes" = no; then
30024 # Guess where to find include files, by looking for Xlib.h.
30025 # First, try using that file with no special directory specified.
30026 cat >conftest.$ac_ext <<_ACEOF
30029 cat confdefs.h >>conftest.$ac_ext
30030 cat >>conftest.$ac_ext <<_ACEOF
30031 /* end confdefs.h. */
30032 #include <X11/Xlib.h>
30034 if { (ac_try="$ac_cpp conftest.$ac_ext"
30035 case "(($ac_try" in
30036 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30037 *) ac_try_echo=$ac_try;;
30039 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30040 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
30042 grep -v '^
*+' conftest.er1 >conftest.err
30044 cat conftest.err >&5
30045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30046 (exit $ac_status); } >/dev/null && {
30047 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
30048 test ! -s conftest.err
30050 # We can compile using X headers with no special include directory.
30053 echo "$as_me: failed program was:" >&5
30054 sed 's
/^
/| /' conftest.$ac_ext >&5
30056 for ac_dir in $ac_x_header_dirs; do
30057 if test -r "$ac_dir/X11/Xlib.h"; then
30058 ac_x_includes=$ac_dir
30064 rm -f conftest.err conftest.$ac_ext
30065 fi # $ac_x_includes = no
30067 if test "$ac_x_libraries" = no; then
30068 # Check for the libraries.
30069 # See if we find them without any special options.
30070 # Don't add to
$LIBS permanently.
30073 cat >conftest.
$ac_ext <<_ACEOF
30076 cat confdefs.h
>>conftest.
$ac_ext
30077 cat >>conftest.
$ac_ext <<_ACEOF
30078 /* end confdefs.h. */
30079 #include <X11/Xlib.h>
30088 rm -f conftest.
$ac_objext conftest
$ac_exeext
30089 if { (ac_try
="$ac_link"
30090 case "(($ac_try" in
30091 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
30092 *) ac_try_echo=$ac_try;;
30094 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30095 (eval "$ac_link") 2>conftest.er1
30097 grep -v '^ *+' conftest.er1 >conftest.err
30099 cat conftest.err >&5
30100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30101 (exit $ac_status); } && {
30102 test -z "$ac_c_werror_flag" ||
30103 test ! -s conftest.err
30104 } && test -s conftest$ac_exeext &&
30105 $as_test_x conftest$ac_exeext; then
30107 # We can link X programs with no special library path.
30110 echo "$as_me: failed program was:" >&5
30111 sed 's/^/| /' conftest.$ac_ext >&5
30114 for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s
/include
/lib
/g
`
30116 # Don't even attempt the hair of trying to link an X program!
30117 for ac_extension in a so sl; do
30118 if test -r "$ac_dir/libX11.$ac_extension"; then
30119 ac_x_libraries=$ac_dir
30126 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30127 conftest$ac_exeext conftest.$ac_ext
30128 fi # $ac_x_libraries = no
30130 case $ac_x_includes,$ac_x_libraries in #(
30131 no,* | *,no | *\'*)
30132 # Didn't find X, or a directory has "'" in its name.
30133 ac_cv_have_x="have_x=no";; #(
30135 # Record where we found X for the cache.
30136 ac_cv_have_x="have_x=yes\
30137 ac_x_includes='$ac_x_includes'\
30138 ac_x_libraries='$ac_x_libraries'"
30144 eval "$ac_cv_have_x"
30147 if test "$have_x" != yes; then
30148 { echo "$as_me:$LINENO: result: $have_x" >&5
30149 echo "${ECHO_T}$have_x" >&6; }
30152 # If each of the values was on the command line, it overrides each guess.
30153 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
30154 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
30155 # Update the cache value to reflect the command line values.
30156 ac_cv_have_x="have_x=yes\
30157 ac_x_includes='$x_includes'\
30158 ac_x_libraries='$x_libraries'"
30159 { echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
30160 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6; }
30163 if test "$no_x" = yes; then
30164 # Not all programs may use this symbol, but it does not hurt to define it.
30166 cat >>confdefs.h <<\_ACEOF
30167 #define X_DISPLAY_MISSING 1
30170 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
30172 if test -n "$x_includes"; then
30173 X_CFLAGS="$X_CFLAGS -I$x_includes"
30176 # It would also be nice to do this for all -L options, not just this one.
30177 if test -n "$x_libraries"; then
30178 X_LIBS="$X_LIBS -L$x_libraries"
30179 # For Solaris; some versions of Sun CC require a space after -R and
30180 # others require no space. Words are not sufficient . . . .
30181 { echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
30182 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6; }
30183 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
30184 ac_xsave_c_werror_flag=$ac_c_werror_flag
30185 ac_c_werror_flag=yes
30186 cat >conftest.$ac_ext <<_ACEOF
30189 cat confdefs.h >>conftest.$ac_ext
30190 cat >>conftest.$ac_ext <<_ACEOF
30191 /* end confdefs.h. */
30201 rm -f conftest.$ac_objext conftest$ac_exeext
30202 if { (ac_try="$ac_link"
30203 case "(($ac_try" in
30204 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
30205 *) ac_try_echo
=$ac_try;;
30207 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30208 (eval "$ac_link") 2>conftest.er1
30210 grep -v '^ *+' conftest.er1
>conftest.err
30212 cat conftest.err
>&5
30213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30214 (exit $ac_status); } && {
30215 test -z "$ac_c_werror_flag" ||
30216 test ! -s conftest.err
30217 } && test -s conftest
$ac_exeext &&
30218 $as_test_x conftest
$ac_exeext; then
30219 { echo "$as_me:$LINENO: result: no" >&5
30220 echo "${ECHO_T}no" >&6; }
30221 X_LIBS
="$X_LIBS -R$x_libraries"
30223 echo "$as_me: failed program was:" >&5
30224 sed 's/^/| /' conftest.
$ac_ext >&5
30226 LIBS
="$ac_xsave_LIBS -R $x_libraries"
30227 cat >conftest.
$ac_ext <<_ACEOF
30230 cat confdefs.h
>>conftest.
$ac_ext
30231 cat >>conftest.
$ac_ext <<_ACEOF
30232 /* end confdefs.h. */
30242 rm -f conftest.
$ac_objext conftest
$ac_exeext
30243 if { (ac_try
="$ac_link"
30244 case "(($ac_try" in
30245 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
30246 *) ac_try_echo=$ac_try;;
30248 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30249 (eval "$ac_link") 2>conftest.er1
30251 grep -v '^ *+' conftest.er1 >conftest.err
30253 cat conftest.err >&5
30254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30255 (exit $ac_status); } && {
30256 test -z "$ac_c_werror_flag" ||
30257 test ! -s conftest.err
30258 } && test -s conftest$ac_exeext &&
30259 $as_test_x conftest$ac_exeext; then
30260 { echo "$as_me:$LINENO: result: yes" >&5
30261 echo "${ECHO_T}yes" >&6; }
30262 X_LIBS="$X_LIBS -R $x_libraries"
30264 echo "$as_me: failed program was:" >&5
30265 sed 's/^/| /' conftest.$ac_ext >&5
30267 { echo "$as_me:$LINENO: result: neither works" >&5
30268 echo "${ECHO_T}neither works" >&6; }
30271 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30272 conftest$ac_exeext conftest.$ac_ext
30275 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30276 conftest$ac_exeext conftest.$ac_ext
30277 ac_c_werror_flag=$ac_xsave_c_werror_flag
30278 LIBS=$ac_xsave_LIBS
30281 # Check for system-dependent libraries X programs must link with.
30282 # Do this before checking for the system-independent R6 libraries
30283 # (-lICE), since we may need -lsocket or whatever for X linking.
30285 if test "$ISC" = yes; then
30286 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
30288 # Martyn Johnson says this is needed for Ultrix, if the X
30289 # libraries were built with DECnet support. And Karl Berry says
30290 # the Alpha needs dnet_stub (dnet does not exist).
30291 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
30292 cat >conftest.$ac_ext <<_ACEOF
30295 cat confdefs.h >>conftest.$ac_ext
30296 cat >>conftest.$ac_ext <<_ACEOF
30297 /* end confdefs.h. */
30299 /* Override any GCC internal prototype to avoid an error.
30300 Use char because int might match the return type of a GCC
30301 builtin and then its argument prototype would still apply. */
30305 char XOpenDisplay ();
30309 return XOpenDisplay ();
30314 rm -f conftest.$ac_objext conftest$ac_exeext
30315 if { (ac_try="$ac_link"
30316 case "(($ac_try" in
30317 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
30318 *) ac_try_echo
=$ac_try;;
30320 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30321 (eval "$ac_link") 2>conftest.er1
30323 grep -v '^ *+' conftest.er1
>conftest.err
30325 cat conftest.err
>&5
30326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30327 (exit $ac_status); } && {
30328 test -z "$ac_c_werror_flag" ||
30329 test ! -s conftest.err
30330 } && test -s conftest
$ac_exeext &&
30331 $as_test_x conftest
$ac_exeext; then
30334 echo "$as_me: failed program was:" >&5
30335 sed 's/^/| /' conftest.
$ac_ext >&5
30337 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
30338 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6; }
30339 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
30340 echo $ECHO_N "(cached) $ECHO_C" >&6
30342 ac_check_lib_save_LIBS
=$LIBS
30343 LIBS
="-ldnet $LIBS"
30344 cat >conftest.
$ac_ext <<_ACEOF
30347 cat confdefs.h
>>conftest.
$ac_ext
30348 cat >>conftest.
$ac_ext <<_ACEOF
30349 /* end confdefs.h. */
30351 /* Override any GCC internal prototype to avoid an error.
30352 Use char because int might match the return type of a GCC
30353 builtin and then its argument prototype would still apply. */
30361 return dnet_ntoa ();
30366 rm -f conftest.
$ac_objext conftest
$ac_exeext
30367 if { (ac_try
="$ac_link"
30368 case "(($ac_try" in
30369 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
30370 *) ac_try_echo=$ac_try;;
30372 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30373 (eval "$ac_link") 2>conftest.er1
30375 grep -v '^ *+' conftest.er1 >conftest.err
30377 cat conftest.err >&5
30378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30379 (exit $ac_status); } && {
30380 test -z "$ac_c_werror_flag" ||
30381 test ! -s conftest.err
30382 } && test -s conftest$ac_exeext &&
30383 $as_test_x conftest$ac_exeext; then
30384 ac_cv_lib_dnet_dnet_ntoa=yes
30386 echo "$as_me: failed program was:" >&5
30387 sed 's/^/| /' conftest.$ac_ext >&5
30389 ac_cv_lib_dnet_dnet_ntoa=no
30392 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30393 conftest$ac_exeext conftest.$ac_ext
30394 LIBS=$ac_check_lib_save_LIBS
30396 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
30397 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6; }
30398 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
30399 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
30402 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
30403 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
30404 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6; }
30405 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
30406 echo $ECHO_N "(cached) $ECHO_C" >&6
30408 ac_check_lib_save_LIBS=$LIBS
30409 LIBS="-ldnet_stub $LIBS"
30410 cat >conftest.$ac_ext <<_ACEOF
30413 cat confdefs.h >>conftest.$ac_ext
30414 cat >>conftest.$ac_ext <<_ACEOF
30415 /* end confdefs.h. */
30417 /* Override any GCC internal prototype to avoid an error.
30418 Use char because int might match the return type of a GCC
30419 builtin and then its argument prototype would still apply. */
30427 return dnet_ntoa ();
30432 rm -f conftest.$ac_objext conftest$ac_exeext
30433 if { (ac_try="$ac_link"
30434 case "(($ac_try" in
30435 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
30436 *) ac_try_echo
=$ac_try;;
30438 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30439 (eval "$ac_link") 2>conftest.er1
30441 grep -v '^ *+' conftest.er1
>conftest.err
30443 cat conftest.err
>&5
30444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30445 (exit $ac_status); } && {
30446 test -z "$ac_c_werror_flag" ||
30447 test ! -s conftest.err
30448 } && test -s conftest
$ac_exeext &&
30449 $as_test_x conftest
$ac_exeext; then
30450 ac_cv_lib_dnet_stub_dnet_ntoa
=yes
30452 echo "$as_me: failed program was:" >&5
30453 sed 's/^/| /' conftest.
$ac_ext >&5
30455 ac_cv_lib_dnet_stub_dnet_ntoa
=no
30458 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
30459 conftest
$ac_exeext conftest.
$ac_ext
30460 LIBS
=$ac_check_lib_save_LIBS
30462 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
30463 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
30464 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
30465 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
30471 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
30472 conftest
$ac_exeext conftest.
$ac_ext
30473 LIBS
="$ac_xsave_LIBS"
30475 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
30476 # to get the SysV transport functions.
30477 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
30479 # The nsl library prevents programs from opening the X display
30480 # on Irix 5.2, according to T.E. Dickey.
30481 # The functions gethostbyname, getservbyname, and inet_addr are
30482 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
30483 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
30484 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
30485 if test "${ac_cv_func_gethostbyname+set}" = set; then
30486 echo $ECHO_N "(cached) $ECHO_C" >&6
30488 cat >conftest.
$ac_ext <<_ACEOF
30491 cat confdefs.h
>>conftest.
$ac_ext
30492 cat >>conftest.
$ac_ext <<_ACEOF
30493 /* end confdefs.h. */
30494 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
30495 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30496 #define gethostbyname innocuous_gethostbyname
30498 /* System header to define __stub macros and hopefully few prototypes,
30499 which can conflict with char gethostbyname (); below.
30500 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30501 <limits.h> exists even on freestanding compilers. */
30504 # include <limits.h>
30506 # include <assert.h>
30509 #undef gethostbyname
30511 /* Override any GCC internal prototype to avoid an error.
30512 Use char because int might match the return type of a GCC
30513 builtin and then its argument prototype would still apply. */
30517 char gethostbyname ();
30518 /* The GNU C library defines this for functions which it implements
30519 to always fail with ENOSYS. Some functions are actually named
30520 something starting with __ and the normal name is an alias. */
30521 #if defined __stub_gethostbyname || defined __stub___gethostbyname
30528 return gethostbyname ();
30533 rm -f conftest.
$ac_objext conftest
$ac_exeext
30534 if { (ac_try
="$ac_link"
30535 case "(($ac_try" in
30536 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
30537 *) ac_try_echo=$ac_try;;
30539 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30540 (eval "$ac_link") 2>conftest.er1
30542 grep -v '^ *+' conftest.er1 >conftest.err
30544 cat conftest.err >&5
30545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30546 (exit $ac_status); } && {
30547 test -z "$ac_c_werror_flag" ||
30548 test ! -s conftest.err
30549 } && test -s conftest$ac_exeext &&
30550 $as_test_x conftest$ac_exeext; then
30551 ac_cv_func_gethostbyname=yes
30553 echo "$as_me: failed program was:" >&5
30554 sed 's/^/| /' conftest.$ac_ext >&5
30556 ac_cv_func_gethostbyname=no
30559 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30560 conftest$ac_exeext conftest.$ac_ext
30562 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
30563 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
30565 if test $ac_cv_func_gethostbyname = no; then
30566 { echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
30567 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6; }
30568 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
30569 echo $ECHO_N "(cached) $ECHO_C" >&6
30571 ac_check_lib_save_LIBS=$LIBS
30573 cat >conftest.$ac_ext <<_ACEOF
30576 cat confdefs.h >>conftest.$ac_ext
30577 cat >>conftest.$ac_ext <<_ACEOF
30578 /* end confdefs.h. */
30580 /* Override any GCC internal prototype to avoid an error.
30581 Use char because int might match the return type of a GCC
30582 builtin and then its argument prototype would still apply. */
30586 char gethostbyname ();
30590 return gethostbyname ();
30595 rm -f conftest.$ac_objext conftest$ac_exeext
30596 if { (ac_try="$ac_link"
30597 case "(($ac_try" in
30598 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
30599 *) ac_try_echo
=$ac_try;;
30601 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30602 (eval "$ac_link") 2>conftest.er1
30604 grep -v '^ *+' conftest.er1
>conftest.err
30606 cat conftest.err
>&5
30607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30608 (exit $ac_status); } && {
30609 test -z "$ac_c_werror_flag" ||
30610 test ! -s conftest.err
30611 } && test -s conftest
$ac_exeext &&
30612 $as_test_x conftest
$ac_exeext; then
30613 ac_cv_lib_nsl_gethostbyname
=yes
30615 echo "$as_me: failed program was:" >&5
30616 sed 's/^/| /' conftest.
$ac_ext >&5
30618 ac_cv_lib_nsl_gethostbyname
=no
30621 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
30622 conftest
$ac_exeext conftest.
$ac_ext
30623 LIBS
=$ac_check_lib_save_LIBS
30625 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
30626 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6; }
30627 if test $ac_cv_lib_nsl_gethostbyname = yes; then
30628 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
30631 if test $ac_cv_lib_nsl_gethostbyname = no
; then
30632 { echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
30633 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6; }
30634 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
30635 echo $ECHO_N "(cached) $ECHO_C" >&6
30637 ac_check_lib_save_LIBS
=$LIBS
30639 cat >conftest.
$ac_ext <<_ACEOF
30642 cat confdefs.h
>>conftest.
$ac_ext
30643 cat >>conftest.
$ac_ext <<_ACEOF
30644 /* end confdefs.h. */
30646 /* Override any GCC internal prototype to avoid an error.
30647 Use char because int might match the return type of a GCC
30648 builtin and then its argument prototype would still apply. */
30652 char gethostbyname ();
30656 return gethostbyname ();
30661 rm -f conftest.
$ac_objext conftest
$ac_exeext
30662 if { (ac_try
="$ac_link"
30663 case "(($ac_try" in
30664 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
30665 *) ac_try_echo=$ac_try;;
30667 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30668 (eval "$ac_link") 2>conftest.er1
30670 grep -v '^ *+' conftest.er1 >conftest.err
30672 cat conftest.err >&5
30673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30674 (exit $ac_status); } && {
30675 test -z "$ac_c_werror_flag" ||
30676 test ! -s conftest.err
30677 } && test -s conftest$ac_exeext &&
30678 $as_test_x conftest$ac_exeext; then
30679 ac_cv_lib_bsd_gethostbyname=yes
30681 echo "$as_me: failed program was:" >&5
30682 sed 's/^/| /' conftest.$ac_ext >&5
30684 ac_cv_lib_bsd_gethostbyname=no
30687 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30688 conftest$ac_exeext conftest.$ac_ext
30689 LIBS=$ac_check_lib_save_LIBS
30691 { echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
30692 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6; }
30693 if test $ac_cv_lib_bsd_gethostbyname = yes; then
30694 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
30700 # lieder@skyler.mavd.honeywell.com says without -lsocket,
30701 # socket/setsockopt and other routines are undefined under SCO ODT
30702 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
30703 # on later versions), says Simon Leinen: it contains gethostby*
30704 # variants that don't use the name server (or something). -lsocket
30705 # must be given before -lnsl if both are needed. We assume that
30706 # if connect needs -lnsl, so does gethostbyname.
30707 { echo "$as_me:$LINENO: checking for connect" >&5
30708 echo $ECHO_N "checking for connect... $ECHO_C" >&6; }
30709 if test "${ac_cv_func_connect+set}" = set; then
30710 echo $ECHO_N "(cached) $ECHO_C" >&6
30712 cat >conftest.$ac_ext <<_ACEOF
30715 cat confdefs.h >>conftest.$ac_ext
30716 cat >>conftest.$ac_ext <<_ACEOF
30717 /* end confdefs.h. */
30718 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
30719 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30720 #define connect innocuous_connect
30722 /* System header to define __stub macros and hopefully few prototypes,
30723 which can conflict with char connect (); below.
30724 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30725 <limits.h> exists even on freestanding compilers. */
30728 # include <limits.h>
30730 # include <assert.h>
30735 /* Override any GCC internal prototype to avoid an error.
30736 Use char because int might match the return type of a GCC
30737 builtin and then its argument prototype would still apply. */
30742 /* The GNU C library defines this for functions which it implements
30743 to always fail with ENOSYS. Some functions are actually named
30744 something starting with __ and the normal name is an alias. */
30745 #if defined __stub_connect || defined __stub___connect
30757 rm -f conftest.$ac_objext conftest$ac_exeext
30758 if { (ac_try="$ac_link"
30759 case "(($ac_try" in
30760 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
30761 *) ac_try_echo
=$ac_try;;
30763 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30764 (eval "$ac_link") 2>conftest.er1
30766 grep -v '^ *+' conftest.er1
>conftest.err
30768 cat conftest.err
>&5
30769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30770 (exit $ac_status); } && {
30771 test -z "$ac_c_werror_flag" ||
30772 test ! -s conftest.err
30773 } && test -s conftest
$ac_exeext &&
30774 $as_test_x conftest
$ac_exeext; then
30775 ac_cv_func_connect
=yes
30777 echo "$as_me: failed program was:" >&5
30778 sed 's/^/| /' conftest.
$ac_ext >&5
30780 ac_cv_func_connect
=no
30783 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
30784 conftest
$ac_exeext conftest.
$ac_ext
30786 { echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
30787 echo "${ECHO_T}$ac_cv_func_connect" >&6; }
30789 if test $ac_cv_func_connect = no
; then
30790 { echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
30791 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6; }
30792 if test "${ac_cv_lib_socket_connect+set}" = set; then
30793 echo $ECHO_N "(cached) $ECHO_C" >&6
30795 ac_check_lib_save_LIBS
=$LIBS
30796 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
30797 cat >conftest.
$ac_ext <<_ACEOF
30800 cat confdefs.h
>>conftest.
$ac_ext
30801 cat >>conftest.
$ac_ext <<_ACEOF
30802 /* end confdefs.h. */
30804 /* Override any GCC internal prototype to avoid an error.
30805 Use char because int might match the return type of a GCC
30806 builtin and then its argument prototype would still apply. */
30819 rm -f conftest.
$ac_objext conftest
$ac_exeext
30820 if { (ac_try
="$ac_link"
30821 case "(($ac_try" in
30822 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
30823 *) ac_try_echo=$ac_try;;
30825 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30826 (eval "$ac_link") 2>conftest.er1
30828 grep -v '^ *+' conftest.er1 >conftest.err
30830 cat conftest.err >&5
30831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30832 (exit $ac_status); } && {
30833 test -z "$ac_c_werror_flag" ||
30834 test ! -s conftest.err
30835 } && test -s conftest$ac_exeext &&
30836 $as_test_x conftest$ac_exeext; then
30837 ac_cv_lib_socket_connect=yes
30839 echo "$as_me: failed program was:" >&5
30840 sed 's/^/| /' conftest.$ac_ext >&5
30842 ac_cv_lib_socket_connect=no
30845 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30846 conftest$ac_exeext conftest.$ac_ext
30847 LIBS=$ac_check_lib_save_LIBS
30849 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
30850 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6; }
30851 if test $ac_cv_lib_socket_connect = yes; then
30852 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
30857 # Guillermo Gomez says -lposix is necessary on A/UX.
30858 { echo "$as_me:$LINENO: checking for remove" >&5
30859 echo $ECHO_N "checking for remove... $ECHO_C" >&6; }
30860 if test "${ac_cv_func_remove+set}" = set; then
30861 echo $ECHO_N "(cached) $ECHO_C" >&6
30863 cat >conftest.$ac_ext <<_ACEOF
30866 cat confdefs.h >>conftest.$ac_ext
30867 cat >>conftest.$ac_ext <<_ACEOF
30868 /* end confdefs.h. */
30869 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
30870 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30871 #define remove innocuous_remove
30873 /* System header to define __stub macros and hopefully few prototypes,
30874 which can conflict with char remove (); below.
30875 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30876 <limits.h> exists even on freestanding compilers. */
30879 # include <limits.h>
30881 # include <assert.h>
30886 /* Override any GCC internal prototype to avoid an error.
30887 Use char because int might match the return type of a GCC
30888 builtin and then its argument prototype would still apply. */
30893 /* The GNU C library defines this for functions which it implements
30894 to always fail with ENOSYS. Some functions are actually named
30895 something starting with __ and the normal name is an alias. */
30896 #if defined __stub_remove || defined __stub___remove
30908 rm -f conftest.$ac_objext conftest$ac_exeext
30909 if { (ac_try="$ac_link"
30910 case "(($ac_try" in
30911 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
30912 *) ac_try_echo
=$ac_try;;
30914 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30915 (eval "$ac_link") 2>conftest.er1
30917 grep -v '^ *+' conftest.er1
>conftest.err
30919 cat conftest.err
>&5
30920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30921 (exit $ac_status); } && {
30922 test -z "$ac_c_werror_flag" ||
30923 test ! -s conftest.err
30924 } && test -s conftest
$ac_exeext &&
30925 $as_test_x conftest
$ac_exeext; then
30926 ac_cv_func_remove
=yes
30928 echo "$as_me: failed program was:" >&5
30929 sed 's/^/| /' conftest.
$ac_ext >&5
30931 ac_cv_func_remove
=no
30934 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
30935 conftest
$ac_exeext conftest.
$ac_ext
30937 { echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
30938 echo "${ECHO_T}$ac_cv_func_remove" >&6; }
30940 if test $ac_cv_func_remove = no
; then
30941 { echo "$as_me:$LINENO: checking for remove in -lposix" >&5
30942 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6; }
30943 if test "${ac_cv_lib_posix_remove+set}" = set; then
30944 echo $ECHO_N "(cached) $ECHO_C" >&6
30946 ac_check_lib_save_LIBS
=$LIBS
30947 LIBS
="-lposix $LIBS"
30948 cat >conftest.
$ac_ext <<_ACEOF
30951 cat confdefs.h
>>conftest.
$ac_ext
30952 cat >>conftest.
$ac_ext <<_ACEOF
30953 /* end confdefs.h. */
30955 /* Override any GCC internal prototype to avoid an error.
30956 Use char because int might match the return type of a GCC
30957 builtin and then its argument prototype would still apply. */
30970 rm -f conftest.
$ac_objext conftest
$ac_exeext
30971 if { (ac_try
="$ac_link"
30972 case "(($ac_try" in
30973 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
30974 *) ac_try_echo=$ac_try;;
30976 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30977 (eval "$ac_link") 2>conftest.er1
30979 grep -v '^ *+' conftest.er1 >conftest.err
30981 cat conftest.err >&5
30982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30983 (exit $ac_status); } && {
30984 test -z "$ac_c_werror_flag" ||
30985 test ! -s conftest.err
30986 } && test -s conftest$ac_exeext &&
30987 $as_test_x conftest$ac_exeext; then
30988 ac_cv_lib_posix_remove=yes
30990 echo "$as_me: failed program was:" >&5
30991 sed 's/^/| /' conftest.$ac_ext >&5
30993 ac_cv_lib_posix_remove=no
30996 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30997 conftest$ac_exeext conftest.$ac_ext
30998 LIBS=$ac_check_lib_save_LIBS
31000 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
31001 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6; }
31002 if test $ac_cv_lib_posix_remove = yes; then
31003 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
31008 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
31009 { echo "$as_me:$LINENO: checking for shmat" >&5
31010 echo $ECHO_N "checking for shmat... $ECHO_C" >&6; }
31011 if test "${ac_cv_func_shmat+set}" = set; then
31012 echo $ECHO_N "(cached) $ECHO_C" >&6
31014 cat >conftest.$ac_ext <<_ACEOF
31017 cat confdefs.h >>conftest.$ac_ext
31018 cat >>conftest.$ac_ext <<_ACEOF
31019 /* end confdefs.h. */
31020 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
31021 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31022 #define shmat innocuous_shmat
31024 /* System header to define __stub macros and hopefully few prototypes,
31025 which can conflict with char shmat (); below.
31026 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31027 <limits.h> exists even on freestanding compilers. */
31030 # include <limits.h>
31032 # include <assert.h>
31037 /* Override any GCC internal prototype to avoid an error.
31038 Use char because int might match the return type of a GCC
31039 builtin and then its argument prototype would still apply. */
31044 /* The GNU C library defines this for functions which it implements
31045 to always fail with ENOSYS. Some functions are actually named
31046 something starting with __ and the normal name is an alias. */
31047 #if defined __stub_shmat || defined __stub___shmat
31059 rm -f conftest.$ac_objext conftest$ac_exeext
31060 if { (ac_try="$ac_link"
31061 case "(($ac_try" in
31062 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
31063 *) ac_try_echo
=$ac_try;;
31065 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31066 (eval "$ac_link") 2>conftest.er1
31068 grep -v '^ *+' conftest.er1
>conftest.err
31070 cat conftest.err
>&5
31071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31072 (exit $ac_status); } && {
31073 test -z "$ac_c_werror_flag" ||
31074 test ! -s conftest.err
31075 } && test -s conftest
$ac_exeext &&
31076 $as_test_x conftest
$ac_exeext; then
31077 ac_cv_func_shmat
=yes
31079 echo "$as_me: failed program was:" >&5
31080 sed 's/^/| /' conftest.
$ac_ext >&5
31082 ac_cv_func_shmat
=no
31085 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
31086 conftest
$ac_exeext conftest.
$ac_ext
31088 { echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
31089 echo "${ECHO_T}$ac_cv_func_shmat" >&6; }
31091 if test $ac_cv_func_shmat = no
; then
31092 { echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
31093 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6; }
31094 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
31095 echo $ECHO_N "(cached) $ECHO_C" >&6
31097 ac_check_lib_save_LIBS
=$LIBS
31099 cat >conftest.
$ac_ext <<_ACEOF
31102 cat confdefs.h
>>conftest.
$ac_ext
31103 cat >>conftest.
$ac_ext <<_ACEOF
31104 /* end confdefs.h. */
31106 /* Override any GCC internal prototype to avoid an error.
31107 Use char because int might match the return type of a GCC
31108 builtin and then its argument prototype would still apply. */
31121 rm -f conftest.
$ac_objext conftest
$ac_exeext
31122 if { (ac_try
="$ac_link"
31123 case "(($ac_try" in
31124 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
31125 *) ac_try_echo=$ac_try;;
31127 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31128 (eval "$ac_link") 2>conftest.er1
31130 grep -v '^ *+' conftest.er1 >conftest.err
31132 cat conftest.err >&5
31133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31134 (exit $ac_status); } && {
31135 test -z "$ac_c_werror_flag" ||
31136 test ! -s conftest.err
31137 } && test -s conftest$ac_exeext &&
31138 $as_test_x conftest$ac_exeext; then
31139 ac_cv_lib_ipc_shmat=yes
31141 echo "$as_me: failed program was:" >&5
31142 sed 's/^/| /' conftest.$ac_ext >&5
31144 ac_cv_lib_ipc_shmat=no
31147 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31148 conftest$ac_exeext conftest.$ac_ext
31149 LIBS=$ac_check_lib_save_LIBS
31151 { echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
31152 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6; }
31153 if test $ac_cv_lib_ipc_shmat = yes; then
31154 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
31160 # Check for libraries that X11R6 Xt/Xaw programs need.
31161 ac_save_LDFLAGS=$LDFLAGS
31162 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
31163 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
31164 # check for ICE first), but we must link in the order -lSM -lICE or
31165 # we get undefined symbols. So assume we have SM if we have ICE.
31166 # These have to be linked with before -lX11, unlike the other
31167 # libraries we check for below, so use a different variable.
31168 # John Interrante, Karl Berry
31169 { echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
31170 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6; }
31171 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
31172 echo $ECHO_N "(cached) $ECHO_C" >&6
31174 ac_check_lib_save_LIBS=$LIBS
31175 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
31176 cat >conftest.$ac_ext <<_ACEOF
31179 cat confdefs.h >>conftest.$ac_ext
31180 cat >>conftest.$ac_ext <<_ACEOF
31181 /* end confdefs.h. */
31183 /* Override any GCC internal prototype to avoid an error.
31184 Use char because int might match the return type of a GCC
31185 builtin and then its argument prototype would still apply. */
31189 char IceConnectionNumber ();
31193 return IceConnectionNumber ();
31198 rm -f conftest.$ac_objext conftest$ac_exeext
31199 if { (ac_try="$ac_link"
31200 case "(($ac_try" in
31201 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
31202 *) ac_try_echo
=$ac_try;;
31204 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31205 (eval "$ac_link") 2>conftest.er1
31207 grep -v '^ *+' conftest.er1
>conftest.err
31209 cat conftest.err
>&5
31210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31211 (exit $ac_status); } && {
31212 test -z "$ac_c_werror_flag" ||
31213 test ! -s conftest.err
31214 } && test -s conftest
$ac_exeext &&
31215 $as_test_x conftest
$ac_exeext; then
31216 ac_cv_lib_ICE_IceConnectionNumber
=yes
31218 echo "$as_me: failed program was:" >&5
31219 sed 's/^/| /' conftest.
$ac_ext >&5
31221 ac_cv_lib_ICE_IceConnectionNumber
=no
31224 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
31225 conftest
$ac_exeext conftest.
$ac_ext
31226 LIBS
=$ac_check_lib_save_LIBS
31228 { echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
31229 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
31230 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
31231 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
31234 LDFLAGS
=$ac_save_LDFLAGS
31239 if test "$no_x" = "yes"; then
31240 { { echo "$as_me:$LINENO: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&5
31241 echo "$as_me: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&2;}
31242 { (exit 1); exit 1; }; }
31245 GUI_TK_LIBRARY
=`echo $X_LIBS | sed 's/ -LNONE//' | sed 's/ -RNONE//'`
31246 TOOLKIT_INCLUDE
=`echo $X_CFLAGS | sed 's/ -INONE//'`
31247 AFMINSTALL
=afminstall
31248 COMPILED_X_PROGRAM
=0
31252 if test "$wxUSE_X11" = 1; then
31253 if test "$wxUSE_NANOX" = "yes"; then
31254 { echo "$as_me:$LINENO: checking for MicroWindows/NanoX distribution" >&5
31255 echo $ECHO_N "checking for MicroWindows/NanoX distribution... $ECHO_C" >&6; }
31256 if test "x$MICROWIN" = x
; then
31257 { echo "$as_me:$LINENO: result: not found" >&5
31258 echo "${ECHO_T}not found" >&6; }
31259 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&5
31260 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&2;}
31261 { (exit 1); exit 1; }; }
31263 { echo "$as_me:$LINENO: result: $MICROWIN" >&5
31264 echo "${ECHO_T}$MICROWIN" >&6; }
31265 cat >>confdefs.h
<<\_ACEOF
31266 #define wxUSE_NANOX 1
31272 if test "$wxUSE_UNICODE" = "yes"; then
31275 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
31276 if test -n "$ac_tool_prefix"; then
31277 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
31278 set dummy
${ac_tool_prefix}pkg
-config; ac_word
=$2
31279 { echo "$as_me:$LINENO: checking for $ac_word" >&5
31280 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
31281 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
31282 echo $ECHO_N "(cached) $ECHO_C" >&6
31284 case $PKG_CONFIG in
31286 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
31289 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
31290 for as_dir
in $PATH
31293 test -z "$as_dir" && as_dir
=.
31294 for ac_exec_ext
in '' $ac_executable_extensions; do
31295 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
31296 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
31297 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
31307 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
31308 if test -n "$PKG_CONFIG"; then
31309 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
31310 echo "${ECHO_T}$PKG_CONFIG" >&6; }
31312 { echo "$as_me:$LINENO: result: no" >&5
31313 echo "${ECHO_T}no" >&6; }
31318 if test -z "$ac_cv_path_PKG_CONFIG"; then
31319 ac_pt_PKG_CONFIG
=$PKG_CONFIG
31320 # Extract the first word of "pkg-config", so it can be a program name with args.
31321 set dummy pkg
-config; ac_word
=$2
31322 { echo "$as_me:$LINENO: checking for $ac_word" >&5
31323 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
31324 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
31325 echo $ECHO_N "(cached) $ECHO_C" >&6
31327 case $ac_pt_PKG_CONFIG in
31329 ac_cv_path_ac_pt_PKG_CONFIG
="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
31332 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
31333 for as_dir
in $PATH
31336 test -z "$as_dir" && as_dir
=.
31337 for ac_exec_ext
in '' $ac_executable_extensions; do
31338 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
31339 ac_cv_path_ac_pt_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
31340 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
31350 ac_pt_PKG_CONFIG
=$ac_cv_path_ac_pt_PKG_CONFIG
31351 if test -n "$ac_pt_PKG_CONFIG"; then
31352 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
31353 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
31355 { echo "$as_me:$LINENO: result: no" >&5
31356 echo "${ECHO_T}no" >&6; }
31359 if test "x$ac_pt_PKG_CONFIG" = x
; then
31362 case $cross_compiling:$ac_tool_warned in
31364 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
31365 whose name does not start with the host triplet. If you think this
31366 configuration is useful to you, please write to autoconf@gnu.org." >&5
31367 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
31368 whose name does not start with the host triplet. If you think this
31369 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
31370 ac_tool_warned
=yes ;;
31372 PKG_CONFIG
=$ac_pt_PKG_CONFIG
31375 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
31379 if test -n "$PKG_CONFIG"; then
31380 _pkg_min_version
=0.9.0
31381 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
31382 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
31383 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
31384 { echo "$as_me:$LINENO: result: yes" >&5
31385 echo "${ECHO_T}yes" >&6; }
31387 { echo "$as_me:$LINENO: result: no" >&5
31388 echo "${ECHO_T}no" >&6; }
31396 { echo "$as_me:$LINENO: checking for PANGOX" >&5
31397 echo $ECHO_N "checking for PANGOX... $ECHO_C" >&6; }
31399 if test -n "$PKG_CONFIG"; then
31400 if test -n "$PANGOX_CFLAGS"; then
31401 pkg_cv_PANGOX_CFLAGS
="$PANGOX_CFLAGS"
31403 if test -n "$PKG_CONFIG" && \
31404 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
31405 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
31407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31408 (exit $ac_status); }; then
31409 pkg_cv_PANGOX_CFLAGS
=`$PKG_CONFIG --cflags "pangox" 2>/dev/null`
31417 if test -n "$PKG_CONFIG"; then
31418 if test -n "$PANGOX_LIBS"; then
31419 pkg_cv_PANGOX_LIBS
="$PANGOX_LIBS"
31421 if test -n "$PKG_CONFIG" && \
31422 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
31423 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
31425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31426 (exit $ac_status); }; then
31427 pkg_cv_PANGOX_LIBS
=`$PKG_CONFIG --libs "pangox" 2>/dev/null`
31438 if test $pkg_failed = yes; then
31440 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
31441 _pkg_short_errors_supported
=yes
31443 _pkg_short_errors_supported
=no
31445 if test $_pkg_short_errors_supported = yes; then
31446 PANGOX_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangox"`
31448 PANGOX_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangox"`
31450 # Put the nasty error message in config.log where it belongs
31451 echo "$PANGOX_PKG_ERRORS" >&5
31454 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
31455 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
31456 { (exit 1); exit 1; }; }
31459 elif test $pkg_failed = untried
; then
31461 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
31462 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
31463 { (exit 1); exit 1; }; }
31467 PANGOX_CFLAGS
=$pkg_cv_PANGOX_CFLAGS
31468 PANGOX_LIBS
=$pkg_cv_PANGOX_LIBS
31469 { echo "$as_me:$LINENO: result: yes" >&5
31470 echo "${ECHO_T}yes" >&6; }
31472 CFLAGS
="$PANGOX_CFLAGS $CFLAGS"
31473 CXXFLAGS
="$PANGOX_CFLAGS $CXXFLAGS"
31474 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOX_LIBS"
31479 { echo "$as_me:$LINENO: checking for PANGOFT2" >&5
31480 echo $ECHO_N "checking for PANGOFT2... $ECHO_C" >&6; }
31482 if test -n "$PKG_CONFIG"; then
31483 if test -n "$PANGOFT2_CFLAGS"; then
31484 pkg_cv_PANGOFT2_CFLAGS
="$PANGOFT2_CFLAGS"
31486 if test -n "$PKG_CONFIG" && \
31487 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
31488 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
31490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31491 (exit $ac_status); }; then
31492 pkg_cv_PANGOFT2_CFLAGS
=`$PKG_CONFIG --cflags "pangoft2" 2>/dev/null`
31500 if test -n "$PKG_CONFIG"; then
31501 if test -n "$PANGOFT2_LIBS"; then
31502 pkg_cv_PANGOFT2_LIBS
="$PANGOFT2_LIBS"
31504 if test -n "$PKG_CONFIG" && \
31505 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
31506 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
31508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31509 (exit $ac_status); }; then
31510 pkg_cv_PANGOFT2_LIBS
=`$PKG_CONFIG --libs "pangoft2" 2>/dev/null`
31521 if test $pkg_failed = yes; then
31523 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
31524 _pkg_short_errors_supported
=yes
31526 _pkg_short_errors_supported
=no
31528 if test $_pkg_short_errors_supported = yes; then
31529 PANGOFT2_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoft2"`
31531 PANGOFT2_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
31533 # Put the nasty error message in config.log where it belongs
31534 echo "$PANGOFT2_PKG_ERRORS" >&5
31537 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
31538 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
31539 wxUSE_PRINTING_ARCHITECTURE
="no"
31542 elif test $pkg_failed = untried
; then
31544 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
31545 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
31546 wxUSE_PRINTING_ARCHITECTURE
="no"
31550 PANGOFT2_CFLAGS
=$pkg_cv_PANGOFT2_CFLAGS
31551 PANGOFT2_LIBS
=$pkg_cv_PANGOFT2_LIBS
31552 { echo "$as_me:$LINENO: result: yes" >&5
31553 echo "${ECHO_T}yes" >&6; }
31555 CFLAGS
="$PANGOFT2_CFLAGS $CFLAGS"
31556 CXXFLAGS
="$PANGOFT2_CFLAGS $CXXFLAGS"
31557 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
31562 { echo "$as_me:$LINENO: checking for PANGOXFT" >&5
31563 echo $ECHO_N "checking for PANGOXFT... $ECHO_C" >&6; }
31565 if test -n "$PKG_CONFIG"; then
31566 if test -n "$PANGOXFT_CFLAGS"; then
31567 pkg_cv_PANGOXFT_CFLAGS
="$PANGOXFT_CFLAGS"
31569 if test -n "$PKG_CONFIG" && \
31570 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
31571 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
31573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31574 (exit $ac_status); }; then
31575 pkg_cv_PANGOXFT_CFLAGS
=`$PKG_CONFIG --cflags "pangoxft" 2>/dev/null`
31583 if test -n "$PKG_CONFIG"; then
31584 if test -n "$PANGOXFT_LIBS"; then
31585 pkg_cv_PANGOXFT_LIBS
="$PANGOXFT_LIBS"
31587 if test -n "$PKG_CONFIG" && \
31588 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
31589 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
31591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31592 (exit $ac_status); }; then
31593 pkg_cv_PANGOXFT_LIBS
=`$PKG_CONFIG --libs "pangoxft" 2>/dev/null`
31604 if test $pkg_failed = yes; then
31606 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
31607 _pkg_short_errors_supported
=yes
31609 _pkg_short_errors_supported
=no
31611 if test $_pkg_short_errors_supported = yes; then
31612 PANGOXFT_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoxft"`
31614 PANGOXFT_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoxft"`
31616 # Put the nasty error message in config.log where it belongs
31617 echo "$PANGOXFT_PKG_ERRORS" >&5
31620 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
31621 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
31624 elif test $pkg_failed = untried
; then
31626 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
31627 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
31631 PANGOXFT_CFLAGS
=$pkg_cv_PANGOXFT_CFLAGS
31632 PANGOXFT_LIBS
=$pkg_cv_PANGOXFT_LIBS
31633 { echo "$as_me:$LINENO: result: yes" >&5
31634 echo "${ECHO_T}yes" >&6; }
31636 cat >>confdefs.h
<<\_ACEOF
31637 #define HAVE_PANGO_XFT 1
31640 CFLAGS
="$PANGOXFT_CFLAGS $CFLAGS"
31641 CXXFLAGS
="$PANGOXFT_CFLAGS $CXXFLAGS"
31642 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOXFT_LIBS"
31646 LIBS
="$LIBS $PANGOX_LIBS"
31648 for ac_func
in pango_font_family_is_monospace
31650 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31651 { echo "$as_me:$LINENO: checking for $ac_func" >&5
31652 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
31653 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
31654 echo $ECHO_N "(cached) $ECHO_C" >&6
31656 cat >conftest.
$ac_ext <<_ACEOF
31659 cat confdefs.h
>>conftest.
$ac_ext
31660 cat >>conftest.
$ac_ext <<_ACEOF
31661 /* end confdefs.h. */
31662 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31663 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31664 #define $ac_func innocuous_$ac_func
31666 /* System header to define __stub macros and hopefully few prototypes,
31667 which can conflict with char $ac_func (); below.
31668 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31669 <limits.h> exists even on freestanding compilers. */
31672 # include <limits.h>
31674 # include <assert.h>
31679 /* Override any GCC internal prototype to avoid an error.
31680 Use char because int might match the return type of a GCC
31681 builtin and then its argument prototype would still apply. */
31686 /* The GNU C library defines this for functions which it implements
31687 to always fail with ENOSYS. Some functions are actually named
31688 something starting with __ and the normal name is an alias. */
31689 #if defined __stub_$ac_func || defined __stub___$ac_func
31696 return $ac_func ();
31701 rm -f conftest.
$ac_objext conftest
$ac_exeext
31702 if { (ac_try
="$ac_link"
31703 case "(($ac_try" in
31704 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
31705 *) ac_try_echo=$ac_try;;
31707 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31708 (eval "$ac_link") 2>conftest.er1
31710 grep -v '^ *+' conftest.er1 >conftest.err
31712 cat conftest.err >&5
31713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31714 (exit $ac_status); } && {
31715 test -z "$ac_c_werror_flag" ||
31716 test ! -s conftest.err
31717 } && test -s conftest$ac_exeext &&
31718 $as_test_x conftest$ac_exeext; then
31719 eval "$as_ac_var=yes"
31721 echo "$as_me: failed program was:" >&5
31722 sed 's/^/| /' conftest.$ac_ext >&5
31724 eval "$as_ac_var=no"
31727 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31728 conftest$ac_exeext conftest.$ac_ext
31730 ac_res=`eval echo '${'$as_ac_var'}'`
31731 { echo "$as_me:$LINENO: result: $ac_res" >&5
31732 echo "${ECHO_T}$ac_res" >&6; }
31733 if test `eval echo '${'$as_ac_var'}'` = yes; then
31734 cat >>confdefs.h <<_ACEOF
31735 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31744 wxUSE_UNIVERSAL="yes"
31746 if test "$wxUSE_NANOX" = "yes"; then
31747 TOOLKIT_INCLUDE="-I\$(top_srcdir)/include/wx/x11/nanox -I\$(MICROWIN)/src/include $TOOLKIT_INCLUDE"
31748 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"
31749 GUI_TK_LIBRARY="$GUI_TK_LIBRARY \$(MICROWIN)/src/lib/libnano-X.a"
31751 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lX11"
31758 if test "$wxUSE_MOTIF" = 1; then
31759 { echo "$as_me:$LINENO: checking for Motif/Lesstif headers" >&5
31760 echo $ECHO_N "checking for Motif/Lesstif headers... $ECHO_C" >&6; }
31763 for ac_dir in $SEARCH_INCLUDE /usr/include;
31765 if test -f "$ac_dir/Xm/Xm.h"; then
31766 ac_find_includes=$ac_dir
31771 if test "$ac_find_includes" != "" ; then
31772 { echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
31773 echo "${ECHO_T}found in $ac_find_includes" >&6; }
31775 if test "x$ac_find_includes" = "x/usr/include"; then
31776 ac_path_to_include=""
31778 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev/null
31780 if test $result = 0; then
31781 ac_path_to_include=""
31783 ac_path_to_include=" -I$ac_find_includes"
31787 TOOLKIT_INCLUDE="$TOOLKIT_INCLUDE$ac_path_to_include"
31789 save_CFLAGS=$CFLAGS
31790 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
31792 cat >conftest.$ac_ext <<_ACEOF
31795 cat confdefs.h >>conftest.$ac_ext
31796 cat >>conftest.$ac_ext <<_ACEOF
31797 /* end confdefs.h. */
31806 version = xmUseVersion;
31812 rm -f conftest.$ac_objext
31813 if { (ac_try="$ac_compile"
31814 case "(($ac_try" in
31815 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
31816 *) ac_try_echo
=$ac_try;;
31818 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31819 (eval "$ac_compile") 2>conftest.er1
31821 grep -v '^ *+' conftest.er1
>conftest.err
31823 cat conftest.err
>&5
31824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31825 (exit $ac_status); } && {
31826 test -z "$ac_c_werror_flag" ||
31827 test ! -s conftest.err
31828 } && test -s conftest.
$ac_objext; then
31830 { echo "$as_me:$LINENO: result: found in default search path" >&5
31831 echo "${ECHO_T}found in default search path" >&6; }
31832 COMPILED_X_PROGRAM
=1
31835 echo "$as_me: failed program was:" >&5
31836 sed 's/^/| /' conftest.
$ac_ext >&5
31839 { echo "$as_me:$LINENO: result: no" >&5
31840 echo "${ECHO_T}no" >&6; }
31841 { { echo "$as_me:$LINENO: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&5
31842 echo "$as_me: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&2;}
31843 { (exit 1); exit 1; }; }
31848 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
31850 CFLAGS
=$save_CFLAGS
31854 { echo "$as_me:$LINENO: checking for Motif/Lesstif library" >&5
31855 echo $ECHO_N "checking for Motif/Lesstif library... $ECHO_C" >&6; }
31858 for ac_dir
in $SEARCH_LIB;
31860 for ac_extension
in a so sl dylib dll.a
; do
31861 if test -f "$ac_dir/libXm.$ac_extension"; then
31862 ac_find_libraries
=$ac_dir
31869 if test "x$ac_find_libraries" != "x" ; then
31870 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
31871 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
31874 if test "$ac_find_libraries" = "default location"; then
31877 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
31879 if test $result = 0; then
31882 ac_path_to_link
=" -L$ac_find_libraries"
31886 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY$ac_path_to_link"
31888 save_CFLAGS
=$CFLAGS
31889 CFLAGS
="$TOOLKIT_INCLUDE $CFLAGS"
31891 LIBS
="$GUI_TK_LIBRARY -lXm -lXmu -lXext -lX11"
31893 cat >conftest.
$ac_ext <<_ACEOF
31896 cat confdefs.h
>>conftest.
$ac_ext
31897 cat >>conftest.
$ac_ext <<_ACEOF
31898 /* end confdefs.h. */
31907 version = xmUseVersion;
31913 rm -f conftest.
$ac_objext conftest
$ac_exeext
31914 if { (ac_try
="$ac_link"
31915 case "(($ac_try" in
31916 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
31917 *) ac_try_echo=$ac_try;;
31919 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31920 (eval "$ac_link") 2>conftest.er1
31922 grep -v '^ *+' conftest.er1 >conftest.err
31924 cat conftest.err >&5
31925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31926 (exit $ac_status); } && {
31927 test -z "$ac_c_werror_flag" ||
31928 test ! -s conftest.err
31929 } && test -s conftest$ac_exeext &&
31930 $as_test_x conftest$ac_exeext; then
31932 { echo "$as_me:$LINENO: result: found in default search path" >&5
31933 echo "${ECHO_T}found in default search path" >&6; }
31934 COMPILED_X_PROGRAM=1
31937 echo "$as_me: failed program was:" >&5
31938 sed 's/^/| /' conftest.$ac_ext >&5
31941 { echo "$as_me:$LINENO: result: no" >&5
31942 echo "${ECHO_T}no" >&6; }
31943 { { echo "$as_me:$LINENO: error: please set LDFLAGS to contain the location of libXm" >&5
31944 echo "$as_me: error: please set LDFLAGS to contain the location of libXm" >&2;}
31945 { (exit 1); exit 1; }; }
31950 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31951 conftest$ac_exeext conftest.$ac_ext
31953 CFLAGS=$save_CFLAGS
31957 { echo "$as_me:$LINENO: checking if we need -lXp and/or -lSM -lICE" >&5
31958 echo $ECHO_N "checking if we need -lXp and/or -lSM -lICE... $ECHO_C" >&6; }
31962 for libp in "" " -lXp"; do
31963 if test "$libs_found" = 0; then
31964 for libsm_ice in "" " -lSM -lICE"; do
31965 if test "$libs_found" = 0; then
31967 LIBS="$GUI_TK_LIBRARY -lXm ${libp} -lXmu -lXext -lXt${libsm_ice} -lX11"
31968 save_CFLAGS=$CFLAGS
31969 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
31971 cat >conftest.$ac_ext <<_ACEOF
31974 cat confdefs.h >>conftest.$ac_ext
31975 cat >>conftest.$ac_ext <<_ACEOF
31976 /* end confdefs.h. */
31979 #include <Xm/List.h>
31985 XmString string = NULL;
31988 XmListAddItem(w, string, position);
31994 rm -f conftest.$ac_objext conftest$ac_exeext
31995 if { (ac_try="$ac_link"
31996 case "(($ac_try" in
31997 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
31998 *) ac_try_echo
=$ac_try;;
32000 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32001 (eval "$ac_link") 2>conftest.er1
32003 grep -v '^ *+' conftest.er1
>conftest.err
32005 cat conftest.err
>&5
32006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32007 (exit $ac_status); } && {
32008 test -z "$ac_c_werror_flag" ||
32009 test ! -s conftest.err
32010 } && test -s conftest
$ac_exeext &&
32011 $as_test_x conftest
$ac_exeext; then
32014 libsm_ice_link
="$libsm_ice"
32015 { echo "$as_me:$LINENO: result: need${libp_link}${libsm_ice_link}" >&5
32016 echo "${ECHO_T}need${libp_link}${libsm_ice_link}" >&6; }
32020 echo "$as_me: failed program was:" >&5
32021 sed 's/^/| /' conftest.
$ac_ext >&5
32027 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
32028 conftest
$ac_exeext conftest.
$ac_ext
32031 CFLAGS
=$save_CFLAGS
32037 if test "$libs_found" = 0; then
32038 { echo "$as_me:$LINENO: result: can't find the right libraries" >&5
32039 echo "${ECHO_T}can't find the right libraries" >&6; }
32040 { { echo "$as_me:$LINENO: error: can't link a simple motif program" >&5
32041 echo "$as_me: error: can't link a simple motif program" >&2;}
32042 { (exit 1); exit 1; }; }
32045 { echo "$as_me:$LINENO: checking for SgCreateList in -lSgm" >&5
32046 echo $ECHO_N "checking for SgCreateList in -lSgm... $ECHO_C" >&6; }
32047 if test "${ac_cv_lib_Sgm_SgCreateList+set}" = set; then
32048 echo $ECHO_N "(cached) $ECHO_C" >&6
32050 ac_check_lib_save_LIBS
=$LIBS
32052 cat >conftest.
$ac_ext <<_ACEOF
32055 cat confdefs.h
>>conftest.
$ac_ext
32056 cat >>conftest.
$ac_ext <<_ACEOF
32057 /* end confdefs.h. */
32059 /* Override any GCC internal prototype to avoid an error.
32060 Use char because int might match the return type of a GCC
32061 builtin and then its argument prototype would still apply. */
32065 char SgCreateList ();
32069 return SgCreateList ();
32074 rm -f conftest.
$ac_objext conftest
$ac_exeext
32075 if { (ac_try
="$ac_link"
32076 case "(($ac_try" in
32077 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
32078 *) ac_try_echo=$ac_try;;
32080 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32081 (eval "$ac_link") 2>conftest.er1
32083 grep -v '^ *+' conftest.er1 >conftest.err
32085 cat conftest.err >&5
32086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32087 (exit $ac_status); } && {
32088 test -z "$ac_c_werror_flag" ||
32089 test ! -s conftest.err
32090 } && test -s conftest$ac_exeext &&
32091 $as_test_x conftest$ac_exeext; then
32092 ac_cv_lib_Sgm_SgCreateList=yes
32094 echo "$as_me: failed program was:" >&5
32095 sed 's/^/| /' conftest.$ac_ext >&5
32097 ac_cv_lib_Sgm_SgCreateList=no
32100 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32101 conftest$ac_exeext conftest.$ac_ext
32102 LIBS=$ac_check_lib_save_LIBS
32104 { echo "$as_me:$LINENO: result: $ac_cv_lib_Sgm_SgCreateList" >&5
32105 echo "${ECHO_T}$ac_cv_lib_Sgm_SgCreateList" >&6; }
32106 if test $ac_cv_lib_Sgm_SgCreateList = yes; then
32107 libsgm_link=" -lSgm"
32111 save_CFLAGS=$CFLAGS
32112 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
32114 { echo "$as_me:$LINENO: checking for Motif 2" >&5
32115 echo $ECHO_N "checking for Motif 2... $ECHO_C" >&6; }
32116 if test "${wx_cv_lib_motif2+set}" = set; then
32117 echo $ECHO_N "(cached) $ECHO_C" >&6
32119 cat >conftest.$ac_ext <<_ACEOF
32122 cat confdefs.h >>conftest.$ac_ext
32123 cat >>conftest.$ac_ext <<_ACEOF
32124 /* end confdefs.h. */
32132 #if XmVersion < 2000
32140 rm -f conftest.$ac_objext
32141 if { (ac_try="$ac_compile"
32142 case "(($ac_try" in
32143 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
32144 *) ac_try_echo
=$ac_try;;
32146 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32147 (eval "$ac_compile") 2>conftest.er1
32149 grep -v '^ *+' conftest.er1
>conftest.err
32151 cat conftest.err
>&5
32152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32153 (exit $ac_status); } && {
32154 test -z "$ac_c_werror_flag" ||
32155 test ! -s conftest.err
32156 } && test -s conftest.
$ac_objext; then
32157 wx_cv_lib_motif2
="yes"
32159 echo "$as_me: failed program was:" >&5
32160 sed 's/^/| /' conftest.
$ac_ext >&5
32162 wx_cv_lib_motif2
="no"
32165 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
32167 { echo "$as_me:$LINENO: result: $wx_cv_lib_motif2" >&5
32168 echo "${ECHO_T}$wx_cv_lib_motif2" >&6; }
32169 if test "$wx_cv_lib_motif2" = "yes"; then
32170 cat >>confdefs.h
<<\_ACEOF
32171 #define __WXMOTIF20__ 1
32175 cat >>confdefs.h
<<\_ACEOF
32176 #define __WXMOTIF20__ 0
32181 { echo "$as_me:$LINENO: checking whether Motif is Lesstif" >&5
32182 echo $ECHO_N "checking whether Motif is Lesstif... $ECHO_C" >&6; }
32183 if test "${wx_cv_lib_lesstif+set}" = set; then
32184 echo $ECHO_N "(cached) $ECHO_C" >&6
32186 cat >conftest.
$ac_ext <<_ACEOF
32189 cat confdefs.h
>>conftest.
$ac_ext
32190 cat >>conftest.
$ac_ext <<_ACEOF
32191 /* end confdefs.h. */
32199 #if !defined(LesstifVersion) || LesstifVersion <= 0
32207 rm -f conftest.
$ac_objext
32208 if { (ac_try
="$ac_compile"
32209 case "(($ac_try" in
32210 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
32211 *) ac_try_echo=$ac_try;;
32213 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32214 (eval "$ac_compile") 2>conftest.er1
32216 grep -v '^ *+' conftest.er1 >conftest.err
32218 cat conftest.err >&5
32219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32220 (exit $ac_status); } && {
32221 test -z "$ac_c_werror_flag" ||
32222 test ! -s conftest.err
32223 } && test -s conftest.$ac_objext; then
32224 wx_cv_lib_lesstif="yes"
32226 echo "$as_me: failed program was:" >&5
32227 sed 's/^/| /' conftest.$ac_ext >&5
32229 wx_cv_lib_lesstif="no"
32232 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32235 { echo "$as_me:$LINENO: result: $wx_cv_lib_lesstif" >&5
32236 echo "${ECHO_T}$wx_cv_lib_lesstif" >&6; }
32237 if test "$wx_cv_lib_lesstif" = "yes"; then
32238 cat >>confdefs.h <<\_ACEOF
32239 #define __WXLESSTIF__ 1
32243 cat >>confdefs.h <<\_ACEOF
32244 #define __WXLESSTIF__ 0
32249 CFLAGS=$save_CFLAGS
32251 GUI_TK_LIBRARY="$GUI_TK_LIBRARY${libsgm_link} -lXm${libp_link} -lXmu -lXext -lXt${libsm_ice_link} -lX11"
32256 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
32257 if test "$wxUSE_LIBXPM" = "sys"; then
32258 { echo "$as_me:$LINENO: checking for Xpm library" >&5
32259 echo $ECHO_N "checking for Xpm library... $ECHO_C" >&6; }
32262 for ac_dir in $SEARCH_LIB;
32264 for ac_extension in a so sl dylib dll.a; do
32265 if test -f "$ac_dir/libXpm.$ac_extension"; then
32266 ac_find_libraries=$ac_dir
32272 if test "$ac_find_libraries" != "" ; then
32274 if test "$ac_find_libraries" = "default location"; then
32277 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
32279 if test $result = 0; then
32282 ac_path_to_link=" -L$ac_find_libraries"
32286 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
32287 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
32288 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
32290 { echo "$as_me:$LINENO: checking for X11/xpm.h" >&5
32291 echo $ECHO_N "checking for X11/xpm.h... $ECHO_C" >&6; }
32292 if test "${wx_cv_x11_xpm_h+set}" = set; then
32293 echo $ECHO_N "(cached) $ECHO_C" >&6
32296 save_CFLAGS=$CFLAGS
32297 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
32299 cat >conftest.$ac_ext <<_ACEOF
32302 cat confdefs.h >>conftest.$ac_ext
32303 cat >>conftest.$ac_ext <<_ACEOF
32304 /* end confdefs.h. */
32306 #include <X11/xpm.h>
32313 version = XpmLibraryVersion();
32319 rm -f conftest.$ac_objext
32320 if { (ac_try="$ac_compile"
32321 case "(($ac_try" in
32322 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
32323 *) ac_try_echo
=$ac_try;;
32325 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32326 (eval "$ac_compile") 2>conftest.er1
32328 grep -v '^ *+' conftest.er1
>conftest.err
32330 cat conftest.err
>&5
32331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32332 (exit $ac_status); } && {
32333 test -z "$ac_c_werror_flag" ||
32334 test ! -s conftest.err
32335 } && test -s conftest.
$ac_objext; then
32336 wx_cv_x11_xpm_h
=yes
32338 echo "$as_me: failed program was:" >&5
32339 sed 's/^/| /' conftest.
$ac_ext >&5
32345 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
32347 CFLAGS
=$save_CFLAGS
32351 { echo "$as_me:$LINENO: result: $wx_cv_x11_xpm_h" >&5
32352 echo "${ECHO_T}$wx_cv_x11_xpm_h" >&6; }
32354 if test $wx_cv_x11_xpm_h = "yes"; then
32355 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXpm"
32356 cat >>confdefs.h
<<\_ACEOF
32357 #define wxHAVE_LIB_XPM 1
32361 { echo "$as_me:$LINENO: WARNING: built-in less efficient XPM decoder will be used" >&5
32362 echo "$as_me: WARNING: built-in less efficient XPM decoder will be used" >&2;}
32368 { echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
32369 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6; }
32370 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
32371 echo $ECHO_N "(cached) $ECHO_C" >&6
32373 ac_check_lib_save_LIBS
=$LIBS
32374 LIBS
="-lXext $GUI_TK_LIBRARY -lX11 $LIBS"
32375 cat >conftest.
$ac_ext <<_ACEOF
32378 cat confdefs.h
>>conftest.
$ac_ext
32379 cat >>conftest.
$ac_ext <<_ACEOF
32380 /* end confdefs.h. */
32382 /* Override any GCC internal prototype to avoid an error.
32383 Use char because int might match the return type of a GCC
32384 builtin and then its argument prototype would still apply. */
32388 char XShapeQueryExtension ();
32392 return XShapeQueryExtension ();
32397 rm -f conftest.
$ac_objext conftest
$ac_exeext
32398 if { (ac_try
="$ac_link"
32399 case "(($ac_try" in
32400 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
32401 *) ac_try_echo=$ac_try;;
32403 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32404 (eval "$ac_link") 2>conftest.er1
32406 grep -v '^ *+' conftest.er1 >conftest.err
32408 cat conftest.err >&5
32409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32410 (exit $ac_status); } && {
32411 test -z "$ac_c_werror_flag" ||
32412 test ! -s conftest.err
32413 } && test -s conftest$ac_exeext &&
32414 $as_test_x conftest$ac_exeext; then
32415 ac_cv_lib_Xext_XShapeQueryExtension=yes
32417 echo "$as_me: failed program was:" >&5
32418 sed 's/^/| /' conftest.$ac_ext >&5
32420 ac_cv_lib_Xext_XShapeQueryExtension=no
32423 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32424 conftest$ac_exeext conftest.$ac_ext
32425 LIBS=$ac_check_lib_save_LIBS
32427 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
32428 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
32429 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
32431 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXext"
32437 if test "$wxHAVE_XEXT_LIB" = 1; then
32438 save_CFLAGS="$CFLAGS"
32439 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
32441 { echo "$as_me:$LINENO: checking for X11/extensions/shape.h" >&5
32442 echo $ECHO_N "checking for X11/extensions/shape.h... $ECHO_C" >&6; }
32443 cat >conftest.$ac_ext <<_ACEOF
32446 cat confdefs.h >>conftest.$ac_ext
32447 cat >>conftest.$ac_ext <<_ACEOF
32448 /* end confdefs.h. */
32450 #include <X11/Xlib.h>
32451 #include <X11/extensions/shape.h>
32457 int dummy1, dummy2;
32458 XShapeQueryExtension((Display*)NULL,
32459 (int*)NULL, (int*)NULL);
32465 rm -f conftest.$ac_objext
32466 if { (ac_try="$ac_compile"
32467 case "(($ac_try" in
32468 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
32469 *) ac_try_echo
=$ac_try;;
32471 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32472 (eval "$ac_compile") 2>conftest.er1
32474 grep -v '^ *+' conftest.er1
>conftest.err
32476 cat conftest.err
>&5
32477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32478 (exit $ac_status); } && {
32479 test -z "$ac_c_werror_flag" ||
32480 test ! -s conftest.err
32481 } && test -s conftest.
$ac_objext; then
32483 cat >>confdefs.h
<<\_ACEOF
32484 #define HAVE_XSHAPE 1
32487 { echo "$as_me:$LINENO: result: found" >&5
32488 echo "${ECHO_T}found" >&6; }
32491 echo "$as_me: failed program was:" >&5
32492 sed 's/^/| /' conftest.
$ac_ext >&5
32495 { echo "$as_me:$LINENO: result: not found" >&5
32496 echo "${ECHO_T}not found" >&6; }
32500 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
32501 CFLAGS
="$save_CFLAGS"
32506 if test "$wxUSE_MAC" = 1; then
32507 { echo "$as_me:$LINENO: checking for compiler syntax to enable Pascal strings" >&5
32508 echo $ECHO_N "checking for compiler syntax to enable Pascal strings... $ECHO_C" >&6; }
32509 if test "$GCC" = yes; then
32510 { echo "$as_me:$LINENO: result: gcc" >&5
32511 echo "${ECHO_T}gcc" >&6; }
32512 CPPFLAGS_PASCAL
="-fpascal-strings"
32513 elif test "`echo $CXX | sed -e 's@.*/@@'`" = "xlC"; then
32514 { echo "$as_me:$LINENO: result: xlc" >&5
32515 echo "${ECHO_T}xlc" >&6; }
32516 CPPFLAGS_PASCAL
="-qmacpstr"
32518 { echo "$as_me:$LINENO: result: none" >&5
32519 echo "${ECHO_T}none" >&6; }
32522 if test "x$wxUSE_UNIX" = "xyes"; then
32523 CPPFLAGS
="$CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -I/Developer/Headers/FlatCarbon $CPPFLAGS"
32525 CPPFLAGS
="$CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -DTARGET_CARBON $CPPFLAGS"
32530 WXBASEPORT
="_carbon"
32533 if test "$wxUSE_COCOA" = 1; then
32538 if test "$wxUSE_PM" = 1; then
32541 { echo "$as_me:$LINENO: checking for type SPBCDATA" >&5
32542 echo $ECHO_N "checking for type SPBCDATA... $ECHO_C" >&6; }
32543 if test "${wx_cv_spbcdata+set}" = set; then
32544 echo $ECHO_N "(cached) $ECHO_C" >&6
32547 cat >conftest.
$ac_ext <<_ACEOF
32550 cat confdefs.h
>>conftest.
$ac_ext
32551 cat >>conftest.
$ac_ext <<_ACEOF
32552 /* end confdefs.h. */
32567 rm -f conftest.
$ac_objext
32568 if { (ac_try
="$ac_compile"
32569 case "(($ac_try" in
32570 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
32571 *) ac_try_echo=$ac_try;;
32573 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32574 (eval "$ac_compile") 2>conftest.er1
32576 grep -v '^ *+' conftest.er1 >conftest.err
32578 cat conftest.err >&5
32579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32580 (exit $ac_status); } && {
32581 test -z "$ac_c_werror_flag" ||
32582 test ! -s conftest.err
32583 } && test -s conftest.$ac_objext; then
32586 echo "$as_me: failed program was:" >&5
32587 sed 's/^/| /' conftest.$ac_ext >&5
32593 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32597 { echo "$as_me:$LINENO: result: $wx_cv_spbcdata" >&5
32598 echo "${ECHO_T}$wx_cv_spbcdata" >&6; }
32600 if test $wx_cv_spbcdata = "yes"; then
32601 cat >>confdefs.h <<\_ACEOF
32602 #define HAVE_SPBCDATA 1
32608 if test "$TOOLKIT" = "PM" ; then
32611 TOOLKIT_DIR=`echo ${TOOLKIT} | tr '[A-Z]' '[a-z]'`
32614 if test "$wxUSE_UNIVERSAL" = "yes"; then
32615 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
32619 GUIDIST="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
32620 DISTDIR="wx\$(TOOLKIT)"
32626 if test "$USE_WIN32" = 1 ; then
32630 GUIDIST="BASE_DIST"
32636 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_UTF8" = "auto" ; then
32637 if test "$USE_UNIX" = 1 -a "$wxUSE_DARWIN" != 1 ; then
32638 wxUSE_UNICODE_UTF8=yes
32639 elif test "$USE_OS2" = 1 ; then
32640 wxUSE_UNICODE_UTF8=yes
32642 wxUSE_UNICODE_UTF8=no
32647 if test "$wxUSE_GUI" = "yes"; then
32648 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_PM" != 1; then
32650 for ac_header in X11/Xlib.h
32652 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
32653 { echo "$as_me:$LINENO: checking for $ac_header" >&5
32654 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
32655 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
32656 echo $ECHO_N "(cached) $ECHO_C" >&6
32658 cat >conftest.$ac_ext <<_ACEOF
32661 cat confdefs.h >>conftest.$ac_ext
32662 cat >>conftest.$ac_ext <<_ACEOF
32663 /* end confdefs.h. */
32666 #include <$ac_header>
32668 rm -f conftest.$ac_objext
32669 if { (ac_try="$ac_compile"
32670 case "(($ac_try" in
32671 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
32672 *) ac_try_echo
=$ac_try;;
32674 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32675 (eval "$ac_compile") 2>conftest.er1
32677 grep -v '^ *+' conftest.er1
>conftest.err
32679 cat conftest.err
>&5
32680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32681 (exit $ac_status); } && {
32682 test -z "$ac_c_werror_flag" ||
32683 test ! -s conftest.err
32684 } && test -s conftest.
$ac_objext; then
32685 eval "$as_ac_Header=yes"
32687 echo "$as_me: failed program was:" >&5
32688 sed 's/^/| /' conftest.
$ac_ext >&5
32690 eval "$as_ac_Header=no"
32693 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
32695 ac_res
=`eval echo '${'$as_ac_Header'}'`
32696 { echo "$as_me:$LINENO: result: $ac_res" >&5
32697 echo "${ECHO_T}$ac_res" >&6; }
32698 if test `eval echo '${'$as_ac_Header'}'` = yes; then
32699 cat >>confdefs.h
<<_ACEOF
32700 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
32708 for ac_header
in X
11/XKBlib.h
32710 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
32711 { echo "$as_me:$LINENO: checking for $ac_header" >&5
32712 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
32713 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
32714 echo $ECHO_N "(cached) $ECHO_C" >&6
32716 cat >conftest.
$ac_ext <<_ACEOF
32719 cat confdefs.h
>>conftest.
$ac_ext
32720 cat >>conftest.
$ac_ext <<_ACEOF
32721 /* end confdefs.h. */
32723 #if HAVE_X11_XLIB_H
32724 #include <X11/Xlib.h>
32728 #include <$ac_header>
32730 rm -f conftest.
$ac_objext
32731 if { (ac_try
="$ac_compile"
32732 case "(($ac_try" in
32733 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
32734 *) ac_try_echo=$ac_try;;
32736 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32737 (eval "$ac_compile") 2>conftest.er1
32739 grep -v '^ *+' conftest.er1 >conftest.err
32741 cat conftest.err >&5
32742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32743 (exit $ac_status); } && {
32744 test -z "$ac_c_werror_flag" ||
32745 test ! -s conftest.err
32746 } && test -s conftest.$ac_objext; then
32747 eval "$as_ac_Header=yes"
32749 echo "$as_me: failed program was:" >&5
32750 sed 's/^/| /' conftest.$ac_ext >&5
32752 eval "$as_ac_Header=no"
32755 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32757 ac_res=`eval echo '${'$as_ac_Header'}'`
32758 { echo "$as_me:$LINENO: result: $ac_res" >&5
32759 echo "${ECHO_T}$ac_res" >&6; }
32760 if test `eval echo '${'$as_ac_Header'}'` = yes; then
32761 cat >>confdefs.h <<_ACEOF
32762 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
32774 if test "$wxUSE_DISPLAY" = "yes"; then
32775 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1; then
32776 { echo "$as_me:$LINENO: checking for Xinerama" >&5
32777 echo $ECHO_N "checking for Xinerama... $ECHO_C" >&6; }
32780 for ac_dir in $SEARCH_LIB;
32782 for ac_extension in a so sl dylib dll.a; do
32783 if test -f "$ac_dir/libXinerama.$ac_extension"; then
32784 ac_find_libraries=$ac_dir
32790 if test "$ac_find_libraries" != "" ; then
32792 if test "$ac_find_libraries" = "default location"; then
32795 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
32797 if test $result = 0; then
32800 ac_path_to_link=" -L$ac_find_libraries"
32804 if test "$ac_path_to_link" != " -L/usr/lib" ; then
32805 LDFLAGS="$LDFLAGS $ac_path_to_link"
32807 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXinerama"
32808 { echo "$as_me:$LINENO: result: yes" >&5
32809 echo "${ECHO_T}yes" >&6; }
32811 { echo "$as_me:$LINENO: checking for Xxf86vm extension" >&5
32812 echo $ECHO_N "checking for Xxf86vm extension... $ECHO_C" >&6; }
32815 for ac_dir in $SEARCH_LIB;
32817 for ac_extension in a so sl dylib dll.a; do
32818 if test -f "$ac_dir/libXxf86vm.$ac_extension"; then
32819 ac_find_libraries=$ac_dir
32825 if test "$ac_find_libraries" != "" ; then
32826 { echo "$as_me:$LINENO: result: yes" >&5
32827 echo "${ECHO_T}yes" >&6; }
32829 for ac_header in X11/extensions/xf86vmode.h
32831 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
32832 { echo "$as_me:$LINENO: checking for $ac_header" >&5
32833 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
32834 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
32835 echo $ECHO_N "(cached) $ECHO_C" >&6
32837 cat >conftest.$ac_ext <<_ACEOF
32840 cat confdefs.h >>conftest.$ac_ext
32841 cat >>conftest.$ac_ext <<_ACEOF
32842 /* end confdefs.h. */
32844 #if HAVE_X11_XLIB_H
32845 #include <X11/Xlib.h>
32849 #include <$ac_header>
32851 rm -f conftest.$ac_objext
32852 if { (ac_try="$ac_compile"
32853 case "(($ac_try" in
32854 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
32855 *) ac_try_echo
=$ac_try;;
32857 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32858 (eval "$ac_compile") 2>conftest.er1
32860 grep -v '^ *+' conftest.er1
>conftest.err
32862 cat conftest.err
>&5
32863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32864 (exit $ac_status); } && {
32865 test -z "$ac_c_werror_flag" ||
32866 test ! -s conftest.err
32867 } && test -s conftest.
$ac_objext; then
32868 eval "$as_ac_Header=yes"
32870 echo "$as_me: failed program was:" >&5
32871 sed 's/^/| /' conftest.
$ac_ext >&5
32873 eval "$as_ac_Header=no"
32876 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
32878 ac_res
=`eval echo '${'$as_ac_Header'}'`
32879 { echo "$as_me:$LINENO: result: $ac_res" >&5
32880 echo "${ECHO_T}$ac_res" >&6; }
32881 if test `eval echo '${'$as_ac_Header'}'` = yes; then
32882 cat >>confdefs.h
<<_ACEOF
32883 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
32886 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXxf86vm"
32893 { echo "$as_me:$LINENO: result: no" >&5
32894 echo "${ECHO_T}no" >&6; }
32898 { echo "$as_me:$LINENO: result: no" >&5
32899 echo "${ECHO_T}no" >&6; }
32900 { echo "$as_me:$LINENO: WARNING: Xinerama not found; disabling wxDisplay" >&5
32901 echo "$as_me: WARNING: Xinerama not found; disabling wxDisplay" >&2;}
32904 elif test "$wxUSE_MSW" = 1; then
32905 { echo "$as_me:$LINENO: checking for ddraw.h" >&5
32906 echo $ECHO_N "checking for ddraw.h... $ECHO_C" >&6; }
32907 if test "${ac_cv_header_ddraw_h+set}" = set; then
32908 echo $ECHO_N "(cached) $ECHO_C" >&6
32910 cat >conftest.
$ac_ext <<_ACEOF
32913 cat confdefs.h
>>conftest.
$ac_ext
32914 cat >>conftest.
$ac_ext <<_ACEOF
32915 /* end confdefs.h. */
32916 #include <windows.h>
32920 rm -f conftest.
$ac_objext
32921 if { (ac_try
="$ac_compile"
32922 case "(($ac_try" in
32923 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
32924 *) ac_try_echo=$ac_try;;
32926 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32927 (eval "$ac_compile") 2>conftest.er1
32929 grep -v '^ *+' conftest.er1 >conftest.err
32931 cat conftest.err >&5
32932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32933 (exit $ac_status); } && {
32934 test -z "$ac_c_werror_flag" ||
32935 test ! -s conftest.err
32936 } && test -s conftest.$ac_objext; then
32937 ac_cv_header_ddraw_h=yes
32939 echo "$as_me: failed program was:" >&5
32940 sed 's/^/| /' conftest.$ac_ext >&5
32942 ac_cv_header_ddraw_h=no
32945 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32947 { echo "$as_me:$LINENO: result: $ac_cv_header_ddraw_h" >&5
32948 echo "${ECHO_T}$ac_cv_header_ddraw_h" >&6; }
32954 if test "$wxUSE_DETECT_SM" = "yes"; then
32955 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1; then
32956 { echo "$as_me:$LINENO: checking for -lSM - X11 session management" >&5
32957 echo $ECHO_N "checking for -lSM - X11 session management... $ECHO_C" >&6; }
32960 for ac_dir in $SEARCH_LIB;
32962 for ac_extension in a so sl dylib dll.a; do
32963 if test -f "$ac_dir/libSM.$ac_extension"; then
32964 ac_find_libraries=$ac_dir
32970 if test "$ac_find_libraries" != "" ; then
32972 if test "$ac_find_libraries" = "default location"; then
32975 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
32977 if test $result = 0; then
32980 ac_path_to_link=" -L$ac_find_libraries"
32984 if test "$ac_path_to_link" != " -L/usr/lib" ; then
32985 LDFLAGS="$LDFLAGS $ac_path_to_link"
32987 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lSM"
32988 { echo "$as_me:$LINENO: result: yes" >&5
32989 echo "${ECHO_T}yes" >&6; }
32991 { echo "$as_me:$LINENO: result: no" >&5
32992 echo "${ECHO_T}no" >&6; }
32993 { echo "$as_me:$LINENO: WARNING: libSM not found; disabling session management detection" >&5
32994 echo "$as_me: WARNING: libSM not found; disabling session management detection" >&2;}
32995 wxUSE_DETECT_SM="no"
32998 wxUSE_DETECT_SM="no"
33005 if test "$wxUSE_OPENGL" = "yes"; then
33006 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = 1; then
33007 { echo "$as_me:$LINENO: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&5
33008 echo "$as_me: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&2;}
33010 elif test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1; then
33011 OPENGL_LIBS="-framework OpenGL -framework AGL"
33012 elif test "$wxUSE_MSW" = 1; then
33013 OPENGL_LIBS="-lopengl32 -lglu32"
33015 { echo "$as_me:$LINENO: checking for OpenGL headers" >&5
33016 echo $ECHO_N "checking for OpenGL headers... $ECHO_C" >&6; }
33019 for ac_dir in $SEARCH_INCLUDE /opt/graphics/OpenGL/include /usr/include;
33021 if test -f "$ac_dir/GL/gl.h"; then
33022 ac_find_includes=$ac_dir
33027 if test "$ac_find_includes" != "" ; then
33028 { echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
33029 echo "${ECHO_T}found in $ac_find_includes" >&6; }
33031 if test "x$ac_find_includes" = "x/usr/include"; then
33032 ac_path_to_include=""
33034 echo "$CPPFLAGS" | grep "\-I$ac_find_includes" > /dev/null
33036 if test $result = 0; then
33037 ac_path_to_include=""
33039 ac_path_to_include=" -I$ac_find_includes"
33043 CPPFLAGS="$ac_path_to_include $CPPFLAGS"
33045 { echo "$as_me:$LINENO: result: not found" >&5
33046 echo "${ECHO_T}not found" >&6; }
33049 { echo "$as_me:$LINENO: checking for GL/gl.h" >&5
33050 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6; }
33051 if test "${ac_cv_header_GL_gl_h+set}" = set; then
33052 echo $ECHO_N "(cached) $ECHO_C" >&6
33054 cat >conftest.$ac_ext <<_ACEOF
33057 cat confdefs.h >>conftest.$ac_ext
33058 cat >>conftest.$ac_ext <<_ACEOF
33059 /* end confdefs.h. */
33064 rm -f conftest.$ac_objext
33065 if { (ac_try="$ac_compile"
33066 case "(($ac_try" in
33067 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
33068 *) ac_try_echo
=$ac_try;;
33070 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33071 (eval "$ac_compile") 2>conftest.er1
33073 grep -v '^ *+' conftest.er1
>conftest.err
33075 cat conftest.err
>&5
33076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33077 (exit $ac_status); } && {
33078 test -z "$ac_c_werror_flag" ||
33079 test ! -s conftest.err
33080 } && test -s conftest.
$ac_objext; then
33081 ac_cv_header_GL_gl_h
=yes
33083 echo "$as_me: failed program was:" >&5
33084 sed 's/^/| /' conftest.
$ac_ext >&5
33086 ac_cv_header_GL_gl_h
=no
33089 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
33091 { echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
33092 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6; }
33093 if test $ac_cv_header_GL_gl_h = yes; then
33095 { echo "$as_me:$LINENO: checking for GL/glu.h" >&5
33096 echo $ECHO_N "checking for GL/glu.h... $ECHO_C" >&6; }
33097 if test "${ac_cv_header_GL_glu_h+set}" = set; then
33098 echo $ECHO_N "(cached) $ECHO_C" >&6
33100 cat >conftest.
$ac_ext <<_ACEOF
33103 cat confdefs.h
>>conftest.
$ac_ext
33104 cat >>conftest.
$ac_ext <<_ACEOF
33105 /* end confdefs.h. */
33108 #include <GL/glu.h>
33110 rm -f conftest.
$ac_objext
33111 if { (ac_try
="$ac_compile"
33112 case "(($ac_try" in
33113 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
33114 *) ac_try_echo=$ac_try;;
33116 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33117 (eval "$ac_compile") 2>conftest.er1
33119 grep -v '^ *+' conftest.er1 >conftest.err
33121 cat conftest.err >&5
33122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33123 (exit $ac_status); } && {
33124 test -z "$ac_c_werror_flag" ||
33125 test ! -s conftest.err
33126 } && test -s conftest.$ac_objext; then
33127 ac_cv_header_GL_glu_h=yes
33129 echo "$as_me: failed program was:" >&5
33130 sed 's/^/| /' conftest.$ac_ext >&5
33132 ac_cv_header_GL_glu_h=no
33135 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33137 { echo "$as_me:$LINENO: result: $ac_cv_header_GL_glu_h" >&5
33138 echo "${ECHO_T}$ac_cv_header_GL_glu_h" >&6; }
33139 if test $ac_cv_header_GL_glu_h = yes; then
33143 { echo "$as_me:$LINENO: checking for -lGL" >&5
33144 echo $ECHO_N "checking for -lGL... $ECHO_C" >&6; }
33147 for ac_dir in $SEARCH_LIB /opt/graphics/OpenGL/lib;
33149 for ac_extension in a so sl dylib dll.a; do
33150 if test -f "$ac_dir/libGL.$ac_extension"; then
33151 ac_find_libraries=$ac_dir
33157 if test "$ac_find_libraries" != "" ; then
33158 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
33159 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
33162 if test "$ac_find_libraries" = "default location"; then
33165 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
33167 if test $result = 0; then
33170 ac_path_to_link=" -L$ac_find_libraries"
33174 if test "$ac_path_to_link" != " -L/usr/lib" ; then
33175 LDFLAGS_GL="$ac_path_to_link"
33178 { echo "$as_me:$LINENO: checking for -lGLU" >&5
33179 echo $ECHO_N "checking for -lGLU... $ECHO_C" >&6; }
33182 for ac_dir in $SEARCH_LIB;
33184 for ac_extension in a so sl dylib dll.a; do
33185 if test -f "$ac_dir/libGLU.$ac_extension"; then
33186 ac_find_libraries=$ac_dir
33192 if test "$ac_find_libraries" != "" ; then
33194 if test "$ac_find_libraries" = "default location"; then
33197 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
33199 if test $result = 0; then
33202 ac_path_to_link=" -L$ac_find_libraries"
33206 if test "$ac_path_to_link" != " -L/usr/lib" -a \
33207 "$ac_path_to_link" != "$LDFLAGS_GL"; then
33208 LDFLAGS_GL="$LDFLAGS_GL$ac_path_to_link"
33212 OPENGL_LIBS="-lGL -lGLU"
33213 { echo "$as_me:$LINENO: result: yes" >&5
33214 echo "${ECHO_T}yes" >&6; }
33216 { echo "$as_me:$LINENO: result: no" >&5
33217 echo "${ECHO_T}no" >&6; }
33220 { echo "$as_me:$LINENO: result: no" >&5
33221 echo "${ECHO_T}no" >&6; }
33224 if test "$found_gl" != 1; then
33225 { echo "$as_me:$LINENO: checking for -lMesaGL" >&5
33226 echo $ECHO_N "checking for -lMesaGL... $ECHO_C" >&6; }
33229 for ac_dir in $SEARCH_LIB;
33231 for ac_extension in a so sl dylib dll.a; do
33232 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
33233 ac_find_libraries=$ac_dir
33239 if test "$ac_find_libraries" != "" ; then
33241 if test "$ac_find_libraries" = "default location"; then
33244 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
33246 if test $result = 0; then
33249 ac_path_to_link=" -L$ac_find_libraries"
33253 LDFLAGS_GL="$LDFLAGS$ac_path_to_link"
33254 OPENGL_LIBS="-lMesaGL -lMesaGLU"
33255 { echo "$as_me:$LINENO: result: yes" >&5
33256 echo "${ECHO_T}yes" >&6; }
33258 { echo "$as_me:$LINENO: result: no" >&5
33259 echo "${ECHO_T}no" >&6; }
33271 if test "x$OPENGL_LIBS" = "x"; then
33272 { { echo "$as_me:$LINENO: error: OpenGL libraries not available" >&5
33273 echo "$as_me: error: OpenGL libraries not available" >&2;}
33274 { (exit 1); exit 1; }; }
33278 if test "$wxUSE_OPENGL" = "yes"; then
33280 cat >>confdefs.h <<\_ACEOF
33281 #define wxUSE_OPENGL 1
33284 cat >>confdefs.h <<\_ACEOF
33285 #define wxUSE_GLCANVAS 1
33288 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS opengl opengl/cube opengl/penguin opengl/isosurf"
33293 if test -n "$TOOLKIT" ; then
33294 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
33299 if test "$wxUSE_SHARED" = "yes"; then
33303 { echo "$as_me:$LINENO: WARNING: Host system doesn't support shared libraries, disabling" >&5
33304 echo "$as_me: WARNING: Host system doesn't support shared libraries, disabling" >&2;}
33309 if test "$wxUSE_SHARED" = "yes"; then
33313 *-*-cygwin* | *-*-mingw* )
33314 wx_cv_version_script=no
33318 { echo "$as_me:$LINENO: checking if the linker accepts --version-script" >&5
33319 echo $ECHO_N "checking if the linker accepts --version-script... $ECHO_C" >&6; }
33320 if test "${wx_cv_version_script+set}" = set; then
33321 echo $ECHO_N "(cached) $ECHO_C" >&6
33324 echo "VER_1 { *; };" >conftest.sym
33325 echo "int main() { return 0; }" >conftest.cpp
33328 $CXX -o conftest.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
33329 -Wl,--version-script,conftest.sym >/dev/null 2>conftest.stderr'
33330 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33331 (eval $ac_try) 2>&5
33333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33334 (exit $ac_status); }; } ; then
33335 if test -s conftest.stderr ; then
33336 wx_cv_version_script=no
33338 wx_cv_version_script=yes
33341 wx_cv_version_script=no
33344 if test $wx_cv_version_script = yes
33346 echo "struct B { virtual ~B() { } }; \
33347 struct D : public B { }; \
33348 void F() { D d; }" > conftest.cpp
33351 $CXX -shared -fPIC -o conftest1.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
33352 -Wl,--version-script,conftest.sym >/dev/null 2>/dev/null'
33353 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33354 (eval $ac_try) 2>&5
33356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33357 (exit $ac_status); }; } &&
33359 $CXX -shared -fPIC -o conftest2.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
33360 -Wl,--version-script,conftest.sym conftest1.output >/dev/null 2>/dev/null'
33361 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33362 (eval $ac_try) 2>&5
33364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33365 (exit $ac_status); }; }
33368 $CXX -shared -fPIC -o conftest3.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
33369 -Wl,--version-script,conftest.sym conftest2.output conftest1.output >/dev/null 2>/dev/null'
33370 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33371 (eval $ac_try) 2>&5
33373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33374 (exit $ac_status); }; }
33376 wx_cv_version_script=yes
33378 wx_cv_version_script=no
33383 rm -f conftest.output conftest.stderr conftest.sym conftest.cpp
33384 rm -f conftest1.output conftest2.output conftest3.output
33387 { echo "$as_me:$LINENO: result: $wx_cv_version_script" >&5
33388 echo "${ECHO_T}$wx_cv_version_script" >&6; }
33390 if test $wx_cv_version_script = yes ; then
33391 LDFLAGS_VERSIONING="-Wl,--version-script,\$(wx_top_builddir)/version-script"
33397 if test "$wxUSE_VISIBILITY" != "no"; then
33400 if test -n "$GCC"; then
33401 CFLAGS_VISIBILITY="-fvisibility=hidden"
33402 CXXFLAGS_VISIBILITY="-fvisibility=hidden -fvisibility-inlines-hidden"
33403 { echo "$as_me:$LINENO: checking for symbols visibility support" >&5
33404 echo $ECHO_N "checking for symbols visibility support... $ECHO_C" >&6; }
33405 if test "${wx_cv_cc_visibility+set}" = set; then
33406 echo $ECHO_N "(cached) $ECHO_C" >&6
33409 wx_save_CXXFLAGS="$CXXFLAGS"
33410 CXXFLAGS="$CXXFLAGS $CXXFLAGS_VISIBILITY"
33412 ac_cpp='$CXXCPP $CPPFLAGS'
33413 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33414 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33415 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33417 cat >conftest.$ac_ext <<_ACEOF
33420 cat confdefs.h >>conftest.$ac_ext
33421 cat >>conftest.$ac_ext <<_ACEOF
33422 /* end confdefs.h. */
33424 /* we need gcc >= 4.0, older versions with visibility support
33425 didn't have class visibility: */
33426 #if defined(__GNUC__) && __GNUC__ < 4
33427 error this gcc is too old;
33430 /* visibility only makes sense for ELF shared libs: */
33431 #if !defined(__ELF__) && !defined(__APPLE__)
33432 error this platform has no visibility;
33435 extern __attribute__((__visibility__("hidden"))) int hiddenvar;
33436 extern __attribute__((__visibility__("default"))) int exportedvar;
33437 extern __attribute__((__visibility__("hidden"))) int hiddenfunc (void);
33438 extern __attribute__((__visibility__("default"))) int exportedfunc (void);
33439 class __attribute__((__visibility__("default"))) Foo {
33451 rm -f conftest.$ac_objext
33452 if { (ac_try="$ac_compile"
33453 case "(($ac_try" in
33454 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
33455 *) ac_try_echo
=$ac_try;;
33457 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33458 (eval "$ac_compile") 2>conftest.er1
33460 grep -v '^ *+' conftest.er1
>conftest.err
33462 cat conftest.err
>&5
33463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33464 (exit $ac_status); } && {
33465 test -z "$ac_cxx_werror_flag" ||
33466 test ! -s conftest.err
33467 } && test -s conftest.
$ac_objext; then
33468 wx_cv_cc_visibility
=yes
33470 echo "$as_me: failed program was:" >&5
33471 sed 's/^/| /' conftest.
$ac_ext >&5
33473 wx_cv_cc_visibility
=no
33476 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
33478 ac_cpp
='$CPP $CPPFLAGS'
33479 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33480 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33481 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
33483 CXXFLAGS
="$wx_save_CXXFLAGS"
33486 { echo "$as_me:$LINENO: result: $wx_cv_cc_visibility" >&5
33487 echo "${ECHO_T}$wx_cv_cc_visibility" >&6; }
33488 if test $wx_cv_cc_visibility = yes; then
33489 { echo "$as_me:$LINENO: checking for broken libstdc++ visibility" >&5
33490 echo $ECHO_N "checking for broken libstdc++ visibility... $ECHO_C" >&6; }
33491 if test "${wx_cv_cc_broken_libstdcxx_visibility+set}" = set; then
33492 echo $ECHO_N "(cached) $ECHO_C" >&6
33495 wx_save_CXXFLAGS
="$CXXFLAGS"
33496 wx_save_LDFLAGS
="$LDFLAGS"
33497 CXXFLAGS
="$CXXFLAGS $CXXFLAGS_VISIBILITY"
33498 LDFLAGS
="$LDFLAGS -shared -fPIC"
33500 ac_cpp
='$CXXCPP $CPPFLAGS'
33501 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33502 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33503 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
33505 cat >conftest.
$ac_ext <<_ACEOF
33508 cat confdefs.h
>>conftest.
$ac_ext
33509 cat >>conftest.
$ac_ext <<_ACEOF
33510 /* end confdefs.h. */
33518 std::string s("hello");
33525 rm -f conftest.
$ac_objext conftest
$ac_exeext
33526 if { (ac_try
="$ac_link"
33527 case "(($ac_try" in
33528 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
33529 *) ac_try_echo=$ac_try;;
33531 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33532 (eval "$ac_link") 2>conftest.er1
33534 grep -v '^ *+' conftest.er1 >conftest.err
33536 cat conftest.err >&5
33537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33538 (exit $ac_status); } && {
33539 test -z "$ac_cxx_werror_flag" ||
33540 test ! -s conftest.err
33541 } && test -s conftest$ac_exeext &&
33542 $as_test_x conftest$ac_exeext; then
33543 wx_cv_cc_broken_libstdcxx_visibility=no
33545 echo "$as_me: failed program was:" >&5
33546 sed 's/^/| /' conftest.$ac_ext >&5
33548 wx_cv_cc_broken_libstdcxx_visibility=yes
33551 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33552 conftest$ac_exeext conftest.$ac_ext
33554 ac_cpp='$CPP $CPPFLAGS'
33555 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33556 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33557 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33559 CXXFLAGS="$wx_save_CXXFLAGS"
33560 LDFLAGS="$wx_save_LDFLAGS"
33563 { echo "$as_me:$LINENO: result: $wx_cv_cc_broken_libstdcxx_visibility" >&5
33564 echo "${ECHO_T}$wx_cv_cc_broken_libstdcxx_visibility" >&6; }
33566 if test $wx_cv_cc_broken_libstdcxx_visibility = yes; then
33567 { echo "$as_me:$LINENO: checking whether we can work around it" >&5
33568 echo $ECHO_N "checking whether we can work around it... $ECHO_C" >&6; }
33569 if test "${wx_cv_cc_visibility_workaround+set}" = set; then
33570 echo $ECHO_N "(cached) $ECHO_C" >&6
33574 ac_cpp='$CXXCPP $CPPFLAGS'
33575 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33576 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33577 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33579 cat >conftest.$ac_ext <<_ACEOF
33582 cat confdefs.h >>conftest.$ac_ext
33583 cat >>conftest.$ac_ext <<_ACEOF
33584 /* end confdefs.h. */
33586 #pragma GCC visibility push(default)
33588 #pragma GCC visibility pop
33594 std::string s("hello");
33601 rm -f conftest.$ac_objext conftest$ac_exeext
33602 if { (ac_try="$ac_link"
33603 case "(($ac_try" in
33604 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
33605 *) ac_try_echo
=$ac_try;;
33607 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33608 (eval "$ac_link") 2>conftest.er1
33610 grep -v '^ *+' conftest.er1
>conftest.err
33612 cat conftest.err
>&5
33613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33614 (exit $ac_status); } && {
33615 test -z "$ac_cxx_werror_flag" ||
33616 test ! -s conftest.err
33617 } && test -s conftest
$ac_exeext &&
33618 $as_test_x conftest
$ac_exeext; then
33619 wx_cv_cc_visibility_workaround
=no
33621 echo "$as_me: failed program was:" >&5
33622 sed 's/^/| /' conftest.
$ac_ext >&5
33624 wx_cv_cc_visibility_workaround
=yes
33627 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
33628 conftest
$ac_exeext conftest.
$ac_ext
33630 ac_cpp
='$CPP $CPPFLAGS'
33631 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33632 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33633 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
33638 { echo "$as_me:$LINENO: result: $wx_cv_cc_visibility_workaround" >&5
33639 echo "${ECHO_T}$wx_cv_cc_visibility_workaround" >&6; }
33641 if test $wx_cv_cc_visibility_workaround = no
; then
33642 wx_cv_cc_visibility
=no
33647 if test $wx_cv_cc_visibility = yes; then
33648 cat >>confdefs.h
<<\_ACEOF
33649 #define HAVE_VISIBILITY 1
33652 if test $wx_cv_cc_broken_libstdcxx_visibility = yes; then
33653 cat >>confdefs.h
<<\_ACEOF
33654 #define HAVE_BROKEN_LIBSTDCXX_VISIBILITY 1
33659 CFLAGS_VISIBILITY
=""
33660 CXXFLAGS_VISIBILITY
=""
33668 if test "x$SUNCXX" = xyes
; then
33669 SAMPLES_RPATH_FLAG
="-R\$(wx_top_builddir)/lib"
33670 WXCONFIG_RPATH
="-R\$libdir"
33673 *-*-linux* | *-*-gnu* )
33674 SAMPLES_RPATH_FLAG
="-Wl,-rpath,\$(wx_top_builddir)/lib"
33675 WXCONFIG_RPATH
="-Wl,-rpath,\$libdir"
33680 CPPFLAGS
="-isystem /usr/openwin/include $CPPFLAGS"
33682 saveLdflags
="$LDFLAGS"
33683 LDFLAGS
="$saveLdflags -Wl,-rpath,/"
33684 { echo "$as_me:$LINENO: checking if the linker accepts -rpath" >&5
33685 echo $ECHO_N "checking if the linker accepts -rpath... $ECHO_C" >&6; }
33686 cat >conftest.
$ac_ext <<_ACEOF
33689 cat confdefs.h
>>conftest.
$ac_ext
33690 cat >>conftest.
$ac_ext <<_ACEOF
33691 /* end confdefs.h. */
33701 rm -f conftest.
$ac_objext conftest
$ac_exeext
33702 if { (ac_try
="$ac_link"
33703 case "(($ac_try" in
33704 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
33705 *) ac_try_echo=$ac_try;;
33707 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33708 (eval "$ac_link") 2>conftest.er1
33710 grep -v '^ *+' conftest.er1 >conftest.err
33712 cat conftest.err >&5
33713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33714 (exit $ac_status); } && {
33715 test -z "$ac_c_werror_flag" ||
33716 test ! -s conftest.err
33717 } && test -s conftest$ac_exeext &&
33718 $as_test_x conftest$ac_exeext; then
33720 { echo "$as_me:$LINENO: result: yes" >&5
33721 echo "${ECHO_T}yes" >&6; }
33722 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(wx_top_builddir)/lib"
33723 WXCONFIG_RPATH="-Wl,-rpath,\$libdir"
33726 echo "$as_me: failed program was:" >&5
33727 sed 's/^/| /' conftest.$ac_ext >&5
33730 { echo "$as_me:$LINENO: result: no" >&5
33731 echo "${ECHO_T}no" >&6; }
33732 { echo "$as_me:$LINENO: checking if the linker accepts -R" >&5
33733 echo $ECHO_N "checking if the linker accepts -R... $ECHO_C" >&6; }
33734 LDFLAGS="$saveLdflags -Wl,-R,/"
33735 cat >conftest.$ac_ext <<_ACEOF
33738 cat confdefs.h >>conftest.$ac_ext
33739 cat >>conftest.$ac_ext <<_ACEOF
33740 /* end confdefs.h. */
33750 rm -f conftest.$ac_objext conftest$ac_exeext
33751 if { (ac_try="$ac_link"
33752 case "(($ac_try" in
33753 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
33754 *) ac_try_echo
=$ac_try;;
33756 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33757 (eval "$ac_link") 2>conftest.er1
33759 grep -v '^ *+' conftest.er1
>conftest.err
33761 cat conftest.err
>&5
33762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33763 (exit $ac_status); } && {
33764 test -z "$ac_c_werror_flag" ||
33765 test ! -s conftest.err
33766 } && test -s conftest
$ac_exeext &&
33767 $as_test_x conftest
$ac_exeext; then
33769 { echo "$as_me:$LINENO: result: yes" >&5
33770 echo "${ECHO_T}yes" >&6; }
33771 SAMPLES_RPATH_FLAG
="-Wl,-R,\$(wx_top_builddir)/lib"
33772 WXCONFIG_RPATH
="-Wl,-R,\$libdir"
33775 echo "$as_me: failed program was:" >&5
33776 sed 's/^/| /' conftest.
$ac_ext >&5
33779 { echo "$as_me:$LINENO: result: no" >&5
33780 echo "${ECHO_T}no" >&6; }
33784 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
33785 conftest
$ac_exeext conftest.
$ac_ext
33789 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
33790 conftest
$ac_exeext conftest.
$ac_ext
33791 LDFLAGS
="$saveLdflags"
33795 install_name_tool
=`which install_name_tool`
33796 if test "$install_name_tool" -a -x "$install_name_tool"; then
33797 SAMPLES_RPATH_POSTLINK
="\$(wx_top_builddir)/change-install-names \$(LIBDIRNAME) \$(prefix) \$@"
33798 cat <<EOF >change-install-names
33800 libnames=\`cd \${1} ; ls -1 | grep '\.[0-9][0-9]*\.dylib\$'\`
33801 inst_cmd="install_name_tool "
33802 for i in \${libnames} ; do
33803 inst_cmd="\${inst_cmd} -change \${2}/lib/\${i} \${1}/\${i}"
33807 chmod +x change
-install-names
33811 *-*-cygwin* | *-*-mingw32* )
33815 SAMPLES_RPATH_FLAG
="-Wl,+b,\$(wx_top_builddir)/lib"
33816 WXCONFIG_RPATH
="-Wl,+b,\$libdir"
33822 WXCONFIG_ONLY_CPPFLAGS
="$WXCONFIG_ONLY_CPPFLAGS -DWXUSINGDLL"
33824 if test $wxUSE_RPATH = "no"; then
33825 SAMPLES_RPATH_FLAG
=''
33826 SAMPLES_RPATH_POSTLINK
=''
33834 config_linkage_component
="-static"
33841 lib_unicode_suffix
=
33843 if test "$wxUSE_UNICODE" = "yes"; then
33844 lib_unicode_suffix
=u
33845 WX_CHARTYPE
="unicode"
33850 WX_DEBUGTYPE
="release"
33852 if test "$wxUSE_DEBUG_FLAG" = "yes"; then
33854 WX_DEBUGTYPE
="debug"
33858 WX_FLAVOUR
=${WX_FLAVOUR:+-$WX_FLAVOUR}
33859 WX_LIB_FLAVOUR
=`echo $WX_FLAVOUR | tr '-' '_'`
33862 if test "$wxUSE_DEBUG_INFO" = "yes"; then
33866 WX_VERSION_TAG
=`echo WX${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}_${WX_RELEASE} | tr '[a-z]' '[A-Z]'`
33868 TOOLCHAIN_NAME
="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}"
33870 TOOLCHAIN_FULLNAME
="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}-${WX_CHARTYPE}-${WX_DEBUGTYPE}${config_linkage_component}-${WX_RELEASE}${WX_FLAVOUR}"
33872 if test "$cross_compiling" = "yes"; then
33873 HOST_SUFFIX
="-$host_alias"
33874 TOOLCHAIN_NAME
="$TOOLCHAIN_NAME$HOST_SUFFIX"
33875 TOOLCHAIN_FULLNAME
="${host_alias}-$TOOLCHAIN_FULLNAME"
33878 WX_LIBRARY_BASENAME_NOGUI
="wx_base${WXBASEPORT}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
33879 if test "${TOOLKIT_DIR}" = "os2"; then
33880 WX_LIBRARY_BASENAME_GUI
="wx_pm${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
33882 WX_LIBRARY_BASENAME_GUI
="wx_${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
33887 if test "$wxUSE_COCOA" = 1; then
33890 ac_cpp
='$CPP $CPPFLAGS'
33891 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33892 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33893 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
33897 { echo "$as_me:$LINENO: checking if AppKit/NSEvent.h conflicts with CoreFoundation" >&5
33898 echo $ECHO_N "checking if AppKit/NSEvent.h conflicts with CoreFoundation... $ECHO_C" >&6; }
33899 cat >conftest.
$ac_ext <<_ACEOF
33902 cat confdefs.h
>>conftest.
$ac_ext
33903 cat >>conftest.
$ac_ext <<_ACEOF
33904 /* end confdefs.h. */
33905 #include <AppKit/NSEvent.h>
33906 #include <CoreFoundation/CoreFoundation.h>
33916 rm -f conftest.
$ac_objext
33917 if { (ac_try
="$ac_compile"
33918 case "(($ac_try" in
33919 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
33920 *) ac_try_echo=$ac_try;;
33922 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33923 (eval "$ac_compile") 2>conftest.er1
33925 grep -v '^ *+' conftest.er1 >conftest.err
33927 cat conftest.err >&5
33928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33929 (exit $ac_status); } && {
33930 test -z "$ac_c_werror_flag" ||
33931 test ! -s conftest.err
33932 } && test -s conftest.$ac_objext; then
33933 { echo "$as_me:$LINENO: result: no" >&5
33934 echo "${ECHO_T}no" >&6; }
33936 echo "$as_me: failed program was:" >&5
33937 sed 's/^/| /' conftest.$ac_ext >&5
33939 { echo "$as_me:$LINENO: result: yes" >&5
33940 echo "${ECHO_T}yes" >&6; }
33941 { echo "$as_me:$LINENO: checking if defining __Point__ will fix it" >&5
33942 echo $ECHO_N "checking if defining __Point__ will fix it... $ECHO_C" >&6; }
33943 cat >conftest.$ac_ext <<_ACEOF
33946 cat confdefs.h >>conftest.$ac_ext
33947 cat >>conftest.$ac_ext <<_ACEOF
33948 /* end confdefs.h. */
33949 #define __Point__ 1
33950 #include <AppKit/NSEvent.h>
33951 #include <CoreFoundation/CoreFoundation.h>
33961 rm -f conftest.$ac_objext
33962 if { (ac_try="$ac_compile"
33963 case "(($ac_try" in
33964 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
33965 *) ac_try_echo
=$ac_try;;
33967 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33968 (eval "$ac_compile") 2>conftest.er1
33970 grep -v '^ *+' conftest.er1
>conftest.err
33972 cat conftest.err
>&5
33973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33974 (exit $ac_status); } && {
33975 test -z "$ac_c_werror_flag" ||
33976 test ! -s conftest.err
33977 } && test -s conftest.
$ac_objext; then
33978 { echo "$as_me:$LINENO: result: yes" >&5
33979 echo "${ECHO_T}yes" >&6; }
33980 cat >>confdefs.h
<<\_ACEOF
33981 #define __Point__ 1
33986 echo "$as_me: failed program was:" >&5
33987 sed 's/^/| /' conftest.
$ac_ext >&5
33989 { { echo "$as_me:$LINENO: error: no
33990 See \`config.log' for more details." >&5
33991 echo "$as_me: error: no
33992 See \`config.log' for more details." >&2;}
33993 { (exit 1); exit 1; }; }
33997 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
34001 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
34003 ac_cpp
='$CPP $CPPFLAGS'
34004 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34005 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34006 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
34011 { echo "$as_me:$LINENO: checking for mode_t" >&5
34012 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6; }
34013 if test "${ac_cv_type_mode_t+set}" = set; then
34014 echo $ECHO_N "(cached) $ECHO_C" >&6
34016 cat >conftest.
$ac_ext <<_ACEOF
34019 cat confdefs.h
>>conftest.
$ac_ext
34020 cat >>conftest.
$ac_ext <<_ACEOF
34021 /* end confdefs.h. */
34022 $ac_includes_default
34023 typedef mode_t ac__type_new_;
34027 if ((ac__type_new_ *) 0)
34029 if (sizeof (ac__type_new_))
34035 rm -f conftest.
$ac_objext
34036 if { (ac_try
="$ac_compile"
34037 case "(($ac_try" in
34038 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
34039 *) ac_try_echo=$ac_try;;
34041 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34042 (eval "$ac_compile") 2>conftest.er1
34044 grep -v '^ *+' conftest.er1 >conftest.err
34046 cat conftest.err >&5
34047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34048 (exit $ac_status); } && {
34049 test -z "$ac_c_werror_flag" ||
34050 test ! -s conftest.err
34051 } && test -s conftest.$ac_objext; then
34052 ac_cv_type_mode_t=yes
34054 echo "$as_me: failed program was:" >&5
34055 sed 's/^/| /' conftest.$ac_ext >&5
34057 ac_cv_type_mode_t=no
34060 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34062 { echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
34063 echo "${ECHO_T}$ac_cv_type_mode_t" >&6; }
34064 if test $ac_cv_type_mode_t = yes; then
34068 cat >>confdefs.h <<_ACEOF
34074 { echo "$as_me:$LINENO: checking for off_t" >&5
34075 echo $ECHO_N "checking for off_t... $ECHO_C" >&6; }
34076 if test "${ac_cv_type_off_t+set}" = set; then
34077 echo $ECHO_N "(cached) $ECHO_C" >&6
34079 cat >conftest.$ac_ext <<_ACEOF
34082 cat confdefs.h >>conftest.$ac_ext
34083 cat >>conftest.$ac_ext <<_ACEOF
34084 /* end confdefs.h. */
34085 $ac_includes_default
34086 typedef off_t ac__type_new_;
34090 if ((ac__type_new_ *) 0)
34092 if (sizeof (ac__type_new_))
34098 rm -f conftest.$ac_objext
34099 if { (ac_try="$ac_compile"
34100 case "(($ac_try" in
34101 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
34102 *) ac_try_echo
=$ac_try;;
34104 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34105 (eval "$ac_compile") 2>conftest.er1
34107 grep -v '^ *+' conftest.er1
>conftest.err
34109 cat conftest.err
>&5
34110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34111 (exit $ac_status); } && {
34112 test -z "$ac_c_werror_flag" ||
34113 test ! -s conftest.err
34114 } && test -s conftest.
$ac_objext; then
34115 ac_cv_type_off_t
=yes
34117 echo "$as_me: failed program was:" >&5
34118 sed 's/^/| /' conftest.
$ac_ext >&5
34120 ac_cv_type_off_t
=no
34123 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
34125 { echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
34126 echo "${ECHO_T}$ac_cv_type_off_t" >&6; }
34127 if test $ac_cv_type_off_t = yes; then
34131 cat >>confdefs.h
<<_ACEOF
34132 #define off_t long int
34137 { echo "$as_me:$LINENO: checking for pid_t" >&5
34138 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6; }
34139 if test "${ac_cv_type_pid_t+set}" = set; then
34140 echo $ECHO_N "(cached) $ECHO_C" >&6
34142 cat >conftest.
$ac_ext <<_ACEOF
34145 cat confdefs.h
>>conftest.
$ac_ext
34146 cat >>conftest.
$ac_ext <<_ACEOF
34147 /* end confdefs.h. */
34148 $ac_includes_default
34149 typedef pid_t ac__type_new_;
34153 if ((ac__type_new_ *) 0)
34155 if (sizeof (ac__type_new_))
34161 rm -f conftest.
$ac_objext
34162 if { (ac_try
="$ac_compile"
34163 case "(($ac_try" in
34164 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
34165 *) ac_try_echo=$ac_try;;
34167 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34168 (eval "$ac_compile") 2>conftest.er1
34170 grep -v '^ *+' conftest.er1 >conftest.err
34172 cat conftest.err >&5
34173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34174 (exit $ac_status); } && {
34175 test -z "$ac_c_werror_flag" ||
34176 test ! -s conftest.err
34177 } && test -s conftest.$ac_objext; then
34178 ac_cv_type_pid_t=yes
34180 echo "$as_me: failed program was:" >&5
34181 sed 's/^/| /' conftest.$ac_ext >&5
34183 ac_cv_type_pid_t=no
34186 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34188 { echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
34189 echo "${ECHO_T}$ac_cv_type_pid_t" >&6; }
34190 if test $ac_cv_type_pid_t = yes; then
34194 cat >>confdefs.h <<_ACEOF
34200 { echo "$as_me:$LINENO: checking for size_t" >&5
34201 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
34202 if test "${ac_cv_type_size_t+set}" = set; then
34203 echo $ECHO_N "(cached) $ECHO_C" >&6
34205 cat >conftest.$ac_ext <<_ACEOF
34208 cat confdefs.h >>conftest.$ac_ext
34209 cat >>conftest.$ac_ext <<_ACEOF
34210 /* end confdefs.h. */
34211 $ac_includes_default
34212 typedef size_t ac__type_new_;
34216 if ((ac__type_new_ *) 0)
34218 if (sizeof (ac__type_new_))
34224 rm -f conftest.$ac_objext
34225 if { (ac_try="$ac_compile"
34226 case "(($ac_try" in
34227 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
34228 *) ac_try_echo
=$ac_try;;
34230 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34231 (eval "$ac_compile") 2>conftest.er1
34233 grep -v '^ *+' conftest.er1
>conftest.err
34235 cat conftest.err
>&5
34236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34237 (exit $ac_status); } && {
34238 test -z "$ac_c_werror_flag" ||
34239 test ! -s conftest.err
34240 } && test -s conftest.
$ac_objext; then
34241 ac_cv_type_size_t
=yes
34243 echo "$as_me: failed program was:" >&5
34244 sed 's/^/| /' conftest.
$ac_ext >&5
34246 ac_cv_type_size_t
=no
34249 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
34251 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
34252 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
34253 if test $ac_cv_type_size_t = yes; then
34257 cat >>confdefs.h
<<_ACEOF
34258 #define size_t unsigned int
34264 { echo "$as_me:$LINENO: checking for ssize_t" >&5
34265 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6; }
34266 if test "${ac_cv_type_ssize_t+set}" = set; then
34267 echo $ECHO_N "(cached) $ECHO_C" >&6
34269 cat >conftest.
$ac_ext <<_ACEOF
34272 cat confdefs.h
>>conftest.
$ac_ext
34273 cat >>conftest.
$ac_ext <<_ACEOF
34274 /* end confdefs.h. */
34275 $ac_includes_default
34276 typedef ssize_t ac__type_new_;
34280 if ((ac__type_new_ *) 0)
34282 if (sizeof (ac__type_new_))
34288 rm -f conftest.
$ac_objext
34289 if { (ac_try
="$ac_compile"
34290 case "(($ac_try" in
34291 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
34292 *) ac_try_echo=$ac_try;;
34294 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34295 (eval "$ac_compile") 2>conftest.er1
34297 grep -v '^ *+' conftest.er1 >conftest.err
34299 cat conftest.err >&5
34300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34301 (exit $ac_status); } && {
34302 test -z "$ac_c_werror_flag" ||
34303 test ! -s conftest.err
34304 } && test -s conftest.$ac_objext; then
34305 ac_cv_type_ssize_t=yes
34307 echo "$as_me: failed program was:" >&5
34308 sed 's/^/| /' conftest.$ac_ext >&5
34310 ac_cv_type_ssize_t=no
34313 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34315 { echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
34316 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6; }
34317 if test $ac_cv_type_ssize_t = yes; then
34319 cat >>confdefs.h <<_ACEOF
34320 #define HAVE_SSIZE_T 1
34328 ac_cpp='$CXXCPP $CPPFLAGS'
34329 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34330 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34331 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34332 { echo "$as_me:$LINENO: checking if size_t is unsigned int" >&5
34333 echo $ECHO_N "checking if size_t is unsigned int... $ECHO_C" >&6; }
34334 if test "${wx_cv_size_t_is_uint+set}" = set; then
34335 echo $ECHO_N "(cached) $ECHO_C" >&6
34338 cat >conftest.$ac_ext <<_ACEOF
34341 cat confdefs.h >>conftest.$ac_ext
34342 cat >>conftest.$ac_ext <<_ACEOF
34343 /* end confdefs.h. */
34344 #include <stddef.h>
34351 struct Foo { void foo(size_t); void foo(unsigned int); };
34359 rm -f conftest.$ac_objext
34360 if { (ac_try="$ac_compile"
34361 case "(($ac_try" in
34362 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
34363 *) ac_try_echo
=$ac_try;;
34365 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34366 (eval "$ac_compile") 2>conftest.er1
34368 grep -v '^ *+' conftest.er1
>conftest.err
34370 cat conftest.err
>&5
34371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34372 (exit $ac_status); } && {
34373 test -z "$ac_cxx_werror_flag" ||
34374 test ! -s conftest.err
34375 } && test -s conftest.
$ac_objext; then
34376 wx_cv_size_t_is_uint
=no
34378 echo "$as_me: failed program was:" >&5
34379 sed 's/^/| /' conftest.
$ac_ext >&5
34381 wx_cv_size_t_is_uint
=yes
34385 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
34389 { echo "$as_me:$LINENO: result: $wx_cv_size_t_is_uint" >&5
34390 echo "${ECHO_T}$wx_cv_size_t_is_uint" >&6; }
34392 if test "$wx_cv_size_t_is_uint" = "yes"; then
34393 cat >>confdefs.h
<<\_ACEOF
34394 #define wxSIZE_T_IS_UINT 1
34398 { echo "$as_me:$LINENO: checking if size_t is unsigned long" >&5
34399 echo $ECHO_N "checking if size_t is unsigned long... $ECHO_C" >&6; }
34400 if test "${wx_cv_size_t_is_ulong+set}" = set; then
34401 echo $ECHO_N "(cached) $ECHO_C" >&6
34403 cat >conftest.
$ac_ext <<_ACEOF
34406 cat confdefs.h
>>conftest.
$ac_ext
34407 cat >>conftest.
$ac_ext <<_ACEOF
34408 /* end confdefs.h. */
34409 #include <stddef.h>
34416 struct Foo { void foo(size_t); void foo(unsigned long); };
34424 rm -f conftest.
$ac_objext
34425 if { (ac_try
="$ac_compile"
34426 case "(($ac_try" in
34427 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
34428 *) ac_try_echo=$ac_try;;
34430 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34431 (eval "$ac_compile") 2>conftest.er1
34433 grep -v '^ *+' conftest.er1 >conftest.err
34435 cat conftest.err >&5
34436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34437 (exit $ac_status); } && {
34438 test -z "$ac_cxx_werror_flag" ||
34439 test ! -s conftest.err
34440 } && test -s conftest.$ac_objext; then
34441 wx_cv_size_t_is_ulong=no
34443 echo "$as_me: failed program was:" >&5
34444 sed 's/^/| /' conftest.$ac_ext >&5
34446 wx_cv_size_t_is_ulong=yes
34450 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34453 { echo "$as_me:$LINENO: result: $wx_cv_size_t_is_ulong" >&5
34454 echo "${ECHO_T}$wx_cv_size_t_is_ulong" >&6; }
34456 if test "$wx_cv_size_t_is_ulong" = "yes"; then
34457 cat >>confdefs.h <<\_ACEOF
34458 #define wxSIZE_T_IS_ULONG 1
34464 { echo "$as_me:$LINENO: checking if wchar_t is separate type" >&5
34465 echo $ECHO_N "checking if wchar_t is separate type... $ECHO_C" >&6; }
34466 if test "${wx_cv_wchar_t_is_separate_type+set}" = set; then
34467 echo $ECHO_N "(cached) $ECHO_C" >&6
34469 cat >conftest.$ac_ext <<_ACEOF
34472 cat confdefs.h >>conftest.$ac_ext
34473 cat >>conftest.$ac_ext <<_ACEOF
34474 /* end confdefs.h. */
34482 struct Foo { void foo(wchar_t);
34483 void foo(unsigned short);
34484 void foo(unsigned int);
34485 void foo(unsigned long); };
34493 rm -f conftest.$ac_objext
34494 if { (ac_try="$ac_compile"
34495 case "(($ac_try" in
34496 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
34497 *) ac_try_echo
=$ac_try;;
34499 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34500 (eval "$ac_compile") 2>conftest.er1
34502 grep -v '^ *+' conftest.er1
>conftest.err
34504 cat conftest.err
>&5
34505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34506 (exit $ac_status); } && {
34507 test -z "$ac_cxx_werror_flag" ||
34508 test ! -s conftest.err
34509 } && test -s conftest.
$ac_objext; then
34510 wx_cv_wchar_t_is_separate_type
=yes
34512 echo "$as_me: failed program was:" >&5
34513 sed 's/^/| /' conftest.
$ac_ext >&5
34515 wx_cv_wchar_t_is_separate_type
=no
34519 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
34522 { echo "$as_me:$LINENO: result: $wx_cv_wchar_t_is_separate_type" >&5
34523 echo "${ECHO_T}$wx_cv_wchar_t_is_separate_type" >&6; }
34525 if test "$wx_cv_wchar_t_is_separate_type" = "yes"; then
34526 cat >>confdefs.h
<<\_ACEOF
34527 #define wxWCHAR_T_IS_REAL_TYPE 1
34531 cat >>confdefs.h
<<\_ACEOF
34532 #define wxWCHAR_T_IS_REAL_TYPE 0
34538 ac_cpp
='$CPP $CPPFLAGS'
34539 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34540 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34541 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
34544 { echo "$as_me:$LINENO: checking for pw_gecos in struct passwd" >&5
34545 echo $ECHO_N "checking for pw_gecos in struct passwd... $ECHO_C" >&6; }
34546 if test "${wx_cv_struct_pw_gecos+set}" = set; then
34547 echo $ECHO_N "(cached) $ECHO_C" >&6
34550 cat >conftest.
$ac_ext <<_ACEOF
34553 cat confdefs.h
>>conftest.
$ac_ext
34554 cat >>conftest.
$ac_ext <<_ACEOF
34555 /* end confdefs.h. */
34569 rm -f conftest.
$ac_objext
34570 if { (ac_try
="$ac_compile"
34571 case "(($ac_try" in
34572 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
34573 *) ac_try_echo=$ac_try;;
34575 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34576 (eval "$ac_compile") 2>conftest.er1
34578 grep -v '^ *+' conftest.er1 >conftest.err
34580 cat conftest.err >&5
34581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34582 (exit $ac_status); } && {
34583 test -z "$ac_c_werror_flag" ||
34584 test ! -s conftest.err
34585 } && test -s conftest.$ac_objext; then
34587 wx_cv_struct_pw_gecos=yes
34590 echo "$as_me: failed program was:" >&5
34591 sed 's/^/| /' conftest.$ac_ext >&5
34594 wx_cv_struct_pw_gecos=no
34599 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34603 { echo "$as_me:$LINENO: result: $wx_cv_struct_pw_gecos" >&5
34604 echo "${ECHO_T}$wx_cv_struct_pw_gecos" >&6; }
34606 if test "$wx_cv_struct_pw_gecos" = "yes"; then
34607 cat >>confdefs.h <<\_ACEOF
34608 #define HAVE_PW_GECOS 1
34614 if test "$wxUSE_WCHAR_T" = "yes"; then
34615 cat >>confdefs.h <<\_ACEOF
34616 #define wxUSE_WCHAR_T 1
34623 for ac_func in wcslen
34625 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34626 { echo "$as_me:$LINENO: checking for $ac_func" >&5
34627 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
34628 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
34629 echo $ECHO_N "(cached) $ECHO_C" >&6
34631 cat >conftest.$ac_ext <<_ACEOF
34634 cat confdefs.h >>conftest.$ac_ext
34635 cat >>conftest.$ac_ext <<_ACEOF
34636 /* end confdefs.h. */
34637 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34638 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34639 #define $ac_func innocuous_$ac_func
34641 /* System header to define __stub macros and hopefully few prototypes,
34642 which can conflict with char $ac_func (); below.
34643 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34644 <limits.h> exists even on freestanding compilers. */
34647 # include <limits.h>
34649 # include <assert.h>
34654 /* Override any GCC internal prototype to avoid an error.
34655 Use char because int might match the return type of a GCC
34656 builtin and then its argument prototype would still apply. */
34661 /* The GNU C library defines this for functions which it implements
34662 to always fail with ENOSYS. Some functions are actually named
34663 something starting with __ and the normal name is an alias. */
34664 #if defined __stub_$ac_func || defined __stub___$ac_func
34671 return $ac_func ();
34676 rm -f conftest.$ac_objext conftest$ac_exeext
34677 if { (ac_try="$ac_link"
34678 case "(($ac_try" in
34679 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
34680 *) ac_try_echo
=$ac_try;;
34682 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34683 (eval "$ac_link") 2>conftest.er1
34685 grep -v '^ *+' conftest.er1
>conftest.err
34687 cat conftest.err
>&5
34688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34689 (exit $ac_status); } && {
34690 test -z "$ac_c_werror_flag" ||
34691 test ! -s conftest.err
34692 } && test -s conftest
$ac_exeext &&
34693 $as_test_x conftest
$ac_exeext; then
34694 eval "$as_ac_var=yes"
34696 echo "$as_me: failed program was:" >&5
34697 sed 's/^/| /' conftest.
$ac_ext >&5
34699 eval "$as_ac_var=no"
34702 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
34703 conftest
$ac_exeext conftest.
$ac_ext
34705 ac_res
=`eval echo '${'$as_ac_var'}'`
34706 { echo "$as_me:$LINENO: result: $ac_res" >&5
34707 echo "${ECHO_T}$ac_res" >&6; }
34708 if test `eval echo '${'$as_ac_var'}'` = yes; then
34709 cat >>confdefs.h
<<_ACEOF
34710 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34717 if test "$WCSLEN_FOUND" = 0; then
34718 if test "$TOOLKIT" = "MSW"; then
34719 { echo "$as_me:$LINENO: checking for wcslen in -lmsvcrt" >&5
34720 echo $ECHO_N "checking for wcslen in -lmsvcrt... $ECHO_C" >&6; }
34721 if test "${ac_cv_lib_msvcrt_wcslen+set}" = set; then
34722 echo $ECHO_N "(cached) $ECHO_C" >&6
34724 ac_check_lib_save_LIBS
=$LIBS
34725 LIBS
="-lmsvcrt $LIBS"
34726 cat >conftest.
$ac_ext <<_ACEOF
34729 cat confdefs.h
>>conftest.
$ac_ext
34730 cat >>conftest.
$ac_ext <<_ACEOF
34731 /* end confdefs.h. */
34733 /* Override any GCC internal prototype to avoid an error.
34734 Use char because int might match the return type of a GCC
34735 builtin and then its argument prototype would still apply. */
34748 rm -f conftest.
$ac_objext conftest
$ac_exeext
34749 if { (ac_try
="$ac_link"
34750 case "(($ac_try" in
34751 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
34752 *) ac_try_echo=$ac_try;;
34754 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34755 (eval "$ac_link") 2>conftest.er1
34757 grep -v '^ *+' conftest.er1 >conftest.err
34759 cat conftest.err >&5
34760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34761 (exit $ac_status); } && {
34762 test -z "$ac_c_werror_flag" ||
34763 test ! -s conftest.err
34764 } && test -s conftest$ac_exeext &&
34765 $as_test_x conftest$ac_exeext; then
34766 ac_cv_lib_msvcrt_wcslen=yes
34768 echo "$as_me: failed program was:" >&5
34769 sed 's/^/| /' conftest.$ac_ext >&5
34771 ac_cv_lib_msvcrt_wcslen=no
34774 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34775 conftest$ac_exeext conftest.$ac_ext
34776 LIBS=$ac_check_lib_save_LIBS
34778 { echo "$as_me:$LINENO: result: $ac_cv_lib_msvcrt_wcslen" >&5
34779 echo "${ECHO_T}$ac_cv_lib_msvcrt_wcslen" >&6; }
34780 if test $ac_cv_lib_msvcrt_wcslen = yes; then
34785 { echo "$as_me:$LINENO: checking for wcslen in -lw" >&5
34786 echo $ECHO_N "checking for wcslen in -lw... $ECHO_C" >&6; }
34787 if test "${ac_cv_lib_w_wcslen+set}" = set; then
34788 echo $ECHO_N "(cached) $ECHO_C" >&6
34790 ac_check_lib_save_LIBS=$LIBS
34792 cat >conftest.$ac_ext <<_ACEOF
34795 cat confdefs.h >>conftest.$ac_ext
34796 cat >>conftest.$ac_ext <<_ACEOF
34797 /* end confdefs.h. */
34799 /* Override any GCC internal prototype to avoid an error.
34800 Use char because int might match the return type of a GCC
34801 builtin and then its argument prototype would still apply. */
34814 rm -f conftest.$ac_objext conftest$ac_exeext
34815 if { (ac_try="$ac_link"
34816 case "(($ac_try" in
34817 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
34818 *) ac_try_echo
=$ac_try;;
34820 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34821 (eval "$ac_link") 2>conftest.er1
34823 grep -v '^ *+' conftest.er1
>conftest.err
34825 cat conftest.err
>&5
34826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34827 (exit $ac_status); } && {
34828 test -z "$ac_c_werror_flag" ||
34829 test ! -s conftest.err
34830 } && test -s conftest
$ac_exeext &&
34831 $as_test_x conftest
$ac_exeext; then
34832 ac_cv_lib_w_wcslen
=yes
34834 echo "$as_me: failed program was:" >&5
34835 sed 's/^/| /' conftest.
$ac_ext >&5
34837 ac_cv_lib_w_wcslen
=no
34840 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
34841 conftest
$ac_exeext conftest.
$ac_ext
34842 LIBS
=$ac_check_lib_save_LIBS
34844 { echo "$as_me:$LINENO: result: $ac_cv_lib_w_wcslen" >&5
34845 echo "${ECHO_T}$ac_cv_lib_w_wcslen" >&6; }
34846 if test $ac_cv_lib_w_wcslen = yes; then
34856 if test "$WCSLEN_FOUND" = 1; then
34857 cat >>confdefs.h
<<\_ACEOF
34858 #define HAVE_WCSLEN 1
34864 for ac_func
in wcsdup
34866 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34867 { echo "$as_me:$LINENO: checking for $ac_func" >&5
34868 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
34869 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
34870 echo $ECHO_N "(cached) $ECHO_C" >&6
34872 cat >conftest.
$ac_ext <<_ACEOF
34875 cat confdefs.h
>>conftest.
$ac_ext
34876 cat >>conftest.
$ac_ext <<_ACEOF
34877 /* end confdefs.h. */
34878 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34879 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34880 #define $ac_func innocuous_$ac_func
34882 /* System header to define __stub macros and hopefully few prototypes,
34883 which can conflict with char $ac_func (); below.
34884 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34885 <limits.h> exists even on freestanding compilers. */
34888 # include <limits.h>
34890 # include <assert.h>
34895 /* Override any GCC internal prototype to avoid an error.
34896 Use char because int might match the return type of a GCC
34897 builtin and then its argument prototype would still apply. */
34902 /* The GNU C library defines this for functions which it implements
34903 to always fail with ENOSYS. Some functions are actually named
34904 something starting with __ and the normal name is an alias. */
34905 #if defined __stub_$ac_func || defined __stub___$ac_func
34912 return $ac_func ();
34917 rm -f conftest.
$ac_objext conftest
$ac_exeext
34918 if { (ac_try
="$ac_link"
34919 case "(($ac_try" in
34920 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
34921 *) ac_try_echo=$ac_try;;
34923 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34924 (eval "$ac_link") 2>conftest.er1
34926 grep -v '^ *+' conftest.er1 >conftest.err
34928 cat conftest.err >&5
34929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34930 (exit $ac_status); } && {
34931 test -z "$ac_c_werror_flag" ||
34932 test ! -s conftest.err
34933 } && test -s conftest$ac_exeext &&
34934 $as_test_x conftest$ac_exeext; then
34935 eval "$as_ac_var=yes"
34937 echo "$as_me: failed program was:" >&5
34938 sed 's/^/| /' conftest.$ac_ext >&5
34940 eval "$as_ac_var=no"
34943 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34944 conftest$ac_exeext conftest.$ac_ext
34946 ac_res=`eval echo '${'$as_ac_var'}'`
34947 { echo "$as_me:$LINENO: result: $ac_res" >&5
34948 echo "${ECHO_T}$ac_res" >&6; }
34949 if test `eval echo '${'$as_ac_var'}'` = yes; then
34950 cat >>confdefs.h <<_ACEOF
34951 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34958 if test "$USE_HPUX" = 1 -a "$GCC" != "yes"; then
34959 CPPFLAGS="-D_INCLUDE__STDC_A1_SOURCE $CPPFLAGS"
34962 { echo "$as_me:$LINENO: checking for mbstate_t" >&5
34963 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6; }
34964 if test "${ac_cv_type_mbstate_t+set}" = set; then
34965 echo $ECHO_N "(cached) $ECHO_C" >&6
34967 cat >conftest.$ac_ext <<_ACEOF
34970 cat confdefs.h >>conftest.$ac_ext
34971 cat >>conftest.$ac_ext <<_ACEOF
34972 /* end confdefs.h. */
34975 typedef mbstate_t ac__type_new_;
34979 if ((ac__type_new_ *) 0)
34981 if (sizeof (ac__type_new_))
34987 rm -f conftest.$ac_objext
34988 if { (ac_try="$ac_compile"
34989 case "(($ac_try" in
34990 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
34991 *) ac_try_echo
=$ac_try;;
34993 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34994 (eval "$ac_compile") 2>conftest.er1
34996 grep -v '^ *+' conftest.er1
>conftest.err
34998 cat conftest.err
>&5
34999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35000 (exit $ac_status); } && {
35001 test -z "$ac_c_werror_flag" ||
35002 test ! -s conftest.err
35003 } && test -s conftest.
$ac_objext; then
35004 ac_cv_type_mbstate_t
=yes
35006 echo "$as_me: failed program was:" >&5
35007 sed 's/^/| /' conftest.
$ac_ext >&5
35009 ac_cv_type_mbstate_t
=no
35012 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
35014 { echo "$as_me:$LINENO: result: $ac_cv_type_mbstate_t" >&5
35015 echo "${ECHO_T}$ac_cv_type_mbstate_t" >&6; }
35016 if test $ac_cv_type_mbstate_t = yes; then
35018 cat >>confdefs.h
<<_ACEOF
35019 #define HAVE_MBSTATE_T 1
35023 for ac_func
in wcsrtombs
35025 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35026 { echo "$as_me:$LINENO: checking for $ac_func" >&5
35027 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
35028 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
35029 echo $ECHO_N "(cached) $ECHO_C" >&6
35031 cat >conftest.
$ac_ext <<_ACEOF
35034 cat confdefs.h
>>conftest.
$ac_ext
35035 cat >>conftest.
$ac_ext <<_ACEOF
35036 /* end confdefs.h. */
35037 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35038 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35039 #define $ac_func innocuous_$ac_func
35041 /* System header to define __stub macros and hopefully few prototypes,
35042 which can conflict with char $ac_func (); below.
35043 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35044 <limits.h> exists even on freestanding compilers. */
35047 # include <limits.h>
35049 # include <assert.h>
35054 /* Override any GCC internal prototype to avoid an error.
35055 Use char because int might match the return type of a GCC
35056 builtin and then its argument prototype would still apply. */
35061 /* The GNU C library defines this for functions which it implements
35062 to always fail with ENOSYS. Some functions are actually named
35063 something starting with __ and the normal name is an alias. */
35064 #if defined __stub_$ac_func || defined __stub___$ac_func
35071 return $ac_func ();
35076 rm -f conftest.
$ac_objext conftest
$ac_exeext
35077 if { (ac_try
="$ac_link"
35078 case "(($ac_try" in
35079 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
35080 *) ac_try_echo=$ac_try;;
35082 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35083 (eval "$ac_link") 2>conftest.er1
35085 grep -v '^ *+' conftest.er1 >conftest.err
35087 cat conftest.err >&5
35088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35089 (exit $ac_status); } && {
35090 test -z "$ac_c_werror_flag" ||
35091 test ! -s conftest.err
35092 } && test -s conftest$ac_exeext &&
35093 $as_test_x conftest$ac_exeext; then
35094 eval "$as_ac_var=yes"
35096 echo "$as_me: failed program was:" >&5
35097 sed 's/^/| /' conftest.$ac_ext >&5
35099 eval "$as_ac_var=no"
35102 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35103 conftest$ac_exeext conftest.$ac_ext
35105 ac_res=`eval echo '${'$as_ac_var'}'`
35106 { echo "$as_me:$LINENO: result: $ac_res" >&5
35107 echo "${ECHO_T}$ac_res" >&6; }
35108 if test `eval echo '${'$as_ac_var'}'` = yes; then
35109 cat >>confdefs.h <<_ACEOF
35110 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35119 { echo "$as_me:$LINENO: WARNING: Wide character support is unavailable" >&5
35120 echo "$as_me: WARNING: Wide character support is unavailable" >&2;}
35126 for ac_func in snprintf vsnprintf vsscanf
35128 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35129 { echo "$as_me:$LINENO: checking for $ac_func" >&5
35130 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
35131 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
35132 echo $ECHO_N "(cached) $ECHO_C" >&6
35134 cat >conftest.$ac_ext <<_ACEOF
35137 cat confdefs.h >>conftest.$ac_ext
35138 cat >>conftest.$ac_ext <<_ACEOF
35139 /* end confdefs.h. */
35140 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35141 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35142 #define $ac_func innocuous_$ac_func
35144 /* System header to define __stub macros and hopefully few prototypes,
35145 which can conflict with char $ac_func (); below.
35146 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35147 <limits.h> exists even on freestanding compilers. */
35150 # include <limits.h>
35152 # include <assert.h>
35157 /* Override any GCC internal prototype to avoid an error.
35158 Use char because int might match the return type of a GCC
35159 builtin and then its argument prototype would still apply. */
35164 /* The GNU C library defines this for functions which it implements
35165 to always fail with ENOSYS. Some functions are actually named
35166 something starting with __ and the normal name is an alias. */
35167 #if defined __stub_$ac_func || defined __stub___$ac_func
35174 return $ac_func ();
35179 rm -f conftest.$ac_objext conftest$ac_exeext
35180 if { (ac_try="$ac_link"
35181 case "(($ac_try" in
35182 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
35183 *) ac_try_echo
=$ac_try;;
35185 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35186 (eval "$ac_link") 2>conftest.er1
35188 grep -v '^ *+' conftest.er1
>conftest.err
35190 cat conftest.err
>&5
35191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35192 (exit $ac_status); } && {
35193 test -z "$ac_c_werror_flag" ||
35194 test ! -s conftest.err
35195 } && test -s conftest
$ac_exeext &&
35196 $as_test_x conftest
$ac_exeext; then
35197 eval "$as_ac_var=yes"
35199 echo "$as_me: failed program was:" >&5
35200 sed 's/^/| /' conftest.
$ac_ext >&5
35202 eval "$as_ac_var=no"
35205 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
35206 conftest
$ac_exeext conftest.
$ac_ext
35208 ac_res
=`eval echo '${'$as_ac_var'}'`
35209 { echo "$as_me:$LINENO: result: $ac_res" >&5
35210 echo "${ECHO_T}$ac_res" >&6; }
35211 if test `eval echo '${'$as_ac_var'}'` = yes; then
35212 cat >>confdefs.h
<<_ACEOF
35213 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35221 ac_cpp
='$CXXCPP $CPPFLAGS'
35222 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35223 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35224 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
35226 if test "$ac_cv_func_vsnprintf" = "yes"; then
35227 { echo "$as_me:$LINENO: checking for vsnprintf declaration" >&5
35228 echo $ECHO_N "checking for vsnprintf declaration... $ECHO_C" >&6; }
35229 if test "${wx_cv_func_vsnprintf_decl+set}" = set; then
35230 echo $ECHO_N "(cached) $ECHO_C" >&6
35233 cat >conftest.
$ac_ext <<_ACEOF
35236 cat confdefs.h
>>conftest.
$ac_ext
35237 cat >>conftest.
$ac_ext <<_ACEOF
35238 /* end confdefs.h. */
35241 #include <stdarg.h>
35243 #if __MSL__ >= 0x6000
35245 using namespace std;
35255 vsnprintf(buf, 10u, "%s", ap);
35261 rm -f conftest.
$ac_objext
35262 if { (ac_try
="$ac_compile"
35263 case "(($ac_try" in
35264 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
35265 *) ac_try_echo=$ac_try;;
35267 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35268 (eval "$ac_compile") 2>conftest.er1
35270 grep -v '^ *+' conftest.er1 >conftest.err
35272 cat conftest.err >&5
35273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35274 (exit $ac_status); } && {
35275 test -z "$ac_cxx_werror_flag" ||
35276 test ! -s conftest.err
35277 } && test -s conftest.$ac_objext; then
35278 wx_cv_func_vsnprintf_decl=yes
35280 echo "$as_me: failed program was:" >&5
35281 sed 's/^/| /' conftest.$ac_ext >&5
35283 wx_cv_func_vsnprintf_decl=no
35287 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35291 { echo "$as_me:$LINENO: result: $wx_cv_func_vsnprintf_decl" >&5
35292 echo "${ECHO_T}$wx_cv_func_vsnprintf_decl" >&6; }
35294 if test "$wx_cv_func_vsnprintf_decl" = "yes"; then
35295 cat >>confdefs.h <<\_ACEOF
35296 #define HAVE_VSNPRINTF_DECL 1
35300 { echo "$as_me:$LINENO: checking if vsnprintf declaration is broken" >&5
35301 echo $ECHO_N "checking if vsnprintf declaration is broken... $ECHO_C" >&6; }
35302 if test "${wx_cv_func_broken_vsnprintf_decl+set}" = set; then
35303 echo $ECHO_N "(cached) $ECHO_C" >&6
35306 cat >conftest.$ac_ext <<_ACEOF
35309 cat confdefs.h >>conftest.$ac_ext
35310 cat >>conftest.$ac_ext <<_ACEOF
35311 /* end confdefs.h. */
35314 #include <stdarg.h>
35316 #if __MSL__ >= 0x6000
35318 using namespace std;
35328 const char *fmt = "%s";
35329 vsnprintf(buf, 10u, fmt, ap);
35335 rm -f conftest.$ac_objext
35336 if { (ac_try="$ac_compile"
35337 case "(($ac_try" in
35338 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
35339 *) ac_try_echo
=$ac_try;;
35341 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35342 (eval "$ac_compile") 2>conftest.er1
35344 grep -v '^ *+' conftest.er1
>conftest.err
35346 cat conftest.err
>&5
35347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35348 (exit $ac_status); } && {
35349 test -z "$ac_cxx_werror_flag" ||
35350 test ! -s conftest.err
35351 } && test -s conftest.
$ac_objext; then
35352 wx_cv_func_broken_vsnprintf_decl
=no
35354 echo "$as_me: failed program was:" >&5
35355 sed 's/^/| /' conftest.
$ac_ext >&5
35357 wx_cv_func_broken_vsnprintf_decl
=yes
35361 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
35365 { echo "$as_me:$LINENO: result: $wx_cv_func_broken_vsnprintf_decl" >&5
35366 echo "${ECHO_T}$wx_cv_func_broken_vsnprintf_decl" >&6; }
35368 if test "$wx_cv_func_broken_vsnprintf_decl" = "yes"; then
35369 cat >>confdefs.h
<<\_ACEOF
35370 #define HAVE_BROKEN_VSNPRINTF_DECL 1
35377 if test "$ac_cv_func_snprintf" = "yes"; then
35378 { echo "$as_me:$LINENO: checking for snprintf declaration" >&5
35379 echo $ECHO_N "checking for snprintf declaration... $ECHO_C" >&6; }
35380 if test "${wx_cv_func_snprintf_decl+set}" = set; then
35381 echo $ECHO_N "(cached) $ECHO_C" >&6
35384 cat >conftest.
$ac_ext <<_ACEOF
35387 cat confdefs.h
>>conftest.
$ac_ext
35388 cat >>conftest.
$ac_ext <<_ACEOF
35389 /* end confdefs.h. */
35392 #include <stdarg.h>
35394 #if __MSL__ >= 0x6000
35396 using namespace std;
35405 snprintf(buf, 10u, "%s", "wx");
35411 rm -f conftest.
$ac_objext
35412 if { (ac_try
="$ac_compile"
35413 case "(($ac_try" in
35414 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
35415 *) ac_try_echo=$ac_try;;
35417 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35418 (eval "$ac_compile") 2>conftest.er1
35420 grep -v '^ *+' conftest.er1 >conftest.err
35422 cat conftest.err >&5
35423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35424 (exit $ac_status); } && {
35425 test -z "$ac_cxx_werror_flag" ||
35426 test ! -s conftest.err
35427 } && test -s conftest.$ac_objext; then
35428 wx_cv_func_snprintf_decl=yes
35430 echo "$as_me: failed program was:" >&5
35431 sed 's/^/| /' conftest.$ac_ext >&5
35433 wx_cv_func_snprintf_decl=no
35437 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35441 { echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_decl" >&5
35442 echo "${ECHO_T}$wx_cv_func_snprintf_decl" >&6; }
35444 if test "$wx_cv_func_snprintf_decl" = "yes"; then
35445 cat >>confdefs.h <<\_ACEOF
35446 #define HAVE_SNPRINTF_DECL 1
35451 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
35453 { echo "$as_me:$LINENO: checking if snprintf supports positional arguments" >&5
35454 echo $ECHO_N "checking if snprintf supports positional arguments... $ECHO_C" >&6; }
35455 if test "${wx_cv_func_snprintf_pos_params+set}" = set; then
35456 echo $ECHO_N "(cached) $ECHO_C" >&6
35459 if test "$cross_compiling" = yes; then
35461 { echo "$as_me:$LINENO: WARNING: Assuming Unix98 printf() is not available,
35462 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&5
35463 echo "$as_me: WARNING: Assuming Unix98 printf() is not available,
35464 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&2;}
35465 wx_cv_func_snprintf_pos_params=no
35469 cat >conftest.$ac_ext <<_ACEOF
35472 cat confdefs.h >>conftest.$ac_ext
35473 cat >>conftest.$ac_ext <<_ACEOF
35474 /* end confdefs.h. */
35481 snprintf (buffer, 128, "%2$d %3$d %1$d", 1, 2, 3);
35482 if (strcmp ("2 3 1", buffer) == 0)
35488 rm -f conftest$ac_exeext
35489 if { (ac_try="$ac_link"
35490 case "(($ac_try" in
35491 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
35492 *) ac_try_echo
=$ac_try;;
35494 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35495 (eval "$ac_link") 2>&5
35497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35498 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
35499 { (case "(($ac_try" in
35500 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
35501 *) ac_try_echo=$ac_try;;
35503 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35504 (eval "$ac_try") 2>&5
35506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35507 (exit $ac_status); }; }; then
35508 wx_cv_func_snprintf_pos_params=no
35510 echo "$as_me: program exited with status $ac_status" >&5
35511 echo "$as_me: failed program was:" >&5
35512 sed 's/^/| /' conftest.$ac_ext >&5
35514 ( exit $ac_status )
35515 wx_cv_func_snprintf_pos_params=yes
35517 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
35524 { echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_pos_params" >&5
35525 echo "${ECHO_T}$wx_cv_func_snprintf_pos_params" >&6; }
35527 if test "$wx_cv_func_snprintf_pos_params" = "yes"; then
35528 cat >>confdefs.h <<\_ACEOF
35529 #define HAVE_UNIX98_PRINTF 1
35536 if test "$ac_cv_func_vsscanf" = "yes"; then
35537 { echo "$as_me:$LINENO: checking for vsscanf declaration" >&5
35538 echo $ECHO_N "checking for vsscanf declaration... $ECHO_C" >&6; }
35539 if test "${wx_cv_func_vsscanf_decl+set}" = set; then
35540 echo $ECHO_N "(cached) $ECHO_C" >&6
35543 cat >conftest.$ac_ext <<_ACEOF
35546 cat confdefs.h >>conftest.$ac_ext
35547 cat >>conftest.$ac_ext <<_ACEOF
35548 /* end confdefs.h. */
35551 #include <stdarg.h>
35553 #if __MSL__ >= 0x6000
35555 using namespace std;
35565 vsscanf(buf, "%s", args);
35571 rm -f conftest.$ac_objext
35572 if { (ac_try="$ac_compile"
35573 case "(($ac_try" in
35574 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
35575 *) ac_try_echo
=$ac_try;;
35577 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35578 (eval "$ac_compile") 2>conftest.er1
35580 grep -v '^ *+' conftest.er1
>conftest.err
35582 cat conftest.err
>&5
35583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35584 (exit $ac_status); } && {
35585 test -z "$ac_cxx_werror_flag" ||
35586 test ! -s conftest.err
35587 } && test -s conftest.
$ac_objext; then
35588 wx_cv_func_vsscanf_decl
=yes
35590 echo "$as_me: failed program was:" >&5
35591 sed 's/^/| /' conftest.
$ac_ext >&5
35593 wx_cv_func_vsscanf_decl
=no
35597 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
35601 { echo "$as_me:$LINENO: result: $wx_cv_func_vsscanf_decl" >&5
35602 echo "${ECHO_T}$wx_cv_func_vsscanf_decl" >&6; }
35604 if test "$wx_cv_func_vsscanf_decl" = "yes"; then
35605 cat >>confdefs.h
<<\_ACEOF
35606 #define HAVE_VSSCANF_DECL 1
35612 ac_cpp
='$CPP $CPPFLAGS'
35613 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35614 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35615 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
35618 if test "$wxUSE_UNICODE" = yes; then
35620 wchar_headers
="#include <stdio.h>
35621 #include <wchar.h>"
35625 for ac_header
in widec.h
35627 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
35628 { echo "$as_me:$LINENO: checking for $ac_header" >&5
35629 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
35630 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
35631 echo $ECHO_N "(cached) $ECHO_C" >&6
35633 cat >conftest.
$ac_ext <<_ACEOF
35636 cat confdefs.h
>>conftest.
$ac_ext
35637 cat >>conftest.
$ac_ext <<_ACEOF
35638 /* end confdefs.h. */
35639 $ac_includes_default
35641 #include <$ac_header>
35643 rm -f conftest.
$ac_objext
35644 if { (ac_try
="$ac_compile"
35645 case "(($ac_try" in
35646 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
35647 *) ac_try_echo=$ac_try;;
35649 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35650 (eval "$ac_compile") 2>conftest.er1
35652 grep -v '^ *+' conftest.er1 >conftest.err
35654 cat conftest.err >&5
35655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35656 (exit $ac_status); } && {
35657 test -z "$ac_c_werror_flag" ||
35658 test ! -s conftest.err
35659 } && test -s conftest.$ac_objext; then
35660 eval "$as_ac_Header=yes"
35662 echo "$as_me: failed program was:" >&5
35663 sed 's/^/| /' conftest.$ac_ext >&5
35665 eval "$as_ac_Header=no"
35668 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35670 ac_res=`eval echo '${'$as_ac_Header'}'`
35671 { echo "$as_me:$LINENO: result: $ac_res" >&5
35672 echo "${ECHO_T}$ac_res" >&6; }
35673 if test `eval echo '${'$as_ac_Header'}'` = yes; then
35674 cat >>confdefs.h <<_ACEOF
35675 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
35682 if test "$ac_cv_header_widec_h" = "yes"; then
35683 wchar_headers="$wchar_headers
35684 #include <widec.h>"
35689 for wx_func in putws fputws wprintf vswprintf vswscanf
35691 { echo "$as_me:$LINENO: checking for $wx_func" >&5
35692 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
35693 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
35694 echo $ECHO_N "(cached) $ECHO_C" >&6
35697 cat >conftest.$ac_ext <<_ACEOF
35701 cat confdefs.h >>conftest.$ac_ext
35702 cat >>conftest.$ac_ext <<_ACEOF
35703 /* end confdefs.h. */
35706 $ac_includes_default
35722 rm -f conftest.$ac_objext conftest$ac_exeext
35723 if { (ac_try="$ac_link"
35724 case "(($ac_try" in
35725 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
35726 *) ac_try_echo
=$ac_try;;
35728 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35729 (eval "$ac_link") 2>conftest.er1
35731 grep -v '^ *+' conftest.er1
>conftest.err
35733 cat conftest.err
>&5
35734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35735 (exit $ac_status); } && {
35736 test -z "$ac_c_werror_flag" ||
35737 test ! -s conftest.err
35738 } && test -s conftest
$ac_exeext &&
35739 $as_test_x conftest
$ac_exeext; then
35740 eval wx_cv_func_
$wx_func=yes
35742 echo "$as_me: failed program was:" >&5
35743 sed 's/^/| /' conftest.
$ac_ext >&5
35745 eval wx_cv_func_
$wx_func=no
35748 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
35749 conftest
$ac_exeext conftest.
$ac_ext
35752 ac_res
=`eval echo '${'wx_cv_func_$wx_func'}'`
35753 { echo "$as_me:$LINENO: result: $ac_res" >&5
35754 echo "${ECHO_T}$ac_res" >&6; }
35756 if eval test \
$wx_cv_func_$wx_func = yes
35758 cat >>confdefs.h
<<_ACEOF
35759 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
35770 { echo "$as_me:$LINENO: checking for _vsnwprintf" >&5
35771 echo $ECHO_N "checking for _vsnwprintf... $ECHO_C" >&6; }
35772 cat >conftest.
$ac_ext <<_ACEOF
35775 cat confdefs.h
>>conftest.
$ac_ext
35776 cat >>conftest.
$ac_ext <<_ACEOF
35777 /* end confdefs.h. */
35787 rm -f conftest.
$ac_objext
35788 if { (ac_try
="$ac_compile"
35789 case "(($ac_try" in
35790 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
35791 *) ac_try_echo=$ac_try;;
35793 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35794 (eval "$ac_compile") 2>conftest.er1
35796 grep -v '^ *+' conftest.er1 >conftest.err
35798 cat conftest.err >&5
35799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35800 (exit $ac_status); } && {
35801 test -z "$ac_c_werror_flag" ||
35802 test ! -s conftest.err
35803 } && test -s conftest.$ac_objext; then
35804 { echo "$as_me:$LINENO: result: yes" >&5
35805 echo "${ECHO_T}yes" >&6; }
35806 cat >>confdefs.h <<\_ACEOF
35807 #define HAVE__VSNWPRINTF 1
35811 echo "$as_me: failed program was:" >&5
35812 sed 's/^/| /' conftest.$ac_ext >&5
35814 { echo "$as_me:$LINENO: result: no" >&5
35815 echo "${ECHO_T}no" >&6; }
35818 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext;
35821 if test "$wxUSE_FILE" = "yes"; then
35823 for wx_func in fsync
35825 { echo "$as_me:$LINENO: checking for $wx_func" >&5
35826 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
35827 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
35828 echo $ECHO_N "(cached) $ECHO_C" >&6
35831 cat >conftest.$ac_ext <<_ACEOF
35835 cat confdefs.h >>conftest.$ac_ext
35836 cat >>conftest.$ac_ext <<_ACEOF
35837 /* end confdefs.h. */
35840 $ac_includes_default
35856 rm -f conftest.$ac_objext conftest$ac_exeext
35857 if { (ac_try="$ac_link"
35858 case "(($ac_try" in
35859 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
35860 *) ac_try_echo
=$ac_try;;
35862 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35863 (eval "$ac_link") 2>conftest.er1
35865 grep -v '^ *+' conftest.er1
>conftest.err
35867 cat conftest.err
>&5
35868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35869 (exit $ac_status); } && {
35870 test -z "$ac_c_werror_flag" ||
35871 test ! -s conftest.err
35872 } && test -s conftest
$ac_exeext &&
35873 $as_test_x conftest
$ac_exeext; then
35874 eval wx_cv_func_
$wx_func=yes
35876 echo "$as_me: failed program was:" >&5
35877 sed 's/^/| /' conftest.
$ac_ext >&5
35879 eval wx_cv_func_
$wx_func=no
35882 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
35883 conftest
$ac_exeext conftest.
$ac_ext
35886 ac_res
=`eval echo '${'wx_cv_func_$wx_func'}'`
35887 { echo "$as_me:$LINENO: result: $ac_res" >&5
35888 echo "${ECHO_T}$ac_res" >&6; }
35890 if eval test \
$wx_cv_func_$wx_func = yes
35892 cat >>confdefs.h
<<_ACEOF
35893 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
35906 ac_cpp
='$CXXCPP $CPPFLAGS'
35907 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35908 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35909 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
35912 for wx_func
in round
35914 { echo "$as_me:$LINENO: checking for $wx_func" >&5
35915 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
35916 if { as_var
=wx_cv_func_
$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
35917 echo $ECHO_N "(cached) $ECHO_C" >&6
35920 cat >conftest.
$ac_ext <<_ACEOF
35924 cat confdefs.h
>>conftest.
$ac_ext
35925 cat >>conftest.
$ac_ext <<_ACEOF
35926 /* end confdefs.h. */
35929 $ac_includes_default
35945 rm -f conftest.
$ac_objext conftest
$ac_exeext
35946 if { (ac_try
="$ac_link"
35947 case "(($ac_try" in
35948 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
35949 *) ac_try_echo=$ac_try;;
35951 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35952 (eval "$ac_link") 2>conftest.er1
35954 grep -v '^ *+' conftest.er1 >conftest.err
35956 cat conftest.err >&5
35957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35958 (exit $ac_status); } && {
35959 test -z "$ac_cxx_werror_flag" ||
35960 test ! -s conftest.err
35961 } && test -s conftest$ac_exeext &&
35962 $as_test_x conftest$ac_exeext; then
35963 eval wx_cv_func_$wx_func=yes
35965 echo "$as_me: failed program was:" >&5
35966 sed 's/^/| /' conftest.$ac_ext >&5
35968 eval wx_cv_func_$wx_func=no
35971 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35972 conftest$ac_exeext conftest.$ac_ext
35975 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
35976 { echo "$as_me:$LINENO: result: $ac_res" >&5
35977 echo "${ECHO_T}$ac_res" >&6; }
35979 if eval test \$wx_cv_func_$wx_func = yes
35981 cat >>confdefs.h <<_ACEOF
35982 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
35993 ac_cpp='$CPP $CPPFLAGS'
35994 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35995 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35996 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35999 if test "$TOOLKIT" != "MSW"; then
36001 if test "$wxUSE_LIBICONV" != "no" ; then
36005 # Check whether --with-libiconv-prefix was given.
36006 if test "${with_libiconv_prefix+set}" = set; then
36007 withval=$with_libiconv_prefix;
36008 for dir in `echo "$withval" | tr : ' '`; do
36009 if test -d $dir/include; then CPPFLAGS="$CPPFLAGS -I$dir/include"; fi
36010 if test -d $dir/lib; then LDFLAGS="$LDFLAGS -L$dir/lib"; fi
36016 { echo "$as_me:$LINENO: checking for iconv" >&5
36017 echo $ECHO_N "checking for iconv... $ECHO_C" >&6; }
36018 if test "${am_cv_func_iconv+set}" = set; then
36019 echo $ECHO_N "(cached) $ECHO_C" >&6
36022 am_cv_func_iconv="no, consider installing GNU libiconv"
36024 cat >conftest.$ac_ext <<_ACEOF
36027 cat confdefs.h >>conftest.$ac_ext
36028 cat >>conftest.$ac_ext <<_ACEOF
36029 /* end confdefs.h. */
36030 #include <stdlib.h>
36035 iconv_t cd = iconv_open("","");
36036 iconv(cd,NULL,NULL,NULL,NULL);
36042 rm -f conftest.$ac_objext conftest$ac_exeext
36043 if { (ac_try="$ac_link"
36044 case "(($ac_try" in
36045 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
36046 *) ac_try_echo
=$ac_try;;
36048 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36049 (eval "$ac_link") 2>conftest.er1
36051 grep -v '^ *+' conftest.er1
>conftest.err
36053 cat conftest.err
>&5
36054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36055 (exit $ac_status); } && {
36056 test -z "$ac_c_werror_flag" ||
36057 test ! -s conftest.err
36058 } && test -s conftest
$ac_exeext &&
36059 $as_test_x conftest
$ac_exeext; then
36060 am_cv_func_iconv
=yes
36062 echo "$as_me: failed program was:" >&5
36063 sed 's/^/| /' conftest.
$ac_ext >&5
36068 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
36069 conftest
$ac_exeext conftest.
$ac_ext
36070 if test "$am_cv_func_iconv" != yes; then
36071 am_save_LIBS
="$LIBS"
36072 LIBS
="$LIBS -liconv"
36073 cat >conftest.
$ac_ext <<_ACEOF
36076 cat confdefs.h
>>conftest.
$ac_ext
36077 cat >>conftest.
$ac_ext <<_ACEOF
36078 /* end confdefs.h. */
36079 #include <stdlib.h>
36084 iconv_t cd = iconv_open("","");
36085 iconv(cd,NULL,NULL,NULL,NULL);
36091 rm -f conftest.
$ac_objext conftest
$ac_exeext
36092 if { (ac_try
="$ac_link"
36093 case "(($ac_try" in
36094 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
36095 *) ac_try_echo=$ac_try;;
36097 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36098 (eval "$ac_link") 2>conftest.er1
36100 grep -v '^ *+' conftest.er1 >conftest.err
36102 cat conftest.err >&5
36103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36104 (exit $ac_status); } && {
36105 test -z "$ac_c_werror_flag" ||
36106 test ! -s conftest.err
36107 } && test -s conftest$ac_exeext &&
36108 $as_test_x conftest$ac_exeext; then
36109 am_cv_lib_iconv=yes
36110 am_cv_func_iconv=yes
36112 echo "$as_me: failed program was:" >&5
36113 sed 's/^/| /' conftest.$ac_ext >&5
36118 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36119 conftest$ac_exeext conftest.$ac_ext
36120 LIBS="$am_save_LIBS"
36124 { echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
36125 echo "${ECHO_T}$am_cv_func_iconv" >&6; }
36126 if test "$am_cv_func_iconv" = yes; then
36128 cat >>confdefs.h <<\_ACEOF
36129 #define HAVE_ICONV 1
36132 { echo "$as_me:$LINENO: checking if iconv needs const" >&5
36133 echo $ECHO_N "checking if iconv needs const... $ECHO_C" >&6; }
36134 if test "${wx_cv_func_iconv_const+set}" = set; then
36135 echo $ECHO_N "(cached) $ECHO_C" >&6
36137 cat >conftest.$ac_ext <<_ACEOF
36140 cat confdefs.h >>conftest.$ac_ext
36141 cat >>conftest.$ac_ext <<_ACEOF
36142 /* end confdefs.h. */
36144 #include <stdlib.h>
36150 #if defined(__STDC__) || defined(__cplusplus)
36151 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
36164 rm -f conftest.$ac_objext
36165 if { (ac_try="$ac_compile"
36166 case "(($ac_try" in
36167 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
36168 *) ac_try_echo
=$ac_try;;
36170 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36171 (eval "$ac_compile") 2>conftest.er1
36173 grep -v '^ *+' conftest.er1
>conftest.err
36175 cat conftest.err
>&5
36176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36177 (exit $ac_status); } && {
36178 test -z "$ac_c_werror_flag" ||
36179 test ! -s conftest.err
36180 } && test -s conftest.
$ac_objext; then
36181 wx_cv_func_iconv_const
="no"
36183 echo "$as_me: failed program was:" >&5
36184 sed 's/^/| /' conftest.
$ac_ext >&5
36186 wx_cv_func_iconv_const
="yes"
36190 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
36193 { echo "$as_me:$LINENO: result: $wx_cv_func_iconv_const" >&5
36194 echo "${ECHO_T}$wx_cv_func_iconv_const" >&6; }
36197 if test "x$wx_cv_func_iconv_const" = "xyes"; then
36198 iconv_const
="const"
36202 cat >>confdefs.h
<<_ACEOF
36203 #define ICONV_CONST $iconv_const
36208 if test "$am_cv_lib_iconv" = yes; then
36213 LIBS
="$LIBICONV $LIBS"
36216 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
36218 for ac_func
in sigaction
36220 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36221 { echo "$as_me:$LINENO: checking for $ac_func" >&5
36222 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
36223 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
36224 echo $ECHO_N "(cached) $ECHO_C" >&6
36226 cat >conftest.
$ac_ext <<_ACEOF
36229 cat confdefs.h
>>conftest.
$ac_ext
36230 cat >>conftest.
$ac_ext <<_ACEOF
36231 /* end confdefs.h. */
36232 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36233 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36234 #define $ac_func innocuous_$ac_func
36236 /* System header to define __stub macros and hopefully few prototypes,
36237 which can conflict with char $ac_func (); below.
36238 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36239 <limits.h> exists even on freestanding compilers. */
36242 # include <limits.h>
36244 # include <assert.h>
36249 /* Override any GCC internal prototype to avoid an error.
36250 Use char because int might match the return type of a GCC
36251 builtin and then its argument prototype would still apply. */
36256 /* The GNU C library defines this for functions which it implements
36257 to always fail with ENOSYS. Some functions are actually named
36258 something starting with __ and the normal name is an alias. */
36259 #if defined __stub_$ac_func || defined __stub___$ac_func
36266 return $ac_func ();
36271 rm -f conftest.
$ac_objext conftest
$ac_exeext
36272 if { (ac_try
="$ac_link"
36273 case "(($ac_try" in
36274 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
36275 *) ac_try_echo=$ac_try;;
36277 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36278 (eval "$ac_link") 2>conftest.er1
36280 grep -v '^ *+' conftest.er1 >conftest.err
36282 cat conftest.err >&5
36283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36284 (exit $ac_status); } && {
36285 test -z "$ac_c_werror_flag" ||
36286 test ! -s conftest.err
36287 } && test -s conftest$ac_exeext &&
36288 $as_test_x conftest$ac_exeext; then
36289 eval "$as_ac_var=yes"
36291 echo "$as_me: failed program was:" >&5
36292 sed 's/^/| /' conftest.$ac_ext >&5
36294 eval "$as_ac_var=no"
36297 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36298 conftest$ac_exeext conftest.$ac_ext
36300 ac_res=`eval echo '${'$as_ac_var'}'`
36301 { echo "$as_me:$LINENO: result: $ac_res" >&5
36302 echo "${ECHO_T}$ac_res" >&6; }
36303 if test `eval echo '${'$as_ac_var'}'` = yes; then
36304 cat >>confdefs.h <<_ACEOF
36305 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36312 if test "$ac_cv_func_sigaction" = "no"; then
36313 { echo "$as_me:$LINENO: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&5
36314 echo "$as_me: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&2;}
36315 wxUSE_ON_FATAL_EXCEPTION=no
36318 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
36319 { echo "$as_me:$LINENO: checking for sa_handler type" >&5
36320 echo $ECHO_N "checking for sa_handler type... $ECHO_C" >&6; }
36321 if test "${wx_cv_type_sa_handler+set}" = set; then
36322 echo $ECHO_N "(cached) $ECHO_C" >&6
36326 ac_cpp='$CXXCPP $CPPFLAGS'
36327 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36328 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36329 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36331 cat >conftest.$ac_ext <<_ACEOF
36334 cat confdefs.h >>conftest.$ac_ext
36335 cat >>conftest.$ac_ext <<_ACEOF
36336 /* end confdefs.h. */
36337 #include <signal.h>
36342 extern void testSigHandler(int);
36344 struct sigaction sa;
36345 sa.sa_handler = testSigHandler;
36351 rm -f conftest.$ac_objext
36352 if { (ac_try="$ac_compile"
36353 case "(($ac_try" in
36354 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
36355 *) ac_try_echo
=$ac_try;;
36357 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36358 (eval "$ac_compile") 2>conftest.er1
36360 grep -v '^ *+' conftest.er1
>conftest.err
36362 cat conftest.err
>&5
36363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36364 (exit $ac_status); } && {
36365 test -z "$ac_cxx_werror_flag" ||
36366 test ! -s conftest.err
36367 } && test -s conftest.
$ac_objext; then
36369 wx_cv_type_sa_handler
=int
36372 echo "$as_me: failed program was:" >&5
36373 sed 's/^/| /' conftest.
$ac_ext >&5
36376 wx_cv_type_sa_handler
=void
36380 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
36382 ac_cpp
='$CPP $CPPFLAGS'
36383 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36384 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36385 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
36389 { echo "$as_me:$LINENO: result: $wx_cv_type_sa_handler" >&5
36390 echo "${ECHO_T}$wx_cv_type_sa_handler" >&6; }
36392 cat >>confdefs.h
<<_ACEOF
36393 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
36399 if test "$wxUSE_STACKWALKER" = "yes" -a "$wxUSE_UNIX" = "yes"; then
36400 { echo "$as_me:$LINENO: checking for backtrace() in <execinfo.h>" >&5
36401 echo $ECHO_N "checking for backtrace() in <execinfo.h>... $ECHO_C" >&6; }
36402 if test "${wx_cv_func_backtrace+set}" = set; then
36403 echo $ECHO_N "(cached) $ECHO_C" >&6
36407 ac_cpp
='$CXXCPP $CPPFLAGS'
36408 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36409 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36410 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
36412 cat >conftest.
$ac_ext <<_ACEOF
36415 cat confdefs.h
>>conftest.
$ac_ext
36416 cat >>conftest.
$ac_ext <<_ACEOF
36417 /* end confdefs.h. */
36418 #include <execinfo.h>
36426 backtrace(trace, 1);
36427 messages = backtrace_symbols(trace, 1);
36433 rm -f conftest.
$ac_objext
36434 if { (ac_try
="$ac_compile"
36435 case "(($ac_try" in
36436 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
36437 *) ac_try_echo=$ac_try;;
36439 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36440 (eval "$ac_compile") 2>conftest.er1
36442 grep -v '^ *+' conftest.er1 >conftest.err
36444 cat conftest.err >&5
36445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36446 (exit $ac_status); } && {
36447 test -z "$ac_cxx_werror_flag" ||
36448 test ! -s conftest.err
36449 } && test -s conftest.$ac_objext; then
36450 wx_cv_func_backtrace=yes
36452 echo "$as_me: failed program was:" >&5
36453 sed 's/^/| /' conftest.$ac_ext >&5
36455 wx_cv_func_backtrace=no
36459 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36461 ac_cpp='$CPP $CPPFLAGS'
36462 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36463 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36464 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36469 { echo "$as_me:$LINENO: result: $wx_cv_func_backtrace" >&5
36470 echo "${ECHO_T}$wx_cv_func_backtrace" >&6; }
36473 if test "$wx_cv_func_backtrace" = "no"; then
36474 { echo "$as_me:$LINENO: WARNING: backtrace() is not available, wxStackWalker will not be available" >&5
36475 echo "$as_me: WARNING: backtrace() is not available, wxStackWalker will not be available" >&2;}
36476 wxUSE_STACKWALKER=no
36478 { echo "$as_me:$LINENO: checking for __cxa_demangle() in <cxxabi.h>" >&5
36479 echo $ECHO_N "checking for __cxa_demangle() in <cxxabi.h>... $ECHO_C" >&6; }
36480 if test "${wx_cv_func_cxa_demangle+set}" = set; then
36481 echo $ECHO_N "(cached) $ECHO_C" >&6
36485 ac_cpp='$CXXCPP $CPPFLAGS'
36486 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36487 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36488 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36490 cat >conftest.$ac_ext <<_ACEOF
36493 cat confdefs.h >>conftest.$ac_ext
36494 cat >>conftest.$ac_ext <<_ACEOF
36495 /* end confdefs.h. */
36496 #include <cxxabi.h>
36502 __cxxabiv1::__cxa_demangle("foo", 0, 0, &rc);
36508 rm -f conftest.$ac_objext conftest$ac_exeext
36509 if { (ac_try="$ac_link"
36510 case "(($ac_try" in
36511 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
36512 *) ac_try_echo
=$ac_try;;
36514 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36515 (eval "$ac_link") 2>conftest.er1
36517 grep -v '^ *+' conftest.er1
>conftest.err
36519 cat conftest.err
>&5
36520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36521 (exit $ac_status); } && {
36522 test -z "$ac_cxx_werror_flag" ||
36523 test ! -s conftest.err
36524 } && test -s conftest
$ac_exeext &&
36525 $as_test_x conftest
$ac_exeext; then
36526 wx_cv_func_cxa_demangle
=yes
36528 echo "$as_me: failed program was:" >&5
36529 sed 's/^/| /' conftest.
$ac_ext >&5
36531 wx_cv_func_cxa_demangle
=no
36535 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
36536 conftest
$ac_exeext conftest.
$ac_ext
36538 ac_cpp
='$CPP $CPPFLAGS'
36539 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36540 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36541 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
36546 { echo "$as_me:$LINENO: result: $wx_cv_func_cxa_demangle" >&5
36547 echo "${ECHO_T}$wx_cv_func_cxa_demangle" >&6; }
36549 if test "$wx_cv_func_cxa_demangle" = "yes"; then
36550 cat >>confdefs.h
<<\_ACEOF
36551 #define HAVE_CXA_DEMANGLE 1
36558 if test "$wxUSE_STACKWALKER" = "yes" -a "$USE_WIN32" != 1 -a "$USE_UNIX" != 1; then
36559 { echo "$as_me:$LINENO: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&5
36560 echo "$as_me: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&2;}
36561 wxUSE_STACKWALKER
=no
36567 for ac_func
in mkstemp mktemp
36569 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36570 { echo "$as_me:$LINENO: checking for $ac_func" >&5
36571 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
36572 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
36573 echo $ECHO_N "(cached) $ECHO_C" >&6
36575 cat >conftest.
$ac_ext <<_ACEOF
36578 cat confdefs.h
>>conftest.
$ac_ext
36579 cat >>conftest.
$ac_ext <<_ACEOF
36580 /* end confdefs.h. */
36581 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36582 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36583 #define $ac_func innocuous_$ac_func
36585 /* System header to define __stub macros and hopefully few prototypes,
36586 which can conflict with char $ac_func (); below.
36587 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36588 <limits.h> exists even on freestanding compilers. */
36591 # include <limits.h>
36593 # include <assert.h>
36598 /* Override any GCC internal prototype to avoid an error.
36599 Use char because int might match the return type of a GCC
36600 builtin and then its argument prototype would still apply. */
36605 /* The GNU C library defines this for functions which it implements
36606 to always fail with ENOSYS. Some functions are actually named
36607 something starting with __ and the normal name is an alias. */
36608 #if defined __stub_$ac_func || defined __stub___$ac_func
36615 return $ac_func ();
36620 rm -f conftest.
$ac_objext conftest
$ac_exeext
36621 if { (ac_try
="$ac_link"
36622 case "(($ac_try" in
36623 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
36624 *) ac_try_echo=$ac_try;;
36626 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36627 (eval "$ac_link") 2>conftest.er1
36629 grep -v '^ *+' conftest.er1 >conftest.err
36631 cat conftest.err >&5
36632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36633 (exit $ac_status); } && {
36634 test -z "$ac_c_werror_flag" ||
36635 test ! -s conftest.err
36636 } && test -s conftest$ac_exeext &&
36637 $as_test_x conftest$ac_exeext; then
36638 eval "$as_ac_var=yes"
36640 echo "$as_me: failed program was:" >&5
36641 sed 's/^/| /' conftest.$ac_ext >&5
36643 eval "$as_ac_var=no"
36646 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36647 conftest$ac_exeext conftest.$ac_ext
36649 ac_res=`eval echo '${'$as_ac_var'}'`
36650 { echo "$as_me:$LINENO: result: $ac_res" >&5
36651 echo "${ECHO_T}$ac_res" >&6; }
36652 if test `eval echo '${'$as_ac_var'}'` = yes; then
36653 cat >>confdefs.h <<_ACEOF
36654 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36661 { echo "$as_me:$LINENO: checking for statfs" >&5
36662 echo $ECHO_N "checking for statfs... $ECHO_C" >&6; }
36663 if test "${wx_cv_func_statfs+set}" = set; then
36664 echo $ECHO_N "(cached) $ECHO_C" >&6
36666 cat >conftest.$ac_ext <<_ACEOF
36669 cat confdefs.h >>conftest.$ac_ext
36670 cat >>conftest.$ac_ext <<_ACEOF
36671 /* end confdefs.h. */
36673 #if defined(__BSD__)
36674 #include <sys/param.h>
36675 #include <sys/mount.h>
36677 #include <sys/vfs.h>
36695 rm -f conftest.$ac_objext
36696 if { (ac_try="$ac_compile"
36697 case "(($ac_try" in
36698 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
36699 *) ac_try_echo
=$ac_try;;
36701 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36702 (eval "$ac_compile") 2>conftest.er1
36704 grep -v '^ *+' conftest.er1
>conftest.err
36706 cat conftest.err
>&5
36707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36708 (exit $ac_status); } && {
36709 test -z "$ac_c_werror_flag" ||
36710 test ! -s conftest.err
36711 } && test -s conftest.
$ac_objext; then
36712 wx_cv_func_statfs
=yes
36714 echo "$as_me: failed program was:" >&5
36715 sed 's/^/| /' conftest.
$ac_ext >&5
36717 wx_cv_func_statfs
=no
36721 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
36724 { echo "$as_me:$LINENO: result: $wx_cv_func_statfs" >&5
36725 echo "${ECHO_T}$wx_cv_func_statfs" >&6; }
36727 if test "$wx_cv_func_statfs" = "yes"; then
36728 { echo "$as_me:$LINENO: checking for statfs declaration" >&5
36729 echo $ECHO_N "checking for statfs declaration... $ECHO_C" >&6; }
36730 if test "${wx_cv_func_statfs_decl+set}" = set; then
36731 echo $ECHO_N "(cached) $ECHO_C" >&6
36734 ac_cpp
='$CXXCPP $CPPFLAGS'
36735 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36736 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36737 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
36739 cat >conftest.
$ac_ext <<_ACEOF
36742 cat confdefs.h
>>conftest.
$ac_ext
36743 cat >>conftest.
$ac_ext <<_ACEOF
36744 /* end confdefs.h. */
36746 #if defined(__BSD__)
36747 #include <sys/param.h>
36748 #include <sys/mount.h>
36750 #include <sys/vfs.h>
36764 rm -f conftest.
$ac_objext
36765 if { (ac_try
="$ac_compile"
36766 case "(($ac_try" in
36767 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
36768 *) ac_try_echo=$ac_try;;
36770 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36771 (eval "$ac_compile") 2>conftest.er1
36773 grep -v '^ *+' conftest.er1 >conftest.err
36775 cat conftest.err >&5
36776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36777 (exit $ac_status); } && {
36778 test -z "$ac_cxx_werror_flag" ||
36779 test ! -s conftest.err
36780 } && test -s conftest.$ac_objext; then
36781 wx_cv_func_statfs_decl=yes
36783 echo "$as_me: failed program was:" >&5
36784 sed 's/^/| /' conftest.$ac_ext >&5
36786 wx_cv_func_statfs_decl=no
36790 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36792 ac_cpp='$CPP $CPPFLAGS'
36793 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36794 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36795 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36799 { echo "$as_me:$LINENO: result: $wx_cv_func_statfs_decl" >&5
36800 echo "${ECHO_T}$wx_cv_func_statfs_decl" >&6; }
36802 if test "$wx_cv_func_statfs_decl" = "yes"; then
36803 cat >>confdefs.h <<\_ACEOF
36804 #define HAVE_STATFS_DECL 1
36809 wx_cv_type_statvfs_t="struct statfs"
36810 cat >>confdefs.h <<\_ACEOF
36811 #define HAVE_STATFS 1
36815 { echo "$as_me:$LINENO: checking for statvfs" >&5
36816 echo $ECHO_N "checking for statvfs... $ECHO_C" >&6; }
36817 if test "${wx_cv_func_statvfs+set}" = set; then
36818 echo $ECHO_N "(cached) $ECHO_C" >&6
36820 cat >conftest.$ac_ext <<_ACEOF
36823 cat confdefs.h >>conftest.$ac_ext
36824 cat >>conftest.$ac_ext <<_ACEOF
36825 /* end confdefs.h. */
36827 #include <stddef.h>
36828 #include <sys/statvfs.h>
36834 statvfs("/", NULL);
36840 rm -f conftest.$ac_objext
36841 if { (ac_try="$ac_compile"
36842 case "(($ac_try" in
36843 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
36844 *) ac_try_echo
=$ac_try;;
36846 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36847 (eval "$ac_compile") 2>conftest.er1
36849 grep -v '^ *+' conftest.er1
>conftest.err
36851 cat conftest.err
>&5
36852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36853 (exit $ac_status); } && {
36854 test -z "$ac_c_werror_flag" ||
36855 test ! -s conftest.err
36856 } && test -s conftest.
$ac_objext; then
36857 wx_cv_func_statvfs
=yes
36859 echo "$as_me: failed program was:" >&5
36860 sed 's/^/| /' conftest.
$ac_ext >&5
36862 wx_cv_func_statvfs
=no
36866 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
36869 { echo "$as_me:$LINENO: result: $wx_cv_func_statvfs" >&5
36870 echo "${ECHO_T}$wx_cv_func_statvfs" >&6; }
36872 if test "$wx_cv_func_statvfs" = "yes"; then
36873 { echo "$as_me:$LINENO: checking for statvfs argument type" >&5
36874 echo $ECHO_N "checking for statvfs argument type... $ECHO_C" >&6; }
36875 if test "${wx_cv_type_statvfs_t+set}" = set; then
36876 echo $ECHO_N "(cached) $ECHO_C" >&6
36879 ac_cpp
='$CXXCPP $CPPFLAGS'
36880 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36881 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36882 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
36884 cat >conftest.
$ac_ext <<_ACEOF
36887 cat confdefs.h
>>conftest.
$ac_ext
36888 cat >>conftest.
$ac_ext <<_ACEOF
36889 /* end confdefs.h. */
36891 #include <sys/statvfs.h>
36908 rm -f conftest.
$ac_objext
36909 if { (ac_try
="$ac_compile"
36910 case "(($ac_try" in
36911 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
36912 *) ac_try_echo=$ac_try;;
36914 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36915 (eval "$ac_compile") 2>conftest.er1
36917 grep -v '^ *+' conftest.er1 >conftest.err
36919 cat conftest.err >&5
36920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36921 (exit $ac_status); } && {
36922 test -z "$ac_cxx_werror_flag" ||
36923 test ! -s conftest.err
36924 } && test -s conftest.$ac_objext; then
36925 wx_cv_type_statvfs_t=statvfs_t
36927 echo "$as_me: failed program was:" >&5
36928 sed 's/^/| /' conftest.$ac_ext >&5
36931 cat >conftest.$ac_ext <<_ACEOF
36934 cat confdefs.h >>conftest.$ac_ext
36935 cat >>conftest.$ac_ext <<_ACEOF
36936 /* end confdefs.h. */
36938 #include <sys/statvfs.h>
36955 rm -f conftest.$ac_objext
36956 if { (ac_try="$ac_compile"
36957 case "(($ac_try" in
36958 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
36959 *) ac_try_echo
=$ac_try;;
36961 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36962 (eval "$ac_compile") 2>conftest.er1
36964 grep -v '^ *+' conftest.er1
>conftest.err
36966 cat conftest.err
>&5
36967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36968 (exit $ac_status); } && {
36969 test -z "$ac_cxx_werror_flag" ||
36970 test ! -s conftest.err
36971 } && test -s conftest.
$ac_objext; then
36972 wx_cv_type_statvfs_t
="struct statvfs"
36974 echo "$as_me: failed program was:" >&5
36975 sed 's/^/| /' conftest.
$ac_ext >&5
36977 wx_cv_type_statvfs_t
="unknown"
36981 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
36986 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
36988 ac_cpp
='$CPP $CPPFLAGS'
36989 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36990 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36991 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
36995 { echo "$as_me:$LINENO: result: $wx_cv_type_statvfs_t" >&5
36996 echo "${ECHO_T}$wx_cv_type_statvfs_t" >&6; }
36998 if test "$wx_cv_type_statvfs_t" != "unknown"; then
36999 cat >>confdefs.h
<<\_ACEOF
37000 #define HAVE_STATVFS 1
37005 wx_cv_type_statvfs_t
="unknown"
37009 if test "$wx_cv_type_statvfs_t" != "unknown"; then
37010 cat >>confdefs.h
<<_ACEOF
37011 #define WX_STATFS_T $wx_cv_type_statvfs_t
37015 { echo "$as_me:$LINENO: WARNING: wxGetDiskSpace() function won't work without statfs()" >&5
37016 echo "$as_me: WARNING: wxGetDiskSpace() function won't work without statfs()" >&2;}
37019 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
37022 for ac_func
in fcntl flock
37024 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37025 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37026 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37027 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37028 echo $ECHO_N "(cached) $ECHO_C" >&6
37030 cat >conftest.
$ac_ext <<_ACEOF
37033 cat confdefs.h
>>conftest.
$ac_ext
37034 cat >>conftest.
$ac_ext <<_ACEOF
37035 /* end confdefs.h. */
37036 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37037 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37038 #define $ac_func innocuous_$ac_func
37040 /* System header to define __stub macros and hopefully few prototypes,
37041 which can conflict with char $ac_func (); below.
37042 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37043 <limits.h> exists even on freestanding compilers. */
37046 # include <limits.h>
37048 # include <assert.h>
37053 /* Override any GCC internal prototype to avoid an error.
37054 Use char because int might match the return type of a GCC
37055 builtin and then its argument prototype would still apply. */
37060 /* The GNU C library defines this for functions which it implements
37061 to always fail with ENOSYS. Some functions are actually named
37062 something starting with __ and the normal name is an alias. */
37063 #if defined __stub_$ac_func || defined __stub___$ac_func
37070 return $ac_func ();
37075 rm -f conftest.
$ac_objext conftest
$ac_exeext
37076 if { (ac_try
="$ac_link"
37077 case "(($ac_try" in
37078 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
37079 *) ac_try_echo=$ac_try;;
37081 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37082 (eval "$ac_link") 2>conftest.er1
37084 grep -v '^ *+' conftest.er1 >conftest.err
37086 cat conftest.err >&5
37087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37088 (exit $ac_status); } && {
37089 test -z "$ac_c_werror_flag" ||
37090 test ! -s conftest.err
37091 } && test -s conftest$ac_exeext &&
37092 $as_test_x conftest$ac_exeext; then
37093 eval "$as_ac_var=yes"
37095 echo "$as_me: failed program was:" >&5
37096 sed 's/^/| /' conftest.$ac_ext >&5
37098 eval "$as_ac_var=no"
37101 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37102 conftest$ac_exeext conftest.$ac_ext
37104 ac_res=`eval echo '${'$as_ac_var'}'`
37105 { echo "$as_me:$LINENO: result: $ac_res" >&5
37106 echo "${ECHO_T}$ac_res" >&6; }
37107 if test `eval echo '${'$as_ac_var'}'` = yes; then
37108 cat >>confdefs.h <<_ACEOF
37109 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37116 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
37117 { echo "$as_me:$LINENO: WARNING: wxSingleInstanceChecker not available" >&5
37118 echo "$as_me: WARNING: wxSingleInstanceChecker not available" >&2;}
37119 wxUSE_SNGLINST_CHECKER=no
37125 for ac_func in setenv putenv
37127 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37128 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37129 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37130 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37131 echo $ECHO_N "(cached) $ECHO_C" >&6
37133 cat >conftest.$ac_ext <<_ACEOF
37136 cat confdefs.h >>conftest.$ac_ext
37137 cat >>conftest.$ac_ext <<_ACEOF
37138 /* end confdefs.h. */
37139 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37140 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37141 #define $ac_func innocuous_$ac_func
37143 /* System header to define __stub macros and hopefully few prototypes,
37144 which can conflict with char $ac_func (); below.
37145 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37146 <limits.h> exists even on freestanding compilers. */
37149 # include <limits.h>
37151 # include <assert.h>
37156 /* Override any GCC internal prototype to avoid an error.
37157 Use char because int might match the return type of a GCC
37158 builtin and then its argument prototype would still apply. */
37163 /* The GNU C library defines this for functions which it implements
37164 to always fail with ENOSYS. Some functions are actually named
37165 something starting with __ and the normal name is an alias. */
37166 #if defined __stub_$ac_func || defined __stub___$ac_func
37173 return $ac_func ();
37178 rm -f conftest.$ac_objext conftest$ac_exeext
37179 if { (ac_try="$ac_link"
37180 case "(($ac_try" in
37181 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
37182 *) ac_try_echo
=$ac_try;;
37184 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37185 (eval "$ac_link") 2>conftest.er1
37187 grep -v '^ *+' conftest.er1
>conftest.err
37189 cat conftest.err
>&5
37190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37191 (exit $ac_status); } && {
37192 test -z "$ac_c_werror_flag" ||
37193 test ! -s conftest.err
37194 } && test -s conftest
$ac_exeext &&
37195 $as_test_x conftest
$ac_exeext; then
37196 eval "$as_ac_var=yes"
37198 echo "$as_me: failed program was:" >&5
37199 sed 's/^/| /' conftest.
$ac_ext >&5
37201 eval "$as_ac_var=no"
37204 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
37205 conftest
$ac_exeext conftest.
$ac_ext
37207 ac_res
=`eval echo '${'$as_ac_var'}'`
37208 { echo "$as_me:$LINENO: result: $ac_res" >&5
37209 echo "${ECHO_T}$ac_res" >&6; }
37210 if test `eval echo '${'$as_ac_var'}'` = yes; then
37211 cat >>confdefs.h
<<_ACEOF
37212 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37218 if test "$ac_cv_func_setenv" = "yes"; then
37220 for ac_func
in unsetenv
37222 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37223 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37224 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37225 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37226 echo $ECHO_N "(cached) $ECHO_C" >&6
37228 cat >conftest.
$ac_ext <<_ACEOF
37231 cat confdefs.h
>>conftest.
$ac_ext
37232 cat >>conftest.
$ac_ext <<_ACEOF
37233 /* end confdefs.h. */
37234 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37235 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37236 #define $ac_func innocuous_$ac_func
37238 /* System header to define __stub macros and hopefully few prototypes,
37239 which can conflict with char $ac_func (); below.
37240 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37241 <limits.h> exists even on freestanding compilers. */
37244 # include <limits.h>
37246 # include <assert.h>
37251 /* Override any GCC internal prototype to avoid an error.
37252 Use char because int might match the return type of a GCC
37253 builtin and then its argument prototype would still apply. */
37258 /* The GNU C library defines this for functions which it implements
37259 to always fail with ENOSYS. Some functions are actually named
37260 something starting with __ and the normal name is an alias. */
37261 #if defined __stub_$ac_func || defined __stub___$ac_func
37268 return $ac_func ();
37273 rm -f conftest.
$ac_objext conftest
$ac_exeext
37274 if { (ac_try
="$ac_link"
37275 case "(($ac_try" in
37276 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
37277 *) ac_try_echo=$ac_try;;
37279 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37280 (eval "$ac_link") 2>conftest.er1
37282 grep -v '^ *+' conftest.er1 >conftest.err
37284 cat conftest.err >&5
37285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37286 (exit $ac_status); } && {
37287 test -z "$ac_c_werror_flag" ||
37288 test ! -s conftest.err
37289 } && test -s conftest$ac_exeext &&
37290 $as_test_x conftest$ac_exeext; then
37291 eval "$as_ac_var=yes"
37293 echo "$as_me: failed program was:" >&5
37294 sed 's/^/| /' conftest.$ac_ext >&5
37296 eval "$as_ac_var=no"
37299 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37300 conftest$ac_exeext conftest.$ac_ext
37302 ac_res=`eval echo '${'$as_ac_var'}'`
37303 { echo "$as_me:$LINENO: result: $ac_res" >&5
37304 echo "${ECHO_T}$ac_res" >&6; }
37305 if test `eval echo '${'$as_ac_var'}'` = yes; then
37306 cat >>confdefs.h <<_ACEOF
37307 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37315 HAVE_SOME_SLEEP_FUNC=0
37316 if test "$USE_BEOS" = 1; then
37317 cat >>confdefs.h <<\_ACEOF
37318 #define HAVE_SLEEP 1
37321 HAVE_SOME_SLEEP_FUNC=1
37324 if test "$USE_DARWIN" = 1; then
37325 cat >>confdefs.h <<\_ACEOF
37326 #define HAVE_USLEEP 1
37329 HAVE_SOME_SLEEP_FUNC=1
37332 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
37335 for ac_func in nanosleep
37337 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37338 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37339 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37340 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37341 echo $ECHO_N "(cached) $ECHO_C" >&6
37343 cat >conftest.$ac_ext <<_ACEOF
37346 cat confdefs.h >>conftest.$ac_ext
37347 cat >>conftest.$ac_ext <<_ACEOF
37348 /* end confdefs.h. */
37349 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37350 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37351 #define $ac_func innocuous_$ac_func
37353 /* System header to define __stub macros and hopefully few prototypes,
37354 which can conflict with char $ac_func (); below.
37355 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37356 <limits.h> exists even on freestanding compilers. */
37359 # include <limits.h>
37361 # include <assert.h>
37366 /* Override any GCC internal prototype to avoid an error.
37367 Use char because int might match the return type of a GCC
37368 builtin and then its argument prototype would still apply. */
37373 /* The GNU C library defines this for functions which it implements
37374 to always fail with ENOSYS. Some functions are actually named
37375 something starting with __ and the normal name is an alias. */
37376 #if defined __stub_$ac_func || defined __stub___$ac_func
37383 return $ac_func ();
37388 rm -f conftest.$ac_objext conftest$ac_exeext
37389 if { (ac_try="$ac_link"
37390 case "(($ac_try" in
37391 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
37392 *) ac_try_echo
=$ac_try;;
37394 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37395 (eval "$ac_link") 2>conftest.er1
37397 grep -v '^ *+' conftest.er1
>conftest.err
37399 cat conftest.err
>&5
37400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37401 (exit $ac_status); } && {
37402 test -z "$ac_c_werror_flag" ||
37403 test ! -s conftest.err
37404 } && test -s conftest
$ac_exeext &&
37405 $as_test_x conftest
$ac_exeext; then
37406 eval "$as_ac_var=yes"
37408 echo "$as_me: failed program was:" >&5
37409 sed 's/^/| /' conftest.
$ac_ext >&5
37411 eval "$as_ac_var=no"
37414 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
37415 conftest
$ac_exeext conftest.
$ac_ext
37417 ac_res
=`eval echo '${'$as_ac_var'}'`
37418 { echo "$as_me:$LINENO: result: $ac_res" >&5
37419 echo "${ECHO_T}$ac_res" >&6; }
37420 if test `eval echo '${'$as_ac_var'}'` = yes; then
37421 cat >>confdefs.h
<<_ACEOF
37422 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37424 cat >>confdefs.h
<<\_ACEOF
37425 #define HAVE_NANOSLEEP 1
37430 { echo "$as_me:$LINENO: checking for nanosleep in -lposix4" >&5
37431 echo $ECHO_N "checking for nanosleep in -lposix4... $ECHO_C" >&6; }
37432 if test "${ac_cv_lib_posix4_nanosleep+set}" = set; then
37433 echo $ECHO_N "(cached) $ECHO_C" >&6
37435 ac_check_lib_save_LIBS
=$LIBS
37436 LIBS
="-lposix4 $LIBS"
37437 cat >conftest.
$ac_ext <<_ACEOF
37440 cat confdefs.h
>>conftest.
$ac_ext
37441 cat >>conftest.
$ac_ext <<_ACEOF
37442 /* end confdefs.h. */
37444 /* Override any GCC internal prototype to avoid an error.
37445 Use char because int might match the return type of a GCC
37446 builtin and then its argument prototype would still apply. */
37454 return nanosleep ();
37459 rm -f conftest.
$ac_objext conftest
$ac_exeext
37460 if { (ac_try
="$ac_link"
37461 case "(($ac_try" in
37462 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
37463 *) ac_try_echo=$ac_try;;
37465 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37466 (eval "$ac_link") 2>conftest.er1
37468 grep -v '^ *+' conftest.er1 >conftest.err
37470 cat conftest.err >&5
37471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37472 (exit $ac_status); } && {
37473 test -z "$ac_c_werror_flag" ||
37474 test ! -s conftest.err
37475 } && test -s conftest$ac_exeext &&
37476 $as_test_x conftest$ac_exeext; then
37477 ac_cv_lib_posix4_nanosleep=yes
37479 echo "$as_me: failed program was:" >&5
37480 sed 's/^/| /' conftest.$ac_ext >&5
37482 ac_cv_lib_posix4_nanosleep=no
37485 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37486 conftest$ac_exeext conftest.$ac_ext
37487 LIBS=$ac_check_lib_save_LIBS
37489 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_nanosleep" >&5
37490 echo "${ECHO_T}$ac_cv_lib_posix4_nanosleep" >&6; }
37491 if test $ac_cv_lib_posix4_nanosleep = yes; then
37493 cat >>confdefs.h <<\_ACEOF
37494 #define HAVE_NANOSLEEP 1
37497 POSIX4_LINK=" -lposix4"
37502 for wx_func in usleep
37504 { echo "$as_me:$LINENO: checking for $wx_func" >&5
37505 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
37506 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
37507 echo $ECHO_N "(cached) $ECHO_C" >&6
37510 cat >conftest.$ac_ext <<_ACEOF
37514 cat confdefs.h >>conftest.$ac_ext
37515 cat >>conftest.$ac_ext <<_ACEOF
37516 /* end confdefs.h. */
37519 $ac_includes_default
37535 rm -f conftest.$ac_objext conftest$ac_exeext
37536 if { (ac_try="$ac_link"
37537 case "(($ac_try" in
37538 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
37539 *) ac_try_echo
=$ac_try;;
37541 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37542 (eval "$ac_link") 2>conftest.er1
37544 grep -v '^ *+' conftest.er1
>conftest.err
37546 cat conftest.err
>&5
37547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37548 (exit $ac_status); } && {
37549 test -z "$ac_c_werror_flag" ||
37550 test ! -s conftest.err
37551 } && test -s conftest
$ac_exeext &&
37552 $as_test_x conftest
$ac_exeext; then
37553 eval wx_cv_func_
$wx_func=yes
37555 echo "$as_me: failed program was:" >&5
37556 sed 's/^/| /' conftest.
$ac_ext >&5
37558 eval wx_cv_func_
$wx_func=no
37561 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
37562 conftest
$ac_exeext conftest.
$ac_ext
37565 ac_res
=`eval echo '${'wx_cv_func_$wx_func'}'`
37566 { echo "$as_me:$LINENO: result: $ac_res" >&5
37567 echo "${ECHO_T}$ac_res" >&6; }
37569 if eval test \
$wx_cv_func_$wx_func = yes
37571 cat >>confdefs.h
<<_ACEOF
37572 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
37578 { echo "$as_me:$LINENO: WARNING: wxSleep() function will not work" >&5
37579 echo "$as_me: WARNING: wxSleep() function will not work" >&2;}
37596 for wx_func
in uname
37598 { echo "$as_me:$LINENO: checking for $wx_func" >&5
37599 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
37600 if { as_var
=wx_cv_func_
$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
37601 echo $ECHO_N "(cached) $ECHO_C" >&6
37604 cat >conftest.
$ac_ext <<_ACEOF
37608 cat confdefs.h
>>conftest.
$ac_ext
37609 cat >>conftest.
$ac_ext <<_ACEOF
37610 /* end confdefs.h. */
37612 #include <sys/utsname.h>
37613 $ac_includes_default
37629 rm -f conftest.
$ac_objext conftest
$ac_exeext
37630 if { (ac_try
="$ac_link"
37631 case "(($ac_try" in
37632 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
37633 *) ac_try_echo=$ac_try;;
37635 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37636 (eval "$ac_link") 2>conftest.er1
37638 grep -v '^ *+' conftest.er1 >conftest.err
37640 cat conftest.err >&5
37641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37642 (exit $ac_status); } && {
37643 test -z "$ac_c_werror_flag" ||
37644 test ! -s conftest.err
37645 } && test -s conftest$ac_exeext &&
37646 $as_test_x conftest$ac_exeext; then
37647 eval wx_cv_func_$wx_func=yes
37649 echo "$as_me: failed program was:" >&5
37650 sed 's/^/| /' conftest.$ac_ext >&5
37652 eval wx_cv_func_$wx_func=no
37655 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37656 conftest$ac_exeext conftest.$ac_ext
37659 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
37660 { echo "$as_me:$LINENO: result: $ac_res" >&5
37661 echo "${ECHO_T}$ac_res" >&6; }
37663 if eval test \$wx_cv_func_$wx_func = yes
37665 cat >>confdefs.h <<_ACEOF
37666 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
37676 if test "$wx_cv_func_uname" != yes; then
37678 for wx_func in gethostname
37680 { echo "$as_me:$LINENO: checking for $wx_func" >&5
37681 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
37682 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
37683 echo $ECHO_N "(cached) $ECHO_C" >&6
37686 cat >conftest.$ac_ext <<_ACEOF
37690 cat confdefs.h >>conftest.$ac_ext
37691 cat >>conftest.$ac_ext <<_ACEOF
37692 /* end confdefs.h. */
37695 $ac_includes_default
37711 rm -f conftest.$ac_objext conftest$ac_exeext
37712 if { (ac_try="$ac_link"
37713 case "(($ac_try" in
37714 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
37715 *) ac_try_echo
=$ac_try;;
37717 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37718 (eval "$ac_link") 2>conftest.er1
37720 grep -v '^ *+' conftest.er1
>conftest.err
37722 cat conftest.err
>&5
37723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37724 (exit $ac_status); } && {
37725 test -z "$ac_c_werror_flag" ||
37726 test ! -s conftest.err
37727 } && test -s conftest
$ac_exeext &&
37728 $as_test_x conftest
$ac_exeext; then
37729 eval wx_cv_func_
$wx_func=yes
37731 echo "$as_me: failed program was:" >&5
37732 sed 's/^/| /' conftest.
$ac_ext >&5
37734 eval wx_cv_func_
$wx_func=no
37737 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
37738 conftest
$ac_exeext conftest.
$ac_ext
37741 ac_res
=`eval echo '${'wx_cv_func_$wx_func'}'`
37742 { echo "$as_me:$LINENO: result: $ac_res" >&5
37743 echo "${ECHO_T}$ac_res" >&6; }
37745 if eval test \
$wx_cv_func_$wx_func = yes
37747 cat >>confdefs.h
<<_ACEOF
37748 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
37761 for wx_func
in strtok_r
37763 { echo "$as_me:$LINENO: checking for $wx_func" >&5
37764 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
37765 if { as_var
=wx_cv_func_
$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
37766 echo $ECHO_N "(cached) $ECHO_C" >&6
37769 cat >conftest.
$ac_ext <<_ACEOF
37773 cat confdefs.h
>>conftest.
$ac_ext
37774 cat >>conftest.
$ac_ext <<_ACEOF
37775 /* end confdefs.h. */
37778 $ac_includes_default
37794 rm -f conftest.
$ac_objext conftest
$ac_exeext
37795 if { (ac_try
="$ac_link"
37796 case "(($ac_try" in
37797 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
37798 *) ac_try_echo=$ac_try;;
37800 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37801 (eval "$ac_link") 2>conftest.er1
37803 grep -v '^ *+' conftest.er1 >conftest.err
37805 cat conftest.err >&5
37806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37807 (exit $ac_status); } && {
37808 test -z "$ac_c_werror_flag" ||
37809 test ! -s conftest.err
37810 } && test -s conftest$ac_exeext &&
37811 $as_test_x conftest$ac_exeext; then
37812 eval wx_cv_func_$wx_func=yes
37814 echo "$as_me: failed program was:" >&5
37815 sed 's/^/| /' conftest.$ac_ext >&5
37817 eval wx_cv_func_$wx_func=no
37820 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37821 conftest$ac_exeext conftest.$ac_ext
37824 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
37825 { echo "$as_me:$LINENO: result: $ac_res" >&5
37826 echo "${ECHO_T}$ac_res" >&6; }
37828 if eval test \$wx_cv_func_$wx_func = yes
37830 cat >>confdefs.h <<_ACEOF
37831 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
37844 for ac_func in inet_addr
37846 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37847 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37848 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37849 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37850 echo $ECHO_N "(cached) $ECHO_C" >&6
37852 cat >conftest.$ac_ext <<_ACEOF
37855 cat confdefs.h >>conftest.$ac_ext
37856 cat >>conftest.$ac_ext <<_ACEOF
37857 /* end confdefs.h. */
37858 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37859 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37860 #define $ac_func innocuous_$ac_func
37862 /* System header to define __stub macros and hopefully few prototypes,
37863 which can conflict with char $ac_func (); below.
37864 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37865 <limits.h> exists even on freestanding compilers. */
37868 # include <limits.h>
37870 # include <assert.h>
37875 /* Override any GCC internal prototype to avoid an error.
37876 Use char because int might match the return type of a GCC
37877 builtin and then its argument prototype would still apply. */
37882 /* The GNU C library defines this for functions which it implements
37883 to always fail with ENOSYS. Some functions are actually named
37884 something starting with __ and the normal name is an alias. */
37885 #if defined __stub_$ac_func || defined __stub___$ac_func
37892 return $ac_func ();
37897 rm -f conftest.$ac_objext conftest$ac_exeext
37898 if { (ac_try="$ac_link"
37899 case "(($ac_try" in
37900 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
37901 *) ac_try_echo
=$ac_try;;
37903 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37904 (eval "$ac_link") 2>conftest.er1
37906 grep -v '^ *+' conftest.er1
>conftest.err
37908 cat conftest.err
>&5
37909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37910 (exit $ac_status); } && {
37911 test -z "$ac_c_werror_flag" ||
37912 test ! -s conftest.err
37913 } && test -s conftest
$ac_exeext &&
37914 $as_test_x conftest
$ac_exeext; then
37915 eval "$as_ac_var=yes"
37917 echo "$as_me: failed program was:" >&5
37918 sed 's/^/| /' conftest.
$ac_ext >&5
37920 eval "$as_ac_var=no"
37923 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
37924 conftest
$ac_exeext conftest.
$ac_ext
37926 ac_res
=`eval echo '${'$as_ac_var'}'`
37927 { echo "$as_me:$LINENO: result: $ac_res" >&5
37928 echo "${ECHO_T}$ac_res" >&6; }
37929 if test `eval echo '${'$as_ac_var'}'` = yes; then
37930 cat >>confdefs.h
<<_ACEOF
37931 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37933 cat >>confdefs.h
<<\_ACEOF
37934 #define HAVE_INET_ADDR 1
37939 { echo "$as_me:$LINENO: checking for inet_addr in -lnsl" >&5
37940 echo $ECHO_N "checking for inet_addr in -lnsl... $ECHO_C" >&6; }
37941 if test "${ac_cv_lib_nsl_inet_addr+set}" = set; then
37942 echo $ECHO_N "(cached) $ECHO_C" >&6
37944 ac_check_lib_save_LIBS
=$LIBS
37946 cat >conftest.
$ac_ext <<_ACEOF
37949 cat confdefs.h
>>conftest.
$ac_ext
37950 cat >>conftest.
$ac_ext <<_ACEOF
37951 /* end confdefs.h. */
37953 /* Override any GCC internal prototype to avoid an error.
37954 Use char because int might match the return type of a GCC
37955 builtin and then its argument prototype would still apply. */
37963 return inet_addr ();
37968 rm -f conftest.
$ac_objext conftest
$ac_exeext
37969 if { (ac_try
="$ac_link"
37970 case "(($ac_try" in
37971 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
37972 *) ac_try_echo=$ac_try;;
37974 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37975 (eval "$ac_link") 2>conftest.er1
37977 grep -v '^ *+' conftest.er1 >conftest.err
37979 cat conftest.err >&5
37980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37981 (exit $ac_status); } && {
37982 test -z "$ac_c_werror_flag" ||
37983 test ! -s conftest.err
37984 } && test -s conftest$ac_exeext &&
37985 $as_test_x conftest$ac_exeext; then
37986 ac_cv_lib_nsl_inet_addr=yes
37988 echo "$as_me: failed program was:" >&5
37989 sed 's/^/| /' conftest.$ac_ext >&5
37991 ac_cv_lib_nsl_inet_addr=no
37994 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37995 conftest$ac_exeext conftest.$ac_ext
37996 LIBS=$ac_check_lib_save_LIBS
37998 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_inet_addr" >&5
37999 echo "${ECHO_T}$ac_cv_lib_nsl_inet_addr" >&6; }
38000 if test $ac_cv_lib_nsl_inet_addr = yes; then
38004 { echo "$as_me:$LINENO: checking for inet_addr in -lresolv" >&5
38005 echo $ECHO_N "checking for inet_addr in -lresolv... $ECHO_C" >&6; }
38006 if test "${ac_cv_lib_resolv_inet_addr+set}" = set; then
38007 echo $ECHO_N "(cached) $ECHO_C" >&6
38009 ac_check_lib_save_LIBS=$LIBS
38010 LIBS="-lresolv $LIBS"
38011 cat >conftest.$ac_ext <<_ACEOF
38014 cat confdefs.h >>conftest.$ac_ext
38015 cat >>conftest.$ac_ext <<_ACEOF
38016 /* end confdefs.h. */
38018 /* Override any GCC internal prototype to avoid an error.
38019 Use char because int might match the return type of a GCC
38020 builtin and then its argument prototype would still apply. */
38028 return inet_addr ();
38033 rm -f conftest.$ac_objext conftest$ac_exeext
38034 if { (ac_try="$ac_link"
38035 case "(($ac_try" in
38036 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
38037 *) ac_try_echo
=$ac_try;;
38039 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38040 (eval "$ac_link") 2>conftest.er1
38042 grep -v '^ *+' conftest.er1
>conftest.err
38044 cat conftest.err
>&5
38045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38046 (exit $ac_status); } && {
38047 test -z "$ac_c_werror_flag" ||
38048 test ! -s conftest.err
38049 } && test -s conftest
$ac_exeext &&
38050 $as_test_x conftest
$ac_exeext; then
38051 ac_cv_lib_resolv_inet_addr
=yes
38053 echo "$as_me: failed program was:" >&5
38054 sed 's/^/| /' conftest.
$ac_ext >&5
38056 ac_cv_lib_resolv_inet_addr
=no
38059 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
38060 conftest
$ac_exeext conftest.
$ac_ext
38061 LIBS
=$ac_check_lib_save_LIBS
38063 { echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_addr" >&5
38064 echo "${ECHO_T}$ac_cv_lib_resolv_inet_addr" >&6; }
38065 if test $ac_cv_lib_resolv_inet_addr = yes; then
38069 { echo "$as_me:$LINENO: checking for inet_addr in -lsocket" >&5
38070 echo $ECHO_N "checking for inet_addr in -lsocket... $ECHO_C" >&6; }
38071 if test "${ac_cv_lib_socket_inet_addr+set}" = set; then
38072 echo $ECHO_N "(cached) $ECHO_C" >&6
38074 ac_check_lib_save_LIBS
=$LIBS
38075 LIBS
="-lsocket $LIBS"
38076 cat >conftest.
$ac_ext <<_ACEOF
38079 cat confdefs.h
>>conftest.
$ac_ext
38080 cat >>conftest.
$ac_ext <<_ACEOF
38081 /* end confdefs.h. */
38083 /* Override any GCC internal prototype to avoid an error.
38084 Use char because int might match the return type of a GCC
38085 builtin and then its argument prototype would still apply. */
38093 return inet_addr ();
38098 rm -f conftest.
$ac_objext conftest
$ac_exeext
38099 if { (ac_try
="$ac_link"
38100 case "(($ac_try" in
38101 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
38102 *) ac_try_echo=$ac_try;;
38104 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38105 (eval "$ac_link") 2>conftest.er1
38107 grep -v '^ *+' conftest.er1 >conftest.err
38109 cat conftest.err >&5
38110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38111 (exit $ac_status); } && {
38112 test -z "$ac_c_werror_flag" ||
38113 test ! -s conftest.err
38114 } && test -s conftest$ac_exeext &&
38115 $as_test_x conftest$ac_exeext; then
38116 ac_cv_lib_socket_inet_addr=yes
38118 echo "$as_me: failed program was:" >&5
38119 sed 's/^/| /' conftest.$ac_ext >&5
38121 ac_cv_lib_socket_inet_addr=no
38124 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38125 conftest$ac_exeext conftest.$ac_ext
38126 LIBS=$ac_check_lib_save_LIBS
38128 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_inet_addr" >&5
38129 echo "${ECHO_T}$ac_cv_lib_socket_inet_addr" >&6; }
38130 if test $ac_cv_lib_socket_inet_addr = yes; then
38150 for ac_func in inet_aton
38152 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38153 { echo "$as_me:$LINENO: checking for $ac_func" >&5
38154 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
38155 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
38156 echo $ECHO_N "(cached) $ECHO_C" >&6
38158 cat >conftest.$ac_ext <<_ACEOF
38161 cat confdefs.h >>conftest.$ac_ext
38162 cat >>conftest.$ac_ext <<_ACEOF
38163 /* end confdefs.h. */
38164 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38165 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38166 #define $ac_func innocuous_$ac_func
38168 /* System header to define __stub macros and hopefully few prototypes,
38169 which can conflict with char $ac_func (); below.
38170 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38171 <limits.h> exists even on freestanding compilers. */
38174 # include <limits.h>
38176 # include <assert.h>
38181 /* Override any GCC internal prototype to avoid an error.
38182 Use char because int might match the return type of a GCC
38183 builtin and then its argument prototype would still apply. */
38188 /* The GNU C library defines this for functions which it implements
38189 to always fail with ENOSYS. Some functions are actually named
38190 something starting with __ and the normal name is an alias. */
38191 #if defined __stub_$ac_func || defined __stub___$ac_func
38198 return $ac_func ();
38203 rm -f conftest.$ac_objext conftest$ac_exeext
38204 if { (ac_try="$ac_link"
38205 case "(($ac_try" in
38206 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
38207 *) ac_try_echo
=$ac_try;;
38209 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38210 (eval "$ac_link") 2>conftest.er1
38212 grep -v '^ *+' conftest.er1
>conftest.err
38214 cat conftest.err
>&5
38215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38216 (exit $ac_status); } && {
38217 test -z "$ac_c_werror_flag" ||
38218 test ! -s conftest.err
38219 } && test -s conftest
$ac_exeext &&
38220 $as_test_x conftest
$ac_exeext; then
38221 eval "$as_ac_var=yes"
38223 echo "$as_me: failed program was:" >&5
38224 sed 's/^/| /' conftest.
$ac_ext >&5
38226 eval "$as_ac_var=no"
38229 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
38230 conftest
$ac_exeext conftest.
$ac_ext
38232 ac_res
=`eval echo '${'$as_ac_var'}'`
38233 { echo "$as_me:$LINENO: result: $ac_res" >&5
38234 echo "${ECHO_T}$ac_res" >&6; }
38235 if test `eval echo '${'$as_ac_var'}'` = yes; then
38236 cat >>confdefs.h
<<_ACEOF
38237 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38239 cat >>confdefs.h
<<\_ACEOF
38240 #define HAVE_INET_ATON 1
38245 as_ac_Lib
=`echo "ac_cv_lib_$INET_LINK''_inet_aton" | $as_tr_sh`
38246 { echo "$as_me:$LINENO: checking for inet_aton in -l$INET_LINK" >&5
38247 echo $ECHO_N "checking for inet_aton in -l$INET_LINK... $ECHO_C" >&6; }
38248 if { as_var
=$as_ac_Lib; eval "test \"\${$as_var+set}\" = set"; }; then
38249 echo $ECHO_N "(cached) $ECHO_C" >&6
38251 ac_check_lib_save_LIBS
=$LIBS
38252 LIBS
="-l$INET_LINK $LIBS"
38253 cat >conftest.
$ac_ext <<_ACEOF
38256 cat confdefs.h
>>conftest.
$ac_ext
38257 cat >>conftest.
$ac_ext <<_ACEOF
38258 /* end confdefs.h. */
38260 /* Override any GCC internal prototype to avoid an error.
38261 Use char because int might match the return type of a GCC
38262 builtin and then its argument prototype would still apply. */
38270 return inet_aton ();
38275 rm -f conftest.
$ac_objext conftest
$ac_exeext
38276 if { (ac_try
="$ac_link"
38277 case "(($ac_try" in
38278 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
38279 *) ac_try_echo=$ac_try;;
38281 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38282 (eval "$ac_link") 2>conftest.er1
38284 grep -v '^ *+' conftest.er1 >conftest.err
38286 cat conftest.err >&5
38287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38288 (exit $ac_status); } && {
38289 test -z "$ac_c_werror_flag" ||
38290 test ! -s conftest.err
38291 } && test -s conftest$ac_exeext &&
38292 $as_test_x conftest$ac_exeext; then
38293 eval "$as_ac_Lib=yes"
38295 echo "$as_me: failed program was:" >&5
38296 sed 's/^/| /' conftest.$ac_ext >&5
38298 eval "$as_ac_Lib=no"
38301 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38302 conftest$ac_exeext conftest.$ac_ext
38303 LIBS=$ac_check_lib_save_LIBS
38305 ac_res=`eval echo '${'$as_ac_Lib'}'`
38306 { echo "$as_me:$LINENO: result: $ac_res" >&5
38307 echo "${ECHO_T}$ac_res" >&6; }
38308 if test `eval echo '${'$as_ac_Lib'}'` = yes; then
38309 cat >>confdefs.h <<\_ACEOF
38310 #define HAVE_INET_ATON 1
38320 if test "x$INET_LINK" != "x"; then
38321 cat >>confdefs.h <<\_ACEOF
38322 #define HAVE_INET_ADDR 1
38325 INET_LINK=" -l$INET_LINK"
38329 for wx_func in fdopen
38331 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38332 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38333 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38334 echo $ECHO_N "(cached) $ECHO_C" >&6
38337 cat >conftest.$ac_ext <<_ACEOF
38341 cat confdefs.h >>conftest.$ac_ext
38342 cat >>conftest.$ac_ext <<_ACEOF
38343 /* end confdefs.h. */
38346 $ac_includes_default
38362 rm -f conftest.$ac_objext conftest$ac_exeext
38363 if { (ac_try="$ac_link"
38364 case "(($ac_try" in
38365 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
38366 *) ac_try_echo
=$ac_try;;
38368 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38369 (eval "$ac_link") 2>conftest.er1
38371 grep -v '^ *+' conftest.er1
>conftest.err
38373 cat conftest.err
>&5
38374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38375 (exit $ac_status); } && {
38376 test -z "$ac_c_werror_flag" ||
38377 test ! -s conftest.err
38378 } && test -s conftest
$ac_exeext &&
38379 $as_test_x conftest
$ac_exeext; then
38380 eval wx_cv_func_
$wx_func=yes
38382 echo "$as_me: failed program was:" >&5
38383 sed 's/^/| /' conftest.
$ac_ext >&5
38385 eval wx_cv_func_
$wx_func=no
38388 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
38389 conftest
$ac_exeext conftest.
$ac_ext
38392 ac_res
=`eval echo '${'wx_cv_func_$wx_func'}'`
38393 { echo "$as_me:$LINENO: result: $ac_res" >&5
38394 echo "${ECHO_T}$ac_res" >&6; }
38396 if eval test \
$wx_cv_func_$wx_func = yes
38398 cat >>confdefs.h
<<_ACEOF
38399 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
38410 if test "$wxUSE_TARSTREAM" = "yes"; then
38412 for wx_func
in sysconf
38414 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38415 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38416 if { as_var
=wx_cv_func_
$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38417 echo $ECHO_N "(cached) $ECHO_C" >&6
38420 cat >conftest.
$ac_ext <<_ACEOF
38424 cat confdefs.h
>>conftest.
$ac_ext
38425 cat >>conftest.
$ac_ext <<_ACEOF
38426 /* end confdefs.h. */
38429 $ac_includes_default
38445 rm -f conftest.
$ac_objext conftest
$ac_exeext
38446 if { (ac_try
="$ac_link"
38447 case "(($ac_try" in
38448 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
38449 *) ac_try_echo=$ac_try;;
38451 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38452 (eval "$ac_link") 2>conftest.er1
38454 grep -v '^ *+' conftest.er1 >conftest.err
38456 cat conftest.err >&5
38457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38458 (exit $ac_status); } && {
38459 test -z "$ac_c_werror_flag" ||
38460 test ! -s conftest.err
38461 } && test -s conftest$ac_exeext &&
38462 $as_test_x conftest$ac_exeext; then
38463 eval wx_cv_func_$wx_func=yes
38465 echo "$as_me: failed program was:" >&5
38466 sed 's/^/| /' conftest.$ac_ext >&5
38468 eval wx_cv_func_$wx_func=no
38471 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38472 conftest$ac_exeext conftest.$ac_ext
38475 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
38476 { echo "$as_me:$LINENO: result: $ac_res" >&5
38477 echo "${ECHO_T}$ac_res" >&6; }
38479 if eval test \$wx_cv_func_$wx_func = yes
38481 cat >>confdefs.h <<_ACEOF
38482 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
38494 for wx_func in getpwuid_r
38496 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38497 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38498 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38499 echo $ECHO_N "(cached) $ECHO_C" >&6
38502 cat >conftest.$ac_ext <<_ACEOF
38506 cat confdefs.h >>conftest.$ac_ext
38507 cat >>conftest.$ac_ext <<_ACEOF
38508 /* end confdefs.h. */
38514 $ac_includes_default
38524 struct passwd pw, *ppw;
38526 getpwuid_r(0, &pw, buf, sizeof(buf), &ppw)
38534 rm -f conftest.$ac_objext conftest$ac_exeext
38535 if { (ac_try="$ac_link"
38536 case "(($ac_try" in
38537 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
38538 *) ac_try_echo
=$ac_try;;
38540 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38541 (eval "$ac_link") 2>conftest.er1
38543 grep -v '^ *+' conftest.er1
>conftest.err
38545 cat conftest.err
>&5
38546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38547 (exit $ac_status); } && {
38548 test -z "$ac_c_werror_flag" ||
38549 test ! -s conftest.err
38550 } && test -s conftest
$ac_exeext &&
38551 $as_test_x conftest
$ac_exeext; then
38552 eval wx_cv_func_
$wx_func=yes
38554 echo "$as_me: failed program was:" >&5
38555 sed 's/^/| /' conftest.
$ac_ext >&5
38557 eval wx_cv_func_
$wx_func=no
38560 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
38561 conftest
$ac_exeext conftest.
$ac_ext
38564 ac_res
=`eval echo '${'wx_cv_func_$wx_func'}'`
38565 { echo "$as_me:$LINENO: result: $ac_res" >&5
38566 echo "${ECHO_T}$ac_res" >&6; }
38568 if eval test \
$wx_cv_func_$wx_func = yes
38570 cat >>confdefs.h
<<_ACEOF
38571 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
38583 for wx_func
in getgrgid_r
38585 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38586 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38587 if { as_var
=wx_cv_func_
$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38588 echo $ECHO_N "(cached) $ECHO_C" >&6
38591 cat >conftest.
$ac_ext <<_ACEOF
38595 cat confdefs.h
>>conftest.
$ac_ext
38596 cat >>conftest.
$ac_ext <<_ACEOF
38597 /* end confdefs.h. */
38603 $ac_includes_default
38613 struct group grp, *pgrp;
38615 getgrgid_r(0, &grp, buf, sizeof(buf), &pgrp)
38623 rm -f conftest.
$ac_objext conftest
$ac_exeext
38624 if { (ac_try
="$ac_link"
38625 case "(($ac_try" in
38626 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
38627 *) ac_try_echo=$ac_try;;
38629 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38630 (eval "$ac_link") 2>conftest.er1
38632 grep -v '^ *+' conftest.er1 >conftest.err
38634 cat conftest.err >&5
38635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38636 (exit $ac_status); } && {
38637 test -z "$ac_c_werror_flag" ||
38638 test ! -s conftest.err
38639 } && test -s conftest$ac_exeext &&
38640 $as_test_x conftest$ac_exeext; then
38641 eval wx_cv_func_$wx_func=yes
38643 echo "$as_me: failed program was:" >&5
38644 sed 's/^/| /' conftest.$ac_ext >&5
38646 eval wx_cv_func_$wx_func=no
38649 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38650 conftest$ac_exeext conftest.$ac_ext
38653 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
38654 { echo "$as_me:$LINENO: result: $ac_res" >&5
38655 echo "${ECHO_T}$ac_res" >&6; }
38657 if eval test \$wx_cv_func_$wx_func = yes
38659 cat >>confdefs.h <<_ACEOF
38660 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
38676 cat >confcache <<\_ACEOF
38677 # This file is a shell script that caches the results of configure
38678 # tests run on this system so they can be shared between configure
38679 # scripts and configure runs, see configure's option --config-cache.
38680 # It is not useful on other systems. If it contains results you don't
38681 # want to keep, you may remove or edit it.
38683 # config.status only pays attention to the cache file if you give it
38684 # the --recheck option to rerun configure.
38686 # `ac_cv_env_foo
' variables (set or unset) will be overridden when
38687 # loading this file, other *unset* `ac_cv_foo' will be assigned the
38688 # following values.
38692 # The following way of writing the cache mishandles newlines in values,
38693 # but we know of no workaround that is simple, portable, and efficient.
38694 # So, we kill variables containing newlines.
38695 # Ultrix sh set writes to stderr and can't be redirected directly,
38696 # and sets the high bit in the cache file unless we assign to the vars.
38698 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
38699 eval ac_val
=\$
$ac_var
38703 *_cv_
*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
38704 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
38707 _
| IFS
| as_nl
) ;; #(
38708 *) $as_unset $ac_var ;;
38714 case $as_nl`(ac_space=' '; set) 2>&1` in #(
38715 *${as_nl}ac_space
=\
*)
38716 # `set' does not quote correctly, so add quotes (double-quote
38717 # substitution turns \\\\ into \\, and sed turns \\ into \).
38720 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
38723 # `set' quotes correctly as required by POSIX, so do not add quotes.
38724 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
38733 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
38735 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
38737 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
38738 if test -w "$cache_file"; then
38739 test "x$cache_file" != "x/dev/null" &&
38740 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
38741 echo "$as_me: updating cache $cache_file" >&6;}
38742 cat confcache
>$cache_file
38744 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
38745 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
38751 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
38757 if test "$wxUSE_THREADS" = "yes" ; then
38758 if test "$USE_BEOS" = 1; then
38759 { echo "$as_me:$LINENO: WARNING: BeOS threads are not yet supported... disabled" >&5
38760 echo "$as_me: WARNING: BeOS threads are not yet supported... disabled" >&2;}
38765 if test "$wxUSE_THREADS" = "yes" ; then
38768 THREAD_OPTS
="-pthread"
38769 if test "x$SUNCXX" = xyes
; then
38770 THREAD_OPTS
="-mt lthread $THREAD_OPTS"
38774 *-*-solaris2* | *-*-sunos4* )
38775 if test "x$GCC" = "xyes"; then
38776 THREAD_OPTS
="-pthreads $THREAD_OPTS"
38780 THREAD_OPTS
="-kthread lthread $THREAD_OPTS c_r"
38782 *-*-darwin* | *-*-cygwin* )
38786 THREAD_OPTS
="pthreads"
38789 if test "x$GCC" = "xyes"; then
38790 $CXX -dumpspecs | grep 'pthread:' >/dev
/null
||
38798 if test "x$GCC" = "xyes"; then
38804 if test "x$GCC" != "xyes"; then
38805 THREAD_OPTS
="-Ethread"
38810 THREAD_OPTS
="$THREAD_OPTS pthread none"
38813 for flag
in $THREAD_OPTS; do
38816 { echo "$as_me:$LINENO: checking whether pthreads work without any flags" >&5
38817 echo $ECHO_N "checking whether pthreads work without any flags... $ECHO_C" >&6; }
38821 { echo "$as_me:$LINENO: checking whether pthreads work with $flag" >&5
38822 echo $ECHO_N "checking whether pthreads work with $flag... $ECHO_C" >&6; }
38823 THREADS_CFLAGS
="$flag"
38827 { echo "$as_me:$LINENO: checking for the pthreads library -l$flag" >&5
38828 echo $ECHO_N "checking for the pthreads library -l$flag... $ECHO_C" >&6; }
38829 THREADS_LINK
="-l$flag"
38834 save_CFLAGS
="$CFLAGS"
38835 LIBS
="$THREADS_LINK $LIBS"
38836 CFLAGS
="$THREADS_CFLAGS $CFLAGS"
38838 cat >conftest.
$ac_ext <<_ACEOF
38841 cat confdefs.h
>>conftest.
$ac_ext
38842 cat >>conftest.
$ac_ext <<_ACEOF
38843 /* end confdefs.h. */
38844 #include <pthread.h>
38848 pthread_create(0,0,0,0);
38853 rm -f conftest.
$ac_objext conftest
$ac_exeext
38854 if { (ac_try
="$ac_link"
38855 case "(($ac_try" in
38856 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
38857 *) ac_try_echo=$ac_try;;
38859 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38860 (eval "$ac_link") 2>conftest.er1
38862 grep -v '^ *+' conftest.er1 >conftest.err
38864 cat conftest.err >&5
38865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38866 (exit $ac_status); } && {
38867 test -z "$ac_c_werror_flag" ||
38868 test ! -s conftest.err
38869 } && test -s conftest$ac_exeext &&
38870 $as_test_x conftest$ac_exeext; then
38873 echo "$as_me: failed program was:" >&5
38874 sed 's/^/| /' conftest.$ac_ext >&5
38879 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38880 conftest$ac_exeext conftest.$ac_ext
38883 CFLAGS="$save_CFLAGS"
38885 { echo "$as_me:$LINENO: result: $THREADS_OK" >&5
38886 echo "${ECHO_T}$THREADS_OK" >&6; }
38887 if test "x$THREADS_OK" = "xyes"; then
38895 if test "x$THREADS_OK" != "xyes"; then
38897 { echo "$as_me:$LINENO: WARNING: No thread support on this system... disabled" >&5
38898 echo "$as_me: WARNING: No thread support on this system... disabled" >&2;}
38900 LDFLAGS="$THREADS_CFLAGS $LDFLAGS"
38901 LIBS="$THREADS_LINK $LIBS"
38903 { echo "$as_me:$LINENO: checking if more special flags are required for pthreads" >&5
38904 echo $ECHO_N "checking if more special flags are required for pthreads... $ECHO_C" >&6; }
38908 LDFLAGS="-L/usr/lib/threads $LDFLAGS"
38909 flag="-D_THREAD_SAFE"
38912 flag="-D_THREAD_SAFE"
38915 flag="-D_REENTRANT"
38916 if test "x$GCC" != "xyes"; then
38917 flag="$flag -D_RWSTD_MULTI_THREAD"
38920 *solaris* | alpha*-osf*)
38921 flag="-D_REENTRANT"
38924 { echo "$as_me:$LINENO: result: ${flag}" >&5
38925 echo "${ECHO_T}${flag}" >&6; }
38926 if test "x$flag" != xno; then
38927 THREADS_CFLAGS="$THREADS_CFLAGS $flag"
38930 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS $THREADS_CFLAGS"
38934 if test "$wxUSE_THREADS" = "yes" ; then
38936 for ac_func in thr_setconcurrency
38938 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38939 { echo "$as_me:$LINENO: checking for $ac_func" >&5
38940 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
38941 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
38942 echo $ECHO_N "(cached) $ECHO_C" >&6
38944 cat >conftest.$ac_ext <<_ACEOF
38947 cat confdefs.h >>conftest.$ac_ext
38948 cat >>conftest.$ac_ext <<_ACEOF
38949 /* end confdefs.h. */
38950 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38951 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38952 #define $ac_func innocuous_$ac_func
38954 /* System header to define __stub macros and hopefully few prototypes,
38955 which can conflict with char $ac_func (); below.
38956 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38957 <limits.h> exists even on freestanding compilers. */
38960 # include <limits.h>
38962 # include <assert.h>
38967 /* Override any GCC internal prototype to avoid an error.
38968 Use char because int might match the return type of a GCC
38969 builtin and then its argument prototype would still apply. */
38974 /* The GNU C library defines this for functions which it implements
38975 to always fail with ENOSYS. Some functions are actually named
38976 something starting with __ and the normal name is an alias. */
38977 #if defined __stub_$ac_func || defined __stub___$ac_func
38984 return $ac_func ();
38989 rm -f conftest.$ac_objext conftest$ac_exeext
38990 if { (ac_try="$ac_link"
38991 case "(($ac_try" in
38992 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
38993 *) ac_try_echo
=$ac_try;;
38995 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38996 (eval "$ac_link") 2>conftest.er1
38998 grep -v '^ *+' conftest.er1
>conftest.err
39000 cat conftest.err
>&5
39001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39002 (exit $ac_status); } && {
39003 test -z "$ac_c_werror_flag" ||
39004 test ! -s conftest.err
39005 } && test -s conftest
$ac_exeext &&
39006 $as_test_x conftest
$ac_exeext; then
39007 eval "$as_ac_var=yes"
39009 echo "$as_me: failed program was:" >&5
39010 sed 's/^/| /' conftest.
$ac_ext >&5
39012 eval "$as_ac_var=no"
39015 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
39016 conftest
$ac_exeext conftest.
$ac_ext
39018 ac_res
=`eval echo '${'$as_ac_var'}'`
39019 { echo "$as_me:$LINENO: result: $ac_res" >&5
39020 echo "${ECHO_T}$ac_res" >&6; }
39021 if test `eval echo '${'$as_ac_var'}'` = yes; then
39022 cat >>confdefs.h
<<_ACEOF
39023 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39030 { echo "$as_me:$LINENO: checking for pthread_cleanup_push/pop" >&5
39031 echo $ECHO_N "checking for pthread_cleanup_push/pop... $ECHO_C" >&6; }
39032 if test "${wx_cv_func_pthread_cleanup+set}" = set; then
39033 echo $ECHO_N "(cached) $ECHO_C" >&6
39037 ac_cpp
='$CXXCPP $CPPFLAGS'
39038 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39039 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39040 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
39042 cat >conftest.
$ac_ext <<_ACEOF
39045 cat confdefs.h
>>conftest.
$ac_ext
39046 cat >>conftest.
$ac_ext <<_ACEOF
39047 /* end confdefs.h. */
39048 #include <pthread.h>
39049 void ThreadCleanupFunc(void *p);
39056 pthread_cleanup_push(ThreadCleanupFunc, p);
39057 pthread_cleanup_pop(0);
39063 rm -f conftest.
$ac_objext
39064 if { (ac_try
="$ac_compile"
39065 case "(($ac_try" in
39066 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
39067 *) ac_try_echo=$ac_try;;
39069 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39070 (eval "$ac_compile") 2>conftest.er1
39072 grep -v '^ *+' conftest.er1 >conftest.err
39074 cat conftest.err >&5
39075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39076 (exit $ac_status); } && {
39077 test -z "$ac_cxx_werror_flag" ||
39078 test ! -s conftest.err
39079 } && test -s conftest.$ac_objext; then
39081 wx_cv_func_pthread_cleanup=yes
39084 echo "$as_me: failed program was:" >&5
39085 sed 's/^/| /' conftest.$ac_ext >&5
39088 wx_cv_func_pthread_cleanup=no
39093 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39095 ac_cpp='$CPP $CPPFLAGS'
39096 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39097 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39098 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39102 { echo "$as_me:$LINENO: result: $wx_cv_func_pthread_cleanup" >&5
39103 echo "${ECHO_T}$wx_cv_func_pthread_cleanup" >&6; }
39104 if test "x$wx_cv_func_pthread_cleanup" = "xyes"; then
39105 cat >>confdefs.h <<\_ACEOF
39106 #define wxHAVE_PTHREAD_CLEANUP 1
39112 for ac_header in sched.h
39114 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
39115 { echo "$as_me:$LINENO: checking for $ac_header" >&5
39116 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
39117 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
39118 echo $ECHO_N "(cached) $ECHO_C" >&6
39120 cat >conftest.$ac_ext <<_ACEOF
39123 cat confdefs.h >>conftest.$ac_ext
39124 cat >>conftest.$ac_ext <<_ACEOF
39125 /* end confdefs.h. */
39126 $ac_includes_default
39128 #include <$ac_header>
39130 rm -f conftest.$ac_objext
39131 if { (ac_try="$ac_compile"
39132 case "(($ac_try" in
39133 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
39134 *) ac_try_echo
=$ac_try;;
39136 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39137 (eval "$ac_compile") 2>conftest.er1
39139 grep -v '^ *+' conftest.er1
>conftest.err
39141 cat conftest.err
>&5
39142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39143 (exit $ac_status); } && {
39144 test -z "$ac_c_werror_flag" ||
39145 test ! -s conftest.err
39146 } && test -s conftest.
$ac_objext; then
39147 eval "$as_ac_Header=yes"
39149 echo "$as_me: failed program was:" >&5
39150 sed 's/^/| /' conftest.
$ac_ext >&5
39152 eval "$as_ac_Header=no"
39155 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
39157 ac_res
=`eval echo '${'$as_ac_Header'}'`
39158 { echo "$as_me:$LINENO: result: $ac_res" >&5
39159 echo "${ECHO_T}$ac_res" >&6; }
39160 if test `eval echo '${'$as_ac_Header'}'` = yes; then
39161 cat >>confdefs.h
<<_ACEOF
39162 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
39169 if test "$ac_cv_header_sched_h" = "yes"; then
39170 { echo "$as_me:$LINENO: checking for sched_yield" >&5
39171 echo $ECHO_N "checking for sched_yield... $ECHO_C" >&6; }
39172 if test "${ac_cv_func_sched_yield+set}" = set; then
39173 echo $ECHO_N "(cached) $ECHO_C" >&6
39175 cat >conftest.
$ac_ext <<_ACEOF
39178 cat confdefs.h
>>conftest.
$ac_ext
39179 cat >>conftest.
$ac_ext <<_ACEOF
39180 /* end confdefs.h. */
39181 /* Define sched_yield to an innocuous variant, in case <limits.h> declares sched_yield.
39182 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39183 #define sched_yield innocuous_sched_yield
39185 /* System header to define __stub macros and hopefully few prototypes,
39186 which can conflict with char sched_yield (); below.
39187 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39188 <limits.h> exists even on freestanding compilers. */
39191 # include <limits.h>
39193 # include <assert.h>
39198 /* Override any GCC internal prototype to avoid an error.
39199 Use char because int might match the return type of a GCC
39200 builtin and then its argument prototype would still apply. */
39204 char sched_yield ();
39205 /* The GNU C library defines this for functions which it implements
39206 to always fail with ENOSYS. Some functions are actually named
39207 something starting with __ and the normal name is an alias. */
39208 #if defined __stub_sched_yield || defined __stub___sched_yield
39215 return sched_yield ();
39220 rm -f conftest.
$ac_objext conftest
$ac_exeext
39221 if { (ac_try
="$ac_link"
39222 case "(($ac_try" in
39223 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
39224 *) ac_try_echo=$ac_try;;
39226 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39227 (eval "$ac_link") 2>conftest.er1
39229 grep -v '^ *+' conftest.er1 >conftest.err
39231 cat conftest.err >&5
39232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39233 (exit $ac_status); } && {
39234 test -z "$ac_c_werror_flag" ||
39235 test ! -s conftest.err
39236 } && test -s conftest$ac_exeext &&
39237 $as_test_x conftest$ac_exeext; then
39238 ac_cv_func_sched_yield=yes
39240 echo "$as_me: failed program was:" >&5
39241 sed 's/^/| /' conftest.$ac_ext >&5
39243 ac_cv_func_sched_yield=no
39246 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39247 conftest$ac_exeext conftest.$ac_ext
39249 { echo "$as_me:$LINENO: result: $ac_cv_func_sched_yield" >&5
39250 echo "${ECHO_T}$ac_cv_func_sched_yield" >&6; }
39251 if test $ac_cv_func_sched_yield = yes; then
39252 cat >>confdefs.h <<\_ACEOF
39253 #define HAVE_SCHED_YIELD 1
39258 { echo "$as_me:$LINENO: checking for sched_yield in -lposix4" >&5
39259 echo $ECHO_N "checking for sched_yield in -lposix4... $ECHO_C" >&6; }
39260 if test "${ac_cv_lib_posix4_sched_yield+set}" = set; then
39261 echo $ECHO_N "(cached) $ECHO_C" >&6
39263 ac_check_lib_save_LIBS=$LIBS
39264 LIBS="-lposix4 $LIBS"
39265 cat >conftest.$ac_ext <<_ACEOF
39268 cat confdefs.h >>conftest.$ac_ext
39269 cat >>conftest.$ac_ext <<_ACEOF
39270 /* end confdefs.h. */
39272 /* Override any GCC internal prototype to avoid an error.
39273 Use char because int might match the return type of a GCC
39274 builtin and then its argument prototype would still apply. */
39278 char sched_yield ();
39282 return sched_yield ();
39287 rm -f conftest.$ac_objext conftest$ac_exeext
39288 if { (ac_try="$ac_link"
39289 case "(($ac_try" in
39290 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
39291 *) ac_try_echo
=$ac_try;;
39293 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39294 (eval "$ac_link") 2>conftest.er1
39296 grep -v '^ *+' conftest.er1
>conftest.err
39298 cat conftest.err
>&5
39299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39300 (exit $ac_status); } && {
39301 test -z "$ac_c_werror_flag" ||
39302 test ! -s conftest.err
39303 } && test -s conftest
$ac_exeext &&
39304 $as_test_x conftest
$ac_exeext; then
39305 ac_cv_lib_posix4_sched_yield
=yes
39307 echo "$as_me: failed program was:" >&5
39308 sed 's/^/| /' conftest.
$ac_ext >&5
39310 ac_cv_lib_posix4_sched_yield
=no
39313 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
39314 conftest
$ac_exeext conftest.
$ac_ext
39315 LIBS
=$ac_check_lib_save_LIBS
39317 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_yield" >&5
39318 echo "${ECHO_T}$ac_cv_lib_posix4_sched_yield" >&6; }
39319 if test $ac_cv_lib_posix4_sched_yield = yes; then
39320 cat >>confdefs.h
<<\_ACEOF
39321 #define HAVE_SCHED_YIELD 1
39323 POSIX4_LINK
=" -lposix4"
39325 { echo "$as_me:$LINENO: WARNING: wxThread::Yield will not work properly" >&5
39326 echo "$as_me: WARNING: wxThread::Yield will not work properly" >&2;}
39337 { echo "$as_me:$LINENO: checking for pthread_attr_getschedpolicy" >&5
39338 echo $ECHO_N "checking for pthread_attr_getschedpolicy... $ECHO_C" >&6; }
39339 if test "${ac_cv_func_pthread_attr_getschedpolicy+set}" = set; then
39340 echo $ECHO_N "(cached) $ECHO_C" >&6
39342 cat >conftest.
$ac_ext <<_ACEOF
39345 cat confdefs.h
>>conftest.
$ac_ext
39346 cat >>conftest.
$ac_ext <<_ACEOF
39347 /* end confdefs.h. */
39348 /* Define pthread_attr_getschedpolicy to an innocuous variant, in case <limits.h> declares pthread_attr_getschedpolicy.
39349 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39350 #define pthread_attr_getschedpolicy innocuous_pthread_attr_getschedpolicy
39352 /* System header to define __stub macros and hopefully few prototypes,
39353 which can conflict with char pthread_attr_getschedpolicy (); below.
39354 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39355 <limits.h> exists even on freestanding compilers. */
39358 # include <limits.h>
39360 # include <assert.h>
39363 #undef pthread_attr_getschedpolicy
39365 /* Override any GCC internal prototype to avoid an error.
39366 Use char because int might match the return type of a GCC
39367 builtin and then its argument prototype would still apply. */
39371 char pthread_attr_getschedpolicy ();
39372 /* The GNU C library defines this for functions which it implements
39373 to always fail with ENOSYS. Some functions are actually named
39374 something starting with __ and the normal name is an alias. */
39375 #if defined __stub_pthread_attr_getschedpolicy || defined __stub___pthread_attr_getschedpolicy
39382 return pthread_attr_getschedpolicy ();
39387 rm -f conftest.
$ac_objext conftest
$ac_exeext
39388 if { (ac_try
="$ac_link"
39389 case "(($ac_try" in
39390 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
39391 *) ac_try_echo=$ac_try;;
39393 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39394 (eval "$ac_link") 2>conftest.er1
39396 grep -v '^ *+' conftest.er1 >conftest.err
39398 cat conftest.err >&5
39399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39400 (exit $ac_status); } && {
39401 test -z "$ac_c_werror_flag" ||
39402 test ! -s conftest.err
39403 } && test -s conftest$ac_exeext &&
39404 $as_test_x conftest$ac_exeext; then
39405 ac_cv_func_pthread_attr_getschedpolicy=yes
39407 echo "$as_me: failed program was:" >&5
39408 sed 's/^/| /' conftest.$ac_ext >&5
39410 ac_cv_func_pthread_attr_getschedpolicy=no
39413 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39414 conftest$ac_exeext conftest.$ac_ext
39416 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_getschedpolicy" >&5
39417 echo "${ECHO_T}$ac_cv_func_pthread_attr_getschedpolicy" >&6; }
39418 if test $ac_cv_func_pthread_attr_getschedpolicy = yes; then
39419 { echo "$as_me:$LINENO: checking for pthread_attr_setschedparam" >&5
39420 echo $ECHO_N "checking for pthread_attr_setschedparam... $ECHO_C" >&6; }
39421 if test "${ac_cv_func_pthread_attr_setschedparam+set}" = set; then
39422 echo $ECHO_N "(cached) $ECHO_C" >&6
39424 cat >conftest.$ac_ext <<_ACEOF
39427 cat confdefs.h >>conftest.$ac_ext
39428 cat >>conftest.$ac_ext <<_ACEOF
39429 /* end confdefs.h. */
39430 /* Define pthread_attr_setschedparam to an innocuous variant, in case <limits.h> declares pthread_attr_setschedparam.
39431 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39432 #define pthread_attr_setschedparam innocuous_pthread_attr_setschedparam
39434 /* System header to define __stub macros and hopefully few prototypes,
39435 which can conflict with char pthread_attr_setschedparam (); below.
39436 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39437 <limits.h> exists even on freestanding compilers. */
39440 # include <limits.h>
39442 # include <assert.h>
39445 #undef pthread_attr_setschedparam
39447 /* Override any GCC internal prototype to avoid an error.
39448 Use char because int might match the return type of a GCC
39449 builtin and then its argument prototype would still apply. */
39453 char pthread_attr_setschedparam ();
39454 /* The GNU C library defines this for functions which it implements
39455 to always fail with ENOSYS. Some functions are actually named
39456 something starting with __ and the normal name is an alias. */
39457 #if defined __stub_pthread_attr_setschedparam || defined __stub___pthread_attr_setschedparam
39464 return pthread_attr_setschedparam ();
39469 rm -f conftest.$ac_objext conftest$ac_exeext
39470 if { (ac_try="$ac_link"
39471 case "(($ac_try" in
39472 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
39473 *) ac_try_echo
=$ac_try;;
39475 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39476 (eval "$ac_link") 2>conftest.er1
39478 grep -v '^ *+' conftest.er1
>conftest.err
39480 cat conftest.err
>&5
39481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39482 (exit $ac_status); } && {
39483 test -z "$ac_c_werror_flag" ||
39484 test ! -s conftest.err
39485 } && test -s conftest
$ac_exeext &&
39486 $as_test_x conftest
$ac_exeext; then
39487 ac_cv_func_pthread_attr_setschedparam
=yes
39489 echo "$as_me: failed program was:" >&5
39490 sed 's/^/| /' conftest.
$ac_ext >&5
39492 ac_cv_func_pthread_attr_setschedparam
=no
39495 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
39496 conftest
$ac_exeext conftest.
$ac_ext
39498 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setschedparam" >&5
39499 echo "${ECHO_T}$ac_cv_func_pthread_attr_setschedparam" >&6; }
39500 if test $ac_cv_func_pthread_attr_setschedparam = yes; then
39501 { echo "$as_me:$LINENO: checking for sched_get_priority_max" >&5
39502 echo $ECHO_N "checking for sched_get_priority_max... $ECHO_C" >&6; }
39503 if test "${ac_cv_func_sched_get_priority_max+set}" = set; then
39504 echo $ECHO_N "(cached) $ECHO_C" >&6
39506 cat >conftest.
$ac_ext <<_ACEOF
39509 cat confdefs.h
>>conftest.
$ac_ext
39510 cat >>conftest.
$ac_ext <<_ACEOF
39511 /* end confdefs.h. */
39512 /* Define sched_get_priority_max to an innocuous variant, in case <limits.h> declares sched_get_priority_max.
39513 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39514 #define sched_get_priority_max innocuous_sched_get_priority_max
39516 /* System header to define __stub macros and hopefully few prototypes,
39517 which can conflict with char sched_get_priority_max (); below.
39518 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39519 <limits.h> exists even on freestanding compilers. */
39522 # include <limits.h>
39524 # include <assert.h>
39527 #undef sched_get_priority_max
39529 /* Override any GCC internal prototype to avoid an error.
39530 Use char because int might match the return type of a GCC
39531 builtin and then its argument prototype would still apply. */
39535 char sched_get_priority_max ();
39536 /* The GNU C library defines this for functions which it implements
39537 to always fail with ENOSYS. Some functions are actually named
39538 something starting with __ and the normal name is an alias. */
39539 #if defined __stub_sched_get_priority_max || defined __stub___sched_get_priority_max
39546 return sched_get_priority_max ();
39551 rm -f conftest.
$ac_objext conftest
$ac_exeext
39552 if { (ac_try
="$ac_link"
39553 case "(($ac_try" in
39554 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
39555 *) ac_try_echo=$ac_try;;
39557 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39558 (eval "$ac_link") 2>conftest.er1
39560 grep -v '^ *+' conftest.er1 >conftest.err
39562 cat conftest.err >&5
39563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39564 (exit $ac_status); } && {
39565 test -z "$ac_c_werror_flag" ||
39566 test ! -s conftest.err
39567 } && test -s conftest$ac_exeext &&
39568 $as_test_x conftest$ac_exeext; then
39569 ac_cv_func_sched_get_priority_max=yes
39571 echo "$as_me: failed program was:" >&5
39572 sed 's/^/| /' conftest.$ac_ext >&5
39574 ac_cv_func_sched_get_priority_max=no
39577 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39578 conftest$ac_exeext conftest.$ac_ext
39580 { echo "$as_me:$LINENO: result: $ac_cv_func_sched_get_priority_max" >&5
39581 echo "${ECHO_T}$ac_cv_func_sched_get_priority_max" >&6; }
39582 if test $ac_cv_func_sched_get_priority_max = yes; then
39585 { echo "$as_me:$LINENO: checking for sched_get_priority_max in -lposix4" >&5
39586 echo $ECHO_N "checking for sched_get_priority_max in -lposix4... $ECHO_C" >&6; }
39587 if test "${ac_cv_lib_posix4_sched_get_priority_max+set}" = set; then
39588 echo $ECHO_N "(cached) $ECHO_C" >&6
39590 ac_check_lib_save_LIBS=$LIBS
39591 LIBS="-lposix4 $LIBS"
39592 cat >conftest.$ac_ext <<_ACEOF
39595 cat confdefs.h >>conftest.$ac_ext
39596 cat >>conftest.$ac_ext <<_ACEOF
39597 /* end confdefs.h. */
39599 /* Override any GCC internal prototype to avoid an error.
39600 Use char because int might match the return type of a GCC
39601 builtin and then its argument prototype would still apply. */
39605 char sched_get_priority_max ();
39609 return sched_get_priority_max ();
39614 rm -f conftest.$ac_objext conftest$ac_exeext
39615 if { (ac_try="$ac_link"
39616 case "(($ac_try" in
39617 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
39618 *) ac_try_echo
=$ac_try;;
39620 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39621 (eval "$ac_link") 2>conftest.er1
39623 grep -v '^ *+' conftest.er1
>conftest.err
39625 cat conftest.err
>&5
39626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39627 (exit $ac_status); } && {
39628 test -z "$ac_c_werror_flag" ||
39629 test ! -s conftest.err
39630 } && test -s conftest
$ac_exeext &&
39631 $as_test_x conftest
$ac_exeext; then
39632 ac_cv_lib_posix4_sched_get_priority_max
=yes
39634 echo "$as_me: failed program was:" >&5
39635 sed 's/^/| /' conftest.
$ac_ext >&5
39637 ac_cv_lib_posix4_sched_get_priority_max
=no
39640 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
39641 conftest
$ac_exeext conftest.
$ac_ext
39642 LIBS
=$ac_check_lib_save_LIBS
39644 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_get_priority_max" >&5
39645 echo "${ECHO_T}$ac_cv_lib_posix4_sched_get_priority_max" >&6; }
39646 if test $ac_cv_lib_posix4_sched_get_priority_max = yes; then
39649 POSIX4_LINK
=" -lposix4"
39663 if test "$HAVE_PRIOR_FUNCS" = 1; then
39664 cat >>confdefs.h
<<\_ACEOF
39665 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
39669 { echo "$as_me:$LINENO: WARNING: Setting thread priority will not work" >&5
39670 echo "$as_me: WARNING: Setting thread priority will not work" >&2;}
39673 { echo "$as_me:$LINENO: checking for pthread_cancel" >&5
39674 echo $ECHO_N "checking for pthread_cancel... $ECHO_C" >&6; }
39675 if test "${ac_cv_func_pthread_cancel+set}" = set; then
39676 echo $ECHO_N "(cached) $ECHO_C" >&6
39678 cat >conftest.
$ac_ext <<_ACEOF
39681 cat confdefs.h
>>conftest.
$ac_ext
39682 cat >>conftest.
$ac_ext <<_ACEOF
39683 /* end confdefs.h. */
39684 /* Define pthread_cancel to an innocuous variant, in case <limits.h> declares pthread_cancel.
39685 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39686 #define pthread_cancel innocuous_pthread_cancel
39688 /* System header to define __stub macros and hopefully few prototypes,
39689 which can conflict with char pthread_cancel (); below.
39690 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39691 <limits.h> exists even on freestanding compilers. */
39694 # include <limits.h>
39696 # include <assert.h>
39699 #undef pthread_cancel
39701 /* Override any GCC internal prototype to avoid an error.
39702 Use char because int might match the return type of a GCC
39703 builtin and then its argument prototype would still apply. */
39707 char pthread_cancel ();
39708 /* The GNU C library defines this for functions which it implements
39709 to always fail with ENOSYS. Some functions are actually named
39710 something starting with __ and the normal name is an alias. */
39711 #if defined __stub_pthread_cancel || defined __stub___pthread_cancel
39718 return pthread_cancel ();
39723 rm -f conftest.
$ac_objext conftest
$ac_exeext
39724 if { (ac_try
="$ac_link"
39725 case "(($ac_try" in
39726 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
39727 *) ac_try_echo=$ac_try;;
39729 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39730 (eval "$ac_link") 2>conftest.er1
39732 grep -v '^ *+' conftest.er1 >conftest.err
39734 cat conftest.err >&5
39735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39736 (exit $ac_status); } && {
39737 test -z "$ac_c_werror_flag" ||
39738 test ! -s conftest.err
39739 } && test -s conftest$ac_exeext &&
39740 $as_test_x conftest$ac_exeext; then
39741 ac_cv_func_pthread_cancel=yes
39743 echo "$as_me: failed program was:" >&5
39744 sed 's/^/| /' conftest.$ac_ext >&5
39746 ac_cv_func_pthread_cancel=no
39749 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39750 conftest$ac_exeext conftest.$ac_ext
39752 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_cancel" >&5
39753 echo "${ECHO_T}$ac_cv_func_pthread_cancel" >&6; }
39754 if test $ac_cv_func_pthread_cancel = yes; then
39755 cat >>confdefs.h <<\_ACEOF
39756 #define HAVE_PTHREAD_CANCEL 1
39760 { echo "$as_me:$LINENO: WARNING: wxThread::Kill() will not work properly" >&5
39761 echo "$as_me: WARNING: wxThread::Kill() will not work properly" >&2;}
39765 { echo "$as_me:$LINENO: checking for pthread_mutex_timedlock" >&5
39766 echo $ECHO_N "checking for pthread_mutex_timedlock... $ECHO_C" >&6; }
39767 if test "${ac_cv_func_pthread_mutex_timedlock+set}" = set; then
39768 echo $ECHO_N "(cached) $ECHO_C" >&6
39770 cat >conftest.$ac_ext <<_ACEOF
39773 cat confdefs.h >>conftest.$ac_ext
39774 cat >>conftest.$ac_ext <<_ACEOF
39775 /* end confdefs.h. */
39776 /* Define pthread_mutex_timedlock to an innocuous variant, in case <limits.h> declares pthread_mutex_timedlock.
39777 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39778 #define pthread_mutex_timedlock innocuous_pthread_mutex_timedlock
39780 /* System header to define __stub macros and hopefully few prototypes,
39781 which can conflict with char pthread_mutex_timedlock (); below.
39782 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39783 <limits.h> exists even on freestanding compilers. */
39786 # include <limits.h>
39788 # include <assert.h>
39791 #undef pthread_mutex_timedlock
39793 /* Override any GCC internal prototype to avoid an error.
39794 Use char because int might match the return type of a GCC
39795 builtin and then its argument prototype would still apply. */
39799 char pthread_mutex_timedlock ();
39800 /* The GNU C library defines this for functions which it implements
39801 to always fail with ENOSYS. Some functions are actually named
39802 something starting with __ and the normal name is an alias. */
39803 #if defined __stub_pthread_mutex_timedlock || defined __stub___pthread_mutex_timedlock
39810 return pthread_mutex_timedlock ();
39815 rm -f conftest.$ac_objext conftest$ac_exeext
39816 if { (ac_try="$ac_link"
39817 case "(($ac_try" in
39818 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
39819 *) ac_try_echo
=$ac_try;;
39821 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39822 (eval "$ac_link") 2>conftest.er1
39824 grep -v '^ *+' conftest.er1
>conftest.err
39826 cat conftest.err
>&5
39827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39828 (exit $ac_status); } && {
39829 test -z "$ac_c_werror_flag" ||
39830 test ! -s conftest.err
39831 } && test -s conftest
$ac_exeext &&
39832 $as_test_x conftest
$ac_exeext; then
39833 ac_cv_func_pthread_mutex_timedlock
=yes
39835 echo "$as_me: failed program was:" >&5
39836 sed 's/^/| /' conftest.
$ac_ext >&5
39838 ac_cv_func_pthread_mutex_timedlock
=no
39841 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
39842 conftest
$ac_exeext conftest.
$ac_ext
39844 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_mutex_timedlock" >&5
39845 echo "${ECHO_T}$ac_cv_func_pthread_mutex_timedlock" >&6; }
39846 if test $ac_cv_func_pthread_mutex_timedlock = yes; then
39847 cat >>confdefs.h
<<\_ACEOF
39848 #define HAVE_PTHREAD_MUTEX_TIMEDLOCK 1
39852 { echo "$as_me:$LINENO: WARNING: wxMutex::LockTimeout() will not work" >&5
39853 echo "$as_me: WARNING: wxMutex::LockTimeout() will not work" >&2;}
39857 { echo "$as_me:$LINENO: checking for pthread_attr_setstacksize" >&5
39858 echo $ECHO_N "checking for pthread_attr_setstacksize... $ECHO_C" >&6; }
39859 if test "${ac_cv_func_pthread_attr_setstacksize+set}" = set; then
39860 echo $ECHO_N "(cached) $ECHO_C" >&6
39862 cat >conftest.
$ac_ext <<_ACEOF
39865 cat confdefs.h
>>conftest.
$ac_ext
39866 cat >>conftest.
$ac_ext <<_ACEOF
39867 /* end confdefs.h. */
39868 /* Define pthread_attr_setstacksize to an innocuous variant, in case <limits.h> declares pthread_attr_setstacksize.
39869 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39870 #define pthread_attr_setstacksize innocuous_pthread_attr_setstacksize
39872 /* System header to define __stub macros and hopefully few prototypes,
39873 which can conflict with char pthread_attr_setstacksize (); below.
39874 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39875 <limits.h> exists even on freestanding compilers. */
39878 # include <limits.h>
39880 # include <assert.h>
39883 #undef pthread_attr_setstacksize
39885 /* Override any GCC internal prototype to avoid an error.
39886 Use char because int might match the return type of a GCC
39887 builtin and then its argument prototype would still apply. */
39891 char pthread_attr_setstacksize ();
39892 /* The GNU C library defines this for functions which it implements
39893 to always fail with ENOSYS. Some functions are actually named
39894 something starting with __ and the normal name is an alias. */
39895 #if defined __stub_pthread_attr_setstacksize || defined __stub___pthread_attr_setstacksize
39902 return pthread_attr_setstacksize ();
39907 rm -f conftest.
$ac_objext conftest
$ac_exeext
39908 if { (ac_try
="$ac_link"
39909 case "(($ac_try" in
39910 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
39911 *) ac_try_echo=$ac_try;;
39913 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39914 (eval "$ac_link") 2>conftest.er1
39916 grep -v '^ *+' conftest.er1 >conftest.err
39918 cat conftest.err >&5
39919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39920 (exit $ac_status); } && {
39921 test -z "$ac_c_werror_flag" ||
39922 test ! -s conftest.err
39923 } && test -s conftest$ac_exeext &&
39924 $as_test_x conftest$ac_exeext; then
39925 ac_cv_func_pthread_attr_setstacksize=yes
39927 echo "$as_me: failed program was:" >&5
39928 sed 's/^/| /' conftest.$ac_ext >&5
39930 ac_cv_func_pthread_attr_setstacksize=no
39933 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39934 conftest$ac_exeext conftest.$ac_ext
39936 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setstacksize" >&5
39937 echo "${ECHO_T}$ac_cv_func_pthread_attr_setstacksize" >&6; }
39938 if test $ac_cv_func_pthread_attr_setstacksize = yes; then
39939 cat >>confdefs.h <<\_ACEOF
39940 #define HAVE_PTHREAD_ATTR_SETSTACKSIZE 1
39947 { echo "$as_me:$LINENO: checking for pthread_mutexattr_t" >&5
39948 echo $ECHO_N "checking for pthread_mutexattr_t... $ECHO_C" >&6; }
39949 if test "${wx_cv_type_pthread_mutexattr_t+set}" = set; then
39950 echo $ECHO_N "(cached) $ECHO_C" >&6
39953 cat >conftest.$ac_ext <<_ACEOF
39956 cat confdefs.h >>conftest.$ac_ext
39957 cat >>conftest.$ac_ext <<_ACEOF
39958 /* end confdefs.h. */
39959 #include <pthread.h>
39964 pthread_mutexattr_t attr;
39965 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
39971 rm -f conftest.$ac_objext
39972 if { (ac_try="$ac_compile"
39973 case "(($ac_try" in
39974 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
39975 *) ac_try_echo
=$ac_try;;
39977 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39978 (eval "$ac_compile") 2>conftest.er1
39980 grep -v '^ *+' conftest.er1
>conftest.err
39982 cat conftest.err
>&5
39983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39984 (exit $ac_status); } && {
39985 test -z "$ac_c_werror_flag" ||
39986 test ! -s conftest.err
39987 } && test -s conftest.
$ac_objext; then
39988 wx_cv_type_pthread_mutexattr_t
=yes
39990 echo "$as_me: failed program was:" >&5
39991 sed 's/^/| /' conftest.
$ac_ext >&5
39993 wx_cv_type_pthread_mutexattr_t
=no
39997 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
40000 { echo "$as_me:$LINENO: result: $wx_cv_type_pthread_mutexattr_t" >&5
40001 echo "${ECHO_T}$wx_cv_type_pthread_mutexattr_t" >&6; }
40003 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
40004 cat >>confdefs.h
<<\_ACEOF
40005 #define HAVE_PTHREAD_MUTEXATTR_T 1
40009 { echo "$as_me:$LINENO: checking for pthread_mutexattr_settype declaration" >&5
40010 echo $ECHO_N "checking for pthread_mutexattr_settype declaration... $ECHO_C" >&6; }
40011 if test "${wx_cv_func_pthread_mutexattr_settype_decl+set}" = set; then
40012 echo $ECHO_N "(cached) $ECHO_C" >&6
40015 cat >conftest.
$ac_ext <<_ACEOF
40018 cat confdefs.h
>>conftest.
$ac_ext
40019 cat >>conftest.
$ac_ext <<_ACEOF
40020 /* end confdefs.h. */
40021 #include <pthread.h>
40026 pthread_mutexattr_t attr;
40027 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
40033 rm -f conftest.
$ac_objext
40034 if { (ac_try
="$ac_compile"
40035 case "(($ac_try" in
40036 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
40037 *) ac_try_echo=$ac_try;;
40039 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40040 (eval "$ac_compile") 2>conftest.er1
40042 grep -v '^ *+' conftest.er1 >conftest.err
40044 cat conftest.err >&5
40045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40046 (exit $ac_status); } && {
40047 test -z "$ac_c_werror_flag" ||
40048 test ! -s conftest.err
40049 } && test -s conftest.$ac_objext; then
40050 wx_cv_func_pthread_mutexattr_settype_decl=yes
40052 echo "$as_me: failed program was:" >&5
40053 sed 's/^/| /' conftest.$ac_ext >&5
40055 wx_cv_func_pthread_mutexattr_settype_decl=no
40059 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40062 { echo "$as_me:$LINENO: result: $wx_cv_func_pthread_mutexattr_settype_decl" >&5
40063 echo "${ECHO_T}$wx_cv_func_pthread_mutexattr_settype_decl" >&6; }
40064 if test "$wx_cv_func_pthread_mutexattr_settype_decl" = "yes"; then
40065 cat >>confdefs.h <<\_ACEOF
40066 #define HAVE_PTHREAD_MUTEXATTR_SETTYPE_DECL 1
40071 { echo "$as_me:$LINENO: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
40072 echo $ECHO_N "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER... $ECHO_C" >&6; }
40073 if test "${wx_cv_type_pthread_rec_mutex_init+set}" = set; then
40074 echo $ECHO_N "(cached) $ECHO_C" >&6
40077 cat >conftest.$ac_ext <<_ACEOF
40080 cat confdefs.h >>conftest.$ac_ext
40081 cat >>conftest.$ac_ext <<_ACEOF
40082 /* end confdefs.h. */
40083 #include <pthread.h>
40088 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
40094 rm -f conftest.$ac_objext
40095 if { (ac_try="$ac_compile"
40096 case "(($ac_try" in
40097 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
40098 *) ac_try_echo
=$ac_try;;
40100 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40101 (eval "$ac_compile") 2>conftest.er1
40103 grep -v '^ *+' conftest.er1
>conftest.err
40105 cat conftest.err
>&5
40106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40107 (exit $ac_status); } && {
40108 test -z "$ac_c_werror_flag" ||
40109 test ! -s conftest.err
40110 } && test -s conftest.
$ac_objext; then
40112 wx_cv_type_pthread_rec_mutex_init
=yes
40115 echo "$as_me: failed program was:" >&5
40116 sed 's/^/| /' conftest.
$ac_ext >&5
40119 wx_cv_type_pthread_rec_mutex_init
=no
40124 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
40127 { echo "$as_me:$LINENO: result: $wx_cv_type_pthread_rec_mutex_init" >&5
40128 echo "${ECHO_T}$wx_cv_type_pthread_rec_mutex_init" >&6; }
40129 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
40130 cat >>confdefs.h
<<\_ACEOF
40131 #define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1
40135 { echo "$as_me:$LINENO: WARNING: wxMutex won't be recursive on this platform" >&5
40136 echo "$as_me: WARNING: wxMutex won't be recursive on this platform" >&2;}
40140 { echo "$as_me:$LINENO: checking for __thread keyword" >&5
40141 echo $ECHO_N "checking for __thread keyword... $ECHO_C" >&6; }
40142 if test "${wx_cv_cc___thread+set}" = set; then
40143 echo $ECHO_N "(cached) $ECHO_C" >&6
40146 cat >conftest.
$ac_ext <<_ACEOF
40149 cat confdefs.h
>>conftest.
$ac_ext
40150 cat >>conftest.
$ac_ext <<_ACEOF
40151 /* end confdefs.h. */
40152 #include <pthread.h>
40157 static __thread int n = 0;
40158 static __thread int *p = 0;
40164 rm -f conftest.
$ac_objext
40165 if { (ac_try
="$ac_compile"
40166 case "(($ac_try" in
40167 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
40168 *) ac_try_echo=$ac_try;;
40170 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40171 (eval "$ac_compile") 2>conftest.er1
40173 grep -v '^ *+' conftest.er1 >conftest.err
40175 cat conftest.err >&5
40176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40177 (exit $ac_status); } && {
40178 test -z "$ac_c_werror_flag" ||
40179 test ! -s conftest.err
40180 } && test -s conftest.$ac_objext; then
40181 wx_cv_cc___thread=yes
40183 echo "$as_me: failed program was:" >&5
40184 sed 's/^/| /' conftest.$ac_ext >&5
40186 wx_cv_cc___thread=no
40190 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40193 { echo "$as_me:$LINENO: result: $wx_cv_cc___thread" >&5
40194 echo "${ECHO_T}$wx_cv_cc___thread" >&6; }
40196 if test "$wx_cv_cc___thread" = "yes"; then
40197 cat >>confdefs.h <<\_ACEOF
40198 #define HAVE___THREAD_KEYWORD 1
40205 if test "$wxUSE_THREADS" = "yes" ; then
40207 x86_64-*-mingw32* )
40210 { echo "$as_me:$LINENO: checking if compiler supports -mthreads" >&5
40211 echo $ECHO_N "checking if compiler supports -mthreads... $ECHO_C" >&6; }
40212 if test "${wx_cv_cflags_mthread+set}" = set; then
40213 echo $ECHO_N "(cached) $ECHO_C" >&6
40216 CFLAGS_OLD="$CFLAGS"
40217 CFLAGS="-mthreads $CFLAGS"
40218 cat >conftest.$ac_ext <<_ACEOF
40221 cat confdefs.h >>conftest.$ac_ext
40222 cat >>conftest.$ac_ext <<_ACEOF
40223 /* end confdefs.h. */
40233 rm -f conftest.$ac_objext
40234 if { (ac_try="$ac_compile"
40235 case "(($ac_try" in
40236 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
40237 *) ac_try_echo
=$ac_try;;
40239 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40240 (eval "$ac_compile") 2>conftest.er1
40242 grep -v '^ *+' conftest.er1
>conftest.err
40244 cat conftest.err
>&5
40245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40246 (exit $ac_status); } && {
40247 test -z "$ac_c_werror_flag" ||
40248 test ! -s conftest.err
40249 } && test -s conftest.
$ac_objext; then
40250 wx_cv_cflags_mthread
=yes
40252 echo "$as_me: failed program was:" >&5
40253 sed 's/^/| /' conftest.
$ac_ext >&5
40255 wx_cv_cflags_mthread
=no
40259 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
40263 { echo "$as_me:$LINENO: result: $wx_cv_cflags_mthread" >&5
40264 echo "${ECHO_T}$wx_cv_cflags_mthread" >&6; }
40266 if test "$wx_cv_cflags_mthread" = "yes"; then
40267 WXCONFIG_CFLAGS
="$WXCONFIG_CFLAGS -mthreads"
40268 LDFLAGS
="$LDFLAGS -mthreads"
40270 CFLAGS
="$CFLAGS_OLD"
40274 WXCONFIG_CFLAGS
="$WXCONFIG_CFLAGS -Zmt -D__ST_MT_ERRNO__"
40275 LDFLAGS
="$LDFLAGS -Zmt"
40281 { echo "$as_me:$LINENO: checking for localtime_r" >&5
40282 echo $ECHO_N "checking for localtime_r... $ECHO_C" >&6; }
40283 if test "${ac_cv_func_localtime_r+set}" = set; then
40284 echo $ECHO_N "(cached) $ECHO_C" >&6
40286 cat >conftest.
$ac_ext <<_ACEOF
40289 cat confdefs.h
>>conftest.
$ac_ext
40290 cat >>conftest.
$ac_ext <<_ACEOF
40291 /* end confdefs.h. */
40292 /* Define localtime_r to an innocuous variant, in case <limits.h> declares localtime_r.
40293 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40294 #define localtime_r innocuous_localtime_r
40296 /* System header to define __stub macros and hopefully few prototypes,
40297 which can conflict with char localtime_r (); below.
40298 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40299 <limits.h> exists even on freestanding compilers. */
40302 # include <limits.h>
40304 # include <assert.h>
40309 /* Override any GCC internal prototype to avoid an error.
40310 Use char because int might match the return type of a GCC
40311 builtin and then its argument prototype would still apply. */
40315 char localtime_r ();
40316 /* The GNU C library defines this for functions which it implements
40317 to always fail with ENOSYS. Some functions are actually named
40318 something starting with __ and the normal name is an alias. */
40319 #if defined __stub_localtime_r || defined __stub___localtime_r
40326 return localtime_r ();
40331 rm -f conftest.
$ac_objext conftest
$ac_exeext
40332 if { (ac_try
="$ac_link"
40333 case "(($ac_try" in
40334 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
40335 *) ac_try_echo=$ac_try;;
40337 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40338 (eval "$ac_link") 2>conftest.er1
40340 grep -v '^ *+' conftest.er1 >conftest.err
40342 cat conftest.err >&5
40343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40344 (exit $ac_status); } && {
40345 test -z "$ac_c_werror_flag" ||
40346 test ! -s conftest.err
40347 } && test -s conftest$ac_exeext &&
40348 $as_test_x conftest$ac_exeext; then
40349 ac_cv_func_localtime_r=yes
40351 echo "$as_me: failed program was:" >&5
40352 sed 's/^/| /' conftest.$ac_ext >&5
40354 ac_cv_func_localtime_r=no
40357 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40358 conftest$ac_exeext conftest.$ac_ext
40360 { echo "$as_me:$LINENO: result: $ac_cv_func_localtime_r" >&5
40361 echo "${ECHO_T}$ac_cv_func_localtime_r" >&6; }
40362 if test $ac_cv_func_localtime_r = yes; then
40363 cat >>confdefs.h <<\_ACEOF
40364 #define HAVE_LOCALTIME_R 1
40369 { echo "$as_me:$LINENO: checking for gmtime_r" >&5
40370 echo $ECHO_N "checking for gmtime_r... $ECHO_C" >&6; }
40371 if test "${ac_cv_func_gmtime_r+set}" = set; then
40372 echo $ECHO_N "(cached) $ECHO_C" >&6
40374 cat >conftest.$ac_ext <<_ACEOF
40377 cat confdefs.h >>conftest.$ac_ext
40378 cat >>conftest.$ac_ext <<_ACEOF
40379 /* end confdefs.h. */
40380 /* Define gmtime_r to an innocuous variant, in case <limits.h> declares gmtime_r.
40381 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40382 #define gmtime_r innocuous_gmtime_r
40384 /* System header to define __stub macros and hopefully few prototypes,
40385 which can conflict with char gmtime_r (); below.
40386 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40387 <limits.h> exists even on freestanding compilers. */
40390 # include <limits.h>
40392 # include <assert.h>
40397 /* Override any GCC internal prototype to avoid an error.
40398 Use char because int might match the return type of a GCC
40399 builtin and then its argument prototype would still apply. */
40404 /* The GNU C library defines this for functions which it implements
40405 to always fail with ENOSYS. Some functions are actually named
40406 something starting with __ and the normal name is an alias. */
40407 #if defined __stub_gmtime_r || defined __stub___gmtime_r
40414 return gmtime_r ();
40419 rm -f conftest.$ac_objext conftest$ac_exeext
40420 if { (ac_try="$ac_link"
40421 case "(($ac_try" in
40422 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
40423 *) ac_try_echo
=$ac_try;;
40425 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40426 (eval "$ac_link") 2>conftest.er1
40428 grep -v '^ *+' conftest.er1
>conftest.err
40430 cat conftest.err
>&5
40431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40432 (exit $ac_status); } && {
40433 test -z "$ac_c_werror_flag" ||
40434 test ! -s conftest.err
40435 } && test -s conftest
$ac_exeext &&
40436 $as_test_x conftest
$ac_exeext; then
40437 ac_cv_func_gmtime_r
=yes
40439 echo "$as_me: failed program was:" >&5
40440 sed 's/^/| /' conftest.
$ac_ext >&5
40442 ac_cv_func_gmtime_r
=no
40445 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
40446 conftest
$ac_exeext conftest.
$ac_ext
40448 { echo "$as_me:$LINENO: result: $ac_cv_func_gmtime_r" >&5
40449 echo "${ECHO_T}$ac_cv_func_gmtime_r" >&6; }
40450 if test $ac_cv_func_gmtime_r = yes; then
40451 cat >>confdefs.h
<<\_ACEOF
40452 #define HAVE_GMTIME_R 1
40461 ac_cpp
='$CPP $CPPFLAGS'
40462 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40463 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40464 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
40466 { echo "$as_me:$LINENO: checking how many arguments gethostbyname_r() takes" >&5
40467 echo $ECHO_N "checking how many arguments gethostbyname_r() takes... $ECHO_C" >&6; }
40469 if test "${ac_cv_func_which_gethostbyname_r+set}" = set; then
40470 echo $ECHO_N "(cached) $ECHO_C" >&6
40474 ################################################################
40476 ac_cv_func_which_gethostbyname_r
=unknown
40479 # ONE ARGUMENT (sanity check)
40482 # This should fail, as there is no variant of gethostbyname_r() that takes
40483 # a single argument. If it actually compiles, then we can assume that
40484 # netdb.h is not declaring the function, and the compiler is thereby
40485 # assuming an implicit prototype. In which case, we're out of luck.
40487 cat >conftest.
$ac_ext <<_ACEOF
40490 cat confdefs.h
>>conftest.
$ac_ext
40491 cat >>conftest.
$ac_ext <<_ACEOF
40492 /* end confdefs.h. */
40498 char *name = "www.gnu.org";
40499 (void)gethostbyname_r(name) /* ; */
40505 rm -f conftest.
$ac_objext
40506 if { (ac_try
="$ac_compile"
40507 case "(($ac_try" in
40508 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
40509 *) ac_try_echo=$ac_try;;
40511 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40512 (eval "$ac_compile") 2>conftest.er1
40514 grep -v '^ *+' conftest.er1 >conftest.err
40516 cat conftest.err >&5
40517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40518 (exit $ac_status); } && {
40519 test -z "$ac_c_werror_flag" ||
40520 test ! -s conftest.err
40521 } && test -s conftest.$ac_objext; then
40522 ac_cv_func_which_gethostbyname_r=no
40524 echo "$as_me: failed program was:" >&5
40525 sed 's/^/| /' conftest.$ac_ext >&5
40530 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40537 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
40539 cat >conftest.$ac_ext <<_ACEOF
40542 cat confdefs.h >>conftest.$ac_ext
40543 cat >>conftest.$ac_ext <<_ACEOF
40544 /* end confdefs.h. */
40550 char *name = "www.gnu.org";
40551 struct hostent ret, *retp;
40555 (void)gethostbyname_r(name, &ret, buf, buflen, &retp, &my_h_errno) /* ; */
40561 rm -f conftest.$ac_objext
40562 if { (ac_try="$ac_compile"
40563 case "(($ac_try" in
40564 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
40565 *) ac_try_echo
=$ac_try;;
40567 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40568 (eval "$ac_compile") 2>conftest.er1
40570 grep -v '^ *+' conftest.er1
>conftest.err
40572 cat conftest.err
>&5
40573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40574 (exit $ac_status); } && {
40575 test -z "$ac_c_werror_flag" ||
40576 test ! -s conftest.err
40577 } && test -s conftest.
$ac_objext; then
40578 ac_cv_func_which_gethostbyname_r
=six
40580 echo "$as_me: failed program was:" >&5
40581 sed 's/^/| /' conftest.
$ac_ext >&5
40586 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
40595 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
40597 cat >conftest.
$ac_ext <<_ACEOF
40600 cat confdefs.h
>>conftest.
$ac_ext
40601 cat >>conftest.
$ac_ext <<_ACEOF
40602 /* end confdefs.h. */
40608 char *name = "www.gnu.org";
40609 struct hostent ret;
40613 (void)gethostbyname_r(name, &ret, buf, buflen, &my_h_errno) /* ; */
40619 rm -f conftest.
$ac_objext
40620 if { (ac_try
="$ac_compile"
40621 case "(($ac_try" in
40622 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
40623 *) ac_try_echo=$ac_try;;
40625 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40626 (eval "$ac_compile") 2>conftest.er1
40628 grep -v '^ *+' conftest.er1 >conftest.err
40630 cat conftest.err >&5
40631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40632 (exit $ac_status); } && {
40633 test -z "$ac_c_werror_flag" ||
40634 test ! -s conftest.err
40635 } && test -s conftest.$ac_objext; then
40636 ac_cv_func_which_gethostbyname_r=five
40638 echo "$as_me: failed program was:" >&5
40639 sed 's/^/| /' conftest.$ac_ext >&5
40644 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40650 # (e.g. AIX, HP-UX, Tru64)
40653 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
40655 cat >conftest.$ac_ext <<_ACEOF
40658 cat confdefs.h >>conftest.$ac_ext
40659 cat >>conftest.$ac_ext <<_ACEOF
40660 /* end confdefs.h. */
40666 char *name = "www.gnu.org";
40667 struct hostent ret;
40668 struct hostent_data data;
40669 (void)gethostbyname_r(name, &ret, &data) /* ; */
40675 rm -f conftest.$ac_objext
40676 if { (ac_try="$ac_compile"
40677 case "(($ac_try" in
40678 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
40679 *) ac_try_echo
=$ac_try;;
40681 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40682 (eval "$ac_compile") 2>conftest.er1
40684 grep -v '^ *+' conftest.er1
>conftest.err
40686 cat conftest.err
>&5
40687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40688 (exit $ac_status); } && {
40689 test -z "$ac_c_werror_flag" ||
40690 test ! -s conftest.err
40691 } && test -s conftest.
$ac_objext; then
40692 ac_cv_func_which_gethostbyname_r
=three
40694 echo "$as_me: failed program was:" >&5
40695 sed 's/^/| /' conftest.
$ac_ext >&5
40700 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
40704 ################################################################
40709 case "$ac_cv_func_which_gethostbyname_r" in
40711 { echo "$as_me:$LINENO: result: three" >&5
40712 echo "${ECHO_T}three" >&6; }
40713 cat >>confdefs.h
<<\_ACEOF
40714 #define HAVE_FUNC_GETHOSTBYNAME_R_3 1
40720 { echo "$as_me:$LINENO: result: five" >&5
40721 echo "${ECHO_T}five" >&6; }
40722 cat >>confdefs.h
<<\_ACEOF
40723 #define HAVE_FUNC_GETHOSTBYNAME_R_5 1
40729 { echo "$as_me:$LINENO: result: six" >&5
40730 echo "${ECHO_T}six" >&6; }
40731 cat >>confdefs.h
<<\_ACEOF
40732 #define HAVE_FUNC_GETHOSTBYNAME_R_6 1
40738 { echo "$as_me:$LINENO: result: cannot find function declaration in netdb.h" >&5
40739 echo "${ECHO_T}cannot find function declaration in netdb.h" >&6; }
40743 { echo "$as_me:$LINENO: result: can't tell" >&5
40744 echo "${ECHO_T}can't tell" >&6; }
40748 { { echo "$as_me:$LINENO: error: internal error" >&5
40749 echo "$as_me: error: internal error" >&2;}
40750 { (exit 1); exit 1; }; }
40755 ac_cpp
='$CPP $CPPFLAGS'
40756 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40757 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40758 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
40762 if test "x$ac_cv_func_which_gethostbyname_r" = "xno" -o \
40763 "x$ac_cv_func_which_gethostbyname_r" = "xunknown" ; then
40764 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
40765 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
40766 if test "${ac_cv_func_gethostbyname+set}" = set; then
40767 echo $ECHO_N "(cached) $ECHO_C" >&6
40769 cat >conftest.
$ac_ext <<_ACEOF
40772 cat confdefs.h
>>conftest.
$ac_ext
40773 cat >>conftest.
$ac_ext <<_ACEOF
40774 /* end confdefs.h. */
40775 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
40776 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40777 #define gethostbyname innocuous_gethostbyname
40779 /* System header to define __stub macros and hopefully few prototypes,
40780 which can conflict with char gethostbyname (); below.
40781 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40782 <limits.h> exists even on freestanding compilers. */
40785 # include <limits.h>
40787 # include <assert.h>
40790 #undef gethostbyname
40792 /* Override any GCC internal prototype to avoid an error.
40793 Use char because int might match the return type of a GCC
40794 builtin and then its argument prototype would still apply. */
40798 char gethostbyname ();
40799 /* The GNU C library defines this for functions which it implements
40800 to always fail with ENOSYS. Some functions are actually named
40801 something starting with __ and the normal name is an alias. */
40802 #if defined __stub_gethostbyname || defined __stub___gethostbyname
40809 return gethostbyname ();
40814 rm -f conftest.
$ac_objext conftest
$ac_exeext
40815 if { (ac_try
="$ac_link"
40816 case "(($ac_try" in
40817 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
40818 *) ac_try_echo=$ac_try;;
40820 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40821 (eval "$ac_link") 2>conftest.er1
40823 grep -v '^ *+' conftest.er1 >conftest.err
40825 cat conftest.err >&5
40826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40827 (exit $ac_status); } && {
40828 test -z "$ac_c_werror_flag" ||
40829 test ! -s conftest.err
40830 } && test -s conftest$ac_exeext &&
40831 $as_test_x conftest$ac_exeext; then
40832 ac_cv_func_gethostbyname=yes
40834 echo "$as_me: failed program was:" >&5
40835 sed 's/^/| /' conftest.$ac_ext >&5
40837 ac_cv_func_gethostbyname=no
40840 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40841 conftest$ac_exeext conftest.$ac_ext
40843 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
40844 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
40845 if test $ac_cv_func_gethostbyname = yes; then
40846 cat >>confdefs.h <<\_ACEOF
40847 #define HAVE_GETHOSTBYNAME 1
40854 { echo "$as_me:$LINENO: checking how many arguments getservbyname_r() takes" >&5
40855 echo $ECHO_N "checking how many arguments getservbyname_r() takes... $ECHO_C" >&6; }
40856 if test "${ac_cv_func_which_getservbyname_r+set}" = set; then
40857 echo $ECHO_N "(cached) $ECHO_C" >&6
40861 ac_cpp='$CXXCPP $CPPFLAGS'
40862 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40863 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40864 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40867 cat >conftest.$ac_ext <<_ACEOF
40870 cat confdefs.h >>conftest.$ac_ext
40871 cat >>conftest.$ac_ext <<_ACEOF
40872 /* end confdefs.h. */
40880 struct servent *se, *res;
40883 (void) getservbyname_r(name, proto, se, buffer, buflen, &res)
40889 rm -f conftest.$ac_objext
40890 if { (ac_try="$ac_compile"
40891 case "(($ac_try" in
40892 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
40893 *) ac_try_echo
=$ac_try;;
40895 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40896 (eval "$ac_compile") 2>conftest.er1
40898 grep -v '^ *+' conftest.er1
>conftest.err
40900 cat conftest.err
>&5
40901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40902 (exit $ac_status); } && {
40903 test -z "$ac_cxx_werror_flag" ||
40904 test ! -s conftest.err
40905 } && test -s conftest.
$ac_objext; then
40906 ac_cv_func_which_getservbyname_r
=six
40908 echo "$as_me: failed program was:" >&5
40909 sed 's/^/| /' conftest.
$ac_ext >&5
40912 cat >conftest.
$ac_ext <<_ACEOF
40915 cat confdefs.h
>>conftest.
$ac_ext
40916 cat >>conftest.
$ac_ext <<_ACEOF
40917 /* end confdefs.h. */
40925 struct servent *se;
40928 (void) getservbyname_r(name, proto, se, buffer, buflen)
40934 rm -f conftest.
$ac_objext
40935 if { (ac_try
="$ac_compile"
40936 case "(($ac_try" in
40937 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
40938 *) ac_try_echo=$ac_try;;
40940 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40941 (eval "$ac_compile") 2>conftest.er1
40943 grep -v '^ *+' conftest.er1 >conftest.err
40945 cat conftest.err >&5
40946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40947 (exit $ac_status); } && {
40948 test -z "$ac_cxx_werror_flag" ||
40949 test ! -s conftest.err
40950 } && test -s conftest.$ac_objext; then
40951 ac_cv_func_which_getservbyname_r=five
40953 echo "$as_me: failed program was:" >&5
40954 sed 's/^/| /' conftest.$ac_ext >&5
40957 cat >conftest.$ac_ext <<_ACEOF
40960 cat confdefs.h >>conftest.$ac_ext
40961 cat >>conftest.$ac_ext <<_ACEOF
40962 /* end confdefs.h. */
40970 struct servent *se;
40971 struct servent_data data;
40972 (void) getservbyname_r(name, proto, se, &data);
40978 rm -f conftest.$ac_objext
40979 if { (ac_try="$ac_compile"
40980 case "(($ac_try" in
40981 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
40982 *) ac_try_echo
=$ac_try;;
40984 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40985 (eval "$ac_compile") 2>conftest.er1
40987 grep -v '^ *+' conftest.er1
>conftest.err
40989 cat conftest.err
>&5
40990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40991 (exit $ac_status); } && {
40992 test -z "$ac_cxx_werror_flag" ||
40993 test ! -s conftest.err
40994 } && test -s conftest.
$ac_objext; then
40995 ac_cv_func_which_getservbyname_r
=four
40997 echo "$as_me: failed program was:" >&5
40998 sed 's/^/| /' conftest.
$ac_ext >&5
41000 ac_cv_func_which_getservbyname_r
=no
41004 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
41009 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
41014 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
41016 ac_cpp
='$CPP $CPPFLAGS'
41017 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41018 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41019 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
41024 { echo "$as_me:$LINENO: result: $ac_cv_func_which_getservbyname_r" >&5
41025 echo "${ECHO_T}$ac_cv_func_which_getservbyname_r" >&6; }
41027 if test $ac_cv_func_which_getservbyname_r = six
; then
41028 cat >>confdefs.h
<<\_ACEOF
41029 #define HAVE_FUNC_GETSERVBYNAME_R_6 1
41032 elif test $ac_cv_func_which_getservbyname_r = five
; then
41033 cat >>confdefs.h
<<\_ACEOF
41034 #define HAVE_FUNC_GETSERVBYNAME_R_5 1
41037 elif test $ac_cv_func_which_getservbyname_r = four
; then
41038 cat >>confdefs.h
<<\_ACEOF
41039 #define HAVE_FUNC_GETSERVBYNAME_R_4 1
41045 if test "x$ac_cv_func_which_getservbyname_r" = "xno" -o \
41046 "x$ac_cv_func_which_getservbyname_r" = "xunknown" ; then
41048 for ac_func
in getservbyname
41050 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41051 { echo "$as_me:$LINENO: checking for $ac_func" >&5
41052 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
41053 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
41054 echo $ECHO_N "(cached) $ECHO_C" >&6
41056 cat >conftest.
$ac_ext <<_ACEOF
41059 cat confdefs.h
>>conftest.
$ac_ext
41060 cat >>conftest.
$ac_ext <<_ACEOF
41061 /* end confdefs.h. */
41062 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41063 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41064 #define $ac_func innocuous_$ac_func
41066 /* System header to define __stub macros and hopefully few prototypes,
41067 which can conflict with char $ac_func (); below.
41068 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41069 <limits.h> exists even on freestanding compilers. */
41072 # include <limits.h>
41074 # include <assert.h>
41079 /* Override any GCC internal prototype to avoid an error.
41080 Use char because int might match the return type of a GCC
41081 builtin and then its argument prototype would still apply. */
41086 /* The GNU C library defines this for functions which it implements
41087 to always fail with ENOSYS. Some functions are actually named
41088 something starting with __ and the normal name is an alias. */
41089 #if defined __stub_$ac_func || defined __stub___$ac_func
41096 return $ac_func ();
41101 rm -f conftest.
$ac_objext conftest
$ac_exeext
41102 if { (ac_try
="$ac_link"
41103 case "(($ac_try" in
41104 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
41105 *) ac_try_echo=$ac_try;;
41107 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41108 (eval "$ac_link") 2>conftest.er1
41110 grep -v '^ *+' conftest.er1 >conftest.err
41112 cat conftest.err >&5
41113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41114 (exit $ac_status); } && {
41115 test -z "$ac_c_werror_flag" ||
41116 test ! -s conftest.err
41117 } && test -s conftest$ac_exeext &&
41118 $as_test_x conftest$ac_exeext; then
41119 eval "$as_ac_var=yes"
41121 echo "$as_me: failed program was:" >&5
41122 sed 's/^/| /' conftest.$ac_ext >&5
41124 eval "$as_ac_var=no"
41127 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41128 conftest$ac_exeext conftest.$ac_ext
41130 ac_res=`eval echo '${'$as_ac_var'}'`
41131 { echo "$as_me:$LINENO: result: $ac_res" >&5
41132 echo "${ECHO_T}$ac_res" >&6; }
41133 if test `eval echo '${'$as_ac_var'}'` = yes; then
41134 cat >>confdefs.h <<_ACEOF
41135 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41137 cat >>confdefs.h <<\_ACEOF
41138 #define HAVE_GETSERVBYNAME 1
41146 if test "$wxUSE_THREADS" = "yes"; then
41147 cat >>confdefs.h <<\_ACEOF
41148 #define wxUSE_THREADS 1
41152 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS thread"
41154 if test "$wx_cv_func_strtok_r" = "yes"; then
41155 { echo "$as_me:$LINENO: checking if -D_REENTRANT is needed" >&5
41156 echo $ECHO_N "checking if -D_REENTRANT is needed... $ECHO_C" >&6; }
41157 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
41158 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_REENTRANT"
41159 { echo "$as_me:$LINENO: result: yes" >&5
41160 echo "${ECHO_T}yes" >&6; }
41162 { echo "$as_me:$LINENO: result: no" >&5
41163 echo "${ECHO_T}no" >&6; }
41168 if test "$WXGTK2" = 1 ; then
41169 cat >>confdefs.h <<_ACEOF
41170 #define __WXGTK20__ $WXGTK2
41176 if test "$WXGTK12" = 1 ; then
41177 cat >>confdefs.h <<_ACEOF
41178 #define __WXGTK12__ $WXGTK12
41183 if test "$WXGTK127" = 1 ; then
41184 cat >>confdefs.h <<_ACEOF
41185 #define __WXGTK127__ $WXGTK127
41190 if test "$WXGPE" = 1 ; then
41191 cat >>confdefs.h <<_ACEOF
41192 #define __WXGPE__ $WXGPE
41198 if test "$wxUSE_DEBUG_INFO" = "yes" ; then
41202 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
41203 wxUSE_DEBUG_INFO=yes
41204 if test "$GCC" = yes; then
41205 DEBUG_CFLAGS="-ggdb"
41209 if test "$wxUSE_DEBUG_FLAG" = "yes" ; then
41210 cat >>confdefs.h <<\_ACEOF
41214 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D__WXDEBUG__"
41216 if test "$wxUSE_GTK" = 1 ; then
41217 if test "x$wxGTK_VERSION" = "x1" ; then
41218 CPPFLAGS="-DGTK_NO_CHECK_CASTS $CPPFLAGS"
41223 if test "$wxUSE_MEM_TRACING" = "yes" ; then
41224 cat >>confdefs.h <<\_ACEOF
41225 #define wxUSE_MEMORY_TRACING 1
41228 cat >>confdefs.h <<\_ACEOF
41229 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
41232 cat >>confdefs.h <<\_ACEOF
41233 #define wxUSE_DEBUG_NEW_ALWAYS 1
41236 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS memcheck"
41239 if test "$wxUSE_DMALLOC" = "yes" ; then
41240 DMALLOC_LIBS="-ldmallocthcxx"
41244 if test "$wxUSE_PROFILE" = "yes" ; then
41245 PROFILE_FLAGS=" -pg"
41248 if test "$GCC" = "yes" ; then
41249 if test "$wxUSE_NO_RTTI" = "yes" ; then
41250 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fno-rtti"
41252 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
41253 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fno-exceptions"
41255 if test "$wxUSE_PERMISSIVE" = "yes" ; then
41256 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -fpermissive"
41261 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -mminimal-toc"
41264 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -ffunction-sections"
41270 if test "$wxUSE_OPTIMISE" = "no" ; then
41271 if test "$GCC" = yes ; then
41272 OPTIMISE_CFLAGS="-O0"
41275 if test "$GCC" = yes ; then
41277 *-pc-os2_emx | *-pc-os2-emx )
41278 OPTIMISE_CFLAGS="-O2"
41281 OPTIMISE_CFLAGS="-O2 -fno-strict-aliasing"
41285 OPTIMISE_CFLAGS="-O"
41290 if test "x$WXWIN_COMPATIBILITY_2_6" = "xyes"; then
41291 cat >>confdefs.h <<\_ACEOF
41292 #define WXWIN_COMPATIBILITY_2_6 1
41296 WXWIN_COMPATIBILITY_2_8="yes"
41299 if test "x$WXWIN_COMPATIBILITY_2_8" != "xno"; then
41300 cat >>confdefs.h <<\_ACEOF
41301 #define WXWIN_COMPATIBILITY_2_8 1
41307 if test "$wxUSE_GUI" = "yes"; then
41308 cat >>confdefs.h <<\_ACEOF
41309 #define wxUSE_GUI 1
41316 if test "$wxUSE_UNIX" = "yes"; then
41317 cat >>confdefs.h <<\_ACEOF
41318 #define wxUSE_UNIX 1
41324 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
41328 if test "$wxUSE_DYNAMIC_LOADER" = "yes" -o "$wxUSE_DYNLIB_CLASS" = "yes" ; then
41329 if test "$USE_DOS" = 1; then
41333 for ac_func in dlopen
41335 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41336 { echo "$as_me:$LINENO: checking for $ac_func" >&5
41337 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
41338 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
41339 echo $ECHO_N "(cached) $ECHO_C" >&6
41341 cat >conftest.$ac_ext <<_ACEOF
41344 cat confdefs.h >>conftest.$ac_ext
41345 cat >>conftest.$ac_ext <<_ACEOF
41346 /* end confdefs.h. */
41347 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41348 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41349 #define $ac_func innocuous_$ac_func
41351 /* System header to define __stub macros and hopefully few prototypes,
41352 which can conflict with char $ac_func (); below.
41353 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41354 <limits.h> exists even on freestanding compilers. */
41357 # include <limits.h>
41359 # include <assert.h>
41364 /* Override any GCC internal prototype to avoid an error.
41365 Use char because int might match the return type of a GCC
41366 builtin and then its argument prototype would still apply. */
41371 /* The GNU C library defines this for functions which it implements
41372 to always fail with ENOSYS. Some functions are actually named
41373 something starting with __ and the normal name is an alias. */
41374 #if defined __stub_$ac_func || defined __stub___$ac_func
41381 return $ac_func ();
41386 rm -f conftest.$ac_objext conftest$ac_exeext
41387 if { (ac_try="$ac_link"
41388 case "(($ac_try" in
41389 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
41390 *) ac_try_echo
=$ac_try;;
41392 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41393 (eval "$ac_link") 2>conftest.er1
41395 grep -v '^ *+' conftest.er1
>conftest.err
41397 cat conftest.err
>&5
41398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41399 (exit $ac_status); } && {
41400 test -z "$ac_c_werror_flag" ||
41401 test ! -s conftest.err
41402 } && test -s conftest
$ac_exeext &&
41403 $as_test_x conftest
$ac_exeext; then
41404 eval "$as_ac_var=yes"
41406 echo "$as_me: failed program was:" >&5
41407 sed 's/^/| /' conftest.
$ac_ext >&5
41409 eval "$as_ac_var=no"
41412 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
41413 conftest
$ac_exeext conftest.
$ac_ext
41415 ac_res
=`eval echo '${'$as_ac_var'}'`
41416 { echo "$as_me:$LINENO: result: $ac_res" >&5
41417 echo "${ECHO_T}$ac_res" >&6; }
41418 if test `eval echo '${'$as_ac_var'}'` = yes; then
41419 cat >>confdefs.h
<<_ACEOF
41420 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41423 cat >>confdefs.h
<<\_ACEOF
41424 #define HAVE_DLOPEN 1
41431 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
41432 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
41433 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
41434 echo $ECHO_N "(cached) $ECHO_C" >&6
41436 ac_check_lib_save_LIBS
=$LIBS
41438 cat >conftest.
$ac_ext <<_ACEOF
41441 cat confdefs.h
>>conftest.
$ac_ext
41442 cat >>conftest.
$ac_ext <<_ACEOF
41443 /* end confdefs.h. */
41445 /* Override any GCC internal prototype to avoid an error.
41446 Use char because int might match the return type of a GCC
41447 builtin and then its argument prototype would still apply. */
41460 rm -f conftest.
$ac_objext conftest
$ac_exeext
41461 if { (ac_try
="$ac_link"
41462 case "(($ac_try" in
41463 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
41464 *) ac_try_echo=$ac_try;;
41466 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41467 (eval "$ac_link") 2>conftest.er1
41469 grep -v '^ *+' conftest.er1 >conftest.err
41471 cat conftest.err >&5
41472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41473 (exit $ac_status); } && {
41474 test -z "$ac_c_werror_flag" ||
41475 test ! -s conftest.err
41476 } && test -s conftest$ac_exeext &&
41477 $as_test_x conftest$ac_exeext; then
41478 ac_cv_lib_dl_dlopen=yes
41480 echo "$as_me: failed program was:" >&5
41481 sed 's/^/| /' conftest.$ac_ext >&5
41483 ac_cv_lib_dl_dlopen=no
41486 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41487 conftest$ac_exeext conftest.$ac_ext
41488 LIBS=$ac_check_lib_save_LIBS
41490 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
41491 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
41492 if test $ac_cv_lib_dl_dlopen = yes; then
41494 cat >>confdefs.h <<\_ACEOF
41495 #define HAVE_DLOPEN 1
41499 DL_LINK=" -ldl$DL_LINK"
41504 for ac_func in shl_load
41506 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41507 { echo "$as_me:$LINENO: checking for $ac_func" >&5
41508 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
41509 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
41510 echo $ECHO_N "(cached) $ECHO_C" >&6
41512 cat >conftest.$ac_ext <<_ACEOF
41515 cat confdefs.h >>conftest.$ac_ext
41516 cat >>conftest.$ac_ext <<_ACEOF
41517 /* end confdefs.h. */
41518 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41519 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41520 #define $ac_func innocuous_$ac_func
41522 /* System header to define __stub macros and hopefully few prototypes,
41523 which can conflict with char $ac_func (); below.
41524 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41525 <limits.h> exists even on freestanding compilers. */
41528 # include <limits.h>
41530 # include <assert.h>
41535 /* Override any GCC internal prototype to avoid an error.
41536 Use char because int might match the return type of a GCC
41537 builtin and then its argument prototype would still apply. */
41542 /* The GNU C library defines this for functions which it implements
41543 to always fail with ENOSYS. Some functions are actually named
41544 something starting with __ and the normal name is an alias. */
41545 #if defined __stub_$ac_func || defined __stub___$ac_func
41552 return $ac_func ();
41557 rm -f conftest.$ac_objext conftest$ac_exeext
41558 if { (ac_try="$ac_link"
41559 case "(($ac_try" in
41560 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
41561 *) ac_try_echo
=$ac_try;;
41563 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41564 (eval "$ac_link") 2>conftest.er1
41566 grep -v '^ *+' conftest.er1
>conftest.err
41568 cat conftest.err
>&5
41569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41570 (exit $ac_status); } && {
41571 test -z "$ac_c_werror_flag" ||
41572 test ! -s conftest.err
41573 } && test -s conftest
$ac_exeext &&
41574 $as_test_x conftest
$ac_exeext; then
41575 eval "$as_ac_var=yes"
41577 echo "$as_me: failed program was:" >&5
41578 sed 's/^/| /' conftest.
$ac_ext >&5
41580 eval "$as_ac_var=no"
41583 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
41584 conftest
$ac_exeext conftest.
$ac_ext
41586 ac_res
=`eval echo '${'$as_ac_var'}'`
41587 { echo "$as_me:$LINENO: result: $ac_res" >&5
41588 echo "${ECHO_T}$ac_res" >&6; }
41589 if test `eval echo '${'$as_ac_var'}'` = yes; then
41590 cat >>confdefs.h
<<_ACEOF
41591 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41594 cat >>confdefs.h
<<\_ACEOF
41595 #define HAVE_SHL_LOAD 1
41602 { echo "$as_me:$LINENO: checking for dld in -lshl_load" >&5
41603 echo $ECHO_N "checking for dld in -lshl_load... $ECHO_C" >&6; }
41604 if test "${ac_cv_lib_shl_load_dld+set}" = set; then
41605 echo $ECHO_N "(cached) $ECHO_C" >&6
41607 ac_check_lib_save_LIBS
=$LIBS
41608 LIBS
="-lshl_load $LIBS"
41609 cat >conftest.
$ac_ext <<_ACEOF
41612 cat confdefs.h
>>conftest.
$ac_ext
41613 cat >>conftest.
$ac_ext <<_ACEOF
41614 /* end confdefs.h. */
41616 /* Override any GCC internal prototype to avoid an error.
41617 Use char because int might match the return type of a GCC
41618 builtin and then its argument prototype would still apply. */
41631 rm -f conftest.
$ac_objext conftest
$ac_exeext
41632 if { (ac_try
="$ac_link"
41633 case "(($ac_try" in
41634 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
41635 *) ac_try_echo=$ac_try;;
41637 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41638 (eval "$ac_link") 2>conftest.er1
41640 grep -v '^ *+' conftest.er1 >conftest.err
41642 cat conftest.err >&5
41643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41644 (exit $ac_status); } && {
41645 test -z "$ac_c_werror_flag" ||
41646 test ! -s conftest.err
41647 } && test -s conftest$ac_exeext &&
41648 $as_test_x conftest$ac_exeext; then
41649 ac_cv_lib_shl_load_dld=yes
41651 echo "$as_me: failed program was:" >&5
41652 sed 's/^/| /' conftest.$ac_ext >&5
41654 ac_cv_lib_shl_load_dld=no
41657 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41658 conftest$ac_exeext conftest.$ac_ext
41659 LIBS=$ac_check_lib_save_LIBS
41661 { echo "$as_me:$LINENO: result: $ac_cv_lib_shl_load_dld" >&5
41662 echo "${ECHO_T}$ac_cv_lib_shl_load_dld" >&6; }
41663 if test $ac_cv_lib_shl_load_dld = yes; then
41666 DL_LINK=" -ldld$DL_LINK"
41682 if test "$HAVE_DL_FUNCS" = 1; then
41684 for ac_func in dlerror
41686 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41687 { echo "$as_me:$LINENO: checking for $ac_func" >&5
41688 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
41689 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
41690 echo $ECHO_N "(cached) $ECHO_C" >&6
41692 cat >conftest.$ac_ext <<_ACEOF
41695 cat confdefs.h >>conftest.$ac_ext
41696 cat >>conftest.$ac_ext <<_ACEOF
41697 /* end confdefs.h. */
41698 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41699 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41700 #define $ac_func innocuous_$ac_func
41702 /* System header to define __stub macros and hopefully few prototypes,
41703 which can conflict with char $ac_func (); below.
41704 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41705 <limits.h> exists even on freestanding compilers. */
41708 # include <limits.h>
41710 # include <assert.h>
41715 /* Override any GCC internal prototype to avoid an error.
41716 Use char because int might match the return type of a GCC
41717 builtin and then its argument prototype would still apply. */
41722 /* The GNU C library defines this for functions which it implements
41723 to always fail with ENOSYS. Some functions are actually named
41724 something starting with __ and the normal name is an alias. */
41725 #if defined __stub_$ac_func || defined __stub___$ac_func
41732 return $ac_func ();
41737 rm -f conftest.$ac_objext conftest$ac_exeext
41738 if { (ac_try="$ac_link"
41739 case "(($ac_try" in
41740 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
41741 *) ac_try_echo
=$ac_try;;
41743 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41744 (eval "$ac_link") 2>conftest.er1
41746 grep -v '^ *+' conftest.er1
>conftest.err
41748 cat conftest.err
>&5
41749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41750 (exit $ac_status); } && {
41751 test -z "$ac_c_werror_flag" ||
41752 test ! -s conftest.err
41753 } && test -s conftest
$ac_exeext &&
41754 $as_test_x conftest
$ac_exeext; then
41755 eval "$as_ac_var=yes"
41757 echo "$as_me: failed program was:" >&5
41758 sed 's/^/| /' conftest.
$ac_ext >&5
41760 eval "$as_ac_var=no"
41763 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
41764 conftest
$ac_exeext conftest.
$ac_ext
41766 ac_res
=`eval echo '${'$as_ac_var'}'`
41767 { echo "$as_me:$LINENO: result: $ac_res" >&5
41768 echo "${ECHO_T}$ac_res" >&6; }
41769 if test `eval echo '${'$as_ac_var'}'` = yes; then
41770 cat >>confdefs.h
<<_ACEOF
41771 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41773 cat >>confdefs.h
<<\_ACEOF
41774 #define HAVE_DLERROR 1
41779 { echo "$as_me:$LINENO: checking for dlerror in -ldl" >&5
41780 echo $ECHO_N "checking for dlerror in -ldl... $ECHO_C" >&6; }
41781 if test "${ac_cv_lib_dl_dlerror+set}" = set; then
41782 echo $ECHO_N "(cached) $ECHO_C" >&6
41784 ac_check_lib_save_LIBS
=$LIBS
41786 cat >conftest.
$ac_ext <<_ACEOF
41789 cat confdefs.h
>>conftest.
$ac_ext
41790 cat >>conftest.
$ac_ext <<_ACEOF
41791 /* end confdefs.h. */
41793 /* Override any GCC internal prototype to avoid an error.
41794 Use char because int might match the return type of a GCC
41795 builtin and then its argument prototype would still apply. */
41808 rm -f conftest.
$ac_objext conftest
$ac_exeext
41809 if { (ac_try
="$ac_link"
41810 case "(($ac_try" in
41811 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
41812 *) ac_try_echo=$ac_try;;
41814 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41815 (eval "$ac_link") 2>conftest.er1
41817 grep -v '^ *+' conftest.er1 >conftest.err
41819 cat conftest.err >&5
41820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41821 (exit $ac_status); } && {
41822 test -z "$ac_c_werror_flag" ||
41823 test ! -s conftest.err
41824 } && test -s conftest$ac_exeext &&
41825 $as_test_x conftest$ac_exeext; then
41826 ac_cv_lib_dl_dlerror=yes
41828 echo "$as_me: failed program was:" >&5
41829 sed 's/^/| /' conftest.$ac_ext >&5
41831 ac_cv_lib_dl_dlerror=no
41834 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41835 conftest$ac_exeext conftest.$ac_ext
41836 LIBS=$ac_check_lib_save_LIBS
41838 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlerror" >&5
41839 echo "${ECHO_T}$ac_cv_lib_dl_dlerror" >&6; }
41840 if test $ac_cv_lib_dl_dlerror = yes; then
41841 cat >>confdefs.h <<\_ACEOF
41842 #define HAVE_DLERROR 1
41855 if test "$USE_DARWIN" = 1; then
41859 if test "$HAVE_DL_FUNCS" = 0; then
41860 if test "$HAVE_SHL_FUNCS" = 0; then
41861 if test "$USE_UNIX" = 1 -o "$USE_DOS" = 1; then
41862 { echo "$as_me:$LINENO: WARNING: Missing dynamic loading support, several features will be disabled" >&5
41863 echo "$as_me: WARNING: Missing dynamic loading support, several features will be disabled" >&2;}
41864 wxUSE_DYNAMIC_LOADER=no
41865 wxUSE_DYNLIB_CLASS=no
41867 { echo "$as_me:$LINENO: WARNING: Assuming wxLibrary class works on this platform" >&5
41868 echo "$as_me: WARNING: Assuming wxLibrary class works on this platform" >&2;}
41875 if test "$wxUSE_DYNAMIC_LOADER" = "yes" ; then
41876 cat >>confdefs.h <<\_ACEOF
41877 #define wxUSE_DYNAMIC_LOADER 1
41881 if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
41882 cat >>confdefs.h <<\_ACEOF
41883 #define wxUSE_DYNLIB_CLASS 1
41890 if test "$wxUSE_PLUGINS" = "yes" ; then
41891 if test "$wxUSE_SHARED" = "no" ; then
41892 { echo "$as_me:$LINENO: WARNING: plugins supported only in shared build, disabling" >&5
41893 echo "$as_me: WARNING: plugins supported only in shared build, disabling" >&2;}
41896 if test "$wxUSE_MONOLITHIC" = "yes" ; then
41897 { echo "$as_me:$LINENO: WARNING: plugins not supported monolithic build, disabling" >&5
41898 echo "$as_me: WARNING: plugins not supported monolithic build, disabling" >&2;}
41901 if test "$wxUSE_DYNLIB_CLASS" = "no" ; then
41902 { echo "$as_me:$LINENO: WARNING: plugins require wxDynamicLibrary, disabling" >&5
41903 echo "$as_me: WARNING: plugins require wxDynamicLibrary, disabling" >&2;}
41906 if test "$wxUSE_PLUGINS" = "yes" ; then
41907 cat >>confdefs.h <<\_ACEOF
41908 #define wxUSE_PLUGINS 1
41915 if test "$wxUSE_STL" = "yes"; then
41916 cat >>confdefs.h <<\_ACEOF
41917 #define wxUSE_STL 1
41922 if test "$wxUSE_EXTENDED_RTTI" = "yes"; then
41923 cat >>confdefs.h <<\_ACEOF
41924 #define wxUSE_EXTENDED_RTTI 1
41929 if test "$wxUSE_APPLE_IEEE" = "yes"; then
41930 cat >>confdefs.h <<\_ACEOF
41931 #define wxUSE_APPLE_IEEE 1
41936 if test "$wxUSE_TIMER" = "yes"; then
41937 cat >>confdefs.h <<\_ACEOF
41938 #define wxUSE_TIMER 1
41943 if test "$USE_UNIX" = 1 ; then
41944 if test "$wxUSE_MGL" != 1; then
41945 { echo "$as_me:$LINENO: checking for SNDCTL_DSP_SPEED in sys/soundcard.h" >&5
41946 echo $ECHO_N "checking for SNDCTL_DSP_SPEED in sys/soundcard.h... $ECHO_C" >&6; }
41947 if test "${ac_cv_header_sys_soundcard+set}" = set; then
41948 echo $ECHO_N "(cached) $ECHO_C" >&6
41951 cat >conftest.$ac_ext <<_ACEOF
41954 cat confdefs.h >>conftest.$ac_ext
41955 cat >>conftest.$ac_ext <<_ACEOF
41956 /* end confdefs.h. */
41958 #include <sys/ioctl.h>
41959 #include <sys/soundcard.h>
41965 ioctl(0, SNDCTL_DSP_SPEED, 0);
41971 rm -f conftest.$ac_objext conftest$ac_exeext
41972 if { (ac_try="$ac_link"
41973 case "(($ac_try" in
41974 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
41975 *) ac_try_echo
=$ac_try;;
41977 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41978 (eval "$ac_link") 2>conftest.er1
41980 grep -v '^ *+' conftest.er1
>conftest.err
41982 cat conftest.err
>&5
41983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41984 (exit $ac_status); } && {
41985 test -z "$ac_c_werror_flag" ||
41986 test ! -s conftest.err
41987 } && test -s conftest
$ac_exeext &&
41988 $as_test_x conftest
$ac_exeext; then
41989 ac_cv_header_sys_soundcard
=yes
41991 echo "$as_me: failed program was:" >&5
41992 sed 's/^/| /' conftest.
$ac_ext >&5
41996 LIBS
="$saveLibs -lossaudio"
41997 cat >conftest.
$ac_ext <<_ACEOF
42000 cat confdefs.h
>>conftest.
$ac_ext
42001 cat >>conftest.
$ac_ext <<_ACEOF
42002 /* end confdefs.h. */
42004 #include <sys/ioctl.h>
42005 #include <sys/soundcard.h>
42011 ioctl(0, SNDCTL_DSP_SPEED, 0);
42017 rm -f conftest.
$ac_objext conftest
$ac_exeext
42018 if { (ac_try
="$ac_link"
42019 case "(($ac_try" in
42020 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
42021 *) ac_try_echo=$ac_try;;
42023 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42024 (eval "$ac_link") 2>conftest.er1
42026 grep -v '^ *+' conftest.er1 >conftest.err
42028 cat conftest.err >&5
42029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42030 (exit $ac_status); } && {
42031 test -z "$ac_c_werror_flag" ||
42032 test ! -s conftest.err
42033 } && test -s conftest$ac_exeext &&
42034 $as_test_x conftest$ac_exeext; then
42035 ac_cv_header_sys_soundcard=yes
42037 echo "$as_me: failed program was:" >&5
42038 sed 's/^/| /' conftest.$ac_ext >&5
42042 ac_cv_header_sys_soundcard=no
42047 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42048 conftest$ac_exeext conftest.$ac_ext
42053 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42054 conftest$ac_exeext conftest.$ac_ext
42057 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_soundcard" >&5
42058 echo "${ECHO_T}$ac_cv_header_sys_soundcard" >&6; }
42061 if test "$ac_cv_header_sys_soundcard" = "yes"; then
42062 cat >>confdefs.h <<\_ACEOF
42063 #define HAVE_SYS_SOUNDCARD_H 1
42070 if test "$wxUSE_SOUND" = "yes"; then
42071 if test "$USE_UNIX" = 1 ; then
42072 if test "$wxUSE_LIBSDL" != "no"; then
42074 # Check whether --with-sdl-prefix was given.
42075 if test "${with_sdl_prefix+set}" = set; then
42076 withval=$with_sdl_prefix; sdl_prefix="$withval"
42082 # Check whether --with-sdl-exec-prefix was given.
42083 if test "${with_sdl_exec_prefix+set}" = set; then
42084 withval=$with_sdl_exec_prefix; sdl_exec_prefix="$withval"
42089 # Check whether --enable-sdltest was given.
42090 if test "${enable_sdltest+set}" = set; then
42091 enableval=$enable_sdltest;
42097 if test x$sdl_exec_prefix != x ; then
42098 sdl_args="$sdl_args --exec-prefix=$sdl_exec_prefix"
42099 if test x${SDL_CONFIG+set} != xset ; then
42100 SDL_CONFIG=$sdl_exec_prefix/bin/sdl-config
42103 if test x$sdl_prefix != x ; then
42104 sdl_args="$sdl_args --prefix=$sdl_prefix"
42105 if test x${SDL_CONFIG+set} != xset ; then
42106 SDL_CONFIG=$sdl_prefix/bin/sdl-config
42110 if test "x$prefix" != xNONE; then
42111 PATH="$prefix/bin:$prefix/usr/bin:$PATH"
42113 # Extract the first word of "sdl-config", so it can be a program name with args.
42114 set dummy sdl-config; ac_word=$2
42115 { echo "$as_me:$LINENO: checking for $ac_word" >&5
42116 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
42117 if test "${ac_cv_path_SDL_CONFIG+set}" = set; then
42118 echo $ECHO_N "(cached) $ECHO_C" >&6
42120 case $SDL_CONFIG in
42122 ac_cv_path_SDL_CONFIG="$SDL_CONFIG" # Let the user override the test with a path.
42125 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
42126 for as_dir in $PATH
42129 test -z "$as_dir" && as_dir=.
42130 for ac_exec_ext in '' $ac_executable_extensions; do
42131 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
42132 ac_cv_path_SDL_CONFIG="$as_dir/$ac_word$ac_exec_ext"
42133 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
42140 test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG="no"
42144 SDL_CONFIG=$ac_cv_path_SDL_CONFIG
42145 if test -n "$SDL_CONFIG"; then
42146 { echo "$as_me:$LINENO: result: $SDL_CONFIG" >&5
42147 echo "${ECHO_T}$SDL_CONFIG" >&6; }
42149 { echo "$as_me:$LINENO: result: no" >&5
42150 echo "${ECHO_T}no" >&6; }
42154 min_sdl_version=1.2.0
42155 { echo "$as_me:$LINENO: checking for SDL - version >= $min_sdl_version" >&5
42156 echo $ECHO_N "checking for SDL - version >= $min_sdl_version... $ECHO_C" >&6; }
42158 if test "$SDL_CONFIG" = "no" ; then
42161 SDL_CFLAGS=`$SDL_CONFIG $sdlconf_args --cflags`
42162 SDL_LIBS=`$SDL_CONFIG $sdlconf_args --libs`
42164 sdl_major_version=`$SDL_CONFIG $sdl_args --version | \
42165 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
42166 sdl_minor_version=`$SDL_CONFIG $sdl_args --version | \
42167 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
42168 sdl_micro_version=`$SDL_CONFIG $sdl_config_args --version | \
42169 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
42170 if test "x$enable_sdltest" = "xyes" ; then
42171 ac_save_CFLAGS="$CFLAGS"
42172 ac_save_CXXFLAGS="$CXXFLAGS"
42173 ac_save_LIBS="$LIBS"
42174 CFLAGS="$CFLAGS $SDL_CFLAGS"
42175 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
42176 LIBS="$LIBS $SDL_LIBS"
42178 if test "$cross_compiling" = yes; then
42179 echo $ac_n "cross compiling; assumed OK... $ac_c"
42181 cat >conftest.$ac_ext <<_ACEOF
42184 cat confdefs.h >>conftest.$ac_ext
42185 cat >>conftest.$ac_ext <<_ACEOF
42186 /* end confdefs.h. */
42189 #include <stdlib.h>
42190 #include <string.h>
42194 my_strdup (char *str)
42200 new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
42201 strcpy (new_str, str);
42209 int main (int argc, char *argv[])
42211 int major, minor, micro;
42214 /* This hangs on some systems (?)
42215 system ("touch conf.sdltest");
42217 { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
42219 /* HP/UX 9 (%@#!) writes to sscanf strings */
42220 tmp_version = my_strdup("$min_sdl_version");
42221 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
42222 printf("%s, bad version string\n", "$min_sdl_version");
42226 if (($sdl_major_version > major) ||
42227 (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
42228 (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
42234 printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
42235 printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
42236 printf("*** best to upgrade to the required version.\n");
42237 printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
42238 printf("*** to point to the correct copy of sdl-config, and remove the file\n");
42239 printf("*** config.cache before re-running configure\n");
42246 rm -f conftest$ac_exeext
42247 if { (ac_try="$ac_link"
42248 case "(($ac_try" in
42249 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
42250 *) ac_try_echo
=$ac_try;;
42252 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42253 (eval "$ac_link") 2>&5
42255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42256 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
42257 { (case "(($ac_try" in
42258 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
42259 *) ac_try_echo=$ac_try;;
42261 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42262 (eval "$ac_try") 2>&5
42264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42265 (exit $ac_status); }; }; then
42268 echo "$as_me: program exited with status $ac_status" >&5
42269 echo "$as_me: failed program was:" >&5
42270 sed 's/^/| /' conftest.$ac_ext >&5
42272 ( exit $ac_status )
42275 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
42279 CFLAGS="$ac_save_CFLAGS"
42280 CXXFLAGS="$ac_save_CXXFLAGS"
42281 LIBS="$ac_save_LIBS"
42284 if test "x$no_sdl" = x ; then
42285 { echo "$as_me:$LINENO: result: yes" >&5
42286 echo "${ECHO_T}yes" >&6; }
42288 EXTRALIBS_SDL="$SDL_LIBS"
42289 CFLAGS="$SDL_CFLAGS $CFLAGS"
42290 CXXFLAGS="$SDL_CFLAGS $CXXFLAGS"
42291 cat >>confdefs.h <<\_ACEOF
42292 #define wxUSE_LIBSDL 1
42297 { echo "$as_me:$LINENO: result: no" >&5
42298 echo "${ECHO_T}no" >&6; }
42299 if test "$SDL_CONFIG" = "no" ; then
42300 echo "*** The sdl-config script installed by SDL could not be found"
42301 echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
42302 echo "*** your path, or set the SDL_CONFIG environment variable to the"
42303 echo "*** full path to sdl-config."
42305 if test -f conf.sdltest ; then
42308 echo "*** Could not run SDL test program, checking why..."
42309 CFLAGS="$CFLAGS $SDL_CFLAGS"
42310 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
42311 LIBS="$LIBS $SDL_LIBS"
42312 cat >conftest.$ac_ext <<_ACEOF
42315 cat confdefs.h >>conftest.$ac_ext
42316 cat >>conftest.$ac_ext <<_ACEOF
42317 /* end confdefs.h. */
42322 int main(int argc, char *argv[])
42325 #define main K_and_R_C_main
42335 rm -f conftest.$ac_objext conftest$ac_exeext
42336 if { (ac_try="$ac_link"
42337 case "(($ac_try" in
42338 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
42339 *) ac_try_echo
=$ac_try;;
42341 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42342 (eval "$ac_link") 2>conftest.er1
42344 grep -v '^ *+' conftest.er1
>conftest.err
42346 cat conftest.err
>&5
42347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42348 (exit $ac_status); } && {
42349 test -z "$ac_c_werror_flag" ||
42350 test ! -s conftest.err
42351 } && test -s conftest
$ac_exeext &&
42352 $as_test_x conftest
$ac_exeext; then
42353 echo "*** The test program compiled, but did not run. This usually means"
42354 echo "*** that the run-time linker is not finding SDL or finding the wrong"
42355 echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
42356 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
42357 echo "*** to the installed location Also, make sure you have run ldconfig if that"
42358 echo "*** is required on your system"
42360 echo "*** If you have an old version installed, it is best to remove it, although"
42361 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
42363 echo "$as_me: failed program was:" >&5
42364 sed 's/^/| /' conftest.
$ac_ext >&5
42366 echo "*** The test program failed to compile or link. See the file config.log for the"
42367 echo "*** exact error that occured. This usually means SDL was incorrectly installed"
42368 echo "*** or that you have moved SDL since it was installed. In the latter case, you"
42369 echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
42372 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
42373 conftest
$ac_exeext conftest.
$ac_ext
42374 CFLAGS
="$ac_save_CFLAGS"
42375 CXXFLAGS
="$ac_save_CXXFLAGS"
42376 LIBS
="$ac_save_LIBS"
42387 if test "$wxUSE_LIBSDL" = "yes" -a "$wxUSE_PLUGINS" = "yes" ; then
42392 if test "$wxUSE_MGL" = 1; then
42393 { echo "$as_me:$LINENO: WARNING: wxSound not supported in MGL under DOS... disabled" >&5
42394 echo "$as_me: WARNING: wxSound not supported in MGL under DOS... disabled" >&2;}
42400 if test "$wxUSE_SOUND" = "yes"; then
42401 cat >>confdefs.h
<<\_ACEOF
42402 #define wxUSE_SOUND 1
42405 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sound"
42408 if test "$WXGTK2" = 1; then
42411 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
42412 if test -n "$ac_tool_prefix"; then
42413 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
42414 set dummy
${ac_tool_prefix}pkg
-config; ac_word
=$2
42415 { echo "$as_me:$LINENO: checking for $ac_word" >&5
42416 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
42417 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
42418 echo $ECHO_N "(cached) $ECHO_C" >&6
42420 case $PKG_CONFIG in
42422 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
42425 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
42426 for as_dir
in $PATH
42429 test -z "$as_dir" && as_dir
=.
42430 for ac_exec_ext
in '' $ac_executable_extensions; do
42431 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
42432 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
42433 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
42443 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
42444 if test -n "$PKG_CONFIG"; then
42445 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
42446 echo "${ECHO_T}$PKG_CONFIG" >&6; }
42448 { echo "$as_me:$LINENO: result: no" >&5
42449 echo "${ECHO_T}no" >&6; }
42454 if test -z "$ac_cv_path_PKG_CONFIG"; then
42455 ac_pt_PKG_CONFIG
=$PKG_CONFIG
42456 # Extract the first word of "pkg-config", so it can be a program name with args.
42457 set dummy pkg
-config; ac_word
=$2
42458 { echo "$as_me:$LINENO: checking for $ac_word" >&5
42459 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
42460 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
42461 echo $ECHO_N "(cached) $ECHO_C" >&6
42463 case $ac_pt_PKG_CONFIG in
42465 ac_cv_path_ac_pt_PKG_CONFIG
="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
42468 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
42469 for as_dir
in $PATH
42472 test -z "$as_dir" && as_dir
=.
42473 for ac_exec_ext
in '' $ac_executable_extensions; do
42474 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
42475 ac_cv_path_ac_pt_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
42476 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
42486 ac_pt_PKG_CONFIG
=$ac_cv_path_ac_pt_PKG_CONFIG
42487 if test -n "$ac_pt_PKG_CONFIG"; then
42488 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
42489 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
42491 { echo "$as_me:$LINENO: result: no" >&5
42492 echo "${ECHO_T}no" >&6; }
42495 if test "x$ac_pt_PKG_CONFIG" = x
; then
42498 case $cross_compiling:$ac_tool_warned in
42500 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
42501 whose name does not start with the host triplet. If you think this
42502 configuration is useful to you, please write to autoconf@gnu.org." >&5
42503 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
42504 whose name does not start with the host triplet. If you think this
42505 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
42506 ac_tool_warned
=yes ;;
42508 PKG_CONFIG
=$ac_pt_PKG_CONFIG
42511 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
42515 if test -n "$PKG_CONFIG"; then
42516 _pkg_min_version
=0.9.0
42517 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
42518 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
42519 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
42520 { echo "$as_me:$LINENO: result: yes" >&5
42521 echo "${ECHO_T}yes" >&6; }
42523 { echo "$as_me:$LINENO: result: no" >&5
42524 echo "${ECHO_T}no" >&6; }
42530 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
42532 if test "$wxUSE_GTKPRINT" = "yes" ; then
42536 { echo "$as_me:$LINENO: checking for GTKPRINT" >&5
42537 echo $ECHO_N "checking for GTKPRINT... $ECHO_C" >&6; }
42539 if test -n "$PKG_CONFIG"; then
42540 if test -n "$GTKPRINT_CFLAGS"; then
42541 pkg_cv_GTKPRINT_CFLAGS
="$GTKPRINT_CFLAGS"
42543 if test -n "$PKG_CONFIG" && \
42544 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtk+-unix-print-2.0 >= 2.10\"") >&5
42545 ($PKG_CONFIG --exists --print-errors "gtk+-unix-print-2.0 >= 2.10") 2>&5
42547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42548 (exit $ac_status); }; then
42549 pkg_cv_GTKPRINT_CFLAGS
=`$PKG_CONFIG --cflags "gtk+-unix-print-2.0 >= 2.10" 2>/dev/null`
42557 if test -n "$PKG_CONFIG"; then
42558 if test -n "$GTKPRINT_LIBS"; then
42559 pkg_cv_GTKPRINT_LIBS
="$GTKPRINT_LIBS"
42561 if test -n "$PKG_CONFIG" && \
42562 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtk+-unix-print-2.0 >= 2.10\"") >&5
42563 ($PKG_CONFIG --exists --print-errors "gtk+-unix-print-2.0 >= 2.10") 2>&5
42565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42566 (exit $ac_status); }; then
42567 pkg_cv_GTKPRINT_LIBS
=`$PKG_CONFIG --libs "gtk+-unix-print-2.0 >= 2.10" 2>/dev/null`
42578 if test $pkg_failed = yes; then
42580 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
42581 _pkg_short_errors_supported
=yes
42583 _pkg_short_errors_supported
=no
42585 if test $_pkg_short_errors_supported = yes; then
42586 GTKPRINT_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gtk+-unix-print-2.0 >= 2.10"`
42588 GTKPRINT_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "gtk+-unix-print-2.0 >= 2.10"`
42590 # Put the nasty error message in config.log where it belongs
42591 echo "$GTKPRINT_PKG_ERRORS" >&5
42594 { echo "$as_me:$LINENO: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&5
42595 echo "$as_me: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&2;}
42596 wxUSE_GTKPRINT
="no"
42599 elif test $pkg_failed = untried
; then
42601 { echo "$as_me:$LINENO: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&5
42602 echo "$as_me: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&2;}
42603 wxUSE_GTKPRINT
="no"
42607 GTKPRINT_CFLAGS
=$pkg_cv_GTKPRINT_CFLAGS
42608 GTKPRINT_LIBS
=$pkg_cv_GTKPRINT_LIBS
42609 { echo "$as_me:$LINENO: result: yes" >&5
42610 echo "${ECHO_T}yes" >&6; }
42612 CFLAGS
="$GTKPRINT_CFLAGS $CFLAGS"
42613 CXXFLAGS
="$GTKPRINT_CFLAGS $CXXFLAGS"
42614 cat >>confdefs.h
<<\_ACEOF
42615 #define wxUSE_GTKPRINT 1
42622 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
42626 { echo "$as_me:$LINENO: checking for LIBGNOMEPRINTUI" >&5
42627 echo $ECHO_N "checking for LIBGNOMEPRINTUI... $ECHO_C" >&6; }
42629 if test -n "$PKG_CONFIG"; then
42630 if test -n "$LIBGNOMEPRINTUI_CFLAGS"; then
42631 pkg_cv_LIBGNOMEPRINTUI_CFLAGS
="$LIBGNOMEPRINTUI_CFLAGS"
42633 if test -n "$PKG_CONFIG" && \
42634 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
42635 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
42637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42638 (exit $ac_status); }; then
42639 pkg_cv_LIBGNOMEPRINTUI_CFLAGS
=`$PKG_CONFIG --cflags "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
42647 if test -n "$PKG_CONFIG"; then
42648 if test -n "$LIBGNOMEPRINTUI_LIBS"; then
42649 pkg_cv_LIBGNOMEPRINTUI_LIBS
="$LIBGNOMEPRINTUI_LIBS"
42651 if test -n "$PKG_CONFIG" && \
42652 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
42653 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
42655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42656 (exit $ac_status); }; then
42657 pkg_cv_LIBGNOMEPRINTUI_LIBS
=`$PKG_CONFIG --libs "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
42668 if test $pkg_failed = yes; then
42670 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
42671 _pkg_short_errors_supported
=yes
42673 _pkg_short_errors_supported
=no
42675 if test $_pkg_short_errors_supported = yes; then
42676 LIBGNOMEPRINTUI_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
42678 LIBGNOMEPRINTUI_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
42680 # Put the nasty error message in config.log where it belongs
42681 echo "$LIBGNOMEPRINTUI_PKG_ERRORS" >&5
42684 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
42685 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
42686 wxUSE_LIBGNOMEPRINT
="no"
42689 elif test $pkg_failed = untried
; then
42691 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
42692 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
42693 wxUSE_LIBGNOMEPRINT
="no"
42697 LIBGNOMEPRINTUI_CFLAGS
=$pkg_cv_LIBGNOMEPRINTUI_CFLAGS
42698 LIBGNOMEPRINTUI_LIBS
=$pkg_cv_LIBGNOMEPRINTUI_LIBS
42699 { echo "$as_me:$LINENO: result: yes" >&5
42700 echo "${ECHO_T}yes" >&6; }
42702 CFLAGS
="$LIBGNOMEPRINTUI_CFLAGS $CFLAGS"
42703 CXXFLAGS
="$LIBGNOMEPRINTUI_CFLAGS $CXXFLAGS"
42704 cat >>confdefs.h
<<\_ACEOF
42705 #define wxUSE_LIBGNOMEPRINT 1
42713 if test "$wxUSE_MIMETYPE" = "yes" ; then
42714 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
42718 { echo "$as_me:$LINENO: checking for GNOMEVFS" >&5
42719 echo $ECHO_N "checking for GNOMEVFS... $ECHO_C" >&6; }
42721 if test -n "$PKG_CONFIG"; then
42722 if test -n "$GNOMEVFS_CFLAGS"; then
42723 pkg_cv_GNOMEVFS_CFLAGS
="$GNOMEVFS_CFLAGS"
42725 if test -n "$PKG_CONFIG" && \
42726 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
42727 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
42729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42730 (exit $ac_status); }; then
42731 pkg_cv_GNOMEVFS_CFLAGS
=`$PKG_CONFIG --cflags "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
42739 if test -n "$PKG_CONFIG"; then
42740 if test -n "$GNOMEVFS_LIBS"; then
42741 pkg_cv_GNOMEVFS_LIBS
="$GNOMEVFS_LIBS"
42743 if test -n "$PKG_CONFIG" && \
42744 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
42745 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
42747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42748 (exit $ac_status); }; then
42749 pkg_cv_GNOMEVFS_LIBS
=`$PKG_CONFIG --libs "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
42760 if test $pkg_failed = yes; then
42762 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
42763 _pkg_short_errors_supported
=yes
42765 _pkg_short_errors_supported
=no
42767 if test $_pkg_short_errors_supported = yes; then
42768 GNOMEVFS_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
42770 GNOMEVFS_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
42772 # Put the nasty error message in config.log where it belongs
42773 echo "$GNOMEVFS_PKG_ERRORS" >&5
42776 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
42777 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
42778 wxUSE_LIBGNOMEVFS
="no"
42781 elif test $pkg_failed = untried
; then
42783 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
42784 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
42785 wxUSE_LIBGNOMEVFS
="no"
42789 GNOMEVFS_CFLAGS
=$pkg_cv_GNOMEVFS_CFLAGS
42790 GNOMEVFS_LIBS
=$pkg_cv_GNOMEVFS_LIBS
42791 { echo "$as_me:$LINENO: result: yes" >&5
42792 echo "${ECHO_T}yes" >&6; }
42794 CFLAGS
="$GNOMEVFS_CFLAGS $CFLAGS"
42795 CXXFLAGS
="$GNOMEVFS_CFLAGS $CXXFLAGS"
42796 cat >>confdefs.h
<<\_ACEOF
42797 #define wxUSE_LIBGNOMEVFS 1
42805 if test "$wxUSE_LIBHILDON" = "yes" ; then
42808 { echo "$as_me:$LINENO: checking for HILDON" >&5
42809 echo $ECHO_N "checking for HILDON... $ECHO_C" >&6; }
42811 if test -n "$PKG_CONFIG"; then
42812 if test -n "$HILDON_CFLAGS"; then
42813 pkg_cv_HILDON_CFLAGS
="$HILDON_CFLAGS"
42815 if test -n "$PKG_CONFIG" && \
42816 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
42817 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
42819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42820 (exit $ac_status); }; then
42821 pkg_cv_HILDON_CFLAGS
=`$PKG_CONFIG --cflags "hildon-lgpl >= 0.9" 2>/dev/null`
42829 if test -n "$PKG_CONFIG"; then
42830 if test -n "$HILDON_LIBS"; then
42831 pkg_cv_HILDON_LIBS
="$HILDON_LIBS"
42833 if test -n "$PKG_CONFIG" && \
42834 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
42835 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
42837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42838 (exit $ac_status); }; then
42839 pkg_cv_HILDON_LIBS
=`$PKG_CONFIG --libs "hildon-lgpl >= 0.9" 2>/dev/null`
42850 if test $pkg_failed = yes; then
42852 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
42853 _pkg_short_errors_supported
=yes
42855 _pkg_short_errors_supported
=no
42857 if test $_pkg_short_errors_supported = yes; then
42858 HILDON_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
42860 HILDON_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
42862 # Put the nasty error message in config.log where it belongs
42863 echo "$HILDON_PKG_ERRORS" >&5
42866 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
42867 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
42868 wxUSE_LIBHILDON
="no"
42871 elif test $pkg_failed = untried
; then
42873 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
42874 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
42875 wxUSE_LIBHILDON
="no"
42879 HILDON_CFLAGS
=$pkg_cv_HILDON_CFLAGS
42880 HILDON_LIBS
=$pkg_cv_HILDON_LIBS
42881 { echo "$as_me:$LINENO: result: yes" >&5
42882 echo "${ECHO_T}yes" >&6; }
42884 EXTRALIBS_HILDON
="$HILDON_LIBS"
42885 CFLAGS
="$CFLAGS $HILDON_CFLAGS"
42886 CXXFLAGS
="$CXXFLAGS $HILDON_CFLAGS"
42887 cat >>confdefs.h
<<\_ACEOF
42888 #define wxUSE_LIBHILDON 1
42896 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
42897 cat >>confdefs.h
<<\_ACEOF
42898 #define wxUSE_CMDLINE_PARSER 1
42903 if test "$wxUSE_STOPWATCH" = "yes"; then
42904 cat >>confdefs.h
<<\_ACEOF
42905 #define wxUSE_STOPWATCH 1
42910 if test "$wxUSE_DATETIME" = "yes"; then
42911 cat >>confdefs.h
<<\_ACEOF
42912 #define wxUSE_DATETIME 1
42917 if test "$wxUSE_FILE" = "yes"; then
42918 cat >>confdefs.h
<<\_ACEOF
42919 #define wxUSE_FILE 1
42924 if test "$wxUSE_FFILE" = "yes"; then
42925 cat >>confdefs.h
<<\_ACEOF
42926 #define wxUSE_FFILE 1
42931 if test "$wxUSE_ARCHIVE_STREAMS" = "yes"; then
42932 if test "$wxUSE_STREAMS" != yes; then
42933 { echo "$as_me:$LINENO: WARNING: wxArchive requires wxStreams... disabled" >&5
42934 echo "$as_me: WARNING: wxArchive requires wxStreams... disabled" >&2;}
42935 wxUSE_ARCHIVE_STREAMS
=no
42937 cat >>confdefs.h
<<\_ACEOF
42938 #define wxUSE_ARCHIVE_STREAMS 1
42944 if test "$wxUSE_ZIPSTREAM" = "yes"; then
42945 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
42946 { echo "$as_me:$LINENO: WARNING: wxZip requires wxArchive... disabled" >&5
42947 echo "$as_me: WARNING: wxZip requires wxArchive... disabled" >&2;}
42948 elif test "$wxUSE_ZLIB" = "no"; then
42949 { echo "$as_me:$LINENO: WARNING: wxZip requires wxZlib... disabled" >&5
42950 echo "$as_me: WARNING: wxZip requires wxZlib... disabled" >&2;}
42952 cat >>confdefs.h
<<\_ACEOF
42953 #define wxUSE_ZIPSTREAM 1
42959 if test "$wxUSE_TARSTREAM" = "yes"; then
42960 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
42961 { echo "$as_me:$LINENO: WARNING: wxTar requires wxArchive... disabled" >&5
42962 echo "$as_me: WARNING: wxTar requires wxArchive... disabled" >&2;}
42964 cat >>confdefs.h
<<\_ACEOF
42965 #define wxUSE_TARSTREAM 1
42971 if test "$wxUSE_FILESYSTEM" = "yes"; then
42972 if test "$wxUSE_STREAMS" != yes -o \
( "$wxUSE_FILE" != yes -a "$wxUSE_FFILE" != yes \
); then
42973 { echo "$as_me:$LINENO: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&5
42974 echo "$as_me: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&2;}
42975 wxUSE_FILESYSTEM
=no
42977 cat >>confdefs.h
<<\_ACEOF
42978 #define wxUSE_FILESYSTEM 1
42984 if test "$wxUSE_FS_ARCHIVE" = "yes"; then
42985 if test "$wxUSE_FILESYSTEM" != yes -o "$wxUSE_ARCHIVE_STREAMS" != yes; then
42986 { echo "$as_me:$LINENO: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&5
42987 echo "$as_me: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&2;}
42989 cat >>confdefs.h
<<\_ACEOF
42990 #define wxUSE_FS_ARCHIVE 1
42996 if test "$wxUSE_FS_ZIP" = "yes"; then
42997 if test "$wxUSE_FS_ARCHIVE" != yes; then
42998 { echo "$as_me:$LINENO: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&5
42999 echo "$as_me: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&2;}
43001 cat >>confdefs.h
<<\_ACEOF
43002 #define wxUSE_FS_ZIP 1
43008 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
43009 if test "$USE_UNIX" != 1; then
43010 { echo "$as_me:$LINENO: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&5
43011 echo "$as_me: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&2;}
43012 wxUSE_ON_FATAL_EXCEPTION
=no
43014 cat >>confdefs.h
<<\_ACEOF
43015 #define wxUSE_ON_FATAL_EXCEPTION 1
43021 if test "$wxUSE_STACKWALKER" = "yes"; then
43022 cat >>confdefs.h
<<\_ACEOF
43023 #define wxUSE_STACKWALKER 1
43028 if test "$wxUSE_DEBUGREPORT" = "yes"; then
43029 if test "$USE_UNIX" != 1 -a "$USE_WIN32" != 1; then
43030 { echo "$as_me:$LINENO: WARNING: Creating debug reports not currently supported on this system, disabled" >&5
43031 echo "$as_me: WARNING: Creating debug reports not currently supported on this system, disabled" >&2;}
43032 wxUSE_DEBUGREPORT
=no
43034 cat >>confdefs.h
<<\_ACEOF
43035 #define wxUSE_DEBUGREPORT 1
43038 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
43039 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS debugrpt"
43044 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
43045 cat >>confdefs.h
<<\_ACEOF
43046 #define wxUSE_SNGLINST_CHECKER 1
43051 if test "$wxUSE_BUSYINFO" = "yes"; then
43052 cat >>confdefs.h
<<\_ACEOF
43053 #define wxUSE_BUSYINFO 1
43058 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
43059 cat >>confdefs.h
<<\_ACEOF
43060 #define wxUSE_STD_IOSTREAM 1
43065 if test "$wxUSE_STD_STRING" = "yes"; then
43066 cat >>confdefs.h
<<\_ACEOF
43067 #define wxUSE_STD_STRING 1
43072 if test "$wxUSE_STDPATHS" = "yes"; then
43073 cat >>confdefs.h
<<\_ACEOF
43074 #define wxUSE_STDPATHS 1
43079 if test "$wxUSE_TEXTBUFFER" = "yes"; then
43080 cat >>confdefs.h
<<\_ACEOF
43081 #define wxUSE_TEXTBUFFER 1
43086 if test "$wxUSE_TEXTFILE" = "yes"; then
43087 if test "$wxUSE_FILE" != "yes" -o "$wxUSE_TEXTBUFFER" != "yes" ; then
43088 { echo "$as_me:$LINENO: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&5
43089 echo "$as_me: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&2;}
43091 cat >>confdefs.h
<<\_ACEOF
43092 #define wxUSE_TEXTFILE 1
43098 if test "$wxUSE_CONFIG" = "yes" ; then
43099 if test "$wxUSE_TEXTFILE" != "yes"; then
43100 { echo "$as_me:$LINENO: WARNING: wxConfig requires wxTextFile... disabled" >&5
43101 echo "$as_me: WARNING: wxConfig requires wxTextFile... disabled" >&2;}
43103 cat >>confdefs.h
<<\_ACEOF
43104 #define wxUSE_CONFIG 1
43107 cat >>confdefs.h
<<\_ACEOF
43108 #define wxUSE_CONFIG_NATIVE 1
43111 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS config"
43115 if test "$wxUSE_INTL" = "yes" ; then
43116 if test "$wxUSE_FILE" != "yes"; then
43117 { echo "$as_me:$LINENO: WARNING: I18n code requires wxFile... disabled" >&5
43118 echo "$as_me: WARNING: I18n code requires wxFile... disabled" >&2;}
43120 cat >>confdefs.h
<<\_ACEOF
43121 #define wxUSE_INTL 1
43124 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS internat"
43125 GUIDIST
="$GUIDIST INTL_DIST"
43129 if test "$wxUSE_XLOCALE" == "yes" ; then
43130 cat >>confdefs.h
<<\_ACEOF
43131 #define wxUSE_XLOCALE 1
43134 { echo "$as_me:$LINENO: checking for locale_t" >&5
43135 echo $ECHO_N "checking for locale_t... $ECHO_C" >&6; }
43136 if test "${ac_cv_type_locale_t+set}" = set; then
43137 echo $ECHO_N "(cached) $ECHO_C" >&6
43139 cat >conftest.
$ac_ext <<_ACEOF
43142 cat confdefs.h
>>conftest.
$ac_ext
43143 cat >>conftest.
$ac_ext <<_ACEOF
43144 /* end confdefs.h. */
43145 #include <xlocale.h>
43146 #include <locale.h>
43148 typedef locale_t ac__type_new_;
43152 if ((ac__type_new_ *) 0)
43154 if (sizeof (ac__type_new_))
43160 rm -f conftest.
$ac_objext
43161 if { (ac_try
="$ac_compile"
43162 case "(($ac_try" in
43163 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
43164 *) ac_try_echo=$ac_try;;
43166 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43167 (eval "$ac_compile") 2>conftest.er1
43169 grep -v '^ *+' conftest.er1 >conftest.err
43171 cat conftest.err >&5
43172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43173 (exit $ac_status); } && {
43174 test -z "$ac_c_werror_flag" ||
43175 test ! -s conftest.err
43176 } && test -s conftest.$ac_objext; then
43177 ac_cv_type_locale_t=yes
43179 echo "$as_me: failed program was:" >&5
43180 sed 's/^/| /' conftest.$ac_ext >&5
43182 ac_cv_type_locale_t=no
43185 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43187 { echo "$as_me:$LINENO: result: $ac_cv_type_locale_t" >&5
43188 echo "${ECHO_T}$ac_cv_type_locale_t" >&6; }
43189 if test $ac_cv_type_locale_t = yes; then
43191 cat >>confdefs.h <<_ACEOF
43192 #define HAVE_LOCALE_T 1
43200 if test "$wxUSE_LOG" = "yes"; then
43201 cat >>confdefs.h <<\_ACEOF
43202 #define wxUSE_LOG 1
43206 if test "$wxUSE_LOGGUI" = "yes"; then
43207 cat >>confdefs.h <<\_ACEOF
43208 #define wxUSE_LOGGUI 1
43213 if test "$wxUSE_LOGWINDOW" = "yes"; then
43214 cat >>confdefs.h <<\_ACEOF
43215 #define wxUSE_LOGWINDOW 1
43220 if test "$wxUSE_LOGDIALOG" = "yes"; then
43221 cat >>confdefs.h <<\_ACEOF
43222 #define wxUSE_LOG_DIALOG 1
43227 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS keyboard"
43230 if test "$wxUSE_LONGLONG" = "yes"; then
43231 cat >>confdefs.h <<\_ACEOF
43232 #define wxUSE_LONGLONG 1
43237 if test "$wxUSE_GEOMETRY" = "yes"; then
43238 cat >>confdefs.h <<\_ACEOF
43239 #define wxUSE_GEOMETRY 1
43244 if test "$wxUSE_BASE64" = "yes"; then
43245 cat >>confdefs.h <<\_ACEOF
43246 #define wxUSE_BASE64 1
43251 if test "$wxUSE_STREAMS" = "yes" ; then
43252 cat >>confdefs.h <<\_ACEOF
43253 #define wxUSE_STREAMS 1
43258 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
43259 cat >>confdefs.h <<\_ACEOF
43260 #define wxUSE_PRINTF_POS_PARAMS 1
43265 if test "$wxUSE_OBJC_UNIQUIFYING" = "yes"; then
43266 cat >>confdefs.h <<\_ACEOF
43267 #define wxUSE_OBJC_UNIQUIFYING 1
43273 if test "$wxUSE_CONSOLE_EVENTLOOP" = "yes"; then
43274 cat >>confdefs.h <<\_ACEOF
43275 #define wxUSE_CONSOLE_EVENTLOOP 1
43279 if test "$wxUSE_UNIX" = "yes"; then
43280 if test "$wxUSE_SELECT_DISPATCHER" = "yes"; then
43281 cat >>confdefs.h <<\_ACEOF
43282 #define wxUSE_SELECT_DISPATCHER 1
43287 if test "$wxUSE_EPOLL_DISPATCHER" = "yes"; then
43289 for ac_header in sys/epoll.h
43291 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
43292 { echo "$as_me:$LINENO: checking for $ac_header" >&5
43293 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
43294 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
43295 echo $ECHO_N "(cached) $ECHO_C" >&6
43297 cat >conftest.$ac_ext <<_ACEOF
43300 cat confdefs.h >>conftest.$ac_ext
43301 cat >>conftest.$ac_ext <<_ACEOF
43302 /* end confdefs.h. */
43303 $ac_includes_default
43305 #include <$ac_header>
43307 rm -f conftest.$ac_objext
43308 if { (ac_try="$ac_compile"
43309 case "(($ac_try" in
43310 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
43311 *) ac_try_echo
=$ac_try;;
43313 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43314 (eval "$ac_compile") 2>conftest.er1
43316 grep -v '^ *+' conftest.er1
>conftest.err
43318 cat conftest.err
>&5
43319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43320 (exit $ac_status); } && {
43321 test -z "$ac_c_werror_flag" ||
43322 test ! -s conftest.err
43323 } && test -s conftest.
$ac_objext; then
43324 eval "$as_ac_Header=yes"
43326 echo "$as_me: failed program was:" >&5
43327 sed 's/^/| /' conftest.
$ac_ext >&5
43329 eval "$as_ac_Header=no"
43332 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
43334 ac_res
=`eval echo '${'$as_ac_Header'}'`
43335 { echo "$as_me:$LINENO: result: $ac_res" >&5
43336 echo "${ECHO_T}$ac_res" >&6; }
43337 if test `eval echo '${'$as_ac_Header'}'` = yes; then
43338 cat >>confdefs.h
<<_ACEOF
43339 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
43346 if test "$ac_cv_header_sys_epoll_h" = "yes"; then
43347 cat >>confdefs.h
<<\_ACEOF
43348 #define wxUSE_EPOLL_DISPATCHER 1
43352 { echo "$as_me:$LINENO: WARNING: sys/epoll.h not available, wxEpollDispatcher disabled" >&5
43353 echo "$as_me: WARNING: sys/epoll.h not available, wxEpollDispatcher disabled" >&2;}
43362 for ac_func
in gettimeofday ftime
43364 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43365 { echo "$as_me:$LINENO: checking for $ac_func" >&5
43366 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
43367 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
43368 echo $ECHO_N "(cached) $ECHO_C" >&6
43370 cat >conftest.
$ac_ext <<_ACEOF
43373 cat confdefs.h
>>conftest.
$ac_ext
43374 cat >>conftest.
$ac_ext <<_ACEOF
43375 /* end confdefs.h. */
43376 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43377 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43378 #define $ac_func innocuous_$ac_func
43380 /* System header to define __stub macros and hopefully few prototypes,
43381 which can conflict with char $ac_func (); below.
43382 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43383 <limits.h> exists even on freestanding compilers. */
43386 # include <limits.h>
43388 # include <assert.h>
43393 /* Override any GCC internal prototype to avoid an error.
43394 Use char because int might match the return type of a GCC
43395 builtin and then its argument prototype would still apply. */
43400 /* The GNU C library defines this for functions which it implements
43401 to always fail with ENOSYS. Some functions are actually named
43402 something starting with __ and the normal name is an alias. */
43403 #if defined __stub_$ac_func || defined __stub___$ac_func
43410 return $ac_func ();
43415 rm -f conftest.
$ac_objext conftest
$ac_exeext
43416 if { (ac_try
="$ac_link"
43417 case "(($ac_try" in
43418 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
43419 *) ac_try_echo=$ac_try;;
43421 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43422 (eval "$ac_link") 2>conftest.er1
43424 grep -v '^ *+' conftest.er1 >conftest.err
43426 cat conftest.err >&5
43427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43428 (exit $ac_status); } && {
43429 test -z "$ac_c_werror_flag" ||
43430 test ! -s conftest.err
43431 } && test -s conftest$ac_exeext &&
43432 $as_test_x conftest$ac_exeext; then
43433 eval "$as_ac_var=yes"
43435 echo "$as_me: failed program was:" >&5
43436 sed 's/^/| /' conftest.$ac_ext >&5
43438 eval "$as_ac_var=no"
43441 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43442 conftest$ac_exeext conftest.$ac_ext
43444 ac_res=`eval echo '${'$as_ac_var'}'`
43445 { echo "$as_me:$LINENO: result: $ac_res" >&5
43446 echo "${ECHO_T}$ac_res" >&6; }
43447 if test `eval echo '${'$as_ac_var'}'` = yes; then
43448 cat >>confdefs.h <<_ACEOF
43449 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43456 if test "$ac_cv_func_gettimeofday" = "yes"; then
43457 { echo "$as_me:$LINENO: checking whether gettimeofday takes two arguments" >&5
43458 echo $ECHO_N "checking whether gettimeofday takes two arguments... $ECHO_C" >&6; }
43459 if test "${wx_cv_func_gettimeofday_has_2_args+set}" = set; then
43460 echo $ECHO_N "(cached) $ECHO_C" >&6
43463 cat >conftest.$ac_ext <<_ACEOF
43466 cat confdefs.h >>conftest.$ac_ext
43467 cat >>conftest.$ac_ext <<_ACEOF
43468 /* end confdefs.h. */
43470 #include <sys/time.h>
43471 #include <unistd.h>
43478 gettimeofday(&tv, NULL);
43484 rm -f conftest.$ac_objext
43485 if { (ac_try="$ac_compile"
43486 case "(($ac_try" in
43487 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
43488 *) ac_try_echo
=$ac_try;;
43490 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43491 (eval "$ac_compile") 2>conftest.er1
43493 grep -v '^ *+' conftest.er1
>conftest.err
43495 cat conftest.err
>&5
43496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43497 (exit $ac_status); } && {
43498 test -z "$ac_c_werror_flag" ||
43499 test ! -s conftest.err
43500 } && test -s conftest.
$ac_objext; then
43501 wx_cv_func_gettimeofday_has_2_args
=yes
43503 echo "$as_me: failed program was:" >&5
43504 sed 's/^/| /' conftest.
$ac_ext >&5
43506 cat >conftest.
$ac_ext <<_ACEOF
43509 cat confdefs.h
>>conftest.
$ac_ext
43510 cat >>conftest.
$ac_ext <<_ACEOF
43511 /* end confdefs.h. */
43513 #include <sys/time.h>
43514 #include <unistd.h>
43527 rm -f conftest.
$ac_objext
43528 if { (ac_try
="$ac_compile"
43529 case "(($ac_try" in
43530 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
43531 *) ac_try_echo=$ac_try;;
43533 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43534 (eval "$ac_compile") 2>conftest.er1
43536 grep -v '^ *+' conftest.er1 >conftest.err
43538 cat conftest.err >&5
43539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43540 (exit $ac_status); } && {
43541 test -z "$ac_c_werror_flag" ||
43542 test ! -s conftest.err
43543 } && test -s conftest.$ac_objext; then
43544 wx_cv_func_gettimeofday_has_2_args=no
43546 echo "$as_me: failed program was:" >&5
43547 sed 's/^/| /' conftest.$ac_ext >&5
43550 { echo "$as_me:$LINENO: WARNING: failed to determine number of gettimeofday() arguments" >&5
43551 echo "$as_me: WARNING: failed to determine number of gettimeofday() arguments" >&2;}
43552 wx_cv_func_gettimeofday_has_2_args=unknown
43557 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43561 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43564 { echo "$as_me:$LINENO: result: $wx_cv_func_gettimeofday_has_2_args" >&5
43565 echo "${ECHO_T}$wx_cv_func_gettimeofday_has_2_args" >&6; }
43567 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
43568 cat >>confdefs.h <<\_ACEOF
43569 #define WX_GETTIMEOFDAY_NO_TZ 1
43575 if test "$wxUSE_DATETIME" = "yes"; then
43576 { echo "$as_me:$LINENO: checking for strptime" >&5
43577 echo $ECHO_N "checking for strptime... $ECHO_C" >&6; }
43578 if test "${ac_cv_func_strptime+set}" = set; then
43579 echo $ECHO_N "(cached) $ECHO_C" >&6
43581 cat >conftest.$ac_ext <<_ACEOF
43584 cat confdefs.h >>conftest.$ac_ext
43585 cat >>conftest.$ac_ext <<_ACEOF
43586 /* end confdefs.h. */
43587 /* Define strptime to an innocuous variant, in case <limits.h> declares strptime.
43588 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43589 #define strptime innocuous_strptime
43591 /* System header to define __stub macros and hopefully few prototypes,
43592 which can conflict with char strptime (); below.
43593 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43594 <limits.h> exists even on freestanding compilers. */
43597 # include <limits.h>
43599 # include <assert.h>
43604 /* Override any GCC internal prototype to avoid an error.
43605 Use char because int might match the return type of a GCC
43606 builtin and then its argument prototype would still apply. */
43611 /* The GNU C library defines this for functions which it implements
43612 to always fail with ENOSYS. Some functions are actually named
43613 something starting with __ and the normal name is an alias. */
43614 #if defined __stub_strptime || defined __stub___strptime
43621 return strptime ();
43626 rm -f conftest.$ac_objext conftest$ac_exeext
43627 if { (ac_try="$ac_link"
43628 case "(($ac_try" in
43629 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
43630 *) ac_try_echo
=$ac_try;;
43632 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43633 (eval "$ac_link") 2>conftest.er1
43635 grep -v '^ *+' conftest.er1
>conftest.err
43637 cat conftest.err
>&5
43638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43639 (exit $ac_status); } && {
43640 test -z "$ac_c_werror_flag" ||
43641 test ! -s conftest.err
43642 } && test -s conftest
$ac_exeext &&
43643 $as_test_x conftest
$ac_exeext; then
43644 ac_cv_func_strptime
=yes
43646 echo "$as_me: failed program was:" >&5
43647 sed 's/^/| /' conftest.
$ac_ext >&5
43649 ac_cv_func_strptime
=no
43652 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
43653 conftest
$ac_exeext conftest.
$ac_ext
43655 { echo "$as_me:$LINENO: result: $ac_cv_func_strptime" >&5
43656 echo "${ECHO_T}$ac_cv_func_strptime" >&6; }
43658 if test "$ac_cv_func_strptime" = "yes"; then
43659 { echo "$as_me:$LINENO: checking for strptime declaration" >&5
43660 echo $ECHO_N "checking for strptime declaration... $ECHO_C" >&6; }
43661 if test "${wx_cv_func_strptime_decl+set}" = set; then
43662 echo $ECHO_N "(cached) $ECHO_C" >&6
43666 ac_cpp
='$CXXCPP $CPPFLAGS'
43667 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43668 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43669 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
43671 cat >conftest.
$ac_ext <<_ACEOF
43674 cat confdefs.h
>>conftest.
$ac_ext
43675 cat >>conftest.
$ac_ext <<_ACEOF
43676 /* end confdefs.h. */
43685 strptime("foo", "bar", &t);
43691 rm -f conftest.
$ac_objext
43692 if { (ac_try
="$ac_compile"
43693 case "(($ac_try" in
43694 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
43695 *) ac_try_echo=$ac_try;;
43697 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43698 (eval "$ac_compile") 2>conftest.er1
43700 grep -v '^ *+' conftest.er1 >conftest.err
43702 cat conftest.err >&5
43703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43704 (exit $ac_status); } && {
43705 test -z "$ac_cxx_werror_flag" ||
43706 test ! -s conftest.err
43707 } && test -s conftest.$ac_objext; then
43708 wx_cv_func_strptime_decl=yes
43710 echo "$as_me: failed program was:" >&5
43711 sed 's/^/| /' conftest.$ac_ext >&5
43713 wx_cv_func_strptime_decl=no
43717 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43719 ac_cpp='$CPP $CPPFLAGS'
43720 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43721 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43722 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43727 { echo "$as_me:$LINENO: result: $wx_cv_func_strptime_decl" >&5
43728 echo "${ECHO_T}$wx_cv_func_strptime_decl" >&6; }
43730 if test "$wx_cv_func_strptime_decl" = "yes"; then
43731 cat >>confdefs.h <<\_ACEOF
43732 #define HAVE_STRPTIME_DECL 1
43736 wx_strptime_decl="extern char *strptime(const char *, const char *, struct tm *);"
43738 if test "$ac_cv_func_strptime" = "yes"; then
43739 { echo "$as_me:$LINENO: checking whether strptime() fails on invalid strings" >&5
43740 echo $ECHO_N "checking whether strptime() fails on invalid strings... $ECHO_C" >&6; }
43741 if test "${wx_cv_func_strptime_ok+set}" = set; then
43742 echo $ECHO_N "(cached) $ECHO_C" >&6
43744 if test "$cross_compiling" = yes; then
43745 wx_cv_func_strptime_ok=no
43748 cat >conftest.$ac_ext <<_ACEOF
43750 #include <stdlib.h>
43752 #include "confdefs.h"
43759 return !!strptime("", "%x", &t);
43763 rm -f conftest$ac_exeext
43764 if { (ac_try="$ac_link"
43765 case "(($ac_try" in
43766 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
43767 *) ac_try_echo
=$ac_try;;
43769 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43770 (eval "$ac_link") 2>&5
43772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43773 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
43774 { (case "(($ac_try" in
43775 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
43776 *) ac_try_echo=$ac_try;;
43778 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43779 (eval "$ac_try") 2>&5
43781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43782 (exit $ac_status); }; }; then
43783 wx_cv_func_strptime_ok=yes
43785 echo "$as_me: program exited with status $ac_status" >&5
43786 echo "$as_me: failed program was:" >&5
43787 sed 's/^/| /' conftest.$ac_ext >&5
43789 ( exit $ac_status )
43790 wx_cv_func_strptime_ok=no
43792 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
43798 { echo "$as_me:$LINENO: result: $wx_cv_func_strptime_ok" >&5
43799 echo "${ECHO_T}$wx_cv_func_strptime_ok" >&6; }
43801 if test "$wx_cv_func_strptime_ok" = "yes"; then
43802 cat >>confdefs.h <<\_ACEOF
43803 #define HAVE_STRPTIME 1
43809 { echo "$as_me:$LINENO: checking for timezone variable in <time.h>" >&5
43810 echo $ECHO_N "checking for timezone variable in <time.h>... $ECHO_C" >&6; }
43811 if test "${wx_cv_var_timezone+set}" = set; then
43812 echo $ECHO_N "(cached) $ECHO_C" >&6
43816 ac_cpp='$CXXCPP $CPPFLAGS'
43817 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43818 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43819 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43821 cat >conftest.$ac_ext <<_ACEOF
43824 cat confdefs.h >>conftest.$ac_ext
43825 cat >>conftest.$ac_ext <<_ACEOF
43826 /* end confdefs.h. */
43841 rm -f conftest.$ac_objext
43842 if { (ac_try="$ac_compile"
43843 case "(($ac_try" in
43844 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
43845 *) ac_try_echo
=$ac_try;;
43847 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43848 (eval "$ac_compile") 2>conftest.er1
43850 grep -v '^ *+' conftest.er1
>conftest.err
43852 cat conftest.err
>&5
43853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43854 (exit $ac_status); } && {
43855 test -z "$ac_cxx_werror_flag" ||
43856 test ! -s conftest.err
43857 } && test -s conftest.
$ac_objext; then
43859 wx_cv_var_timezone
=timezone
43862 echo "$as_me: failed program was:" >&5
43863 sed 's/^/| /' conftest.
$ac_ext >&5
43866 cat >conftest.
$ac_ext <<_ACEOF
43869 cat confdefs.h
>>conftest.
$ac_ext
43870 cat >>conftest.
$ac_ext <<_ACEOF
43871 /* end confdefs.h. */
43886 rm -f conftest.
$ac_objext
43887 if { (ac_try
="$ac_compile"
43888 case "(($ac_try" in
43889 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
43890 *) ac_try_echo=$ac_try;;
43892 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43893 (eval "$ac_compile") 2>conftest.er1
43895 grep -v '^ *+' conftest.er1 >conftest.err
43897 cat conftest.err >&5
43898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43899 (exit $ac_status); } && {
43900 test -z "$ac_cxx_werror_flag" ||
43901 test ! -s conftest.err
43902 } && test -s conftest.$ac_objext; then
43904 wx_cv_var_timezone=_timezone
43907 echo "$as_me: failed program was:" >&5
43908 sed 's/^/| /' conftest.$ac_ext >&5
43911 cat >conftest.$ac_ext <<_ACEOF
43914 cat confdefs.h >>conftest.$ac_ext
43915 cat >>conftest.$ac_ext <<_ACEOF
43916 /* end confdefs.h. */
43931 rm -f conftest.$ac_objext
43932 if { (ac_try="$ac_compile"
43933 case "(($ac_try" in
43934 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
43935 *) ac_try_echo
=$ac_try;;
43937 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43938 (eval "$ac_compile") 2>conftest.er1
43940 grep -v '^ *+' conftest.er1
>conftest.err
43942 cat conftest.err
>&5
43943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43944 (exit $ac_status); } && {
43945 test -z "$ac_cxx_werror_flag" ||
43946 test ! -s conftest.err
43947 } && test -s conftest.
$ac_objext; then
43949 wx_cv_var_timezone
=__timezone
43952 echo "$as_me: failed program was:" >&5
43953 sed 's/^/| /' conftest.
$ac_ext >&5
43956 if test "$USE_DOS" = 0 ; then
43957 { echo "$as_me:$LINENO: WARNING: no timezone variable" >&5
43958 echo "$as_me: WARNING: no timezone variable" >&2;}
43964 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
43969 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
43974 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
43976 ac_cpp
='$CPP $CPPFLAGS'
43977 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43978 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43979 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
43984 { echo "$as_me:$LINENO: result: $wx_cv_var_timezone" >&5
43985 echo "${ECHO_T}$wx_cv_var_timezone" >&6; }
43987 if test "x$wx_cv_var_timezone" != x
; then
43988 cat >>confdefs.h
<<_ACEOF
43989 #define WX_TIMEZONE $wx_cv_var_timezone
43995 for ac_func
in localtime
43997 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43998 { echo "$as_me:$LINENO: checking for $ac_func" >&5
43999 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
44000 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
44001 echo $ECHO_N "(cached) $ECHO_C" >&6
44003 cat >conftest.
$ac_ext <<_ACEOF
44006 cat confdefs.h
>>conftest.
$ac_ext
44007 cat >>conftest.
$ac_ext <<_ACEOF
44008 /* end confdefs.h. */
44009 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44010 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44011 #define $ac_func innocuous_$ac_func
44013 /* System header to define __stub macros and hopefully few prototypes,
44014 which can conflict with char $ac_func (); below.
44015 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44016 <limits.h> exists even on freestanding compilers. */
44019 # include <limits.h>
44021 # include <assert.h>
44026 /* Override any GCC internal prototype to avoid an error.
44027 Use char because int might match the return type of a GCC
44028 builtin and then its argument prototype would still apply. */
44033 /* The GNU C library defines this for functions which it implements
44034 to always fail with ENOSYS. Some functions are actually named
44035 something starting with __ and the normal name is an alias. */
44036 #if defined __stub_$ac_func || defined __stub___$ac_func
44043 return $ac_func ();
44048 rm -f conftest.
$ac_objext conftest
$ac_exeext
44049 if { (ac_try
="$ac_link"
44050 case "(($ac_try" in
44051 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
44052 *) ac_try_echo=$ac_try;;
44054 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44055 (eval "$ac_link") 2>conftest.er1
44057 grep -v '^ *+' conftest.er1 >conftest.err
44059 cat conftest.err >&5
44060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44061 (exit $ac_status); } && {
44062 test -z "$ac_c_werror_flag" ||
44063 test ! -s conftest.err
44064 } && test -s conftest$ac_exeext &&
44065 $as_test_x conftest$ac_exeext; then
44066 eval "$as_ac_var=yes"
44068 echo "$as_me: failed program was:" >&5
44069 sed 's/^/| /' conftest.$ac_ext >&5
44071 eval "$as_ac_var=no"
44074 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
44075 conftest$ac_exeext conftest.$ac_ext
44077 ac_res=`eval echo '${'$as_ac_var'}'`
44078 { echo "$as_me:$LINENO: result: $ac_res" >&5
44079 echo "${ECHO_T}$ac_res" >&6; }
44080 if test `eval echo '${'$as_ac_var'}'` = yes; then
44081 cat >>confdefs.h <<_ACEOF
44082 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44089 if test "$ac_cv_func_localtime" = "yes"; then
44090 { echo "$as_me:$LINENO: checking for tm_gmtoff in struct tm" >&5
44091 echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6; }
44092 if test "${wx_cv_struct_tm_has_gmtoff+set}" = set; then
44093 echo $ECHO_N "(cached) $ECHO_C" >&6
44096 cat >conftest.$ac_ext <<_ACEOF
44099 cat confdefs.h >>conftest.$ac_ext
44100 cat >>conftest.$ac_ext <<_ACEOF
44101 /* end confdefs.h. */
44116 rm -f conftest.$ac_objext
44117 if { (ac_try="$ac_compile"
44118 case "(($ac_try" in
44119 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
44120 *) ac_try_echo
=$ac_try;;
44122 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44123 (eval "$ac_compile") 2>conftest.er1
44125 grep -v '^ *+' conftest.er1
>conftest.err
44127 cat conftest.err
>&5
44128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44129 (exit $ac_status); } && {
44130 test -z "$ac_c_werror_flag" ||
44131 test ! -s conftest.err
44132 } && test -s conftest.
$ac_objext; then
44134 wx_cv_struct_tm_has_gmtoff
=yes
44137 echo "$as_me: failed program was:" >&5
44138 sed 's/^/| /' conftest.
$ac_ext >&5
44140 wx_cv_struct_tm_has_gmtoff
=no
44144 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
44147 { echo "$as_me:$LINENO: result: $wx_cv_struct_tm_has_gmtoff" >&5
44148 echo "${ECHO_T}$wx_cv_struct_tm_has_gmtoff" >&6; }
44151 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
44152 cat >>confdefs.h
<<\_ACEOF
44153 #define WX_GMTOFF_IN_TM 1
44158 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS typetest"
44162 if test "$wxUSE_SOCKETS" = "yes"; then
44163 if test "$wxUSE_MGL" = 1; then
44164 { echo "$as_me:$LINENO: WARNING: wxSocket not yet supported under MGL... disabled" >&5
44165 echo "$as_me: WARNING: wxSocket not yet supported under MGL... disabled" >&2;}
44170 if test "$wxUSE_SOCKETS" = "yes"; then
44171 if test "$TOOLKIT" != "MSW"; then
44172 { echo "$as_me:$LINENO: checking for socket" >&5
44173 echo $ECHO_N "checking for socket... $ECHO_C" >&6; }
44174 if test "${ac_cv_func_socket+set}" = set; then
44175 echo $ECHO_N "(cached) $ECHO_C" >&6
44177 cat >conftest.
$ac_ext <<_ACEOF
44180 cat confdefs.h
>>conftest.
$ac_ext
44181 cat >>conftest.
$ac_ext <<_ACEOF
44182 /* end confdefs.h. */
44183 /* Define socket to an innocuous variant, in case <limits.h> declares socket.
44184 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44185 #define socket innocuous_socket
44187 /* System header to define __stub macros and hopefully few prototypes,
44188 which can conflict with char socket (); below.
44189 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44190 <limits.h> exists even on freestanding compilers. */
44193 # include <limits.h>
44195 # include <assert.h>
44200 /* Override any GCC internal prototype to avoid an error.
44201 Use char because int might match the return type of a GCC
44202 builtin and then its argument prototype would still apply. */
44207 /* The GNU C library defines this for functions which it implements
44208 to always fail with ENOSYS. Some functions are actually named
44209 something starting with __ and the normal name is an alias. */
44210 #if defined __stub_socket || defined __stub___socket
44222 rm -f conftest.
$ac_objext conftest
$ac_exeext
44223 if { (ac_try
="$ac_link"
44224 case "(($ac_try" in
44225 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
44226 *) ac_try_echo=$ac_try;;
44228 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44229 (eval "$ac_link") 2>conftest.er1
44231 grep -v '^ *+' conftest.er1 >conftest.err
44233 cat conftest.err >&5
44234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44235 (exit $ac_status); } && {
44236 test -z "$ac_c_werror_flag" ||
44237 test ! -s conftest.err
44238 } && test -s conftest$ac_exeext &&
44239 $as_test_x conftest$ac_exeext; then
44240 ac_cv_func_socket=yes
44242 echo "$as_me: failed program was:" >&5
44243 sed 's/^/| /' conftest.$ac_ext >&5
44245 ac_cv_func_socket=no
44248 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
44249 conftest$ac_exeext conftest.$ac_ext
44251 { echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5
44252 echo "${ECHO_T}$ac_cv_func_socket" >&6; }
44253 if test $ac_cv_func_socket = yes; then
44257 { echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
44258 echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6; }
44259 if test "${ac_cv_lib_socket_socket+set}" = set; then
44260 echo $ECHO_N "(cached) $ECHO_C" >&6
44262 ac_check_lib_save_LIBS=$LIBS
44263 LIBS="-lsocket $LIBS"
44264 cat >conftest.$ac_ext <<_ACEOF
44267 cat confdefs.h >>conftest.$ac_ext
44268 cat >>conftest.$ac_ext <<_ACEOF
44269 /* end confdefs.h. */
44271 /* Override any GCC internal prototype to avoid an error.
44272 Use char because int might match the return type of a GCC
44273 builtin and then its argument prototype would still apply. */
44286 rm -f conftest.$ac_objext conftest$ac_exeext
44287 if { (ac_try="$ac_link"
44288 case "(($ac_try" in
44289 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
44290 *) ac_try_echo
=$ac_try;;
44292 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44293 (eval "$ac_link") 2>conftest.er1
44295 grep -v '^ *+' conftest.er1
>conftest.err
44297 cat conftest.err
>&5
44298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44299 (exit $ac_status); } && {
44300 test -z "$ac_c_werror_flag" ||
44301 test ! -s conftest.err
44302 } && test -s conftest
$ac_exeext &&
44303 $as_test_x conftest
$ac_exeext; then
44304 ac_cv_lib_socket_socket
=yes
44306 echo "$as_me: failed program was:" >&5
44307 sed 's/^/| /' conftest.
$ac_ext >&5
44309 ac_cv_lib_socket_socket
=no
44312 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
44313 conftest
$ac_exeext conftest.
$ac_ext
44314 LIBS
=$ac_check_lib_save_LIBS
44316 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
44317 echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6; }
44318 if test $ac_cv_lib_socket_socket = yes; then
44319 if test "$INET_LINK" != " -lsocket"; then
44320 INET_LINK
="$INET_LINK -lsocket"
44324 { echo "$as_me:$LINENO: WARNING: socket library not found - sockets will be disabled" >&5
44325 echo "$as_me: WARNING: socket library not found - sockets will be disabled" >&2;}
44338 if test "$wxUSE_SOCKETS" = "yes" ; then
44339 if test "$TOOLKIT" != "MSW"; then
44340 { echo "$as_me:$LINENO: checking what is the type of the third argument of getsockname" >&5
44341 echo $ECHO_N "checking what is the type of the third argument of getsockname... $ECHO_C" >&6; }
44342 if test "${wx_cv_type_getsockname3+set}" = set; then
44343 echo $ECHO_N "(cached) $ECHO_C" >&6
44347 ac_cpp
='$CXXCPP $CPPFLAGS'
44348 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44349 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44350 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
44352 cat >conftest.
$ac_ext <<_ACEOF
44355 cat confdefs.h
>>conftest.
$ac_ext
44356 cat >>conftest.
$ac_ext <<_ACEOF
44357 /* end confdefs.h. */
44359 #include <sys/types.h>
44360 #include <sys/socket.h>
44367 getsockname(0, 0, &len);
44373 rm -f conftest.
$ac_objext
44374 if { (ac_try
="$ac_compile"
44375 case "(($ac_try" in
44376 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
44377 *) ac_try_echo=$ac_try;;
44379 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44380 (eval "$ac_compile") 2>conftest.er1
44382 grep -v '^ *+' conftest.er1 >conftest.err
44384 cat conftest.err >&5
44385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44386 (exit $ac_status); } && {
44387 test -z "$ac_cxx_werror_flag" ||
44388 test ! -s conftest.err
44389 } && test -s conftest.$ac_objext; then
44390 wx_cv_type_getsockname3=socklen_t
44392 echo "$as_me: failed program was:" >&5
44393 sed 's/^/| /' conftest.$ac_ext >&5
44396 CFLAGS_OLD="$CFLAGS"
44397 if test "$GCC" = yes ; then
44398 CFLAGS="-Werror $CFLAGS"
44401 cat >conftest.$ac_ext <<_ACEOF
44404 cat confdefs.h >>conftest.$ac_ext
44405 cat >>conftest.$ac_ext <<_ACEOF
44406 /* end confdefs.h. */
44408 #include <sys/types.h>
44409 #include <sys/socket.h>
44416 getsockname(0, 0, &len);
44422 rm -f conftest.$ac_objext
44423 if { (ac_try="$ac_compile"
44424 case "(($ac_try" in
44425 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
44426 *) ac_try_echo
=$ac_try;;
44428 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44429 (eval "$ac_compile") 2>conftest.er1
44431 grep -v '^ *+' conftest.er1
>conftest.err
44433 cat conftest.err
>&5
44434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44435 (exit $ac_status); } && {
44436 test -z "$ac_cxx_werror_flag" ||
44437 test ! -s conftest.err
44438 } && test -s conftest.
$ac_objext; then
44439 wx_cv_type_getsockname3
=size_t
44441 echo "$as_me: failed program was:" >&5
44442 sed 's/^/| /' conftest.
$ac_ext >&5
44444 cat >conftest.
$ac_ext <<_ACEOF
44447 cat confdefs.h
>>conftest.
$ac_ext
44448 cat >>conftest.
$ac_ext <<_ACEOF
44449 /* end confdefs.h. */
44451 #include <sys/types.h>
44452 #include <sys/socket.h>
44459 getsockname(0, 0, &len);
44465 rm -f conftest.
$ac_objext
44466 if { (ac_try
="$ac_compile"
44467 case "(($ac_try" in
44468 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
44469 *) ac_try_echo=$ac_try;;
44471 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44472 (eval "$ac_compile") 2>conftest.er1
44474 grep -v '^ *+' conftest.er1 >conftest.err
44476 cat conftest.err >&5
44477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44478 (exit $ac_status); } && {
44479 test -z "$ac_cxx_werror_flag" ||
44480 test ! -s conftest.err
44481 } && test -s conftest.$ac_objext; then
44482 wx_cv_type_getsockname3=int
44484 echo "$as_me: failed program was:" >&5
44485 sed 's/^/| /' conftest.$ac_ext >&5
44487 wx_cv_type_getsockname3=unknown
44491 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44495 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44497 CFLAGS="$CFLAGS_OLD"
44502 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44504 ac_cpp='$CPP $CPPFLAGS'
44505 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44506 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44507 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44511 { echo "$as_me:$LINENO: result: $wx_cv_type_getsockname3" >&5
44512 echo "${ECHO_T}$wx_cv_type_getsockname3" >&6; }
44514 if test "$wx_cv_type_getsockname3" = "unknown"; then
44516 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
44517 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
44519 cat >>confdefs.h <<_ACEOF
44520 #define WX_SOCKLEN_T $wx_cv_type_getsockname3
44524 { echo "$as_me:$LINENO: checking what is the type of the fifth argument of getsockopt" >&5
44525 echo $ECHO_N "checking what is the type of the fifth argument of getsockopt... $ECHO_C" >&6; }
44526 if test "${wx_cv_type_getsockopt5+set}" = set; then
44527 echo $ECHO_N "(cached) $ECHO_C" >&6
44531 ac_cpp='$CXXCPP $CPPFLAGS'
44532 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44533 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44534 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44536 cat >conftest.$ac_ext <<_ACEOF
44539 cat confdefs.h >>conftest.$ac_ext
44540 cat >>conftest.$ac_ext <<_ACEOF
44541 /* end confdefs.h. */
44543 #include <sys/types.h>
44544 #include <sys/socket.h>
44551 getsockopt(0, 0, 0, 0, &len);
44557 rm -f conftest.$ac_objext
44558 if { (ac_try="$ac_compile"
44559 case "(($ac_try" in
44560 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
44561 *) ac_try_echo
=$ac_try;;
44563 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44564 (eval "$ac_compile") 2>conftest.er1
44566 grep -v '^ *+' conftest.er1
>conftest.err
44568 cat conftest.err
>&5
44569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44570 (exit $ac_status); } && {
44571 test -z "$ac_cxx_werror_flag" ||
44572 test ! -s conftest.err
44573 } && test -s conftest.
$ac_objext; then
44574 wx_cv_type_getsockopt5
=socklen_t
44576 echo "$as_me: failed program was:" >&5
44577 sed 's/^/| /' conftest.
$ac_ext >&5
44580 cat >conftest.
$ac_ext <<_ACEOF
44583 cat confdefs.h
>>conftest.
$ac_ext
44584 cat >>conftest.
$ac_ext <<_ACEOF
44585 /* end confdefs.h. */
44587 #include <sys/types.h>
44588 #include <sys/socket.h>
44595 getsockopt(0, 0, 0, 0, &len);
44601 rm -f conftest.
$ac_objext
44602 if { (ac_try
="$ac_compile"
44603 case "(($ac_try" in
44604 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
44605 *) ac_try_echo=$ac_try;;
44607 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44608 (eval "$ac_compile") 2>conftest.er1
44610 grep -v '^ *+' conftest.er1 >conftest.err
44612 cat conftest.err >&5
44613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44614 (exit $ac_status); } && {
44615 test -z "$ac_cxx_werror_flag" ||
44616 test ! -s conftest.err
44617 } && test -s conftest.$ac_objext; then
44618 wx_cv_type_getsockopt5=size_t
44620 echo "$as_me: failed program was:" >&5
44621 sed 's/^/| /' conftest.$ac_ext >&5
44623 cat >conftest.$ac_ext <<_ACEOF
44626 cat confdefs.h >>conftest.$ac_ext
44627 cat >>conftest.$ac_ext <<_ACEOF
44628 /* end confdefs.h. */
44630 #include <sys/types.h>
44631 #include <sys/socket.h>
44638 getsockopt(0, 0, 0, 0, &len);
44644 rm -f conftest.$ac_objext
44645 if { (ac_try="$ac_compile"
44646 case "(($ac_try" in
44647 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
44648 *) ac_try_echo
=$ac_try;;
44650 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44651 (eval "$ac_compile") 2>conftest.er1
44653 grep -v '^ *+' conftest.er1
>conftest.err
44655 cat conftest.err
>&5
44656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44657 (exit $ac_status); } && {
44658 test -z "$ac_cxx_werror_flag" ||
44659 test ! -s conftest.err
44660 } && test -s conftest.
$ac_objext; then
44661 wx_cv_type_getsockopt5
=int
44663 echo "$as_me: failed program was:" >&5
44664 sed 's/^/| /' conftest.
$ac_ext >&5
44666 wx_cv_type_getsockopt5
=unknown
44670 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
44674 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
44679 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
44681 ac_cpp
='$CPP $CPPFLAGS'
44682 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44683 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44684 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
44688 { echo "$as_me:$LINENO: result: $wx_cv_type_getsockopt5" >&5
44689 echo "${ECHO_T}$wx_cv_type_getsockopt5" >&6; }
44691 if test "$wx_cv_type_getsockopt5" = "unknown"; then
44693 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
44694 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
44696 cat >>confdefs.h
<<_ACEOF
44697 #define SOCKOPTLEN_T $wx_cv_type_getsockopt5
44704 if test "$wxUSE_SOCKETS" = "yes" ; then
44705 if test "$wxUSE_IPV6" = "yes"; then
44706 { echo "$as_me:$LINENO: checking whether we have sockaddr_in6" >&5
44707 echo $ECHO_N "checking whether we have sockaddr_in6... $ECHO_C" >&6; }
44708 if test "${wx_cv_type_sockaddr_in6+set}" = set; then
44709 echo $ECHO_N "(cached) $ECHO_C" >&6
44712 cat >conftest.
$ac_ext <<_ACEOF
44715 cat confdefs.h
>>conftest.
$ac_ext
44716 cat >>conftest.
$ac_ext <<_ACEOF
44717 /* end confdefs.h. */
44719 #include <sys/types.h>
44720 #include <sys/socket.h>
44721 #include <netinet/in.h>
44727 struct sockaddr_in6 sa6;
44733 rm -f conftest.
$ac_objext
44734 if { (ac_try
="$ac_compile"
44735 case "(($ac_try" in
44736 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
44737 *) ac_try_echo=$ac_try;;
44739 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44740 (eval "$ac_compile") 2>conftest.er1
44742 grep -v '^ *+' conftest.er1 >conftest.err
44744 cat conftest.err >&5
44745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44746 (exit $ac_status); } && {
44747 test -z "$ac_c_werror_flag" ||
44748 test ! -s conftest.err
44749 } && test -s conftest.$ac_objext; then
44750 wx_cv_type_sockaddr_in6=yes
44752 echo "$as_me: failed program was:" >&5
44753 sed 's/^/| /' conftest.$ac_ext >&5
44755 wx_cv_type_sockaddr_in6=no
44759 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44763 { echo "$as_me:$LINENO: result: $wx_cv_type_sockaddr_in6" >&5
44764 echo "${ECHO_T}$wx_cv_type_sockaddr_in6" >&6; }
44766 if test "$wx_cv_type_sockaddr_in6"="yes"; then
44767 cat >>confdefs.h <<\_ACEOF
44768 #define wxUSE_IPV6 1
44772 { echo "$as_me:$LINENO: WARNING: IPv6 support not available... disabled" >&5
44773 echo "$as_me: WARNING: IPv6 support not available... disabled" >&2;}
44777 cat >>confdefs.h <<\_ACEOF
44778 #define wxUSE_SOCKETS 1
44781 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sockets"
44784 if test "$wxUSE_PROTOCOL" = "yes"; then
44785 if test "$wxUSE_SOCKETS" != "yes"; then
44786 { echo "$as_me:$LINENO: WARNING: Protocol classes require sockets... disabled" >&5
44787 echo "$as_me: WARNING: Protocol classes require sockets... disabled" >&2;}
44792 if test "$wxUSE_PROTOCOL" = "yes"; then
44793 cat >>confdefs.h <<\_ACEOF
44794 #define wxUSE_PROTOCOL 1
44798 if test "$wxUSE_PROTOCOL_HTTP" = "yes"; then
44799 cat >>confdefs.h <<\_ACEOF
44800 #define wxUSE_PROTOCOL_HTTP 1
44804 if test "$wxUSE_PROTOCOL_FTP" = "yes"; then
44805 cat >>confdefs.h <<\_ACEOF
44806 #define wxUSE_PROTOCOL_FTP 1
44810 if test "$wxUSE_PROTOCOL_FILE" = "yes"; then
44811 cat >>confdefs.h <<\_ACEOF
44812 #define wxUSE_PROTOCOL_FILE 1
44817 if test "$wxUSE_FS_INET" = "yes"; then
44818 { echo "$as_me:$LINENO: WARNING: HTTP filesystem require protocol classes... disabled" >&5
44819 echo "$as_me: WARNING: HTTP filesystem require protocol classes... disabled" >&2;}
44824 if test "$wxUSE_URL" = "yes"; then
44825 if test "$wxUSE_PROTOCOL" != "yes"; then
44826 { echo "$as_me:$LINENO: WARNING: wxURL class requires wxProtocol... disabled" >&5
44827 echo "$as_me: WARNING: wxURL class requires wxProtocol... disabled" >&2;}
44830 if test "$wxUSE_URL" = "yes"; then
44831 cat >>confdefs.h <<\_ACEOF
44832 #define wxUSE_URL 1
44838 if test "$wxUSE_VARIANT" = "yes"; then
44839 cat >>confdefs.h <<\_ACEOF
44840 #define wxUSE_VARIANT 1
44845 if test "$wxUSE_FS_INET" = "yes"; then
44846 cat >>confdefs.h <<\_ACEOF
44847 #define wxUSE_FS_INET 1
44853 if test "$wxUSE_GUI" = "yes" -a "$wxUSE_JOYSTICK" = "yes"; then
44856 if test "$TOOLKIT" = "MSW"; then
44859 elif test "$TOOLKIT" = "MAC" -o "$TOOLKIT" = "COCOA"; then
44860 if test "$USE_DARWIN" = 1; then
44861 { echo "$as_me:$LINENO: checking headers have declarations needed for joystick support" >&5
44862 echo $ECHO_N "checking headers have declarations needed for joystick support... $ECHO_C" >&6; }
44864 ac_cpp='$CXXCPP $CPPFLAGS'
44865 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44866 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44867 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44869 cat >conftest.$ac_ext <<_ACEOF
44872 cat confdefs.h >>conftest.$ac_ext
44873 cat >>conftest.$ac_ext <<_ACEOF
44874 /* end confdefs.h. */
44875 #include <IOKit/hid/IOHIDLib.h>
44879 IOHIDQueueInterface *qi = NULL;
44880 IOHIDCallbackFunction cb = NULL;
44881 qi->setEventCallout(NULL, cb, NULL, NULL);
44886 rm -f conftest.$ac_objext
44887 if { (ac_try="$ac_compile"
44888 case "(($ac_try" in
44889 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
44890 *) ac_try_echo
=$ac_try;;
44892 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44893 (eval "$ac_compile") 2>conftest.er1
44895 grep -v '^ *+' conftest.er1
>conftest.err
44897 cat conftest.err
>&5
44898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44899 (exit $ac_status); } && {
44900 test -z "$ac_cxx_werror_flag" ||
44901 test ! -s conftest.err
44902 } && test -s conftest.
$ac_objext; then
44906 echo "$as_me: failed program was:" >&5
44907 sed 's/^/| /' conftest.
$ac_ext >&5
44912 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
44914 ac_cpp
='$CPP $CPPFLAGS'
44915 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44916 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44917 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
44919 { echo "$as_me:$LINENO: result: $wxUSE_JOYSTICK" >&5
44920 echo "${ECHO_T}$wxUSE_JOYSTICK" >&6; }
44924 if test "$wxUSE_MGL" != 1; then
44926 for ac_header
in linux
/joystick.h
44928 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
44929 { echo "$as_me:$LINENO: checking for $ac_header" >&5
44930 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
44931 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
44932 echo $ECHO_N "(cached) $ECHO_C" >&6
44934 cat >conftest.
$ac_ext <<_ACEOF
44937 cat confdefs.h
>>conftest.
$ac_ext
44938 cat >>conftest.
$ac_ext <<_ACEOF
44939 /* end confdefs.h. */
44940 $ac_includes_default
44942 #include <$ac_header>
44944 rm -f conftest.
$ac_objext
44945 if { (ac_try
="$ac_compile"
44946 case "(($ac_try" in
44947 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
44948 *) ac_try_echo=$ac_try;;
44950 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44951 (eval "$ac_compile") 2>conftest.er1
44953 grep -v '^ *+' conftest.er1 >conftest.err
44955 cat conftest.err >&5
44956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44957 (exit $ac_status); } && {
44958 test -z "$ac_c_werror_flag" ||
44959 test ! -s conftest.err
44960 } && test -s conftest.$ac_objext; then
44961 eval "$as_ac_Header=yes"
44963 echo "$as_me: failed program was:" >&5
44964 sed 's/^/| /' conftest.$ac_ext >&5
44966 eval "$as_ac_Header=no"
44969 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44971 ac_res=`eval echo '${'$as_ac_Header'}'`
44972 { echo "$as_me:$LINENO: result: $ac_res" >&5
44973 echo "${ECHO_T}$ac_res" >&6; }
44974 if test `eval echo '${'$as_ac_Header'}'` = yes; then
44975 cat >>confdefs.h <<_ACEOF
44976 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
44986 if test "$wxUSE_JOYSTICK" = "yes"; then
44987 cat >>confdefs.h <<\_ACEOF
44988 #define wxUSE_JOYSTICK 1
44991 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS joytest"
44993 { echo "$as_me:$LINENO: WARNING: Joystick not supported by this system... disabled" >&5
44994 echo "$as_me: WARNING: Joystick not supported by this system... disabled" >&2;}
45000 if test "$wxUSE_FONTENUM" = "yes" ; then
45001 cat >>confdefs.h <<\_ACEOF
45002 #define wxUSE_FONTENUM 1
45007 if test "$wxUSE_FONTMAP" = "yes" ; then
45008 cat >>confdefs.h <<\_ACEOF
45009 #define wxUSE_FONTMAP 1
45014 if test "$wxUSE_UNICODE" = "yes" ; then
45015 cat >>confdefs.h <<\_ACEOF
45016 #define wxUSE_UNICODE 1
45020 if test "$USE_WIN32" != 1; then
45021 wxUSE_UNICODE_MSLU=no
45024 if test "$USE_WIN32" = 1 -a "$wxUSE_UNICODE_MSLU" = "yes"; then
45025 { echo "$as_me:$LINENO: checking for main in -lunicows" >&5
45026 echo $ECHO_N "checking for main in -lunicows... $ECHO_C" >&6; }
45027 if test "${ac_cv_lib_unicows_main+set}" = set; then
45028 echo $ECHO_N "(cached) $ECHO_C" >&6
45030 ac_check_lib_save_LIBS=$LIBS
45031 LIBS="-lunicows $LIBS"
45032 cat >conftest.$ac_ext <<_ACEOF
45035 cat confdefs.h >>conftest.$ac_ext
45036 cat >>conftest.$ac_ext <<_ACEOF
45037 /* end confdefs.h. */
45048 rm -f conftest.$ac_objext conftest$ac_exeext
45049 if { (ac_try="$ac_link"
45050 case "(($ac_try" in
45051 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
45052 *) ac_try_echo
=$ac_try;;
45054 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45055 (eval "$ac_link") 2>conftest.er1
45057 grep -v '^ *+' conftest.er1
>conftest.err
45059 cat conftest.err
>&5
45060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45061 (exit $ac_status); } && {
45062 test -z "$ac_c_werror_flag" ||
45063 test ! -s conftest.err
45064 } && test -s conftest
$ac_exeext &&
45065 $as_test_x conftest
$ac_exeext; then
45066 ac_cv_lib_unicows_main
=yes
45068 echo "$as_me: failed program was:" >&5
45069 sed 's/^/| /' conftest.
$ac_ext >&5
45071 ac_cv_lib_unicows_main
=no
45074 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
45075 conftest
$ac_exeext conftest.
$ac_ext
45076 LIBS
=$ac_check_lib_save_LIBS
45078 { echo "$as_me:$LINENO: result: $ac_cv_lib_unicows_main" >&5
45079 echo "${ECHO_T}$ac_cv_lib_unicows_main" >&6; }
45080 if test $ac_cv_lib_unicows_main = yes; then
45082 cat >>confdefs.h
<<\_ACEOF
45083 #define wxUSE_UNICODE_MSLU 1
45089 { echo "$as_me:$LINENO: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
45090 Applications will only run on Windows NT/2000/XP!" >&5
45091 echo "$as_me: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
45092 Applications will only run on Windows NT/2000/XP!" >&2;}
45093 wxUSE_UNICODE_MSLU
=no
45100 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_UTF8" = "yes"; then
45101 cat >>confdefs.h
<<\_ACEOF
45102 #define wxUSE_UNICODE_UTF8 1
45106 if test "$wxUSE_UNICODE_UTF8_LOCALE" = "yes"; then
45107 cat >>confdefs.h
<<\_ACEOF
45108 #define wxUSE_UTF8_LOCALE_ONLY 1
45115 if test "$wxUSE_CONSTRAINTS" = "yes"; then
45116 cat >>confdefs.h
<<\_ACEOF
45117 #define wxUSE_CONSTRAINTS 1
45120 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS layout"
45123 if test "$wxUSE_MDI" = "yes"; then
45124 cat >>confdefs.h
<<\_ACEOF
45125 #define wxUSE_MDI 1
45129 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
45130 cat >>confdefs.h
<<\_ACEOF
45131 #define wxUSE_MDI_ARCHITECTURE 1
45134 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS mdi"
45138 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
45139 cat >>confdefs.h
<<\_ACEOF
45140 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
45143 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS docview"
45144 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
45145 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS docvwmdi"
45149 if test "$wxUSE_HELP" = "yes"; then
45150 cat >>confdefs.h
<<\_ACEOF
45151 #define wxUSE_HELP 1
45154 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS help"
45156 if test "$wxUSE_MSW" = 1; then
45157 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
45158 cat >>confdefs.h
<<\_ACEOF
45159 #define wxUSE_MS_HTML_HELP 1
45165 if test "$wxUSE_WXHTML_HELP" = "yes"; then
45166 if test "$wxUSE_HTML" = "yes"; then
45167 cat >>confdefs.h
<<\_ACEOF
45168 #define wxUSE_WXHTML_HELP 1
45172 { echo "$as_me:$LINENO: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&5
45173 echo "$as_me: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&2;}
45174 wxUSE_WXHTML_HELP
=no
45179 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
45180 if test "$wxUSE_CONSTRAINTS" != "yes"; then
45181 { echo "$as_me:$LINENO: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&5
45182 echo "$as_me: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&2;}
45184 cat >>confdefs.h
<<\_ACEOF
45185 #define wxUSE_PRINTING_ARCHITECTURE 1
45189 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS printing"
45192 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
45193 cat >>confdefs.h
<<\_ACEOF
45194 #define wxUSE_POSTSCRIPT 1
45199 cat >>confdefs.h
<<\_ACEOF
45200 #define wxUSE_AFM_FOR_POSTSCRIPT 1
45204 if test "$wxUSE_SVG" = "yes"; then
45205 cat >>confdefs.h
<<\_ACEOF
45206 #define wxUSE_SVG 1
45212 if test "$wxUSE_METAFILE" = "yes"; then
45213 if test "$wxUSE_MSW" != 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_PM" != 1; then
45214 { echo "$as_me:$LINENO: WARNING: wxMetafile is not available on this system... disabled" >&5
45215 echo "$as_me: WARNING: wxMetafile is not available on this system... disabled" >&2;}
45221 if test "$USE_WIN32" = 1 -a \
( "$wxUSE_DATAOBJ" = "yes" \
45222 -o "$wxUSE_CLIPBOARD" = "yes" \
45223 -o "$wxUSE_OLE" = "yes" \
45224 -o "$wxUSE_DRAG_AND_DROP" = "yes" \
) ; then
45225 { echo "$as_me:$LINENO: checking for ole2.h" >&5
45226 echo $ECHO_N "checking for ole2.h... $ECHO_C" >&6; }
45227 if test "${ac_cv_header_ole2_h+set}" = set; then
45228 echo $ECHO_N "(cached) $ECHO_C" >&6
45230 cat >conftest.
$ac_ext <<_ACEOF
45233 cat confdefs.h
>>conftest.
$ac_ext
45234 cat >>conftest.
$ac_ext <<_ACEOF
45235 /* end confdefs.h. */
45240 rm -f conftest.
$ac_objext
45241 if { (ac_try
="$ac_compile"
45242 case "(($ac_try" in
45243 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
45244 *) ac_try_echo=$ac_try;;
45246 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45247 (eval "$ac_compile") 2>conftest.er1
45249 grep -v '^ *+' conftest.er1 >conftest.err
45251 cat conftest.err >&5
45252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45253 (exit $ac_status); } && {
45254 test -z "$ac_c_werror_flag" ||
45255 test ! -s conftest.err
45256 } && test -s conftest.$ac_objext; then
45257 ac_cv_header_ole2_h=yes
45259 echo "$as_me: failed program was:" >&5
45260 sed 's/^/| /' conftest.$ac_ext >&5
45262 ac_cv_header_ole2_h=no
45265 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45267 { echo "$as_me:$LINENO: result: $ac_cv_header_ole2_h" >&5
45268 echo "${ECHO_T}$ac_cv_header_ole2_h" >&6; }
45272 if test "$ac_cv_header_ole2_h" = "yes" ; then
45273 if test "$GCC" = yes ; then
45274 { echo "$as_me:$LINENO: checking if g++ requires -fvtable-thunks" >&5
45275 echo $ECHO_N "checking if g++ requires -fvtable-thunks... $ECHO_C" >&6; }
45276 cat >conftest.$ac_ext <<_ACEOF
45279 cat confdefs.h >>conftest.$ac_ext
45280 cat >>conftest.$ac_ext <<_ACEOF
45281 /* end confdefs.h. */
45282 #include <windows.h>
45292 rm -f conftest.$ac_objext
45293 if { (ac_try="$ac_compile"
45294 case "(($ac_try" in
45295 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
45296 *) ac_try_echo
=$ac_try;;
45298 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45299 (eval "$ac_compile") 2>conftest.er1
45301 grep -v '^ *+' conftest.er1
>conftest.err
45303 cat conftest.err
>&5
45304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45305 (exit $ac_status); } && {
45306 test -z "$ac_c_werror_flag" ||
45307 test ! -s conftest.err
45308 } && test -s conftest.
$ac_objext; then
45309 { echo "$as_me:$LINENO: result: no" >&5
45310 echo "${ECHO_T}no" >&6; }
45312 echo "$as_me: failed program was:" >&5
45313 sed 's/^/| /' conftest.
$ac_ext >&5
45315 { echo "$as_me:$LINENO: result: yes" >&5
45316 echo "${ECHO_T}yes" >&6; }
45317 WXCONFIG_CXXFLAGS
="$WXCONFIG_CXXFLAGS -fvtable-thunks"
45320 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
45321 LIBS
=" -lrpcrt4 -loleaut32 -lole32 -luuid$LIBS"
45322 if test "$wxUSE_OLE" = "yes" ; then
45323 cat >>confdefs.h
<<\_ACEOF
45324 #define wxUSE_OLE 1
45327 cat >>confdefs.h
<<\_ACEOF
45328 #define wxUSE_OLE_AUTOMATION 1
45331 cat >>confdefs.h
<<\_ACEOF
45332 #define wxUSE_ACTIVEX 1
45335 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS oleauto"
45339 if test "$wxUSE_DATAOBJ" = "yes" ; then
45340 cat >>confdefs.h
<<\_ACEOF
45341 #define wxUSE_DATAOBJ 1
45346 { echo "$as_me:$LINENO: WARNING: Some features disabled because OLE headers not found" >&5
45347 echo "$as_me: WARNING: Some features disabled because OLE headers not found" >&2;}
45350 wxUSE_DRAG_AND_DROP
=no
45355 if test "$wxUSE_METAFILE" = "yes"; then
45356 cat >>confdefs.h
<<\_ACEOF
45357 #define wxUSE_METAFILE 1
45361 cat >>confdefs.h
<<\_ACEOF
45362 #define wxUSE_ENH_METAFILE 1
45368 if test "$wxUSE_IPC" = "yes"; then
45369 if test "$wxUSE_SOCKETS" != "yes" -a "$USE_WIN32" != 1; then
45370 { echo "$as_me:$LINENO: WARNING: wxWidgets IPC classes require sockets... disabled" >&5
45371 echo "$as_me: WARNING: wxWidgets IPC classes require sockets... disabled" >&2;}
45375 if test "$wxUSE_IPC" = "yes"; then
45376 cat >>confdefs.h
<<\_ACEOF
45377 #define wxUSE_IPC 1
45380 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS ipc"
45384 if test "$wxUSE_DATAOBJ" = "yes"; then
45385 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = 1; then
45386 { echo "$as_me:$LINENO: WARNING: wxDataObject not yet supported under $TOOLKIT... disabled" >&5
45387 echo "$as_me: WARNING: wxDataObject not yet supported under $TOOLKIT... disabled" >&2;}
45390 cat >>confdefs.h
<<\_ACEOF
45391 #define wxUSE_DATAOBJ 1
45396 { echo "$as_me:$LINENO: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&5
45397 echo "$as_me: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&2;}
45399 wxUSE_DRAG_AND_DROP
=no
45402 if test "$wxUSE_CLIPBOARD" = "yes"; then
45403 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = 1; then
45404 { echo "$as_me:$LINENO: WARNING: Clipboard not yet supported under $TOOLKIT... disabled" >&5
45405 echo "$as_me: WARNING: Clipboard not yet supported under $TOOLKIT... disabled" >&2;}
45409 if test "$wxUSE_CLIPBOARD" = "yes"; then
45410 cat >>confdefs.h
<<\_ACEOF
45411 #define wxUSE_CLIPBOARD 1
45417 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
45418 if test "$wxUSE_GTK" = 1; then
45419 if test "$WXGTK12" != 1; then
45420 { echo "$as_me:$LINENO: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&5
45421 echo "$as_me: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&2;}
45422 wxUSE_DRAG_AND_DROP
=no
45426 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_X11" = 1 -o "$wxUSE_MGL" = 1 -o \
45427 "$wxUSE_DFB" = 1; then
45428 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under $TOOLKIT... disabled" >&5
45429 echo "$as_me: WARNING: Drag and drop not yet supported under $TOOLKIT... disabled" >&2;}
45430 wxUSE_DRAG_AND_DROP
=no
45433 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
45434 cat >>confdefs.h
<<\_ACEOF
45435 #define wxUSE_DRAG_AND_DROP 1
45442 if test "$wxUSE_DRAG_AND_DROP" = "yes" -o "$wxUSE_CLIPBOARD" = "yes"; then
45443 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dnd"
45446 if test "$wxUSE_SPLINES" = "yes" ; then
45447 cat >>confdefs.h
<<\_ACEOF
45448 #define wxUSE_SPLINES 1
45453 if test "$wxUSE_MOUSEWHEEL" = "yes" ; then
45454 cat >>confdefs.h
<<\_ACEOF
45455 #define wxUSE_MOUSEWHEEL 1
45462 if test "$wxUSE_CONTROLS" = "yes"; then
45466 if test "$wxUSE_ACCEL" = "yes"; then
45467 cat >>confdefs.h
<<\_ACEOF
45468 #define wxUSE_ACCEL 1
45474 if test "$wxUSE_ANIMATIONCTRL" = "yes"; then
45475 cat >>confdefs.h
<<\_ACEOF
45476 #define wxUSE_ANIMATIONCTRL 1
45480 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS animate"
45483 if test "$wxUSE_BUTTON" = "yes"; then
45484 cat >>confdefs.h
<<\_ACEOF
45485 #define wxUSE_BUTTON 1
45491 if test "$wxUSE_BMPBUTTON" = "yes"; then
45492 cat >>confdefs.h
<<\_ACEOF
45493 #define wxUSE_BMPBUTTON 1
45499 if test "$wxUSE_CALCTRL" = "yes"; then
45500 cat >>confdefs.h
<<\_ACEOF
45501 #define wxUSE_CALENDARCTRL 1
45505 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS calendar"
45508 if test "$wxUSE_CARET" = "yes"; then
45509 cat >>confdefs.h
<<\_ACEOF
45510 #define wxUSE_CARET 1
45514 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS caret"
45517 if test "$wxUSE_COLLPANE" = "yes"; then
45518 cat >>confdefs.h
<<\_ACEOF
45519 #define wxUSE_COLLPANE 1
45523 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS collpane"
45526 if test "$wxUSE_COMBOBOX" = "yes"; then
45527 cat >>confdefs.h
<<\_ACEOF
45528 #define wxUSE_COMBOBOX 1
45534 if test "$wxUSE_COMBOCTRL" = "yes"; then
45535 cat >>confdefs.h
<<\_ACEOF
45536 #define wxUSE_COMBOCTRL 1
45542 if test "$wxUSE_CHOICE" = "yes"; then
45543 cat >>confdefs.h
<<\_ACEOF
45544 #define wxUSE_CHOICE 1
45550 if test "$wxUSE_CHOICEBOOK" = "yes"; then
45551 cat >>confdefs.h
<<\_ACEOF
45552 #define wxUSE_CHOICEBOOK 1
45558 if test "$wxUSE_CHECKBOX" = "yes"; then
45559 cat >>confdefs.h
<<\_ACEOF
45560 #define wxUSE_CHECKBOX 1
45566 if test "$wxUSE_CHECKLST" = "yes"; then
45567 cat >>confdefs.h
<<\_ACEOF
45568 #define wxUSE_CHECKLISTBOX 1
45574 if test "$wxUSE_COLOURPICKERCTRL" = "yes"; then
45575 cat >>confdefs.h
<<\_ACEOF
45576 #define wxUSE_COLOURPICKERCTRL 1
45582 if test "$wxUSE_DATEPICKCTRL" = "yes"; then
45583 cat >>confdefs.h
<<\_ACEOF
45584 #define wxUSE_DATEPICKCTRL 1
45590 if test "$wxUSE_DIRPICKERCTRL" = "yes"; then
45591 cat >>confdefs.h
<<\_ACEOF
45592 #define wxUSE_DIRPICKERCTRL 1
45598 if test "$wxUSE_FILECTRL" = "yes"; then
45599 cat >>confdefs.h
<<\_ACEOF
45600 #define wxUSE_FILECTRL 1
45606 if test "$wxUSE_FILEPICKERCTRL" = "yes"; then
45607 cat >>confdefs.h
<<\_ACEOF
45608 #define wxUSE_FILEPICKERCTRL 1
45614 if test "$wxUSE_FONTPICKERCTRL" = "yes"; then
45615 cat >>confdefs.h
<<\_ACEOF
45616 #define wxUSE_FONTPICKERCTRL 1
45622 if test "$wxUSE_DISPLAY" = "yes"; then
45623 if test "$wxUSE_DFB" = 1 -o "$wxUSE_MGL" = 1; then
45624 { echo "$as_me:$LINENO: WARNING: wxDisplay not yet supported under $TOOLKIT... disabled" >&5
45625 echo "$as_me: WARNING: wxDisplay not yet supported under $TOOLKIT... disabled" >&2;}
45628 cat >>confdefs.h
<<\_ACEOF
45629 #define wxUSE_DISPLAY 1
45632 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS display"
45636 if test "$wxUSE_DETECT_SM" = "yes"; then
45637 cat >>confdefs.h
<<\_ACEOF
45638 #define wxUSE_DETECT_SM 1
45643 if test "$wxUSE_GAUGE" = "yes"; then
45644 cat >>confdefs.h
<<\_ACEOF
45645 #define wxUSE_GAUGE 1
45651 if test "$wxUSE_GRID" = "yes"; then
45652 cat >>confdefs.h
<<\_ACEOF
45653 #define wxUSE_GRID 1
45657 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS grid"
45660 if test "$wxUSE_HYPERLINKCTRL" = "yes"; then
45661 cat >>confdefs.h
<<\_ACEOF
45662 #define wxUSE_HYPERLINKCTRL 1
45668 if test "$wxUSE_BITMAPCOMBOBOX" = "yes"; then
45669 cat >>confdefs.h
<<\_ACEOF
45670 #define wxUSE_BITMAPCOMBOBOX 1
45676 if test "$wxUSE_DATAVIEWCTRL" = "yes"; then
45677 cat >>confdefs.h
<<\_ACEOF
45678 #define wxUSE_DATAVIEWCTRL 1
45682 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dataview"
45685 if test "$wxUSE_IMAGLIST" = "yes"; then
45686 cat >>confdefs.h
<<\_ACEOF
45687 #define wxUSE_IMAGLIST 1
45692 if test "$wxUSE_LISTBOOK" = "yes"; then
45693 cat >>confdefs.h
<<\_ACEOF
45694 #define wxUSE_LISTBOOK 1
45700 if test "$wxUSE_LISTBOX" = "yes"; then
45701 cat >>confdefs.h
<<\_ACEOF
45702 #define wxUSE_LISTBOX 1
45708 if test "$wxUSE_LISTCTRL" = "yes"; then
45709 if test "$wxUSE_IMAGLIST" = "yes"; then
45710 cat >>confdefs.h
<<\_ACEOF
45711 #define wxUSE_LISTCTRL 1
45715 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS listctrl"
45717 { echo "$as_me:$LINENO: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&5
45718 echo "$as_me: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&2;}
45722 if test "$wxUSE_EDITABLELISTBOX" = "yes"; then
45723 cat >>confdefs.h
<<\_ACEOF
45724 #define wxUSE_EDITABLELISTBOX 1
45728 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS editlbox"
45731 if test "$wxUSE_NOTEBOOK" = "yes"; then
45732 cat >>confdefs.h
<<\_ACEOF
45733 #define wxUSE_NOTEBOOK 1
45737 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS notebook"
45740 if test "$wxUSE_NOTIFICATION_MESSAGE" = "yes"; then
45741 cat >>confdefs.h
<<\_ACEOF
45742 #define wxUSE_NOTIFICATION_MESSAGE 1
45747 if test "$wxUSE_ODCOMBOBOX" = "yes"; then
45748 cat >>confdefs.h
<<\_ACEOF
45749 #define wxUSE_ODCOMBOBOX 1
45753 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS combo"
45756 if test "$wxUSE_RADIOBOX" = "yes"; then
45757 cat >>confdefs.h
<<\_ACEOF
45758 #define wxUSE_RADIOBOX 1
45764 if test "$wxUSE_RADIOBTN" = "yes"; then
45765 cat >>confdefs.h
<<\_ACEOF
45766 #define wxUSE_RADIOBTN 1
45772 if test "$wxUSE_SASH" = "yes"; then
45773 cat >>confdefs.h
<<\_ACEOF
45774 #define wxUSE_SASH 1
45777 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sashtest"
45780 if test "$wxUSE_SCROLLBAR" = "yes"; then
45781 cat >>confdefs.h
<<\_ACEOF
45782 #define wxUSE_SCROLLBAR 1
45786 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS scroll scrollsub"
45789 if test "$wxUSE_SEARCHCTRL" = "yes"; then
45790 cat >>confdefs.h
<<\_ACEOF
45791 #define wxUSE_SEARCHCTRL 1
45797 if test "$wxUSE_SLIDER" = "yes"; then
45798 cat >>confdefs.h
<<\_ACEOF
45799 #define wxUSE_SLIDER 1
45805 if test "$wxUSE_SPINBTN" = "yes"; then
45806 cat >>confdefs.h
<<\_ACEOF
45807 #define wxUSE_SPINBTN 1
45813 if test "$wxUSE_SPINCTRL" = "yes"; then
45814 cat >>confdefs.h
<<\_ACEOF
45815 #define wxUSE_SPINCTRL 1
45821 if test "$wxUSE_SPLITTER" = "yes"; then
45822 cat >>confdefs.h
<<\_ACEOF
45823 #define wxUSE_SPLITTER 1
45826 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS splitter"
45829 if test "$wxUSE_STATBMP" = "yes"; then
45830 cat >>confdefs.h
<<\_ACEOF
45831 #define wxUSE_STATBMP 1
45837 if test "$wxUSE_STATBOX" = "yes"; then
45838 cat >>confdefs.h
<<\_ACEOF
45839 #define wxUSE_STATBOX 1
45845 if test "$wxUSE_STATTEXT" = "yes"; then
45846 cat >>confdefs.h
<<\_ACEOF
45847 #define wxUSE_STATTEXT 1
45853 if test "$wxUSE_STATLINE" = "yes"; then
45854 cat >>confdefs.h
<<\_ACEOF
45855 #define wxUSE_STATLINE 1
45861 if test "$wxUSE_STATUSBAR" = "yes"; then
45862 cat >>confdefs.h
<<\_ACEOF
45863 #define wxUSE_NATIVE_STATUSBAR 1
45866 cat >>confdefs.h
<<\_ACEOF
45867 #define wxUSE_STATUSBAR 1
45872 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS statbar"
45875 if test "$wxUSE_TAB_DIALOG" = "yes"; then
45876 cat >>confdefs.h
<<\_ACEOF
45877 #define wxUSE_TAB_DIALOG 1
45882 if test "$wxUSE_TEXTCTRL" = "yes"; then
45883 cat >>confdefs.h
<<\_ACEOF
45884 #define wxUSE_TEXTCTRL 1
45888 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS text"
45890 cat >>confdefs.h
<<\_ACEOF
45891 #define wxUSE_RICHEDIT 1
45894 cat >>confdefs.h
<<\_ACEOF
45895 #define wxUSE_RICHEDIT2 1
45900 if test "$wxUSE_TOGGLEBTN" = "yes"; then
45901 if test "$wxUSE_COCOA" = 1 ; then
45902 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&5
45903 echo "$as_me: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&2;}
45907 if test "$wxUSE_TOGGLEBTN" = "yes"; then
45908 cat >>confdefs.h
<<\_ACEOF
45909 #define wxUSE_TOGGLEBTN 1
45916 if test "$wxUSE_TOOLBAR" = "yes"; then
45917 cat >>confdefs.h
<<\_ACEOF
45918 #define wxUSE_TOOLBAR 1
45923 if test "$wxUSE_UNIVERSAL" = "yes"; then
45924 wxUSE_TOOLBAR_NATIVE
="no"
45926 wxUSE_TOOLBAR_NATIVE
="yes"
45927 cat >>confdefs.h
<<\_ACEOF
45928 #define wxUSE_TOOLBAR_NATIVE 1
45933 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS toolbar"
45936 if test "$wxUSE_TOOLTIPS" = "yes"; then
45937 if test "$wxUSE_MOTIF" = 1; then
45938 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet under Motif... disabled" >&5
45939 echo "$as_me: WARNING: wxTooltip not supported yet under Motif... disabled" >&2;}
45941 if test "$wxUSE_UNIVERSAL" = "yes"; then
45942 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&5
45943 echo "$as_me: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&2;}
45945 cat >>confdefs.h
<<\_ACEOF
45946 #define wxUSE_TOOLTIPS 1
45953 if test "$wxUSE_TREEBOOK" = "yes"; then
45954 cat >>confdefs.h
<<\_ACEOF
45955 #define wxUSE_TREEBOOK 1
45961 if test "$wxUSE_TOOLBOOK" = "yes"; then
45962 cat >>confdefs.h
<<\_ACEOF
45963 #define wxUSE_TOOLBOOK 1
45969 if test "$wxUSE_TREECTRL" = "yes"; then
45970 if test "$wxUSE_IMAGLIST" = "yes"; then
45971 cat >>confdefs.h
<<\_ACEOF
45972 #define wxUSE_TREECTRL 1
45976 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS treectrl"
45978 { echo "$as_me:$LINENO: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&5
45979 echo "$as_me: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&2;}
45983 if test "$wxUSE_POPUPWIN" = "yes"; then
45984 if test "$wxUSE_COCOA" = 1 ; then
45985 { echo "$as_me:$LINENO: WARNING: Popup window not yet supported under Mac OS X... disabled" >&5
45986 echo "$as_me: WARNING: Popup window not yet supported under Mac OS X... disabled" >&2;}
45988 if test "$wxUSE_PM" = 1; then
45989 { echo "$as_me:$LINENO: WARNING: wxPopupWindow not yet supported under PM... disabled" >&5
45990 echo "$as_me: WARNING: wxPopupWindow not yet supported under PM... disabled" >&2;}
45992 cat >>confdefs.h
<<\_ACEOF
45993 #define wxUSE_POPUPWIN 1
45996 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS popup"
46003 if test "$wxUSE_DIALUP_MANAGER" = "yes"; then
46004 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 -o "$wxUSE_MGL" = 1; then
46005 { echo "$as_me:$LINENO: WARNING: Dialup manager not supported on this platform... disabled" >&5
46006 echo "$as_me: WARNING: Dialup manager not supported on this platform... disabled" >&2;}
46008 cat >>confdefs.h
<<\_ACEOF
46009 #define wxUSE_DIALUP_MANAGER 1
46012 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dialup"
46016 if test "$wxUSE_TIPWINDOW" = "yes"; then
46017 if test "$wxUSE_PM" = 1; then
46018 { echo "$as_me:$LINENO: WARNING: wxTipWindow not yet supported under PM... disabled" >&5
46019 echo "$as_me: WARNING: wxTipWindow not yet supported under PM... disabled" >&2;}
46021 cat >>confdefs.h
<<\_ACEOF
46022 #define wxUSE_TIPWINDOW 1
46028 if test "$USES_CONTROLS" = 1; then
46029 cat >>confdefs.h
<<\_ACEOF
46030 #define wxUSE_CONTROLS 1
46036 if test "$wxUSE_ACCESSIBILITY" = "yes"; then
46037 cat >>confdefs.h
<<\_ACEOF
46038 #define wxUSE_ACCESSIBILITY 1
46041 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS access"
46044 if test "$wxUSE_DRAGIMAGE" = "yes"; then
46045 cat >>confdefs.h
<<\_ACEOF
46046 #define wxUSE_DRAGIMAGE 1
46049 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dragimag"
46052 if test "$wxUSE_EXCEPTIONS" = "yes"; then
46053 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
46054 { echo "$as_me:$LINENO: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&5
46055 echo "$as_me: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&2;}
46057 cat >>confdefs.h
<<\_ACEOF
46058 #define wxUSE_EXCEPTIONS 1
46061 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS except"
46066 if test "$wxUSE_HTML" = "yes"; then
46067 cat >>confdefs.h
<<\_ACEOF
46068 #define wxUSE_HTML 1
46072 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS html html/about html/help html/helpview html/printing html/test html/virtual html/widget html/zip htlbox"
46073 if test "$wxUSE_MAC" = 1; then
46074 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS html/htmlctrl"
46077 if test "$wxUSE_WEBKIT" = "yes"; then
46078 if test "$wxUSE_MAC" = 1 -a "$USE_DARWIN" = 1; then
46079 old_CPPFLAGS
="$CPPFLAGS"
46080 CPPFLAGS
="-x objective-c++ $CPPFLAGS"
46081 { echo "$as_me:$LINENO: checking for WebKit/HIWebView.h" >&5
46082 echo $ECHO_N "checking for WebKit/HIWebView.h... $ECHO_C" >&6; }
46083 if test "${ac_cv_header_WebKit_HIWebView_h+set}" = set; then
46084 echo $ECHO_N "(cached) $ECHO_C" >&6
46086 cat >conftest.
$ac_ext <<_ACEOF
46089 cat confdefs.h
>>conftest.
$ac_ext
46090 cat >>conftest.
$ac_ext <<_ACEOF
46091 /* end confdefs.h. */
46093 #include <Carbon/Carbon.h>
46094 #include <WebKit/WebKit.h>
46097 #include <WebKit/HIWebView.h>
46099 rm -f conftest.
$ac_objext
46100 if { (ac_try
="$ac_compile"
46101 case "(($ac_try" in
46102 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
46103 *) ac_try_echo=$ac_try;;
46105 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46106 (eval "$ac_compile") 2>conftest.er1
46108 grep -v '^ *+' conftest.er1 >conftest.err
46110 cat conftest.err >&5
46111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46112 (exit $ac_status); } && {
46113 test -z "$ac_c_werror_flag" ||
46114 test ! -s conftest.err
46115 } && test -s conftest.$ac_objext; then
46116 ac_cv_header_WebKit_HIWebView_h=yes
46118 echo "$as_me: failed program was:" >&5
46119 sed 's/^/| /' conftest.$ac_ext >&5
46121 ac_cv_header_WebKit_HIWebView_h=no
46124 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46126 { echo "$as_me:$LINENO: result: $ac_cv_header_WebKit_HIWebView_h" >&5
46127 echo "${ECHO_T}$ac_cv_header_WebKit_HIWebView_h" >&6; }
46128 if test $ac_cv_header_WebKit_HIWebView_h = yes; then
46130 cat >>confdefs.h <<\_ACEOF
46131 #define wxUSE_WEBKIT 1
46134 WEBKIT_LINK="-framework WebKit"
46138 { echo "$as_me:$LINENO: WARNING: WebKit headers not found; disabling wxWebKit" >&5
46139 echo "$as_me: WARNING: WebKit headers not found; disabling wxWebKit" >&2;}
46145 CPPFLAGS="$old_CPPFLAGS"
46146 elif test "$wxUSE_COCOA" = 1; then
46147 cat >>confdefs.h <<\_ACEOF
46148 #define wxUSE_WEBKIT 1
46157 if test "$wxUSE_XRC" = "yes"; then
46158 if test "$wxUSE_XML" != "yes"; then
46159 { echo "$as_me:$LINENO: WARNING: XML library not built, XRC resources disabled" >&5
46160 echo "$as_me: WARNING: XML library not built, XRC resources disabled" >&2;}
46163 cat >>confdefs.h <<\_ACEOF
46164 #define wxUSE_XRC 1
46168 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS xrc"
46173 if test "$wxUSE_AUI" = "yes"; then
46174 cat >>confdefs.h <<\_ACEOF
46175 #define wxUSE_AUI 1
46179 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS aui"
46183 if test "$wxUSE_STC" = "yes"; then
46184 cat >>confdefs.h <<\_ACEOF
46185 #define wxUSE_STC 1
46189 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS stc"
46192 if test "$wxUSE_MENUS" = "yes"; then
46193 cat >>confdefs.h <<\_ACEOF
46194 #define wxUSE_MENUS 1
46197 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS menu"
46200 if test "$wxUSE_METAFILE" = "yes"; then
46201 cat >>confdefs.h <<\_ACEOF
46202 #define wxUSE_METAFILE 1
46207 if test "$wxUSE_MIMETYPE" = "yes"; then
46208 cat >>confdefs.h <<\_ACEOF
46209 #define wxUSE_MIMETYPE 1
46214 if test "$wxUSE_MINIFRAME" = "yes"; then
46215 cat >>confdefs.h <<\_ACEOF
46216 #define wxUSE_MINIFRAME 1
46221 if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
46222 cat >>confdefs.h <<\_ACEOF
46223 #define wxUSE_SYSTEM_OPTIONS 1
46228 if test "$wxUSE_TASKBARICON" = "yes"; then
46229 cat >>confdefs.h <<\_ACEOF
46230 #define wxUSE_TASKBARICON 1
46233 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS taskbar"
46237 if test "$wxUSE_VALIDATORS" = "yes"; then
46238 cat >>confdefs.h <<\_ACEOF
46239 #define wxUSE_VALIDATORS 1
46242 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS validate"
46245 if test "$wxUSE_PALETTE" = "yes" ; then
46246 if test "$wxUSE_DFB" = 1; then
46247 { echo "$as_me:$LINENO: WARNING: wxPalette not yet supported under DFB... disabled" >&5
46248 echo "$as_me: WARNING: wxPalette not yet supported under DFB... disabled" >&2;}
46251 cat >>confdefs.h <<\_ACEOF
46252 #define wxUSE_PALETTE 1
46258 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_MSLU" = "yes" ; then
46259 LIBS=" -lunicows $LIBS"
46263 if test "$wxUSE_RICHTEXT" = "yes"; then
46264 cat >>confdefs.h <<\_ACEOF
46265 #define wxUSE_RICHTEXT 1
46269 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS richtext"
46273 if test "$wxUSE_IMAGE" = "yes" ; then
46274 cat >>confdefs.h <<\_ACEOF
46275 #define wxUSE_IMAGE 1
46279 if test "$wxUSE_GIF" = "yes" ; then
46280 cat >>confdefs.h <<\_ACEOF
46281 #define wxUSE_GIF 1
46286 if test "$wxUSE_PCX" = "yes" ; then
46287 cat >>confdefs.h <<\_ACEOF
46288 #define wxUSE_PCX 1
46293 if test "$wxUSE_TGA" = "yes" ; then
46294 cat >>confdefs.h <<\_ACEOF
46295 #define wxUSE_TGA 1
46300 if test "$wxUSE_IFF" = "yes" ; then
46301 cat >>confdefs.h <<\_ACEOF
46302 #define wxUSE_IFF 1
46307 if test "$wxUSE_PNM" = "yes" ; then
46308 cat >>confdefs.h <<\_ACEOF
46309 #define wxUSE_PNM 1
46314 if test "$wxUSE_XPM" = "yes" ; then
46315 cat >>confdefs.h <<\_ACEOF
46316 #define wxUSE_XPM 1
46321 if test "$wxUSE_ICO_CUR" = "yes" ; then
46322 cat >>confdefs.h <<\_ACEOF
46323 #define wxUSE_ICO_CUR 1
46330 if test "$wxUSE_ABOUTDLG" = "yes"; then
46331 cat >>confdefs.h <<\_ACEOF
46332 #define wxUSE_ABOUTDLG 1
46337 if test "$wxUSE_CHOICEDLG" = "yes"; then
46338 cat >>confdefs.h <<\_ACEOF
46339 #define wxUSE_CHOICEDLG 1
46344 if test "$wxUSE_COLOURDLG" = "yes"; then
46345 cat >>confdefs.h <<\_ACEOF
46346 #define wxUSE_COLOURDLG 1
46351 if test "$wxUSE_FILEDLG" = "yes"; then
46352 cat >>confdefs.h <<\_ACEOF
46353 #define wxUSE_FILEDLG 1
46358 if test "$wxUSE_FINDREPLDLG" = "yes"; then
46359 cat >>confdefs.h <<\_ACEOF
46360 #define wxUSE_FINDREPLDLG 1
46365 if test "$wxUSE_FONTDLG" = "yes"; then
46366 cat >>confdefs.h <<\_ACEOF
46367 #define wxUSE_FONTDLG 1
46372 if test "$wxUSE_DIRDLG" = "yes"; then
46373 if test "$wxUSE_TREECTRL" != "yes"; then
46374 { echo "$as_me:$LINENO: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&5
46375 echo "$as_me: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&2;}
46377 cat >>confdefs.h <<\_ACEOF
46378 #define wxUSE_DIRDLG 1
46384 if test "$wxUSE_MSGDLG" = "yes"; then
46385 cat >>confdefs.h <<\_ACEOF
46386 #define wxUSE_MSGDLG 1
46391 if test "$wxUSE_NUMBERDLG" = "yes"; then
46392 cat >>confdefs.h <<\_ACEOF
46393 #define wxUSE_NUMBERDLG 1
46398 if test "$wxUSE_PROGRESSDLG" = "yes"; then
46399 if test "$wxUSE_CONSTRAINTS" != "yes"; then
46400 { echo "$as_me:$LINENO: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&5
46401 echo "$as_me: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&2;}
46403 cat >>confdefs.h <<\_ACEOF
46404 #define wxUSE_PROGRESSDLG 1
46410 if test "$wxUSE_SPLASH" = "yes"; then
46411 cat >>confdefs.h <<\_ACEOF
46412 #define wxUSE_SPLASH 1
46415 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splash"
46418 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
46419 if test "$wxUSE_CONSTRAINTS" != "yes"; then
46420 { echo "$as_me:$LINENO: WARNING: Startup tips requires constraints and won't be compiled without them" >&5
46421 echo "$as_me: WARNING: Startup tips requires constraints and won't be compiled without them" >&2;}
46423 cat >>confdefs.h <<\_ACEOF
46424 #define wxUSE_STARTUP_TIPS 1
46430 if test "$wxUSE_TEXTDLG" = "yes"; then
46431 cat >>confdefs.h <<\_ACEOF
46432 #define wxUSE_TEXTDLG 1
46437 if test "$wxUSE_WIZARDDLG" = "yes"; then
46438 cat >>confdefs.h <<\_ACEOF
46439 #define wxUSE_WIZARDDLG 1
46442 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS wizard"
46446 if test "$wxUSE_MSW" = 1 -o "$wxUSE_PM" = 1; then
46447 if test "$wxUSE_OWNER_DRAWN" = "yes"; then
46448 cat >>confdefs.h <<\_ACEOF
46449 #define wxUSE_OWNER_DRAWN 1
46456 if test "$wxUSE_MSW" = 1 ; then
46458 if test "$wxUSE_DC_CACHEING" = "yes"; then
46459 cat >>confdefs.h <<\_ACEOF
46460 #define wxUSE_DC_CACHEING 1
46465 if test "$wxUSE_DIB" = "yes"; then
46466 cat >>confdefs.h <<\_ACEOF
46467 #define wxUSE_WXDIB 1
46472 if test "$wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW" = "yes"; then
46473 cat >>confdefs.h <<\_ACEOF
46474 #define wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW 1
46479 if test "$wxUSE_UXTHEME" = "yes"; then
46480 cat >>confdefs.h <<\_ACEOF
46481 #define wxUSE_UXTHEME 1
46488 if test "$wxUSE_AUTOID_MANAGEMENT" = "yes"; then
46489 cat >>confdefs.h <<\_ACEOF
46490 #define wxUSE_AUTOID_MANAGEMENT 1
46495 if test "$USE_WIN32" = 1 ; then
46496 if test "$wxUSE_INICONF" = "yes"; then
46497 cat >>confdefs.h <<\_ACEOF
46498 #define wxUSE_INICONF 1
46503 if test "$wxUSE_REGKEY" = "yes"; then
46504 cat >>confdefs.h <<\_ACEOF
46505 #define wxUSE_REGKEY 1
46512 if test "$wxUSE_MAC" = 1; then
46513 wxUSE_GRAPHICS_CONTEXT="yes"
46516 if test "$wxUSE_GRAPHICS_CONTEXT" = "yes"; then
46517 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1; then
46518 cat >>confdefs.h <<\_ACEOF
46519 #define wxUSE_GRAPHICS_CONTEXT 1
46522 elif test "$wxUSE_GTK" != 1; then
46523 cat >>confdefs.h <<\_ACEOF
46524 #define wxUSE_GRAPHICS_CONTEXT 1
46530 { echo "$as_me:$LINENO: checking for CAIRO" >&5
46531 echo $ECHO_N "checking for CAIRO... $ECHO_C" >&6; }
46533 if test -n "$PKG_CONFIG"; then
46534 if test -n "$CAIRO_CFLAGS"; then
46535 pkg_cv_CAIRO_CFLAGS="$CAIRO_CFLAGS"
46537 if test -n "$PKG_CONFIG" && \
46538 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo\"") >&5
46539 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
46541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46542 (exit $ac_status); }; then
46543 pkg_cv_CAIRO_CFLAGS=`$PKG_CONFIG --cflags "cairo" 2>/dev
/null
`
46551 if test -n "$PKG_CONFIG"; then
46552 if test -n "$CAIRO_LIBS"; then
46553 pkg_cv_CAIRO_LIBS="$CAIRO_LIBS"
46555 if test -n "$PKG_CONFIG" && \
46556 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo\"") >&5
46557 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
46559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46560 (exit $ac_status); }; then
46561 pkg_cv_CAIRO_LIBS=`$PKG_CONFIG --libs "cairo" 2>/dev
/null
`
46572 if test $pkg_failed = yes; then
46574 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
46575 _pkg_short_errors_supported=yes
46577 _pkg_short_errors_supported=no
46579 if test $_pkg_short_errors_supported = yes; then
46580 CAIRO_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "cairo"`
46582 CAIRO_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "cairo"`
46584 # Put the nasty error message in config.log where it belongs
46585 echo "$CAIRO_PKG_ERRORS" >&5
46587 { echo "$as_me:$LINENO: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&5
46588 echo "$as_me: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&2;}
46590 elif test $pkg_failed = untried; then
46591 { echo "$as_me:$LINENO: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&5
46592 echo "$as_me: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&2;}
46595 CAIRO_CFLAGS=$pkg_cv_CAIRO_CFLAGS
46596 CAIRO_LIBS=$pkg_cv_CAIRO_LIBS
46597 { echo "$as_me:$LINENO: result: yes" >&5
46598 echo "${ECHO_T}yes" >&6; }
46599 cat >>confdefs.h <<\_ACEOF
46600 #define wxUSE_GRAPHICS_CONTEXT 1
46610 if test "$wxUSE_MEDIACTRL" = "yes"; then
46613 if test "$wxUSE_GTK" = 1; then
46614 wxUSE_GSTREAMER="no"
46616 GST_VERSION_MAJOR=0
46617 GST_VERSION_MINOR=10
46618 GST_VERSION=$GST_VERSION_MAJOR.$GST_VERSION_MINOR
46620 if test "$wxUSE_GSTREAMER8" = "no"; then
46623 { echo "$as_me:$LINENO: checking for GST" >&5
46624 echo $ECHO_N "checking for GST... $ECHO_C" >&6; }
46626 if test -n "$PKG_CONFIG"; then
46627 if test -n "$GST_CFLAGS"; then
46628 pkg_cv_GST_CFLAGS="$GST_CFLAGS"
46630 if test -n "$PKG_CONFIG" && \
46631 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION gconf-2.0\"") >&5
46632 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0") 2>&5
46634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46635 (exit $ac_status); }; then
46636 pkg_cv_GST_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" 2>/dev
/null
`
46644 if test -n "$PKG_CONFIG"; then
46645 if test -n "$GST_LIBS"; then
46646 pkg_cv_GST_LIBS="$GST_LIBS"
46648 if test -n "$PKG_CONFIG" && \
46649 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION gconf-2.0\"") >&5
46650 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0") 2>&5
46652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46653 (exit $ac_status); }; then
46654 pkg_cv_GST_LIBS=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" 2>/dev
/null
`
46665 if test $pkg_failed = yes; then
46667 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
46668 _pkg_short_errors_supported=yes
46670 _pkg_short_errors_supported=no
46672 if test $_pkg_short_errors_supported = yes; then
46673 GST_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
46675 GST_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
46677 # Put the nasty error message in config.log where it belongs
46678 echo "$GST_PKG_ERRORS" >&5
46681 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
46682 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
46683 GST_VERSION_MINOR=8
46686 elif test $pkg_failed = untried; then
46688 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
46689 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
46690 GST_VERSION_MINOR=8
46694 GST_CFLAGS=$pkg_cv_GST_CFLAGS
46695 GST_LIBS=$pkg_cv_GST_LIBS
46696 { echo "$as_me:$LINENO: result: yes" >&5
46697 echo "${ECHO_T}yes" >&6; }
46699 wxUSE_GSTREAMER="yes"
46700 GST_LIBS="$GST_LIBS -lgstinterfaces-$GST_VERSION"
46704 GST_VERSION_MINOR=8
46707 if test $GST_VERSION_MINOR = "8"; then
46708 GST_VERSION=$GST_VERSION_MAJOR.$GST_VERSION_MINOR
46711 { echo "$as_me:$LINENO: checking for GST" >&5
46712 echo $ECHO_N "checking for GST... $ECHO_C" >&6; }
46714 if test -n "$PKG_CONFIG"; then
46715 if test -n "$GST_CFLAGS"; then
46716 pkg_cv_GST_CFLAGS="$GST_CFLAGS"
46718 if test -n "$PKG_CONFIG" && \
46719 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
46720 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
46722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46723 (exit $ac_status); }; then
46724 pkg_cv_GST_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev
/null
`
46732 if test -n "$PKG_CONFIG"; then
46733 if test -n "$GST_LIBS"; then
46734 pkg_cv_GST_LIBS="$GST_LIBS"
46736 if test -n "$PKG_CONFIG" && \
46737 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
46738 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
46740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46741 (exit $ac_status); }; then
46742 pkg_cv_GST_LIBS=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev
/null
`
46753 if test $pkg_failed = yes; then
46755 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
46756 _pkg_short_errors_supported=yes
46758 _pkg_short_errors_supported=no
46760 if test $_pkg_short_errors_supported = yes; then
46761 GST_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
46763 GST_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
46765 # Put the nasty error message in config.log where it belongs
46766 echo "$GST_PKG_ERRORS" >&5
46769 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
46770 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
46772 elif test $pkg_failed = untried; then
46774 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
46775 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
46778 GST_CFLAGS=$pkg_cv_GST_CFLAGS
46779 GST_LIBS=$pkg_cv_GST_LIBS
46780 { echo "$as_me:$LINENO: result: yes" >&5
46781 echo "${ECHO_T}yes" >&6; }
46782 wxUSE_GSTREAMER="yes"
46787 if test "$wxUSE_GSTREAMER" = "yes"; then
46788 CPPFLAGS="$GST_CFLAGS $CPPFLAGS"
46789 EXTRALIBS_MEDIA="$GST_LIBS"
46791 cat >>confdefs.h <<\_ACEOF
46792 #define wxUSE_GSTREAMER 1
46800 if test $USE_MEDIA = 1; then
46801 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mediaplayer"
46802 cat >>confdefs.h <<\_ACEOF
46803 #define wxUSE_MEDIACTRL 1
46810 if test "$cross_compiling" = "yes"; then
46813 OSINFO=`uname
-s -r -m`
46814 OSINFO="\"$OSINFO\""
46817 cat >>confdefs.h <<_ACEOF
46818 #define WXWIN_OS_DESCRIPTION $OSINFO
46823 if test "x$prefix" != "xNONE"; then
46826 wxPREFIX=$ac_default_prefix
46829 cat >>confdefs.h <<_ACEOF
46830 #define wxINSTALL_PREFIX "$wxPREFIX"
46836 STD_BASE_LIBS="base"
46838 BUILT_WX_LIBS="base"
46839 ALL_WX_LIBS="xrc stc gl media qa html adv core xml net base"
46841 if test "$wxUSE_SOCKETS" = "yes" ; then
46842 STD_BASE_LIBS="net $STD_BASE_LIBS"
46843 BUILT_WX_LIBS="net $BUILT_WX_LIBS"
46845 if test "$wxUSE_XML" = "yes" ; then
46846 STD_BASE_LIBS="xml $STD_BASE_LIBS"
46847 BUILT_WX_LIBS="xml $BUILT_WX_LIBS"
46850 if test "$wxUSE_GUI" = "yes"; then
46851 STD_GUI_LIBS="adv core"
46852 BUILT_WX_LIBS="$STD_GUI_LIBS $BUILT_WX_LIBS"
46854 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
46855 STD_GUI_LIBS="qa $STD_GUI_LIBS"
46856 BUILT_WX_LIBS="qa $BUILT_WX_LIBS"
46858 if test "$wxUSE_HTML" = "yes" ; then
46859 STD_GUI_LIBS="html $STD_GUI_LIBS"
46860 BUILT_WX_LIBS="html $BUILT_WX_LIBS"
46862 if test "$wxUSE_MEDIACTRL" = "yes" ; then
46863 BUILT_WX_LIBS="media $BUILT_WX_LIBS"
46865 if test "$wxUSE_OPENGL" = "yes" ; then
46866 BUILT_WX_LIBS="gl $BUILT_WX_LIBS"
46868 if test "$wxUSE_AUI" = "yes" ; then
46869 BUILT_WX_LIBS="aui $BUILT_WX_LIBS"
46871 if test "$wxUSE_STC" = "yes" ; then
46872 BUILT_WX_LIBS="stc $BUILT_WX_LIBS"
46874 if test "$wxUSE_XRC" = "yes" ; then
46875 STD_GUI_LIBS="xrc $STD_GUI_LIBS"
46876 BUILT_WX_LIBS="xrc $BUILT_WX_LIBS"
46887 if test "$wxUSE_MAC" = 1 ; then
46888 if test "$wxUSE_SOUND" = "yes" || test "$wxUSE_MEDIACTRL" = "yes"; then
46889 if test "$USE_DARWIN" = 1; then
46890 LDFLAGS="$LDFLAGS -framework QuickTime"
46892 LDFLAGS="$LDFLAGS -lQuickTimeLib"
46895 if test "$USE_DARWIN" = 1; then
46896 LDFLAGS="$LDFLAGS -framework IOKit -framework Carbon -framework Cocoa -framework AudioToolbox -framework System"
46898 LDFLAGS="$LDFLAGS -lCarbonLib"
46901 if test "$wxUSE_COCOA" = 1 ; then
46902 LDFLAGS="$LDFLAGS -framework IOKit -framework Cocoa"
46903 if test "$wxUSE_MEDIACTRL" = "yes"; then
46904 LDFLAGS="$LDFLAGS -framework QuickTime"
46907 if test "$USE_DARWIN" = 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1 ; then
46908 LDFLAGS="$LDFLAGS -framework IOKit -framework CoreServices -framework System -framework ApplicationServices"
46911 LIBS="$ZLIB_LINK $POSIX4_LINK $INET_LINK $WCHAR_LINK $DL_LINK $LIBS"
46913 if test "$wxUSE_GUI" = "yes"; then
46916 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS artprov controls dialogs drawing \
46917 erase event exec font image minimal mobile \
46918 mobile/wxedit mobile/styles render \
46919 shaped svg taborder vscroll widgets"
46921 if test "$wxUSE_MONOLITHIC" != "yes"; then
46922 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS console"
46924 if test "$TOOLKIT" = "MSW"; then
46925 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS regtest"
46926 if test "$wxUSE_UNIVERSAL" != "yes"; then
46927 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ownerdrw nativdlg"
46930 if test "$TOOLKIT" = "PM" -a "$wxUSE_UNIVERSAL" != "yes"; then
46931 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ownerdrw"
46934 SAMPLES_SUBDIRS="console"
46935 if test "$wxUSE_SOCKETS" = "yes" ; then
46936 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sockets"
46938 if test "$wxUSE_IPC" = "yes" ; then
46939 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ipc"
46944 if test "x$INTELCC" = "xyes" ; then
46945 CWARNINGS="-Wall -wd810,869,981,1418,1572,1684"
46946 elif test "$GCC" = yes ; then
46947 CWARNINGS="-Wall -Wundef"
46950 if test "x$INTELCXX" = "xyes" ; then
46951 CXXWARNINGS="-Wall -wd279,383,444,810,869,981,1418,1419"
46952 elif test "$GXX" = yes ; then
46953 CXXWARNINGS="-Wall -Wundef -Wunused-parameter -Wno-ctor-dtor-privacy"
46957 WXCONFIG_CFLAGS=`echo $WXCONFIG_CFLAGS`
46958 WXCONFIG_CXXFLAGS=`echo $WXCONFIG_CFLAGS $WXCONFIG_CXXFLAGS`
46961 CPPFLAGS=`echo $WXCONFIG_CPPFLAGS \
46962 -I\\${wx_top_builddir}/lib
/wx
/include
/${TOOLCHAIN_FULLNAME} \
46963 -I\\${top_srcdir}/include
$TOOLKIT_INCLUDE \
46966 C_AND_CXX_FLAGS="$DEBUG_CFLAGS $PROFILE_FLAGS $OPTIMISE_CFLAGS"
46967 CFLAGS=`echo $WXCONFIG_CFLAGS $CWARNINGS $C_AND_CXX_FLAGS $CFLAGS `
46968 CXXFLAGS=`echo $WXCONFIG_CXXFLAGS $C_AND_CXX_FLAGS $CXXFLAGS `
46969 OBJCFLAGS=`echo $WXCONFIG_CFLAGS $CWARNINGS $C_AND_CXX_FLAGS $OBJCFLAGS `
46970 OBJCXXFLAGS=`echo $WXCONFIG_CXXFLAGS $C_AND_CXX_FLAGS $OBJCXXFLAGS `
46972 WXCONFIG_CPPFLAGS=`echo $WXCONFIG_CPPFLAGS $WXCONFIG_ONLY_CPPFLAGS`
46975 if test "x$MWCC" = "xyes"; then
46977 CC="$CC -cwd source -I-"
46978 CXX="$CXX -cwd source -I-"
46983 EXTRALIBS="$LDFLAGS $LDFLAGS_VERSIONING $LIBS $DMALLOC_LIBS"
46984 EXTRALIBS_XML="$EXPAT_LINK"
46985 EXTRALIBS_HTML="$MSPACK_LINK"
46986 EXTRALIBS_MEDIA="$GST_LIBS"
46987 EXTRALIBS_STC="-lwxscintilla${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX}"
46988 if test "$wxUSE_GUI" = "yes"; then
46989 EXTRALIBS_GUI=`echo $GUI_TK_LIBRARY $PNG_LINK $JPEG_LINK $TIFF_LINK $WEBKIT_LINK $EXTRALIBS_HILDON $EXTRALIBS_GNOMEVFS $EXTRALIBS_GNOMEPRINT`
46991 if test "$wxUSE_OPENGL" = "yes"; then
46992 EXTRALIBS_OPENGL="$LDFLAGS_GL $OPENGL_LIBS"
46995 LDFLAGS="$LDFLAGS $PROFILE_FLAGS"
46997 WXCONFIG_LIBS="$LIBS"
46999 if test "$wxUSE_REGEX" = "builtin" ; then
47000 wxconfig_3rdparty="regex${lib_unicode_suffix} $wxconfig_3rdparty"
47002 if test "$wxUSE_EXPAT" = "builtin" ; then
47003 wxconfig_3rdparty="expat $wxconfig_3rdparty"
47005 if test "$wxUSE_LIBTIFF" = "builtin" ; then
47006 wxconfig_3rdparty="tiff $wxconfig_3rdparty"
47008 if test "$wxUSE_LIBJPEG" = "builtin" ; then
47009 wxconfig_3rdparty="jpeg $wxconfig_3rdparty"
47011 if test "$wxUSE_LIBPNG" = "builtin" ; then
47012 wxconfig_3rdparty="png $wxconfig_3rdparty"
47014 if test "$wxUSE_ZLIB" = "builtin" ; then
47015 wxconfig_3rdparty="zlib $wxconfig_3rdparty"
47018 for i in $wxconfig_3rdparty ; do
47019 WXCONFIG_LIBS="-lwx${i}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX} $WXCONFIG_LIBS"
47023 if test "x$wxUSE_UNIVERSAL" = "xyes" ; then
47026 case "$wxUNIV_THEMES" in
47028 cat >>confdefs.h <<\_ACEOF
47029 #define wxUSE_ALL_THEMES 1
47035 for t in `echo $wxUNIV_THEMES | tr , ' ' | tr '[a-z]' '[A-Z]'`; do
47036 cat >>confdefs.h <<_ACEOF
47037 #define wxUSE_THEME_$t 1
47053 if test $wxUSE_MONOLITHIC = "yes" ; then
47059 if test $wxUSE_PLUGINS = "yes" ; then
47065 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
47071 if test $wxUSE_OFFICIAL_BUILD = "yes" ; then
47104 TOOLKIT_LOWERCASE=`echo $TOOLKIT | tr '[A-Z]' '[a-z]'`
47115 TOOLKIT_DESC="GTK+"
47116 if test "$WXGTK2" = 1; then
47117 TOOLKIT_DESC="$TOOLKIT_DESC 2"
47118 if test "$wxUSE_GTKPRINT" = "yes" ; then
47119 TOOLKIT_EXTRA="$TOOLKIT_EXTRA GTK+ printing";
47121 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
47122 TOOLKIT_EXTRA="$TOOLKIT_EXTRA gnomeprint";
47124 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
47125 TOOLKIT_EXTRA="$TOOLKIT_EXTRA gnomevfs"
47127 if test "$wxUSE_LIBHILDON" = "yes"; then
47128 TOOLKIT_EXTRA="$TOOLKIT_EXTRA hildon"
47131 if test "$TOOLKIT_EXTRA" != ""; then
47132 TOOLKIT_DESC="$TOOLKIT_DESC with support for `echo $TOOLKIT_EXTRA | tr -s ' '`"
47138 TOOLKIT_DESC=$TOOLKIT_LOWERCASE
47142 TOOLKIT_DESC="base only"
47146 if test "$wxUSE_WINE" = "yes"; then
47147 BAKEFILE_FORCE_PLATFORM=win32
47150 if test "$wxUSE_UNICODE" = yes -a "$GCC" = yes -a "$bk_use_pch" != no
47152 { echo "$as_me:$LINENO: checking for gcc precompiled header bug" >&5
47153 echo $ECHO_N "checking for gcc precompiled header bug... $ECHO_C" >&6; }
47154 if test "${wx_cv_gcc_pch_bug+set}" = set; then
47155 echo $ECHO_N "(cached) $ECHO_C" >&6
47158 echo '#include <stdio.h>
47159 const wchar_t test_var[] = L"awidetest";' > conftest.h
47161 echo '#include "conftest.h"
47164 printf("%ls", test_var);
47168 wx_cv_gcc_pch_bug="pch not supported"
47170 if $CXX conftest.h >/dev/null 2>&1
47174 if $CXX -o conftest$PROGRAM_EXT conftest.cpp >/dev/null 2>&1
47176 if tr -dc '[a-z]' < conftest$PROGRAM_EXT |
47177 grep awidetest >/dev/null
47179 wx_cv_gcc_pch_bug=no
47181 wx_cv_gcc_pch_bug=yes
47186 rm -f conftest.h conftest.gch conftest.cpp conftest$PROGRAM_EXT
47189 { echo "$as_me:$LINENO: result: $wx_cv_gcc_pch_bug" >&5
47190 echo "${ECHO_T}$wx_cv_gcc_pch_bug" >&6; }
47192 if test "$wx_cv_gcc_pch_bug" = yes; then
47203 if test "x$BAKEFILE_HOST" = "x"; then
47204 if test "x${host}" = "x" ; then
47205 { { echo "$as_me:$LINENO: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&5
47206 echo "$as_me: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&2;}
47207 { (exit 1); exit 1; }; }
47210 BAKEFILE_HOST="${host}"
47213 if test "x$BAKEFILE_CHECK_BASICS" != "xno"; then
47215 if test -n "$ac_tool_prefix"; then
47216 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
47217 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
47218 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47219 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47220 if test "${ac_cv_prog_RANLIB+set}" = set; then
47221 echo $ECHO_N "(cached) $ECHO_C" >&6
47223 if test -n "$RANLIB"; then
47224 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
47226 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47227 for as_dir in $PATH
47230 test -z "$as_dir" && as_dir=.
47231 for ac_exec_ext in '' $ac_executable_extensions; do
47232 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47233 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
47234 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47243 RANLIB=$ac_cv_prog_RANLIB
47244 if test -n "$RANLIB"; then
47245 { echo "$as_me:$LINENO: result: $RANLIB" >&5
47246 echo "${ECHO_T}$RANLIB" >&6; }
47248 { echo "$as_me:$LINENO: result: no" >&5
47249 echo "${ECHO_T}no" >&6; }
47254 if test -z "$ac_cv_prog_RANLIB"; then
47255 ac_ct_RANLIB=$RANLIB
47256 # Extract the first word of "ranlib", so it can be a program name with args.
47257 set dummy ranlib; ac_word=$2
47258 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47259 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47260 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
47261 echo $ECHO_N "(cached) $ECHO_C" >&6
47263 if test -n "$ac_ct_RANLIB"; then
47264 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
47266 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47267 for as_dir in $PATH
47270 test -z "$as_dir" && as_dir=.
47271 for ac_exec_ext in '' $ac_executable_extensions; do
47272 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47273 ac_cv_prog_ac_ct_RANLIB="ranlib"
47274 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47283 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
47284 if test -n "$ac_ct_RANLIB"; then
47285 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
47286 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
47288 { echo "$as_me:$LINENO: result: no" >&5
47289 echo "${ECHO_T}no" >&6; }
47292 if test "x$ac_ct_RANLIB" = x; then
47295 case $cross_compiling:$ac_tool_warned in
47297 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
47298 whose name does not start with the host triplet. If you think this
47299 configuration is useful to you, please write to autoconf@gnu.org." >&5
47300 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
47301 whose name does not start with the host triplet. If you think this
47302 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
47303 ac_tool_warned=yes ;;
47305 RANLIB=$ac_ct_RANLIB
47308 RANLIB="$ac_cv_prog_RANLIB"
47311 # Find a good install program. We prefer a C program (faster),
47312 # so one script is as good as another. But avoid the broken or
47313 # incompatible versions:
47314 # SysV /etc/install, /usr/sbin/install
47315 # SunOS /usr/etc/install
47316 # IRIX /sbin/install
47318 # AmigaOS /C/install, which installs bootblocks on floppy discs
47319 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
47320 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
47321 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
47322 # OS/2's system install, which has a completely different semantic
47323 # ./install, which can be erroneously created by make from ./install.sh.
47324 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
47325 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
47326 if test -z "$INSTALL"; then
47327 if test "${ac_cv_path_install+set}" = set; then
47328 echo $ECHO_N "(cached) $ECHO_C" >&6
47330 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47331 for as_dir in $PATH
47334 test -z "$as_dir" && as_dir=.
47335 # Account for people who put trailing slashes in PATH elements.
47337 ./ | .// | /cC/* | \
47338 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
47339 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
47342 # OSF1 and SCO ODT 3.0 have their own names for install.
47343 # Don't use installbsd from OSF since it installs stuff as root
47345 for ac_prog in ginstall scoinst install; do
47346 for ac_exec_ext in '' $ac_executable_extensions; do
47347 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
47348 if test $ac_prog = install &&
47349 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
47350 # AIX install. It has an incompatible calling convention.
47352 elif test $ac_prog = install &&
47353 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
47354 # program-specific install script used by HP pwplus--don't use.
47357 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
47370 if test "${ac_cv_path_install+set}" = set; then
47371 INSTALL=$ac_cv_path_install
47373 # As a last resort, use the slow shell script. Don't cache a
47374 # value for INSTALL within a source directory, because that will
47375 # break other packages using the cache if that directory is
47376 # removed, or if the value is a relative name.
47377 INSTALL=$ac_install_sh
47380 { echo "$as_me:$LINENO: result: $INSTALL" >&5
47381 echo "${ECHO_T}$INSTALL" >&6; }
47383 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
47384 # It thinks the first close brace ends the variable substitution.
47385 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
47387 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
47389 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
47391 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
47392 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
47394 if test "$LN_S" = "ln -s"; then
47395 { echo "$as_me:$LINENO: result: yes" >&5
47396 echo "${ECHO_T}yes" >&6; }
47398 { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
47399 echo "${ECHO_T}no, using $LN_S" >&6; }
47403 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
47404 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
47405 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
47406 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
47407 echo $ECHO_N "(cached) $ECHO_C" >&6
47409 cat >conftest.make <<\_ACEOF
47412 @echo '@@@%%%=$(MAKE)=@@@%%%'
47414 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
47415 case `${MAKE-make} -f conftest.
make 2>/dev
/null
` in
47416 *@@@%%%=?*=@@@%%%*)
47417 eval ac_cv_prog_make_${ac_make}_set=yes;;
47419 eval ac_cv_prog_make_${ac_make}_set=no;;
47421 rm -f conftest.make
47423 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
47424 { echo "$as_me:$LINENO: result: yes" >&5
47425 echo "${ECHO_T}yes" >&6; }
47428 { echo "$as_me:$LINENO: result: no" >&5
47429 echo "${ECHO_T}no" >&6; }
47430 SET_MAKE="MAKE=${MAKE-make}"
47435 if test "x$SUNCXX" = "xyes"; then
47437 AROPTIONS="-xar -o"
47439 elif test "x$SGICC" = "xyes"; then
47444 if test -n "$ac_tool_prefix"; then
47445 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
47446 set dummy ${ac_tool_prefix}ar; ac_word=$2
47447 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47448 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47449 if test "${ac_cv_prog_AR+set}" = set; then
47450 echo $ECHO_N "(cached) $ECHO_C" >&6
47452 if test -n "$AR"; then
47453 ac_cv_prog_AR="$AR" # Let the user override the test.
47455 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47456 for as_dir in $PATH
47459 test -z "$as_dir" && as_dir=.
47460 for ac_exec_ext in '' $ac_executable_extensions; do
47461 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47462 ac_cv_prog_AR="${ac_tool_prefix}ar"
47463 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47473 if test -n "$AR"; then
47474 { echo "$as_me:$LINENO: result: $AR" >&5
47475 echo "${ECHO_T}$AR" >&6; }
47477 { echo "$as_me:$LINENO: result: no" >&5
47478 echo "${ECHO_T}no" >&6; }
47483 if test -z "$ac_cv_prog_AR"; then
47485 # Extract the first word of "ar", so it can be a program name with args.
47486 set dummy ar; ac_word=$2
47487 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47488 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47489 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
47490 echo $ECHO_N "(cached) $ECHO_C" >&6
47492 if test -n "$ac_ct_AR"; then
47493 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
47495 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47496 for as_dir in $PATH
47499 test -z "$as_dir" && as_dir=.
47500 for ac_exec_ext in '' $ac_executable_extensions; do
47501 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47502 ac_cv_prog_ac_ct_AR="ar"
47503 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47512 ac_ct_AR=$ac_cv_prog_ac_ct_AR
47513 if test -n "$ac_ct_AR"; then
47514 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
47515 echo "${ECHO_T}$ac_ct_AR" >&6; }
47517 { echo "$as_me:$LINENO: result: no" >&5
47518 echo "${ECHO_T}no" >&6; }
47521 if test "x$ac_ct_AR" = x; then
47524 case $cross_compiling:$ac_tool_warned in
47526 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
47527 whose name does not start with the host triplet. If you think this
47528 configuration is useful to you, please write to autoconf@gnu.org." >&5
47529 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
47530 whose name does not start with the host triplet. If you think this
47531 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
47532 ac_tool_warned=yes ;;
47537 AR="$ac_cv_prog_AR"
47544 if test -n "$ac_tool_prefix"; then
47545 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
47546 set dummy ${ac_tool_prefix}strip; ac_word=$2
47547 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47548 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47549 if test "${ac_cv_prog_STRIP+set}" = set; then
47550 echo $ECHO_N "(cached) $ECHO_C" >&6
47552 if test -n "$STRIP"; then
47553 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
47555 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47556 for as_dir in $PATH
47559 test -z "$as_dir" && as_dir=.
47560 for ac_exec_ext in '' $ac_executable_extensions; do
47561 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47562 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
47563 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47572 STRIP=$ac_cv_prog_STRIP
47573 if test -n "$STRIP"; then
47574 { echo "$as_me:$LINENO: result: $STRIP" >&5
47575 echo "${ECHO_T}$STRIP" >&6; }
47577 { echo "$as_me:$LINENO: result: no" >&5
47578 echo "${ECHO_T}no" >&6; }
47583 if test -z "$ac_cv_prog_STRIP"; then
47585 # Extract the first word of "strip", so it can be a program name with args.
47586 set dummy strip; ac_word=$2
47587 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47588 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47589 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
47590 echo $ECHO_N "(cached) $ECHO_C" >&6
47592 if test -n "$ac_ct_STRIP"; then
47593 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
47595 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47596 for as_dir in $PATH
47599 test -z "$as_dir" && as_dir=.
47600 for ac_exec_ext in '' $ac_executable_extensions; do
47601 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47602 ac_cv_prog_ac_ct_STRIP="strip"
47603 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47612 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
47613 if test -n "$ac_ct_STRIP"; then
47614 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
47615 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
47617 { echo "$as_me:$LINENO: result: no" >&5
47618 echo "${ECHO_T}no" >&6; }
47621 if test "x$ac_ct_STRIP" = x; then
47624 case $cross_compiling:$ac_tool_warned in
47626 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
47627 whose name does not start with the host triplet. If you think this
47628 configuration is useful to you, please write to autoconf@gnu.org." >&5
47629 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
47630 whose name does not start with the host triplet. If you think this
47631 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
47632 ac_tool_warned=yes ;;
47637 STRIP="$ac_cv_prog_STRIP"
47640 if test -n "$ac_tool_prefix"; then
47641 # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args.
47642 set dummy ${ac_tool_prefix}nm; ac_word=$2
47643 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47644 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47645 if test "${ac_cv_prog_NM+set}" = set; then
47646 echo $ECHO_N "(cached) $ECHO_C" >&6
47648 if test -n "$NM"; then
47649 ac_cv_prog_NM="$NM" # Let the user override the test.
47651 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47652 for as_dir in $PATH
47655 test -z "$as_dir" && as_dir=.
47656 for ac_exec_ext in '' $ac_executable_extensions; do
47657 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47658 ac_cv_prog_NM="${ac_tool_prefix}nm"
47659 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47669 if test -n "$NM"; then
47670 { echo "$as_me:$LINENO: result: $NM" >&5
47671 echo "${ECHO_T}$NM" >&6; }
47673 { echo "$as_me:$LINENO: result: no" >&5
47674 echo "${ECHO_T}no" >&6; }
47679 if test -z "$ac_cv_prog_NM"; then
47681 # Extract the first word of "nm", so it can be a program name with args.
47682 set dummy nm; ac_word=$2
47683 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47684 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47685 if test "${ac_cv_prog_ac_ct_NM+set}" = set; then
47686 echo $ECHO_N "(cached) $ECHO_C" >&6
47688 if test -n "$ac_ct_NM"; then
47689 ac_cv_prog_ac_ct_NM="$ac_ct_NM" # Let the user override the test.
47691 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47692 for as_dir in $PATH
47695 test -z "$as_dir" && as_dir=.
47696 for ac_exec_ext in '' $ac_executable_extensions; do
47697 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47698 ac_cv_prog_ac_ct_NM="nm"
47699 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47708 ac_ct_NM=$ac_cv_prog_ac_ct_NM
47709 if test -n "$ac_ct_NM"; then
47710 { echo "$as_me:$LINENO: result: $ac_ct_NM" >&5
47711 echo "${ECHO_T}$ac_ct_NM" >&6; }
47713 { echo "$as_me:$LINENO: result: no" >&5
47714 echo "${ECHO_T}no" >&6; }
47717 if test "x$ac_ct_NM" = x; then
47720 case $cross_compiling:$ac_tool_warned in
47722 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
47723 whose name does not start with the host triplet. If you think this
47724 configuration is useful to you, please write to autoconf@gnu.org." >&5
47725 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
47726 whose name does not start with the host triplet. If you think this
47727 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
47728 ac_tool_warned=yes ;;
47733 NM="$ac_cv_prog_NM"
47737 { echo "$as_me:$LINENO: checking for command to install directories" >&5
47738 echo $ECHO_N "checking for command to install directories... $ECHO_C" >&6; }
47739 INSTALL_TEST_DIR=acbftest$$
47740 $INSTALL -d $INSTALL_TEST_DIR > /dev/null 2>&1
47741 if test $? = 0 -a -d $INSTALL_TEST_DIR; then
47742 rmdir $INSTALL_TEST_DIR
47743 INSTALL_DIR='$(INSTALL) -d'
47744 { echo "$as_me:$LINENO: result: $INSTALL -d" >&5
47745 echo "${ECHO_T}$INSTALL -d" >&6; }
47747 INSTALL_DIR="mkdir -p"
47748 { echo "$as_me:$LINENO: result: mkdir -p" >&5
47749 echo "${ECHO_T}mkdir -p" >&6; }
47754 case ${BAKEFILE_HOST} in
47755 *-*-cygwin* | *-*-mingw32* )
47756 LDFLAGS_GUI="-mwindows"
47762 { echo "$as_me:$LINENO: checking if make is GNU make" >&5
47763 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6; }
47764 if test "${bakefile_cv_prog_makeisgnu+set}" = set; then
47765 echo $ECHO_N "(cached) $ECHO_C" >&6
47768 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev/null |
47769 egrep -s GNU > /dev/null); then
47770 bakefile_cv_prog_makeisgnu="yes"
47772 bakefile_cv_prog_makeisgnu="no"
47776 { echo "$as_me:$LINENO: result: $bakefile_cv_prog_makeisgnu" >&5
47777 echo "${ECHO_T}$bakefile_cv_prog_makeisgnu" >&6; }
47779 if test "x$bakefile_cv_prog_makeisgnu" = "xyes"; then
47796 if test "x$BAKEFILE_FORCE_PLATFORM" = "x"; then
47797 case "${BAKEFILE_HOST}" in
47804 *-pc-os2_emx | *-pc-os2-emx )
47814 powerpc-apple-macos* )
47823 case "$BAKEFILE_FORCE_PLATFORM" in
47858 # Check whether --enable-omf was given.
47859 if test "${enable_omf+set}" = set; then
47860 enableval=$enable_omf; bk_os2_use_omf="$enableval"
47864 case "${BAKEFILE_HOST}" in
47866 if test "x$GCC" = "xyes"; then
47867 CFLAGS="$CFLAGS -fno-common"
47868 CXXFLAGS="$CXXFLAGS -fno-common"
47870 if test "x$XLCC" = "xyes"; then
47871 CFLAGS="$CFLAGS -qnocommon"
47872 CXXFLAGS="$CXXFLAGS -qnocommon"
47876 *-pc-os2_emx | *-pc-os2-emx )
47877 if test "x$bk_os2_use_omf" = "xyes" ; then
47880 LDFLAGS="-Zomf $LDFLAGS"
47881 CFLAGS="-Zomf $CFLAGS"
47882 CXXFLAGS="-Zomf $CXXFLAGS"
47890 LDFLAGS="-L/boot/develop/lib/x86 $LDFLAGS"
47896 SO_SUFFIX_MODULE="so"
47901 DLLPREFIX_MODULE=""
47905 case "${BAKEFILE_HOST}" in
47908 SO_SUFFIX_MODULE="sl"
47912 SO_SUFFIX_MODULE="a"
47916 SO_SUFFIX_MODULE="dll"
47917 DLLIMP_SUFFIX="dll.a"
47924 SO_SUFFIX_MODULE="dll"
47925 DLLIMP_SUFFIX="dll.a"
47935 *-pc-os2_emx | *-pc-os2-emx )
47937 SO_SUFFIX_MODULE="dll"
47938 DLLIMP_SUFFIX=$OS2_LIBEXT
47942 LIBEXT=".$OS2_LIBEXT"
47947 SO_SUFFIX_MODULE="bundle"
47951 if test "x$DLLIMP_SUFFIX" = "x" ; then
47952 DLLIMP_SUFFIX="$SO_SUFFIX"
47967 if test "x$GCC" = "xyes"; then
47971 SHARED_LD_CC="\$(CC) -shared ${PIC_FLAG} -o"
47972 SHARED_LD_CXX="\$(CXX) -shared ${PIC_FLAG} -o"
47975 case "${BAKEFILE_HOST}" in
47977 if test "x$GCC" != "xyes"; then
47978 LDFLAGS="$LDFLAGS -L/usr/lib"
47980 SHARED_LD_CC="${CC} -b -o"
47981 SHARED_LD_CXX="${CXX} -b -o"
47987 if test "$INTELCC" = "yes"; then
47989 elif test "x$SUNCXX" = "xyes"; then
47990 SHARED_LD_CC="${CC} -G -o"
47991 SHARED_LD_CXX="${CXX} -G -o"
47997 if test "x$SUNCXX" = xyes ; then
47998 SHARED_LD_CC="${CC} -G -o"
47999 SHARED_LD_CXX="${CXX} -G -o"
48007 cat <<EOF >shared-ld-sh
48009 #-----------------------------------------------------------------------------
48010 #-- Name: distrib/mac/shared-ld-sh
48011 #-- Purpose: Link a mach-o dynamic shared library for Darwin / Mac OS X
48012 #-- Author: Gilles Depeyrot
48013 #-- Copyright: (c) 2002 Gilles Depeyrot
48014 #-- Licence: any use permitted
48015 #-----------------------------------------------------------------------------
48020 linking_flag="-dynamiclib"
48021 ldargs="-r -keep_private_externs -nostdlib"
48023 if test "x${D}CXX" = "x"; then
48027 while test ${D}# -gt 0; do
48034 -o|-compatibility_version|-current_version|-framework|-undefined|-install_name)
48035 # collect these options and values
48036 args="${D}{args} ${D}1 ${D}2"
48041 # collect these options and values
48042 ldargs="${D}{ldargs} ${D}1 ${D}2"
48047 # collect these load args
48048 ldargs="${D}{ldargs} ${D}1"
48051 -l*|-L*|-flat_namespace|-headerpad_max_install_names)
48052 # collect these options
48053 args="${D}{args} ${D}1"
48056 -dynamiclib|-bundle)
48057 linking_flag="${D}1"
48061 echo "shared-ld: unhandled option '${D}1'"
48065 *.o | *.a | *.dylib)
48066 # collect object files
48067 objects="${D}{objects} ${D}1"
48071 echo "shared-ld: unhandled argument '${D}1'"
48082 # Link one module containing all the others
48084 if test ${D}{verbose} = 1; then
48085 echo "${D}CXX ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o"
48087 ${D}CXX ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o
48091 # Link the shared library from the single module created, but only if the
48092 # previous command didn't fail:
48094 if test ${D}{status} = 0; then
48095 if test ${D}{verbose} = 1; then
48096 echo "${D}CXX ${D}{linking_flag} master.${D}${D}.o ${D}{args}"
48098 ${D}CXX ${D}{linking_flag} master.${D}${D}.o ${D}{args}
48103 # Remove intermediate module
48105 rm -f master.${D}${D}.o
48110 chmod +x shared-ld-sh
48112 SHARED_LD_MODULE_CC="`pwd`/shared-ld-sh -bundle -headerpad_max_install_names -o"
48113 SHARED_LD_MODULE_CXX="CXX=\$(CXX) $SHARED_LD_MODULE_CC"
48116 { echo "$as_me:$LINENO: checking for gcc 3.1 or later" >&5
48117 echo $ECHO_N "checking for gcc 3.1 or later... $ECHO_C" >&6; }
48118 if test "${bakefile_cv_gcc31+set}" = set; then
48119 echo $ECHO_N "(cached) $ECHO_C" >&6
48122 cat >conftest.$ac_ext <<_ACEOF
48125 cat confdefs.h >>conftest.$ac_ext
48126 cat >>conftest.$ac_ext <<_ACEOF
48127 /* end confdefs.h. */
48133 #if (__GNUC__ < 3) || \
48134 ((__GNUC__ == 3) && (__GNUC_MINOR__ < 1))
48142 rm -f conftest.$ac_objext
48143 if { (ac_try="$ac_compile"
48144 case "(($ac_try" in
48145 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
48146 *) ac_try_echo
=$ac_try;;
48148 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48149 (eval "$ac_compile") 2>conftest.er1
48151 grep -v '^ *+' conftest.er1
>conftest.err
48153 cat conftest.err
>&5
48154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48155 (exit $ac_status); } && {
48156 test -z "$ac_c_werror_flag" ||
48157 test ! -s conftest.err
48158 } && test -s conftest.
$ac_objext; then
48160 bakefile_cv_gcc31
=yes
48163 echo "$as_me: failed program was:" >&5
48164 sed 's/^/| /' conftest.
$ac_ext >&5
48167 bakefile_cv_gcc31
=no
48172 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
48175 { echo "$as_me:$LINENO: result: $bakefile_cv_gcc31" >&5
48176 echo "${ECHO_T}$bakefile_cv_gcc31" >&6; }
48177 if test "$bakefile_cv_gcc31" = "no"; then
48178 SHARED_LD_CC
="`pwd`/shared-ld-sh -dynamiclib -headerpad_max_install_names -o"
48179 SHARED_LD_CXX
="$SHARED_LD_CC"
48181 SHARED_LD_CC
="\${CC} -dynamiclib -single_module -headerpad_max_install_names -o"
48182 SHARED_LD_CXX
="\${CXX} -dynamiclib -single_module -headerpad_max_install_names -o"
48185 if test "x$GCC" == "xyes"; then
48186 PIC_FLAG
="-dynamic -fPIC"
48188 if test "x$XLCC" = "xyes"; then
48189 PIC_FLAG
="-dynamic -DPIC"
48194 if test "x$GCC" = "xyes"; then
48197 case "${BAKEFILE_HOST}" in
48199 LD_EXPFULL
="-Wl,-bexpfull"
48203 SHARED_LD_CC
="\$(CC) -shared $LD_EXPFULL -o"
48204 SHARED_LD_CXX
="\$(CXX) -shared $LD_EXPFULL -o"
48206 # Extract the first word of "makeC++SharedLib", so it can be a program name with args.
48207 set dummy makeC
++SharedLib
; ac_word
=$2
48208 { echo "$as_me:$LINENO: checking for $ac_word" >&5
48209 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
48210 if test "${ac_cv_prog_AIX_CXX_LD+set}" = set; then
48211 echo $ECHO_N "(cached) $ECHO_C" >&6
48213 if test -n "$AIX_CXX_LD"; then
48214 ac_cv_prog_AIX_CXX_LD
="$AIX_CXX_LD" # Let the user override the test.
48216 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
48217 for as_dir
in $PATH
48220 test -z "$as_dir" && as_dir
=.
48221 for ac_exec_ext
in '' $ac_executable_extensions; do
48222 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
48223 ac_cv_prog_AIX_CXX_LD
="makeC++SharedLib"
48224 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48231 test -z "$ac_cv_prog_AIX_CXX_LD" && ac_cv_prog_AIX_CXX_LD
="/usr/lpp/xlC/bin/makeC++SharedLib"
48234 AIX_CXX_LD
=$ac_cv_prog_AIX_CXX_LD
48235 if test -n "$AIX_CXX_LD"; then
48236 { echo "$as_me:$LINENO: result: $AIX_CXX_LD" >&5
48237 echo "${ECHO_T}$AIX_CXX_LD" >&6; }
48239 { echo "$as_me:$LINENO: result: no" >&5
48240 echo "${ECHO_T}no" >&6; }
48244 SHARED_LD_CC
="$AIX_CC_LD -p 0 -o"
48245 SHARED_LD_CXX
="$AIX_CXX_LD -p 0 -o"
48250 SHARED_LD_CC
="${LD} -nostart -o"
48251 SHARED_LD_CXX
="${LD} -nostart -o"
48255 if test "x$GCC" != "xyes"; then
48260 *-*-cygwin* | *-*-mingw32* )
48262 SHARED_LD_CC
="\$(CC) -shared -o"
48263 SHARED_LD_CXX
="\$(CXX) -shared -o"
48267 *-pc-os2_emx | *-pc-os2-emx )
48268 SHARED_LD_CC
="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
48269 SHARED_LD_CXX
="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
48273 cat <<EOF >dllar.sh
48276 # dllar - a tool to build both a .dll and an .a file
48277 # from a set of object (.o) files for EMX/OS2.
48279 # Written by Andrew Zabolotny, bit@freya.etu.ru
48280 # Ported to Unix like shell by Stefan Neis, Stefan.Neis@t-online.de
48282 # This script will accept a set of files on the command line.
48283 # All the public symbols from the .o files will be exported into
48284 # a .DEF file, then linker will be run (through gcc) against them to
48285 # build a shared library consisting of all given .o files. All libraries
48286 # (.a) will be first decompressed into component .o files then act as
48287 # described above. You can optionally give a description (-d "description")
48288 # which will be put into .DLL. To see the list of accepted options (as well
48289 # as command-line format) simply run this program without options. The .DLL
48290 # is built to be imported by name (there is no guarantee that new versions
48291 # of the library you build will have same ordinals for same symbols).
48293 # dllar is free software; you can redistribute it and/or modify
48294 # it under the terms of the GNU General Public License as published by
48295 # the Free Software Foundation; either version 2, or (at your option)
48296 # any later version.
48298 # dllar is distributed in the hope that it will be useful,
48299 # but WITHOUT ANY WARRANTY; without even the implied warranty of
48300 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
48301 # GNU General Public License for more details.
48303 # You should have received a copy of the GNU General Public License
48304 # along with dllar; see the file COPYING. If not, write to the Free
48305 # Software Foundation, 59 Temple Place - Suite 330, Boston, MA
48308 # To successfuly run this program you will need:
48309 # - Current drive should have LFN support (HPFS, ext2, network, etc)
48310 # (Sometimes dllar generates filenames which won't fit 8.3 scheme)
48312 # (used to build the .dll)
48314 # (used to create .def file from .o files)
48316 # (used to create .a file from .def file)
48317 # - GNU text utilites (cat, sort, uniq)
48318 # used to process emxexp output
48319 # - GNU file utilities (mv, rm)
48321 # - lxlite (optional, see flag below)
48322 # (used for general .dll cleanup)
48329 # basnam, variant of basename, which does _not_ remove the path, _iff_
48330 # second argument (suffix to remove) is given
48334 echo ${D}1 | sed 's/.*\\///' | sed 's/.*\\\\//'
48337 echo ${D}1 | sed 's/'${D}2'${D}//'
48340 echo "error in basnam ${D}*"
48346 # Cleanup temporary files and output
48349 for i in ${D}inputFiles ; do
48352 rm -rf \`basnam ${D}i !\`
48359 # Kill result in case of failure as there is just to many stupid make/nmake
48360 # things out there which doesn't do this.
48361 if [ ${D}# -eq 0 ]; then
48362 rm -f ${D}arcFile ${D}arcFile2 ${D}defFile ${D}dllFile
48366 # Print usage and exit script with rc=1.
48368 echo 'Usage: dllar.sh [-o[utput] output_file] [-i[mport] importlib_name]'
48369 echo ' [-name-mangler-script script.sh]'
48370 echo ' [-d[escription] "dll descrption"] [-cc "CC"] [-f[lags] "CFLAGS"]'
48371 echo ' [-ord[inals]] -ex[clude] "symbol(s)"'
48372 echo ' [-libf[lags] "{INIT|TERM}{GLOBAL|INSTANCE}"] [-nocrt[dll]] [-nolxl[ite]]'
48373 echo ' [*.o] [*.a]'
48374 echo '*> "output_file" should have no extension.'
48375 echo ' If it has the .o, .a or .dll extension, it is automatically removed.'
48376 echo ' The import library name is derived from this and is set to "name".a,'
48377 echo ' unless overridden by -import'
48378 echo '*> "importlib_name" should have no extension.'
48379 echo ' If it has the .o, or .a extension, it is automatically removed.'
48380 echo ' This name is used as the import library name and may be longer and'
48381 echo ' more descriptive than the DLL name which has to follow the old '
48382 echo ' 8.3 convention of FAT.'
48383 echo '*> "script.sh may be given to override the output_file name by a'
48384 echo ' different name. It is mainly useful if the regular make process'
48385 echo ' of some package does not take into account OS/2 restriction of'
48386 echo ' DLL name lengths. It takes the importlib name as input and is'
48387 echo ' supposed to procude a shorter name as output. The script should'
48388 echo ' expect to get importlib_name without extension and should produce'
48389 echo ' a (max.) 8 letter name without extension.'
48390 echo '*> "cc" is used to use another GCC executable. (default: gcc.exe)'
48391 echo '*> "flags" should be any set of valid GCC flags. (default: -s -Zcrtdll)'
48392 echo ' These flags will be put at the start of GCC command line.'
48393 echo '*> -ord[inals] tells dllar to export entries by ordinals. Be careful.'
48394 echo '*> -ex[clude] defines symbols which will not be exported. You can define'
48395 echo ' multiple symbols, for example -ex "myfunc yourfunc _GLOBAL*".'
48396 echo ' If the last character of a symbol is "*", all symbols beginning'
48397 echo ' with the prefix before "*" will be exclude, (see _GLOBAL* above).'
48398 echo '*> -libf[lags] can be used to add INITGLOBAL/INITINSTANCE and/or'
48399 echo ' TERMGLOBAL/TERMINSTANCE flags to the dynamically-linked library.'
48400 echo '*> -nocrt[dll] switch will disable linking the library against emx''s'
48401 echo ' C runtime DLLs.'
48402 echo '*> -nolxl[ite] switch will disable running lxlite on the resulting DLL.'
48403 echo '*> All other switches (for example -L./ or -lmylib) will be passed'
48404 echo ' unchanged to GCC at the end of command line.'
48405 echo '*> If you create a DLL from a library and you do not specify -o,'
48406 echo ' the basename for DLL and import library will be set to library name,'
48407 echo ' the initial library will be renamed to 'name'_s.a (_s for static)'
48408 echo ' i.e. "dllar gcc.a" will create gcc.dll and gcc.a, and the initial'
48409 echo ' library will be renamed into gcc_s.a.'
48412 echo ' dllar -o gcc290.dll libgcc.a -d "GNU C runtime library" -ord'
48413 echo ' -ex "__main __ctordtor*" -libf "INITINSTANCE TERMINSTANCE"'
48418 # Execute a command.
48419 # If exit code of the commnad <> 0 CleanUp() is called and we'll exit the script.
48420 # @Uses Whatever CleanUp() uses.
48426 if [ ${D}rcCmd -ne 0 ]; then
48427 echo "command failed, exit code="${D}rcCmd
48442 CFLAGS="-s -Zcrtdll"
48444 EXPORT_BY_ORDINALS=0
48449 case ${D}curDirS in
48453 curDirS=${D}{curDirS}"/"
48456 # Parse commandline
48459 while [ ${D}1 ]; do
48462 EXPORT_BY_ORDINALS=1;
48472 -name-mangler-script)
48493 exclude_symbols=${D}{exclude_symbols}${D}1" "
48497 library_flags=${D}{library_flags}${D}1" "
48516 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
48519 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS} \`basnam ${D}1 .dll\`"
48520 if [ ${D}omfLinking -eq 1 ]; then
48521 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.lib"
48523 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.a"
48528 if [ ${D}libsToLink -ne 0 ]; then
48529 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
48531 for file in ${D}1 ; do
48532 if [ -f ${D}file ]; then
48533 inputFiles="${D}{inputFiles} ${D}file"
48537 if [ ${D}found -eq 0 ]; then
48538 echo "ERROR: No file(s) found: "${D}1
48545 done # iterate cmdline words
48548 if [ -z "${D}inputFiles" ]; then
48549 echo "dllar: no input files"
48553 # Now extract all .o files from .a files
48555 for file in ${D}inputFiles ; do
48566 EXTRA_CFLAGS="${D}EXTRA_CFLAGS -Zomf"
48571 dirname=\`basnam ${D}file ${D}suffix\`"_%"
48573 if [ ${D}? -ne 0 ]; then
48574 echo "Failed to create subdirectory ./${D}dirname"
48578 # Append '!' to indicate archive
48579 newInputFiles="${D}newInputFiles ${D}{dirname}!"
48580 doCommand "cd ${D}dirname; ${D}AR x ../${D}file"
48583 for subfile in ${D}dirname/*.o* ; do
48584 if [ -f ${D}subfile ]; then
48586 if [ -s ${D}subfile ]; then
48587 # FIXME: This should be: is file size > 32 byte, _not_ > 0!
48588 newInputFiles="${D}newInputFiles ${D}subfile"
48592 if [ ${D}found -eq 0 ]; then
48593 echo "WARNING: there are no files in archive \\'${D}file\\'"
48597 newInputFiles="${D}{newInputFiles} ${D}file"
48601 inputFiles="${D}newInputFiles"
48603 # Output filename(s).
48605 if [ -z ${D}outFile ]; then
48607 set outFile ${D}inputFiles; outFile=${D}2
48610 # If it is an archive, remove the '!' and the '_%' suffixes
48611 case ${D}outFile in
48613 outFile=\`basnam ${D}outFile _%!\`
48618 case ${D}outFile in
48620 outFile=\`basnam ${D}outFile .dll\`
48623 outFile=\`basnam ${D}outFile .DLL\`
48626 outFile=\`basnam ${D}outFile .o\`
48629 outFile=\`basnam ${D}outFile .obj\`
48632 outFile=\`basnam ${D}outFile .a\`
48635 outFile=\`basnam ${D}outFile .lib\`
48640 case ${D}outimpFile in
48642 outimpFile=\`basnam ${D}outimpFile .a\`
48645 outimpFile=\`basnam ${D}outimpFile .lib\`
48650 if [ -z ${D}outimpFile ]; then
48651 outimpFile=${D}outFile
48653 defFile="${D}{outFile}.def"
48654 arcFile="${D}{outimpFile}.a"
48655 arcFile2="${D}{outimpFile}.lib"
48657 #create ${D}dllFile as something matching 8.3 restrictions,
48658 if [ -z ${D}renameScript ] ; then
48659 dllFile="${D}outFile"
48661 dllFile=\`${D}renameScript ${D}outimpFile\`
48664 if [ ${D}do_backup -ne 0 ] ; then
48665 if [ -f ${D}arcFile ] ; then
48666 doCommand "mv ${D}arcFile ${D}{outFile}_s.a"
48668 if [ -f ${D}arcFile2 ] ; then
48669 doCommand "mv ${D}arcFile2 ${D}{outFile}_s.lib"
48673 # Extract public symbols from all the object files.
48674 tmpdefFile=${D}{defFile}_%
48675 rm -f ${D}tmpdefFile
48676 for file in ${D}inputFiles ; do
48681 doCommand "emxexp -u ${D}file >> ${D}tmpdefFile"
48686 # Create the def file.
48688 echo "LIBRARY \`basnam ${D}dllFile\` ${D}library_flags" >> ${D}defFile
48689 dllFile="${D}{dllFile}.dll"
48690 if [ ! -z ${D}description ]; then
48691 echo "DESCRIPTION \\"${D}{description}\\"" >> ${D}defFile
48693 echo "EXPORTS" >> ${D}defFile
48695 doCommand "cat ${D}tmpdefFile | sort.exe | uniq.exe > ${D}{tmpdefFile}%"
48696 grep -v "^ *;" < ${D}{tmpdefFile}% | grep -v "^ *${D}" >${D}tmpdefFile
48698 # Checks if the export is ok or not.
48699 for word in ${D}exclude_symbols; do
48700 grep -v ${D}word < ${D}tmpdefFile >${D}{tmpdefFile}%
48701 mv ${D}{tmpdefFile}% ${D}tmpdefFile
48705 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
48706 sed "=" < ${D}tmpdefFile | \\
48710 s/^\\([0-9]\\+\\)\\([^;]*\\)\\(;.*\\)\\?/\\2 @\\1 NONAME/
48712 ' > ${D}{tmpdefFile}%
48713 grep -v "^ *${D}" < ${D}{tmpdefFile}% > ${D}tmpdefFile
48715 rm -f ${D}{tmpdefFile}%
48717 cat ${D}tmpdefFile >> ${D}defFile
48718 rm -f ${D}tmpdefFile
48720 # Do linking, create implib, and apply lxlite.
48722 for file in ${D}inputFiles ; do
48727 gccCmdl="${D}gccCmdl ${D}file"
48731 doCommand "${D}CC ${D}CFLAGS -Zdll -o ${D}dllFile ${D}defFile ${D}gccCmdl ${D}EXTRA_CFLAGS"
48732 touch "${D}{outFile}.dll"
48734 doCommand "emximp -o ${D}arcFile ${D}defFile"
48735 if [ ${D}flag_USE_LXLITE -ne 0 ]; then
48737 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
48740 doCommand "lxlite -cs -t: -mrn -mln ${D}add_flags ${D}dllFile"
48742 doCommand "emxomf -s -l ${D}arcFile"
48752 powerpc
-apple-macos* | \
48753 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | *-*-k*bsd
*-gnu | \
48763 { { echo "$as_me:$LINENO: error: unknown system type $BAKEFILE_HOST." >&5
48764 echo "$as_me: error: unknown system type $BAKEFILE_HOST." >&2;}
48765 { (exit 1); exit 1; }; }
48768 if test "x$PIC_FLAG" != "x" ; then
48769 PIC_FLAG
="$PIC_FLAG -DPIC"
48772 if test "x$SHARED_LD_MODULE_CC" = "x" ; then
48773 SHARED_LD_MODULE_CC
="$SHARED_LD_CC"
48775 if test "x$SHARED_LD_MODULE_CXX" = "x" ; then
48776 SHARED_LD_MODULE_CXX
="$SHARED_LD_CXX"
48795 case "${BAKEFILE_HOST}" in
48796 *-*-linux* | *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | \
48797 *-*-k*bsd
*-gnu | *-*-mirbsd* )
48798 if test "x$SUNCXX" = "xyes"; then
48801 SONAME_FLAG
="-Wl,-soname,"
48836 # Check whether --enable-dependency-tracking was given.
48837 if test "${enable_dependency_tracking+set}" = set; then
48838 enableval
=$enable_dependency_tracking; bk_use_trackdeps
="$enableval"
48842 { echo "$as_me:$LINENO: checking for dependency tracking method" >&5
48843 echo $ECHO_N "checking for dependency tracking method... $ECHO_C" >&6; }
48846 if test "x$bk_use_trackdeps" = "xno" ; then
48848 { echo "$as_me:$LINENO: result: disabled" >&5
48849 echo "${ECHO_T}disabled" >&6; }
48853 if test "x$GCC" = "xyes"; then
48855 case "${BAKEFILE_HOST}" in
48857 DEPSFLAG
="-no-cpp-precomp -MMD"
48863 { echo "$as_me:$LINENO: result: gcc" >&5
48864 echo "${ECHO_T}gcc" >&6; }
48865 elif test "x$MWCC" = "xyes"; then
48868 { echo "$as_me:$LINENO: result: mwcc" >&5
48869 echo "${ECHO_T}mwcc" >&6; }
48870 elif test "x$SUNCC" = "xyes"; then
48873 { echo "$as_me:$LINENO: result: Sun cc" >&5
48874 echo "${ECHO_T}Sun cc" >&6; }
48875 elif test "x$SGICC" = "xyes"; then
48878 { echo "$as_me:$LINENO: result: SGI cc" >&5
48879 echo "${ECHO_T}SGI cc" >&6; }
48880 elif test "x$HPCC" = "xyes"; then
48883 { echo "$as_me:$LINENO: result: HP cc" >&5
48884 echo "${ECHO_T}HP cc" >&6; }
48885 elif test "x$COMPAQCC" = "xyes"; then
48888 { echo "$as_me:$LINENO: result: Compaq cc" >&5
48889 echo "${ECHO_T}Compaq cc" >&6; }
48892 { echo "$as_me:$LINENO: result: none" >&5
48893 echo "${ECHO_T}none" >&6; }
48896 if test $DEPS_TRACKING = 1 ; then
48902 # This script is part of Bakefile (http://www.bakefile.org) autoconf
48903 # script. It is used to track C/C++ files dependencies in portable way.
48905 # Permission is given to use this file in any way.
48907 DEPSMODE=${DEPSMODE}
48909 DEPSFLAG="${DEPSFLAG}"
48911 mkdir -p ${D}DEPSDIR
48913 if test ${D}DEPSMODE = gcc ; then
48914 ${D}* ${D}{DEPSFLAG}
48917 # determine location of created files:
48918 while test ${D}# -gt 0; do
48932 depfile=\`basename ${D}srcfile | sed -e 's/\\..*${D}/.d/g'\`
48933 depobjname=\`echo ${D}depfile |sed -e 's/\\.d/.o/g'\`
48935 # if the compiler failed, we're done:
48936 if test ${D}{status} != 0 ; then
48941 # move created file to the location we want it in:
48942 if test -f ${D}depfile ; then
48943 sed -e "s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
48946 # "g++ -MMD -o fooobj.o foosrc.cpp" produces fooobj.d
48947 depfile=\`basename ${D}objfile | sed -e 's/\\..*${D}/.d/g'\`
48948 if test ! -f ${D}depfile ; then
48949 # "cxx -MD -o fooobj.o foosrc.cpp" creates fooobj.o.d (Compaq C++)
48950 depfile="${D}objfile.d"
48952 if test -f ${D}depfile ; then
48953 sed -e "/^${D}objfile/!s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
48958 elif test ${D}DEPSMODE = mwcc ; then
48959 ${D}* || exit ${D}?
48960 # Run mwcc again with -MM and redirect into the dep file we want
48961 # NOTE: We can't use shift here because we need ${D}* to be valid
48963 for arg in ${D}* ; do
48964 if test "${D}prevarg" = "-o"; then
48977 ${D}* ${D}DEPSFLAG >${D}{DEPSDIR}/${D}{objfile}.d
48979 elif test ${D}DEPSMODE = unixcc; then
48980 ${D}* || exit ${D}?
48981 # Run compiler again with deps flag and redirect into the dep file.
48982 # It doesn't work if the '-o FILE' option is used, but without it the
48983 # dependency file will contain the wrong name for the object. So it is
48984 # removed from the command line, and the dep file is fixed with sed.
48986 while test ${D}# -gt 0; do
48993 eval arg${D}#=\\${D}1
48994 cmd="${D}cmd \\${D}arg${D}#"
48999 eval "${D}cmd ${D}DEPSFLAG" | sed "s|.*:|${D}objfile:|" >${D}{DEPSDIR}/${D}{objfile}.d
49008 BK_DEPS
="`pwd`/bk-deps"
49016 case ${BAKEFILE_HOST} in
49017 *-*-cygwin* | *-*-mingw32* )
49018 if test -n "$ac_tool_prefix"; then
49019 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
49020 set dummy
${ac_tool_prefix}windres
; ac_word
=$2
49021 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49022 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49023 if test "${ac_cv_prog_WINDRES+set}" = set; then
49024 echo $ECHO_N "(cached) $ECHO_C" >&6
49026 if test -n "$WINDRES"; then
49027 ac_cv_prog_WINDRES
="$WINDRES" # Let the user override the test.
49029 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
49030 for as_dir
in $PATH
49033 test -z "$as_dir" && as_dir
=.
49034 for ac_exec_ext
in '' $ac_executable_extensions; do
49035 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49036 ac_cv_prog_WINDRES
="${ac_tool_prefix}windres"
49037 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49046 WINDRES
=$ac_cv_prog_WINDRES
49047 if test -n "$WINDRES"; then
49048 { echo "$as_me:$LINENO: result: $WINDRES" >&5
49049 echo "${ECHO_T}$WINDRES" >&6; }
49051 { echo "$as_me:$LINENO: result: no" >&5
49052 echo "${ECHO_T}no" >&6; }
49057 if test -z "$ac_cv_prog_WINDRES"; then
49058 ac_ct_WINDRES
=$WINDRES
49059 # Extract the first word of "windres", so it can be a program name with args.
49060 set dummy windres
; ac_word
=$2
49061 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49062 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49063 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
49064 echo $ECHO_N "(cached) $ECHO_C" >&6
49066 if test -n "$ac_ct_WINDRES"; then
49067 ac_cv_prog_ac_ct_WINDRES
="$ac_ct_WINDRES" # Let the user override the test.
49069 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
49070 for as_dir
in $PATH
49073 test -z "$as_dir" && as_dir
=.
49074 for ac_exec_ext
in '' $ac_executable_extensions; do
49075 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49076 ac_cv_prog_ac_ct_WINDRES
="windres"
49077 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49086 ac_ct_WINDRES
=$ac_cv_prog_ac_ct_WINDRES
49087 if test -n "$ac_ct_WINDRES"; then
49088 { echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
49089 echo "${ECHO_T}$ac_ct_WINDRES" >&6; }
49091 { echo "$as_me:$LINENO: result: no" >&5
49092 echo "${ECHO_T}no" >&6; }
49095 if test "x$ac_ct_WINDRES" = x
; then
49098 case $cross_compiling:$ac_tool_warned in
49100 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
49101 whose name does not start with the host triplet. If you think this
49102 configuration is useful to you, please write to autoconf@gnu.org." >&5
49103 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
49104 whose name does not start with the host triplet. If you think this
49105 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
49106 ac_tool_warned
=yes ;;
49108 WINDRES
=$ac_ct_WINDRES
49111 WINDRES
="$ac_cv_prog_WINDRES"
49116 *-*-darwin* | powerpc
-apple-macos* )
49117 # Extract the first word of "Rez", so it can be a program name with args.
49118 set dummy Rez
; ac_word
=$2
49119 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49120 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49121 if test "${ac_cv_prog_REZ+set}" = set; then
49122 echo $ECHO_N "(cached) $ECHO_C" >&6
49124 if test -n "$REZ"; then
49125 ac_cv_prog_REZ
="$REZ" # Let the user override the test.
49127 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
49128 for as_dir
in $PATH
49131 test -z "$as_dir" && as_dir
=.
49132 for ac_exec_ext
in '' $ac_executable_extensions; do
49133 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49134 ac_cv_prog_REZ
="Rez"
49135 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49142 test -z "$ac_cv_prog_REZ" && ac_cv_prog_REZ
="/Developer/Tools/Rez"
49145 REZ
=$ac_cv_prog_REZ
49146 if test -n "$REZ"; then
49147 { echo "$as_me:$LINENO: result: $REZ" >&5
49148 echo "${ECHO_T}$REZ" >&6; }
49150 { echo "$as_me:$LINENO: result: no" >&5
49151 echo "${ECHO_T}no" >&6; }
49155 # Extract the first word of "SetFile", so it can be a program name with args.
49156 set dummy SetFile
; ac_word
=$2
49157 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49158 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49159 if test "${ac_cv_prog_SETFILE+set}" = set; then
49160 echo $ECHO_N "(cached) $ECHO_C" >&6
49162 if test -n "$SETFILE"; then
49163 ac_cv_prog_SETFILE
="$SETFILE" # Let the user override the test.
49165 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
49166 for as_dir
in $PATH
49169 test -z "$as_dir" && as_dir
=.
49170 for ac_exec_ext
in '' $ac_executable_extensions; do
49171 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49172 ac_cv_prog_SETFILE
="SetFile"
49173 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49180 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE
="/Developer/Tools/SetFile"
49183 SETFILE
=$ac_cv_prog_SETFILE
49184 if test -n "$SETFILE"; then
49185 { echo "$as_me:$LINENO: result: $SETFILE" >&5
49186 echo "${ECHO_T}$SETFILE" >&6; }
49188 { echo "$as_me:$LINENO: result: no" >&5
49189 echo "${ECHO_T}no" >&6; }
49201 BAKEFILE_BAKEFILE_M4_VERSION
="0.2.3"
49204 BAKEFILE_AUTOCONF_INC_M4_VERSION
="0.2.3"
49208 # Check whether --enable-precomp-headers was given.
49209 if test "${enable_precomp_headers+set}" = set; then
49210 enableval
=$enable_precomp_headers; bk_use_pch
="$enableval"
49219 case ${BAKEFILE_HOST} in
49225 if test "x$bk_use_pch" = "x" -o "x$bk_use_pch" = "xyes" ; then
49226 if test "x$GCC" = "xyes"; then
49227 { echo "$as_me:$LINENO: checking if the compiler supports precompiled headers" >&5
49228 echo $ECHO_N "checking if the compiler supports precompiled headers... $ECHO_C" >&6; }
49229 cat >conftest.
$ac_ext <<_ACEOF
49232 cat confdefs.h
>>conftest.
$ac_ext
49233 cat >>conftest.
$ac_ext <<_ACEOF
49234 /* end confdefs.h. */
49240 #if !defined(__GNUC__) || !defined(__GNUC_MINOR__)
49241 There is no PCH support
49244 There is no PCH support
49246 #if (__GNUC__ == 3) && \
49247 ((!defined(__APPLE_CC__) && (__GNUC_MINOR__ < 4)) || \
49248 ( defined(__APPLE_CC__) && (__GNUC_MINOR__ < 3))) || \
49249 ( defined(__INTEL_COMPILER) )
49250 There is no PCH support
49257 rm -f conftest.
$ac_objext
49258 if { (ac_try
="$ac_compile"
49259 case "(($ac_try" in
49260 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
49261 *) ac_try_echo=$ac_try;;
49263 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
49264 (eval "$ac_compile") 2>conftest.er1
49266 grep -v '^ *+' conftest.er1 >conftest.err
49268 cat conftest.err >&5
49269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49270 (exit $ac_status); } && {
49271 test -z "$ac_c_werror_flag" ||
49272 test ! -s conftest.err
49273 } && test -s conftest.$ac_objext; then
49275 { echo "$as_me:$LINENO: result: yes" >&5
49276 echo "${ECHO_T}yes" >&6; }
49280 echo "$as_me: failed program was:" >&5
49281 sed 's/^/| /' conftest.$ac_ext >&5
49284 cat >conftest.$ac_ext <<_ACEOF
49287 cat confdefs.h >>conftest.$ac_ext
49288 cat >>conftest.$ac_ext <<_ACEOF
49289 /* end confdefs.h. */
49295 #if !defined(__INTEL_COMPILER) || \
49296 (__INTEL_COMPILER < 800)
49297 There is no PCH support
49304 rm -f conftest.$ac_objext
49305 if { (ac_try="$ac_compile"
49306 case "(($ac_try" in
49307 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
49308 *) ac_try_echo
=$ac_try;;
49310 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
49311 (eval "$ac_compile") 2>conftest.er1
49313 grep -v '^ *+' conftest.er1
>conftest.err
49315 cat conftest.err
>&5
49316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49317 (exit $ac_status); } && {
49318 test -z "$ac_c_werror_flag" ||
49319 test ! -s conftest.err
49320 } && test -s conftest.
$ac_objext; then
49322 { echo "$as_me:$LINENO: result: yes" >&5
49323 echo "${ECHO_T}yes" >&6; }
49327 echo "$as_me: failed program was:" >&5
49328 sed 's/^/| /' conftest.
$ac_ext >&5
49331 { echo "$as_me:$LINENO: result: no" >&5
49332 echo "${ECHO_T}no" >&6; }
49336 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
49340 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
49341 if test $GCC_PCH = 1 -o $ICC_PCH = 1 ; then
49345 cat <<EOF >bk-make-pch
49348 # This script is part of Bakefile (http://www.bakefile.org) autoconf
49349 # script. It is used to generated precompiled headers.
49351 # Permission is given to use this file in any way.
49361 while test ${D}{#} -gt 0; do
49365 incdir=\`echo ${D}{1} | sed -e 's/-I\\(.*\\)/\\1/g'\`
49366 if test "x${D}{headerfile}" = "x" -a -f "${D}{incdir}/${D}{header}" ; then
49367 headerfile="${D}{incdir}/${D}{header}"
49370 -use-pch|-use_pch )
49375 if test ${D}add_to_cmdline = 1 ; then
49376 compiler="${D}{compiler} ${D}{1}"
49381 if test "x${D}{headerfile}" = "x" ; then
49382 echo "error: can't find header ${D}{header} in include paths" >&2
49384 if test -f ${D}{outfile} ; then
49385 rm -f ${D}{outfile}
49387 mkdir -p \`dirname ${D}{outfile}\`
49389 depsfile=".deps/\`echo ${D}{outfile} | tr '/.' '__'\`.d"
49391 if test "x${GCC_PCH}" = "x1" ; then
49392 # can do this because gcc is >= 3.4:
49393 ${D}{compiler} -o ${D}{outfile} -MMD -MF "${D}{depsfile}" "${D}{headerfile}"
49394 elif test "x${ICC_PCH}" = "x1" ; then
49395 filename=pch_gen-${D}${D}
49396 file=${D}{filename}.c
49397 dfile=${D}{filename}.d
49398 cat > ${D}file <<EOT
49399 #include "${D}header"
49401 # using -MF icc complains about differing command lines in creation/use
49402 ${D}compiler -c -create_pch ${D}outfile -MMD ${D}file && \\
49403 sed -e "s,^.*:,${D}outfile:," -e "s, ${D}file,," < ${D}dfile > ${D}depsfile && \\
49404 rm -f ${D}file ${D}dfile ${D}{filename}.o
49410 chmod +x bk
-make-pch
49411 BK_MAKE_PCH
="`pwd`/bk-make-pch"
49420 COND_BUILD_DEBUG
="#"
49421 if test "x$BUILD" = "xdebug" ; then
49422 COND_BUILD_DEBUG
=""
49425 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT
="#"
49426 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
49427 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT
=""
49430 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT
="#"
49431 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
49432 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT
=""
49435 COND_BUILD_DEBUG_UNICODE_0
="#"
49436 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
49437 COND_BUILD_DEBUG_UNICODE_0
=""
49440 COND_BUILD_DEBUG_UNICODE_1
="#"
49441 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
49442 COND_BUILD_DEBUG_UNICODE_1
=""
49445 COND_BUILD_RELEASE
="#"
49446 if test "x$BUILD" = "xrelease" ; then
49447 COND_BUILD_RELEASE
=""
49450 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT
="#"
49451 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
49452 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT
=""
49455 COND_BUILD_RELEASE_UNICODE_0
="#"
49456 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
49457 COND_BUILD_RELEASE_UNICODE_0
=""
49460 COND_BUILD_RELEASE_UNICODE_1
="#"
49461 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
49462 COND_BUILD_RELEASE_UNICODE_1
=""
49465 COND_DEBUG_FLAG_1
="#"
49466 if test "x$DEBUG_FLAG" = "x1" ; then
49467 COND_DEBUG_FLAG_1
=""
49470 COND_DEBUG_INFO_0
="#"
49471 if test "x$DEBUG_INFO" = "x0" ; then
49472 COND_DEBUG_INFO_0
=""
49475 COND_DEBUG_INFO_1
="#"
49476 if test "x$DEBUG_INFO" = "x1" ; then
49477 COND_DEBUG_INFO_1
=""
49480 COND_DEPS_TRACKING_0
="#"
49481 if test "x$DEPS_TRACKING" = "x0" ; then
49482 COND_DEPS_TRACKING_0
=""
49485 COND_DEPS_TRACKING_1
="#"
49486 if test "x$DEPS_TRACKING" = "x1" ; then
49487 COND_DEPS_TRACKING_1
=""
49491 if test "x$GCC_PCH" = "x1" ; then
49496 if test "x$ICC_PCH" = "x1" ; then
49500 COND_MONOLITHIC_0
="#"
49501 if test "x$MONOLITHIC" = "x0" ; then
49502 COND_MONOLITHIC_0
=""
49505 COND_MONOLITHIC_0_SHARED_0
="#"
49506 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" ; then
49507 COND_MONOLITHIC_0_SHARED_0
=""
49510 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1
="#"
49511 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_AUI" = "x1" ; then
49512 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1
=""
49515 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
="#"
49516 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" ; then
49517 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
=""
49520 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1
="#"
49521 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
49522 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1
=""
49525 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1
="#"
49526 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
49527 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1
=""
49530 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1
="#"
49531 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
49532 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1
=""
49535 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1
="#"
49536 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
49537 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1
=""
49540 COND_MONOLITHIC_0_SHARED_0_USE_STC_1
="#"
49541 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_STC" = "x1" ; then
49542 COND_MONOLITHIC_0_SHARED_0_USE_STC_1
=""
49545 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1
="#"
49546 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
49547 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1
=""
49550 COND_MONOLITHIC_0_SHARED_1
="#"
49551 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" ; then
49552 COND_MONOLITHIC_0_SHARED_1
=""
49555 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1
="#"
49556 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_AUI" = "x1" ; then
49557 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1
=""
49560 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
="#"
49561 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" ; then
49562 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
=""
49565 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1
="#"
49566 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
49567 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1
=""
49570 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1
="#"
49571 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
49572 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1
=""
49575 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1
="#"
49576 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
49577 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1
=""
49580 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1
="#"
49581 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_RICHTEXT" = "x1" ; then
49582 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1
=""
49585 COND_MONOLITHIC_0_SHARED_1_USE_STC_1
="#"
49586 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_STC" = "x1" ; then
49587 COND_MONOLITHIC_0_SHARED_1_USE_STC_1
=""
49590 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1
="#"
49591 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
49592 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1
=""
49595 COND_MONOLITHIC_0_USE_AUI_1
="#"
49596 if test "x$MONOLITHIC" = "x0" -a "x$USE_AUI" = "x1" ; then
49597 COND_MONOLITHIC_0_USE_AUI_1
=""
49600 COND_MONOLITHIC_0_USE_GUI_1
="#"
49601 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" ; then
49602 COND_MONOLITHIC_0_USE_GUI_1
=""
49605 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1
="#"
49606 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
49607 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1
=""
49610 COND_MONOLITHIC_0_USE_HTML_1
="#"
49611 if test "x$MONOLITHIC" = "x0" -a "x$USE_HTML" = "x1" ; then
49612 COND_MONOLITHIC_0_USE_HTML_1
=""
49615 COND_MONOLITHIC_0_USE_MEDIA_1
="#"
49616 if test "x$MONOLITHIC" = "x0" -a "x$USE_MEDIA" = "x1" ; then
49617 COND_MONOLITHIC_0_USE_MEDIA_1
=""
49620 COND_MONOLITHIC_0_USE_QA_1
="#"
49621 if test "x$MONOLITHIC" = "x0" -a "x$USE_QA" = "x1" ; then
49622 COND_MONOLITHIC_0_USE_QA_1
=""
49625 COND_MONOLITHIC_0_USE_RICHTEXT_1
="#"
49626 if test "x$MONOLITHIC" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
49627 COND_MONOLITHIC_0_USE_RICHTEXT_1
=""
49630 COND_MONOLITHIC_0_USE_STC_1
="#"
49631 if test "x$MONOLITHIC" = "x0" -a "x$USE_STC" = "x1" ; then
49632 COND_MONOLITHIC_0_USE_STC_1
=""
49635 COND_MONOLITHIC_0_USE_XRC_1
="#"
49636 if test "x$MONOLITHIC" = "x0" -a "x$USE_XRC" = "x1" ; then
49637 COND_MONOLITHIC_0_USE_XRC_1
=""
49640 COND_MONOLITHIC_1
="#"
49641 if test "x$MONOLITHIC" = "x1" ; then
49642 COND_MONOLITHIC_1
=""
49645 COND_MONOLITHIC_1_SHARED_0
="#"
49646 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x0" ; then
49647 COND_MONOLITHIC_1_SHARED_0
=""
49650 COND_MONOLITHIC_1_SHARED_1
="#"
49651 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x1" ; then
49652 COND_MONOLITHIC_1_SHARED_1
=""
49655 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
="#"
49656 if test "x$OFFICIAL_BUILD" = "x0" -a "x$PLATFORM_WIN32" = "x1" ; then
49657 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
=""
49660 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
="#"
49661 if test "x$OFFICIAL_BUILD" = "x1" -a "x$PLATFORM_WIN32" = "x1" ; then
49662 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
=""
49665 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1
="#"
49666 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERCYGWIN" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
49667 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1
=""
49670 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
="#"
49671 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
49672 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
=""
49675 COND_PLATFORM_MACOSX_1
="#"
49676 if test "x$PLATFORM_MACOSX" = "x1" ; then
49677 COND_PLATFORM_MACOSX_1
=""
49680 COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0
="#"
49681 if test "x$PLATFORM_MACOSX" = "x1" -a "x$PLATFORM_MSDOS" = "x0" ; then
49682 COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0
=""
49685 COND_PLATFORM_MACOSX_1_TOOLKIT_
="#"
49686 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "x" ; then
49687 COND_PLATFORM_MACOSX_1_TOOLKIT_
=""
49690 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA
="#"
49691 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xCOCOA" ; then
49692 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA
=""
49695 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK
="#"
49696 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xGTK" ; then
49697 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK
=""
49700 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC
="#"
49701 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" ; then
49702 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC
=""
49705 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1
="#"
49706 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
49707 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1
=""
49710 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF
="#"
49711 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMOTIF" ; then
49712 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF
=""
49715 COND_PLATFORM_MACOSX_1_TOOLKIT_X11
="#"
49716 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xX11" ; then
49717 COND_PLATFORM_MACOSX_1_TOOLKIT_X11
=""
49720 COND_PLATFORM_MACOSX_1_USE_GUI_1
="#"
49721 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_GUI" = "x1" ; then
49722 COND_PLATFORM_MACOSX_1_USE_GUI_1
=""
49725 COND_PLATFORM_MACOSX_1_USE_OPENGL_1
="#"
49726 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_OPENGL" = "x1" ; then
49727 COND_PLATFORM_MACOSX_1_USE_OPENGL_1
=""
49730 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
="#"
49731 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
49732 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
=""
49735 COND_PLATFORM_MACOS_1
="#"
49736 if test "x$PLATFORM_MACOS" = "x1" ; then
49737 COND_PLATFORM_MACOS_1
=""
49740 COND_PLATFORM_MAC_0
="#"
49741 if test "x$PLATFORM_MAC" = "x0" ; then
49742 COND_PLATFORM_MAC_0
=""
49745 COND_PLATFORM_MAC_1
="#"
49746 if test "x$PLATFORM_MAC" = "x1" ; then
49747 COND_PLATFORM_MAC_1
=""
49750 COND_PLATFORM_MSDOS_0
="#"
49751 if test "x$PLATFORM_MSDOS" = "x0" ; then
49752 COND_PLATFORM_MSDOS_0
=""
49755 COND_PLATFORM_MSDOS_1
="#"
49756 if test "x$PLATFORM_MSDOS" = "x1" ; then
49757 COND_PLATFORM_MSDOS_1
=""
49760 COND_PLATFORM_OS2_1
="#"
49761 if test "x$PLATFORM_OS2" = "x1" ; then
49762 COND_PLATFORM_OS2_1
=""
49765 COND_PLATFORM_UNIX_0
="#"
49766 if test "x$PLATFORM_UNIX" = "x0" ; then
49767 COND_PLATFORM_UNIX_0
=""
49770 COND_PLATFORM_UNIX_1
="#"
49771 if test "x$PLATFORM_UNIX" = "x1" ; then
49772 COND_PLATFORM_UNIX_1
=""
49775 COND_PLATFORM_UNIX_1_TOOLKIT_MGL
="#"
49776 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xMGL" ; then
49777 COND_PLATFORM_UNIX_1_TOOLKIT_MGL
=""
49780 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1
="#"
49781 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
49782 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1
=""
49785 COND_PLATFORM_UNIX_1_USE_GUI_1
="#"
49786 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_GUI" = "x1" ; then
49787 COND_PLATFORM_UNIX_1_USE_GUI_1
=""
49790 COND_PLATFORM_UNIX_1_USE_PLUGINS_0
="#"
49791 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_PLUGINS" = "x0" ; then
49792 COND_PLATFORM_UNIX_1_USE_PLUGINS_0
=""
49795 COND_PLATFORM_WIN32_0
="#"
49796 if test "x$PLATFORM_WIN32" = "x0" ; then
49797 COND_PLATFORM_WIN32_0
=""
49800 COND_PLATFORM_WIN32_1
="#"
49801 if test "x$PLATFORM_WIN32" = "x1" ; then
49802 COND_PLATFORM_WIN32_1
=""
49806 if test "x$SHARED" = "x0" ; then
49810 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0
="#"
49811 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMAC" -a "x$WXUNIV" = "x0" ; then
49812 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0
=""
49815 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0
="#"
49816 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
49817 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0
=""
49820 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0
="#"
49821 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xPM" -a "x$WXUNIV" = "x0" ; then
49822 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0
=""
49825 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
="#"
49826 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
49827 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
=""
49830 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
="#"
49831 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
49832 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
=""
49835 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
="#"
49836 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
49837 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
=""
49840 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
="#"
49841 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
49842 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
=""
49845 COND_SHARED_0_USE_STC_1
="#"
49846 if test "x$SHARED" = "x0" -a "x$USE_STC" = "x1" ; then
49847 COND_SHARED_0_USE_STC_1
=""
49850 COND_SHARED_0_WXUSE_EXPAT_BUILTIN
="#"
49851 if test "x$SHARED" = "x0" -a "x$wxUSE_EXPAT" = "xbuiltin" ; then
49852 COND_SHARED_0_WXUSE_EXPAT_BUILTIN
=""
49855 COND_SHARED_0_WXUSE_REGEX_BUILTIN
="#"
49856 if test "x$SHARED" = "x0" -a "x$wxUSE_REGEX" = "xbuiltin" ; then
49857 COND_SHARED_0_WXUSE_REGEX_BUILTIN
=""
49860 COND_SHARED_0_WXUSE_ZLIB_BUILTIN
="#"
49861 if test "x$SHARED" = "x0" -a "x$wxUSE_ZLIB" = "xbuiltin" ; then
49862 COND_SHARED_0_WXUSE_ZLIB_BUILTIN
=""
49866 if test "x$SHARED" = "x1" ; then
49870 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
="#"
49871 if test "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
49872 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
=""
49876 if test "x$TOOLKIT" = "x" ; then
49880 COND_TOOLKIT_COCOA
="#"
49881 if test "x$TOOLKIT" = "xCOCOA" ; then
49882 COND_TOOLKIT_COCOA
=""
49885 COND_TOOLKIT_COCOA_USE_GUI_1
="#"
49886 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" ; then
49887 COND_TOOLKIT_COCOA_USE_GUI_1
=""
49890 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
="#"
49891 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49892 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
=""
49895 COND_TOOLKIT_DFB
="#"
49896 if test "x$TOOLKIT" = "xDFB" ; then
49897 COND_TOOLKIT_DFB
=""
49900 COND_TOOLKIT_DFB_USE_GUI_1
="#"
49901 if test "x$TOOLKIT" = "xDFB" -a "x$USE_GUI" = "x1" ; then
49902 COND_TOOLKIT_DFB_USE_GUI_1
=""
49905 COND_TOOLKIT_GTK
="#"
49906 if test "x$TOOLKIT" = "xGTK" ; then
49907 COND_TOOLKIT_GTK
=""
49910 COND_TOOLKIT_GTK_TOOLKIT_VERSION_
="#"
49911 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" ; then
49912 COND_TOOLKIT_GTK_TOOLKIT_VERSION_
=""
49915 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2
="#"
49916 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" ; then
49917 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2
=""
49920 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1
="#"
49921 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" ; then
49922 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1
=""
49925 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0
="#"
49926 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49927 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0
=""
49930 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_WXUNIV_0
="#"
49931 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$WXUNIV" = "x0" ; then
49932 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_WXUNIV_0
=""
49935 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1
="#"
49936 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" ; then
49937 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1
=""
49940 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0
="#"
49941 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49942 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0
=""
49945 COND_TOOLKIT_GTK_USE_GUI_1
="#"
49946 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" ; then
49947 COND_TOOLKIT_GTK_USE_GUI_1
=""
49950 COND_TOOLKIT_MAC
="#"
49951 if test "x$TOOLKIT" = "xMAC" ; then
49952 COND_TOOLKIT_MAC
=""
49955 COND_TOOLKIT_MAC_USE_GUI_1
="#"
49956 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
49957 COND_TOOLKIT_MAC_USE_GUI_1
=""
49960 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0
="#"
49961 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49962 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0
=""
49965 COND_TOOLKIT_MGL
="#"
49966 if test "x$TOOLKIT" = "xMGL" ; then
49967 COND_TOOLKIT_MGL
=""
49970 COND_TOOLKIT_MGL_USE_GUI_1
="#"
49971 if test "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
49972 COND_TOOLKIT_MGL_USE_GUI_1
=""
49975 COND_TOOLKIT_MOTIF
="#"
49976 if test "x$TOOLKIT" = "xMOTIF" ; then
49977 COND_TOOLKIT_MOTIF
=""
49980 COND_TOOLKIT_MOTIF_USE_GUI_1
="#"
49981 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" ; then
49982 COND_TOOLKIT_MOTIF_USE_GUI_1
=""
49985 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
="#"
49986 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49987 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
=""
49990 COND_TOOLKIT_MSW
="#"
49991 if test "x$TOOLKIT" = "xMSW" ; then
49992 COND_TOOLKIT_MSW
=""
49995 COND_TOOLKIT_MSW_USE_GUI_1
="#"
49996 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" ; then
49997 COND_TOOLKIT_MSW_USE_GUI_1
=""
50000 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
="#"
50001 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50002 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
=""
50005 COND_TOOLKIT_MSW_WXUNIV_0
="#"
50006 if test "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
50007 COND_TOOLKIT_MSW_WXUNIV_0
=""
50010 COND_TOOLKIT_PM
="#"
50011 if test "x$TOOLKIT" = "xPM" ; then
50015 COND_TOOLKIT_PM_USE_GUI_1
="#"
50016 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" ; then
50017 COND_TOOLKIT_PM_USE_GUI_1
=""
50020 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
="#"
50021 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50022 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
=""
50025 COND_TOOLKIT_WINCE
="#"
50026 if test "x$TOOLKIT" = "xWINCE" ; then
50027 COND_TOOLKIT_WINCE
=""
50030 COND_TOOLKIT_WINCE_USE_GUI_1
="#"
50031 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" ; then
50032 COND_TOOLKIT_WINCE_USE_GUI_1
=""
50035 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0
="#"
50036 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50037 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0
=""
50040 COND_TOOLKIT_WINCE_WXUNIV_0
="#"
50041 if test "x$TOOLKIT" = "xWINCE" -a "x$WXUNIV" = "x0" ; then
50042 COND_TOOLKIT_WINCE_WXUNIV_0
=""
50045 COND_TOOLKIT_X11
="#"
50046 if test "x$TOOLKIT" = "xX11" ; then
50047 COND_TOOLKIT_X11
=""
50050 COND_TOOLKIT_X11_USE_GUI_1
="#"
50051 if test "x$TOOLKIT" = "xX11" -a "x$USE_GUI" = "x1" ; then
50052 COND_TOOLKIT_X11_USE_GUI_1
=""
50056 if test "x$UNICODE" = "x1" ; then
50060 COND_USE_EXCEPTIONS_0
="#"
50061 if test "x$USE_EXCEPTIONS" = "x0" ; then
50062 COND_USE_EXCEPTIONS_0
=""
50065 COND_USE_EXCEPTIONS_1
="#"
50066 if test "x$USE_EXCEPTIONS" = "x1" ; then
50067 COND_USE_EXCEPTIONS_1
=""
50071 if test "x$USE_GUI" = "x0" ; then
50076 if test "x$USE_GUI" = "x1" ; then
50080 COND_USE_GUI_1_USE_OPENGL_1
="#"
50081 if test "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
50082 COND_USE_GUI_1_USE_OPENGL_1
=""
50085 COND_USE_GUI_1_WXUNIV_0
="#"
50086 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50087 COND_USE_GUI_1_WXUNIV_0
=""
50090 COND_USE_GUI_1_WXUNIV_1
="#"
50091 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
50092 COND_USE_GUI_1_WXUNIV_1
=""
50095 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
="#"
50096 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
50097 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
=""
50100 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
="#"
50101 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
50102 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
=""
50105 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
="#"
50106 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
50107 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
=""
50110 COND_USE_OPENGL_1
="#"
50111 if test "x$USE_OPENGL" = "x1" ; then
50112 COND_USE_OPENGL_1
=""
50116 if test "x$USE_PCH" = "x1" ; then
50120 COND_USE_PLUGINS_0
="#"
50121 if test "x$USE_PLUGINS" = "x0" ; then
50122 COND_USE_PLUGINS_0
=""
50125 COND_USE_RTTI_0
="#"
50126 if test "x$USE_RTTI" = "x0" ; then
50130 COND_USE_RTTI_1
="#"
50131 if test "x$USE_RTTI" = "x1" ; then
50135 COND_USE_SOSYMLINKS_1
="#"
50136 if test "x$USE_SOSYMLINKS" = "x1" ; then
50137 COND_USE_SOSYMLINKS_1
=""
50140 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1
="#"
50141 if test "x$USE_SOVERCYGWIN" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
50142 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1
=""
50145 COND_USE_SOVERLINUX_1
="#"
50146 if test "x$USE_SOVERLINUX" = "x1" ; then
50147 COND_USE_SOVERLINUX_1
=""
50150 COND_USE_SOVERSION_0
="#"
50151 if test "x$USE_SOVERSION" = "x0" ; then
50152 COND_USE_SOVERSION_0
=""
50155 COND_USE_SOVERSOLARIS_1
="#"
50156 if test "x$USE_SOVERSOLARIS" = "x1" ; then
50157 COND_USE_SOVERSOLARIS_1
=""
50161 if test "x$USE_STC" = "x1" ; then
50165 COND_USE_THREADS_0
="#"
50166 if test "x$USE_THREADS" = "x0" ; then
50167 COND_USE_THREADS_0
=""
50170 COND_USE_THREADS_1
="#"
50171 if test "x$USE_THREADS" = "x1" ; then
50172 COND_USE_THREADS_1
=""
50176 if test "x$USE_XRC" = "x1" ; then
50180 COND_WINDOWS_IMPLIB_1
="#"
50181 if test "x$WINDOWS_IMPLIB" = "x1" ; then
50182 COND_WINDOWS_IMPLIB_1
=""
50185 COND_WITH_PLUGIN_SDL_1
="#"
50186 if test "x$WITH_PLUGIN_SDL" = "x1" ; then
50187 COND_WITH_PLUGIN_SDL_1
=""
50191 if test "x$WXUNIV" = "x0" ; then
50196 if test "x$WXUNIV" = "x1" ; then
50200 COND_WXUSE_EXPAT_BUILTIN
="#"
50201 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
50202 COND_WXUSE_EXPAT_BUILTIN
=""
50205 COND_WXUSE_LIBJPEG_BUILTIN
="#"
50206 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
50207 COND_WXUSE_LIBJPEG_BUILTIN
=""
50210 COND_WXUSE_LIBPNG_BUILTIN
="#"
50211 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
50212 COND_WXUSE_LIBPNG_BUILTIN
=""
50215 COND_WXUSE_LIBTIFF_BUILTIN
="#"
50216 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
50217 COND_WXUSE_LIBTIFF_BUILTIN
=""
50220 COND_WXUSE_REGEX_BUILTIN
="#"
50221 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
50222 COND_WXUSE_REGEX_BUILTIN
=""
50225 COND_WXUSE_ZLIB_BUILTIN
="#"
50226 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
50227 COND_WXUSE_ZLIB_BUILTIN
=""
50232 if test "$BAKEFILE_AUTOCONF_INC_M4_VERSION" = "" ; then
50233 { { 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
50234 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;}
50235 { (exit 1); exit 1; }; }
50238 if test "$BAKEFILE_BAKEFILE_M4_VERSION" != "$BAKEFILE_AUTOCONF_INC_M4_VERSION" ; then
50239 { { 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
50240 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;}
50241 { (exit 1); exit 1; }; }
50248 ?
:* ) # Drive letter, considered as absolute.
50251 INSTALL
=`pwd`/${INSTALL} ;;
50254 if test "$wxUSE_GUI" = "yes"; then
50256 if test "$wxUSE_MSW" = 1 ; then
50257 if test "x$WINDRES" = "x"; then
50258 { { echo "$as_me:$LINENO: error: Required windres program not found" >&5
50259 echo "$as_me: error: Required windres program not found" >&2;}
50260 { (exit 1); exit 1; }; }
50266 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1; then
50267 WX_RESOURCES_MACOSX_ASCII
="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.r"
50268 WX_RESOURCES_MACOSX_DATA
="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.rsrc"
50270 LIBWXMACRES
="\$(wx_top_builddir)/lib/${WX_RESOURCES_MACOSX_ASCII}"
50272 # Extract the first word of "DeRez", so it can be a program name with args.
50273 set dummy DeRez
; ac_word
=$2
50274 { echo "$as_me:$LINENO: checking for $ac_word" >&5
50275 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
50276 if test "${ac_cv_prog_DEREZ+set}" = set; then
50277 echo $ECHO_N "(cached) $ECHO_C" >&6
50279 if test -n "$DEREZ"; then
50280 ac_cv_prog_DEREZ
="$DEREZ" # Let the user override the test.
50282 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
50283 for as_dir
in $PATH
50286 test -z "$as_dir" && as_dir
=.
50287 for ac_exec_ext
in '' $ac_executable_extensions; do
50288 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
50289 ac_cv_prog_DEREZ
="DeRez"
50290 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
50297 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ
="/Developer/Tools/DeRez"
50300 DEREZ
=$ac_cv_prog_DEREZ
50301 if test -n "$DEREZ"; then
50302 { echo "$as_me:$LINENO: result: $DEREZ" >&5
50303 echo "${ECHO_T}$DEREZ" >&6; }
50305 { echo "$as_me:$LINENO: result: no" >&5
50306 echo "${ECHO_T}no" >&6; }
50311 MACSETFILE
="\$(SETFILE)"
50313 if test "$wxUSE_MAC" = 1; then
50314 POSTLINK_COMMAND
="\$(REZ) -d __DARWIN__ -t APPL Carbon.r -o"
50316 WXCONFIG_RESFLAGS
="-d __DARWIN__ -t APPL Carbon.r -o"
50318 POSTLINK_COMMAND
="cat /dev/null | \$(REZ) -d __DARWIN__ -t APPL ${LIBWXMACRES}"
50319 RESCOMP
="cat /dev/null \| $REZ"
50320 WXCONFIG_RESFLAGS
="-d __DARWIN__ -t APPL \$libdir/$WX_RESOURCES_MACOSX_ASCII"
50326 if test "$wxUSE_PM" = 1; then
50328 WXCONFIG_RESFLAGS
="-ep"
50330 POSTLINK_COMMAND
="$RESCOMP $WXCONFIG_RESFLAGS"
50332 POSTLINK_COMMAND
="@true"
50339 if test $GCC_PCH = 1
50341 if test "$wx_cv_gcc_pch_bug" = yes; then
50342 { echo "$as_me:$LINENO: WARNING: *** Precompiled header support is broken on this compiler" >&5
50343 echo "$as_me: WARNING: *** Precompiled header support is broken on this compiler" >&2;}
50344 { echo "$as_me:$LINENO: WARNING: *** --enable-precomp-headers is not recommended" >&5
50345 echo "$as_me: WARNING: *** --enable-precomp-headers is not recommended" >&2;}
50346 { echo "$as_me:$LINENO: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&5
50347 echo "$as_me: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&2;}
50350 # Our WX_PRECOMP flag does not make sense for any language except C++ because
50351 # the headers that benefit from precompilation are mostly C++ headers.
50352 CXXFLAGS
="-DWX_PRECOMP $CXXFLAGS"
50353 # When Bakefile can do multi-language PCH (e.g. C++ and Objective-C++) enable this:
50354 #OBJCXXFLAGS="-DWX_PRECOMP $CXXFLAGS"
50358 if test "$wxUSE_MAC" = 1 ; then
50359 if test "x$wxUSE_UNIVERSAL_BINARY" != "xno" ; then
50360 sed "s/DEPSMODE=gcc/DEPSMODE=none/" < bk
-deps > temp
50366 if test "$wxUSE_SHARED" = "yes"; then
50368 *-pc-os2_emx | *-pc-os2-emx )
50369 SHARED_LD_CC
="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
50370 SHARED_LD_CXX
="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
50371 cp -p ${srcdir}/src
/os
2/dllnames.sh .
50372 cp -p ${srcdir}/src
/os
2/dllar.sh .
50376 if test "$wxUSE_OMF" = "yes"; then
50378 *-pc-os2_emx | *-pc-os2-emx )
50379 LDFLAGS
="$LDFLAGS -Zlinker /EXEPACK"
50380 LDFLAGS_GUI
="-Zlinker /PMTYPE:PM"
50381 WXCONFIG_LDFLAGS_GUI
="-Zlinker /PMTYPE:PM"
50386 WXCONFIG_CPPFLAGS
="$WXCONFIG_CPPFLAGS $TOOLCHAIN_DEFS"
50391 if test "$GCC" = yes; then
50392 CPPFLAGS
=`echo $CPPFLAGS | sed 's/-mt//'`
50393 LIBS
=`echo $LIBS | sed 's/-mt//'`
50394 EXTRALIBS_GUI
=`echo $EXTRALIBS_GUI | sed 's/-mt//'`
50399 if test "x$SUNCXX" = xyes
; then
50400 CPPFLAGS
=`echo $CPPFLAGS | sed 's/-pthread//'`
50401 LIBS
=`echo $LIBS | sed 's/-pthread//'`
50402 EXTRALIBS_GUI
=`echo $EXTRALIBS_GUI | sed 's/-pthread//'`
50407 CFLAGS
="$CFLAGS $CFLAGS_VISIBILITY"
50408 CXXFLAGS
="$CXXFLAGS $CXXFLAGS_VISIBILITY"
50410 SAMPLES_SUBDIRS
="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
50471 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
50472 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
50473 set x
${MAKE-make}; ac_make
=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
50474 if { as_var
=ac_cv_prog_make_
${ac_make}_set
; eval "test \"\${$as_var+set}\" = set"; }; then
50475 echo $ECHO_N "(cached) $ECHO_C" >&6
50477 cat >conftest.
make <<\_ACEOF
50480 @
echo '@@@%%%=$(MAKE)=@@@%%%'
50482 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
50483 case `${MAKE-make} -f conftest.make 2>/dev/null` in
50484 *@@@
%%%=?
*=@@@
%%%*)
50485 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
50487 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
50489 rm -f conftest.
make
50491 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
50492 { echo "$as_me:$LINENO: result: yes" >&5
50493 echo "${ECHO_T}yes" >&6; }
50496 { echo "$as_me:$LINENO: result: no" >&5
50497 echo "${ECHO_T}no" >&6; }
50498 SET_MAKE
="MAKE=${MAKE-make}"
50503 ac_config_headers
="$ac_config_headers lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in"
50506 if test "$USE_WIN32" = 1; then
50507 ac_config_commands
="$ac_config_commands
50513 ac_config_files
="$ac_config_files lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in"
50516 ac_config_files
="$ac_config_files lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in"
50519 ac_config_files
="$ac_config_files utils/ifacecheck/rungccxml.sh"
50522 if test "$wx_cv_version_script" = "yes"; then
50523 ac_config_files
="$ac_config_files version-script"
50526 ac_config_files
="$ac_config_files Makefile"
50529 ac_config_commands
="$ac_config_commands wx-config"
50533 if test "$wxWITH_SUBDIRS" != "no"; then
50534 if test "$wxUSE_GUI" = "yes"; then
50535 SUBDIRS
="samples demos utils"
50537 SUBDIRS
="samples utils"
50542 # Check whether --with-cppunit-prefix was given.
50543 if test "${with_cppunit_prefix+set}" = set; then
50544 withval
=$with_cppunit_prefix; cppunit_config_prefix
="$withval"
50546 cppunit_config_prefix
=""
50550 # Check whether --with-cppunit-exec-prefix was given.
50551 if test "${with_cppunit_exec_prefix+set}" = set; then
50552 withval
=$with_cppunit_exec_prefix; cppunit_config_exec_prefix
="$withval"
50554 cppunit_config_exec_prefix
=""
50558 if test x
$cppunit_config_exec_prefix != x
; then
50559 cppunit_config_args
="$cppunit_config_args --exec-prefix=$cppunit_config_exec_prefix"
50560 if test x
${CPPUNIT_CONFIG+set} != xset
; then
50561 CPPUNIT_CONFIG
=$cppunit_config_exec_prefix/bin
/cppunit
-config
50564 if test x
$cppunit_config_prefix != x
; then
50565 cppunit_config_args
="$cppunit_config_args --prefix=$cppunit_config_prefix"
50566 if test x
${CPPUNIT_CONFIG+set} != xset
; then
50567 CPPUNIT_CONFIG
=$cppunit_config_prefix/bin
/cppunit
-config
50571 # Extract the first word of "cppunit-config", so it can be a program name with args.
50572 set dummy cppunit
-config; ac_word
=$2
50573 { echo "$as_me:$LINENO: checking for $ac_word" >&5
50574 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
50575 if test "${ac_cv_path_CPPUNIT_CONFIG+set}" = set; then
50576 echo $ECHO_N "(cached) $ECHO_C" >&6
50578 case $CPPUNIT_CONFIG in
50580 ac_cv_path_CPPUNIT_CONFIG
="$CPPUNIT_CONFIG" # Let the user override the test with a path.
50583 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
50584 for as_dir
in $PATH
50587 test -z "$as_dir" && as_dir
=.
50588 for ac_exec_ext
in '' $ac_executable_extensions; do
50589 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
50590 ac_cv_path_CPPUNIT_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
50591 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
50598 test -z "$ac_cv_path_CPPUNIT_CONFIG" && ac_cv_path_CPPUNIT_CONFIG
="no"
50602 CPPUNIT_CONFIG
=$ac_cv_path_CPPUNIT_CONFIG
50603 if test -n "$CPPUNIT_CONFIG"; then
50604 { echo "$as_me:$LINENO: result: $CPPUNIT_CONFIG" >&5
50605 echo "${ECHO_T}$CPPUNIT_CONFIG" >&6; }
50607 { echo "$as_me:$LINENO: result: no" >&5
50608 echo "${ECHO_T}no" >&6; }
50612 cppunit_version_min
=1.8.0
50614 { echo "$as_me:$LINENO: checking for Cppunit - version >= $cppunit_version_min" >&5
50615 echo $ECHO_N "checking for Cppunit - version >= $cppunit_version_min... $ECHO_C" >&6; }
50617 if test "$CPPUNIT_CONFIG" = "no" ; then
50618 { echo "$as_me:$LINENO: result: no" >&5
50619 echo "${ECHO_T}no" >&6; }
50622 CPPUNIT_CFLAGS
=`$CPPUNIT_CONFIG --cflags`
50623 CPPUNIT_LIBS
=`$CPPUNIT_CONFIG --libs`
50624 cppunit_version
=`$CPPUNIT_CONFIG --version`
50626 cppunit_major_version
=`echo $cppunit_version | \
50627 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
50628 cppunit_minor_version
=`echo $cppunit_version | \
50629 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
50630 cppunit_micro_version
=`echo $cppunit_version | \
50631 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
50633 cppunit_major_min
=`echo $cppunit_version_min | \
50634 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
50635 cppunit_minor_min
=`echo $cppunit_version_min | \
50636 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
50637 cppunit_micro_min
=`echo $cppunit_version_min | \
50638 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
50640 cppunit_version_proper
=`expr \
50641 $cppunit_major_version \> $cppunit_major_min \| \
50642 $cppunit_major_version \= $cppunit_major_min \& \
50643 $cppunit_minor_version \> $cppunit_minor_min \| \
50644 $cppunit_major_version \= $cppunit_major_min \& \
50645 $cppunit_minor_version \= $cppunit_minor_min \& \
50646 $cppunit_micro_version \>= $cppunit_micro_min `
50648 if test "$cppunit_version_proper" = "1" ; then
50649 { echo "$as_me:$LINENO: result: $cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&5
50650 echo "${ECHO_T}$cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&6; }
50652 { echo "$as_me:$LINENO: result: no" >&5
50653 echo "${ECHO_T}no" >&6; }
50658 if test "x$no_cppunit" = x
; then
50659 SUBDIRS
="$SUBDIRS tests"
50670 for subdir
in $SUBDIRS; do
50671 if test -d ${srcdir}/${subdir} ; then
50672 if test "$wxUSE_GUI" = "yes"; then
50673 if test ${subdir} = "samples"; then
50674 makefiles
="samples/Makefile.in $makefiles"
50675 for sample
in $SAMPLES_SUBDIRS; do
50676 if test -d $srcdir/samples
/$sample; then
50677 makefiles
="samples/$sample/Makefile.in $makefiles"
50681 disabled_var
=DISABLED_
`echo $subdir | tr '[a-z]' '[A-Z]'`
50682 eval "disabled=\$$disabled_var"
50683 disabled
=/`echo X $disabled | sed 's@ @/|/@g'`/
50684 makefiles
=`(cd $srcdir ; find $subdir -name Makefile.in) | $EGREP -v "$disabled"`
50687 if test ${subdir} = "samples"; then
50688 makefiles
="samples/Makefile.in $makefiles"
50689 for sample
in `echo $SAMPLES_SUBDIRS`; do
50690 if test -d $srcdir/samples
/$sample; then
50691 makefiles
="samples/$sample/Makefile.in $makefiles"
50694 elif test ${subdir} = "utils"; then
50696 for util
in ifacecheck
; do
50697 if test -d $srcdir/utils
/$util ; then
50698 makefiles
="utils/$util/src/Makefile.in \
50703 makefiles
=`(cd $srcdir ; find $subdir -name Makefile.in)`
50707 for mkin
in $makefiles ; do
50708 mk
=`echo $mkin | sed 's/Makefile\.in/Makefile/g'`
50709 ac_config_files
="$ac_config_files $mk"
50715 cat >confcache
<<\_ACEOF
50716 # This file is a shell script that caches the results of configure
50717 # tests run on this system so they can be shared between configure
50718 # scripts and configure runs, see configure's option --config-cache.
50719 # It is not useful on other systems. If it contains results you don't
50720 # want to keep, you may remove or edit it.
50722 # config.status only pays attention to the cache file if you give it
50723 # the --recheck option to rerun configure.
50725 # `ac_cv_env_foo' variables (set or unset) will be overridden when
50726 # loading this file, other *unset* `ac_cv_foo' will be assigned the
50727 # following values.
50731 # The following way of writing the cache mishandles newlines in values,
50732 # but we know of no workaround that is simple, portable, and efficient.
50733 # So, we kill variables containing newlines.
50734 # Ultrix sh set writes to stderr and can't be redirected directly,
50735 # and sets the high bit in the cache file unless we assign to the vars.
50737 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
50738 eval ac_val
=\$
$ac_var
50742 *_cv_
*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
50743 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
50746 _
| IFS
| as_nl
) ;; #(
50747 *) $as_unset $ac_var ;;
50753 case $as_nl`(ac_space=' '; set) 2>&1` in #(
50754 *${as_nl}ac_space
=\
*)
50755 # `set' does not quote correctly, so add quotes (double-quote
50756 # substitution turns \\\\ into \\, and sed turns \\ into \).
50759 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
50762 # `set' quotes correctly as required by POSIX, so do not add quotes.
50763 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
50772 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
50774 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
50776 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
50777 if test -w "$cache_file"; then
50778 test "x$cache_file" != "x/dev/null" &&
50779 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
50780 echo "$as_me: updating cache $cache_file" >&6;}
50781 cat confcache
>$cache_file
50783 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
50784 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
50789 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
50790 # Let make expand exec_prefix.
50791 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
50793 DEFS
=-DHAVE_CONFIG_H
50797 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
50798 # 1. Remove the extension, and $U if already installed.
50799 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
50800 ac_i
=`echo "$ac_i" | sed "$ac_script"`
50801 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
50802 # will be set to the directory where LIBOBJS objects are built.
50803 ac_libobjs
="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
50804 ac_ltlibobjs
="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
50806 LIBOBJS
=$ac_libobjs
50808 LTLIBOBJS
=$ac_ltlibobjs
50812 : ${CONFIG_STATUS=./config.status}
50813 ac_clean_files_save
=$ac_clean_files
50814 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
50815 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
50816 echo "$as_me: creating $CONFIG_STATUS" >&6;}
50817 cat >$CONFIG_STATUS <<_ACEOF
50819 # Generated by $as_me.
50820 # Run this file to recreate the current configuration.
50821 # Compiler output produced by configure, useful for debugging
50822 # configure, is in config.log if it exists.
50825 ac_cs_recheck=false
50827 SHELL=\${CONFIG_SHELL-$SHELL}
50830 cat >>$CONFIG_STATUS <<\_ACEOF
50831 ## --------------------- ##
50832 ## M4sh Initialization. ##
50833 ## --------------------- ##
50835 # Be more Bourne compatible
50836 DUALCASE
=1; export DUALCASE
# for MKS sh
50837 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
50840 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
50841 # is contrary to our usage. Disable this feature.
50842 alias -g '${1+"$@"}'='"$@"'
50843 setopt NO_GLOB_SUBST
50845 case `(set -o) 2>/dev/null` in
50846 *posix
*) set -o posix
;;
50855 # Avoid depending upon Character Ranges.
50856 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
50857 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
50858 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
50859 as_cr_digits
='0123456789'
50860 as_cr_alnum
=$as_cr_Letters$as_cr_digits
50862 # The user is always right.
50863 if test "${PATH_SEPARATOR+set}" != set; then
50864 echo "#! /bin/sh" >conf$$.sh
50865 echo "exit 0" >>conf$$.sh
50867 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
50875 # Support unset when possible.
50876 if ( (MAIL
=60; unset MAIL
) || exit) >/dev
/null
2>&1; then
50884 # We need space, tab and new line, in precisely that order. Quoting is
50885 # there to prevent editors from complaining about space-tab.
50886 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
50887 # splitting by setting IFS to empty value.)
50892 # Find who we are. Look in the path if we contain no directory separator.
50894 *[\\/]* ) as_myself
=$0 ;;
50895 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
50896 for as_dir
in $PATH
50899 test -z "$as_dir" && as_dir
=.
50900 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
50906 # We did not find ourselves, most probably we were run as `sh COMMAND'
50907 # in which case we are not to be found in the path.
50908 if test "x$as_myself" = x
; then
50911 if test ! -f "$as_myself"; then
50912 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
50913 { (exit 1); exit 1; }
50916 # Work around bugs in pre-3.0 UWIN ksh.
50917 for as_var
in ENV MAIL MAILPATH
50918 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
50926 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
50927 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
50928 LC_TELEPHONE LC_TIME
50930 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
50931 eval $as_var=C
; export $as_var
50933 ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
50937 # Required to use basename.
50938 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
50939 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
50945 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
50946 as_basename
=basename
50952 # Name of the executable.
50953 as_me
=`$as_basename -- "$0" ||
50954 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
50955 X"$0" : 'X\(//\)$' \| \
50956 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
50958 sed '/^.*\/\([^/][^/]*\)\/*$/{
50977 as_lineno_1
=$LINENO
50978 as_lineno_2
=$LINENO
50979 test "x$as_lineno_1" != "x$as_lineno_2" &&
50980 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
50982 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
50983 # uniformly replaced by the line number. The first 'sed' inserts a
50984 # line-number line after each line using $LINENO; the second 'sed'
50985 # does the real work. The second script uses 'N' to pair each
50986 # line-number line with the line containing $LINENO, and appends
50987 # trailing '-' during substitution so that $LINENO is not a special
50988 # case at line end.
50989 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
50990 # scripts with optimization help from Paolo Bonzini. Blame Lee
50991 # E. McMahon (1931-1989) for sed's syntax. :-)
51003 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
51006 ' >$as_me.lineno
&&
51007 chmod +x
"$as_me.lineno" ||
51008 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
51009 { (exit 1); exit 1; }; }
51011 # Don't try to exec as it changes $[0], causing all sort of problems
51012 # (the dirname of $[0] is not the place where we might find the
51013 # original and so on. Autoconf is especially sensitive to this).
51014 .
"./$as_me.lineno"
51015 # Exit status is that of the last command.
51020 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
51026 ECHO_C
= ECHO_N
= ECHO_T
=
51027 case `echo -n x` in
51029 case `echo 'x\c'` in
51030 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
51037 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
51038 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
51044 rm -f conf$$ conf$$.exe conf$$.
file
51045 if test -d conf$$.dir
; then
51046 rm -f conf$$.dir
/conf$$.
file
51052 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
51054 # ... but there are two gotchas:
51055 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
51056 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
51057 # In both cases, we have to default to `cp -p'.
51058 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe
||
51060 elif ln conf$$.
file conf$$
2>/dev
/null
; then
51065 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
51066 rmdir conf$$.dir
2>/dev
/null
51068 if mkdir -p .
2>/dev
/null
; then
51071 test -d .
/-p && rmdir .
/-p
51075 if test -x / >/dev
/null
2>&1; then
51076 as_test_x
='test -x'
51078 if ls -dL / >/dev
/null
2>&1; then
51085 if test -d "$1"; then
51091 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
51092 ???[sx]*):;;*)false;;esac;fi
51096 as_executable_p
=$as_test_x
51098 # Sed expression to map a string onto a valid CPP name.
51099 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
51101 # Sed expression to map a string onto a valid variable name.
51102 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
51107 # Save the log message, to keep $[0] and so on meaningful, and to
51108 # report actual input values of CONFIG_FILES etc. instead of their
51109 # values after options handling.
51111 This file was extended by wxWidgets $as_me 2.9.0, which was
51112 generated by GNU Autoconf 2.61. Invocation command line was
51114 CONFIG_FILES = $CONFIG_FILES
51115 CONFIG_HEADERS = $CONFIG_HEADERS
51116 CONFIG_LINKS = $CONFIG_LINKS
51117 CONFIG_COMMANDS = $CONFIG_COMMANDS
51120 on `(hostname || uname -n) 2>/dev/null | sed 1q`
51125 cat >>$CONFIG_STATUS <<_ACEOF
51126 # Files that config.status was made for.
51127 config_files="$ac_config_files"
51128 config_headers="$ac_config_headers"
51129 config_commands="$ac_config_commands"
51133 cat >>$CONFIG_STATUS <<\_ACEOF
51135 \`$as_me' instantiates files from templates according to the
51136 current configuration.
51138 Usage: $0 [OPTIONS] [FILE]...
51140 -h, --help print this help, then exit
51141 -V, --version print version number and configuration settings, then exit
51142 -q, --quiet do not print progress messages
51143 -d, --debug don't remove temporary files
51144 --recheck update $as_me by reconfiguring in the same conditions
51145 --file=FILE[:TEMPLATE]
51146 instantiate the configuration file FILE
51147 --header=FILE[:TEMPLATE]
51148 instantiate the configuration header FILE
51150 Configuration files:
51153 Configuration headers:
51156 Configuration commands:
51159 Report bugs to <bug-autoconf@gnu.org>."
51162 cat >>$CONFIG_STATUS <<_ACEOF
51164 wxWidgets config.status 2.9.0
51165 configured by $0, generated by GNU Autoconf 2.61,
51166 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
51168 Copyright (C) 2006 Free Software Foundation, Inc.
51169 This config.status script is free software; the Free Software Foundation
51170 gives unlimited permission to copy, distribute and modify it."
51177 cat >>$CONFIG_STATUS <<\_ACEOF
51178 # If no file are specified by the user, then we need to provide default
51179 # value. By we need to know if files were specified by the user.
51185 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
51186 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
51197 # Handling of the options.
51198 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
51200 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
51201 echo "$ac_cs_version"; exit ;;
51202 --debug | --debu | --deb | --de | --d | -d )
51204 --file | --fil | --fi | --f )
51206 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
51207 ac_need_defaults
=false
;;
51208 --header | --heade | --head | --hea )
51210 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
51211 ac_need_defaults
=false
;;
51213 # Conflict between --help and --header
51214 { echo "$as_me: error: ambiguous option: $1
51215 Try \`$0 --help' for more information." >&2
51216 { (exit 1); exit 1; }; };;
51217 --help | --hel | -h )
51218 echo "$ac_cs_usage"; exit ;;
51219 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
51220 | -silent | --silent | --silen | --sile | --sil | --si | --s)
51223 # This is an error.
51224 -*) { echo "$as_me: error: unrecognized option: $1
51225 Try \`$0 --help' for more information." >&2
51226 { (exit 1); exit 1; }; } ;;
51228 *) ac_config_targets
="$ac_config_targets $1"
51229 ac_need_defaults
=false
;;
51235 ac_configure_extra_args
=
51237 if $ac_cs_silent; then
51239 ac_configure_extra_args
="$ac_configure_extra_args --silent"
51243 cat >>$CONFIG_STATUS <<_ACEOF
51244 if \$ac_cs_recheck; then
51245 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
51246 CONFIG_SHELL=$SHELL
51247 export CONFIG_SHELL
51248 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
51252 cat >>$CONFIG_STATUS <<\_ACEOF
51256 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
51257 ## Running $as_me. ##
51263 cat >>$CONFIG_STATUS <<_ACEOF
51269 infile="$srcdir/include/wx/msw/genrcdefs.h"
51270 outdir="lib/wx/include/$TOOLCHAIN_FULLNAME/wx/msw"
51273 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
51274 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
51275 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
51281 cat >>$CONFIG_STATUS <<\_ACEOF
51283 # Handling of arguments.
51284 for ac_config_target
in $ac_config_targets
51286 case $ac_config_target in
51287 "lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h") CONFIG_HEADERS
="$CONFIG_HEADERS lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in" ;;
51288 "rcdefs.h") CONFIG_COMMANDS
="$CONFIG_COMMANDS rcdefs.h" ;;
51289 "lib/wx/config/${TOOLCHAIN_FULLNAME}") CONFIG_FILES
="$CONFIG_FILES lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in" ;;
51290 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}") CONFIG_FILES
="$CONFIG_FILES lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in" ;;
51291 "utils/ifacecheck/rungccxml.sh") CONFIG_FILES
="$CONFIG_FILES utils/ifacecheck/rungccxml.sh" ;;
51292 "version-script") CONFIG_FILES
="$CONFIG_FILES version-script" ;;
51293 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
51294 "wx-config") CONFIG_COMMANDS
="$CONFIG_COMMANDS wx-config" ;;
51295 "$mk") CONFIG_FILES
="$CONFIG_FILES $mk" ;;
51297 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
51298 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
51299 { (exit 1); exit 1; }; };;
51304 # If the user did not use the arguments to specify the items to instantiate,
51305 # then the envvar interface is used. Set only those that are not.
51306 # We use the long form for the default assignment because of an extremely
51307 # bizarre bug on SunOS 4.1.3.
51308 if $ac_need_defaults; then
51309 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
51310 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
51311 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
51314 # Have a temporary directory for convenience. Make it in the build tree
51315 # simply because there is no reason against having it here, and in addition,
51316 # creating and moving files from /tmp can sometimes cause problems.
51317 # Hook for its removal unless debugging.
51318 # Note that there is a small window in which the directory will not be cleaned:
51319 # after its creation but before its name has been assigned to `$tmp'.
51323 trap 'exit_status=$?
51324 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
51326 trap '{ (exit 1); exit 1; }' 1 2 13 15
51328 # Create a (secure) tmp directory for tmp files.
51331 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
51332 test -n "$tmp" && test -d "$tmp"
51335 tmp
=.
/conf$$
-$RANDOM
51336 (umask 077 && mkdir "$tmp")
51339 echo "$me: cannot create a temporary directory in ." >&2
51340 { (exit 1); exit 1; }
51344 # Set up the sed scripts for CONFIG_FILES section.
51347 # No need to generate the scripts if there are no CONFIG_FILES.
51348 # This happens for instance when ./config.status config.h
51349 if test -n "$CONFIG_FILES"; then
51356 for ac_last_try
in false false false false false
:; do
51357 cat >conf$
$subs.
sed <<_ACEOF
51358 SHELL!$SHELL$ac_delim
51359 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
51360 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
51361 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
51362 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
51363 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
51364 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
51365 exec_prefix!$exec_prefix$ac_delim
51366 prefix!$prefix$ac_delim
51367 program_transform_name!$program_transform_name$ac_delim
51368 bindir!$bindir$ac_delim
51369 sbindir!$sbindir$ac_delim
51370 libexecdir!$libexecdir$ac_delim
51371 datarootdir!$datarootdir$ac_delim
51372 datadir!$datadir$ac_delim
51373 sysconfdir!$sysconfdir$ac_delim
51374 sharedstatedir!$sharedstatedir$ac_delim
51375 localstatedir!$localstatedir$ac_delim
51376 includedir!$includedir$ac_delim
51377 oldincludedir!$oldincludedir$ac_delim
51378 docdir!$docdir$ac_delim
51379 infodir!$infodir$ac_delim
51380 htmldir!$htmldir$ac_delim
51381 dvidir!$dvidir$ac_delim
51382 pdfdir!$pdfdir$ac_delim
51383 psdir!$psdir$ac_delim
51384 libdir!$libdir$ac_delim
51385 localedir!$localedir$ac_delim
51386 mandir!$mandir$ac_delim
51387 DEFS!$DEFS$ac_delim
51388 ECHO_C!$ECHO_C$ac_delim
51389 ECHO_N!$ECHO_N$ac_delim
51390 ECHO_T!$ECHO_T$ac_delim
51391 LIBS!$LIBS$ac_delim
51392 build_alias!$build_alias$ac_delim
51393 host_alias!$host_alias$ac_delim
51394 target_alias!$target_alias$ac_delim
51395 build!$build$ac_delim
51396 build_cpu!$build_cpu$ac_delim
51397 build_vendor!$build_vendor$ac_delim
51398 build_os!$build_os$ac_delim
51399 host!$host$ac_delim
51400 host_cpu!$host_cpu$ac_delim
51401 host_vendor!$host_vendor$ac_delim
51402 host_os!$host_os$ac_delim
51403 target!$target$ac_delim
51404 target_cpu!$target_cpu$ac_delim
51405 target_vendor!$target_vendor$ac_delim
51406 target_os!$target_os$ac_delim
51407 wx_top_builddir!$wx_top_builddir$ac_delim
51409 CFLAGS!$CFLAGS$ac_delim
51410 LDFLAGS!$LDFLAGS$ac_delim
51411 CPPFLAGS!$CPPFLAGS$ac_delim
51412 ac_ct_CC!$ac_ct_CC$ac_delim
51413 EXEEXT!$EXEEXT$ac_delim
51414 OBJEXT!$OBJEXT$ac_delim
51416 GREP!$GREP$ac_delim
51417 EGREP!$EGREP$ac_delim
51419 CXXFLAGS!$CXXFLAGS$ac_delim
51420 ac_ct_CXX!$ac_ct_CXX$ac_delim
51422 subdirs!$subdirs$ac_delim
51423 PKG_CONFIG!$PKG_CONFIG$ac_delim
51424 GTK_CFLAGS!$GTK_CFLAGS$ac_delim
51425 GTK_LIBS!$GTK_LIBS$ac_delim
51426 GTK_CONFIG!$GTK_CONFIG$ac_delim
51427 DIRECTFB_CFLAGS!$DIRECTFB_CFLAGS$ac_delim
51428 DIRECTFB_LIBS!$DIRECTFB_LIBS$ac_delim
51429 XMKMF!$XMKMF$ac_delim
51430 X_CFLAGS!$X_CFLAGS$ac_delim
51431 X_PRE_LIBS!$X_PRE_LIBS$ac_delim
51432 X_LIBS!$X_LIBS$ac_delim
51433 X_EXTRA_LIBS!$X_EXTRA_LIBS$ac_delim
51434 PANGOX_CFLAGS!$PANGOX_CFLAGS$ac_delim
51435 PANGOX_LIBS!$PANGOX_LIBS$ac_delim
51436 PANGOFT2_CFLAGS!$PANGOFT2_CFLAGS$ac_delim
51437 PANGOFT2_LIBS!$PANGOFT2_LIBS$ac_delim
51438 PANGOXFT_CFLAGS!$PANGOXFT_CFLAGS$ac_delim
51439 PANGOXFT_LIBS!$PANGOXFT_LIBS$ac_delim
51440 CFLAGS_VISIBILITY!$CFLAGS_VISIBILITY$ac_delim
51441 CXXFLAGS_VISIBILITY!$CXXFLAGS_VISIBILITY$ac_delim
51442 LIBICONV!$LIBICONV$ac_delim
51443 SDL_CONFIG!$SDL_CONFIG$ac_delim
51444 SDL_CFLAGS!$SDL_CFLAGS$ac_delim
51445 SDL_LIBS!$SDL_LIBS$ac_delim
51446 GTKPRINT_CFLAGS!$GTKPRINT_CFLAGS$ac_delim
51447 GTKPRINT_LIBS!$GTKPRINT_LIBS$ac_delim
51448 LIBGNOMEPRINTUI_CFLAGS!$LIBGNOMEPRINTUI_CFLAGS$ac_delim
51449 LIBGNOMEPRINTUI_LIBS!$LIBGNOMEPRINTUI_LIBS$ac_delim
51450 GNOMEVFS_CFLAGS!$GNOMEVFS_CFLAGS$ac_delim
51451 GNOMEVFS_LIBS!$GNOMEVFS_LIBS$ac_delim
51452 HILDON_CFLAGS!$HILDON_CFLAGS$ac_delim
51453 HILDON_LIBS!$HILDON_LIBS$ac_delim
51454 CAIRO_CFLAGS!$CAIRO_CFLAGS$ac_delim
51457 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
51459 elif $ac_last_try; then
51460 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
51461 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
51462 { (exit 1); exit 1; }; }
51464 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
51468 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
51469 if test -n "$ac_eof"; then
51470 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
51471 ac_eof
=`expr $ac_eof + 1`
51474 cat >>$CONFIG_STATUS <<_ACEOF
51475 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
51476 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
51479 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
51480 s/^/s,@/; s/!/@,|#_!!_#|/
51483 s/'"$ac_delim"'$/,g/; t
51485 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
51486 ' >>$CONFIG_STATUS <conf$
$subs.
sed
51487 rm -f conf$
$subs.
sed
51488 cat >>$CONFIG_STATUS <<_ACEOF
51494 for ac_last_try
in false false false false false
:; do
51495 cat >conf$
$subs.
sed <<_ACEOF
51496 CAIRO_LIBS!$CAIRO_LIBS$ac_delim
51497 GST_CFLAGS!$GST_CFLAGS$ac_delim
51498 GST_LIBS!$GST_LIBS$ac_delim
51499 ALL_WX_LIBS!$ALL_WX_LIBS$ac_delim
51500 BUILT_WX_LIBS!$BUILT_WX_LIBS$ac_delim
51501 STD_BASE_LIBS!$STD_BASE_LIBS$ac_delim
51502 STD_GUI_LIBS!$STD_GUI_LIBS$ac_delim
51503 wxUSE_ZLIB!$wxUSE_ZLIB$ac_delim
51504 wxUSE_REGEX!$wxUSE_REGEX$ac_delim
51505 wxUSE_EXPAT!$wxUSE_EXPAT$ac_delim
51506 wxUSE_LIBJPEG!$wxUSE_LIBJPEG$ac_delim
51507 wxUSE_LIBPNG!$wxUSE_LIBPNG$ac_delim
51508 wxUSE_LIBTIFF!$wxUSE_LIBTIFF$ac_delim
51509 VENDOR!$VENDOR$ac_delim
51510 OFFICIAL_BUILD!$OFFICIAL_BUILD$ac_delim
51511 WX_FLAVOUR!$WX_FLAVOUR$ac_delim
51512 WX_LIB_FLAVOUR!$WX_LIB_FLAVOUR$ac_delim
51513 WXUNIV!$WXUNIV$ac_delim
51514 MONOLITHIC!$MONOLITHIC$ac_delim
51515 USE_PLUGINS!$USE_PLUGINS$ac_delim
51516 CXXWARNINGS!$CXXWARNINGS$ac_delim
51517 EXTRALIBS!$EXTRALIBS$ac_delim
51518 EXTRALIBS_XML!$EXTRALIBS_XML$ac_delim
51519 EXTRALIBS_HTML!$EXTRALIBS_HTML$ac_delim
51520 EXTRALIBS_MEDIA!$EXTRALIBS_MEDIA$ac_delim
51521 EXTRALIBS_GUI!$EXTRALIBS_GUI$ac_delim
51522 EXTRALIBS_OPENGL!$EXTRALIBS_OPENGL$ac_delim
51523 EXTRALIBS_SDL!$EXTRALIBS_SDL$ac_delim
51524 EXTRALIBS_STC!$EXTRALIBS_STC$ac_delim
51525 WITH_PLUGIN_SDL!$WITH_PLUGIN_SDL$ac_delim
51526 EXTRALIBS_GTKPRINT!$EXTRALIBS_GTKPRINT$ac_delim
51527 EXTRALIBS_GNOMEPRINT!$EXTRALIBS_GNOMEPRINT$ac_delim
51528 EXTRALIBS_GNOMEVFS!$EXTRALIBS_GNOMEVFS$ac_delim
51529 EXTRALIBS_HILDON!$EXTRALIBS_HILDON$ac_delim
51530 UNICODE!$UNICODE$ac_delim
51531 BUILD!$BUILD$ac_delim
51532 DEBUG_INFO!$DEBUG_INFO$ac_delim
51533 DEBUG_FLAG!$DEBUG_FLAG$ac_delim
51534 TOOLKIT_LOWERCASE!$TOOLKIT_LOWERCASE$ac_delim
51535 TOOLKIT_VERSION!$TOOLKIT_VERSION$ac_delim
51536 SAMPLES_RPATH_FLAG!$SAMPLES_RPATH_FLAG$ac_delim
51537 SAMPLES_RPATH_POSTLINK!$SAMPLES_RPATH_POSTLINK$ac_delim
51538 HOST_SUFFIX!$HOST_SUFFIX$ac_delim
51539 CPPUNIT_CFLAGS!$CPPUNIT_CFLAGS$ac_delim
51540 CPPUNIT_LIBS!$CPPUNIT_LIBS$ac_delim
51541 RANLIB!$RANLIB$ac_delim
51542 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
51543 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
51544 INSTALL_DATA!$INSTALL_DATA$ac_delim
51545 LN_S!$LN_S$ac_delim
51546 SET_MAKE!$SET_MAKE$ac_delim
51547 MAKE_SET!$MAKE_SET$ac_delim
51548 AROPTIONS!$AROPTIONS$ac_delim
51549 STRIP!$STRIP$ac_delim
51551 INSTALL_DIR!$INSTALL_DIR$ac_delim
51552 LDFLAGS_GUI!$LDFLAGS_GUI$ac_delim
51553 IF_GNU_MAKE!$IF_GNU_MAKE$ac_delim
51554 PLATFORM_UNIX!$PLATFORM_UNIX$ac_delim
51555 PLATFORM_WIN32!$PLATFORM_WIN32$ac_delim
51556 PLATFORM_MSDOS!$PLATFORM_MSDOS$ac_delim
51557 PLATFORM_MAC!$PLATFORM_MAC$ac_delim
51558 PLATFORM_MACOS!$PLATFORM_MACOS$ac_delim
51559 PLATFORM_MACOSX!$PLATFORM_MACOSX$ac_delim
51560 PLATFORM_OS2!$PLATFORM_OS2$ac_delim
51561 PLATFORM_BEOS!$PLATFORM_BEOS$ac_delim
51562 SO_SUFFIX!$SO_SUFFIX$ac_delim
51563 SO_SUFFIX_MODULE!$SO_SUFFIX_MODULE$ac_delim
51564 DLLIMP_SUFFIX!$DLLIMP_SUFFIX$ac_delim
51565 LIBPREFIX!$LIBPREFIX$ac_delim
51566 LIBEXT!$LIBEXT$ac_delim
51567 DLLPREFIX!$DLLPREFIX$ac_delim
51568 DLLPREFIX_MODULE!$DLLPREFIX_MODULE$ac_delim
51569 dlldir!$dlldir$ac_delim
51570 AIX_CXX_LD!$AIX_CXX_LD$ac_delim
51571 SHARED_LD_CC!$SHARED_LD_CC$ac_delim
51572 SHARED_LD_CXX!$SHARED_LD_CXX$ac_delim
51573 SHARED_LD_MODULE_CC!$SHARED_LD_MODULE_CC$ac_delim
51574 SHARED_LD_MODULE_CXX!$SHARED_LD_MODULE_CXX$ac_delim
51575 PIC_FLAG!$PIC_FLAG$ac_delim
51576 WINDOWS_IMPLIB!$WINDOWS_IMPLIB$ac_delim
51577 USE_SOVERSION!$USE_SOVERSION$ac_delim
51578 USE_SOVERLINUX!$USE_SOVERLINUX$ac_delim
51579 USE_SOVERSOLARIS!$USE_SOVERSOLARIS$ac_delim
51580 USE_SOVERCYGWIN!$USE_SOVERCYGWIN$ac_delim
51581 USE_MACVERSION!$USE_MACVERSION$ac_delim
51582 USE_SOSYMLINKS!$USE_SOSYMLINKS$ac_delim
51583 SONAME_FLAG!$SONAME_FLAG$ac_delim
51584 DEPS_TRACKING!$DEPS_TRACKING$ac_delim
51585 BK_DEPS!$BK_DEPS$ac_delim
51586 WINDRES!$WINDRES$ac_delim
51588 SETFILE!$SETFILE$ac_delim
51589 GCC_PCH!$GCC_PCH$ac_delim
51590 ICC_PCH!$ICC_PCH$ac_delim
51591 BK_MAKE_PCH!$BK_MAKE_PCH$ac_delim
51592 COND_BUILD_DEBUG!$COND_BUILD_DEBUG$ac_delim
51595 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
51597 elif $ac_last_try; then
51598 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
51599 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
51600 { (exit 1); exit 1; }; }
51602 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
51606 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
51607 if test -n "$ac_eof"; then
51608 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
51609 ac_eof
=`expr $ac_eof + 1`
51612 cat >>$CONFIG_STATUS <<_ACEOF
51613 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
51614 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
51617 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
51618 s/^/s,@/; s/!/@,|#_!!_#|/
51621 s/'"$ac_delim"'$/,g/; t
51623 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
51624 ' >>$CONFIG_STATUS <conf$
$subs.
sed
51625 rm -f conf$
$subs.
sed
51626 cat >>$CONFIG_STATUS <<_ACEOF
51632 for ac_last_try
in false false false false false
:; do
51633 cat >conf$
$subs.
sed <<_ACEOF
51634 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT!$COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT$ac_delim
51635 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT!$COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT$ac_delim
51636 COND_BUILD_DEBUG_UNICODE_0!$COND_BUILD_DEBUG_UNICODE_0$ac_delim
51637 COND_BUILD_DEBUG_UNICODE_1!$COND_BUILD_DEBUG_UNICODE_1$ac_delim
51638 COND_BUILD_RELEASE!$COND_BUILD_RELEASE$ac_delim
51639 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT!$COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT$ac_delim
51640 COND_BUILD_RELEASE_UNICODE_0!$COND_BUILD_RELEASE_UNICODE_0$ac_delim
51641 COND_BUILD_RELEASE_UNICODE_1!$COND_BUILD_RELEASE_UNICODE_1$ac_delim
51642 COND_DEBUG_FLAG_1!$COND_DEBUG_FLAG_1$ac_delim
51643 COND_DEBUG_INFO_0!$COND_DEBUG_INFO_0$ac_delim
51644 COND_DEBUG_INFO_1!$COND_DEBUG_INFO_1$ac_delim
51645 COND_DEPS_TRACKING_0!$COND_DEPS_TRACKING_0$ac_delim
51646 COND_DEPS_TRACKING_1!$COND_DEPS_TRACKING_1$ac_delim
51647 COND_GCC_PCH_1!$COND_GCC_PCH_1$ac_delim
51648 COND_ICC_PCH_1!$COND_ICC_PCH_1$ac_delim
51649 COND_MONOLITHIC_0!$COND_MONOLITHIC_0$ac_delim
51650 COND_MONOLITHIC_0_SHARED_0!$COND_MONOLITHIC_0_SHARED_0$ac_delim
51651 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1!$COND_MONOLITHIC_0_SHARED_0_USE_AUI_1$ac_delim
51652 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1$ac_delim
51653 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1$ac_delim
51654 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1$ac_delim
51655 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1$ac_delim
51656 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1!$COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1$ac_delim
51657 COND_MONOLITHIC_0_SHARED_0_USE_STC_1!$COND_MONOLITHIC_0_SHARED_0_USE_STC_1$ac_delim
51658 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1!$COND_MONOLITHIC_0_SHARED_0_USE_XRC_1$ac_delim
51659 COND_MONOLITHIC_0_SHARED_1!$COND_MONOLITHIC_0_SHARED_1$ac_delim
51660 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1!$COND_MONOLITHIC_0_SHARED_1_USE_AUI_1$ac_delim
51661 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1$ac_delim
51662 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1$ac_delim
51663 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1$ac_delim
51664 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1$ac_delim
51665 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1!$COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1$ac_delim
51666 COND_MONOLITHIC_0_SHARED_1_USE_STC_1!$COND_MONOLITHIC_0_SHARED_1_USE_STC_1$ac_delim
51667 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1!$COND_MONOLITHIC_0_SHARED_1_USE_XRC_1$ac_delim
51668 COND_MONOLITHIC_0_USE_AUI_1!$COND_MONOLITHIC_0_USE_AUI_1$ac_delim
51669 COND_MONOLITHIC_0_USE_GUI_1!$COND_MONOLITHIC_0_USE_GUI_1$ac_delim
51670 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1$ac_delim
51671 COND_MONOLITHIC_0_USE_HTML_1!$COND_MONOLITHIC_0_USE_HTML_1$ac_delim
51672 COND_MONOLITHIC_0_USE_MEDIA_1!$COND_MONOLITHIC_0_USE_MEDIA_1$ac_delim
51673 COND_MONOLITHIC_0_USE_QA_1!$COND_MONOLITHIC_0_USE_QA_1$ac_delim
51674 COND_MONOLITHIC_0_USE_RICHTEXT_1!$COND_MONOLITHIC_0_USE_RICHTEXT_1$ac_delim
51675 COND_MONOLITHIC_0_USE_STC_1!$COND_MONOLITHIC_0_USE_STC_1$ac_delim
51676 COND_MONOLITHIC_0_USE_XRC_1!$COND_MONOLITHIC_0_USE_XRC_1$ac_delim
51677 COND_MONOLITHIC_1!$COND_MONOLITHIC_1$ac_delim
51678 COND_MONOLITHIC_1_SHARED_0!$COND_MONOLITHIC_1_SHARED_0$ac_delim
51679 COND_MONOLITHIC_1_SHARED_1!$COND_MONOLITHIC_1_SHARED_1$ac_delim
51680 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1!$COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1$ac_delim
51681 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1!$COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1$ac_delim
51682 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1$ac_delim
51683 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_0_USE_SOVERSION_1$ac_delim
51684 COND_PLATFORM_MACOSX_1!$COND_PLATFORM_MACOSX_1$ac_delim
51685 COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0!$COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0$ac_delim
51686 COND_PLATFORM_MACOSX_1_TOOLKIT_!$COND_PLATFORM_MACOSX_1_TOOLKIT_$ac_delim
51687 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA!$COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA$ac_delim
51688 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK!$COND_PLATFORM_MACOSX_1_TOOLKIT_GTK$ac_delim
51689 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC!$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC$ac_delim
51690 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1!$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1$ac_delim
51691 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF!$COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF$ac_delim
51692 COND_PLATFORM_MACOSX_1_TOOLKIT_X11!$COND_PLATFORM_MACOSX_1_TOOLKIT_X11$ac_delim
51693 COND_PLATFORM_MACOSX_1_USE_GUI_1!$COND_PLATFORM_MACOSX_1_USE_GUI_1$ac_delim
51694 COND_PLATFORM_MACOSX_1_USE_OPENGL_1!$COND_PLATFORM_MACOSX_1_USE_OPENGL_1$ac_delim
51695 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_1_USE_SOVERSION_1$ac_delim
51696 COND_PLATFORM_MACOS_1!$COND_PLATFORM_MACOS_1$ac_delim
51697 COND_PLATFORM_MAC_0!$COND_PLATFORM_MAC_0$ac_delim
51698 COND_PLATFORM_MAC_1!$COND_PLATFORM_MAC_1$ac_delim
51699 COND_PLATFORM_MSDOS_0!$COND_PLATFORM_MSDOS_0$ac_delim
51700 COND_PLATFORM_MSDOS_1!$COND_PLATFORM_MSDOS_1$ac_delim
51701 COND_PLATFORM_OS2_1!$COND_PLATFORM_OS2_1$ac_delim
51702 COND_PLATFORM_UNIX_0!$COND_PLATFORM_UNIX_0$ac_delim
51703 COND_PLATFORM_UNIX_1!$COND_PLATFORM_UNIX_1$ac_delim
51704 COND_PLATFORM_UNIX_1_TOOLKIT_MGL!$COND_PLATFORM_UNIX_1_TOOLKIT_MGL$ac_delim
51705 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1!$COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1$ac_delim
51706 COND_PLATFORM_UNIX_1_USE_GUI_1!$COND_PLATFORM_UNIX_1_USE_GUI_1$ac_delim
51707 COND_PLATFORM_UNIX_1_USE_PLUGINS_0!$COND_PLATFORM_UNIX_1_USE_PLUGINS_0$ac_delim
51708 COND_PLATFORM_WIN32_0!$COND_PLATFORM_WIN32_0$ac_delim
51709 COND_PLATFORM_WIN32_1!$COND_PLATFORM_WIN32_1$ac_delim
51710 COND_SHARED_0!$COND_SHARED_0$ac_delim
51711 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0!$COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0$ac_delim
51712 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0!$COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0$ac_delim
51713 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0!$COND_SHARED_0_TOOLKIT_PM_WXUNIV_0$ac_delim
51714 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1!$COND_SHARED_0_USE_GUI_1_USE_OPENGL_1$ac_delim
51715 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN!$COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN$ac_delim
51716 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN!$COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN$ac_delim
51717 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN!$COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN$ac_delim
51718 COND_SHARED_0_USE_STC_1!$COND_SHARED_0_USE_STC_1$ac_delim
51719 COND_SHARED_0_WXUSE_EXPAT_BUILTIN!$COND_SHARED_0_WXUSE_EXPAT_BUILTIN$ac_delim
51720 COND_SHARED_0_WXUSE_REGEX_BUILTIN!$COND_SHARED_0_WXUSE_REGEX_BUILTIN$ac_delim
51721 COND_SHARED_0_WXUSE_ZLIB_BUILTIN!$COND_SHARED_0_WXUSE_ZLIB_BUILTIN$ac_delim
51722 COND_SHARED_1!$COND_SHARED_1$ac_delim
51723 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1!$COND_SHARED_1_USE_GUI_1_USE_OPENGL_1$ac_delim
51724 COND_TOOLKIT_!$COND_TOOLKIT_$ac_delim
51725 COND_TOOLKIT_COCOA!$COND_TOOLKIT_COCOA$ac_delim
51726 COND_TOOLKIT_COCOA_USE_GUI_1!$COND_TOOLKIT_COCOA_USE_GUI_1$ac_delim
51727 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0$ac_delim
51728 COND_TOOLKIT_DFB!$COND_TOOLKIT_DFB$ac_delim
51729 COND_TOOLKIT_DFB_USE_GUI_1!$COND_TOOLKIT_DFB_USE_GUI_1$ac_delim
51730 COND_TOOLKIT_GTK!$COND_TOOLKIT_GTK$ac_delim
51733 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
51735 elif $ac_last_try; then
51736 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
51737 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
51738 { (exit 1); exit 1; }; }
51740 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
51744 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
51745 if test -n "$ac_eof"; then
51746 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
51747 ac_eof
=`expr $ac_eof + 1`
51750 cat >>$CONFIG_STATUS <<_ACEOF
51751 cat >"\$tmp/subs-3.sed" <<\CEOF$ac_eof
51752 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
51755 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
51756 s/^/s,@/; s/!/@,|#_!!_#|/
51759 s/'"$ac_delim"'$/,g/; t
51761 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
51762 ' >>$CONFIG_STATUS <conf$
$subs.
sed
51763 rm -f conf$
$subs.
sed
51764 cat >>$CONFIG_STATUS <<_ACEOF
51770 for ac_last_try
in false false false false false
:; do
51771 cat >conf$
$subs.
sed <<_ACEOF
51772 COND_TOOLKIT_GTK_TOOLKIT_VERSION_!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_$ac_delim
51773 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2$ac_delim
51774 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1$ac_delim
51775 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0$ac_delim
51776 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_WXUNIV_0!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_WXUNIV_0$ac_delim
51777 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1!$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1$ac_delim
51778 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0$ac_delim
51779 COND_TOOLKIT_GTK_USE_GUI_1!$COND_TOOLKIT_GTK_USE_GUI_1$ac_delim
51780 COND_TOOLKIT_MAC!$COND_TOOLKIT_MAC$ac_delim
51781 COND_TOOLKIT_MAC_USE_GUI_1!$COND_TOOLKIT_MAC_USE_GUI_1$ac_delim
51782 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0$ac_delim
51783 COND_TOOLKIT_MGL!$COND_TOOLKIT_MGL$ac_delim
51784 COND_TOOLKIT_MGL_USE_GUI_1!$COND_TOOLKIT_MGL_USE_GUI_1$ac_delim
51785 COND_TOOLKIT_MOTIF!$COND_TOOLKIT_MOTIF$ac_delim
51786 COND_TOOLKIT_MOTIF_USE_GUI_1!$COND_TOOLKIT_MOTIF_USE_GUI_1$ac_delim
51787 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0$ac_delim
51788 COND_TOOLKIT_MSW!$COND_TOOLKIT_MSW$ac_delim
51789 COND_TOOLKIT_MSW_USE_GUI_1!$COND_TOOLKIT_MSW_USE_GUI_1$ac_delim
51790 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0$ac_delim
51791 COND_TOOLKIT_MSW_WXUNIV_0!$COND_TOOLKIT_MSW_WXUNIV_0$ac_delim
51792 COND_TOOLKIT_PM!$COND_TOOLKIT_PM$ac_delim
51793 COND_TOOLKIT_PM_USE_GUI_1!$COND_TOOLKIT_PM_USE_GUI_1$ac_delim
51794 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0$ac_delim
51795 COND_TOOLKIT_WINCE!$COND_TOOLKIT_WINCE$ac_delim
51796 COND_TOOLKIT_WINCE_USE_GUI_1!$COND_TOOLKIT_WINCE_USE_GUI_1$ac_delim
51797 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0$ac_delim
51798 COND_TOOLKIT_WINCE_WXUNIV_0!$COND_TOOLKIT_WINCE_WXUNIV_0$ac_delim
51799 COND_TOOLKIT_X11!$COND_TOOLKIT_X11$ac_delim
51800 COND_TOOLKIT_X11_USE_GUI_1!$COND_TOOLKIT_X11_USE_GUI_1$ac_delim
51801 COND_UNICODE_1!$COND_UNICODE_1$ac_delim
51802 COND_USE_EXCEPTIONS_0!$COND_USE_EXCEPTIONS_0$ac_delim
51803 COND_USE_EXCEPTIONS_1!$COND_USE_EXCEPTIONS_1$ac_delim
51804 COND_USE_GUI_0!$COND_USE_GUI_0$ac_delim
51805 COND_USE_GUI_1!$COND_USE_GUI_1$ac_delim
51806 COND_USE_GUI_1_USE_OPENGL_1!$COND_USE_GUI_1_USE_OPENGL_1$ac_delim
51807 COND_USE_GUI_1_WXUNIV_0!$COND_USE_GUI_1_WXUNIV_0$ac_delim
51808 COND_USE_GUI_1_WXUNIV_1!$COND_USE_GUI_1_WXUNIV_1$ac_delim
51809 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN$ac_delim
51810 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN$ac_delim
51811 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN$ac_delim
51812 COND_USE_OPENGL_1!$COND_USE_OPENGL_1$ac_delim
51813 COND_USE_PCH_1!$COND_USE_PCH_1$ac_delim
51814 COND_USE_PLUGINS_0!$COND_USE_PLUGINS_0$ac_delim
51815 COND_USE_RTTI_0!$COND_USE_RTTI_0$ac_delim
51816 COND_USE_RTTI_1!$COND_USE_RTTI_1$ac_delim
51817 COND_USE_SOSYMLINKS_1!$COND_USE_SOSYMLINKS_1$ac_delim
51818 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1!$COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1$ac_delim
51819 COND_USE_SOVERLINUX_1!$COND_USE_SOVERLINUX_1$ac_delim
51820 COND_USE_SOVERSION_0!$COND_USE_SOVERSION_0$ac_delim
51821 COND_USE_SOVERSOLARIS_1!$COND_USE_SOVERSOLARIS_1$ac_delim
51822 COND_USE_STC_1!$COND_USE_STC_1$ac_delim
51823 COND_USE_THREADS_0!$COND_USE_THREADS_0$ac_delim
51824 COND_USE_THREADS_1!$COND_USE_THREADS_1$ac_delim
51825 COND_USE_XRC_1!$COND_USE_XRC_1$ac_delim
51826 COND_WINDOWS_IMPLIB_1!$COND_WINDOWS_IMPLIB_1$ac_delim
51827 COND_WITH_PLUGIN_SDL_1!$COND_WITH_PLUGIN_SDL_1$ac_delim
51828 COND_WXUNIV_0!$COND_WXUNIV_0$ac_delim
51829 COND_WXUNIV_1!$COND_WXUNIV_1$ac_delim
51830 COND_WXUSE_EXPAT_BUILTIN!$COND_WXUSE_EXPAT_BUILTIN$ac_delim
51831 COND_WXUSE_LIBJPEG_BUILTIN!$COND_WXUSE_LIBJPEG_BUILTIN$ac_delim
51832 COND_WXUSE_LIBPNG_BUILTIN!$COND_WXUSE_LIBPNG_BUILTIN$ac_delim
51833 COND_WXUSE_LIBTIFF_BUILTIN!$COND_WXUSE_LIBTIFF_BUILTIN$ac_delim
51834 COND_WXUSE_REGEX_BUILTIN!$COND_WXUSE_REGEX_BUILTIN$ac_delim
51835 COND_WXUSE_ZLIB_BUILTIN!$COND_WXUSE_ZLIB_BUILTIN$ac_delim
51836 DEREZ!$DEREZ$ac_delim
51837 SHARED!$SHARED$ac_delim
51838 WX_LIBRARY_BASENAME_NOGUI!$WX_LIBRARY_BASENAME_NOGUI$ac_delim
51839 WX_LIBRARY_BASENAME_GUI!$WX_LIBRARY_BASENAME_GUI$ac_delim
51840 USE_GUI!$USE_GUI$ac_delim
51841 AFMINSTALL!$AFMINSTALL$ac_delim
51842 WIN32INSTALL!$WIN32INSTALL$ac_delim
51843 TOOLKIT!$TOOLKIT$ac_delim
51844 TOOLKIT_DIR!$TOOLKIT_DIR$ac_delim
51845 TOOLCHAIN_NAME!$TOOLCHAIN_NAME$ac_delim
51846 TOOLCHAIN_FULLNAME!$TOOLCHAIN_FULLNAME$ac_delim
51847 cross_compiling!$cross_compiling$ac_delim
51848 WIDGET_SET!$WIDGET_SET$ac_delim
51849 WX_RELEASE!$WX_RELEASE$ac_delim
51850 WX_VERSION!$WX_VERSION$ac_delim
51851 WX_SUBVERSION!$WX_SUBVERSION$ac_delim
51852 WX_CHARTYPE!$WX_CHARTYPE$ac_delim
51853 WX_DEBUGTYPE!$WX_DEBUGTYPE$ac_delim
51854 WXCONFIG_CPPFLAGS!$WXCONFIG_CPPFLAGS$ac_delim
51855 WXCONFIG_CFLAGS!$WXCONFIG_CFLAGS$ac_delim
51856 WXCONFIG_CXXFLAGS!$WXCONFIG_CXXFLAGS$ac_delim
51857 WXCONFIG_LIBS!$WXCONFIG_LIBS$ac_delim
51858 WXCONFIG_RPATH!$WXCONFIG_RPATH$ac_delim
51859 WXCONFIG_LDFLAGS_GUI!$WXCONFIG_LDFLAGS_GUI$ac_delim
51860 WXCONFIG_RESFLAGS!$WXCONFIG_RESFLAGS$ac_delim
51861 GUIDIST!$GUIDIST$ac_delim
51862 DISTDIR!$DISTDIR$ac_delim
51863 SAMPLES_SUBDIRS!$SAMPLES_SUBDIRS$ac_delim
51864 LDFLAGS_GL!$LDFLAGS_GL$ac_delim
51865 OPENGL_LIBS!$OPENGL_LIBS$ac_delim
51866 DMALLOC_LIBS!$DMALLOC_LIBS$ac_delim
51867 WX_VERSION_TAG!$WX_VERSION_TAG$ac_delim
51868 RESCOMP!$RESCOMP$ac_delim
51871 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
51873 elif $ac_last_try; then
51874 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
51875 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
51876 { (exit 1); exit 1; }; }
51878 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
51882 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
51883 if test -n "$ac_eof"; then
51884 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
51885 ac_eof
=`expr $ac_eof + 1`
51888 cat >>$CONFIG_STATUS <<_ACEOF
51889 cat >"\$tmp/subs-4.sed" <<\CEOF$ac_eof
51890 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
51893 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
51894 s/^/s,@/; s/!/@,|#_!!_#|/
51897 s/'"$ac_delim"'$/,g/; t
51899 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
51900 ' >>$CONFIG_STATUS <conf$
$subs.
sed
51901 rm -f conf$
$subs.
sed
51902 cat >>$CONFIG_STATUS <<_ACEOF
51908 for ac_last_try
in false false false false false
:; do
51909 cat >conf$
$subs.
sed <<_ACEOF
51910 RESFLAGS!$RESFLAGS$ac_delim
51911 RESPROGRAMOBJ!$RESPROGRAMOBJ$ac_delim
51912 WX_RESOURCES_MACOSX_ASCII!$WX_RESOURCES_MACOSX_ASCII$ac_delim
51913 WX_RESOURCES_MACOSX_DATA!$WX_RESOURCES_MACOSX_DATA$ac_delim
51914 LIBWXMACRES!$LIBWXMACRES$ac_delim
51915 POSTLINK_COMMAND!$POSTLINK_COMMAND$ac_delim
51916 MACSETFILE!$MACSETFILE$ac_delim
51918 DLLTOOL!$DLLTOOL$ac_delim
51919 CPPUNIT_CONFIG!$CPPUNIT_CONFIG$ac_delim
51920 LIBOBJS!$LIBOBJS$ac_delim
51921 LTLIBOBJS!$LTLIBOBJS$ac_delim
51924 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 12; then
51926 elif $ac_last_try; then
51927 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
51928 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
51929 { (exit 1); exit 1; }; }
51931 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
51935 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
51936 if test -n "$ac_eof"; then
51937 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
51938 ac_eof
=`expr $ac_eof + 1`
51941 cat >>$CONFIG_STATUS <<_ACEOF
51942 cat >"\$tmp/subs-5.sed" <<\CEOF$ac_eof
51943 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
51946 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
51947 s/^/s,@/; s/!/@,|#_!!_#|/
51950 s/'"$ac_delim"'$/,g/; t
51952 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
51953 ' >>$CONFIG_STATUS <conf$
$subs.
sed
51954 rm -f conf$
$subs.
sed
51955 cat >>$CONFIG_STATUS <<_ACEOF
51962 # VPATH may cause trouble with some makes, so we remove $(srcdir),
51963 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
51964 # trailing colons and then remove the whole line if VPATH becomes empty
51965 # (actually we leave an empty line to preserve line numbers).
51966 if test "x$srcdir" = x.
; then
51967 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
51968 s/:*\$(srcdir):*/:/
51969 s/:*\${srcdir}:*/:/
51971 s/^\([^=]*=[ ]*\):*/\1/
51977 cat >>$CONFIG_STATUS <<\_ACEOF
51978 fi # test -n "$CONFIG_FILES"
51981 for ac_tag
in :F
$CONFIG_FILES :H
$CONFIG_HEADERS :C
$CONFIG_COMMANDS
51984 :[FHLC
]) ac_mode
=$ac_tag; continue;;
51986 case $ac_mode$ac_tag in
51988 :L
* | :C
*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
51989 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
51990 { (exit 1); exit 1; }; };;
51991 :[FH
]-) ac_tag
=-:-;;
51992 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
52009 -) ac_f
="$tmp/stdin";;
52010 *) # Look for the file first in the build tree, then in the source tree
52011 # (if the path is not absolute). The absolute path cannot be DOS-style,
52012 # because $ac_f cannot contain `:'.
52016 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
52018 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
52019 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
52020 { (exit 1); exit 1; }; };;
52022 ac_file_inputs
="$ac_file_inputs $ac_f"
52025 # Let's still pretend it is `configure' which instantiates (i.e., don't
52026 # use $as_me), people would be surprised to read:
52027 # /* config.h. Generated by config.status. */
52028 configure_input
="Generated from "`IFS=:
52029 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
52030 if test x
"$ac_file" != x
-; then
52031 configure_input
="$ac_file. $configure_input"
52032 { echo "$as_me:$LINENO: creating $ac_file" >&5
52033 echo "$as_me: creating $ac_file" >&6;}
52037 *:-:* | *:-) cat >"$tmp/stdin";;
52042 ac_dir
=`$as_dirname -- "$ac_file" ||
52043 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
52044 X"$ac_file" : 'X\(//\)[^/]' \| \
52045 X"$ac_file" : 'X\(//\)$' \| \
52046 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
52048 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
52052 /^X\(\/\/\)[^/].*/{
52067 -*) as_dir
=.
/$as_dir;;
52069 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
52073 *\'*) as_qdir
=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
52074 *) as_qdir
=$as_dir;;
52076 as_dirs
="'$as_qdir' $as_dirs"
52077 as_dir
=`$as_dirname -- "$as_dir" ||
52078 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
52079 X"$as_dir" : 'X\(//\)[^/]' \| \
52080 X"$as_dir" : 'X\(//\)$' \| \
52081 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
52083 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
52087 /^X\(\/\/\)[^/].*/{
52100 test -d "$as_dir" && break
52102 test -z "$as_dirs" || eval "mkdir $as_dirs"
52103 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
52104 echo "$as_me: error: cannot create directory $as_dir" >&2;}
52105 { (exit 1); exit 1; }; }; }
52109 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
52111 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
52112 # A ".." for each directory in $ac_dir_suffix.
52113 ac_top_builddir_sub
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
52114 case $ac_top_builddir_sub in
52115 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
52116 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
52119 ac_abs_top_builddir
=$ac_pwd
52120 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
52121 # for backward compatibility:
52122 ac_top_builddir
=$ac_top_build_prefix
52125 .
) # We are building in place.
52127 ac_top_srcdir
=$ac_top_builddir_sub
52128 ac_abs_top_srcdir
=$ac_pwd ;;
52129 [\\/]* | ?
:[\\/]* ) # Absolute name.
52130 ac_srcdir
=$srcdir$ac_dir_suffix;
52131 ac_top_srcdir
=$srcdir
52132 ac_abs_top_srcdir
=$srcdir ;;
52133 *) # Relative name.
52134 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
52135 ac_top_srcdir
=$ac_top_build_prefix$srcdir
52136 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
52138 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
52148 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
52149 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
52153 cat >>$CONFIG_STATUS <<\_ACEOF
52154 # If the template does not know about datarootdir, expand it.
52155 # FIXME: This hack should be removed a few years after 2.60.
52156 ac_datarootdir_hack
=; ac_datarootdir_seen
=
52158 case `sed -n '/datarootdir/ {
52167 ' $ac_file_inputs` in
52168 *datarootdir
*) ac_datarootdir_seen
=yes;;
52169 *@datadir@
*|*@docdir@
*|*@infodir@
*|*@localedir@
*|*@mandir@
*)
52170 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
52171 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
52173 cat >>$CONFIG_STATUS <<_ACEOF
52174 ac_datarootdir_hack='
52175 s&@datadir@&$datadir&g
52176 s&@docdir@&$docdir&g
52177 s&@infodir@&$infodir&g
52178 s&@localedir@&$localedir&g
52179 s&@mandir@&$mandir&g
52180 s&\\\${datarootdir}&$datarootdir&g' ;;
52184 # Neutralize VPATH when `$srcdir' = `.'.
52185 # Shell code in configure.ac might set extrasub.
52186 # FIXME: do we really want to maintain this feature?
52187 cat >>$CONFIG_STATUS <<_ACEOF
52191 cat >>$CONFIG_STATUS <<\_ACEOF
52193 /@
[a
-zA-Z_][a
-zA-Z_0-9]*@
/!b
52194 s
&@configure_input@
&$configure_input&;t t
52195 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
52196 s
&@srcdir@
&$ac_srcdir&;t t
52197 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
52198 s
&@top_srcdir@
&$ac_top_srcdir&;t t
52199 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
52200 s
&@builddir@
&$ac_builddir&;t t
52201 s
&@abs_builddir@
&$ac_abs_builddir&;t t
52202 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
52203 s
&@INSTALL@
&$ac_INSTALL&;t t
52204 $ac_datarootdir_hack
52205 " $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
52207 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
52208 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
52209 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
52210 { echo "$as_me:$LINENO: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
52211 which seems to be undefined. Please make sure it is defined." >&5
52212 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
52213 which seems to be undefined. Please make sure it is defined." >&2;}
52217 -) cat "$tmp/out"; rm -f "$tmp/out";;
52218 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
52227 # Transform confdefs.h into a sed script `conftest.defines', that
52228 # substitutes the proper values into config.h.in to produce config.h.
52229 rm -f conftest.defines conftest.
tail
52230 # First, append a space to every undef/define line, to ease matching.
52231 echo 's/$/ /' >conftest.defines
52232 # Then, protect against being on the right side of a sed subst, or in
52233 # an unquoted here document, in config.status. If some macros were
52234 # called several times there might be several #defines for the same
52235 # symbol, which is useless. But do not sort them, since the last
52236 # AC_DEFINE must be honored.
52237 ac_word_re
=[_
$as_cr_Letters][_
$as_cr_alnum]*
52238 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
52239 # NAME is the cpp macro being defined, VALUE is the value it is being given.
52240 # PARAMS is the parameter list in the macro definition--in most cases, it's
52241 # just an empty string.
52242 ac_dA
='s,^\\([ #]*\\)[^ ]*\\([ ]*'
52243 ac_dB
='\\)[ (].*,\\1define\\2'
52251 s/^[ ]*#[ ]*define[ ][ ]*//
52256 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
52257 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
52258 ' >>conftest.defines
52260 # Remove the space that was appended to ease matching.
52261 # Then replace #undef with comments. This is necessary, for
52262 # example, in the case of _POSIX_SOURCE, which is predefined and required
52263 # on some systems where configure will not decide to define it.
52264 # (The regexp can be short, since the line contains either #define or #undef.)
52266 s,^[ #]*u.*,/* & */,' >>conftest.defines
52268 # Break up conftest.defines:
52269 ac_max_sed_lines
=50
52271 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
52272 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
52273 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
52275 ac_in
='$ac_file_inputs'
52276 ac_out
='"$tmp/out1"'
52277 ac_nxt
='"$tmp/out2"'
52281 # Write a here document:
52282 cat >>$CONFIG_STATUS <<_ACEOF
52283 # First, check the format of the line:
52284 cat >"\$tmp/defines.sed" <<\\CEOF
52285 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
52286 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
52290 sed ${ac_max_sed_lines}q conftest.defines
>>$CONFIG_STATUS
52292 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
52293 ac_in
=$ac_out; ac_out
=$ac_nxt; ac_nxt
=$ac_in
52294 sed 1,${ac_max_sed_lines}d conftest.defines
>conftest.
tail
52295 grep . conftest.
tail >/dev
/null
|| break
52296 rm -f conftest.defines
52297 mv conftest.
tail conftest.defines
52299 rm -f conftest.defines conftest.
tail
52301 echo "ac_result=$ac_in" >>$CONFIG_STATUS
52302 cat >>$CONFIG_STATUS <<\_ACEOF
52303 if test x
"$ac_file" != x
-; then
52304 echo "/* $configure_input */" >"$tmp/config.h"
52305 cat "$ac_result" >>"$tmp/config.h"
52306 if diff $ac_file "$tmp/config.h" >/dev
/null
2>&1; then
52307 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
52308 echo "$as_me: $ac_file is unchanged" >&6;}
52311 mv "$tmp/config.h" $ac_file
52314 echo "/* $configure_input */"
52320 :C
) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
52321 echo "$as_me: executing $ac_file commands" >&6;}
52326 case $ac_file$ac_mode in
52328 mkdir -p $outdir &&
52329 $CPP $infile | sed 's/^# *[1-9].*//;s/^ *//;/./,/^$/!d' > $outdir/rcdefs.h
52331 "lib/wx/config/${TOOLCHAIN_FULLNAME}":F
) chmod +x lib
/wx
/config
/${TOOLCHAIN_FULLNAME} ;;
52332 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}":F
) chmod +x lib
/wx
/config
/inplace
-${TOOLCHAIN_FULLNAME} ;;
52333 "utils/ifacecheck/rungccxml.sh":F
) chmod +x utils
/ifacecheck
/rungccxml.sh
;;
52334 "wx-config":C
) rm -f wx
-config
52335 ${LN_S} lib
/wx
/config
/inplace
-${TOOLCHAIN_FULLNAME} wx
-config
52342 { (exit 0); exit 0; }
52344 chmod +x
$CONFIG_STATUS
52345 ac_clean_files
=$ac_clean_files_save
52348 # configure is writing to config.log, and then calls config.status.
52349 # config.status does its own redirection, appending to config.log.
52350 # Unfortunately, on DOS this fails, as config.log is still kept open
52351 # by configure, so config.status won't be able to write to it; its
52352 # output is simply discarded. So we exec the FD to /dev/null,
52353 # effectively closing config.log, so it can be properly (re)opened and
52354 # appended to by config.status. When coming back to configure, we
52355 # need to make the FD available again.
52356 if test "$no_create" != yes; then
52358 ac_config_status_args
=
52359 test "$silent" = yes &&
52360 ac_config_status_args
="$ac_config_status_args --quiet"
52362 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
52364 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
52365 # would make configure fail if this is the last instruction.
52366 $ac_cs_success || { (exit 1); exit 1; }
52370 # CONFIG_SUBDIRS section.
52372 if test "$no_recursion" != yes; then
52374 # Remove --cache-file and --srcdir arguments so they do not pile up.
52375 ac_sub_configure_args
=
52377 eval "set x $ac_configure_args"
52381 if test -n "$ac_prev"; then
52386 -cache-file | --cache-file | --cache-fil | --cache-fi \
52387 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
52388 ac_prev
=cache_file
;;
52389 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
52390 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
52393 --config-cache | -C)
52395 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
52397 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
52399 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
52401 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
52405 *\'*) ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
52407 ac_sub_configure_args
="$ac_sub_configure_args '$ac_arg'" ;;
52411 # Always prepend --prefix to ensure using the same prefix
52412 # in subdir configurations.
52413 ac_arg
="--prefix=$prefix"
52415 *\'*) ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
52417 ac_sub_configure_args
="'$ac_arg' $ac_sub_configure_args"
52420 if test "$silent" = yes; then
52421 ac_sub_configure_args
="--silent $ac_sub_configure_args"
52425 for ac_dir
in : $subdirs; do test "x$ac_dir" = x
: && continue
52427 # Do not complain, so a configure script can configure whichever
52428 # parts of a large source tree are present.
52429 test -d "$srcdir/$ac_dir" || continue
52431 ac_msg
="=== configuring in $ac_dir (`pwd`/$ac_dir)"
52432 echo "$as_me:$LINENO: $ac_msg" >&5
52436 -*) as_dir
=.
/$as_dir;;
52438 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
52442 *\'*) as_qdir
=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
52443 *) as_qdir
=$as_dir;;
52445 as_dirs
="'$as_qdir' $as_dirs"
52446 as_dir
=`$as_dirname -- "$as_dir" ||
52447 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
52448 X"$as_dir" : 'X\(//\)[^/]' \| \
52449 X"$as_dir" : 'X\(//\)$' \| \
52450 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
52452 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
52456 /^X\(\/\/\)[^/].*/{
52469 test -d "$as_dir" && break
52471 test -z "$as_dirs" || eval "mkdir $as_dirs"
52472 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
52473 echo "$as_me: error: cannot create directory $as_dir" >&2;}
52474 { (exit 1); exit 1; }; }; }
52478 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
52480 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
52481 # A ".." for each directory in $ac_dir_suffix.
52482 ac_top_builddir_sub
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
52483 case $ac_top_builddir_sub in
52484 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
52485 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
52488 ac_abs_top_builddir
=$ac_pwd
52489 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
52490 # for backward compatibility:
52491 ac_top_builddir
=$ac_top_build_prefix
52494 .
) # We are building in place.
52496 ac_top_srcdir
=$ac_top_builddir_sub
52497 ac_abs_top_srcdir
=$ac_pwd ;;
52498 [\\/]* | ?
:[\\/]* ) # Absolute name.
52499 ac_srcdir
=$srcdir$ac_dir_suffix;
52500 ac_top_srcdir
=$srcdir
52501 ac_abs_top_srcdir
=$srcdir ;;
52502 *) # Relative name.
52503 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
52504 ac_top_srcdir
=$ac_top_build_prefix$srcdir
52505 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
52507 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
52512 # Check for guested configure; otherwise get Cygnus style configure.
52513 if test -f "$ac_srcdir/configure.gnu"; then
52514 ac_sub_configure
=$ac_srcdir/configure.gnu
52515 elif test -f "$ac_srcdir/configure"; then
52516 ac_sub_configure
=$ac_srcdir/configure
52517 elif test -f "$ac_srcdir/configure.in"; then
52518 # This should be Cygnus configure.
52519 ac_sub_configure
=$ac_aux_dir/configure
52521 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
52522 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
52526 # The recursion is here.
52527 if test -n "$ac_sub_configure"; then
52528 # Make the cache file name correct relative to the subdirectory.
52529 case $cache_file in
52530 [\\/]* | ?
:[\\/]* ) ac_sub_cache_file
=$cache_file ;;
52531 *) # Relative name.
52532 ac_sub_cache_file
=$ac_top_build_prefix$cache_file ;;
52535 { echo "$as_me:$LINENO: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
52536 echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
52537 # The eval makes quoting arguments work.
52538 eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
52539 --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
52540 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
52541 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
52542 { (exit 1); exit 1; }; }
52551 echo "Configured wxWidgets ${WX_VERSION} for \`${host}'"
52553 echo " Which GUI toolkit should wxWidgets use? ${TOOLKIT_DESC}"
52554 echo " Should wxWidgets be compiled into single library? ${wxUSE_MONOLITHIC:-yes}"
52556 echo " Should wxWidgets be compiled in debug mode? ${wxUSE_DEBUG:-no}"
52557 echo " Should wxWidgets be linked as a shared library? ${wxUSE_SHARED:-no}"
52558 echo $ECHO_N " Should wxWidgets support Unicode? ${wxUSE_UNICODE:-no}$ECHO_C"
52559 if test "$wxUSE_UNICODE" = "yes"; then
52560 if test "$wxUSE_UNICODE_UTF8" = "yes"; then
52561 echo " (using UTF-8)"
52563 echo " (using wchar_t)"
52569 echo " What level of wxWidgets compatibility should be enabled?"
52570 echo " wxWidgets 2.6 ${WXWIN_COMPATIBILITY_2_6:-no}"
52571 echo " wxWidgets 2.8 ${WXWIN_COMPATIBILITY_2_8:-yes}"
52573 echo " Which libraries should wxWidgets use?"
52574 echo " STL ${wxUSE_STL}"
52575 echo " jpeg ${wxUSE_LIBJPEG-none}"
52576 echo " png ${wxUSE_LIBPNG-none}"
52577 echo " regex ${wxUSE_REGEX}"
52578 echo " tiff ${wxUSE_LIBTIFF-none}"
52579 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
52580 echo " xpm ${wxUSE_LIBXPM-none}"
52582 echo " zlib ${wxUSE_ZLIB}"
52583 echo " expat ${wxUSE_EXPAT}"
52584 echo " libmspack ${wxUSE_LIBMSPACK}"
52585 echo " sdl ${wxUSE_LIBSDL}"