2 # From configure.in Id: configure.in 55019 2008-08-08 02:59:32Z 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_COCOA_USE_GUI_1
868 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK
869 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC
870 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1
871 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF
872 COND_PLATFORM_MACOSX_1_TOOLKIT_X11
873 COND_PLATFORM_MACOSX_1_USE_GUI_1
874 COND_PLATFORM_MACOSX_1_USE_OPENGL_1
875 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
876 COND_PLATFORM_MACOS_1
879 COND_PLATFORM_MSDOS_0
880 COND_PLATFORM_MSDOS_1
884 COND_PLATFORM_UNIX_1_TOOLKIT_MGL
885 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1
886 COND_PLATFORM_UNIX_1_USE_GUI_1
887 COND_PLATFORM_UNIX_1_USE_PLUGINS_0
888 COND_PLATFORM_WIN32_0
889 COND_PLATFORM_WIN32_1
891 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0
892 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0
893 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0
894 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
895 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
896 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
897 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
898 COND_SHARED_0_USE_STC_1
899 COND_SHARED_0_WXUSE_EXPAT_BUILTIN
900 COND_SHARED_0_WXUSE_REGEX_BUILTIN
901 COND_SHARED_0_WXUSE_ZLIB_BUILTIN
903 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
906 COND_TOOLKIT_COCOA_USE_GUI_1
907 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
909 COND_TOOLKIT_DFB_USE_GUI_1
911 COND_TOOLKIT_GTK_TOOLKIT_VERSION_
912 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2
913 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1
914 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0
915 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_WXUNIV_0
916 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1
917 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0
918 COND_TOOLKIT_GTK_USE_GUI_1
920 COND_TOOLKIT_MAC_USE_GUI_1
921 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0
923 COND_TOOLKIT_MGL_USE_GUI_1
925 COND_TOOLKIT_MOTIF_USE_GUI_1
926 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
928 COND_TOOLKIT_MSW_USE_GUI_1
929 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
930 COND_TOOLKIT_MSW_WXUNIV_0
932 COND_TOOLKIT_PM_USE_GUI_1
933 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
935 COND_TOOLKIT_WINCE_USE_GUI_1
936 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0
937 COND_TOOLKIT_WINCE_WXUNIV_0
939 COND_TOOLKIT_X11_USE_GUI_1
941 COND_USE_EXCEPTIONS_0
942 COND_USE_EXCEPTIONS_1
945 COND_USE_GUI_1_USE_OPENGL_1
946 COND_USE_GUI_1_WXUNIV_0
947 COND_USE_GUI_1_WXUNIV_1
948 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
949 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
950 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
956 COND_USE_SOSYMLINKS_1
957 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1
958 COND_USE_SOVERLINUX_1
960 COND_USE_SOVERSOLARIS_1
965 COND_WINDOWS_IMPLIB_1
966 COND_WITH_PLUGIN_SDL_1
969 COND_WXUSE_EXPAT_BUILTIN
970 COND_WXUSE_LIBJPEG_BUILTIN
971 COND_WXUSE_LIBPNG_BUILTIN
972 COND_WXUSE_LIBTIFF_BUILTIN
973 COND_WXUSE_REGEX_BUILTIN
974 COND_WXUSE_ZLIB_BUILTIN
977 WX_LIBRARY_BASENAME_NOGUI
978 WX_LIBRARY_BASENAME_GUI
1010 WX_RESOURCES_MACOSX_ASCII
1011 WX_RESOURCES_MACOSX_DATA
1021 ac_precious_vars
='build_alias
1045 LIBGNOMEPRINTUI_CFLAGS
1046 LIBGNOMEPRINTUI_LIBS
1055 ac_subdirs_all
='src/tiff
1058 # Initialize some variables set by options.
1060 ac_init_version
=false
1061 # The variables have the same names as the options, with
1062 # dashes changed to underlines.
1063 cache_file
=/dev
/null
1070 program_transform_name
=s
,x
,x
,
1078 # Installation directory options.
1079 # These are left unexpanded so users can "make install exec_prefix=/foo"
1080 # and all the variables that are supposed to be based on exec_prefix
1081 # by default will actually change.
1082 # Use braces instead of parens because sh, perl, etc. also accept them.
1083 # (The list follows the same order as the GNU Coding Standards.)
1084 bindir
='${exec_prefix}/bin'
1085 sbindir
='${exec_prefix}/sbin'
1086 libexecdir
='${exec_prefix}/libexec'
1087 datarootdir
='${prefix}/share'
1088 datadir
='${datarootdir}'
1089 sysconfdir
='${prefix}/etc'
1090 sharedstatedir
='${prefix}/com'
1091 localstatedir
='${prefix}/var'
1092 includedir
='${prefix}/include'
1093 oldincludedir
='/usr/include'
1094 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
1095 infodir
='${datarootdir}/info'
1100 libdir
='${exec_prefix}/lib'
1101 localedir
='${datarootdir}/locale'
1102 mandir
='${datarootdir}/man'
1108 # If the previous option needs an argument, assign it.
1109 if test -n "$ac_prev"; then
1110 eval $ac_prev=\
$ac_option
1116 *=*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1120 # Accept the important Cygnus configure options, so we can diagnose typos.
1122 case $ac_dashdash$ac_option in
1126 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1128 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1129 bindir
=$ac_optarg ;;
1131 -build | --build | --buil | --bui | --bu)
1132 ac_prev
=build_alias
;;
1133 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1134 build_alias
=$ac_optarg ;;
1136 -cache-file | --cache-file | --cache-fil | --cache-fi \
1137 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1138 ac_prev
=cache_file
;;
1139 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1140 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1141 cache_file
=$ac_optarg ;;
1143 --config-cache | -C)
1144 cache_file
=config.cache
;;
1146 -datadir | --datadir | --datadi | --datad)
1148 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1149 datadir
=$ac_optarg ;;
1151 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1152 | --dataroo | --dataro | --datar)
1153 ac_prev
=datarootdir
;;
1154 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1155 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1156 datarootdir
=$ac_optarg ;;
1158 -disable-* | --disable-*)
1159 ac_feature
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1160 # Reject names that are not valid shell variable names.
1161 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1162 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1163 { (exit 1); exit 1; }; }
1164 ac_feature
=`echo $ac_feature | sed 's/[-.]/_/g'`
1165 eval enable_
$ac_feature=no
;;
1167 -docdir | --docdir | --docdi | --doc | --do)
1169 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1170 docdir
=$ac_optarg ;;
1172 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1174 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1175 dvidir
=$ac_optarg ;;
1177 -enable-* | --enable-*)
1178 ac_feature
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1179 # Reject names that are not valid shell variable names.
1180 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1181 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1182 { (exit 1); exit 1; }; }
1183 ac_feature
=`echo $ac_feature | sed 's/[-.]/_/g'`
1184 eval enable_
$ac_feature=\
$ac_optarg ;;
1186 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1187 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1188 | --exec | --exe | --ex)
1189 ac_prev
=exec_prefix
;;
1190 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1191 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1192 | --exec=* | --exe=* | --ex=*)
1193 exec_prefix
=$ac_optarg ;;
1195 -gas | --gas | --ga | --g)
1196 # Obsolete; use --with-gas.
1199 -help | --help | --hel | --he | -h)
1200 ac_init_help
=long
;;
1201 -help=r
* | --help=r
* | --hel=r
* | --he=r
* | -hr*)
1202 ac_init_help
=recursive
;;
1203 -help=s
* | --help=s
* | --hel=s
* | --he=s
* | -hs*)
1204 ac_init_help
=short
;;
1206 -host | --host | --hos | --ho)
1207 ac_prev
=host_alias
;;
1208 -host=* | --host=* | --hos=* | --ho=*)
1209 host_alias
=$ac_optarg ;;
1211 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1213 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1215 htmldir
=$ac_optarg ;;
1217 -includedir | --includedir | --includedi | --included | --include \
1218 | --includ | --inclu | --incl | --inc)
1219 ac_prev
=includedir
;;
1220 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1221 | --includ=* | --inclu=* | --incl=* | --inc=*)
1222 includedir
=$ac_optarg ;;
1224 -infodir | --infodir | --infodi | --infod | --info | --inf)
1226 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1227 infodir
=$ac_optarg ;;
1229 -libdir | --libdir | --libdi | --libd)
1231 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1232 libdir
=$ac_optarg ;;
1234 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1235 | --libexe | --libex | --libe)
1236 ac_prev
=libexecdir
;;
1237 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1238 | --libexe=* | --libex=* | --libe=*)
1239 libexecdir
=$ac_optarg ;;
1241 -localedir | --localedir | --localedi | --localed | --locale)
1242 ac_prev
=localedir
;;
1243 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1244 localedir
=$ac_optarg ;;
1246 -localstatedir | --localstatedir | --localstatedi | --localstated \
1247 | --localstate | --localstat | --localsta | --localst | --locals)
1248 ac_prev
=localstatedir
;;
1249 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1250 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1251 localstatedir
=$ac_optarg ;;
1253 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1255 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1256 mandir
=$ac_optarg ;;
1258 -nfp | --nfp | --nf)
1259 # Obsolete; use --without-fp.
1262 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1263 | --no-cr | --no-c | -n)
1266 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1267 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1270 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1271 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1272 | --oldin | --oldi | --old | --ol | --o)
1273 ac_prev
=oldincludedir
;;
1274 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1275 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1276 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1277 oldincludedir
=$ac_optarg ;;
1279 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1281 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1282 prefix
=$ac_optarg ;;
1284 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1285 | --program-pre | --program-pr | --program-p)
1286 ac_prev
=program_prefix
;;
1287 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1288 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1289 program_prefix
=$ac_optarg ;;
1291 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1292 | --program-suf | --program-su | --program-s)
1293 ac_prev
=program_suffix
;;
1294 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1295 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1296 program_suffix
=$ac_optarg ;;
1298 -program-transform-name | --program-transform-name \
1299 | --program-transform-nam | --program-transform-na \
1300 | --program-transform-n | --program-transform- \
1301 | --program-transform | --program-transfor \
1302 | --program-transfo | --program-transf \
1303 | --program-trans | --program-tran \
1304 | --progr-tra | --program-tr | --program-t)
1305 ac_prev
=program_transform_name
;;
1306 -program-transform-name=* | --program-transform-name=* \
1307 | --program-transform-nam=* | --program-transform-na=* \
1308 | --program-transform-n=* | --program-transform-=* \
1309 | --program-transform=* | --program-transfor=* \
1310 | --program-transfo=* | --program-transf=* \
1311 | --program-trans=* | --program-tran=* \
1312 | --progr-tra=* | --program-tr=* | --program-t=*)
1313 program_transform_name
=$ac_optarg ;;
1315 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1317 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1318 pdfdir
=$ac_optarg ;;
1320 -psdir | --psdir | --psdi | --psd | --ps)
1322 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1325 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1326 | -silent | --silent | --silen | --sile | --sil)
1329 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1331 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1333 sbindir
=$ac_optarg ;;
1335 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1336 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1337 | --sharedst | --shareds | --shared | --share | --shar \
1339 ac_prev
=sharedstatedir
;;
1340 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1341 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1342 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1344 sharedstatedir
=$ac_optarg ;;
1346 -site | --site | --sit)
1348 -site=* | --site=* | --sit=*)
1351 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1353 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1354 srcdir
=$ac_optarg ;;
1356 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1357 | --syscon | --sysco | --sysc | --sys | --sy)
1358 ac_prev
=sysconfdir
;;
1359 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1360 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1361 sysconfdir
=$ac_optarg ;;
1363 -target | --target | --targe | --targ | --tar | --ta | --t)
1364 ac_prev
=target_alias
;;
1365 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1366 target_alias
=$ac_optarg ;;
1368 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1371 -version | --version | --versio | --versi | --vers | -V)
1372 ac_init_version
=: ;;
1375 ac_package
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1376 # Reject names that are not valid shell variable names.
1377 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1378 { echo "$as_me: error: invalid package name: $ac_package" >&2
1379 { (exit 1); exit 1; }; }
1380 ac_package
=`echo $ac_package | sed 's/[-.]/_/g'`
1381 eval with_
$ac_package=\
$ac_optarg ;;
1383 -without-* | --without-*)
1384 ac_package
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1385 # Reject names that are not valid shell variable names.
1386 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1387 { echo "$as_me: error: invalid package name: $ac_package" >&2
1388 { (exit 1); exit 1; }; }
1389 ac_package
=`echo $ac_package | sed 's/[-.]/_/g'`
1390 eval with_
$ac_package=no
;;
1393 # Obsolete; use --with-x.
1396 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1397 | --x-incl | --x-inc | --x-in | --x-i)
1398 ac_prev
=x_includes
;;
1399 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1400 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1401 x_includes
=$ac_optarg ;;
1403 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1404 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1405 ac_prev
=x_libraries
;;
1406 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1407 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1408 x_libraries
=$ac_optarg ;;
1410 -*) { echo "$as_me: error: unrecognized option: $ac_option
1411 Try \`$0 --help' for more information." >&2
1412 { (exit 1); exit 1; }; }
1416 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1417 # Reject names that are not valid shell variable names.
1418 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
1419 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1420 { (exit 1); exit 1; }; }
1421 eval $ac_envvar=\
$ac_optarg
1422 export $ac_envvar ;;
1425 # FIXME: should be removed in autoconf 3.0.
1426 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1427 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1428 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1429 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1435 if test -n "$ac_prev"; then
1436 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1437 { echo "$as_me: error: missing argument to $ac_option" >&2
1438 { (exit 1); exit 1; }; }
1441 # Be sure to have absolute directory names.
1442 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1443 datadir sysconfdir sharedstatedir localstatedir includedir \
1444 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1445 libdir localedir mandir
1447 eval ac_val
=\$
$ac_var
1449 [\\/$
]* | ?
:[\\/]* ) continue;;
1450 NONE
| '' ) case $ac_var in *prefix
) continue;; esac;;
1452 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1453 { (exit 1); exit 1; }; }
1456 # There might be people who depend on the old broken behavior: `$host'
1457 # used to hold the argument of --host etc.
1458 # FIXME: To remove some day.
1461 target
=$target_alias
1463 # FIXME: To remove some day.
1464 if test "x$host_alias" != x
; then
1465 if test "x$build_alias" = x
; then
1466 cross_compiling
=maybe
1467 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1468 If a cross compiler is detected then cross compile mode will be used." >&2
1469 elif test "x$build_alias" != "x$host_alias"; then
1475 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1477 test "$silent" = yes && exec 6>/dev
/null
1480 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1481 ac_ls_di
=`ls -di .` &&
1482 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1483 { echo "$as_me: error: Working directory cannot be determined" >&2
1484 { (exit 1); exit 1; }; }
1485 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1486 { echo "$as_me: error: pwd does not report name of working directory" >&2
1487 { (exit 1); exit 1; }; }
1490 # Find the source files, if location was not specified.
1491 if test -z "$srcdir"; then
1492 ac_srcdir_defaulted
=yes
1493 # Try the directory containing this script, then the parent directory.
1494 ac_confdir
=`$as_dirname -- "$0" ||
1495 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1496 X"$0" : 'X\(//\)[^/]' \| \
1497 X"$0" : 'X\(//\)$' \| \
1498 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1500 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1518 if test ! -r "$srcdir/$ac_unique_file"; then
1522 ac_srcdir_defaulted
=no
1524 if test ! -r "$srcdir/$ac_unique_file"; then
1525 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1526 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1527 { (exit 1); exit 1; }; }
1529 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1531 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1532 { (exit 1); exit 1; }; }
1534 # When building in place, set srcdir=.
1535 if test "$ac_abs_confdir" = "$ac_pwd"; then
1538 # Remove unnecessary trailing slashes from srcdir.
1539 # Double slashes in file names in object file debugging info
1540 # mess up M-x gdb in Emacs.
1542 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1544 for ac_var
in $ac_precious_vars; do
1545 eval ac_env_
${ac_var}_set
=\
${${ac_var}+set}
1546 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1547 eval ac_cv_env_
${ac_var}_set
=\
${${ac_var}+set}
1548 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1552 # Report the --help message.
1554 if test "$ac_init_help" = "long"; then
1555 # Omit some internal or obsolete options to make the list less imposing.
1556 # This message is too long to be a string in the A/UX 3.1 sh.
1558 \`configure' configures wxWidgets 2.9.0 to adapt to many kinds of systems.
1560 Usage: $0 [OPTION]... [VAR=VALUE]...
1562 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1563 VAR=VALUE. See below for descriptions of some of the useful variables.
1565 Defaults for the options are specified in brackets.
1568 -h, --help display this help and exit
1569 --help=short display options specific to this package
1570 --help=recursive display the short help of all the included packages
1571 -V, --version display version information and exit
1572 -q, --quiet, --silent do not print \`checking...' messages
1573 --cache-file=FILE cache test results in FILE [disabled]
1574 -C, --config-cache alias for \`--cache-file=config.cache'
1575 -n, --no-create do not create output files
1576 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1578 Installation directories:
1579 --prefix=PREFIX install architecture-independent files in PREFIX
1580 [$ac_default_prefix]
1581 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1584 By default, \`make install' will install all the files in
1585 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1586 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1587 for instance \`--prefix=\$HOME'.
1589 For better control, use the options below.
1591 Fine tuning of the installation directories:
1592 --bindir=DIR user executables [EPREFIX/bin]
1593 --sbindir=DIR system admin executables [EPREFIX/sbin]
1594 --libexecdir=DIR program executables [EPREFIX/libexec]
1595 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1596 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1597 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1598 --libdir=DIR object code libraries [EPREFIX/lib]
1599 --includedir=DIR C header files [PREFIX/include]
1600 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1601 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1602 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1603 --infodir=DIR info documentation [DATAROOTDIR/info]
1604 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1605 --mandir=DIR man documentation [DATAROOTDIR/man]
1606 --docdir=DIR documentation root [DATAROOTDIR/doc/wxwidgets]
1607 --htmldir=DIR html documentation [DOCDIR]
1608 --dvidir=DIR dvi documentation [DOCDIR]
1609 --pdfdir=DIR pdf documentation [DOCDIR]
1610 --psdir=DIR ps documentation [DOCDIR]
1616 --x-includes=DIR X include files are
in DIR
1617 --x-libraries=DIR X library files are
in DIR
1620 --build=BUILD configure
for building on BUILD
[guessed
]
1621 --host=HOST cross
-compile to build programs to run on HOST
[BUILD
]
1622 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
1626 if test -n "$ac_init_help"; then
1627 case $ac_init_help in
1628 short
| recursive
) echo "Configuration of wxWidgets 2.9.0:";;
1633 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1634 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1635 --disable-gui don
't build GUI parts of the library
1636 --enable-monolithic build wxWidgets as single library
1637 --enable-plugins build parts of wxWidgets as loadable components
1638 --enable-official_build official build of wxWidgets (win32 DLL only)
1639 --enable-vendor=VENDOR vendor name (win32 DLL only)
1640 --disable-all-features disable all optional features to build minimal library
1641 --enable-universal use wxWidgets GUI controls instead of native ones
1642 --enable-nanox use NanoX
1643 --disable-gtk2 use GTK+ 1.2 instead of 2.0
1644 --enable-gpe use GNOME PDA Environment features if possible
1645 --disable-shared create static library instead of shared
1646 --enable-debug same as debug_flag and debug_info
1647 --enable-stl use STL for containers
1648 --enable-std_iostreams use standard C++ stream classes
1649 --enable-std_string use standard C++ string classes
1650 --disable-unicode compile without Unicode support
1651 --enable-mslu use MS Layer for Unicode on Windows 9x (Win32 only)
1652 --enable-utf8 use UTF-8 representation for strings (Unix only)
1653 --enable-utf8only only support UTF-8 locales in UTF-8 build (Unix only)
1654 --enable-extended_rtti use extended RTTI (XTI)
1655 --enable-omf use OMF object format
1656 --enable-debug_flag set __WXDEBUG__ flag (recommended for developers!)
1657 --enable-debug_info create code with debugging information
1658 --disable-optimise compile without optimisations
1659 --enable-debug_gdb create code with extra GDB debugging information
1660 --enable-debug_cntxt use wxDebugContext
1661 --enable-mem_tracing create code with memory tracing
1662 --enable-profile create code with profiling information
1663 --enable-no_rtti create code without RTTI information
1664 --enable-no_exceptions create code without C++ exceptions handling
1665 --enable-permissive compile code disregarding strict ANSI
1666 --enable-no_deps create code without dependency information
1667 --disable-vararg_macros don't use vararg macros
, even
if they are supported
1668 --enable-universal_binary create Mac PowerPC and Intel Universal binary
1669 --enable-compat26 enable wxWidgets
2.6 compatibility
1670 --disable-compat28 disable wxWidgets
2.8 compatibility
1671 --disable-rpath disable use of rpath
for uninstalled builds
1672 --enable-objc_uniquifying enable Objective
-C class name uniquifying
1673 --disable-visibility disable use of ELF symbols visibility even
if supported
1674 --enable-intl use internationalization system
1675 --enable-xlocale use x
-locale support
(requires wxLocale
)
1676 --enable-config use wxConfig
(and derived
) classes
1677 --enable-protocols use wxProtocol and derived classes
1678 --enable-ftp use wxFTP
(requires wxProtocol
1679 --enable-http use wxHTTP
(requires wxProtocol
1680 --enable-fileproto use wxFileProto class
(requires wxProtocol
1681 --enable-sockets use socket
/network classes
1682 --enable-ipv6 enable IPv6 support
in wxSocket
1683 --enable-ole use OLE classes
(Win32 only
)
1684 --enable-dataobj use data object classes
1685 --enable-ipc use interprocess communication
(wxSocket etc.
)
1686 --enable-baseevtloop use event loop
in console programs too
1687 --enable-epollloop use wxEpollDispatcher class
(Linux only
)
1688 --enable-selectloop use wxSelectDispatcher class
1689 --enable-apple_ieee use the Apple IEEE codec
1690 --enable-arcstream use wxArchive streams
1691 --enable-base64 use base64 encoding
/decoding functions
1692 --enable-backtrace use wxStackWalker class
for getting backtraces
1693 --enable-catch_segvs catch signals
in wxApp
::OnFatalException
(Unix only
)
1694 --enable-cmdline use wxCmdLineParser class
1695 --enable-datetime use wxDateTime class
1696 --enable-debugreport use wxDebugReport class
1697 --enable-dialupman use dialup network classes
1698 --enable-dynlib use wxLibrary class
for DLL loading
1699 --enable-dynamicloader use
(new
) wxDynamicLibrary class
1700 --enable-exceptions build exception
-safe library
1701 --enable-ffile use wxFFile class
1702 --enable-file use wxFile class
1703 --enable-filesystem use virtual
file systems classes
1704 --enable-fontenum use wxFontEnumerator class
1705 --enable-fontmap use font encodings conversion classes
1706 --enable-fs_archive use virtual archive filesystems
1707 --enable-fs_inet use virtual HTTP
/FTP filesystems
1708 --enable-fs_zip now replaced by fs_archive
1709 --enable-geometry use geometry class
1710 --enable-log use logging system
1711 --enable-longlong use wxLongLong class
1712 --enable-mimetype use wxMimeTypesManager
1713 --enable-printfposparam use wxVsnprintf
() which supports positional parameters
1714 --enable-snglinst use wxSingleInstanceChecker class
1715 --enable-sound use wxSound class
1716 --enable-stdpaths use wxStandardPaths class
1717 --enable-stopwatch use wxStopWatch class
1718 --enable-streams use wxStream etc classes
1719 --enable-sysoptions use wxSystemOptions
1720 --enable-tarstream use wxTar streams
1721 --enable-textbuf use wxTextBuffer class
1722 --enable-textfile use wxTextFile class
1723 --enable-timer use wxTimer class
1724 --enable-variant use wxVariant class
1725 --enable-zipstream use wxZip streams
1726 --enable-url use wxURL class
1727 --enable-protocol use wxProtocol class
1728 --enable-protocol-http HTTP support
in wxProtocol
1729 --enable-protocol-ftp FTP support
in wxProtocol
1730 --enable-protocol-file FILE support
in wxProtocol
1731 --enable-threads use threads
1732 --enable-iniconf use wxIniConfig
(Win32 only
)
1733 --enable-regkey use wxRegKey class
(Win32 only
)
1734 --enable-docview use document view architecture
1735 --enable-help use
help subsystem
1736 --enable-mshtmlhelp use MS HTML Help
(win32
)
1737 --enable-html use wxHTML sub
-library
1738 --enable-htmlhelp use wxHTML
-based help
1739 --enable-xrc use XRC resources sub
-library
1740 --enable-aui use AUI docking library
1741 --enable-stc use wxStyledTextCtrl library
1742 --enable-constraints use layout
-constraints system
1743 --enable-loggui use standard GUI logger
1744 --enable-logwin use wxLogWindow
1745 --enable-logdialog use wxLogDialog
1746 --enable-mdi use multiple document interface architecture
1747 --enable-mdidoc use docview architecture with MDI
1748 --enable-mediactrl use wxMediaCtrl class
1749 --enable-gstreamer8 force GStreamer
0.8 instead of
0.10 with the wxMediaCtrl class on unix
1750 --enable-webkit use wxWebKitCtrl
(Mac
)
1751 --enable-richtext use wxRichTextCtrl
1752 --enable-graphics_ctx use graphics context
2D drawing API
1753 --enable-postscript use wxPostscriptDC device context
(default
for gtk
+)
1754 --enable-printarch use printing architecture
1755 --enable-svg use wxSVGFileDC device context
1756 --enable-clipboard use wxClipboard class
1757 --enable-dnd use Drag
'n'Drop classes
1758 --enable-metafile use win32 metafiles
1759 --disable-controls disable compilation of all standard controls
1760 --enable-accel use accelerators
1761 --enable-animatectrl use wxAnimationCtrl class
1762 --enable-button use wxButton class
1763 --enable-bmpbutton use wxBitmapButton class
1764 --enable-bmpcombobox use wxBitmapComboBox class
1765 --enable-calendar use wxCalendarCtrl class
1766 --enable-caret use wxCaret class
1767 --enable-checkbox use wxCheckBox class
1768 --enable-checklst use wxCheckListBox
(listbox with checkboxes
) class
1769 --enable-choice use wxChoice class
1770 --enable-choicebook use wxChoicebook class
1771 --enable-collpane use wxCollapsiblePane class
1772 --enable-colourpicker use wxColourPickerCtrl class
1773 --enable-combobox use wxComboBox class
1774 --enable-comboctrl use wxComboCtrl class
1775 --enable-datepick use wxDatePickerCtrl class
1776 --enable-dirpicker use wxDirPickerCtrl class
1777 --enable-display use wxDisplay class
1778 --enable-detect_sm use code to detect X11 session manager
1779 --enable-editablebox use wxEditableListBox class
1780 --enable-filepicker use wxFilePickerCtrl class
1781 --enable-filectrl use wxFileCtrl class
1782 --enable-fontpicker use wxFontPickerCtrl class
1783 --enable-gauge use wxGauge class
1784 --enable-grid use wxGrid class
1785 --enable-dataviewctrl use wxDataViewCtrl class
1786 --enable-hyperlink use wxHyperlinkCtrl class
1787 --enable-imaglist use wxImageList class
1788 --enable-listbook use wxListbook class
1789 --enable-listbox use wxListBox class
1790 --enable-listctrl use wxListCtrl class
1791 --enable-notebook use wxNotebook class
1792 --enable-notifmsg use wxNotificationMessage class
1793 --enable-odcombobox use wxOwnerDrawnComboBox class
1794 --enable-radiobox use wxRadioBox class
1795 --enable-radiobtn use wxRadioButton class
1796 --enable-sash use wxSashWindow class
1797 --enable-scrollbar use wxScrollBar class and scrollable windows
1798 --enable-searchctrl use wxSearchCtrl class
1799 --enable-slider use wxSlider class
1800 --enable-spinbtn use wxSpinButton class
1801 --enable-spinctrl use wxSpinCtrl class
1802 --enable-splitter use wxSplitterWindow class
1803 --enable-statbmp use wxStaticBitmap class
1804 --enable-statbox use wxStaticBox class
1805 --enable-statline use wxStaticLine class
1806 --enable-stattext use wxStaticText class
1807 --enable-statusbar use wxStatusBar class
1808 --enable-tabdialog use wxTabControl class
1809 --enable-taskbaricon use wxTaskBarIcon class
1810 --enable-textctrl use wxTextCtrl class
1811 --enable-togglebtn use wxToggleButton class
1812 --enable-toolbar use wxToolBar class
1813 --enable-tbarnative use native wxToolBar class
1814 --enable-treebook use wxTreebook class
1815 --enable-toolbook use wxToolbook class
1816 --enable-treectrl use wxTreeCtrl class
1817 --enable-tipwindow use wxTipWindow class
1818 --enable-popupwin use wxPopUpWindow class
1819 --enable-commondlg use all common dialogs
1820 --enable-aboutdlg use wxAboutBox
1821 --enable-choicedlg use wxChoiceDialog
1822 --enable-coldlg use wxColourDialog
1823 --enable-filedlg use wxFileDialog
1824 --enable-finddlg use wxFindReplaceDialog
1825 --enable-fontdlg use wxFontDialog
1826 --enable-dirdlg use wxDirDialog
1827 --enable-msgdlg use wxMessageDialog
1828 --enable-numberdlg use wxNumberEntryDialog
1829 --enable-splash use wxSplashScreen
1830 --enable-textdlg use wxTextDialog
1831 --enable-tipdlg use startup tips
1832 --enable-progressdlg use wxProgressDialog
1833 --enable-wizarddlg use wxWizard
1834 --enable-menus use wxMenu
/wxMenuBar
/wxMenuItem classes
1835 --enable-miniframe use wxMiniFrame class
1836 --enable-tooltips use wxToolTip class
1837 --enable-splines use spline drawing code
1838 --enable-mousewheel use mousewheel
1839 --enable-validators use wxValidator and derived classes
1840 --enable-busyinfo use wxBusyInfo
1841 --enable-joystick use wxJoystick
1842 --enable-metafiles use wxMetaFile
(Win32 only
)
1843 --enable-dragimage use wxDragImage
1844 --enable-accessibility enable accessibility support
1845 --enable-palette use wxPalette class
1846 --enable-image use wxImage class
1847 --enable-gif use gif images
(GIF
file format
)
1848 --enable-pcx use pcx images
(PCX
file format
)
1849 --enable-tga use tga images
(TGA
file format
)
1850 --enable-iff use iff images
(IFF
file format
)
1851 --enable-pnm use pnm images
(PNM
file format
)
1852 --enable-xpm use xpm images
(XPM
file format
)
1853 --enable-ico_cur use Windows ICO and CUR formats
1854 --enable-dccache cache temporary wxDC objects
(Win32 only
)
1855 --enable-ps-in-msw use PS printing
in wxMSW
(Win32 only
)
1856 --enable-ownerdrawn use owner drawn controls
(Win32 and OS
/2 only
)
1857 --enable-uxtheme enable support
for Windows XP themed
look (Win32 only
)
1858 --enable-wxdib use wxDIB class
(Win32 only
)
1859 --enable-autoidman use automatic ids management
1860 --disable-largefile omit support
for large files
1861 --disable-gtktest do not try to compile and run a
test GTK
+ program
1862 --disable-gtktest Do not try to compile and run a
test GTK program
1863 --disable-sdltest Do not try to compile and run a
test SDL program
1864 --enable-omf use OMF object format
(OS
/2)
1865 --disable-dependency-tracking
1866 don
't use dependency tracking even if the compiler
1868 --disable-precomp-headers
1869 don't use precompiled headers even
if compiler can
1872 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1873 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1874 --without-subdirs don
't generate makefiles for samples/demos/...
1875 --with-flavour=NAME specify a name to identify this build
1876 --with-themes=all|list use only the specified comma-separated list of wxUniversal themes
1877 --with-gtk[=VERSION] use GTK+, VERSION can be 2 (default), 1 or "any"
1878 --with-motif use Motif/Lesstif
1879 --with-mac use Mac OS X
1880 --with-cocoa use Cocoa
1881 --with-wine use Wine
1882 --with-msw use MS-Windows
1883 --with-pm use OS/2 Presentation Manager
1884 --with-mgl use SciTech MGL
1885 --with-directfb use DirectFB
1886 --with-microwin use MicroWindows
1888 --with-libpng use libpng (PNG image format)
1889 --with-libjpeg use libjpeg (JPEG file format)
1890 --with-libtiff use libtiff (TIFF file format)
1891 --with-libxpm use libxpm (XPM file format)
1892 --with-libiconv use libiconv (character conversion)
1893 --with-libmspack use libmspack (CHM help files loading)
1894 --without-gtkprint don't use GTK printing support
1895 --without-gnomeprint don
't use GNOME printing libraries
1896 --with-gnomevfs use GNOME VFS for associating MIME types
1897 --with-hildon use Hildon framework for Nokia 770
1898 --with-opengl use OpenGL (or Mesa)
1899 --with-dmalloc use dmalloc library (http://dmalloc.com/)
1900 --with-sdl use SDL for audio on Unix
1901 --with-regex enable support for wxRegEx class
1902 --with-zlib use zlib for LZW compression
1903 --with-expat enable XML support using expat parser
1904 --with-macosx-sdk=PATH use an OS X SDK at PATH
1905 --with-macosx-version-min=VER build binaries which require at least this OS X version
1906 --with-gtk-prefix=PFX Prefix where GTK is installed (optional)
1907 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)
1908 --with-x use the X Window System
1909 --with-libiconv-prefix=DIR search for libiconv in DIR/include and DIR/lib
1910 --with-sdl-prefix=PFX Prefix where SDL is installed (optional)
1911 --with-sdl-exec-prefix=PFX Exec prefix where SDL is installed (optional)
1912 --with-cppunit-prefix=PFX Prefix where CppUnit is installed (optional)
1913 --with-cppunit-exec-prefix=PFX Exec prefix where CppUnit is installed (optional)
1915 Some influential environment variables:
1916 CC C compiler command
1917 CFLAGS C compiler flags
1918 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1919 nonstandard directory <lib dir>
1920 LIBS libraries to pass to the linker, e.g. -l<library>
1921 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1922 you have headers in a nonstandard directory <include dir>
1924 CXX C++ compiler command
1925 CXXFLAGS C++ compiler flags
1926 PKG_CONFIG path to pkg-config utility
1928 C compiler flags for DIRECTFB, overriding pkg-config
1930 linker flags for DIRECTFB, overriding pkg-config
1931 XMKMF Path to xmkmf, Makefile generator for X Window System
1933 C compiler flags for PANGOX, overriding pkg-config
1934 PANGOX_LIBS linker flags for PANGOX, overriding pkg-config
1936 C compiler flags for PANGOFT2, overriding pkg-config
1938 linker flags for PANGOFT2, overriding pkg-config
1940 C compiler flags for PANGOXFT, overriding pkg-config
1942 linker flags for PANGOXFT, overriding pkg-config
1944 C compiler flags for GTKPRINT, overriding pkg-config
1946 linker flags for GTKPRINT, overriding pkg-config
1947 LIBGNOMEPRINTUI_CFLAGS
1948 C compiler flags for LIBGNOMEPRINTUI, overriding pkg-config
1949 LIBGNOMEPRINTUI_LIBS
1950 linker flags for LIBGNOMEPRINTUI, overriding pkg-config
1952 C compiler flags for GNOMEVFS, overriding pkg-config
1954 linker flags for GNOMEVFS, overriding pkg-config
1956 C compiler flags for HILDON, overriding pkg-config
1957 HILDON_LIBS linker flags for HILDON, overriding pkg-config
1959 C compiler flags for CAIRO, overriding pkg-config
1960 CAIRO_LIBS linker flags for CAIRO, overriding pkg-config
1961 GST_CFLAGS C compiler flags for GST, overriding pkg-config
1962 GST_LIBS linker flags for GST, overriding pkg-config
1964 Use these variables to override the choices made by `configure' or to
help
1965 it to
find libraries and programs with nonstandard names
/locations.
1967 Report bugs to
<wx
-dev@lists.wxwidgets.org
>.
1972 if test "$ac_init_help" = "recursive"; then
1973 # If there are subdirs, report their specific --help.
1974 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
1975 test -d "$ac_dir" || continue
1979 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1981 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1982 # A ".." for each directory in $ac_dir_suffix.
1983 ac_top_builddir_sub
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1984 case $ac_top_builddir_sub in
1985 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1986 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
1989 ac_abs_top_builddir
=$ac_pwd
1990 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
1991 # for backward compatibility:
1992 ac_top_builddir
=$ac_top_build_prefix
1995 .
) # We are building in place.
1997 ac_top_srcdir
=$ac_top_builddir_sub
1998 ac_abs_top_srcdir
=$ac_pwd ;;
1999 [\\/]* | ?
:[\\/]* ) # Absolute name.
2000 ac_srcdir
=$srcdir$ac_dir_suffix;
2001 ac_top_srcdir
=$srcdir
2002 ac_abs_top_srcdir
=$srcdir ;;
2004 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
2005 ac_top_srcdir
=$ac_top_build_prefix$srcdir
2006 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
2008 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
2010 cd "$ac_dir" || { ac_status
=$?
; continue; }
2011 # Check for guested configure.
2012 if test -f "$ac_srcdir/configure.gnu"; then
2014 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2015 elif test -f "$ac_srcdir/configure"; then
2017 $SHELL "$ac_srcdir/configure" --help=recursive
2019 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2021 cd "$ac_pwd" || { ac_status
=$?
; break; }
2025 test -n "$ac_init_help" && exit $ac_status
2026 if $ac_init_version; then
2028 wxWidgets configure
2.9.0
2029 generated by GNU Autoconf
2.61
2031 Copyright
(C
) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
2032 2002, 2003, 2004, 2005, 2006 Free Software Foundation
, Inc.
2033 This configure
script is free software
; the Free Software Foundation
2034 gives unlimited permission to copy
, distribute and modify it.
2038 cat >config.log
<<_ACEOF
2039 This file contains any messages produced by compilers while
2040 running configure, to aid debugging if configure makes a mistake.
2042 It was created by wxWidgets $as_me 2.9.0, which was
2043 generated by GNU Autoconf 2.61. Invocation command line was
2055 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2056 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2057 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2058 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2059 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2061 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2062 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2064 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2065 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2066 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2067 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2068 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2069 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2070 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2074 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2078 test -z "$as_dir" && as_dir
=.
2079 echo "PATH: $as_dir"
2095 # Keep a trace of the command line.
2096 # Strip out --no-create and --no-recursion so they do not pile up.
2097 # Strip out --silent because we don't want to record it for future runs.
2098 # Also quote any args containing shell meta-characters.
2099 # Make two passes to allow for proper duplicate-argument suppression.
2103 ac_must_keep_next
=false
2109 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2110 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2111 | -silent | --silent | --silen | --sile | --sil)
2114 ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2117 1) ac_configure_args0
="$ac_configure_args0 '$ac_arg'" ;;
2119 ac_configure_args1
="$ac_configure_args1 '$ac_arg'"
2120 if test $ac_must_keep_next = true
; then
2121 ac_must_keep_next
=false
# Got value, back to normal.
2124 *=* | --config-cache | -C | -disable-* | --disable-* \
2125 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2126 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2127 | -with-* | --with-* | -without-* | --without-* | --x)
2128 case "$ac_configure_args0 " in
2129 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2132 -* ) ac_must_keep_next
=true
;;
2135 ac_configure_args
="$ac_configure_args '$ac_arg'"
2140 $as_unset ac_configure_args0
|| test "${ac_configure_args0+set}" != set || { ac_configure_args0
=; export ac_configure_args0
; }
2141 $as_unset ac_configure_args1
|| test "${ac_configure_args1+set}" != set || { ac_configure_args1
=; export ac_configure_args1
; }
2143 # When interrupted or exit'd, cleanup temporary files, and complete
2144 # config.log. We remove comments because anyway the quotes in there
2145 # would cause problems or look ugly.
2146 # WARNING: Use '\'' to represent an apostrophe within the trap.
2147 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2148 trap 'exit_status=$?
2149 # Save into config.log some information that might help in debugging.
2154 ## ---------------- ##
2155 ## Cache variables. ##
2156 ## ---------------- ##
2159 # The following way of writing the cache mishandles newlines in values,
2161 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2162 eval ac_val=\$$ac_var
2166 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
2167 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
2170 _ | IFS | as_nl) ;; #(
2171 *) $as_unset $ac_var ;;
2176 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2177 *${as_nl}ac_space=\ *)
2179 "s/'\''/'\''\\\\'\'''\''/g;
2180 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2183 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2191 ## ----------------- ##
2192 ## Output variables. ##
2193 ## ----------------- ##
2196 for ac_var in $ac_subst_vars
2198 eval ac_val=\$$ac_var
2200 *\'\''*) ac_val
=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2202 echo "$ac_var='\''$ac_val'\''"
2206 if test -n "$ac_subst_files"; then
2208 ## ------------------- ##
2209 ## File substitutions. ##
2210 ## ------------------- ##
2213 for ac_var
in $ac_subst_files
2215 eval ac_val
=\$
$ac_var
2217 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2219 echo "$ac_var='\''$ac_val'\''"
2224 if test -s confdefs.h; then
2234 test "$ac_signal" != 0 &&
2235 echo "$as_me: caught signal $ac_signal"
2236 echo "$as_me: exit $exit_status"
2238 rm -f core *.core core.conftest.* &&
2239 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2242 for ac_signal
in 1 2 13 15; do
2243 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
2247 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2248 rm -f -r conftest
* confdefs.h
2250 # Predefined preprocessor variables.
2252 cat >>confdefs.h
<<_ACEOF
2253 #define PACKAGE_NAME "$PACKAGE_NAME"
2257 cat >>confdefs.h
<<_ACEOF
2258 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2262 cat >>confdefs.h
<<_ACEOF
2263 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2267 cat >>confdefs.h
<<_ACEOF
2268 #define PACKAGE_STRING "$PACKAGE_STRING"
2272 cat >>confdefs.h
<<_ACEOF
2273 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2277 # Let the site file select an alternate cache file if it wants to.
2278 # Prefer explicitly selected file to automatically selected ones.
2279 if test -n "$CONFIG_SITE"; then
2280 set x
"$CONFIG_SITE"
2281 elif test "x$prefix" != xNONE
; then
2282 set x
"$prefix/share/config.site" "$prefix/etc/config.site"
2284 set x
"$ac_default_prefix/share/config.site" \
2285 "$ac_default_prefix/etc/config.site"
2290 if test -r "$ac_site_file"; then
2291 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
2292 echo "$as_me: loading site script $ac_site_file" >&6;}
2293 sed 's/^/| /' "$ac_site_file" >&5
2298 if test -r "$cache_file"; then
2299 # Some versions of bash will fail to source /dev/null (special
2300 # files actually), so we avoid doing that.
2301 if test -f "$cache_file"; then
2302 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
2303 echo "$as_me: loading cache $cache_file" >&6;}
2305 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
2306 *) .
"./$cache_file";;
2310 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
2311 echo "$as_me: creating cache $cache_file" >&6;}
2315 # Check that the precious variables saved in the cache have kept the same
2317 ac_cache_corrupted
=false
2318 for ac_var
in $ac_precious_vars; do
2319 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
2320 eval ac_new_set
=\
$ac_env_${ac_var}_set
2321 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
2322 eval ac_new_val
=\
$ac_env_${ac_var}_value
2323 case $ac_old_set,$ac_new_set in
2325 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2326 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2327 ac_cache_corrupted
=: ;;
2329 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
2330 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2331 ac_cache_corrupted
=: ;;
2334 if test "x$ac_old_val" != "x$ac_new_val"; then
2335 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
2336 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2337 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
2338 echo "$as_me: former value: $ac_old_val" >&2;}
2339 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
2340 echo "$as_me: current value: $ac_new_val" >&2;}
2341 ac_cache_corrupted
=:
2344 # Pass precious variables to config.status.
2345 if test "$ac_new_set" = set; then
2347 *\'*) ac_arg
=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2348 *) ac_arg
=$ac_var=$ac_new_val ;;
2350 case " $ac_configure_args " in
2351 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2352 *) ac_configure_args
="$ac_configure_args '$ac_arg'" ;;
2356 if $ac_cache_corrupted; then
2357 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
2358 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2359 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
2360 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
2361 { (exit 1); exit 1; }; }
2389 ac_cpp
='$CPP $CPPFLAGS'
2390 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2391 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2392 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2399 for ac_dir
in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2400 if test -f "$ac_dir/install-sh"; then
2402 ac_install_sh
="$ac_aux_dir/install-sh -c"
2404 elif test -f "$ac_dir/install.sh"; then
2406 ac_install_sh
="$ac_aux_dir/install.sh -c"
2408 elif test -f "$ac_dir/shtool"; then
2410 ac_install_sh
="$ac_aux_dir/shtool install -c"
2414 if test -z "$ac_aux_dir"; then
2415 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
2416 echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
2417 { (exit 1); exit 1; }; }
2420 # These three variables are undocumented and unsupported,
2421 # and are intended to be withdrawn in a future Autoconf release.
2422 # They can cause serious problems if a builder's source tree is in a directory
2423 # whose full name contains unusual characters.
2424 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2425 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2426 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2429 # Make sure we can run config.sub.
2430 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
2431 { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
2432 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
2433 { (exit 1); exit 1; }; }
2435 { echo "$as_me:$LINENO: checking build system type" >&5
2436 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
2437 if test "${ac_cv_build+set}" = set; then
2438 echo $ECHO_N "(cached) $ECHO_C" >&6
2440 ac_build_alias
=$build_alias
2441 test "x$ac_build_alias" = x
&&
2442 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
2443 test "x$ac_build_alias" = x
&&
2444 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
2445 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
2446 { (exit 1); exit 1; }; }
2447 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2448 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
2449 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
2450 { (exit 1); exit 1; }; }
2453 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
2454 echo "${ECHO_T}$ac_cv_build" >&6; }
2455 case $ac_cv_build in
2457 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
2458 echo "$as_me: error: invalid value of canonical build" >&2;}
2459 { (exit 1); exit 1; }; };;
2462 ac_save_IFS
=$IFS; IFS
='-'
2468 # Remember, the first character of IFS is used to create $*,
2469 # except with old shells:
2472 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
2475 { echo "$as_me:$LINENO: checking host system type" >&5
2476 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
2477 if test "${ac_cv_host+set}" = set; then
2478 echo $ECHO_N "(cached) $ECHO_C" >&6
2480 if test "x$host_alias" = x
; then
2481 ac_cv_host
=$ac_cv_build
2483 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2484 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
2485 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
2486 { (exit 1); exit 1; }; }
2490 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
2491 echo "${ECHO_T}$ac_cv_host" >&6; }
2494 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
2495 echo "$as_me: error: invalid value of canonical host" >&2;}
2496 { (exit 1); exit 1; }; };;
2499 ac_save_IFS
=$IFS; IFS
='-'
2505 # Remember, the first character of IFS is used to create $*,
2506 # except with old shells:
2509 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
2512 { echo "$as_me:$LINENO: checking target system type" >&5
2513 echo $ECHO_N "checking target system type... $ECHO_C" >&6; }
2514 if test "${ac_cv_target+set}" = set; then
2515 echo $ECHO_N "(cached) $ECHO_C" >&6
2517 if test "x$target_alias" = x
; then
2518 ac_cv_target
=$ac_cv_host
2520 ac_cv_target
=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2521 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&5
2522 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&2;}
2523 { (exit 1); exit 1; }; }
2527 { echo "$as_me:$LINENO: result: $ac_cv_target" >&5
2528 echo "${ECHO_T}$ac_cv_target" >&6; }
2529 case $ac_cv_target in
2531 *) { { echo "$as_me:$LINENO: error: invalid value of canonical target" >&5
2532 echo "$as_me: error: invalid value of canonical target" >&2;}
2533 { (exit 1); exit 1; }; };;
2535 target
=$ac_cv_target
2536 ac_save_IFS
=$IFS; IFS
='-'
2542 # Remember, the first character of IFS is used to create $*,
2543 # except with old shells:
2546 case $target_os in *\
*) target_os
=`echo "$target_os" | sed 's/ /-/g'`;; esac
2549 # The aliases save the names the user supplied, while $host etc.
2550 # will get canonicalized.
2551 test -n "$target_alias" &&
2552 test "$program_prefix$program_suffix$program_transform_name" = \
2554 program_prefix
=${target_alias}-
2558 wx_major_version_number
=2
2559 wx_minor_version_number
=9
2561 wx_subrelease_number
=0
2563 WX_RELEASE
=$wx_major_version_number.
$wx_minor_version_number
2564 WX_VERSION
=$WX_RELEASE.
$wx_release_number
2565 WX_SUBVERSION
=$WX_VERSION.
$wx_subrelease_number
2567 WX_MSW_VERSION
=$wx_major_version_number$wx_minor_version_number$wx_release_number
2570 wx_top_builddir
="`pwd`"
2583 USE_BSD
= USE_DARWIN
= USE_FREEBSD
=
2589 USE_SOLARIS
= USE_SUN
= USE_SUNOS
= USE_SVR4
= USE_SYSV
= USE_VMS
=
2595 NEEDS_D_REENTRANT_FOR_R_FUNCS
=0
2597 ALL_TOOLKITS
="COCOA GTK MAC MGL MICROWIN MOTIF MSW PM X11 DFB"
2599 DEFAULT_wxUSE_COCOA
=0
2603 DEFAULT_wxUSE_MICROWIN
=0
2604 DEFAULT_wxUSE_MOTIF
=0
2610 DEFAULT_DEFAULT_wxUSE_COCOA
=0
2611 DEFAULT_DEFAULT_wxUSE_GTK
=0
2612 DEFAULT_DEFAULT_wxUSE_MAC
=0
2613 DEFAULT_DEFAULT_wxUSE_MGL
=0
2614 DEFAULT_DEFAULT_wxUSE_MICROWIN
=0
2615 DEFAULT_DEFAULT_wxUSE_MOTIF
=0
2616 DEFAULT_DEFAULT_wxUSE_MSW
=0
2617 DEFAULT_DEFAULT_wxUSE_PM
=0
2618 DEFAULT_DEFAULT_wxUSE_X11
=0
2619 DEFAULT_DEFAULT_wxUSE_DFB
=0
2624 SAMPLES_RPATH_POSTLINK
=
2626 DEFAULT_STD_FLAG
=yes
2631 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
2632 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
2634 cat >>confdefs.h
<<\_ACEOF
2639 CPPFLAGS
="-D_HPUX_SOURCE $CPPFLAGS"
2643 cat >>confdefs.h
<<\_ACEOF
2648 if test "x$TMP" = "xalpha"; then
2650 cat >>confdefs.h
<<\_ACEOF
2655 DEFAULT_DEFAULT_wxUSE_GTK
=1
2657 *-*-gnu* | *-*-k*bsd
*-gnu )
2660 if test "x$TMP" = "xalpha"; then
2662 cat >>confdefs.h
<<\_ACEOF
2667 DEFAULT_DEFAULT_wxUSE_GTK
=1
2669 *-*-irix5* | *-*-irix6* )
2672 cat >>confdefs.h
<<\_ACEOF
2676 cat >>confdefs.h
<<\_ACEOF
2680 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
2686 cat >>confdefs.h
<<\_ACEOF
2690 cat >>confdefs.h
<<\_ACEOF
2691 #define __SOLARIS__ 1
2694 cat >>confdefs.h
<<\_ACEOF
2698 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
2699 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
2705 cat >>confdefs.h
<<\_ACEOF
2709 cat >>confdefs.h
<<\_ACEOF
2713 cat >>confdefs.h
<<\_ACEOF
2717 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
2722 cat >>confdefs.h
<<\_ACEOF
2723 #define __FREEBSD__ 1
2726 cat >>confdefs.h
<<\_ACEOF
2730 DEFAULT_DEFAULT_wxUSE_GTK
=1
2732 *-*-openbsd*|*-*-mirbsd*)
2735 cat >>confdefs.h
<<\_ACEOF
2736 #define __OPENBSD__ 1
2739 cat >>confdefs.h
<<\_ACEOF
2743 DEFAULT_DEFAULT_wxUSE_GTK
=1
2748 cat >>confdefs.h
<<\_ACEOF
2749 #define __NETBSD__ 1
2752 cat >>confdefs.h
<<\_ACEOF
2756 DEFAULT_DEFAULT_wxUSE_GTK
=1
2757 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
2759 CPPFLAGS
="-D_NETBSD_SOURCE -D_LIBC $CPPFLAGS"
2764 cat >>confdefs.h
<<\_ACEOF
2768 cat >>confdefs.h
<<\_ACEOF
2772 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
2773 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
2778 cat >>confdefs.h
<<\_ACEOF
2782 cat >>confdefs.h
<<\_ACEOF
2786 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
2791 cat >>confdefs.h
<<\_ACEOF
2795 cat >>confdefs.h
<<\_ACEOF
2799 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
2806 cat >>confdefs.h
<<\_ACEOF
2810 cat >>confdefs.h
<<\_ACEOF
2814 cat >>confdefs.h
<<\_ACEOF
2818 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
2825 cat >>confdefs.h
<<\_ACEOF
2826 #define __UNIXWARE__ 1
2831 *-*-cygwin* | *-*-mingw32* )
2834 DEFAULT_DEFAULT_wxUSE_MSW
=1
2840 cat >>confdefs.h
<<\_ACEOF
2845 DEFAULT_DEFAULT_wxUSE_MGL
=1
2848 *-pc-os2_emx | *-pc-os2-emx )
2849 cat >>confdefs.h
<<\_ACEOF
2854 cat >>confdefs.h
<<\_ACEOF
2859 DEFAULT_DEFAULT_wxUSE_PM
=1
2861 LDFLAGS
="$LDFLAGS -Zcrtdll"
2862 ac_executable_extensions
=".exe"
2863 export ac_executable_extensions
2867 for ac_dir
in $PATH; do
2869 if test -z "$ac_TEMP_PATH"; then
2870 ac_TEMP_PATH
="$ac_dir"
2872 ac_TEMP_PATH
="$ac_TEMP_PATH/$ac_dir"
2875 export PATH
="$ac_TEMP_PATH"
2884 cat >>confdefs.h
<<\_ACEOF
2888 cat >>confdefs.h
<<\_ACEOF
2889 #define __DARWIN__ 1
2892 cat >>confdefs.h
<<\_ACEOF
2893 #define TARGET_CARBON 1
2896 DEFAULT_DEFAULT_wxUSE_MAC
=1
2899 powerpc
-apple-macos* )
2901 ac_cv_c_bigendian
=yes
2903 DEFAULT_DEFAULT_wxUSE_MAC
=1
2909 cat >>confdefs.h
<<\_ACEOF
2916 { echo "$as_me:$LINENO: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&5
2917 echo "$as_me: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&2;}
2918 { echo "$as_me:$LINENO: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&5
2919 echo "$as_me: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&2;}
2921 DEFAULT_DEFAULT_wxUSE_X11
=1
2922 DEFAULT_wxUSE_SHARED
=no
2927 DEFAULT_wxUSE_ALL_FEATURES
=yes
2929 DEFAULT_wxUSE_STD_IOSTREAM
=$DEFAULT_STD_FLAG
2930 DEFAULT_wxUSE_STD_STRING
=$DEFAULT_STD_FLAG
2932 DEFAULT_wxUSE_DMALLOC
=no
2933 DEFAULT_wxUSE_LIBGNOMEVFS
=no
2934 DEFAULT_wxUSE_LIBHILDON
=no
2935 DEFAULT_wxUSE_LIBMSPACK
=no
2936 DEFAULT_wxUSE_LIBSDL
=no
2937 DEFAULT_wxUSE_OPENGL
=no
2939 DEFAULT_wxUSE_ACCESSIBILITY
=no
2940 DEFAULT_wxUSE_GRAPHICS_CONTEXT
=no
2941 DEFAULT_wxUSE_IPV6
=no
2942 DEFAULT_wxUSE_MEDIACTRL
=no
2943 DEFAULT_wxUSE_TAB_DIALOG
=no
2944 DEFAULT_wxUSE_GSTREAMER8
=no
2946 DEFAULT_wxUSE_UNICODE_UTF8
=auto
2947 DEFAULT_wxUSE_UNICODE_UTF8_LOCALE
=no
2949 DEFAULT_wxUSE_UNIVERSAL_BINARY
=no
2951 DEFAULT_wxUSE_OFFICIAL_BUILD
=no
2953 DEFAULT_wxUSE_GTK2
=yes
2955 DEFAULT_wxUSE_OBJC_UNIQUIFYING
=no
2961 enablestring
=disable
2963 if test -z "$defaultval"; then
2964 if test x
"$enablestring" = xdisable
; then
2971 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gui" >&5
2972 echo $ECHO_N "checking for --${enablestring:-enable}-gui... $ECHO_C" >&6; }
2973 # Check whether --enable-gui was given.
2974 if test "${enable_gui+set}" = set; then
2975 enableval
=$enable_gui;
2976 if test "$enableval" = yes; then
2977 wx_cv_use_gui
='wxUSE_GUI=yes'
2979 wx_cv_use_gui
='wxUSE_GUI=no'
2984 wx_cv_use_gui
='wxUSE_GUI=${'DEFAULT_wxUSE_GUI":-$defaultval}"
2989 eval "$wx_cv_use_gui"
2991 if test x"$enablestring" = xdisable; then
2992 if test $wxUSE_GUI = yes; then
3001 { echo "$as_me:$LINENO: result: $result" >&5
3002 echo "${ECHO_T}$result" >&6; }
3007 if test -z "$defaultval"; then
3008 if test x"$enablestring" = xdisable; then
3015 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-monolithic" >&5
3016 echo $ECHO_N "checking for --${enablestring:-enable}-monolithic... $ECHO_C" >&6; }
3017 # Check whether --enable-monolithic was given.
3018 if test "${enable_monolithic+set}" = set; then
3019 enableval=$enable_monolithic;
3020 if test "$enableval" = yes; then
3021 wx_cv_use_monolithic='wxUSE_MONOLITHIC
=yes'
3023 wx_cv_use_monolithic='wxUSE_MONOLITHIC
=no
'
3028 wx_cv_use_monolithic='wxUSE_MONOLITHIC
=${'DEFAULT_wxUSE_MONOLITHIC":-$defaultval}"
3033 eval "$wx_cv_use_monolithic"
3035 if test x"$enablestring" = xdisable; then
3036 if test $wxUSE_MONOLITHIC = yes; then
3042 result=$wxUSE_MONOLITHIC
3045 { echo "$as_me:$LINENO: result
: $result" >&5
3046 echo "${ECHO_T}$result" >&6; }
3051 if test -z "$defaultval"; then
3052 if test x"$enablestring" = xdisable; then
3059 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-plugins" >&5
3060 echo $ECHO_N "checking
for --${enablestring:-enable}-plugins...
$ECHO_C" >&6; }
3061 # Check whether --enable-plugins was given.
3062 if test "${enable_plugins+set}" = set; then
3063 enableval=$enable_plugins;
3064 if test "$enableval" = yes; then
3065 wx_cv_use_plugins='wxUSE_PLUGINS=yes'
3067 wx_cv_use_plugins='wxUSE_PLUGINS=no'
3072 wx_cv_use_plugins='wxUSE_PLUGINS=${'DEFAULT_wxUSE_PLUGINS":-$defaultval}"
3077 eval "$wx_cv_use_plugins"
3079 if test x
"$enablestring" = xdisable
; then
3080 if test $wxUSE_PLUGINS = yes; then
3086 result
=$wxUSE_PLUGINS
3089 { echo "$as_me:$LINENO: result: $result" >&5
3090 echo "${ECHO_T}$result" >&6; }
3094 defaultval
=$wxUSE_ALL_FEATURES
3095 if test -z "$defaultval"; then
3096 if test x
"$withstring" = xwithout
; then
3102 { echo "$as_me:$LINENO: checking for --${withstring:-with}-subdirs" >&5
3103 echo $ECHO_N "checking for --${withstring:-with}-subdirs... $ECHO_C" >&6; }
3105 # Check whether --with-subdirs was given.
3106 if test "${with_subdirs+set}" = set; then
3107 withval
=$with_subdirs;
3108 if test "$withval" = yes; then
3109 wx_cv_use_subdirs
='wxWITH_SUBDIRS=yes'
3111 wx_cv_use_subdirs
='wxWITH_SUBDIRS=no'
3116 wx_cv_use_subdirs
='wxWITH_SUBDIRS=${'DEFAULT_wxWITH_SUBDIRS":-$defaultval}"
3121 eval "$wx_cv_use_subdirs"
3123 if test x"$withstring" = xwithout; then
3124 if test $wxWITH_SUBDIRS = yes; then
3130 result=$wxWITH_SUBDIRS
3133 { echo "$as_me:$LINENO: result: $result" >&5
3134 echo "${ECHO_T}$result" >&6; }
3137 # Check whether --with-flavour was given.
3138 if test "${with_flavour+set}" = set; then
3139 withval=$with_flavour; WX_FLAVOUR="$withval"
3145 if test -z "$defaultval"; then
3146 if test x"$enablestring" = xdisable; then
3153 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-official_build" >&5
3154 echo $ECHO_N "checking for --${enablestring:-enable}-official_build... $ECHO_C" >&6; }
3155 # Check whether --enable-official_build was given.
3156 if test "${enable_official_build+set}" = set; then
3157 enableval=$enable_official_build;
3158 if test "$enableval" = yes; then
3159 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD
=yes'
3161 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD
=no
'
3166 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD
=${'DEFAULT_wxUSE_OFFICIAL_BUILD":-$defaultval}"
3171 eval "$wx_cv_use_official_build"
3173 if test x"$enablestring" = xdisable; then
3174 if test $wxUSE_OFFICIAL_BUILD = yes; then
3180 result=$wxUSE_OFFICIAL_BUILD
3183 { echo "$as_me:$LINENO: result
: $result" >&5
3184 echo "${ECHO_T}$result" >&6; }
3186 # Check whether --enable-vendor was given.
3187 if test "${enable_vendor+set}" = set; then
3188 enableval=$enable_vendor; VENDOR="$enableval"
3191 if test "x
$VENDOR" = "x
"; then
3196 enablestring=disable
3198 if test -z "$defaultval"; then
3199 if test x"$enablestring" = xdisable; then
3206 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-all-features" >&5
3207 echo $ECHO_N "checking
for --${enablestring:-enable}-all-features...
$ECHO_C" >&6; }
3208 # Check whether --enable-all-features was given.
3209 if test "${enable_all_features+set}" = set; then
3210 enableval=$enable_all_features;
3211 if test "$enableval" = yes; then
3212 wx_cv_use_all_features='wxUSE_ALL_FEATURES=yes'
3214 wx_cv_use_all_features='wxUSE_ALL_FEATURES=no'
3219 wx_cv_use_all_features='wxUSE_ALL_FEATURES=${'DEFAULT_wxUSE_ALL_FEATURES":-$defaultval}"
3224 eval "$wx_cv_use_all_features"
3226 if test x
"$enablestring" = xdisable
; then
3227 if test $wxUSE_ALL_FEATURES = yes; then
3233 result
=$wxUSE_ALL_FEATURES
3236 { echo "$as_me:$LINENO: result: $result" >&5
3237 echo "${ECHO_T}$result" >&6; }
3241 if test "$wxUSE_GUI" = "yes"; then
3246 if test -z "$defaultval"; then
3247 if test x
"$enablestring" = xdisable
; then
3254 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal" >&5
3255 echo $ECHO_N "checking for --${enablestring:-enable}-universal... $ECHO_C" >&6; }
3256 # Check whether --enable-universal was given.
3257 if test "${enable_universal+set}" = set; then
3258 enableval
=$enable_universal;
3259 if test "$enableval" = yes; then
3260 wx_cv_use_universal
='wxUSE_UNIVERSAL=yes'
3262 wx_cv_use_universal
='wxUSE_UNIVERSAL=no'
3267 wx_cv_use_universal
='wxUSE_UNIVERSAL=${'DEFAULT_wxUSE_UNIVERSAL":-$defaultval}"
3272 eval "$wx_cv_use_universal"
3274 if test x"$enablestring" = xdisable; then
3275 if test $wxUSE_UNIVERSAL = yes; then
3281 result=$wxUSE_UNIVERSAL
3284 { echo "$as_me:$LINENO: result: $result" >&5
3285 echo "${ECHO_T}$result" >&6; }
3287 if test "$wxUSE_UNIVERSAL" = "yes"; then
3289 # Check whether --with-themes was given.
3290 if test "${with_themes+set}" = set; then
3291 withval=$with_themes; wxUNIV_THEMES="$withval"
3297 # Check whether --with-gtk was given.
3298 if test "${with_gtk+set}" = set; then
3299 withval=$with_gtk; wxUSE_GTK="$withval" CACHE_GTK=1 TOOLKIT_GIVEN=1
3303 # Check whether --with-motif was given.
3304 if test "${with_motif+set}" = set; then
3305 withval=$with_motif; wxUSE_MOTIF="$withval" CACHE_MOTIF=1 TOOLKIT_GIVEN=1
3309 # Check whether --with-mac was given.
3310 if test "${with_mac+set}" = set; then
3311 withval=$with_mac; wxUSE_MAC="$withval" CACHE_MAC=1 TOOLKIT_GIVEN=1
3315 # Check whether --with-cocoa was given.
3316 if test "${with_cocoa+set}" = set; then
3317 withval=$with_cocoa; wxUSE_COCOA="$withval" CACHE_COCOA=1 TOOLKIT_GIVEN=1
3321 # Check whether --with-wine was given.
3322 if test "${with_wine+set}" = set; then
3323 withval=$with_wine; wxUSE_WINE="$withval" CACHE_WINE=1
3327 # Check whether --with-msw was given.
3328 if test "${with_msw+set}" = set; then
3329 withval=$with_msw; wxUSE_MSW="$withval" CACHE_MSW=1 TOOLKIT_GIVEN=1
3333 # Check whether --with-pm was given.
3334 if test "${with_pm+set}" = set; then
3335 withval=$with_pm; wxUSE_PM="$withval" CACHE_PM=1 TOOLKIT_GIVEN=1
3339 # Check whether --with-mgl was given.
3340 if test "${with_mgl+set}" = set; then
3341 withval=$with_mgl; wxUSE_MGL="$withval" wxUSE_UNIVERSAL="yes" CACHE_MGL=1 TOOLKIT_GIVEN=1
3345 # Check whether --with-directfb was given.
3346 if test "${with_directfb+set}" = set; then
3347 withval=$with_directfb; wxUSE_DFB="$withval" wxUSE_UNIVERSAL="yes" CACHE_DFB=1 TOOLKIT_GIVEN=1
3351 # Check whether --with-microwin was given.
3352 if test "${with_microwin+set}" = set; then
3353 withval=$with_microwin; wxUSE_MICROWIN="$withval" CACHE_MICROWIN=1 TOOLKIT_GIVEN=1
3357 # Check whether --with-x11 was given.
3358 if test "${with_x11+set}" = set; then
3359 withval=$with_x11; wxUSE_X11="$withval" wxUSE_UNIVERSAL="yes" CACHE_X11=1 TOOLKIT_GIVEN=1
3365 if test -z "$defaultval"; then
3366 if test x"$enablestring" = xdisable; then
3373 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-nanox" >&5
3374 echo $ECHO_N "checking for --${enablestring:-enable}-nanox... $ECHO_C" >&6; }
3375 # Check whether --enable-nanox was given.
3376 if test "${enable_nanox+set}" = set; then
3377 enableval=$enable_nanox;
3378 if test "$enableval" = yes; then
3379 wx_cv_use_nanox='wxUSE_NANOX
=yes'
3381 wx_cv_use_nanox='wxUSE_NANOX
=no
'
3386 wx_cv_use_nanox='wxUSE_NANOX
=${'DEFAULT_wxUSE_NANOX":-$defaultval}"
3391 eval "$wx_cv_use_nanox"
3393 if test x"$enablestring" = xdisable; then
3394 if test $wxUSE_NANOX = yes; then
3403 { echo "$as_me:$LINENO: result
: $result" >&5
3404 echo "${ECHO_T}$result" >&6; }
3407 # Check whether --enable-gtk2 was given.
3408 if test "${enable_gtk2+set}" = set; then
3409 enableval=$enable_gtk2; wxUSE_GTK2="$enableval"
3415 if test -z "$defaultval"; then
3416 if test x"$enablestring" = xdisable; then
3423 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-gpe" >&5
3424 echo $ECHO_N "checking
for --${enablestring:-enable}-gpe...
$ECHO_C" >&6; }
3425 # Check whether --enable-gpe was given.
3426 if test "${enable_gpe+set}" = set; then
3427 enableval=$enable_gpe;
3428 if test "$enableval" = yes; then
3429 wx_cv_use_gpe='wxUSE_GPE=yes'
3431 wx_cv_use_gpe='wxUSE_GPE=no'
3436 wx_cv_use_gpe='wxUSE_GPE=${'DEFAULT_wxUSE_GPE":-$defaultval}"
3441 eval "$wx_cv_use_gpe"
3443 if test x
"$enablestring" = xdisable
; then
3444 if test $wxUSE_GPE = yes; then
3453 { echo "$as_me:$LINENO: result: $result" >&5
3454 echo "${ECHO_T}$result" >&6; }
3458 { echo "$as_me:$LINENO: checking for toolkit" >&5
3459 echo $ECHO_N "checking for toolkit... $ECHO_C" >&6; }
3461 # In Wine, we need to default to MSW, not GTK or MOTIF
3462 if test "$wxUSE_WINE" = "yes"; then
3463 DEFAULT_DEFAULT_wxUSE_GTK
=0
3464 DEFAULT_DEFAULT_wxUSE_MOTIF
=0
3465 DEFAULT_DEFAULT_wxUSE_MSW
=1
3472 if test "$wxUSE_GUI" = "yes"; then
3474 if test "$USE_BEOS" = 1; then
3475 { { echo "$as_me:$LINENO: error: BeOS GUI is not supported yet, use --disable-gui" >&5
3476 echo "$as_me: error: BeOS GUI is not supported yet, use --disable-gui" >&2;}
3477 { (exit 1); exit 1; }; }
3480 if test "$TOOLKIT_GIVEN" = 1; then
3481 for toolkit
in $ALL_TOOLKITS; do
3483 eval "value=\$${var}"
3484 if test "x$value" = "xno"; then
3486 elif test "x$value" != "x"; then
3490 if test "x$value" != "x" -a "x$value" != "xyes" -a "x$value" != "xno"; then
3491 eval "wx${toolkit}_VERSION=$value"
3495 for toolkit
in $ALL_TOOLKITS; do
3496 var
=DEFAULT_DEFAULT_wxUSE_
$toolkit
3497 eval "wxUSE_$toolkit=\$${var}"
3501 NUM_TOOLKITS
=`expr ${wxUSE_COCOA:-0} + ${wxUSE_GTK:-0} + ${wxUSE_MAC:-0} \
3502 + ${wxUSE_MGL:-0} + ${wxUSE_DFB:-0} + ${wxUSE_MICROWIN:-0} \
3503 + ${wxUSE_MOTIF:-0} + ${wxUSE_MSW:-0} + ${wxUSE_X11:-0}`
3506 *-pc-os2_emx | *-pc-os2-emx )
3507 NUM_TOOLKITS
=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
3510 case "$NUM_TOOLKITS" in
3514 { { echo "$as_me:$LINENO: error: Please specify a toolkit -- cannot determine the default for ${host}" >&5
3515 echo "$as_me: error: Please specify a toolkit -- cannot determine the default for ${host}" >&2;}
3516 { (exit 1); exit 1; }; }
3519 { { echo "$as_me:$LINENO: error: Please specify at most one toolkit" >&5
3520 echo "$as_me: error: Please specify at most one toolkit" >&2;}
3521 { (exit 1); exit 1; }; }
3524 # to be removed when --disable-gtk2 isn't needed
3525 if test "x$wxUSE_GTK2" = "xyes"; then
3527 elif test "x$wxUSE_GTK2" = "xno"; then
3531 for toolkit
in $ALL_TOOLKITS; do
3533 eval "value=\$${var}"
3534 if test "$value" = 1; then
3535 toolkit_echo
=`echo $toolkit | tr '[A-Z]' '[a-z]'`
3536 { echo "$as_me:$LINENO: result: $toolkit_echo" >&5
3537 echo "${ECHO_T}$toolkit_echo" >&6; }
3541 if test "x$host_alias" != "x"; then
3542 { echo "$as_me:$LINENO: result: base ($host_alias hosted) only" >&5
3543 echo "${ECHO_T}base ($host_alias hosted) only" >&6; }
3545 { echo "$as_me:$LINENO: result: base only" >&5
3546 echo "${ECHO_T}base only" >&6; }
3552 { echo "$as_me:$LINENO: checking for --with-libpng" >&5
3553 echo $ECHO_N "checking for --with-libpng... $ECHO_C" >&6; }
3555 # Check whether --with-libpng was given.
3556 if test "${with_libpng+set}" = set; then
3557 withval
=$with_libpng;
3558 if test "$withval" = yes; then
3559 wx_cv_use_libpng
='wxUSE_LIBPNG=yes'
3560 elif test "$withval" = no
; then
3561 wx_cv_use_libpng
='wxUSE_LIBPNG=no'
3562 elif test "$withval" = sys
; then
3563 wx_cv_use_libpng
='wxUSE_LIBPNG=sys'
3564 elif test "$withval" = builtin; then
3565 wx_cv_use_libpng
='wxUSE_LIBPNG=builtin'
3567 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
3568 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
3569 { (exit 1); exit 1; }; }
3574 wx_cv_use_libpng
='wxUSE_LIBPNG=${'DEFAULT_wxUSE_LIBPNG":-$wxUSE_ALL_FEATURES}"
3579 eval "$wx_cv_use_libpng"
3581 if test "$wxUSE_LIBPNG" = yes; then
3582 { echo "$as_me:$LINENO: result: yes" >&5
3583 echo "${ECHO_T}yes" >&6; }
3584 elif test "$wxUSE_LIBPNG" = no; then
3585 { echo "$as_me:$LINENO: result: no" >&5
3586 echo "${ECHO_T}no" >&6; }
3587 elif test "$wxUSE_LIBPNG" = sys; then
3588 { echo "$as_me:$LINENO: result: system version" >&5
3589 echo "${ECHO_T}system version" >&6; }
3590 elif test "$wxUSE_LIBPNG" = builtin; then
3591 { echo "$as_me:$LINENO: result: builtin version" >&5
3592 echo "${ECHO_T}builtin version" >&6; }
3594 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
3595 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
3596 { (exit 1); exit 1; }; }
3600 { echo "$as_me:$LINENO: checking for --with-libjpeg" >&5
3601 echo $ECHO_N "checking for --with-libjpeg... $ECHO_C" >&6; }
3603 # Check whether --with-libjpeg was given.
3604 if test "${with_libjpeg+set}" = set; then
3605 withval=$with_libjpeg;
3606 if test "$withval" = yes; then
3607 wx_cv_use_libjpeg='wxUSE_LIBJPEG
=yes'
3608 elif test "$withval" = no; then
3609 wx_cv_use_libjpeg='wxUSE_LIBJPEG
=no
'
3610 elif test "$withval" = sys; then
3611 wx_cv_use_libjpeg='wxUSE_LIBJPEG
=sys
'
3612 elif test "$withval" = builtin; then
3613 wx_cv_use_libjpeg='wxUSE_LIBJPEG
=builtin'
3615 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
3616 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
3617 { (exit 1); exit 1; }; }
3622 wx_cv_use_libjpeg='wxUSE_LIBJPEG
=${'DEFAULT_wxUSE_LIBJPEG":-$wxUSE_ALL_FEATURES}"
3627 eval "$wx_cv_use_libjpeg"
3629 if test "$wxUSE_LIBJPEG" = yes; then
3630 { echo "$as_me:$LINENO: result
: yes" >&5
3631 echo "${ECHO_T}yes" >&6; }
3632 elif test "$wxUSE_LIBJPEG" = no; then
3633 { echo "$as_me:$LINENO: result
: no
" >&5
3634 echo "${ECHO_T}no
" >&6; }
3635 elif test "$wxUSE_LIBJPEG" = sys; then
3636 { echo "$as_me:$LINENO: result
: system version
" >&5
3637 echo "${ECHO_T}system version
" >&6; }
3638 elif test "$wxUSE_LIBJPEG" = builtin; then
3639 { echo "$as_me:$LINENO: result
: builtin version
" >&5
3640 echo "${ECHO_T}builtin version
" >&6; }
3642 { { echo "$as_me:$LINENO: error
: Invalid value
for --with-libjpeg: should be
yes, no
, sys
, or
builtin" >&5
3643 echo "$as_me: error
: Invalid value
for --with-libjpeg: should be
yes, no
, sys
, or
builtin" >&2;}
3644 { (exit 1); exit 1; }; }
3648 { echo "$as_me:$LINENO: checking
for --with-libtiff" >&5
3649 echo $ECHO_N "checking
for --with-libtiff...
$ECHO_C" >&6; }
3651 # Check whether --with-libtiff was given.
3652 if test "${with_libtiff+set}" = set; then
3653 withval=$with_libtiff;
3654 if test "$withval" = yes; then
3655 wx_cv_use_libtiff='wxUSE_LIBTIFF=yes'
3656 elif test "$withval" = no; then
3657 wx_cv_use_libtiff='wxUSE_LIBTIFF=no'
3658 elif test "$withval" = sys; then
3659 wx_cv_use_libtiff='wxUSE_LIBTIFF=sys'
3660 elif test "$withval" = builtin; then
3661 wx_cv_use_libtiff='wxUSE_LIBTIFF=builtin'
3663 { { echo "$as_me:$LINENO: error
: Invalid value
for --with-libtiff: should be
yes, no
, sys
, or
builtin" >&5
3664 echo "$as_me: error
: Invalid value
for --with-libtiff: should be
yes, no
, sys
, or
builtin" >&2;}
3665 { (exit 1); exit 1; }; }
3670 wx_cv_use_libtiff='wxUSE_LIBTIFF=${'DEFAULT_wxUSE_LIBTIFF":-$wxUSE_ALL_FEATURES}"
3675 eval "$wx_cv_use_libtiff"
3677 if test "$wxUSE_LIBTIFF" = yes; then
3678 { echo "$as_me:$LINENO: result: yes" >&5
3679 echo "${ECHO_T}yes" >&6; }
3680 elif test "$wxUSE_LIBTIFF" = no
; then
3681 { echo "$as_me:$LINENO: result: no" >&5
3682 echo "${ECHO_T}no" >&6; }
3683 elif test "$wxUSE_LIBTIFF" = sys
; then
3684 { echo "$as_me:$LINENO: result: system version" >&5
3685 echo "${ECHO_T}system version" >&6; }
3686 elif test "$wxUSE_LIBTIFF" = builtin; then
3687 { echo "$as_me:$LINENO: result: builtin version" >&5
3688 echo "${ECHO_T}builtin version" >&6; }
3690 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
3691 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
3692 { (exit 1); exit 1; }; }
3696 { echo "$as_me:$LINENO: checking for --with-libxpm" >&5
3697 echo $ECHO_N "checking for --with-libxpm... $ECHO_C" >&6; }
3699 # Check whether --with-libxpm was given.
3700 if test "${with_libxpm+set}" = set; then
3701 withval
=$with_libxpm;
3702 if test "$withval" = yes; then
3703 wx_cv_use_libxpm
='wxUSE_LIBXPM=yes'
3704 elif test "$withval" = no
; then
3705 wx_cv_use_libxpm
='wxUSE_LIBXPM=no'
3706 elif test "$withval" = sys
; then
3707 wx_cv_use_libxpm
='wxUSE_LIBXPM=sys'
3708 elif test "$withval" = builtin; then
3709 wx_cv_use_libxpm
='wxUSE_LIBXPM=builtin'
3711 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3712 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3713 { (exit 1); exit 1; }; }
3718 wx_cv_use_libxpm
='wxUSE_LIBXPM=${'DEFAULT_wxUSE_LIBXPM":-$wxUSE_ALL_FEATURES}"
3723 eval "$wx_cv_use_libxpm"
3725 if test "$wxUSE_LIBXPM" = yes; then
3726 { echo "$as_me:$LINENO: result: yes" >&5
3727 echo "${ECHO_T}yes" >&6; }
3728 elif test "$wxUSE_LIBXPM" = no; then
3729 { echo "$as_me:$LINENO: result: no" >&5
3730 echo "${ECHO_T}no" >&6; }
3731 elif test "$wxUSE_LIBXPM" = sys; then
3732 { echo "$as_me:$LINENO: result: system version" >&5
3733 echo "${ECHO_T}system version" >&6; }
3734 elif test "$wxUSE_LIBXPM" = builtin; then
3735 { echo "$as_me:$LINENO: result: builtin version" >&5
3736 echo "${ECHO_T}builtin version" >&6; }
3738 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3739 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3740 { (exit 1); exit 1; }; }
3745 defaultval=$wxUSE_ALL_FEATURES
3746 if test -z "$defaultval"; then
3747 if test x"$withstring" = xwithout; then
3753 { echo "$as_me:$LINENO: checking for --${withstring:-with}-libiconv" >&5
3754 echo $ECHO_N "checking for --${withstring:-with}-libiconv... $ECHO_C" >&6; }
3756 # Check whether --with-libiconv was given.
3757 if test "${with_libiconv+set}" = set; then
3758 withval=$with_libiconv;
3759 if test "$withval" = yes; then
3760 wx_cv_use_libiconv='wxUSE_LIBICONV
=yes'
3762 wx_cv_use_libiconv='wxUSE_LIBICONV
=no
'
3767 wx_cv_use_libiconv='wxUSE_LIBICONV
=${'DEFAULT_wxUSE_LIBICONV":-$defaultval}"
3772 eval "$wx_cv_use_libiconv"
3774 if test x"$withstring" = xwithout; then
3775 if test $wxUSE_LIBICONV = yes; then
3781 result=$wxUSE_LIBICONV
3784 { echo "$as_me:$LINENO: result
: $result" >&5
3785 echo "${ECHO_T}$result" >&6; }
3789 defaultval=$wxUSE_ALL_FEATURES
3790 if test -z "$defaultval"; then
3791 if test x"$withstring" = xwithout; then
3797 { echo "$as_me:$LINENO: checking
for --${withstring:-with}-libmspack" >&5
3798 echo $ECHO_N "checking
for --${withstring:-with}-libmspack...
$ECHO_C" >&6; }
3800 # Check whether --with-libmspack was given.
3801 if test "${with_libmspack+set}" = set; then
3802 withval=$with_libmspack;
3803 if test "$withval" = yes; then
3804 wx_cv_use_libmspack='wxUSE_LIBMSPACK=yes'
3806 wx_cv_use_libmspack='wxUSE_LIBMSPACK=no'
3811 wx_cv_use_libmspack='wxUSE_LIBMSPACK=${'DEFAULT_wxUSE_LIBMSPACK":-$defaultval}"
3816 eval "$wx_cv_use_libmspack"
3818 if test x
"$withstring" = xwithout
; then
3819 if test $wxUSE_LIBMSPACK = yes; then
3825 result
=$wxUSE_LIBMSPACK
3828 { echo "$as_me:$LINENO: result: $result" >&5
3829 echo "${ECHO_T}$result" >&6; }
3833 defaultval
=$wxUSE_ALL_FEATURES
3834 if test -z "$defaultval"; then
3835 if test x
"$withstring" = xwithout
; then
3841 { echo "$as_me:$LINENO: checking for --${withstring:-with}-gtkprint" >&5
3842 echo $ECHO_N "checking for --${withstring:-with}-gtkprint... $ECHO_C" >&6; }
3844 # Check whether --with-gtkprint was given.
3845 if test "${with_gtkprint+set}" = set; then
3846 withval
=$with_gtkprint;
3847 if test "$withval" = yes; then
3848 wx_cv_use_gtkprint
='wxUSE_GTKPRINT=yes'
3850 wx_cv_use_gtkprint
='wxUSE_GTKPRINT=no'
3855 wx_cv_use_gtkprint
='wxUSE_GTKPRINT=${'DEFAULT_wxUSE_GTKPRINT":-$defaultval}"
3860 eval "$wx_cv_use_gtkprint"
3862 if test x"$withstring" = xwithout; then
3863 if test $wxUSE_GTKPRINT = yes; then
3869 result=$wxUSE_GTKPRINT
3872 { echo "$as_me:$LINENO: result: $result" >&5
3873 echo "${ECHO_T}$result" >&6; }
3877 defaultval=$wxUSE_ALL_FEATURES
3878 if test -z "$defaultval"; then
3879 if test x"$withstring" = xwithout; then
3885 { echo "$as_me:$LINENO: checking for --${withstring:-with}-gnomeprint" >&5
3886 echo $ECHO_N "checking for --${withstring:-with}-gnomeprint... $ECHO_C" >&6; }
3888 # Check whether --with-gnomeprint was given.
3889 if test "${with_gnomeprint+set}" = set; then
3890 withval=$with_gnomeprint;
3891 if test "$withval" = yes; then
3892 wx_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT
=yes'
3894 wx_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT
=no
'
3899 wx_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT
=${'DEFAULT_wxUSE_LIBGNOMEPRINT":-$defaultval}"
3904 eval "$wx_cv_use_gnomeprint"
3906 if test x"$withstring" = xwithout; then
3907 if test $wxUSE_LIBGNOMEPRINT = yes; then
3913 result=$wxUSE_LIBGNOMEPRINT
3916 { echo "$as_me:$LINENO: result
: $result" >&5
3917 echo "${ECHO_T}$result" >&6; }
3921 defaultval=$wxUSE_ALL_FEATURES
3922 if test -z "$defaultval"; then
3923 if test x"$withstring" = xwithout; then
3929 { echo "$as_me:$LINENO: checking
for --${withstring:-with}-gnomevfs" >&5
3930 echo $ECHO_N "checking
for --${withstring:-with}-gnomevfs...
$ECHO_C" >&6; }
3932 # Check whether --with-gnomevfs was given.
3933 if test "${with_gnomevfs+set}" = set; then
3934 withval=$with_gnomevfs;
3935 if test "$withval" = yes; then
3936 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=yes'
3938 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=no'
3943 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=${'DEFAULT_wxUSE_LIBGNOMEVFS":-$defaultval}"
3948 eval "$wx_cv_use_gnomevfs"
3950 if test x
"$withstring" = xwithout
; then
3951 if test $wxUSE_LIBGNOMEVFS = yes; then
3957 result
=$wxUSE_LIBGNOMEVFS
3960 { echo "$as_me:$LINENO: result: $result" >&5
3961 echo "${ECHO_T}$result" >&6; }
3965 defaultval
=$wxUSE_ALL_FEATURES
3966 if test -z "$defaultval"; then
3967 if test x
"$withstring" = xwithout
; then
3973 { echo "$as_me:$LINENO: checking for --${withstring:-with}-hildon" >&5
3974 echo $ECHO_N "checking for --${withstring:-with}-hildon... $ECHO_C" >&6; }
3976 # Check whether --with-hildon was given.
3977 if test "${with_hildon+set}" = set; then
3978 withval
=$with_hildon;
3979 if test "$withval" = yes; then
3980 wx_cv_use_hildon
='wxUSE_LIBHILDON=yes'
3982 wx_cv_use_hildon
='wxUSE_LIBHILDON=no'
3987 wx_cv_use_hildon
='wxUSE_LIBHILDON=${'DEFAULT_wxUSE_LIBHILDON":-$defaultval}"
3992 eval "$wx_cv_use_hildon"
3994 if test x"$withstring" = xwithout; then
3995 if test $wxUSE_LIBHILDON = yes; then
4001 result=$wxUSE_LIBHILDON
4004 { echo "$as_me:$LINENO: result: $result" >&5
4005 echo "${ECHO_T}$result" >&6; }
4009 defaultval=$wxUSE_ALL_FEATURES
4010 if test -z "$defaultval"; then
4011 if test x"$withstring" = xwithout; then
4017 { echo "$as_me:$LINENO: checking for --${withstring:-with}-opengl" >&5
4018 echo $ECHO_N "checking for --${withstring:-with}-opengl... $ECHO_C" >&6; }
4020 # Check whether --with-opengl was given.
4021 if test "${with_opengl+set}" = set; then
4022 withval=$with_opengl;
4023 if test "$withval" = yes; then
4024 wx_cv_use_opengl='wxUSE_OPENGL
=yes'
4026 wx_cv_use_opengl='wxUSE_OPENGL
=no
'
4031 wx_cv_use_opengl='wxUSE_OPENGL
=${'DEFAULT_wxUSE_OPENGL":-$defaultval}"
4036 eval "$wx_cv_use_opengl"
4038 if test x"$withstring" = xwithout; then
4039 if test $wxUSE_OPENGL = yes; then
4045 result=$wxUSE_OPENGL
4048 { echo "$as_me:$LINENO: result
: $result" >&5
4049 echo "${ECHO_T}$result" >&6; }
4056 defaultval=$wxUSE_ALL_FEATURES
4057 if test -z "$defaultval"; then
4058 if test x"$withstring" = xwithout; then
4064 { echo "$as_me:$LINENO: checking
for --${withstring:-with}-dmalloc" >&5
4065 echo $ECHO_N "checking
for --${withstring:-with}-dmalloc...
$ECHO_C" >&6; }
4067 # Check whether --with-dmalloc was given.
4068 if test "${with_dmalloc+set}" = set; then
4069 withval=$with_dmalloc;
4070 if test "$withval" = yes; then
4071 wx_cv_use_dmalloc='wxUSE_DMALLOC=yes'
4073 wx_cv_use_dmalloc='wxUSE_DMALLOC=no'
4078 wx_cv_use_dmalloc='wxUSE_DMALLOC=${'DEFAULT_wxUSE_DMALLOC":-$defaultval}"
4083 eval "$wx_cv_use_dmalloc"
4085 if test x
"$withstring" = xwithout
; then
4086 if test $wxUSE_DMALLOC = yes; then
4092 result
=$wxUSE_DMALLOC
4095 { echo "$as_me:$LINENO: result: $result" >&5
4096 echo "${ECHO_T}$result" >&6; }
4100 defaultval
=$wxUSE_ALL_FEATURES
4101 if test -z "$defaultval"; then
4102 if test x
"$withstring" = xwithout
; then
4108 { echo "$as_me:$LINENO: checking for --${withstring:-with}-sdl" >&5
4109 echo $ECHO_N "checking for --${withstring:-with}-sdl... $ECHO_C" >&6; }
4111 # Check whether --with-sdl was given.
4112 if test "${with_sdl+set}" = set; then
4114 if test "$withval" = yes; then
4115 wx_cv_use_sdl
='wxUSE_LIBSDL=yes'
4117 wx_cv_use_sdl
='wxUSE_LIBSDL=no'
4122 wx_cv_use_sdl
='wxUSE_LIBSDL=${'DEFAULT_wxUSE_LIBSDL":-$defaultval}"
4127 eval "$wx_cv_use_sdl"
4129 if test x"$withstring" = xwithout; then
4130 if test $wxUSE_LIBSDL = yes; then
4136 result=$wxUSE_LIBSDL
4139 { echo "$as_me:$LINENO: result: $result" >&5
4140 echo "${ECHO_T}$result" >&6; }
4143 { echo "$as_me:$LINENO: checking for --with-regex" >&5
4144 echo $ECHO_N "checking for --with-regex... $ECHO_C" >&6; }
4146 # Check whether --with-regex was given.
4147 if test "${with_regex+set}" = set; then
4148 withval=$with_regex;
4149 if test "$withval" = yes; then
4150 wx_cv_use_regex='wxUSE_REGEX
=yes'
4151 elif test "$withval" = no; then
4152 wx_cv_use_regex='wxUSE_REGEX
=no
'
4153 elif test "$withval" = sys; then
4154 wx_cv_use_regex='wxUSE_REGEX
=sys
'
4155 elif test "$withval" = builtin; then
4156 wx_cv_use_regex='wxUSE_REGEX
=builtin'
4158 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
4159 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
4160 { (exit 1); exit 1; }; }
4165 wx_cv_use_regex='wxUSE_REGEX
=${'DEFAULT_wxUSE_REGEX":-$wxUSE_ALL_FEATURES}"
4170 eval "$wx_cv_use_regex"
4172 if test "$wxUSE_REGEX" = yes; then
4173 { echo "$as_me:$LINENO: result
: yes" >&5
4174 echo "${ECHO_T}yes" >&6; }
4175 elif test "$wxUSE_REGEX" = no; then
4176 { echo "$as_me:$LINENO: result
: no
" >&5
4177 echo "${ECHO_T}no
" >&6; }
4178 elif test "$wxUSE_REGEX" = sys; then
4179 { echo "$as_me:$LINENO: result
: system version
" >&5
4180 echo "${ECHO_T}system version
" >&6; }
4181 elif test "$wxUSE_REGEX" = builtin; then
4182 { echo "$as_me:$LINENO: result
: builtin version
" >&5
4183 echo "${ECHO_T}builtin version
" >&6; }
4185 { { echo "$as_me:$LINENO: error
: Invalid value
for --with-regex: should be
yes, no
, sys
, or
builtin" >&5
4186 echo "$as_me: error
: Invalid value
for --with-regex: should be
yes, no
, sys
, or
builtin" >&2;}
4187 { (exit 1); exit 1; }; }
4191 { echo "$as_me:$LINENO: checking
for --with-zlib" >&5
4192 echo $ECHO_N "checking
for --with-zlib...
$ECHO_C" >&6; }
4194 # Check whether --with-zlib was given.
4195 if test "${with_zlib+set}" = set; then
4197 if test "$withval" = yes; then
4198 wx_cv_use_zlib='wxUSE_ZLIB=yes'
4199 elif test "$withval" = no; then
4200 wx_cv_use_zlib='wxUSE_ZLIB=no'
4201 elif test "$withval" = sys; then
4202 wx_cv_use_zlib='wxUSE_ZLIB=sys'
4203 elif test "$withval" = builtin; then
4204 wx_cv_use_zlib='wxUSE_ZLIB=builtin'
4206 { { echo "$as_me:$LINENO: error
: Invalid value
for --with-zlib: should be
yes, no
, sys
, or
builtin" >&5
4207 echo "$as_me: error
: Invalid value
for --with-zlib: should be
yes, no
, sys
, or
builtin" >&2;}
4208 { (exit 1); exit 1; }; }
4213 wx_cv_use_zlib='wxUSE_ZLIB=${'DEFAULT_wxUSE_ZLIB":-$wxUSE_ALL_FEATURES}"
4218 eval "$wx_cv_use_zlib"
4220 if test "$wxUSE_ZLIB" = yes; then
4221 { echo "$as_me:$LINENO: result: yes" >&5
4222 echo "${ECHO_T}yes" >&6; }
4223 elif test "$wxUSE_ZLIB" = no
; then
4224 { echo "$as_me:$LINENO: result: no" >&5
4225 echo "${ECHO_T}no" >&6; }
4226 elif test "$wxUSE_ZLIB" = sys
; then
4227 { echo "$as_me:$LINENO: result: system version" >&5
4228 echo "${ECHO_T}system version" >&6; }
4229 elif test "$wxUSE_ZLIB" = builtin; then
4230 { echo "$as_me:$LINENO: result: builtin version" >&5
4231 echo "${ECHO_T}builtin version" >&6; }
4233 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
4234 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
4235 { (exit 1); exit 1; }; }
4239 { echo "$as_me:$LINENO: checking for --with-expat" >&5
4240 echo $ECHO_N "checking for --with-expat... $ECHO_C" >&6; }
4242 # Check whether --with-expat was given.
4243 if test "${with_expat+set}" = set; then
4244 withval
=$with_expat;
4245 if test "$withval" = yes; then
4246 wx_cv_use_expat
='wxUSE_EXPAT=yes'
4247 elif test "$withval" = no
; then
4248 wx_cv_use_expat
='wxUSE_EXPAT=no'
4249 elif test "$withval" = sys
; then
4250 wx_cv_use_expat
='wxUSE_EXPAT=sys'
4251 elif test "$withval" = builtin; then
4252 wx_cv_use_expat
='wxUSE_EXPAT=builtin'
4254 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
4255 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
4256 { (exit 1); exit 1; }; }
4261 wx_cv_use_expat
='wxUSE_EXPAT=${'DEFAULT_wxUSE_EXPAT":-$wxUSE_ALL_FEATURES}"
4266 eval "$wx_cv_use_expat"
4268 if test "$wxUSE_EXPAT" = yes; then
4269 { echo "$as_me:$LINENO: result: yes" >&5
4270 echo "${ECHO_T}yes" >&6; }
4271 elif test "$wxUSE_EXPAT" = no; then
4272 { echo "$as_me:$LINENO: result: no" >&5
4273 echo "${ECHO_T}no" >&6; }
4274 elif test "$wxUSE_EXPAT" = sys; then
4275 { echo "$as_me:$LINENO: result: system version" >&5
4276 echo "${ECHO_T}system version" >&6; }
4277 elif test "$wxUSE_EXPAT" = builtin; then
4278 { echo "$as_me:$LINENO: result: builtin version" >&5
4279 echo "${ECHO_T}builtin version" >&6; }
4281 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
4282 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
4283 { (exit 1); exit 1; }; }
4287 { echo "$as_me:$LINENO: checking for --with-macosx-sdk" >&5
4288 echo $ECHO_N "checking for --with-macosx-sdk... $ECHO_C" >&6; }
4290 # Check whether --with-macosx-sdk was given.
4291 if test "${with_macosx_sdk+set}" = set; then
4292 withval=$with_macosx_sdk;
4293 wxUSE_MACOSX_SDK=$withval
4294 wx_cv_use_macosx_sdk="wxUSE_MACOSX_SDK=$withval"
4298 { echo "$as_me:$LINENO: result: $wxUSE_MACOSX_SDK" >&5
4299 echo "${ECHO_T}$wxUSE_MACOSX_SDK" >&6; }
4301 { echo "$as_me:$LINENO: checking for --with-macosx-version-min" >&5
4302 echo $ECHO_N "checking for --with-macosx-version-min... $ECHO_C" >&6; }
4304 # Check whether --with-macosx-version-min was given.
4305 if test "${with_macosx_version_min+set}" = set; then
4306 withval=$with_macosx_version_min;
4307 wxUSE_MACOSX_VERSION_MIN=$withval
4308 wx_cv_use_macosx_version_min="wxUSE_MACOSX_VERSION_MIN=$withval"
4312 { echo "$as_me:$LINENO: result: $wxUSE_MACOSX_VERSION_MIN" >&5
4313 echo "${ECHO_T}$wxUSE_MACOSX_VERSION_MIN" >&6; }
4317 enablestring=disable
4319 if test -z "$defaultval"; then
4320 if test x"$enablestring" = xdisable; then
4327 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-shared" >&5
4328 echo $ECHO_N "checking for --${enablestring:-enable}-shared... $ECHO_C" >&6; }
4329 # Check whether --enable-shared was given.
4330 if test "${enable_shared+set}" = set; then
4331 enableval=$enable_shared;
4332 if test "$enableval" = yes; then
4333 wx_cv_use_shared='wxUSE_SHARED
=yes'
4335 wx_cv_use_shared='wxUSE_SHARED
=no
'
4340 wx_cv_use_shared='wxUSE_SHARED
=${'DEFAULT_wxUSE_SHARED":-$defaultval}"
4345 eval "$wx_cv_use_shared"
4347 if test x"$enablestring" = xdisable; then
4348 if test $wxUSE_SHARED = yes; then
4354 result=$wxUSE_SHARED
4357 { echo "$as_me:$LINENO: result
: $result" >&5
4358 echo "${ECHO_T}$result" >&6; }
4363 if test -z "$defaultval"; then
4364 if test x"$enablestring" = xdisable; then
4371 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-debug" >&5
4372 echo $ECHO_N "checking
for --${enablestring:-enable}-debug...
$ECHO_C" >&6; }
4373 # Check whether --enable-debug was given.
4374 if test "${enable_debug+set}" = set; then
4375 enableval=$enable_debug;
4376 if test "$enableval" = yes; then
4377 wx_cv_use_debug='wxUSE_DEBUG=yes'
4379 wx_cv_use_debug='wxUSE_DEBUG=no'
4384 wx_cv_use_debug='wxUSE_DEBUG=${'DEFAULT_wxUSE_DEBUG":-$defaultval}"
4389 eval "$wx_cv_use_debug"
4391 if test x
"$enablestring" = xdisable
; then
4392 if test $wxUSE_DEBUG = yes; then
4401 { echo "$as_me:$LINENO: result: $result" >&5
4402 echo "${ECHO_T}$result" >&6; }
4407 if test -z "$defaultval"; then
4408 if test x
"$enablestring" = xdisable
; then
4415 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stl" >&5
4416 echo $ECHO_N "checking for --${enablestring:-enable}-stl... $ECHO_C" >&6; }
4417 # Check whether --enable-stl was given.
4418 if test "${enable_stl+set}" = set; then
4419 enableval
=$enable_stl;
4420 if test "$enableval" = yes; then
4421 wx_cv_use_stl
='wxUSE_STL=yes'
4423 wx_cv_use_stl
='wxUSE_STL=no'
4428 wx_cv_use_stl
='wxUSE_STL=${'DEFAULT_wxUSE_STL":-$defaultval}"
4433 eval "$wx_cv_use_stl"
4435 if test x"$enablestring" = xdisable; then
4436 if test $wxUSE_STL = yes; then
4445 { echo "$as_me:$LINENO: result: $result" >&5
4446 echo "${ECHO_T}$result" >&6; }
4451 if test -z "$defaultval"; then
4452 if test x"$enablestring" = xdisable; then
4459 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_iostreams" >&5
4460 echo $ECHO_N "checking for --${enablestring:-enable}-std_iostreams... $ECHO_C" >&6; }
4461 # Check whether --enable-std_iostreams was given.
4462 if test "${enable_std_iostreams+set}" = set; then
4463 enableval=$enable_std_iostreams;
4464 if test "$enableval" = yes; then
4465 wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM
=yes'
4467 wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM
=no
'
4472 wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM
=${'DEFAULT_wxUSE_STD_IOSTREAM":-$defaultval}"
4477 eval "$wx_cv_use_std_iostreams"
4479 if test x"$enablestring" = xdisable; then
4480 if test $wxUSE_STD_IOSTREAM = yes; then
4486 result=$wxUSE_STD_IOSTREAM
4489 { echo "$as_me:$LINENO: result
: $result" >&5
4490 echo "${ECHO_T}$result" >&6; }
4495 if test -z "$defaultval"; then
4496 if test x"$enablestring" = xdisable; then
4503 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-std_string" >&5
4504 echo $ECHO_N "checking
for --${enablestring:-enable}-std_string...
$ECHO_C" >&6; }
4505 # Check whether --enable-std_string was given.
4506 if test "${enable_std_string+set}" = set; then
4507 enableval=$enable_std_string;
4508 if test "$enableval" = yes; then
4509 wx_cv_use_std_string='wxUSE_STD_STRING=yes'
4511 wx_cv_use_std_string='wxUSE_STD_STRING=no'
4516 wx_cv_use_std_string='wxUSE_STD_STRING=${'DEFAULT_wxUSE_STD_STRING":-$defaultval}"
4521 eval "$wx_cv_use_std_string"
4523 if test x
"$enablestring" = xdisable
; then
4524 if test $wxUSE_STD_STRING = yes; then
4530 result
=$wxUSE_STD_STRING
4533 { echo "$as_me:$LINENO: result: $result" >&5
4534 echo "${ECHO_T}$result" >&6; }
4537 enablestring
=disable
4539 if test -z "$defaultval"; then
4540 if test x
"$enablestring" = xdisable
; then
4547 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-unicode" >&5
4548 echo $ECHO_N "checking for --${enablestring:-enable}-unicode... $ECHO_C" >&6; }
4549 # Check whether --enable-unicode was given.
4550 if test "${enable_unicode+set}" = set; then
4551 enableval
=$enable_unicode;
4552 if test "$enableval" = yes; then
4553 wx_cv_use_unicode
='wxUSE_UNICODE=yes'
4555 wx_cv_use_unicode
='wxUSE_UNICODE=no'
4560 wx_cv_use_unicode
='wxUSE_UNICODE=${'DEFAULT_wxUSE_UNICODE":-$defaultval}"
4565 eval "$wx_cv_use_unicode"
4567 if test x"$enablestring" = xdisable; then
4568 if test $wxUSE_UNICODE = yes; then
4574 result=$wxUSE_UNICODE
4577 { echo "$as_me:$LINENO: result: $result" >&5
4578 echo "${ECHO_T}$result" >&6; }
4583 if test -z "$defaultval"; then
4584 if test x"$enablestring" = xdisable; then
4591 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mslu" >&5
4592 echo $ECHO_N "checking for --${enablestring:-enable}-mslu... $ECHO_C" >&6; }
4593 # Check whether --enable-mslu was given.
4594 if test "${enable_mslu+set}" = set; then
4595 enableval=$enable_mslu;
4596 if test "$enableval" = yes; then
4597 wx_cv_use_mslu='wxUSE_UNICODE_MSLU
=yes'
4599 wx_cv_use_mslu='wxUSE_UNICODE_MSLU
=no
'
4604 wx_cv_use_mslu='wxUSE_UNICODE_MSLU
=${'DEFAULT_wxUSE_UNICODE_MSLU":-$defaultval}"
4609 eval "$wx_cv_use_mslu"
4611 if test x"$enablestring" = xdisable; then
4612 if test $wxUSE_UNICODE_MSLU = yes; then
4618 result=$wxUSE_UNICODE_MSLU
4621 { echo "$as_me:$LINENO: result
: $result" >&5
4622 echo "${ECHO_T}$result" >&6; }
4626 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-utf8" >&5
4627 echo $ECHO_N "checking
for --${enablestring:-enable}-utf8...
$ECHO_C" >&6; }
4628 # Check whether --enable-utf8 was given.
4629 if test "${enable_utf8+set}" = set; then
4630 enableval=$enable_utf8;
4631 wx_cv_use_utf8="wxUSE_UNICODE_UTF8
='$enableval'"
4635 wx_cv_use_utf8='wxUSE_UNICODE_UTF8='$DEFAULT_wxUSE_UNICODE_UTF8
4640 eval "$wx_cv_use_utf8"
4642 { echo "$as_me:$LINENO: result
: $wxUSE_UNICODE_UTF8" >&5
4643 echo "${ECHO_T}$wxUSE_UNICODE_UTF8" >&6; }
4648 if test -z "$defaultval"; then
4649 if test x"$enablestring" = xdisable; then
4656 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-utf8only" >&5
4657 echo $ECHO_N "checking
for --${enablestring:-enable}-utf8only...
$ECHO_C" >&6; }
4658 # Check whether --enable-utf8only was given.
4659 if test "${enable_utf8only+set}" = set; then
4660 enableval=$enable_utf8only;
4661 if test "$enableval" = yes; then
4662 wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=yes'
4664 wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=no'
4669 wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=${'DEFAULT_wxUSE_UNICODE_UTF8_LOCALE":-$defaultval}"
4674 eval "$wx_cv_use_utf8only"
4676 if test x
"$enablestring" = xdisable
; then
4677 if test $wxUSE_UNICODE_UTF8_LOCALE = yes; then
4683 result
=$wxUSE_UNICODE_UTF8_LOCALE
4686 { echo "$as_me:$LINENO: result: $result" >&5
4687 echo "${ECHO_T}$result" >&6; }
4692 if test -z "$defaultval"; then
4693 if test x
"$enablestring" = xdisable
; then
4700 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-extended_rtti" >&5
4701 echo $ECHO_N "checking for --${enablestring:-enable}-extended_rtti... $ECHO_C" >&6; }
4702 # Check whether --enable-extended_rtti was given.
4703 if test "${enable_extended_rtti+set}" = set; then
4704 enableval
=$enable_extended_rtti;
4705 if test "$enableval" = yes; then
4706 wx_cv_use_extended_rtti
='wxUSE_EXTENDED_RTTI=yes'
4708 wx_cv_use_extended_rtti
='wxUSE_EXTENDED_RTTI=no'
4713 wx_cv_use_extended_rtti
='wxUSE_EXTENDED_RTTI=${'DEFAULT_wxUSE_EXTENDED_RTTI":-$defaultval}"
4718 eval "$wx_cv_use_extended_rtti"
4720 if test x"$enablestring" = xdisable; then
4721 if test $wxUSE_EXTENDED_RTTI = yes; then
4727 result=$wxUSE_EXTENDED_RTTI
4730 { echo "$as_me:$LINENO: result: $result" >&5
4731 echo "${ECHO_T}$result" >&6; }
4733 if test "$USE_OS2" = 1; then
4734 DEFAULT_wxUSE_OMF=no
4738 if test -z "$defaultval"; then
4739 if test x"$enablestring" = xdisable; then
4746 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-omf" >&5
4747 echo $ECHO_N "checking for --${enablestring:-enable}-omf... $ECHO_C" >&6; }
4748 # Check whether --enable-omf was given.
4749 if test "${enable_omf+set}" = set; then
4750 enableval=$enable_omf;
4751 if test "$enableval" = yes; then
4752 wx_cv_use_omf='wxUSE_OMF
=yes'
4754 wx_cv_use_omf='wxUSE_OMF
=no
'
4759 wx_cv_use_omf='wxUSE_OMF
=${'DEFAULT_wxUSE_OMF":-$defaultval}"
4764 eval "$wx_cv_use_omf"
4766 if test x"$enablestring" = xdisable; then
4767 if test $wxUSE_OMF = yes; then
4776 { echo "$as_me:$LINENO: result
: $result" >&5
4777 echo "${ECHO_T}$result" >&6; }
4781 if test "$wxUSE_DEBUG" = "yes"; then
4782 DEFAULT_wxUSE_DEBUG_FLAG=yes
4783 DEFAULT_wxUSE_DEBUG_INFO=yes
4785 elif test "$wxUSE_DEBUG" = "no
"; then
4786 DEFAULT_wxUSE_DEBUG_FLAG=no
4787 DEFAULT_wxUSE_DEBUG_INFO=no
4794 if test -z "$defaultval"; then
4795 if test x"$enablestring" = xdisable; then
4802 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-debug_flag" >&5
4803 echo $ECHO_N "checking
for --${enablestring:-enable}-debug_flag...
$ECHO_C" >&6; }
4804 # Check whether --enable-debug_flag was given.
4805 if test "${enable_debug_flag+set}" = set; then
4806 enableval=$enable_debug_flag;
4807 if test "$enableval" = yes; then
4808 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG=yes'
4810 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG=no'
4815 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG=${'DEFAULT_wxUSE_DEBUG_FLAG":-$defaultval}"
4820 eval "$wx_cv_use_debug_flag"
4822 if test x
"$enablestring" = xdisable
; then
4823 if test $wxUSE_DEBUG_FLAG = yes; then
4829 result
=$wxUSE_DEBUG_FLAG
4832 { echo "$as_me:$LINENO: result: $result" >&5
4833 echo "${ECHO_T}$result" >&6; }
4838 if test -z "$defaultval"; then
4839 if test x
"$enablestring" = xdisable
; then
4846 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_info" >&5
4847 echo $ECHO_N "checking for --${enablestring:-enable}-debug_info... $ECHO_C" >&6; }
4848 # Check whether --enable-debug_info was given.
4849 if test "${enable_debug_info+set}" = set; then
4850 enableval
=$enable_debug_info;
4851 if test "$enableval" = yes; then
4852 wx_cv_use_debug_info
='wxUSE_DEBUG_INFO=yes'
4854 wx_cv_use_debug_info
='wxUSE_DEBUG_INFO=no'
4859 wx_cv_use_debug_info
='wxUSE_DEBUG_INFO=${'DEFAULT_wxUSE_DEBUG_INFO":-$defaultval}"
4864 eval "$wx_cv_use_debug_info"
4866 if test x"$enablestring" = xdisable; then
4867 if test $wxUSE_DEBUG_INFO = yes; then
4873 result=$wxUSE_DEBUG_INFO
4876 { echo "$as_me:$LINENO: result: $result" >&5
4877 echo "${ECHO_T}$result" >&6; }
4880 if test "$wxUSE_DEBUG_FLAG" = "yes" -a "$wxUSE_DEBUG_INFO" = "yes"; then
4885 if test "$wxUSE_DEBUG" = "yes"; then
4886 DEFAULT_wxUSE_OPTIMISE=no
4890 enablestring=disable
4892 if test -z "$defaultval"; then
4893 if test x"$enablestring" = xdisable; then
4900 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-optimise" >&5
4901 echo $ECHO_N "checking for --${enablestring:-enable}-optimise... $ECHO_C" >&6; }
4902 # Check whether --enable-optimise was given.
4903 if test "${enable_optimise+set}" = set; then
4904 enableval=$enable_optimise;
4905 if test "$enableval" = yes; then
4906 wx_cv_use_optimise='wxUSE_OPTIMISE
=yes'
4908 wx_cv_use_optimise='wxUSE_OPTIMISE
=no
'
4913 wx_cv_use_optimise='wxUSE_OPTIMISE
=${'DEFAULT_wxUSE_OPTIMISE":-$defaultval}"
4918 eval "$wx_cv_use_optimise"
4920 if test x"$enablestring" = xdisable; then
4921 if test $wxUSE_OPTIMISE = yes; then
4927 result=$wxUSE_OPTIMISE
4930 { echo "$as_me:$LINENO: result
: $result" >&5
4931 echo "${ECHO_T}$result" >&6; }
4937 if test -z "$defaultval"; then
4938 if test x"$enablestring" = xdisable; then
4945 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-debug_gdb" >&5
4946 echo $ECHO_N "checking
for --${enablestring:-enable}-debug_gdb...
$ECHO_C" >&6; }
4947 # Check whether --enable-debug_gdb was given.
4948 if test "${enable_debug_gdb+set}" = set; then
4949 enableval=$enable_debug_gdb;
4950 if test "$enableval" = yes; then
4951 wx_cv_use_debug_gdb='wxUSE_DEBUG_GDB=yes'
4953 wx_cv_use_debug_gdb='wxUSE_DEBUG_GDB=no'
4958 wx_cv_use_debug_gdb='wxUSE_DEBUG_GDB=${'DEFAULT_wxUSE_DEBUG_GDB":-$defaultval}"
4963 eval "$wx_cv_use_debug_gdb"
4965 if test x
"$enablestring" = xdisable
; then
4966 if test $wxUSE_DEBUG_GDB = yes; then
4972 result
=$wxUSE_DEBUG_GDB
4975 { echo "$as_me:$LINENO: result: $result" >&5
4976 echo "${ECHO_T}$result" >&6; }
4981 if test -z "$defaultval"; then
4982 if test x
"$enablestring" = xdisable
; then
4989 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_cntxt" >&5
4990 echo $ECHO_N "checking for --${enablestring:-enable}-debug_cntxt... $ECHO_C" >&6; }
4991 # Check whether --enable-debug_cntxt was given.
4992 if test "${enable_debug_cntxt+set}" = set; then
4993 enableval
=$enable_debug_cntxt;
4994 if test "$enableval" = yes; then
4995 wx_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT=yes'
4997 wx_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT=no'
5002 wx_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT=${'DEFAULT_wxUSE_DEBUG_CONTEXT":-$defaultval}"
5007 eval "$wx_cv_use_debug_cntxt"
5009 if test x"$enablestring" = xdisable; then
5010 if test $wxUSE_DEBUG_CONTEXT = yes; then
5016 result=$wxUSE_DEBUG_CONTEXT
5019 { echo "$as_me:$LINENO: result: $result" >&5
5020 echo "${ECHO_T}$result" >&6; }
5025 if test -z "$defaultval"; then
5026 if test x"$enablestring" = xdisable; then
5033 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mem_tracing" >&5
5034 echo $ECHO_N "checking for --${enablestring:-enable}-mem_tracing... $ECHO_C" >&6; }
5035 # Check whether --enable-mem_tracing was given.
5036 if test "${enable_mem_tracing+set}" = set; then
5037 enableval=$enable_mem_tracing;
5038 if test "$enableval" = yes; then
5039 wx_cv_use_mem_tracing='wxUSE_MEM_TRACING
=yes'
5041 wx_cv_use_mem_tracing='wxUSE_MEM_TRACING
=no
'
5046 wx_cv_use_mem_tracing='wxUSE_MEM_TRACING
=${'DEFAULT_wxUSE_MEM_TRACING":-$defaultval}"
5051 eval "$wx_cv_use_mem_tracing"
5053 if test x"$enablestring" = xdisable; then
5054 if test $wxUSE_MEM_TRACING = yes; then
5060 result=$wxUSE_MEM_TRACING
5063 { echo "$as_me:$LINENO: result
: $result" >&5
5064 echo "${ECHO_T}$result" >&6; }
5069 if test -z "$defaultval"; then
5070 if test x"$enablestring" = xdisable; then
5077 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-profile" >&5
5078 echo $ECHO_N "checking
for --${enablestring:-enable}-profile...
$ECHO_C" >&6; }
5079 # Check whether --enable-profile was given.
5080 if test "${enable_profile+set}" = set; then
5081 enableval=$enable_profile;
5082 if test "$enableval" = yes; then
5083 wx_cv_use_profile='wxUSE_PROFILE=yes'
5085 wx_cv_use_profile='wxUSE_PROFILE=no'
5090 wx_cv_use_profile='wxUSE_PROFILE=${'DEFAULT_wxUSE_PROFILE":-$defaultval}"
5095 eval "$wx_cv_use_profile"
5097 if test x
"$enablestring" = xdisable
; then
5098 if test $wxUSE_PROFILE = yes; then
5104 result
=$wxUSE_PROFILE
5107 { echo "$as_me:$LINENO: result: $result" >&5
5108 echo "${ECHO_T}$result" >&6; }
5113 if test -z "$defaultval"; then
5114 if test x
"$enablestring" = xdisable
; then
5121 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_rtti" >&5
5122 echo $ECHO_N "checking for --${enablestring:-enable}-no_rtti... $ECHO_C" >&6; }
5123 # Check whether --enable-no_rtti was given.
5124 if test "${enable_no_rtti+set}" = set; then
5125 enableval
=$enable_no_rtti;
5126 if test "$enableval" = yes; then
5127 wx_cv_use_no_rtti
='wxUSE_NO_RTTI=yes'
5129 wx_cv_use_no_rtti
='wxUSE_NO_RTTI=no'
5134 wx_cv_use_no_rtti
='wxUSE_NO_RTTI=${'DEFAULT_wxUSE_NO_RTTI":-$defaultval}"
5139 eval "$wx_cv_use_no_rtti"
5141 if test x"$enablestring" = xdisable; then
5142 if test $wxUSE_NO_RTTI = yes; then
5148 result=$wxUSE_NO_RTTI
5151 { echo "$as_me:$LINENO: result: $result" >&5
5152 echo "${ECHO_T}$result" >&6; }
5157 if test -z "$defaultval"; then
5158 if test x"$enablestring" = xdisable; then
5165 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_exceptions" >&5
5166 echo $ECHO_N "checking for --${enablestring:-enable}-no_exceptions... $ECHO_C" >&6; }
5167 # Check whether --enable-no_exceptions was given.
5168 if test "${enable_no_exceptions+set}" = set; then
5169 enableval=$enable_no_exceptions;
5170 if test "$enableval" = yes; then
5171 wx_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS
=yes'
5173 wx_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS
=no
'
5178 wx_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS
=${'DEFAULT_wxUSE_NO_EXCEPTIONS":-$defaultval}"
5183 eval "$wx_cv_use_no_exceptions"
5185 if test x"$enablestring" = xdisable; then
5186 if test $wxUSE_NO_EXCEPTIONS = yes; then
5192 result=$wxUSE_NO_EXCEPTIONS
5195 { echo "$as_me:$LINENO: result
: $result" >&5
5196 echo "${ECHO_T}$result" >&6; }
5201 if test -z "$defaultval"; then
5202 if test x"$enablestring" = xdisable; then
5209 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-permissive" >&5
5210 echo $ECHO_N "checking
for --${enablestring:-enable}-permissive...
$ECHO_C" >&6; }
5211 # Check whether --enable-permissive was given.
5212 if test "${enable_permissive+set}" = set; then
5213 enableval=$enable_permissive;
5214 if test "$enableval" = yes; then
5215 wx_cv_use_permissive='wxUSE_PERMISSIVE=yes'
5217 wx_cv_use_permissive='wxUSE_PERMISSIVE=no'
5222 wx_cv_use_permissive='wxUSE_PERMISSIVE=${'DEFAULT_wxUSE_PERMISSIVE":-$defaultval}"
5227 eval "$wx_cv_use_permissive"
5229 if test x
"$enablestring" = xdisable
; then
5230 if test $wxUSE_PERMISSIVE = yes; then
5236 result
=$wxUSE_PERMISSIVE
5239 { echo "$as_me:$LINENO: result: $result" >&5
5240 echo "${ECHO_T}$result" >&6; }
5245 if test -z "$defaultval"; then
5246 if test x
"$enablestring" = xdisable
; then
5253 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_deps" >&5
5254 echo $ECHO_N "checking for --${enablestring:-enable}-no_deps... $ECHO_C" >&6; }
5255 # Check whether --enable-no_deps was given.
5256 if test "${enable_no_deps+set}" = set; then
5257 enableval
=$enable_no_deps;
5258 if test "$enableval" = yes; then
5259 wx_cv_use_no_deps
='wxUSE_NO_DEPS=yes'
5261 wx_cv_use_no_deps
='wxUSE_NO_DEPS=no'
5266 wx_cv_use_no_deps
='wxUSE_NO_DEPS=${'DEFAULT_wxUSE_NO_DEPS":-$defaultval}"
5271 eval "$wx_cv_use_no_deps"
5273 if test x"$enablestring" = xdisable; then
5274 if test $wxUSE_NO_DEPS = yes; then
5280 result=$wxUSE_NO_DEPS
5283 { echo "$as_me:$LINENO: result: $result" >&5
5284 echo "${ECHO_T}$result" >&6; }
5287 enablestring=disable
5289 if test -z "$defaultval"; then
5290 if test x"$enablestring" = xdisable; then
5297 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-vararg_macros" >&5
5298 echo $ECHO_N "checking for --${enablestring:-enable}-vararg_macros... $ECHO_C" >&6; }
5299 # Check whether --enable-vararg_macros was given.
5300 if test "${enable_vararg_macros+set}" = set; then
5301 enableval=$enable_vararg_macros;
5302 if test "$enableval" = yes; then
5303 wx_cv_use_vararg_macros='wxUSE_VARARG_MACROS
=yes'
5305 wx_cv_use_vararg_macros='wxUSE_VARARG_MACROS
=no
'
5310 wx_cv_use_vararg_macros='wxUSE_VARARG_MACROS
=${'DEFAULT_wxUSE_VARARG_MACROS":-$defaultval}"
5315 eval "$wx_cv_use_vararg_macros"
5317 if test x"$enablestring" = xdisable; then
5318 if test $wxUSE_VARARG_MACROS = yes; then
5324 result=$wxUSE_VARARG_MACROS
5327 { echo "$as_me:$LINENO: result
: $result" >&5
5328 echo "${ECHO_T}$result" >&6; }
5332 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-universal_binary" >&5
5333 echo $ECHO_N "checking
for --${enablestring:-enable}-universal_binary...
$ECHO_C" >&6; }
5334 # Check whether --enable-universal_binary was given.
5335 if test "${enable_universal_binary+set}" = set; then
5336 enableval=$enable_universal_binary;
5337 wx_cv_use_universal_binary="wxUSE_UNIVERSAL_BINARY
='$enableval'"
5341 wx_cv_use_universal_binary='wxUSE_UNIVERSAL_BINARY='$DEFAULT_wxUSE_UNIVERSAL_BINARY
5346 eval "$wx_cv_use_universal_binary"
5348 { echo "$as_me:$LINENO: result
: $wxUSE_UNIVERSAL_BINARY" >&5
5349 echo "${ECHO_T}$wxUSE_UNIVERSAL_BINARY" >&6; }
5355 if test -z "$defaultval"; then
5356 if test x"$enablestring" = xdisable; then
5363 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-compat26" >&5
5364 echo $ECHO_N "checking
for --${enablestring:-enable}-compat26...
$ECHO_C" >&6; }
5365 # Check whether --enable-compat26 was given.
5366 if test "${enable_compat26+set}" = set; then
5367 enableval=$enable_compat26;
5368 if test "$enableval" = yes; then
5369 wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=yes'
5371 wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=no'
5376 wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=${'DEFAULT_WXWIN_COMPATIBILITY_2_6":-$defaultval}"
5381 eval "$wx_cv_use_compat26"
5383 if test x
"$enablestring" = xdisable
; then
5384 if test $WXWIN_COMPATIBILITY_2_6 = yes; then
5390 result
=$WXWIN_COMPATIBILITY_2_6
5393 { echo "$as_me:$LINENO: result: $result" >&5
5394 echo "${ECHO_T}$result" >&6; }
5397 enablestring
=disable
5399 if test -z "$defaultval"; then
5400 if test x
"$enablestring" = xdisable
; then
5407 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat28" >&5
5408 echo $ECHO_N "checking for --${enablestring:-enable}-compat28... $ECHO_C" >&6; }
5409 # Check whether --enable-compat28 was given.
5410 if test "${enable_compat28+set}" = set; then
5411 enableval
=$enable_compat28;
5412 if test "$enableval" = yes; then
5413 wx_cv_use_compat28
='WXWIN_COMPATIBILITY_2_8=yes'
5415 wx_cv_use_compat28
='WXWIN_COMPATIBILITY_2_8=no'
5420 wx_cv_use_compat28
='WXWIN_COMPATIBILITY_2_8=${'DEFAULT_WXWIN_COMPATIBILITY_2_8":-$defaultval}"
5425 eval "$wx_cv_use_compat28"
5427 if test x"$enablestring" = xdisable; then
5428 if test $WXWIN_COMPATIBILITY_2_8 = yes; then
5434 result=$WXWIN_COMPATIBILITY_2_8
5437 { echo "$as_me:$LINENO: result: $result" >&5
5438 echo "${ECHO_T}$result" >&6; }
5442 enablestring=disable
5444 if test -z "$defaultval"; then
5445 if test x"$enablestring" = xdisable; then
5452 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-rpath" >&5
5453 echo $ECHO_N "checking for --${enablestring:-enable}-rpath... $ECHO_C" >&6; }
5454 # Check whether --enable-rpath was given.
5455 if test "${enable_rpath+set}" = set; then
5456 enableval=$enable_rpath;
5457 if test "$enableval" = yes; then
5458 wx_cv_use_rpath='wxUSE_RPATH
=yes'
5460 wx_cv_use_rpath='wxUSE_RPATH
=no
'
5465 wx_cv_use_rpath='wxUSE_RPATH
=${'DEFAULT_wxUSE_RPATH":-$defaultval}"
5470 eval "$wx_cv_use_rpath"
5472 if test x"$enablestring" = xdisable; then
5473 if test $wxUSE_RPATH = yes; then
5482 { echo "$as_me:$LINENO: result
: $result" >&5
5483 echo "${ECHO_T}$result" >&6; }
5489 if test -z "$defaultval"; then
5490 if test x"$enablestring" = xdisable; then
5497 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-objc_uniquifying" >&5
5498 echo $ECHO_N "checking
for --${enablestring:-enable}-objc_uniquifying...
$ECHO_C" >&6; }
5499 # Check whether --enable-objc_uniquifying was given.
5500 if test "${enable_objc_uniquifying+set}" = set; then
5501 enableval=$enable_objc_uniquifying;
5502 if test "$enableval" = yes; then
5503 wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING=yes'
5505 wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING=no'
5510 wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING=${'DEFAULT_wxUSE_OBJC_UNIQUIFYING":-$defaultval}"
5515 eval "$wx_cv_use_objc_uniquifying"
5517 if test x
"$enablestring" = xdisable
; then
5518 if test $wxUSE_OBJC_UNIQUIFYING = yes; then
5524 result
=$wxUSE_OBJC_UNIQUIFYING
5527 { echo "$as_me:$LINENO: result: $result" >&5
5528 echo "${ECHO_T}$result" >&6; }
5532 enablestring
=disable
5534 if test -z "$defaultval"; then
5535 if test x
"$enablestring" = xdisable
; then
5542 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-visibility" >&5
5543 echo $ECHO_N "checking for --${enablestring:-enable}-visibility... $ECHO_C" >&6; }
5544 # Check whether --enable-visibility was given.
5545 if test "${enable_visibility+set}" = set; then
5546 enableval
=$enable_visibility;
5547 if test "$enableval" = yes; then
5548 wx_cv_use_visibility
='wxUSE_VISIBILITY=yes'
5550 wx_cv_use_visibility
='wxUSE_VISIBILITY=no'
5555 wx_cv_use_visibility
='wxUSE_VISIBILITY=${'DEFAULT_wxUSE_VISIBILITY":-$defaultval}"
5560 eval "$wx_cv_use_visibility"
5562 if test x"$enablestring" = xdisable; then
5563 if test $wxUSE_VISIBILITY = yes; then
5569 result=$wxUSE_VISIBILITY
5572 { echo "$as_me:$LINENO: result: $result" >&5
5573 echo "${ECHO_T}$result" >&6; }
5579 defaultval=$wxUSE_ALL_FEATURES
5580 if test -z "$defaultval"; then
5581 if test x"$enablestring" = xdisable; then
5588 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-intl" >&5
5589 echo $ECHO_N "checking for --${enablestring:-enable}-intl... $ECHO_C" >&6; }
5590 # Check whether --enable-intl was given.
5591 if test "${enable_intl+set}" = set; then
5592 enableval=$enable_intl;
5593 if test "$enableval" = yes; then
5594 wx_cv_use_intl='wxUSE_INTL
=yes'
5596 wx_cv_use_intl='wxUSE_INTL
=no
'
5601 wx_cv_use_intl='wxUSE_INTL
=${'DEFAULT_wxUSE_INTL":-$defaultval}"
5606 eval "$wx_cv_use_intl"
5608 if test x"$enablestring" = xdisable; then
5609 if test $wxUSE_INTL = yes; then
5618 { echo "$as_me:$LINENO: result
: $result" >&5
5619 echo "${ECHO_T}$result" >&6; }
5623 defaultval=$wxUSE_ALL_FEATURES
5624 if test -z "$defaultval"; then
5625 if test x"$enablestring" = xdisable; then
5632 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-xlocale" >&5
5633 echo $ECHO_N "checking
for --${enablestring:-enable}-xlocale...
$ECHO_C" >&6; }
5634 # Check whether --enable-xlocale was given.
5635 if test "${enable_xlocale+set}" = set; then
5636 enableval=$enable_xlocale;
5637 if test "$enableval" = yes; then
5638 wx_cv_use_xlocale='wxUSE_XLOCALE=yes'
5640 wx_cv_use_xlocale='wxUSE_XLOCALE=no'
5645 wx_cv_use_xlocale='wxUSE_XLOCALE=${'DEFAULT_wxUSE_XLOCALE":-$defaultval}"
5650 eval "$wx_cv_use_xlocale"
5652 if test x
"$enablestring" = xdisable
; then
5653 if test $wxUSE_XLOCALE = yes; then
5659 result
=$wxUSE_XLOCALE
5662 { echo "$as_me:$LINENO: result: $result" >&5
5663 echo "${ECHO_T}$result" >&6; }
5667 defaultval
=$wxUSE_ALL_FEATURES
5668 if test -z "$defaultval"; then
5669 if test x
"$enablestring" = xdisable
; then
5676 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-config" >&5
5677 echo $ECHO_N "checking for --${enablestring:-enable}-config... $ECHO_C" >&6; }
5678 # Check whether --enable-config was given.
5679 if test "${enable_config+set}" = set; then
5680 enableval
=$enable_config;
5681 if test "$enableval" = yes; then
5682 wx_cv_use_config
='wxUSE_CONFIG=yes'
5684 wx_cv_use_config
='wxUSE_CONFIG=no'
5689 wx_cv_use_config
='wxUSE_CONFIG=${'DEFAULT_wxUSE_CONFIG":-$defaultval}"
5694 eval "$wx_cv_use_config"
5696 if test x"$enablestring" = xdisable; then
5697 if test $wxUSE_CONFIG = yes; then
5703 result=$wxUSE_CONFIG
5706 { echo "$as_me:$LINENO: result: $result" >&5
5707 echo "${ECHO_T}$result" >&6; }
5712 defaultval=$wxUSE_ALL_FEATURES
5713 if test -z "$defaultval"; then
5714 if test x"$enablestring" = xdisable; then
5721 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocols" >&5
5722 echo $ECHO_N "checking for --${enablestring:-enable}-protocols... $ECHO_C" >&6; }
5723 # Check whether --enable-protocols was given.
5724 if test "${enable_protocols+set}" = set; then
5725 enableval=$enable_protocols;
5726 if test "$enableval" = yes; then
5727 wx_cv_use_protocols='wxUSE_PROTOCOL
=yes'
5729 wx_cv_use_protocols='wxUSE_PROTOCOL
=no
'
5734 wx_cv_use_protocols='wxUSE_PROTOCOL
=${'DEFAULT_wxUSE_PROTOCOL":-$defaultval}"
5739 eval "$wx_cv_use_protocols"
5741 if test x"$enablestring" = xdisable; then
5742 if test $wxUSE_PROTOCOL = yes; then
5748 result=$wxUSE_PROTOCOL
5751 { echo "$as_me:$LINENO: result
: $result" >&5
5752 echo "${ECHO_T}$result" >&6; }
5756 defaultval=$wxUSE_ALL_FEATURES
5757 if test -z "$defaultval"; then
5758 if test x"$enablestring" = xdisable; then
5765 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-ftp" >&5
5766 echo $ECHO_N "checking
for --${enablestring:-enable}-ftp...
$ECHO_C" >&6; }
5767 # Check whether --enable-ftp was given.
5768 if test "${enable_ftp+set}" = set; then
5769 enableval=$enable_ftp;
5770 if test "$enableval" = yes; then
5771 wx_cv_use_ftp='wxUSE_PROTOCOL_FTP=yes'
5773 wx_cv_use_ftp='wxUSE_PROTOCOL_FTP=no'
5778 wx_cv_use_ftp='wxUSE_PROTOCOL_FTP=${'DEFAULT_wxUSE_PROTOCOL_FTP":-$defaultval}"
5783 eval "$wx_cv_use_ftp"
5785 if test x
"$enablestring" = xdisable
; then
5786 if test $wxUSE_PROTOCOL_FTP = yes; then
5792 result
=$wxUSE_PROTOCOL_FTP
5795 { echo "$as_me:$LINENO: result: $result" >&5
5796 echo "${ECHO_T}$result" >&6; }
5800 defaultval
=$wxUSE_ALL_FEATURES
5801 if test -z "$defaultval"; then
5802 if test x
"$enablestring" = xdisable
; then
5809 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-http" >&5
5810 echo $ECHO_N "checking for --${enablestring:-enable}-http... $ECHO_C" >&6; }
5811 # Check whether --enable-http was given.
5812 if test "${enable_http+set}" = set; then
5813 enableval
=$enable_http;
5814 if test "$enableval" = yes; then
5815 wx_cv_use_http
='wxUSE_PROTOCOL_HTTP=yes'
5817 wx_cv_use_http
='wxUSE_PROTOCOL_HTTP=no'
5822 wx_cv_use_http
='wxUSE_PROTOCOL_HTTP=${'DEFAULT_wxUSE_PROTOCOL_HTTP":-$defaultval}"
5827 eval "$wx_cv_use_http"
5829 if test x"$enablestring" = xdisable; then
5830 if test $wxUSE_PROTOCOL_HTTP = yes; then
5836 result=$wxUSE_PROTOCOL_HTTP
5839 { echo "$as_me:$LINENO: result: $result" >&5
5840 echo "${ECHO_T}$result" >&6; }
5844 defaultval=$wxUSE_ALL_FEATURES
5845 if test -z "$defaultval"; then
5846 if test x"$enablestring" = xdisable; then
5853 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fileproto" >&5
5854 echo $ECHO_N "checking for --${enablestring:-enable}-fileproto... $ECHO_C" >&6; }
5855 # Check whether --enable-fileproto was given.
5856 if test "${enable_fileproto+set}" = set; then
5857 enableval=$enable_fileproto;
5858 if test "$enableval" = yes; then
5859 wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE
=yes'
5861 wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE
=no
'
5866 wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE
=${'DEFAULT_wxUSE_PROTOCOL_FILE":-$defaultval}"
5871 eval "$wx_cv_use_fileproto"
5873 if test x"$enablestring" = xdisable; then
5874 if test $wxUSE_PROTOCOL_FILE = yes; then
5880 result=$wxUSE_PROTOCOL_FILE
5883 { echo "$as_me:$LINENO: result
: $result" >&5
5884 echo "${ECHO_T}$result" >&6; }
5888 defaultval=$wxUSE_ALL_FEATURES
5889 if test -z "$defaultval"; then
5890 if test x"$enablestring" = xdisable; then
5897 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-sockets" >&5
5898 echo $ECHO_N "checking
for --${enablestring:-enable}-sockets...
$ECHO_C" >&6; }
5899 # Check whether --enable-sockets was given.
5900 if test "${enable_sockets+set}" = set; then
5901 enableval=$enable_sockets;
5902 if test "$enableval" = yes; then
5903 wx_cv_use_sockets='wxUSE_SOCKETS=yes'
5905 wx_cv_use_sockets='wxUSE_SOCKETS=no'
5910 wx_cv_use_sockets='wxUSE_SOCKETS=${'DEFAULT_wxUSE_SOCKETS":-$defaultval}"
5915 eval "$wx_cv_use_sockets"
5917 if test x
"$enablestring" = xdisable
; then
5918 if test $wxUSE_SOCKETS = yes; then
5924 result
=$wxUSE_SOCKETS
5927 { echo "$as_me:$LINENO: result: $result" >&5
5928 echo "${ECHO_T}$result" >&6; }
5932 defaultval
=$wxUSE_ALL_FEATURES
5933 if test -z "$defaultval"; then
5934 if test x
"$enablestring" = xdisable
; then
5941 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ipv6" >&5
5942 echo $ECHO_N "checking for --${enablestring:-enable}-ipv6... $ECHO_C" >&6; }
5943 # Check whether --enable-ipv6 was given.
5944 if test "${enable_ipv6+set}" = set; then
5945 enableval
=$enable_ipv6;
5946 if test "$enableval" = yes; then
5947 wx_cv_use_ipv6
='wxUSE_IPV6=yes'
5949 wx_cv_use_ipv6
='wxUSE_IPV6=no'
5954 wx_cv_use_ipv6
='wxUSE_IPV6=${'DEFAULT_wxUSE_IPV6":-$defaultval}"
5959 eval "$wx_cv_use_ipv6"
5961 if test x"$enablestring" = xdisable; then
5962 if test $wxUSE_IPV6 = yes; then
5971 { echo "$as_me:$LINENO: result: $result" >&5
5972 echo "${ECHO_T}$result" >&6; }
5976 defaultval=$wxUSE_ALL_FEATURES
5977 if test -z "$defaultval"; then
5978 if test x"$enablestring" = xdisable; then
5985 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ole" >&5
5986 echo $ECHO_N "checking for --${enablestring:-enable}-ole... $ECHO_C" >&6; }
5987 # Check whether --enable-ole was given.
5988 if test "${enable_ole+set}" = set; then
5989 enableval=$enable_ole;
5990 if test "$enableval" = yes; then
5991 wx_cv_use_ole='wxUSE_OLE
=yes'
5993 wx_cv_use_ole='wxUSE_OLE
=no
'
5998 wx_cv_use_ole='wxUSE_OLE
=${'DEFAULT_wxUSE_OLE":-$defaultval}"
6003 eval "$wx_cv_use_ole"
6005 if test x"$enablestring" = xdisable; then
6006 if test $wxUSE_OLE = yes; then
6015 { echo "$as_me:$LINENO: result
: $result" >&5
6016 echo "${ECHO_T}$result" >&6; }
6020 defaultval=$wxUSE_ALL_FEATURES
6021 if test -z "$defaultval"; then
6022 if test x"$enablestring" = xdisable; then
6029 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-dataobj" >&5
6030 echo $ECHO_N "checking
for --${enablestring:-enable}-dataobj...
$ECHO_C" >&6; }
6031 # Check whether --enable-dataobj was given.
6032 if test "${enable_dataobj+set}" = set; then
6033 enableval=$enable_dataobj;
6034 if test "$enableval" = yes; then
6035 wx_cv_use_dataobj='wxUSE_DATAOBJ=yes'
6037 wx_cv_use_dataobj='wxUSE_DATAOBJ=no'
6042 wx_cv_use_dataobj='wxUSE_DATAOBJ=${'DEFAULT_wxUSE_DATAOBJ":-$defaultval}"
6047 eval "$wx_cv_use_dataobj"
6049 if test x
"$enablestring" = xdisable
; then
6050 if test $wxUSE_DATAOBJ = yes; then
6056 result
=$wxUSE_DATAOBJ
6059 { echo "$as_me:$LINENO: result: $result" >&5
6060 echo "${ECHO_T}$result" >&6; }
6065 defaultval
=$wxUSE_ALL_FEATURES
6066 if test -z "$defaultval"; then
6067 if test x
"$enablestring" = xdisable
; then
6074 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ipc" >&5
6075 echo $ECHO_N "checking for --${enablestring:-enable}-ipc... $ECHO_C" >&6; }
6076 # Check whether --enable-ipc was given.
6077 if test "${enable_ipc+set}" = set; then
6078 enableval
=$enable_ipc;
6079 if test "$enableval" = yes; then
6080 wx_cv_use_ipc
='wxUSE_IPC=yes'
6082 wx_cv_use_ipc
='wxUSE_IPC=no'
6087 wx_cv_use_ipc
='wxUSE_IPC=${'DEFAULT_wxUSE_IPC":-$defaultval}"
6092 eval "$wx_cv_use_ipc"
6094 if test x"$enablestring" = xdisable; then
6095 if test $wxUSE_IPC = yes; then
6104 { echo "$as_me:$LINENO: result: $result" >&5
6105 echo "${ECHO_T}$result" >&6; }
6110 defaultval=$wxUSE_ALL_FEATURES
6111 if test -z "$defaultval"; then
6112 if test x"$enablestring" = xdisable; then
6119 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-baseevtloop" >&5
6120 echo $ECHO_N "checking for --${enablestring:-enable}-baseevtloop... $ECHO_C" >&6; }
6121 # Check whether --enable-baseevtloop was given.
6122 if test "${enable_baseevtloop+set}" = set; then
6123 enableval=$enable_baseevtloop;
6124 if test "$enableval" = yes; then
6125 wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP
=yes'
6127 wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP
=no
'
6132 wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP
=${'DEFAULT_wxUSE_CONSOLE_EVENTLOOP":-$defaultval}"
6137 eval "$wx_cv_use_baseevtloop"
6139 if test x"$enablestring" = xdisable; then
6140 if test $wxUSE_CONSOLE_EVENTLOOP = yes; then
6146 result=$wxUSE_CONSOLE_EVENTLOOP
6149 { echo "$as_me:$LINENO: result
: $result" >&5
6150 echo "${ECHO_T}$result" >&6; }
6154 defaultval=$wxUSE_ALL_FEATURES
6155 if test -z "$defaultval"; then
6156 if test x"$enablestring" = xdisable; then
6163 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-epollloop" >&5
6164 echo $ECHO_N "checking
for --${enablestring:-enable}-epollloop...
$ECHO_C" >&6; }
6165 # Check whether --enable-epollloop was given.
6166 if test "${enable_epollloop+set}" = set; then
6167 enableval=$enable_epollloop;
6168 if test "$enableval" = yes; then
6169 wx_cv_use_epollloop='wxUSE_EPOLL_DISPATCHER=yes'
6171 wx_cv_use_epollloop='wxUSE_EPOLL_DISPATCHER=no'
6176 wx_cv_use_epollloop='wxUSE_EPOLL_DISPATCHER=${'DEFAULT_wxUSE_EPOLL_DISPATCHER":-$defaultval}"
6181 eval "$wx_cv_use_epollloop"
6183 if test x
"$enablestring" = xdisable
; then
6184 if test $wxUSE_EPOLL_DISPATCHER = yes; then
6190 result
=$wxUSE_EPOLL_DISPATCHER
6193 { echo "$as_me:$LINENO: result: $result" >&5
6194 echo "${ECHO_T}$result" >&6; }
6198 defaultval
=$wxUSE_ALL_FEATURES
6199 if test -z "$defaultval"; then
6200 if test x
"$enablestring" = xdisable
; then
6207 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-selectloop" >&5
6208 echo $ECHO_N "checking for --${enablestring:-enable}-selectloop... $ECHO_C" >&6; }
6209 # Check whether --enable-selectloop was given.
6210 if test "${enable_selectloop+set}" = set; then
6211 enableval
=$enable_selectloop;
6212 if test "$enableval" = yes; then
6213 wx_cv_use_selectloop
='wxUSE_SELECT_DISPATCHER=yes'
6215 wx_cv_use_selectloop
='wxUSE_SELECT_DISPATCHER=no'
6220 wx_cv_use_selectloop
='wxUSE_SELECT_DISPATCHER=${'DEFAULT_wxUSE_SELECT_DISPATCHER":-$defaultval}"
6225 eval "$wx_cv_use_selectloop"
6227 if test x"$enablestring" = xdisable; then
6228 if test $wxUSE_SELECT_DISPATCHER = yes; then
6234 result=$wxUSE_SELECT_DISPATCHER
6237 { echo "$as_me:$LINENO: result: $result" >&5
6238 echo "${ECHO_T}$result" >&6; }
6243 defaultval=$wxUSE_ALL_FEATURES
6244 if test -z "$defaultval"; then
6245 if test x"$enablestring" = xdisable; then
6252 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-apple_ieee" >&5
6253 echo $ECHO_N "checking for --${enablestring:-enable}-apple_ieee... $ECHO_C" >&6; }
6254 # Check whether --enable-apple_ieee was given.
6255 if test "${enable_apple_ieee+set}" = set; then
6256 enableval=$enable_apple_ieee;
6257 if test "$enableval" = yes; then
6258 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE
=yes'
6260 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE
=no
'
6265 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE
=${'DEFAULT_wxUSE_APPLE_IEEE":-$defaultval}"
6270 eval "$wx_cv_use_apple_ieee"
6272 if test x"$enablestring" = xdisable; then
6273 if test $wxUSE_APPLE_IEEE = yes; then
6279 result=$wxUSE_APPLE_IEEE
6282 { echo "$as_me:$LINENO: result
: $result" >&5
6283 echo "${ECHO_T}$result" >&6; }
6287 defaultval=$wxUSE_ALL_FEATURES
6288 if test -z "$defaultval"; then
6289 if test x"$enablestring" = xdisable; then
6296 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-arcstream" >&5
6297 echo $ECHO_N "checking
for --${enablestring:-enable}-arcstream...
$ECHO_C" >&6; }
6298 # Check whether --enable-arcstream was given.
6299 if test "${enable_arcstream+set}" = set; then
6300 enableval=$enable_arcstream;
6301 if test "$enableval" = yes; then
6302 wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=yes'
6304 wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=no'
6309 wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=${'DEFAULT_wxUSE_ARCHIVE_STREAMS":-$defaultval}"
6314 eval "$wx_cv_use_arcstream"
6316 if test x
"$enablestring" = xdisable
; then
6317 if test $wxUSE_ARCHIVE_STREAMS = yes; then
6323 result
=$wxUSE_ARCHIVE_STREAMS
6326 { echo "$as_me:$LINENO: result: $result" >&5
6327 echo "${ECHO_T}$result" >&6; }
6331 defaultval
=$wxUSE_ALL_FEATURES
6332 if test -z "$defaultval"; then
6333 if test x
"$enablestring" = xdisable
; then
6340 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-base64" >&5
6341 echo $ECHO_N "checking for --${enablestring:-enable}-base64... $ECHO_C" >&6; }
6342 # Check whether --enable-base64 was given.
6343 if test "${enable_base64+set}" = set; then
6344 enableval
=$enable_base64;
6345 if test "$enableval" = yes; then
6346 wx_cv_use_base64
='wxUSE_BASE64=yes'
6348 wx_cv_use_base64
='wxUSE_BASE64=no'
6353 wx_cv_use_base64
='wxUSE_BASE64=${'DEFAULT_wxUSE_BASE64":-$defaultval}"
6358 eval "$wx_cv_use_base64"
6360 if test x"$enablestring" = xdisable; then
6361 if test $wxUSE_BASE64 = yes; then
6367 result=$wxUSE_BASE64
6370 { echo "$as_me:$LINENO: result: $result" >&5
6371 echo "${ECHO_T}$result" >&6; }
6375 defaultval=$wxUSE_ALL_FEATURES
6376 if test -z "$defaultval"; then
6377 if test x"$enablestring" = xdisable; then
6384 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-backtrace" >&5
6385 echo $ECHO_N "checking for --${enablestring:-enable}-backtrace... $ECHO_C" >&6; }
6386 # Check whether --enable-backtrace was given.
6387 if test "${enable_backtrace+set}" = set; then
6388 enableval=$enable_backtrace;
6389 if test "$enableval" = yes; then
6390 wx_cv_use_backtrace='wxUSE_STACKWALKER
=yes'
6392 wx_cv_use_backtrace='wxUSE_STACKWALKER
=no
'
6397 wx_cv_use_backtrace='wxUSE_STACKWALKER
=${'DEFAULT_wxUSE_STACKWALKER":-$defaultval}"
6402 eval "$wx_cv_use_backtrace"
6404 if test x"$enablestring" = xdisable; then
6405 if test $wxUSE_STACKWALKER = yes; then
6411 result=$wxUSE_STACKWALKER
6414 { echo "$as_me:$LINENO: result
: $result" >&5
6415 echo "${ECHO_T}$result" >&6; }
6419 defaultval=$wxUSE_ALL_FEATURES
6420 if test -z "$defaultval"; then
6421 if test x"$enablestring" = xdisable; then
6428 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-catch_segvs" >&5
6429 echo $ECHO_N "checking
for --${enablestring:-enable}-catch_segvs...
$ECHO_C" >&6; }
6430 # Check whether --enable-catch_segvs was given.
6431 if test "${enable_catch_segvs+set}" = set; then
6432 enableval=$enable_catch_segvs;
6433 if test "$enableval" = yes; then
6434 wx_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=yes'
6436 wx_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=no'
6441 wx_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=${'DEFAULT_wxUSE_ON_FATAL_EXCEPTION":-$defaultval}"
6446 eval "$wx_cv_use_catch_segvs"
6448 if test x
"$enablestring" = xdisable
; then
6449 if test $wxUSE_ON_FATAL_EXCEPTION = yes; then
6455 result
=$wxUSE_ON_FATAL_EXCEPTION
6458 { echo "$as_me:$LINENO: result: $result" >&5
6459 echo "${ECHO_T}$result" >&6; }
6463 defaultval
=$wxUSE_ALL_FEATURES
6464 if test -z "$defaultval"; then
6465 if test x
"$enablestring" = xdisable
; then
6472 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-cmdline" >&5
6473 echo $ECHO_N "checking for --${enablestring:-enable}-cmdline... $ECHO_C" >&6; }
6474 # Check whether --enable-cmdline was given.
6475 if test "${enable_cmdline+set}" = set; then
6476 enableval
=$enable_cmdline;
6477 if test "$enableval" = yes; then
6478 wx_cv_use_cmdline
='wxUSE_CMDLINE_PARSER=yes'
6480 wx_cv_use_cmdline
='wxUSE_CMDLINE_PARSER=no'
6485 wx_cv_use_cmdline
='wxUSE_CMDLINE_PARSER=${'DEFAULT_wxUSE_CMDLINE_PARSER":-$defaultval}"
6490 eval "$wx_cv_use_cmdline"
6492 if test x"$enablestring" = xdisable; then
6493 if test $wxUSE_CMDLINE_PARSER = yes; then
6499 result=$wxUSE_CMDLINE_PARSER
6502 { echo "$as_me:$LINENO: result: $result" >&5
6503 echo "${ECHO_T}$result" >&6; }
6507 defaultval=$wxUSE_ALL_FEATURES
6508 if test -z "$defaultval"; then
6509 if test x"$enablestring" = xdisable; then
6516 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datetime" >&5
6517 echo $ECHO_N "checking for --${enablestring:-enable}-datetime... $ECHO_C" >&6; }
6518 # Check whether --enable-datetime was given.
6519 if test "${enable_datetime+set}" = set; then
6520 enableval=$enable_datetime;
6521 if test "$enableval" = yes; then
6522 wx_cv_use_datetime='wxUSE_DATETIME
=yes'
6524 wx_cv_use_datetime='wxUSE_DATETIME
=no
'
6529 wx_cv_use_datetime='wxUSE_DATETIME
=${'DEFAULT_wxUSE_DATETIME":-$defaultval}"
6534 eval "$wx_cv_use_datetime"
6536 if test x"$enablestring" = xdisable; then
6537 if test $wxUSE_DATETIME = yes; then
6543 result=$wxUSE_DATETIME
6546 { echo "$as_me:$LINENO: result
: $result" >&5
6547 echo "${ECHO_T}$result" >&6; }
6551 defaultval=$wxUSE_ALL_FEATURES
6552 if test -z "$defaultval"; then
6553 if test x"$enablestring" = xdisable; then
6560 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-debugreport" >&5
6561 echo $ECHO_N "checking
for --${enablestring:-enable}-debugreport...
$ECHO_C" >&6; }
6562 # Check whether --enable-debugreport was given.
6563 if test "${enable_debugreport+set}" = set; then
6564 enableval=$enable_debugreport;
6565 if test "$enableval" = yes; then
6566 wx_cv_use_debugreport='wxUSE_DEBUGREPORT=yes'
6568 wx_cv_use_debugreport='wxUSE_DEBUGREPORT=no'
6573 wx_cv_use_debugreport='wxUSE_DEBUGREPORT=${'DEFAULT_wxUSE_DEBUGREPORT":-$defaultval}"
6578 eval "$wx_cv_use_debugreport"
6580 if test x
"$enablestring" = xdisable
; then
6581 if test $wxUSE_DEBUGREPORT = yes; then
6587 result
=$wxUSE_DEBUGREPORT
6590 { echo "$as_me:$LINENO: result: $result" >&5
6591 echo "${ECHO_T}$result" >&6; }
6595 defaultval
=$wxUSE_ALL_FEATURES
6596 if test -z "$defaultval"; then
6597 if test x
"$enablestring" = xdisable
; then
6604 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dialupman" >&5
6605 echo $ECHO_N "checking for --${enablestring:-enable}-dialupman... $ECHO_C" >&6; }
6606 # Check whether --enable-dialupman was given.
6607 if test "${enable_dialupman+set}" = set; then
6608 enableval
=$enable_dialupman;
6609 if test "$enableval" = yes; then
6610 wx_cv_use_dialupman
='wxUSE_DIALUP_MANAGER=yes'
6612 wx_cv_use_dialupman
='wxUSE_DIALUP_MANAGER=no'
6617 wx_cv_use_dialupman
='wxUSE_DIALUP_MANAGER=${'DEFAULT_wxUSE_DIALUP_MANAGER":-$defaultval}"
6622 eval "$wx_cv_use_dialupman"
6624 if test x"$enablestring" = xdisable; then
6625 if test $wxUSE_DIALUP_MANAGER = yes; then
6631 result=$wxUSE_DIALUP_MANAGER
6634 { echo "$as_me:$LINENO: result: $result" >&5
6635 echo "${ECHO_T}$result" >&6; }
6639 defaultval=$wxUSE_ALL_FEATURES
6640 if test -z "$defaultval"; then
6641 if test x"$enablestring" = xdisable; then
6648 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynlib" >&5
6649 echo $ECHO_N "checking for --${enablestring:-enable}-dynlib... $ECHO_C" >&6; }
6650 # Check whether --enable-dynlib was given.
6651 if test "${enable_dynlib+set}" = set; then
6652 enableval=$enable_dynlib;
6653 if test "$enableval" = yes; then
6654 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS
=yes'
6656 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS
=no
'
6661 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS
=${'DEFAULT_wxUSE_DYNLIB_CLASS":-$defaultval}"
6666 eval "$wx_cv_use_dynlib"
6668 if test x"$enablestring" = xdisable; then
6669 if test $wxUSE_DYNLIB_CLASS = yes; then
6675 result=$wxUSE_DYNLIB_CLASS
6678 { echo "$as_me:$LINENO: result
: $result" >&5
6679 echo "${ECHO_T}$result" >&6; }
6683 defaultval=$wxUSE_ALL_FEATURES
6684 if test -z "$defaultval"; then
6685 if test x"$enablestring" = xdisable; then
6692 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-dynamicloader" >&5
6693 echo $ECHO_N "checking
for --${enablestring:-enable}-dynamicloader...
$ECHO_C" >&6; }
6694 # Check whether --enable-dynamicloader was given.
6695 if test "${enable_dynamicloader+set}" = set; then
6696 enableval=$enable_dynamicloader;
6697 if test "$enableval" = yes; then
6698 wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=yes'
6700 wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=no'
6705 wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=${'DEFAULT_wxUSE_DYNAMIC_LOADER":-$defaultval}"
6710 eval "$wx_cv_use_dynamicloader"
6712 if test x
"$enablestring" = xdisable
; then
6713 if test $wxUSE_DYNAMIC_LOADER = yes; then
6719 result
=$wxUSE_DYNAMIC_LOADER
6722 { echo "$as_me:$LINENO: result: $result" >&5
6723 echo "${ECHO_T}$result" >&6; }
6727 defaultval
=$wxUSE_ALL_FEATURES
6728 if test -z "$defaultval"; then
6729 if test x
"$enablestring" = xdisable
; then
6736 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-exceptions" >&5
6737 echo $ECHO_N "checking for --${enablestring:-enable}-exceptions... $ECHO_C" >&6; }
6738 # Check whether --enable-exceptions was given.
6739 if test "${enable_exceptions+set}" = set; then
6740 enableval
=$enable_exceptions;
6741 if test "$enableval" = yes; then
6742 wx_cv_use_exceptions
='wxUSE_EXCEPTIONS=yes'
6744 wx_cv_use_exceptions
='wxUSE_EXCEPTIONS=no'
6749 wx_cv_use_exceptions
='wxUSE_EXCEPTIONS=${'DEFAULT_wxUSE_EXCEPTIONS":-$defaultval}"
6754 eval "$wx_cv_use_exceptions"
6756 if test x"$enablestring" = xdisable; then
6757 if test $wxUSE_EXCEPTIONS = yes; then
6763 result=$wxUSE_EXCEPTIONS
6766 { echo "$as_me:$LINENO: result: $result" >&5
6767 echo "${ECHO_T}$result" >&6; }
6771 defaultval=$wxUSE_ALL_FEATURES
6772 if test -z "$defaultval"; then
6773 if test x"$enablestring" = xdisable; then
6780 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ffile" >&5
6781 echo $ECHO_N "checking for --${enablestring:-enable}-ffile... $ECHO_C" >&6; }
6782 # Check whether --enable-ffile was given.
6783 if test "${enable_ffile+set}" = set; then
6784 enableval=$enable_ffile;
6785 if test "$enableval" = yes; then
6786 wx_cv_use_ffile='wxUSE_FFILE
=yes'
6788 wx_cv_use_ffile='wxUSE_FFILE
=no
'
6793 wx_cv_use_ffile='wxUSE_FFILE
=${'DEFAULT_wxUSE_FFILE":-$defaultval}"
6798 eval "$wx_cv_use_ffile"
6800 if test x"$enablestring" = xdisable; then
6801 if test $wxUSE_FFILE = yes; then
6810 { echo "$as_me:$LINENO: result
: $result" >&5
6811 echo "${ECHO_T}$result" >&6; }
6815 defaultval=$wxUSE_ALL_FEATURES
6816 if test -z "$defaultval"; then
6817 if test x"$enablestring" = xdisable; then
6824 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-file" >&5
6825 echo $ECHO_N "checking
for --${enablestring:-enable}-file...
$ECHO_C" >&6; }
6826 # Check whether --enable-file was given.
6827 if test "${enable_file+set}" = set; then
6828 enableval=$enable_file;
6829 if test "$enableval" = yes; then
6830 wx_cv_use_file='wxUSE_FILE=yes'
6832 wx_cv_use_file='wxUSE_FILE=no'
6837 wx_cv_use_file='wxUSE_FILE=${'DEFAULT_wxUSE_FILE":-$defaultval}"
6842 eval "$wx_cv_use_file"
6844 if test x
"$enablestring" = xdisable
; then
6845 if test $wxUSE_FILE = yes; then
6854 { echo "$as_me:$LINENO: result: $result" >&5
6855 echo "${ECHO_T}$result" >&6; }
6859 defaultval
=$wxUSE_ALL_FEATURES
6860 if test -z "$defaultval"; then
6861 if test x
"$enablestring" = xdisable
; then
6868 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filesystem" >&5
6869 echo $ECHO_N "checking for --${enablestring:-enable}-filesystem... $ECHO_C" >&6; }
6870 # Check whether --enable-filesystem was given.
6871 if test "${enable_filesystem+set}" = set; then
6872 enableval
=$enable_filesystem;
6873 if test "$enableval" = yes; then
6874 wx_cv_use_filesystem
='wxUSE_FILESYSTEM=yes'
6876 wx_cv_use_filesystem
='wxUSE_FILESYSTEM=no'
6881 wx_cv_use_filesystem
='wxUSE_FILESYSTEM=${'DEFAULT_wxUSE_FILESYSTEM":-$defaultval}"
6886 eval "$wx_cv_use_filesystem"
6888 if test x"$enablestring" = xdisable; then
6889 if test $wxUSE_FILESYSTEM = yes; then
6895 result=$wxUSE_FILESYSTEM
6898 { echo "$as_me:$LINENO: result: $result" >&5
6899 echo "${ECHO_T}$result" >&6; }
6903 defaultval=$wxUSE_ALL_FEATURES
6904 if test -z "$defaultval"; then
6905 if test x"$enablestring" = xdisable; then
6912 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontenum" >&5
6913 echo $ECHO_N "checking for --${enablestring:-enable}-fontenum... $ECHO_C" >&6; }
6914 # Check whether --enable-fontenum was given.
6915 if test "${enable_fontenum+set}" = set; then
6916 enableval=$enable_fontenum;
6917 if test "$enableval" = yes; then
6918 wx_cv_use_fontenum='wxUSE_FONTENUM
=yes'
6920 wx_cv_use_fontenum='wxUSE_FONTENUM
=no
'
6925 wx_cv_use_fontenum='wxUSE_FONTENUM
=${'DEFAULT_wxUSE_FONTENUM":-$defaultval}"
6930 eval "$wx_cv_use_fontenum"
6932 if test x"$enablestring" = xdisable; then
6933 if test $wxUSE_FONTENUM = yes; then
6939 result=$wxUSE_FONTENUM
6942 { echo "$as_me:$LINENO: result
: $result" >&5
6943 echo "${ECHO_T}$result" >&6; }
6947 defaultval=$wxUSE_ALL_FEATURES
6948 if test -z "$defaultval"; then
6949 if test x"$enablestring" = xdisable; then
6956 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-fontmap" >&5
6957 echo $ECHO_N "checking
for --${enablestring:-enable}-fontmap...
$ECHO_C" >&6; }
6958 # Check whether --enable-fontmap was given.
6959 if test "${enable_fontmap+set}" = set; then
6960 enableval=$enable_fontmap;
6961 if test "$enableval" = yes; then
6962 wx_cv_use_fontmap='wxUSE_FONTMAP=yes'
6964 wx_cv_use_fontmap='wxUSE_FONTMAP=no'
6969 wx_cv_use_fontmap='wxUSE_FONTMAP=${'DEFAULT_wxUSE_FONTMAP":-$defaultval}"
6974 eval "$wx_cv_use_fontmap"
6976 if test x
"$enablestring" = xdisable
; then
6977 if test $wxUSE_FONTMAP = yes; then
6983 result
=$wxUSE_FONTMAP
6986 { echo "$as_me:$LINENO: result: $result" >&5
6987 echo "${ECHO_T}$result" >&6; }
6991 defaultval
=$wxUSE_ALL_FEATURES
6992 if test -z "$defaultval"; then
6993 if test x
"$enablestring" = xdisable
; then
7000 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_archive" >&5
7001 echo $ECHO_N "checking for --${enablestring:-enable}-fs_archive... $ECHO_C" >&6; }
7002 # Check whether --enable-fs_archive was given.
7003 if test "${enable_fs_archive+set}" = set; then
7004 enableval
=$enable_fs_archive;
7005 if test "$enableval" = yes; then
7006 wx_cv_use_fs_archive
='wxUSE_FS_ARCHIVE=yes'
7008 wx_cv_use_fs_archive
='wxUSE_FS_ARCHIVE=no'
7013 wx_cv_use_fs_archive
='wxUSE_FS_ARCHIVE=${'DEFAULT_wxUSE_FS_ARCHIVE":-$defaultval}"
7018 eval "$wx_cv_use_fs_archive"
7020 if test x"$enablestring" = xdisable; then
7021 if test $wxUSE_FS_ARCHIVE = yes; then
7027 result=$wxUSE_FS_ARCHIVE
7030 { echo "$as_me:$LINENO: result: $result" >&5
7031 echo "${ECHO_T}$result" >&6; }
7035 defaultval=$wxUSE_ALL_FEATURES
7036 if test -z "$defaultval"; then
7037 if test x"$enablestring" = xdisable; then
7044 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_inet" >&5
7045 echo $ECHO_N "checking for --${enablestring:-enable}-fs_inet... $ECHO_C" >&6; }
7046 # Check whether --enable-fs_inet was given.
7047 if test "${enable_fs_inet+set}" = set; then
7048 enableval=$enable_fs_inet;
7049 if test "$enableval" = yes; then
7050 wx_cv_use_fs_inet='wxUSE_FS_INET
=yes'
7052 wx_cv_use_fs_inet='wxUSE_FS_INET
=no
'
7057 wx_cv_use_fs_inet='wxUSE_FS_INET
=${'DEFAULT_wxUSE_FS_INET":-$defaultval}"
7062 eval "$wx_cv_use_fs_inet"
7064 if test x"$enablestring" = xdisable; then
7065 if test $wxUSE_FS_INET = yes; then
7071 result=$wxUSE_FS_INET
7074 { echo "$as_me:$LINENO: result
: $result" >&5
7075 echo "${ECHO_T}$result" >&6; }
7079 defaultval=$wxUSE_ALL_FEATURES
7080 if test -z "$defaultval"; then
7081 if test x"$enablestring" = xdisable; then
7088 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-fs_zip" >&5
7089 echo $ECHO_N "checking
for --${enablestring:-enable}-fs_zip...
$ECHO_C" >&6; }
7090 # Check whether --enable-fs_zip was given.
7091 if test "${enable_fs_zip+set}" = set; then
7092 enableval=$enable_fs_zip;
7093 if test "$enableval" = yes; then
7094 wx_cv_use_fs_zip='wxUSE_FS_ZIP=yes'
7096 wx_cv_use_fs_zip='wxUSE_FS_ZIP=no'
7101 wx_cv_use_fs_zip='wxUSE_FS_ZIP=${'DEFAULT_wxUSE_FS_ZIP":-$defaultval}"
7106 eval "$wx_cv_use_fs_zip"
7108 if test x
"$enablestring" = xdisable
; then
7109 if test $wxUSE_FS_ZIP = yes; then
7115 result
=$wxUSE_FS_ZIP
7118 { echo "$as_me:$LINENO: result: $result" >&5
7119 echo "${ECHO_T}$result" >&6; }
7123 defaultval
=$wxUSE_ALL_FEATURES
7124 if test -z "$defaultval"; then
7125 if test x
"$enablestring" = xdisable
; then
7132 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-geometry" >&5
7133 echo $ECHO_N "checking for --${enablestring:-enable}-geometry... $ECHO_C" >&6; }
7134 # Check whether --enable-geometry was given.
7135 if test "${enable_geometry+set}" = set; then
7136 enableval
=$enable_geometry;
7137 if test "$enableval" = yes; then
7138 wx_cv_use_geometry
='wxUSE_GEOMETRY=yes'
7140 wx_cv_use_geometry
='wxUSE_GEOMETRY=no'
7145 wx_cv_use_geometry
='wxUSE_GEOMETRY=${'DEFAULT_wxUSE_GEOMETRY":-$defaultval}"
7150 eval "$wx_cv_use_geometry"
7152 if test x"$enablestring" = xdisable; then
7153 if test $wxUSE_GEOMETRY = yes; then
7159 result=$wxUSE_GEOMETRY
7162 { echo "$as_me:$LINENO: result: $result" >&5
7163 echo "${ECHO_T}$result" >&6; }
7167 defaultval=$wxUSE_ALL_FEATURES
7168 if test -z "$defaultval"; then
7169 if test x"$enablestring" = xdisable; then
7176 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-log" >&5
7177 echo $ECHO_N "checking for --${enablestring:-enable}-log... $ECHO_C" >&6; }
7178 # Check whether --enable-log was given.
7179 if test "${enable_log+set}" = set; then
7180 enableval=$enable_log;
7181 if test "$enableval" = yes; then
7182 wx_cv_use_log='wxUSE_LOG
=yes'
7184 wx_cv_use_log='wxUSE_LOG
=no
'
7189 wx_cv_use_log='wxUSE_LOG
=${'DEFAULT_wxUSE_LOG":-$defaultval}"
7194 eval "$wx_cv_use_log"
7196 if test x"$enablestring" = xdisable; then
7197 if test $wxUSE_LOG = yes; then
7206 { echo "$as_me:$LINENO: result
: $result" >&5
7207 echo "${ECHO_T}$result" >&6; }
7211 defaultval=$wxUSE_ALL_FEATURES
7212 if test -z "$defaultval"; then
7213 if test x"$enablestring" = xdisable; then
7220 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-longlong" >&5
7221 echo $ECHO_N "checking
for --${enablestring:-enable}-longlong...
$ECHO_C" >&6; }
7222 # Check whether --enable-longlong was given.
7223 if test "${enable_longlong+set}" = set; then
7224 enableval=$enable_longlong;
7225 if test "$enableval" = yes; then
7226 wx_cv_use_longlong='wxUSE_LONGLONG=yes'
7228 wx_cv_use_longlong='wxUSE_LONGLONG=no'
7233 wx_cv_use_longlong='wxUSE_LONGLONG=${'DEFAULT_wxUSE_LONGLONG":-$defaultval}"
7238 eval "$wx_cv_use_longlong"
7240 if test x
"$enablestring" = xdisable
; then
7241 if test $wxUSE_LONGLONG = yes; then
7247 result
=$wxUSE_LONGLONG
7250 { echo "$as_me:$LINENO: result: $result" >&5
7251 echo "${ECHO_T}$result" >&6; }
7255 defaultval
=$wxUSE_ALL_FEATURES
7256 if test -z "$defaultval"; then
7257 if test x
"$enablestring" = xdisable
; then
7264 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mimetype" >&5
7265 echo $ECHO_N "checking for --${enablestring:-enable}-mimetype... $ECHO_C" >&6; }
7266 # Check whether --enable-mimetype was given.
7267 if test "${enable_mimetype+set}" = set; then
7268 enableval
=$enable_mimetype;
7269 if test "$enableval" = yes; then
7270 wx_cv_use_mimetype
='wxUSE_MIMETYPE=yes'
7272 wx_cv_use_mimetype
='wxUSE_MIMETYPE=no'
7277 wx_cv_use_mimetype
='wxUSE_MIMETYPE=${'DEFAULT_wxUSE_MIMETYPE":-$defaultval}"
7282 eval "$wx_cv_use_mimetype"
7284 if test x"$enablestring" = xdisable; then
7285 if test $wxUSE_MIMETYPE = yes; then
7291 result=$wxUSE_MIMETYPE
7294 { echo "$as_me:$LINENO: result: $result" >&5
7295 echo "${ECHO_T}$result" >&6; }
7299 defaultval=$wxUSE_ALL_FEATURES
7300 if test -z "$defaultval"; then
7301 if test x"$enablestring" = xdisable; then
7308 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printfposparam" >&5
7309 echo $ECHO_N "checking for --${enablestring:-enable}-printfposparam... $ECHO_C" >&6; }
7310 # Check whether --enable-printfposparam was given.
7311 if test "${enable_printfposparam+set}" = set; then
7312 enableval=$enable_printfposparam;
7313 if test "$enableval" = yes; then
7314 wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS
=yes'
7316 wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS
=no
'
7321 wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS
=${'DEFAULT_wxUSE_PRINTF_POS_PARAMS":-$defaultval}"
7326 eval "$wx_cv_use_printfposparam"
7328 if test x"$enablestring" = xdisable; then
7329 if test $wxUSE_PRINTF_POS_PARAMS = yes; then
7335 result=$wxUSE_PRINTF_POS_PARAMS
7338 { echo "$as_me:$LINENO: result
: $result" >&5
7339 echo "${ECHO_T}$result" >&6; }
7343 defaultval=$wxUSE_ALL_FEATURES
7344 if test -z "$defaultval"; then
7345 if test x"$enablestring" = xdisable; then
7352 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-snglinst" >&5
7353 echo $ECHO_N "checking
for --${enablestring:-enable}-snglinst...
$ECHO_C" >&6; }
7354 # Check whether --enable-snglinst was given.
7355 if test "${enable_snglinst+set}" = set; then
7356 enableval=$enable_snglinst;
7357 if test "$enableval" = yes; then
7358 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=yes'
7360 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=no'
7365 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=${'DEFAULT_wxUSE_SNGLINST_CHECKER":-$defaultval}"
7370 eval "$wx_cv_use_snglinst"
7372 if test x
"$enablestring" = xdisable
; then
7373 if test $wxUSE_SNGLINST_CHECKER = yes; then
7379 result
=$wxUSE_SNGLINST_CHECKER
7382 { echo "$as_me:$LINENO: result: $result" >&5
7383 echo "${ECHO_T}$result" >&6; }
7387 defaultval
=$wxUSE_ALL_FEATURES
7388 if test -z "$defaultval"; then
7389 if test x
"$enablestring" = xdisable
; then
7396 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sound" >&5
7397 echo $ECHO_N "checking for --${enablestring:-enable}-sound... $ECHO_C" >&6; }
7398 # Check whether --enable-sound was given.
7399 if test "${enable_sound+set}" = set; then
7400 enableval
=$enable_sound;
7401 if test "$enableval" = yes; then
7402 wx_cv_use_sound
='wxUSE_SOUND=yes'
7404 wx_cv_use_sound
='wxUSE_SOUND=no'
7409 wx_cv_use_sound
='wxUSE_SOUND=${'DEFAULT_wxUSE_SOUND":-$defaultval}"
7414 eval "$wx_cv_use_sound"
7416 if test x"$enablestring" = xdisable; then
7417 if test $wxUSE_SOUND = yes; then
7426 { echo "$as_me:$LINENO: result: $result" >&5
7427 echo "${ECHO_T}$result" >&6; }
7431 defaultval=$wxUSE_ALL_FEATURES
7432 if test -z "$defaultval"; then
7433 if test x"$enablestring" = xdisable; then
7440 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stdpaths" >&5
7441 echo $ECHO_N "checking for --${enablestring:-enable}-stdpaths... $ECHO_C" >&6; }
7442 # Check whether --enable-stdpaths was given.
7443 if test "${enable_stdpaths+set}" = set; then
7444 enableval=$enable_stdpaths;
7445 if test "$enableval" = yes; then
7446 wx_cv_use_stdpaths='wxUSE_STDPATHS
=yes'
7448 wx_cv_use_stdpaths='wxUSE_STDPATHS
=no
'
7453 wx_cv_use_stdpaths='wxUSE_STDPATHS
=${'DEFAULT_wxUSE_STDPATHS":-$defaultval}"
7458 eval "$wx_cv_use_stdpaths"
7460 if test x"$enablestring" = xdisable; then
7461 if test $wxUSE_STDPATHS = yes; then
7467 result=$wxUSE_STDPATHS
7470 { echo "$as_me:$LINENO: result
: $result" >&5
7471 echo "${ECHO_T}$result" >&6; }
7475 defaultval=$wxUSE_ALL_FEATURES
7476 if test -z "$defaultval"; then
7477 if test x"$enablestring" = xdisable; then
7484 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-stopwatch" >&5
7485 echo $ECHO_N "checking
for --${enablestring:-enable}-stopwatch...
$ECHO_C" >&6; }
7486 # Check whether --enable-stopwatch was given.
7487 if test "${enable_stopwatch+set}" = set; then
7488 enableval=$enable_stopwatch;
7489 if test "$enableval" = yes; then
7490 wx_cv_use_stopwatch='wxUSE_STOPWATCH=yes'
7492 wx_cv_use_stopwatch='wxUSE_STOPWATCH=no'
7497 wx_cv_use_stopwatch='wxUSE_STOPWATCH=${'DEFAULT_wxUSE_STOPWATCH":-$defaultval}"
7502 eval "$wx_cv_use_stopwatch"
7504 if test x
"$enablestring" = xdisable
; then
7505 if test $wxUSE_STOPWATCH = yes; then
7511 result
=$wxUSE_STOPWATCH
7514 { echo "$as_me:$LINENO: result: $result" >&5
7515 echo "${ECHO_T}$result" >&6; }
7519 defaultval
=$wxUSE_ALL_FEATURES
7520 if test -z "$defaultval"; then
7521 if test x
"$enablestring" = xdisable
; then
7528 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-streams" >&5
7529 echo $ECHO_N "checking for --${enablestring:-enable}-streams... $ECHO_C" >&6; }
7530 # Check whether --enable-streams was given.
7531 if test "${enable_streams+set}" = set; then
7532 enableval
=$enable_streams;
7533 if test "$enableval" = yes; then
7534 wx_cv_use_streams
='wxUSE_STREAMS=yes'
7536 wx_cv_use_streams
='wxUSE_STREAMS=no'
7541 wx_cv_use_streams
='wxUSE_STREAMS=${'DEFAULT_wxUSE_STREAMS":-$defaultval}"
7546 eval "$wx_cv_use_streams"
7548 if test x"$enablestring" = xdisable; then
7549 if test $wxUSE_STREAMS = yes; then
7555 result=$wxUSE_STREAMS
7558 { echo "$as_me:$LINENO: result: $result" >&5
7559 echo "${ECHO_T}$result" >&6; }
7563 defaultval=$wxUSE_ALL_FEATURES
7564 if test -z "$defaultval"; then
7565 if test x"$enablestring" = xdisable; then
7572 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-system_options" >&5
7573 echo $ECHO_N "checking for --${enablestring:-enable}-system_options... $ECHO_C" >&6; }
7574 # Check whether --enable-system_options was given.
7575 if test "${enable_system_options+set}" = set; then
7576 enableval=$enable_system_options;
7577 if test "$enableval" = yes; then
7578 wx_cv_use_system_options='wxUSE_SYSTEM_OPTIONS
=yes'
7580 wx_cv_use_system_options='wxUSE_SYSTEM_OPTIONS
=no
'
7585 wx_cv_use_system_options='wxUSE_SYSTEM_OPTIONS
=${'DEFAULT_wxUSE_SYSTEM_OPTIONS":-$defaultval}"
7590 eval "$wx_cv_use_system_options"
7592 if test x"$enablestring" = xdisable; then
7593 if test $wxUSE_SYSTEM_OPTIONS = yes; then
7599 result=$wxUSE_SYSTEM_OPTIONS
7602 { echo "$as_me:$LINENO: result
: $result" >&5
7603 echo "${ECHO_T}$result" >&6; }
7607 defaultval=$wxUSE_ALL_FEATURES
7608 if test -z "$defaultval"; then
7609 if test x"$enablestring" = xdisable; then
7616 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-tarstream" >&5
7617 echo $ECHO_N "checking
for --${enablestring:-enable}-tarstream...
$ECHO_C" >&6; }
7618 # Check whether --enable-tarstream was given.
7619 if test "${enable_tarstream+set}" = set; then
7620 enableval=$enable_tarstream;
7621 if test "$enableval" = yes; then
7622 wx_cv_use_tarstream='wxUSE_TARSTREAM=yes'
7624 wx_cv_use_tarstream='wxUSE_TARSTREAM=no'
7629 wx_cv_use_tarstream='wxUSE_TARSTREAM=${'DEFAULT_wxUSE_TARSTREAM":-$defaultval}"
7634 eval "$wx_cv_use_tarstream"
7636 if test x
"$enablestring" = xdisable
; then
7637 if test $wxUSE_TARSTREAM = yes; then
7643 result
=$wxUSE_TARSTREAM
7646 { echo "$as_me:$LINENO: result: $result" >&5
7647 echo "${ECHO_T}$result" >&6; }
7651 defaultval
=$wxUSE_ALL_FEATURES
7652 if test -z "$defaultval"; then
7653 if test x
"$enablestring" = xdisable
; then
7660 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textbuf" >&5
7661 echo $ECHO_N "checking for --${enablestring:-enable}-textbuf... $ECHO_C" >&6; }
7662 # Check whether --enable-textbuf was given.
7663 if test "${enable_textbuf+set}" = set; then
7664 enableval
=$enable_textbuf;
7665 if test "$enableval" = yes; then
7666 wx_cv_use_textbuf
='wxUSE_TEXTBUFFER=yes'
7668 wx_cv_use_textbuf
='wxUSE_TEXTBUFFER=no'
7673 wx_cv_use_textbuf
='wxUSE_TEXTBUFFER=${'DEFAULT_wxUSE_TEXTBUFFER":-$defaultval}"
7678 eval "$wx_cv_use_textbuf"
7680 if test x"$enablestring" = xdisable; then
7681 if test $wxUSE_TEXTBUFFER = yes; then
7687 result=$wxUSE_TEXTBUFFER
7690 { echo "$as_me:$LINENO: result: $result" >&5
7691 echo "${ECHO_T}$result" >&6; }
7695 defaultval=$wxUSE_ALL_FEATURES
7696 if test -z "$defaultval"; then
7697 if test x"$enablestring" = xdisable; then
7704 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textfile" >&5
7705 echo $ECHO_N "checking for --${enablestring:-enable}-textfile... $ECHO_C" >&6; }
7706 # Check whether --enable-textfile was given.
7707 if test "${enable_textfile+set}" = set; then
7708 enableval=$enable_textfile;
7709 if test "$enableval" = yes; then
7710 wx_cv_use_textfile='wxUSE_TEXTFILE
=yes'
7712 wx_cv_use_textfile='wxUSE_TEXTFILE
=no
'
7717 wx_cv_use_textfile='wxUSE_TEXTFILE
=${'DEFAULT_wxUSE_TEXTFILE":-$defaultval}"
7722 eval "$wx_cv_use_textfile"
7724 if test x"$enablestring" = xdisable; then
7725 if test $wxUSE_TEXTFILE = yes; then
7731 result=$wxUSE_TEXTFILE
7734 { echo "$as_me:$LINENO: result
: $result" >&5
7735 echo "${ECHO_T}$result" >&6; }
7739 defaultval=$wxUSE_ALL_FEATURES
7740 if test -z "$defaultval"; then
7741 if test x"$enablestring" = xdisable; then
7748 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-timer" >&5
7749 echo $ECHO_N "checking
for --${enablestring:-enable}-timer...
$ECHO_C" >&6; }
7750 # Check whether --enable-timer was given.
7751 if test "${enable_timer+set}" = set; then
7752 enableval=$enable_timer;
7753 if test "$enableval" = yes; then
7754 wx_cv_use_timer='wxUSE_TIMER=yes'
7756 wx_cv_use_timer='wxUSE_TIMER=no'
7761 wx_cv_use_timer='wxUSE_TIMER=${'DEFAULT_wxUSE_TIMER":-$defaultval}"
7766 eval "$wx_cv_use_timer"
7768 if test x
"$enablestring" = xdisable
; then
7769 if test $wxUSE_TIMER = yes; then
7778 { echo "$as_me:$LINENO: result: $result" >&5
7779 echo "${ECHO_T}$result" >&6; }
7783 defaultval
=$wxUSE_ALL_FEATURES
7784 if test -z "$defaultval"; then
7785 if test x
"$enablestring" = xdisable
; then
7792 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-variant" >&5
7793 echo $ECHO_N "checking for --${enablestring:-enable}-variant... $ECHO_C" >&6; }
7794 # Check whether --enable-variant was given.
7795 if test "${enable_variant+set}" = set; then
7796 enableval
=$enable_variant;
7797 if test "$enableval" = yes; then
7798 wx_cv_use_variant
='wxUSE_VARIANT=yes'
7800 wx_cv_use_variant
='wxUSE_VARIANT=no'
7805 wx_cv_use_variant
='wxUSE_VARIANT=${'DEFAULT_wxUSE_VARIANT":-$defaultval}"
7810 eval "$wx_cv_use_variant"
7812 if test x"$enablestring" = xdisable; then
7813 if test $wxUSE_VARIANT = yes; then
7819 result=$wxUSE_VARIANT
7822 { echo "$as_me:$LINENO: result: $result" >&5
7823 echo "${ECHO_T}$result" >&6; }
7827 defaultval=$wxUSE_ALL_FEATURES
7828 if test -z "$defaultval"; then
7829 if test x"$enablestring" = xdisable; then
7836 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-zipstream" >&5
7837 echo $ECHO_N "checking for --${enablestring:-enable}-zipstream... $ECHO_C" >&6; }
7838 # Check whether --enable-zipstream was given.
7839 if test "${enable_zipstream+set}" = set; then
7840 enableval=$enable_zipstream;
7841 if test "$enableval" = yes; then
7842 wx_cv_use_zipstream='wxUSE_ZIPSTREAM
=yes'
7844 wx_cv_use_zipstream='wxUSE_ZIPSTREAM
=no
'
7849 wx_cv_use_zipstream='wxUSE_ZIPSTREAM
=${'DEFAULT_wxUSE_ZIPSTREAM":-$defaultval}"
7854 eval "$wx_cv_use_zipstream"
7856 if test x"$enablestring" = xdisable; then
7857 if test $wxUSE_ZIPSTREAM = yes; then
7863 result=$wxUSE_ZIPSTREAM
7866 { echo "$as_me:$LINENO: result
: $result" >&5
7867 echo "${ECHO_T}$result" >&6; }
7872 defaultval=$wxUSE_ALL_FEATURES
7873 if test -z "$defaultval"; then
7874 if test x"$enablestring" = xdisable; then
7881 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-url" >&5
7882 echo $ECHO_N "checking
for --${enablestring:-enable}-url...
$ECHO_C" >&6; }
7883 # Check whether --enable-url was given.
7884 if test "${enable_url+set}" = set; then
7885 enableval=$enable_url;
7886 if test "$enableval" = yes; then
7887 wx_cv_use_url='wxUSE_URL=yes'
7889 wx_cv_use_url='wxUSE_URL=no'
7894 wx_cv_use_url='wxUSE_URL=${'DEFAULT_wxUSE_URL":-$defaultval}"
7899 eval "$wx_cv_use_url"
7901 if test x
"$enablestring" = xdisable
; then
7902 if test $wxUSE_URL = yes; then
7911 { echo "$as_me:$LINENO: result: $result" >&5
7912 echo "${ECHO_T}$result" >&6; }
7916 defaultval
=$wxUSE_ALL_FEATURES
7917 if test -z "$defaultval"; then
7918 if test x
"$enablestring" = xdisable
; then
7925 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol" >&5
7926 echo $ECHO_N "checking for --${enablestring:-enable}-protocol... $ECHO_C" >&6; }
7927 # Check whether --enable-protocol was given.
7928 if test "${enable_protocol+set}" = set; then
7929 enableval
=$enable_protocol;
7930 if test "$enableval" = yes; then
7931 wx_cv_use_protocol
='wxUSE_PROTOCOL=yes'
7933 wx_cv_use_protocol
='wxUSE_PROTOCOL=no'
7938 wx_cv_use_protocol
='wxUSE_PROTOCOL=${'DEFAULT_wxUSE_PROTOCOL":-$defaultval}"
7943 eval "$wx_cv_use_protocol"
7945 if test x"$enablestring" = xdisable; then
7946 if test $wxUSE_PROTOCOL = yes; then
7952 result=$wxUSE_PROTOCOL
7955 { echo "$as_me:$LINENO: result: $result" >&5
7956 echo "${ECHO_T}$result" >&6; }
7960 defaultval=$wxUSE_ALL_FEATURES
7961 if test -z "$defaultval"; then
7962 if test x"$enablestring" = xdisable; then
7969 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_http" >&5
7970 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_http... $ECHO_C" >&6; }
7971 # Check whether --enable-protocol_http was given.
7972 if test "${enable_protocol_http+set}" = set; then
7973 enableval=$enable_protocol_http;
7974 if test "$enableval" = yes; then
7975 wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP
=yes'
7977 wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP
=no
'
7982 wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP
=${'DEFAULT_wxUSE_PROTOCOL_HTTP":-$defaultval}"
7987 eval "$wx_cv_use_protocol_http"
7989 if test x"$enablestring" = xdisable; then
7990 if test $wxUSE_PROTOCOL_HTTP = yes; then
7996 result=$wxUSE_PROTOCOL_HTTP
7999 { echo "$as_me:$LINENO: result
: $result" >&5
8000 echo "${ECHO_T}$result" >&6; }
8004 defaultval=$wxUSE_ALL_FEATURES
8005 if test -z "$defaultval"; then
8006 if test x"$enablestring" = xdisable; then
8013 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-protocol_ftp" >&5
8014 echo $ECHO_N "checking
for --${enablestring:-enable}-protocol_ftp...
$ECHO_C" >&6; }
8015 # Check whether --enable-protocol_ftp was given.
8016 if test "${enable_protocol_ftp+set}" = set; then
8017 enableval=$enable_protocol_ftp;
8018 if test "$enableval" = yes; then
8019 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=yes'
8021 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=no'
8026 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=${'DEFAULT_wxUSE_PROTOCOL_FTP":-$defaultval}"
8031 eval "$wx_cv_use_protocol_ftp"
8033 if test x
"$enablestring" = xdisable
; then
8034 if test $wxUSE_PROTOCOL_FTP = yes; then
8040 result
=$wxUSE_PROTOCOL_FTP
8043 { echo "$as_me:$LINENO: result: $result" >&5
8044 echo "${ECHO_T}$result" >&6; }
8048 defaultval
=$wxUSE_ALL_FEATURES
8049 if test -z "$defaultval"; then
8050 if test x
"$enablestring" = xdisable
; then
8057 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_file" >&5
8058 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_file... $ECHO_C" >&6; }
8059 # Check whether --enable-protocol_file was given.
8060 if test "${enable_protocol_file+set}" = set; then
8061 enableval
=$enable_protocol_file;
8062 if test "$enableval" = yes; then
8063 wx_cv_use_protocol_file
='wxUSE_PROTOCOL_FILE=yes'
8065 wx_cv_use_protocol_file
='wxUSE_PROTOCOL_FILE=no'
8070 wx_cv_use_protocol_file
='wxUSE_PROTOCOL_FILE=${'DEFAULT_wxUSE_PROTOCOL_FILE":-$defaultval}"
8075 eval "$wx_cv_use_protocol_file"
8077 if test x"$enablestring" = xdisable; then
8078 if test $wxUSE_PROTOCOL_FILE = yes; then
8084 result=$wxUSE_PROTOCOL_FILE
8087 { echo "$as_me:$LINENO: result: $result" >&5
8088 echo "${ECHO_T}$result" >&6; }
8093 defaultval=$wxUSE_ALL_FEATURES
8094 if test -z "$defaultval"; then
8095 if test x"$enablestring" = xdisable; then
8102 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-threads" >&5
8103 echo $ECHO_N "checking for --${enablestring:-enable}-threads... $ECHO_C" >&6; }
8104 # Check whether --enable-threads was given.
8105 if test "${enable_threads+set}" = set; then
8106 enableval=$enable_threads;
8107 if test "$enableval" = yes; then
8108 wx_cv_use_threads='wxUSE_THREADS
=yes'
8110 wx_cv_use_threads='wxUSE_THREADS
=no
'
8115 wx_cv_use_threads='wxUSE_THREADS
=${'DEFAULT_wxUSE_THREADS":-$defaultval}"
8120 eval "$wx_cv_use_threads"
8122 if test x"$enablestring" = xdisable; then
8123 if test $wxUSE_THREADS = yes; then
8129 result=$wxUSE_THREADS
8132 { echo "$as_me:$LINENO: result
: $result" >&5
8133 echo "${ECHO_T}$result" >&6; }
8139 if test -z "$defaultval"; then
8140 if test x"$enablestring" = xdisable; then
8147 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-iniconf" >&5
8148 echo $ECHO_N "checking
for --${enablestring:-enable}-iniconf...
$ECHO_C" >&6; }
8149 # Check whether --enable-iniconf was given.
8150 if test "${enable_iniconf+set}" = set; then
8151 enableval=$enable_iniconf;
8152 if test "$enableval" = yes; then
8153 wx_cv_use_iniconf='wxUSE_INICONF=yes'
8155 wx_cv_use_iniconf='wxUSE_INICONF=no'
8160 wx_cv_use_iniconf='wxUSE_INICONF=${'DEFAULT_wxUSE_INICONF":-$defaultval}"
8165 eval "$wx_cv_use_iniconf"
8167 if test x
"$enablestring" = xdisable
; then
8168 if test $wxUSE_INICONF = yes; then
8174 result
=$wxUSE_INICONF
8177 { echo "$as_me:$LINENO: result: $result" >&5
8178 echo "${ECHO_T}$result" >&6; }
8182 defaultval
=$wxUSE_ALL_FEATURES
8183 if test -z "$defaultval"; then
8184 if test x
"$enablestring" = xdisable
; then
8191 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-regkey" >&5
8192 echo $ECHO_N "checking for --${enablestring:-enable}-regkey... $ECHO_C" >&6; }
8193 # Check whether --enable-regkey was given.
8194 if test "${enable_regkey+set}" = set; then
8195 enableval
=$enable_regkey;
8196 if test "$enableval" = yes; then
8197 wx_cv_use_regkey
='wxUSE_REGKEY=yes'
8199 wx_cv_use_regkey
='wxUSE_REGKEY=no'
8204 wx_cv_use_regkey
='wxUSE_REGKEY=${'DEFAULT_wxUSE_REGKEY":-$defaultval}"
8209 eval "$wx_cv_use_regkey"
8211 if test x"$enablestring" = xdisable; then
8212 if test $wxUSE_REGKEY = yes; then
8218 result=$wxUSE_REGKEY
8221 { echo "$as_me:$LINENO: result: $result" >&5
8222 echo "${ECHO_T}$result" >&6; }
8225 if test "$wxUSE_GUI" = "yes"; then
8230 defaultval=$wxUSE_ALL_FEATURES
8231 if test -z "$defaultval"; then
8232 if test x"$enablestring" = xdisable; then
8239 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-docview" >&5
8240 echo $ECHO_N "checking for --${enablestring:-enable}-docview... $ECHO_C" >&6; }
8241 # Check whether --enable-docview was given.
8242 if test "${enable_docview+set}" = set; then
8243 enableval=$enable_docview;
8244 if test "$enableval" = yes; then
8245 wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE
=yes'
8247 wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE
=no
'
8252 wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE
=${'DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE":-$defaultval}"
8257 eval "$wx_cv_use_docview"
8259 if test x"$enablestring" = xdisable; then
8260 if test $wxUSE_DOC_VIEW_ARCHITECTURE = yes; then
8266 result=$wxUSE_DOC_VIEW_ARCHITECTURE
8269 { echo "$as_me:$LINENO: result
: $result" >&5
8270 echo "${ECHO_T}$result" >&6; }
8274 defaultval=$wxUSE_ALL_FEATURES
8275 if test -z "$defaultval"; then
8276 if test x"$enablestring" = xdisable; then
8283 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-help" >&5
8284 echo $ECHO_N "checking
for --${enablestring:-enable}-help...
$ECHO_C" >&6; }
8285 # Check whether --enable-help was given.
8286 if test "${enable_help+set}" = set; then
8287 enableval=$enable_help;
8288 if test "$enableval" = yes; then
8289 wx_cv_use_help='wxUSE_HELP=yes'
8291 wx_cv_use_help='wxUSE_HELP=no'
8296 wx_cv_use_help='wxUSE_HELP=${'DEFAULT_wxUSE_HELP":-$defaultval}"
8301 eval "$wx_cv_use_help"
8303 if test x
"$enablestring" = xdisable
; then
8304 if test $wxUSE_HELP = yes; then
8313 { echo "$as_me:$LINENO: result: $result" >&5
8314 echo "${ECHO_T}$result" >&6; }
8318 defaultval
=$wxUSE_ALL_FEATURES
8319 if test -z "$defaultval"; then
8320 if test x
"$enablestring" = xdisable
; then
8327 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mshtmlhelp" >&5
8328 echo $ECHO_N "checking for --${enablestring:-enable}-mshtmlhelp... $ECHO_C" >&6; }
8329 # Check whether --enable-mshtmlhelp was given.
8330 if test "${enable_mshtmlhelp+set}" = set; then
8331 enableval
=$enable_mshtmlhelp;
8332 if test "$enableval" = yes; then
8333 wx_cv_use_mshtmlhelp
='wxUSE_MS_HTML_HELP=yes'
8335 wx_cv_use_mshtmlhelp
='wxUSE_MS_HTML_HELP=no'
8340 wx_cv_use_mshtmlhelp
='wxUSE_MS_HTML_HELP=${'DEFAULT_wxUSE_MS_HTML_HELP":-$defaultval}"
8345 eval "$wx_cv_use_mshtmlhelp"
8347 if test x"$enablestring" = xdisable; then
8348 if test $wxUSE_MS_HTML_HELP = yes; then
8354 result=$wxUSE_MS_HTML_HELP
8357 { echo "$as_me:$LINENO: result: $result" >&5
8358 echo "${ECHO_T}$result" >&6; }
8362 defaultval=$wxUSE_ALL_FEATURES
8363 if test -z "$defaultval"; then
8364 if test x"$enablestring" = xdisable; then
8371 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-html" >&5
8372 echo $ECHO_N "checking for --${enablestring:-enable}-html... $ECHO_C" >&6; }
8373 # Check whether --enable-html was given.
8374 if test "${enable_html+set}" = set; then
8375 enableval=$enable_html;
8376 if test "$enableval" = yes; then
8377 wx_cv_use_html='wxUSE_HTML
=yes'
8379 wx_cv_use_html='wxUSE_HTML
=no
'
8384 wx_cv_use_html='wxUSE_HTML
=${'DEFAULT_wxUSE_HTML":-$defaultval}"
8389 eval "$wx_cv_use_html"
8391 if test x"$enablestring" = xdisable; then
8392 if test $wxUSE_HTML = yes; then
8401 { echo "$as_me:$LINENO: result
: $result" >&5
8402 echo "${ECHO_T}$result" >&6; }
8406 defaultval=$wxUSE_ALL_FEATURES
8407 if test -z "$defaultval"; then
8408 if test x"$enablestring" = xdisable; then
8415 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-htmlhelp" >&5
8416 echo $ECHO_N "checking
for --${enablestring:-enable}-htmlhelp...
$ECHO_C" >&6; }
8417 # Check whether --enable-htmlhelp was given.
8418 if test "${enable_htmlhelp+set}" = set; then
8419 enableval=$enable_htmlhelp;
8420 if test "$enableval" = yes; then
8421 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP=yes'
8423 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP=no'
8428 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP=${'DEFAULT_wxUSE_WXHTML_HELP":-$defaultval}"
8433 eval "$wx_cv_use_htmlhelp"
8435 if test x
"$enablestring" = xdisable
; then
8436 if test $wxUSE_WXHTML_HELP = yes; then
8442 result
=$wxUSE_WXHTML_HELP
8445 { echo "$as_me:$LINENO: result: $result" >&5
8446 echo "${ECHO_T}$result" >&6; }
8450 defaultval
=$wxUSE_ALL_FEATURES
8451 if test -z "$defaultval"; then
8452 if test x
"$enablestring" = xdisable
; then
8459 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xrc" >&5
8460 echo $ECHO_N "checking for --${enablestring:-enable}-xrc... $ECHO_C" >&6; }
8461 # Check whether --enable-xrc was given.
8462 if test "${enable_xrc+set}" = set; then
8463 enableval
=$enable_xrc;
8464 if test "$enableval" = yes; then
8465 wx_cv_use_xrc
='wxUSE_XRC=yes'
8467 wx_cv_use_xrc
='wxUSE_XRC=no'
8472 wx_cv_use_xrc
='wxUSE_XRC=${'DEFAULT_wxUSE_XRC":-$defaultval}"
8477 eval "$wx_cv_use_xrc"
8479 if test x"$enablestring" = xdisable; then
8480 if test $wxUSE_XRC = yes; then
8489 { echo "$as_me:$LINENO: result: $result" >&5
8490 echo "${ECHO_T}$result" >&6; }
8494 defaultval=$wxUSE_ALL_FEATURES
8495 if test -z "$defaultval"; then
8496 if test x"$enablestring" = xdisable; then
8503 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-aui" >&5
8504 echo $ECHO_N "checking for --${enablestring:-enable}-aui... $ECHO_C" >&6; }
8505 # Check whether --enable-aui was given.
8506 if test "${enable_aui+set}" = set; then
8507 enableval=$enable_aui;
8508 if test "$enableval" = yes; then
8509 wx_cv_use_aui='wxUSE_AUI
=yes'
8511 wx_cv_use_aui='wxUSE_AUI
=no
'
8516 wx_cv_use_aui='wxUSE_AUI
=${'DEFAULT_wxUSE_AUI":-$defaultval}"
8521 eval "$wx_cv_use_aui"
8523 if test x"$enablestring" = xdisable; then
8524 if test $wxUSE_AUI = yes; then
8533 { echo "$as_me:$LINENO: result
: $result" >&5
8534 echo "${ECHO_T}$result" >&6; }
8538 defaultval=$wxUSE_ALL_FEATURES
8539 if test -z "$defaultval"; then
8540 if test x"$enablestring" = xdisable; then
8547 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-stc" >&5
8548 echo $ECHO_N "checking
for --${enablestring:-enable}-stc...
$ECHO_C" >&6; }
8549 # Check whether --enable-stc was given.
8550 if test "${enable_stc+set}" = set; then
8551 enableval=$enable_stc;
8552 if test "$enableval" = yes; then
8553 wx_cv_use_stc='wxUSE_STC=yes'
8555 wx_cv_use_stc='wxUSE_STC=no'
8560 wx_cv_use_stc='wxUSE_STC=${'DEFAULT_wxUSE_STC":-$defaultval}"
8565 eval "$wx_cv_use_stc"
8567 if test x
"$enablestring" = xdisable
; then
8568 if test $wxUSE_STC = yes; then
8577 { echo "$as_me:$LINENO: result: $result" >&5
8578 echo "${ECHO_T}$result" >&6; }
8582 defaultval
=$wxUSE_ALL_FEATURES
8583 if test -z "$defaultval"; then
8584 if test x
"$enablestring" = xdisable
; then
8591 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-constraints" >&5
8592 echo $ECHO_N "checking for --${enablestring:-enable}-constraints... $ECHO_C" >&6; }
8593 # Check whether --enable-constraints was given.
8594 if test "${enable_constraints+set}" = set; then
8595 enableval
=$enable_constraints;
8596 if test "$enableval" = yes; then
8597 wx_cv_use_constraints
='wxUSE_CONSTRAINTS=yes'
8599 wx_cv_use_constraints
='wxUSE_CONSTRAINTS=no'
8604 wx_cv_use_constraints
='wxUSE_CONSTRAINTS=${'DEFAULT_wxUSE_CONSTRAINTS":-$defaultval}"
8609 eval "$wx_cv_use_constraints"
8611 if test x"$enablestring" = xdisable; then
8612 if test $wxUSE_CONSTRAINTS = yes; then
8618 result=$wxUSE_CONSTRAINTS
8621 { echo "$as_me:$LINENO: result: $result" >&5
8622 echo "${ECHO_T}$result" >&6; }
8626 defaultval=$wxUSE_ALL_FEATURES
8627 if test -z "$defaultval"; then
8628 if test x"$enablestring" = xdisable; then
8635 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-loggui" >&5
8636 echo $ECHO_N "checking for --${enablestring:-enable}-loggui... $ECHO_C" >&6; }
8637 # Check whether --enable-loggui was given.
8638 if test "${enable_loggui+set}" = set; then
8639 enableval=$enable_loggui;
8640 if test "$enableval" = yes; then
8641 wx_cv_use_loggui='wxUSE_LOGGUI
=yes'
8643 wx_cv_use_loggui='wxUSE_LOGGUI
=no
'
8648 wx_cv_use_loggui='wxUSE_LOGGUI
=${'DEFAULT_wxUSE_LOGGUI":-$defaultval}"
8653 eval "$wx_cv_use_loggui"
8655 if test x"$enablestring" = xdisable; then
8656 if test $wxUSE_LOGGUI = yes; then
8662 result=$wxUSE_LOGGUI
8665 { echo "$as_me:$LINENO: result
: $result" >&5
8666 echo "${ECHO_T}$result" >&6; }
8670 defaultval=$wxUSE_ALL_FEATURES
8671 if test -z "$defaultval"; then
8672 if test x"$enablestring" = xdisable; then
8679 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-logwin" >&5
8680 echo $ECHO_N "checking
for --${enablestring:-enable}-logwin...
$ECHO_C" >&6; }
8681 # Check whether --enable-logwin was given.
8682 if test "${enable_logwin+set}" = set; then
8683 enableval=$enable_logwin;
8684 if test "$enableval" = yes; then
8685 wx_cv_use_logwin='wxUSE_LOGWINDOW=yes'
8687 wx_cv_use_logwin='wxUSE_LOGWINDOW=no'
8692 wx_cv_use_logwin='wxUSE_LOGWINDOW=${'DEFAULT_wxUSE_LOGWINDOW":-$defaultval}"
8697 eval "$wx_cv_use_logwin"
8699 if test x
"$enablestring" = xdisable
; then
8700 if test $wxUSE_LOGWINDOW = yes; then
8706 result
=$wxUSE_LOGWINDOW
8709 { echo "$as_me:$LINENO: result: $result" >&5
8710 echo "${ECHO_T}$result" >&6; }
8714 defaultval
=$wxUSE_ALL_FEATURES
8715 if test -z "$defaultval"; then
8716 if test x
"$enablestring" = xdisable
; then
8723 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logdialog" >&5
8724 echo $ECHO_N "checking for --${enablestring:-enable}-logdialog... $ECHO_C" >&6; }
8725 # Check whether --enable-logdialog was given.
8726 if test "${enable_logdialog+set}" = set; then
8727 enableval
=$enable_logdialog;
8728 if test "$enableval" = yes; then
8729 wx_cv_use_logdialog
='wxUSE_LOGDIALOG=yes'
8731 wx_cv_use_logdialog
='wxUSE_LOGDIALOG=no'
8736 wx_cv_use_logdialog
='wxUSE_LOGDIALOG=${'DEFAULT_wxUSE_LOGDIALOG":-$defaultval}"
8741 eval "$wx_cv_use_logdialog"
8743 if test x"$enablestring" = xdisable; then
8744 if test $wxUSE_LOGDIALOG = yes; then
8750 result=$wxUSE_LOGDIALOG
8753 { echo "$as_me:$LINENO: result: $result" >&5
8754 echo "${ECHO_T}$result" >&6; }
8758 defaultval=$wxUSE_ALL_FEATURES
8759 if test -z "$defaultval"; then
8760 if test x"$enablestring" = xdisable; then
8767 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdi" >&5
8768 echo $ECHO_N "checking for --${enablestring:-enable}-mdi... $ECHO_C" >&6; }
8769 # Check whether --enable-mdi was given.
8770 if test "${enable_mdi+set}" = set; then
8771 enableval=$enable_mdi;
8772 if test "$enableval" = yes; then
8773 wx_cv_use_mdi='wxUSE_MDI
=yes'
8775 wx_cv_use_mdi='wxUSE_MDI
=no
'
8780 wx_cv_use_mdi='wxUSE_MDI
=${'DEFAULT_wxUSE_MDI":-$defaultval}"
8785 eval "$wx_cv_use_mdi"
8787 if test x"$enablestring" = xdisable; then
8788 if test $wxUSE_MDI = yes; then
8797 { echo "$as_me:$LINENO: result
: $result" >&5
8798 echo "${ECHO_T}$result" >&6; }
8802 defaultval=$wxUSE_ALL_FEATURES
8803 if test -z "$defaultval"; then
8804 if test x"$enablestring" = xdisable; then
8811 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-mdidoc" >&5
8812 echo $ECHO_N "checking
for --${enablestring:-enable}-mdidoc...
$ECHO_C" >&6; }
8813 # Check whether --enable-mdidoc was given.
8814 if test "${enable_mdidoc+set}" = set; then
8815 enableval=$enable_mdidoc;
8816 if test "$enableval" = yes; then
8817 wx_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=yes'
8819 wx_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=no'
8824 wx_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=${'DEFAULT_wxUSE_MDI_ARCHITECTURE":-$defaultval}"
8829 eval "$wx_cv_use_mdidoc"
8831 if test x
"$enablestring" = xdisable
; then
8832 if test $wxUSE_MDI_ARCHITECTURE = yes; then
8838 result
=$wxUSE_MDI_ARCHITECTURE
8841 { echo "$as_me:$LINENO: result: $result" >&5
8842 echo "${ECHO_T}$result" >&6; }
8846 defaultval
=$wxUSE_ALL_FEATURES
8847 if test -z "$defaultval"; then
8848 if test x
"$enablestring" = xdisable
; then
8855 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mediactrl" >&5
8856 echo $ECHO_N "checking for --${enablestring:-enable}-mediactrl... $ECHO_C" >&6; }
8857 # Check whether --enable-mediactrl was given.
8858 if test "${enable_mediactrl+set}" = set; then
8859 enableval
=$enable_mediactrl;
8860 if test "$enableval" = yes; then
8861 wx_cv_use_mediactrl
='wxUSE_MEDIACTRL=yes'
8863 wx_cv_use_mediactrl
='wxUSE_MEDIACTRL=no'
8868 wx_cv_use_mediactrl
='wxUSE_MEDIACTRL=${'DEFAULT_wxUSE_MEDIACTRL":-$defaultval}"
8873 eval "$wx_cv_use_mediactrl"
8875 if test x"$enablestring" = xdisable; then
8876 if test $wxUSE_MEDIACTRL = yes; then
8882 result=$wxUSE_MEDIACTRL
8885 { echo "$as_me:$LINENO: result: $result" >&5
8886 echo "${ECHO_T}$result" >&6; }
8890 defaultval=$wxUSE_ALL_FEATURES
8891 if test -z "$defaultval"; then
8892 if test x"$enablestring" = xdisable; then
8899 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gstreamer8" >&5
8900 echo $ECHO_N "checking for --${enablestring:-enable}-gstreamer8... $ECHO_C" >&6; }
8901 # Check whether --enable-gstreamer8 was given.
8902 if test "${enable_gstreamer8+set}" = set; then
8903 enableval=$enable_gstreamer8;
8904 if test "$enableval" = yes; then
8905 wx_cv_use_gstreamer8='wxUSE_GSTREAMER8
=yes'
8907 wx_cv_use_gstreamer8='wxUSE_GSTREAMER8
=no
'
8912 wx_cv_use_gstreamer8='wxUSE_GSTREAMER8
=${'DEFAULT_wxUSE_GSTREAMER8":-$defaultval}"
8917 eval "$wx_cv_use_gstreamer8"
8919 if test x"$enablestring" = xdisable; then
8920 if test $wxUSE_GSTREAMER8 = yes; then
8926 result=$wxUSE_GSTREAMER8
8929 { echo "$as_me:$LINENO: result
: $result" >&5
8930 echo "${ECHO_T}$result" >&6; }
8934 defaultval=$wxUSE_ALL_FEATURES
8935 if test -z "$defaultval"; then
8936 if test x"$enablestring" = xdisable; then
8943 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-webkit" >&5
8944 echo $ECHO_N "checking
for --${enablestring:-enable}-webkit...
$ECHO_C" >&6; }
8945 # Check whether --enable-webkit was given.
8946 if test "${enable_webkit+set}" = set; then
8947 enableval=$enable_webkit;
8948 if test "$enableval" = yes; then
8949 wx_cv_use_webkit='wxUSE_WEBKIT=yes'
8951 wx_cv_use_webkit='wxUSE_WEBKIT=no'
8956 wx_cv_use_webkit='wxUSE_WEBKIT=${'DEFAULT_wxUSE_WEBKIT":-$defaultval}"
8961 eval "$wx_cv_use_webkit"
8963 if test x
"$enablestring" = xdisable
; then
8964 if test $wxUSE_WEBKIT = yes; then
8970 result
=$wxUSE_WEBKIT
8973 { echo "$as_me:$LINENO: result: $result" >&5
8974 echo "${ECHO_T}$result" >&6; }
8978 defaultval
=$wxUSE_ALL_FEATURES
8979 if test -z "$defaultval"; then
8980 if test x
"$enablestring" = xdisable
; then
8987 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-richtext" >&5
8988 echo $ECHO_N "checking for --${enablestring:-enable}-richtext... $ECHO_C" >&6; }
8989 # Check whether --enable-richtext was given.
8990 if test "${enable_richtext+set}" = set; then
8991 enableval
=$enable_richtext;
8992 if test "$enableval" = yes; then
8993 wx_cv_use_richtext
='wxUSE_RICHTEXT=yes'
8995 wx_cv_use_richtext
='wxUSE_RICHTEXT=no'
9000 wx_cv_use_richtext
='wxUSE_RICHTEXT=${'DEFAULT_wxUSE_RICHTEXT":-$defaultval}"
9005 eval "$wx_cv_use_richtext"
9007 if test x"$enablestring" = xdisable; then
9008 if test $wxUSE_RICHTEXT = yes; then
9014 result=$wxUSE_RICHTEXT
9017 { echo "$as_me:$LINENO: result: $result" >&5
9018 echo "${ECHO_T}$result" >&6; }
9022 defaultval=$wxUSE_ALL_FEATURES
9023 if test -z "$defaultval"; then
9024 if test x"$enablestring" = xdisable; then
9031 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-graphics_ctx" >&5
9032 echo $ECHO_N "checking for --${enablestring:-enable}-graphics_ctx... $ECHO_C" >&6; }
9033 # Check whether --enable-graphics_ctx was given.
9034 if test "${enable_graphics_ctx+set}" = set; then
9035 enableval=$enable_graphics_ctx;
9036 if test "$enableval" = yes; then
9037 wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT
=yes'
9039 wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT
=no
'
9044 wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT
=${'DEFAULT_wxUSE_GRAPHICS_CONTEXT":-$defaultval}"
9049 eval "$wx_cv_use_graphics_ctx"
9051 if test x"$enablestring" = xdisable; then
9052 if test $wxUSE_GRAPHICS_CONTEXT = yes; then
9058 result=$wxUSE_GRAPHICS_CONTEXT
9061 { echo "$as_me:$LINENO: result
: $result" >&5
9062 echo "${ECHO_T}$result" >&6; }
9066 defaultval=$wxUSE_ALL_FEATURES
9067 if test -z "$defaultval"; then
9068 if test x"$enablestring" = xdisable; then
9075 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-postscript" >&5
9076 echo $ECHO_N "checking
for --${enablestring:-enable}-postscript...
$ECHO_C" >&6; }
9077 # Check whether --enable-postscript was given.
9078 if test "${enable_postscript+set}" = set; then
9079 enableval=$enable_postscript;
9080 if test "$enableval" = yes; then
9081 wx_cv_use_postscript='wxUSE_POSTSCRIPT=yes'
9083 wx_cv_use_postscript='wxUSE_POSTSCRIPT=no'
9088 wx_cv_use_postscript='wxUSE_POSTSCRIPT=${'DEFAULT_wxUSE_POSTSCRIPT":-$defaultval}"
9093 eval "$wx_cv_use_postscript"
9095 if test x
"$enablestring" = xdisable
; then
9096 if test $wxUSE_POSTSCRIPT = yes; then
9102 result
=$wxUSE_POSTSCRIPT
9105 { echo "$as_me:$LINENO: result: $result" >&5
9106 echo "${ECHO_T}$result" >&6; }
9110 defaultval
=$wxUSE_ALL_FEATURES
9111 if test -z "$defaultval"; then
9112 if test x
"$enablestring" = xdisable
; then
9119 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printarch" >&5
9120 echo $ECHO_N "checking for --${enablestring:-enable}-printarch... $ECHO_C" >&6; }
9121 # Check whether --enable-printarch was given.
9122 if test "${enable_printarch+set}" = set; then
9123 enableval
=$enable_printarch;
9124 if test "$enableval" = yes; then
9125 wx_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE=yes'
9127 wx_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE=no'
9132 wx_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE=${'DEFAULT_wxUSE_PRINTING_ARCHITECTURE":-$defaultval}"
9137 eval "$wx_cv_use_printarch"
9139 if test x"$enablestring" = xdisable; then
9140 if test $wxUSE_PRINTING_ARCHITECTURE = yes; then
9146 result=$wxUSE_PRINTING_ARCHITECTURE
9149 { echo "$as_me:$LINENO: result: $result" >&5
9150 echo "${ECHO_T}$result" >&6; }
9154 defaultval=$wxUSE_ALL_FEATURES
9155 if test -z "$defaultval"; then
9156 if test x"$enablestring" = xdisable; then
9163 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-svg" >&5
9164 echo $ECHO_N "checking for --${enablestring:-enable}-svg... $ECHO_C" >&6; }
9165 # Check whether --enable-svg was given.
9166 if test "${enable_svg+set}" = set; then
9167 enableval=$enable_svg;
9168 if test "$enableval" = yes; then
9169 wx_cv_use_svg='wxUSE_SVG
=yes'
9171 wx_cv_use_svg='wxUSE_SVG
=no
'
9176 wx_cv_use_svg='wxUSE_SVG
=${'DEFAULT_wxUSE_SVG":-$defaultval}"
9181 eval "$wx_cv_use_svg"
9183 if test x"$enablestring" = xdisable; then
9184 if test $wxUSE_SVG = yes; then
9193 { echo "$as_me:$LINENO: result
: $result" >&5
9194 echo "${ECHO_T}$result" >&6; }
9200 defaultval=$wxUSE_ALL_FEATURES
9201 if test -z "$defaultval"; then
9202 if test x"$enablestring" = xdisable; then
9209 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-clipboard" >&5
9210 echo $ECHO_N "checking
for --${enablestring:-enable}-clipboard...
$ECHO_C" >&6; }
9211 # Check whether --enable-clipboard was given.
9212 if test "${enable_clipboard+set}" = set; then
9213 enableval=$enable_clipboard;
9214 if test "$enableval" = yes; then
9215 wx_cv_use_clipboard='wxUSE_CLIPBOARD=yes'
9217 wx_cv_use_clipboard='wxUSE_CLIPBOARD=no'
9222 wx_cv_use_clipboard='wxUSE_CLIPBOARD=${'DEFAULT_wxUSE_CLIPBOARD":-$defaultval}"
9227 eval "$wx_cv_use_clipboard"
9229 if test x
"$enablestring" = xdisable
; then
9230 if test $wxUSE_CLIPBOARD = yes; then
9236 result
=$wxUSE_CLIPBOARD
9239 { echo "$as_me:$LINENO: result: $result" >&5
9240 echo "${ECHO_T}$result" >&6; }
9244 defaultval
=$wxUSE_ALL_FEATURES
9245 if test -z "$defaultval"; then
9246 if test x
"$enablestring" = xdisable
; then
9253 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dnd" >&5
9254 echo $ECHO_N "checking for --${enablestring:-enable}-dnd... $ECHO_C" >&6; }
9255 # Check whether --enable-dnd was given.
9256 if test "${enable_dnd+set}" = set; then
9257 enableval
=$enable_dnd;
9258 if test "$enableval" = yes; then
9259 wx_cv_use_dnd
='wxUSE_DRAG_AND_DROP=yes'
9261 wx_cv_use_dnd
='wxUSE_DRAG_AND_DROP=no'
9266 wx_cv_use_dnd
='wxUSE_DRAG_AND_DROP=${'DEFAULT_wxUSE_DRAG_AND_DROP":-$defaultval}"
9271 eval "$wx_cv_use_dnd"
9273 if test x"$enablestring" = xdisable; then
9274 if test $wxUSE_DRAG_AND_DROP = yes; then
9280 result=$wxUSE_DRAG_AND_DROP
9283 { echo "$as_me:$LINENO: result: $result" >&5
9284 echo "${ECHO_T}$result" >&6; }
9288 defaultval=$wxUSE_ALL_FEATURES
9289 if test -z "$defaultval"; then
9290 if test x"$enablestring" = xdisable; then
9297 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
9298 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6; }
9299 # Check whether --enable-metafile was given.
9300 if test "${enable_metafile+set}" = set; then
9301 enableval=$enable_metafile;
9302 if test "$enableval" = yes; then
9303 wx_cv_use_metafile='wxUSE_METAFILE
=yes'
9305 wx_cv_use_metafile='wxUSE_METAFILE
=no
'
9310 wx_cv_use_metafile='wxUSE_METAFILE
=${'DEFAULT_wxUSE_METAFILE":-$defaultval}"
9315 eval "$wx_cv_use_metafile"
9317 if test x"$enablestring" = xdisable; then
9318 if test $wxUSE_METAFILE = yes; then
9324 result=$wxUSE_METAFILE
9327 { echo "$as_me:$LINENO: result
: $result" >&5
9328 echo "${ECHO_T}$result" >&6; }
9332 DEFAULT_wxUSE_CONTROLS=none
9334 enablestring=disable
9336 if test -z "$defaultval"; then
9337 if test x"$enablestring" = xdisable; then
9344 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-controls" >&5
9345 echo $ECHO_N "checking
for --${enablestring:-enable}-controls...
$ECHO_C" >&6; }
9346 # Check whether --enable-controls was given.
9347 if test "${enable_controls+set}" = set; then
9348 enableval=$enable_controls;
9349 if test "$enableval" = yes; then
9350 wx_cv_use_controls='wxUSE_CONTROLS=yes'
9352 wx_cv_use_controls='wxUSE_CONTROLS=no'
9357 wx_cv_use_controls='wxUSE_CONTROLS=${'DEFAULT_wxUSE_CONTROLS":-$defaultval}"
9362 eval "$wx_cv_use_controls"
9364 if test x
"$enablestring" = xdisable
; then
9365 if test $wxUSE_CONTROLS = yes; then
9371 result
=$wxUSE_CONTROLS
9374 { echo "$as_me:$LINENO: result: $result" >&5
9375 echo "${ECHO_T}$result" >&6; }
9378 if test "$wxUSE_CONTROLS" = "yes"; then
9379 DEFAULT_wxUSE_ACCEL
=yes
9380 DEFAULT_wxUSE_ANIMATIONCTRL
=yes
9381 DEFAULT_wxUSE_BMPBUTTON
=yes
9382 DEFAULT_wxUSE_BUTTON
=yes
9383 DEFAULT_wxUSE_CALCTRL
=yes
9384 DEFAULT_wxUSE_CARET
=yes
9385 DEFAULT_wxUSE_COMBOBOX
=yes
9386 DEFAULT_wxUSE_CHECKBOX
=yes
9387 DEFAULT_wxUSE_CHECKLISTBOX
=yes
9388 DEFAULT_wxUSE_CHOICE
=yes
9389 DEFAULT_wxUSE_CHOICEBOOK
=yes
9390 DEFAULT_wxUSE_COLLPANE
=yes
9391 DEFAULT_wxUSE_COLOURPICKERCTRL
=yes
9392 DEFAULT_wxUSE_COMBOBOX
=yes
9393 DEFAULT_wxUSE_DATEPICKCTRL
=yes
9394 DEFAULT_wxUSE_DISPLAY
=yes
9395 DEFAULT_wxUSE_DETECT_SM
=yes
9396 DEFAULT_wxUSE_DIRPICKERCTRL
=yes
9397 DEFAULT_wxUSE_FILECTRL
=yes
9398 DEFAULT_wxUSE_FILEPICKERCTRL
=yes
9399 DEFAULT_wxUSE_FONTPICKERCTRL
=yes
9400 DEFAULT_wxUSE_GAUGE
=yes
9401 DEFAULT_wxUSE_GRID
=yes
9402 DEFAULT_wxUSE_HYPERLINKCTRL
=yes
9403 DEFAULT_wxUSE_DATAVIEWCTRL
=yes
9404 DEFAULT_wxUSE_IMAGLIST
=yes
9405 DEFAULT_wxUSE_LISTBOOK
=yes
9406 DEFAULT_wxUSE_LISTBOX
=yes
9407 DEFAULT_wxUSE_LISTCTRL
=yes
9408 DEFAULT_wxUSE_NOTEBOOK
=yes
9409 DEFAULT_wxUSE_RADIOBOX
=yes
9410 DEFAULT_wxUSE_RADIOBTN
=yes
9411 DEFAULT_wxUSE_SASH
=yes
9412 DEFAULT_wxUSE_SCROLLBAR
=yes
9413 DEFAULT_wxUSE_SEARCHCTRL
=yes
9414 DEFAULT_wxUSE_SLIDER
=yes
9415 DEFAULT_wxUSE_SPINBTN
=yes
9416 DEFAULT_wxUSE_SPINCTRL
=yes
9417 DEFAULT_wxUSE_SPLITTER
=yes
9418 DEFAULT_wxUSE_STATBMP
=yes
9419 DEFAULT_wxUSE_STATBOX
=yes
9420 DEFAULT_wxUSE_STATLINE
=yes
9421 DEFAULT_wxUSE_STATUSBAR
=yes
9422 DEFAULT_wxUSE_TAB_DIALOG
=yes
9423 DEFAULT_wxUSE_TOGGLEBTN
=yes
9424 DEFAULT_wxUSE_TOOLBAR
=yes
9425 DEFAULT_wxUSE_TOOLBAR_NATIVE
=yes
9426 DEFAULT_wxUSE_TOOLTIPS
=yes
9427 DEFAULT_wxUSE_TREEBOOK
=yes
9428 DEFAULT_wxUSE_TOOLBOOK
=yes
9429 DEFAULT_wxUSE_TREECTRL
=yes
9430 DEFAULT_wxUSE_POPUPWIN
=yes
9431 DEFAULT_wxUSE_TIPWINDOW
=yes
9432 elif test "$wxUSE_CONTROLS" = "no"; then
9433 DEFAULT_wxUSE_ACCEL
=no
9434 DEFAULT_wxUSE_ANIMATIONCTRL
=no
9435 DEFAULT_wxUSE_BMPBUTTON
=no
9436 DEFAULT_wxUSE_BUTTON
=no
9437 DEFAULT_wxUSE_CALCTRL
=no
9438 DEFAULT_wxUSE_CARET
=no
9439 DEFAULT_wxUSE_COLLPANE
=no
9440 DEFAULT_wxUSE_COMBOBOX
=no
9441 DEFAULT_wxUSE_CHECKBOX
=no
9442 DEFAULT_wxUSE_CHECKLISTBOX
=no
9443 DEFAULT_wxUSE_CHOICE
=no
9444 DEFAULT_wxUSE_CHOICEBOOK
=no
9445 DEFAULT_wxUSE_COLOURPICKERCTRL
=no
9446 DEFAULT_wxUSE_COMBOBOX
=no
9447 DEFAULT_wxUSE_DATEPICKCTRL
=no
9448 DEFAULT_wxUSE_DISPLAY
=no
9449 DEFAULT_wxUSE_DETECT_SM
=no
9450 DEFAULT_wxUSE_DIRPICKERCTRL
=no
9451 DEFAULT_wxUSE_FILECTRL
=no
9452 DEFAULT_wxUSE_FILEPICKERCTRL
=no
9453 DEFAULT_wxUSE_FONTPICKERCTRL
=no
9454 DEFAULT_wxUSE_GAUGE
=no
9455 DEFAULT_wxUSE_GRID
=no
9456 DEFAULT_wxUSE_HYPERLINKCTRL
=no
9457 DEFAULT_wxUSE_DATAVIEWCTRL
=no
9458 DEFAULT_wxUSE_IMAGLIST
=no
9459 DEFAULT_wxUSE_LISTBOOK
=no
9460 DEFAULT_wxUSE_LISTBOX
=no
9461 DEFAULT_wxUSE_LISTCTRL
=no
9462 DEFAULT_wxUSE_NOTEBOOK
=no
9463 DEFAULT_wxUSE_RADIOBOX
=no
9464 DEFAULT_wxUSE_RADIOBTN
=no
9465 DEFAULT_wxUSE_SASH
=no
9466 DEFAULT_wxUSE_SCROLLBAR
=no
9467 DEFAULT_wxUSE_SEARCHCTRL
=no
9468 DEFAULT_wxUSE_SLIDER
=no
9469 DEFAULT_wxUSE_SPINBTN
=no
9470 DEFAULT_wxUSE_SPINCTRL
=no
9471 DEFAULT_wxUSE_SPLITTER
=no
9472 DEFAULT_wxUSE_STATBMP
=no
9473 DEFAULT_wxUSE_STATBOX
=no
9474 DEFAULT_wxUSE_STATLINE
=no
9475 DEFAULT_wxUSE_STATUSBAR
=no
9476 DEFAULT_wxUSE_TAB_DIALOG
=no
9477 DEFAULT_wxUSE_TOGGLEBTN
=no
9478 DEFAULT_wxUSE_TOOLBAR
=no
9479 DEFAULT_wxUSE_TOOLBAR_NATIVE
=no
9480 DEFAULT_wxUSE_TOOLTIPS
=no
9481 DEFAULT_wxUSE_TREEBOOK
=no
9482 DEFAULT_wxUSE_TOOLBOOK
=no
9483 DEFAULT_wxUSE_TREECTRL
=no
9484 DEFAULT_wxUSE_POPUPWIN
=no
9485 DEFAULT_wxUSE_TIPWINDOW
=no
9490 defaultval
=$wxUSE_ALL_FEATURES
9491 if test -z "$defaultval"; then
9492 if test x
"$enablestring" = xdisable
; then
9499 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accel" >&5
9500 echo $ECHO_N "checking for --${enablestring:-enable}-accel... $ECHO_C" >&6; }
9501 # Check whether --enable-accel was given.
9502 if test "${enable_accel+set}" = set; then
9503 enableval
=$enable_accel;
9504 if test "$enableval" = yes; then
9505 wx_cv_use_accel
='wxUSE_ACCEL=yes'
9507 wx_cv_use_accel
='wxUSE_ACCEL=no'
9512 wx_cv_use_accel
='wxUSE_ACCEL=${'DEFAULT_wxUSE_ACCEL":-$defaultval}"
9517 eval "$wx_cv_use_accel"
9519 if test x"$enablestring" = xdisable; then
9520 if test $wxUSE_ACCEL = yes; then
9529 { echo "$as_me:$LINENO: result: $result" >&5
9530 echo "${ECHO_T}$result" >&6; }
9534 defaultval=$wxUSE_ALL_FEATURES
9535 if test -z "$defaultval"; then
9536 if test x"$enablestring" = xdisable; then
9543 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-animatectrl" >&5
9544 echo $ECHO_N "checking for --${enablestring:-enable}-animatectrl... $ECHO_C" >&6; }
9545 # Check whether --enable-animatectrl was given.
9546 if test "${enable_animatectrl+set}" = set; then
9547 enableval=$enable_animatectrl;
9548 if test "$enableval" = yes; then
9549 wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL
=yes'
9551 wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL
=no
'
9556 wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL
=${'DEFAULT_wxUSE_ANIMATIONCTRL":-$defaultval}"
9561 eval "$wx_cv_use_animatectrl"
9563 if test x"$enablestring" = xdisable; then
9564 if test $wxUSE_ANIMATIONCTRL = yes; then
9570 result=$wxUSE_ANIMATIONCTRL
9573 { echo "$as_me:$LINENO: result
: $result" >&5
9574 echo "${ECHO_T}$result" >&6; }
9578 defaultval=$wxUSE_ALL_FEATURES
9579 if test -z "$defaultval"; then
9580 if test x"$enablestring" = xdisable; then
9587 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-button" >&5
9588 echo $ECHO_N "checking
for --${enablestring:-enable}-button...
$ECHO_C" >&6; }
9589 # Check whether --enable-button was given.
9590 if test "${enable_button+set}" = set; then
9591 enableval=$enable_button;
9592 if test "$enableval" = yes; then
9593 wx_cv_use_button='wxUSE_BUTTON=yes'
9595 wx_cv_use_button='wxUSE_BUTTON=no'
9600 wx_cv_use_button='wxUSE_BUTTON=${'DEFAULT_wxUSE_BUTTON":-$defaultval}"
9605 eval "$wx_cv_use_button"
9607 if test x
"$enablestring" = xdisable
; then
9608 if test $wxUSE_BUTTON = yes; then
9614 result
=$wxUSE_BUTTON
9617 { echo "$as_me:$LINENO: result: $result" >&5
9618 echo "${ECHO_T}$result" >&6; }
9622 defaultval
=$wxUSE_ALL_FEATURES
9623 if test -z "$defaultval"; then
9624 if test x
"$enablestring" = xdisable
; then
9631 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpbutton" >&5
9632 echo $ECHO_N "checking for --${enablestring:-enable}-bmpbutton... $ECHO_C" >&6; }
9633 # Check whether --enable-bmpbutton was given.
9634 if test "${enable_bmpbutton+set}" = set; then
9635 enableval
=$enable_bmpbutton;
9636 if test "$enableval" = yes; then
9637 wx_cv_use_bmpbutton
='wxUSE_BMPBUTTON=yes'
9639 wx_cv_use_bmpbutton
='wxUSE_BMPBUTTON=no'
9644 wx_cv_use_bmpbutton
='wxUSE_BMPBUTTON=${'DEFAULT_wxUSE_BMPBUTTON":-$defaultval}"
9649 eval "$wx_cv_use_bmpbutton"
9651 if test x"$enablestring" = xdisable; then
9652 if test $wxUSE_BMPBUTTON = yes; then
9658 result=$wxUSE_BMPBUTTON
9661 { echo "$as_me:$LINENO: result: $result" >&5
9662 echo "${ECHO_T}$result" >&6; }
9666 defaultval=$wxUSE_ALL_FEATURES
9667 if test -z "$defaultval"; then
9668 if test x"$enablestring" = xdisable; then
9675 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpcombobox" >&5
9676 echo $ECHO_N "checking for --${enablestring:-enable}-bmpcombobox... $ECHO_C" >&6; }
9677 # Check whether --enable-bmpcombobox was given.
9678 if test "${enable_bmpcombobox+set}" = set; then
9679 enableval=$enable_bmpcombobox;
9680 if test "$enableval" = yes; then
9681 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX
=yes'
9683 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX
=no
'
9688 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX
=${'DEFAULT_wxUSE_BITMAPCOMBOBOX":-$defaultval}"
9693 eval "$wx_cv_use_bmpcombobox"
9695 if test x"$enablestring" = xdisable; then
9696 if test $wxUSE_BITMAPCOMBOBOX = yes; then
9702 result=$wxUSE_BITMAPCOMBOBOX
9705 { echo "$as_me:$LINENO: result
: $result" >&5
9706 echo "${ECHO_T}$result" >&6; }
9710 defaultval=$wxUSE_ALL_FEATURES
9711 if test -z "$defaultval"; then
9712 if test x"$enablestring" = xdisable; then
9719 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-calendar" >&5
9720 echo $ECHO_N "checking
for --${enablestring:-enable}-calendar...
$ECHO_C" >&6; }
9721 # Check whether --enable-calendar was given.
9722 if test "${enable_calendar+set}" = set; then
9723 enableval=$enable_calendar;
9724 if test "$enableval" = yes; then
9725 wx_cv_use_calendar='wxUSE_CALCTRL=yes'
9727 wx_cv_use_calendar='wxUSE_CALCTRL=no'
9732 wx_cv_use_calendar='wxUSE_CALCTRL=${'DEFAULT_wxUSE_CALCTRL":-$defaultval}"
9737 eval "$wx_cv_use_calendar"
9739 if test x
"$enablestring" = xdisable
; then
9740 if test $wxUSE_CALCTRL = yes; then
9746 result
=$wxUSE_CALCTRL
9749 { echo "$as_me:$LINENO: result: $result" >&5
9750 echo "${ECHO_T}$result" >&6; }
9754 defaultval
=$wxUSE_ALL_FEATURES
9755 if test -z "$defaultval"; then
9756 if test x
"$enablestring" = xdisable
; then
9763 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-caret" >&5
9764 echo $ECHO_N "checking for --${enablestring:-enable}-caret... $ECHO_C" >&6; }
9765 # Check whether --enable-caret was given.
9766 if test "${enable_caret+set}" = set; then
9767 enableval
=$enable_caret;
9768 if test "$enableval" = yes; then
9769 wx_cv_use_caret
='wxUSE_CARET=yes'
9771 wx_cv_use_caret
='wxUSE_CARET=no'
9776 wx_cv_use_caret
='wxUSE_CARET=${'DEFAULT_wxUSE_CARET":-$defaultval}"
9781 eval "$wx_cv_use_caret"
9783 if test x"$enablestring" = xdisable; then
9784 if test $wxUSE_CARET = yes; then
9793 { echo "$as_me:$LINENO: result: $result" >&5
9794 echo "${ECHO_T}$result" >&6; }
9798 defaultval=$wxUSE_ALL_FEATURES
9799 if test -z "$defaultval"; then
9800 if test x"$enablestring" = xdisable; then
9807 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checkbox" >&5
9808 echo $ECHO_N "checking for --${enablestring:-enable}-checkbox... $ECHO_C" >&6; }
9809 # Check whether --enable-checkbox was given.
9810 if test "${enable_checkbox+set}" = set; then
9811 enableval=$enable_checkbox;
9812 if test "$enableval" = yes; then
9813 wx_cv_use_checkbox='wxUSE_CHECKBOX
=yes'
9815 wx_cv_use_checkbox='wxUSE_CHECKBOX
=no
'
9820 wx_cv_use_checkbox='wxUSE_CHECKBOX
=${'DEFAULT_wxUSE_CHECKBOX":-$defaultval}"
9825 eval "$wx_cv_use_checkbox"
9827 if test x"$enablestring" = xdisable; then
9828 if test $wxUSE_CHECKBOX = yes; then
9834 result=$wxUSE_CHECKBOX
9837 { echo "$as_me:$LINENO: result
: $result" >&5
9838 echo "${ECHO_T}$result" >&6; }
9842 defaultval=$wxUSE_ALL_FEATURES
9843 if test -z "$defaultval"; then
9844 if test x"$enablestring" = xdisable; then
9851 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-checklst" >&5
9852 echo $ECHO_N "checking
for --${enablestring:-enable}-checklst...
$ECHO_C" >&6; }
9853 # Check whether --enable-checklst was given.
9854 if test "${enable_checklst+set}" = set; then
9855 enableval=$enable_checklst;
9856 if test "$enableval" = yes; then
9857 wx_cv_use_checklst='wxUSE_CHECKLST=yes'
9859 wx_cv_use_checklst='wxUSE_CHECKLST=no'
9864 wx_cv_use_checklst='wxUSE_CHECKLST=${'DEFAULT_wxUSE_CHECKLST":-$defaultval}"
9869 eval "$wx_cv_use_checklst"
9871 if test x
"$enablestring" = xdisable
; then
9872 if test $wxUSE_CHECKLST = yes; then
9878 result
=$wxUSE_CHECKLST
9881 { echo "$as_me:$LINENO: result: $result" >&5
9882 echo "${ECHO_T}$result" >&6; }
9886 defaultval
=$wxUSE_ALL_FEATURES
9887 if test -z "$defaultval"; then
9888 if test x
"$enablestring" = xdisable
; then
9895 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choice" >&5
9896 echo $ECHO_N "checking for --${enablestring:-enable}-choice... $ECHO_C" >&6; }
9897 # Check whether --enable-choice was given.
9898 if test "${enable_choice+set}" = set; then
9899 enableval
=$enable_choice;
9900 if test "$enableval" = yes; then
9901 wx_cv_use_choice
='wxUSE_CHOICE=yes'
9903 wx_cv_use_choice
='wxUSE_CHOICE=no'
9908 wx_cv_use_choice
='wxUSE_CHOICE=${'DEFAULT_wxUSE_CHOICE":-$defaultval}"
9913 eval "$wx_cv_use_choice"
9915 if test x"$enablestring" = xdisable; then
9916 if test $wxUSE_CHOICE = yes; then
9922 result=$wxUSE_CHOICE
9925 { echo "$as_me:$LINENO: result: $result" >&5
9926 echo "${ECHO_T}$result" >&6; }
9930 defaultval=$wxUSE_ALL_FEATURES
9931 if test -z "$defaultval"; then
9932 if test x"$enablestring" = xdisable; then
9939 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicebook" >&5
9940 echo $ECHO_N "checking for --${enablestring:-enable}-choicebook... $ECHO_C" >&6; }
9941 # Check whether --enable-choicebook was given.
9942 if test "${enable_choicebook+set}" = set; then
9943 enableval=$enable_choicebook;
9944 if test "$enableval" = yes; then
9945 wx_cv_use_choicebook='wxUSE_CHOICEBOOK
=yes'
9947 wx_cv_use_choicebook='wxUSE_CHOICEBOOK
=no
'
9952 wx_cv_use_choicebook='wxUSE_CHOICEBOOK
=${'DEFAULT_wxUSE_CHOICEBOOK":-$defaultval}"
9957 eval "$wx_cv_use_choicebook"
9959 if test x"$enablestring" = xdisable; then
9960 if test $wxUSE_CHOICEBOOK = yes; then
9966 result=$wxUSE_CHOICEBOOK
9969 { echo "$as_me:$LINENO: result
: $result" >&5
9970 echo "${ECHO_T}$result" >&6; }
9974 defaultval=$wxUSE_ALL_FEATURES
9975 if test -z "$defaultval"; then
9976 if test x"$enablestring" = xdisable; then
9983 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-collpane" >&5
9984 echo $ECHO_N "checking
for --${enablestring:-enable}-collpane...
$ECHO_C" >&6; }
9985 # Check whether --enable-collpane was given.
9986 if test "${enable_collpane+set}" = set; then
9987 enableval=$enable_collpane;
9988 if test "$enableval" = yes; then
9989 wx_cv_use_collpane='wxUSE_COLLPANE=yes'
9991 wx_cv_use_collpane='wxUSE_COLLPANE=no'
9996 wx_cv_use_collpane='wxUSE_COLLPANE=${'DEFAULT_wxUSE_COLLPANE":-$defaultval}"
10001 eval "$wx_cv_use_collpane"
10003 if test x
"$enablestring" = xdisable
; then
10004 if test $wxUSE_COLLPANE = yes; then
10010 result
=$wxUSE_COLLPANE
10013 { echo "$as_me:$LINENO: result: $result" >&5
10014 echo "${ECHO_T}$result" >&6; }
10018 defaultval
=$wxUSE_ALL_FEATURES
10019 if test -z "$defaultval"; then
10020 if test x
"$enablestring" = xdisable
; then
10027 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-colourpicker" >&5
10028 echo $ECHO_N "checking for --${enablestring:-enable}-colourpicker... $ECHO_C" >&6; }
10029 # Check whether --enable-colourpicker was given.
10030 if test "${enable_colourpicker+set}" = set; then
10031 enableval
=$enable_colourpicker;
10032 if test "$enableval" = yes; then
10033 wx_cv_use_colourpicker
='wxUSE_COLOURPICKERCTRL=yes'
10035 wx_cv_use_colourpicker
='wxUSE_COLOURPICKERCTRL=no'
10040 wx_cv_use_colourpicker
='wxUSE_COLOURPICKERCTRL=${'DEFAULT_wxUSE_COLOURPICKERCTRL":-$defaultval}"
10045 eval "$wx_cv_use_colourpicker"
10047 if test x"$enablestring" = xdisable; then
10048 if test $wxUSE_COLOURPICKERCTRL = yes; then
10054 result=$wxUSE_COLOURPICKERCTRL
10057 { echo "$as_me:$LINENO: result: $result" >&5
10058 echo "${ECHO_T}$result" >&6; }
10062 defaultval=$wxUSE_ALL_FEATURES
10063 if test -z "$defaultval"; then
10064 if test x"$enablestring" = xdisable; then
10071 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-combobox" >&5
10072 echo $ECHO_N "checking for --${enablestring:-enable}-combobox... $ECHO_C" >&6; }
10073 # Check whether --enable-combobox was given.
10074 if test "${enable_combobox+set}" = set; then
10075 enableval=$enable_combobox;
10076 if test "$enableval" = yes; then
10077 wx_cv_use_combobox='wxUSE_COMBOBOX
=yes'
10079 wx_cv_use_combobox='wxUSE_COMBOBOX
=no
'
10084 wx_cv_use_combobox='wxUSE_COMBOBOX
=${'DEFAULT_wxUSE_COMBOBOX":-$defaultval}"
10089 eval "$wx_cv_use_combobox"
10091 if test x"$enablestring" = xdisable; then
10092 if test $wxUSE_COMBOBOX = yes; then
10098 result=$wxUSE_COMBOBOX
10101 { echo "$as_me:$LINENO: result
: $result" >&5
10102 echo "${ECHO_T}$result" >&6; }
10106 defaultval=$wxUSE_ALL_FEATURES
10107 if test -z "$defaultval"; then
10108 if test x"$enablestring" = xdisable; then
10115 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-comboctrl" >&5
10116 echo $ECHO_N "checking
for --${enablestring:-enable}-comboctrl...
$ECHO_C" >&6; }
10117 # Check whether --enable-comboctrl was given.
10118 if test "${enable_comboctrl+set}" = set; then
10119 enableval=$enable_comboctrl;
10120 if test "$enableval" = yes; then
10121 wx_cv_use_comboctrl='wxUSE_COMBOCTRL=yes'
10123 wx_cv_use_comboctrl='wxUSE_COMBOCTRL=no'
10128 wx_cv_use_comboctrl='wxUSE_COMBOCTRL=${'DEFAULT_wxUSE_COMBOCTRL":-$defaultval}"
10133 eval "$wx_cv_use_comboctrl"
10135 if test x
"$enablestring" = xdisable
; then
10136 if test $wxUSE_COMBOCTRL = yes; then
10142 result
=$wxUSE_COMBOCTRL
10145 { echo "$as_me:$LINENO: result: $result" >&5
10146 echo "${ECHO_T}$result" >&6; }
10150 defaultval
=$wxUSE_ALL_FEATURES
10151 if test -z "$defaultval"; then
10152 if test x
"$enablestring" = xdisable
; then
10159 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datepick" >&5
10160 echo $ECHO_N "checking for --${enablestring:-enable}-datepick... $ECHO_C" >&6; }
10161 # Check whether --enable-datepick was given.
10162 if test "${enable_datepick+set}" = set; then
10163 enableval
=$enable_datepick;
10164 if test "$enableval" = yes; then
10165 wx_cv_use_datepick
='wxUSE_DATEPICKCTRL=yes'
10167 wx_cv_use_datepick
='wxUSE_DATEPICKCTRL=no'
10172 wx_cv_use_datepick
='wxUSE_DATEPICKCTRL=${'DEFAULT_wxUSE_DATEPICKCTRL":-$defaultval}"
10177 eval "$wx_cv_use_datepick"
10179 if test x"$enablestring" = xdisable; then
10180 if test $wxUSE_DATEPICKCTRL = yes; then
10186 result=$wxUSE_DATEPICKCTRL
10189 { echo "$as_me:$LINENO: result: $result" >&5
10190 echo "${ECHO_T}$result" >&6; }
10194 defaultval=$wxUSE_ALL_FEATURES
10195 if test -z "$defaultval"; then
10196 if test x"$enablestring" = xdisable; then
10203 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirpicker" >&5
10204 echo $ECHO_N "checking for --${enablestring:-enable}-dirpicker... $ECHO_C" >&6; }
10205 # Check whether --enable-dirpicker was given.
10206 if test "${enable_dirpicker+set}" = set; then
10207 enableval=$enable_dirpicker;
10208 if test "$enableval" = yes; then
10209 wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL
=yes'
10211 wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL
=no
'
10216 wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL
=${'DEFAULT_wxUSE_DIRPICKERCTRL":-$defaultval}"
10221 eval "$wx_cv_use_dirpicker"
10223 if test x"$enablestring" = xdisable; then
10224 if test $wxUSE_DIRPICKERCTRL = yes; then
10230 result=$wxUSE_DIRPICKERCTRL
10233 { echo "$as_me:$LINENO: result
: $result" >&5
10234 echo "${ECHO_T}$result" >&6; }
10238 defaultval=$wxUSE_ALL_FEATURES
10239 if test -z "$defaultval"; then
10240 if test x"$enablestring" = xdisable; then
10247 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-display" >&5
10248 echo $ECHO_N "checking
for --${enablestring:-enable}-display...
$ECHO_C" >&6; }
10249 # Check whether --enable-display was given.
10250 if test "${enable_display+set}" = set; then
10251 enableval=$enable_display;
10252 if test "$enableval" = yes; then
10253 wx_cv_use_display='wxUSE_DISPLAY=yes'
10255 wx_cv_use_display='wxUSE_DISPLAY=no'
10260 wx_cv_use_display='wxUSE_DISPLAY=${'DEFAULT_wxUSE_DISPLAY":-$defaultval}"
10265 eval "$wx_cv_use_display"
10267 if test x
"$enablestring" = xdisable
; then
10268 if test $wxUSE_DISPLAY = yes; then
10274 result
=$wxUSE_DISPLAY
10277 { echo "$as_me:$LINENO: result: $result" >&5
10278 echo "${ECHO_T}$result" >&6; }
10282 defaultval
=$wxUSE_ALL_FEATURES
10283 if test -z "$defaultval"; then
10284 if test x
"$enablestring" = xdisable
; then
10291 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-detect_sm" >&5
10292 echo $ECHO_N "checking for --${enablestring:-enable}-detect_sm... $ECHO_C" >&6; }
10293 # Check whether --enable-detect_sm was given.
10294 if test "${enable_detect_sm+set}" = set; then
10295 enableval
=$enable_detect_sm;
10296 if test "$enableval" = yes; then
10297 wx_cv_use_detect_sm
='wxUSE_DETECT_SM=yes'
10299 wx_cv_use_detect_sm
='wxUSE_DETECT_SM=no'
10304 wx_cv_use_detect_sm
='wxUSE_DETECT_SM=${'DEFAULT_wxUSE_DETECT_SM":-$defaultval}"
10309 eval "$wx_cv_use_detect_sm"
10311 if test x"$enablestring" = xdisable; then
10312 if test $wxUSE_DETECT_SM = yes; then
10318 result=$wxUSE_DETECT_SM
10321 { echo "$as_me:$LINENO: result: $result" >&5
10322 echo "${ECHO_T}$result" >&6; }
10326 defaultval=$wxUSE_ALL_FEATURES
10327 if test -z "$defaultval"; then
10328 if test x"$enablestring" = xdisable; then
10335 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-editablebox" >&5
10336 echo $ECHO_N "checking for --${enablestring:-enable}-editablebox... $ECHO_C" >&6; }
10337 # Check whether --enable-editablebox was given.
10338 if test "${enable_editablebox+set}" = set; then
10339 enableval=$enable_editablebox;
10340 if test "$enableval" = yes; then
10341 wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX
=yes'
10343 wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX
=no
'
10348 wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX
=${'DEFAULT_wxUSE_EDITABLELISTBOX":-$defaultval}"
10353 eval "$wx_cv_use_editablebox"
10355 if test x"$enablestring" = xdisable; then
10356 if test $wxUSE_EDITABLELISTBOX = yes; then
10362 result=$wxUSE_EDITABLELISTBOX
10365 { echo "$as_me:$LINENO: result
: $result" >&5
10366 echo "${ECHO_T}$result" >&6; }
10370 defaultval=$wxUSE_ALL_FEATURES
10371 if test -z "$defaultval"; then
10372 if test x"$enablestring" = xdisable; then
10379 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-filepicker" >&5
10380 echo $ECHO_N "checking
for --${enablestring:-enable}-filepicker...
$ECHO_C" >&6; }
10381 # Check whether --enable-filepicker was given.
10382 if test "${enable_filepicker+set}" = set; then
10383 enableval=$enable_filepicker;
10384 if test "$enableval" = yes; then
10385 wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL=yes'
10387 wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL=no'
10392 wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL=${'DEFAULT_wxUSE_FILEPICKERCTRL":-$defaultval}"
10397 eval "$wx_cv_use_filepicker"
10399 if test x
"$enablestring" = xdisable
; then
10400 if test $wxUSE_FILEPICKERCTRL = yes; then
10406 result
=$wxUSE_FILEPICKERCTRL
10409 { echo "$as_me:$LINENO: result: $result" >&5
10410 echo "${ECHO_T}$result" >&6; }
10414 defaultval
=$wxUSE_ALL_FEATURES
10415 if test -z "$defaultval"; then
10416 if test x
"$enablestring" = xdisable
; then
10423 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filectrl" >&5
10424 echo $ECHO_N "checking for --${enablestring:-enable}-filectrl... $ECHO_C" >&6; }
10425 # Check whether --enable-filectrl was given.
10426 if test "${enable_filectrl+set}" = set; then
10427 enableval
=$enable_filectrl;
10428 if test "$enableval" = yes; then
10429 wx_cv_use_filectrl
='wxUSE_FILECTRL=yes'
10431 wx_cv_use_filectrl
='wxUSE_FILECTRL=no'
10436 wx_cv_use_filectrl
='wxUSE_FILECTRL=${'DEFAULT_wxUSE_FILECTRL":-$defaultval}"
10441 eval "$wx_cv_use_filectrl"
10443 if test x"$enablestring" = xdisable; then
10444 if test $wxUSE_FILECTRL = yes; then
10450 result=$wxUSE_FILECTRL
10453 { echo "$as_me:$LINENO: result: $result" >&5
10454 echo "${ECHO_T}$result" >&6; }
10458 defaultval=$wxUSE_ALL_FEATURES
10459 if test -z "$defaultval"; then
10460 if test x"$enablestring" = xdisable; then
10467 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontpicker" >&5
10468 echo $ECHO_N "checking for --${enablestring:-enable}-fontpicker... $ECHO_C" >&6; }
10469 # Check whether --enable-fontpicker was given.
10470 if test "${enable_fontpicker+set}" = set; then
10471 enableval=$enable_fontpicker;
10472 if test "$enableval" = yes; then
10473 wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL
=yes'
10475 wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL
=no
'
10480 wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL
=${'DEFAULT_wxUSE_FONTPICKERCTRL":-$defaultval}"
10485 eval "$wx_cv_use_fontpicker"
10487 if test x"$enablestring" = xdisable; then
10488 if test $wxUSE_FONTPICKERCTRL = yes; then
10494 result=$wxUSE_FONTPICKERCTRL
10497 { echo "$as_me:$LINENO: result
: $result" >&5
10498 echo "${ECHO_T}$result" >&6; }
10502 defaultval=$wxUSE_ALL_FEATURES
10503 if test -z "$defaultval"; then
10504 if test x"$enablestring" = xdisable; then
10511 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-gauge" >&5
10512 echo $ECHO_N "checking
for --${enablestring:-enable}-gauge...
$ECHO_C" >&6; }
10513 # Check whether --enable-gauge was given.
10514 if test "${enable_gauge+set}" = set; then
10515 enableval=$enable_gauge;
10516 if test "$enableval" = yes; then
10517 wx_cv_use_gauge='wxUSE_GAUGE=yes'
10519 wx_cv_use_gauge='wxUSE_GAUGE=no'
10524 wx_cv_use_gauge='wxUSE_GAUGE=${'DEFAULT_wxUSE_GAUGE":-$defaultval}"
10529 eval "$wx_cv_use_gauge"
10531 if test x
"$enablestring" = xdisable
; then
10532 if test $wxUSE_GAUGE = yes; then
10538 result
=$wxUSE_GAUGE
10541 { echo "$as_me:$LINENO: result: $result" >&5
10542 echo "${ECHO_T}$result" >&6; }
10546 defaultval
=$wxUSE_ALL_FEATURES
10547 if test -z "$defaultval"; then
10548 if test x
"$enablestring" = xdisable
; then
10555 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-grid" >&5
10556 echo $ECHO_N "checking for --${enablestring:-enable}-grid... $ECHO_C" >&6; }
10557 # Check whether --enable-grid was given.
10558 if test "${enable_grid+set}" = set; then
10559 enableval
=$enable_grid;
10560 if test "$enableval" = yes; then
10561 wx_cv_use_grid
='wxUSE_GRID=yes'
10563 wx_cv_use_grid
='wxUSE_GRID=no'
10568 wx_cv_use_grid
='wxUSE_GRID=${'DEFAULT_wxUSE_GRID":-$defaultval}"
10573 eval "$wx_cv_use_grid"
10575 if test x"$enablestring" = xdisable; then
10576 if test $wxUSE_GRID = yes; then
10585 { echo "$as_me:$LINENO: result: $result" >&5
10586 echo "${ECHO_T}$result" >&6; }
10590 defaultval=$wxUSE_ALL_FEATURES
10591 if test -z "$defaultval"; then
10592 if test x"$enablestring" = xdisable; then
10599 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataviewctrl" >&5
10600 echo $ECHO_N "checking for --${enablestring:-enable}-dataviewctrl... $ECHO_C" >&6; }
10601 # Check whether --enable-dataviewctrl was given.
10602 if test "${enable_dataviewctrl+set}" = set; then
10603 enableval=$enable_dataviewctrl;
10604 if test "$enableval" = yes; then
10605 wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL
=yes'
10607 wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL
=no
'
10612 wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL
=${'DEFAULT_wxUSE_DATAVIEWCTRL":-$defaultval}"
10617 eval "$wx_cv_use_dataviewctrl"
10619 if test x"$enablestring" = xdisable; then
10620 if test $wxUSE_DATAVIEWCTRL = yes; then
10626 result=$wxUSE_DATAVIEWCTRL
10629 { echo "$as_me:$LINENO: result
: $result" >&5
10630 echo "${ECHO_T}$result" >&6; }
10634 defaultval=$wxUSE_ALL_FEATURES
10635 if test -z "$defaultval"; then
10636 if test x"$enablestring" = xdisable; then
10643 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-hyperlink" >&5
10644 echo $ECHO_N "checking
for --${enablestring:-enable}-hyperlink...
$ECHO_C" >&6; }
10645 # Check whether --enable-hyperlink was given.
10646 if test "${enable_hyperlink+set}" = set; then
10647 enableval=$enable_hyperlink;
10648 if test "$enableval" = yes; then
10649 wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=yes'
10651 wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=no'
10656 wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=${'DEFAULT_wxUSE_HYPERLINKCTRL":-$defaultval}"
10661 eval "$wx_cv_use_hyperlink"
10663 if test x
"$enablestring" = xdisable
; then
10664 if test $wxUSE_HYPERLINKCTRL = yes; then
10670 result
=$wxUSE_HYPERLINKCTRL
10673 { echo "$as_me:$LINENO: result: $result" >&5
10674 echo "${ECHO_T}$result" >&6; }
10678 defaultval
=$wxUSE_ALL_FEATURES
10679 if test -z "$defaultval"; then
10680 if test x
"$enablestring" = xdisable
; then
10687 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-imaglist" >&5
10688 echo $ECHO_N "checking for --${enablestring:-enable}-imaglist... $ECHO_C" >&6; }
10689 # Check whether --enable-imaglist was given.
10690 if test "${enable_imaglist+set}" = set; then
10691 enableval
=$enable_imaglist;
10692 if test "$enableval" = yes; then
10693 wx_cv_use_imaglist
='wxUSE_IMAGLIST=yes'
10695 wx_cv_use_imaglist
='wxUSE_IMAGLIST=no'
10700 wx_cv_use_imaglist
='wxUSE_IMAGLIST=${'DEFAULT_wxUSE_IMAGLIST":-$defaultval}"
10705 eval "$wx_cv_use_imaglist"
10707 if test x"$enablestring" = xdisable; then
10708 if test $wxUSE_IMAGLIST = yes; then
10714 result=$wxUSE_IMAGLIST
10717 { echo "$as_me:$LINENO: result: $result" >&5
10718 echo "${ECHO_T}$result" >&6; }
10722 defaultval=$wxUSE_ALL_FEATURES
10723 if test -z "$defaultval"; then
10724 if test x"$enablestring" = xdisable; then
10731 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbook" >&5
10732 echo $ECHO_N "checking for --${enablestring:-enable}-listbook... $ECHO_C" >&6; }
10733 # Check whether --enable-listbook was given.
10734 if test "${enable_listbook+set}" = set; then
10735 enableval=$enable_listbook;
10736 if test "$enableval" = yes; then
10737 wx_cv_use_listbook='wxUSE_LISTBOOK
=yes'
10739 wx_cv_use_listbook='wxUSE_LISTBOOK
=no
'
10744 wx_cv_use_listbook='wxUSE_LISTBOOK
=${'DEFAULT_wxUSE_LISTBOOK":-$defaultval}"
10749 eval "$wx_cv_use_listbook"
10751 if test x"$enablestring" = xdisable; then
10752 if test $wxUSE_LISTBOOK = yes; then
10758 result=$wxUSE_LISTBOOK
10761 { echo "$as_me:$LINENO: result
: $result" >&5
10762 echo "${ECHO_T}$result" >&6; }
10766 defaultval=$wxUSE_ALL_FEATURES
10767 if test -z "$defaultval"; then
10768 if test x"$enablestring" = xdisable; then
10775 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-listbox" >&5
10776 echo $ECHO_N "checking
for --${enablestring:-enable}-listbox...
$ECHO_C" >&6; }
10777 # Check whether --enable-listbox was given.
10778 if test "${enable_listbox+set}" = set; then
10779 enableval=$enable_listbox;
10780 if test "$enableval" = yes; then
10781 wx_cv_use_listbox='wxUSE_LISTBOX=yes'
10783 wx_cv_use_listbox='wxUSE_LISTBOX=no'
10788 wx_cv_use_listbox='wxUSE_LISTBOX=${'DEFAULT_wxUSE_LISTBOX":-$defaultval}"
10793 eval "$wx_cv_use_listbox"
10795 if test x
"$enablestring" = xdisable
; then
10796 if test $wxUSE_LISTBOX = yes; then
10802 result
=$wxUSE_LISTBOX
10805 { echo "$as_me:$LINENO: result: $result" >&5
10806 echo "${ECHO_T}$result" >&6; }
10810 defaultval
=$wxUSE_ALL_FEATURES
10811 if test -z "$defaultval"; then
10812 if test x
"$enablestring" = xdisable
; then
10819 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listctrl" >&5
10820 echo $ECHO_N "checking for --${enablestring:-enable}-listctrl... $ECHO_C" >&6; }
10821 # Check whether --enable-listctrl was given.
10822 if test "${enable_listctrl+set}" = set; then
10823 enableval
=$enable_listctrl;
10824 if test "$enableval" = yes; then
10825 wx_cv_use_listctrl
='wxUSE_LISTCTRL=yes'
10827 wx_cv_use_listctrl
='wxUSE_LISTCTRL=no'
10832 wx_cv_use_listctrl
='wxUSE_LISTCTRL=${'DEFAULT_wxUSE_LISTCTRL":-$defaultval}"
10837 eval "$wx_cv_use_listctrl"
10839 if test x"$enablestring" = xdisable; then
10840 if test $wxUSE_LISTCTRL = yes; then
10846 result=$wxUSE_LISTCTRL
10849 { echo "$as_me:$LINENO: result: $result" >&5
10850 echo "${ECHO_T}$result" >&6; }
10854 defaultval=$wxUSE_ALL_FEATURES
10855 if test -z "$defaultval"; then
10856 if test x"$enablestring" = xdisable; then
10863 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-notebook" >&5
10864 echo $ECHO_N "checking for --${enablestring:-enable}-notebook... $ECHO_C" >&6; }
10865 # Check whether --enable-notebook was given.
10866 if test "${enable_notebook+set}" = set; then
10867 enableval=$enable_notebook;
10868 if test "$enableval" = yes; then
10869 wx_cv_use_notebook='wxUSE_NOTEBOOK
=yes'
10871 wx_cv_use_notebook='wxUSE_NOTEBOOK
=no
'
10876 wx_cv_use_notebook='wxUSE_NOTEBOOK
=${'DEFAULT_wxUSE_NOTEBOOK":-$defaultval}"
10881 eval "$wx_cv_use_notebook"
10883 if test x"$enablestring" = xdisable; then
10884 if test $wxUSE_NOTEBOOK = yes; then
10890 result=$wxUSE_NOTEBOOK
10893 { echo "$as_me:$LINENO: result
: $result" >&5
10894 echo "${ECHO_T}$result" >&6; }
10898 defaultval=$wxUSE_ALL_FEATURES
10899 if test -z "$defaultval"; then
10900 if test x"$enablestring" = xdisable; then
10907 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-notifmsg" >&5
10908 echo $ECHO_N "checking
for --${enablestring:-enable}-notifmsg...
$ECHO_C" >&6; }
10909 # Check whether --enable-notifmsg was given.
10910 if test "${enable_notifmsg+set}" = set; then
10911 enableval=$enable_notifmsg;
10912 if test "$enableval" = yes; then
10913 wx_cv_use_notifmsg='wxUSE_NOTIFICATION_MESSAGE=yes'
10915 wx_cv_use_notifmsg='wxUSE_NOTIFICATION_MESSAGE=no'
10920 wx_cv_use_notifmsg='wxUSE_NOTIFICATION_MESSAGE=${'DEFAULT_wxUSE_NOTIFICATION_MESSAGE":-$defaultval}"
10925 eval "$wx_cv_use_notifmsg"
10927 if test x
"$enablestring" = xdisable
; then
10928 if test $wxUSE_NOTIFICATION_MESSAGE = yes; then
10934 result
=$wxUSE_NOTIFICATION_MESSAGE
10937 { echo "$as_me:$LINENO: result: $result" >&5
10938 echo "${ECHO_T}$result" >&6; }
10942 defaultval
=$wxUSE_ALL_FEATURES
10943 if test -z "$defaultval"; then
10944 if test x
"$enablestring" = xdisable
; then
10951 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-odcombobox" >&5
10952 echo $ECHO_N "checking for --${enablestring:-enable}-odcombobox... $ECHO_C" >&6; }
10953 # Check whether --enable-odcombobox was given.
10954 if test "${enable_odcombobox+set}" = set; then
10955 enableval
=$enable_odcombobox;
10956 if test "$enableval" = yes; then
10957 wx_cv_use_odcombobox
='wxUSE_ODCOMBOBOX=yes'
10959 wx_cv_use_odcombobox
='wxUSE_ODCOMBOBOX=no'
10964 wx_cv_use_odcombobox
='wxUSE_ODCOMBOBOX=${'DEFAULT_wxUSE_ODCOMBOBOX":-$defaultval}"
10969 eval "$wx_cv_use_odcombobox"
10971 if test x"$enablestring" = xdisable; then
10972 if test $wxUSE_ODCOMBOBOX = yes; then
10978 result=$wxUSE_ODCOMBOBOX
10981 { echo "$as_me:$LINENO: result: $result" >&5
10982 echo "${ECHO_T}$result" >&6; }
10986 defaultval=$wxUSE_ALL_FEATURES
10987 if test -z "$defaultval"; then
10988 if test x"$enablestring" = xdisable; then
10995 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobox" >&5
10996 echo $ECHO_N "checking for --${enablestring:-enable}-radiobox... $ECHO_C" >&6; }
10997 # Check whether --enable-radiobox was given.
10998 if test "${enable_radiobox+set}" = set; then
10999 enableval=$enable_radiobox;
11000 if test "$enableval" = yes; then
11001 wx_cv_use_radiobox='wxUSE_RADIOBOX
=yes'
11003 wx_cv_use_radiobox='wxUSE_RADIOBOX
=no
'
11008 wx_cv_use_radiobox='wxUSE_RADIOBOX
=${'DEFAULT_wxUSE_RADIOBOX":-$defaultval}"
11013 eval "$wx_cv_use_radiobox"
11015 if test x"$enablestring" = xdisable; then
11016 if test $wxUSE_RADIOBOX = yes; then
11022 result=$wxUSE_RADIOBOX
11025 { echo "$as_me:$LINENO: result
: $result" >&5
11026 echo "${ECHO_T}$result" >&6; }
11030 defaultval=$wxUSE_ALL_FEATURES
11031 if test -z "$defaultval"; then
11032 if test x"$enablestring" = xdisable; then
11039 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-radiobtn" >&5
11040 echo $ECHO_N "checking
for --${enablestring:-enable}-radiobtn...
$ECHO_C" >&6; }
11041 # Check whether --enable-radiobtn was given.
11042 if test "${enable_radiobtn+set}" = set; then
11043 enableval=$enable_radiobtn;
11044 if test "$enableval" = yes; then
11045 wx_cv_use_radiobtn='wxUSE_RADIOBTN=yes'
11047 wx_cv_use_radiobtn='wxUSE_RADIOBTN=no'
11052 wx_cv_use_radiobtn='wxUSE_RADIOBTN=${'DEFAULT_wxUSE_RADIOBTN":-$defaultval}"
11057 eval "$wx_cv_use_radiobtn"
11059 if test x
"$enablestring" = xdisable
; then
11060 if test $wxUSE_RADIOBTN = yes; then
11066 result
=$wxUSE_RADIOBTN
11069 { echo "$as_me:$LINENO: result: $result" >&5
11070 echo "${ECHO_T}$result" >&6; }
11074 defaultval
=$wxUSE_ALL_FEATURES
11075 if test -z "$defaultval"; then
11076 if test x
"$enablestring" = xdisable
; then
11083 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sash" >&5
11084 echo $ECHO_N "checking for --${enablestring:-enable}-sash... $ECHO_C" >&6; }
11085 # Check whether --enable-sash was given.
11086 if test "${enable_sash+set}" = set; then
11087 enableval
=$enable_sash;
11088 if test "$enableval" = yes; then
11089 wx_cv_use_sash
='wxUSE_SASH=yes'
11091 wx_cv_use_sash
='wxUSE_SASH=no'
11096 wx_cv_use_sash
='wxUSE_SASH=${'DEFAULT_wxUSE_SASH":-$defaultval}"
11101 eval "$wx_cv_use_sash"
11103 if test x"$enablestring" = xdisable; then
11104 if test $wxUSE_SASH = yes; then
11113 { echo "$as_me:$LINENO: result: $result" >&5
11114 echo "${ECHO_T}$result" >&6; }
11118 defaultval=$wxUSE_ALL_FEATURES
11119 if test -z "$defaultval"; then
11120 if test x"$enablestring" = xdisable; then
11127 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-scrollbar" >&5
11128 echo $ECHO_N "checking for --${enablestring:-enable}-scrollbar... $ECHO_C" >&6; }
11129 # Check whether --enable-scrollbar was given.
11130 if test "${enable_scrollbar+set}" = set; then
11131 enableval=$enable_scrollbar;
11132 if test "$enableval" = yes; then
11133 wx_cv_use_scrollbar='wxUSE_SCROLLBAR
=yes'
11135 wx_cv_use_scrollbar='wxUSE_SCROLLBAR
=no
'
11140 wx_cv_use_scrollbar='wxUSE_SCROLLBAR
=${'DEFAULT_wxUSE_SCROLLBAR":-$defaultval}"
11145 eval "$wx_cv_use_scrollbar"
11147 if test x"$enablestring" = xdisable; then
11148 if test $wxUSE_SCROLLBAR = yes; then
11154 result=$wxUSE_SCROLLBAR
11157 { echo "$as_me:$LINENO: result
: $result" >&5
11158 echo "${ECHO_T}$result" >&6; }
11162 defaultval=$wxUSE_ALL_FEATURES
11163 if test -z "$defaultval"; then
11164 if test x"$enablestring" = xdisable; then
11171 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-searchctrl" >&5
11172 echo $ECHO_N "checking
for --${enablestring:-enable}-searchctrl...
$ECHO_C" >&6; }
11173 # Check whether --enable-searchctrl was given.
11174 if test "${enable_searchctrl+set}" = set; then
11175 enableval=$enable_searchctrl;
11176 if test "$enableval" = yes; then
11177 wx_cv_use_searchctrl='wxUSE_SEARCHCTRL=yes'
11179 wx_cv_use_searchctrl='wxUSE_SEARCHCTRL=no'
11184 wx_cv_use_searchctrl='wxUSE_SEARCHCTRL=${'DEFAULT_wxUSE_SEARCHCTRL":-$defaultval}"
11189 eval "$wx_cv_use_searchctrl"
11191 if test x
"$enablestring" = xdisable
; then
11192 if test $wxUSE_SEARCHCTRL = yes; then
11198 result
=$wxUSE_SEARCHCTRL
11201 { echo "$as_me:$LINENO: result: $result" >&5
11202 echo "${ECHO_T}$result" >&6; }
11206 defaultval
=$wxUSE_ALL_FEATURES
11207 if test -z "$defaultval"; then
11208 if test x
"$enablestring" = xdisable
; then
11215 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-slider" >&5
11216 echo $ECHO_N "checking for --${enablestring:-enable}-slider... $ECHO_C" >&6; }
11217 # Check whether --enable-slider was given.
11218 if test "${enable_slider+set}" = set; then
11219 enableval
=$enable_slider;
11220 if test "$enableval" = yes; then
11221 wx_cv_use_slider
='wxUSE_SLIDER=yes'
11223 wx_cv_use_slider
='wxUSE_SLIDER=no'
11228 wx_cv_use_slider
='wxUSE_SLIDER=${'DEFAULT_wxUSE_SLIDER":-$defaultval}"
11233 eval "$wx_cv_use_slider"
11235 if test x"$enablestring" = xdisable; then
11236 if test $wxUSE_SLIDER = yes; then
11242 result=$wxUSE_SLIDER
11245 { echo "$as_me:$LINENO: result: $result" >&5
11246 echo "${ECHO_T}$result" >&6; }
11250 defaultval=$wxUSE_ALL_FEATURES
11251 if test -z "$defaultval"; then
11252 if test x"$enablestring" = xdisable; then
11259 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinbtn" >&5
11260 echo $ECHO_N "checking for --${enablestring:-enable}-spinbtn... $ECHO_C" >&6; }
11261 # Check whether --enable-spinbtn was given.
11262 if test "${enable_spinbtn+set}" = set; then
11263 enableval=$enable_spinbtn;
11264 if test "$enableval" = yes; then
11265 wx_cv_use_spinbtn='wxUSE_SPINBTN
=yes'
11267 wx_cv_use_spinbtn='wxUSE_SPINBTN
=no
'
11272 wx_cv_use_spinbtn='wxUSE_SPINBTN
=${'DEFAULT_wxUSE_SPINBTN":-$defaultval}"
11277 eval "$wx_cv_use_spinbtn"
11279 if test x"$enablestring" = xdisable; then
11280 if test $wxUSE_SPINBTN = yes; then
11286 result=$wxUSE_SPINBTN
11289 { echo "$as_me:$LINENO: result
: $result" >&5
11290 echo "${ECHO_T}$result" >&6; }
11294 defaultval=$wxUSE_ALL_FEATURES
11295 if test -z "$defaultval"; then
11296 if test x"$enablestring" = xdisable; then
11303 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-spinctrl" >&5
11304 echo $ECHO_N "checking
for --${enablestring:-enable}-spinctrl...
$ECHO_C" >&6; }
11305 # Check whether --enable-spinctrl was given.
11306 if test "${enable_spinctrl+set}" = set; then
11307 enableval=$enable_spinctrl;
11308 if test "$enableval" = yes; then
11309 wx_cv_use_spinctrl='wxUSE_SPINCTRL=yes'
11311 wx_cv_use_spinctrl='wxUSE_SPINCTRL=no'
11316 wx_cv_use_spinctrl='wxUSE_SPINCTRL=${'DEFAULT_wxUSE_SPINCTRL":-$defaultval}"
11321 eval "$wx_cv_use_spinctrl"
11323 if test x
"$enablestring" = xdisable
; then
11324 if test $wxUSE_SPINCTRL = yes; then
11330 result
=$wxUSE_SPINCTRL
11333 { echo "$as_me:$LINENO: result: $result" >&5
11334 echo "${ECHO_T}$result" >&6; }
11338 defaultval
=$wxUSE_ALL_FEATURES
11339 if test -z "$defaultval"; then
11340 if test x
"$enablestring" = xdisable
; then
11347 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splitter" >&5
11348 echo $ECHO_N "checking for --${enablestring:-enable}-splitter... $ECHO_C" >&6; }
11349 # Check whether --enable-splitter was given.
11350 if test "${enable_splitter+set}" = set; then
11351 enableval
=$enable_splitter;
11352 if test "$enableval" = yes; then
11353 wx_cv_use_splitter
='wxUSE_SPLITTER=yes'
11355 wx_cv_use_splitter
='wxUSE_SPLITTER=no'
11360 wx_cv_use_splitter
='wxUSE_SPLITTER=${'DEFAULT_wxUSE_SPLITTER":-$defaultval}"
11365 eval "$wx_cv_use_splitter"
11367 if test x"$enablestring" = xdisable; then
11368 if test $wxUSE_SPLITTER = yes; then
11374 result=$wxUSE_SPLITTER
11377 { echo "$as_me:$LINENO: result: $result" >&5
11378 echo "${ECHO_T}$result" >&6; }
11382 defaultval=$wxUSE_ALL_FEATURES
11383 if test -z "$defaultval"; then
11384 if test x"$enablestring" = xdisable; then
11391 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbmp" >&5
11392 echo $ECHO_N "checking for --${enablestring:-enable}-statbmp... $ECHO_C" >&6; }
11393 # Check whether --enable-statbmp was given.
11394 if test "${enable_statbmp+set}" = set; then
11395 enableval=$enable_statbmp;
11396 if test "$enableval" = yes; then
11397 wx_cv_use_statbmp='wxUSE_STATBMP
=yes'
11399 wx_cv_use_statbmp='wxUSE_STATBMP
=no
'
11404 wx_cv_use_statbmp='wxUSE_STATBMP
=${'DEFAULT_wxUSE_STATBMP":-$defaultval}"
11409 eval "$wx_cv_use_statbmp"
11411 if test x"$enablestring" = xdisable; then
11412 if test $wxUSE_STATBMP = yes; then
11418 result=$wxUSE_STATBMP
11421 { echo "$as_me:$LINENO: result
: $result" >&5
11422 echo "${ECHO_T}$result" >&6; }
11426 defaultval=$wxUSE_ALL_FEATURES
11427 if test -z "$defaultval"; then
11428 if test x"$enablestring" = xdisable; then
11435 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-statbox" >&5
11436 echo $ECHO_N "checking
for --${enablestring:-enable}-statbox...
$ECHO_C" >&6; }
11437 # Check whether --enable-statbox was given.
11438 if test "${enable_statbox+set}" = set; then
11439 enableval=$enable_statbox;
11440 if test "$enableval" = yes; then
11441 wx_cv_use_statbox='wxUSE_STATBOX=yes'
11443 wx_cv_use_statbox='wxUSE_STATBOX=no'
11448 wx_cv_use_statbox='wxUSE_STATBOX=${'DEFAULT_wxUSE_STATBOX":-$defaultval}"
11453 eval "$wx_cv_use_statbox"
11455 if test x
"$enablestring" = xdisable
; then
11456 if test $wxUSE_STATBOX = yes; then
11462 result
=$wxUSE_STATBOX
11465 { echo "$as_me:$LINENO: result: $result" >&5
11466 echo "${ECHO_T}$result" >&6; }
11470 defaultval
=$wxUSE_ALL_FEATURES
11471 if test -z "$defaultval"; then
11472 if test x
"$enablestring" = xdisable
; then
11479 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statline" >&5
11480 echo $ECHO_N "checking for --${enablestring:-enable}-statline... $ECHO_C" >&6; }
11481 # Check whether --enable-statline was given.
11482 if test "${enable_statline+set}" = set; then
11483 enableval
=$enable_statline;
11484 if test "$enableval" = yes; then
11485 wx_cv_use_statline
='wxUSE_STATLINE=yes'
11487 wx_cv_use_statline
='wxUSE_STATLINE=no'
11492 wx_cv_use_statline
='wxUSE_STATLINE=${'DEFAULT_wxUSE_STATLINE":-$defaultval}"
11497 eval "$wx_cv_use_statline"
11499 if test x"$enablestring" = xdisable; then
11500 if test $wxUSE_STATLINE = yes; then
11506 result=$wxUSE_STATLINE
11509 { echo "$as_me:$LINENO: result: $result" >&5
11510 echo "${ECHO_T}$result" >&6; }
11514 defaultval=$wxUSE_ALL_FEATURES
11515 if test -z "$defaultval"; then
11516 if test x"$enablestring" = xdisable; then
11523 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stattext" >&5
11524 echo $ECHO_N "checking for --${enablestring:-enable}-stattext... $ECHO_C" >&6; }
11525 # Check whether --enable-stattext was given.
11526 if test "${enable_stattext+set}" = set; then
11527 enableval=$enable_stattext;
11528 if test "$enableval" = yes; then
11529 wx_cv_use_stattext='wxUSE_STATTEXT
=yes'
11531 wx_cv_use_stattext='wxUSE_STATTEXT
=no
'
11536 wx_cv_use_stattext='wxUSE_STATTEXT
=${'DEFAULT_wxUSE_STATTEXT":-$defaultval}"
11541 eval "$wx_cv_use_stattext"
11543 if test x"$enablestring" = xdisable; then
11544 if test $wxUSE_STATTEXT = yes; then
11550 result=$wxUSE_STATTEXT
11553 { echo "$as_me:$LINENO: result
: $result" >&5
11554 echo "${ECHO_T}$result" >&6; }
11558 defaultval=$wxUSE_ALL_FEATURES
11559 if test -z "$defaultval"; then
11560 if test x"$enablestring" = xdisable; then
11567 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-statusbar" >&5
11568 echo $ECHO_N "checking
for --${enablestring:-enable}-statusbar...
$ECHO_C" >&6; }
11569 # Check whether --enable-statusbar was given.
11570 if test "${enable_statusbar+set}" = set; then
11571 enableval=$enable_statusbar;
11572 if test "$enableval" = yes; then
11573 wx_cv_use_statusbar='wxUSE_STATUSBAR=yes'
11575 wx_cv_use_statusbar='wxUSE_STATUSBAR=no'
11580 wx_cv_use_statusbar='wxUSE_STATUSBAR=${'DEFAULT_wxUSE_STATUSBAR":-$defaultval}"
11585 eval "$wx_cv_use_statusbar"
11587 if test x
"$enablestring" = xdisable
; then
11588 if test $wxUSE_STATUSBAR = yes; then
11594 result
=$wxUSE_STATUSBAR
11597 { echo "$as_me:$LINENO: result: $result" >&5
11598 echo "${ECHO_T}$result" >&6; }
11602 defaultval
=$wxUSE_ALL_FEATURES
11603 if test -z "$defaultval"; then
11604 if test x
"$enablestring" = xdisable
; then
11611 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tabdialog" >&5
11612 echo $ECHO_N "checking for --${enablestring:-enable}-tabdialog... $ECHO_C" >&6; }
11613 # Check whether --enable-tabdialog was given.
11614 if test "${enable_tabdialog+set}" = set; then
11615 enableval
=$enable_tabdialog;
11616 if test "$enableval" = yes; then
11617 wx_cv_use_tabdialog
='wxUSE_TAB_DIALOG=yes'
11619 wx_cv_use_tabdialog
='wxUSE_TAB_DIALOG=no'
11624 wx_cv_use_tabdialog
='wxUSE_TAB_DIALOG=${'DEFAULT_wxUSE_TAB_DIALOG":-$defaultval}"
11629 eval "$wx_cv_use_tabdialog"
11631 if test x"$enablestring" = xdisable; then
11632 if test $wxUSE_TAB_DIALOG = yes; then
11638 result=$wxUSE_TAB_DIALOG
11641 { echo "$as_me:$LINENO: result: $result" >&5
11642 echo "${ECHO_T}$result" >&6; }
11646 defaultval=$wxUSE_ALL_FEATURES
11647 if test -z "$defaultval"; then
11648 if test x"$enablestring" = xdisable; then
11655 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-taskbaricon" >&5
11656 echo $ECHO_N "checking for --${enablestring:-enable}-taskbaricon... $ECHO_C" >&6; }
11657 # Check whether --enable-taskbaricon was given.
11658 if test "${enable_taskbaricon+set}" = set; then
11659 enableval=$enable_taskbaricon;
11660 if test "$enableval" = yes; then
11661 wx_cv_use_taskbaricon='wxUSE_TASKBARICON
=yes'
11663 wx_cv_use_taskbaricon='wxUSE_TASKBARICON
=no
'
11668 wx_cv_use_taskbaricon='wxUSE_TASKBARICON
=${'DEFAULT_wxUSE_TASKBARICON":-$defaultval}"
11673 eval "$wx_cv_use_taskbaricon"
11675 if test x"$enablestring" = xdisable; then
11676 if test $wxUSE_TASKBARICON = yes; then
11682 result=$wxUSE_TASKBARICON
11685 { echo "$as_me:$LINENO: result
: $result" >&5
11686 echo "${ECHO_T}$result" >&6; }
11690 defaultval=$wxUSE_ALL_FEATURES
11691 if test -z "$defaultval"; then
11692 if test x"$enablestring" = xdisable; then
11699 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-textctrl" >&5
11700 echo $ECHO_N "checking
for --${enablestring:-enable}-textctrl...
$ECHO_C" >&6; }
11701 # Check whether --enable-textctrl was given.
11702 if test "${enable_textctrl+set}" = set; then
11703 enableval=$enable_textctrl;
11704 if test "$enableval" = yes; then
11705 wx_cv_use_textctrl='wxUSE_TEXTCTRL=yes'
11707 wx_cv_use_textctrl='wxUSE_TEXTCTRL=no'
11712 wx_cv_use_textctrl='wxUSE_TEXTCTRL=${'DEFAULT_wxUSE_TEXTCTRL":-$defaultval}"
11717 eval "$wx_cv_use_textctrl"
11719 if test x
"$enablestring" = xdisable
; then
11720 if test $wxUSE_TEXTCTRL = yes; then
11726 result
=$wxUSE_TEXTCTRL
11729 { echo "$as_me:$LINENO: result: $result" >&5
11730 echo "${ECHO_T}$result" >&6; }
11734 defaultval
=$wxUSE_ALL_FEATURES
11735 if test -z "$defaultval"; then
11736 if test x
"$enablestring" = xdisable
; then
11743 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-togglebtn" >&5
11744 echo $ECHO_N "checking for --${enablestring:-enable}-togglebtn... $ECHO_C" >&6; }
11745 # Check whether --enable-togglebtn was given.
11746 if test "${enable_togglebtn+set}" = set; then
11747 enableval
=$enable_togglebtn;
11748 if test "$enableval" = yes; then
11749 wx_cv_use_togglebtn
='wxUSE_TOGGLEBTN=yes'
11751 wx_cv_use_togglebtn
='wxUSE_TOGGLEBTN=no'
11756 wx_cv_use_togglebtn
='wxUSE_TOGGLEBTN=${'DEFAULT_wxUSE_TOGGLEBTN":-$defaultval}"
11761 eval "$wx_cv_use_togglebtn"
11763 if test x"$enablestring" = xdisable; then
11764 if test $wxUSE_TOGGLEBTN = yes; then
11770 result=$wxUSE_TOGGLEBTN
11773 { echo "$as_me:$LINENO: result: $result" >&5
11774 echo "${ECHO_T}$result" >&6; }
11778 defaultval=$wxUSE_ALL_FEATURES
11779 if test -z "$defaultval"; then
11780 if test x"$enablestring" = xdisable; then
11787 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbar" >&5
11788 echo $ECHO_N "checking for --${enablestring:-enable}-toolbar... $ECHO_C" >&6; }
11789 # Check whether --enable-toolbar was given.
11790 if test "${enable_toolbar+set}" = set; then
11791 enableval=$enable_toolbar;
11792 if test "$enableval" = yes; then
11793 wx_cv_use_toolbar='wxUSE_TOOLBAR
=yes'
11795 wx_cv_use_toolbar='wxUSE_TOOLBAR
=no
'
11800 wx_cv_use_toolbar='wxUSE_TOOLBAR
=${'DEFAULT_wxUSE_TOOLBAR":-$defaultval}"
11805 eval "$wx_cv_use_toolbar"
11807 if test x"$enablestring" = xdisable; then
11808 if test $wxUSE_TOOLBAR = yes; then
11814 result=$wxUSE_TOOLBAR
11817 { echo "$as_me:$LINENO: result
: $result" >&5
11818 echo "${ECHO_T}$result" >&6; }
11822 defaultval=$wxUSE_ALL_FEATURES
11823 if test -z "$defaultval"; then
11824 if test x"$enablestring" = xdisable; then
11831 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-tbarnative" >&5
11832 echo $ECHO_N "checking
for --${enablestring:-enable}-tbarnative...
$ECHO_C" >&6; }
11833 # Check whether --enable-tbarnative was given.
11834 if test "${enable_tbarnative+set}" = set; then
11835 enableval=$enable_tbarnative;
11836 if test "$enableval" = yes; then
11837 wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=yes'
11839 wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=no'
11844 wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=${'DEFAULT_wxUSE_TOOLBAR_NATIVE":-$defaultval}"
11849 eval "$wx_cv_use_tbarnative"
11851 if test x
"$enablestring" = xdisable
; then
11852 if test $wxUSE_TOOLBAR_NATIVE = yes; then
11858 result
=$wxUSE_TOOLBAR_NATIVE
11861 { echo "$as_me:$LINENO: result: $result" >&5
11862 echo "${ECHO_T}$result" >&6; }
11866 defaultval
=$wxUSE_ALL_FEATURES
11867 if test -z "$defaultval"; then
11868 if test x
"$enablestring" = xdisable
; then
11875 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treebook" >&5
11876 echo $ECHO_N "checking for --${enablestring:-enable}-treebook... $ECHO_C" >&6; }
11877 # Check whether --enable-treebook was given.
11878 if test "${enable_treebook+set}" = set; then
11879 enableval
=$enable_treebook;
11880 if test "$enableval" = yes; then
11881 wx_cv_use_treebook
='wxUSE_TREEBOOK=yes'
11883 wx_cv_use_treebook
='wxUSE_TREEBOOK=no'
11888 wx_cv_use_treebook
='wxUSE_TREEBOOK=${'DEFAULT_wxUSE_TREEBOOK":-$defaultval}"
11893 eval "$wx_cv_use_treebook"
11895 if test x"$enablestring" = xdisable; then
11896 if test $wxUSE_TREEBOOK = yes; then
11902 result=$wxUSE_TREEBOOK
11905 { echo "$as_me:$LINENO: result: $result" >&5
11906 echo "${ECHO_T}$result" >&6; }
11910 defaultval=$wxUSE_ALL_FEATURES
11911 if test -z "$defaultval"; then
11912 if test x"$enablestring" = xdisable; then
11919 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbook" >&5
11920 echo $ECHO_N "checking for --${enablestring:-enable}-toolbook... $ECHO_C" >&6; }
11921 # Check whether --enable-toolbook was given.
11922 if test "${enable_toolbook+set}" = set; then
11923 enableval=$enable_toolbook;
11924 if test "$enableval" = yes; then
11925 wx_cv_use_toolbook='wxUSE_TOOLBOOK
=yes'
11927 wx_cv_use_toolbook='wxUSE_TOOLBOOK
=no
'
11932 wx_cv_use_toolbook='wxUSE_TOOLBOOK
=${'DEFAULT_wxUSE_TOOLBOOK":-$defaultval}"
11937 eval "$wx_cv_use_toolbook"
11939 if test x"$enablestring" = xdisable; then
11940 if test $wxUSE_TOOLBOOK = yes; then
11946 result=$wxUSE_TOOLBOOK
11949 { echo "$as_me:$LINENO: result
: $result" >&5
11950 echo "${ECHO_T}$result" >&6; }
11954 defaultval=$wxUSE_ALL_FEATURES
11955 if test -z "$defaultval"; then
11956 if test x"$enablestring" = xdisable; then
11963 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-treectrl" >&5
11964 echo $ECHO_N "checking
for --${enablestring:-enable}-treectrl...
$ECHO_C" >&6; }
11965 # Check whether --enable-treectrl was given.
11966 if test "${enable_treectrl+set}" = set; then
11967 enableval=$enable_treectrl;
11968 if test "$enableval" = yes; then
11969 wx_cv_use_treectrl='wxUSE_TREECTRL=yes'
11971 wx_cv_use_treectrl='wxUSE_TREECTRL=no'
11976 wx_cv_use_treectrl='wxUSE_TREECTRL=${'DEFAULT_wxUSE_TREECTRL":-$defaultval}"
11981 eval "$wx_cv_use_treectrl"
11983 if test x
"$enablestring" = xdisable
; then
11984 if test $wxUSE_TREECTRL = yes; then
11990 result
=$wxUSE_TREECTRL
11993 { echo "$as_me:$LINENO: result: $result" >&5
11994 echo "${ECHO_T}$result" >&6; }
11998 defaultval
=$wxUSE_ALL_FEATURES
11999 if test -z "$defaultval"; then
12000 if test x
"$enablestring" = xdisable
; then
12007 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipwindow" >&5
12008 echo $ECHO_N "checking for --${enablestring:-enable}-tipwindow... $ECHO_C" >&6; }
12009 # Check whether --enable-tipwindow was given.
12010 if test "${enable_tipwindow+set}" = set; then
12011 enableval
=$enable_tipwindow;
12012 if test "$enableval" = yes; then
12013 wx_cv_use_tipwindow
='wxUSE_TIPWINDOW=yes'
12015 wx_cv_use_tipwindow
='wxUSE_TIPWINDOW=no'
12020 wx_cv_use_tipwindow
='wxUSE_TIPWINDOW=${'DEFAULT_wxUSE_TIPWINDOW":-$defaultval}"
12025 eval "$wx_cv_use_tipwindow"
12027 if test x"$enablestring" = xdisable; then
12028 if test $wxUSE_TIPWINDOW = yes; then
12034 result=$wxUSE_TIPWINDOW
12037 { echo "$as_me:$LINENO: result: $result" >&5
12038 echo "${ECHO_T}$result" >&6; }
12042 defaultval=$wxUSE_ALL_FEATURES
12043 if test -z "$defaultval"; then
12044 if test x"$enablestring" = xdisable; then
12051 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-popupwin" >&5
12052 echo $ECHO_N "checking for --${enablestring:-enable}-popupwin... $ECHO_C" >&6; }
12053 # Check whether --enable-popupwin was given.
12054 if test "${enable_popupwin+set}" = set; then
12055 enableval=$enable_popupwin;
12056 if test "$enableval" = yes; then
12057 wx_cv_use_popupwin='wxUSE_POPUPWIN
=yes'
12059 wx_cv_use_popupwin='wxUSE_POPUPWIN
=no
'
12064 wx_cv_use_popupwin='wxUSE_POPUPWIN
=${'DEFAULT_wxUSE_POPUPWIN":-$defaultval}"
12069 eval "$wx_cv_use_popupwin"
12071 if test x"$enablestring" = xdisable; then
12072 if test $wxUSE_POPUPWIN = yes; then
12078 result=$wxUSE_POPUPWIN
12081 { echo "$as_me:$LINENO: result
: $result" >&5
12082 echo "${ECHO_T}$result" >&6; }
12088 defaultval=$wxUSE_ALL_FEATURES
12089 if test -z "$defaultval"; then
12090 if test x"$enablestring" = xdisable; then
12097 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-commondlg" >&5
12098 echo $ECHO_N "checking
for --${enablestring:-enable}-commondlg...
$ECHO_C" >&6; }
12099 # Check whether --enable-commondlg was given.
12100 if test "${enable_commondlg+set}" = set; then
12101 enableval=$enable_commondlg;
12102 if test "$enableval" = yes; then
12103 wx_cv_use_commondlg='wxUSE_COMMONDLGS=yes'
12105 wx_cv_use_commondlg='wxUSE_COMMONDLGS=no'
12110 wx_cv_use_commondlg='wxUSE_COMMONDLGS=${'DEFAULT_wxUSE_COMMONDLGS":-$defaultval}"
12115 eval "$wx_cv_use_commondlg"
12117 if test x
"$enablestring" = xdisable
; then
12118 if test $wxUSE_COMMONDLGS = yes; then
12124 result
=$wxUSE_COMMONDLGS
12127 { echo "$as_me:$LINENO: result: $result" >&5
12128 echo "${ECHO_T}$result" >&6; }
12132 defaultval
=$wxUSE_ALL_FEATURES
12133 if test -z "$defaultval"; then
12134 if test x
"$enablestring" = xdisable
; then
12141 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-aboutdlg" >&5
12142 echo $ECHO_N "checking for --${enablestring:-enable}-aboutdlg... $ECHO_C" >&6; }
12143 # Check whether --enable-aboutdlg was given.
12144 if test "${enable_aboutdlg+set}" = set; then
12145 enableval
=$enable_aboutdlg;
12146 if test "$enableval" = yes; then
12147 wx_cv_use_aboutdlg
='wxUSE_ABOUTDLG=yes'
12149 wx_cv_use_aboutdlg
='wxUSE_ABOUTDLG=no'
12154 wx_cv_use_aboutdlg
='wxUSE_ABOUTDLG=${'DEFAULT_wxUSE_ABOUTDLG":-$defaultval}"
12159 eval "$wx_cv_use_aboutdlg"
12161 if test x"$enablestring" = xdisable; then
12162 if test $wxUSE_ABOUTDLG = yes; then
12168 result=$wxUSE_ABOUTDLG
12171 { echo "$as_me:$LINENO: result: $result" >&5
12172 echo "${ECHO_T}$result" >&6; }
12176 defaultval=$wxUSE_ALL_FEATURES
12177 if test -z "$defaultval"; then
12178 if test x"$enablestring" = xdisable; then
12185 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicedlg" >&5
12186 echo $ECHO_N "checking for --${enablestring:-enable}-choicedlg... $ECHO_C" >&6; }
12187 # Check whether --enable-choicedlg was given.
12188 if test "${enable_choicedlg+set}" = set; then
12189 enableval=$enable_choicedlg;
12190 if test "$enableval" = yes; then
12191 wx_cv_use_choicedlg='wxUSE_CHOICEDLG
=yes'
12193 wx_cv_use_choicedlg='wxUSE_CHOICEDLG
=no
'
12198 wx_cv_use_choicedlg='wxUSE_CHOICEDLG
=${'DEFAULT_wxUSE_CHOICEDLG":-$defaultval}"
12203 eval "$wx_cv_use_choicedlg"
12205 if test x"$enablestring" = xdisable; then
12206 if test $wxUSE_CHOICEDLG = yes; then
12212 result=$wxUSE_CHOICEDLG
12215 { echo "$as_me:$LINENO: result
: $result" >&5
12216 echo "${ECHO_T}$result" >&6; }
12220 defaultval=$wxUSE_ALL_FEATURES
12221 if test -z "$defaultval"; then
12222 if test x"$enablestring" = xdisable; then
12229 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-coldlg" >&5
12230 echo $ECHO_N "checking
for --${enablestring:-enable}-coldlg...
$ECHO_C" >&6; }
12231 # Check whether --enable-coldlg was given.
12232 if test "${enable_coldlg+set}" = set; then
12233 enableval=$enable_coldlg;
12234 if test "$enableval" = yes; then
12235 wx_cv_use_coldlg='wxUSE_COLOURDLG=yes'
12237 wx_cv_use_coldlg='wxUSE_COLOURDLG=no'
12242 wx_cv_use_coldlg='wxUSE_COLOURDLG=${'DEFAULT_wxUSE_COLOURDLG":-$defaultval}"
12247 eval "$wx_cv_use_coldlg"
12249 if test x
"$enablestring" = xdisable
; then
12250 if test $wxUSE_COLOURDLG = yes; then
12256 result
=$wxUSE_COLOURDLG
12259 { echo "$as_me:$LINENO: result: $result" >&5
12260 echo "${ECHO_T}$result" >&6; }
12264 defaultval
=$wxUSE_ALL_FEATURES
12265 if test -z "$defaultval"; then
12266 if test x
"$enablestring" = xdisable
; then
12273 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filedlg" >&5
12274 echo $ECHO_N "checking for --${enablestring:-enable}-filedlg... $ECHO_C" >&6; }
12275 # Check whether --enable-filedlg was given.
12276 if test "${enable_filedlg+set}" = set; then
12277 enableval
=$enable_filedlg;
12278 if test "$enableval" = yes; then
12279 wx_cv_use_filedlg
='wxUSE_FILEDLG=yes'
12281 wx_cv_use_filedlg
='wxUSE_FILEDLG=no'
12286 wx_cv_use_filedlg
='wxUSE_FILEDLG=${'DEFAULT_wxUSE_FILEDLG":-$defaultval}"
12291 eval "$wx_cv_use_filedlg"
12293 if test x"$enablestring" = xdisable; then
12294 if test $wxUSE_FILEDLG = yes; then
12300 result=$wxUSE_FILEDLG
12303 { echo "$as_me:$LINENO: result: $result" >&5
12304 echo "${ECHO_T}$result" >&6; }
12308 defaultval=$wxUSE_ALL_FEATURES
12309 if test -z "$defaultval"; then
12310 if test x"$enablestring" = xdisable; then
12317 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-finddlg" >&5
12318 echo $ECHO_N "checking for --${enablestring:-enable}-finddlg... $ECHO_C" >&6; }
12319 # Check whether --enable-finddlg was given.
12320 if test "${enable_finddlg+set}" = set; then
12321 enableval=$enable_finddlg;
12322 if test "$enableval" = yes; then
12323 wx_cv_use_finddlg='wxUSE_FINDREPLDLG
=yes'
12325 wx_cv_use_finddlg='wxUSE_FINDREPLDLG
=no
'
12330 wx_cv_use_finddlg='wxUSE_FINDREPLDLG
=${'DEFAULT_wxUSE_FINDREPLDLG":-$defaultval}"
12335 eval "$wx_cv_use_finddlg"
12337 if test x"$enablestring" = xdisable; then
12338 if test $wxUSE_FINDREPLDLG = yes; then
12344 result=$wxUSE_FINDREPLDLG
12347 { echo "$as_me:$LINENO: result
: $result" >&5
12348 echo "${ECHO_T}$result" >&6; }
12352 defaultval=$wxUSE_ALL_FEATURES
12353 if test -z "$defaultval"; then
12354 if test x"$enablestring" = xdisable; then
12361 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-fontdlg" >&5
12362 echo $ECHO_N "checking
for --${enablestring:-enable}-fontdlg...
$ECHO_C" >&6; }
12363 # Check whether --enable-fontdlg was given.
12364 if test "${enable_fontdlg+set}" = set; then
12365 enableval=$enable_fontdlg;
12366 if test "$enableval" = yes; then
12367 wx_cv_use_fontdlg='wxUSE_FONTDLG=yes'
12369 wx_cv_use_fontdlg='wxUSE_FONTDLG=no'
12374 wx_cv_use_fontdlg='wxUSE_FONTDLG=${'DEFAULT_wxUSE_FONTDLG":-$defaultval}"
12379 eval "$wx_cv_use_fontdlg"
12381 if test x
"$enablestring" = xdisable
; then
12382 if test $wxUSE_FONTDLG = yes; then
12388 result
=$wxUSE_FONTDLG
12391 { echo "$as_me:$LINENO: result: $result" >&5
12392 echo "${ECHO_T}$result" >&6; }
12396 defaultval
=$wxUSE_ALL_FEATURES
12397 if test -z "$defaultval"; then
12398 if test x
"$enablestring" = xdisable
; then
12405 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirdlg" >&5
12406 echo $ECHO_N "checking for --${enablestring:-enable}-dirdlg... $ECHO_C" >&6; }
12407 # Check whether --enable-dirdlg was given.
12408 if test "${enable_dirdlg+set}" = set; then
12409 enableval
=$enable_dirdlg;
12410 if test "$enableval" = yes; then
12411 wx_cv_use_dirdlg
='wxUSE_DIRDLG=yes'
12413 wx_cv_use_dirdlg
='wxUSE_DIRDLG=no'
12418 wx_cv_use_dirdlg
='wxUSE_DIRDLG=${'DEFAULT_wxUSE_DIRDLG":-$defaultval}"
12423 eval "$wx_cv_use_dirdlg"
12425 if test x"$enablestring" = xdisable; then
12426 if test $wxUSE_DIRDLG = yes; then
12432 result=$wxUSE_DIRDLG
12435 { echo "$as_me:$LINENO: result: $result" >&5
12436 echo "${ECHO_T}$result" >&6; }
12440 defaultval=$wxUSE_ALL_FEATURES
12441 if test -z "$defaultval"; then
12442 if test x"$enablestring" = xdisable; then
12449 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-msgdlg" >&5
12450 echo $ECHO_N "checking for --${enablestring:-enable}-msgdlg... $ECHO_C" >&6; }
12451 # Check whether --enable-msgdlg was given.
12452 if test "${enable_msgdlg+set}" = set; then
12453 enableval=$enable_msgdlg;
12454 if test "$enableval" = yes; then
12455 wx_cv_use_msgdlg='wxUSE_MSGDLG
=yes'
12457 wx_cv_use_msgdlg='wxUSE_MSGDLG
=no
'
12462 wx_cv_use_msgdlg='wxUSE_MSGDLG
=${'DEFAULT_wxUSE_MSGDLG":-$defaultval}"
12467 eval "$wx_cv_use_msgdlg"
12469 if test x"$enablestring" = xdisable; then
12470 if test $wxUSE_MSGDLG = yes; then
12476 result=$wxUSE_MSGDLG
12479 { echo "$as_me:$LINENO: result
: $result" >&5
12480 echo "${ECHO_T}$result" >&6; }
12484 defaultval=$wxUSE_ALL_FEATURES
12485 if test -z "$defaultval"; then
12486 if test x"$enablestring" = xdisable; then
12493 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-numberdlg" >&5
12494 echo $ECHO_N "checking
for --${enablestring:-enable}-numberdlg...
$ECHO_C" >&6; }
12495 # Check whether --enable-numberdlg was given.
12496 if test "${enable_numberdlg+set}" = set; then
12497 enableval=$enable_numberdlg;
12498 if test "$enableval" = yes; then
12499 wx_cv_use_numberdlg='wxUSE_NUMBERDLG=yes'
12501 wx_cv_use_numberdlg='wxUSE_NUMBERDLG=no'
12506 wx_cv_use_numberdlg='wxUSE_NUMBERDLG=${'DEFAULT_wxUSE_NUMBERDLG":-$defaultval}"
12511 eval "$wx_cv_use_numberdlg"
12513 if test x
"$enablestring" = xdisable
; then
12514 if test $wxUSE_NUMBERDLG = yes; then
12520 result
=$wxUSE_NUMBERDLG
12523 { echo "$as_me:$LINENO: result: $result" >&5
12524 echo "${ECHO_T}$result" >&6; }
12528 defaultval
=$wxUSE_ALL_FEATURES
12529 if test -z "$defaultval"; then
12530 if test x
"$enablestring" = xdisable
; then
12537 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splash" >&5
12538 echo $ECHO_N "checking for --${enablestring:-enable}-splash... $ECHO_C" >&6; }
12539 # Check whether --enable-splash was given.
12540 if test "${enable_splash+set}" = set; then
12541 enableval
=$enable_splash;
12542 if test "$enableval" = yes; then
12543 wx_cv_use_splash
='wxUSE_SPLASH=yes'
12545 wx_cv_use_splash
='wxUSE_SPLASH=no'
12550 wx_cv_use_splash
='wxUSE_SPLASH=${'DEFAULT_wxUSE_SPLASH":-$defaultval}"
12555 eval "$wx_cv_use_splash"
12557 if test x"$enablestring" = xdisable; then
12558 if test $wxUSE_SPLASH = yes; then
12564 result=$wxUSE_SPLASH
12567 { echo "$as_me:$LINENO: result: $result" >&5
12568 echo "${ECHO_T}$result" >&6; }
12572 defaultval=$wxUSE_ALL_FEATURES
12573 if test -z "$defaultval"; then
12574 if test x"$enablestring" = xdisable; then
12581 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textdlg" >&5
12582 echo $ECHO_N "checking for --${enablestring:-enable}-textdlg... $ECHO_C" >&6; }
12583 # Check whether --enable-textdlg was given.
12584 if test "${enable_textdlg+set}" = set; then
12585 enableval=$enable_textdlg;
12586 if test "$enableval" = yes; then
12587 wx_cv_use_textdlg='wxUSE_TEXTDLG
=yes'
12589 wx_cv_use_textdlg='wxUSE_TEXTDLG
=no
'
12594 wx_cv_use_textdlg='wxUSE_TEXTDLG
=${'DEFAULT_wxUSE_TEXTDLG":-$defaultval}"
12599 eval "$wx_cv_use_textdlg"
12601 if test x"$enablestring" = xdisable; then
12602 if test $wxUSE_TEXTDLG = yes; then
12608 result=$wxUSE_TEXTDLG
12611 { echo "$as_me:$LINENO: result
: $result" >&5
12612 echo "${ECHO_T}$result" >&6; }
12616 defaultval=$wxUSE_ALL_FEATURES
12617 if test -z "$defaultval"; then
12618 if test x"$enablestring" = xdisable; then
12625 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-tipdlg" >&5
12626 echo $ECHO_N "checking
for --${enablestring:-enable}-tipdlg...
$ECHO_C" >&6; }
12627 # Check whether --enable-tipdlg was given.
12628 if test "${enable_tipdlg+set}" = set; then
12629 enableval=$enable_tipdlg;
12630 if test "$enableval" = yes; then
12631 wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS=yes'
12633 wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS=no'
12638 wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS=${'DEFAULT_wxUSE_STARTUP_TIPS":-$defaultval}"
12643 eval "$wx_cv_use_tipdlg"
12645 if test x
"$enablestring" = xdisable
; then
12646 if test $wxUSE_STARTUP_TIPS = yes; then
12652 result
=$wxUSE_STARTUP_TIPS
12655 { echo "$as_me:$LINENO: result: $result" >&5
12656 echo "${ECHO_T}$result" >&6; }
12660 defaultval
=$wxUSE_ALL_FEATURES
12661 if test -z "$defaultval"; then
12662 if test x
"$enablestring" = xdisable
; then
12669 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-progressdlg" >&5
12670 echo $ECHO_N "checking for --${enablestring:-enable}-progressdlg... $ECHO_C" >&6; }
12671 # Check whether --enable-progressdlg was given.
12672 if test "${enable_progressdlg+set}" = set; then
12673 enableval
=$enable_progressdlg;
12674 if test "$enableval" = yes; then
12675 wx_cv_use_progressdlg
='wxUSE_PROGRESSDLG=yes'
12677 wx_cv_use_progressdlg
='wxUSE_PROGRESSDLG=no'
12682 wx_cv_use_progressdlg
='wxUSE_PROGRESSDLG=${'DEFAULT_wxUSE_PROGRESSDLG":-$defaultval}"
12687 eval "$wx_cv_use_progressdlg"
12689 if test x"$enablestring" = xdisable; then
12690 if test $wxUSE_PROGRESSDLG = yes; then
12696 result=$wxUSE_PROGRESSDLG
12699 { echo "$as_me:$LINENO: result: $result" >&5
12700 echo "${ECHO_T}$result" >&6; }
12704 defaultval=$wxUSE_ALL_FEATURES
12705 if test -z "$defaultval"; then
12706 if test x"$enablestring" = xdisable; then
12713 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wizarddlg" >&5
12714 echo $ECHO_N "checking for --${enablestring:-enable}-wizarddlg... $ECHO_C" >&6; }
12715 # Check whether --enable-wizarddlg was given.
12716 if test "${enable_wizarddlg+set}" = set; then
12717 enableval=$enable_wizarddlg;
12718 if test "$enableval" = yes; then
12719 wx_cv_use_wizarddlg='wxUSE_WIZARDDLG
=yes'
12721 wx_cv_use_wizarddlg='wxUSE_WIZARDDLG
=no
'
12726 wx_cv_use_wizarddlg='wxUSE_WIZARDDLG
=${'DEFAULT_wxUSE_WIZARDDLG":-$defaultval}"
12731 eval "$wx_cv_use_wizarddlg"
12733 if test x"$enablestring" = xdisable; then
12734 if test $wxUSE_WIZARDDLG = yes; then
12740 result=$wxUSE_WIZARDDLG
12743 { echo "$as_me:$LINENO: result
: $result" >&5
12744 echo "${ECHO_T}$result" >&6; }
12750 defaultval=$wxUSE_ALL_FEATURES
12751 if test -z "$defaultval"; then
12752 if test x"$enablestring" = xdisable; then
12759 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-menus" >&5
12760 echo $ECHO_N "checking
for --${enablestring:-enable}-menus...
$ECHO_C" >&6; }
12761 # Check whether --enable-menus was given.
12762 if test "${enable_menus+set}" = set; then
12763 enableval=$enable_menus;
12764 if test "$enableval" = yes; then
12765 wx_cv_use_menus='wxUSE_MENUS=yes'
12767 wx_cv_use_menus='wxUSE_MENUS=no'
12772 wx_cv_use_menus='wxUSE_MENUS=${'DEFAULT_wxUSE_MENUS":-$defaultval}"
12777 eval "$wx_cv_use_menus"
12779 if test x
"$enablestring" = xdisable
; then
12780 if test $wxUSE_MENUS = yes; then
12786 result
=$wxUSE_MENUS
12789 { echo "$as_me:$LINENO: result: $result" >&5
12790 echo "${ECHO_T}$result" >&6; }
12794 defaultval
=$wxUSE_ALL_FEATURES
12795 if test -z "$defaultval"; then
12796 if test x
"$enablestring" = xdisable
; then
12803 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-miniframe" >&5
12804 echo $ECHO_N "checking for --${enablestring:-enable}-miniframe... $ECHO_C" >&6; }
12805 # Check whether --enable-miniframe was given.
12806 if test "${enable_miniframe+set}" = set; then
12807 enableval
=$enable_miniframe;
12808 if test "$enableval" = yes; then
12809 wx_cv_use_miniframe
='wxUSE_MINIFRAME=yes'
12811 wx_cv_use_miniframe
='wxUSE_MINIFRAME=no'
12816 wx_cv_use_miniframe
='wxUSE_MINIFRAME=${'DEFAULT_wxUSE_MINIFRAME":-$defaultval}"
12821 eval "$wx_cv_use_miniframe"
12823 if test x"$enablestring" = xdisable; then
12824 if test $wxUSE_MINIFRAME = yes; then
12830 result=$wxUSE_MINIFRAME
12833 { echo "$as_me:$LINENO: result: $result" >&5
12834 echo "${ECHO_T}$result" >&6; }
12838 defaultval=$wxUSE_ALL_FEATURES
12839 if test -z "$defaultval"; then
12840 if test x"$enablestring" = xdisable; then
12847 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tooltips" >&5
12848 echo $ECHO_N "checking for --${enablestring:-enable}-tooltips... $ECHO_C" >&6; }
12849 # Check whether --enable-tooltips was given.
12850 if test "${enable_tooltips+set}" = set; then
12851 enableval=$enable_tooltips;
12852 if test "$enableval" = yes; then
12853 wx_cv_use_tooltips='wxUSE_TOOLTIPS
=yes'
12855 wx_cv_use_tooltips='wxUSE_TOOLTIPS
=no
'
12860 wx_cv_use_tooltips='wxUSE_TOOLTIPS
=${'DEFAULT_wxUSE_TOOLTIPS":-$defaultval}"
12865 eval "$wx_cv_use_tooltips"
12867 if test x"$enablestring" = xdisable; then
12868 if test $wxUSE_TOOLTIPS = yes; then
12874 result=$wxUSE_TOOLTIPS
12877 { echo "$as_me:$LINENO: result
: $result" >&5
12878 echo "${ECHO_T}$result" >&6; }
12882 defaultval=$wxUSE_ALL_FEATURES
12883 if test -z "$defaultval"; then
12884 if test x"$enablestring" = xdisable; then
12891 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-splines" >&5
12892 echo $ECHO_N "checking
for --${enablestring:-enable}-splines...
$ECHO_C" >&6; }
12893 # Check whether --enable-splines was given.
12894 if test "${enable_splines+set}" = set; then
12895 enableval=$enable_splines;
12896 if test "$enableval" = yes; then
12897 wx_cv_use_splines='wxUSE_SPLINES=yes'
12899 wx_cv_use_splines='wxUSE_SPLINES=no'
12904 wx_cv_use_splines='wxUSE_SPLINES=${'DEFAULT_wxUSE_SPLINES":-$defaultval}"
12909 eval "$wx_cv_use_splines"
12911 if test x
"$enablestring" = xdisable
; then
12912 if test $wxUSE_SPLINES = yes; then
12918 result
=$wxUSE_SPLINES
12921 { echo "$as_me:$LINENO: result: $result" >&5
12922 echo "${ECHO_T}$result" >&6; }
12926 defaultval
=$wxUSE_ALL_FEATURES
12927 if test -z "$defaultval"; then
12928 if test x
"$enablestring" = xdisable
; then
12935 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mousewheel" >&5
12936 echo $ECHO_N "checking for --${enablestring:-enable}-mousewheel... $ECHO_C" >&6; }
12937 # Check whether --enable-mousewheel was given.
12938 if test "${enable_mousewheel+set}" = set; then
12939 enableval
=$enable_mousewheel;
12940 if test "$enableval" = yes; then
12941 wx_cv_use_mousewheel
='wxUSE_MOUSEWHEEL=yes'
12943 wx_cv_use_mousewheel
='wxUSE_MOUSEWHEEL=no'
12948 wx_cv_use_mousewheel
='wxUSE_MOUSEWHEEL=${'DEFAULT_wxUSE_MOUSEWHEEL":-$defaultval}"
12953 eval "$wx_cv_use_mousewheel"
12955 if test x"$enablestring" = xdisable; then
12956 if test $wxUSE_MOUSEWHEEL = yes; then
12962 result=$wxUSE_MOUSEWHEEL
12965 { echo "$as_me:$LINENO: result: $result" >&5
12966 echo "${ECHO_T}$result" >&6; }
12970 defaultval=$wxUSE_ALL_FEATURES
12971 if test -z "$defaultval"; then
12972 if test x"$enablestring" = xdisable; then
12979 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-validators" >&5
12980 echo $ECHO_N "checking for --${enablestring:-enable}-validators... $ECHO_C" >&6; }
12981 # Check whether --enable-validators was given.
12982 if test "${enable_validators+set}" = set; then
12983 enableval=$enable_validators;
12984 if test "$enableval" = yes; then
12985 wx_cv_use_validators='wxUSE_VALIDATORS
=yes'
12987 wx_cv_use_validators='wxUSE_VALIDATORS
=no
'
12992 wx_cv_use_validators='wxUSE_VALIDATORS
=${'DEFAULT_wxUSE_VALIDATORS":-$defaultval}"
12997 eval "$wx_cv_use_validators"
12999 if test x"$enablestring" = xdisable; then
13000 if test $wxUSE_VALIDATORS = yes; then
13006 result=$wxUSE_VALIDATORS
13009 { echo "$as_me:$LINENO: result
: $result" >&5
13010 echo "${ECHO_T}$result" >&6; }
13014 defaultval=$wxUSE_ALL_FEATURES
13015 if test -z "$defaultval"; then
13016 if test x"$enablestring" = xdisable; then
13023 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-busyinfo" >&5
13024 echo $ECHO_N "checking
for --${enablestring:-enable}-busyinfo...
$ECHO_C" >&6; }
13025 # Check whether --enable-busyinfo was given.
13026 if test "${enable_busyinfo+set}" = set; then
13027 enableval=$enable_busyinfo;
13028 if test "$enableval" = yes; then
13029 wx_cv_use_busyinfo='wxUSE_BUSYINFO=yes'
13031 wx_cv_use_busyinfo='wxUSE_BUSYINFO=no'
13036 wx_cv_use_busyinfo='wxUSE_BUSYINFO=${'DEFAULT_wxUSE_BUSYINFO":-$defaultval}"
13041 eval "$wx_cv_use_busyinfo"
13043 if test x
"$enablestring" = xdisable
; then
13044 if test $wxUSE_BUSYINFO = yes; then
13050 result
=$wxUSE_BUSYINFO
13053 { echo "$as_me:$LINENO: result: $result" >&5
13054 echo "${ECHO_T}$result" >&6; }
13058 defaultval
=$wxUSE_ALL_FEATURES
13059 if test -z "$defaultval"; then
13060 if test x
"$enablestring" = xdisable
; then
13067 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-joystick" >&5
13068 echo $ECHO_N "checking for --${enablestring:-enable}-joystick... $ECHO_C" >&6; }
13069 # Check whether --enable-joystick was given.
13070 if test "${enable_joystick+set}" = set; then
13071 enableval
=$enable_joystick;
13072 if test "$enableval" = yes; then
13073 wx_cv_use_joystick
='wxUSE_JOYSTICK=yes'
13075 wx_cv_use_joystick
='wxUSE_JOYSTICK=no'
13080 wx_cv_use_joystick
='wxUSE_JOYSTICK=${'DEFAULT_wxUSE_JOYSTICK":-$defaultval}"
13085 eval "$wx_cv_use_joystick"
13087 if test x"$enablestring" = xdisable; then
13088 if test $wxUSE_JOYSTICK = yes; then
13094 result=$wxUSE_JOYSTICK
13097 { echo "$as_me:$LINENO: result: $result" >&5
13098 echo "${ECHO_T}$result" >&6; }
13102 defaultval=$wxUSE_ALL_FEATURES
13103 if test -z "$defaultval"; then
13104 if test x"$enablestring" = xdisable; then
13111 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
13112 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6; }
13113 # Check whether --enable-metafile was given.
13114 if test "${enable_metafile+set}" = set; then
13115 enableval=$enable_metafile;
13116 if test "$enableval" = yes; then
13117 wx_cv_use_metafile='wxUSE_METAFILE
=yes'
13119 wx_cv_use_metafile='wxUSE_METAFILE
=no
'
13124 wx_cv_use_metafile='wxUSE_METAFILE
=${'DEFAULT_wxUSE_METAFILE":-$defaultval}"
13129 eval "$wx_cv_use_metafile"
13131 if test x"$enablestring" = xdisable; then
13132 if test $wxUSE_METAFILE = yes; then
13138 result=$wxUSE_METAFILE
13141 { echo "$as_me:$LINENO: result
: $result" >&5
13142 echo "${ECHO_T}$result" >&6; }
13146 defaultval=$wxUSE_ALL_FEATURES
13147 if test -z "$defaultval"; then
13148 if test x"$enablestring" = xdisable; then
13155 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-dragimage" >&5
13156 echo $ECHO_N "checking
for --${enablestring:-enable}-dragimage...
$ECHO_C" >&6; }
13157 # Check whether --enable-dragimage was given.
13158 if test "${enable_dragimage+set}" = set; then
13159 enableval=$enable_dragimage;
13160 if test "$enableval" = yes; then
13161 wx_cv_use_dragimage='wxUSE_DRAGIMAGE=yes'
13163 wx_cv_use_dragimage='wxUSE_DRAGIMAGE=no'
13168 wx_cv_use_dragimage='wxUSE_DRAGIMAGE=${'DEFAULT_wxUSE_DRAGIMAGE":-$defaultval}"
13173 eval "$wx_cv_use_dragimage"
13175 if test x
"$enablestring" = xdisable
; then
13176 if test $wxUSE_DRAGIMAGE = yes; then
13182 result
=$wxUSE_DRAGIMAGE
13185 { echo "$as_me:$LINENO: result: $result" >&5
13186 echo "${ECHO_T}$result" >&6; }
13190 defaultval
=$wxUSE_ALL_FEATURES
13191 if test -z "$defaultval"; then
13192 if test x
"$enablestring" = xdisable
; then
13199 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accessibility" >&5
13200 echo $ECHO_N "checking for --${enablestring:-enable}-accessibility... $ECHO_C" >&6; }
13201 # Check whether --enable-accessibility was given.
13202 if test "${enable_accessibility+set}" = set; then
13203 enableval
=$enable_accessibility;
13204 if test "$enableval" = yes; then
13205 wx_cv_use_accessibility
='wxUSE_ACCESSIBILITY=yes'
13207 wx_cv_use_accessibility
='wxUSE_ACCESSIBILITY=no'
13212 wx_cv_use_accessibility
='wxUSE_ACCESSIBILITY=${'DEFAULT_wxUSE_ACCESSIBILITY":-$defaultval}"
13217 eval "$wx_cv_use_accessibility"
13219 if test x"$enablestring" = xdisable; then
13220 if test $wxUSE_ACCESSIBILITY = yes; then
13226 result=$wxUSE_ACCESSIBILITY
13229 { echo "$as_me:$LINENO: result: $result" >&5
13230 echo "${ECHO_T}$result" >&6; }
13236 defaultval=$wxUSE_ALL_FEATURES
13237 if test -z "$defaultval"; then
13238 if test x"$enablestring" = xdisable; then
13245 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-palette" >&5
13246 echo $ECHO_N "checking for --${enablestring:-enable}-palette... $ECHO_C" >&6; }
13247 # Check whether --enable-palette was given.
13248 if test "${enable_palette+set}" = set; then
13249 enableval=$enable_palette;
13250 if test "$enableval" = yes; then
13251 wx_cv_use_palette='wxUSE_PALETTE
=yes'
13253 wx_cv_use_palette='wxUSE_PALETTE
=no
'
13258 wx_cv_use_palette='wxUSE_PALETTE
=${'DEFAULT_wxUSE_PALETTE":-$defaultval}"
13263 eval "$wx_cv_use_palette"
13265 if test x"$enablestring" = xdisable; then
13266 if test $wxUSE_PALETTE = yes; then
13272 result=$wxUSE_PALETTE
13275 { echo "$as_me:$LINENO: result
: $result" >&5
13276 echo "${ECHO_T}$result" >&6; }
13280 defaultval=$wxUSE_ALL_FEATURES
13281 if test -z "$defaultval"; then
13282 if test x"$enablestring" = xdisable; then
13289 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-image" >&5
13290 echo $ECHO_N "checking
for --${enablestring:-enable}-image...
$ECHO_C" >&6; }
13291 # Check whether --enable-image was given.
13292 if test "${enable_image+set}" = set; then
13293 enableval=$enable_image;
13294 if test "$enableval" = yes; then
13295 wx_cv_use_image='wxUSE_IMAGE=yes'
13297 wx_cv_use_image='wxUSE_IMAGE=no'
13302 wx_cv_use_image='wxUSE_IMAGE=${'DEFAULT_wxUSE_IMAGE":-$defaultval}"
13307 eval "$wx_cv_use_image"
13309 if test x
"$enablestring" = xdisable
; then
13310 if test $wxUSE_IMAGE = yes; then
13316 result
=$wxUSE_IMAGE
13319 { echo "$as_me:$LINENO: result: $result" >&5
13320 echo "${ECHO_T}$result" >&6; }
13324 defaultval
=$wxUSE_ALL_FEATURES
13325 if test -z "$defaultval"; then
13326 if test x
"$enablestring" = xdisable
; then
13333 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gif" >&5
13334 echo $ECHO_N "checking for --${enablestring:-enable}-gif... $ECHO_C" >&6; }
13335 # Check whether --enable-gif was given.
13336 if test "${enable_gif+set}" = set; then
13337 enableval
=$enable_gif;
13338 if test "$enableval" = yes; then
13339 wx_cv_use_gif
='wxUSE_GIF=yes'
13341 wx_cv_use_gif
='wxUSE_GIF=no'
13346 wx_cv_use_gif
='wxUSE_GIF=${'DEFAULT_wxUSE_GIF":-$defaultval}"
13351 eval "$wx_cv_use_gif"
13353 if test x"$enablestring" = xdisable; then
13354 if test $wxUSE_GIF = yes; then
13363 { echo "$as_me:$LINENO: result: $result" >&5
13364 echo "${ECHO_T}$result" >&6; }
13368 defaultval=$wxUSE_ALL_FEATURES
13369 if test -z "$defaultval"; then
13370 if test x"$enablestring" = xdisable; then
13377 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pcx" >&5
13378 echo $ECHO_N "checking for --${enablestring:-enable}-pcx... $ECHO_C" >&6; }
13379 # Check whether --enable-pcx was given.
13380 if test "${enable_pcx+set}" = set; then
13381 enableval=$enable_pcx;
13382 if test "$enableval" = yes; then
13383 wx_cv_use_pcx='wxUSE_PCX
=yes'
13385 wx_cv_use_pcx='wxUSE_PCX
=no
'
13390 wx_cv_use_pcx='wxUSE_PCX
=${'DEFAULT_wxUSE_PCX":-$defaultval}"
13395 eval "$wx_cv_use_pcx"
13397 if test x"$enablestring" = xdisable; then
13398 if test $wxUSE_PCX = yes; then
13407 { echo "$as_me:$LINENO: result
: $result" >&5
13408 echo "${ECHO_T}$result" >&6; }
13412 defaultval=$wxUSE_ALL_FEATURES
13413 if test -z "$defaultval"; then
13414 if test x"$enablestring" = xdisable; then
13421 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-tga" >&5
13422 echo $ECHO_N "checking
for --${enablestring:-enable}-tga...
$ECHO_C" >&6; }
13423 # Check whether --enable-tga was given.
13424 if test "${enable_tga+set}" = set; then
13425 enableval=$enable_tga;
13426 if test "$enableval" = yes; then
13427 wx_cv_use_tga='wxUSE_TGA=yes'
13429 wx_cv_use_tga='wxUSE_TGA=no'
13434 wx_cv_use_tga='wxUSE_TGA=${'DEFAULT_wxUSE_TGA":-$defaultval}"
13439 eval "$wx_cv_use_tga"
13441 if test x
"$enablestring" = xdisable
; then
13442 if test $wxUSE_TGA = yes; then
13451 { echo "$as_me:$LINENO: result: $result" >&5
13452 echo "${ECHO_T}$result" >&6; }
13456 defaultval
=$wxUSE_ALL_FEATURES
13457 if test -z "$defaultval"; then
13458 if test x
"$enablestring" = xdisable
; then
13465 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-iff" >&5
13466 echo $ECHO_N "checking for --${enablestring:-enable}-iff... $ECHO_C" >&6; }
13467 # Check whether --enable-iff was given.
13468 if test "${enable_iff+set}" = set; then
13469 enableval
=$enable_iff;
13470 if test "$enableval" = yes; then
13471 wx_cv_use_iff
='wxUSE_IFF=yes'
13473 wx_cv_use_iff
='wxUSE_IFF=no'
13478 wx_cv_use_iff
='wxUSE_IFF=${'DEFAULT_wxUSE_IFF":-$defaultval}"
13483 eval "$wx_cv_use_iff"
13485 if test x"$enablestring" = xdisable; then
13486 if test $wxUSE_IFF = yes; then
13495 { echo "$as_me:$LINENO: result: $result" >&5
13496 echo "${ECHO_T}$result" >&6; }
13500 defaultval=$wxUSE_ALL_FEATURES
13501 if test -z "$defaultval"; then
13502 if test x"$enablestring" = xdisable; then
13509 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pnm" >&5
13510 echo $ECHO_N "checking for --${enablestring:-enable}-pnm... $ECHO_C" >&6; }
13511 # Check whether --enable-pnm was given.
13512 if test "${enable_pnm+set}" = set; then
13513 enableval=$enable_pnm;
13514 if test "$enableval" = yes; then
13515 wx_cv_use_pnm='wxUSE_PNM
=yes'
13517 wx_cv_use_pnm='wxUSE_PNM
=no
'
13522 wx_cv_use_pnm='wxUSE_PNM
=${'DEFAULT_wxUSE_PNM":-$defaultval}"
13527 eval "$wx_cv_use_pnm"
13529 if test x"$enablestring" = xdisable; then
13530 if test $wxUSE_PNM = yes; then
13539 { echo "$as_me:$LINENO: result
: $result" >&5
13540 echo "${ECHO_T}$result" >&6; }
13544 defaultval=$wxUSE_ALL_FEATURES
13545 if test -z "$defaultval"; then
13546 if test x"$enablestring" = xdisable; then
13553 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-xpm" >&5
13554 echo $ECHO_N "checking
for --${enablestring:-enable}-xpm...
$ECHO_C" >&6; }
13555 # Check whether --enable-xpm was given.
13556 if test "${enable_xpm+set}" = set; then
13557 enableval=$enable_xpm;
13558 if test "$enableval" = yes; then
13559 wx_cv_use_xpm='wxUSE_XPM=yes'
13561 wx_cv_use_xpm='wxUSE_XPM=no'
13566 wx_cv_use_xpm='wxUSE_XPM=${'DEFAULT_wxUSE_XPM":-$defaultval}"
13571 eval "$wx_cv_use_xpm"
13573 if test x
"$enablestring" = xdisable
; then
13574 if test $wxUSE_XPM = yes; then
13583 { echo "$as_me:$LINENO: result: $result" >&5
13584 echo "${ECHO_T}$result" >&6; }
13588 defaultval
=$wxUSE_ALL_FEATURES
13589 if test -z "$defaultval"; then
13590 if test x
"$enablestring" = xdisable
; then
13597 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ico_cur" >&5
13598 echo $ECHO_N "checking for --${enablestring:-enable}-ico_cur... $ECHO_C" >&6; }
13599 # Check whether --enable-ico_cur was given.
13600 if test "${enable_ico_cur+set}" = set; then
13601 enableval
=$enable_ico_cur;
13602 if test "$enableval" = yes; then
13603 wx_cv_use_ico_cur
='wxUSE_ICO_CUR=yes'
13605 wx_cv_use_ico_cur
='wxUSE_ICO_CUR=no'
13610 wx_cv_use_ico_cur
='wxUSE_ICO_CUR=${'DEFAULT_wxUSE_ICO_CUR":-$defaultval}"
13615 eval "$wx_cv_use_ico_cur"
13617 if test x"$enablestring" = xdisable; then
13618 if test $wxUSE_ICO_CUR = yes; then
13624 result=$wxUSE_ICO_CUR
13627 { echo "$as_me:$LINENO: result: $result" >&5
13628 echo "${ECHO_T}$result" >&6; }
13634 defaultval=$wxUSE_ALL_FEATURES
13635 if test -z "$defaultval"; then
13636 if test x"$enablestring" = xdisable; then
13643 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dccache" >&5
13644 echo $ECHO_N "checking for --${enablestring:-enable}-dccache... $ECHO_C" >&6; }
13645 # Check whether --enable-dccache was given.
13646 if test "${enable_dccache+set}" = set; then
13647 enableval=$enable_dccache;
13648 if test "$enableval" = yes; then
13649 wx_cv_use_dccache='wxUSE_DC_CACHEING
=yes'
13651 wx_cv_use_dccache='wxUSE_DC_CACHEING
=no
'
13656 wx_cv_use_dccache='wxUSE_DC_CACHEING
=${'DEFAULT_wxUSE_DC_CACHEING":-$defaultval}"
13661 eval "$wx_cv_use_dccache"
13663 if test x"$enablestring" = xdisable; then
13664 if test $wxUSE_DC_CACHEING = yes; then
13670 result=$wxUSE_DC_CACHEING
13673 { echo "$as_me:$LINENO: result
: $result" >&5
13674 echo "${ECHO_T}$result" >&6; }
13678 defaultval=$wxUSE_ALL_FEATURES
13679 if test -z "$defaultval"; then
13680 if test x"$enablestring" = xdisable; then
13687 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-ps-in-msw" >&5
13688 echo $ECHO_N "checking
for --${enablestring:-enable}-ps-in-msw...
$ECHO_C" >&6; }
13689 # Check whether --enable-ps-in-msw was given.
13690 if test "${enable_ps_in_msw+set}" = set; then
13691 enableval=$enable_ps_in_msw;
13692 if test "$enableval" = yes; then
13693 wx_cv_use_ps_in_msw='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=yes'
13695 wx_cv_use_ps_in_msw='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=no'
13700 wx_cv_use_ps_in_msw='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=${'DEFAULT_wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW":-$defaultval}"
13705 eval "$wx_cv_use_ps_in_msw"
13707 if test x
"$enablestring" = xdisable
; then
13708 if test $wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW = yes; then
13714 result
=$wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW
13717 { echo "$as_me:$LINENO: result: $result" >&5
13718 echo "${ECHO_T}$result" >&6; }
13722 defaultval
=$wxUSE_ALL_FEATURES
13723 if test -z "$defaultval"; then
13724 if test x
"$enablestring" = xdisable
; then
13731 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ownerdrawn" >&5
13732 echo $ECHO_N "checking for --${enablestring:-enable}-ownerdrawn... $ECHO_C" >&6; }
13733 # Check whether --enable-ownerdrawn was given.
13734 if test "${enable_ownerdrawn+set}" = set; then
13735 enableval
=$enable_ownerdrawn;
13736 if test "$enableval" = yes; then
13737 wx_cv_use_ownerdrawn
='wxUSE_OWNER_DRAWN=yes'
13739 wx_cv_use_ownerdrawn
='wxUSE_OWNER_DRAWN=no'
13744 wx_cv_use_ownerdrawn
='wxUSE_OWNER_DRAWN=${'DEFAULT_wxUSE_OWNER_DRAWN":-$defaultval}"
13749 eval "$wx_cv_use_ownerdrawn"
13751 if test x"$enablestring" = xdisable; then
13752 if test $wxUSE_OWNER_DRAWN = yes; then
13758 result=$wxUSE_OWNER_DRAWN
13761 { echo "$as_me:$LINENO: result: $result" >&5
13762 echo "${ECHO_T}$result" >&6; }
13766 defaultval=$wxUSE_ALL_FEATURES
13767 if test -z "$defaultval"; then
13768 if test x"$enablestring" = xdisable; then
13775 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-uxtheme" >&5
13776 echo $ECHO_N "checking for --${enablestring:-enable}-uxtheme... $ECHO_C" >&6; }
13777 # Check whether --enable-uxtheme was given.
13778 if test "${enable_uxtheme+set}" = set; then
13779 enableval=$enable_uxtheme;
13780 if test "$enableval" = yes; then
13781 wx_cv_use_uxtheme='wxUSE_UXTHEME
=yes'
13783 wx_cv_use_uxtheme='wxUSE_UXTHEME
=no
'
13788 wx_cv_use_uxtheme='wxUSE_UXTHEME
=${'DEFAULT_wxUSE_UXTHEME":-$defaultval}"
13793 eval "$wx_cv_use_uxtheme"
13795 if test x"$enablestring" = xdisable; then
13796 if test $wxUSE_UXTHEME = yes; then
13802 result=$wxUSE_UXTHEME
13805 { echo "$as_me:$LINENO: result
: $result" >&5
13806 echo "${ECHO_T}$result" >&6; }
13810 defaultval=$wxUSE_ALL_FEATURES
13811 if test -z "$defaultval"; then
13812 if test x"$enablestring" = xdisable; then
13819 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-wxdib" >&5
13820 echo $ECHO_N "checking
for --${enablestring:-enable}-wxdib...
$ECHO_C" >&6; }
13821 # Check whether --enable-wxdib was given.
13822 if test "${enable_wxdib+set}" = set; then
13823 enableval=$enable_wxdib;
13824 if test "$enableval" = yes; then
13825 wx_cv_use_wxdib='wxUSE_DIB=yes'
13827 wx_cv_use_wxdib='wxUSE_DIB=no'
13832 wx_cv_use_wxdib='wxUSE_DIB=${'DEFAULT_wxUSE_DIB":-$defaultval}"
13837 eval "$wx_cv_use_wxdib"
13839 if test x
"$enablestring" = xdisable
; then
13840 if test $wxUSE_DIB = yes; then
13849 { echo "$as_me:$LINENO: result: $result" >&5
13850 echo "${ECHO_T}$result" >&6; }
13853 if test "$wxUSE_MSW" != 1; then
13854 DEFAULT_wxUSE_AUTOID_MANAGEMENT
=no
13859 defaultval
=$wxUSE_ALL_FEATURES
13860 if test -z "$defaultval"; then
13861 if test x
"$enablestring" = xdisable
; then
13868 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-autoidman" >&5
13869 echo $ECHO_N "checking for --${enablestring:-enable}-autoidman... $ECHO_C" >&6; }
13870 # Check whether --enable-autoidman was given.
13871 if test "${enable_autoidman+set}" = set; then
13872 enableval
=$enable_autoidman;
13873 if test "$enableval" = yes; then
13874 wx_cv_use_autoidman
='wxUSE_AUTOID_MANAGEMENT=yes'
13876 wx_cv_use_autoidman
='wxUSE_AUTOID_MANAGEMENT=no'
13881 wx_cv_use_autoidman
='wxUSE_AUTOID_MANAGEMENT=${'DEFAULT_wxUSE_AUTOID_MANAGEMENT":-$defaultval}"
13886 eval "$wx_cv_use_autoidman"
13888 if test x"$enablestring" = xdisable; then
13889 if test $wxUSE_AUTOID_MANAGEMENT = yes; then
13895 result=$wxUSE_AUTOID_MANAGEMENT
13898 { echo "$as_me:$LINENO: result: $result" >&5
13899 echo "${ECHO_T}$result" >&6; }
13905 cat >confcache <<\_ACEOF
13906 # This file is a shell script that caches the results of configure
13907 # tests run on this system so they can be shared between configure
13908 # scripts and configure runs, see configure's option
--config-cache.
13909 # It is not useful on other systems. If it contains results you don't
13910 # want to keep, you may remove or edit it.
13912 # config.status only pays attention to the cache file if you give it
13913 # the --recheck option to rerun configure.
13915 # `ac_cv_env_foo' variables (set or unset) will be overridden when
13916 # loading this file, other *unset* `ac_cv_foo' will be assigned the
13917 # following values.
13921 # The following way of writing the cache mishandles newlines in values,
13922 # but we know of no workaround that is simple, portable, and efficient.
13923 # So, we kill variables containing newlines.
13924 # Ultrix sh set writes to stderr and can't be redirected directly,
13925 # and sets the high bit in the cache file unless we assign to the vars.
13927 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
13928 eval ac_val
=\$
$ac_var
13932 *_cv_
*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
13933 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
13936 _
| IFS
| as_nl
) ;; #(
13937 *) $as_unset $ac_var ;;
13943 case $as_nl`(ac_space=' '; set) 2>&1` in #(
13944 *${as_nl}ac_space
=\
*)
13945 # `set' does not quote correctly, so add quotes (double-quote
13946 # substitution turns \\\\ into \\, and sed turns \\ into \).
13949 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
13952 # `set' quotes correctly as required by POSIX, so do not add quotes.
13953 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
13962 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
13964 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
13966 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
13967 if test -w "$cache_file"; then
13968 test "x$cache_file" != "x/dev/null" &&
13969 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
13970 echo "$as_me: updating cache $cache_file" >&6;}
13971 cat confcache
>$cache_file
13973 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
13974 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
13984 ac_cpp
='$CPP $CPPFLAGS'
13985 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13986 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13987 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13988 if test -n "$ac_tool_prefix"; then
13989 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
13990 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
13991 { echo "$as_me:$LINENO: checking for $ac_word" >&5
13992 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
13993 if test "${ac_cv_prog_CC+set}" = set; then
13994 echo $ECHO_N "(cached) $ECHO_C" >&6
13996 if test -n "$CC"; then
13997 ac_cv_prog_CC
="$CC" # Let the user override the test.
13999 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14000 for as_dir
in $PATH
14003 test -z "$as_dir" && as_dir
=.
14004 for ac_exec_ext
in '' $ac_executable_extensions; do
14005 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14006 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
14007 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14017 if test -n "$CC"; then
14018 { echo "$as_me:$LINENO: result: $CC" >&5
14019 echo "${ECHO_T}$CC" >&6; }
14021 { echo "$as_me:$LINENO: result: no" >&5
14022 echo "${ECHO_T}no" >&6; }
14027 if test -z "$ac_cv_prog_CC"; then
14029 # Extract the first word of "gcc", so it can be a program name with args.
14030 set dummy gcc
; ac_word
=$2
14031 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14032 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14033 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
14034 echo $ECHO_N "(cached) $ECHO_C" >&6
14036 if test -n "$ac_ct_CC"; then
14037 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
14039 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14040 for as_dir
in $PATH
14043 test -z "$as_dir" && as_dir
=.
14044 for ac_exec_ext
in '' $ac_executable_extensions; do
14045 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14046 ac_cv_prog_ac_ct_CC
="gcc"
14047 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14056 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
14057 if test -n "$ac_ct_CC"; then
14058 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
14059 echo "${ECHO_T}$ac_ct_CC" >&6; }
14061 { echo "$as_me:$LINENO: result: no" >&5
14062 echo "${ECHO_T}no" >&6; }
14065 if test "x$ac_ct_CC" = x
; then
14068 case $cross_compiling:$ac_tool_warned in
14070 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
14071 whose name does not start with the host triplet. If you think this
14072 configuration is useful to you, please write to autoconf@gnu.org." >&5
14073 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
14074 whose name does not start with the host triplet. If you think this
14075 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
14076 ac_tool_warned
=yes ;;
14081 CC
="$ac_cv_prog_CC"
14084 if test -z "$CC"; then
14085 if test -n "$ac_tool_prefix"; then
14086 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
14087 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
14088 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14089 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14090 if test "${ac_cv_prog_CC+set}" = set; then
14091 echo $ECHO_N "(cached) $ECHO_C" >&6
14093 if test -n "$CC"; then
14094 ac_cv_prog_CC
="$CC" # Let the user override the test.
14096 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14097 for as_dir
in $PATH
14100 test -z "$as_dir" && as_dir
=.
14101 for ac_exec_ext
in '' $ac_executable_extensions; do
14102 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14103 ac_cv_prog_CC
="${ac_tool_prefix}cc"
14104 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14114 if test -n "$CC"; then
14115 { echo "$as_me:$LINENO: result: $CC" >&5
14116 echo "${ECHO_T}$CC" >&6; }
14118 { echo "$as_me:$LINENO: result: no" >&5
14119 echo "${ECHO_T}no" >&6; }
14125 if test -z "$CC"; then
14126 # Extract the first word of "cc", so it can be a program name with args.
14127 set dummy cc
; ac_word
=$2
14128 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14129 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14130 if test "${ac_cv_prog_CC+set}" = set; then
14131 echo $ECHO_N "(cached) $ECHO_C" >&6
14133 if test -n "$CC"; then
14134 ac_cv_prog_CC
="$CC" # Let the user override the test.
14136 ac_prog_rejected
=no
14137 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14138 for as_dir
in $PATH
14141 test -z "$as_dir" && as_dir
=.
14142 for ac_exec_ext
in '' $ac_executable_extensions; do
14143 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14144 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
14145 ac_prog_rejected
=yes
14149 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14156 if test $ac_prog_rejected = yes; then
14157 # We found a bogon in the path, so make sure we never use it.
14158 set dummy
$ac_cv_prog_CC
14160 if test $# != 0; then
14161 # We chose a different compiler from the bogus one.
14162 # However, it has the same basename, so the bogon will be chosen
14163 # first if we set CC to just the basename; use the full file name.
14165 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
14171 if test -n "$CC"; then
14172 { echo "$as_me:$LINENO: result: $CC" >&5
14173 echo "${ECHO_T}$CC" >&6; }
14175 { echo "$as_me:$LINENO: result: no" >&5
14176 echo "${ECHO_T}no" >&6; }
14181 if test -z "$CC"; then
14182 if test -n "$ac_tool_prefix"; then
14183 for ac_prog
in cl.exe
14185 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
14186 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
14187 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14188 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14189 if test "${ac_cv_prog_CC+set}" = set; then
14190 echo $ECHO_N "(cached) $ECHO_C" >&6
14192 if test -n "$CC"; then
14193 ac_cv_prog_CC
="$CC" # Let the user override the test.
14195 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14196 for as_dir
in $PATH
14199 test -z "$as_dir" && as_dir
=.
14200 for ac_exec_ext
in '' $ac_executable_extensions; do
14201 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14202 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
14203 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14213 if test -n "$CC"; then
14214 { echo "$as_me:$LINENO: result: $CC" >&5
14215 echo "${ECHO_T}$CC" >&6; }
14217 { echo "$as_me:$LINENO: result: no" >&5
14218 echo "${ECHO_T}no" >&6; }
14222 test -n "$CC" && break
14225 if test -z "$CC"; then
14227 for ac_prog
in cl.exe
14229 # Extract the first word of "$ac_prog", so it can be a program name with args.
14230 set dummy
$ac_prog; ac_word
=$2
14231 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14232 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14233 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
14234 echo $ECHO_N "(cached) $ECHO_C" >&6
14236 if test -n "$ac_ct_CC"; then
14237 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
14239 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14240 for as_dir
in $PATH
14243 test -z "$as_dir" && as_dir
=.
14244 for ac_exec_ext
in '' $ac_executable_extensions; do
14245 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14246 ac_cv_prog_ac_ct_CC
="$ac_prog"
14247 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14256 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
14257 if test -n "$ac_ct_CC"; then
14258 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
14259 echo "${ECHO_T}$ac_ct_CC" >&6; }
14261 { echo "$as_me:$LINENO: result: no" >&5
14262 echo "${ECHO_T}no" >&6; }
14266 test -n "$ac_ct_CC" && break
14269 if test "x$ac_ct_CC" = x
; then
14272 case $cross_compiling:$ac_tool_warned in
14274 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
14275 whose name does not start with the host triplet. If you think this
14276 configuration is useful to you, please write to autoconf@gnu.org." >&5
14277 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
14278 whose name does not start with the host triplet. If you think this
14279 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
14280 ac_tool_warned
=yes ;;
14289 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
14290 See \`config.log' for more details." >&5
14291 echo "$as_me: error: no acceptable C compiler found in \$PATH
14292 See \`config.log' for more details." >&2;}
14293 { (exit 1); exit 1; }; }
14295 # Provide some information about the compiler.
14296 echo "$as_me:$LINENO: checking for C compiler version" >&5
14297 ac_compiler
=`set X $ac_compile; echo $2`
14298 { (ac_try
="$ac_compiler --version >&5"
14299 case "(($ac_try" in
14300 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
14301 *) ac_try_echo=$ac_try;;
14303 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14304 (eval "$ac_compiler --version >&5") 2>&5
14306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14307 (exit $ac_status); }
14308 { (ac_try="$ac_compiler -v >&5"
14309 case "(($ac_try" in
14310 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
14311 *) ac_try_echo
=$ac_try;;
14313 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14314 (eval "$ac_compiler -v >&5") 2>&5
14316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14317 (exit $ac_status); }
14318 { (ac_try
="$ac_compiler -V >&5"
14319 case "(($ac_try" in
14320 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
14321 *) ac_try_echo=$ac_try;;
14323 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14324 (eval "$ac_compiler -V >&5") 2>&5
14326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14327 (exit $ac_status); }
14329 cat >conftest.$ac_ext <<_ACEOF
14332 cat confdefs.h >>conftest.$ac_ext
14333 cat >>conftest.$ac_ext <<_ACEOF
14334 /* end confdefs.h. */
14344 ac_clean_files_save=$ac_clean_files
14345 ac_clean_files="$ac_clean_files a.out a.exe b.out"
14346 # Try to create an executable without -o first, disregard a.out.
14347 # It will help us diagnose broken compilers, and finding out an intuition
14349 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
14350 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
14351 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
14353 # List of possible output files, starting from the most likely.
14354 # The algorithm is not robust to junk in `.
', hence go to wildcards (a.*)
14355 # only as a last resort. b.out is created by i960 compilers.
14356 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.
* conftest.
* b.out
'
14358 # The IRIX 6 linker writes into existing files which may not be
14359 # executable, retaining their permissions. Remove them first so a
14360 # subsequent execution test works.
14362 for ac_file in $ac_files
14365 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
14366 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
14371 if { (ac_try="$ac_link_default"
14372 case "(($ac_try" in
14373 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14374 *) ac_try_echo=$ac_try;;
14376 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14377 (eval "$ac_link_default") 2>&5
14379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14380 (exit $ac_status); }; then
14381 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
14382 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
14383 # in a Makefile. We should not override ac_cv_exeext if it was cached,
14384 # so that the user can short-circuit this test for compilers unknown to
14386 for ac_file
in $ac_files ''
14388 test -f "$ac_file" || continue
14390 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.map
| *.inf
| *.o
| *.obj
)
14393 # We found the default executable, but exeext='' is most
14397 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
14399 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
14401 # We set ac_cv_exeext here because the later test for it is not
14402 # safe: cross compilers may not add the suffix if given an `-o'
14403 # argument, so we may need to know it at that point already.
14404 # Even if this section looks crufty: it has the advantage of
14405 # actually working.
14411 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
14417 { echo "$as_me:$LINENO: result: $ac_file" >&5
14418 echo "${ECHO_T}$ac_file" >&6; }
14419 if test -z "$ac_file"; then
14420 echo "$as_me: failed program was:" >&5
14421 sed 's/^/| /' conftest.
$ac_ext >&5
14423 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
14424 See \`config.log' for more details." >&5
14425 echo "$as_me: error: C compiler cannot create executables
14426 See \`config.log' for more details." >&2;}
14427 { (exit 77); exit 77; }; }
14430 ac_exeext
=$ac_cv_exeext
14432 # Check that the compiler produces executables we can run. If not, either
14433 # the compiler is broken, or we cross compile.
14434 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
14435 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
14436 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
14437 # If not cross compiling, check that we can run a simple program.
14438 if test "$cross_compiling" != yes; then
14439 if { ac_try
='./$ac_file'
14440 { (case "(($ac_try" in
14441 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
14442 *) ac_try_echo=$ac_try;;
14444 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14445 (eval "$ac_try") 2>&5
14447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14448 (exit $ac_status); }; }; then
14451 if test "$cross_compiling" = maybe; then
14452 cross_compiling=yes
14454 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
14455 If you meant to cross compile, use \`--host'.
14456 See \`config.log' for more details.
" >&5
14457 echo "$as_me: error
: cannot run C compiled programs.
14458 If you meant to cross compile
, use \
`--host'.
14459 See \`config.log
' for more details." >&2;}
14460 { (exit 1); exit 1; }; }
14464 { echo "$as_me:$LINENO: result: yes" >&5
14465 echo "${ECHO_T}yes" >&6; }
14467 rm -f a.out a.exe conftest$ac_cv_exeext b.out
14468 ac_clean_files=$ac_clean_files_save
14469 # Check that the compiler produces executables we can run. If not, either
14470 # the compiler is broken, or we cross compile.
14471 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
14472 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
14473 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
14474 echo "${ECHO_T}$cross_compiling" >&6; }
14476 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
14477 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
14478 if { (ac_try="$ac_link"
14479 case "(($ac_try" in
14480 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14481 *) ac_try_echo=$ac_try;;
14483 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14484 (eval "$ac_link") 2>&5
14486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14487 (exit $ac_status); }; then
14488 # If both `conftest.exe' and
`conftest' are `present
' (well, observable)
14489 # catch `conftest.exe'. For instance with Cygwin
, `ls conftest' will
14490 # work properly (i.e., refer to `conftest.exe
'), while it won't with
14492 for ac_file
in conftest.exe conftest conftest.
*; do
14493 test -f "$ac_file" || continue
14495 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.map
| *.inf
| *.o
| *.obj
) ;;
14496 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
14502 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
14503 See \`config.log' for more details." >&5
14504 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
14505 See \`config.log' for more details." >&2;}
14506 { (exit 1); exit 1; }; }
14509 rm -f conftest
$ac_cv_exeext
14510 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
14511 echo "${ECHO_T}$ac_cv_exeext" >&6; }
14513 rm -f conftest.
$ac_ext
14514 EXEEXT
=$ac_cv_exeext
14516 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
14517 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
14518 if test "${ac_cv_objext+set}" = set; then
14519 echo $ECHO_N "(cached) $ECHO_C" >&6
14521 cat >conftest.
$ac_ext <<_ACEOF
14524 cat confdefs.h
>>conftest.
$ac_ext
14525 cat >>conftest.
$ac_ext <<_ACEOF
14526 /* end confdefs.h. */
14536 rm -f conftest.o conftest.obj
14537 if { (ac_try
="$ac_compile"
14538 case "(($ac_try" in
14539 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
14540 *) ac_try_echo=$ac_try;;
14542 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14543 (eval "$ac_compile") 2>&5
14545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14546 (exit $ac_status); }; then
14547 for ac_file in conftest.o conftest.obj conftest.*; do
14548 test -f "$ac_file" || continue;
14550 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
14551 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
14556 echo "$as_me: failed program was:" >&5
14557 sed 's/^/| /' conftest.$ac_ext >&5
14559 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
14560 See \`config.log
' for more details." >&5
14561 echo "$as_me: error: cannot compute suffix of object files: cannot compile
14562 See \`config.log' for more details.
" >&2;}
14563 { (exit 1); exit 1; }; }
14566 rm -f conftest.$ac_cv_objext conftest.$ac_ext
14568 { echo "$as_me:$LINENO: result
: $ac_cv_objext" >&5
14569 echo "${ECHO_T}$ac_cv_objext" >&6; }
14570 OBJEXT=$ac_cv_objext
14572 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler
" >&5
14573 echo $ECHO_N "checking whether we are using the GNU C compiler...
$ECHO_C" >&6; }
14574 if test "${ac_cv_c_compiler_gnu+set}" = set; then
14575 echo $ECHO_N "(cached
) $ECHO_C" >&6
14577 cat >conftest.$ac_ext <<_ACEOF
14580 cat confdefs.h >>conftest.$ac_ext
14581 cat >>conftest.$ac_ext <<_ACEOF
14582 /* end confdefs.h. */
14595 rm -f conftest.$ac_objext
14596 if { (ac_try="$ac_compile"
14597 case "(($ac_try" in
14598 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14599 *) ac_try_echo=$ac_try;;
14601 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
14602 (eval "$ac_compile") 2>conftest.er1
14604 grep -v '^ *+' conftest.er1 >conftest.err
14606 cat conftest.err >&5
14607 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
14608 (exit $ac_status); } && {
14609 test -z "$ac_c_werror_flag" ||
14610 test ! -s conftest.err
14611 } && test -s conftest.$ac_objext; then
14612 ac_compiler_gnu=yes
14614 echo "$as_me: failed program was
:" >&5
14615 sed 's/^/| /' conftest.$ac_ext >&5
14620 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14621 ac_cv_c_compiler_gnu=$ac_compiler_gnu
14624 { echo "$as_me:$LINENO: result
: $ac_cv_c_compiler_gnu" >&5
14625 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
14626 GCC=`test $ac_compiler_gnu = yes && echo yes`
14627 ac_test_CFLAGS=${CFLAGS+set}
14628 ac_save_CFLAGS=$CFLAGS
14629 { echo "$as_me:$LINENO: checking whether
$CC accepts
-g" >&5
14630 echo $ECHO_N "checking whether
$CC accepts
-g...
$ECHO_C" >&6; }
14631 if test "${ac_cv_prog_cc_g+set}" = set; then
14632 echo $ECHO_N "(cached
) $ECHO_C" >&6
14634 ac_save_c_werror_flag=$ac_c_werror_flag
14635 ac_c_werror_flag=yes
14638 cat >conftest.$ac_ext <<_ACEOF
14641 cat confdefs.h >>conftest.$ac_ext
14642 cat >>conftest.$ac_ext <<_ACEOF
14643 /* end confdefs.h. */
14653 rm -f conftest.$ac_objext
14654 if { (ac_try="$ac_compile"
14655 case "(($ac_try" in
14656 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14657 *) ac_try_echo=$ac_try;;
14659 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
14660 (eval "$ac_compile") 2>conftest.er1
14662 grep -v '^ *+' conftest.er1 >conftest.err
14664 cat conftest.err >&5
14665 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
14666 (exit $ac_status); } && {
14667 test -z "$ac_c_werror_flag" ||
14668 test ! -s conftest.err
14669 } && test -s conftest.$ac_objext; then
14670 ac_cv_prog_cc_g=yes
14672 echo "$as_me: failed program was
:" >&5
14673 sed 's/^/| /' conftest.$ac_ext >&5
14676 cat >conftest.$ac_ext <<_ACEOF
14679 cat confdefs.h >>conftest.$ac_ext
14680 cat >>conftest.$ac_ext <<_ACEOF
14681 /* end confdefs.h. */
14691 rm -f conftest.$ac_objext
14692 if { (ac_try="$ac_compile"
14693 case "(($ac_try" in
14694 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14695 *) ac_try_echo=$ac_try;;
14697 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
14698 (eval "$ac_compile") 2>conftest.er1
14700 grep -v '^ *+' conftest.er1 >conftest.err
14702 cat conftest.err >&5
14703 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
14704 (exit $ac_status); } && {
14705 test -z "$ac_c_werror_flag" ||
14706 test ! -s conftest.err
14707 } && test -s conftest.$ac_objext; then
14710 echo "$as_me: failed program was
:" >&5
14711 sed 's/^/| /' conftest.$ac_ext >&5
14713 ac_c_werror_flag=$ac_save_c_werror_flag
14715 cat >conftest.$ac_ext <<_ACEOF
14718 cat confdefs.h >>conftest.$ac_ext
14719 cat >>conftest.$ac_ext <<_ACEOF
14720 /* end confdefs.h. */
14730 rm -f conftest.$ac_objext
14731 if { (ac_try="$ac_compile"
14732 case "(($ac_try" in
14733 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14734 *) ac_try_echo=$ac_try;;
14736 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
14737 (eval "$ac_compile") 2>conftest.er1
14739 grep -v '^ *+' conftest.er1 >conftest.err
14741 cat conftest.err >&5
14742 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
14743 (exit $ac_status); } && {
14744 test -z "$ac_c_werror_flag" ||
14745 test ! -s conftest.err
14746 } && test -s conftest.$ac_objext; then
14747 ac_cv_prog_cc_g=yes
14749 echo "$as_me: failed program was
:" >&5
14750 sed 's/^/| /' conftest.$ac_ext >&5
14755 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14758 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14761 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14762 ac_c_werror_flag=$ac_save_c_werror_flag
14764 { echo "$as_me:$LINENO: result
: $ac_cv_prog_cc_g" >&5
14765 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
14766 if test "$ac_test_CFLAGS" = set; then
14767 CFLAGS=$ac_save_CFLAGS
14768 elif test $ac_cv_prog_cc_g = yes; then
14769 if test "$GCC" = yes; then
14775 if test "$GCC" = yes; then
14781 { echo "$as_me:$LINENO: checking
for $CC option to accept ISO C89
" >&5
14782 echo $ECHO_N "checking
for $CC option to accept ISO C89...
$ECHO_C" >&6; }
14783 if test "${ac_cv_prog_cc_c89+set}" = set; then
14784 echo $ECHO_N "(cached
) $ECHO_C" >&6
14786 ac_cv_prog_cc_c89=no
14788 cat >conftest.$ac_ext <<_ACEOF
14791 cat confdefs.h >>conftest.$ac_ext
14792 cat >>conftest.$ac_ext <<_ACEOF
14793 /* end confdefs.h. */
14794 #include <stdarg.h>
14796 #include <sys/types.h>
14797 #include <sys/stat.h>
14798 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
14799 struct buf { int x; };
14800 FILE * (*rcsopen) (struct buf *, struct stat *, int);
14801 static char *e (p, i)
14807 static char *f (char * (*g) (char **, int), char **p, ...)
14812 s = g (p, va_arg (v,int));
14817 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
14818 function prototypes and stuff, but not '\xHH' hex character constants.
14819 These don't provoke an error unfortunately, instead are silently treated
14820 as 'x'. The following induces an error, until -std is added to get
14821 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
14822 array size at least. It's necessary to write '\x00'==0 to get something
14823 that's true only with -std. */
14824 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
14826 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
14827 inside strings and character constants. */
14829 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
14831 int test (int i, double x);
14832 struct s1 {int (*f) (int a);};
14833 struct s2 {int (*f) (double a);};
14834 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
14840 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
14845 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
14846 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
14848 CC="$ac_save_CC $ac_arg"
14849 rm -f conftest.$ac_objext
14850 if { (ac_try="$ac_compile"
14851 case "(($ac_try" in
14852 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14853 *) ac_try_echo=$ac_try;;
14855 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
14856 (eval "$ac_compile") 2>conftest.er1
14858 grep -v '^ *+' conftest.er1 >conftest.err
14860 cat conftest.err >&5
14861 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
14862 (exit $ac_status); } && {
14863 test -z "$ac_c_werror_flag" ||
14864 test ! -s conftest.err
14865 } && test -s conftest.$ac_objext; then
14866 ac_cv_prog_cc_c89=$ac_arg
14868 echo "$as_me: failed program was
:" >&5
14869 sed 's/^/| /' conftest.$ac_ext >&5
14874 rm -f core conftest.err conftest.$ac_objext
14875 test "x
$ac_cv_prog_cc_c89" != "xno
" && break
14877 rm -f conftest.$ac_ext
14882 case "x
$ac_cv_prog_cc_c89" in
14884 { echo "$as_me:$LINENO: result
: none needed
" >&5
14885 echo "${ECHO_T}none needed
" >&6; } ;;
14887 { echo "$as_me:$LINENO: result
: unsupported
" >&5
14888 echo "${ECHO_T}unsupported
" >&6; } ;;
14890 CC="$CC $ac_cv_prog_cc_c89"
14891 { echo "$as_me:$LINENO: result
: $ac_cv_prog_cc_c89" >&5
14892 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
14897 ac_cpp='$CPP $CPPFLAGS'
14898 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14899 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14900 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14906 ac_cpp='$CPP $CPPFLAGS'
14907 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14908 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14909 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14911 { echo "$as_me:$LINENO: checking whether we are using the Intel C compiler
" >&5
14912 echo $ECHO_N "checking whether we are using the Intel C compiler...
$ECHO_C" >&6; }
14913 if test "${bakefile_cv_c_compiler___INTEL_COMPILER+set}" = set; then
14914 echo $ECHO_N "(cached
) $ECHO_C" >&6
14916 cat >conftest.$ac_ext <<_ACEOF
14919 cat confdefs.h >>conftest.$ac_ext
14920 cat >>conftest.$ac_ext <<_ACEOF
14921 /* end confdefs.h. */
14927 #ifndef __INTEL_COMPILER
14935 rm -f conftest.$ac_objext
14936 if { (ac_try="$ac_compile"
14937 case "(($ac_try" in
14938 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14939 *) ac_try_echo=$ac_try;;
14941 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
14942 (eval "$ac_compile") 2>conftest.er1
14944 grep -v '^ *+' conftest.er1 >conftest.err
14946 cat conftest.err >&5
14947 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
14948 (exit $ac_status); } && {
14949 test -z "$ac_c_werror_flag" ||
14950 test ! -s conftest.err
14951 } && test -s conftest.$ac_objext; then
14952 bakefile_cv_c_compiler___INTEL_COMPILER=yes
14954 echo "$as_me: failed program was
:" >&5
14955 sed 's/^/| /' conftest.$ac_ext >&5
14957 bakefile_cv_c_compiler___INTEL_COMPILER=no
14961 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14965 { echo "$as_me:$LINENO: result
: $bakefile_cv_c_compiler___INTEL_COMPILER" >&5
14966 echo "${ECHO_T}$bakefile_cv_c_compiler___INTEL_COMPILER" >&6; }
14967 if test "x
$bakefile_cv_c_compiler___INTEL_COMPILER" = "xyes
"; then
14973 ac_cpp='$CPP $CPPFLAGS'
14974 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14975 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14976 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14981 if test "x
$GCC" != "xyes
"; then
14982 if test "xCC
" = "xC
"; then
14983 { echo "$as_me:$LINENO: checking
if the C compiler requires
-ext o
" >&5
14984 echo $ECHO_N "checking
if the C compiler requires
-ext o...
$ECHO_C" >&6; }
14985 if test "${bakefile_cv_c_exto+set}" = set; then
14986 echo $ECHO_N "(cached
) $ECHO_C" >&6
14988 cat >conftest.$ac_ext <<_ACEOF
14991 cat confdefs.h >>conftest.$ac_ext
14992 cat >>conftest.$ac_ext <<_ACEOF
14993 /* end confdefs.h. */
15003 rm -f conftest.$ac_objext conftest.$ac_ext.o
15004 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15005 (eval $ac_compile) 2>&5
15007 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
15008 (exit $ac_status); }; then
15009 for ac_file in `(ls conftest.* 2>/dev/null)`; do
15011 conftest.$ac_ext.o)
15012 bakefile_cv_c_exto="-ext o
"
15019 { { echo "$as_me:$LINENO: error
: cannot figure out
if compiler needs
-ext o
: cannot compile
15020 See \
`config.log' for more details." >&5
15021 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
15022 See \`config.log
' for more details." >&2;}
15023 { (exit 1); exit 1; }; }
15027 rm -f conftest.$ac_ext.o conftest.$ac_objext conftest.$ac_ext
15030 { echo "$as_me:$LINENO: result: $bakefile_cv_c_exto" >&5
15031 echo "${ECHO_T}$bakefile_cv_c_exto" >&6; }
15032 if test "x$bakefile_cv_c_exto" '!=' "x"; then
15033 if test "c" = "c"; then
15034 CFLAGS="$bakefile_cv_c_exto $CFLAGS"
15036 if test "c" = "cxx"; then
15037 CXXFLAGS="$bakefile_cv_c_exto $CXXFLAGS"
15041 if test "x$bakefile_cv_c_exto" '!=' "x"; then
15042 unset ac_cv_prog_cc_g
15043 ac_test_CFLAGS=${CFLAGS+set}
15044 ac_save_CFLAGS=$CFLAGS
15045 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
15046 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
15047 if test "${ac_cv_prog_cc_g+set}" = set; then
15048 echo $ECHO_N "(cached) $ECHO_C" >&6
15050 ac_save_c_werror_flag=$ac_c_werror_flag
15051 ac_c_werror_flag=yes
15054 cat >conftest.$ac_ext <<_ACEOF
15057 cat confdefs.h >>conftest.$ac_ext
15058 cat >>conftest.$ac_ext <<_ACEOF
15059 /* end confdefs.h. */
15069 rm -f conftest.$ac_objext
15070 if { (ac_try="$ac_compile"
15071 case "(($ac_try" in
15072 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15073 *) ac_try_echo=$ac_try;;
15075 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15076 (eval "$ac_compile") 2>conftest.er1
15078 grep -v '^
*+' conftest.er1 >conftest.err
15080 cat conftest.err >&5
15081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15082 (exit $ac_status); } && {
15083 test -z "$ac_c_werror_flag" ||
15084 test ! -s conftest.err
15085 } && test -s conftest.$ac_objext; then
15086 ac_cv_prog_cc_g=yes
15088 echo "$as_me: failed program was:" >&5
15089 sed 's
/^
/| /' conftest.$ac_ext >&5
15092 cat >conftest.$ac_ext <<_ACEOF
15095 cat confdefs.h >>conftest.$ac_ext
15096 cat >>conftest.$ac_ext <<_ACEOF
15097 /* end confdefs.h. */
15107 rm -f conftest.$ac_objext
15108 if { (ac_try="$ac_compile"
15109 case "(($ac_try" in
15110 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15111 *) ac_try_echo=$ac_try;;
15113 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15114 (eval "$ac_compile") 2>conftest.er1
15116 grep -v '^
*+' conftest.er1 >conftest.err
15118 cat conftest.err >&5
15119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15120 (exit $ac_status); } && {
15121 test -z "$ac_c_werror_flag" ||
15122 test ! -s conftest.err
15123 } && test -s conftest.$ac_objext; then
15126 echo "$as_me: failed program was:" >&5
15127 sed 's
/^
/| /' conftest.$ac_ext >&5
15129 ac_c_werror_flag=$ac_save_c_werror_flag
15131 cat >conftest.$ac_ext <<_ACEOF
15134 cat confdefs.h >>conftest.$ac_ext
15135 cat >>conftest.$ac_ext <<_ACEOF
15136 /* end confdefs.h. */
15146 rm -f conftest.$ac_objext
15147 if { (ac_try="$ac_compile"
15148 case "(($ac_try" in
15149 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15150 *) ac_try_echo=$ac_try;;
15152 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15153 (eval "$ac_compile") 2>conftest.er1
15155 grep -v '^
*+' conftest.er1 >conftest.err
15157 cat conftest.err >&5
15158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15159 (exit $ac_status); } && {
15160 test -z "$ac_c_werror_flag" ||
15161 test ! -s conftest.err
15162 } && test -s conftest.$ac_objext; then
15163 ac_cv_prog_cc_g=yes
15165 echo "$as_me: failed program was:" >&5
15166 sed 's
/^
/| /' conftest.$ac_ext >&5
15171 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15174 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15177 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15178 ac_c_werror_flag=$ac_save_c_werror_flag
15180 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
15181 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
15182 if test "$ac_test_CFLAGS" = set; then
15183 CFLAGS=$ac_save_CFLAGS
15184 elif test $ac_cv_prog_cc_g = yes; then
15185 if test "$GCC" = yes; then
15191 if test "$GCC" = yes; then
15205 ac_cpp='$CPP $CPPFLAGS'
15206 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
15207 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
15208 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15210 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
15211 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6; }
15212 if test "${bakefile_cv_c_compiler___xlC__+set}" = set; then
15213 echo $ECHO_N "(cached) $ECHO_C" >&6
15215 cat >conftest.$ac_ext <<_ACEOF
15218 cat confdefs.h >>conftest.$ac_ext
15219 cat >>conftest.$ac_ext <<_ACEOF
15220 /* end confdefs.h. */
15234 rm -f conftest.$ac_objext
15235 if { (ac_try="$ac_compile"
15236 case "(($ac_try" in
15237 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15238 *) ac_try_echo=$ac_try;;
15240 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15241 (eval "$ac_compile") 2>conftest.er1
15243 grep -v '^
*+' conftest.er1 >conftest.err
15245 cat conftest.err >&5
15246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15247 (exit $ac_status); } && {
15248 test -z "$ac_c_werror_flag" ||
15249 test ! -s conftest.err
15250 } && test -s conftest.$ac_objext; then
15251 bakefile_cv_c_compiler___xlC__=yes
15253 echo "$as_me: failed program was:" >&5
15254 sed 's
/^
/| /' conftest.$ac_ext >&5
15256 bakefile_cv_c_compiler___xlC__=no
15260 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15264 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___xlC__" >&5
15265 echo "${ECHO_T}$bakefile_cv_c_compiler___xlC__" >&6; }
15266 if test "x$bakefile_cv_c_compiler___xlC__" = "xyes"; then
15272 ac_cpp='$CPP $CPPFLAGS'
15273 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
15274 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
15275 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15285 ac_cpp='$CPP $CPPFLAGS'
15286 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
15287 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
15288 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15290 { echo "$as_me:$LINENO: checking whether we are using the Metrowerks C compiler" >&5
15291 echo $ECHO_N "checking whether we are using the Metrowerks C compiler... $ECHO_C" >&6; }
15292 if test "${bakefile_cv_c_compiler___MWERKS__+set}" = set; then
15293 echo $ECHO_N "(cached) $ECHO_C" >&6
15295 cat >conftest.$ac_ext <<_ACEOF
15298 cat confdefs.h >>conftest.$ac_ext
15299 cat >>conftest.$ac_ext <<_ACEOF
15300 /* end confdefs.h. */
15314 rm -f conftest.$ac_objext
15315 if { (ac_try="$ac_compile"
15316 case "(($ac_try" in
15317 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15318 *) ac_try_echo=$ac_try;;
15320 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15321 (eval "$ac_compile") 2>conftest.er1
15323 grep -v '^
*+' conftest.er1 >conftest.err
15325 cat conftest.err >&5
15326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15327 (exit $ac_status); } && {
15328 test -z "$ac_c_werror_flag" ||
15329 test ! -s conftest.err
15330 } && test -s conftest.$ac_objext; then
15331 bakefile_cv_c_compiler___MWERKS__=yes
15333 echo "$as_me: failed program was:" >&5
15334 sed 's
/^
/| /' conftest.$ac_ext >&5
15336 bakefile_cv_c_compiler___MWERKS__=no
15340 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15344 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___MWERKS__" >&5
15345 echo "${ECHO_T}$bakefile_cv_c_compiler___MWERKS__" >&6; }
15346 if test "x$bakefile_cv_c_compiler___MWERKS__" = "xyes"; then
15352 ac_cpp='$CPP $CPPFLAGS'
15353 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
15354 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
15355 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15362 ac_cpp='$CPP $CPPFLAGS'
15363 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
15364 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
15365 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15367 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
15368 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6; }
15369 if test "${bakefile_cv_c_compiler___xlC__+set}" = set; then
15370 echo $ECHO_N "(cached) $ECHO_C" >&6
15372 cat >conftest.$ac_ext <<_ACEOF
15375 cat confdefs.h >>conftest.$ac_ext
15376 cat >>conftest.$ac_ext <<_ACEOF
15377 /* end confdefs.h. */
15391 rm -f conftest.$ac_objext
15392 if { (ac_try="$ac_compile"
15393 case "(($ac_try" in
15394 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15395 *) ac_try_echo=$ac_try;;
15397 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15398 (eval "$ac_compile") 2>conftest.er1
15400 grep -v '^
*+' conftest.er1 >conftest.err
15402 cat conftest.err >&5
15403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15404 (exit $ac_status); } && {
15405 test -z "$ac_c_werror_flag" ||
15406 test ! -s conftest.err
15407 } && test -s conftest.$ac_objext; then
15408 bakefile_cv_c_compiler___xlC__=yes
15410 echo "$as_me: failed program was:" >&5
15411 sed 's
/^
/| /' conftest.$ac_ext >&5
15413 bakefile_cv_c_compiler___xlC__=no
15417 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15421 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___xlC__" >&5
15422 echo "${ECHO_T}$bakefile_cv_c_compiler___xlC__" >&6; }
15423 if test "x$bakefile_cv_c_compiler___xlC__" = "xyes"; then
15429 ac_cpp='$CPP $CPPFLAGS'
15430 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
15431 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
15432 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15442 ac_cpp='$CPP $CPPFLAGS'
15443 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
15444 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
15445 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15447 { echo "$as_me:$LINENO: checking whether we are using the SGI C compiler" >&5
15448 echo $ECHO_N "checking whether we are using the SGI C compiler... $ECHO_C" >&6; }
15449 if test "${bakefile_cv_c_compiler__SGI_COMPILER_VERSION+set}" = set; then
15450 echo $ECHO_N "(cached) $ECHO_C" >&6
15452 cat >conftest.$ac_ext <<_ACEOF
15455 cat confdefs.h >>conftest.$ac_ext
15456 cat >>conftest.$ac_ext <<_ACEOF
15457 /* end confdefs.h. */
15463 #ifndef _SGI_COMPILER_VERSION
15471 rm -f conftest.$ac_objext
15472 if { (ac_try="$ac_compile"
15473 case "(($ac_try" in
15474 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15475 *) ac_try_echo=$ac_try;;
15477 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15478 (eval "$ac_compile") 2>conftest.er1
15480 grep -v '^
*+' conftest.er1 >conftest.err
15482 cat conftest.err >&5
15483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15484 (exit $ac_status); } && {
15485 test -z "$ac_c_werror_flag" ||
15486 test ! -s conftest.err
15487 } && test -s conftest.$ac_objext; then
15488 bakefile_cv_c_compiler__SGI_COMPILER_VERSION=yes
15490 echo "$as_me: failed program was:" >&5
15491 sed 's
/^
/| /' conftest.$ac_ext >&5
15493 bakefile_cv_c_compiler__SGI_COMPILER_VERSION=no
15497 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15501 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&5
15502 echo "${ECHO_T}$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&6; }
15503 if test "x$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" = "xyes"; then
15509 ac_cpp='$CPP $CPPFLAGS'
15510 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
15511 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
15512 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15522 ac_cpp='$CPP $CPPFLAGS'
15523 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
15524 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
15525 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15527 { echo "$as_me:$LINENO: checking whether we are using the Sun C compiler" >&5
15528 echo $ECHO_N "checking whether we are using the Sun C compiler... $ECHO_C" >&6; }
15529 if test "${bakefile_cv_c_compiler___SUNPRO_C+set}" = set; then
15530 echo $ECHO_N "(cached) $ECHO_C" >&6
15532 cat >conftest.$ac_ext <<_ACEOF
15535 cat confdefs.h >>conftest.$ac_ext
15536 cat >>conftest.$ac_ext <<_ACEOF
15537 /* end confdefs.h. */
15551 rm -f conftest.$ac_objext
15552 if { (ac_try="$ac_compile"
15553 case "(($ac_try" in
15554 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15555 *) ac_try_echo=$ac_try;;
15557 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15558 (eval "$ac_compile") 2>conftest.er1
15560 grep -v '^
*+' conftest.er1 >conftest.err
15562 cat conftest.err >&5
15563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15564 (exit $ac_status); } && {
15565 test -z "$ac_c_werror_flag" ||
15566 test ! -s conftest.err
15567 } && test -s conftest.$ac_objext; then
15568 bakefile_cv_c_compiler___SUNPRO_C=yes
15570 echo "$as_me: failed program was:" >&5
15571 sed 's
/^
/| /' conftest.$ac_ext >&5
15573 bakefile_cv_c_compiler___SUNPRO_C=no
15577 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15581 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
15582 echo "${ECHO_T}$bakefile_cv_c_compiler___SUNPRO_C" >&6; }
15583 if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
15589 ac_cpp='$CPP $CPPFLAGS'
15590 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
15591 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
15592 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15602 ac_cpp='$CPP $CPPFLAGS'
15603 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
15604 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
15605 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15607 { echo "$as_me:$LINENO: checking whether we are using the HP C compiler" >&5
15608 echo $ECHO_N "checking whether we are using the HP C compiler... $ECHO_C" >&6; }
15609 if test "${bakefile_cv_c_compiler___HP_cc+set}" = set; then
15610 echo $ECHO_N "(cached) $ECHO_C" >&6
15612 cat >conftest.$ac_ext <<_ACEOF
15615 cat confdefs.h >>conftest.$ac_ext
15616 cat >>conftest.$ac_ext <<_ACEOF
15617 /* end confdefs.h. */
15631 rm -f conftest.$ac_objext
15632 if { (ac_try="$ac_compile"
15633 case "(($ac_try" in
15634 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15635 *) ac_try_echo=$ac_try;;
15637 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15638 (eval "$ac_compile") 2>conftest.er1
15640 grep -v '^
*+' conftest.er1 >conftest.err
15642 cat conftest.err >&5
15643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15644 (exit $ac_status); } && {
15645 test -z "$ac_c_werror_flag" ||
15646 test ! -s conftest.err
15647 } && test -s conftest.$ac_objext; then
15648 bakefile_cv_c_compiler___HP_cc=yes
15650 echo "$as_me: failed program was:" >&5
15651 sed 's
/^
/| /' conftest.$ac_ext >&5
15653 bakefile_cv_c_compiler___HP_cc=no
15657 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15661 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___HP_cc" >&5
15662 echo "${ECHO_T}$bakefile_cv_c_compiler___HP_cc" >&6; }
15663 if test "x$bakefile_cv_c_compiler___HP_cc" = "xyes"; then
15669 ac_cpp='$CPP $CPPFLAGS'
15670 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
15671 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
15672 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15682 ac_cpp='$CPP $CPPFLAGS'
15683 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
15684 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
15685 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15687 { echo "$as_me:$LINENO: checking whether we are using the Compaq C compiler" >&5
15688 echo $ECHO_N "checking whether we are using the Compaq C compiler... $ECHO_C" >&6; }
15689 if test "${bakefile_cv_c_compiler___DECC+set}" = set; then
15690 echo $ECHO_N "(cached) $ECHO_C" >&6
15692 cat >conftest.$ac_ext <<_ACEOF
15695 cat confdefs.h >>conftest.$ac_ext
15696 cat >>conftest.$ac_ext <<_ACEOF
15697 /* end confdefs.h. */
15711 rm -f conftest.$ac_objext
15712 if { (ac_try="$ac_compile"
15713 case "(($ac_try" in
15714 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15715 *) ac_try_echo=$ac_try;;
15717 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15718 (eval "$ac_compile") 2>conftest.er1
15720 grep -v '^
*+' conftest.er1 >conftest.err
15722 cat conftest.err >&5
15723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15724 (exit $ac_status); } && {
15725 test -z "$ac_c_werror_flag" ||
15726 test ! -s conftest.err
15727 } && test -s conftest.$ac_objext; then
15728 bakefile_cv_c_compiler___DECC=yes
15730 echo "$as_me: failed program was:" >&5
15731 sed 's
/^
/| /' conftest.$ac_ext >&5
15733 bakefile_cv_c_compiler___DECC=no
15737 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15741 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___DECC" >&5
15742 echo "${ECHO_T}$bakefile_cv_c_compiler___DECC" >&6; }
15743 if test "x$bakefile_cv_c_compiler___DECC" = "xyes"; then
15749 ac_cpp='$CPP $CPPFLAGS'
15750 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
15751 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
15752 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15762 ac_cpp='$CPP $CPPFLAGS'
15763 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
15764 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
15765 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15767 { echo "$as_me:$LINENO: checking whether we are using the Sun C compiler" >&5
15768 echo $ECHO_N "checking whether we are using the Sun C compiler... $ECHO_C" >&6; }
15769 if test "${bakefile_cv_c_compiler___SUNPRO_C+set}" = set; then
15770 echo $ECHO_N "(cached) $ECHO_C" >&6
15772 cat >conftest.$ac_ext <<_ACEOF
15775 cat confdefs.h >>conftest.$ac_ext
15776 cat >>conftest.$ac_ext <<_ACEOF
15777 /* end confdefs.h. */
15791 rm -f conftest.$ac_objext
15792 if { (ac_try="$ac_compile"
15793 case "(($ac_try" in
15794 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15795 *) ac_try_echo=$ac_try;;
15797 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15798 (eval "$ac_compile") 2>conftest.er1
15800 grep -v '^
*+' conftest.er1 >conftest.err
15802 cat conftest.err >&5
15803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15804 (exit $ac_status); } && {
15805 test -z "$ac_c_werror_flag" ||
15806 test ! -s conftest.err
15807 } && test -s conftest.$ac_objext; then
15808 bakefile_cv_c_compiler___SUNPRO_C=yes
15810 echo "$as_me: failed program was:" >&5
15811 sed 's
/^
/| /' conftest.$ac_ext >&5
15813 bakefile_cv_c_compiler___SUNPRO_C=no
15817 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15821 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
15822 echo "${ECHO_T}$bakefile_cv_c_compiler___SUNPRO_C" >&6; }
15823 if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
15829 ac_cpp='$CPP $CPPFLAGS'
15830 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
15831 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
15832 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15843 ac_cpp='$CPP $CPPFLAGS'
15844 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
15845 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
15846 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15847 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
15848 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
15849 # On Suns, sometimes $CPP names a directory.
15850 if test -n "$CPP" && test -d "$CPP"; then
15853 if test -z "$CPP"; then
15854 if test "${ac_cv_prog_CPP+set}" = set; then
15855 echo $ECHO_N "(cached) $ECHO_C" >&6
15857 # Double quotes because CPP needs to be expanded
15858 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
15860 ac_preproc_ok=false
15861 for ac_c_preproc_warn_flag in '' yes
15863 # Use a header file that comes with gcc, so configuring glibc
15864 # with a fresh cross-compiler works.
15865 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15866 # <limits.h> exists even on freestanding compilers.
15867 # On the NeXT, cc -E runs the code through the compiler's parser
,
15868 # not just through cpp. "Syntax error" is here to catch this case.
15869 cat >conftest.
$ac_ext <<_ACEOF
15872 cat confdefs.h
>>conftest.
$ac_ext
15873 cat >>conftest.
$ac_ext <<_ACEOF
15874 /* end confdefs.h. */
15876 # include <limits.h>
15878 # include <assert.h>
15882 if { (ac_try
="$ac_cpp conftest.$ac_ext"
15883 case "(($ac_try" in
15884 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
15885 *) ac_try_echo=$ac_try;;
15887 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15888 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
15890 grep -v '^ *+' conftest.er1 >conftest.err
15892 cat conftest.err >&5
15893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15894 (exit $ac_status); } >/dev/null && {
15895 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
15896 test ! -s conftest.err
15900 echo "$as_me: failed program was:" >&5
15901 sed 's/^/| /' conftest.$ac_ext >&5
15903 # Broken: fails on valid input.
15907 rm -f conftest.err conftest.$ac_ext
15909 # OK, works on sane cases. Now check whether nonexistent headers
15910 # can be detected and how.
15911 cat >conftest.$ac_ext <<_ACEOF
15914 cat confdefs.h >>conftest.$ac_ext
15915 cat >>conftest.$ac_ext <<_ACEOF
15916 /* end confdefs.h. */
15917 #include <ac_nonexistent.h>
15919 if { (ac_try="$ac_cpp conftest.$ac_ext"
15920 case "(($ac_try" in
15921 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
15922 *) ac_try_echo
=$ac_try;;
15924 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15925 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
15927 grep -v '^ *+' conftest.er1
>conftest.err
15929 cat conftest.err
>&5
15930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15931 (exit $ac_status); } >/dev
/null
&& {
15932 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
15933 test ! -s conftest.err
15935 # Broken: success on invalid input.
15938 echo "$as_me: failed program was:" >&5
15939 sed 's/^/| /' conftest.
$ac_ext >&5
15941 # Passes both tests.
15946 rm -f conftest.err conftest.
$ac_ext
15949 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
15950 rm -f conftest.err conftest.
$ac_ext
15951 if $ac_preproc_ok; then
15956 ac_cv_prog_CPP
=$CPP
15959 CPP
=$ac_cv_prog_CPP
15961 ac_cv_prog_CPP
=$CPP
15963 { echo "$as_me:$LINENO: result: $CPP" >&5
15964 echo "${ECHO_T}$CPP" >&6; }
15965 ac_preproc_ok
=false
15966 for ac_c_preproc_warn_flag
in '' yes
15968 # Use a header file that comes with gcc, so configuring glibc
15969 # with a fresh cross-compiler works.
15970 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15971 # <limits.h> exists even on freestanding compilers.
15972 # On the NeXT, cc -E runs the code through the compiler's parser,
15973 # not just through cpp. "Syntax error" is here to catch this case.
15974 cat >conftest.
$ac_ext <<_ACEOF
15977 cat confdefs.h
>>conftest.
$ac_ext
15978 cat >>conftest.
$ac_ext <<_ACEOF
15979 /* end confdefs.h. */
15981 # include <limits.h>
15983 # include <assert.h>
15987 if { (ac_try
="$ac_cpp conftest.$ac_ext"
15988 case "(($ac_try" in
15989 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
15990 *) ac_try_echo=$ac_try;;
15992 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15993 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
15995 grep -v '^ *+' conftest.er1 >conftest.err
15997 cat conftest.err >&5
15998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15999 (exit $ac_status); } >/dev/null && {
16000 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
16001 test ! -s conftest.err
16005 echo "$as_me: failed program was:" >&5
16006 sed 's/^/| /' conftest.$ac_ext >&5
16008 # Broken: fails on valid input.
16012 rm -f conftest.err conftest.$ac_ext
16014 # OK, works on sane cases. Now check whether nonexistent headers
16015 # can be detected and how.
16016 cat >conftest.$ac_ext <<_ACEOF
16019 cat confdefs.h >>conftest.$ac_ext
16020 cat >>conftest.$ac_ext <<_ACEOF
16021 /* end confdefs.h. */
16022 #include <ac_nonexistent.h>
16024 if { (ac_try="$ac_cpp conftest.$ac_ext"
16025 case "(($ac_try" in
16026 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
16027 *) ac_try_echo
=$ac_try;;
16029 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16030 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
16032 grep -v '^ *+' conftest.er1
>conftest.err
16034 cat conftest.err
>&5
16035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16036 (exit $ac_status); } >/dev
/null
&& {
16037 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
16038 test ! -s conftest.err
16040 # Broken: success on invalid input.
16043 echo "$as_me: failed program was:" >&5
16044 sed 's/^/| /' conftest.
$ac_ext >&5
16046 # Passes both tests.
16051 rm -f conftest.err conftest.
$ac_ext
16054 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
16055 rm -f conftest.err conftest.
$ac_ext
16056 if $ac_preproc_ok; then
16059 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
16060 See \`config.log' for more details." >&5
16061 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
16062 See \`config.log' for more details." >&2;}
16063 { (exit 1); exit 1; }; }
16067 ac_cpp
='$CPP $CPPFLAGS'
16068 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16069 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16070 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
16073 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
16074 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
16075 if test "${ac_cv_path_GREP+set}" = set; then
16076 echo $ECHO_N "(cached) $ECHO_C" >&6
16078 # Extract the first word of "grep ggrep" to use in msg output
16079 if test -z "$GREP"; then
16080 set dummy
grep ggrep
; ac_prog_name
=$2
16081 if test "${ac_cv_path_GREP+set}" = set; then
16082 echo $ECHO_N "(cached) $ECHO_C" >&6
16084 ac_path_GREP_found
=false
16085 # Loop through the user's path and test for each of PROGNAME-LIST
16086 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16087 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
16090 test -z "$as_dir" && as_dir
=.
16091 for ac_prog
in grep ggrep
; do
16092 for ac_exec_ext
in '' $ac_executable_extensions; do
16093 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
16094 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
16095 # Check for GNU ac_path_GREP and select it if it is found.
16096 # Check for GNU $ac_path_GREP
16097 case `"$ac_path_GREP" --version 2>&1` in
16099 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
16102 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
16105 cat "conftest.in" "conftest.in" >"conftest.tmp"
16106 mv "conftest.tmp" "conftest.in"
16107 cp "conftest.in" "conftest.nl"
16108 echo 'GREP' >> "conftest.nl"
16109 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null
|| break
16110 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 || break
16111 ac_count
=`expr $ac_count + 1`
16112 if test $ac_count -gt ${ac_path_GREP_max-0}; then
16113 # Best one so far, save it but keep looking for a better one
16114 ac_cv_path_GREP
="$ac_path_GREP"
16115 ac_path_GREP_max
=$ac_count
16117 # 10*(2^10) chars as input seems more than enough
16118 test $ac_count -gt 10 && break
16120 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
16124 $ac_path_GREP_found && break 3
16134 GREP
="$ac_cv_path_GREP"
16135 if test -z "$GREP"; then
16136 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
16137 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
16138 { (exit 1); exit 1; }; }
16142 ac_cv_path_GREP
=$GREP
16147 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
16148 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
16149 GREP
="$ac_cv_path_GREP"
16152 { echo "$as_me:$LINENO: checking for egrep" >&5
16153 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
16154 if test "${ac_cv_path_EGREP+set}" = set; then
16155 echo $ECHO_N "(cached) $ECHO_C" >&6
16157 if echo a
| $GREP -E '(a|b)' >/dev
/null
2>&1
16158 then ac_cv_path_EGREP
="$GREP -E"
16160 # Extract the first word of "egrep" to use in msg output
16161 if test -z "$EGREP"; then
16162 set dummy
egrep; ac_prog_name
=$2
16163 if test "${ac_cv_path_EGREP+set}" = set; then
16164 echo $ECHO_N "(cached) $ECHO_C" >&6
16166 ac_path_EGREP_found
=false
16167 # Loop through the user's path and test for each of PROGNAME-LIST
16168 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16169 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
16172 test -z "$as_dir" && as_dir
=.
16173 for ac_prog
in egrep; do
16174 for ac_exec_ext
in '' $ac_executable_extensions; do
16175 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
16176 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
16177 # Check for GNU ac_path_EGREP and select it if it is found.
16178 # Check for GNU $ac_path_EGREP
16179 case `"$ac_path_EGREP" --version 2>&1` in
16181 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
16184 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
16187 cat "conftest.in" "conftest.in" >"conftest.tmp"
16188 mv "conftest.tmp" "conftest.in"
16189 cp "conftest.in" "conftest.nl"
16190 echo 'EGREP' >> "conftest.nl"
16191 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null
|| break
16192 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 || break
16193 ac_count
=`expr $ac_count + 1`
16194 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
16195 # Best one so far, save it but keep looking for a better one
16196 ac_cv_path_EGREP
="$ac_path_EGREP"
16197 ac_path_EGREP_max
=$ac_count
16199 # 10*(2^10) chars as input seems more than enough
16200 test $ac_count -gt 10 && break
16202 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
16206 $ac_path_EGREP_found && break 3
16216 EGREP
="$ac_cv_path_EGREP"
16217 if test -z "$EGREP"; then
16218 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
16219 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
16220 { (exit 1); exit 1; }; }
16224 ac_cv_path_EGREP
=$EGREP
16230 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
16231 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
16232 EGREP
="$ac_cv_path_EGREP"
16235 if test $ac_cv_c_compiler_gnu = yes; then
16236 { echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
16237 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6; }
16238 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
16239 echo $ECHO_N "(cached) $ECHO_C" >&6
16241 ac_pattern
="Autoconf.*'x'"
16242 cat >conftest.
$ac_ext <<_ACEOF
16245 cat confdefs.h
>>conftest.
$ac_ext
16246 cat >>conftest.
$ac_ext <<_ACEOF
16247 /* end confdefs.h. */
16251 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16252 $EGREP "$ac_pattern" >/dev
/null
2>&1; then
16253 ac_cv_prog_gcc_traditional
=yes
16255 ac_cv_prog_gcc_traditional
=no
16260 if test $ac_cv_prog_gcc_traditional = no
; then
16261 cat >conftest.
$ac_ext <<_ACEOF
16264 cat confdefs.h
>>conftest.
$ac_ext
16265 cat >>conftest.
$ac_ext <<_ACEOF
16266 /* end confdefs.h. */
16267 #include <termio.h>
16270 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16271 $EGREP "$ac_pattern" >/dev
/null
2>&1; then
16272 ac_cv_prog_gcc_traditional
=yes
16278 { echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
16279 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6; }
16280 if test $ac_cv_prog_gcc_traditional = yes; then
16281 CC
="$CC -traditional"
16286 CXXFLAGS
=${CXXFLAGS:=}
16291 ac_cpp
='$CXXCPP $CPPFLAGS'
16292 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16293 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16294 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
16295 if test -z "$CXX"; then
16296 if test -n "$CCC"; then
16299 if test -n "$ac_tool_prefix"; then
16300 for ac_prog
in g
++ c
++ gpp aCC CC cxx cc
++ cl.exe FCC KCC RCC xlC_r xlC
16302 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
16303 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
16304 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16305 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16306 if test "${ac_cv_prog_CXX+set}" = set; then
16307 echo $ECHO_N "(cached) $ECHO_C" >&6
16309 if test -n "$CXX"; then
16310 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
16312 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16313 for as_dir
in $PATH
16316 test -z "$as_dir" && as_dir
=.
16317 for ac_exec_ext
in '' $ac_executable_extensions; do
16318 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16319 ac_cv_prog_CXX
="$ac_tool_prefix$ac_prog"
16320 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16329 CXX
=$ac_cv_prog_CXX
16330 if test -n "$CXX"; then
16331 { echo "$as_me:$LINENO: result: $CXX" >&5
16332 echo "${ECHO_T}$CXX" >&6; }
16334 { echo "$as_me:$LINENO: result: no" >&5
16335 echo "${ECHO_T}no" >&6; }
16339 test -n "$CXX" && break
16342 if test -z "$CXX"; then
16344 for ac_prog
in g
++ c
++ gpp aCC CC cxx cc
++ cl.exe FCC KCC RCC xlC_r xlC
16346 # Extract the first word of "$ac_prog", so it can be a program name with args.
16347 set dummy
$ac_prog; ac_word
=$2
16348 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16349 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16350 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
16351 echo $ECHO_N "(cached) $ECHO_C" >&6
16353 if test -n "$ac_ct_CXX"; then
16354 ac_cv_prog_ac_ct_CXX
="$ac_ct_CXX" # Let the user override the test.
16356 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16357 for as_dir
in $PATH
16360 test -z "$as_dir" && as_dir
=.
16361 for ac_exec_ext
in '' $ac_executable_extensions; do
16362 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16363 ac_cv_prog_ac_ct_CXX
="$ac_prog"
16364 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16373 ac_ct_CXX
=$ac_cv_prog_ac_ct_CXX
16374 if test -n "$ac_ct_CXX"; then
16375 { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
16376 echo "${ECHO_T}$ac_ct_CXX" >&6; }
16378 { echo "$as_me:$LINENO: result: no" >&5
16379 echo "${ECHO_T}no" >&6; }
16383 test -n "$ac_ct_CXX" && break
16386 if test "x$ac_ct_CXX" = x
; then
16389 case $cross_compiling:$ac_tool_warned in
16391 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
16392 whose name does not start with the host triplet. If you think this
16393 configuration is useful to you, please write to autoconf@gnu.org." >&5
16394 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
16395 whose name does not start with the host triplet. If you think this
16396 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
16397 ac_tool_warned
=yes ;;
16405 # Provide some information about the compiler.
16406 echo "$as_me:$LINENO: checking for C++ compiler version" >&5
16407 ac_compiler
=`set X $ac_compile; echo $2`
16408 { (ac_try
="$ac_compiler --version >&5"
16409 case "(($ac_try" in
16410 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
16411 *) ac_try_echo=$ac_try;;
16413 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16414 (eval "$ac_compiler --version >&5") 2>&5
16416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16417 (exit $ac_status); }
16418 { (ac_try="$ac_compiler -v >&5"
16419 case "(($ac_try" in
16420 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
16421 *) ac_try_echo
=$ac_try;;
16423 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16424 (eval "$ac_compiler -v >&5") 2>&5
16426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16427 (exit $ac_status); }
16428 { (ac_try
="$ac_compiler -V >&5"
16429 case "(($ac_try" in
16430 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
16431 *) ac_try_echo=$ac_try;;
16433 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16434 (eval "$ac_compiler -V >&5") 2>&5
16436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16437 (exit $ac_status); }
16439 { echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
16440 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
16441 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
16442 echo $ECHO_N "(cached) $ECHO_C" >&6
16444 cat >conftest.$ac_ext <<_ACEOF
16447 cat confdefs.h >>conftest.$ac_ext
16448 cat >>conftest.$ac_ext <<_ACEOF
16449 /* end confdefs.h. */
16462 rm -f conftest.$ac_objext
16463 if { (ac_try="$ac_compile"
16464 case "(($ac_try" in
16465 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
16466 *) ac_try_echo
=$ac_try;;
16468 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16469 (eval "$ac_compile") 2>conftest.er1
16471 grep -v '^ *+' conftest.er1
>conftest.err
16473 cat conftest.err
>&5
16474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16475 (exit $ac_status); } && {
16476 test -z "$ac_cxx_werror_flag" ||
16477 test ! -s conftest.err
16478 } && test -s conftest.
$ac_objext; then
16479 ac_compiler_gnu
=yes
16481 echo "$as_me: failed program was:" >&5
16482 sed 's/^/| /' conftest.
$ac_ext >&5
16487 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16488 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
16491 { echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
16492 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
16493 GXX
=`test $ac_compiler_gnu = yes && echo yes`
16494 ac_test_CXXFLAGS
=${CXXFLAGS+set}
16495 ac_save_CXXFLAGS
=$CXXFLAGS
16496 { echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
16497 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
16498 if test "${ac_cv_prog_cxx_g+set}" = set; then
16499 echo $ECHO_N "(cached) $ECHO_C" >&6
16501 ac_save_cxx_werror_flag
=$ac_cxx_werror_flag
16502 ac_cxx_werror_flag
=yes
16503 ac_cv_prog_cxx_g
=no
16505 cat >conftest.
$ac_ext <<_ACEOF
16508 cat confdefs.h
>>conftest.
$ac_ext
16509 cat >>conftest.
$ac_ext <<_ACEOF
16510 /* end confdefs.h. */
16520 rm -f conftest.
$ac_objext
16521 if { (ac_try
="$ac_compile"
16522 case "(($ac_try" in
16523 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
16524 *) ac_try_echo=$ac_try;;
16526 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16527 (eval "$ac_compile") 2>conftest.er1
16529 grep -v '^ *+' conftest.er1 >conftest.err
16531 cat conftest.err >&5
16532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16533 (exit $ac_status); } && {
16534 test -z "$ac_cxx_werror_flag" ||
16535 test ! -s conftest.err
16536 } && test -s conftest.$ac_objext; then
16537 ac_cv_prog_cxx_g=yes
16539 echo "$as_me: failed program was:" >&5
16540 sed 's/^/| /' conftest.$ac_ext >&5
16543 cat >conftest.$ac_ext <<_ACEOF
16546 cat confdefs.h >>conftest.$ac_ext
16547 cat >>conftest.$ac_ext <<_ACEOF
16548 /* end confdefs.h. */
16558 rm -f conftest.$ac_objext
16559 if { (ac_try="$ac_compile"
16560 case "(($ac_try" in
16561 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
16562 *) ac_try_echo
=$ac_try;;
16564 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16565 (eval "$ac_compile") 2>conftest.er1
16567 grep -v '^ *+' conftest.er1
>conftest.err
16569 cat conftest.err
>&5
16570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16571 (exit $ac_status); } && {
16572 test -z "$ac_cxx_werror_flag" ||
16573 test ! -s conftest.err
16574 } && test -s conftest.
$ac_objext; then
16577 echo "$as_me: failed program was:" >&5
16578 sed 's/^/| /' conftest.
$ac_ext >&5
16580 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
16582 cat >conftest.
$ac_ext <<_ACEOF
16585 cat confdefs.h
>>conftest.
$ac_ext
16586 cat >>conftest.
$ac_ext <<_ACEOF
16587 /* end confdefs.h. */
16597 rm -f conftest.
$ac_objext
16598 if { (ac_try
="$ac_compile"
16599 case "(($ac_try" in
16600 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
16601 *) ac_try_echo=$ac_try;;
16603 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16604 (eval "$ac_compile") 2>conftest.er1
16606 grep -v '^ *+' conftest.er1 >conftest.err
16608 cat conftest.err >&5
16609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16610 (exit $ac_status); } && {
16611 test -z "$ac_cxx_werror_flag" ||
16612 test ! -s conftest.err
16613 } && test -s conftest.$ac_objext; then
16614 ac_cv_prog_cxx_g=yes
16616 echo "$as_me: failed program was:" >&5
16617 sed 's/^/| /' conftest.$ac_ext >&5
16622 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16625 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16628 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16629 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
16631 { echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
16632 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
16633 if test "$ac_test_CXXFLAGS" = set; then
16634 CXXFLAGS=$ac_save_CXXFLAGS
16635 elif test $ac_cv_prog_cxx_g = yes; then
16636 if test "$GXX" = yes; then
16642 if test "$GXX" = yes; then
16649 ac_cpp='$CPP $CPPFLAGS'
16650 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16651 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16652 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16658 ac_cpp='$CXXCPP $CPPFLAGS'
16659 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16660 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16661 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16663 { echo "$as_me:$LINENO: checking whether we are using the Intel C++ compiler" >&5
16664 echo $ECHO_N "checking whether we are using the Intel C++ compiler... $ECHO_C" >&6; }
16665 if test "${bakefile_cv_cxx_compiler___INTEL_COMPILER+set}" = set; then
16666 echo $ECHO_N "(cached) $ECHO_C" >&6
16668 cat >conftest.$ac_ext <<_ACEOF
16671 cat confdefs.h >>conftest.$ac_ext
16672 cat >>conftest.$ac_ext <<_ACEOF
16673 /* end confdefs.h. */
16679 #ifndef __INTEL_COMPILER
16687 rm -f conftest.$ac_objext
16688 if { (ac_try="$ac_compile"
16689 case "(($ac_try" in
16690 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
16691 *) ac_try_echo
=$ac_try;;
16693 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16694 (eval "$ac_compile") 2>conftest.er1
16696 grep -v '^ *+' conftest.er1
>conftest.err
16698 cat conftest.err
>&5
16699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16700 (exit $ac_status); } && {
16701 test -z "$ac_cxx_werror_flag" ||
16702 test ! -s conftest.err
16703 } && test -s conftest.
$ac_objext; then
16704 bakefile_cv_cxx_compiler___INTEL_COMPILER
=yes
16706 echo "$as_me: failed program was:" >&5
16707 sed 's/^/| /' conftest.
$ac_ext >&5
16709 bakefile_cv_cxx_compiler___INTEL_COMPILER
=no
16713 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16717 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER" >&5
16718 echo "${ECHO_T}$bakefile_cv_cxx_compiler___INTEL_COMPILER" >&6; }
16719 if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER" = "xyes"; then
16725 ac_cpp
='$CPP $CPPFLAGS'
16726 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16727 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16728 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
16733 if test "x$GCXX" != "xyes"; then
16734 if test "xCXX" = "xC"; then
16735 { echo "$as_me:$LINENO: checking if the C compiler requires -ext o" >&5
16736 echo $ECHO_N "checking if the C compiler requires -ext o... $ECHO_C" >&6; }
16737 if test "${bakefile_cv_c_exto+set}" = set; then
16738 echo $ECHO_N "(cached) $ECHO_C" >&6
16740 cat >conftest.
$ac_ext <<_ACEOF
16743 cat confdefs.h
>>conftest.
$ac_ext
16744 cat >>conftest.
$ac_ext <<_ACEOF
16745 /* end confdefs.h. */
16755 rm -f conftest.
$ac_objext conftest.
$ac_ext.o
16756 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16757 (eval $ac_compile) 2>&5
16759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16760 (exit $ac_status); }; then
16761 for ac_file
in `(ls conftest.* 2>/dev/null)`; do
16763 conftest.
$ac_ext.o
)
16764 bakefile_cv_c_exto
="-ext o"
16771 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
16772 See \`config.log' for more details." >&5
16773 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
16774 See \`config.log' for more details." >&2;}
16775 { (exit 1); exit 1; }; }
16779 rm -f conftest.
$ac_ext.o conftest.
$ac_objext conftest.
$ac_ext
16782 { echo "$as_me:$LINENO: result: $bakefile_cv_c_exto" >&5
16783 echo "${ECHO_T}$bakefile_cv_c_exto" >&6; }
16784 if test "x$bakefile_cv_c_exto" '!=' "x"; then
16785 if test "c" = "c"; then
16786 CFLAGS
="$bakefile_cv_c_exto $CFLAGS"
16788 if test "c" = "cxx"; then
16789 CXXFLAGS
="$bakefile_cv_c_exto $CXXFLAGS"
16793 if test "x$bakefile_cv_c_exto" '!=' "x"; then
16794 unset ac_cv_prog_cc_g
16795 ac_test_CFLAGS
=${CFLAGS+set}
16796 ac_save_CFLAGS
=$CFLAGS
16797 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
16798 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
16799 if test "${ac_cv_prog_cc_g+set}" = set; then
16800 echo $ECHO_N "(cached) $ECHO_C" >&6
16802 ac_save_c_werror_flag
=$ac_c_werror_flag
16803 ac_c_werror_flag
=yes
16806 cat >conftest.
$ac_ext <<_ACEOF
16809 cat confdefs.h
>>conftest.
$ac_ext
16810 cat >>conftest.
$ac_ext <<_ACEOF
16811 /* end confdefs.h. */
16821 rm -f conftest.
$ac_objext
16822 if { (ac_try
="$ac_compile"
16823 case "(($ac_try" in
16824 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
16825 *) ac_try_echo=$ac_try;;
16827 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16828 (eval "$ac_compile") 2>conftest.er1
16830 grep -v '^ *+' conftest.er1 >conftest.err
16832 cat conftest.err >&5
16833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16834 (exit $ac_status); } && {
16835 test -z "$ac_c_werror_flag" ||
16836 test ! -s conftest.err
16837 } && test -s conftest.$ac_objext; then
16838 ac_cv_prog_cc_g=yes
16840 echo "$as_me: failed program was:" >&5
16841 sed 's/^/| /' conftest.$ac_ext >&5
16844 cat >conftest.$ac_ext <<_ACEOF
16847 cat confdefs.h >>conftest.$ac_ext
16848 cat >>conftest.$ac_ext <<_ACEOF
16849 /* end confdefs.h. */
16859 rm -f conftest.$ac_objext
16860 if { (ac_try="$ac_compile"
16861 case "(($ac_try" in
16862 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
16863 *) ac_try_echo
=$ac_try;;
16865 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16866 (eval "$ac_compile") 2>conftest.er1
16868 grep -v '^ *+' conftest.er1
>conftest.err
16870 cat conftest.err
>&5
16871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16872 (exit $ac_status); } && {
16873 test -z "$ac_c_werror_flag" ||
16874 test ! -s conftest.err
16875 } && test -s conftest.
$ac_objext; then
16878 echo "$as_me: failed program was:" >&5
16879 sed 's/^/| /' conftest.
$ac_ext >&5
16881 ac_c_werror_flag
=$ac_save_c_werror_flag
16883 cat >conftest.
$ac_ext <<_ACEOF
16886 cat confdefs.h
>>conftest.
$ac_ext
16887 cat >>conftest.
$ac_ext <<_ACEOF
16888 /* end confdefs.h. */
16898 rm -f conftest.
$ac_objext
16899 if { (ac_try
="$ac_compile"
16900 case "(($ac_try" in
16901 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
16902 *) ac_try_echo=$ac_try;;
16904 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16905 (eval "$ac_compile") 2>conftest.er1
16907 grep -v '^ *+' conftest.er1 >conftest.err
16909 cat conftest.err >&5
16910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16911 (exit $ac_status); } && {
16912 test -z "$ac_c_werror_flag" ||
16913 test ! -s conftest.err
16914 } && test -s conftest.$ac_objext; then
16915 ac_cv_prog_cc_g=yes
16917 echo "$as_me: failed program was:" >&5
16918 sed 's/^/| /' conftest.$ac_ext >&5
16923 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16926 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16929 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16930 ac_c_werror_flag=$ac_save_c_werror_flag
16932 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
16933 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
16934 if test "$ac_test_CFLAGS" = set; then
16935 CFLAGS=$ac_save_CFLAGS
16936 elif test $ac_cv_prog_cc_g = yes; then
16937 if test "$GCC" = yes; then
16943 if test "$GCC" = yes; then
16957 ac_cpp='$CXXCPP $CPPFLAGS'
16958 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16959 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16960 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16962 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
16963 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6; }
16964 if test "${bakefile_cv_cxx_compiler___xlC__+set}" = set; then
16965 echo $ECHO_N "(cached) $ECHO_C" >&6
16967 cat >conftest.$ac_ext <<_ACEOF
16970 cat confdefs.h >>conftest.$ac_ext
16971 cat >>conftest.$ac_ext <<_ACEOF
16972 /* end confdefs.h. */
16986 rm -f conftest.$ac_objext
16987 if { (ac_try="$ac_compile"
16988 case "(($ac_try" in
16989 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
16990 *) ac_try_echo
=$ac_try;;
16992 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16993 (eval "$ac_compile") 2>conftest.er1
16995 grep -v '^ *+' conftest.er1
>conftest.err
16997 cat conftest.err
>&5
16998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16999 (exit $ac_status); } && {
17000 test -z "$ac_cxx_werror_flag" ||
17001 test ! -s conftest.err
17002 } && test -s conftest.
$ac_objext; then
17003 bakefile_cv_cxx_compiler___xlC__
=yes
17005 echo "$as_me: failed program was:" >&5
17006 sed 's/^/| /' conftest.
$ac_ext >&5
17008 bakefile_cv_cxx_compiler___xlC__
=no
17012 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17016 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___xlC__" >&5
17017 echo "${ECHO_T}$bakefile_cv_cxx_compiler___xlC__" >&6; }
17018 if test "x$bakefile_cv_cxx_compiler___xlC__" = "xyes"; then
17024 ac_cpp
='$CPP $CPPFLAGS'
17025 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17026 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17027 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
17037 ac_cpp
='$CXXCPP $CPPFLAGS'
17038 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17039 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17040 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
17042 { echo "$as_me:$LINENO: checking whether we are using the Metrowerks C++ compiler" >&5
17043 echo $ECHO_N "checking whether we are using the Metrowerks C++ compiler... $ECHO_C" >&6; }
17044 if test "${bakefile_cv_cxx_compiler___MWERKS__+set}" = set; then
17045 echo $ECHO_N "(cached) $ECHO_C" >&6
17047 cat >conftest.
$ac_ext <<_ACEOF
17050 cat confdefs.h
>>conftest.
$ac_ext
17051 cat >>conftest.
$ac_ext <<_ACEOF
17052 /* end confdefs.h. */
17066 rm -f conftest.
$ac_objext
17067 if { (ac_try
="$ac_compile"
17068 case "(($ac_try" in
17069 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
17070 *) ac_try_echo=$ac_try;;
17072 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17073 (eval "$ac_compile") 2>conftest.er1
17075 grep -v '^ *+' conftest.er1 >conftest.err
17077 cat conftest.err >&5
17078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17079 (exit $ac_status); } && {
17080 test -z "$ac_cxx_werror_flag" ||
17081 test ! -s conftest.err
17082 } && test -s conftest.$ac_objext; then
17083 bakefile_cv_cxx_compiler___MWERKS__=yes
17085 echo "$as_me: failed program was:" >&5
17086 sed 's/^/| /' conftest.$ac_ext >&5
17088 bakefile_cv_cxx_compiler___MWERKS__=no
17092 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17096 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___MWERKS__" >&5
17097 echo "${ECHO_T}$bakefile_cv_cxx_compiler___MWERKS__" >&6; }
17098 if test "x$bakefile_cv_cxx_compiler___MWERKS__" = "xyes"; then
17104 ac_cpp='$CPP $CPPFLAGS'
17105 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17106 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17107 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17114 ac_cpp='$CXXCPP $CPPFLAGS'
17115 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17116 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17117 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17119 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
17120 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6; }
17121 if test "${bakefile_cv_cxx_compiler___xlC__+set}" = set; then
17122 echo $ECHO_N "(cached) $ECHO_C" >&6
17124 cat >conftest.$ac_ext <<_ACEOF
17127 cat confdefs.h >>conftest.$ac_ext
17128 cat >>conftest.$ac_ext <<_ACEOF
17129 /* end confdefs.h. */
17143 rm -f conftest.$ac_objext
17144 if { (ac_try="$ac_compile"
17145 case "(($ac_try" in
17146 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
17147 *) ac_try_echo
=$ac_try;;
17149 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17150 (eval "$ac_compile") 2>conftest.er1
17152 grep -v '^ *+' conftest.er1
>conftest.err
17154 cat conftest.err
>&5
17155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17156 (exit $ac_status); } && {
17157 test -z "$ac_cxx_werror_flag" ||
17158 test ! -s conftest.err
17159 } && test -s conftest.
$ac_objext; then
17160 bakefile_cv_cxx_compiler___xlC__
=yes
17162 echo "$as_me: failed program was:" >&5
17163 sed 's/^/| /' conftest.
$ac_ext >&5
17165 bakefile_cv_cxx_compiler___xlC__
=no
17169 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17173 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___xlC__" >&5
17174 echo "${ECHO_T}$bakefile_cv_cxx_compiler___xlC__" >&6; }
17175 if test "x$bakefile_cv_cxx_compiler___xlC__" = "xyes"; then
17181 ac_cpp
='$CPP $CPPFLAGS'
17182 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17183 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17184 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
17194 ac_cpp
='$CXXCPP $CPPFLAGS'
17195 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17196 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17197 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
17199 { echo "$as_me:$LINENO: checking whether we are using the SGI C++ compiler" >&5
17200 echo $ECHO_N "checking whether we are using the SGI C++ compiler... $ECHO_C" >&6; }
17201 if test "${bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION+set}" = set; then
17202 echo $ECHO_N "(cached) $ECHO_C" >&6
17204 cat >conftest.
$ac_ext <<_ACEOF
17207 cat confdefs.h
>>conftest.
$ac_ext
17208 cat >>conftest.
$ac_ext <<_ACEOF
17209 /* end confdefs.h. */
17215 #ifndef _SGI_COMPILER_VERSION
17223 rm -f conftest.
$ac_objext
17224 if { (ac_try
="$ac_compile"
17225 case "(($ac_try" in
17226 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
17227 *) ac_try_echo=$ac_try;;
17229 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17230 (eval "$ac_compile") 2>conftest.er1
17232 grep -v '^ *+' conftest.er1 >conftest.err
17234 cat conftest.err >&5
17235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17236 (exit $ac_status); } && {
17237 test -z "$ac_cxx_werror_flag" ||
17238 test ! -s conftest.err
17239 } && test -s conftest.$ac_objext; then
17240 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=yes
17242 echo "$as_me: failed program was:" >&5
17243 sed 's/^/| /' conftest.$ac_ext >&5
17245 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=no
17249 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17253 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&5
17254 echo "${ECHO_T}$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&6; }
17255 if test "x$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" = "xyes"; then
17261 ac_cpp='$CPP $CPPFLAGS'
17262 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17263 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17264 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17274 ac_cpp='$CXXCPP $CPPFLAGS'
17275 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17276 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17277 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17279 { echo "$as_me:$LINENO: checking whether we are using the Sun C++ compiler" >&5
17280 echo $ECHO_N "checking whether we are using the Sun C++ compiler... $ECHO_C" >&6; }
17281 if test "${bakefile_cv_cxx_compiler___SUNPRO_CC+set}" = set; then
17282 echo $ECHO_N "(cached) $ECHO_C" >&6
17284 cat >conftest.$ac_ext <<_ACEOF
17287 cat confdefs.h >>conftest.$ac_ext
17288 cat >>conftest.$ac_ext <<_ACEOF
17289 /* end confdefs.h. */
17295 #ifndef __SUNPRO_CC
17303 rm -f conftest.$ac_objext
17304 if { (ac_try="$ac_compile"
17305 case "(($ac_try" in
17306 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
17307 *) ac_try_echo
=$ac_try;;
17309 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17310 (eval "$ac_compile") 2>conftest.er1
17312 grep -v '^ *+' conftest.er1
>conftest.err
17314 cat conftest.err
>&5
17315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17316 (exit $ac_status); } && {
17317 test -z "$ac_cxx_werror_flag" ||
17318 test ! -s conftest.err
17319 } && test -s conftest.
$ac_objext; then
17320 bakefile_cv_cxx_compiler___SUNPRO_CC
=yes
17322 echo "$as_me: failed program was:" >&5
17323 sed 's/^/| /' conftest.
$ac_ext >&5
17325 bakefile_cv_cxx_compiler___SUNPRO_CC
=no
17329 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17333 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
17334 echo "${ECHO_T}$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6; }
17335 if test "x$bakefile_cv_cxx_compiler___SUNPRO_CC" = "xyes"; then
17341 ac_cpp
='$CPP $CPPFLAGS'
17342 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17343 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17344 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
17354 ac_cpp
='$CXXCPP $CPPFLAGS'
17355 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17356 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17357 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
17359 { echo "$as_me:$LINENO: checking whether we are using the HP C++ compiler" >&5
17360 echo $ECHO_N "checking whether we are using the HP C++ compiler... $ECHO_C" >&6; }
17361 if test "${bakefile_cv_cxx_compiler___HP_aCC+set}" = set; then
17362 echo $ECHO_N "(cached) $ECHO_C" >&6
17364 cat >conftest.
$ac_ext <<_ACEOF
17367 cat confdefs.h
>>conftest.
$ac_ext
17368 cat >>conftest.
$ac_ext <<_ACEOF
17369 /* end confdefs.h. */
17383 rm -f conftest.
$ac_objext
17384 if { (ac_try
="$ac_compile"
17385 case "(($ac_try" in
17386 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
17387 *) ac_try_echo=$ac_try;;
17389 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17390 (eval "$ac_compile") 2>conftest.er1
17392 grep -v '^ *+' conftest.er1 >conftest.err
17394 cat conftest.err >&5
17395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17396 (exit $ac_status); } && {
17397 test -z "$ac_cxx_werror_flag" ||
17398 test ! -s conftest.err
17399 } && test -s conftest.$ac_objext; then
17400 bakefile_cv_cxx_compiler___HP_aCC=yes
17402 echo "$as_me: failed program was:" >&5
17403 sed 's/^/| /' conftest.$ac_ext >&5
17405 bakefile_cv_cxx_compiler___HP_aCC=no
17409 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17413 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___HP_aCC" >&5
17414 echo "${ECHO_T}$bakefile_cv_cxx_compiler___HP_aCC" >&6; }
17415 if test "x$bakefile_cv_cxx_compiler___HP_aCC" = "xyes"; then
17421 ac_cpp='$CPP $CPPFLAGS'
17422 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17423 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17424 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17434 ac_cpp='$CXXCPP $CPPFLAGS'
17435 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17436 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17437 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17439 { echo "$as_me:$LINENO: checking whether we are using the Compaq C++ compiler" >&5
17440 echo $ECHO_N "checking whether we are using the Compaq C++ compiler... $ECHO_C" >&6; }
17441 if test "${bakefile_cv_cxx_compiler___DECCXX+set}" = set; then
17442 echo $ECHO_N "(cached) $ECHO_C" >&6
17444 cat >conftest.$ac_ext <<_ACEOF
17447 cat confdefs.h >>conftest.$ac_ext
17448 cat >>conftest.$ac_ext <<_ACEOF
17449 /* end confdefs.h. */
17463 rm -f conftest.$ac_objext
17464 if { (ac_try="$ac_compile"
17465 case "(($ac_try" in
17466 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
17467 *) ac_try_echo
=$ac_try;;
17469 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17470 (eval "$ac_compile") 2>conftest.er1
17472 grep -v '^ *+' conftest.er1
>conftest.err
17474 cat conftest.err
>&5
17475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17476 (exit $ac_status); } && {
17477 test -z "$ac_cxx_werror_flag" ||
17478 test ! -s conftest.err
17479 } && test -s conftest.
$ac_objext; then
17480 bakefile_cv_cxx_compiler___DECCXX
=yes
17482 echo "$as_me: failed program was:" >&5
17483 sed 's/^/| /' conftest.
$ac_ext >&5
17485 bakefile_cv_cxx_compiler___DECCXX
=no
17489 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17493 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___DECCXX" >&5
17494 echo "${ECHO_T}$bakefile_cv_cxx_compiler___DECCXX" >&6; }
17495 if test "x$bakefile_cv_cxx_compiler___DECCXX" = "xyes"; then
17501 ac_cpp
='$CPP $CPPFLAGS'
17502 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17503 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17504 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
17514 ac_cpp
='$CXXCPP $CPPFLAGS'
17515 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17516 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17517 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
17519 { echo "$as_me:$LINENO: checking whether we are using the Sun C++ compiler" >&5
17520 echo $ECHO_N "checking whether we are using the Sun C++ compiler... $ECHO_C" >&6; }
17521 if test "${bakefile_cv_cxx_compiler___SUNPRO_CC+set}" = set; then
17522 echo $ECHO_N "(cached) $ECHO_C" >&6
17524 cat >conftest.
$ac_ext <<_ACEOF
17527 cat confdefs.h
>>conftest.
$ac_ext
17528 cat >>conftest.
$ac_ext <<_ACEOF
17529 /* end confdefs.h. */
17535 #ifndef __SUNPRO_CC
17543 rm -f conftest.
$ac_objext
17544 if { (ac_try
="$ac_compile"
17545 case "(($ac_try" in
17546 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
17547 *) ac_try_echo=$ac_try;;
17549 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17550 (eval "$ac_compile") 2>conftest.er1
17552 grep -v '^ *+' conftest.er1 >conftest.err
17554 cat conftest.err >&5
17555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17556 (exit $ac_status); } && {
17557 test -z "$ac_cxx_werror_flag" ||
17558 test ! -s conftest.err
17559 } && test -s conftest.$ac_objext; then
17560 bakefile_cv_cxx_compiler___SUNPRO_CC=yes
17562 echo "$as_me: failed program was:" >&5
17563 sed 's/^/| /' conftest.$ac_ext >&5
17565 bakefile_cv_cxx_compiler___SUNPRO_CC=no
17569 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17573 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
17574 echo "${ECHO_T}$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6; }
17575 if test "x$bakefile_cv_cxx_compiler___SUNPRO_CC" = "xyes"; then
17581 ac_cpp='$CPP $CPPFLAGS'
17582 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17583 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17584 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17594 if test "$CXX" = "g++" -a "$GXX" != "yes"; then
17595 { { echo "$as_me:$LINENO: error: C++ compiler is needed to build wxWidgets" >&5
17596 echo "$as_me: error: C++ compiler is needed to build wxWidgets" >&2;}
17597 { (exit 1); exit 1; }; }
17600 if test "x$SUNCXX" != xyes; then
17601 if test -n "$ac_tool_prefix"; then
17602 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
17603 set dummy ${ac_tool_prefix}ar; ac_word=$2
17604 { echo "$as_me:$LINENO: checking for $ac_word" >&5
17605 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
17606 if test "${ac_cv_prog_AR+set}" = set; then
17607 echo $ECHO_N "(cached) $ECHO_C" >&6
17609 if test -n "$AR"; then
17610 ac_cv_prog_AR="$AR" # Let the user override the test.
17612 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17613 for as_dir in $PATH
17616 test -z "$as_dir" && as_dir=.
17617 for ac_exec_ext in '' $ac_executable_extensions; do
17618 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
17619 ac_cv_prog_AR="${ac_tool_prefix}ar"
17620 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
17630 if test -n "$AR"; then
17631 { echo "$as_me:$LINENO: result: $AR" >&5
17632 echo "${ECHO_T}$AR" >&6; }
17634 { echo "$as_me:$LINENO: result: no" >&5
17635 echo "${ECHO_T}no" >&6; }
17640 if test -z "$ac_cv_prog_AR"; then
17642 # Extract the first word of "ar", so it can be a program name with args.
17643 set dummy ar; ac_word=$2
17644 { echo "$as_me:$LINENO: checking for $ac_word" >&5
17645 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
17646 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
17647 echo $ECHO_N "(cached) $ECHO_C" >&6
17649 if test -n "$ac_ct_AR"; then
17650 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
17652 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17653 for as_dir in $PATH
17656 test -z "$as_dir" && as_dir=.
17657 for ac_exec_ext in '' $ac_executable_extensions; do
17658 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
17659 ac_cv_prog_ac_ct_AR="ar"
17660 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
17669 ac_ct_AR=$ac_cv_prog_ac_ct_AR
17670 if test -n "$ac_ct_AR"; then
17671 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
17672 echo "${ECHO_T}$ac_ct_AR" >&6; }
17674 { echo "$as_me:$LINENO: result: no" >&5
17675 echo "${ECHO_T}no" >&6; }
17678 if test "x$ac_ct_AR" = x; then
17681 case $cross_compiling:$ac_tool_warned in
17683 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
17684 whose name does not start with the host triplet. If you think this
17685 configuration is useful to you, please write to autoconf@gnu.org." >&5
17686 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
17687 whose name does not start with the host triplet. If you think this
17688 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
17689 ac_tool_warned=yes ;;
17694 AR="$ac_cv_prog_AR"
17697 if test "x$AR" = "x" ; then
17698 { { echo "$as_me:$LINENO: error: ar is needed to build wxWidgets" >&5
17699 echo "$as_me: error: ar is needed to build wxWidgets" >&2;}
17700 { (exit 1); exit 1; }; }
17704 retest_macosx_linking=no
17706 #if test "$wxUSE_MAC" = 1; then
17707 if test "x$wxUSE_UNIVERSAL_BINARY" != xno ; then
17708 if test "x$wxUSE_UNIVERSAL_BINARY" == xyes; then
17709 # Implicitly turn on the new --with-macosx-sdk using the default
17710 # SDK which provides the behavior this option has always had.
17711 if test "x$wxUSE_MACOSX_SDK" = "x"; then
17712 { echo "$as_me:$LINENO: WARNING: Enabling default SDK due to --enable-universal_binary." >&5
17713 echo "$as_me: WARNING: Enabling default SDK due to --enable-universal_binary." >&2;}
17714 { echo "$as_me:$LINENO: WARNING: If you don't want this, specify --without-macosx-sdk" >&5
17715 echo "$as_me: WARNING: If you don't want this, specify --without-macosx-sdk" >&2;}
17716 wxUSE_MACOSX_SDK=yes
17719 # Complain to user if he specified an argument to --enable-universal_binary
17720 # and also 1) specified --with-macosx-sdk using the default (yes) or
17721 # 2) specified --with-macosx-sdk using a path or 3) specified
17722 # --without-macosx-sdk (no).
17723 if test "x$wxUSE_MACOSX_SDK" != "x" ; then
17724 { { echo "$as_me:$LINENO: error: Please specify the new --with-macosx-sdk=PATH and do not specify an arg to --enable-universal_binary
17725 See \`config.log
' for more details." >&5
17726 echo "$as_me: error: Please specify the new --with-macosx-sdk=PATH and do not specify an arg to --enable-universal_binary
17727 See \`config.log' for more details.
" >&2;}
17728 { (exit 1); exit 1; }; }
17730 # Put the SDK path into the wxUSE_MACOSX_SDK. We don't have to
17731 # special-case the empty string because the below test simply
17732 # converts "no
" to the empty string anyway.
17733 wxUSE_MACOSX_SDK="$wxUSE_UNIVERSAL_BINARY"
17734 { echo "$as_me:$LINENO: WARNING
: Please use
--with-macosx-sdk=PATH and
--enable-universal_binary without an argument
" >&5
17735 echo "$as_me: WARNING
: Please use
--with-macosx-sdk=PATH and
--enable-universal_binary without an argument
" >&2;}
17738 OSX_UNIV_OPTS="-arch ppc
-arch i386
"
17739 CXXFLAGS="$OSX_UNIV_OPTS $CXXFLAGS"
17740 CFLAGS="$OSX_UNIV_OPTS $CFLAGS"
17741 OBJCXXFLAGS="$OSX_UNIV_OPTS $OBJCXXFLAGS"
17742 OBJCFLAGS="$OSX_UNIV_OPTS $OBJCFLAGS"
17743 LDFLAGS="$OSX_UNIV_OPTS $LDFLAGS"
17744 retest_macosx_linking=yes
17746 { echo "$as_me:$LINENO: WARNING
: Disabling precompiled headers due to universal binary build.
" >&5
17747 echo "$as_me: WARNING
: Disabling precompiled headers due to universal binary build.
" >&2;}
17752 if test "x
$wxUSE_MACOSX_SDK" = "xno
"; then
17754 elif test "x
$wxUSE_MACOSX_SDK" = "xyes
"; then
17755 # TODO: Search for most recent SDK and use it.
17756 wxUSE_MACOSX_SDK="/Developer
/SDKs
/MacOSX10.4u.sdk
"
17760 if test "x
$wxUSE_MACOSX_SDK" != "x
"; then
17761 { echo "$as_me:$LINENO: checking
for SDK directory
$wxUSE_MACOSX_SDK" >&5
17762 echo $ECHO_N "checking
for SDK directory
$wxUSE_MACOSX_SDK...
$ECHO_C" >&6; }
17763 if ! test -d "$wxUSE_MACOSX_SDK"; then
17764 { { echo "$as_me:$LINENO: error
: not found
17765 See \
`config.log' for more details." >&5
17766 echo "$as_me: error: not found
17767 See \`config.log
' for more details." >&2;}
17768 { (exit 1); exit 1; }; }
17770 { echo "$as_me:$LINENO: result: exists" >&5
17771 echo "${ECHO_T}exists" >&6; }
17773 MACOSX_SDK_OPTS="-isysroot $wxUSE_MACOSX_SDK"
17774 eval "CC=\"$CC $MACOSX_SDK_OPTS\""
17775 eval "CXX=\"$CXX $MACOSX_SDK_OPTS\""
17776 eval "LD=\"$LD $MACOSX_SDK_OPTS\""
17777 retest_macosx_linking=yes
17780 if test "x$wxUSE_MACOSX_VERSION_MIN" = "xno"; then
17781 wxUSE_MACOSX_VERSION_MIN=
17782 elif test "x$wxUSE_MACOSX_VERSION_MIN" = "xyes"; then
17783 if test "x$wxUSE_MACOSX_SDK" != "x"; then
17784 { echo "$as_me:$LINENO: checking SDK deployment version" >&5
17785 echo $ECHO_N "checking SDK deployment version... $ECHO_C" >&6; }
17787 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/'`
17789 # If that failed, try again with the new key
17790 if test "x$MACOSX_SDK_PLIST_VERSION_MIN" == "x"; then
17792 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/'`
17796 if test "x$MACOSX_SDK_PLIST_VERSION_MIN" != "x"; then
17797 wxUSE_MACOSX_VERSION_MIN=$MACOSX_SDK_PLIST_VERSION_MIN
17798 { echo "$as_me:$LINENO: result: $wxUSE_MACOSX_VERSION_MIN" >&5
17799 echo "${ECHO_T}$wxUSE_MACOSX_VERSION_MIN" >&6; }
17801 { echo "$as_me:$LINENO: WARNING: Could not determine deployment target from SDKSettings.plist" >&5
17802 echo "$as_me: WARNING: Could not determine deployment target from SDKSettings.plist" >&2;}
17803 wxUSE_MACOSX_VERSION_MIN=
17806 wxUSE_MACOSX_VERSION_MIN=
17808 elif test "x$wxUSE_MACOSX_VERSION_MIN" = "x"; then
17809 if test "$wxUSE_MAC" = 1; then
17810 # otherwise configure stops on leopard for universal_binary
17811 wxUSE_MACOSX_VERSION_MIN=10.4
17815 if test "x$wxUSE_MACOSX_VERSION_MIN" != "x"; then
17816 MACOSX_VERSION_MIN_OPTS="-mmacosx-version-min=$wxUSE_MACOSX_VERSION_MIN"
17817 eval "CC=\"$CC $MACOSX_VERSION_MIN_OPTS\""
17818 eval "CXX=\"$CXX $MACOSX_VERSION_MIN_OPTS\""
17819 eval "LD=\"$LD $MACOSX_VERSION_MIN_OPTS\""
17820 retest_macosx_linking=yes
17823 if test "x$retest_macosx_linking" = "xyes"; then
17825 ac_cpp='$CPP $CPPFLAGS'
17826 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
17827 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
17828 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17830 { echo "$as_me:$LINENO: checking if C compiler works with SDK/version options" >&5
17831 echo $ECHO_N "checking if C compiler works with SDK/version options... $ECHO_C" >&6; }
17832 cat >conftest.$ac_ext <<_ACEOF
17835 cat confdefs.h >>conftest.$ac_ext
17836 cat >>conftest.$ac_ext <<_ACEOF
17837 /* end confdefs.h. */
17847 rm -f conftest.$ac_objext conftest$ac_exeext
17848 if { (ac_try="$ac_link"
17849 case "(($ac_try" in
17850 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17851 *) ac_try_echo=$ac_try;;
17853 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17854 (eval "$ac_link") 2>conftest.er1
17856 grep -v '^
*+' conftest.er1 >conftest.err
17858 cat conftest.err >&5
17859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17860 (exit $ac_status); } && {
17861 test -z "$ac_c_werror_flag" ||
17862 test ! -s conftest.err
17863 } && test -s conftest$ac_exeext &&
17864 $as_test_x conftest$ac_exeext; then
17865 { echo "$as_me:$LINENO: result: yes" >&5
17866 echo "${ECHO_T}yes" >&6; }
17868 echo "$as_me: failed program was:" >&5
17869 sed 's
/^
/| /' conftest.$ac_ext >&5
17871 { { echo "$as_me:$LINENO: error: no. Try a different SDK
17872 See \`config.log' for more details.
" >&5
17873 echo "$as_me: error
: no. Try a different SDK
17874 See \
`config.log' for more details." >&2;}
17875 { (exit 1); exit 1; }; }; exit 1
17878 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17879 conftest$ac_exeext conftest.$ac_ext
17881 ac_cpp='$CPP $CPPFLAGS'
17882 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17883 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17884 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17888 ac_cpp='$CXXCPP $CPPFLAGS'
17889 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17890 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17891 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17893 { echo "$as_me:$LINENO: checking if C++ compiler works with SDK/version options" >&5
17894 echo $ECHO_N "checking if C++ compiler works with SDK/version options... $ECHO_C" >&6; }
17895 cat >conftest.$ac_ext <<_ACEOF
17898 cat confdefs.h >>conftest.$ac_ext
17899 cat >>conftest.$ac_ext <<_ACEOF
17900 /* end confdefs.h. */
17910 rm -f conftest.$ac_objext conftest$ac_exeext
17911 if { (ac_try="$ac_link"
17912 case "(($ac_try" in
17913 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
17914 *) ac_try_echo
=$ac_try;;
17916 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17917 (eval "$ac_link") 2>conftest.er1
17919 grep -v '^ *+' conftest.er1
>conftest.err
17921 cat conftest.err
>&5
17922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17923 (exit $ac_status); } && {
17924 test -z "$ac_cxx_werror_flag" ||
17925 test ! -s conftest.err
17926 } && test -s conftest
$ac_exeext &&
17927 $as_test_x conftest
$ac_exeext; then
17928 { echo "$as_me:$LINENO: result: yes" >&5
17929 echo "${ECHO_T}yes" >&6; }
17931 echo "$as_me: failed program was:" >&5
17932 sed 's/^/| /' conftest.
$ac_ext >&5
17934 { { echo "$as_me:$LINENO: error: no. Try a different SDK
17935 See \`config.log' for more details." >&5
17936 echo "$as_me: error: no. Try a different SDK
17937 See \`config.log' for more details." >&2;}
17938 { (exit 1); exit 1; }; }; exit 1
17941 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
17942 conftest
$ac_exeext conftest.
$ac_ext
17944 ac_cpp
='$CPP $CPPFLAGS'
17945 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17946 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17947 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
17955 INSTALL_PROGRAM
="cp -fp"
17956 INSTALL_DATA
="cp -fp"
17963 if test "x$XLCXX" = "xyes" -a "x$USE_AIX" = "x1"; then
17964 CXXFLAGS
="-qunique $CXXFLAGS"
17968 powerpc
-*-darwin* )
17969 { echo "$as_me:$LINENO: checking if __POWERPC__ is already defined" >&5
17970 echo $ECHO_N "checking if __POWERPC__ is already defined... $ECHO_C" >&6; }
17971 cat >conftest.
$ac_ext <<_ACEOF
17974 cat confdefs.h
>>conftest.
$ac_ext
17975 cat >>conftest.
$ac_ext <<_ACEOF
17976 /* end confdefs.h. */
17981 #ifndef __POWERPC__
17982 choke me for lack of PowerPC
17989 rm -f conftest.
$ac_objext
17990 if { (ac_try
="$ac_compile"
17991 case "(($ac_try" in
17992 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
17993 *) ac_try_echo=$ac_try;;
17995 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17996 (eval "$ac_compile") 2>conftest.er1
17998 grep -v '^ *+' conftest.er1 >conftest.err
18000 cat conftest.err >&5
18001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18002 (exit $ac_status); } && {
18003 test -z "$ac_c_werror_flag" ||
18004 test ! -s conftest.err
18005 } && test -s conftest.$ac_objext; then
18006 { echo "$as_me:$LINENO: result: yes" >&5
18007 echo "${ECHO_T}yes" >&6; }
18009 echo "$as_me: failed program was:" >&5
18010 sed 's/^/| /' conftest.$ac_ext >&5
18012 { echo "$as_me:$LINENO: result: no" >&5
18013 echo "${ECHO_T}no" >&6; }
18014 cat >>confdefs.h <<\_ACEOF
18015 #define __POWERPC__ 1
18021 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18027 { echo "$as_me:$LINENO: checking if CoreFoundation/CFBase.h is usable" >&5
18028 echo $ECHO_N "checking if CoreFoundation/CFBase.h is usable... $ECHO_C" >&6; }
18029 cat >conftest.$ac_ext <<_ACEOF
18032 cat confdefs.h >>conftest.$ac_ext
18033 cat >>conftest.$ac_ext <<_ACEOF
18034 /* end confdefs.h. */
18035 #include <CoreFoundation/CFBase.h>
18045 rm -f conftest.$ac_objext
18046 if { (ac_try="$ac_compile"
18047 case "(($ac_try" in
18048 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
18049 *) ac_try_echo
=$ac_try;;
18051 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18052 (eval "$ac_compile") 2>conftest.er1
18054 grep -v '^ *+' conftest.er1
>conftest.err
18056 cat conftest.err
>&5
18057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18058 (exit $ac_status); } && {
18059 test -z "$ac_c_werror_flag" ||
18060 test ! -s conftest.err
18061 } && test -s conftest.
$ac_objext; then
18062 { echo "$as_me:$LINENO: result: yes" >&5
18063 echo "${ECHO_T}yes" >&6; }
18065 echo "$as_me: failed program was:" >&5
18066 sed 's/^/| /' conftest.
$ac_ext >&5
18068 { echo "$as_me:$LINENO: result: no" >&5
18069 echo "${ECHO_T}no" >&6; }
18070 { echo "$as_me:$LINENO: checking if __CF_USE_FRAMEWORK_INCLUDES__ is required" >&5
18071 echo $ECHO_N "checking if __CF_USE_FRAMEWORK_INCLUDES__ is required... $ECHO_C" >&6; }
18072 cat >conftest.
$ac_ext <<_ACEOF
18075 cat confdefs.h
>>conftest.
$ac_ext
18076 cat >>conftest.
$ac_ext <<_ACEOF
18077 /* end confdefs.h. */
18078 #define __CF_USE_FRAMEWORK_INCLUDES__
18079 #include <CoreFoundation/CFBase.h>
18089 rm -f conftest.
$ac_objext
18090 if { (ac_try
="$ac_compile"
18091 case "(($ac_try" in
18092 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
18093 *) ac_try_echo=$ac_try;;
18095 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18096 (eval "$ac_compile") 2>conftest.er1
18098 grep -v '^ *+' conftest.er1 >conftest.err
18100 cat conftest.err >&5
18101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18102 (exit $ac_status); } && {
18103 test -z "$ac_c_werror_flag" ||
18104 test ! -s conftest.err
18105 } && test -s conftest.$ac_objext; then
18106 { echo "$as_me:$LINENO: result: yes" >&5
18107 echo "${ECHO_T}yes" >&6; }
18108 CPPFLAGS="-D__CF_USE_FRAMEWORK_INCLUDES__ $CPPFLAGS"
18110 echo "$as_me: failed program was:" >&5
18111 sed 's/^/| /' conftest.$ac_ext >&5
18113 { { echo "$as_me:$LINENO: error: no. CoreFoundation not available.
18114 See \`config.log
' for more details." >&5
18115 echo "$as_me: error: no. CoreFoundation not available.
18116 See \`config.log' for more details.
" >&2;}
18117 { (exit 1); exit 1; }; }
18121 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18126 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18131 doesnt_want_win32=0
18134 if test "$wxUSE_MSW" = 1 ; then
18137 { echo "$as_me:$LINENO: checking
if -mno-cygwin is
in effect
" >&5
18138 echo $ECHO_N "checking
if -mno-cygwin is
in effect...
$ECHO_C" >&6; }
18139 if test "${wx_cv_nocygwin+set}" = set; then
18140 echo $ECHO_N "(cached
) $ECHO_C" >&6
18143 cat >conftest.$ac_ext <<_ACEOF
18146 cat confdefs.h >>conftest.$ac_ext
18147 cat >>conftest.$ac_ext <<_ACEOF
18148 /* end confdefs.h. */
18162 rm -f conftest.$ac_objext
18163 if { (ac_try="$ac_compile"
18164 case "(($ac_try" in
18165 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18166 *) ac_try_echo=$ac_try;;
18168 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
18169 (eval "$ac_compile") 2>conftest.er1
18171 grep -v '^ *+' conftest.er1 >conftest.err
18173 cat conftest.err >&5
18174 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
18175 (exit $ac_status); } && {
18176 test -z "$ac_c_werror_flag" ||
18177 test ! -s conftest.err
18178 } && test -s conftest.$ac_objext; then
18181 echo "$as_me: failed program was
:" >&5
18182 sed 's/^/| /' conftest.$ac_ext >&5
18188 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18192 { echo "$as_me:$LINENO: result
: $wx_cv_nocygwin" >&5
18193 echo "${ECHO_T}$wx_cv_nocygwin" >&6; }
18195 if test "$wx_cv_nocygwin" = "yes"; then
18198 doesnt_want_win32=1
18201 if test "$wants_win32" = 1 ; then
18202 BAKEFILE_FORCE_PLATFORM=win32
18210 if test "$wxUSE_WINE" = "yes"; then
18212 LDFLAGS_GUI="-mwindows"
18215 if test "$wants_win32" = 1 ; then
18218 cat >>confdefs.h <<\_ACEOF
18219 #define __WIN32__ 1
18222 cat >>confdefs.h <<\_ACEOF
18223 #define __WIN95__ 1
18226 cat >>confdefs.h <<\_ACEOF
18227 #define __WINDOWS__ 1
18230 cat >>confdefs.h <<\_ACEOF
18231 #define __GNUWIN32__ 1
18234 cat >>confdefs.h <<\_ACEOF
18239 if test "$doesnt_want_win32" = 1 ; then
18244 if test "$USE_UNIX" = 1 ; then
18246 cat >>confdefs.h <<\_ACEOF
18253 *-pc-os2_emx | *-pc-os2-emx )
18254 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
18255 { echo "$as_me:$LINENO: checking
for drand48
in -lcExt" >&5
18256 echo $ECHO_N "checking
for drand48
in -lcExt...
$ECHO_C" >&6; }
18257 if test "${ac_cv_lib_cExt_drand48+set}" = set; then
18258 echo $ECHO_N "(cached
) $ECHO_C" >&6
18260 ac_check_lib_save_LIBS=$LIBS
18261 LIBS="-lcExt $LIBS"
18262 cat >conftest.$ac_ext <<_ACEOF
18265 cat confdefs.h >>conftest.$ac_ext
18266 cat >>conftest.$ac_ext <<_ACEOF
18267 /* end confdefs.h. */
18269 /* Override any GCC internal prototype to avoid an error.
18270 Use char because int might match the return type of a GCC
18271 builtin and then its argument prototype would still apply. */
18284 rm -f conftest.$ac_objext conftest$ac_exeext
18285 if { (ac_try="$ac_link"
18286 case "(($ac_try" in
18287 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18288 *) ac_try_echo=$ac_try;;
18290 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
18291 (eval "$ac_link") 2>conftest.er1
18293 grep -v '^ *+' conftest.er1 >conftest.err
18295 cat conftest.err >&5
18296 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
18297 (exit $ac_status); } && {
18298 test -z "$ac_c_werror_flag" ||
18299 test ! -s conftest.err
18300 } && test -s conftest$ac_exeext &&
18301 $as_test_x conftest$ac_exeext; then
18302 ac_cv_lib_cExt_drand48=yes
18304 echo "$as_me: failed program was
:" >&5
18305 sed 's/^/| /' conftest.$ac_ext >&5
18307 ac_cv_lib_cExt_drand48=no
18310 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18311 conftest$ac_exeext conftest.$ac_ext
18312 LIBS=$ac_check_lib_save_LIBS
18314 { echo "$as_me:$LINENO: result
: $ac_cv_lib_cExt_drand48" >&5
18315 echo "${ECHO_T}$ac_cv_lib_cExt_drand48" >&6; }
18316 if test $ac_cv_lib_cExt_drand48 = yes; then
18317 LIBS="$LIBS -lcExt"
18321 RESPROGRAMOBJ="\
${top_srcdir}/include
/wx
/os
2/wx.res
"
18323 { echo "$as_me:$LINENO: checking
for gcc
/libc version
" >&5
18324 echo $ECHO_N "checking
for gcc
/libc version...
$ECHO_C" >&6; }
18325 if test "${wx_cv_gccversion+set}" = set; then
18326 echo $ECHO_N "(cached
) $ECHO_C" >&6
18329 if test "$cross_compiling" = yes; then
18330 wx_cv_gccversion="EMX2
"
18333 cat >conftest.$ac_ext <<_ACEOF
18336 cat confdefs.h >>conftest.$ac_ext
18337 cat >>conftest.$ac_ext <<_ACEOF
18338 /* end confdefs.h. */
18344 FILE *f=fopen("conftestval
", "w
");
18349 #elif (__GNUC__==3) && ((__GNUC_MINOR__ < 2) || ((__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__<2)))
18351 #elif (__GNUC__==3) && (__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__==2)
18361 rm -f conftest$ac_exeext
18362 if { (ac_try="$ac_link"
18363 case "(($ac_try" in
18364 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18365 *) ac_try_echo=$ac_try;;
18367 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
18368 (eval "$ac_link") 2>&5
18370 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
18371 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
18372 { (case "(($ac_try" in
18373 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18374 *) ac_try_echo=$ac_try;;
18376 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
18377 (eval "$ac_try") 2>&5
18379 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
18380 (exit $ac_status); }; }; then
18381 wx_cv_gccversion=`cat conftestval`
18383 echo "$as_me: program exited with status
$ac_status" >&5
18384 echo "$as_me: failed program was
:" >&5
18385 sed 's/^/| /' conftest.$ac_ext >&5
18387 ( exit $ac_status )
18388 wx_cv_gccversion="EMX2
"
18390 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
18396 { echo "$as_me:$LINENO: result
: $wx_cv_gccversion" >&5
18397 echo "${ECHO_T}$wx_cv_gccversion" >&6; }
18398 if test "$wx_cv_gccversion" = "EMX2
"; then
18399 LIBS="$LIBS -lstdcpp"
18400 LDFLAGS="$LDFLAGS -Zsysv-signals"
18402 if test "$wx_cv_gccversion" = "EMX3
"; then
18403 LIBS="$LIBS -lstdcxx -lgcc"
18404 LDFLAGS="$LDFLAGS -Zsysv-signals"
18406 LIBS="$LIBS -lstdc++"
18409 if test "$wxUSE_SHARED" = "yes" -a "$wxUSE_OMF" = "no
"; then
18410 { echo "$as_me:$LINENO: WARNING
: Building DLLs requires OMF mode
, enabled
" >&5
18411 echo "$as_me: WARNING
: Building DLLs requires OMF mode
, enabled
" >&2;}
18418 { echo "$as_me:$LINENO: checking
for strcasecmp
() in string.h
" >&5
18419 echo $ECHO_N "checking
for strcasecmp
() in string.h...
$ECHO_C" >&6; }
18420 if test "${ac_cv_string_strcasecmp+set}" = set; then
18421 echo $ECHO_N "(cached
) $ECHO_C" >&6
18424 cat >conftest.$ac_ext <<_ACEOF
18427 cat confdefs.h >>conftest.$ac_ext
18428 cat >>conftest.$ac_ext <<_ACEOF
18429 /* end confdefs.h. */
18431 #include <string.h>
18437 strcasecmp("foo
", "bar
");
18443 rm -f conftest.$ac_objext conftest$ac_exeext
18444 if { (ac_try="$ac_link"
18445 case "(($ac_try" in
18446 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18447 *) ac_try_echo=$ac_try;;
18449 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
18450 (eval "$ac_link") 2>conftest.er1
18452 grep -v '^ *+' conftest.er1 >conftest.err
18454 cat conftest.err >&5
18455 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
18456 (exit $ac_status); } && {
18457 test -z "$ac_c_werror_flag" ||
18458 test ! -s conftest.err
18459 } && test -s conftest$ac_exeext &&
18460 $as_test_x conftest$ac_exeext; then
18461 ac_cv_string_strcasecmp=yes
18463 echo "$as_me: failed program was
:" >&5
18464 sed 's/^/| /' conftest.$ac_ext >&5
18466 ac_cv_string_strcasecmp=no
18470 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18471 conftest$ac_exeext conftest.$ac_ext
18474 { echo "$as_me:$LINENO: result
: $ac_cv_string_strcasecmp" >&5
18475 echo "${ECHO_T}$ac_cv_string_strcasecmp" >&6; }
18477 if test x"$ac_cv_string_strcasecmp" = "xyes
"; then
18478 cat >>confdefs.h <<\_ACEOF
18479 #define HAVE_STRCASECMP_IN_STRING_H 1
18483 { echo "$as_me:$LINENO: checking
for strcasecmp
() in strings.h
" >&5
18484 echo $ECHO_N "checking
for strcasecmp
() in strings.h...
$ECHO_C" >&6; }
18485 if test "${ac_cv_strings_strcasecmp+set}" = set; then
18486 echo $ECHO_N "(cached
) $ECHO_C" >&6
18489 cat >conftest.$ac_ext <<_ACEOF
18492 cat confdefs.h >>conftest.$ac_ext
18493 cat >>conftest.$ac_ext <<_ACEOF
18494 /* end confdefs.h. */
18496 #include <strings.h>
18502 strcasecmp("foo
", "bar
");
18508 rm -f conftest.$ac_objext conftest$ac_exeext
18509 if { (ac_try="$ac_link"
18510 case "(($ac_try" in
18511 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18512 *) ac_try_echo=$ac_try;;
18514 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
18515 (eval "$ac_link") 2>conftest.er1
18517 grep -v '^ *+' conftest.er1 >conftest.err
18519 cat conftest.err >&5
18520 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
18521 (exit $ac_status); } && {
18522 test -z "$ac_c_werror_flag" ||
18523 test ! -s conftest.err
18524 } && test -s conftest$ac_exeext &&
18525 $as_test_x conftest$ac_exeext; then
18526 ac_cv_strings_strcasecmp=yes
18528 echo "$as_me: failed program was
:" >&5
18529 sed 's/^/| /' conftest.$ac_ext >&5
18531 ac_cv_strings_strcasecmp=no
18535 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18536 conftest$ac_exeext conftest.$ac_ext
18539 { echo "$as_me:$LINENO: result
: $ac_cv_strings_strcasecmp" >&5
18540 echo "${ECHO_T}$ac_cv_strings_strcasecmp" >&6; }
18542 if test x"$ac_cv_strings_strcasecmp" = "xyes
"; then
18543 cat >>confdefs.h <<\_ACEOF
18544 #define HAVE_STRCASECMP_IN_STRINGS_H 1
18548 { { echo "$as_me:$LINENO: error
: No
case-insensitive string comparison
function found.
" >&5
18549 echo "$as_me: error
: No
case-insensitive string comparison
function found.
" >&2;}
18550 { (exit 1); exit 1; }; }
18558 { echo "$as_me:$LINENO: checking
for ANSI C header files
" >&5
18559 echo $ECHO_N "checking
for ANSI C header files...
$ECHO_C" >&6; }
18560 if test "${ac_cv_header_stdc+set}" = set; then
18561 echo $ECHO_N "(cached
) $ECHO_C" >&6
18563 cat >conftest.$ac_ext <<_ACEOF
18566 cat confdefs.h >>conftest.$ac_ext
18567 cat >>conftest.$ac_ext <<_ACEOF
18568 /* end confdefs.h. */
18569 #include <stdlib.h>
18570 #include <stdarg.h>
18571 #include <string.h>
18582 rm -f conftest.$ac_objext
18583 if { (ac_try="$ac_compile"
18584 case "(($ac_try" in
18585 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18586 *) ac_try_echo=$ac_try;;
18588 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
18589 (eval "$ac_compile") 2>conftest.er1
18591 grep -v '^ *+' conftest.er1 >conftest.err
18593 cat conftest.err >&5
18594 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
18595 (exit $ac_status); } && {
18596 test -z "$ac_c_werror_flag" ||
18597 test ! -s conftest.err
18598 } && test -s conftest.$ac_objext; then
18599 ac_cv_header_stdc=yes
18601 echo "$as_me: failed program was
:" >&5
18602 sed 's/^/| /' conftest.$ac_ext >&5
18604 ac_cv_header_stdc=no
18607 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18609 if test $ac_cv_header_stdc = yes; then
18610 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
18611 cat >conftest.$ac_ext <<_ACEOF
18614 cat confdefs.h >>conftest.$ac_ext
18615 cat >>conftest.$ac_ext <<_ACEOF
18616 /* end confdefs.h. */
18617 #include <string.h>
18620 if (eval "$ac_cpp conftest.
$ac_ext") 2>&5 |
18621 $EGREP "memchr
" >/dev/null 2>&1; then
18624 ac_cv_header_stdc=no
18630 if test $ac_cv_header_stdc = yes; then
18631 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
18632 cat >conftest.$ac_ext <<_ACEOF
18635 cat confdefs.h >>conftest.$ac_ext
18636 cat >>conftest.$ac_ext <<_ACEOF
18637 /* end confdefs.h. */
18638 #include <stdlib.h>
18641 if (eval "$ac_cpp conftest.
$ac_ext") 2>&5 |
18642 $EGREP "free
" >/dev/null 2>&1; then
18645 ac_cv_header_stdc=no
18651 if test $ac_cv_header_stdc = yes; then
18652 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
18653 if test "$cross_compiling" = yes; then
18656 cat >conftest.$ac_ext <<_ACEOF
18659 cat confdefs.h >>conftest.$ac_ext
18660 cat >>conftest.$ac_ext <<_ACEOF
18661 /* end confdefs.h. */
18663 #include <stdlib.h>
18664 #if ((' ' & 0x0FF) == 0x020)
18665 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
18666 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
18668 # define ISLOWER(c) \
18669 (('a' <= (c) && (c) <= 'i') \
18670 || ('j' <= (c) && (c) <= 'r') \
18671 || ('s' <= (c) && (c) <= 'z'))
18672 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
18675 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
18680 for (i = 0; i < 256; i++)
18681 if (XOR (islower (i), ISLOWER (i))
18682 || toupper (i) != TOUPPER (i))
18687 rm -f conftest$ac_exeext
18688 if { (ac_try="$ac_link"
18689 case "(($ac_try" in
18690 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18691 *) ac_try_echo=$ac_try;;
18693 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
18694 (eval "$ac_link") 2>&5
18696 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
18697 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
18698 { (case "(($ac_try" in
18699 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18700 *) ac_try_echo=$ac_try;;
18702 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
18703 (eval "$ac_try") 2>&5
18705 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
18706 (exit $ac_status); }; }; then
18709 echo "$as_me: program exited with status
$ac_status" >&5
18710 echo "$as_me: failed program was
:" >&5
18711 sed 's/^/| /' conftest.$ac_ext >&5
18713 ( exit $ac_status )
18714 ac_cv_header_stdc=no
18716 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
18722 { echo "$as_me:$LINENO: result
: $ac_cv_header_stdc" >&5
18723 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
18724 if test $ac_cv_header_stdc = yes; then
18726 cat >>confdefs.h <<\_ACEOF
18727 #define STDC_HEADERS 1
18732 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
18742 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
18743 inttypes.h stdint.h unistd.h
18745 as_ac_Header=`echo "ac_cv_header_
$ac_header" | $as_tr_sh`
18746 { echo "$as_me:$LINENO: checking
for $ac_header" >&5
18747 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6; }
18748 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
18749 echo $ECHO_N "(cached
) $ECHO_C" >&6
18751 cat >conftest.$ac_ext <<_ACEOF
18754 cat confdefs.h >>conftest.$ac_ext
18755 cat >>conftest.$ac_ext <<_ACEOF
18756 /* end confdefs.h. */
18757 $ac_includes_default
18759 #include <$ac_header>
18761 rm -f conftest.$ac_objext
18762 if { (ac_try="$ac_compile"
18763 case "(($ac_try" in
18764 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18765 *) ac_try_echo=$ac_try;;
18767 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
18768 (eval "$ac_compile") 2>conftest.er1
18770 grep -v '^ *+' conftest.er1 >conftest.err
18772 cat conftest.err >&5
18773 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
18774 (exit $ac_status); } && {
18775 test -z "$ac_c_werror_flag" ||
18776 test ! -s conftest.err
18777 } && test -s conftest.$ac_objext; then
18778 eval "$as_ac_Header=yes"
18780 echo "$as_me: failed program was
:" >&5
18781 sed 's/^/| /' conftest.$ac_ext >&5
18783 eval "$as_ac_Header=no
"
18786 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18788 ac_res=`eval echo '${'$as_ac_Header'}'`
18789 { echo "$as_me:$LINENO: result
: $ac_res" >&5
18790 echo "${ECHO_T}$ac_res" >&6; }
18791 if test `eval echo '${'$as_ac_Header'}'` = yes; then
18792 cat >>confdefs.h <<_ACEOF
18793 #define `echo "HAVE_
$ac_header" | $as_tr_cpp` 1
18803 for ac_header in langinfo.h wchar.h
18805 as_ac_Header=`echo "ac_cv_header_
$ac_header" | $as_tr_sh`
18806 { echo "$as_me:$LINENO: checking
for $ac_header" >&5
18807 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6; }
18808 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
18809 echo $ECHO_N "(cached
) $ECHO_C" >&6
18811 cat >conftest.$ac_ext <<_ACEOF
18814 cat confdefs.h >>conftest.$ac_ext
18815 cat >>conftest.$ac_ext <<_ACEOF
18816 /* end confdefs.h. */
18817 $ac_includes_default
18819 #include <$ac_header>
18821 rm -f conftest.$ac_objext
18822 if { (ac_try="$ac_compile"
18823 case "(($ac_try" in
18824 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18825 *) ac_try_echo=$ac_try;;
18827 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
18828 (eval "$ac_compile") 2>conftest.er1
18830 grep -v '^ *+' conftest.er1 >conftest.err
18832 cat conftest.err >&5
18833 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
18834 (exit $ac_status); } && {
18835 test -z "$ac_c_werror_flag" ||
18836 test ! -s conftest.err
18837 } && test -s conftest.$ac_objext; then
18838 eval "$as_ac_Header=yes"
18840 echo "$as_me: failed program was
:" >&5
18841 sed 's/^/| /' conftest.$ac_ext >&5
18843 eval "$as_ac_Header=no
"
18846 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18848 ac_res=`eval echo '${'$as_ac_Header'}'`
18849 { echo "$as_me:$LINENO: result
: $ac_res" >&5
18850 echo "${ECHO_T}$ac_res" >&6; }
18851 if test `eval echo '${'$as_ac_Header'}'` = yes; then
18852 cat >>confdefs.h <<_ACEOF
18853 #define `echo "HAVE_
$ac_header" | $as_tr_cpp` 1
18861 if test "$ac_cv_header_wchar_h" != "yes"; then
18863 for ac_header in wcstr.h
18865 as_ac_Header=`echo "ac_cv_header_
$ac_header" | $as_tr_sh`
18866 { echo "$as_me:$LINENO: checking
for $ac_header" >&5
18867 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6; }
18868 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
18869 echo $ECHO_N "(cached
) $ECHO_C" >&6
18871 cat >conftest.$ac_ext <<_ACEOF
18874 cat confdefs.h >>conftest.$ac_ext
18875 cat >>conftest.$ac_ext <<_ACEOF
18876 /* end confdefs.h. */
18877 $ac_includes_default
18879 #include <$ac_header>
18881 rm -f conftest.$ac_objext
18882 if { (ac_try="$ac_compile"
18883 case "(($ac_try" in
18884 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18885 *) ac_try_echo=$ac_try;;
18887 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
18888 (eval "$ac_compile") 2>conftest.er1
18890 grep -v '^ *+' conftest.er1 >conftest.err
18892 cat conftest.err >&5
18893 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
18894 (exit $ac_status); } && {
18895 test -z "$ac_c_werror_flag" ||
18896 test ! -s conftest.err
18897 } && test -s conftest.$ac_objext; then
18898 eval "$as_ac_Header=yes"
18900 echo "$as_me: failed program was
:" >&5
18901 sed 's/^/| /' conftest.$ac_ext >&5
18903 eval "$as_ac_Header=no
"
18906 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18908 ac_res=`eval echo '${'$as_ac_Header'}'`
18909 { echo "$as_me:$LINENO: result
: $ac_res" >&5
18910 echo "${ECHO_T}$ac_res" >&6; }
18911 if test `eval echo '${'$as_ac_Header'}'` = yes; then
18912 cat >>confdefs.h <<_ACEOF
18913 #define `echo "HAVE_
$ac_header" | $as_tr_cpp` 1
18923 *-pc-os2_emx | *-pc-os2-emx )
18924 if test $ac_cv_header_langinfo_h = "yes" \
18925 -a \( "$wx_cv_gccversion" = "EMX2
" \
18926 -o "$wx_cv_gccversion" = "EMX3
" \
18927 -o "$wx_cv_gccversion" = "Innotek5
" \); then
18928 LIBS="$LIBS -lintl"
18933 if test "$USE_UNIX" = 1 ; then
18935 for ac_header in sys/select.h
18937 as_ac_Header=`echo "ac_cv_header_
$ac_header" | $as_tr_sh`
18938 { echo "$as_me:$LINENO: checking
for $ac_header" >&5
18939 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6; }
18940 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
18941 echo $ECHO_N "(cached
) $ECHO_C" >&6
18943 cat >conftest.$ac_ext <<_ACEOF
18946 cat confdefs.h >>conftest.$ac_ext
18947 cat >>conftest.$ac_ext <<_ACEOF
18948 /* end confdefs.h. */
18949 $ac_includes_default
18951 #include <$ac_header>
18953 rm -f conftest.$ac_objext
18954 if { (ac_try="$ac_compile"
18955 case "(($ac_try" in
18956 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18957 *) ac_try_echo=$ac_try;;
18959 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
18960 (eval "$ac_compile") 2>conftest.er1
18962 grep -v '^ *+' conftest.er1 >conftest.err
18964 cat conftest.err >&5
18965 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
18966 (exit $ac_status); } && {
18967 test -z "$ac_c_werror_flag" ||
18968 test ! -s conftest.err
18969 } && test -s conftest.$ac_objext; then
18970 eval "$as_ac_Header=yes"
18972 echo "$as_me: failed program was
:" >&5
18973 sed 's/^/| /' conftest.$ac_ext >&5
18975 eval "$as_ac_Header=no
"
18978 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18980 ac_res=`eval echo '${'$as_ac_Header'}'`
18981 { echo "$as_me:$LINENO: result
: $ac_res" >&5
18982 echo "${ECHO_T}$ac_res" >&6; }
18983 if test `eval echo '${'$as_ac_Header'}'` = yes; then
18984 cat >>confdefs.h <<_ACEOF
18985 #define `echo "HAVE_
$ac_header" | $as_tr_cpp` 1
18995 { echo "$as_me:$LINENO: checking
for an ANSI C
-conforming const
" >&5
18996 echo $ECHO_N "checking
for an ANSI C
-conforming const...
$ECHO_C" >&6; }
18997 if test "${ac_cv_c_const+set}" = set; then
18998 echo $ECHO_N "(cached
) $ECHO_C" >&6
19000 cat >conftest.$ac_ext <<_ACEOF
19003 cat confdefs.h >>conftest.$ac_ext
19004 cat >>conftest.$ac_ext <<_ACEOF
19005 /* end confdefs.h. */
19010 /* FIXME: Include the comments suggested by Paul. */
19011 #ifndef __cplusplus
19012 /* Ultrix mips cc rejects this. */
19013 typedef int charset[2];
19015 /* SunOS 4.1.1 cc rejects this. */
19016 char const *const *pcpcc;
19018 /* NEC SVR4.0.2 mips cc rejects this. */
19019 struct point {int x, y;};
19020 static struct point const zero = {0,0};
19021 /* AIX XL C 1.02.0.0 rejects this.
19022 It does not let you subtract one const X* pointer from another in
19023 an arm of an if-expression whose if-part is not a constant
19025 const char *g = "string
";
19026 pcpcc = &g + (g ? g-g : 0);
19027 /* HPUX 7.0 cc rejects these. */
19029 ppc = (char**) pcpcc;
19030 pcpcc = (char const *const *) ppc;
19031 { /* SCO 3.2v4 cc rejects this. */
19033 char const *s = 0 ? (char *) 0 : (char const *) 0;
19038 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
19039 int x[] = {25, 17};
19040 const int *foo = &x[0];
19043 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
19044 typedef const int *iptr;
19048 { /* AIX XL C 1.02.0.0 rejects this saying
19049 "k.c
", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
19050 struct s { int j; const int *ap[3]; };
19051 struct s *b; b->j = 5;
19053 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
19054 const int foo = 10;
19055 if (!foo) return 0;
19057 return !cs[0] && !zero.x;
19064 rm -f conftest.$ac_objext
19065 if { (ac_try="$ac_compile"
19066 case "(($ac_try" in
19067 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19068 *) ac_try_echo=$ac_try;;
19070 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19071 (eval "$ac_compile") 2>conftest.er1
19073 grep -v '^ *+' conftest.er1 >conftest.err
19075 cat conftest.err >&5
19076 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19077 (exit $ac_status); } && {
19078 test -z "$ac_c_werror_flag" ||
19079 test ! -s conftest.err
19080 } && test -s conftest.$ac_objext; then
19083 echo "$as_me: failed program was
:" >&5
19084 sed 's/^/| /' conftest.$ac_ext >&5
19089 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19091 { echo "$as_me:$LINENO: result
: $ac_cv_c_const" >&5
19092 echo "${ECHO_T}$ac_cv_c_const" >&6; }
19093 if test $ac_cv_c_const = no; then
19095 cat >>confdefs.h <<\_ACEOF
19101 { echo "$as_me:$LINENO: checking
for inline
" >&5
19102 echo $ECHO_N "checking
for inline...
$ECHO_C" >&6; }
19103 if test "${ac_cv_c_inline+set}" = set; then
19104 echo $ECHO_N "(cached
) $ECHO_C" >&6
19107 for ac_kw in inline __inline__ __inline; do
19108 cat >conftest.$ac_ext <<_ACEOF
19111 cat confdefs.h >>conftest.$ac_ext
19112 cat >>conftest.$ac_ext <<_ACEOF
19113 /* end confdefs.h. */
19114 #ifndef __cplusplus
19116 static $ac_kw foo_t static_foo () {return 0; }
19117 $ac_kw foo_t foo () {return 0; }
19121 rm -f conftest.$ac_objext
19122 if { (ac_try="$ac_compile"
19123 case "(($ac_try" in
19124 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19125 *) ac_try_echo=$ac_try;;
19127 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19128 (eval "$ac_compile") 2>conftest.er1
19130 grep -v '^ *+' conftest.er1 >conftest.err
19132 cat conftest.err >&5
19133 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19134 (exit $ac_status); } && {
19135 test -z "$ac_c_werror_flag" ||
19136 test ! -s conftest.err
19137 } && test -s conftest.$ac_objext; then
19138 ac_cv_c_inline=$ac_kw
19140 echo "$as_me: failed program was
:" >&5
19141 sed 's/^/| /' conftest.$ac_ext >&5
19146 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19147 test "$ac_cv_c_inline" != no && break
19151 { echo "$as_me:$LINENO: result
: $ac_cv_c_inline" >&5
19152 echo "${ECHO_T}$ac_cv_c_inline" >&6; }
19155 case $ac_cv_c_inline in
19158 case $ac_cv_c_inline in
19160 *) ac_val=$ac_cv_c_inline;;
19162 cat >>confdefs.h <<_ACEOF
19163 #ifndef __cplusplus
19164 #define inline $ac_val
19171 { echo "$as_me:$LINENO: checking
for short
" >&5
19172 echo $ECHO_N "checking
for short...
$ECHO_C" >&6; }
19173 if test "${ac_cv_type_short+set}" = set; then
19174 echo $ECHO_N "(cached
) $ECHO_C" >&6
19176 cat >conftest.$ac_ext <<_ACEOF
19179 cat confdefs.h >>conftest.$ac_ext
19180 cat >>conftest.$ac_ext <<_ACEOF
19181 /* end confdefs.h. */
19182 $ac_includes_default
19183 typedef short ac__type_new_;
19187 if ((ac__type_new_ *) 0)
19189 if (sizeof (ac__type_new_))
19195 rm -f conftest.$ac_objext
19196 if { (ac_try="$ac_compile"
19197 case "(($ac_try" in
19198 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19199 *) ac_try_echo=$ac_try;;
19201 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19202 (eval "$ac_compile") 2>conftest.er1
19204 grep -v '^ *+' conftest.er1 >conftest.err
19206 cat conftest.err >&5
19207 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19208 (exit $ac_status); } && {
19209 test -z "$ac_c_werror_flag" ||
19210 test ! -s conftest.err
19211 } && test -s conftest.$ac_objext; then
19212 ac_cv_type_short=yes
19214 echo "$as_me: failed program was
:" >&5
19215 sed 's/^/| /' conftest.$ac_ext >&5
19217 ac_cv_type_short=no
19220 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19222 { echo "$as_me:$LINENO: result
: $ac_cv_type_short" >&5
19223 echo "${ECHO_T}$ac_cv_type_short" >&6; }
19225 # The cast to long int works around a bug in the HP C Compiler
19226 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
19227 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
19228 # This bug is HP SR number 8606223364.
19229 { echo "$as_me:$LINENO: checking size of short
" >&5
19230 echo $ECHO_N "checking size of short...
$ECHO_C" >&6; }
19231 if test "${ac_cv_sizeof_short+set}" = set; then
19232 echo $ECHO_N "(cached
) $ECHO_C" >&6
19234 if test "$cross_compiling" = yes; then
19235 # Depending upon the size, compute the lo and hi bounds.
19236 cat >conftest.$ac_ext <<_ACEOF
19239 cat confdefs.h >>conftest.$ac_ext
19240 cat >>conftest.$ac_ext <<_ACEOF
19241 /* end confdefs.h. */
19242 $ac_includes_default
19243 typedef short ac__type_sizeof_;
19247 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
19254 rm -f conftest.$ac_objext
19255 if { (ac_try="$ac_compile"
19256 case "(($ac_try" in
19257 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19258 *) ac_try_echo=$ac_try;;
19260 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19261 (eval "$ac_compile") 2>conftest.er1
19263 grep -v '^ *+' conftest.er1 >conftest.err
19265 cat conftest.err >&5
19266 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19267 (exit $ac_status); } && {
19268 test -z "$ac_c_werror_flag" ||
19269 test ! -s conftest.err
19270 } && test -s conftest.$ac_objext; then
19273 cat >conftest.$ac_ext <<_ACEOF
19276 cat confdefs.h >>conftest.$ac_ext
19277 cat >>conftest.$ac_ext <<_ACEOF
19278 /* end confdefs.h. */
19279 $ac_includes_default
19280 typedef short ac__type_sizeof_;
19284 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
19291 rm -f conftest.$ac_objext
19292 if { (ac_try="$ac_compile"
19293 case "(($ac_try" in
19294 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19295 *) ac_try_echo=$ac_try;;
19297 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19298 (eval "$ac_compile") 2>conftest.er1
19300 grep -v '^ *+' conftest.er1 >conftest.err
19302 cat conftest.err >&5
19303 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19304 (exit $ac_status); } && {
19305 test -z "$ac_c_werror_flag" ||
19306 test ! -s conftest.err
19307 } && test -s conftest.$ac_objext; then
19308 ac_hi=$ac_mid; break
19310 echo "$as_me: failed program was
:" >&5
19311 sed 's/^/| /' conftest.$ac_ext >&5
19313 ac_lo=`expr $ac_mid + 1`
19314 if test $ac_lo -le $ac_mid; then
19318 ac_mid=`expr 2 '*' $ac_mid + 1`
19321 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19324 echo "$as_me: failed program was
:" >&5
19325 sed 's/^/| /' conftest.$ac_ext >&5
19327 cat >conftest.$ac_ext <<_ACEOF
19330 cat confdefs.h >>conftest.$ac_ext
19331 cat >>conftest.$ac_ext <<_ACEOF
19332 /* end confdefs.h. */
19333 $ac_includes_default
19334 typedef short ac__type_sizeof_;
19338 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
19345 rm -f conftest.$ac_objext
19346 if { (ac_try="$ac_compile"
19347 case "(($ac_try" in
19348 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19349 *) ac_try_echo=$ac_try;;
19351 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19352 (eval "$ac_compile") 2>conftest.er1
19354 grep -v '^ *+' conftest.er1 >conftest.err
19356 cat conftest.err >&5
19357 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19358 (exit $ac_status); } && {
19359 test -z "$ac_c_werror_flag" ||
19360 test ! -s conftest.err
19361 } && test -s conftest.$ac_objext; then
19364 cat >conftest.$ac_ext <<_ACEOF
19367 cat confdefs.h >>conftest.$ac_ext
19368 cat >>conftest.$ac_ext <<_ACEOF
19369 /* end confdefs.h. */
19370 $ac_includes_default
19371 typedef short ac__type_sizeof_;
19375 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
19382 rm -f conftest.$ac_objext
19383 if { (ac_try="$ac_compile"
19384 case "(($ac_try" in
19385 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19386 *) ac_try_echo=$ac_try;;
19388 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19389 (eval "$ac_compile") 2>conftest.er1
19391 grep -v '^ *+' conftest.er1 >conftest.err
19393 cat conftest.err >&5
19394 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19395 (exit $ac_status); } && {
19396 test -z "$ac_c_werror_flag" ||
19397 test ! -s conftest.err
19398 } && test -s conftest.$ac_objext; then
19399 ac_lo=$ac_mid; break
19401 echo "$as_me: failed program was
:" >&5
19402 sed 's/^/| /' conftest.$ac_ext >&5
19404 ac_hi=`expr '(' $ac_mid ')' - 1`
19405 if test $ac_mid -le $ac_hi; then
19409 ac_mid=`expr 2 '*' $ac_mid`
19412 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19415 echo "$as_me: failed program was
:" >&5
19416 sed 's/^/| /' conftest.$ac_ext >&5
19421 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19424 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19425 # Binary search between lo and hi bounds.
19426 while test "x
$ac_lo" != "x
$ac_hi"; do
19427 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
19428 cat >conftest.$ac_ext <<_ACEOF
19431 cat confdefs.h >>conftest.$ac_ext
19432 cat >>conftest.$ac_ext <<_ACEOF
19433 /* end confdefs.h. */
19434 $ac_includes_default
19435 typedef short ac__type_sizeof_;
19439 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
19446 rm -f conftest.$ac_objext
19447 if { (ac_try="$ac_compile"
19448 case "(($ac_try" in
19449 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19450 *) ac_try_echo=$ac_try;;
19452 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19453 (eval "$ac_compile") 2>conftest.er1
19455 grep -v '^ *+' conftest.er1 >conftest.err
19457 cat conftest.err >&5
19458 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19459 (exit $ac_status); } && {
19460 test -z "$ac_c_werror_flag" ||
19461 test ! -s conftest.err
19462 } && test -s conftest.$ac_objext; then
19465 echo "$as_me: failed program was
:" >&5
19466 sed 's/^/| /' conftest.$ac_ext >&5
19468 ac_lo=`expr '(' $ac_mid ')' + 1`
19471 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19474 ?*) ac_cv_sizeof_short=$ac_lo;;
19475 '') if test "$ac_cv_type_short" = yes; then
19476 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(short
)
19477 See \
`config.log' for more details." >&5
19478 echo "$as_me: error: cannot compute sizeof (short)
19479 See \`config.log
' for more details." >&2;}
19480 { (exit 77); exit 77; }; }
19482 ac_cv_sizeof_short=0
19486 cat >conftest.$ac_ext <<_ACEOF
19489 cat confdefs.h >>conftest.$ac_ext
19490 cat >>conftest.$ac_ext <<_ACEOF
19491 /* end confdefs.h. */
19492 $ac_includes_default
19493 typedef short ac__type_sizeof_;
19494 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
19495 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
19497 #include <stdlib.h>
19502 FILE *f = fopen ("conftest.val", "w");
19505 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
19507 long int i = longval ();
19508 if (i != ((long int) (sizeof (ac__type_sizeof_))))
19510 fprintf (f, "%ld\n", i);
19514 unsigned long int i = ulongval ();
19515 if (i != ((long int) (sizeof (ac__type_sizeof_))))
19517 fprintf (f, "%lu\n", i);
19519 return ferror (f) || fclose (f) != 0;
19525 rm -f conftest$ac_exeext
19526 if { (ac_try="$ac_link"
19527 case "(($ac_try" in
19528 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19529 *) ac_try_echo=$ac_try;;
19531 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19532 (eval "$ac_link") 2>&5
19534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19535 (exit $ac_status); } && { ac_try='.
/conftest
$ac_exeext'
19536 { (case "(($ac_try" in
19537 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19538 *) ac_try_echo=$ac_try;;
19540 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19541 (eval "$ac_try") 2>&5
19543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19544 (exit $ac_status); }; }; then
19545 ac_cv_sizeof_short=`cat conftest.val`
19547 echo "$as_me: program exited with status $ac_status" >&5
19548 echo "$as_me: failed program was:" >&5
19549 sed 's
/^
/| /' conftest.$ac_ext >&5
19551 ( exit $ac_status )
19552 if test "$ac_cv_type_short" = yes; then
19553 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short)
19554 See \`config.log' for more details.
" >&5
19555 echo "$as_me: error
: cannot compute sizeof
(short
)
19556 See \
`config.log' for more details." >&2;}
19557 { (exit 77); exit 77; }; }
19559 ac_cv_sizeof_short=0
19562 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19566 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
19567 echo "${ECHO_T}$ac_cv_sizeof_short" >&6; }
19571 cat >>confdefs.h <<_ACEOF
19572 #define SIZEOF_SHORT $ac_cv_sizeof_short
19576 { echo "$as_me:$LINENO: checking for void *" >&5
19577 echo $ECHO_N "checking for void *... $ECHO_C" >&6; }
19578 if test "${ac_cv_type_void_p+set}" = set; then
19579 echo $ECHO_N "(cached) $ECHO_C" >&6
19581 cat >conftest.$ac_ext <<_ACEOF
19584 cat confdefs.h >>conftest.$ac_ext
19585 cat >>conftest.$ac_ext <<_ACEOF
19586 /* end confdefs.h. */
19587 $ac_includes_default
19588 typedef void * ac__type_new_;
19592 if ((ac__type_new_ *) 0)
19594 if (sizeof (ac__type_new_))
19600 rm -f conftest.$ac_objext
19601 if { (ac_try="$ac_compile"
19602 case "(($ac_try" in
19603 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
19604 *) ac_try_echo
=$ac_try;;
19606 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19607 (eval "$ac_compile") 2>conftest.er1
19609 grep -v '^ *+' conftest.er1
>conftest.err
19611 cat conftest.err
>&5
19612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19613 (exit $ac_status); } && {
19614 test -z "$ac_c_werror_flag" ||
19615 test ! -s conftest.err
19616 } && test -s conftest.
$ac_objext; then
19617 ac_cv_type_void_p
=yes
19619 echo "$as_me: failed program was:" >&5
19620 sed 's/^/| /' conftest.
$ac_ext >&5
19622 ac_cv_type_void_p
=no
19625 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19627 { echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
19628 echo "${ECHO_T}$ac_cv_type_void_p" >&6; }
19630 # The cast to long int works around a bug in the HP C Compiler
19631 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
19632 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
19633 # This bug is HP SR number 8606223364.
19634 { echo "$as_me:$LINENO: checking size of void *" >&5
19635 echo $ECHO_N "checking size of void *... $ECHO_C" >&6; }
19636 if test "${ac_cv_sizeof_void_p+set}" = set; then
19637 echo $ECHO_N "(cached) $ECHO_C" >&6
19639 if test "$cross_compiling" = yes; then
19640 # Depending upon the size, compute the lo and hi bounds.
19641 cat >conftest.
$ac_ext <<_ACEOF
19644 cat confdefs.h
>>conftest.
$ac_ext
19645 cat >>conftest.
$ac_ext <<_ACEOF
19646 /* end confdefs.h. */
19647 $ac_includes_default
19648 typedef void * ac__type_sizeof_;
19652 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
19659 rm -f conftest.
$ac_objext
19660 if { (ac_try
="$ac_compile"
19661 case "(($ac_try" in
19662 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
19663 *) ac_try_echo=$ac_try;;
19665 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19666 (eval "$ac_compile") 2>conftest.er1
19668 grep -v '^ *+' conftest.er1 >conftest.err
19670 cat conftest.err >&5
19671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19672 (exit $ac_status); } && {
19673 test -z "$ac_c_werror_flag" ||
19674 test ! -s conftest.err
19675 } && test -s conftest.$ac_objext; then
19678 cat >conftest.$ac_ext <<_ACEOF
19681 cat confdefs.h >>conftest.$ac_ext
19682 cat >>conftest.$ac_ext <<_ACEOF
19683 /* end confdefs.h. */
19684 $ac_includes_default
19685 typedef void * ac__type_sizeof_;
19689 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
19696 rm -f conftest.$ac_objext
19697 if { (ac_try="$ac_compile"
19698 case "(($ac_try" in
19699 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
19700 *) ac_try_echo
=$ac_try;;
19702 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19703 (eval "$ac_compile") 2>conftest.er1
19705 grep -v '^ *+' conftest.er1
>conftest.err
19707 cat conftest.err
>&5
19708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19709 (exit $ac_status); } && {
19710 test -z "$ac_c_werror_flag" ||
19711 test ! -s conftest.err
19712 } && test -s conftest.
$ac_objext; then
19713 ac_hi
=$ac_mid; break
19715 echo "$as_me: failed program was:" >&5
19716 sed 's/^/| /' conftest.
$ac_ext >&5
19718 ac_lo
=`expr $ac_mid + 1`
19719 if test $ac_lo -le $ac_mid; then
19723 ac_mid
=`expr 2 '*' $ac_mid + 1`
19726 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19729 echo "$as_me: failed program was:" >&5
19730 sed 's/^/| /' conftest.
$ac_ext >&5
19732 cat >conftest.
$ac_ext <<_ACEOF
19735 cat confdefs.h
>>conftest.
$ac_ext
19736 cat >>conftest.
$ac_ext <<_ACEOF
19737 /* end confdefs.h. */
19738 $ac_includes_default
19739 typedef void * ac__type_sizeof_;
19743 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
19750 rm -f conftest.
$ac_objext
19751 if { (ac_try
="$ac_compile"
19752 case "(($ac_try" in
19753 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
19754 *) ac_try_echo=$ac_try;;
19756 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19757 (eval "$ac_compile") 2>conftest.er1
19759 grep -v '^ *+' conftest.er1 >conftest.err
19761 cat conftest.err >&5
19762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19763 (exit $ac_status); } && {
19764 test -z "$ac_c_werror_flag" ||
19765 test ! -s conftest.err
19766 } && test -s conftest.$ac_objext; then
19769 cat >conftest.$ac_ext <<_ACEOF
19772 cat confdefs.h >>conftest.$ac_ext
19773 cat >>conftest.$ac_ext <<_ACEOF
19774 /* end confdefs.h. */
19775 $ac_includes_default
19776 typedef void * ac__type_sizeof_;
19780 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
19787 rm -f conftest.$ac_objext
19788 if { (ac_try="$ac_compile"
19789 case "(($ac_try" in
19790 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
19791 *) ac_try_echo
=$ac_try;;
19793 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19794 (eval "$ac_compile") 2>conftest.er1
19796 grep -v '^ *+' conftest.er1
>conftest.err
19798 cat conftest.err
>&5
19799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19800 (exit $ac_status); } && {
19801 test -z "$ac_c_werror_flag" ||
19802 test ! -s conftest.err
19803 } && test -s conftest.
$ac_objext; then
19804 ac_lo
=$ac_mid; break
19806 echo "$as_me: failed program was:" >&5
19807 sed 's/^/| /' conftest.
$ac_ext >&5
19809 ac_hi
=`expr '(' $ac_mid ')' - 1`
19810 if test $ac_mid -le $ac_hi; then
19814 ac_mid
=`expr 2 '*' $ac_mid`
19817 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19820 echo "$as_me: failed program was:" >&5
19821 sed 's/^/| /' conftest.
$ac_ext >&5
19826 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19829 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19830 # Binary search between lo and hi bounds.
19831 while test "x$ac_lo" != "x$ac_hi"; do
19832 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
19833 cat >conftest.
$ac_ext <<_ACEOF
19836 cat confdefs.h
>>conftest.
$ac_ext
19837 cat >>conftest.
$ac_ext <<_ACEOF
19838 /* end confdefs.h. */
19839 $ac_includes_default
19840 typedef void * ac__type_sizeof_;
19844 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
19851 rm -f conftest.
$ac_objext
19852 if { (ac_try
="$ac_compile"
19853 case "(($ac_try" in
19854 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
19855 *) ac_try_echo=$ac_try;;
19857 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19858 (eval "$ac_compile") 2>conftest.er1
19860 grep -v '^ *+' conftest.er1 >conftest.err
19862 cat conftest.err >&5
19863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19864 (exit $ac_status); } && {
19865 test -z "$ac_c_werror_flag" ||
19866 test ! -s conftest.err
19867 } && test -s conftest.$ac_objext; then
19870 echo "$as_me: failed program was:" >&5
19871 sed 's/^/| /' conftest.$ac_ext >&5
19873 ac_lo=`expr '(' $ac_mid ')' + 1`
19876 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19879 ?*) ac_cv_sizeof_void_p=$ac_lo;;
19880 '') if test "$ac_cv_type_void_p" = yes; then
19881 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *)
19882 See \`config.log
' for more details." >&5
19883 echo "$as_me: error: cannot compute sizeof (void *)
19884 See \`config.log' for more details.
" >&2;}
19885 { (exit 77); exit 77; }; }
19887 ac_cv_sizeof_void_p=0
19891 cat >conftest.$ac_ext <<_ACEOF
19894 cat confdefs.h >>conftest.$ac_ext
19895 cat >>conftest.$ac_ext <<_ACEOF
19896 /* end confdefs.h. */
19897 $ac_includes_default
19898 typedef void * ac__type_sizeof_;
19899 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
19900 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
19902 #include <stdlib.h>
19907 FILE *f = fopen ("conftest.val
", "w
");
19910 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
19912 long int i = longval ();
19913 if (i != ((long int) (sizeof (ac__type_sizeof_))))
19915 fprintf (f, "%ld
\n", i);
19919 unsigned long int i = ulongval ();
19920 if (i != ((long int) (sizeof (ac__type_sizeof_))))
19922 fprintf (f, "%lu
\n", i);
19924 return ferror (f) || fclose (f) != 0;
19930 rm -f conftest$ac_exeext
19931 if { (ac_try="$ac_link"
19932 case "(($ac_try" in
19933 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19934 *) ac_try_echo=$ac_try;;
19936 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19937 (eval "$ac_link") 2>&5
19939 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19940 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
19941 { (case "(($ac_try" in
19942 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19943 *) ac_try_echo=$ac_try;;
19945 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19946 (eval "$ac_try") 2>&5
19948 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19949 (exit $ac_status); }; }; then
19950 ac_cv_sizeof_void_p=`cat conftest.val`
19952 echo "$as_me: program exited with status
$ac_status" >&5
19953 echo "$as_me: failed program was
:" >&5
19954 sed 's/^/| /' conftest.$ac_ext >&5
19956 ( exit $ac_status )
19957 if test "$ac_cv_type_void_p" = yes; then
19958 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(void
*)
19959 See \
`config.log' for more details." >&5
19960 echo "$as_me: error: cannot compute sizeof (void *)
19961 See \`config.log
' for more details." >&2;}
19962 { (exit 77); exit 77; }; }
19964 ac_cv_sizeof_void_p=0
19967 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19971 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
19972 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6; }
19976 cat >>confdefs.h <<_ACEOF
19977 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
19981 { echo "$as_me:$LINENO: checking for int" >&5
19982 echo $ECHO_N "checking for int... $ECHO_C" >&6; }
19983 if test "${ac_cv_type_int+set}" = set; then
19984 echo $ECHO_N "(cached) $ECHO_C" >&6
19986 cat >conftest.$ac_ext <<_ACEOF
19989 cat confdefs.h >>conftest.$ac_ext
19990 cat >>conftest.$ac_ext <<_ACEOF
19991 /* end confdefs.h. */
19992 $ac_includes_default
19993 typedef int ac__type_new_;
19997 if ((ac__type_new_ *) 0)
19999 if (sizeof (ac__type_new_))
20005 rm -f conftest.$ac_objext
20006 if { (ac_try="$ac_compile"
20007 case "(($ac_try" in
20008 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20009 *) ac_try_echo=$ac_try;;
20011 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20012 (eval "$ac_compile") 2>conftest.er1
20014 grep -v '^
*+' conftest.er1 >conftest.err
20016 cat conftest.err >&5
20017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20018 (exit $ac_status); } && {
20019 test -z "$ac_c_werror_flag" ||
20020 test ! -s conftest.err
20021 } && test -s conftest.$ac_objext; then
20024 echo "$as_me: failed program was:" >&5
20025 sed 's
/^
/| /' conftest.$ac_ext >&5
20030 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20032 { echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
20033 echo "${ECHO_T}$ac_cv_type_int" >&6; }
20035 # The cast to long int works around a bug in the HP C Compiler
20036 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20037 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20038 # This bug is HP SR number 8606223364.
20039 { echo "$as_me:$LINENO: checking size of int" >&5
20040 echo $ECHO_N "checking size of int... $ECHO_C" >&6; }
20041 if test "${ac_cv_sizeof_int+set}" = set; then
20042 echo $ECHO_N "(cached) $ECHO_C" >&6
20044 if test "$cross_compiling" = yes; then
20045 # Depending upon the size, compute the lo and hi bounds.
20046 cat >conftest.
$ac_ext <<_ACEOF
20049 cat confdefs.h
>>conftest.
$ac_ext
20050 cat >>conftest.
$ac_ext <<_ACEOF
20051 /* end confdefs.h. */
20052 $ac_includes_default
20053 typedef int ac__type_sizeof_;
20057 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
20064 rm -f conftest.
$ac_objext
20065 if { (ac_try
="$ac_compile"
20066 case "(($ac_try" in
20067 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
20068 *) ac_try_echo=$ac_try;;
20070 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20071 (eval "$ac_compile") 2>conftest.er1
20073 grep -v '^ *+' conftest.er1 >conftest.err
20075 cat conftest.err >&5
20076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20077 (exit $ac_status); } && {
20078 test -z "$ac_c_werror_flag" ||
20079 test ! -s conftest.err
20080 } && test -s conftest.$ac_objext; then
20083 cat >conftest.$ac_ext <<_ACEOF
20086 cat confdefs.h >>conftest.$ac_ext
20087 cat >>conftest.$ac_ext <<_ACEOF
20088 /* end confdefs.h. */
20089 $ac_includes_default
20090 typedef int ac__type_sizeof_;
20094 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20101 rm -f conftest.$ac_objext
20102 if { (ac_try="$ac_compile"
20103 case "(($ac_try" in
20104 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
20105 *) ac_try_echo
=$ac_try;;
20107 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20108 (eval "$ac_compile") 2>conftest.er1
20110 grep -v '^ *+' conftest.er1
>conftest.err
20112 cat conftest.err
>&5
20113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20114 (exit $ac_status); } && {
20115 test -z "$ac_c_werror_flag" ||
20116 test ! -s conftest.err
20117 } && test -s conftest.
$ac_objext; then
20118 ac_hi
=$ac_mid; break
20120 echo "$as_me: failed program was:" >&5
20121 sed 's/^/| /' conftest.
$ac_ext >&5
20123 ac_lo
=`expr $ac_mid + 1`
20124 if test $ac_lo -le $ac_mid; then
20128 ac_mid
=`expr 2 '*' $ac_mid + 1`
20131 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20134 echo "$as_me: failed program was:" >&5
20135 sed 's/^/| /' conftest.
$ac_ext >&5
20137 cat >conftest.
$ac_ext <<_ACEOF
20140 cat confdefs.h
>>conftest.
$ac_ext
20141 cat >>conftest.
$ac_ext <<_ACEOF
20142 /* end confdefs.h. */
20143 $ac_includes_default
20144 typedef int ac__type_sizeof_;
20148 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
20155 rm -f conftest.
$ac_objext
20156 if { (ac_try
="$ac_compile"
20157 case "(($ac_try" in
20158 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
20159 *) ac_try_echo=$ac_try;;
20161 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20162 (eval "$ac_compile") 2>conftest.er1
20164 grep -v '^ *+' conftest.er1 >conftest.err
20166 cat conftest.err >&5
20167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20168 (exit $ac_status); } && {
20169 test -z "$ac_c_werror_flag" ||
20170 test ! -s conftest.err
20171 } && test -s conftest.$ac_objext; then
20174 cat >conftest.$ac_ext <<_ACEOF
20177 cat confdefs.h >>conftest.$ac_ext
20178 cat >>conftest.$ac_ext <<_ACEOF
20179 /* end confdefs.h. */
20180 $ac_includes_default
20181 typedef int ac__type_sizeof_;
20185 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
20192 rm -f conftest.$ac_objext
20193 if { (ac_try="$ac_compile"
20194 case "(($ac_try" in
20195 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
20196 *) ac_try_echo
=$ac_try;;
20198 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20199 (eval "$ac_compile") 2>conftest.er1
20201 grep -v '^ *+' conftest.er1
>conftest.err
20203 cat conftest.err
>&5
20204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20205 (exit $ac_status); } && {
20206 test -z "$ac_c_werror_flag" ||
20207 test ! -s conftest.err
20208 } && test -s conftest.
$ac_objext; then
20209 ac_lo
=$ac_mid; break
20211 echo "$as_me: failed program was:" >&5
20212 sed 's/^/| /' conftest.
$ac_ext >&5
20214 ac_hi
=`expr '(' $ac_mid ')' - 1`
20215 if test $ac_mid -le $ac_hi; then
20219 ac_mid
=`expr 2 '*' $ac_mid`
20222 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20225 echo "$as_me: failed program was:" >&5
20226 sed 's/^/| /' conftest.
$ac_ext >&5
20231 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20234 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20235 # Binary search between lo and hi bounds.
20236 while test "x$ac_lo" != "x$ac_hi"; do
20237 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20238 cat >conftest.
$ac_ext <<_ACEOF
20241 cat confdefs.h
>>conftest.
$ac_ext
20242 cat >>conftest.
$ac_ext <<_ACEOF
20243 /* end confdefs.h. */
20244 $ac_includes_default
20245 typedef int ac__type_sizeof_;
20249 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20256 rm -f conftest.
$ac_objext
20257 if { (ac_try
="$ac_compile"
20258 case "(($ac_try" in
20259 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
20260 *) ac_try_echo=$ac_try;;
20262 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20263 (eval "$ac_compile") 2>conftest.er1
20265 grep -v '^ *+' conftest.er1 >conftest.err
20267 cat conftest.err >&5
20268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20269 (exit $ac_status); } && {
20270 test -z "$ac_c_werror_flag" ||
20271 test ! -s conftest.err
20272 } && test -s conftest.$ac_objext; then
20275 echo "$as_me: failed program was:" >&5
20276 sed 's/^/| /' conftest.$ac_ext >&5
20278 ac_lo=`expr '(' $ac_mid ')' + 1`
20281 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20284 ?*) ac_cv_sizeof_int=$ac_lo;;
20285 '') if test "$ac_cv_type_int" = yes; then
20286 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int)
20287 See \`config.log
' for more details." >&5
20288 echo "$as_me: error: cannot compute sizeof (int)
20289 See \`config.log' for more details.
" >&2;}
20290 { (exit 77); exit 77; }; }
20296 cat >conftest.$ac_ext <<_ACEOF
20299 cat confdefs.h >>conftest.$ac_ext
20300 cat >>conftest.$ac_ext <<_ACEOF
20301 /* end confdefs.h. */
20302 $ac_includes_default
20303 typedef int ac__type_sizeof_;
20304 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
20305 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
20307 #include <stdlib.h>
20312 FILE *f = fopen ("conftest.val
", "w
");
20315 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
20317 long int i = longval ();
20318 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20320 fprintf (f, "%ld
\n", i);
20324 unsigned long int i = ulongval ();
20325 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20327 fprintf (f, "%lu
\n", i);
20329 return ferror (f) || fclose (f) != 0;
20335 rm -f conftest$ac_exeext
20336 if { (ac_try="$ac_link"
20337 case "(($ac_try" in
20338 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20339 *) ac_try_echo=$ac_try;;
20341 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
20342 (eval "$ac_link") 2>&5
20344 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
20345 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20346 { (case "(($ac_try" in
20347 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20348 *) ac_try_echo=$ac_try;;
20350 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
20351 (eval "$ac_try") 2>&5
20353 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
20354 (exit $ac_status); }; }; then
20355 ac_cv_sizeof_int=`cat conftest.val`
20357 echo "$as_me: program exited with status
$ac_status" >&5
20358 echo "$as_me: failed program was
:" >&5
20359 sed 's/^/| /' conftest.$ac_ext >&5
20361 ( exit $ac_status )
20362 if test "$ac_cv_type_int" = yes; then
20363 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(int
)
20364 See \
`config.log' for more details." >&5
20365 echo "$as_me: error: cannot compute sizeof (int)
20366 See \`config.log
' for more details." >&2;}
20367 { (exit 77); exit 77; }; }
20372 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20376 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
20377 echo "${ECHO_T}$ac_cv_sizeof_int" >&6; }
20381 cat >>confdefs.h <<_ACEOF
20382 #define SIZEOF_INT $ac_cv_sizeof_int
20386 { echo "$as_me:$LINENO: checking for long" >&5
20387 echo $ECHO_N "checking for long... $ECHO_C" >&6; }
20388 if test "${ac_cv_type_long+set}" = set; then
20389 echo $ECHO_N "(cached) $ECHO_C" >&6
20391 cat >conftest.$ac_ext <<_ACEOF
20394 cat confdefs.h >>conftest.$ac_ext
20395 cat >>conftest.$ac_ext <<_ACEOF
20396 /* end confdefs.h. */
20397 $ac_includes_default
20398 typedef long ac__type_new_;
20402 if ((ac__type_new_ *) 0)
20404 if (sizeof (ac__type_new_))
20410 rm -f conftest.$ac_objext
20411 if { (ac_try="$ac_compile"
20412 case "(($ac_try" in
20413 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20414 *) ac_try_echo=$ac_try;;
20416 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20417 (eval "$ac_compile") 2>conftest.er1
20419 grep -v '^
*+' conftest.er1 >conftest.err
20421 cat conftest.err >&5
20422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20423 (exit $ac_status); } && {
20424 test -z "$ac_c_werror_flag" ||
20425 test ! -s conftest.err
20426 } && test -s conftest.$ac_objext; then
20427 ac_cv_type_long=yes
20429 echo "$as_me: failed program was:" >&5
20430 sed 's
/^
/| /' conftest.$ac_ext >&5
20435 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20437 { echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
20438 echo "${ECHO_T}$ac_cv_type_long" >&6; }
20440 # The cast to long int works around a bug in the HP C Compiler
20441 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20442 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20443 # This bug is HP SR number 8606223364.
20444 { echo "$as_me:$LINENO: checking size of long" >&5
20445 echo $ECHO_N "checking size of long... $ECHO_C" >&6; }
20446 if test "${ac_cv_sizeof_long+set}" = set; then
20447 echo $ECHO_N "(cached) $ECHO_C" >&6
20449 if test "$cross_compiling" = yes; then
20450 # Depending upon the size, compute the lo and hi bounds.
20451 cat >conftest.
$ac_ext <<_ACEOF
20454 cat confdefs.h
>>conftest.
$ac_ext
20455 cat >>conftest.
$ac_ext <<_ACEOF
20456 /* end confdefs.h. */
20457 $ac_includes_default
20458 typedef long ac__type_sizeof_;
20462 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
20469 rm -f conftest.
$ac_objext
20470 if { (ac_try
="$ac_compile"
20471 case "(($ac_try" in
20472 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
20473 *) ac_try_echo=$ac_try;;
20475 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20476 (eval "$ac_compile") 2>conftest.er1
20478 grep -v '^ *+' conftest.er1 >conftest.err
20480 cat conftest.err >&5
20481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20482 (exit $ac_status); } && {
20483 test -z "$ac_c_werror_flag" ||
20484 test ! -s conftest.err
20485 } && test -s conftest.$ac_objext; then
20488 cat >conftest.$ac_ext <<_ACEOF
20491 cat confdefs.h >>conftest.$ac_ext
20492 cat >>conftest.$ac_ext <<_ACEOF
20493 /* end confdefs.h. */
20494 $ac_includes_default
20495 typedef long ac__type_sizeof_;
20499 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20506 rm -f conftest.$ac_objext
20507 if { (ac_try="$ac_compile"
20508 case "(($ac_try" in
20509 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
20510 *) ac_try_echo
=$ac_try;;
20512 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20513 (eval "$ac_compile") 2>conftest.er1
20515 grep -v '^ *+' conftest.er1
>conftest.err
20517 cat conftest.err
>&5
20518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20519 (exit $ac_status); } && {
20520 test -z "$ac_c_werror_flag" ||
20521 test ! -s conftest.err
20522 } && test -s conftest.
$ac_objext; then
20523 ac_hi
=$ac_mid; break
20525 echo "$as_me: failed program was:" >&5
20526 sed 's/^/| /' conftest.
$ac_ext >&5
20528 ac_lo
=`expr $ac_mid + 1`
20529 if test $ac_lo -le $ac_mid; then
20533 ac_mid
=`expr 2 '*' $ac_mid + 1`
20536 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20539 echo "$as_me: failed program was:" >&5
20540 sed 's/^/| /' conftest.
$ac_ext >&5
20542 cat >conftest.
$ac_ext <<_ACEOF
20545 cat confdefs.h
>>conftest.
$ac_ext
20546 cat >>conftest.
$ac_ext <<_ACEOF
20547 /* end confdefs.h. */
20548 $ac_includes_default
20549 typedef long ac__type_sizeof_;
20553 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
20560 rm -f conftest.
$ac_objext
20561 if { (ac_try
="$ac_compile"
20562 case "(($ac_try" in
20563 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
20564 *) ac_try_echo=$ac_try;;
20566 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20567 (eval "$ac_compile") 2>conftest.er1
20569 grep -v '^ *+' conftest.er1 >conftest.err
20571 cat conftest.err >&5
20572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20573 (exit $ac_status); } && {
20574 test -z "$ac_c_werror_flag" ||
20575 test ! -s conftest.err
20576 } && test -s conftest.$ac_objext; then
20579 cat >conftest.$ac_ext <<_ACEOF
20582 cat confdefs.h >>conftest.$ac_ext
20583 cat >>conftest.$ac_ext <<_ACEOF
20584 /* end confdefs.h. */
20585 $ac_includes_default
20586 typedef long ac__type_sizeof_;
20590 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
20597 rm -f conftest.$ac_objext
20598 if { (ac_try="$ac_compile"
20599 case "(($ac_try" in
20600 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
20601 *) ac_try_echo
=$ac_try;;
20603 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20604 (eval "$ac_compile") 2>conftest.er1
20606 grep -v '^ *+' conftest.er1
>conftest.err
20608 cat conftest.err
>&5
20609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20610 (exit $ac_status); } && {
20611 test -z "$ac_c_werror_flag" ||
20612 test ! -s conftest.err
20613 } && test -s conftest.
$ac_objext; then
20614 ac_lo
=$ac_mid; break
20616 echo "$as_me: failed program was:" >&5
20617 sed 's/^/| /' conftest.
$ac_ext >&5
20619 ac_hi
=`expr '(' $ac_mid ')' - 1`
20620 if test $ac_mid -le $ac_hi; then
20624 ac_mid
=`expr 2 '*' $ac_mid`
20627 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20630 echo "$as_me: failed program was:" >&5
20631 sed 's/^/| /' conftest.
$ac_ext >&5
20636 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20639 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20640 # Binary search between lo and hi bounds.
20641 while test "x$ac_lo" != "x$ac_hi"; do
20642 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20643 cat >conftest.
$ac_ext <<_ACEOF
20646 cat confdefs.h
>>conftest.
$ac_ext
20647 cat >>conftest.
$ac_ext <<_ACEOF
20648 /* end confdefs.h. */
20649 $ac_includes_default
20650 typedef long ac__type_sizeof_;
20654 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20661 rm -f conftest.
$ac_objext
20662 if { (ac_try
="$ac_compile"
20663 case "(($ac_try" in
20664 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
20665 *) ac_try_echo=$ac_try;;
20667 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20668 (eval "$ac_compile") 2>conftest.er1
20670 grep -v '^ *+' conftest.er1 >conftest.err
20672 cat conftest.err >&5
20673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20674 (exit $ac_status); } && {
20675 test -z "$ac_c_werror_flag" ||
20676 test ! -s conftest.err
20677 } && test -s conftest.$ac_objext; then
20680 echo "$as_me: failed program was:" >&5
20681 sed 's/^/| /' conftest.$ac_ext >&5
20683 ac_lo=`expr '(' $ac_mid ')' + 1`
20686 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20689 ?*) ac_cv_sizeof_long=$ac_lo;;
20690 '') if test "$ac_cv_type_long" = yes; then
20691 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long)
20692 See \`config.log
' for more details." >&5
20693 echo "$as_me: error: cannot compute sizeof (long)
20694 See \`config.log' for more details.
" >&2;}
20695 { (exit 77); exit 77; }; }
20697 ac_cv_sizeof_long=0
20701 cat >conftest.$ac_ext <<_ACEOF
20704 cat confdefs.h >>conftest.$ac_ext
20705 cat >>conftest.$ac_ext <<_ACEOF
20706 /* end confdefs.h. */
20707 $ac_includes_default
20708 typedef long ac__type_sizeof_;
20709 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
20710 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
20712 #include <stdlib.h>
20717 FILE *f = fopen ("conftest.val
", "w
");
20720 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
20722 long int i = longval ();
20723 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20725 fprintf (f, "%ld
\n", i);
20729 unsigned long int i = ulongval ();
20730 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20732 fprintf (f, "%lu
\n", i);
20734 return ferror (f) || fclose (f) != 0;
20740 rm -f conftest$ac_exeext
20741 if { (ac_try="$ac_link"
20742 case "(($ac_try" in
20743 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20744 *) ac_try_echo=$ac_try;;
20746 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
20747 (eval "$ac_link") 2>&5
20749 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
20750 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20751 { (case "(($ac_try" in
20752 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20753 *) ac_try_echo=$ac_try;;
20755 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
20756 (eval "$ac_try") 2>&5
20758 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
20759 (exit $ac_status); }; }; then
20760 ac_cv_sizeof_long=`cat conftest.val`
20762 echo "$as_me: program exited with status
$ac_status" >&5
20763 echo "$as_me: failed program was
:" >&5
20764 sed 's/^/| /' conftest.$ac_ext >&5
20766 ( exit $ac_status )
20767 if test "$ac_cv_type_long" = yes; then
20768 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(long
)
20769 See \
`config.log' for more details." >&5
20770 echo "$as_me: error: cannot compute sizeof (long)
20771 See \`config.log
' for more details." >&2;}
20772 { (exit 77); exit 77; }; }
20774 ac_cv_sizeof_long=0
20777 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20781 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
20782 echo "${ECHO_T}$ac_cv_sizeof_long" >&6; }
20786 cat >>confdefs.h <<_ACEOF
20787 #define SIZEOF_LONG $ac_cv_sizeof_long
20791 { echo "$as_me:$LINENO: checking for size_t" >&5
20792 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
20793 if test "${ac_cv_type_size_t+set}" = set; then
20794 echo $ECHO_N "(cached) $ECHO_C" >&6
20796 cat >conftest.$ac_ext <<_ACEOF
20799 cat confdefs.h >>conftest.$ac_ext
20800 cat >>conftest.$ac_ext <<_ACEOF
20801 /* end confdefs.h. */
20802 $ac_includes_default
20803 typedef size_t ac__type_new_;
20807 if ((ac__type_new_ *) 0)
20809 if (sizeof (ac__type_new_))
20815 rm -f conftest.$ac_objext
20816 if { (ac_try="$ac_compile"
20817 case "(($ac_try" in
20818 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20819 *) ac_try_echo=$ac_try;;
20821 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20822 (eval "$ac_compile") 2>conftest.er1
20824 grep -v '^
*+' conftest.er1 >conftest.err
20826 cat conftest.err >&5
20827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20828 (exit $ac_status); } && {
20829 test -z "$ac_c_werror_flag" ||
20830 test ! -s conftest.err
20831 } && test -s conftest.$ac_objext; then
20832 ac_cv_type_size_t=yes
20834 echo "$as_me: failed program was:" >&5
20835 sed 's
/^
/| /' conftest.$ac_ext >&5
20837 ac_cv_type_size_t=no
20840 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20842 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
20843 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
20845 # The cast to long int works around a bug in the HP C Compiler
20846 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20847 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20848 # This bug is HP SR number 8606223364.
20849 { echo "$as_me:$LINENO: checking size of size_t" >&5
20850 echo $ECHO_N "checking size of size_t... $ECHO_C" >&6; }
20851 if test "${ac_cv_sizeof_size_t+set}" = set; then
20852 echo $ECHO_N "(cached) $ECHO_C" >&6
20854 if test "$cross_compiling" = yes; then
20855 # Depending upon the size, compute the lo and hi bounds.
20856 cat >conftest.
$ac_ext <<_ACEOF
20859 cat confdefs.h
>>conftest.
$ac_ext
20860 cat >>conftest.
$ac_ext <<_ACEOF
20861 /* end confdefs.h. */
20862 $ac_includes_default
20863 typedef size_t ac__type_sizeof_;
20867 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
20874 rm -f conftest.
$ac_objext
20875 if { (ac_try
="$ac_compile"
20876 case "(($ac_try" in
20877 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
20878 *) ac_try_echo=$ac_try;;
20880 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20881 (eval "$ac_compile") 2>conftest.er1
20883 grep -v '^ *+' conftest.er1 >conftest.err
20885 cat conftest.err >&5
20886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20887 (exit $ac_status); } && {
20888 test -z "$ac_c_werror_flag" ||
20889 test ! -s conftest.err
20890 } && test -s conftest.$ac_objext; then
20893 cat >conftest.$ac_ext <<_ACEOF
20896 cat confdefs.h >>conftest.$ac_ext
20897 cat >>conftest.$ac_ext <<_ACEOF
20898 /* end confdefs.h. */
20899 $ac_includes_default
20900 typedef size_t ac__type_sizeof_;
20904 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20911 rm -f conftest.$ac_objext
20912 if { (ac_try="$ac_compile"
20913 case "(($ac_try" in
20914 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
20915 *) ac_try_echo
=$ac_try;;
20917 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20918 (eval "$ac_compile") 2>conftest.er1
20920 grep -v '^ *+' conftest.er1
>conftest.err
20922 cat conftest.err
>&5
20923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20924 (exit $ac_status); } && {
20925 test -z "$ac_c_werror_flag" ||
20926 test ! -s conftest.err
20927 } && test -s conftest.
$ac_objext; then
20928 ac_hi
=$ac_mid; break
20930 echo "$as_me: failed program was:" >&5
20931 sed 's/^/| /' conftest.
$ac_ext >&5
20933 ac_lo
=`expr $ac_mid + 1`
20934 if test $ac_lo -le $ac_mid; then
20938 ac_mid
=`expr 2 '*' $ac_mid + 1`
20941 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20944 echo "$as_me: failed program was:" >&5
20945 sed 's/^/| /' conftest.
$ac_ext >&5
20947 cat >conftest.
$ac_ext <<_ACEOF
20950 cat confdefs.h
>>conftest.
$ac_ext
20951 cat >>conftest.
$ac_ext <<_ACEOF
20952 /* end confdefs.h. */
20953 $ac_includes_default
20954 typedef size_t ac__type_sizeof_;
20958 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
20965 rm -f conftest.
$ac_objext
20966 if { (ac_try
="$ac_compile"
20967 case "(($ac_try" in
20968 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
20969 *) ac_try_echo=$ac_try;;
20971 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20972 (eval "$ac_compile") 2>conftest.er1
20974 grep -v '^ *+' conftest.er1 >conftest.err
20976 cat conftest.err >&5
20977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20978 (exit $ac_status); } && {
20979 test -z "$ac_c_werror_flag" ||
20980 test ! -s conftest.err
20981 } && test -s conftest.$ac_objext; then
20984 cat >conftest.$ac_ext <<_ACEOF
20987 cat confdefs.h >>conftest.$ac_ext
20988 cat >>conftest.$ac_ext <<_ACEOF
20989 /* end confdefs.h. */
20990 $ac_includes_default
20991 typedef size_t ac__type_sizeof_;
20995 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
21002 rm -f conftest.$ac_objext
21003 if { (ac_try="$ac_compile"
21004 case "(($ac_try" in
21005 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
21006 *) ac_try_echo
=$ac_try;;
21008 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21009 (eval "$ac_compile") 2>conftest.er1
21011 grep -v '^ *+' conftest.er1
>conftest.err
21013 cat conftest.err
>&5
21014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21015 (exit $ac_status); } && {
21016 test -z "$ac_c_werror_flag" ||
21017 test ! -s conftest.err
21018 } && test -s conftest.
$ac_objext; then
21019 ac_lo
=$ac_mid; break
21021 echo "$as_me: failed program was:" >&5
21022 sed 's/^/| /' conftest.
$ac_ext >&5
21024 ac_hi
=`expr '(' $ac_mid ')' - 1`
21025 if test $ac_mid -le $ac_hi; then
21029 ac_mid
=`expr 2 '*' $ac_mid`
21032 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21035 echo "$as_me: failed program was:" >&5
21036 sed 's/^/| /' conftest.
$ac_ext >&5
21041 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21044 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21045 # Binary search between lo and hi bounds.
21046 while test "x$ac_lo" != "x$ac_hi"; do
21047 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21048 cat >conftest.
$ac_ext <<_ACEOF
21051 cat confdefs.h
>>conftest.
$ac_ext
21052 cat >>conftest.
$ac_ext <<_ACEOF
21053 /* end confdefs.h. */
21054 $ac_includes_default
21055 typedef size_t ac__type_sizeof_;
21059 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21066 rm -f conftest.
$ac_objext
21067 if { (ac_try
="$ac_compile"
21068 case "(($ac_try" in
21069 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
21070 *) ac_try_echo=$ac_try;;
21072 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21073 (eval "$ac_compile") 2>conftest.er1
21075 grep -v '^ *+' conftest.er1 >conftest.err
21077 cat conftest.err >&5
21078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21079 (exit $ac_status); } && {
21080 test -z "$ac_c_werror_flag" ||
21081 test ! -s conftest.err
21082 } && test -s conftest.$ac_objext; then
21085 echo "$as_me: failed program was:" >&5
21086 sed 's/^/| /' conftest.$ac_ext >&5
21088 ac_lo=`expr '(' $ac_mid ')' + 1`
21091 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21094 ?*) ac_cv_sizeof_size_t=$ac_lo;;
21095 '') if test "$ac_cv_type_size_t" = yes; then
21096 { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t)
21097 See \`config.log
' for more details." >&5
21098 echo "$as_me: error: cannot compute sizeof (size_t)
21099 See \`config.log' for more details.
" >&2;}
21100 { (exit 77); exit 77; }; }
21102 ac_cv_sizeof_size_t=0
21106 cat >conftest.$ac_ext <<_ACEOF
21109 cat confdefs.h >>conftest.$ac_ext
21110 cat >>conftest.$ac_ext <<_ACEOF
21111 /* end confdefs.h. */
21112 $ac_includes_default
21113 typedef size_t ac__type_sizeof_;
21114 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
21115 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
21117 #include <stdlib.h>
21122 FILE *f = fopen ("conftest.val
", "w
");
21125 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
21127 long int i = longval ();
21128 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21130 fprintf (f, "%ld
\n", i);
21134 unsigned long int i = ulongval ();
21135 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21137 fprintf (f, "%lu
\n", i);
21139 return ferror (f) || fclose (f) != 0;
21145 rm -f conftest$ac_exeext
21146 if { (ac_try="$ac_link"
21147 case "(($ac_try" in
21148 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21149 *) ac_try_echo=$ac_try;;
21151 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21152 (eval "$ac_link") 2>&5
21154 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21155 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21156 { (case "(($ac_try" in
21157 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21158 *) ac_try_echo=$ac_try;;
21160 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21161 (eval "$ac_try") 2>&5
21163 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21164 (exit $ac_status); }; }; then
21165 ac_cv_sizeof_size_t=`cat conftest.val`
21167 echo "$as_me: program exited with status
$ac_status" >&5
21168 echo "$as_me: failed program was
:" >&5
21169 sed 's/^/| /' conftest.$ac_ext >&5
21171 ( exit $ac_status )
21172 if test "$ac_cv_type_size_t" = yes; then
21173 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(size_t
)
21174 See \
`config.log' for more details." >&5
21175 echo "$as_me: error: cannot compute sizeof (size_t)
21176 See \`config.log
' for more details." >&2;}
21177 { (exit 77); exit 77; }; }
21179 ac_cv_sizeof_size_t=0
21182 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21186 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_size_t" >&5
21187 echo "${ECHO_T}$ac_cv_sizeof_size_t" >&6; }
21191 cat >>confdefs.h <<_ACEOF
21192 #define SIZEOF_SIZE_T $ac_cv_sizeof_size_t
21199 { echo "$as_me:$LINENO: checking for long long" >&5
21200 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
21201 if test "${ac_cv_type_long_long+set}" = set; then
21202 echo $ECHO_N "(cached) $ECHO_C" >&6
21204 cat >conftest.$ac_ext <<_ACEOF
21207 cat confdefs.h >>conftest.$ac_ext
21208 cat >>conftest.$ac_ext <<_ACEOF
21209 /* end confdefs.h. */
21210 $ac_includes_default
21211 typedef long long ac__type_new_;
21215 if ((ac__type_new_ *) 0)
21217 if (sizeof (ac__type_new_))
21223 rm -f conftest.$ac_objext
21224 if { (ac_try="$ac_compile"
21225 case "(($ac_try" in
21226 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21227 *) ac_try_echo=$ac_try;;
21229 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21230 (eval "$ac_compile") 2>conftest.er1
21232 grep -v '^
*+' conftest.er1 >conftest.err
21234 cat conftest.err >&5
21235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21236 (exit $ac_status); } && {
21237 test -z "$ac_c_werror_flag" ||
21238 test ! -s conftest.err
21239 } && test -s conftest.$ac_objext; then
21240 ac_cv_type_long_long=yes
21242 echo "$as_me: failed program was:" >&5
21243 sed 's
/^
/| /' conftest.$ac_ext >&5
21245 ac_cv_type_long_long=no
21248 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21250 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
21251 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
21253 # The cast to long int works around a bug in the HP C Compiler
21254 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21255 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21256 # This bug is HP SR number 8606223364.
21257 { echo "$as_me:$LINENO: checking size of long long" >&5
21258 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
21259 if test "${ac_cv_sizeof_long_long+set}" = set; then
21260 echo $ECHO_N "(cached) $ECHO_C" >&6
21262 if test "$cross_compiling" = yes; then
21263 # Depending upon the size, compute the lo and hi bounds.
21264 cat >conftest.
$ac_ext <<_ACEOF
21267 cat confdefs.h
>>conftest.
$ac_ext
21268 cat >>conftest.
$ac_ext <<_ACEOF
21269 /* end confdefs.h. */
21270 $ac_includes_default
21271 typedef long long ac__type_sizeof_;
21275 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
21282 rm -f conftest.
$ac_objext
21283 if { (ac_try
="$ac_compile"
21284 case "(($ac_try" in
21285 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
21286 *) ac_try_echo=$ac_try;;
21288 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21289 (eval "$ac_compile") 2>conftest.er1
21291 grep -v '^ *+' conftest.er1 >conftest.err
21293 cat conftest.err >&5
21294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21295 (exit $ac_status); } && {
21296 test -z "$ac_c_werror_flag" ||
21297 test ! -s conftest.err
21298 } && test -s conftest.$ac_objext; then
21301 cat >conftest.$ac_ext <<_ACEOF
21304 cat confdefs.h >>conftest.$ac_ext
21305 cat >>conftest.$ac_ext <<_ACEOF
21306 /* end confdefs.h. */
21307 $ac_includes_default
21308 typedef long long ac__type_sizeof_;
21312 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21319 rm -f conftest.$ac_objext
21320 if { (ac_try="$ac_compile"
21321 case "(($ac_try" in
21322 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
21323 *) ac_try_echo
=$ac_try;;
21325 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21326 (eval "$ac_compile") 2>conftest.er1
21328 grep -v '^ *+' conftest.er1
>conftest.err
21330 cat conftest.err
>&5
21331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21332 (exit $ac_status); } && {
21333 test -z "$ac_c_werror_flag" ||
21334 test ! -s conftest.err
21335 } && test -s conftest.
$ac_objext; then
21336 ac_hi
=$ac_mid; break
21338 echo "$as_me: failed program was:" >&5
21339 sed 's/^/| /' conftest.
$ac_ext >&5
21341 ac_lo
=`expr $ac_mid + 1`
21342 if test $ac_lo -le $ac_mid; then
21346 ac_mid
=`expr 2 '*' $ac_mid + 1`
21349 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21352 echo "$as_me: failed program was:" >&5
21353 sed 's/^/| /' conftest.
$ac_ext >&5
21355 cat >conftest.
$ac_ext <<_ACEOF
21358 cat confdefs.h
>>conftest.
$ac_ext
21359 cat >>conftest.
$ac_ext <<_ACEOF
21360 /* end confdefs.h. */
21361 $ac_includes_default
21362 typedef long long ac__type_sizeof_;
21366 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
21373 rm -f conftest.
$ac_objext
21374 if { (ac_try
="$ac_compile"
21375 case "(($ac_try" in
21376 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
21377 *) ac_try_echo=$ac_try;;
21379 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21380 (eval "$ac_compile") 2>conftest.er1
21382 grep -v '^ *+' conftest.er1 >conftest.err
21384 cat conftest.err >&5
21385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21386 (exit $ac_status); } && {
21387 test -z "$ac_c_werror_flag" ||
21388 test ! -s conftest.err
21389 } && test -s conftest.$ac_objext; then
21392 cat >conftest.$ac_ext <<_ACEOF
21395 cat confdefs.h >>conftest.$ac_ext
21396 cat >>conftest.$ac_ext <<_ACEOF
21397 /* end confdefs.h. */
21398 $ac_includes_default
21399 typedef long long ac__type_sizeof_;
21403 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
21410 rm -f conftest.$ac_objext
21411 if { (ac_try="$ac_compile"
21412 case "(($ac_try" in
21413 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
21414 *) ac_try_echo
=$ac_try;;
21416 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21417 (eval "$ac_compile") 2>conftest.er1
21419 grep -v '^ *+' conftest.er1
>conftest.err
21421 cat conftest.err
>&5
21422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21423 (exit $ac_status); } && {
21424 test -z "$ac_c_werror_flag" ||
21425 test ! -s conftest.err
21426 } && test -s conftest.
$ac_objext; then
21427 ac_lo
=$ac_mid; break
21429 echo "$as_me: failed program was:" >&5
21430 sed 's/^/| /' conftest.
$ac_ext >&5
21432 ac_hi
=`expr '(' $ac_mid ')' - 1`
21433 if test $ac_mid -le $ac_hi; then
21437 ac_mid
=`expr 2 '*' $ac_mid`
21440 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21443 echo "$as_me: failed program was:" >&5
21444 sed 's/^/| /' conftest.
$ac_ext >&5
21449 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21452 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21453 # Binary search between lo and hi bounds.
21454 while test "x$ac_lo" != "x$ac_hi"; do
21455 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21456 cat >conftest.
$ac_ext <<_ACEOF
21459 cat confdefs.h
>>conftest.
$ac_ext
21460 cat >>conftest.
$ac_ext <<_ACEOF
21461 /* end confdefs.h. */
21462 $ac_includes_default
21463 typedef long long ac__type_sizeof_;
21467 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21474 rm -f conftest.
$ac_objext
21475 if { (ac_try
="$ac_compile"
21476 case "(($ac_try" in
21477 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
21478 *) ac_try_echo=$ac_try;;
21480 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21481 (eval "$ac_compile") 2>conftest.er1
21483 grep -v '^ *+' conftest.er1 >conftest.err
21485 cat conftest.err >&5
21486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21487 (exit $ac_status); } && {
21488 test -z "$ac_c_werror_flag" ||
21489 test ! -s conftest.err
21490 } && test -s conftest.$ac_objext; then
21493 echo "$as_me: failed program was:" >&5
21494 sed 's/^/| /' conftest.$ac_ext >&5
21496 ac_lo=`expr '(' $ac_mid ')' + 1`
21499 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21502 ?*) ac_cv_sizeof_long_long=$ac_lo;;
21503 '') if test "$ac_cv_type_long_long" = yes; then
21504 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
21505 See \`config.log
' for more details." >&5
21506 echo "$as_me: error: cannot compute sizeof (long long)
21507 See \`config.log' for more details.
" >&2;}
21508 { (exit 77); exit 77; }; }
21510 ac_cv_sizeof_long_long=0
21514 cat >conftest.$ac_ext <<_ACEOF
21517 cat confdefs.h >>conftest.$ac_ext
21518 cat >>conftest.$ac_ext <<_ACEOF
21519 /* end confdefs.h. */
21520 $ac_includes_default
21521 typedef long long ac__type_sizeof_;
21522 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
21523 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
21525 #include <stdlib.h>
21530 FILE *f = fopen ("conftest.val
", "w
");
21533 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
21535 long int i = longval ();
21536 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21538 fprintf (f, "%ld
\n", i);
21542 unsigned long int i = ulongval ();
21543 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21545 fprintf (f, "%lu
\n", i);
21547 return ferror (f) || fclose (f) != 0;
21553 rm -f conftest$ac_exeext
21554 if { (ac_try="$ac_link"
21555 case "(($ac_try" in
21556 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21557 *) ac_try_echo=$ac_try;;
21559 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21560 (eval "$ac_link") 2>&5
21562 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21563 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21564 { (case "(($ac_try" in
21565 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21566 *) ac_try_echo=$ac_try;;
21568 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21569 (eval "$ac_try") 2>&5
21571 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21572 (exit $ac_status); }; }; then
21573 ac_cv_sizeof_long_long=`cat conftest.val`
21575 echo "$as_me: program exited with status
$ac_status" >&5
21576 echo "$as_me: failed program was
:" >&5
21577 sed 's/^/| /' conftest.$ac_ext >&5
21579 ( exit $ac_status )
21580 if test "$ac_cv_type_long_long" = yes; then
21581 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(long long
)
21582 See \
`config.log' for more details." >&5
21583 echo "$as_me: error: cannot compute sizeof (long long)
21584 See \`config.log
' for more details." >&2;}
21585 { (exit 77); exit 77; }; }
21587 ac_cv_sizeof_long_long=0
21590 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21594 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
21595 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
21599 cat >>confdefs.h <<_ACEOF
21600 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
21606 { echo "$as_me:$LINENO: checking for long long" >&5
21607 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
21608 if test "${ac_cv_type_long_long+set}" = set; then
21609 echo $ECHO_N "(cached) $ECHO_C" >&6
21611 cat >conftest.$ac_ext <<_ACEOF
21614 cat confdefs.h >>conftest.$ac_ext
21615 cat >>conftest.$ac_ext <<_ACEOF
21616 /* end confdefs.h. */
21617 $ac_includes_default
21618 typedef long long ac__type_new_;
21622 if ((ac__type_new_ *) 0)
21624 if (sizeof (ac__type_new_))
21630 rm -f conftest.$ac_objext
21631 if { (ac_try="$ac_compile"
21632 case "(($ac_try" in
21633 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21634 *) ac_try_echo=$ac_try;;
21636 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21637 (eval "$ac_compile") 2>conftest.er1
21639 grep -v '^
*+' conftest.er1 >conftest.err
21641 cat conftest.err >&5
21642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21643 (exit $ac_status); } && {
21644 test -z "$ac_c_werror_flag" ||
21645 test ! -s conftest.err
21646 } && test -s conftest.$ac_objext; then
21647 ac_cv_type_long_long=yes
21649 echo "$as_me: failed program was:" >&5
21650 sed 's
/^
/| /' conftest.$ac_ext >&5
21652 ac_cv_type_long_long=no
21655 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21657 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
21658 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
21660 # The cast to long int works around a bug in the HP C Compiler
21661 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21662 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21663 # This bug is HP SR number 8606223364.
21664 { echo "$as_me:$LINENO: checking size of long long" >&5
21665 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
21666 if test "${ac_cv_sizeof_long_long+set}" = set; then
21667 echo $ECHO_N "(cached) $ECHO_C" >&6
21669 if test "$cross_compiling" = yes; then
21670 # Depending upon the size, compute the lo and hi bounds.
21671 cat >conftest.
$ac_ext <<_ACEOF
21674 cat confdefs.h
>>conftest.
$ac_ext
21675 cat >>conftest.
$ac_ext <<_ACEOF
21676 /* end confdefs.h. */
21677 $ac_includes_default
21678 typedef long long ac__type_sizeof_;
21682 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
21689 rm -f conftest.
$ac_objext
21690 if { (ac_try
="$ac_compile"
21691 case "(($ac_try" in
21692 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
21693 *) ac_try_echo=$ac_try;;
21695 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21696 (eval "$ac_compile") 2>conftest.er1
21698 grep -v '^ *+' conftest.er1 >conftest.err
21700 cat conftest.err >&5
21701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21702 (exit $ac_status); } && {
21703 test -z "$ac_c_werror_flag" ||
21704 test ! -s conftest.err
21705 } && test -s conftest.$ac_objext; then
21708 cat >conftest.$ac_ext <<_ACEOF
21711 cat confdefs.h >>conftest.$ac_ext
21712 cat >>conftest.$ac_ext <<_ACEOF
21713 /* end confdefs.h. */
21714 $ac_includes_default
21715 typedef long long ac__type_sizeof_;
21719 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21726 rm -f conftest.$ac_objext
21727 if { (ac_try="$ac_compile"
21728 case "(($ac_try" in
21729 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
21730 *) ac_try_echo
=$ac_try;;
21732 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21733 (eval "$ac_compile") 2>conftest.er1
21735 grep -v '^ *+' conftest.er1
>conftest.err
21737 cat conftest.err
>&5
21738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21739 (exit $ac_status); } && {
21740 test -z "$ac_c_werror_flag" ||
21741 test ! -s conftest.err
21742 } && test -s conftest.
$ac_objext; then
21743 ac_hi
=$ac_mid; break
21745 echo "$as_me: failed program was:" >&5
21746 sed 's/^/| /' conftest.
$ac_ext >&5
21748 ac_lo
=`expr $ac_mid + 1`
21749 if test $ac_lo -le $ac_mid; then
21753 ac_mid
=`expr 2 '*' $ac_mid + 1`
21756 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21759 echo "$as_me: failed program was:" >&5
21760 sed 's/^/| /' conftest.
$ac_ext >&5
21762 cat >conftest.
$ac_ext <<_ACEOF
21765 cat confdefs.h
>>conftest.
$ac_ext
21766 cat >>conftest.
$ac_ext <<_ACEOF
21767 /* end confdefs.h. */
21768 $ac_includes_default
21769 typedef long long ac__type_sizeof_;
21773 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
21780 rm -f conftest.
$ac_objext
21781 if { (ac_try
="$ac_compile"
21782 case "(($ac_try" in
21783 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
21784 *) ac_try_echo=$ac_try;;
21786 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21787 (eval "$ac_compile") 2>conftest.er1
21789 grep -v '^ *+' conftest.er1 >conftest.err
21791 cat conftest.err >&5
21792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21793 (exit $ac_status); } && {
21794 test -z "$ac_c_werror_flag" ||
21795 test ! -s conftest.err
21796 } && test -s conftest.$ac_objext; then
21799 cat >conftest.$ac_ext <<_ACEOF
21802 cat confdefs.h >>conftest.$ac_ext
21803 cat >>conftest.$ac_ext <<_ACEOF
21804 /* end confdefs.h. */
21805 $ac_includes_default
21806 typedef long long ac__type_sizeof_;
21810 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
21817 rm -f conftest.$ac_objext
21818 if { (ac_try="$ac_compile"
21819 case "(($ac_try" in
21820 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
21821 *) ac_try_echo
=$ac_try;;
21823 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21824 (eval "$ac_compile") 2>conftest.er1
21826 grep -v '^ *+' conftest.er1
>conftest.err
21828 cat conftest.err
>&5
21829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21830 (exit $ac_status); } && {
21831 test -z "$ac_c_werror_flag" ||
21832 test ! -s conftest.err
21833 } && test -s conftest.
$ac_objext; then
21834 ac_lo
=$ac_mid; break
21836 echo "$as_me: failed program was:" >&5
21837 sed 's/^/| /' conftest.
$ac_ext >&5
21839 ac_hi
=`expr '(' $ac_mid ')' - 1`
21840 if test $ac_mid -le $ac_hi; then
21844 ac_mid
=`expr 2 '*' $ac_mid`
21847 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21850 echo "$as_me: failed program was:" >&5
21851 sed 's/^/| /' conftest.
$ac_ext >&5
21856 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21859 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21860 # Binary search between lo and hi bounds.
21861 while test "x$ac_lo" != "x$ac_hi"; do
21862 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21863 cat >conftest.
$ac_ext <<_ACEOF
21866 cat confdefs.h
>>conftest.
$ac_ext
21867 cat >>conftest.
$ac_ext <<_ACEOF
21868 /* end confdefs.h. */
21869 $ac_includes_default
21870 typedef long long ac__type_sizeof_;
21874 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21881 rm -f conftest.
$ac_objext
21882 if { (ac_try
="$ac_compile"
21883 case "(($ac_try" in
21884 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
21885 *) ac_try_echo=$ac_try;;
21887 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21888 (eval "$ac_compile") 2>conftest.er1
21890 grep -v '^ *+' conftest.er1 >conftest.err
21892 cat conftest.err >&5
21893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21894 (exit $ac_status); } && {
21895 test -z "$ac_c_werror_flag" ||
21896 test ! -s conftest.err
21897 } && test -s conftest.$ac_objext; then
21900 echo "$as_me: failed program was:" >&5
21901 sed 's/^/| /' conftest.$ac_ext >&5
21903 ac_lo=`expr '(' $ac_mid ')' + 1`
21906 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21909 ?*) ac_cv_sizeof_long_long=$ac_lo;;
21910 '') if test "$ac_cv_type_long_long" = yes; then
21911 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
21912 See \`config.log
' for more details." >&5
21913 echo "$as_me: error: cannot compute sizeof (long long)
21914 See \`config.log' for more details.
" >&2;}
21915 { (exit 77); exit 77; }; }
21917 ac_cv_sizeof_long_long=0
21921 cat >conftest.$ac_ext <<_ACEOF
21924 cat confdefs.h >>conftest.$ac_ext
21925 cat >>conftest.$ac_ext <<_ACEOF
21926 /* end confdefs.h. */
21927 $ac_includes_default
21928 typedef long long ac__type_sizeof_;
21929 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
21930 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
21932 #include <stdlib.h>
21937 FILE *f = fopen ("conftest.val
", "w
");
21940 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
21942 long int i = longval ();
21943 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21945 fprintf (f, "%ld
\n", i);
21949 unsigned long int i = ulongval ();
21950 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21952 fprintf (f, "%lu
\n", i);
21954 return ferror (f) || fclose (f) != 0;
21960 rm -f conftest$ac_exeext
21961 if { (ac_try="$ac_link"
21962 case "(($ac_try" in
21963 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21964 *) ac_try_echo=$ac_try;;
21966 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21967 (eval "$ac_link") 2>&5
21969 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21970 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21971 { (case "(($ac_try" in
21972 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21973 *) ac_try_echo=$ac_try;;
21975 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21976 (eval "$ac_try") 2>&5
21978 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21979 (exit $ac_status); }; }; then
21980 ac_cv_sizeof_long_long=`cat conftest.val`
21982 echo "$as_me: program exited with status
$ac_status" >&5
21983 echo "$as_me: failed program was
:" >&5
21984 sed 's/^/| /' conftest.$ac_ext >&5
21986 ( exit $ac_status )
21987 if test "$ac_cv_type_long_long" = yes; then
21988 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(long long
)
21989 See \
`config.log' for more details." >&5
21990 echo "$as_me: error: cannot compute sizeof (long long)
21991 See \`config.log
' for more details." >&2;}
21992 { (exit 77); exit 77; }; }
21994 ac_cv_sizeof_long_long=0
21997 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22001 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
22002 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
22006 cat >>confdefs.h <<_ACEOF
22007 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
22011 if test "$ac_cv_sizeof_long_long" != 0; then
22012 CPPFLAGS="-D_INCLUDE_LONGLONG $CPPFLAGS"
22016 { echo "$as_me:$LINENO: checking for long long" >&5
22017 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
22018 if test "${ac_cv_type_long_long+set}" = set; then
22019 echo $ECHO_N "(cached) $ECHO_C" >&6
22021 cat >conftest.$ac_ext <<_ACEOF
22024 cat confdefs.h >>conftest.$ac_ext
22025 cat >>conftest.$ac_ext <<_ACEOF
22026 /* end confdefs.h. */
22027 $ac_includes_default
22028 typedef long long ac__type_new_;
22032 if ((ac__type_new_ *) 0)
22034 if (sizeof (ac__type_new_))
22040 rm -f conftest.$ac_objext
22041 if { (ac_try="$ac_compile"
22042 case "(($ac_try" in
22043 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22044 *) ac_try_echo=$ac_try;;
22046 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22047 (eval "$ac_compile") 2>conftest.er1
22049 grep -v '^
*+' conftest.er1 >conftest.err
22051 cat conftest.err >&5
22052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22053 (exit $ac_status); } && {
22054 test -z "$ac_c_werror_flag" ||
22055 test ! -s conftest.err
22056 } && test -s conftest.$ac_objext; then
22057 ac_cv_type_long_long=yes
22059 echo "$as_me: failed program was:" >&5
22060 sed 's
/^
/| /' conftest.$ac_ext >&5
22062 ac_cv_type_long_long=no
22065 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22067 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
22068 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
22070 # The cast to long int works around a bug in the HP C Compiler
22071 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
22072 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
22073 # This bug is HP SR number 8606223364.
22074 { echo "$as_me:$LINENO: checking size of long long" >&5
22075 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
22076 if test "${ac_cv_sizeof_long_long+set}" = set; then
22077 echo $ECHO_N "(cached) $ECHO_C" >&6
22079 if test "$cross_compiling" = yes; then
22080 # Depending upon the size, compute the lo and hi bounds.
22081 cat >conftest.
$ac_ext <<_ACEOF
22084 cat confdefs.h
>>conftest.
$ac_ext
22085 cat >>conftest.
$ac_ext <<_ACEOF
22086 /* end confdefs.h. */
22087 $ac_includes_default
22088 typedef long long ac__type_sizeof_;
22092 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
22099 rm -f conftest.
$ac_objext
22100 if { (ac_try
="$ac_compile"
22101 case "(($ac_try" in
22102 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
22103 *) ac_try_echo=$ac_try;;
22105 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22106 (eval "$ac_compile") 2>conftest.er1
22108 grep -v '^ *+' conftest.er1 >conftest.err
22110 cat conftest.err >&5
22111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22112 (exit $ac_status); } && {
22113 test -z "$ac_c_werror_flag" ||
22114 test ! -s conftest.err
22115 } && test -s conftest.$ac_objext; then
22118 cat >conftest.$ac_ext <<_ACEOF
22121 cat confdefs.h >>conftest.$ac_ext
22122 cat >>conftest.$ac_ext <<_ACEOF
22123 /* end confdefs.h. */
22124 $ac_includes_default
22125 typedef long long ac__type_sizeof_;
22129 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22136 rm -f conftest.$ac_objext
22137 if { (ac_try="$ac_compile"
22138 case "(($ac_try" in
22139 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
22140 *) ac_try_echo
=$ac_try;;
22142 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22143 (eval "$ac_compile") 2>conftest.er1
22145 grep -v '^ *+' conftest.er1
>conftest.err
22147 cat conftest.err
>&5
22148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22149 (exit $ac_status); } && {
22150 test -z "$ac_c_werror_flag" ||
22151 test ! -s conftest.err
22152 } && test -s conftest.
$ac_objext; then
22153 ac_hi
=$ac_mid; break
22155 echo "$as_me: failed program was:" >&5
22156 sed 's/^/| /' conftest.
$ac_ext >&5
22158 ac_lo
=`expr $ac_mid + 1`
22159 if test $ac_lo -le $ac_mid; then
22163 ac_mid
=`expr 2 '*' $ac_mid + 1`
22166 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22169 echo "$as_me: failed program was:" >&5
22170 sed 's/^/| /' conftest.
$ac_ext >&5
22172 cat >conftest.
$ac_ext <<_ACEOF
22175 cat confdefs.h
>>conftest.
$ac_ext
22176 cat >>conftest.
$ac_ext <<_ACEOF
22177 /* end confdefs.h. */
22178 $ac_includes_default
22179 typedef long long ac__type_sizeof_;
22183 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
22190 rm -f conftest.
$ac_objext
22191 if { (ac_try
="$ac_compile"
22192 case "(($ac_try" in
22193 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
22194 *) ac_try_echo=$ac_try;;
22196 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22197 (eval "$ac_compile") 2>conftest.er1
22199 grep -v '^ *+' conftest.er1 >conftest.err
22201 cat conftest.err >&5
22202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22203 (exit $ac_status); } && {
22204 test -z "$ac_c_werror_flag" ||
22205 test ! -s conftest.err
22206 } && test -s conftest.$ac_objext; then
22209 cat >conftest.$ac_ext <<_ACEOF
22212 cat confdefs.h >>conftest.$ac_ext
22213 cat >>conftest.$ac_ext <<_ACEOF
22214 /* end confdefs.h. */
22215 $ac_includes_default
22216 typedef long long ac__type_sizeof_;
22220 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
22227 rm -f conftest.$ac_objext
22228 if { (ac_try="$ac_compile"
22229 case "(($ac_try" in
22230 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
22231 *) ac_try_echo
=$ac_try;;
22233 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22234 (eval "$ac_compile") 2>conftest.er1
22236 grep -v '^ *+' conftest.er1
>conftest.err
22238 cat conftest.err
>&5
22239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22240 (exit $ac_status); } && {
22241 test -z "$ac_c_werror_flag" ||
22242 test ! -s conftest.err
22243 } && test -s conftest.
$ac_objext; then
22244 ac_lo
=$ac_mid; break
22246 echo "$as_me: failed program was:" >&5
22247 sed 's/^/| /' conftest.
$ac_ext >&5
22249 ac_hi
=`expr '(' $ac_mid ')' - 1`
22250 if test $ac_mid -le $ac_hi; then
22254 ac_mid
=`expr 2 '*' $ac_mid`
22257 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22260 echo "$as_me: failed program was:" >&5
22261 sed 's/^/| /' conftest.
$ac_ext >&5
22266 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22269 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22270 # Binary search between lo and hi bounds.
22271 while test "x$ac_lo" != "x$ac_hi"; do
22272 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
22273 cat >conftest.
$ac_ext <<_ACEOF
22276 cat confdefs.h
>>conftest.
$ac_ext
22277 cat >>conftest.
$ac_ext <<_ACEOF
22278 /* end confdefs.h. */
22279 $ac_includes_default
22280 typedef long long ac__type_sizeof_;
22284 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22291 rm -f conftest.
$ac_objext
22292 if { (ac_try
="$ac_compile"
22293 case "(($ac_try" in
22294 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
22295 *) ac_try_echo=$ac_try;;
22297 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22298 (eval "$ac_compile") 2>conftest.er1
22300 grep -v '^ *+' conftest.er1 >conftest.err
22302 cat conftest.err >&5
22303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22304 (exit $ac_status); } && {
22305 test -z "$ac_c_werror_flag" ||
22306 test ! -s conftest.err
22307 } && test -s conftest.$ac_objext; then
22310 echo "$as_me: failed program was:" >&5
22311 sed 's/^/| /' conftest.$ac_ext >&5
22313 ac_lo=`expr '(' $ac_mid ')' + 1`
22316 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22319 ?*) ac_cv_sizeof_long_long=$ac_lo;;
22320 '') if test "$ac_cv_type_long_long" = yes; then
22321 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
22322 See \`config.log
' for more details." >&5
22323 echo "$as_me: error: cannot compute sizeof (long long)
22324 See \`config.log' for more details.
" >&2;}
22325 { (exit 77); exit 77; }; }
22327 ac_cv_sizeof_long_long=0
22331 cat >conftest.$ac_ext <<_ACEOF
22334 cat confdefs.h >>conftest.$ac_ext
22335 cat >>conftest.$ac_ext <<_ACEOF
22336 /* end confdefs.h. */
22337 $ac_includes_default
22338 typedef long long ac__type_sizeof_;
22339 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
22340 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
22342 #include <stdlib.h>
22347 FILE *f = fopen ("conftest.val
", "w
");
22350 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
22352 long int i = longval ();
22353 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22355 fprintf (f, "%ld
\n", i);
22359 unsigned long int i = ulongval ();
22360 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22362 fprintf (f, "%lu
\n", i);
22364 return ferror (f) || fclose (f) != 0;
22370 rm -f conftest$ac_exeext
22371 if { (ac_try="$ac_link"
22372 case "(($ac_try" in
22373 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22374 *) ac_try_echo=$ac_try;;
22376 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
22377 (eval "$ac_link") 2>&5
22379 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
22380 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22381 { (case "(($ac_try" in
22382 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22383 *) ac_try_echo=$ac_try;;
22385 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
22386 (eval "$ac_try") 2>&5
22388 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
22389 (exit $ac_status); }; }; then
22390 ac_cv_sizeof_long_long=`cat conftest.val`
22392 echo "$as_me: program exited with status
$ac_status" >&5
22393 echo "$as_me: failed program was
:" >&5
22394 sed 's/^/| /' conftest.$ac_ext >&5
22396 ( exit $ac_status )
22397 if test "$ac_cv_type_long_long" = yes; then
22398 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(long long
)
22399 See \
`config.log' for more details." >&5
22400 echo "$as_me: error: cannot compute sizeof (long long)
22401 See \`config.log
' for more details." >&2;}
22402 { (exit 77); exit 77; }; }
22404 ac_cv_sizeof_long_long=0
22407 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22411 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
22412 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
22416 cat >>confdefs.h <<_ACEOF
22417 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
22423 { echo "$as_me:$LINENO: checking for wchar_t" >&5
22424 echo $ECHO_N "checking for wchar_t... $ECHO_C" >&6; }
22425 if test "${ac_cv_type_wchar_t+set}" = set; then
22426 echo $ECHO_N "(cached) $ECHO_C" >&6
22428 cat >conftest.$ac_ext <<_ACEOF
22431 cat confdefs.h >>conftest.$ac_ext
22432 cat >>conftest.$ac_ext <<_ACEOF
22433 /* end confdefs.h. */
22435 /* DJGPP's wchar_t is now a keyword
in C
++ (still not C though
) */
22436 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
22437 # error "fake wchar_t"
22439 #ifdef HAVE_WCHAR_H
22441 # include <stddef.h>
22443 # include <wchar.h>
22445 #ifdef HAVE_STDLIB_H
22446 # include <stdlib.h>
22452 typedef wchar_t ac__type_new_
;
22456 if ((ac__type_new_
*) 0)
22458 if (sizeof
(ac__type_new_
))
22464 rm -f conftest.
$ac_objext
22465 if { (ac_try
="$ac_compile"
22466 case "(($ac_try" in
22467 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
22468 *) ac_try_echo=$ac_try;;
22470 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22471 (eval "$ac_compile") 2>conftest.er1
22473 grep -v '^ *+' conftest.er1 >conftest.err
22475 cat conftest.err >&5
22476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22477 (exit $ac_status); } && {
22478 test -z "$ac_c_werror_flag" ||
22479 test ! -s conftest.err
22480 } && test -s conftest.$ac_objext; then
22481 ac_cv_type_wchar_t=yes
22483 echo "$as_me: failed program was:" >&5
22484 sed 's/^/| /' conftest.$ac_ext >&5
22486 ac_cv_type_wchar_t=no
22489 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22491 { echo "$as_me:$LINENO: result: $ac_cv_type_wchar_t" >&5
22492 echo "${ECHO_T}$ac_cv_type_wchar_t" >&6; }
22494 # The cast to long int works around a bug in the HP C Compiler
22495 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
22496 # declarations like `int a3
[[(sizeof
(unsigned char
)) >= 0]];'.
22497 # This bug is HP SR number 8606223364.
22498 { echo "$as_me:$LINENO: checking size of wchar_t" >&5
22499 echo $ECHO_N "checking size of wchar_t... $ECHO_C" >&6; }
22500 if test "${ac_cv_sizeof_wchar_t+set}" = set; then
22501 echo $ECHO_N "(cached) $ECHO_C" >&6
22503 if test "$cross_compiling" = yes; then
22504 # Depending upon the size, compute the lo and hi bounds.
22505 cat >conftest.$ac_ext <<_ACEOF
22508 cat confdefs.h >>conftest.$ac_ext
22509 cat >>conftest.$ac_ext <<_ACEOF
22510 /* end confdefs.h. */
22512 /* DJGPP's wchar_t is now a keyword
in C
++ (still not C though
) */
22513 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
22514 # error "fake wchar_t"
22516 #ifdef HAVE_WCHAR_H
22518 # include <stddef.h>
22520 # include <wchar.h>
22522 #ifdef HAVE_STDLIB_H
22523 # include <stdlib.h>
22529 typedef wchar_t ac__type_sizeof_
;
22533 static int test_array
[1 - 2 * !(((long int
) (sizeof
(ac__type_sizeof_
))) >= 0)];
22540 rm -f conftest.
$ac_objext
22541 if { (ac_try
="$ac_compile"
22542 case "(($ac_try" in
22543 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
22544 *) ac_try_echo=$ac_try;;
22546 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22547 (eval "$ac_compile") 2>conftest.er1
22549 grep -v '^ *+' conftest.er1 >conftest.err
22551 cat conftest.err >&5
22552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22553 (exit $ac_status); } && {
22554 test -z "$ac_c_werror_flag" ||
22555 test ! -s conftest.err
22556 } && test -s conftest.$ac_objext; then
22559 cat >conftest.$ac_ext <<_ACEOF
22562 cat confdefs.h >>conftest.$ac_ext
22563 cat >>conftest.$ac_ext <<_ACEOF
22564 /* end confdefs.h. */
22566 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
22567 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
22568 # error "fake wchar_t"
22570 #ifdef HAVE_WCHAR_H
22572 # include <stddef.h>
22574 # include <wchar.h>
22576 #ifdef HAVE_STDLIB_H
22577 # include <stdlib.h>
22583 typedef wchar_t ac__type_sizeof_;
22587 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22594 rm -f conftest.$ac_objext
22595 if { (ac_try="$ac_compile"
22596 case "(($ac_try" in
22597 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
22598 *) ac_try_echo
=$ac_try;;
22600 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22601 (eval "$ac_compile") 2>conftest.er1
22603 grep -v '^ *+' conftest.er1
>conftest.err
22605 cat conftest.err
>&5
22606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22607 (exit $ac_status); } && {
22608 test -z "$ac_c_werror_flag" ||
22609 test ! -s conftest.err
22610 } && test -s conftest.
$ac_objext; then
22611 ac_hi
=$ac_mid; break
22613 echo "$as_me: failed program was:" >&5
22614 sed 's/^/| /' conftest.
$ac_ext >&5
22616 ac_lo
=`expr $ac_mid + 1`
22617 if test $ac_lo -le $ac_mid; then
22621 ac_mid
=`expr 2 '*' $ac_mid + 1`
22624 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22627 echo "$as_me: failed program was:" >&5
22628 sed 's/^/| /' conftest.
$ac_ext >&5
22630 cat >conftest.
$ac_ext <<_ACEOF
22633 cat confdefs.h
>>conftest.
$ac_ext
22634 cat >>conftest.
$ac_ext <<_ACEOF
22635 /* end confdefs.h. */
22637 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
22638 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
22639 # error "fake wchar_t"
22641 #ifdef HAVE_WCHAR_H
22643 # include <stddef.h>
22645 # include <wchar.h>
22647 #ifdef HAVE_STDLIB_H
22648 # include <stdlib.h>
22654 typedef wchar_t ac__type_sizeof_;
22658 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
22665 rm -f conftest.
$ac_objext
22666 if { (ac_try
="$ac_compile"
22667 case "(($ac_try" in
22668 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
22669 *) ac_try_echo=$ac_try;;
22671 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22672 (eval "$ac_compile") 2>conftest.er1
22674 grep -v '^ *+' conftest.er1 >conftest.err
22676 cat conftest.err >&5
22677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22678 (exit $ac_status); } && {
22679 test -z "$ac_c_werror_flag" ||
22680 test ! -s conftest.err
22681 } && test -s conftest.$ac_objext; then
22684 cat >conftest.$ac_ext <<_ACEOF
22687 cat confdefs.h >>conftest.$ac_ext
22688 cat >>conftest.$ac_ext <<_ACEOF
22689 /* end confdefs.h. */
22691 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
22692 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
22693 # error "fake wchar_t"
22695 #ifdef HAVE_WCHAR_H
22697 # include <stddef.h>
22699 # include <wchar.h>
22701 #ifdef HAVE_STDLIB_H
22702 # include <stdlib.h>
22708 typedef wchar_t ac__type_sizeof_;
22712 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
22719 rm -f conftest.$ac_objext
22720 if { (ac_try="$ac_compile"
22721 case "(($ac_try" in
22722 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
22723 *) ac_try_echo
=$ac_try;;
22725 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22726 (eval "$ac_compile") 2>conftest.er1
22728 grep -v '^ *+' conftest.er1
>conftest.err
22730 cat conftest.err
>&5
22731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22732 (exit $ac_status); } && {
22733 test -z "$ac_c_werror_flag" ||
22734 test ! -s conftest.err
22735 } && test -s conftest.
$ac_objext; then
22736 ac_lo
=$ac_mid; break
22738 echo "$as_me: failed program was:" >&5
22739 sed 's/^/| /' conftest.
$ac_ext >&5
22741 ac_hi
=`expr '(' $ac_mid ')' - 1`
22742 if test $ac_mid -le $ac_hi; then
22746 ac_mid
=`expr 2 '*' $ac_mid`
22749 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22752 echo "$as_me: failed program was:" >&5
22753 sed 's/^/| /' conftest.
$ac_ext >&5
22758 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22761 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22762 # Binary search between lo and hi bounds.
22763 while test "x$ac_lo" != "x$ac_hi"; do
22764 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
22765 cat >conftest.
$ac_ext <<_ACEOF
22768 cat confdefs.h
>>conftest.
$ac_ext
22769 cat >>conftest.
$ac_ext <<_ACEOF
22770 /* end confdefs.h. */
22772 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
22773 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
22774 # error "fake wchar_t"
22776 #ifdef HAVE_WCHAR_H
22778 # include <stddef.h>
22780 # include <wchar.h>
22782 #ifdef HAVE_STDLIB_H
22783 # include <stdlib.h>
22789 typedef wchar_t ac__type_sizeof_;
22793 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22800 rm -f conftest.
$ac_objext
22801 if { (ac_try
="$ac_compile"
22802 case "(($ac_try" in
22803 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
22804 *) ac_try_echo=$ac_try;;
22806 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22807 (eval "$ac_compile") 2>conftest.er1
22809 grep -v '^ *+' conftest.er1 >conftest.err
22811 cat conftest.err >&5
22812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22813 (exit $ac_status); } && {
22814 test -z "$ac_c_werror_flag" ||
22815 test ! -s conftest.err
22816 } && test -s conftest.$ac_objext; then
22819 echo "$as_me: failed program was:" >&5
22820 sed 's/^/| /' conftest.$ac_ext >&5
22822 ac_lo=`expr '(' $ac_mid ')' + 1`
22825 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22828 ?*) ac_cv_sizeof_wchar_t=$ac_lo;;
22829 '') if test "$ac_cv_type_wchar_t" = yes; then
22830 { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t)
22831 See \`config.log
' for more details." >&5
22832 echo "$as_me: error: cannot compute sizeof (wchar_t)
22833 See \`config.log' for more details.
" >&2;}
22834 { (exit 77); exit 77; }; }
22836 ac_cv_sizeof_wchar_t=0
22840 cat >conftest.$ac_ext <<_ACEOF
22843 cat confdefs.h >>conftest.$ac_ext
22844 cat >>conftest.$ac_ext <<_ACEOF
22845 /* end confdefs.h. */
22847 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
22848 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
22849 # error "fake wchar_t
"
22851 #ifdef HAVE_WCHAR_H
22853 # include <stddef.h>
22855 # include <wchar.h>
22857 #ifdef HAVE_STDLIB_H
22858 # include <stdlib.h>
22864 typedef wchar_t ac__type_sizeof_;
22865 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
22866 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
22868 #include <stdlib.h>
22873 FILE *f = fopen ("conftest.val
", "w
");
22876 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
22878 long int i = longval ();
22879 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22881 fprintf (f, "%ld
\n", i);
22885 unsigned long int i = ulongval ();
22886 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22888 fprintf (f, "%lu
\n", i);
22890 return ferror (f) || fclose (f) != 0;
22896 rm -f conftest$ac_exeext
22897 if { (ac_try="$ac_link"
22898 case "(($ac_try" in
22899 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22900 *) ac_try_echo=$ac_try;;
22902 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
22903 (eval "$ac_link") 2>&5
22905 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
22906 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22907 { (case "(($ac_try" in
22908 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22909 *) ac_try_echo=$ac_try;;
22911 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
22912 (eval "$ac_try") 2>&5
22914 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
22915 (exit $ac_status); }; }; then
22916 ac_cv_sizeof_wchar_t=`cat conftest.val`
22918 echo "$as_me: program exited with status
$ac_status" >&5
22919 echo "$as_me: failed program was
:" >&5
22920 sed 's/^/| /' conftest.$ac_ext >&5
22922 ( exit $ac_status )
22923 if test "$ac_cv_type_wchar_t" = yes; then
22924 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(wchar_t
)
22925 See \
`config.log' for more details." >&5
22926 echo "$as_me: error: cannot compute sizeof (wchar_t)
22927 See \`config.log
' for more details." >&2;}
22928 { (exit 77); exit 77; }; }
22930 ac_cv_sizeof_wchar_t=0
22933 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22937 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_wchar_t" >&5
22938 echo "${ECHO_T}$ac_cv_sizeof_wchar_t" >&6; }
22942 cat >>confdefs.h <<_ACEOF
22943 #define SIZEOF_WCHAR_T $ac_cv_sizeof_wchar_t
22947 if test "$ac_cv_sizeof_wchar_t" != 0; then
22953 { echo "$as_me:$LINENO: checking for va_copy" >&5
22954 echo $ECHO_N "checking for va_copy... $ECHO_C" >&6; }
22955 if test "${wx_cv_func_va_copy+set}" = set; then
22956 echo $ECHO_N "(cached) $ECHO_C" >&6
22960 ac_cpp='$CXXCPP $CPPFLAGS'
22961 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
22962 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
22963 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22965 cat >conftest.$ac_ext <<_ACEOF
22967 #include <stdarg.h>
22968 void foo(char *f, ...)
22982 rm -f conftest.$ac_objext conftest$ac_exeext
22983 if { (ac_try="$ac_link"
22984 case "(($ac_try" in
22985 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22986 *) ac_try_echo=$ac_try;;
22988 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22989 (eval "$ac_link") 2>conftest.er1
22991 grep -v '^
*+' conftest.er1 >conftest.err
22993 cat conftest.err >&5
22994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22995 (exit $ac_status); } && {
22996 test -z "$ac_cxx_werror_flag" ||
22997 test ! -s conftest.err
22998 } && test -s conftest$ac_exeext &&
22999 $as_test_x conftest$ac_exeext; then
23000 wx_cv_func_va_copy=yes
23002 echo "$as_me: failed program was:" >&5
23003 sed 's
/^
/| /' conftest.$ac_ext >&5
23005 wx_cv_func_va_copy=no
23009 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
23010 conftest$ac_exeext conftest.$ac_ext
23012 ac_cpp='$CPP $CPPFLAGS'
23013 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
23014 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
23015 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23020 { echo "$as_me:$LINENO: result: $wx_cv_func_va_copy" >&5
23021 echo "${ECHO_T}$wx_cv_func_va_copy" >&6; }
23023 if test $wx_cv_func_va_copy = "yes"; then
23024 cat >>confdefs.h <<\_ACEOF
23025 #define HAVE_VA_COPY 1
23029 { echo "$as_me:$LINENO: checking if va_list can be copied by value" >&5
23030 echo $ECHO_N "checking if va_list can be copied by value... $ECHO_C" >&6; }
23031 if test "${wx_cv_type_va_list_lvalue+set}" = set; then
23032 echo $ECHO_N "(cached) $ECHO_C" >&6
23035 if test "$cross_compiling" = yes; then
23036 wx_cv_type_va_list_lvalue=yes
23039 cat >conftest.$ac_ext <<_ACEOF
23041 #include <stdarg.h>
23042 int foo(char *f, ...)
23047 if ( va_arg(ap1, int) != 17 || va_arg(ap2, int) != 17 )
23055 return foo("hi", 17);
23058 rm -f conftest$ac_exeext
23059 if { (ac_try="$ac_link"
23060 case "(($ac_try" in
23061 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23062 *) ac_try_echo=$ac_try;;
23064 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23065 (eval "$ac_link") 2>&5
23067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23068 (exit $ac_status); } && { ac_try='.
/conftest
$ac_exeext'
23069 { (case "(($ac_try" in
23070 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23071 *) ac_try_echo=$ac_try;;
23073 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23074 (eval "$ac_try") 2>&5
23076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23077 (exit $ac_status); }; }; then
23078 wx_cv_type_va_list_lvalue=yes
23080 echo "$as_me: program exited with status $ac_status" >&5
23081 echo "$as_me: failed program was:" >&5
23082 sed 's
/^
/| /' conftest.$ac_ext >&5
23084 ( exit $ac_status )
23085 wx_cv_type_va_list_lvalue=no
23087 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
23094 { echo "$as_me:$LINENO: result: $wx_cv_type_va_list_lvalue" >&5
23095 echo "${ECHO_T}$wx_cv_type_va_list_lvalue" >&6; }
23097 if test $wx_cv_type_va_list_lvalue != "yes"; then
23098 cat >>confdefs.h <<\_ACEOF
23099 #define VA_LIST_IS_ARRAY 1
23105 if test "$wxUSE_VARARG_MACROS" = "yes"; then
23107 { echo "$as_me:$LINENO: checking whether the compiler supports variadic macros" >&5
23108 echo $ECHO_N "checking whether the compiler supports variadic macros... $ECHO_C" >&6; }
23109 if test "${wx_cv_have_variadic_macros+set}" = set; then
23110 echo $ECHO_N "(cached) $ECHO_C" >&6
23114 ac_cpp='$CXXCPP $CPPFLAGS'
23115 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
23116 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
23117 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23119 cat >conftest.$ac_ext <<_ACEOF
23122 cat confdefs.h >>conftest.$ac_ext
23123 cat >>conftest.$ac_ext <<_ACEOF
23124 /* end confdefs.h. */
23127 #define test(fmt, ...) printf(fmt, __VA_ARGS__)
23133 test("%s %d %p", "test", 1, 0);
23140 rm -f conftest.$ac_objext
23141 if { (ac_try="$ac_compile"
23142 case "(($ac_try" in
23143 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23144 *) ac_try_echo=$ac_try;;
23146 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23147 (eval "$ac_compile") 2>conftest.er1
23149 grep -v '^
*+' conftest.er1 >conftest.err
23151 cat conftest.err >&5
23152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23153 (exit $ac_status); } && {
23154 test -z "$ac_cxx_werror_flag" ||
23155 test ! -s conftest.err
23156 } && test -s conftest.$ac_objext; then
23157 wx_cv_have_variadic_macros=yes
23159 echo "$as_me: failed program was:" >&5
23160 sed 's
/^
/| /' conftest.$ac_ext >&5
23162 wx_cv_have_variadic_macros=no
23166 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23168 ac_cpp='$CPP $CPPFLAGS'
23169 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
23170 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
23171 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23176 { echo "$as_me:$LINENO: result: $wx_cv_have_variadic_macros" >&5
23177 echo "${ECHO_T}$wx_cv_have_variadic_macros" >&6; }
23179 if test $wx_cv_have_variadic_macros = "yes"; then
23180 cat >>confdefs.h <<\_ACEOF
23181 #define HAVE_VARIADIC_MACROS 1
23187 # Check whether --enable-largefile was given.
23188 if test "${enable_largefile+set}" = set; then
23189 enableval=$enable_largefile;
23192 if test "$enable_largefile" != no; then
23195 { echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
23196 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6; }
23197 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
23198 echo $ECHO_N "(cached) $ECHO_C" >&6
23201 cat >conftest.$ac_ext <<_ACEOF
23204 cat confdefs.h >>conftest.$ac_ext
23205 cat >>conftest.$ac_ext <<_ACEOF
23206 /* end confdefs.h. */
23207 #define _FILE_OFFSET_BITS 64
23208 #include <sys/types.h>
23213 unsigned int field: sizeof(off_t) == 8;
23220 rm -f conftest.$ac_objext
23221 if { (ac_try="$ac_compile"
23222 case "(($ac_try" in
23223 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23224 *) ac_try_echo=$ac_try;;
23226 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23227 (eval "$ac_compile") 2>conftest.er1
23229 grep -v '^
*+' conftest.er1 >conftest.err
23231 cat conftest.err >&5
23232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23233 (exit $ac_status); } && {
23234 test -z "$ac_c_werror_flag" ||
23235 test ! -s conftest.err
23236 } && test -s conftest.$ac_objext; then
23237 ac_cv_sys_file_offset_bits=64
23239 echo "$as_me: failed program was:" >&5
23240 sed 's
/^
/| /' conftest.$ac_ext >&5
23242 ac_cv_sys_file_offset_bits=no
23245 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23249 { echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
23250 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6; }
23252 if test "$ac_cv_sys_file_offset_bits" != no; then
23254 cat >>confdefs.h <<_ACEOF
23255 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
23260 if test "x$wx_largefile" != "xyes"; then
23262 { echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
23263 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6; }
23264 if test "${ac_cv_sys_large_files+set}" = set; then
23265 echo $ECHO_N "(cached) $ECHO_C" >&6
23268 cat >conftest.$ac_ext <<_ACEOF
23271 cat confdefs.h >>conftest.$ac_ext
23272 cat >>conftest.$ac_ext <<_ACEOF
23273 /* end confdefs.h. */
23274 #define _LARGE_FILES 1
23275 #include <sys/types.h>
23280 unsigned int field: sizeof(off_t) == 8;
23287 rm -f conftest.$ac_objext
23288 if { (ac_try="$ac_compile"
23289 case "(($ac_try" in
23290 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23291 *) ac_try_echo=$ac_try;;
23293 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23294 (eval "$ac_compile") 2>conftest.er1
23296 grep -v '^
*+' conftest.er1 >conftest.err
23298 cat conftest.err >&5
23299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23300 (exit $ac_status); } && {
23301 test -z "$ac_c_werror_flag" ||
23302 test ! -s conftest.err
23303 } && test -s conftest.$ac_objext; then
23304 ac_cv_sys_large_files=1
23306 echo "$as_me: failed program was:" >&5
23307 sed 's
/^
/| /' conftest.$ac_ext >&5
23309 ac_cv_sys_large_files=no
23312 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23316 { echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
23317 echo "${ECHO_T}$ac_cv_sys_large_files" >&6; }
23319 if test "$ac_cv_sys_large_files" != no; then
23321 cat >>confdefs.h <<_ACEOF
23322 #define _LARGE_FILES $ac_cv_sys_large_files
23329 { echo "$as_me:$LINENO: checking if large file support is available" >&5
23330 echo $ECHO_N "checking if large file support is available... $ECHO_C" >&6; }
23331 if test "x$wx_largefile" = "xyes"; then
23332 cat >>confdefs.h <<\_ACEOF
23333 #define HAVE_LARGEFILE_SUPPORT 1
23337 { echo "$as_me:$LINENO: result: $wx_largefile" >&5
23338 echo "${ECHO_T}$wx_largefile" >&6; }
23342 if test "x$wx_largefile" = "xyes"; then
23343 if test "x$ac_cv_sys_file_offset_bits" = "x64"; then
23344 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES"
23346 if test "$USE_HPUX" = 1 -a "$GXX" = "yes"; then
23347 { echo "$as_me:$LINENO: checking if -D__STDC_EXT__ is required" >&5
23348 echo $ECHO_N "checking if -D__STDC_EXT__ is required... $ECHO_C" >&6; }
23349 if test "${wx_cv_STDC_EXT_required+set}" = set; then
23350 echo $ECHO_N "(cached) $ECHO_C" >&6
23354 ac_cpp='$CXXCPP $CPPFLAGS'
23355 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
23356 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
23357 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23359 cat >conftest.$ac_ext <<_ACEOF
23362 cat confdefs.h >>conftest.$ac_ext
23363 cat >>conftest.$ac_ext <<_ACEOF
23364 /* end confdefs.h. */
23370 #ifndef __STDC_EXT__
23378 rm -f conftest.$ac_objext
23379 if { (ac_try="$ac_compile"
23380 case "(($ac_try" in
23381 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23382 *) ac_try_echo=$ac_try;;
23384 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23385 (eval "$ac_compile") 2>conftest.er1
23387 grep -v '^
*+' conftest.er1 >conftest.err
23389 cat conftest.err >&5
23390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23391 (exit $ac_status); } && {
23392 test -z "$ac_cxx_werror_flag" ||
23393 test ! -s conftest.err
23394 } && test -s conftest.$ac_objext; then
23395 wx_cv_STDC_EXT_required=no
23397 echo "$as_me: failed program was:" >&5
23398 sed 's
/^
/| /' conftest.$ac_ext >&5
23400 wx_cv_STDC_EXT_required=yes
23404 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23406 ac_cpp='$CPP $CPPFLAGS'
23407 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
23408 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
23409 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23414 { echo "$as_me:$LINENO: result: $wx_cv_STDC_EXT_required" >&5
23415 echo "${ECHO_T}$wx_cv_STDC_EXT_required" >&6; }
23416 if test "x$wx_cv_STDC_EXT_required" = "xyes"; then
23417 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -D__STDC_EXT__"
23421 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_LARGE_FILES"
23423 { echo "$as_me:$LINENO: checking for _LARGEFILE_SOURCE value needed for large files" >&5
23424 echo $ECHO_N "checking for _LARGEFILE_SOURCE value needed for large files... $ECHO_C" >&6; }
23425 if test "${ac_cv_sys_largefile_source+set}" = set; then
23426 echo $ECHO_N "(cached) $ECHO_C" >&6
23429 cat >conftest.$ac_ext <<_ACEOF
23432 cat confdefs.h >>conftest.$ac_ext
23433 cat >>conftest.$ac_ext <<_ACEOF
23434 /* end confdefs.h. */
23435 #include <sys/types.h> /* for off_t */
23440 int (*fp) (FILE *, off_t, int) = fseeko;
23441 return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
23446 rm -f conftest.$ac_objext conftest$ac_exeext
23447 if { (ac_try="$ac_link"
23448 case "(($ac_try" in
23449 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23450 *) ac_try_echo=$ac_try;;
23452 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23453 (eval "$ac_link") 2>conftest.er1
23455 grep -v '^
*+' conftest.er1 >conftest.err
23457 cat conftest.err >&5
23458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23459 (exit $ac_status); } && {
23460 test -z "$ac_c_werror_flag" ||
23461 test ! -s conftest.err
23462 } && test -s conftest$ac_exeext &&
23463 $as_test_x conftest$ac_exeext; then
23464 ac_cv_sys_largefile_source=no; break
23466 echo "$as_me: failed program was:" >&5
23467 sed 's
/^
/| /' conftest.$ac_ext >&5
23472 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
23473 conftest$ac_exeext conftest.$ac_ext
23474 cat >conftest.$ac_ext <<_ACEOF
23477 cat confdefs.h >>conftest.$ac_ext
23478 cat >>conftest.$ac_ext <<_ACEOF
23479 /* end confdefs.h. */
23480 #define _LARGEFILE_SOURCE 1
23481 #include <sys/types.h> /* for off_t */
23486 int (*fp) (FILE *, off_t, int) = fseeko;
23487 return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
23492 rm -f conftest.$ac_objext conftest$ac_exeext
23493 if { (ac_try="$ac_link"
23494 case "(($ac_try" in
23495 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23496 *) ac_try_echo=$ac_try;;
23498 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23499 (eval "$ac_link") 2>conftest.er1
23501 grep -v '^
*+' conftest.er1 >conftest.err
23503 cat conftest.err >&5
23504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23505 (exit $ac_status); } && {
23506 test -z "$ac_c_werror_flag" ||
23507 test ! -s conftest.err
23508 } && test -s conftest$ac_exeext &&
23509 $as_test_x conftest$ac_exeext; then
23510 ac_cv_sys_largefile_source=1; break
23512 echo "$as_me: failed program was:" >&5
23513 sed 's
/^
/| /' conftest.$ac_ext >&5
23518 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
23519 conftest$ac_exeext conftest.$ac_ext
23520 ac_cv_sys_largefile_source=unknown
23524 { echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_source" >&5
23525 echo "${ECHO_T}$ac_cv_sys_largefile_source" >&6; }
23526 case $ac_cv_sys_largefile_source in #(
23529 cat >>confdefs.h <<_ACEOF
23530 #define _LARGEFILE_SOURCE $ac_cv_sys_largefile_source
23536 # We used to try defining _XOPEN_SOURCE=500 too, to work around a bug
23537 # in glibc 2.1.3, but that breaks too many other things.
23538 # If you want fseeko and ftello with glibc, upgrade to a fixed glibc.
23539 if test $ac_cv_sys_largefile_source != unknown; then
23541 cat >>confdefs.h <<\_ACEOF
23542 #define HAVE_FSEEKO 1
23547 if test "$ac_cv_sys_largefile_source" != no; then
23548 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_LARGEFILE_SOURCE=$ac_cv_sys_largefile_source"
23552 { echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
23553 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6; }
23554 if test "${ac_cv_c_bigendian+set}" = set; then
23555 echo $ECHO_N "(cached) $ECHO_C" >&6
23557 ac_cv_c_bigendian=unknown
23558 # See if sys/param.h defines the BYTE_ORDER macro.
23559 cat >conftest.$ac_ext <<_ACEOF
23562 cat confdefs.h >>conftest.$ac_ext
23563 cat >>conftest.$ac_ext <<_ACEOF
23564 /* end confdefs.h. */
23565 #include <sys/types.h>
23566 #include <sys/param.h>
23571 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
23572 bogus endian macros
23578 rm -f conftest.$ac_objext
23579 if { (ac_try="$ac_compile"
23580 case "(($ac_try" in
23581 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23582 *) ac_try_echo=$ac_try;;
23584 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23585 (eval "$ac_compile") 2>conftest.er1
23587 grep -v '^
*+' conftest.er1 >conftest.err
23589 cat conftest.err >&5
23590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23591 (exit $ac_status); } && {
23592 test -z "$ac_c_werror_flag" ||
23593 test ! -s conftest.err
23594 } && test -s conftest.$ac_objext; then
23595 # It does; now see whether it defined to BIG_ENDIAN or not.
23596 cat >conftest.$ac_ext <<_ACEOF
23599 cat confdefs.h >>conftest.$ac_ext
23600 cat >>conftest.$ac_ext <<_ACEOF
23601 /* end confdefs.h. */
23602 #include <sys/types.h>
23603 #include <sys/param.h>
23608 #if BYTE_ORDER != BIG_ENDIAN
23615 rm -f conftest.$ac_objext
23616 if { (ac_try="$ac_compile"
23617 case "(($ac_try" in
23618 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23619 *) ac_try_echo=$ac_try;;
23621 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23622 (eval "$ac_compile") 2>conftest.er1
23624 grep -v '^
*+' conftest.er1 >conftest.err
23626 cat conftest.err >&5
23627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23628 (exit $ac_status); } && {
23629 test -z "$ac_c_werror_flag" ||
23630 test ! -s conftest.err
23631 } && test -s conftest.$ac_objext; then
23632 ac_cv_c_bigendian=yes
23634 echo "$as_me: failed program was:" >&5
23635 sed 's
/^
/| /' conftest.$ac_ext >&5
23637 ac_cv_c_bigendian=no
23640 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23642 echo "$as_me: failed program was:" >&5
23643 sed 's
/^
/| /' conftest.$ac_ext >&5
23648 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23649 if test $ac_cv_c_bigendian = unknown; then
23650 if test "$cross_compiling" = yes; then
23651 ac_cv_c_bigendian=unknown
23653 cat >conftest.$ac_ext <<_ACEOF
23656 cat confdefs.h >>conftest.$ac_ext
23657 cat >>conftest.$ac_ext <<_ACEOF
23658 /* end confdefs.h. */
23660 /* Are we little or big endian? From Harbison&Steele. */
23664 char c[sizeof (long)];
23667 exit (u.c[sizeof (long) - 1] == 1);
23670 rm -f conftest$ac_exeext
23671 if { (ac_try="$ac_link"
23672 case "(($ac_try" in
23673 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23674 *) ac_try_echo=$ac_try;;
23676 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23677 (eval "$ac_link") 2>&5
23679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23680 (exit $ac_status); } && { ac_try='.
/conftest
$ac_exeext'
23681 { (case "(($ac_try" in
23682 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23683 *) ac_try_echo=$ac_try;;
23685 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23686 (eval "$ac_try") 2>&5
23688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23689 (exit $ac_status); }; }; then
23690 ac_cv_c_bigendian=no
23692 echo "$as_me: program exited with status $ac_status" >&5
23693 echo "$as_me: failed program was:" >&5
23694 sed 's
/^
/| /' conftest.$ac_ext >&5
23696 ( exit $ac_status )
23697 ac_cv_c_bigendian=yes
23699 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
23705 { echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
23706 echo "${ECHO_T}$ac_cv_c_bigendian" >&6; }
23707 if test $ac_cv_c_bigendian = unknown; then
23708 { 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
23709 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;}
23711 if test $ac_cv_c_bigendian = yes; then
23712 cat >>confdefs.h <<\_ACEOF
23713 #define WORDS_BIGENDIAN 1
23722 ac_cpp='$CXXCPP $CPPFLAGS'
23723 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
23724 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
23725 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23729 for ac_header in iostream
23731 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
23732 { echo "$as_me:$LINENO: checking for $ac_header" >&5
23733 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
23734 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
23735 echo $ECHO_N "(cached) $ECHO_C" >&6
23737 cat >conftest.$ac_ext <<_ACEOF
23740 cat confdefs.h >>conftest.$ac_ext
23741 cat >>conftest.$ac_ext <<_ACEOF
23742 /* end confdefs.h. */
23745 #include <$ac_header>
23747 rm -f conftest.$ac_objext
23748 if { (ac_try="$ac_compile"
23749 case "(($ac_try" in
23750 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23751 *) ac_try_echo=$ac_try;;
23753 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23754 (eval "$ac_compile") 2>conftest.er1
23756 grep -v '^
*+' conftest.er1 >conftest.err
23758 cat conftest.err >&5
23759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23760 (exit $ac_status); } && {
23761 test -z "$ac_cxx_werror_flag" ||
23762 test ! -s conftest.err
23763 } && test -s conftest.$ac_objext; then
23764 eval "$as_ac_Header=yes"
23766 echo "$as_me: failed program was:" >&5
23767 sed 's
/^
/| /' conftest.$ac_ext >&5
23769 eval "$as_ac_Header=no"
23772 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23774 ac_res=`eval echo '${'$as_ac_Header'}'`
23775 { echo "$as_me:$LINENO: result: $ac_res" >&5
23776 echo "${ECHO_T}$ac_res" >&6; }
23777 if test `eval echo '${'$as_ac_Header'}'` = yes; then
23778 cat >>confdefs.h <<_ACEOF
23779 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
23787 if test "$ac_cv_header_iostream" = "yes" ; then
23790 cat >>confdefs.h <<\_ACEOF
23791 #define wxUSE_IOSTREAMH 1
23797 ac_cpp='$CPP $CPPFLAGS'
23798 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
23799 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
23800 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23805 { echo "$as_me:$LINENO: checking if C++ compiler supports bool" >&5
23806 echo $ECHO_N "checking if C++ compiler supports bool... $ECHO_C" >&6; }
23807 if test "${wx_cv_cpp_bool+set}" = set; then
23808 echo $ECHO_N "(cached) $ECHO_C" >&6
23813 ac_cpp='$CXXCPP $CPPFLAGS'
23814 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
23815 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
23816 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23819 cat >conftest.$ac_ext <<_ACEOF
23822 cat confdefs.h >>conftest.$ac_ext
23823 cat >>conftest.$ac_ext <<_ACEOF
23824 /* end confdefs.h. */
23839 rm -f conftest.$ac_objext
23840 if { (ac_try="$ac_compile"
23841 case "(($ac_try" in
23842 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23843 *) ac_try_echo=$ac_try;;
23845 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23846 (eval "$ac_compile") 2>conftest.er1
23848 grep -v '^
*+' conftest.er1 >conftest.err
23850 cat conftest.err >&5
23851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23852 (exit $ac_status); } && {
23853 test -z "$ac_cxx_werror_flag" ||
23854 test ! -s conftest.err
23855 } && test -s conftest.$ac_objext; then
23860 echo "$as_me: failed program was:" >&5
23861 sed 's
/^
/| /' conftest.$ac_ext >&5
23869 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23872 ac_cpp='$CPP $CPPFLAGS'
23873 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
23874 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
23875 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23879 { echo "$as_me:$LINENO: result: $wx_cv_cpp_bool" >&5
23880 echo "${ECHO_T}$wx_cv_cpp_bool" >&6; }
23882 if test "$wx_cv_cpp_bool" = "yes"; then
23883 cat >>confdefs.h <<\_ACEOF
23884 #define HAVE_BOOL 1
23891 { echo "$as_me:$LINENO: checking if C++ compiler supports the explicit keyword" >&5
23892 echo $ECHO_N "checking if C++ compiler supports the explicit keyword... $ECHO_C" >&6; }
23893 if test "${wx_cv_explicit+set}" = set; then
23894 echo $ECHO_N "(cached) $ECHO_C" >&6
23899 ac_cpp='$CXXCPP $CPPFLAGS'
23900 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
23901 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
23902 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23905 cat >conftest.$ac_ext <<_ACEOF
23908 cat confdefs.h >>conftest.$ac_ext
23909 cat >>conftest.$ac_ext <<_ACEOF
23910 /* end confdefs.h. */
23912 class Foo { public: explicit Foo(int) {} };
23924 rm -f conftest.$ac_objext
23925 if { (ac_try="$ac_compile"
23926 case "(($ac_try" in
23927 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23928 *) ac_try_echo=$ac_try;;
23930 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23931 (eval "$ac_compile") 2>conftest.er1
23933 grep -v '^
*+' conftest.er1 >conftest.err
23935 cat conftest.err >&5
23936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23937 (exit $ac_status); } && {
23938 test -z "$ac_cxx_werror_flag" ||
23939 test ! -s conftest.err
23940 } && test -s conftest.$ac_objext; then
23942 cat >conftest.$ac_ext <<_ACEOF
23945 cat confdefs.h >>conftest.$ac_ext
23946 cat >>conftest.$ac_ext <<_ACEOF
23947 /* end confdefs.h. */
23949 class Foo { public: explicit Foo(int) {} };
23950 static void TakeFoo(const Foo& foo) { }
23963 rm -f conftest.$ac_objext
23964 if { (ac_try="$ac_compile"
23965 case "(($ac_try" in
23966 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23967 *) ac_try_echo=$ac_try;;
23969 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23970 (eval "$ac_compile") 2>conftest.er1
23972 grep -v '^
*+' conftest.er1 >conftest.err
23974 cat conftest.err >&5
23975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23976 (exit $ac_status); } && {
23977 test -z "$ac_cxx_werror_flag" ||
23978 test ! -s conftest.err
23979 } && test -s conftest.$ac_objext; then
23982 echo "$as_me: failed program was:" >&5
23983 sed 's
/^
/| /' conftest.$ac_ext >&5
23989 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23992 echo "$as_me: failed program was:" >&5
23993 sed 's
/^
/| /' conftest.$ac_ext >&5
23999 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24002 ac_cpp='$CPP $CPPFLAGS'
24003 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
24004 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
24005 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24009 { echo "$as_me:$LINENO: result: $wx_cv_explicit" >&5
24010 echo "${ECHO_T}$wx_cv_explicit" >&6; }
24012 if test "$wx_cv_explicit" = "yes"; then
24013 cat >>confdefs.h <<\_ACEOF
24014 #define HAVE_EXPLICIT 1
24020 { echo "$as_me:$LINENO: checking whether the compiler supports const_cast<>" >&5
24021 echo $ECHO_N "checking whether the compiler supports const_cast<>... $ECHO_C" >&6; }
24022 if test "${ac_cv_cxx_const_cast+set}" = set; then
24023 echo $ECHO_N "(cached) $ECHO_C" >&6
24027 ac_cpp='$CXXCPP $CPPFLAGS'
24028 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
24029 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
24030 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24032 cat >conftest.$ac_ext <<_ACEOF
24035 cat confdefs.h >>conftest.$ac_ext
24036 cat >>conftest.$ac_ext <<_ACEOF
24037 /* end confdefs.h. */
24042 int x = 0;const int& y = x;int& z = const_cast<int&>(y);return z;
24047 rm -f conftest.$ac_objext
24048 if { (ac_try="$ac_compile"
24049 case "(($ac_try" in
24050 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24051 *) ac_try_echo=$ac_try;;
24053 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24054 (eval "$ac_compile") 2>conftest.er1
24056 grep -v '^
*+' conftest.er1 >conftest.err
24058 cat conftest.err >&5
24059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24060 (exit $ac_status); } && {
24061 test -z "$ac_cxx_werror_flag" ||
24062 test ! -s conftest.err
24063 } && test -s conftest.$ac_objext; then
24064 ac_cv_cxx_const_cast=yes
24066 echo "$as_me: failed program was:" >&5
24067 sed 's
/^
/| /' conftest.$ac_ext >&5
24069 ac_cv_cxx_const_cast=no
24072 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24074 ac_cpp='$CPP $CPPFLAGS'
24075 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
24076 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
24077 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24081 { echo "$as_me:$LINENO: result: $ac_cv_cxx_const_cast" >&5
24082 echo "${ECHO_T}$ac_cv_cxx_const_cast" >&6; }
24083 if test "$ac_cv_cxx_const_cast" = yes; then
24085 cat >>confdefs.h <<\_ACEOF
24086 #define HAVE_CONST_CAST
24091 { echo "$as_me:$LINENO: checking whether the compiler supports reinterpret_cast<>" >&5
24092 echo $ECHO_N "checking whether the compiler supports reinterpret_cast<>... $ECHO_C" >&6; }
24093 if test "${ac_cv_cxx_reinterpret_cast+set}" = set; then
24094 echo $ECHO_N "(cached) $ECHO_C" >&6
24098 ac_cpp='$CXXCPP $CPPFLAGS'
24099 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
24100 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
24101 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24103 cat >conftest.$ac_ext <<_ACEOF
24106 cat confdefs.h >>conftest.$ac_ext
24107 cat >>conftest.$ac_ext <<_ACEOF
24108 /* end confdefs.h. */
24109 #include <typeinfo>
24110 class Base { public : Base () {} virtual void f () = 0;};
24111 class Derived : public Base { public : Derived () {} virtual void f () {} };
24112 class Unrelated { public : Unrelated () {} };
24113 int g (Unrelated&) { return 0; }
24118 Derived d;Base& b=d;Unrelated& e=reinterpret_cast<Unrelated&>(b);return g(e);
24123 rm -f conftest.$ac_objext
24124 if { (ac_try="$ac_compile"
24125 case "(($ac_try" in
24126 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24127 *) ac_try_echo=$ac_try;;
24129 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24130 (eval "$ac_compile") 2>conftest.er1
24132 grep -v '^
*+' conftest.er1 >conftest.err
24134 cat conftest.err >&5
24135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24136 (exit $ac_status); } && {
24137 test -z "$ac_cxx_werror_flag" ||
24138 test ! -s conftest.err
24139 } && test -s conftest.$ac_objext; then
24140 ac_cv_cxx_reinterpret_cast=yes
24142 echo "$as_me: failed program was:" >&5
24143 sed 's
/^
/| /' conftest.$ac_ext >&5
24145 ac_cv_cxx_reinterpret_cast=no
24148 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24150 ac_cpp='$CPP $CPPFLAGS'
24151 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
24152 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
24153 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24157 { echo "$as_me:$LINENO: result: $ac_cv_cxx_reinterpret_cast" >&5
24158 echo "${ECHO_T}$ac_cv_cxx_reinterpret_cast" >&6; }
24159 if test "$ac_cv_cxx_reinterpret_cast" = yes; then
24161 cat >>confdefs.h <<\_ACEOF
24162 #define HAVE_REINTERPRET_CAST
24167 { echo "$as_me:$LINENO: checking whether the compiler supports static_cast<>" >&5
24168 echo $ECHO_N "checking whether the compiler supports static_cast<>... $ECHO_C" >&6; }
24169 if test "${ac_cv_cxx_static_cast+set}" = set; then
24170 echo $ECHO_N "(cached) $ECHO_C" >&6
24174 ac_cpp='$CXXCPP $CPPFLAGS'
24175 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
24176 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
24177 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24179 cat >conftest.$ac_ext <<_ACEOF
24182 cat confdefs.h >>conftest.$ac_ext
24183 cat >>conftest.$ac_ext <<_ACEOF
24184 /* end confdefs.h. */
24185 #include <typeinfo>
24186 class Base { public : Base () {} virtual void f () = 0; };
24187 class Derived : public Base { public : Derived () {} virtual void f () {} };
24188 int g (Derived&) { return 0; }
24193 Derived d; Base& b = d; Derived& s = static_cast<Derived&> (b); return g (s);
24198 rm -f conftest.$ac_objext
24199 if { (ac_try="$ac_compile"
24200 case "(($ac_try" in
24201 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24202 *) ac_try_echo=$ac_try;;
24204 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24205 (eval "$ac_compile") 2>conftest.er1
24207 grep -v '^
*+' conftest.er1 >conftest.err
24209 cat conftest.err >&5
24210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24211 (exit $ac_status); } && {
24212 test -z "$ac_cxx_werror_flag" ||
24213 test ! -s conftest.err
24214 } && test -s conftest.$ac_objext; then
24215 ac_cv_cxx_static_cast=yes
24217 echo "$as_me: failed program was:" >&5
24218 sed 's
/^
/| /' conftest.$ac_ext >&5
24220 ac_cv_cxx_static_cast=no
24223 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24225 ac_cpp='$CPP $CPPFLAGS'
24226 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
24227 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
24228 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24232 { echo "$as_me:$LINENO: result: $ac_cv_cxx_static_cast" >&5
24233 echo "${ECHO_T}$ac_cv_cxx_static_cast" >&6; }
24234 if test "$ac_cv_cxx_static_cast" = yes; then
24236 cat >>confdefs.h <<\_ACEOF
24237 #define HAVE_STATIC_CAST
24243 if test "x$SUNCXX" = xyes; then
24244 CXXFLAGS="-features=tmplife $CXXFLAGS"
24247 if test "x$SUNCC" = xyes; then
24248 CFLAGS="-erroff=E_NO_EXPLICIT_TYPE_GIVEN $CFLAGS"
24251 if test "x$SGICC" = "xyes"; then
24252 CFLAGS="-woff 3970 $CFLAGS"
24254 if test "x$SGICXX" = "xyes"; then
24255 CXXFLAGS="-woff 3970 $CXXFLAGS"
24258 if test "x$HPCC" = "xyes"; then
24259 CFLAGS="+W 2011,2450 $CFLAGS"
24261 if test "x$HPCXX" = "xyes"; then
24262 CXXFLAGS="+W 2340 $CXXFLAGS"
24265 if test "x$COMPAQCXX" = "xyes"; then
24266 CXXFLAGS="-w0 -msg_disable basclsnondto,unrimpret,intconlosbit"
24270 ac_cpp='$CXXCPP $CPPFLAGS'
24271 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
24272 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
24273 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24276 if test "$wxUSE_STD_STRING" = "yes" -o "$wxUSE_STL" = "yes"; then
24277 if test "$wxUSE_UNICODE" = "yes"; then
24278 std_string="std::wstring"
24279 char_type="wchar_t"
24281 std_string="std::string"
24285 { echo "$as_me:$LINENO: checking for $std_string in <string>" >&5
24286 echo $ECHO_N "checking for $std_string in <string>... $ECHO_C" >&6; }
24287 if test "${wx_cv_class_stdstring+set}" = set; then
24288 echo $ECHO_N "(cached) $ECHO_C" >&6
24291 cat >conftest.$ac_ext <<_ACEOF
24294 cat confdefs.h >>conftest.$ac_ext
24295 cat >>conftest.$ac_ext <<_ACEOF
24296 /* end confdefs.h. */
24306 rm -f conftest.$ac_objext
24307 if { (ac_try="$ac_compile"
24308 case "(($ac_try" in
24309 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24310 *) ac_try_echo=$ac_try;;
24312 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24313 (eval "$ac_compile") 2>conftest.er1
24315 grep -v '^
*+' conftest.er1 >conftest.err
24317 cat conftest.err >&5
24318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24319 (exit $ac_status); } && {
24320 test -z "$ac_cxx_werror_flag" ||
24321 test ! -s conftest.err
24322 } && test -s conftest.$ac_objext; then
24323 wx_cv_class_stdstring=yes
24325 echo "$as_me: failed program was:" >&5
24326 sed 's
/^
/| /' conftest.$ac_ext >&5
24328 wx_cv_class_stdstring=no
24332 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24336 { echo "$as_me:$LINENO: result: $wx_cv_class_stdstring" >&5
24337 echo "${ECHO_T}$wx_cv_class_stdstring" >&6; }
24339 if test "$wx_cv_class_stdstring" = yes; then
24340 if test "$wxUSE_UNICODE" = "yes"; then
24341 cat >>confdefs.h <<\_ACEOF
24342 #define HAVE_STD_WSTRING 1
24347 { echo "$as_me:$LINENO: checking if std::basic_string<$char_type> works" >&5
24348 echo $ECHO_N "checking if std::basic_string<$char_type> works... $ECHO_C" >&6; }
24349 if test "${wx_cv_class_stdbasicstring+set}" = set; then
24350 echo $ECHO_N "(cached) $ECHO_C" >&6
24353 cat >conftest.$ac_ext <<_ACEOF
24356 cat confdefs.h >>conftest.$ac_ext
24357 cat >>conftest.$ac_ext <<_ACEOF
24358 /* end confdefs.h. */
24360 #ifdef HAVE_WCHAR_H
24362 # include <stddef.h>
24364 # include <wchar.h>
24366 #ifdef HAVE_STDLIB_H
24367 # include <stdlib.h>
24375 std::basic_string<$char_type> foo;
24376 const $char_type* dummy = foo.c_str();
24381 rm -f conftest.$ac_objext
24382 if { (ac_try="$ac_compile"
24383 case "(($ac_try" in
24384 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24385 *) ac_try_echo=$ac_try;;
24387 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24388 (eval "$ac_compile") 2>conftest.er1
24390 grep -v '^
*+' conftest.er1 >conftest.err
24392 cat conftest.err >&5
24393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24394 (exit $ac_status); } && {
24395 test -z "$ac_cxx_werror_flag" ||
24396 test ! -s conftest.err
24397 } && test -s conftest.$ac_objext; then
24398 wx_cv_class_stdbasicstring=yes
24400 echo "$as_me: failed program was:" >&5
24401 sed 's
/^
/| /' conftest.$ac_ext >&5
24403 wx_cv_class_stdbasicstring=no
24407 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24411 { echo "$as_me:$LINENO: result: $wx_cv_class_stdbasicstring" >&5
24412 echo "${ECHO_T}$wx_cv_class_stdbasicstring" >&6; }
24414 if test "$wx_cv_class_stdbasicstring" != yes; then
24415 if test "$wxUSE_STL" = "yes"; then
24416 { { echo "$as_me:$LINENO: error: Can't use
--enable-stl without
$std_string or std
::basic_string
<$char_type>" >&5
24417 echo "$as_me: error
: Can
't use --enable-stl without $std_string or std::basic_string<$char_type>" >&2;}
24418 { (exit 1); exit 1; }; }
24419 elif test "$wxUSE_STD_STRING" = "yes"; then
24420 { { echo "$as_me:$LINENO: error: Can't use
--enable-std_string without
$std_string or std
::basic_string
<$char_type>" >&5
24421 echo "$as_me: error
: Can
't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&2;}
24422 { (exit 1); exit 1; }; }
24424 { echo "$as_me:$LINENO: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&5
24425 echo "$as_me: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&2;}
24426 wxUSE_STD_STRING=no
24432 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
24433 { echo "$as_me:$LINENO: checking for std::istream" >&5
24434 echo $ECHO_N "checking for std::istream... $ECHO_C" >&6; }
24435 if test "${ac_cv_type_std__istream+set}" = set; then
24436 echo $ECHO_N "(cached) $ECHO_C" >&6
24438 cat >conftest.$ac_ext <<_ACEOF
24441 cat confdefs.h >>conftest.$ac_ext
24442 cat >>conftest.$ac_ext <<_ACEOF
24443 /* end confdefs.h. */
24444 #include <iostream>
24446 typedef std::istream ac__type_new_;
24450 if ((ac__type_new_ *) 0)
24452 if (sizeof (ac__type_new_))
24458 rm -f conftest.$ac_objext
24459 if { (ac_try="$ac_compile"
24460 case "(($ac_try" in
24461 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24462 *) ac_try_echo=$ac_try;;
24464 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24465 (eval "$ac_compile") 2>conftest.er1
24467 grep -v '^
*+' conftest.er1 >conftest.err
24469 cat conftest.err >&5
24470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24471 (exit $ac_status); } && {
24472 test -z "$ac_cxx_werror_flag" ||
24473 test ! -s conftest.err
24474 } && test -s conftest.$ac_objext; then
24475 ac_cv_type_std__istream=yes
24477 echo "$as_me: failed program was:" >&5
24478 sed 's
/^
/| /' conftest.$ac_ext >&5
24480 ac_cv_type_std__istream=no
24483 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24485 { echo "$as_me:$LINENO: result: $ac_cv_type_std__istream" >&5
24486 echo "${ECHO_T}$ac_cv_type_std__istream" >&6; }
24487 if test $ac_cv_type_std__istream = yes; then
24489 cat >>confdefs.h <<_ACEOF
24490 #define HAVE_STD__ISTREAM 1
24495 wxUSE_STD_IOSTREAM=no
24497 { echo "$as_me:$LINENO: checking for std::ostream" >&5
24498 echo $ECHO_N "checking for std::ostream... $ECHO_C" >&6; }
24499 if test "${ac_cv_type_std__ostream+set}" = set; then
24500 echo $ECHO_N "(cached) $ECHO_C" >&6
24502 cat >conftest.$ac_ext <<_ACEOF
24505 cat confdefs.h >>conftest.$ac_ext
24506 cat >>conftest.$ac_ext <<_ACEOF
24507 /* end confdefs.h. */
24508 #include <iostream>
24510 typedef std::ostream ac__type_new_;
24514 if ((ac__type_new_ *) 0)
24516 if (sizeof (ac__type_new_))
24522 rm -f conftest.$ac_objext
24523 if { (ac_try="$ac_compile"
24524 case "(($ac_try" in
24525 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24526 *) ac_try_echo=$ac_try;;
24528 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24529 (eval "$ac_compile") 2>conftest.er1
24531 grep -v '^
*+' conftest.er1 >conftest.err
24533 cat conftest.err >&5
24534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24535 (exit $ac_status); } && {
24536 test -z "$ac_cxx_werror_flag" ||
24537 test ! -s conftest.err
24538 } && test -s conftest.$ac_objext; then
24539 ac_cv_type_std__ostream=yes
24541 echo "$as_me: failed program was:" >&5
24542 sed 's
/^
/| /' conftest.$ac_ext >&5
24544 ac_cv_type_std__ostream=no
24547 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24549 { echo "$as_me:$LINENO: result: $ac_cv_type_std__ostream" >&5
24550 echo "${ECHO_T}$ac_cv_type_std__ostream" >&6; }
24551 if test $ac_cv_type_std__ostream = yes; then
24553 cat >>confdefs.h <<_ACEOF
24554 #define HAVE_STD__OSTREAM 1
24559 wxUSE_STD_IOSTREAM=no
24563 if test "$wxUSE_STD_IOSTREAM" != "yes"; then
24564 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
24565 { { echo "$as_me:$LINENO: error: Can't use
--enable-std_iostreams without std
::istream and std
::ostream
" >&5
24566 echo "$as_me: error
: Can
't use --enable-std_iostreams without std::istream and std::ostream" >&2;}
24567 { (exit 1); exit 1; }; }
24569 { echo "$as_me:$LINENO: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&5
24570 echo "$as_me: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&2;}
24575 if test "$wxUSE_STL" = "yes"; then
24576 { echo "$as_me:$LINENO: checking for basic STL functionality" >&5
24577 echo $ECHO_N "checking for basic STL functionality... $ECHO_C" >&6; }
24578 if test "${wx_cv_lib_stl+set}" = set; then
24579 echo $ECHO_N "(cached) $ECHO_C" >&6
24581 cat >conftest.$ac_ext <<_ACEOF
24584 cat confdefs.h >>conftest.$ac_ext
24585 cat >>conftest.$ac_ext <<_ACEOF
24586 /* end confdefs.h. */
24588 #include <functional>
24589 #include <algorithm>
24595 std::vector<int> moo;
24596 std::list<int> foo;
24597 std::vector<int>::iterator it =
24598 std::find_if(moo.begin(), moo.end(),
24599 std::bind2nd(std::less<int>(), 3));
24604 rm -f conftest.$ac_objext
24605 if { (ac_try="$ac_compile"
24606 case "(($ac_try" in
24607 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24608 *) ac_try_echo=$ac_try;;
24610 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24611 (eval "$ac_compile") 2>conftest.er1
24613 grep -v '^
*+' conftest.er1 >conftest.err
24615 cat conftest.err >&5
24616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24617 (exit $ac_status); } && {
24618 test -z "$ac_cxx_werror_flag" ||
24619 test ! -s conftest.err
24620 } && test -s conftest.$ac_objext; then
24623 echo "$as_me: failed program was:" >&5
24624 sed 's
/^
/| /' conftest.$ac_ext >&5
24630 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24633 { echo "$as_me:$LINENO: result: $wx_cv_lib_stl" >&5
24634 echo "${ECHO_T}$wx_cv_lib_stl" >&6; }
24636 if test "$wx_cv_lib_stl" != yes; then
24637 { { echo "$as_me:$LINENO: error: Can't use
--enable-stl as basic STL functionality is missing
" >&5
24638 echo "$as_me: error
: Can
't use --enable-stl as basic STL functionality is missing" >&2;}
24639 { (exit 1); exit 1; }; }
24642 { echo "$as_me:$LINENO: checking for compliant std::string::compare" >&5
24643 echo $ECHO_N "checking for compliant std::string::compare... $ECHO_C" >&6; }
24644 if test "${wx_cv_func_stdstring_compare+set}" = set; then
24645 echo $ECHO_N "(cached) $ECHO_C" >&6
24647 cat >conftest.$ac_ext <<_ACEOF
24650 cat confdefs.h >>conftest.$ac_ext
24651 cat >>conftest.$ac_ext <<_ACEOF
24652 /* end confdefs.h. */
24657 std::string foo, bar;
24659 foo.compare(1, 1, bar);
24660 foo.compare(1, 1, bar, 1, 1);
24662 foo.compare(1, 1, "");
24663 foo.compare(1, 1, "", 2);
24668 rm -f conftest.$ac_objext
24669 if { (ac_try="$ac_compile"
24670 case "(($ac_try" in
24671 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24672 *) ac_try_echo=$ac_try;;
24674 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24675 (eval "$ac_compile") 2>conftest.er1
24677 grep -v '^
*+' conftest.er1 >conftest.err
24679 cat conftest.err >&5
24680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24681 (exit $ac_status); } && {
24682 test -z "$ac_cxx_werror_flag" ||
24683 test ! -s conftest.err
24684 } && test -s conftest.$ac_objext; then
24685 wx_cv_func_stdstring_compare=yes
24687 echo "$as_me: failed program was:" >&5
24688 sed 's
/^
/| /' conftest.$ac_ext >&5
24690 wx_cv_func_stdstring_compare=no
24694 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24697 { echo "$as_me:$LINENO: result: $wx_cv_func_stdstring_compare" >&5
24698 echo "${ECHO_T}$wx_cv_func_stdstring_compare" >&6; }
24700 if test "$wx_cv_func_stdstring_compare" = yes; then
24701 cat >>confdefs.h <<\_ACEOF
24702 #define HAVE_STD_STRING_COMPARE 1
24707 if test "$wx_cv_class_gnuhashmapset" = yes; then
24708 cat >>confdefs.h <<\_ACEOF
24709 #define HAVE_EXT_HASH_MAP 1
24712 cat >>confdefs.h <<\_ACEOF
24713 #define HAVE_GNU_CXX_HASH_MAP 1
24718 { echo "$as_me:$LINENO: checking for unordered_map" >&5
24719 echo $ECHO_N "checking for unordered_map... $ECHO_C" >&6; }
24720 if test "${ac_cv_header_unordered_map+set}" = set; then
24721 echo $ECHO_N "(cached) $ECHO_C" >&6
24723 cat >conftest.$ac_ext <<_ACEOF
24726 cat confdefs.h >>conftest.$ac_ext
24727 cat >>conftest.$ac_ext <<_ACEOF
24728 /* end confdefs.h. */
24732 #include <unordered_map>
24734 rm -f conftest.$ac_objext
24735 if { (ac_try="$ac_compile"
24736 case "(($ac_try" in
24737 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24738 *) ac_try_echo=$ac_try;;
24740 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24741 (eval "$ac_compile") 2>conftest.er1
24743 grep -v '^
*+' conftest.er1 >conftest.err
24745 cat conftest.err >&5
24746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24747 (exit $ac_status); } && {
24748 test -z "$ac_cxx_werror_flag" ||
24749 test ! -s conftest.err
24750 } && test -s conftest.$ac_objext; then
24751 ac_cv_header_unordered_map=yes
24753 echo "$as_me: failed program was:" >&5
24754 sed 's
/^
/| /' conftest.$ac_ext >&5
24756 ac_cv_header_unordered_map=no
24759 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24761 { echo "$as_me:$LINENO: result: $ac_cv_header_unordered_map" >&5
24762 echo "${ECHO_T}$ac_cv_header_unordered_map" >&6; }
24763 if test $ac_cv_header_unordered_map = yes; then
24764 { echo "$as_me:$LINENO: checking for unordered_map and unordered_set in std" >&5
24765 echo $ECHO_N "checking for unordered_map and unordered_set in std... $ECHO_C" >&6; }
24766 if test "${wx_cv_class_stdunorderedmapset+set}" = set; then
24767 echo $ECHO_N "(cached) $ECHO_C" >&6
24769 cat >conftest.$ac_ext <<_ACEOF
24772 cat confdefs.h >>conftest.$ac_ext
24773 cat >>conftest.$ac_ext <<_ACEOF
24774 /* end confdefs.h. */
24775 #include <unordered_map>
24776 #include <unordered_set>
24780 std::unordered_map<double*, char*> test1;
24781 std::unordered_set<char*> test2;
24786 rm -f conftest.$ac_objext
24787 if { (ac_try="$ac_compile"
24788 case "(($ac_try" in
24789 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24790 *) ac_try_echo=$ac_try;;
24792 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24793 (eval "$ac_compile") 2>conftest.er1
24795 grep -v '^
*+' conftest.er1 >conftest.err
24797 cat conftest.err >&5
24798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24799 (exit $ac_status); } && {
24800 test -z "$ac_cxx_werror_flag" ||
24801 test ! -s conftest.err
24802 } && test -s conftest.$ac_objext; then
24803 wx_cv_class_stdunorderedmapset=yes
24805 echo "$as_me: failed program was:" >&5
24806 sed 's
/^
/| /' conftest.$ac_ext >&5
24808 wx_cv_class_stdunorderedmapset=no
24811 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24815 { echo "$as_me:$LINENO: result: $wx_cv_class_stdunorderedmapset" >&5
24816 echo "${ECHO_T}$wx_cv_class_stdunorderedmapset" >&6; }
24821 if test "$wx_cv_class_stdunorderedmapset" = yes; then
24822 cat >>confdefs.h <<\_ACEOF
24823 #define HAVE_STD_UNORDERED_MAP 1
24826 cat >>confdefs.h <<\_ACEOF
24827 #define HAVE_STD_UNORDERED_SET 1
24831 { echo "$as_me:$LINENO: checking for tr1/unordered_map" >&5
24832 echo $ECHO_N "checking for tr1/unordered_map... $ECHO_C" >&6; }
24833 if test "${ac_cv_header_tr1_unordered_map+set}" = set; then
24834 echo $ECHO_N "(cached) $ECHO_C" >&6
24836 cat >conftest.$ac_ext <<_ACEOF
24839 cat confdefs.h >>conftest.$ac_ext
24840 cat >>conftest.$ac_ext <<_ACEOF
24841 /* end confdefs.h. */
24845 #include <tr1/unordered_map>
24847 rm -f conftest.$ac_objext
24848 if { (ac_try="$ac_compile"
24849 case "(($ac_try" in
24850 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24851 *) ac_try_echo=$ac_try;;
24853 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24854 (eval "$ac_compile") 2>conftest.er1
24856 grep -v '^
*+' conftest.er1 >conftest.err
24858 cat conftest.err >&5
24859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24860 (exit $ac_status); } && {
24861 test -z "$ac_cxx_werror_flag" ||
24862 test ! -s conftest.err
24863 } && test -s conftest.$ac_objext; then
24864 ac_cv_header_tr1_unordered_map=yes
24866 echo "$as_me: failed program was:" >&5
24867 sed 's
/^
/| /' conftest.$ac_ext >&5
24869 ac_cv_header_tr1_unordered_map=no
24872 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24874 { echo "$as_me:$LINENO: result: $ac_cv_header_tr1_unordered_map" >&5
24875 echo "${ECHO_T}$ac_cv_header_tr1_unordered_map" >&6; }
24876 if test $ac_cv_header_tr1_unordered_map = yes; then
24877 { echo "$as_me:$LINENO: checking for unordered_map and unordered_set in std::tr1" >&5
24878 echo $ECHO_N "checking for unordered_map and unordered_set in std::tr1... $ECHO_C" >&6; }
24879 if test "${wx_cv_class_tr1unorderedmapset+set}" = set; then
24880 echo $ECHO_N "(cached) $ECHO_C" >&6
24882 cat >conftest.$ac_ext <<_ACEOF
24885 cat confdefs.h >>conftest.$ac_ext
24886 cat >>conftest.$ac_ext <<_ACEOF
24887 /* end confdefs.h. */
24888 #include <tr1/unordered_map>
24889 #include <tr1/unordered_set>
24893 std::tr1::unordered_map<double*, char*> test1;
24894 std::tr1::unordered_set<char*> test2;
24895 #if defined(__GNUC__) && (__GNUC__==4) && (__GNUC_MINOR__<2)
24896 #error can't use unordered_
{map
,set} with gcc
-4.
[01]: http
://gcc.gnu.org
/PR24389
24902 rm -f conftest.
$ac_objext
24903 if { (ac_try
="$ac_compile"
24904 case "(($ac_try" in
24905 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
24906 *) ac_try_echo=$ac_try;;
24908 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24909 (eval "$ac_compile") 2>conftest.er1
24911 grep -v '^ *+' conftest.er1 >conftest.err
24913 cat conftest.err >&5
24914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24915 (exit $ac_status); } && {
24916 test -z "$ac_cxx_werror_flag" ||
24917 test ! -s conftest.err
24918 } && test -s conftest.$ac_objext; then
24919 wx_cv_class_tr1unorderedmapset=yes
24921 echo "$as_me: failed program was:" >&5
24922 sed 's/^/| /' conftest.$ac_ext >&5
24924 wx_cv_class_tr1unorderedmapset=no
24927 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24931 { echo "$as_me:$LINENO: result: $wx_cv_class_tr1unorderedmapset" >&5
24932 echo "${ECHO_T}$wx_cv_class_tr1unorderedmapset" >&6; }
24937 if test "$wx_cv_class_tr1unorderedmapset" = yes; then
24938 cat >>confdefs.h <<\_ACEOF
24939 #define HAVE_TR1_UNORDERED_MAP 1
24942 cat >>confdefs.h <<\_ACEOF
24943 #define HAVE_TR1_UNORDERED_SET 1
24947 { echo "$as_me:$LINENO: checking for hash_map" >&5
24948 echo $ECHO_N "checking for hash_map... $ECHO_C" >&6; }
24949 if test "${ac_cv_header_hash_map+set}" = set; then
24950 echo $ECHO_N "(cached) $ECHO_C" >&6
24952 cat >conftest.$ac_ext <<_ACEOF
24955 cat confdefs.h >>conftest.$ac_ext
24956 cat >>conftest.$ac_ext <<_ACEOF
24957 /* end confdefs.h. */
24961 #include <hash_map>
24963 rm -f conftest.$ac_objext
24964 if { (ac_try="$ac_compile"
24965 case "(($ac_try" in
24966 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
24967 *) ac_try_echo
=$ac_try;;
24969 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24970 (eval "$ac_compile") 2>conftest.er1
24972 grep -v '^ *+' conftest.er1
>conftest.err
24974 cat conftest.err
>&5
24975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24976 (exit $ac_status); } && {
24977 test -z "$ac_cxx_werror_flag" ||
24978 test ! -s conftest.err
24979 } && test -s conftest.
$ac_objext; then
24980 ac_cv_header_hash_map
=yes
24982 echo "$as_me: failed program was:" >&5
24983 sed 's/^/| /' conftest.
$ac_ext >&5
24985 ac_cv_header_hash_map
=no
24988 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
24990 { echo "$as_me:$LINENO: result: $ac_cv_header_hash_map" >&5
24991 echo "${ECHO_T}$ac_cv_header_hash_map" >&6; }
24992 if test $ac_cv_header_hash_map = yes; then
24993 { echo "$as_me:$LINENO: checking for std::hash_map and hash_set" >&5
24994 echo $ECHO_N "checking for std::hash_map and hash_set... $ECHO_C" >&6; }
24995 if test "${wx_cv_class_stdhashmapset+set}" = set; then
24996 echo $ECHO_N "(cached) $ECHO_C" >&6
24998 cat >conftest.
$ac_ext <<_ACEOF
25001 cat confdefs.h
>>conftest.
$ac_ext
25002 cat >>conftest.
$ac_ext <<_ACEOF
25003 /* end confdefs.h. */
25004 #include <hash_map>
25005 #include <hash_set>
25009 std::hash_map<double*, char*, std::hash<double*>, std::equal_to<double*> > test1;
25010 std::hash_set<char*, std::hash<char*>, std::equal_to<char*> > test2;
25015 rm -f conftest.
$ac_objext
25016 if { (ac_try
="$ac_compile"
25017 case "(($ac_try" in
25018 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
25019 *) ac_try_echo=$ac_try;;
25021 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25022 (eval "$ac_compile") 2>conftest.er1
25024 grep -v '^ *+' conftest.er1 >conftest.err
25026 cat conftest.err >&5
25027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25028 (exit $ac_status); } && {
25029 test -z "$ac_cxx_werror_flag" ||
25030 test ! -s conftest.err
25031 } && test -s conftest.$ac_objext; then
25032 wx_cv_class_stdhashmapset=yes
25034 echo "$as_me: failed program was:" >&5
25035 sed 's/^/| /' conftest.$ac_ext >&5
25037 wx_cv_class_stdhashmapset=no
25040 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25044 { echo "$as_me:$LINENO: result: $wx_cv_class_stdhashmapset" >&5
25045 echo "${ECHO_T}$wx_cv_class_stdhashmapset" >&6; }
25050 if test "$wx_cv_class_stdhashmapset" = yes; then
25051 cat >>confdefs.h <<\_ACEOF
25052 #define HAVE_HASH_MAP 1
25055 cat >>confdefs.h <<\_ACEOF
25056 #define HAVE_STD_HASH_MAP 1
25061 { echo "$as_me:$LINENO: checking for ext/hash_map" >&5
25062 echo $ECHO_N "checking for ext/hash_map... $ECHO_C" >&6; }
25063 if test "${ac_cv_header_ext_hash_map+set}" = set; then
25064 echo $ECHO_N "(cached) $ECHO_C" >&6
25066 cat >conftest.$ac_ext <<_ACEOF
25069 cat confdefs.h >>conftest.$ac_ext
25070 cat >>conftest.$ac_ext <<_ACEOF
25071 /* end confdefs.h. */
25075 #include <ext/hash_map>
25077 rm -f conftest.$ac_objext
25078 if { (ac_try="$ac_compile"
25079 case "(($ac_try" in
25080 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
25081 *) ac_try_echo
=$ac_try;;
25083 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25084 (eval "$ac_compile") 2>conftest.er1
25086 grep -v '^ *+' conftest.er1
>conftest.err
25088 cat conftest.err
>&5
25089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25090 (exit $ac_status); } && {
25091 test -z "$ac_cxx_werror_flag" ||
25092 test ! -s conftest.err
25093 } && test -s conftest.
$ac_objext; then
25094 ac_cv_header_ext_hash_map
=yes
25096 echo "$as_me: failed program was:" >&5
25097 sed 's/^/| /' conftest.
$ac_ext >&5
25099 ac_cv_header_ext_hash_map
=no
25102 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
25104 { echo "$as_me:$LINENO: result: $ac_cv_header_ext_hash_map" >&5
25105 echo "${ECHO_T}$ac_cv_header_ext_hash_map" >&6; }
25106 if test $ac_cv_header_ext_hash_map = yes; then
25107 { echo "$as_me:$LINENO: checking for GNU hash_map and hash_set" >&5
25108 echo $ECHO_N "checking for GNU hash_map and hash_set... $ECHO_C" >&6; }
25109 if test "${wx_cv_class_gnuhashmapset+set}" = set; then
25110 echo $ECHO_N "(cached) $ECHO_C" >&6
25112 cat >conftest.
$ac_ext <<_ACEOF
25115 cat confdefs.h
>>conftest.
$ac_ext
25116 cat >>conftest.
$ac_ext <<_ACEOF
25117 /* end confdefs.h. */
25118 #include <ext/hash_map>
25119 #include <ext/hash_set>
25123 __gnu_cxx::hash_map<double*, char*, __gnu_cxx::hash<double*>, std::equal_to<double*> > test1;
25124 __gnu_cxx::hash_set<char*, __gnu_cxx::hash<char*>, std::equal_to<char*> > test2;
25129 rm -f conftest.
$ac_objext
25130 if { (ac_try
="$ac_compile"
25131 case "(($ac_try" in
25132 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
25133 *) ac_try_echo=$ac_try;;
25135 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25136 (eval "$ac_compile") 2>conftest.er1
25138 grep -v '^ *+' conftest.er1 >conftest.err
25140 cat conftest.err >&5
25141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25142 (exit $ac_status); } && {
25143 test -z "$ac_cxx_werror_flag" ||
25144 test ! -s conftest.err
25145 } && test -s conftest.$ac_objext; then
25146 wx_cv_class_gnuhashmapset=yes
25148 echo "$as_me: failed program was:" >&5
25149 sed 's/^/| /' conftest.$ac_ext >&5
25151 wx_cv_class_gnuhashmapset=no
25154 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25158 { echo "$as_me:$LINENO: result: $wx_cv_class_gnuhashmapset" >&5
25159 echo "${ECHO_T}$wx_cv_class_gnuhashmapset" >&6; }
25170 if test -n "$GCC"; then
25171 { echo "$as_me:$LINENO: checking for __sync_fetch_and_add and __sync_sub_and_fetch builtins" >&5
25172 echo $ECHO_N "checking for __sync_fetch_and_add and __sync_sub_and_fetch builtins... $ECHO_C" >&6; }
25173 if test "${wx_cv_cc_gcc_atomic_builtins+set}" = set; then
25174 echo $ECHO_N "(cached) $ECHO_C" >&6
25177 cat >conftest.$ac_ext <<_ACEOF
25180 cat confdefs.h >>conftest.$ac_ext
25181 cat >>conftest.$ac_ext <<_ACEOF
25182 /* end confdefs.h. */
25188 unsigned int value=0;
25189 /* wxAtomicInc doesn't use return value here */
25190 __sync_fetch_and_add(&value, 2);
25191 __sync_sub_and_fetch(&value, 1);
25192 /* but wxAtomicDec does, so mimic that: */
25193 unsigned int r2 = __sync_sub_and_fetch(&value, 1);
25199 rm -f conftest.$ac_objext conftest$ac_exeext
25200 if { (ac_try="$ac_link"
25201 case "(($ac_try" in
25202 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
25203 *) ac_try_echo
=$ac_try;;
25205 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25206 (eval "$ac_link") 2>conftest.er1
25208 grep -v '^ *+' conftest.er1
>conftest.err
25210 cat conftest.err
>&5
25211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25212 (exit $ac_status); } && {
25213 test -z "$ac_cxx_werror_flag" ||
25214 test ! -s conftest.err
25215 } && test -s conftest
$ac_exeext &&
25216 $as_test_x conftest
$ac_exeext; then
25217 wx_cv_cc_gcc_atomic_builtins
=yes
25219 echo "$as_me: failed program was:" >&5
25220 sed 's/^/| /' conftest.
$ac_ext >&5
25222 wx_cv_cc_gcc_atomic_builtins
=no
25225 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
25226 conftest
$ac_exeext conftest.
$ac_ext
25230 { echo "$as_me:$LINENO: result: $wx_cv_cc_gcc_atomic_builtins" >&5
25231 echo "${ECHO_T}$wx_cv_cc_gcc_atomic_builtins" >&6; }
25232 if test $wx_cv_cc_gcc_atomic_builtins = yes; then
25233 cat >>confdefs.h
<<\_ACEOF
25234 #define HAVE_GCC_ATOMIC_BUILTINS 1
25242 ac_cpp
='$CPP $CPPFLAGS'
25243 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25244 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25245 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
25250 /usr/local/include \
25251 /usr/local/X11/include \
25252 /usr/local/include/X11 \
25253 /usr/local/X11R6/include \
25254 /usr/local/include/X11R6 \
25256 /usr/Motif-2.1/include \
25257 /usr/Motif-1.2/include \
25258 /usr/include/Motif1.2 \
25261 /usr/openwin/include \
25265 /usr/X11R6/include \
25266 /usr/X11R6.4/include \
25268 /usr/include/X11R6 \
25273 /usr/XFree86/include/X11 \
25276 /usr/local/X1R5/include \
25277 /usr/local/include/X11R5 \
25278 /usr/X11R5/include \
25279 /usr/include/X11R5 \
25281 /usr/local/X11R4/include \
25282 /usr/local/include/X11R4 \
25283 /usr/X11R4/include \
25284 /usr/include/X11R4 \
25286 /usr/openwin/share/include"
25288 { echo "$as_me:$LINENO: checking for libraries directory" >&5
25289 echo $ECHO_N "checking for libraries directory... $ECHO_C" >&6; }
25293 if test "${wx_cv_std_libpath+set}" = set; then
25294 echo $ECHO_N "(cached) $ECHO_C" >&6
25297 for d
in /usr
/lib
/usr
/lib32
/usr
/lib
/64 /usr
/lib64
; do
25298 for e
in a so sl dylib dll.a
; do
25300 if test -f $libc; then
25303 cat >conftest.
$ac_ext <<_ACEOF
25304 int main() { return 0; }
25306 rm -f conftest.
$ac_objext conftest
$ac_exeext
25307 if { (ac_try
="$ac_link"
25308 case "(($ac_try" in
25309 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
25310 *) ac_try_echo=$ac_try;;
25312 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25313 (eval "$ac_link") 2>conftest.er1
25315 grep -v '^ *+' conftest.er1 >conftest.err
25317 cat conftest.err >&5
25318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25319 (exit $ac_status); } && {
25320 test -z "$ac_c_werror_flag" ||
25321 test ! -s conftest.err
25322 } && test -s conftest$ac_exeext &&
25323 $as_test_x conftest$ac_exeext; then
25324 wx_cv_std_libpath=`echo $d | sed s@
/usr
/@@
`
25326 echo "$as_me: failed program was:" >&5
25327 sed 's/^/| /' conftest.$ac_ext >&5
25332 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25333 conftest$ac_exeext conftest.$ac_ext
25335 if test "x$wx_cv_std_libpath" != "x"; then
25341 if test "x$wx_cv_std_libpath" = "x"; then
25342 wx_cv_std_libpath="lib"
25351 if test "$ac_cv_sizeof_void_p" = 8 -a -d "/usr/lib/64"; then
25352 wx_cv_std_libpath="lib/64"
25354 wx_cv_std_libpath="lib"
25359 if test "$ac_cv_sizeof_void_p" = 8 -a \
25360 -d "/usr/lib64" -a ! -h "/usr/lib64"; then
25361 wx_cv_std_libpath="lib64"
25363 wx_cv_std_libpath="lib"
25368 wx_cv_std_libpath="lib";
25372 { echo "$as_me:$LINENO: result: $wx_cv_std_libpath" >&5
25373 echo "${ECHO_T}$wx_cv_std_libpath" >&6; }
25375 SEARCH_LIB="`echo "$SEARCH_INCLUDE" | sed s@include@
$wx_cv_std_libpath@g
` /usr/$wx_cv_std_libpath"
25377 if test "$build" != "$host" -a "$GCC" = yes; then
25378 if cross_root=`$CC -print-prog-name=ld
2>/dev
/null
`; then
25379 cross_root=`dirname $cross_root`
25380 cross_root=`dirname $cross_root`
25382 SEARCH_LIB=`for x
in $SEARCH_LIB; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
25383 SEARCH_INCLUDE=`for x
in $SEARCH_INCLUDE; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
25384 SEARCH_INCLUDE="$SEARCH_INCLUDE $cross_root/include"
25386 if test -z "$PKG_CONFIG_PATH"; then
25387 PKG_CONFIG_PATH="$cross_root/local/lib/pkgconfig:$cross_root/lib/pkgconfig"
25388 export PKG_CONFIG_PATH
25391 if test -z "$x_includes" -o "$x_includes" = NONE; then
25394 for ac_dir in $SEARCH_INCLUDE /usr/include;
25396 if test -f "$ac_dir/X11/Intrinsic.h"; then
25397 ac_find_includes=$ac_dir
25402 x_includes=$ac_find_includes
25404 if test -z "$x_libraries" -o "$x_libraries" = NONE; then
25407 for ac_dir in $SEARCH_LIB;
25409 for ac_extension in a so sl dylib dll.a; do
25410 if test -f "$ac_dir/libXt.$ac_extension"; then
25411 ac_find_libraries=$ac_dir
25417 x_libraries=$ac_find_libraries
25423 cat >confcache <<\_ACEOF
25424 # This file is a shell script that caches the results of configure
25425 # tests run on this system so they can be shared between configure
25426 # scripts and configure runs, see configure's option --config-cache.
25427 # It is not useful on other systems. If it contains results you don't
25428 # want to keep, you may remove or edit it.
25430 # config.status only pays attention to the cache file if you give it
25431 # the --recheck option to rerun configure.
25433 # `ac_cv_env_foo
' variables (set or unset) will be overridden when
25434 # loading this file, other *unset* `ac_cv_foo' will be assigned the
25435 # following values.
25439 # The following way of writing the cache mishandles newlines in values,
25440 # but we know of no workaround that is simple, portable, and efficient.
25441 # So, we kill variables containing newlines.
25442 # Ultrix sh set writes to stderr and can't be redirected directly,
25443 # and sets the high bit in the cache file unless we assign to the vars.
25445 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
25446 eval ac_val
=\$
$ac_var
25450 *_cv_
*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
25451 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
25454 _
| IFS
| as_nl
) ;; #(
25455 *) $as_unset $ac_var ;;
25461 case $as_nl`(ac_space=' '; set) 2>&1` in #(
25462 *${as_nl}ac_space
=\
*)
25463 # `set' does not quote correctly, so add quotes (double-quote
25464 # substitution turns \\\\ into \\, and sed turns \\ into \).
25467 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
25470 # `set' quotes correctly as required by POSIX, so do not add quotes.
25471 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
25480 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
25482 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
25484 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
25485 if test -w "$cache_file"; then
25486 test "x$cache_file" != "x/dev/null" &&
25487 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
25488 echo "$as_me: updating cache $cache_file" >&6;}
25489 cat confcache
>$cache_file
25491 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
25492 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
25497 if test "$USE_LINUX" = 1 -o "$USE_GNU" = 1; then
25498 { echo "$as_me:$LINENO: checking for glibc 2.1 or later" >&5
25499 echo $ECHO_N "checking for glibc 2.1 or later... $ECHO_C" >&6; }
25500 if test "${wx_cv_lib_glibc21+set}" = set; then
25501 echo $ECHO_N "(cached) $ECHO_C" >&6
25504 cat >conftest.
$ac_ext <<_ACEOF
25507 cat confdefs.h
>>conftest.
$ac_ext
25508 cat >>conftest.
$ac_ext <<_ACEOF
25509 /* end confdefs.h. */
25510 #include <features.h>
25515 #if (__GLIBC__ < 2) || (__GLIBC_MINOR__ < 1)
25523 rm -f conftest.
$ac_objext
25524 if { (ac_try
="$ac_compile"
25525 case "(($ac_try" in
25526 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
25527 *) ac_try_echo=$ac_try;;
25529 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25530 (eval "$ac_compile") 2>conftest.er1
25532 grep -v '^ *+' conftest.er1 >conftest.err
25534 cat conftest.err >&5
25535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25536 (exit $ac_status); } && {
25537 test -z "$ac_c_werror_flag" ||
25538 test ! -s conftest.err
25539 } && test -s conftest.$ac_objext; then
25541 wx_cv_lib_glibc21=yes
25544 echo "$as_me: failed program was:" >&5
25545 sed 's/^/| /' conftest.$ac_ext >&5
25548 wx_cv_lib_glibc21=no
25553 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25556 { echo "$as_me:$LINENO: result: $wx_cv_lib_glibc21" >&5
25557 echo "${ECHO_T}$wx_cv_lib_glibc21" >&6; }
25558 if test "$wx_cv_lib_glibc21" = "yes"; then
25559 cat >>confdefs.h <<\_ACEOF
25560 #define wxHAVE_GLIBC2 1
25566 if test "x$wx_cv_lib_glibc21" = "xyes"; then
25567 if test "$wxUSE_UNICODE" = "yes" -o "$wxUSE_THREADS" = "yes"; then
25568 cat >>confdefs.h <<\_ACEOF
25569 #define _GNU_SOURCE 1
25580 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25581 { echo "$as_me:$LINENO: checking for $ac_func" >&5
25582 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
25583 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
25584 echo $ECHO_N "(cached) $ECHO_C" >&6
25586 cat >conftest.$ac_ext <<_ACEOF
25589 cat confdefs.h >>conftest.$ac_ext
25590 cat >>conftest.$ac_ext <<_ACEOF
25591 /* end confdefs.h. */
25592 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25593 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25594 #define $ac_func innocuous_$ac_func
25596 /* System header to define __stub macros and hopefully few prototypes,
25597 which can conflict with char $ac_func (); below.
25598 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25599 <limits.h> exists even on freestanding compilers. */
25602 # include <limits.h>
25604 # include <assert.h>
25609 /* Override any GCC internal prototype to avoid an error.
25610 Use char because int might match the return type of a GCC
25611 builtin and then its argument prototype would still apply. */
25616 /* The GNU C library defines this for functions which it implements
25617 to always fail with ENOSYS. Some functions are actually named
25618 something starting with __ and the normal name is an alias. */
25619 #if defined __stub_$ac_func || defined __stub___$ac_func
25626 return $ac_func ();
25631 rm -f conftest.$ac_objext conftest$ac_exeext
25632 if { (ac_try="$ac_link"
25633 case "(($ac_try" in
25634 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
25635 *) ac_try_echo
=$ac_try;;
25637 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25638 (eval "$ac_link") 2>conftest.er1
25640 grep -v '^ *+' conftest.er1
>conftest.err
25642 cat conftest.err
>&5
25643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25644 (exit $ac_status); } && {
25645 test -z "$ac_c_werror_flag" ||
25646 test ! -s conftest.err
25647 } && test -s conftest
$ac_exeext &&
25648 $as_test_x conftest
$ac_exeext; then
25649 eval "$as_ac_var=yes"
25651 echo "$as_me: failed program was:" >&5
25652 sed 's/^/| /' conftest.
$ac_ext >&5
25654 eval "$as_ac_var=no"
25657 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
25658 conftest
$ac_exeext conftest.
$ac_ext
25660 ac_res
=`eval echo '${'$as_ac_var'}'`
25661 { echo "$as_me:$LINENO: result: $ac_res" >&5
25662 echo "${ECHO_T}$ac_res" >&6; }
25663 if test `eval echo '${'$as_ac_var'}'` = yes; then
25664 cat >>confdefs.h
<<_ACEOF
25665 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25672 for ac_func
in floor
25674 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25675 { echo "$as_me:$LINENO: checking for $ac_func" >&5
25676 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
25677 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
25678 echo $ECHO_N "(cached) $ECHO_C" >&6
25680 cat >conftest.
$ac_ext <<_ACEOF
25683 cat confdefs.h
>>conftest.
$ac_ext
25684 cat >>conftest.
$ac_ext <<_ACEOF
25685 /* end confdefs.h. */
25686 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25687 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25688 #define $ac_func innocuous_$ac_func
25690 /* System header to define __stub macros and hopefully few prototypes,
25691 which can conflict with char $ac_func (); below.
25692 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25693 <limits.h> exists even on freestanding compilers. */
25696 # include <limits.h>
25698 # include <assert.h>
25703 /* Override any GCC internal prototype to avoid an error.
25704 Use char because int might match the return type of a GCC
25705 builtin and then its argument prototype would still apply. */
25710 /* The GNU C library defines this for functions which it implements
25711 to always fail with ENOSYS. Some functions are actually named
25712 something starting with __ and the normal name is an alias. */
25713 #if defined __stub_$ac_func || defined __stub___$ac_func
25720 return $ac_func ();
25725 rm -f conftest.
$ac_objext conftest
$ac_exeext
25726 if { (ac_try
="$ac_link"
25727 case "(($ac_try" in
25728 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
25729 *) ac_try_echo=$ac_try;;
25731 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25732 (eval "$ac_link") 2>conftest.er1
25734 grep -v '^ *+' conftest.er1 >conftest.err
25736 cat conftest.err >&5
25737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25738 (exit $ac_status); } && {
25739 test -z "$ac_c_werror_flag" ||
25740 test ! -s conftest.err
25741 } && test -s conftest$ac_exeext &&
25742 $as_test_x conftest$ac_exeext; then
25743 eval "$as_ac_var=yes"
25745 echo "$as_me: failed program was:" >&5
25746 sed 's/^/| /' conftest.$ac_ext >&5
25748 eval "$as_ac_var=no"
25751 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25752 conftest$ac_exeext conftest.$ac_ext
25754 ac_res=`eval echo '${'$as_ac_var'}'`
25755 { echo "$as_me:$LINENO: result: $ac_res" >&5
25756 echo "${ECHO_T}$ac_res" >&6; }
25757 if test `eval echo '${'$as_ac_var'}'` = yes; then
25758 cat >>confdefs.h <<_ACEOF
25759 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25765 { echo "$as_me:$LINENO: checking if floating point functions link without -lm" >&5
25766 echo $ECHO_N "checking if floating point functions link without -lm... $ECHO_C" >&6; }
25767 if test "$have_cos" = 1 -a "$have_floor" = 1; then
25768 { echo "$as_me:$LINENO: result: yes" >&5
25769 echo "${ECHO_T}yes" >&6; }
25771 { echo "$as_me:$LINENO: result: no" >&5
25772 echo "${ECHO_T}no" >&6; }
25774 # use different functions to avoid configure caching
25780 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25781 { echo "$as_me:$LINENO: checking for $ac_func" >&5
25782 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
25783 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
25784 echo $ECHO_N "(cached) $ECHO_C" >&6
25786 cat >conftest.$ac_ext <<_ACEOF
25789 cat confdefs.h >>conftest.$ac_ext
25790 cat >>conftest.$ac_ext <<_ACEOF
25791 /* end confdefs.h. */
25792 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25793 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25794 #define $ac_func innocuous_$ac_func
25796 /* System header to define __stub macros and hopefully few prototypes,
25797 which can conflict with char $ac_func (); below.
25798 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25799 <limits.h> exists even on freestanding compilers. */
25802 # include <limits.h>
25804 # include <assert.h>
25809 /* Override any GCC internal prototype to avoid an error.
25810 Use char because int might match the return type of a GCC
25811 builtin and then its argument prototype would still apply. */
25816 /* The GNU C library defines this for functions which it implements
25817 to always fail with ENOSYS. Some functions are actually named
25818 something starting with __ and the normal name is an alias. */
25819 #if defined __stub_$ac_func || defined __stub___$ac_func
25826 return $ac_func ();
25831 rm -f conftest.$ac_objext conftest$ac_exeext
25832 if { (ac_try="$ac_link"
25833 case "(($ac_try" in
25834 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
25835 *) ac_try_echo
=$ac_try;;
25837 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25838 (eval "$ac_link") 2>conftest.er1
25840 grep -v '^ *+' conftest.er1
>conftest.err
25842 cat conftest.err
>&5
25843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25844 (exit $ac_status); } && {
25845 test -z "$ac_c_werror_flag" ||
25846 test ! -s conftest.err
25847 } && test -s conftest
$ac_exeext &&
25848 $as_test_x conftest
$ac_exeext; then
25849 eval "$as_ac_var=yes"
25851 echo "$as_me: failed program was:" >&5
25852 sed 's/^/| /' conftest.
$ac_ext >&5
25854 eval "$as_ac_var=no"
25857 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
25858 conftest
$ac_exeext conftest.
$ac_ext
25860 ac_res
=`eval echo '${'$as_ac_var'}'`
25861 { echo "$as_me:$LINENO: result: $ac_res" >&5
25862 echo "${ECHO_T}$ac_res" >&6; }
25863 if test `eval echo '${'$as_ac_var'}'` = yes; then
25864 cat >>confdefs.h
<<_ACEOF
25865 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25872 for ac_func
in ceil
25874 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25875 { echo "$as_me:$LINENO: checking for $ac_func" >&5
25876 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
25877 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
25878 echo $ECHO_N "(cached) $ECHO_C" >&6
25880 cat >conftest.
$ac_ext <<_ACEOF
25883 cat confdefs.h
>>conftest.
$ac_ext
25884 cat >>conftest.
$ac_ext <<_ACEOF
25885 /* end confdefs.h. */
25886 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25887 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25888 #define $ac_func innocuous_$ac_func
25890 /* System header to define __stub macros and hopefully few prototypes,
25891 which can conflict with char $ac_func (); below.
25892 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25893 <limits.h> exists even on freestanding compilers. */
25896 # include <limits.h>
25898 # include <assert.h>
25903 /* Override any GCC internal prototype to avoid an error.
25904 Use char because int might match the return type of a GCC
25905 builtin and then its argument prototype would still apply. */
25910 /* The GNU C library defines this for functions which it implements
25911 to always fail with ENOSYS. Some functions are actually named
25912 something starting with __ and the normal name is an alias. */
25913 #if defined __stub_$ac_func || defined __stub___$ac_func
25920 return $ac_func ();
25925 rm -f conftest.
$ac_objext conftest
$ac_exeext
25926 if { (ac_try
="$ac_link"
25927 case "(($ac_try" in
25928 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
25929 *) ac_try_echo=$ac_try;;
25931 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25932 (eval "$ac_link") 2>conftest.er1
25934 grep -v '^ *+' conftest.er1 >conftest.err
25936 cat conftest.err >&5
25937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25938 (exit $ac_status); } && {
25939 test -z "$ac_c_werror_flag" ||
25940 test ! -s conftest.err
25941 } && test -s conftest$ac_exeext &&
25942 $as_test_x conftest$ac_exeext; then
25943 eval "$as_ac_var=yes"
25945 echo "$as_me: failed program was:" >&5
25946 sed 's/^/| /' conftest.$ac_ext >&5
25948 eval "$as_ac_var=no"
25951 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25952 conftest$ac_exeext conftest.$ac_ext
25954 ac_res=`eval echo '${'$as_ac_var'}'`
25955 { echo "$as_me:$LINENO: result: $ac_res" >&5
25956 echo "${ECHO_T}$ac_res" >&6; }
25957 if test `eval echo '${'$as_ac_var'}'` = yes; then
25958 cat >>confdefs.h <<_ACEOF
25959 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25965 { echo "$as_me:$LINENO: checking if floating point functions link with -lm" >&5
25966 echo $ECHO_N "checking if floating point functions link with -lm... $ECHO_C" >&6; }
25967 if test "$have_sin" = 1 -a "$have_ceil" = 1; then
25968 { echo "$as_me:$LINENO: result: yes" >&5
25969 echo "${ECHO_T}yes" >&6; }
25971 { echo "$as_me:$LINENO: result: no" >&5
25972 echo "${ECHO_T}no" >&6; }
25973 # not sure we should warn the user, crash, etc.
25978 ac_cpp='$CXXCPP $CPPFLAGS'
25979 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25980 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25981 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25983 if test "wxUSE_UNICODE" = "yes"; then
25985 for wx_func in wcstoull
25987 { echo "$as_me:$LINENO: checking for $wx_func" >&5
25988 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
25989 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
25990 echo $ECHO_N "(cached) $ECHO_C" >&6
25993 cat >conftest.$ac_ext <<_ACEOF
25997 cat confdefs.h >>conftest.$ac_ext
25998 cat >>conftest.$ac_ext <<_ACEOF
25999 /* end confdefs.h. */
26002 $ac_includes_default
26018 rm -f conftest.$ac_objext conftest$ac_exeext
26019 if { (ac_try="$ac_link"
26020 case "(($ac_try" in
26021 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
26022 *) ac_try_echo
=$ac_try;;
26024 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26025 (eval "$ac_link") 2>conftest.er1
26027 grep -v '^ *+' conftest.er1
>conftest.err
26029 cat conftest.err
>&5
26030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26031 (exit $ac_status); } && {
26032 test -z "$ac_cxx_werror_flag" ||
26033 test ! -s conftest.err
26034 } && test -s conftest
$ac_exeext &&
26035 $as_test_x conftest
$ac_exeext; then
26036 eval wx_cv_func_
$wx_func=yes
26038 echo "$as_me: failed program was:" >&5
26039 sed 's/^/| /' conftest.
$ac_ext >&5
26041 eval wx_cv_func_
$wx_func=no
26044 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
26045 conftest
$ac_exeext conftest.
$ac_ext
26048 ac_res
=`eval echo '${'wx_cv_func_$wx_func'}'`
26049 { echo "$as_me:$LINENO: result: $ac_res" >&5
26050 echo "${ECHO_T}$ac_res" >&6; }
26052 if eval test \
$wx_cv_func_$wx_func = yes
26054 cat >>confdefs.h
<<_ACEOF
26055 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
26067 for wx_func
in strtoull
26069 { echo "$as_me:$LINENO: checking for $wx_func" >&5
26070 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
26071 if { as_var
=wx_cv_func_
$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
26072 echo $ECHO_N "(cached) $ECHO_C" >&6
26075 cat >conftest.
$ac_ext <<_ACEOF
26079 cat confdefs.h
>>conftest.
$ac_ext
26080 cat >>conftest.
$ac_ext <<_ACEOF
26081 /* end confdefs.h. */
26084 $ac_includes_default
26100 rm -f conftest.
$ac_objext conftest
$ac_exeext
26101 if { (ac_try
="$ac_link"
26102 case "(($ac_try" in
26103 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
26104 *) ac_try_echo=$ac_try;;
26106 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26107 (eval "$ac_link") 2>conftest.er1
26109 grep -v '^ *+' conftest.er1 >conftest.err
26111 cat conftest.err >&5
26112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26113 (exit $ac_status); } && {
26114 test -z "$ac_cxx_werror_flag" ||
26115 test ! -s conftest.err
26116 } && test -s conftest$ac_exeext &&
26117 $as_test_x conftest$ac_exeext; then
26118 eval wx_cv_func_$wx_func=yes
26120 echo "$as_me: failed program was:" >&5
26121 sed 's/^/| /' conftest.$ac_ext >&5
26123 eval wx_cv_func_$wx_func=no
26126 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26127 conftest$ac_exeext conftest.$ac_ext
26130 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
26131 { echo "$as_me:$LINENO: result: $ac_res" >&5
26132 echo "${ECHO_T}$ac_res" >&6; }
26134 if eval test \$wx_cv_func_$wx_func = yes
26136 cat >>confdefs.h <<_ACEOF
26137 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
26149 ac_cpp='$CPP $CPPFLAGS'
26150 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26151 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26152 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26157 if test "$wxUSE_REGEX" != "no"; then
26158 cat >>confdefs.h <<\_ACEOF
26159 #define wxUSE_REGEX 1
26163 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_REGEX" = "yes"; then
26164 { echo "$as_me:$LINENO: WARNING: Defaulting to the builtin regex library for Unicode build." >&5
26165 echo "$as_me: WARNING: Defaulting to the builtin regex library for Unicode build." >&2;}
26166 wxUSE_REGEX=builtin
26169 if test "$wxUSE_REGEX" = "sys" -o "$wxUSE_REGEX" = "yes" ; then
26170 { echo "$as_me:$LINENO: checking for regex.h" >&5
26171 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6; }
26172 if test "${ac_cv_header_regex_h+set}" = set; then
26173 echo $ECHO_N "(cached) $ECHO_C" >&6
26175 cat >conftest.$ac_ext <<_ACEOF
26178 cat confdefs.h >>conftest.$ac_ext
26179 cat >>conftest.$ac_ext <<_ACEOF
26180 /* end confdefs.h. */
26185 rm -f conftest.$ac_objext
26186 if { (ac_try="$ac_compile"
26187 case "(($ac_try" in
26188 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
26189 *) ac_try_echo
=$ac_try;;
26191 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26192 (eval "$ac_compile") 2>conftest.er1
26194 grep -v '^ *+' conftest.er1
>conftest.err
26196 cat conftest.err
>&5
26197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26198 (exit $ac_status); } && {
26199 test -z "$ac_c_werror_flag" ||
26200 test ! -s conftest.err
26201 } && test -s conftest.
$ac_objext; then
26202 ac_cv_header_regex_h
=yes
26204 echo "$as_me: failed program was:" >&5
26205 sed 's/^/| /' conftest.
$ac_ext >&5
26207 ac_cv_header_regex_h
=no
26210 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
26212 { echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
26213 echo "${ECHO_T}$ac_cv_header_regex_h" >&6; }
26214 if test $ac_cv_header_regex_h = yes; then
26217 for ac_func
in regcomp re_search
26219 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26220 { echo "$as_me:$LINENO: checking for $ac_func" >&5
26221 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
26222 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
26223 echo $ECHO_N "(cached) $ECHO_C" >&6
26225 cat >conftest.
$ac_ext <<_ACEOF
26228 cat confdefs.h
>>conftest.
$ac_ext
26229 cat >>conftest.
$ac_ext <<_ACEOF
26230 /* end confdefs.h. */
26231 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
26232 For example, HP-UX 11i <limits.h> declares gettimeofday. */
26233 #define $ac_func innocuous_$ac_func
26235 /* System header to define __stub macros and hopefully few prototypes,
26236 which can conflict with char $ac_func (); below.
26237 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26238 <limits.h> exists even on freestanding compilers. */
26241 # include <limits.h>
26243 # include <assert.h>
26248 /* Override any GCC internal prototype to avoid an error.
26249 Use char because int might match the return type of a GCC
26250 builtin and then its argument prototype would still apply. */
26255 /* The GNU C library defines this for functions which it implements
26256 to always fail with ENOSYS. Some functions are actually named
26257 something starting with __ and the normal name is an alias. */
26258 #if defined __stub_$ac_func || defined __stub___$ac_func
26265 return $ac_func ();
26270 rm -f conftest.
$ac_objext conftest
$ac_exeext
26271 if { (ac_try
="$ac_link"
26272 case "(($ac_try" in
26273 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
26274 *) ac_try_echo=$ac_try;;
26276 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26277 (eval "$ac_link") 2>conftest.er1
26279 grep -v '^ *+' conftest.er1 >conftest.err
26281 cat conftest.err >&5
26282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26283 (exit $ac_status); } && {
26284 test -z "$ac_c_werror_flag" ||
26285 test ! -s conftest.err
26286 } && test -s conftest$ac_exeext &&
26287 $as_test_x conftest$ac_exeext; then
26288 eval "$as_ac_var=yes"
26290 echo "$as_me: failed program was:" >&5
26291 sed 's/^/| /' conftest.$ac_ext >&5
26293 eval "$as_ac_var=no"
26296 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26297 conftest$ac_exeext conftest.$ac_ext
26299 ac_res=`eval echo '${'$as_ac_var'}'`
26300 { echo "$as_me:$LINENO: result: $ac_res" >&5
26301 echo "${ECHO_T}$ac_res" >&6; }
26302 if test `eval echo '${'$as_ac_var'}'` = yes; then
26303 cat >>confdefs.h <<_ACEOF
26304 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26314 if test "x$ac_cv_func_regcomp" != "xyes"; then
26315 if test "$wxUSE_REGEX" = "sys" ; then
26316 { { echo "$as_me:$LINENO: error: system regex library not found! Use --with-regex to use built-in version" >&5
26317 echo "$as_me: error: system regex library not found! Use --with-regex to use built-in version" >&2;}
26318 { (exit 1); exit 1; }; }
26320 { echo "$as_me:$LINENO: WARNING: system regex library not found, will use built-in instead" >&5
26321 echo "$as_me: WARNING: system regex library not found, will use built-in instead" >&2;}
26322 wxUSE_REGEX=builtin
26326 cat >>confdefs.h <<\_ACEOF
26327 #define WX_NO_REGEX_ADVANCED 1
26336 if test "$wxUSE_ZLIB" != "no" ; then
26337 cat >>confdefs.h <<\_ACEOF
26338 #define wxUSE_ZLIB 1
26342 if test "$wxUSE_ZLIB" = "sys" -o "$wxUSE_ZLIB" = "yes" ; then
26343 if test "$USE_DARWIN" = 1; then
26344 system_zlib_h_ok="yes"
26346 { echo "$as_me:$LINENO: checking for zlib.h >= 1.1.4" >&5
26347 echo $ECHO_N "checking for zlib.h >= 1.1.4... $ECHO_C" >&6; }
26348 if test "${ac_cv_header_zlib_h+set}" = set; then
26349 echo $ECHO_N "(cached) $ECHO_C" >&6
26351 if test "$cross_compiling" = yes; then
26352 unset ac_cv_header_zlib_h
26355 cat >conftest.$ac_ext <<_ACEOF
26358 cat confdefs.h >>conftest.$ac_ext
26359 cat >>conftest.$ac_ext <<_ACEOF
26360 /* end confdefs.h. */
26367 FILE *f=fopen("conftestval", "w");
26370 ZLIB_VERSION[0] == '1' &&
26371 (ZLIB_VERSION[2] > '1' ||
26372 (ZLIB_VERSION[2] == '1' &&
26373 ZLIB_VERSION[4] >= '4')) ? "yes" : "no");
26378 rm -f conftest$ac_exeext
26379 if { (ac_try="$ac_link"
26380 case "(($ac_try" in
26381 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
26382 *) ac_try_echo
=$ac_try;;
26384 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26385 (eval "$ac_link") 2>&5
26387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26388 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
26389 { (case "(($ac_try" in
26390 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
26391 *) ac_try_echo=$ac_try;;
26393 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26394 (eval "$ac_try") 2>&5
26396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26397 (exit $ac_status); }; }; then
26398 ac_cv_header_zlib_h=`cat conftestval
`
26400 echo "$as_me: program exited with status $ac_status" >&5
26401 echo "$as_me: failed program was:" >&5
26402 sed 's/^/| /' conftest.$ac_ext >&5
26404 ( exit $ac_status )
26405 ac_cv_header_zlib_h=no
26407 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
26413 { echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
26414 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6; }
26415 { echo "$as_me:$LINENO: checking for zlib.h" >&5
26416 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6; }
26417 if test "${ac_cv_header_zlib_h+set}" = set; then
26418 echo $ECHO_N "(cached) $ECHO_C" >&6
26420 cat >conftest.$ac_ext <<_ACEOF
26423 cat confdefs.h >>conftest.$ac_ext
26424 cat >>conftest.$ac_ext <<_ACEOF
26425 /* end confdefs.h. */
26430 rm -f conftest.$ac_objext
26431 if { (ac_try="$ac_compile"
26432 case "(($ac_try" in
26433 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
26434 *) ac_try_echo
=$ac_try;;
26436 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26437 (eval "$ac_compile") 2>conftest.er1
26439 grep -v '^ *+' conftest.er1
>conftest.err
26441 cat conftest.err
>&5
26442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26443 (exit $ac_status); } && {
26444 test -z "$ac_c_werror_flag" ||
26445 test ! -s conftest.err
26446 } && test -s conftest.
$ac_objext; then
26447 ac_cv_header_zlib_h
=yes
26449 echo "$as_me: failed program was:" >&5
26450 sed 's/^/| /' conftest.
$ac_ext >&5
26452 ac_cv_header_zlib_h
=no
26455 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
26457 { echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
26458 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6; }
26462 system_zlib_h_ok
=$ac_cv_header_zlib_h
26465 if test "$system_zlib_h_ok" = "yes"; then
26466 { echo "$as_me:$LINENO: checking for deflate in -lz" >&5
26467 echo $ECHO_N "checking for deflate in -lz... $ECHO_C" >&6; }
26468 if test "${ac_cv_lib_z_deflate+set}" = set; then
26469 echo $ECHO_N "(cached) $ECHO_C" >&6
26471 ac_check_lib_save_LIBS
=$LIBS
26473 cat >conftest.
$ac_ext <<_ACEOF
26476 cat confdefs.h
>>conftest.
$ac_ext
26477 cat >>conftest.
$ac_ext <<_ACEOF
26478 /* end confdefs.h. */
26480 /* Override any GCC internal prototype to avoid an error.
26481 Use char because int might match the return type of a GCC
26482 builtin and then its argument prototype would still apply. */
26495 rm -f conftest.
$ac_objext conftest
$ac_exeext
26496 if { (ac_try
="$ac_link"
26497 case "(($ac_try" in
26498 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
26499 *) ac_try_echo=$ac_try;;
26501 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26502 (eval "$ac_link") 2>conftest.er1
26504 grep -v '^ *+' conftest.er1 >conftest.err
26506 cat conftest.err >&5
26507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26508 (exit $ac_status); } && {
26509 test -z "$ac_c_werror_flag" ||
26510 test ! -s conftest.err
26511 } && test -s conftest$ac_exeext &&
26512 $as_test_x conftest$ac_exeext; then
26513 ac_cv_lib_z_deflate=yes
26515 echo "$as_me: failed program was:" >&5
26516 sed 's/^/| /' conftest.$ac_ext >&5
26518 ac_cv_lib_z_deflate=no
26521 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26522 conftest$ac_exeext conftest.$ac_ext
26523 LIBS=$ac_check_lib_save_LIBS
26525 { echo "$as_me:$LINENO: result: $ac_cv_lib_z_deflate" >&5
26526 echo "${ECHO_T}$ac_cv_lib_z_deflate" >&6; }
26527 if test $ac_cv_lib_z_deflate = yes; then
26533 if test "x$ZLIB_LINK" = "x" ; then
26534 if test "$wxUSE_ZLIB" = "sys" ; then
26535 { { echo "$as_me:$LINENO: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&5
26536 echo "$as_me: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&2;}
26537 { (exit 1); exit 1; }; }
26539 { echo "$as_me:$LINENO: WARNING: zlib library not found or too old, will use built-in instead" >&5
26540 echo "$as_me: WARNING: zlib library not found or too old, will use built-in instead" >&2;}
26551 if test "$wxUSE_LIBPNG" != "no" ; then
26552 cat >>confdefs.h <<\_ACEOF
26553 #define wxUSE_LIBPNG 1
26557 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBPNG" = "builtin" ; then
26558 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&5
26559 echo "$as_me: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&2;}
26563 if test "$wxUSE_MGL" != 1 -a "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
26564 { echo "$as_me:$LINENO: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&5
26565 echo "$as_me: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&2;}
26566 wxUSE_LIBPNG=builtin
26569 if test "$wxUSE_MGL" != 1 ; then
26570 if test "$wxUSE_LIBPNG" = "sys" -o "$wxUSE_LIBPNG" = "yes" ; then
26571 { echo "$as_me:$LINENO: checking for png.h > 0.90" >&5
26572 echo $ECHO_N "checking for png.h > 0.90... $ECHO_C" >&6; }
26573 if test "${ac_cv_header_png_h+set}" = set; then
26574 echo $ECHO_N "(cached) $ECHO_C" >&6
26576 if test "$cross_compiling" = yes; then
26577 unset ac_cv_header_png_h
26580 cat >conftest.$ac_ext <<_ACEOF
26583 cat confdefs.h >>conftest.$ac_ext
26584 cat >>conftest.$ac_ext <<_ACEOF
26585 /* end confdefs.h. */
26592 FILE *f=fopen("conftestval", "w");
26595 PNG_LIBPNG_VER > 90 ? "yes" : "no");
26600 rm -f conftest$ac_exeext
26601 if { (ac_try="$ac_link"
26602 case "(($ac_try" in
26603 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
26604 *) ac_try_echo
=$ac_try;;
26606 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26607 (eval "$ac_link") 2>&5
26609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26610 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
26611 { (case "(($ac_try" in
26612 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
26613 *) ac_try_echo=$ac_try;;
26615 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26616 (eval "$ac_try") 2>&5
26618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26619 (exit $ac_status); }; }; then
26620 ac_cv_header_png_h=`cat conftestval
`
26622 echo "$as_me: program exited with status $ac_status" >&5
26623 echo "$as_me: failed program was:" >&5
26624 sed 's/^/| /' conftest.$ac_ext >&5
26626 ( exit $ac_status )
26627 ac_cv_header_png_h=no
26629 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
26635 { echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
26636 echo "${ECHO_T}$ac_cv_header_png_h" >&6; }
26637 { echo "$as_me:$LINENO: checking for png.h" >&5
26638 echo $ECHO_N "checking for png.h... $ECHO_C" >&6; }
26639 if test "${ac_cv_header_png_h+set}" = set; then
26640 echo $ECHO_N "(cached) $ECHO_C" >&6
26642 cat >conftest.$ac_ext <<_ACEOF
26645 cat confdefs.h >>conftest.$ac_ext
26646 cat >>conftest.$ac_ext <<_ACEOF
26647 /* end confdefs.h. */
26652 rm -f conftest.$ac_objext
26653 if { (ac_try="$ac_compile"
26654 case "(($ac_try" in
26655 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
26656 *) ac_try_echo
=$ac_try;;
26658 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26659 (eval "$ac_compile") 2>conftest.er1
26661 grep -v '^ *+' conftest.er1
>conftest.err
26663 cat conftest.err
>&5
26664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26665 (exit $ac_status); } && {
26666 test -z "$ac_c_werror_flag" ||
26667 test ! -s conftest.err
26668 } && test -s conftest.
$ac_objext; then
26669 ac_cv_header_png_h
=yes
26671 echo "$as_me: failed program was:" >&5
26672 sed 's/^/| /' conftest.
$ac_ext >&5
26674 ac_cv_header_png_h
=no
26677 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
26679 { echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
26680 echo "${ECHO_T}$ac_cv_header_png_h" >&6; }
26684 if test "$ac_cv_header_png_h" = "yes"; then
26685 { echo "$as_me:$LINENO: checking for png_check_sig in -lpng" >&5
26686 echo $ECHO_N "checking for png_check_sig in -lpng... $ECHO_C" >&6; }
26687 if test "${ac_cv_lib_png_png_check_sig+set}" = set; then
26688 echo $ECHO_N "(cached) $ECHO_C" >&6
26690 ac_check_lib_save_LIBS
=$LIBS
26691 LIBS
="-lpng -lz -lm $LIBS"
26692 cat >conftest.
$ac_ext <<_ACEOF
26695 cat confdefs.h
>>conftest.
$ac_ext
26696 cat >>conftest.
$ac_ext <<_ACEOF
26697 /* end confdefs.h. */
26699 /* Override any GCC internal prototype to avoid an error.
26700 Use char because int might match the return type of a GCC
26701 builtin and then its argument prototype would still apply. */
26705 char png_check_sig ();
26709 return png_check_sig ();
26714 rm -f conftest.
$ac_objext conftest
$ac_exeext
26715 if { (ac_try
="$ac_link"
26716 case "(($ac_try" in
26717 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
26718 *) ac_try_echo=$ac_try;;
26720 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26721 (eval "$ac_link") 2>conftest.er1
26723 grep -v '^ *+' conftest.er1 >conftest.err
26725 cat conftest.err >&5
26726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26727 (exit $ac_status); } && {
26728 test -z "$ac_c_werror_flag" ||
26729 test ! -s conftest.err
26730 } && test -s conftest$ac_exeext &&
26731 $as_test_x conftest$ac_exeext; then
26732 ac_cv_lib_png_png_check_sig=yes
26734 echo "$as_me: failed program was:" >&5
26735 sed 's/^/| /' conftest.$ac_ext >&5
26737 ac_cv_lib_png_png_check_sig=no
26740 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26741 conftest$ac_exeext conftest.$ac_ext
26742 LIBS=$ac_check_lib_save_LIBS
26744 { echo "$as_me:$LINENO: result: $ac_cv_lib_png_png_check_sig" >&5
26745 echo "${ECHO_T}$ac_cv_lib_png_png_check_sig" >&6; }
26746 if test $ac_cv_lib_png_png_check_sig = yes; then
26747 PNG_LINK=" -lpng -lz"
26752 if test "x$PNG_LINK" = "x" ; then
26753 if test "$wxUSE_LIBPNG" = "sys" ; then
26754 { { echo "$as_me:$LINENO: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&5
26755 echo "$as_me: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&2;}
26756 { (exit 1); exit 1; }; }
26758 { echo "$as_me:$LINENO: WARNING: system png library not found or too old, will use built-in instead" >&5
26759 echo "$as_me: WARNING: system png library not found or too old, will use built-in instead" >&2;}
26760 wxUSE_LIBPNG=builtin
26771 if test "$wxUSE_LIBJPEG" != "no" ; then
26772 cat >>confdefs.h <<\_ACEOF
26773 #define wxUSE_LIBJPEG 1
26777 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBJPEG" = "builtin" ; then
26778 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&5
26779 echo "$as_me: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&2;}
26783 if test "$wxUSE_MGL" != 1 ; then
26784 if test "$wxUSE_LIBJPEG" = "sys" -o "$wxUSE_LIBJPEG" = "yes" ; then
26785 { echo "$as_me:$LINENO: checking for jpeglib.h" >&5
26786 echo $ECHO_N "checking for jpeglib.h... $ECHO_C" >&6; }
26787 if test "${ac_cv_header_jpeglib_h+set}" = set; then
26788 echo $ECHO_N "(cached) $ECHO_C" >&6
26790 cat >conftest.$ac_ext <<_ACEOF
26793 cat confdefs.h >>conftest.$ac_ext
26794 cat >>conftest.$ac_ext <<_ACEOF
26795 /* end confdefs.h. */
26797 #undef HAVE_STDLIB_H
26799 #include <jpeglib.h>
26810 rm -f conftest.$ac_objext
26811 if { (ac_try="$ac_compile"
26812 case "(($ac_try" in
26813 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
26814 *) ac_try_echo
=$ac_try;;
26816 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26817 (eval "$ac_compile") 2>conftest.er1
26819 grep -v '^ *+' conftest.er1
>conftest.err
26821 cat conftest.err
>&5
26822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26823 (exit $ac_status); } && {
26824 test -z "$ac_c_werror_flag" ||
26825 test ! -s conftest.err
26826 } && test -s conftest.
$ac_objext; then
26827 ac_cv_header_jpeglib_h
=yes
26829 echo "$as_me: failed program was:" >&5
26830 sed 's/^/| /' conftest.
$ac_ext >&5
26832 ac_cv_header_jpeglib_h
=no
26836 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
26840 { echo "$as_me:$LINENO: result: $ac_cv_header_jpeglib_h" >&5
26841 echo "${ECHO_T}$ac_cv_header_jpeglib_h" >&6; }
26843 if test "$ac_cv_header_jpeglib_h" = "yes"; then
26844 { echo "$as_me:$LINENO: checking for jpeg_read_header in -ljpeg" >&5
26845 echo $ECHO_N "checking for jpeg_read_header in -ljpeg... $ECHO_C" >&6; }
26846 if test "${ac_cv_lib_jpeg_jpeg_read_header+set}" = set; then
26847 echo $ECHO_N "(cached) $ECHO_C" >&6
26849 ac_check_lib_save_LIBS
=$LIBS
26850 LIBS
="-ljpeg $LIBS"
26851 cat >conftest.
$ac_ext <<_ACEOF
26854 cat confdefs.h
>>conftest.
$ac_ext
26855 cat >>conftest.
$ac_ext <<_ACEOF
26856 /* end confdefs.h. */
26858 /* Override any GCC internal prototype to avoid an error.
26859 Use char because int might match the return type of a GCC
26860 builtin and then its argument prototype would still apply. */
26864 char jpeg_read_header ();
26868 return jpeg_read_header ();
26873 rm -f conftest.
$ac_objext conftest
$ac_exeext
26874 if { (ac_try
="$ac_link"
26875 case "(($ac_try" in
26876 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
26877 *) ac_try_echo=$ac_try;;
26879 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26880 (eval "$ac_link") 2>conftest.er1
26882 grep -v '^ *+' conftest.er1 >conftest.err
26884 cat conftest.err >&5
26885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26886 (exit $ac_status); } && {
26887 test -z "$ac_c_werror_flag" ||
26888 test ! -s conftest.err
26889 } && test -s conftest$ac_exeext &&
26890 $as_test_x conftest$ac_exeext; then
26891 ac_cv_lib_jpeg_jpeg_read_header=yes
26893 echo "$as_me: failed program was:" >&5
26894 sed 's/^/| /' conftest.$ac_ext >&5
26896 ac_cv_lib_jpeg_jpeg_read_header=no
26899 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26900 conftest$ac_exeext conftest.$ac_ext
26901 LIBS=$ac_check_lib_save_LIBS
26903 { echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jpeg_read_header" >&5
26904 echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_read_header" >&6; }
26905 if test $ac_cv_lib_jpeg_jpeg_read_header = yes; then
26906 JPEG_LINK=" -ljpeg"
26911 if test "x$JPEG_LINK" = "x" ; then
26912 if test "$wxUSE_LIBJPEG" = "sys" ; then
26913 { { echo "$as_me:$LINENO: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&5
26914 echo "$as_me: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&2;}
26915 { (exit 1); exit 1; }; }
26917 { echo "$as_me:$LINENO: WARNING: system jpeg library not found, will use built-in instead" >&5
26918 echo "$as_me: WARNING: system jpeg library not found, will use built-in instead" >&2;}
26919 wxUSE_LIBJPEG=builtin
26924 if test "$wxUSE_MSW" = 1; then
26925 { echo "$as_me:$LINENO: checking for boolean" >&5
26926 echo $ECHO_N "checking for boolean... $ECHO_C" >&6; }
26927 if test "${ac_cv_type_boolean+set}" = set; then
26928 echo $ECHO_N "(cached) $ECHO_C" >&6
26930 cat >conftest.$ac_ext <<_ACEOF
26933 cat confdefs.h >>conftest.$ac_ext
26934 cat >>conftest.$ac_ext <<_ACEOF
26935 /* end confdefs.h. */
26936 #include <windows.h>
26938 typedef boolean ac__type_new_;
26942 if ((ac__type_new_ *) 0)
26944 if (sizeof (ac__type_new_))
26950 rm -f conftest.$ac_objext
26951 if { (ac_try="$ac_compile"
26952 case "(($ac_try" in
26953 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
26954 *) ac_try_echo
=$ac_try;;
26956 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26957 (eval "$ac_compile") 2>conftest.er1
26959 grep -v '^ *+' conftest.er1
>conftest.err
26961 cat conftest.err
>&5
26962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26963 (exit $ac_status); } && {
26964 test -z "$ac_c_werror_flag" ||
26965 test ! -s conftest.err
26966 } && test -s conftest.
$ac_objext; then
26967 ac_cv_type_boolean
=yes
26969 echo "$as_me: failed program was:" >&5
26970 sed 's/^/| /' conftest.
$ac_ext >&5
26972 ac_cv_type_boolean
=no
26975 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
26977 { echo "$as_me:$LINENO: result: $ac_cv_type_boolean" >&5
26978 echo "${ECHO_T}$ac_cv_type_boolean" >&6; }
26979 if test $ac_cv_type_boolean = yes; then
26981 cat >>confdefs.h
<<_ACEOF
26982 #define HAVE_BOOLEAN 1
26986 { echo "$as_me:$LINENO: checking for boolean" >&5
26987 echo $ECHO_N "checking for boolean... $ECHO_C" >&6; }
26988 if test "${ac_cv_type_boolean+set}" = set; then
26989 echo $ECHO_N "(cached) $ECHO_C" >&6
26991 cat >conftest.
$ac_ext <<_ACEOF
26994 cat confdefs.h
>>conftest.
$ac_ext
26995 cat >>conftest.
$ac_ext <<_ACEOF
26996 /* end confdefs.h. */
26998 #undef HAVE_BOOLEAN
27000 #include <jpeglib.h>
27003 typedef boolean ac__type_new_;
27007 if ((ac__type_new_ *) 0)
27009 if (sizeof (ac__type_new_))
27015 rm -f conftest.
$ac_objext
27016 if { (ac_try
="$ac_compile"
27017 case "(($ac_try" in
27018 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
27019 *) ac_try_echo=$ac_try;;
27021 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27022 (eval "$ac_compile") 2>conftest.er1
27024 grep -v '^ *+' conftest.er1 >conftest.err
27026 cat conftest.err >&5
27027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27028 (exit $ac_status); } && {
27029 test -z "$ac_c_werror_flag" ||
27030 test ! -s conftest.err
27031 } && test -s conftest.$ac_objext; then
27032 ac_cv_type_boolean=yes
27034 echo "$as_me: failed program was:" >&5
27035 sed 's/^/| /' conftest.$ac_ext >&5
27037 ac_cv_type_boolean=no
27040 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27042 { echo "$as_me:$LINENO: result: $ac_cv_type_boolean" >&5
27043 echo "${ECHO_T}$ac_cv_type_boolean" >&6; }
27045 # The cast to long int works around a bug in the HP C Compiler
27046 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
27047 # declarations like `int a3
[[(sizeof
(unsigned char
)) >= 0]];'.
27048 # This bug is HP SR number 8606223364.
27049 { echo "$as_me:$LINENO: checking size of boolean" >&5
27050 echo $ECHO_N "checking size of boolean... $ECHO_C" >&6; }
27051 if test "${ac_cv_sizeof_boolean+set}" = set; then
27052 echo $ECHO_N "(cached) $ECHO_C" >&6
27054 if test "$cross_compiling" = yes; then
27055 # Depending upon the size, compute the lo and hi bounds.
27056 cat >conftest.$ac_ext <<_ACEOF
27059 cat confdefs.h >>conftest.$ac_ext
27060 cat >>conftest.$ac_ext <<_ACEOF
27061 /* end confdefs.h. */
27063 #undef HAVE_BOOLEAN
27065 #include <jpeglib.h>
27068 typedef boolean ac__type_sizeof_;
27072 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
27079 rm -f conftest.$ac_objext
27080 if { (ac_try="$ac_compile"
27081 case "(($ac_try" in
27082 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27083 *) ac_try_echo=$ac_try;;
27085 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27086 (eval "$ac_compile") 2>conftest.er1
27088 grep -v '^
*+' conftest.er1 >conftest.err
27090 cat conftest.err >&5
27091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27092 (exit $ac_status); } && {
27093 test -z "$ac_c_werror_flag" ||
27094 test ! -s conftest.err
27095 } && test -s conftest.$ac_objext; then
27098 cat >conftest.$ac_ext <<_ACEOF
27101 cat confdefs.h >>conftest.$ac_ext
27102 cat >>conftest.$ac_ext <<_ACEOF
27103 /* end confdefs.h. */
27105 #undef HAVE_BOOLEAN
27107 #include <jpeglib.h>
27110 typedef boolean ac__type_sizeof_;
27114 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
27121 rm -f conftest.$ac_objext
27122 if { (ac_try="$ac_compile"
27123 case "(($ac_try" in
27124 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27125 *) ac_try_echo=$ac_try;;
27127 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27128 (eval "$ac_compile") 2>conftest.er1
27130 grep -v '^
*+' conftest.er1 >conftest.err
27132 cat conftest.err >&5
27133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27134 (exit $ac_status); } && {
27135 test -z "$ac_c_werror_flag" ||
27136 test ! -s conftest.err
27137 } && test -s conftest.$ac_objext; then
27138 ac_hi=$ac_mid; break
27140 echo "$as_me: failed program was:" >&5
27141 sed 's
/^
/| /' conftest.$ac_ext >&5
27143 ac_lo=`expr $ac_mid + 1`
27144 if test $ac_lo -le $ac_mid; then
27148 ac_mid=`expr 2 '*' $ac_mid + 1`
27151 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27154 echo "$as_me: failed program was:" >&5
27155 sed 's
/^
/| /' conftest.$ac_ext >&5
27157 cat >conftest.$ac_ext <<_ACEOF
27160 cat confdefs.h >>conftest.$ac_ext
27161 cat >>conftest.$ac_ext <<_ACEOF
27162 /* end confdefs.h. */
27164 #undef HAVE_BOOLEAN
27166 #include <jpeglib.h>
27169 typedef boolean ac__type_sizeof_;
27173 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
27180 rm -f conftest.$ac_objext
27181 if { (ac_try="$ac_compile"
27182 case "(($ac_try" in
27183 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27184 *) ac_try_echo=$ac_try;;
27186 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27187 (eval "$ac_compile") 2>conftest.er1
27189 grep -v '^
*+' conftest.er1 >conftest.err
27191 cat conftest.err >&5
27192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27193 (exit $ac_status); } && {
27194 test -z "$ac_c_werror_flag" ||
27195 test ! -s conftest.err
27196 } && test -s conftest.$ac_objext; then
27199 cat >conftest.$ac_ext <<_ACEOF
27202 cat confdefs.h >>conftest.$ac_ext
27203 cat >>conftest.$ac_ext <<_ACEOF
27204 /* end confdefs.h. */
27206 #undef HAVE_BOOLEAN
27208 #include <jpeglib.h>
27211 typedef boolean ac__type_sizeof_;
27215 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
27222 rm -f conftest.$ac_objext
27223 if { (ac_try="$ac_compile"
27224 case "(($ac_try" in
27225 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27226 *) ac_try_echo=$ac_try;;
27228 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27229 (eval "$ac_compile") 2>conftest.er1
27231 grep -v '^
*+' conftest.er1 >conftest.err
27233 cat conftest.err >&5
27234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27235 (exit $ac_status); } && {
27236 test -z "$ac_c_werror_flag" ||
27237 test ! -s conftest.err
27238 } && test -s conftest.$ac_objext; then
27239 ac_lo=$ac_mid; break
27241 echo "$as_me: failed program was:" >&5
27242 sed 's
/^
/| /' conftest.$ac_ext >&5
27244 ac_hi=`expr '(' $ac_mid ')' - 1`
27245 if test $ac_mid -le $ac_hi; then
27249 ac_mid=`expr 2 '*' $ac_mid`
27252 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27255 echo "$as_me: failed program was:" >&5
27256 sed 's
/^
/| /' conftest.$ac_ext >&5
27261 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27264 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27265 # Binary search between lo and hi bounds.
27266 while test "x$ac_lo" != "x$ac_hi"; do
27267 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
27268 cat >conftest.$ac_ext <<_ACEOF
27271 cat confdefs.h >>conftest.$ac_ext
27272 cat >>conftest.$ac_ext <<_ACEOF
27273 /* end confdefs.h. */
27275 #undef HAVE_BOOLEAN
27277 #include <jpeglib.h>
27280 typedef boolean ac__type_sizeof_;
27284 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
27291 rm -f conftest.$ac_objext
27292 if { (ac_try="$ac_compile"
27293 case "(($ac_try" in
27294 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27295 *) ac_try_echo=$ac_try;;
27297 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27298 (eval "$ac_compile") 2>conftest.er1
27300 grep -v '^
*+' conftest.er1 >conftest.err
27302 cat conftest.err >&5
27303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27304 (exit $ac_status); } && {
27305 test -z "$ac_c_werror_flag" ||
27306 test ! -s conftest.err
27307 } && test -s conftest.$ac_objext; then
27310 echo "$as_me: failed program was:" >&5
27311 sed 's
/^
/| /' conftest.$ac_ext >&5
27313 ac_lo=`expr '(' $ac_mid ')' + 1`
27316 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27319 ?*) ac_cv_sizeof_boolean=$ac_lo;;
27320 '') if test "$ac_cv_type_boolean" = yes; then
27321 { { echo "$as_me:$LINENO: error: cannot compute sizeof (boolean)
27322 See \`config.log' for more details.
" >&5
27323 echo "$as_me: error
: cannot compute sizeof
(boolean
)
27324 See \
`config.log' for more details." >&2;}
27325 { (exit 77); exit 77; }; }
27327 ac_cv_sizeof_boolean=0
27331 cat >conftest.$ac_ext <<_ACEOF
27334 cat confdefs.h >>conftest.$ac_ext
27335 cat >>conftest.$ac_ext <<_ACEOF
27336 /* end confdefs.h. */
27338 #undef HAVE_BOOLEAN
27340 #include <jpeglib.h>
27343 typedef boolean ac__type_sizeof_;
27344 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
27345 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
27347 #include <stdlib.h>
27352 FILE *f = fopen ("conftest.val", "w");
27355 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
27357 long int i = longval ();
27358 if (i != ((long int) (sizeof (ac__type_sizeof_))))
27360 fprintf (f, "%ld\n", i);
27364 unsigned long int i = ulongval ();
27365 if (i != ((long int) (sizeof (ac__type_sizeof_))))
27367 fprintf (f, "%lu\n", i);
27369 return ferror (f) || fclose (f) != 0;
27375 rm -f conftest$ac_exeext
27376 if { (ac_try="$ac_link"
27377 case "(($ac_try" in
27378 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
27379 *) ac_try_echo
=$ac_try;;
27381 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27382 (eval "$ac_link") 2>&5
27384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27385 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
27386 { (case "(($ac_try" in
27387 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
27388 *) ac_try_echo=$ac_try;;
27390 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27391 (eval "$ac_try") 2>&5
27393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27394 (exit $ac_status); }; }; then
27395 ac_cv_sizeof_boolean=`cat conftest.val
`
27397 echo "$as_me: program exited with status $ac_status" >&5
27398 echo "$as_me: failed program was:" >&5
27399 sed 's/^/| /' conftest.$ac_ext >&5
27401 ( exit $ac_status )
27402 if test "$ac_cv_type_boolean" = yes; then
27403 { { echo "$as_me:$LINENO: error: cannot compute sizeof (boolean)
27404 See \`config.log
' for more details." >&5
27405 echo "$as_me: error: cannot compute sizeof (boolean)
27406 See \`config.log' for more details.
" >&2;}
27407 { (exit 77); exit 77; }; }
27409 ac_cv_sizeof_boolean=0
27412 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
27416 { echo "$as_me:$LINENO: result
: $ac_cv_sizeof_boolean" >&5
27417 echo "${ECHO_T}$ac_cv_sizeof_boolean" >&6; }
27421 cat >>confdefs.h <<_ACEOF
27422 #define SIZEOF_BOOLEAN $ac_cv_sizeof_boolean
27426 cat >>confdefs.h <<_ACEOF
27427 #define wxHACK_BOOLEAN wxInt`expr 8 \* $ac_cv_sizeof_boolean`
27441 TIFF_PREREQ_LINKS=-lm
27442 if test "$wxUSE_LIBTIFF" != "no
" ; then
27443 cat >>confdefs.h <<\_ACEOF
27444 #define wxUSE_LIBTIFF 1
27448 if test "$wxUSE_LIBTIFF" = "sys
" -o "$wxUSE_LIBTIFF" = "yes" ; then
27449 if test "$wxUSE_LIBJPEG" = "sys
"; then
27450 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $JPEG_LINK"
27452 if test "$wxUSE_ZLIB" = "sys
"; then
27453 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $ZLIB_LINK"
27455 { echo "$as_me:$LINENO: checking
for tiffio.h
" >&5
27456 echo $ECHO_N "checking
for tiffio.h...
$ECHO_C" >&6; }
27457 if test "${ac_cv_header_tiffio_h+set}" = set; then
27458 echo $ECHO_N "(cached
) $ECHO_C" >&6
27460 cat >conftest.$ac_ext <<_ACEOF
27463 cat confdefs.h >>conftest.$ac_ext
27464 cat >>conftest.$ac_ext <<_ACEOF
27465 /* end confdefs.h. */
27469 #include <tiffio.h>
27471 rm -f conftest.$ac_objext
27472 if { (ac_try="$ac_compile"
27473 case "(($ac_try" in
27474 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27475 *) ac_try_echo=$ac_try;;
27477 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
27478 (eval "$ac_compile") 2>conftest.er1
27480 grep -v '^ *+' conftest.er1 >conftest.err
27482 cat conftest.err >&5
27483 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
27484 (exit $ac_status); } && {
27485 test -z "$ac_c_werror_flag" ||
27486 test ! -s conftest.err
27487 } && test -s conftest.$ac_objext; then
27488 ac_cv_header_tiffio_h=yes
27490 echo "$as_me: failed program was
:" >&5
27491 sed 's/^/| /' conftest.$ac_ext >&5
27493 ac_cv_header_tiffio_h=no
27496 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27498 { echo "$as_me:$LINENO: result
: $ac_cv_header_tiffio_h" >&5
27499 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6; }
27500 if test $ac_cv_header_tiffio_h = yes; then
27502 { echo "$as_me:$LINENO: checking
for TIFFError
in -ltiff" >&5
27503 echo $ECHO_N "checking
for TIFFError
in -ltiff...
$ECHO_C" >&6; }
27504 if test "${ac_cv_lib_tiff_TIFFError+set}" = set; then
27505 echo $ECHO_N "(cached
) $ECHO_C" >&6
27507 ac_check_lib_save_LIBS=$LIBS
27508 LIBS="-ltiff $TIFF_PREREQ_LINKS $LIBS"
27509 cat >conftest.$ac_ext <<_ACEOF
27512 cat confdefs.h >>conftest.$ac_ext
27513 cat >>conftest.$ac_ext <<_ACEOF
27514 /* end confdefs.h. */
27516 /* Override any GCC internal prototype to avoid an error.
27517 Use char because int might match the return type of a GCC
27518 builtin and then its argument prototype would still apply. */
27526 return TIFFError ();
27531 rm -f conftest.$ac_objext conftest$ac_exeext
27532 if { (ac_try="$ac_link"
27533 case "(($ac_try" in
27534 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27535 *) ac_try_echo=$ac_try;;
27537 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
27538 (eval "$ac_link") 2>conftest.er1
27540 grep -v '^ *+' conftest.er1 >conftest.err
27542 cat conftest.err >&5
27543 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
27544 (exit $ac_status); } && {
27545 test -z "$ac_c_werror_flag" ||
27546 test ! -s conftest.err
27547 } && test -s conftest$ac_exeext &&
27548 $as_test_x conftest$ac_exeext; then
27549 ac_cv_lib_tiff_TIFFError=yes
27551 echo "$as_me: failed program was
:" >&5
27552 sed 's/^/| /' conftest.$ac_ext >&5
27554 ac_cv_lib_tiff_TIFFError=no
27557 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27558 conftest$ac_exeext conftest.$ac_ext
27559 LIBS=$ac_check_lib_save_LIBS
27561 { echo "$as_me:$LINENO: result
: $ac_cv_lib_tiff_TIFFError" >&5
27562 echo "${ECHO_T}$ac_cv_lib_tiff_TIFFError" >&6; }
27563 if test $ac_cv_lib_tiff_TIFFError = yes; then
27564 TIFF_LINK=" -ltiff"
27572 if test "x
$TIFF_LINK" = "x
" ; then
27573 if test "$wxUSE_LIBTIFF" = "sys
" ; then
27574 { { echo "$as_me:$LINENO: error
: system tiff library not found
! Use
--with-libtiff=builtin to use built
-in version
" >&5
27575 echo "$as_me: error
: system tiff library not found
! Use
--with-libtiff=builtin to use built
-in version
" >&2;}
27576 { (exit 1); exit 1; }; }
27578 { echo "$as_me:$LINENO: WARNING
: system tiff library not found
, will use built
-in instead
" >&5
27579 echo "$as_me: WARNING
: system tiff library not found
, will use built
-in instead
" >&2;}
27580 wxUSE_LIBTIFF=builtin
27586 if test "$wxUSE_LIBTIFF" = "builtin" ; then
27587 if test "$wxUSE_LIBJPEG" = "no
"; then
27588 ac_configure_args="$ac_configure_args --disable-jpeg"
27590 subdirs="$subdirs src
/tiff
"
27596 if test "$wxUSE_WCHAR_T" != "yes"; then
27597 if test "$wxUSE_EXPAT" != "no
"; then
27598 { echo "$as_me:$LINENO: WARNING
: wxWidgets requires wchar_t to use expat
, disabling
" >&5
27599 echo "$as_me: WARNING
: wxWidgets requires wchar_t to use expat
, disabling
" >&2;}
27602 if test "$wxUSE_XML" != "no
"; then
27603 { echo "$as_me:$LINENO: WARNING
: wxWidgets requires wchar_t to use xml
, disabling
" >&5
27604 echo "$as_me: WARNING
: wxWidgets requires wchar_t to use xml
, disabling
" >&2;}
27609 if test "$wxUSE_EXPAT" != "no
"; then
27611 cat >>confdefs.h <<\_ACEOF
27612 #define wxUSE_EXPAT 1
27615 cat >>confdefs.h <<\_ACEOF
27616 #define wxUSE_XML 1
27620 if test "$wxUSE_EXPAT" = "sys
" -o "$wxUSE_EXPAT" = "yes" ; then
27621 { echo "$as_me:$LINENO: checking
for expat.h
" >&5
27622 echo $ECHO_N "checking
for expat.h...
$ECHO_C" >&6; }
27623 if test "${ac_cv_header_expat_h+set}" = set; then
27624 echo $ECHO_N "(cached
) $ECHO_C" >&6
27626 cat >conftest.$ac_ext <<_ACEOF
27629 cat confdefs.h >>conftest.$ac_ext
27630 cat >>conftest.$ac_ext <<_ACEOF
27631 /* end confdefs.h. */
27636 rm -f conftest.$ac_objext
27637 if { (ac_try="$ac_compile"
27638 case "(($ac_try" in
27639 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27640 *) ac_try_echo=$ac_try;;
27642 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
27643 (eval "$ac_compile") 2>conftest.er1
27645 grep -v '^ *+' conftest.er1 >conftest.err
27647 cat conftest.err >&5
27648 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
27649 (exit $ac_status); } && {
27650 test -z "$ac_c_werror_flag" ||
27651 test ! -s conftest.err
27652 } && test -s conftest.$ac_objext; then
27653 ac_cv_header_expat_h=yes
27655 echo "$as_me: failed program was
:" >&5
27656 sed 's/^/| /' conftest.$ac_ext >&5
27658 ac_cv_header_expat_h=no
27661 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27663 { echo "$as_me:$LINENO: result
: $ac_cv_header_expat_h" >&5
27664 echo "${ECHO_T}$ac_cv_header_expat_h" >&6; }
27665 if test $ac_cv_header_expat_h = yes; then
27670 if test "x
$found_expat_h" = "x1
"; then
27671 { echo "$as_me:$LINENO: checking
if expat.h is valid C
++ header
" >&5
27672 echo $ECHO_N "checking
if expat.h is valid C
++ header...
$ECHO_C" >&6; }
27673 if test "${wx_cv_expat_is_not_broken+set}" = set; then
27674 echo $ECHO_N "(cached
) $ECHO_C" >&6
27678 ac_cpp='$CXXCPP $CPPFLAGS'
27679 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27680 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27681 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27683 cat >conftest.$ac_ext <<_ACEOF
27686 cat confdefs.h >>conftest.$ac_ext
27687 cat >>conftest.$ac_ext <<_ACEOF
27688 /* end confdefs.h. */
27698 rm -f conftest.$ac_objext
27699 if { (ac_try="$ac_compile"
27700 case "(($ac_try" in
27701 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27702 *) ac_try_echo=$ac_try;;
27704 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
27705 (eval "$ac_compile") 2>conftest.er1
27707 grep -v '^ *+' conftest.er1 >conftest.err
27709 cat conftest.err >&5
27710 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
27711 (exit $ac_status); } && {
27712 test -z "$ac_cxx_werror_flag" ||
27713 test ! -s conftest.err
27714 } && test -s conftest.$ac_objext; then
27715 wx_cv_expat_is_not_broken=yes
27717 echo "$as_me: failed program was
:" >&5
27718 sed 's/^/| /' conftest.$ac_ext >&5
27720 wx_cv_expat_is_not_broken=no
27724 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27726 ac_cpp='$CPP $CPPFLAGS'
27727 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27728 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27729 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27734 { echo "$as_me:$LINENO: result
: $wx_cv_expat_is_not_broken" >&5
27735 echo "${ECHO_T}$wx_cv_expat_is_not_broken" >&6; }
27736 if test "$wx_cv_expat_is_not_broken" = "yes" ; then
27737 { echo "$as_me:$LINENO: checking
for XML_ParserCreate
in -lexpat" >&5
27738 echo $ECHO_N "checking
for XML_ParserCreate
in -lexpat...
$ECHO_C" >&6; }
27739 if test "${ac_cv_lib_expat_XML_ParserCreate+set}" = set; then
27740 echo $ECHO_N "(cached
) $ECHO_C" >&6
27742 ac_check_lib_save_LIBS=$LIBS
27743 LIBS="-lexpat $LIBS"
27744 cat >conftest.$ac_ext <<_ACEOF
27747 cat confdefs.h >>conftest.$ac_ext
27748 cat >>conftest.$ac_ext <<_ACEOF
27749 /* end confdefs.h. */
27751 /* Override any GCC internal prototype to avoid an error.
27752 Use char because int might match the return type of a GCC
27753 builtin and then its argument prototype would still apply. */
27757 char XML_ParserCreate ();
27761 return XML_ParserCreate ();
27766 rm -f conftest.$ac_objext conftest$ac_exeext
27767 if { (ac_try="$ac_link"
27768 case "(($ac_try" in
27769 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27770 *) ac_try_echo=$ac_try;;
27772 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
27773 (eval "$ac_link") 2>conftest.er1
27775 grep -v '^ *+' conftest.er1 >conftest.err
27777 cat conftest.err >&5
27778 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
27779 (exit $ac_status); } && {
27780 test -z "$ac_c_werror_flag" ||
27781 test ! -s conftest.err
27782 } && test -s conftest$ac_exeext &&
27783 $as_test_x conftest$ac_exeext; then
27784 ac_cv_lib_expat_XML_ParserCreate=yes
27786 echo "$as_me: failed program was
:" >&5
27787 sed 's/^/| /' conftest.$ac_ext >&5
27789 ac_cv_lib_expat_XML_ParserCreate=no
27792 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27793 conftest$ac_exeext conftest.$ac_ext
27794 LIBS=$ac_check_lib_save_LIBS
27796 { echo "$as_me:$LINENO: result
: $ac_cv_lib_expat_XML_ParserCreate" >&5
27797 echo "${ECHO_T}$ac_cv_lib_expat_XML_ParserCreate" >&6; }
27798 if test $ac_cv_lib_expat_XML_ParserCreate = yes; then
27799 EXPAT_LINK=" -lexpat"
27804 if test "x
$EXPAT_LINK" = "x
" ; then
27805 if test "$wxUSE_EXPAT" = "sys
" ; then
27806 { { echo "$as_me:$LINENO: error
: system expat library not found
! Use
--with-expat=builtin to use built
-in version
" >&5
27807 echo "$as_me: error
: system expat library not found
! Use
--with-expat=builtin to use built
-in version
" >&2;}
27808 { (exit 1); exit 1; }; }
27810 { echo "$as_me:$LINENO: WARNING
: system expat library not found
, will use built
-in instead
" >&5
27811 echo "$as_me: WARNING
: system expat library not found
, will use built
-in instead
" >&2;}
27812 wxUSE_EXPAT=builtin
27818 if test "$wxUSE_EXPAT" = "builtin" ; then
27819 subdirs="$subdirs src
/expat
"
27826 if test "$wxUSE_LIBMSPACK" != "no
"; then
27827 { echo "$as_me:$LINENO: checking
for mspack.h
" >&5
27828 echo $ECHO_N "checking
for mspack.h...
$ECHO_C" >&6; }
27829 if test "${ac_cv_header_mspack_h+set}" = set; then
27830 echo $ECHO_N "(cached
) $ECHO_C" >&6
27832 cat >conftest.$ac_ext <<_ACEOF
27835 cat confdefs.h >>conftest.$ac_ext
27836 cat >>conftest.$ac_ext <<_ACEOF
27837 /* end confdefs.h. */
27840 #include <mspack.h>
27842 rm -f conftest.$ac_objext
27843 if { (ac_try="$ac_compile"
27844 case "(($ac_try" in
27845 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27846 *) ac_try_echo=$ac_try;;
27848 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
27849 (eval "$ac_compile") 2>conftest.er1
27851 grep -v '^ *+' conftest.er1 >conftest.err
27853 cat conftest.err >&5
27854 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
27855 (exit $ac_status); } && {
27856 test -z "$ac_c_werror_flag" ||
27857 test ! -s conftest.err
27858 } && test -s conftest.$ac_objext; then
27859 ac_cv_header_mspack_h=yes
27861 echo "$as_me: failed program was
:" >&5
27862 sed 's/^/| /' conftest.$ac_ext >&5
27864 ac_cv_header_mspack_h=no
27867 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27869 { echo "$as_me:$LINENO: result
: $ac_cv_header_mspack_h" >&5
27870 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6; }
27871 if test $ac_cv_header_mspack_h = yes; then
27876 if test "x
$found_mspack_h" = "x1
"; then
27877 { echo "$as_me:$LINENO: checking
for mspack_create_chm_decompressor
in -lmspack" >&5
27878 echo $ECHO_N "checking
for mspack_create_chm_decompressor
in -lmspack...
$ECHO_C" >&6; }
27879 if test "${ac_cv_lib_mspack_mspack_create_chm_decompressor+set}" = set; then
27880 echo $ECHO_N "(cached
) $ECHO_C" >&6
27882 ac_check_lib_save_LIBS=$LIBS
27883 LIBS="-lmspack $LIBS"
27884 cat >conftest.$ac_ext <<_ACEOF
27887 cat confdefs.h >>conftest.$ac_ext
27888 cat >>conftest.$ac_ext <<_ACEOF
27889 /* end confdefs.h. */
27891 /* Override any GCC internal prototype to avoid an error.
27892 Use char because int might match the return type of a GCC
27893 builtin and then its argument prototype would still apply. */
27897 char mspack_create_chm_decompressor ();
27901 return mspack_create_chm_decompressor ();
27906 rm -f conftest.$ac_objext conftest$ac_exeext
27907 if { (ac_try="$ac_link"
27908 case "(($ac_try" in
27909 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27910 *) ac_try_echo=$ac_try;;
27912 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
27913 (eval "$ac_link") 2>conftest.er1
27915 grep -v '^ *+' conftest.er1 >conftest.err
27917 cat conftest.err >&5
27918 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
27919 (exit $ac_status); } && {
27920 test -z "$ac_c_werror_flag" ||
27921 test ! -s conftest.err
27922 } && test -s conftest$ac_exeext &&
27923 $as_test_x conftest$ac_exeext; then
27924 ac_cv_lib_mspack_mspack_create_chm_decompressor=yes
27926 echo "$as_me: failed program was
:" >&5
27927 sed 's/^/| /' conftest.$ac_ext >&5
27929 ac_cv_lib_mspack_mspack_create_chm_decompressor=no
27932 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27933 conftest$ac_exeext conftest.$ac_ext
27934 LIBS=$ac_check_lib_save_LIBS
27936 { echo "$as_me:$LINENO: result
: $ac_cv_lib_mspack_mspack_create_chm_decompressor" >&5
27937 echo "${ECHO_T}$ac_cv_lib_mspack_mspack_create_chm_decompressor" >&6; }
27938 if test $ac_cv_lib_mspack_mspack_create_chm_decompressor = yes; then
27939 MSPACK_LINK=" -lmspack"
27943 if test "x
$MSPACK_LINK" = "x
" ; then
27948 if test "$wxUSE_LIBMSPACK" != "no
"; then
27949 cat >>confdefs.h <<\_ACEOF
27950 #define wxUSE_LIBMSPACK 1
27964 if test "$USE_WIN32" = 1 ; then
27966 for ac_header in w32api.h
27968 as_ac_Header=`echo "ac_cv_header_
$ac_header" | $as_tr_sh`
27969 { echo "$as_me:$LINENO: checking
for $ac_header" >&5
27970 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6; }
27971 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
27972 echo $ECHO_N "(cached
) $ECHO_C" >&6
27974 cat >conftest.$ac_ext <<_ACEOF
27977 cat confdefs.h >>conftest.$ac_ext
27978 cat >>conftest.$ac_ext <<_ACEOF
27979 /* end confdefs.h. */
27982 #include <$ac_header>
27984 rm -f conftest.$ac_objext
27985 if { (ac_try="$ac_compile"
27986 case "(($ac_try" in
27987 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27988 *) ac_try_echo=$ac_try;;
27990 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
27991 (eval "$ac_compile") 2>conftest.er1
27993 grep -v '^ *+' conftest.er1 >conftest.err
27995 cat conftest.err >&5
27996 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
27997 (exit $ac_status); } && {
27998 test -z "$ac_c_werror_flag" ||
27999 test ! -s conftest.err
28000 } && test -s conftest.$ac_objext; then
28001 eval "$as_ac_Header=yes"
28003 echo "$as_me: failed program was
:" >&5
28004 sed 's/^/| /' conftest.$ac_ext >&5
28006 eval "$as_ac_Header=no
"
28009 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28011 ac_res=`eval echo '${'$as_ac_Header'}'`
28012 { echo "$as_me:$LINENO: result
: $ac_res" >&5
28013 echo "${ECHO_T}$ac_res" >&6; }
28014 if test `eval echo '${'$as_ac_Header'}'` = yes; then
28015 cat >>confdefs.h <<_ACEOF
28016 #define `echo "HAVE_
$ac_header" | $as_tr_cpp` 1
28023 { echo "$as_me:$LINENO: checking
for windows.h
" >&5
28024 echo $ECHO_N "checking
for windows.h...
$ECHO_C" >&6; }
28025 if test "${ac_cv_header_windows_h+set}" = set; then
28026 echo $ECHO_N "(cached
) $ECHO_C" >&6
28028 cat >conftest.$ac_ext <<_ACEOF
28031 cat confdefs.h >>conftest.$ac_ext
28032 cat >>conftest.$ac_ext <<_ACEOF
28033 /* end confdefs.h. */
28036 #include <windows.h>
28038 rm -f conftest.$ac_objext
28039 if { (ac_try="$ac_compile"
28040 case "(($ac_try" in
28041 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28042 *) ac_try_echo=$ac_try;;
28044 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
28045 (eval "$ac_compile") 2>conftest.er1
28047 grep -v '^ *+' conftest.er1 >conftest.err
28049 cat conftest.err >&5
28050 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
28051 (exit $ac_status); } && {
28052 test -z "$ac_c_werror_flag" ||
28053 test ! -s conftest.err
28054 } && test -s conftest.$ac_objext; then
28055 ac_cv_header_windows_h=yes
28057 echo "$as_me: failed program was
:" >&5
28058 sed 's/^/| /' conftest.$ac_ext >&5
28060 ac_cv_header_windows_h=no
28063 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28065 { echo "$as_me:$LINENO: result
: $ac_cv_header_windows_h" >&5
28066 echo "${ECHO_T}$ac_cv_header_windows_h" >&6; }
28067 if test $ac_cv_header_windows_h = yes; then
28071 { { echo "$as_me:$LINENO: error
: please
set CFLAGS to contain the location of windows.h
" >&5
28072 echo "$as_me: error
: please
set CFLAGS to contain the location of windows.h
" >&2;}
28073 { (exit 1); exit 1; }; }
28080 x86_64-*-mingw32* )
28081 LIBS="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -lwctl3d32 -ladvapi32 -lwsock32 -lgdi32"
28084 LIBS="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -lctl3d32 -ladvapi32 -lwsock32 -lgdi32"
28087 if test "$wxUSE_ACCESSIBILITY" = "yes" ; then
28088 LIBS="$LIBS -loleacc"
28093 LIBS="$LIBS -lkernel32 -luser32"
28096 RESFLAGS="--include-dir \
$(top_srcdir)/include
--include-dir \
$(top_srcdir)/\
$(program_dir) --define __WIN32__
--define __WIN95__
--define __GNUWIN32__
"
28097 RESPROGRAMOBJ="\
$(PROGRAM)_resources.o
"
28099 WXCONFIG_RESFLAGS="--define __WIN32__
--define __WIN95__
--define __GNUWIN32__
"
28101 WIN32INSTALL=win32install
28103 { echo "$as_me:$LINENO: checking
for pbt.h
" >&5
28104 echo $ECHO_N "checking
for pbt.h...
$ECHO_C" >&6; }
28105 if test "${ac_cv_header_pbt_h+set}" = set; then
28106 echo $ECHO_N "(cached
) $ECHO_C" >&6
28108 cat >conftest.$ac_ext <<_ACEOF
28111 cat confdefs.h >>conftest.$ac_ext
28112 cat >>conftest.$ac_ext <<_ACEOF
28113 /* end confdefs.h. */
28118 rm -f conftest.$ac_objext
28119 if { (ac_try="$ac_compile"
28120 case "(($ac_try" in
28121 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28122 *) ac_try_echo=$ac_try;;
28124 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
28125 (eval "$ac_compile") 2>conftest.er1
28127 grep -v '^ *+' conftest.er1 >conftest.err
28129 cat conftest.err >&5
28130 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
28131 (exit $ac_status); } && {
28132 test -z "$ac_c_werror_flag" ||
28133 test ! -s conftest.err
28134 } && test -s conftest.$ac_objext; then
28135 ac_cv_header_pbt_h=yes
28137 echo "$as_me: failed program was
:" >&5
28138 sed 's/^/| /' conftest.$ac_ext >&5
28140 ac_cv_header_pbt_h=no
28143 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28145 { echo "$as_me:$LINENO: result
: $ac_cv_header_pbt_h" >&5
28146 echo "${ECHO_T}$ac_cv_header_pbt_h" >&6; }
28147 if test $ac_cv_header_pbt_h = yes; then
28150 cat >>confdefs.h <<\_ACEOF
28151 #define NEED_PBT_H 1
28159 if test "$wxUSE_GUI" = "yes"; then
28169 if test "$wxUSE_COCOA" = 1 ; then
28170 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes"; then
28171 { echo "$as_me:$LINENO: WARNING
: Printing not supported under wxCocoa yet
, disabled
" >&5
28172 echo "$as_me: WARNING
: Printing not supported under wxCocoa yet
, disabled
" >&2;}
28173 wxUSE_PRINTING_ARCHITECTURE=no
28175 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
28176 { echo "$as_me:$LINENO: WARNING
: Drag and Drop not supported under wxCocoa yet
, disabled
" >&5
28177 echo "$as_me: WARNING
: Drag and Drop not supported under wxCocoa yet
, disabled
" >&2;}
28178 wxUSE_DRAG_AND_DROP=no
28180 if test "$wxUSE_DRAGIMAGE" = "yes"; then
28181 { echo "$as_me:$LINENO: WARNING
: wxDragImage not supported under wxCocoa yet
, disabled
" >&5
28182 echo "$as_me: WARNING
: wxDragImage not supported under wxCocoa yet
, disabled
" >&2;}
28187 if test "$wxUSE_MSW" = 1 ; then
28193 WXCONFIG_LDFLAGS_GUI="$LDFLAGS -Wl,--subsystem,windows
-mwindows"
28197 if test "$wxUSE_GTK" = 1; then
28198 { echo "$as_me:$LINENO: checking
for GTK
+ version
" >&5
28199 echo $ECHO_N "checking
for GTK
+ version...
$ECHO_C" >&6; }
28201 gtk_version_cached=1
28202 if test "${wx_cv_lib_gtk+set}" = set; then
28203 echo $ECHO_N "(cached
) $ECHO_C" >&6
28206 gtk_version_cached=0
28207 { echo "$as_me:$LINENO: result
: " >&5
28208 echo "${ECHO_T}" >&6; }
28211 if test "$wxUSE_THREADS" = "yes"; then
28212 GTK_MODULES=gthread
28216 if test "x
$wxGTK_VERSION" != "x1
"
28220 if test "$wxUSE_THREADS" = "yes" -a "$GCC" = yes; then
28225 # Check whether --enable-gtktest was given.
28226 if test "${enable_gtktest+set}" = set; then
28227 enableval=$enable_gtktest;
28233 pkg_config_args=gtk+-2.0
28234 for module in . $GTK_MODULES
28238 pkg_config_args="$pkg_config_args gthread
-2.0
"
28245 # Extract the first word of "pkg
-config", so it can be a program name with args.
28246 set dummy pkg-config; ac_word=$2
28247 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
28248 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
28249 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
28250 echo $ECHO_N "(cached
) $ECHO_C" >&6
28252 case $PKG_CONFIG in
28254 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
28257 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
28258 for as_dir in $PATH
28261 test -z "$as_dir" && as_dir=.
28262 for ac_exec_ext in '' $ac_executable_extensions; do
28263 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
28264 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
28265 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
28272 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no
"
28276 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
28277 if test -n "$PKG_CONFIG"; then
28278 { echo "$as_me:$LINENO: result
: $PKG_CONFIG" >&5
28279 echo "${ECHO_T}$PKG_CONFIG" >&6; }
28281 { echo "$as_me:$LINENO: result
: no
" >&5
28282 echo "${ECHO_T}no
" >&6; }
28287 if test x$PKG_CONFIG != xno ; then
28288 if pkg-config --atleast-pkgconfig-version 0.7 ; then
28291 echo "*** pkg
-config too old
; version
0.7 or better required.
"
28299 min_gtk_version=2.4.0
28300 { echo "$as_me:$LINENO: checking
for GTK
+ - version
>= $min_gtk_version" >&5
28301 echo $ECHO_N "checking
for GTK
+ - version
>= $min_gtk_version...
$ECHO_C" >&6; }
28303 if test x$PKG_CONFIG != xno ; then
28304 ## don't try to run the test against uninstalled libtool libs
28305 if $PKG_CONFIG --uninstalled $pkg_config_args; then
28306 echo "Will use uninstalled version of GTK
+ found
in PKG_CONFIG_PATH
"
28310 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
28317 if test x"$no_gtk" = x ; then
28318 GTK_CFLAGS=`$PKG_CONFIG $pkg_config_args --cflags`
28319 GTK_LIBS=`$PKG_CONFIG $pkg_config_args --libs`
28320 gtk_config_major_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
28321 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
28322 gtk_config_minor_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
28323 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
28324 gtk_config_micro_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
28325 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
28326 if test "x
$enable_gtktest" = "xyes
" ; then
28327 ac_save_CFLAGS="$CFLAGS"
28328 ac_save_LIBS="$LIBS"
28329 CFLAGS="$CFLAGS $GTK_CFLAGS"
28330 LIBS="$GTK_LIBS $LIBS"
28332 if test "$cross_compiling" = yes; then
28333 echo $ac_n "cross compiling
; assumed OK...
$ac_c"
28335 cat >conftest.$ac_ext <<_ACEOF
28338 cat confdefs.h >>conftest.$ac_ext
28339 cat >>conftest.$ac_ext <<_ACEOF
28340 /* end confdefs.h. */
28342 #include <gtk/gtk.h>
28344 #include <stdlib.h>
28349 int major, minor, micro;
28352 system ("touch conf.gtktest
");
28354 /* HP/UX 9 (%@#!) writes to sscanf strings */
28355 tmp_version = g_strdup("$min_gtk_version");
28356 if (sscanf(tmp_version, "%d.
%d.
%d
", &major, &minor, µ) != 3) {
28357 printf("%s
, bad version string
\n", "$min_gtk_version");
28361 if ((gtk_major_version != $gtk_config_major_version) ||
28362 (gtk_minor_version != $gtk_config_minor_version) ||
28363 (gtk_micro_version != $gtk_config_micro_version))
28365 printf("\n*** 'pkg-config --modversion gtk+-2.0' returned
%d.
%d.
%d
, but GTK
+ (%d.
%d.
%d
)\n",
28366 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
28367 gtk_major_version, gtk_minor_version, gtk_micro_version);
28368 printf ("*** was found
! If pkg
-config was correct
, then it is best
\n");
28369 printf ("*** to remove the old version of GTK
+. You may also be able to fix the error
\n");
28370 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable
, or by editing
\n");
28371 printf("*** /etc
/ld.so.conf. Make sure you have run ldconfig
if that is
\n");
28372 printf("*** required on your system.
\n");
28373 printf("*** If pkg
-config was wrong
, set the environment variable PKG_CONFIG_PATH
\n");
28374 printf("*** to point to the correct configuration files
\n");
28376 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
28377 (gtk_minor_version != GTK_MINOR_VERSION) ||
28378 (gtk_micro_version != GTK_MICRO_VERSION))
28380 printf("*** GTK
+ header files
(version
%d.
%d.
%d
) do not match
\n",
28381 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
28382 printf("*** library
(version
%d.
%d.
%d
)\n",
28383 gtk_major_version, gtk_minor_version, gtk_micro_version);
28387 if ((gtk_major_version > major) ||
28388 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
28389 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
28395 printf("\n*** An old version of GTK
+ (%d.
%d.
%d
) was found.
\n",
28396 gtk_major_version, gtk_minor_version, gtk_micro_version);
28397 printf("*** You need a version of GTK
+ newer than
%d.
%d.
%d. The latest version of
\n",
28398 major, minor, micro);
28399 printf("*** GTK
+ is always available from
ftp://ftp.gtk.org.
\n");
28401 printf("*** If you have already installed a sufficiently new version
, this error
\n");
28402 printf("*** probably means that the wrong copy of the pkg
-config shell
script is
\n");
28403 printf("*** being found. The easiest way to fix this is to remove the old version
\n");
28404 printf("*** of GTK
+, but you can also
set the PKG_CONFIG environment to point to the
\n");
28405 printf("*** correct copy of pkg
-config.
(In this
case, you will have to
\n");
28406 printf("*** modify your LD_LIBRARY_PATH enviroment variable
, or edit
/etc
/ld.so.conf
\n");
28407 printf("*** so that the correct libraries are found
at run
-time))\n");
28414 rm -f conftest$ac_exeext
28415 if { (ac_try="$ac_link"
28416 case "(($ac_try" in
28417 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28418 *) ac_try_echo=$ac_try;;
28420 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
28421 (eval "$ac_link") 2>&5
28423 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
28424 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
28425 { (case "(($ac_try" in
28426 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28427 *) ac_try_echo=$ac_try;;
28429 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
28430 (eval "$ac_try") 2>&5
28432 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
28433 (exit $ac_status); }; }; then
28436 echo "$as_me: program exited with status
$ac_status" >&5
28437 echo "$as_me: failed program was
:" >&5
28438 sed 's/^/| /' conftest.$ac_ext >&5
28440 ( exit $ac_status )
28443 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
28447 CFLAGS="$ac_save_CFLAGS"
28448 LIBS="$ac_save_LIBS"
28451 if test "x
$no_gtk" = x ; then
28452 { echo "$as_me:$LINENO: result
: yes (version
$gtk_config_major_version.
$gtk_config_minor_version.
$gtk_config_micro_version)" >&5
28453 echo "${ECHO_T}yes (version
$gtk_config_major_version.
$gtk_config_minor_version.
$gtk_config_micro_version)" >&6; }
28456 { echo "$as_me:$LINENO: result
: no
" >&5
28457 echo "${ECHO_T}no
" >&6; }
28458 if test "$PKG_CONFIG" = "no
" ; then
28459 echo "*** A new enough version of pkg
-config was not found.
"
28460 echo "*** See http
://pkgconfig.sourceforge.net
"
28462 if test -f conf.gtktest ; then
28465 echo "*** Could not run GTK
+ test program
, checking why...
"
28466 ac_save_CFLAGS="$CFLAGS"
28467 ac_save_LIBS="$LIBS"
28468 CFLAGS="$CFLAGS $GTK_CFLAGS"
28469 LIBS="$LIBS $GTK_LIBS"
28470 cat >conftest.$ac_ext <<_ACEOF
28473 cat confdefs.h >>conftest.$ac_ext
28474 cat >>conftest.$ac_ext <<_ACEOF
28475 /* end confdefs.h. */
28477 #include <gtk/gtk.h>
28483 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
28488 rm -f conftest.$ac_objext conftest$ac_exeext
28489 if { (ac_try="$ac_link"
28490 case "(($ac_try" in
28491 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28492 *) ac_try_echo=$ac_try;;
28494 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
28495 (eval "$ac_link") 2>conftest.er1
28497 grep -v '^ *+' conftest.er1 >conftest.err
28499 cat conftest.err >&5
28500 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
28501 (exit $ac_status); } && {
28502 test -z "$ac_c_werror_flag" ||
28503 test ! -s conftest.err
28504 } && test -s conftest$ac_exeext &&
28505 $as_test_x conftest$ac_exeext; then
28506 echo "*** The
test program compiled
, but did not run. This usually means
"
28507 echo "*** that the run
-time linker is not finding GTK
+ or finding the wrong
"
28508 echo "*** version of GTK
+. If it is not finding GTK
+, you
'll need to set your"
28509 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
28510 echo "*** to the installed location Also, make sure you have run ldconfig if that"
28511 echo "*** is required on your system"
28513 echo "*** If you have an old version installed, it is best to remove it, although"
28514 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
28516 echo "$as_me: failed program was:" >&5
28517 sed 's
/^
/| /' conftest.$ac_ext >&5
28519 echo "*** The test program failed to compile or link. See the file config.log for the"
28520 echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."
28523 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28524 conftest$ac_exeext conftest.$ac_ext
28525 CFLAGS="$ac_save_CFLAGS"
28526 LIBS="$ac_save_LIBS"
28540 if test "$wxUSE_SHARED" != "yes"; then
28541 GTK_LIBS="$GTK_LIBS -lX11"
28546 if test -z "$wx_cv_lib_gtk"; then
28547 if test "x$wxGTK_VERSION" = "x1" -o "x$wxGTK_VERSION" = "xany" ; then
28549 # Check whether --with-gtk-prefix was given.
28550 if test "${with_gtk_prefix+set}" = set; then
28551 withval=$with_gtk_prefix; gtk_config_prefix="$withval"
28553 gtk_config_prefix=""
28557 # Check whether --with-gtk-exec-prefix was given.
28558 if test "${with_gtk_exec_prefix+set}" = set; then
28559 withval=$with_gtk_exec_prefix; gtk_config_exec_prefix="$withval"
28561 gtk_config_exec_prefix=""
28564 # Check whether --enable-gtktest was given.
28565 if test "${enable_gtktest+set}" = set; then
28566 enableval=$enable_gtktest;
28572 for module in . $GTK_MODULES
28576 gtk_config_args="$gtk_config_args gthread"
28581 if test x$gtk_config_exec_prefix != x ; then
28582 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
28583 if test x${GTK_CONFIG+set} != xset ; then
28584 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
28587 if test x$gtk_config_prefix != x ; then
28588 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
28589 if test x${GTK_CONFIG+set} != xset ; then
28590 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
28594 # Extract the first word of "gtk-config", so it can be a program name with args.
28595 set dummy gtk-config; ac_word=$2
28596 { echo "$as_me:$LINENO: checking for $ac_word" >&5
28597 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
28598 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
28599 echo $ECHO_N "(cached) $ECHO_C" >&6
28601 case $GTK_CONFIG in
28603 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
28606 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
28607 for as_dir in $PATH
28610 test -z "$as_dir" && as_dir=.
28611 for ac_exec_ext in '' $ac_executable_extensions; do
28612 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
28613 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
28614 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
28621 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
28625 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
28626 if test -n "$GTK_CONFIG"; then
28627 { echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
28628 echo "${ECHO_T}$GTK_CONFIG" >&6; }
28630 { echo "$as_me:$LINENO: result: no" >&5
28631 echo "${ECHO_T}no" >&6; }
28635 min_gtk_version=1.2.7
28636 { echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
28637 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6; }
28639 if test "$GTK_CONFIG" = "no" ; then
28642 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
28643 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
28644 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
28645 sed 's
/\
([0-9]*\
).\
([0-9]*\
).\
([0-9]*\
)/\
1/'`
28646 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
28647 sed 's
/\
([0-9]*\
).\
([0-9]*\
).\
([0-9]*\
)/\
2/'`
28648 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
28649 sed 's
/\
([0-9]*\
).\
([0-9]*\
).\
([0-9]*\
)/\
3/'`
28650 if test "x$enable_gtktest" = "xyes" ; then
28651 ac_save_CFLAGS="$CFLAGS"
28652 ac_save_LIBS="$LIBS"
28653 CFLAGS="$CFLAGS $GTK_CFLAGS"
28654 LIBS="$GTK_LIBS $LIBS"
28656 if test "$cross_compiling" = yes; then
28657 echo $ac_n "cross compiling; assumed OK... $ac_c"
28659 cat >conftest.$ac_ext <<_ACEOF
28662 cat confdefs.h >>conftest.$ac_ext
28663 cat >>conftest.$ac_ext <<_ACEOF
28664 /* end confdefs.h. */
28666 #include <gtk/gtk.h>
28668 #include <stdlib.h>
28673 int major, minor, micro;
28676 system ("touch conf.gtktest");
28678 /* HP/UX 9 (%@#!) writes to sscanf strings */
28679 tmp_version = g_strdup("$min_gtk_version");
28680 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
28681 printf("%s, bad version string\n", "$min_gtk_version");
28685 if ((gtk_major_version != $gtk_config_major_version) ||
28686 (gtk_minor_version != $gtk_config_minor_version) ||
28687 (gtk_micro_version != $gtk_config_micro_version))
28689 printf("\n*** 'gtk
-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
28690 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
28691 gtk_major_version, gtk_minor_version, gtk_micro_version);
28692 printf ("*** was found! If gtk-config was correct, then it is best\n");
28693 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
28694 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
28695 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
28696 printf("*** required on your system.\n");
28697 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
28698 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
28699 printf("*** before re-running configure\n");
28701 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
28702 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
28703 (gtk_minor_version != GTK_MINOR_VERSION) ||
28704 (gtk_micro_version != GTK_MICRO_VERSION))
28706 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
28707 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
28708 printf("*** library (version %d.%d.%d)\n",
28709 gtk_major_version, gtk_minor_version, gtk_micro_version);
28711 #endif /* defined (GTK_MAJOR_VERSION) ... */
28714 if ((gtk_major_version > major) ||
28715 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
28716 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
28722 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
28723 gtk_major_version, gtk_minor_version, gtk_micro_version);
28724 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
28725 major, minor, micro);
28726 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
28728 printf("*** If you have already installed a sufficiently new version, this error\n");
28729 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
28730 printf("*** being found. The easiest way to fix this is to remove the old version\n");
28731 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
28732 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
28733 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
28734 printf("*** so that the correct libraries are found at run-time))\n");
28741 rm -f conftest$ac_exeext
28742 if { (ac_try="$ac_link"
28743 case "(($ac_try" in
28744 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28745 *) ac_try_echo=$ac_try;;
28747 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28748 (eval "$ac_link") 2>&5
28750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28751 (exit $ac_status); } && { ac_try='.
/conftest
$ac_exeext'
28752 { (case "(($ac_try" in
28753 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28754 *) ac_try_echo=$ac_try;;
28756 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28757 (eval "$ac_try") 2>&5
28759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28760 (exit $ac_status); }; }; then
28763 echo "$as_me: program exited with status $ac_status" >&5
28764 echo "$as_me: failed program was:" >&5
28765 sed 's
/^
/| /' conftest.$ac_ext >&5
28767 ( exit $ac_status )
28770 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
28774 CFLAGS="$ac_save_CFLAGS"
28775 LIBS="$ac_save_LIBS"
28778 if test "x$no_gtk" = x ; then
28779 { echo "$as_me:$LINENO: result: yes" >&5
28780 echo "${ECHO_T}yes" >&6; }
28781 wx_cv_lib_gtk=1.2.7
28783 { echo "$as_me:$LINENO: result: no" >&5
28784 echo "${ECHO_T}no" >&6; }
28785 if test "$GTK_CONFIG" = "no" ; then
28786 echo "*** The gtk-config script installed by GTK could not be found"
28787 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
28788 echo "*** your path, or set the GTK_CONFIG environment variable to the"
28789 echo "*** full path to gtk-config."
28791 if test -f conf.gtktest ; then
28794 echo "*** Could not run GTK test program, checking why..."
28795 CFLAGS="$CFLAGS $GTK_CFLAGS"
28796 LIBS="$LIBS $GTK_LIBS"
28797 cat >conftest.$ac_ext <<_ACEOF
28800 cat confdefs.h >>conftest.$ac_ext
28801 cat >>conftest.$ac_ext <<_ACEOF
28802 /* end confdefs.h. */
28804 #include <gtk/gtk.h>
28810 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
28815 rm -f conftest.$ac_objext conftest$ac_exeext
28816 if { (ac_try="$ac_link"
28817 case "(($ac_try" in
28818 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28819 *) ac_try_echo=$ac_try;;
28821 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28822 (eval "$ac_link") 2>conftest.er1
28824 grep -v '^
*+' conftest.er1 >conftest.err
28826 cat conftest.err >&5
28827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28828 (exit $ac_status); } && {
28829 test -z "$ac_c_werror_flag" ||
28830 test ! -s conftest.err
28831 } && test -s conftest$ac_exeext &&
28832 $as_test_x conftest$ac_exeext; then
28833 echo "*** The test program compiled, but did not run. This usually means"
28834 echo "*** that the run-time linker is not finding GTK or finding the wrong"
28835 echo "*** version of GTK. If it is not finding GTK, you'll need to
set your
"
28836 echo "*** LD_LIBRARY_PATH environment variable
, or edit
/etc
/ld.so.conf to point
"
28837 echo "*** to the installed location Also
, make sure you have run ldconfig
if that
"
28838 echo "*** is required on your system
"
28840 echo "*** If you have an old version installed
, it is best to remove it
, although
"
28841 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH
"
28843 echo "*** If you have a RedHat
5.0 system
, you should remove the GTK package that
"
28844 echo "*** came with the system with the
command"
28846 echo "*** rpm
--erase --nodeps gtk gtk
-devel"
28848 echo "$as_me: failed program was
:" >&5
28849 sed 's/^/| /' conftest.$ac_ext >&5
28851 echo "*** The
test program failed to compile or link. See the
file config.log
for the
"
28852 echo "*** exact error that occured. This usually means GTK was incorrectly installed
"
28853 echo "*** or that you have moved GTK since it was installed. In the latter
case, you
"
28854 echo "*** may want to edit the gtk
-config script: $GTK_CONFIG"
28857 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28858 conftest$ac_exeext conftest.$ac_ext
28859 CFLAGS="$ac_save_CFLAGS"
28860 LIBS="$ac_save_LIBS"
28872 if test -z "$wx_cv_lib_gtk"; then
28874 # Check whether --with-gtk-prefix was given.
28875 if test "${with_gtk_prefix+set}" = set; then
28876 withval=$with_gtk_prefix; gtk_config_prefix="$withval"
28878 gtk_config_prefix=""
28882 # Check whether --with-gtk-exec-prefix was given.
28883 if test "${with_gtk_exec_prefix+set}" = set; then
28884 withval=$with_gtk_exec_prefix; gtk_config_exec_prefix="$withval"
28886 gtk_config_exec_prefix=""
28889 # Check whether --enable-gtktest was given.
28890 if test "${enable_gtktest+set}" = set; then
28891 enableval=$enable_gtktest;
28897 for module in . $GTK_MODULES
28901 gtk_config_args="$gtk_config_args gthread
"
28906 if test x$gtk_config_exec_prefix != x ; then
28907 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
28908 if test x${GTK_CONFIG+set} != xset ; then
28909 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
28912 if test x$gtk_config_prefix != x ; then
28913 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
28914 if test x${GTK_CONFIG+set} != xset ; then
28915 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
28919 # Extract the first word of "gtk
-config", so it can be a program name with args.
28920 set dummy gtk-config; ac_word=$2
28921 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
28922 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
28923 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
28924 echo $ECHO_N "(cached
) $ECHO_C" >&6
28926 case $GTK_CONFIG in
28928 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
28931 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
28932 for as_dir in $PATH
28935 test -z "$as_dir" && as_dir=.
28936 for ac_exec_ext in '' $ac_executable_extensions; do
28937 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
28938 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
28939 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
28946 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no
"
28950 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
28951 if test -n "$GTK_CONFIG"; then
28952 { echo "$as_me:$LINENO: result
: $GTK_CONFIG" >&5
28953 echo "${ECHO_T}$GTK_CONFIG" >&6; }
28955 { echo "$as_me:$LINENO: result
: no
" >&5
28956 echo "${ECHO_T}no
" >&6; }
28960 min_gtk_version=1.2.3
28961 { echo "$as_me:$LINENO: checking
for GTK
- version
>= $min_gtk_version" >&5
28962 echo $ECHO_N "checking
for GTK
- version
>= $min_gtk_version...
$ECHO_C" >&6; }
28964 if test "$GTK_CONFIG" = "no
" ; then
28967 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
28968 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
28969 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
28970 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
28971 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
28972 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
28973 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
28974 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
28975 if test "x
$enable_gtktest" = "xyes
" ; then
28976 ac_save_CFLAGS="$CFLAGS"
28977 ac_save_LIBS="$LIBS"
28978 CFLAGS="$CFLAGS $GTK_CFLAGS"
28979 LIBS="$GTK_LIBS $LIBS"
28981 if test "$cross_compiling" = yes; then
28982 echo $ac_n "cross compiling
; assumed OK...
$ac_c"
28984 cat >conftest.$ac_ext <<_ACEOF
28987 cat confdefs.h >>conftest.$ac_ext
28988 cat >>conftest.$ac_ext <<_ACEOF
28989 /* end confdefs.h. */
28991 #include <gtk/gtk.h>
28993 #include <stdlib.h>
28998 int major, minor, micro;
29001 system ("touch conf.gtktest
");
29003 /* HP/UX 9 (%@#!) writes to sscanf strings */
29004 tmp_version = g_strdup("$min_gtk_version");
29005 if (sscanf(tmp_version, "%d.
%d.
%d
", &major, &minor, µ) != 3) {
29006 printf("%s
, bad version string
\n", "$min_gtk_version");
29010 if ((gtk_major_version != $gtk_config_major_version) ||
29011 (gtk_minor_version != $gtk_config_minor_version) ||
29012 (gtk_micro_version != $gtk_config_micro_version))
29014 printf("\n*** 'gtk-config --version' returned
%d.
%d.
%d
, but GTK
+ (%d.
%d.
%d
)\n",
29015 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
29016 gtk_major_version, gtk_minor_version, gtk_micro_version);
29017 printf ("*** was found
! If gtk
-config was correct
, then it is best
\n");
29018 printf ("*** to remove the old version of GTK
+. You may also be able to fix the error
\n");
29019 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable
, or by editing
\n");
29020 printf("*** /etc
/ld.so.conf. Make sure you have run ldconfig
if that is
\n");
29021 printf("*** required on your system.
\n");
29022 printf("*** If gtk
-config was wrong
, set the environment variable GTK_CONFIG
\n");
29023 printf("*** to point to the correct copy of gtk
-config, and remove the
file config.cache
\n");
29024 printf("*** before re
-running configure
\n");
29026 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
29027 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
29028 (gtk_minor_version != GTK_MINOR_VERSION) ||
29029 (gtk_micro_version != GTK_MICRO_VERSION))
29031 printf("*** GTK
+ header files
(version
%d.
%d.
%d
) do not match
\n",
29032 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
29033 printf("*** library
(version
%d.
%d.
%d
)\n",
29034 gtk_major_version, gtk_minor_version, gtk_micro_version);
29036 #endif /* defined (GTK_MAJOR_VERSION) ... */
29039 if ((gtk_major_version > major) ||
29040 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
29041 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
29047 printf("\n*** An old version of GTK
+ (%d.
%d.
%d
) was found.
\n",
29048 gtk_major_version, gtk_minor_version, gtk_micro_version);
29049 printf("*** You need a version of GTK
+ newer than
%d.
%d.
%d. The latest version of
\n",
29050 major, minor, micro);
29051 printf("*** GTK
+ is always available from
ftp://ftp.gtk.org.
\n");
29053 printf("*** If you have already installed a sufficiently new version
, this error
\n");
29054 printf("*** probably means that the wrong copy of the gtk
-config shell
script is
\n");
29055 printf("*** being found. The easiest way to fix this is to remove the old version
\n");
29056 printf("*** of GTK
+, but you can also
set the GTK_CONFIG environment to point to the
\n");
29057 printf("*** correct copy of gtk
-config.
(In this
case, you will have to
\n");
29058 printf("*** modify your LD_LIBRARY_PATH enviroment variable
, or edit
/etc
/ld.so.conf
\n");
29059 printf("*** so that the correct libraries are found
at run
-time))\n");
29066 rm -f conftest$ac_exeext
29067 if { (ac_try="$ac_link"
29068 case "(($ac_try" in
29069 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29070 *) ac_try_echo=$ac_try;;
29072 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
29073 (eval "$ac_link") 2>&5
29075 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
29076 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
29077 { (case "(($ac_try" in
29078 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29079 *) ac_try_echo=$ac_try;;
29081 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
29082 (eval "$ac_try") 2>&5
29084 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
29085 (exit $ac_status); }; }; then
29088 echo "$as_me: program exited with status
$ac_status" >&5
29089 echo "$as_me: failed program was
:" >&5
29090 sed 's/^/| /' conftest.$ac_ext >&5
29092 ( exit $ac_status )
29095 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
29099 CFLAGS="$ac_save_CFLAGS"
29100 LIBS="$ac_save_LIBS"
29103 if test "x
$no_gtk" = x ; then
29104 { echo "$as_me:$LINENO: result
: yes" >&5
29105 echo "${ECHO_T}yes" >&6; }
29106 wx_cv_lib_gtk=1.2.3
29108 { echo "$as_me:$LINENO: result
: no
" >&5
29109 echo "${ECHO_T}no
" >&6; }
29110 if test "$GTK_CONFIG" = "no
" ; then
29111 echo "*** The gtk
-config script installed by GTK could not be found
"
29112 echo "*** If GTK was installed
in PREFIX
, make sure PREFIX
/bin is
in"
29113 echo "*** your path
, or
set the GTK_CONFIG environment variable to the
"
29114 echo "*** full path to gtk
-config.
"
29116 if test -f conf.gtktest ; then
29119 echo "*** Could not run GTK
test program
, checking why...
"
29120 CFLAGS="$CFLAGS $GTK_CFLAGS"
29121 LIBS="$LIBS $GTK_LIBS"
29122 cat >conftest.$ac_ext <<_ACEOF
29125 cat confdefs.h >>conftest.$ac_ext
29126 cat >>conftest.$ac_ext <<_ACEOF
29127 /* end confdefs.h. */
29129 #include <gtk/gtk.h>
29135 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
29140 rm -f conftest.$ac_objext conftest$ac_exeext
29141 if { (ac_try="$ac_link"
29142 case "(($ac_try" in
29143 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29144 *) ac_try_echo=$ac_try;;
29146 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
29147 (eval "$ac_link") 2>conftest.er1
29149 grep -v '^ *+' conftest.er1 >conftest.err
29151 cat conftest.err >&5
29152 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
29153 (exit $ac_status); } && {
29154 test -z "$ac_c_werror_flag" ||
29155 test ! -s conftest.err
29156 } && test -s conftest$ac_exeext &&
29157 $as_test_x conftest$ac_exeext; then
29158 echo "*** The
test program compiled
, but did not run. This usually means
"
29159 echo "*** that the run
-time linker is not finding GTK or finding the wrong
"
29160 echo "*** version of GTK. If it is not finding GTK
, you
'll need to set your"
29161 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
29162 echo "*** to the installed location Also, make sure you have run ldconfig if that"
29163 echo "*** is required on your system"
29165 echo "*** If you have an old version installed, it is best to remove it, although"
29166 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
29168 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
29169 echo "*** came with the system with the command"
29171 echo "*** rpm --erase --nodeps gtk gtk-devel"
29173 echo "$as_me: failed program was:" >&5
29174 sed 's
/^
/| /' conftest.$ac_ext >&5
29176 echo "*** The test program failed to compile or link. See the file config.log for the"
29177 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
29178 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
29179 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
29182 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29183 conftest$ac_exeext conftest.$ac_ext
29184 CFLAGS="$ac_save_CFLAGS"
29185 LIBS="$ac_save_LIBS"
29200 if test -z "$wx_cv_lib_gtk"; then
29203 wx_cv_cflags_gtk=$GTK_CFLAGS
29204 wx_cv_libs_gtk=`echo $GTK_LIBS | sed -e 's
/ -l[^
]*cairo
[^
]*//g
'`
29211 if test "$gtk_version_cached" = 1; then
29212 { echo "$as_me:$LINENO: result: $wx_cv_lib_gtk" >&5
29213 echo "${ECHO_T}$wx_cv_lib_gtk" >&6; }
29216 case "$wx_cv_lib_gtk" in
29225 *) { { echo "$as_me:$LINENO: error:
29226 The development files for GTK+ were not found. For GTK+ 2, please
29227 ensure that pkg-config is in the path and that gtk+-2.0.pc is
29228 installed. For GTK+ 1.2 please check that gtk-config is in the path,
29229 and that the version is 1.2.3 or above. Also check that the
29230 libraries returned by 'pkg
-config gtk
+-2.0
--libs' or 'gtk
-config
29231 --libs' are in the LD_LIBRARY_PATH or equivalent.
29233 echo "$as_me: error:
29234 The development files for GTK+ were not found. For GTK+ 2, please
29235 ensure that pkg-config is in the path and that gtk+-2.0.pc is
29236 installed. For GTK+ 1.2 please check that gtk-config is in the path,
29237 and that the version is 1.2.3 or above. Also check that the
29238 libraries returned by 'pkg
-config gtk
+-2.0
--libs' or 'gtk
-config
29239 --libs' are in the LD_LIBRARY_PATH or equivalent.
29241 { (exit 1); exit 1; }; }
29245 if test "$WXGTK2" = 1; then
29246 save_CFLAGS="$CFLAGS"
29248 CFLAGS="$wx_cv_cflags_gtk $CFLAGS"
29249 LIBS="$LIBS $wx_cv_libs_gtk"
29251 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.10" >&5
29252 echo $ECHO_N "checking if GTK+ is version >= 2.10... $ECHO_C" >&6; }
29253 cat >conftest.$ac_ext <<_ACEOF
29256 cat confdefs.h >>conftest.$ac_ext
29257 cat >>conftest.$ac_ext <<_ACEOF
29258 /* end confdefs.h. */
29260 #include <gtk/gtk.h>
29266 #if !GTK_CHECK_VERSION(2,10,0)
29274 rm -f conftest.$ac_objext
29275 if { (ac_try="$ac_compile"
29276 case "(($ac_try" in
29277 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29278 *) ac_try_echo=$ac_try;;
29280 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29281 (eval "$ac_compile") 2>conftest.er1
29283 grep -v '^
*+' conftest.er1 >conftest.err
29285 cat conftest.err >&5
29286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29287 (exit $ac_status); } && {
29288 test -z "$ac_c_werror_flag" ||
29289 test ! -s conftest.err
29290 } && test -s conftest.$ac_objext; then
29292 cat >>confdefs.h <<\_ACEOF
29293 #define __WXGTK210__ 1
29296 cat >>confdefs.h <<\_ACEOF
29297 #define __WXGTK26__ 1
29300 { echo "$as_me:$LINENO: result: yes" >&5
29301 echo "${ECHO_T}yes" >&6; }
29305 echo "$as_me: failed program was:" >&5
29306 sed 's
/^
/| /' conftest.$ac_ext >&5
29309 { echo "$as_me:$LINENO: result: no" >&5
29310 echo "${ECHO_T}no" >&6; }
29315 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29317 if test "$ac_wxgtk210" = 0; then
29318 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.6" >&5
29319 echo $ECHO_N "checking if GTK+ is version >= 2.6... $ECHO_C" >&6; }
29320 cat >conftest.$ac_ext <<_ACEOF
29323 cat confdefs.h >>conftest.$ac_ext
29324 cat >>conftest.$ac_ext <<_ACEOF
29325 /* end confdefs.h. */
29327 #include <gtk/gtk.h>
29333 #if !GTK_CHECK_VERSION(2,6,0)
29341 rm -f conftest.$ac_objext
29342 if { (ac_try="$ac_compile"
29343 case "(($ac_try" in
29344 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29345 *) ac_try_echo=$ac_try;;
29347 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29348 (eval "$ac_compile") 2>conftest.er1
29350 grep -v '^
*+' conftest.er1 >conftest.err
29352 cat conftest.err >&5
29353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29354 (exit $ac_status); } && {
29355 test -z "$ac_c_werror_flag" ||
29356 test ! -s conftest.err
29357 } && test -s conftest.$ac_objext; then
29359 cat >>confdefs.h <<\_ACEOF
29360 #define __WXGTK26__ 1
29363 { echo "$as_me:$LINENO: result: yes" >&5
29364 echo "${ECHO_T}yes" >&6; }
29368 echo "$as_me: failed program was:" >&5
29369 sed 's
/^
/| /' conftest.$ac_ext >&5
29372 { echo "$as_me:$LINENO: result: no" >&5
29373 echo "${ECHO_T}no" >&6; }
29378 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29381 CFLAGS="$save_CFLAGS"
29384 if test "$wxUSE_UNICODE" = "yes"; then
29385 { echo "$as_me:$LINENO: WARNING: Unicode configuration not supported with GTK+ 1.x" >&5
29386 echo "$as_me: WARNING: Unicode configuration not supported with GTK+ 1.x" >&2;}
29390 { echo "$as_me:$LINENO: checking for gdk_im_open in -lgdk" >&5
29391 echo $ECHO_N "checking for gdk_im_open in -lgdk... $ECHO_C" >&6; }
29392 if test "${ac_cv_lib_gdk_gdk_im_open+set}" = set; then
29393 echo $ECHO_N "(cached) $ECHO_C" >&6
29395 ac_check_lib_save_LIBS=$LIBS
29397 cat >conftest.$ac_ext <<_ACEOF
29400 cat confdefs.h >>conftest.$ac_ext
29401 cat >>conftest.$ac_ext <<_ACEOF
29402 /* end confdefs.h. */
29404 /* Override any GCC internal prototype to avoid an error.
29405 Use char because int might match the return type of a GCC
29406 builtin and then its argument prototype would still apply. */
29410 char gdk_im_open ();
29414 return gdk_im_open ();
29419 rm -f conftest.$ac_objext conftest$ac_exeext
29420 if { (ac_try="$ac_link"
29421 case "(($ac_try" in
29422 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29423 *) ac_try_echo=$ac_try;;
29425 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29426 (eval "$ac_link") 2>conftest.er1
29428 grep -v '^
*+' conftest.er1 >conftest.err
29430 cat conftest.err >&5
29431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29432 (exit $ac_status); } && {
29433 test -z "$ac_c_werror_flag" ||
29434 test ! -s conftest.err
29435 } && test -s conftest$ac_exeext &&
29436 $as_test_x conftest$ac_exeext; then
29437 ac_cv_lib_gdk_gdk_im_open=yes
29439 echo "$as_me: failed program was:" >&5
29440 sed 's
/^
/| /' conftest.$ac_ext >&5
29442 ac_cv_lib_gdk_gdk_im_open=no
29445 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29446 conftest$ac_exeext conftest.$ac_ext
29447 LIBS=$ac_check_lib_save_LIBS
29449 { echo "$as_me:$LINENO: result: $ac_cv_lib_gdk_gdk_im_open" >&5
29450 echo "${ECHO_T}$ac_cv_lib_gdk_gdk_im_open" >&6; }
29451 if test $ac_cv_lib_gdk_gdk_im_open = yes; then
29452 cat >>confdefs.h <<\_ACEOF
29459 if test "$USE_DARWIN" != 1; then
29461 for ac_func in poll
29463 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29464 { echo "$as_me:$LINENO: checking for $ac_func" >&5
29465 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
29466 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
29467 echo $ECHO_N "(cached) $ECHO_C" >&6
29469 cat >conftest.$ac_ext <<_ACEOF
29472 cat confdefs.h >>conftest.$ac_ext
29473 cat >>conftest.$ac_ext <<_ACEOF
29474 /* end confdefs.h. */
29475 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29476 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29477 #define $ac_func innocuous_$ac_func
29479 /* System header to define __stub macros and hopefully few prototypes,
29480 which can conflict with char $ac_func (); below.
29481 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29482 <limits.h> exists even on freestanding compilers. */
29485 # include <limits.h>
29487 # include <assert.h>
29492 /* Override any GCC internal prototype to avoid an error.
29493 Use char because int might match the return type of a GCC
29494 builtin and then its argument prototype would still apply. */
29499 /* The GNU C library defines this for functions which it implements
29500 to always fail with ENOSYS. Some functions are actually named
29501 something starting with __ and the normal name is an alias. */
29502 #if defined __stub_$ac_func || defined __stub___$ac_func
29509 return $ac_func ();
29514 rm -f conftest.$ac_objext conftest$ac_exeext
29515 if { (ac_try="$ac_link"
29516 case "(($ac_try" in
29517 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29518 *) ac_try_echo=$ac_try;;
29520 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29521 (eval "$ac_link") 2>conftest.er1
29523 grep -v '^
*+' conftest.er1 >conftest.err
29525 cat conftest.err >&5
29526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29527 (exit $ac_status); } && {
29528 test -z "$ac_c_werror_flag" ||
29529 test ! -s conftest.err
29530 } && test -s conftest$ac_exeext &&
29531 $as_test_x conftest$ac_exeext; then
29532 eval "$as_ac_var=yes"
29534 echo "$as_me: failed program was:" >&5
29535 sed 's
/^
/| /' conftest.$ac_ext >&5
29537 eval "$as_ac_var=no"
29540 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29541 conftest$ac_exeext conftest.$ac_ext
29543 ac_res=`eval echo '${'$as_ac_var'}'`
29544 { echo "$as_me:$LINENO: result: $ac_res" >&5
29545 echo "${ECHO_T}$ac_res" >&6; }
29546 if test `eval echo '${'$as_ac_var'}'` = yes; then
29547 cat >>confdefs.h <<_ACEOF
29548 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29557 TOOLKIT_INCLUDE="$wx_cv_cflags_gtk"
29558 GUI_TK_LIBRARY="$wx_cv_libs_gtk $GUI_TK_LIBRARY"
29560 AFMINSTALL=afminstall
29564 if test "$wxUSE_GPE" = "yes"; then
29565 { echo "$as_me:$LINENO: checking for gpewidget library" >&5
29566 echo $ECHO_N "checking for gpewidget library... $ECHO_C" >&6; }
29569 for ac_dir in $SEARCH_LIB;
29571 for ac_extension in a so sl dylib dll.a; do
29572 if test -f "$ac_dir/libgpewidget.$ac_extension"; then
29573 ac_find_libraries=$ac_dir
29579 if test "$ac_find_libraries" != "" ; then
29581 if test "$ac_find_libraries" = "default location"; then
29584 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
29586 if test $result = 0; then
29589 ac_path_to_link=" -L$ac_find_libraries"
29593 GUI_TK_LIBRARY="-L${prefix}/lib -lgpewidget $GUI_TK_LIBRARY"
29595 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
29596 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
29598 { echo "$as_me:$LINENO: result: not found" >&5
29599 echo "${ECHO_T}not found" >&6; }
29605 if test "$wxUSE_MGL" = 1; then
29606 { echo "$as_me:$LINENO: checking for SciTech MGL library" >&5
29607 echo $ECHO_N "checking for SciTech MGL library... $ECHO_C" >&6; }
29608 if test "x$MGL_ROOT" = x ; then
29609 { echo "$as_me:$LINENO: result: not found" >&5
29610 echo "${ECHO_T}not found" >&6; }
29611 { { echo "$as_me:$LINENO: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&5
29612 echo "$as_me: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&2;}
29613 { (exit 1); exit 1; }; }
29615 { echo "$as_me:$LINENO: result: $MGL_ROOT" >&5
29616 echo "${ECHO_T}$MGL_ROOT" >&6; }
29619 { echo "$as_me:$LINENO: checking for libmgl location" >&5
29620 echo $ECHO_N "checking for libmgl location... $ECHO_C" >&6; }
29623 if test "x$wxUSE_SHARED" = xyes ; then
29624 mgl_os_candidates="linux/gcc/x86/so linux/gcc/x86/a linux/gcc/glibc.so linux/gcc/glibc"
29626 mgl_os_candidates="linux/gcc/x86/a linux/gcc/x86/so linux/gcc/glibc linux/gcc/glibc.so"
29630 mgl_os_candidates="dos32/dj2"
29633 { { echo "$as_me:$LINENO: error: This system type ${host} is not yet supported by wxMGL." >&5
29634 echo "$as_me: error: This system type ${host} is not yet supported by wxMGL." >&2;}
29635 { (exit 1); exit 1; }; }
29641 for mgl_os_i in $mgl_os_candidates ; do
29642 if test "x$mgl_os" = x ; then
29643 if test "$wxUSE_DEBUG_FLAG" = yes ; then
29644 if test -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.a -o \
29645 -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.so; then
29650 if test "x$mgl_lib_type" = x ; then
29651 if test -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.a -o \
29652 -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.so; then
29653 mgl_lib_type=release
29660 if test "x$mgl_os" = x ; then
29661 { echo "$as_me:$LINENO: result: not found" >&5
29662 echo "${ECHO_T}not found" >&6; }
29663 { { echo "$as_me:$LINENO: error: Cannot find MGL libraries, make sure they are compiled." >&5
29664 echo "$as_me: error: Cannot find MGL libraries, make sure they are compiled." >&2;}
29665 { (exit 1); exit 1; }; }
29667 { echo "$as_me:$LINENO: result: \"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&5
29668 echo "${ECHO_T}\"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&6; }
29670 wxUSE_UNIVERSAL="yes"
29672 TOOLKIT_INCLUDE="-I$MGL_ROOT/include"
29673 GUI_TK_LIBRARY="-L$MGL_ROOT/lib/$mgl_lib_type/$mgl_os -lmgl -lmglcpp -lpm"
29675 AFMINSTALL=afminstall
29680 if test "$wxUSE_DFB" = 1; then
29683 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
29684 if test -n "$ac_tool_prefix"; then
29685 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
29686 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
29687 { echo "$as_me:$LINENO: checking for $ac_word" >&5
29688 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
29689 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
29690 echo $ECHO_N "(cached) $ECHO_C" >&6
29692 case $PKG_CONFIG in
29694 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
29697 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
29698 for as_dir in $PATH
29701 test -z "$as_dir" && as_dir=.
29702 for ac_exec_ext in '' $ac_executable_extensions; do
29703 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
29704 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
29705 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
29715 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
29716 if test -n "$PKG_CONFIG"; then
29717 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
29718 echo "${ECHO_T}$PKG_CONFIG" >&6; }
29720 { echo "$as_me:$LINENO: result: no" >&5
29721 echo "${ECHO_T}no" >&6; }
29726 if test -z "$ac_cv_path_PKG_CONFIG"; then
29727 ac_pt_PKG_CONFIG=$PKG_CONFIG
29728 # Extract the first word of "pkg-config", so it can be a program name with args.
29729 set dummy pkg-config; ac_word=$2
29730 { echo "$as_me:$LINENO: checking for $ac_word" >&5
29731 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
29732 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
29733 echo $ECHO_N "(cached) $ECHO_C" >&6
29735 case $ac_pt_PKG_CONFIG in
29737 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
29740 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
29741 for as_dir in $PATH
29744 test -z "$as_dir" && as_dir=.
29745 for ac_exec_ext in '' $ac_executable_extensions; do
29746 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
29747 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
29748 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
29758 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
29759 if test -n "$ac_pt_PKG_CONFIG"; then
29760 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
29761 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
29763 { echo "$as_me:$LINENO: result: no" >&5
29764 echo "${ECHO_T}no" >&6; }
29767 if test "x$ac_pt_PKG_CONFIG" = x; then
29770 case $cross_compiling:$ac_tool_warned in
29772 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
29773 whose name does not start with the host triplet. If you think this
29774 configuration is useful to you, please write to autoconf@gnu.org." >&5
29775 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
29776 whose name does not start with the host triplet. If you think this
29777 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
29778 ac_tool_warned=yes ;;
29780 PKG_CONFIG=$ac_pt_PKG_CONFIG
29783 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
29787 if test -n "$PKG_CONFIG"; then
29788 _pkg_min_version=0.9.0
29789 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
29790 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
29791 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
29792 { echo "$as_me:$LINENO: result: yes" >&5
29793 echo "${ECHO_T}yes" >&6; }
29795 { echo "$as_me:$LINENO: result: no" >&5
29796 echo "${ECHO_T}no" >&6; }
29804 { echo "$as_me:$LINENO: checking for DIRECTFB" >&5
29805 echo $ECHO_N "checking for DIRECTFB... $ECHO_C" >&6; }
29807 if test -n "$PKG_CONFIG"; then
29808 if test -n "$DIRECTFB_CFLAGS"; then
29809 pkg_cv_DIRECTFB_CFLAGS="$DIRECTFB_CFLAGS"
29811 if test -n "$PKG_CONFIG" && \
29812 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\"") >&5
29813 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.23") 2>&5
29815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29816 (exit $ac_status); }; then
29817 pkg_cv_DIRECTFB_CFLAGS=`$PKG_CONFIG --cflags "directfb >= 0.9.23" 2>/dev/null`
29825 if test -n "$PKG_CONFIG"; then
29826 if test -n "$DIRECTFB_LIBS"; then
29827 pkg_cv_DIRECTFB_LIBS="$DIRECTFB_LIBS"
29829 if test -n "$PKG_CONFIG" && \
29830 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\"") >&5
29831 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.23") 2>&5
29833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29834 (exit $ac_status); }; then
29835 pkg_cv_DIRECTFB_LIBS=`$PKG_CONFIG --libs "directfb >= 0.9.23" 2>/dev/null`
29846 if test $pkg_failed = yes; then
29848 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
29849 _pkg_short_errors_supported=yes
29851 _pkg_short_errors_supported=no
29853 if test $_pkg_short_errors_supported = yes; then
29854 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "directfb >= 0.9.23"`
29856 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "directfb >= 0.9.23"`
29858 # Put the nasty error message in config.log where it belongs
29859 echo "$DIRECTFB_PKG_ERRORS" >&5
29862 { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
29863 echo "$as_me: error: DirectFB not found." >&2;}
29864 { (exit 1); exit 1; }; }
29867 elif test $pkg_failed = untried; then
29869 { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
29870 echo "$as_me: error: DirectFB not found." >&2;}
29871 { (exit 1); exit 1; }; }
29875 DIRECTFB_CFLAGS=$pkg_cv_DIRECTFB_CFLAGS
29876 DIRECTFB_LIBS=$pkg_cv_DIRECTFB_LIBS
29877 { echo "$as_me:$LINENO: result: yes" >&5
29878 echo "${ECHO_T}yes" >&6; }
29880 wxUSE_UNIVERSAL="yes"
29881 TOOLKIT_INCLUDE="$DIRECTFB_CFLAGS"
29882 GUI_TK_LIBRARY="$DIRECTFB_LIBS"
29889 if test "$wxUSE_MICROWIN" = 1; then
29890 { echo "$as_me:$LINENO: checking for MicroWindows" >&5
29891 echo $ECHO_N "checking for MicroWindows... $ECHO_C" >&6; }
29892 if test "x$MICROWINDOWS" = x ; then
29893 { echo "$as_me:$LINENO: result: not found" >&5
29894 echo "${ECHO_T}not found" >&6; }
29895 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&5
29896 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&2;}
29897 { (exit 1); exit 1; }; }
29899 { echo "$as_me:$LINENO: result: $MICROWINDOWS" >&5
29900 echo "${ECHO_T}$MICROWINDOWS" >&6; }
29903 if test -f $MICROWINDOWS/lib/libmwin.a; then
29904 { echo "$as_me:$LINENO: result: MicroWindows' libraries found.
" >&5
29905 echo "${ECHO_T}MicroWindows
' libraries found." >&6; }
29907 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows libraries, make sure they are compiled." >&5
29908 echo "$as_me: error: Cannot find MicroWindows libraries, make sure they are compiled." >&2;}
29909 { (exit 1); exit 1; }; }
29912 TOOLKIT_INCLUDE="-I$MICROWINDOWS/include"
29913 GUI_TK_LIBRARY="-L$MICROWINDOWS/lib -lmwin -lmwengine -mwfonts -mwdrivers -mwinlib"
29915 wxUSE_UNIVERSAL="yes"
29917 AFMINSTALL=afminstall
29919 GUIDIST=MICROWIN_DIST
29921 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXMSW__ -D__WIN95__ -D__WIN32__ -DMWIN -DMICROWIN_NOCONTROLS -DMICROWIN_TODO=1"
29924 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
29925 { echo "$as_me:$LINENO: checking for X" >&5
29926 echo $ECHO_N "checking for X... $ECHO_C" >&6; }
29929 # Check whether --with-x was given.
29930 if test "${with_x+set}" = set; then
29934 # $have_x is `yes', `no', `disabled
', or empty when we do not yet know.
29935 if test "x$with_x" = xno; then
29936 # The user explicitly disabled X.
29939 case $x_includes,$x_libraries in #(
29940 *\'*) { { echo "$as_me:$LINENO: error: Cannot use X directory names containing '" >&5
29941 echo "$as_me: error
: Cannot use X directory names containing
'" >&2;}
29942 { (exit 1); exit 1; }; };; #(
29943 *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then
29944 echo $ECHO_N "(cached) $ECHO_C" >&6
29946 # One or both of the vars are not set, and there is no cached value.
29947 ac_x_includes=no ac_x_libraries=no
29948 rm -f -r conftest.dir
29949 if mkdir conftest.dir; then
29951 cat >Imakefile <<'_ACEOF'
29953 @echo incroot='${INCROOT}'
29955 @echo usrlibdir='${USRLIBDIR}'
29957 @echo libdir='${LIBDIR}'
29959 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
29960 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
29961 for ac_var in incroot usrlibdir libdir; do
29962 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's
/^
$ac_var=//p
'\`"
29964 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
29965 for ac_extension in a so sl; do
29966 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
29967 test -f "$ac_im_libdir/libX11.$ac_extension"; then
29968 ac_im_usrlibdir=$ac_im_libdir; break
29971 # Screen out bogus values from the imake configuration. They are
29972 # bogus both because they are the default anyway, and because
29973 # using them would break gcc on systems where it needs fixed includes.
29974 case $ac_im_incroot in
29975 /usr/include) ac_x_includes= ;;
29976 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
29978 case $ac_im_usrlibdir in
29979 /usr/lib | /lib) ;;
29980 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
29984 rm -f -r conftest.dir
29987 # Standard set of common directories for X headers.
29988 # Check X11 before X11Rn because it is often a symlink to the current release.
30000 /usr
/local
/X
11/include
30001 /usr
/local
/X
11R
6/include
30002 /usr
/local
/X
11R
5/include
30003 /usr
/local
/X
11R
4/include
30005 /usr
/local
/include
/X11
30006 /usr
/local
/include
/X11R6
30007 /usr
/local
/include
/X11R5
30008 /usr
/local
/include
/X11R4
30012 /usr
/XFree
86/include
/X11
30016 /usr
/unsupported
/include
30017 /usr
/athena
/include
30018 /usr
/local
/x
11r
5/include
30019 /usr
/lpp
/Xamples
/include
30021 /usr
/openwin
/include
30022 /usr
/openwin
/share
/include
'
30024 if test "$ac_x_includes" = no; then
30025 # Guess where to find include files, by looking for Xlib.h.
30026 # First, try using that file with no special directory specified.
30027 cat >conftest.$ac_ext <<_ACEOF
30030 cat confdefs.h >>conftest.$ac_ext
30031 cat >>conftest.$ac_ext <<_ACEOF
30032 /* end confdefs.h. */
30033 #include <X11/Xlib.h>
30035 if { (ac_try="$ac_cpp conftest.$ac_ext"
30036 case "(($ac_try" in
30037 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30038 *) ac_try_echo=$ac_try;;
30040 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30041 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
30043 grep -v '^
*+' conftest.er1 >conftest.err
30045 cat conftest.err >&5
30046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30047 (exit $ac_status); } >/dev/null && {
30048 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
30049 test ! -s conftest.err
30051 # We can compile using X headers with no special include directory.
30054 echo "$as_me: failed program was:" >&5
30055 sed 's
/^
/| /' conftest.$ac_ext >&5
30057 for ac_dir in $ac_x_header_dirs; do
30058 if test -r "$ac_dir/X11/Xlib.h"; then
30059 ac_x_includes=$ac_dir
30065 rm -f conftest.err conftest.$ac_ext
30066 fi # $ac_x_includes = no
30068 if test "$ac_x_libraries" = no; then
30069 # Check for the libraries.
30070 # See if we find them without any special options.
30071 # Don't add to
$LIBS permanently.
30074 cat >conftest.
$ac_ext <<_ACEOF
30077 cat confdefs.h
>>conftest.
$ac_ext
30078 cat >>conftest.
$ac_ext <<_ACEOF
30079 /* end confdefs.h. */
30080 #include <X11/Xlib.h>
30089 rm -f conftest.
$ac_objext conftest
$ac_exeext
30090 if { (ac_try
="$ac_link"
30091 case "(($ac_try" in
30092 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
30093 *) ac_try_echo=$ac_try;;
30095 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30096 (eval "$ac_link") 2>conftest.er1
30098 grep -v '^ *+' conftest.er1 >conftest.err
30100 cat conftest.err >&5
30101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30102 (exit $ac_status); } && {
30103 test -z "$ac_c_werror_flag" ||
30104 test ! -s conftest.err
30105 } && test -s conftest$ac_exeext &&
30106 $as_test_x conftest$ac_exeext; then
30108 # We can link X programs with no special library path.
30111 echo "$as_me: failed program was:" >&5
30112 sed 's/^/| /' conftest.$ac_ext >&5
30115 for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s
/include
/lib
/g
`
30117 # Don't even attempt the hair of trying to link an X program!
30118 for ac_extension in a so sl; do
30119 if test -r "$ac_dir/libX11.$ac_extension"; then
30120 ac_x_libraries=$ac_dir
30127 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30128 conftest$ac_exeext conftest.$ac_ext
30129 fi # $ac_x_libraries = no
30131 case $ac_x_includes,$ac_x_libraries in #(
30132 no,* | *,no | *\'*)
30133 # Didn't find X, or a directory has "'" in its name.
30134 ac_cv_have_x="have_x=no";; #(
30136 # Record where we found X for the cache.
30137 ac_cv_have_x="have_x=yes\
30138 ac_x_includes='$ac_x_includes'\
30139 ac_x_libraries='$ac_x_libraries'"
30145 eval "$ac_cv_have_x"
30148 if test "$have_x" != yes; then
30149 { echo "$as_me:$LINENO: result: $have_x" >&5
30150 echo "${ECHO_T}$have_x" >&6; }
30153 # If each of the values was on the command line, it overrides each guess.
30154 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
30155 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
30156 # Update the cache value to reflect the command line values.
30157 ac_cv_have_x="have_x=yes\
30158 ac_x_includes='$x_includes'\
30159 ac_x_libraries='$x_libraries'"
30160 { echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
30161 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6; }
30164 if test "$no_x" = yes; then
30165 # Not all programs may use this symbol, but it does not hurt to define it.
30167 cat >>confdefs.h <<\_ACEOF
30168 #define X_DISPLAY_MISSING 1
30171 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
30173 if test -n "$x_includes"; then
30174 X_CFLAGS="$X_CFLAGS -I$x_includes"
30177 # It would also be nice to do this for all -L options, not just this one.
30178 if test -n "$x_libraries"; then
30179 X_LIBS="$X_LIBS -L$x_libraries"
30180 # For Solaris; some versions of Sun CC require a space after -R and
30181 # others require no space. Words are not sufficient . . . .
30182 { echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
30183 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6; }
30184 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
30185 ac_xsave_c_werror_flag=$ac_c_werror_flag
30186 ac_c_werror_flag=yes
30187 cat >conftest.$ac_ext <<_ACEOF
30190 cat confdefs.h >>conftest.$ac_ext
30191 cat >>conftest.$ac_ext <<_ACEOF
30192 /* end confdefs.h. */
30202 rm -f conftest.$ac_objext conftest$ac_exeext
30203 if { (ac_try="$ac_link"
30204 case "(($ac_try" in
30205 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
30206 *) ac_try_echo
=$ac_try;;
30208 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30209 (eval "$ac_link") 2>conftest.er1
30211 grep -v '^ *+' conftest.er1
>conftest.err
30213 cat conftest.err
>&5
30214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30215 (exit $ac_status); } && {
30216 test -z "$ac_c_werror_flag" ||
30217 test ! -s conftest.err
30218 } && test -s conftest
$ac_exeext &&
30219 $as_test_x conftest
$ac_exeext; then
30220 { echo "$as_me:$LINENO: result: no" >&5
30221 echo "${ECHO_T}no" >&6; }
30222 X_LIBS
="$X_LIBS -R$x_libraries"
30224 echo "$as_me: failed program was:" >&5
30225 sed 's/^/| /' conftest.
$ac_ext >&5
30227 LIBS
="$ac_xsave_LIBS -R $x_libraries"
30228 cat >conftest.
$ac_ext <<_ACEOF
30231 cat confdefs.h
>>conftest.
$ac_ext
30232 cat >>conftest.
$ac_ext <<_ACEOF
30233 /* end confdefs.h. */
30243 rm -f conftest.
$ac_objext conftest
$ac_exeext
30244 if { (ac_try
="$ac_link"
30245 case "(($ac_try" in
30246 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
30247 *) ac_try_echo=$ac_try;;
30249 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30250 (eval "$ac_link") 2>conftest.er1
30252 grep -v '^ *+' conftest.er1 >conftest.err
30254 cat conftest.err >&5
30255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30256 (exit $ac_status); } && {
30257 test -z "$ac_c_werror_flag" ||
30258 test ! -s conftest.err
30259 } && test -s conftest$ac_exeext &&
30260 $as_test_x conftest$ac_exeext; then
30261 { echo "$as_me:$LINENO: result: yes" >&5
30262 echo "${ECHO_T}yes" >&6; }
30263 X_LIBS="$X_LIBS -R $x_libraries"
30265 echo "$as_me: failed program was:" >&5
30266 sed 's/^/| /' conftest.$ac_ext >&5
30268 { echo "$as_me:$LINENO: result: neither works" >&5
30269 echo "${ECHO_T}neither works" >&6; }
30272 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30273 conftest$ac_exeext conftest.$ac_ext
30276 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30277 conftest$ac_exeext conftest.$ac_ext
30278 ac_c_werror_flag=$ac_xsave_c_werror_flag
30279 LIBS=$ac_xsave_LIBS
30282 # Check for system-dependent libraries X programs must link with.
30283 # Do this before checking for the system-independent R6 libraries
30284 # (-lICE), since we may need -lsocket or whatever for X linking.
30286 if test "$ISC" = yes; then
30287 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
30289 # Martyn Johnson says this is needed for Ultrix, if the X
30290 # libraries were built with DECnet support. And Karl Berry says
30291 # the Alpha needs dnet_stub (dnet does not exist).
30292 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
30293 cat >conftest.$ac_ext <<_ACEOF
30296 cat confdefs.h >>conftest.$ac_ext
30297 cat >>conftest.$ac_ext <<_ACEOF
30298 /* end confdefs.h. */
30300 /* Override any GCC internal prototype to avoid an error.
30301 Use char because int might match the return type of a GCC
30302 builtin and then its argument prototype would still apply. */
30306 char XOpenDisplay ();
30310 return XOpenDisplay ();
30315 rm -f conftest.$ac_objext conftest$ac_exeext
30316 if { (ac_try="$ac_link"
30317 case "(($ac_try" in
30318 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
30319 *) ac_try_echo
=$ac_try;;
30321 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30322 (eval "$ac_link") 2>conftest.er1
30324 grep -v '^ *+' conftest.er1
>conftest.err
30326 cat conftest.err
>&5
30327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30328 (exit $ac_status); } && {
30329 test -z "$ac_c_werror_flag" ||
30330 test ! -s conftest.err
30331 } && test -s conftest
$ac_exeext &&
30332 $as_test_x conftest
$ac_exeext; then
30335 echo "$as_me: failed program was:" >&5
30336 sed 's/^/| /' conftest.
$ac_ext >&5
30338 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
30339 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6; }
30340 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
30341 echo $ECHO_N "(cached) $ECHO_C" >&6
30343 ac_check_lib_save_LIBS
=$LIBS
30344 LIBS
="-ldnet $LIBS"
30345 cat >conftest.
$ac_ext <<_ACEOF
30348 cat confdefs.h
>>conftest.
$ac_ext
30349 cat >>conftest.
$ac_ext <<_ACEOF
30350 /* end confdefs.h. */
30352 /* Override any GCC internal prototype to avoid an error.
30353 Use char because int might match the return type of a GCC
30354 builtin and then its argument prototype would still apply. */
30362 return dnet_ntoa ();
30367 rm -f conftest.
$ac_objext conftest
$ac_exeext
30368 if { (ac_try
="$ac_link"
30369 case "(($ac_try" in
30370 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
30371 *) ac_try_echo=$ac_try;;
30373 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30374 (eval "$ac_link") 2>conftest.er1
30376 grep -v '^ *+' conftest.er1 >conftest.err
30378 cat conftest.err >&5
30379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30380 (exit $ac_status); } && {
30381 test -z "$ac_c_werror_flag" ||
30382 test ! -s conftest.err
30383 } && test -s conftest$ac_exeext &&
30384 $as_test_x conftest$ac_exeext; then
30385 ac_cv_lib_dnet_dnet_ntoa=yes
30387 echo "$as_me: failed program was:" >&5
30388 sed 's/^/| /' conftest.$ac_ext >&5
30390 ac_cv_lib_dnet_dnet_ntoa=no
30393 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30394 conftest$ac_exeext conftest.$ac_ext
30395 LIBS=$ac_check_lib_save_LIBS
30397 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
30398 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6; }
30399 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
30400 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
30403 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
30404 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
30405 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6; }
30406 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
30407 echo $ECHO_N "(cached) $ECHO_C" >&6
30409 ac_check_lib_save_LIBS=$LIBS
30410 LIBS="-ldnet_stub $LIBS"
30411 cat >conftest.$ac_ext <<_ACEOF
30414 cat confdefs.h >>conftest.$ac_ext
30415 cat >>conftest.$ac_ext <<_ACEOF
30416 /* end confdefs.h. */
30418 /* Override any GCC internal prototype to avoid an error.
30419 Use char because int might match the return type of a GCC
30420 builtin and then its argument prototype would still apply. */
30428 return dnet_ntoa ();
30433 rm -f conftest.$ac_objext conftest$ac_exeext
30434 if { (ac_try="$ac_link"
30435 case "(($ac_try" in
30436 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
30437 *) ac_try_echo
=$ac_try;;
30439 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30440 (eval "$ac_link") 2>conftest.er1
30442 grep -v '^ *+' conftest.er1
>conftest.err
30444 cat conftest.err
>&5
30445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30446 (exit $ac_status); } && {
30447 test -z "$ac_c_werror_flag" ||
30448 test ! -s conftest.err
30449 } && test -s conftest
$ac_exeext &&
30450 $as_test_x conftest
$ac_exeext; then
30451 ac_cv_lib_dnet_stub_dnet_ntoa
=yes
30453 echo "$as_me: failed program was:" >&5
30454 sed 's/^/| /' conftest.
$ac_ext >&5
30456 ac_cv_lib_dnet_stub_dnet_ntoa
=no
30459 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
30460 conftest
$ac_exeext conftest.
$ac_ext
30461 LIBS
=$ac_check_lib_save_LIBS
30463 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
30464 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
30465 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
30466 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
30472 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
30473 conftest
$ac_exeext conftest.
$ac_ext
30474 LIBS
="$ac_xsave_LIBS"
30476 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
30477 # to get the SysV transport functions.
30478 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
30480 # The nsl library prevents programs from opening the X display
30481 # on Irix 5.2, according to T.E. Dickey.
30482 # The functions gethostbyname, getservbyname, and inet_addr are
30483 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
30484 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
30485 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
30486 if test "${ac_cv_func_gethostbyname+set}" = set; then
30487 echo $ECHO_N "(cached) $ECHO_C" >&6
30489 cat >conftest.
$ac_ext <<_ACEOF
30492 cat confdefs.h
>>conftest.
$ac_ext
30493 cat >>conftest.
$ac_ext <<_ACEOF
30494 /* end confdefs.h. */
30495 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
30496 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30497 #define gethostbyname innocuous_gethostbyname
30499 /* System header to define __stub macros and hopefully few prototypes,
30500 which can conflict with char gethostbyname (); below.
30501 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30502 <limits.h> exists even on freestanding compilers. */
30505 # include <limits.h>
30507 # include <assert.h>
30510 #undef gethostbyname
30512 /* Override any GCC internal prototype to avoid an error.
30513 Use char because int might match the return type of a GCC
30514 builtin and then its argument prototype would still apply. */
30518 char gethostbyname ();
30519 /* The GNU C library defines this for functions which it implements
30520 to always fail with ENOSYS. Some functions are actually named
30521 something starting with __ and the normal name is an alias. */
30522 #if defined __stub_gethostbyname || defined __stub___gethostbyname
30529 return gethostbyname ();
30534 rm -f conftest.
$ac_objext conftest
$ac_exeext
30535 if { (ac_try
="$ac_link"
30536 case "(($ac_try" in
30537 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
30538 *) ac_try_echo=$ac_try;;
30540 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30541 (eval "$ac_link") 2>conftest.er1
30543 grep -v '^ *+' conftest.er1 >conftest.err
30545 cat conftest.err >&5
30546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30547 (exit $ac_status); } && {
30548 test -z "$ac_c_werror_flag" ||
30549 test ! -s conftest.err
30550 } && test -s conftest$ac_exeext &&
30551 $as_test_x conftest$ac_exeext; then
30552 ac_cv_func_gethostbyname=yes
30554 echo "$as_me: failed program was:" >&5
30555 sed 's/^/| /' conftest.$ac_ext >&5
30557 ac_cv_func_gethostbyname=no
30560 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30561 conftest$ac_exeext conftest.$ac_ext
30563 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
30564 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
30566 if test $ac_cv_func_gethostbyname = no; then
30567 { echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
30568 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6; }
30569 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
30570 echo $ECHO_N "(cached) $ECHO_C" >&6
30572 ac_check_lib_save_LIBS=$LIBS
30574 cat >conftest.$ac_ext <<_ACEOF
30577 cat confdefs.h >>conftest.$ac_ext
30578 cat >>conftest.$ac_ext <<_ACEOF
30579 /* end confdefs.h. */
30581 /* Override any GCC internal prototype to avoid an error.
30582 Use char because int might match the return type of a GCC
30583 builtin and then its argument prototype would still apply. */
30587 char gethostbyname ();
30591 return gethostbyname ();
30596 rm -f conftest.$ac_objext conftest$ac_exeext
30597 if { (ac_try="$ac_link"
30598 case "(($ac_try" in
30599 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
30600 *) ac_try_echo
=$ac_try;;
30602 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30603 (eval "$ac_link") 2>conftest.er1
30605 grep -v '^ *+' conftest.er1
>conftest.err
30607 cat conftest.err
>&5
30608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30609 (exit $ac_status); } && {
30610 test -z "$ac_c_werror_flag" ||
30611 test ! -s conftest.err
30612 } && test -s conftest
$ac_exeext &&
30613 $as_test_x conftest
$ac_exeext; then
30614 ac_cv_lib_nsl_gethostbyname
=yes
30616 echo "$as_me: failed program was:" >&5
30617 sed 's/^/| /' conftest.
$ac_ext >&5
30619 ac_cv_lib_nsl_gethostbyname
=no
30622 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
30623 conftest
$ac_exeext conftest.
$ac_ext
30624 LIBS
=$ac_check_lib_save_LIBS
30626 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
30627 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6; }
30628 if test $ac_cv_lib_nsl_gethostbyname = yes; then
30629 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
30632 if test $ac_cv_lib_nsl_gethostbyname = no
; then
30633 { echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
30634 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6; }
30635 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
30636 echo $ECHO_N "(cached) $ECHO_C" >&6
30638 ac_check_lib_save_LIBS
=$LIBS
30640 cat >conftest.
$ac_ext <<_ACEOF
30643 cat confdefs.h
>>conftest.
$ac_ext
30644 cat >>conftest.
$ac_ext <<_ACEOF
30645 /* end confdefs.h. */
30647 /* Override any GCC internal prototype to avoid an error.
30648 Use char because int might match the return type of a GCC
30649 builtin and then its argument prototype would still apply. */
30653 char gethostbyname ();
30657 return gethostbyname ();
30662 rm -f conftest.
$ac_objext conftest
$ac_exeext
30663 if { (ac_try
="$ac_link"
30664 case "(($ac_try" in
30665 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
30666 *) ac_try_echo=$ac_try;;
30668 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30669 (eval "$ac_link") 2>conftest.er1
30671 grep -v '^ *+' conftest.er1 >conftest.err
30673 cat conftest.err >&5
30674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30675 (exit $ac_status); } && {
30676 test -z "$ac_c_werror_flag" ||
30677 test ! -s conftest.err
30678 } && test -s conftest$ac_exeext &&
30679 $as_test_x conftest$ac_exeext; then
30680 ac_cv_lib_bsd_gethostbyname=yes
30682 echo "$as_me: failed program was:" >&5
30683 sed 's/^/| /' conftest.$ac_ext >&5
30685 ac_cv_lib_bsd_gethostbyname=no
30688 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30689 conftest$ac_exeext conftest.$ac_ext
30690 LIBS=$ac_check_lib_save_LIBS
30692 { echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
30693 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6; }
30694 if test $ac_cv_lib_bsd_gethostbyname = yes; then
30695 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
30701 # lieder@skyler.mavd.honeywell.com says without -lsocket,
30702 # socket/setsockopt and other routines are undefined under SCO ODT
30703 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
30704 # on later versions), says Simon Leinen: it contains gethostby*
30705 # variants that don't use the name server (or something). -lsocket
30706 # must be given before -lnsl if both are needed. We assume that
30707 # if connect needs -lnsl, so does gethostbyname.
30708 { echo "$as_me:$LINENO: checking for connect" >&5
30709 echo $ECHO_N "checking for connect... $ECHO_C" >&6; }
30710 if test "${ac_cv_func_connect+set}" = set; then
30711 echo $ECHO_N "(cached) $ECHO_C" >&6
30713 cat >conftest.$ac_ext <<_ACEOF
30716 cat confdefs.h >>conftest.$ac_ext
30717 cat >>conftest.$ac_ext <<_ACEOF
30718 /* end confdefs.h. */
30719 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
30720 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30721 #define connect innocuous_connect
30723 /* System header to define __stub macros and hopefully few prototypes,
30724 which can conflict with char connect (); below.
30725 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30726 <limits.h> exists even on freestanding compilers. */
30729 # include <limits.h>
30731 # include <assert.h>
30736 /* Override any GCC internal prototype to avoid an error.
30737 Use char because int might match the return type of a GCC
30738 builtin and then its argument prototype would still apply. */
30743 /* The GNU C library defines this for functions which it implements
30744 to always fail with ENOSYS. Some functions are actually named
30745 something starting with __ and the normal name is an alias. */
30746 #if defined __stub_connect || defined __stub___connect
30758 rm -f conftest.$ac_objext conftest$ac_exeext
30759 if { (ac_try="$ac_link"
30760 case "(($ac_try" in
30761 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
30762 *) ac_try_echo
=$ac_try;;
30764 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30765 (eval "$ac_link") 2>conftest.er1
30767 grep -v '^ *+' conftest.er1
>conftest.err
30769 cat conftest.err
>&5
30770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30771 (exit $ac_status); } && {
30772 test -z "$ac_c_werror_flag" ||
30773 test ! -s conftest.err
30774 } && test -s conftest
$ac_exeext &&
30775 $as_test_x conftest
$ac_exeext; then
30776 ac_cv_func_connect
=yes
30778 echo "$as_me: failed program was:" >&5
30779 sed 's/^/| /' conftest.
$ac_ext >&5
30781 ac_cv_func_connect
=no
30784 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
30785 conftest
$ac_exeext conftest.
$ac_ext
30787 { echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
30788 echo "${ECHO_T}$ac_cv_func_connect" >&6; }
30790 if test $ac_cv_func_connect = no
; then
30791 { echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
30792 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6; }
30793 if test "${ac_cv_lib_socket_connect+set}" = set; then
30794 echo $ECHO_N "(cached) $ECHO_C" >&6
30796 ac_check_lib_save_LIBS
=$LIBS
30797 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
30798 cat >conftest.
$ac_ext <<_ACEOF
30801 cat confdefs.h
>>conftest.
$ac_ext
30802 cat >>conftest.
$ac_ext <<_ACEOF
30803 /* end confdefs.h. */
30805 /* Override any GCC internal prototype to avoid an error.
30806 Use char because int might match the return type of a GCC
30807 builtin and then its argument prototype would still apply. */
30820 rm -f conftest.
$ac_objext conftest
$ac_exeext
30821 if { (ac_try
="$ac_link"
30822 case "(($ac_try" in
30823 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
30824 *) ac_try_echo=$ac_try;;
30826 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30827 (eval "$ac_link") 2>conftest.er1
30829 grep -v '^ *+' conftest.er1 >conftest.err
30831 cat conftest.err >&5
30832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30833 (exit $ac_status); } && {
30834 test -z "$ac_c_werror_flag" ||
30835 test ! -s conftest.err
30836 } && test -s conftest$ac_exeext &&
30837 $as_test_x conftest$ac_exeext; then
30838 ac_cv_lib_socket_connect=yes
30840 echo "$as_me: failed program was:" >&5
30841 sed 's/^/| /' conftest.$ac_ext >&5
30843 ac_cv_lib_socket_connect=no
30846 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30847 conftest$ac_exeext conftest.$ac_ext
30848 LIBS=$ac_check_lib_save_LIBS
30850 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
30851 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6; }
30852 if test $ac_cv_lib_socket_connect = yes; then
30853 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
30858 # Guillermo Gomez says -lposix is necessary on A/UX.
30859 { echo "$as_me:$LINENO: checking for remove" >&5
30860 echo $ECHO_N "checking for remove... $ECHO_C" >&6; }
30861 if test "${ac_cv_func_remove+set}" = set; then
30862 echo $ECHO_N "(cached) $ECHO_C" >&6
30864 cat >conftest.$ac_ext <<_ACEOF
30867 cat confdefs.h >>conftest.$ac_ext
30868 cat >>conftest.$ac_ext <<_ACEOF
30869 /* end confdefs.h. */
30870 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
30871 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30872 #define remove innocuous_remove
30874 /* System header to define __stub macros and hopefully few prototypes,
30875 which can conflict with char remove (); below.
30876 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30877 <limits.h> exists even on freestanding compilers. */
30880 # include <limits.h>
30882 # include <assert.h>
30887 /* Override any GCC internal prototype to avoid an error.
30888 Use char because int might match the return type of a GCC
30889 builtin and then its argument prototype would still apply. */
30894 /* The GNU C library defines this for functions which it implements
30895 to always fail with ENOSYS. Some functions are actually named
30896 something starting with __ and the normal name is an alias. */
30897 #if defined __stub_remove || defined __stub___remove
30909 rm -f conftest.$ac_objext conftest$ac_exeext
30910 if { (ac_try="$ac_link"
30911 case "(($ac_try" in
30912 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
30913 *) ac_try_echo
=$ac_try;;
30915 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30916 (eval "$ac_link") 2>conftest.er1
30918 grep -v '^ *+' conftest.er1
>conftest.err
30920 cat conftest.err
>&5
30921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30922 (exit $ac_status); } && {
30923 test -z "$ac_c_werror_flag" ||
30924 test ! -s conftest.err
30925 } && test -s conftest
$ac_exeext &&
30926 $as_test_x conftest
$ac_exeext; then
30927 ac_cv_func_remove
=yes
30929 echo "$as_me: failed program was:" >&5
30930 sed 's/^/| /' conftest.
$ac_ext >&5
30932 ac_cv_func_remove
=no
30935 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
30936 conftest
$ac_exeext conftest.
$ac_ext
30938 { echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
30939 echo "${ECHO_T}$ac_cv_func_remove" >&6; }
30941 if test $ac_cv_func_remove = no
; then
30942 { echo "$as_me:$LINENO: checking for remove in -lposix" >&5
30943 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6; }
30944 if test "${ac_cv_lib_posix_remove+set}" = set; then
30945 echo $ECHO_N "(cached) $ECHO_C" >&6
30947 ac_check_lib_save_LIBS
=$LIBS
30948 LIBS
="-lposix $LIBS"
30949 cat >conftest.
$ac_ext <<_ACEOF
30952 cat confdefs.h
>>conftest.
$ac_ext
30953 cat >>conftest.
$ac_ext <<_ACEOF
30954 /* end confdefs.h. */
30956 /* Override any GCC internal prototype to avoid an error.
30957 Use char because int might match the return type of a GCC
30958 builtin and then its argument prototype would still apply. */
30971 rm -f conftest.
$ac_objext conftest
$ac_exeext
30972 if { (ac_try
="$ac_link"
30973 case "(($ac_try" in
30974 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
30975 *) ac_try_echo=$ac_try;;
30977 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30978 (eval "$ac_link") 2>conftest.er1
30980 grep -v '^ *+' conftest.er1 >conftest.err
30982 cat conftest.err >&5
30983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30984 (exit $ac_status); } && {
30985 test -z "$ac_c_werror_flag" ||
30986 test ! -s conftest.err
30987 } && test -s conftest$ac_exeext &&
30988 $as_test_x conftest$ac_exeext; then
30989 ac_cv_lib_posix_remove=yes
30991 echo "$as_me: failed program was:" >&5
30992 sed 's/^/| /' conftest.$ac_ext >&5
30994 ac_cv_lib_posix_remove=no
30997 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30998 conftest$ac_exeext conftest.$ac_ext
30999 LIBS=$ac_check_lib_save_LIBS
31001 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
31002 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6; }
31003 if test $ac_cv_lib_posix_remove = yes; then
31004 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
31009 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
31010 { echo "$as_me:$LINENO: checking for shmat" >&5
31011 echo $ECHO_N "checking for shmat... $ECHO_C" >&6; }
31012 if test "${ac_cv_func_shmat+set}" = set; then
31013 echo $ECHO_N "(cached) $ECHO_C" >&6
31015 cat >conftest.$ac_ext <<_ACEOF
31018 cat confdefs.h >>conftest.$ac_ext
31019 cat >>conftest.$ac_ext <<_ACEOF
31020 /* end confdefs.h. */
31021 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
31022 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31023 #define shmat innocuous_shmat
31025 /* System header to define __stub macros and hopefully few prototypes,
31026 which can conflict with char shmat (); below.
31027 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31028 <limits.h> exists even on freestanding compilers. */
31031 # include <limits.h>
31033 # include <assert.h>
31038 /* Override any GCC internal prototype to avoid an error.
31039 Use char because int might match the return type of a GCC
31040 builtin and then its argument prototype would still apply. */
31045 /* The GNU C library defines this for functions which it implements
31046 to always fail with ENOSYS. Some functions are actually named
31047 something starting with __ and the normal name is an alias. */
31048 #if defined __stub_shmat || defined __stub___shmat
31060 rm -f conftest.$ac_objext conftest$ac_exeext
31061 if { (ac_try="$ac_link"
31062 case "(($ac_try" in
31063 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
31064 *) ac_try_echo
=$ac_try;;
31066 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31067 (eval "$ac_link") 2>conftest.er1
31069 grep -v '^ *+' conftest.er1
>conftest.err
31071 cat conftest.err
>&5
31072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31073 (exit $ac_status); } && {
31074 test -z "$ac_c_werror_flag" ||
31075 test ! -s conftest.err
31076 } && test -s conftest
$ac_exeext &&
31077 $as_test_x conftest
$ac_exeext; then
31078 ac_cv_func_shmat
=yes
31080 echo "$as_me: failed program was:" >&5
31081 sed 's/^/| /' conftest.
$ac_ext >&5
31083 ac_cv_func_shmat
=no
31086 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
31087 conftest
$ac_exeext conftest.
$ac_ext
31089 { echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
31090 echo "${ECHO_T}$ac_cv_func_shmat" >&6; }
31092 if test $ac_cv_func_shmat = no
; then
31093 { echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
31094 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6; }
31095 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
31096 echo $ECHO_N "(cached) $ECHO_C" >&6
31098 ac_check_lib_save_LIBS
=$LIBS
31100 cat >conftest.
$ac_ext <<_ACEOF
31103 cat confdefs.h
>>conftest.
$ac_ext
31104 cat >>conftest.
$ac_ext <<_ACEOF
31105 /* end confdefs.h. */
31107 /* Override any GCC internal prototype to avoid an error.
31108 Use char because int might match the return type of a GCC
31109 builtin and then its argument prototype would still apply. */
31122 rm -f conftest.
$ac_objext conftest
$ac_exeext
31123 if { (ac_try
="$ac_link"
31124 case "(($ac_try" in
31125 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
31126 *) ac_try_echo=$ac_try;;
31128 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31129 (eval "$ac_link") 2>conftest.er1
31131 grep -v '^ *+' conftest.er1 >conftest.err
31133 cat conftest.err >&5
31134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31135 (exit $ac_status); } && {
31136 test -z "$ac_c_werror_flag" ||
31137 test ! -s conftest.err
31138 } && test -s conftest$ac_exeext &&
31139 $as_test_x conftest$ac_exeext; then
31140 ac_cv_lib_ipc_shmat=yes
31142 echo "$as_me: failed program was:" >&5
31143 sed 's/^/| /' conftest.$ac_ext >&5
31145 ac_cv_lib_ipc_shmat=no
31148 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31149 conftest$ac_exeext conftest.$ac_ext
31150 LIBS=$ac_check_lib_save_LIBS
31152 { echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
31153 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6; }
31154 if test $ac_cv_lib_ipc_shmat = yes; then
31155 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
31161 # Check for libraries that X11R6 Xt/Xaw programs need.
31162 ac_save_LDFLAGS=$LDFLAGS
31163 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
31164 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
31165 # check for ICE first), but we must link in the order -lSM -lICE or
31166 # we get undefined symbols. So assume we have SM if we have ICE.
31167 # These have to be linked with before -lX11, unlike the other
31168 # libraries we check for below, so use a different variable.
31169 # John Interrante, Karl Berry
31170 { echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
31171 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6; }
31172 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
31173 echo $ECHO_N "(cached) $ECHO_C" >&6
31175 ac_check_lib_save_LIBS=$LIBS
31176 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
31177 cat >conftest.$ac_ext <<_ACEOF
31180 cat confdefs.h >>conftest.$ac_ext
31181 cat >>conftest.$ac_ext <<_ACEOF
31182 /* end confdefs.h. */
31184 /* Override any GCC internal prototype to avoid an error.
31185 Use char because int might match the return type of a GCC
31186 builtin and then its argument prototype would still apply. */
31190 char IceConnectionNumber ();
31194 return IceConnectionNumber ();
31199 rm -f conftest.$ac_objext conftest$ac_exeext
31200 if { (ac_try="$ac_link"
31201 case "(($ac_try" in
31202 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
31203 *) ac_try_echo
=$ac_try;;
31205 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31206 (eval "$ac_link") 2>conftest.er1
31208 grep -v '^ *+' conftest.er1
>conftest.err
31210 cat conftest.err
>&5
31211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31212 (exit $ac_status); } && {
31213 test -z "$ac_c_werror_flag" ||
31214 test ! -s conftest.err
31215 } && test -s conftest
$ac_exeext &&
31216 $as_test_x conftest
$ac_exeext; then
31217 ac_cv_lib_ICE_IceConnectionNumber
=yes
31219 echo "$as_me: failed program was:" >&5
31220 sed 's/^/| /' conftest.
$ac_ext >&5
31222 ac_cv_lib_ICE_IceConnectionNumber
=no
31225 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
31226 conftest
$ac_exeext conftest.
$ac_ext
31227 LIBS
=$ac_check_lib_save_LIBS
31229 { echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
31230 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
31231 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
31232 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
31235 LDFLAGS
=$ac_save_LDFLAGS
31240 if test "$no_x" = "yes"; then
31241 { { echo "$as_me:$LINENO: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&5
31242 echo "$as_me: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&2;}
31243 { (exit 1); exit 1; }; }
31246 GUI_TK_LIBRARY
=`echo $X_LIBS | sed 's/ -LNONE//' | sed 's/ -RNONE//'`
31247 TOOLKIT_INCLUDE
=`echo $X_CFLAGS | sed 's/ -INONE//'`
31248 AFMINSTALL
=afminstall
31249 COMPILED_X_PROGRAM
=0
31253 if test "$wxUSE_X11" = 1; then
31254 if test "$wxUSE_NANOX" = "yes"; then
31255 { echo "$as_me:$LINENO: checking for MicroWindows/NanoX distribution" >&5
31256 echo $ECHO_N "checking for MicroWindows/NanoX distribution... $ECHO_C" >&6; }
31257 if test "x$MICROWIN" = x
; then
31258 { echo "$as_me:$LINENO: result: not found" >&5
31259 echo "${ECHO_T}not found" >&6; }
31260 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&5
31261 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&2;}
31262 { (exit 1); exit 1; }; }
31264 { echo "$as_me:$LINENO: result: $MICROWIN" >&5
31265 echo "${ECHO_T}$MICROWIN" >&6; }
31266 cat >>confdefs.h
<<\_ACEOF
31267 #define wxUSE_NANOX 1
31273 if test "$wxUSE_UNICODE" = "yes"; then
31276 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
31277 if test -n "$ac_tool_prefix"; then
31278 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
31279 set dummy
${ac_tool_prefix}pkg
-config; ac_word
=$2
31280 { echo "$as_me:$LINENO: checking for $ac_word" >&5
31281 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
31282 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
31283 echo $ECHO_N "(cached) $ECHO_C" >&6
31285 case $PKG_CONFIG in
31287 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
31290 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
31291 for as_dir
in $PATH
31294 test -z "$as_dir" && as_dir
=.
31295 for ac_exec_ext
in '' $ac_executable_extensions; do
31296 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
31297 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
31298 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
31308 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
31309 if test -n "$PKG_CONFIG"; then
31310 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
31311 echo "${ECHO_T}$PKG_CONFIG" >&6; }
31313 { echo "$as_me:$LINENO: result: no" >&5
31314 echo "${ECHO_T}no" >&6; }
31319 if test -z "$ac_cv_path_PKG_CONFIG"; then
31320 ac_pt_PKG_CONFIG
=$PKG_CONFIG
31321 # Extract the first word of "pkg-config", so it can be a program name with args.
31322 set dummy pkg
-config; ac_word
=$2
31323 { echo "$as_me:$LINENO: checking for $ac_word" >&5
31324 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
31325 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
31326 echo $ECHO_N "(cached) $ECHO_C" >&6
31328 case $ac_pt_PKG_CONFIG in
31330 ac_cv_path_ac_pt_PKG_CONFIG
="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
31333 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
31334 for as_dir
in $PATH
31337 test -z "$as_dir" && as_dir
=.
31338 for ac_exec_ext
in '' $ac_executable_extensions; do
31339 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
31340 ac_cv_path_ac_pt_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
31341 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
31351 ac_pt_PKG_CONFIG
=$ac_cv_path_ac_pt_PKG_CONFIG
31352 if test -n "$ac_pt_PKG_CONFIG"; then
31353 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
31354 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
31356 { echo "$as_me:$LINENO: result: no" >&5
31357 echo "${ECHO_T}no" >&6; }
31360 if test "x$ac_pt_PKG_CONFIG" = x
; then
31363 case $cross_compiling:$ac_tool_warned in
31365 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
31366 whose name does not start with the host triplet. If you think this
31367 configuration is useful to you, please write to autoconf@gnu.org." >&5
31368 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
31369 whose name does not start with the host triplet. If you think this
31370 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
31371 ac_tool_warned
=yes ;;
31373 PKG_CONFIG
=$ac_pt_PKG_CONFIG
31376 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
31380 if test -n "$PKG_CONFIG"; then
31381 _pkg_min_version
=0.9.0
31382 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
31383 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
31384 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
31385 { echo "$as_me:$LINENO: result: yes" >&5
31386 echo "${ECHO_T}yes" >&6; }
31388 { echo "$as_me:$LINENO: result: no" >&5
31389 echo "${ECHO_T}no" >&6; }
31397 { echo "$as_me:$LINENO: checking for PANGOX" >&5
31398 echo $ECHO_N "checking for PANGOX... $ECHO_C" >&6; }
31400 if test -n "$PKG_CONFIG"; then
31401 if test -n "$PANGOX_CFLAGS"; then
31402 pkg_cv_PANGOX_CFLAGS
="$PANGOX_CFLAGS"
31404 if test -n "$PKG_CONFIG" && \
31405 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
31406 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
31408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31409 (exit $ac_status); }; then
31410 pkg_cv_PANGOX_CFLAGS
=`$PKG_CONFIG --cflags "pangox" 2>/dev/null`
31418 if test -n "$PKG_CONFIG"; then
31419 if test -n "$PANGOX_LIBS"; then
31420 pkg_cv_PANGOX_LIBS
="$PANGOX_LIBS"
31422 if test -n "$PKG_CONFIG" && \
31423 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
31424 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
31426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31427 (exit $ac_status); }; then
31428 pkg_cv_PANGOX_LIBS
=`$PKG_CONFIG --libs "pangox" 2>/dev/null`
31439 if test $pkg_failed = yes; then
31441 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
31442 _pkg_short_errors_supported
=yes
31444 _pkg_short_errors_supported
=no
31446 if test $_pkg_short_errors_supported = yes; then
31447 PANGOX_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangox"`
31449 PANGOX_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangox"`
31451 # Put the nasty error message in config.log where it belongs
31452 echo "$PANGOX_PKG_ERRORS" >&5
31455 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
31456 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
31457 { (exit 1); exit 1; }; }
31460 elif test $pkg_failed = untried
; then
31462 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
31463 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
31464 { (exit 1); exit 1; }; }
31468 PANGOX_CFLAGS
=$pkg_cv_PANGOX_CFLAGS
31469 PANGOX_LIBS
=$pkg_cv_PANGOX_LIBS
31470 { echo "$as_me:$LINENO: result: yes" >&5
31471 echo "${ECHO_T}yes" >&6; }
31473 CFLAGS
="$PANGOX_CFLAGS $CFLAGS"
31474 CXXFLAGS
="$PANGOX_CFLAGS $CXXFLAGS"
31475 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOX_LIBS"
31480 { echo "$as_me:$LINENO: checking for PANGOFT2" >&5
31481 echo $ECHO_N "checking for PANGOFT2... $ECHO_C" >&6; }
31483 if test -n "$PKG_CONFIG"; then
31484 if test -n "$PANGOFT2_CFLAGS"; then
31485 pkg_cv_PANGOFT2_CFLAGS
="$PANGOFT2_CFLAGS"
31487 if test -n "$PKG_CONFIG" && \
31488 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
31489 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
31491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31492 (exit $ac_status); }; then
31493 pkg_cv_PANGOFT2_CFLAGS
=`$PKG_CONFIG --cflags "pangoft2" 2>/dev/null`
31501 if test -n "$PKG_CONFIG"; then
31502 if test -n "$PANGOFT2_LIBS"; then
31503 pkg_cv_PANGOFT2_LIBS
="$PANGOFT2_LIBS"
31505 if test -n "$PKG_CONFIG" && \
31506 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
31507 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
31509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31510 (exit $ac_status); }; then
31511 pkg_cv_PANGOFT2_LIBS
=`$PKG_CONFIG --libs "pangoft2" 2>/dev/null`
31522 if test $pkg_failed = yes; then
31524 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
31525 _pkg_short_errors_supported
=yes
31527 _pkg_short_errors_supported
=no
31529 if test $_pkg_short_errors_supported = yes; then
31530 PANGOFT2_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoft2"`
31532 PANGOFT2_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
31534 # Put the nasty error message in config.log where it belongs
31535 echo "$PANGOFT2_PKG_ERRORS" >&5
31538 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
31539 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
31540 wxUSE_PRINTING_ARCHITECTURE
="no"
31543 elif test $pkg_failed = untried
; then
31545 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
31546 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
31547 wxUSE_PRINTING_ARCHITECTURE
="no"
31551 PANGOFT2_CFLAGS
=$pkg_cv_PANGOFT2_CFLAGS
31552 PANGOFT2_LIBS
=$pkg_cv_PANGOFT2_LIBS
31553 { echo "$as_me:$LINENO: result: yes" >&5
31554 echo "${ECHO_T}yes" >&6; }
31556 CFLAGS
="$PANGOFT2_CFLAGS $CFLAGS"
31557 CXXFLAGS
="$PANGOFT2_CFLAGS $CXXFLAGS"
31558 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
31563 { echo "$as_me:$LINENO: checking for PANGOXFT" >&5
31564 echo $ECHO_N "checking for PANGOXFT... $ECHO_C" >&6; }
31566 if test -n "$PKG_CONFIG"; then
31567 if test -n "$PANGOXFT_CFLAGS"; then
31568 pkg_cv_PANGOXFT_CFLAGS
="$PANGOXFT_CFLAGS"
31570 if test -n "$PKG_CONFIG" && \
31571 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
31572 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
31574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31575 (exit $ac_status); }; then
31576 pkg_cv_PANGOXFT_CFLAGS
=`$PKG_CONFIG --cflags "pangoxft" 2>/dev/null`
31584 if test -n "$PKG_CONFIG"; then
31585 if test -n "$PANGOXFT_LIBS"; then
31586 pkg_cv_PANGOXFT_LIBS
="$PANGOXFT_LIBS"
31588 if test -n "$PKG_CONFIG" && \
31589 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
31590 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
31592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31593 (exit $ac_status); }; then
31594 pkg_cv_PANGOXFT_LIBS
=`$PKG_CONFIG --libs "pangoxft" 2>/dev/null`
31605 if test $pkg_failed = yes; then
31607 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
31608 _pkg_short_errors_supported
=yes
31610 _pkg_short_errors_supported
=no
31612 if test $_pkg_short_errors_supported = yes; then
31613 PANGOXFT_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoxft"`
31615 PANGOXFT_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoxft"`
31617 # Put the nasty error message in config.log where it belongs
31618 echo "$PANGOXFT_PKG_ERRORS" >&5
31621 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
31622 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
31625 elif test $pkg_failed = untried
; then
31627 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
31628 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
31632 PANGOXFT_CFLAGS
=$pkg_cv_PANGOXFT_CFLAGS
31633 PANGOXFT_LIBS
=$pkg_cv_PANGOXFT_LIBS
31634 { echo "$as_me:$LINENO: result: yes" >&5
31635 echo "${ECHO_T}yes" >&6; }
31637 cat >>confdefs.h
<<\_ACEOF
31638 #define HAVE_PANGO_XFT 1
31641 CFLAGS
="$PANGOXFT_CFLAGS $CFLAGS"
31642 CXXFLAGS
="$PANGOXFT_CFLAGS $CXXFLAGS"
31643 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOXFT_LIBS"
31647 LIBS
="$LIBS $PANGOX_LIBS"
31649 for ac_func
in pango_font_family_is_monospace
31651 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31652 { echo "$as_me:$LINENO: checking for $ac_func" >&5
31653 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
31654 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
31655 echo $ECHO_N "(cached) $ECHO_C" >&6
31657 cat >conftest.
$ac_ext <<_ACEOF
31660 cat confdefs.h
>>conftest.
$ac_ext
31661 cat >>conftest.
$ac_ext <<_ACEOF
31662 /* end confdefs.h. */
31663 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31664 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31665 #define $ac_func innocuous_$ac_func
31667 /* System header to define __stub macros and hopefully few prototypes,
31668 which can conflict with char $ac_func (); below.
31669 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31670 <limits.h> exists even on freestanding compilers. */
31673 # include <limits.h>
31675 # include <assert.h>
31680 /* Override any GCC internal prototype to avoid an error.
31681 Use char because int might match the return type of a GCC
31682 builtin and then its argument prototype would still apply. */
31687 /* The GNU C library defines this for functions which it implements
31688 to always fail with ENOSYS. Some functions are actually named
31689 something starting with __ and the normal name is an alias. */
31690 #if defined __stub_$ac_func || defined __stub___$ac_func
31697 return $ac_func ();
31702 rm -f conftest.
$ac_objext conftest
$ac_exeext
31703 if { (ac_try
="$ac_link"
31704 case "(($ac_try" in
31705 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
31706 *) ac_try_echo=$ac_try;;
31708 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31709 (eval "$ac_link") 2>conftest.er1
31711 grep -v '^ *+' conftest.er1 >conftest.err
31713 cat conftest.err >&5
31714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31715 (exit $ac_status); } && {
31716 test -z "$ac_c_werror_flag" ||
31717 test ! -s conftest.err
31718 } && test -s conftest$ac_exeext &&
31719 $as_test_x conftest$ac_exeext; then
31720 eval "$as_ac_var=yes"
31722 echo "$as_me: failed program was:" >&5
31723 sed 's/^/| /' conftest.$ac_ext >&5
31725 eval "$as_ac_var=no"
31728 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31729 conftest$ac_exeext conftest.$ac_ext
31731 ac_res=`eval echo '${'$as_ac_var'}'`
31732 { echo "$as_me:$LINENO: result: $ac_res" >&5
31733 echo "${ECHO_T}$ac_res" >&6; }
31734 if test `eval echo '${'$as_ac_var'}'` = yes; then
31735 cat >>confdefs.h <<_ACEOF
31736 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31745 wxUSE_UNIVERSAL="yes"
31747 if test "$wxUSE_NANOX" = "yes"; then
31748 TOOLKIT_INCLUDE="-I\$(top_srcdir)/include/wx/x11/nanox -I\$(MICROWIN)/src/include $TOOLKIT_INCLUDE"
31749 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"
31750 GUI_TK_LIBRARY="$GUI_TK_LIBRARY \$(MICROWIN)/src/lib/libnano-X.a"
31752 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lX11"
31759 if test "$wxUSE_MOTIF" = 1; then
31760 { echo "$as_me:$LINENO: checking for Motif/Lesstif headers" >&5
31761 echo $ECHO_N "checking for Motif/Lesstif headers... $ECHO_C" >&6; }
31764 for ac_dir in $SEARCH_INCLUDE /usr/include;
31766 if test -f "$ac_dir/Xm/Xm.h"; then
31767 ac_find_includes=$ac_dir
31772 if test "$ac_find_includes" != "" ; then
31773 { echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
31774 echo "${ECHO_T}found in $ac_find_includes" >&6; }
31776 if test "x$ac_find_includes" = "x/usr/include"; then
31777 ac_path_to_include=""
31779 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev/null
31781 if test $result = 0; then
31782 ac_path_to_include=""
31784 ac_path_to_include=" -I$ac_find_includes"
31788 TOOLKIT_INCLUDE="$TOOLKIT_INCLUDE$ac_path_to_include"
31790 save_CFLAGS=$CFLAGS
31791 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
31793 cat >conftest.$ac_ext <<_ACEOF
31796 cat confdefs.h >>conftest.$ac_ext
31797 cat >>conftest.$ac_ext <<_ACEOF
31798 /* end confdefs.h. */
31807 version = xmUseVersion;
31813 rm -f conftest.$ac_objext
31814 if { (ac_try="$ac_compile"
31815 case "(($ac_try" in
31816 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
31817 *) ac_try_echo
=$ac_try;;
31819 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31820 (eval "$ac_compile") 2>conftest.er1
31822 grep -v '^ *+' conftest.er1
>conftest.err
31824 cat conftest.err
>&5
31825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31826 (exit $ac_status); } && {
31827 test -z "$ac_c_werror_flag" ||
31828 test ! -s conftest.err
31829 } && test -s conftest.
$ac_objext; then
31831 { echo "$as_me:$LINENO: result: found in default search path" >&5
31832 echo "${ECHO_T}found in default search path" >&6; }
31833 COMPILED_X_PROGRAM
=1
31836 echo "$as_me: failed program was:" >&5
31837 sed 's/^/| /' conftest.
$ac_ext >&5
31840 { echo "$as_me:$LINENO: result: no" >&5
31841 echo "${ECHO_T}no" >&6; }
31842 { { echo "$as_me:$LINENO: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&5
31843 echo "$as_me: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&2;}
31844 { (exit 1); exit 1; }; }
31849 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
31851 CFLAGS
=$save_CFLAGS
31855 { echo "$as_me:$LINENO: checking for Motif/Lesstif library" >&5
31856 echo $ECHO_N "checking for Motif/Lesstif library... $ECHO_C" >&6; }
31859 for ac_dir
in $SEARCH_LIB;
31861 for ac_extension
in a so sl dylib dll.a
; do
31862 if test -f "$ac_dir/libXm.$ac_extension"; then
31863 ac_find_libraries
=$ac_dir
31870 if test "x$ac_find_libraries" != "x" ; then
31871 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
31872 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
31875 if test "$ac_find_libraries" = "default location"; then
31878 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
31880 if test $result = 0; then
31883 ac_path_to_link
=" -L$ac_find_libraries"
31887 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY$ac_path_to_link"
31889 save_CFLAGS
=$CFLAGS
31890 CFLAGS
="$TOOLKIT_INCLUDE $CFLAGS"
31892 LIBS
="$GUI_TK_LIBRARY -lXm -lXmu -lXext -lX11"
31894 cat >conftest.
$ac_ext <<_ACEOF
31897 cat confdefs.h
>>conftest.
$ac_ext
31898 cat >>conftest.
$ac_ext <<_ACEOF
31899 /* end confdefs.h. */
31908 version = xmUseVersion;
31914 rm -f conftest.
$ac_objext conftest
$ac_exeext
31915 if { (ac_try
="$ac_link"
31916 case "(($ac_try" in
31917 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
31918 *) ac_try_echo=$ac_try;;
31920 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31921 (eval "$ac_link") 2>conftest.er1
31923 grep -v '^ *+' conftest.er1 >conftest.err
31925 cat conftest.err >&5
31926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31927 (exit $ac_status); } && {
31928 test -z "$ac_c_werror_flag" ||
31929 test ! -s conftest.err
31930 } && test -s conftest$ac_exeext &&
31931 $as_test_x conftest$ac_exeext; then
31933 { echo "$as_me:$LINENO: result: found in default search path" >&5
31934 echo "${ECHO_T}found in default search path" >&6; }
31935 COMPILED_X_PROGRAM=1
31938 echo "$as_me: failed program was:" >&5
31939 sed 's/^/| /' conftest.$ac_ext >&5
31942 { echo "$as_me:$LINENO: result: no" >&5
31943 echo "${ECHO_T}no" >&6; }
31944 { { echo "$as_me:$LINENO: error: please set LDFLAGS to contain the location of libXm" >&5
31945 echo "$as_me: error: please set LDFLAGS to contain the location of libXm" >&2;}
31946 { (exit 1); exit 1; }; }
31951 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31952 conftest$ac_exeext conftest.$ac_ext
31954 CFLAGS=$save_CFLAGS
31958 { echo "$as_me:$LINENO: checking if we need -lXp and/or -lSM -lICE" >&5
31959 echo $ECHO_N "checking if we need -lXp and/or -lSM -lICE... $ECHO_C" >&6; }
31963 for libp in "" " -lXp"; do
31964 if test "$libs_found" = 0; then
31965 for libsm_ice in "" " -lSM -lICE"; do
31966 if test "$libs_found" = 0; then
31968 LIBS="$GUI_TK_LIBRARY -lXm ${libp} -lXmu -lXext -lXt${libsm_ice} -lX11"
31969 save_CFLAGS=$CFLAGS
31970 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
31972 cat >conftest.$ac_ext <<_ACEOF
31975 cat confdefs.h >>conftest.$ac_ext
31976 cat >>conftest.$ac_ext <<_ACEOF
31977 /* end confdefs.h. */
31980 #include <Xm/List.h>
31986 XmString string = NULL;
31989 XmListAddItem(w, string, position);
31995 rm -f conftest.$ac_objext conftest$ac_exeext
31996 if { (ac_try="$ac_link"
31997 case "(($ac_try" in
31998 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
31999 *) ac_try_echo
=$ac_try;;
32001 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32002 (eval "$ac_link") 2>conftest.er1
32004 grep -v '^ *+' conftest.er1
>conftest.err
32006 cat conftest.err
>&5
32007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32008 (exit $ac_status); } && {
32009 test -z "$ac_c_werror_flag" ||
32010 test ! -s conftest.err
32011 } && test -s conftest
$ac_exeext &&
32012 $as_test_x conftest
$ac_exeext; then
32015 libsm_ice_link
="$libsm_ice"
32016 { echo "$as_me:$LINENO: result: need${libp_link}${libsm_ice_link}" >&5
32017 echo "${ECHO_T}need${libp_link}${libsm_ice_link}" >&6; }
32021 echo "$as_me: failed program was:" >&5
32022 sed 's/^/| /' conftest.
$ac_ext >&5
32028 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
32029 conftest
$ac_exeext conftest.
$ac_ext
32032 CFLAGS
=$save_CFLAGS
32038 if test "$libs_found" = 0; then
32039 { echo "$as_me:$LINENO: result: can't find the right libraries" >&5
32040 echo "${ECHO_T}can't find the right libraries" >&6; }
32041 { { echo "$as_me:$LINENO: error: can't link a simple motif program" >&5
32042 echo "$as_me: error: can't link a simple motif program" >&2;}
32043 { (exit 1); exit 1; }; }
32046 { echo "$as_me:$LINENO: checking for SgCreateList in -lSgm" >&5
32047 echo $ECHO_N "checking for SgCreateList in -lSgm... $ECHO_C" >&6; }
32048 if test "${ac_cv_lib_Sgm_SgCreateList+set}" = set; then
32049 echo $ECHO_N "(cached) $ECHO_C" >&6
32051 ac_check_lib_save_LIBS
=$LIBS
32053 cat >conftest.
$ac_ext <<_ACEOF
32056 cat confdefs.h
>>conftest.
$ac_ext
32057 cat >>conftest.
$ac_ext <<_ACEOF
32058 /* end confdefs.h. */
32060 /* Override any GCC internal prototype to avoid an error.
32061 Use char because int might match the return type of a GCC
32062 builtin and then its argument prototype would still apply. */
32066 char SgCreateList ();
32070 return SgCreateList ();
32075 rm -f conftest.
$ac_objext conftest
$ac_exeext
32076 if { (ac_try
="$ac_link"
32077 case "(($ac_try" in
32078 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
32079 *) ac_try_echo=$ac_try;;
32081 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32082 (eval "$ac_link") 2>conftest.er1
32084 grep -v '^ *+' conftest.er1 >conftest.err
32086 cat conftest.err >&5
32087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32088 (exit $ac_status); } && {
32089 test -z "$ac_c_werror_flag" ||
32090 test ! -s conftest.err
32091 } && test -s conftest$ac_exeext &&
32092 $as_test_x conftest$ac_exeext; then
32093 ac_cv_lib_Sgm_SgCreateList=yes
32095 echo "$as_me: failed program was:" >&5
32096 sed 's/^/| /' conftest.$ac_ext >&5
32098 ac_cv_lib_Sgm_SgCreateList=no
32101 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32102 conftest$ac_exeext conftest.$ac_ext
32103 LIBS=$ac_check_lib_save_LIBS
32105 { echo "$as_me:$LINENO: result: $ac_cv_lib_Sgm_SgCreateList" >&5
32106 echo "${ECHO_T}$ac_cv_lib_Sgm_SgCreateList" >&6; }
32107 if test $ac_cv_lib_Sgm_SgCreateList = yes; then
32108 libsgm_link=" -lSgm"
32112 save_CFLAGS=$CFLAGS
32113 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
32115 { echo "$as_me:$LINENO: checking for Motif 2" >&5
32116 echo $ECHO_N "checking for Motif 2... $ECHO_C" >&6; }
32117 if test "${wx_cv_lib_motif2+set}" = set; then
32118 echo $ECHO_N "(cached) $ECHO_C" >&6
32120 cat >conftest.$ac_ext <<_ACEOF
32123 cat confdefs.h >>conftest.$ac_ext
32124 cat >>conftest.$ac_ext <<_ACEOF
32125 /* end confdefs.h. */
32133 #if XmVersion < 2000
32141 rm -f conftest.$ac_objext
32142 if { (ac_try="$ac_compile"
32143 case "(($ac_try" in
32144 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
32145 *) ac_try_echo
=$ac_try;;
32147 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32148 (eval "$ac_compile") 2>conftest.er1
32150 grep -v '^ *+' conftest.er1
>conftest.err
32152 cat conftest.err
>&5
32153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32154 (exit $ac_status); } && {
32155 test -z "$ac_c_werror_flag" ||
32156 test ! -s conftest.err
32157 } && test -s conftest.
$ac_objext; then
32158 wx_cv_lib_motif2
="yes"
32160 echo "$as_me: failed program was:" >&5
32161 sed 's/^/| /' conftest.
$ac_ext >&5
32163 wx_cv_lib_motif2
="no"
32166 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
32168 { echo "$as_me:$LINENO: result: $wx_cv_lib_motif2" >&5
32169 echo "${ECHO_T}$wx_cv_lib_motif2" >&6; }
32170 if test "$wx_cv_lib_motif2" = "yes"; then
32171 cat >>confdefs.h
<<\_ACEOF
32172 #define __WXMOTIF20__ 1
32176 cat >>confdefs.h
<<\_ACEOF
32177 #define __WXMOTIF20__ 0
32182 { echo "$as_me:$LINENO: checking whether Motif is Lesstif" >&5
32183 echo $ECHO_N "checking whether Motif is Lesstif... $ECHO_C" >&6; }
32184 if test "${wx_cv_lib_lesstif+set}" = set; then
32185 echo $ECHO_N "(cached) $ECHO_C" >&6
32187 cat >conftest.
$ac_ext <<_ACEOF
32190 cat confdefs.h
>>conftest.
$ac_ext
32191 cat >>conftest.
$ac_ext <<_ACEOF
32192 /* end confdefs.h. */
32200 #if !defined(LesstifVersion) || LesstifVersion <= 0
32208 rm -f conftest.
$ac_objext
32209 if { (ac_try
="$ac_compile"
32210 case "(($ac_try" in
32211 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
32212 *) ac_try_echo=$ac_try;;
32214 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32215 (eval "$ac_compile") 2>conftest.er1
32217 grep -v '^ *+' conftest.er1 >conftest.err
32219 cat conftest.err >&5
32220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32221 (exit $ac_status); } && {
32222 test -z "$ac_c_werror_flag" ||
32223 test ! -s conftest.err
32224 } && test -s conftest.$ac_objext; then
32225 wx_cv_lib_lesstif="yes"
32227 echo "$as_me: failed program was:" >&5
32228 sed 's/^/| /' conftest.$ac_ext >&5
32230 wx_cv_lib_lesstif="no"
32233 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32236 { echo "$as_me:$LINENO: result: $wx_cv_lib_lesstif" >&5
32237 echo "${ECHO_T}$wx_cv_lib_lesstif" >&6; }
32238 if test "$wx_cv_lib_lesstif" = "yes"; then
32239 cat >>confdefs.h <<\_ACEOF
32240 #define __WXLESSTIF__ 1
32244 cat >>confdefs.h <<\_ACEOF
32245 #define __WXLESSTIF__ 0
32250 CFLAGS=$save_CFLAGS
32252 GUI_TK_LIBRARY="$GUI_TK_LIBRARY${libsgm_link} -lXm${libp_link} -lXmu -lXext -lXt${libsm_ice_link} -lX11"
32257 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
32258 if test "$wxUSE_LIBXPM" = "sys"; then
32259 { echo "$as_me:$LINENO: checking for Xpm library" >&5
32260 echo $ECHO_N "checking for Xpm library... $ECHO_C" >&6; }
32263 for ac_dir in $SEARCH_LIB;
32265 for ac_extension in a so sl dylib dll.a; do
32266 if test -f "$ac_dir/libXpm.$ac_extension"; then
32267 ac_find_libraries=$ac_dir
32273 if test "$ac_find_libraries" != "" ; then
32275 if test "$ac_find_libraries" = "default location"; then
32278 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
32280 if test $result = 0; then
32283 ac_path_to_link=" -L$ac_find_libraries"
32287 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
32288 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
32289 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
32291 { echo "$as_me:$LINENO: checking for X11/xpm.h" >&5
32292 echo $ECHO_N "checking for X11/xpm.h... $ECHO_C" >&6; }
32293 if test "${wx_cv_x11_xpm_h+set}" = set; then
32294 echo $ECHO_N "(cached) $ECHO_C" >&6
32297 save_CFLAGS=$CFLAGS
32298 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
32300 cat >conftest.$ac_ext <<_ACEOF
32303 cat confdefs.h >>conftest.$ac_ext
32304 cat >>conftest.$ac_ext <<_ACEOF
32305 /* end confdefs.h. */
32307 #include <X11/xpm.h>
32314 version = XpmLibraryVersion();
32320 rm -f conftest.$ac_objext
32321 if { (ac_try="$ac_compile"
32322 case "(($ac_try" in
32323 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
32324 *) ac_try_echo
=$ac_try;;
32326 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32327 (eval "$ac_compile") 2>conftest.er1
32329 grep -v '^ *+' conftest.er1
>conftest.err
32331 cat conftest.err
>&5
32332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32333 (exit $ac_status); } && {
32334 test -z "$ac_c_werror_flag" ||
32335 test ! -s conftest.err
32336 } && test -s conftest.
$ac_objext; then
32337 wx_cv_x11_xpm_h
=yes
32339 echo "$as_me: failed program was:" >&5
32340 sed 's/^/| /' conftest.
$ac_ext >&5
32346 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
32348 CFLAGS
=$save_CFLAGS
32352 { echo "$as_me:$LINENO: result: $wx_cv_x11_xpm_h" >&5
32353 echo "${ECHO_T}$wx_cv_x11_xpm_h" >&6; }
32355 if test $wx_cv_x11_xpm_h = "yes"; then
32356 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXpm"
32357 cat >>confdefs.h
<<\_ACEOF
32358 #define wxHAVE_LIB_XPM 1
32362 { echo "$as_me:$LINENO: WARNING: built-in less efficient XPM decoder will be used" >&5
32363 echo "$as_me: WARNING: built-in less efficient XPM decoder will be used" >&2;}
32369 { echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
32370 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6; }
32371 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
32372 echo $ECHO_N "(cached) $ECHO_C" >&6
32374 ac_check_lib_save_LIBS
=$LIBS
32375 LIBS
="-lXext $GUI_TK_LIBRARY -lX11 $LIBS"
32376 cat >conftest.
$ac_ext <<_ACEOF
32379 cat confdefs.h
>>conftest.
$ac_ext
32380 cat >>conftest.
$ac_ext <<_ACEOF
32381 /* end confdefs.h. */
32383 /* Override any GCC internal prototype to avoid an error.
32384 Use char because int might match the return type of a GCC
32385 builtin and then its argument prototype would still apply. */
32389 char XShapeQueryExtension ();
32393 return XShapeQueryExtension ();
32398 rm -f conftest.
$ac_objext conftest
$ac_exeext
32399 if { (ac_try
="$ac_link"
32400 case "(($ac_try" in
32401 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
32402 *) ac_try_echo=$ac_try;;
32404 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32405 (eval "$ac_link") 2>conftest.er1
32407 grep -v '^ *+' conftest.er1 >conftest.err
32409 cat conftest.err >&5
32410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32411 (exit $ac_status); } && {
32412 test -z "$ac_c_werror_flag" ||
32413 test ! -s conftest.err
32414 } && test -s conftest$ac_exeext &&
32415 $as_test_x conftest$ac_exeext; then
32416 ac_cv_lib_Xext_XShapeQueryExtension=yes
32418 echo "$as_me: failed program was:" >&5
32419 sed 's/^/| /' conftest.$ac_ext >&5
32421 ac_cv_lib_Xext_XShapeQueryExtension=no
32424 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32425 conftest$ac_exeext conftest.$ac_ext
32426 LIBS=$ac_check_lib_save_LIBS
32428 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
32429 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
32430 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
32432 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXext"
32438 if test "$wxHAVE_XEXT_LIB" = 1; then
32439 save_CFLAGS="$CFLAGS"
32440 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
32442 { echo "$as_me:$LINENO: checking for X11/extensions/shape.h" >&5
32443 echo $ECHO_N "checking for X11/extensions/shape.h... $ECHO_C" >&6; }
32444 cat >conftest.$ac_ext <<_ACEOF
32447 cat confdefs.h >>conftest.$ac_ext
32448 cat >>conftest.$ac_ext <<_ACEOF
32449 /* end confdefs.h. */
32451 #include <X11/Xlib.h>
32452 #include <X11/extensions/shape.h>
32458 int dummy1, dummy2;
32459 XShapeQueryExtension((Display*)NULL,
32460 (int*)NULL, (int*)NULL);
32466 rm -f conftest.$ac_objext
32467 if { (ac_try="$ac_compile"
32468 case "(($ac_try" in
32469 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
32470 *) ac_try_echo
=$ac_try;;
32472 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32473 (eval "$ac_compile") 2>conftest.er1
32475 grep -v '^ *+' conftest.er1
>conftest.err
32477 cat conftest.err
>&5
32478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32479 (exit $ac_status); } && {
32480 test -z "$ac_c_werror_flag" ||
32481 test ! -s conftest.err
32482 } && test -s conftest.
$ac_objext; then
32484 cat >>confdefs.h
<<\_ACEOF
32485 #define HAVE_XSHAPE 1
32488 { echo "$as_me:$LINENO: result: found" >&5
32489 echo "${ECHO_T}found" >&6; }
32492 echo "$as_me: failed program was:" >&5
32493 sed 's/^/| /' conftest.
$ac_ext >&5
32496 { echo "$as_me:$LINENO: result: not found" >&5
32497 echo "${ECHO_T}not found" >&6; }
32501 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
32502 CFLAGS
="$save_CFLAGS"
32507 if test "$wxUSE_MAC" = 1; then
32508 { echo "$as_me:$LINENO: checking for compiler syntax to enable Pascal strings" >&5
32509 echo $ECHO_N "checking for compiler syntax to enable Pascal strings... $ECHO_C" >&6; }
32510 if test "$GCC" = yes; then
32511 { echo "$as_me:$LINENO: result: gcc" >&5
32512 echo "${ECHO_T}gcc" >&6; }
32513 CPPFLAGS_PASCAL
="-fpascal-strings"
32514 elif test "`echo $CXX | sed -e 's@.*/@@'`" = "xlC"; then
32515 { echo "$as_me:$LINENO: result: xlc" >&5
32516 echo "${ECHO_T}xlc" >&6; }
32517 CPPFLAGS_PASCAL
="-qmacpstr"
32519 { echo "$as_me:$LINENO: result: none" >&5
32520 echo "${ECHO_T}none" >&6; }
32523 if test "x$wxUSE_UNIX" = "xyes"; then
32524 CPPFLAGS
="$CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -I/Developer/Headers/FlatCarbon $CPPFLAGS"
32526 CPPFLAGS
="$CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -DTARGET_CARBON $CPPFLAGS"
32531 WXBASEPORT
="_carbon"
32534 if test "$wxUSE_COCOA" = 1; then
32539 if test "$wxUSE_PM" = 1; then
32542 { echo "$as_me:$LINENO: checking for type SPBCDATA" >&5
32543 echo $ECHO_N "checking for type SPBCDATA... $ECHO_C" >&6; }
32544 if test "${wx_cv_spbcdata+set}" = set; then
32545 echo $ECHO_N "(cached) $ECHO_C" >&6
32548 cat >conftest.
$ac_ext <<_ACEOF
32551 cat confdefs.h
>>conftest.
$ac_ext
32552 cat >>conftest.
$ac_ext <<_ACEOF
32553 /* end confdefs.h. */
32568 rm -f conftest.
$ac_objext
32569 if { (ac_try
="$ac_compile"
32570 case "(($ac_try" in
32571 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
32572 *) ac_try_echo=$ac_try;;
32574 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32575 (eval "$ac_compile") 2>conftest.er1
32577 grep -v '^ *+' conftest.er1 >conftest.err
32579 cat conftest.err >&5
32580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32581 (exit $ac_status); } && {
32582 test -z "$ac_c_werror_flag" ||
32583 test ! -s conftest.err
32584 } && test -s conftest.$ac_objext; then
32587 echo "$as_me: failed program was:" >&5
32588 sed 's/^/| /' conftest.$ac_ext >&5
32594 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32598 { echo "$as_me:$LINENO: result: $wx_cv_spbcdata" >&5
32599 echo "${ECHO_T}$wx_cv_spbcdata" >&6; }
32601 if test $wx_cv_spbcdata = "yes"; then
32602 cat >>confdefs.h <<\_ACEOF
32603 #define HAVE_SPBCDATA 1
32609 if test "$TOOLKIT" = "PM" ; then
32612 TOOLKIT_DIR=`echo ${TOOLKIT} | tr '[A-Z]' '[a-z]'`
32615 if test "$wxUSE_UNIVERSAL" = "yes"; then
32616 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
32620 GUIDIST="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
32621 DISTDIR="wx\$(TOOLKIT)"
32627 if test "$USE_WIN32" = 1 ; then
32631 GUIDIST="BASE_DIST"
32637 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_UTF8" = "auto" ; then
32638 if test "$USE_UNIX" = 1 -a "$wxUSE_DARWIN" != 1 ; then
32639 wxUSE_UNICODE_UTF8=yes
32640 elif test "$USE_OS2" = 1 ; then
32641 wxUSE_UNICODE_UTF8=yes
32643 wxUSE_UNICODE_UTF8=no
32648 if test "$wxUSE_GUI" = "yes"; then
32649 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_PM" != 1; then
32651 for ac_header in X11/Xlib.h
32653 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
32654 { echo "$as_me:$LINENO: checking for $ac_header" >&5
32655 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
32656 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
32657 echo $ECHO_N "(cached) $ECHO_C" >&6
32659 cat >conftest.$ac_ext <<_ACEOF
32662 cat confdefs.h >>conftest.$ac_ext
32663 cat >>conftest.$ac_ext <<_ACEOF
32664 /* end confdefs.h. */
32667 #include <$ac_header>
32669 rm -f conftest.$ac_objext
32670 if { (ac_try="$ac_compile"
32671 case "(($ac_try" in
32672 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
32673 *) ac_try_echo
=$ac_try;;
32675 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32676 (eval "$ac_compile") 2>conftest.er1
32678 grep -v '^ *+' conftest.er1
>conftest.err
32680 cat conftest.err
>&5
32681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32682 (exit $ac_status); } && {
32683 test -z "$ac_c_werror_flag" ||
32684 test ! -s conftest.err
32685 } && test -s conftest.
$ac_objext; then
32686 eval "$as_ac_Header=yes"
32688 echo "$as_me: failed program was:" >&5
32689 sed 's/^/| /' conftest.
$ac_ext >&5
32691 eval "$as_ac_Header=no"
32694 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
32696 ac_res
=`eval echo '${'$as_ac_Header'}'`
32697 { echo "$as_me:$LINENO: result: $ac_res" >&5
32698 echo "${ECHO_T}$ac_res" >&6; }
32699 if test `eval echo '${'$as_ac_Header'}'` = yes; then
32700 cat >>confdefs.h
<<_ACEOF
32701 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
32709 for ac_header
in X
11/XKBlib.h
32711 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
32712 { echo "$as_me:$LINENO: checking for $ac_header" >&5
32713 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
32714 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
32715 echo $ECHO_N "(cached) $ECHO_C" >&6
32717 cat >conftest.
$ac_ext <<_ACEOF
32720 cat confdefs.h
>>conftest.
$ac_ext
32721 cat >>conftest.
$ac_ext <<_ACEOF
32722 /* end confdefs.h. */
32724 #if HAVE_X11_XLIB_H
32725 #include <X11/Xlib.h>
32729 #include <$ac_header>
32731 rm -f conftest.
$ac_objext
32732 if { (ac_try
="$ac_compile"
32733 case "(($ac_try" in
32734 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
32735 *) ac_try_echo=$ac_try;;
32737 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32738 (eval "$ac_compile") 2>conftest.er1
32740 grep -v '^ *+' conftest.er1 >conftest.err
32742 cat conftest.err >&5
32743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32744 (exit $ac_status); } && {
32745 test -z "$ac_c_werror_flag" ||
32746 test ! -s conftest.err
32747 } && test -s conftest.$ac_objext; then
32748 eval "$as_ac_Header=yes"
32750 echo "$as_me: failed program was:" >&5
32751 sed 's/^/| /' conftest.$ac_ext >&5
32753 eval "$as_ac_Header=no"
32756 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32758 ac_res=`eval echo '${'$as_ac_Header'}'`
32759 { echo "$as_me:$LINENO: result: $ac_res" >&5
32760 echo "${ECHO_T}$ac_res" >&6; }
32761 if test `eval echo '${'$as_ac_Header'}'` = yes; then
32762 cat >>confdefs.h <<_ACEOF
32763 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
32775 if test "$wxUSE_DISPLAY" = "yes"; then
32776 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1; then
32777 { echo "$as_me:$LINENO: checking for Xinerama" >&5
32778 echo $ECHO_N "checking for Xinerama... $ECHO_C" >&6; }
32781 for ac_dir in $SEARCH_LIB;
32783 for ac_extension in a so sl dylib dll.a; do
32784 if test -f "$ac_dir/libXinerama.$ac_extension"; then
32785 ac_find_libraries=$ac_dir
32791 if test "$ac_find_libraries" != "" ; then
32793 if test "$ac_find_libraries" = "default location"; then
32796 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
32798 if test $result = 0; then
32801 ac_path_to_link=" -L$ac_find_libraries"
32805 if test "$ac_path_to_link" != " -L/usr/lib" ; then
32806 LDFLAGS="$LDFLAGS $ac_path_to_link"
32808 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXinerama"
32809 { echo "$as_me:$LINENO: result: yes" >&5
32810 echo "${ECHO_T}yes" >&6; }
32812 { echo "$as_me:$LINENO: checking for Xxf86vm extension" >&5
32813 echo $ECHO_N "checking for Xxf86vm extension... $ECHO_C" >&6; }
32816 for ac_dir in $SEARCH_LIB;
32818 for ac_extension in a so sl dylib dll.a; do
32819 if test -f "$ac_dir/libXxf86vm.$ac_extension"; then
32820 ac_find_libraries=$ac_dir
32826 if test "$ac_find_libraries" != "" ; then
32827 { echo "$as_me:$LINENO: result: yes" >&5
32828 echo "${ECHO_T}yes" >&6; }
32830 for ac_header in X11/extensions/xf86vmode.h
32832 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
32833 { echo "$as_me:$LINENO: checking for $ac_header" >&5
32834 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
32835 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
32836 echo $ECHO_N "(cached) $ECHO_C" >&6
32838 cat >conftest.$ac_ext <<_ACEOF
32841 cat confdefs.h >>conftest.$ac_ext
32842 cat >>conftest.$ac_ext <<_ACEOF
32843 /* end confdefs.h. */
32845 #if HAVE_X11_XLIB_H
32846 #include <X11/Xlib.h>
32850 #include <$ac_header>
32852 rm -f conftest.$ac_objext
32853 if { (ac_try="$ac_compile"
32854 case "(($ac_try" in
32855 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
32856 *) ac_try_echo
=$ac_try;;
32858 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32859 (eval "$ac_compile") 2>conftest.er1
32861 grep -v '^ *+' conftest.er1
>conftest.err
32863 cat conftest.err
>&5
32864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32865 (exit $ac_status); } && {
32866 test -z "$ac_c_werror_flag" ||
32867 test ! -s conftest.err
32868 } && test -s conftest.
$ac_objext; then
32869 eval "$as_ac_Header=yes"
32871 echo "$as_me: failed program was:" >&5
32872 sed 's/^/| /' conftest.
$ac_ext >&5
32874 eval "$as_ac_Header=no"
32877 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
32879 ac_res
=`eval echo '${'$as_ac_Header'}'`
32880 { echo "$as_me:$LINENO: result: $ac_res" >&5
32881 echo "${ECHO_T}$ac_res" >&6; }
32882 if test `eval echo '${'$as_ac_Header'}'` = yes; then
32883 cat >>confdefs.h
<<_ACEOF
32884 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
32887 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXxf86vm"
32894 { echo "$as_me:$LINENO: result: no" >&5
32895 echo "${ECHO_T}no" >&6; }
32899 { echo "$as_me:$LINENO: result: no" >&5
32900 echo "${ECHO_T}no" >&6; }
32901 { echo "$as_me:$LINENO: WARNING: Xinerama not found; disabling wxDisplay" >&5
32902 echo "$as_me: WARNING: Xinerama not found; disabling wxDisplay" >&2;}
32905 elif test "$wxUSE_MSW" = 1; then
32906 { echo "$as_me:$LINENO: checking for ddraw.h" >&5
32907 echo $ECHO_N "checking for ddraw.h... $ECHO_C" >&6; }
32908 if test "${ac_cv_header_ddraw_h+set}" = set; then
32909 echo $ECHO_N "(cached) $ECHO_C" >&6
32911 cat >conftest.
$ac_ext <<_ACEOF
32914 cat confdefs.h
>>conftest.
$ac_ext
32915 cat >>conftest.
$ac_ext <<_ACEOF
32916 /* end confdefs.h. */
32917 #include <windows.h>
32921 rm -f conftest.
$ac_objext
32922 if { (ac_try
="$ac_compile"
32923 case "(($ac_try" in
32924 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
32925 *) ac_try_echo=$ac_try;;
32927 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32928 (eval "$ac_compile") 2>conftest.er1
32930 grep -v '^ *+' conftest.er1 >conftest.err
32932 cat conftest.err >&5
32933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32934 (exit $ac_status); } && {
32935 test -z "$ac_c_werror_flag" ||
32936 test ! -s conftest.err
32937 } && test -s conftest.$ac_objext; then
32938 ac_cv_header_ddraw_h=yes
32940 echo "$as_me: failed program was:" >&5
32941 sed 's/^/| /' conftest.$ac_ext >&5
32943 ac_cv_header_ddraw_h=no
32946 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32948 { echo "$as_me:$LINENO: result: $ac_cv_header_ddraw_h" >&5
32949 echo "${ECHO_T}$ac_cv_header_ddraw_h" >&6; }
32955 if test "$wxUSE_DETECT_SM" = "yes"; then
32956 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1; then
32957 { echo "$as_me:$LINENO: checking for -lSM - X11 session management" >&5
32958 echo $ECHO_N "checking for -lSM - X11 session management... $ECHO_C" >&6; }
32961 for ac_dir in $SEARCH_LIB;
32963 for ac_extension in a so sl dylib dll.a; do
32964 if test -f "$ac_dir/libSM.$ac_extension"; then
32965 ac_find_libraries=$ac_dir
32971 if test "$ac_find_libraries" != "" ; then
32973 if test "$ac_find_libraries" = "default location"; then
32976 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
32978 if test $result = 0; then
32981 ac_path_to_link=" -L$ac_find_libraries"
32985 if test "$ac_path_to_link" != " -L/usr/lib" ; then
32986 LDFLAGS="$LDFLAGS $ac_path_to_link"
32988 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lSM"
32989 { echo "$as_me:$LINENO: result: yes" >&5
32990 echo "${ECHO_T}yes" >&6; }
32992 { echo "$as_me:$LINENO: result: no" >&5
32993 echo "${ECHO_T}no" >&6; }
32994 { echo "$as_me:$LINENO: WARNING: libSM not found; disabling session management detection" >&5
32995 echo "$as_me: WARNING: libSM not found; disabling session management detection" >&2;}
32996 wxUSE_DETECT_SM="no"
32999 wxUSE_DETECT_SM="no"
33006 if test "$wxUSE_OPENGL" = "yes"; then
33007 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = 1; then
33008 { echo "$as_me:$LINENO: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&5
33009 echo "$as_me: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&2;}
33011 elif test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1; then
33012 OPENGL_LIBS="-framework OpenGL -framework AGL"
33013 elif test "$wxUSE_MSW" = 1; then
33014 OPENGL_LIBS="-lopengl32 -lglu32"
33016 { echo "$as_me:$LINENO: checking for OpenGL headers" >&5
33017 echo $ECHO_N "checking for OpenGL headers... $ECHO_C" >&6; }
33020 for ac_dir in $SEARCH_INCLUDE /opt/graphics/OpenGL/include /usr/include;
33022 if test -f "$ac_dir/GL/gl.h"; then
33023 ac_find_includes=$ac_dir
33028 if test "$ac_find_includes" != "" ; then
33029 { echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
33030 echo "${ECHO_T}found in $ac_find_includes" >&6; }
33032 if test "x$ac_find_includes" = "x/usr/include"; then
33033 ac_path_to_include=""
33035 echo "$CPPFLAGS" | grep "\-I$ac_find_includes" > /dev/null
33037 if test $result = 0; then
33038 ac_path_to_include=""
33040 ac_path_to_include=" -I$ac_find_includes"
33044 CPPFLAGS="$ac_path_to_include $CPPFLAGS"
33046 { echo "$as_me:$LINENO: result: not found" >&5
33047 echo "${ECHO_T}not found" >&6; }
33050 { echo "$as_me:$LINENO: checking for GL/gl.h" >&5
33051 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6; }
33052 if test "${ac_cv_header_GL_gl_h+set}" = set; then
33053 echo $ECHO_N "(cached) $ECHO_C" >&6
33055 cat >conftest.$ac_ext <<_ACEOF
33058 cat confdefs.h >>conftest.$ac_ext
33059 cat >>conftest.$ac_ext <<_ACEOF
33060 /* end confdefs.h. */
33065 rm -f conftest.$ac_objext
33066 if { (ac_try="$ac_compile"
33067 case "(($ac_try" in
33068 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
33069 *) ac_try_echo
=$ac_try;;
33071 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33072 (eval "$ac_compile") 2>conftest.er1
33074 grep -v '^ *+' conftest.er1
>conftest.err
33076 cat conftest.err
>&5
33077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33078 (exit $ac_status); } && {
33079 test -z "$ac_c_werror_flag" ||
33080 test ! -s conftest.err
33081 } && test -s conftest.
$ac_objext; then
33082 ac_cv_header_GL_gl_h
=yes
33084 echo "$as_me: failed program was:" >&5
33085 sed 's/^/| /' conftest.
$ac_ext >&5
33087 ac_cv_header_GL_gl_h
=no
33090 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
33092 { echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
33093 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6; }
33094 if test $ac_cv_header_GL_gl_h = yes; then
33096 { echo "$as_me:$LINENO: checking for GL/glu.h" >&5
33097 echo $ECHO_N "checking for GL/glu.h... $ECHO_C" >&6; }
33098 if test "${ac_cv_header_GL_glu_h+set}" = set; then
33099 echo $ECHO_N "(cached) $ECHO_C" >&6
33101 cat >conftest.
$ac_ext <<_ACEOF
33104 cat confdefs.h
>>conftest.
$ac_ext
33105 cat >>conftest.
$ac_ext <<_ACEOF
33106 /* end confdefs.h. */
33109 #include <GL/glu.h>
33111 rm -f conftest.
$ac_objext
33112 if { (ac_try
="$ac_compile"
33113 case "(($ac_try" in
33114 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
33115 *) ac_try_echo=$ac_try;;
33117 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33118 (eval "$ac_compile") 2>conftest.er1
33120 grep -v '^ *+' conftest.er1 >conftest.err
33122 cat conftest.err >&5
33123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33124 (exit $ac_status); } && {
33125 test -z "$ac_c_werror_flag" ||
33126 test ! -s conftest.err
33127 } && test -s conftest.$ac_objext; then
33128 ac_cv_header_GL_glu_h=yes
33130 echo "$as_me: failed program was:" >&5
33131 sed 's/^/| /' conftest.$ac_ext >&5
33133 ac_cv_header_GL_glu_h=no
33136 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33138 { echo "$as_me:$LINENO: result: $ac_cv_header_GL_glu_h" >&5
33139 echo "${ECHO_T}$ac_cv_header_GL_glu_h" >&6; }
33140 if test $ac_cv_header_GL_glu_h = yes; then
33144 { echo "$as_me:$LINENO: checking for -lGL" >&5
33145 echo $ECHO_N "checking for -lGL... $ECHO_C" >&6; }
33148 for ac_dir in $SEARCH_LIB /opt/graphics/OpenGL/lib;
33150 for ac_extension in a so sl dylib dll.a; do
33151 if test -f "$ac_dir/libGL.$ac_extension"; then
33152 ac_find_libraries=$ac_dir
33158 if test "$ac_find_libraries" != "" ; then
33159 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
33160 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
33163 if test "$ac_find_libraries" = "default location"; then
33166 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
33168 if test $result = 0; then
33171 ac_path_to_link=" -L$ac_find_libraries"
33175 if test "$ac_path_to_link" != " -L/usr/lib" ; then
33176 LDFLAGS_GL="$ac_path_to_link"
33179 { echo "$as_me:$LINENO: checking for -lGLU" >&5
33180 echo $ECHO_N "checking for -lGLU... $ECHO_C" >&6; }
33183 for ac_dir in $SEARCH_LIB;
33185 for ac_extension in a so sl dylib dll.a; do
33186 if test -f "$ac_dir/libGLU.$ac_extension"; then
33187 ac_find_libraries=$ac_dir
33193 if test "$ac_find_libraries" != "" ; then
33195 if test "$ac_find_libraries" = "default location"; then
33198 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
33200 if test $result = 0; then
33203 ac_path_to_link=" -L$ac_find_libraries"
33207 if test "$ac_path_to_link" != " -L/usr/lib" -a \
33208 "$ac_path_to_link" != "$LDFLAGS_GL"; then
33209 LDFLAGS_GL="$LDFLAGS_GL$ac_path_to_link"
33213 OPENGL_LIBS="-lGL -lGLU"
33214 { echo "$as_me:$LINENO: result: yes" >&5
33215 echo "${ECHO_T}yes" >&6; }
33217 { echo "$as_me:$LINENO: result: no" >&5
33218 echo "${ECHO_T}no" >&6; }
33221 { echo "$as_me:$LINENO: result: no" >&5
33222 echo "${ECHO_T}no" >&6; }
33225 if test "$found_gl" != 1; then
33226 { echo "$as_me:$LINENO: checking for -lMesaGL" >&5
33227 echo $ECHO_N "checking for -lMesaGL... $ECHO_C" >&6; }
33230 for ac_dir in $SEARCH_LIB;
33232 for ac_extension in a so sl dylib dll.a; do
33233 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
33234 ac_find_libraries=$ac_dir
33240 if test "$ac_find_libraries" != "" ; then
33242 if test "$ac_find_libraries" = "default location"; then
33245 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
33247 if test $result = 0; then
33250 ac_path_to_link=" -L$ac_find_libraries"
33254 LDFLAGS_GL="$LDFLAGS$ac_path_to_link"
33255 OPENGL_LIBS="-lMesaGL -lMesaGLU"
33256 { echo "$as_me:$LINENO: result: yes" >&5
33257 echo "${ECHO_T}yes" >&6; }
33259 { echo "$as_me:$LINENO: result: no" >&5
33260 echo "${ECHO_T}no" >&6; }
33272 if test "x$OPENGL_LIBS" = "x"; then
33273 { { echo "$as_me:$LINENO: error: OpenGL libraries not available" >&5
33274 echo "$as_me: error: OpenGL libraries not available" >&2;}
33275 { (exit 1); exit 1; }; }
33279 if test "$wxUSE_OPENGL" = "yes"; then
33281 cat >>confdefs.h <<\_ACEOF
33282 #define wxUSE_OPENGL 1
33285 cat >>confdefs.h <<\_ACEOF
33286 #define wxUSE_GLCANVAS 1
33289 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS opengl opengl/cube opengl/penguin opengl/isosurf"
33294 if test -n "$TOOLKIT" ; then
33295 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
33300 if test "$wxUSE_SHARED" = "yes"; then
33304 { echo "$as_me:$LINENO: WARNING: Host system doesn't support shared libraries, disabling" >&5
33305 echo "$as_me: WARNING: Host system doesn't support shared libraries, disabling" >&2;}
33310 if test "$wxUSE_SHARED" = "yes"; then
33314 *-*-cygwin* | *-*-mingw* )
33315 wx_cv_version_script=no
33319 { echo "$as_me:$LINENO: checking if the linker accepts --version-script" >&5
33320 echo $ECHO_N "checking if the linker accepts --version-script... $ECHO_C" >&6; }
33321 if test "${wx_cv_version_script+set}" = set; then
33322 echo $ECHO_N "(cached) $ECHO_C" >&6
33325 echo "VER_1 { *; };" >conftest.sym
33326 echo "int main() { return 0; }" >conftest.cpp
33329 $CXX -o conftest.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
33330 -Wl,--version-script,conftest.sym >/dev/null 2>conftest.stderr'
33331 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33332 (eval $ac_try) 2>&5
33334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33335 (exit $ac_status); }; } ; then
33336 if test -s conftest.stderr ; then
33337 wx_cv_version_script=no
33339 wx_cv_version_script=yes
33342 wx_cv_version_script=no
33345 if test $wx_cv_version_script = yes
33347 echo "struct B { virtual ~B() { } }; \
33348 struct D : public B { }; \
33349 void F() { D d; }" > conftest.cpp
33352 $CXX -shared -fPIC -o conftest1.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
33353 -Wl,--version-script,conftest.sym >/dev/null 2>/dev/null'
33354 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33355 (eval $ac_try) 2>&5
33357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33358 (exit $ac_status); }; } &&
33360 $CXX -shared -fPIC -o conftest2.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
33361 -Wl,--version-script,conftest.sym conftest1.output >/dev/null 2>/dev/null'
33362 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33363 (eval $ac_try) 2>&5
33365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33366 (exit $ac_status); }; }
33369 $CXX -shared -fPIC -o conftest3.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
33370 -Wl,--version-script,conftest.sym conftest2.output conftest1.output >/dev/null 2>/dev/null'
33371 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33372 (eval $ac_try) 2>&5
33374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33375 (exit $ac_status); }; }
33377 wx_cv_version_script=yes
33379 wx_cv_version_script=no
33384 rm -f conftest.output conftest.stderr conftest.sym conftest.cpp
33385 rm -f conftest1.output conftest2.output conftest3.output
33388 { echo "$as_me:$LINENO: result: $wx_cv_version_script" >&5
33389 echo "${ECHO_T}$wx_cv_version_script" >&6; }
33391 if test $wx_cv_version_script = yes ; then
33392 LDFLAGS_VERSIONING="-Wl,--version-script,\$(wx_top_builddir)/version-script"
33398 if test "$wxUSE_VISIBILITY" != "no"; then
33401 if test -n "$GCC"; then
33402 CFLAGS_VISIBILITY="-fvisibility=hidden"
33403 CXXFLAGS_VISIBILITY="-fvisibility=hidden -fvisibility-inlines-hidden"
33404 { echo "$as_me:$LINENO: checking for symbols visibility support" >&5
33405 echo $ECHO_N "checking for symbols visibility support... $ECHO_C" >&6; }
33406 if test "${wx_cv_cc_visibility+set}" = set; then
33407 echo $ECHO_N "(cached) $ECHO_C" >&6
33410 wx_save_CXXFLAGS="$CXXFLAGS"
33411 CXXFLAGS="$CXXFLAGS $CXXFLAGS_VISIBILITY"
33413 ac_cpp='$CXXCPP $CPPFLAGS'
33414 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33415 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33416 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33418 cat >conftest.$ac_ext <<_ACEOF
33421 cat confdefs.h >>conftest.$ac_ext
33422 cat >>conftest.$ac_ext <<_ACEOF
33423 /* end confdefs.h. */
33425 /* we need gcc >= 4.0, older versions with visibility support
33426 didn't have class visibility: */
33427 #if defined(__GNUC__) && __GNUC__ < 4
33428 error this gcc is too old;
33431 /* visibility only makes sense for ELF shared libs: */
33432 #if !defined(__ELF__) && !defined(__APPLE__)
33433 error this platform has no visibility;
33436 extern __attribute__((__visibility__("hidden"))) int hiddenvar;
33437 extern __attribute__((__visibility__("default"))) int exportedvar;
33438 extern __attribute__((__visibility__("hidden"))) int hiddenfunc (void);
33439 extern __attribute__((__visibility__("default"))) int exportedfunc (void);
33440 class __attribute__((__visibility__("default"))) Foo {
33452 rm -f conftest.$ac_objext
33453 if { (ac_try="$ac_compile"
33454 case "(($ac_try" in
33455 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
33456 *) ac_try_echo
=$ac_try;;
33458 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33459 (eval "$ac_compile") 2>conftest.er1
33461 grep -v '^ *+' conftest.er1
>conftest.err
33463 cat conftest.err
>&5
33464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33465 (exit $ac_status); } && {
33466 test -z "$ac_cxx_werror_flag" ||
33467 test ! -s conftest.err
33468 } && test -s conftest.
$ac_objext; then
33469 wx_cv_cc_visibility
=yes
33471 echo "$as_me: failed program was:" >&5
33472 sed 's/^/| /' conftest.
$ac_ext >&5
33474 wx_cv_cc_visibility
=no
33477 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
33479 ac_cpp
='$CPP $CPPFLAGS'
33480 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33481 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33482 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
33484 CXXFLAGS
="$wx_save_CXXFLAGS"
33487 { echo "$as_me:$LINENO: result: $wx_cv_cc_visibility" >&5
33488 echo "${ECHO_T}$wx_cv_cc_visibility" >&6; }
33489 if test $wx_cv_cc_visibility = yes; then
33490 { echo "$as_me:$LINENO: checking for broken libstdc++ visibility" >&5
33491 echo $ECHO_N "checking for broken libstdc++ visibility... $ECHO_C" >&6; }
33492 if test "${wx_cv_cc_broken_libstdcxx_visibility+set}" = set; then
33493 echo $ECHO_N "(cached) $ECHO_C" >&6
33496 wx_save_CXXFLAGS
="$CXXFLAGS"
33497 wx_save_LDFLAGS
="$LDFLAGS"
33498 CXXFLAGS
="$CXXFLAGS $CXXFLAGS_VISIBILITY"
33499 LDFLAGS
="$LDFLAGS -shared -fPIC"
33501 ac_cpp
='$CXXCPP $CPPFLAGS'
33502 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33503 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33504 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
33506 cat >conftest.
$ac_ext <<_ACEOF
33509 cat confdefs.h
>>conftest.
$ac_ext
33510 cat >>conftest.
$ac_ext <<_ACEOF
33511 /* end confdefs.h. */
33519 std::string s("hello");
33526 rm -f conftest.
$ac_objext conftest
$ac_exeext
33527 if { (ac_try
="$ac_link"
33528 case "(($ac_try" in
33529 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
33530 *) ac_try_echo=$ac_try;;
33532 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33533 (eval "$ac_link") 2>conftest.er1
33535 grep -v '^ *+' conftest.er1 >conftest.err
33537 cat conftest.err >&5
33538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33539 (exit $ac_status); } && {
33540 test -z "$ac_cxx_werror_flag" ||
33541 test ! -s conftest.err
33542 } && test -s conftest$ac_exeext &&
33543 $as_test_x conftest$ac_exeext; then
33544 wx_cv_cc_broken_libstdcxx_visibility=no
33546 echo "$as_me: failed program was:" >&5
33547 sed 's/^/| /' conftest.$ac_ext >&5
33549 wx_cv_cc_broken_libstdcxx_visibility=yes
33552 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33553 conftest$ac_exeext conftest.$ac_ext
33555 ac_cpp='$CPP $CPPFLAGS'
33556 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33557 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33558 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33560 CXXFLAGS="$wx_save_CXXFLAGS"
33561 LDFLAGS="$wx_save_LDFLAGS"
33564 { echo "$as_me:$LINENO: result: $wx_cv_cc_broken_libstdcxx_visibility" >&5
33565 echo "${ECHO_T}$wx_cv_cc_broken_libstdcxx_visibility" >&6; }
33567 if test $wx_cv_cc_broken_libstdcxx_visibility = yes; then
33568 { echo "$as_me:$LINENO: checking whether we can work around it" >&5
33569 echo $ECHO_N "checking whether we can work around it... $ECHO_C" >&6; }
33570 if test "${wx_cv_cc_visibility_workaround+set}" = set; then
33571 echo $ECHO_N "(cached) $ECHO_C" >&6
33575 ac_cpp='$CXXCPP $CPPFLAGS'
33576 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33577 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33578 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33580 cat >conftest.$ac_ext <<_ACEOF
33583 cat confdefs.h >>conftest.$ac_ext
33584 cat >>conftest.$ac_ext <<_ACEOF
33585 /* end confdefs.h. */
33587 #pragma GCC visibility push(default)
33589 #pragma GCC visibility pop
33595 std::string s("hello");
33602 rm -f conftest.$ac_objext conftest$ac_exeext
33603 if { (ac_try="$ac_link"
33604 case "(($ac_try" in
33605 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
33606 *) ac_try_echo
=$ac_try;;
33608 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33609 (eval "$ac_link") 2>conftest.er1
33611 grep -v '^ *+' conftest.er1
>conftest.err
33613 cat conftest.err
>&5
33614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33615 (exit $ac_status); } && {
33616 test -z "$ac_cxx_werror_flag" ||
33617 test ! -s conftest.err
33618 } && test -s conftest
$ac_exeext &&
33619 $as_test_x conftest
$ac_exeext; then
33620 wx_cv_cc_visibility_workaround
=no
33622 echo "$as_me: failed program was:" >&5
33623 sed 's/^/| /' conftest.
$ac_ext >&5
33625 wx_cv_cc_visibility_workaround
=yes
33628 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
33629 conftest
$ac_exeext conftest.
$ac_ext
33631 ac_cpp
='$CPP $CPPFLAGS'
33632 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33633 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33634 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
33639 { echo "$as_me:$LINENO: result: $wx_cv_cc_visibility_workaround" >&5
33640 echo "${ECHO_T}$wx_cv_cc_visibility_workaround" >&6; }
33642 if test $wx_cv_cc_visibility_workaround = no
; then
33643 wx_cv_cc_visibility
=no
33648 if test $wx_cv_cc_visibility = yes; then
33649 cat >>confdefs.h
<<\_ACEOF
33650 #define HAVE_VISIBILITY 1
33653 if test $wx_cv_cc_broken_libstdcxx_visibility = yes; then
33654 cat >>confdefs.h
<<\_ACEOF
33655 #define HAVE_BROKEN_LIBSTDCXX_VISIBILITY 1
33660 CFLAGS_VISIBILITY
=""
33661 CXXFLAGS_VISIBILITY
=""
33669 if test "x$SUNCXX" = xyes
; then
33670 SAMPLES_RPATH_FLAG
="-R\$(wx_top_builddir)/lib"
33671 WXCONFIG_RPATH
="-R\$libdir"
33674 *-*-linux* | *-*-gnu* )
33675 SAMPLES_RPATH_FLAG
="-Wl,-rpath,\$(wx_top_builddir)/lib"
33676 WXCONFIG_RPATH
="-Wl,-rpath,\$libdir"
33681 CPPFLAGS
="-isystem /usr/openwin/include $CPPFLAGS"
33683 saveLdflags
="$LDFLAGS"
33684 LDFLAGS
="$saveLdflags -Wl,-rpath,/"
33685 { echo "$as_me:$LINENO: checking if the linker accepts -rpath" >&5
33686 echo $ECHO_N "checking if the linker accepts -rpath... $ECHO_C" >&6; }
33687 cat >conftest.
$ac_ext <<_ACEOF
33690 cat confdefs.h
>>conftest.
$ac_ext
33691 cat >>conftest.
$ac_ext <<_ACEOF
33692 /* end confdefs.h. */
33702 rm -f conftest.
$ac_objext conftest
$ac_exeext
33703 if { (ac_try
="$ac_link"
33704 case "(($ac_try" in
33705 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
33706 *) ac_try_echo=$ac_try;;
33708 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33709 (eval "$ac_link") 2>conftest.er1
33711 grep -v '^ *+' conftest.er1 >conftest.err
33713 cat conftest.err >&5
33714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33715 (exit $ac_status); } && {
33716 test -z "$ac_c_werror_flag" ||
33717 test ! -s conftest.err
33718 } && test -s conftest$ac_exeext &&
33719 $as_test_x conftest$ac_exeext; then
33721 { echo "$as_me:$LINENO: result: yes" >&5
33722 echo "${ECHO_T}yes" >&6; }
33723 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(wx_top_builddir)/lib"
33724 WXCONFIG_RPATH="-Wl,-rpath,\$libdir"
33727 echo "$as_me: failed program was:" >&5
33728 sed 's/^/| /' conftest.$ac_ext >&5
33731 { echo "$as_me:$LINENO: result: no" >&5
33732 echo "${ECHO_T}no" >&6; }
33733 { echo "$as_me:$LINENO: checking if the linker accepts -R" >&5
33734 echo $ECHO_N "checking if the linker accepts -R... $ECHO_C" >&6; }
33735 LDFLAGS="$saveLdflags -Wl,-R,/"
33736 cat >conftest.$ac_ext <<_ACEOF
33739 cat confdefs.h >>conftest.$ac_ext
33740 cat >>conftest.$ac_ext <<_ACEOF
33741 /* end confdefs.h. */
33751 rm -f conftest.$ac_objext conftest$ac_exeext
33752 if { (ac_try="$ac_link"
33753 case "(($ac_try" in
33754 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
33755 *) ac_try_echo
=$ac_try;;
33757 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33758 (eval "$ac_link") 2>conftest.er1
33760 grep -v '^ *+' conftest.er1
>conftest.err
33762 cat conftest.err
>&5
33763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33764 (exit $ac_status); } && {
33765 test -z "$ac_c_werror_flag" ||
33766 test ! -s conftest.err
33767 } && test -s conftest
$ac_exeext &&
33768 $as_test_x conftest
$ac_exeext; then
33770 { echo "$as_me:$LINENO: result: yes" >&5
33771 echo "${ECHO_T}yes" >&6; }
33772 SAMPLES_RPATH_FLAG
="-Wl,-R,\$(wx_top_builddir)/lib"
33773 WXCONFIG_RPATH
="-Wl,-R,\$libdir"
33776 echo "$as_me: failed program was:" >&5
33777 sed 's/^/| /' conftest.
$ac_ext >&5
33780 { echo "$as_me:$LINENO: result: no" >&5
33781 echo "${ECHO_T}no" >&6; }
33785 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
33786 conftest
$ac_exeext conftest.
$ac_ext
33790 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
33791 conftest
$ac_exeext conftest.
$ac_ext
33792 LDFLAGS
="$saveLdflags"
33796 install_name_tool
=`which install_name_tool`
33797 if test "$install_name_tool" -a -x "$install_name_tool"; then
33798 SAMPLES_RPATH_POSTLINK
="\$(wx_top_builddir)/change-install-names \$(LIBDIRNAME) \$(prefix) \$@"
33799 cat <<EOF >change-install-names
33801 libnames=\`cd \${1} ; ls -1 | grep '\.[0-9][0-9]*\.dylib\$'\`
33802 inst_cmd="install_name_tool "
33803 for i in \${libnames} ; do
33804 inst_cmd="\${inst_cmd} -change \${2}/lib/\${i} \${1}/\${i}"
33808 chmod +x change
-install-names
33812 *-*-cygwin* | *-*-mingw32* )
33816 SAMPLES_RPATH_FLAG
="-Wl,+b,\$(wx_top_builddir)/lib"
33817 WXCONFIG_RPATH
="-Wl,+b,\$libdir"
33823 WXCONFIG_ONLY_CPPFLAGS
="$WXCONFIG_ONLY_CPPFLAGS -DWXUSINGDLL"
33825 if test $wxUSE_RPATH = "no"; then
33826 SAMPLES_RPATH_FLAG
=''
33827 SAMPLES_RPATH_POSTLINK
=''
33835 config_linkage_component
="-static"
33842 lib_unicode_suffix
=
33844 if test "$wxUSE_UNICODE" = "yes"; then
33845 lib_unicode_suffix
=u
33846 WX_CHARTYPE
="unicode"
33851 WX_DEBUGTYPE
="release"
33853 if test "$wxUSE_DEBUG_FLAG" = "yes"; then
33855 WX_DEBUGTYPE
="debug"
33859 WX_FLAVOUR
=${WX_FLAVOUR:+-$WX_FLAVOUR}
33860 WX_LIB_FLAVOUR
=`echo $WX_FLAVOUR | tr '-' '_'`
33863 if test "$wxUSE_DEBUG_INFO" = "yes"; then
33867 WX_VERSION_TAG
=`echo WX${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}_${WX_RELEASE} | tr '[a-z]' '[A-Z]'`
33869 TOOLCHAIN_NAME
="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}"
33871 TOOLCHAIN_FULLNAME
="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}-${WX_CHARTYPE}-${WX_DEBUGTYPE}${config_linkage_component}-${WX_RELEASE}${WX_FLAVOUR}"
33873 if test "$cross_compiling" = "yes"; then
33874 HOST_SUFFIX
="-$host_alias"
33875 TOOLCHAIN_NAME
="$TOOLCHAIN_NAME$HOST_SUFFIX"
33876 TOOLCHAIN_FULLNAME
="${host_alias}-$TOOLCHAIN_FULLNAME"
33879 WX_LIBRARY_BASENAME_NOGUI
="wx_base${WXBASEPORT}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
33880 if test "${TOOLKIT_DIR}" = "os2"; then
33881 WX_LIBRARY_BASENAME_GUI
="wx_pm${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
33883 WX_LIBRARY_BASENAME_GUI
="wx_${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
33888 if test "$wxUSE_COCOA" = 1; then
33891 ac_cpp
='$CPP $CPPFLAGS'
33892 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33893 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33894 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
33898 { echo "$as_me:$LINENO: checking if AppKit/NSEvent.h conflicts with CoreFoundation" >&5
33899 echo $ECHO_N "checking if AppKit/NSEvent.h conflicts with CoreFoundation... $ECHO_C" >&6; }
33900 cat >conftest.
$ac_ext <<_ACEOF
33903 cat confdefs.h
>>conftest.
$ac_ext
33904 cat >>conftest.
$ac_ext <<_ACEOF
33905 /* end confdefs.h. */
33906 #include <AppKit/NSEvent.h>
33907 #include <CoreFoundation/CoreFoundation.h>
33917 rm -f conftest.
$ac_objext
33918 if { (ac_try
="$ac_compile"
33919 case "(($ac_try" in
33920 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
33921 *) ac_try_echo=$ac_try;;
33923 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33924 (eval "$ac_compile") 2>conftest.er1
33926 grep -v '^ *+' conftest.er1 >conftest.err
33928 cat conftest.err >&5
33929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33930 (exit $ac_status); } && {
33931 test -z "$ac_c_werror_flag" ||
33932 test ! -s conftest.err
33933 } && test -s conftest.$ac_objext; then
33934 { echo "$as_me:$LINENO: result: no" >&5
33935 echo "${ECHO_T}no" >&6; }
33937 echo "$as_me: failed program was:" >&5
33938 sed 's/^/| /' conftest.$ac_ext >&5
33940 { echo "$as_me:$LINENO: result: yes" >&5
33941 echo "${ECHO_T}yes" >&6; }
33942 { echo "$as_me:$LINENO: checking if defining __Point__ will fix it" >&5
33943 echo $ECHO_N "checking if defining __Point__ will fix it... $ECHO_C" >&6; }
33944 cat >conftest.$ac_ext <<_ACEOF
33947 cat confdefs.h >>conftest.$ac_ext
33948 cat >>conftest.$ac_ext <<_ACEOF
33949 /* end confdefs.h. */
33950 #define __Point__ 1
33951 #include <AppKit/NSEvent.h>
33952 #include <CoreFoundation/CoreFoundation.h>
33962 rm -f conftest.$ac_objext
33963 if { (ac_try="$ac_compile"
33964 case "(($ac_try" in
33965 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
33966 *) ac_try_echo
=$ac_try;;
33968 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33969 (eval "$ac_compile") 2>conftest.er1
33971 grep -v '^ *+' conftest.er1
>conftest.err
33973 cat conftest.err
>&5
33974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33975 (exit $ac_status); } && {
33976 test -z "$ac_c_werror_flag" ||
33977 test ! -s conftest.err
33978 } && test -s conftest.
$ac_objext; then
33979 { echo "$as_me:$LINENO: result: yes" >&5
33980 echo "${ECHO_T}yes" >&6; }
33981 cat >>confdefs.h
<<\_ACEOF
33982 #define __Point__ 1
33987 echo "$as_me: failed program was:" >&5
33988 sed 's/^/| /' conftest.
$ac_ext >&5
33990 { { echo "$as_me:$LINENO: error: no
33991 See \`config.log' for more details." >&5
33992 echo "$as_me: error: no
33993 See \`config.log' for more details." >&2;}
33994 { (exit 1); exit 1; }; }
33998 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
34002 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
34004 ac_cpp
='$CPP $CPPFLAGS'
34005 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34006 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34007 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
34012 { echo "$as_me:$LINENO: checking for mode_t" >&5
34013 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6; }
34014 if test "${ac_cv_type_mode_t+set}" = set; then
34015 echo $ECHO_N "(cached) $ECHO_C" >&6
34017 cat >conftest.
$ac_ext <<_ACEOF
34020 cat confdefs.h
>>conftest.
$ac_ext
34021 cat >>conftest.
$ac_ext <<_ACEOF
34022 /* end confdefs.h. */
34023 $ac_includes_default
34024 typedef mode_t ac__type_new_;
34028 if ((ac__type_new_ *) 0)
34030 if (sizeof (ac__type_new_))
34036 rm -f conftest.
$ac_objext
34037 if { (ac_try
="$ac_compile"
34038 case "(($ac_try" in
34039 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
34040 *) ac_try_echo=$ac_try;;
34042 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34043 (eval "$ac_compile") 2>conftest.er1
34045 grep -v '^ *+' conftest.er1 >conftest.err
34047 cat conftest.err >&5
34048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34049 (exit $ac_status); } && {
34050 test -z "$ac_c_werror_flag" ||
34051 test ! -s conftest.err
34052 } && test -s conftest.$ac_objext; then
34053 ac_cv_type_mode_t=yes
34055 echo "$as_me: failed program was:" >&5
34056 sed 's/^/| /' conftest.$ac_ext >&5
34058 ac_cv_type_mode_t=no
34061 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34063 { echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
34064 echo "${ECHO_T}$ac_cv_type_mode_t" >&6; }
34065 if test $ac_cv_type_mode_t = yes; then
34069 cat >>confdefs.h <<_ACEOF
34075 { echo "$as_me:$LINENO: checking for off_t" >&5
34076 echo $ECHO_N "checking for off_t... $ECHO_C" >&6; }
34077 if test "${ac_cv_type_off_t+set}" = set; then
34078 echo $ECHO_N "(cached) $ECHO_C" >&6
34080 cat >conftest.$ac_ext <<_ACEOF
34083 cat confdefs.h >>conftest.$ac_ext
34084 cat >>conftest.$ac_ext <<_ACEOF
34085 /* end confdefs.h. */
34086 $ac_includes_default
34087 typedef off_t ac__type_new_;
34091 if ((ac__type_new_ *) 0)
34093 if (sizeof (ac__type_new_))
34099 rm -f conftest.$ac_objext
34100 if { (ac_try="$ac_compile"
34101 case "(($ac_try" in
34102 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
34103 *) ac_try_echo
=$ac_try;;
34105 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34106 (eval "$ac_compile") 2>conftest.er1
34108 grep -v '^ *+' conftest.er1
>conftest.err
34110 cat conftest.err
>&5
34111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34112 (exit $ac_status); } && {
34113 test -z "$ac_c_werror_flag" ||
34114 test ! -s conftest.err
34115 } && test -s conftest.
$ac_objext; then
34116 ac_cv_type_off_t
=yes
34118 echo "$as_me: failed program was:" >&5
34119 sed 's/^/| /' conftest.
$ac_ext >&5
34121 ac_cv_type_off_t
=no
34124 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
34126 { echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
34127 echo "${ECHO_T}$ac_cv_type_off_t" >&6; }
34128 if test $ac_cv_type_off_t = yes; then
34132 cat >>confdefs.h
<<_ACEOF
34133 #define off_t long int
34138 { echo "$as_me:$LINENO: checking for pid_t" >&5
34139 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6; }
34140 if test "${ac_cv_type_pid_t+set}" = set; then
34141 echo $ECHO_N "(cached) $ECHO_C" >&6
34143 cat >conftest.
$ac_ext <<_ACEOF
34146 cat confdefs.h
>>conftest.
$ac_ext
34147 cat >>conftest.
$ac_ext <<_ACEOF
34148 /* end confdefs.h. */
34149 $ac_includes_default
34150 typedef pid_t ac__type_new_;
34154 if ((ac__type_new_ *) 0)
34156 if (sizeof (ac__type_new_))
34162 rm -f conftest.
$ac_objext
34163 if { (ac_try
="$ac_compile"
34164 case "(($ac_try" in
34165 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
34166 *) ac_try_echo=$ac_try;;
34168 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34169 (eval "$ac_compile") 2>conftest.er1
34171 grep -v '^ *+' conftest.er1 >conftest.err
34173 cat conftest.err >&5
34174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34175 (exit $ac_status); } && {
34176 test -z "$ac_c_werror_flag" ||
34177 test ! -s conftest.err
34178 } && test -s conftest.$ac_objext; then
34179 ac_cv_type_pid_t=yes
34181 echo "$as_me: failed program was:" >&5
34182 sed 's/^/| /' conftest.$ac_ext >&5
34184 ac_cv_type_pid_t=no
34187 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34189 { echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
34190 echo "${ECHO_T}$ac_cv_type_pid_t" >&6; }
34191 if test $ac_cv_type_pid_t = yes; then
34195 cat >>confdefs.h <<_ACEOF
34201 { echo "$as_me:$LINENO: checking for size_t" >&5
34202 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
34203 if test "${ac_cv_type_size_t+set}" = set; then
34204 echo $ECHO_N "(cached) $ECHO_C" >&6
34206 cat >conftest.$ac_ext <<_ACEOF
34209 cat confdefs.h >>conftest.$ac_ext
34210 cat >>conftest.$ac_ext <<_ACEOF
34211 /* end confdefs.h. */
34212 $ac_includes_default
34213 typedef size_t ac__type_new_;
34217 if ((ac__type_new_ *) 0)
34219 if (sizeof (ac__type_new_))
34225 rm -f conftest.$ac_objext
34226 if { (ac_try="$ac_compile"
34227 case "(($ac_try" in
34228 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
34229 *) ac_try_echo
=$ac_try;;
34231 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34232 (eval "$ac_compile") 2>conftest.er1
34234 grep -v '^ *+' conftest.er1
>conftest.err
34236 cat conftest.err
>&5
34237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34238 (exit $ac_status); } && {
34239 test -z "$ac_c_werror_flag" ||
34240 test ! -s conftest.err
34241 } && test -s conftest.
$ac_objext; then
34242 ac_cv_type_size_t
=yes
34244 echo "$as_me: failed program was:" >&5
34245 sed 's/^/| /' conftest.
$ac_ext >&5
34247 ac_cv_type_size_t
=no
34250 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
34252 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
34253 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
34254 if test $ac_cv_type_size_t = yes; then
34258 cat >>confdefs.h
<<_ACEOF
34259 #define size_t unsigned int
34265 { echo "$as_me:$LINENO: checking for ssize_t" >&5
34266 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6; }
34267 if test "${ac_cv_type_ssize_t+set}" = set; then
34268 echo $ECHO_N "(cached) $ECHO_C" >&6
34270 cat >conftest.
$ac_ext <<_ACEOF
34273 cat confdefs.h
>>conftest.
$ac_ext
34274 cat >>conftest.
$ac_ext <<_ACEOF
34275 /* end confdefs.h. */
34276 $ac_includes_default
34277 typedef ssize_t ac__type_new_;
34281 if ((ac__type_new_ *) 0)
34283 if (sizeof (ac__type_new_))
34289 rm -f conftest.
$ac_objext
34290 if { (ac_try
="$ac_compile"
34291 case "(($ac_try" in
34292 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
34293 *) ac_try_echo=$ac_try;;
34295 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34296 (eval "$ac_compile") 2>conftest.er1
34298 grep -v '^ *+' conftest.er1 >conftest.err
34300 cat conftest.err >&5
34301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34302 (exit $ac_status); } && {
34303 test -z "$ac_c_werror_flag" ||
34304 test ! -s conftest.err
34305 } && test -s conftest.$ac_objext; then
34306 ac_cv_type_ssize_t=yes
34308 echo "$as_me: failed program was:" >&5
34309 sed 's/^/| /' conftest.$ac_ext >&5
34311 ac_cv_type_ssize_t=no
34314 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34316 { echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
34317 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6; }
34318 if test $ac_cv_type_ssize_t = yes; then
34320 cat >>confdefs.h <<_ACEOF
34321 #define HAVE_SSIZE_T 1
34329 ac_cpp='$CXXCPP $CPPFLAGS'
34330 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34331 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34332 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34333 { echo "$as_me:$LINENO: checking if size_t is unsigned int" >&5
34334 echo $ECHO_N "checking if size_t is unsigned int... $ECHO_C" >&6; }
34335 if test "${wx_cv_size_t_is_uint+set}" = set; then
34336 echo $ECHO_N "(cached) $ECHO_C" >&6
34339 cat >conftest.$ac_ext <<_ACEOF
34342 cat confdefs.h >>conftest.$ac_ext
34343 cat >>conftest.$ac_ext <<_ACEOF
34344 /* end confdefs.h. */
34345 #include <stddef.h>
34352 struct Foo { void foo(size_t); void foo(unsigned int); };
34360 rm -f conftest.$ac_objext
34361 if { (ac_try="$ac_compile"
34362 case "(($ac_try" in
34363 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
34364 *) ac_try_echo
=$ac_try;;
34366 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34367 (eval "$ac_compile") 2>conftest.er1
34369 grep -v '^ *+' conftest.er1
>conftest.err
34371 cat conftest.err
>&5
34372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34373 (exit $ac_status); } && {
34374 test -z "$ac_cxx_werror_flag" ||
34375 test ! -s conftest.err
34376 } && test -s conftest.
$ac_objext; then
34377 wx_cv_size_t_is_uint
=no
34379 echo "$as_me: failed program was:" >&5
34380 sed 's/^/| /' conftest.
$ac_ext >&5
34382 wx_cv_size_t_is_uint
=yes
34386 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
34390 { echo "$as_me:$LINENO: result: $wx_cv_size_t_is_uint" >&5
34391 echo "${ECHO_T}$wx_cv_size_t_is_uint" >&6; }
34393 if test "$wx_cv_size_t_is_uint" = "yes"; then
34394 cat >>confdefs.h
<<\_ACEOF
34395 #define wxSIZE_T_IS_UINT 1
34399 { echo "$as_me:$LINENO: checking if size_t is unsigned long" >&5
34400 echo $ECHO_N "checking if size_t is unsigned long... $ECHO_C" >&6; }
34401 if test "${wx_cv_size_t_is_ulong+set}" = set; then
34402 echo $ECHO_N "(cached) $ECHO_C" >&6
34404 cat >conftest.
$ac_ext <<_ACEOF
34407 cat confdefs.h
>>conftest.
$ac_ext
34408 cat >>conftest.
$ac_ext <<_ACEOF
34409 /* end confdefs.h. */
34410 #include <stddef.h>
34417 struct Foo { void foo(size_t); void foo(unsigned long); };
34425 rm -f conftest.
$ac_objext
34426 if { (ac_try
="$ac_compile"
34427 case "(($ac_try" in
34428 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
34429 *) ac_try_echo=$ac_try;;
34431 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34432 (eval "$ac_compile") 2>conftest.er1
34434 grep -v '^ *+' conftest.er1 >conftest.err
34436 cat conftest.err >&5
34437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34438 (exit $ac_status); } && {
34439 test -z "$ac_cxx_werror_flag" ||
34440 test ! -s conftest.err
34441 } && test -s conftest.$ac_objext; then
34442 wx_cv_size_t_is_ulong=no
34444 echo "$as_me: failed program was:" >&5
34445 sed 's/^/| /' conftest.$ac_ext >&5
34447 wx_cv_size_t_is_ulong=yes
34451 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34454 { echo "$as_me:$LINENO: result: $wx_cv_size_t_is_ulong" >&5
34455 echo "${ECHO_T}$wx_cv_size_t_is_ulong" >&6; }
34457 if test "$wx_cv_size_t_is_ulong" = "yes"; then
34458 cat >>confdefs.h <<\_ACEOF
34459 #define wxSIZE_T_IS_ULONG 1
34465 { echo "$as_me:$LINENO: checking if wchar_t is separate type" >&5
34466 echo $ECHO_N "checking if wchar_t is separate type... $ECHO_C" >&6; }
34467 if test "${wx_cv_wchar_t_is_separate_type+set}" = set; then
34468 echo $ECHO_N "(cached) $ECHO_C" >&6
34470 cat >conftest.$ac_ext <<_ACEOF
34473 cat confdefs.h >>conftest.$ac_ext
34474 cat >>conftest.$ac_ext <<_ACEOF
34475 /* end confdefs.h. */
34483 struct Foo { void foo(wchar_t);
34484 void foo(unsigned short);
34485 void foo(unsigned int);
34486 void foo(unsigned long); };
34494 rm -f conftest.$ac_objext
34495 if { (ac_try="$ac_compile"
34496 case "(($ac_try" in
34497 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
34498 *) ac_try_echo
=$ac_try;;
34500 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34501 (eval "$ac_compile") 2>conftest.er1
34503 grep -v '^ *+' conftest.er1
>conftest.err
34505 cat conftest.err
>&5
34506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34507 (exit $ac_status); } && {
34508 test -z "$ac_cxx_werror_flag" ||
34509 test ! -s conftest.err
34510 } && test -s conftest.
$ac_objext; then
34511 wx_cv_wchar_t_is_separate_type
=yes
34513 echo "$as_me: failed program was:" >&5
34514 sed 's/^/| /' conftest.
$ac_ext >&5
34516 wx_cv_wchar_t_is_separate_type
=no
34520 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
34523 { echo "$as_me:$LINENO: result: $wx_cv_wchar_t_is_separate_type" >&5
34524 echo "${ECHO_T}$wx_cv_wchar_t_is_separate_type" >&6; }
34526 if test "$wx_cv_wchar_t_is_separate_type" = "yes"; then
34527 cat >>confdefs.h
<<\_ACEOF
34528 #define wxWCHAR_T_IS_REAL_TYPE 1
34532 cat >>confdefs.h
<<\_ACEOF
34533 #define wxWCHAR_T_IS_REAL_TYPE 0
34539 ac_cpp
='$CPP $CPPFLAGS'
34540 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34541 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34542 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
34545 { echo "$as_me:$LINENO: checking for pw_gecos in struct passwd" >&5
34546 echo $ECHO_N "checking for pw_gecos in struct passwd... $ECHO_C" >&6; }
34547 if test "${wx_cv_struct_pw_gecos+set}" = set; then
34548 echo $ECHO_N "(cached) $ECHO_C" >&6
34551 cat >conftest.
$ac_ext <<_ACEOF
34554 cat confdefs.h
>>conftest.
$ac_ext
34555 cat >>conftest.
$ac_ext <<_ACEOF
34556 /* end confdefs.h. */
34570 rm -f conftest.
$ac_objext
34571 if { (ac_try
="$ac_compile"
34572 case "(($ac_try" in
34573 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
34574 *) ac_try_echo=$ac_try;;
34576 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34577 (eval "$ac_compile") 2>conftest.er1
34579 grep -v '^ *+' conftest.er1 >conftest.err
34581 cat conftest.err >&5
34582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34583 (exit $ac_status); } && {
34584 test -z "$ac_c_werror_flag" ||
34585 test ! -s conftest.err
34586 } && test -s conftest.$ac_objext; then
34588 wx_cv_struct_pw_gecos=yes
34591 echo "$as_me: failed program was:" >&5
34592 sed 's/^/| /' conftest.$ac_ext >&5
34595 wx_cv_struct_pw_gecos=no
34600 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34604 { echo "$as_me:$LINENO: result: $wx_cv_struct_pw_gecos" >&5
34605 echo "${ECHO_T}$wx_cv_struct_pw_gecos" >&6; }
34607 if test "$wx_cv_struct_pw_gecos" = "yes"; then
34608 cat >>confdefs.h <<\_ACEOF
34609 #define HAVE_PW_GECOS 1
34615 if test "$wxUSE_WCHAR_T" = "yes"; then
34616 cat >>confdefs.h <<\_ACEOF
34617 #define wxUSE_WCHAR_T 1
34624 for ac_func in wcslen
34626 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34627 { echo "$as_me:$LINENO: checking for $ac_func" >&5
34628 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
34629 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
34630 echo $ECHO_N "(cached) $ECHO_C" >&6
34632 cat >conftest.$ac_ext <<_ACEOF
34635 cat confdefs.h >>conftest.$ac_ext
34636 cat >>conftest.$ac_ext <<_ACEOF
34637 /* end confdefs.h. */
34638 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34639 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34640 #define $ac_func innocuous_$ac_func
34642 /* System header to define __stub macros and hopefully few prototypes,
34643 which can conflict with char $ac_func (); below.
34644 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34645 <limits.h> exists even on freestanding compilers. */
34648 # include <limits.h>
34650 # include <assert.h>
34655 /* Override any GCC internal prototype to avoid an error.
34656 Use char because int might match the return type of a GCC
34657 builtin and then its argument prototype would still apply. */
34662 /* The GNU C library defines this for functions which it implements
34663 to always fail with ENOSYS. Some functions are actually named
34664 something starting with __ and the normal name is an alias. */
34665 #if defined __stub_$ac_func || defined __stub___$ac_func
34672 return $ac_func ();
34677 rm -f conftest.$ac_objext conftest$ac_exeext
34678 if { (ac_try="$ac_link"
34679 case "(($ac_try" in
34680 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
34681 *) ac_try_echo
=$ac_try;;
34683 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34684 (eval "$ac_link") 2>conftest.er1
34686 grep -v '^ *+' conftest.er1
>conftest.err
34688 cat conftest.err
>&5
34689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34690 (exit $ac_status); } && {
34691 test -z "$ac_c_werror_flag" ||
34692 test ! -s conftest.err
34693 } && test -s conftest
$ac_exeext &&
34694 $as_test_x conftest
$ac_exeext; then
34695 eval "$as_ac_var=yes"
34697 echo "$as_me: failed program was:" >&5
34698 sed 's/^/| /' conftest.
$ac_ext >&5
34700 eval "$as_ac_var=no"
34703 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
34704 conftest
$ac_exeext conftest.
$ac_ext
34706 ac_res
=`eval echo '${'$as_ac_var'}'`
34707 { echo "$as_me:$LINENO: result: $ac_res" >&5
34708 echo "${ECHO_T}$ac_res" >&6; }
34709 if test `eval echo '${'$as_ac_var'}'` = yes; then
34710 cat >>confdefs.h
<<_ACEOF
34711 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34718 if test "$WCSLEN_FOUND" = 0; then
34719 if test "$TOOLKIT" = "MSW"; then
34720 { echo "$as_me:$LINENO: checking for wcslen in -lmsvcrt" >&5
34721 echo $ECHO_N "checking for wcslen in -lmsvcrt... $ECHO_C" >&6; }
34722 if test "${ac_cv_lib_msvcrt_wcslen+set}" = set; then
34723 echo $ECHO_N "(cached) $ECHO_C" >&6
34725 ac_check_lib_save_LIBS
=$LIBS
34726 LIBS
="-lmsvcrt $LIBS"
34727 cat >conftest.
$ac_ext <<_ACEOF
34730 cat confdefs.h
>>conftest.
$ac_ext
34731 cat >>conftest.
$ac_ext <<_ACEOF
34732 /* end confdefs.h. */
34734 /* Override any GCC internal prototype to avoid an error.
34735 Use char because int might match the return type of a GCC
34736 builtin and then its argument prototype would still apply. */
34749 rm -f conftest.
$ac_objext conftest
$ac_exeext
34750 if { (ac_try
="$ac_link"
34751 case "(($ac_try" in
34752 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
34753 *) ac_try_echo=$ac_try;;
34755 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34756 (eval "$ac_link") 2>conftest.er1
34758 grep -v '^ *+' conftest.er1 >conftest.err
34760 cat conftest.err >&5
34761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34762 (exit $ac_status); } && {
34763 test -z "$ac_c_werror_flag" ||
34764 test ! -s conftest.err
34765 } && test -s conftest$ac_exeext &&
34766 $as_test_x conftest$ac_exeext; then
34767 ac_cv_lib_msvcrt_wcslen=yes
34769 echo "$as_me: failed program was:" >&5
34770 sed 's/^/| /' conftest.$ac_ext >&5
34772 ac_cv_lib_msvcrt_wcslen=no
34775 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34776 conftest$ac_exeext conftest.$ac_ext
34777 LIBS=$ac_check_lib_save_LIBS
34779 { echo "$as_me:$LINENO: result: $ac_cv_lib_msvcrt_wcslen" >&5
34780 echo "${ECHO_T}$ac_cv_lib_msvcrt_wcslen" >&6; }
34781 if test $ac_cv_lib_msvcrt_wcslen = yes; then
34786 { echo "$as_me:$LINENO: checking for wcslen in -lw" >&5
34787 echo $ECHO_N "checking for wcslen in -lw... $ECHO_C" >&6; }
34788 if test "${ac_cv_lib_w_wcslen+set}" = set; then
34789 echo $ECHO_N "(cached) $ECHO_C" >&6
34791 ac_check_lib_save_LIBS=$LIBS
34793 cat >conftest.$ac_ext <<_ACEOF
34796 cat confdefs.h >>conftest.$ac_ext
34797 cat >>conftest.$ac_ext <<_ACEOF
34798 /* end confdefs.h. */
34800 /* Override any GCC internal prototype to avoid an error.
34801 Use char because int might match the return type of a GCC
34802 builtin and then its argument prototype would still apply. */
34815 rm -f conftest.$ac_objext conftest$ac_exeext
34816 if { (ac_try="$ac_link"
34817 case "(($ac_try" in
34818 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
34819 *) ac_try_echo
=$ac_try;;
34821 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34822 (eval "$ac_link") 2>conftest.er1
34824 grep -v '^ *+' conftest.er1
>conftest.err
34826 cat conftest.err
>&5
34827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34828 (exit $ac_status); } && {
34829 test -z "$ac_c_werror_flag" ||
34830 test ! -s conftest.err
34831 } && test -s conftest
$ac_exeext &&
34832 $as_test_x conftest
$ac_exeext; then
34833 ac_cv_lib_w_wcslen
=yes
34835 echo "$as_me: failed program was:" >&5
34836 sed 's/^/| /' conftest.
$ac_ext >&5
34838 ac_cv_lib_w_wcslen
=no
34841 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
34842 conftest
$ac_exeext conftest.
$ac_ext
34843 LIBS
=$ac_check_lib_save_LIBS
34845 { echo "$as_me:$LINENO: result: $ac_cv_lib_w_wcslen" >&5
34846 echo "${ECHO_T}$ac_cv_lib_w_wcslen" >&6; }
34847 if test $ac_cv_lib_w_wcslen = yes; then
34857 if test "$WCSLEN_FOUND" = 1; then
34858 cat >>confdefs.h
<<\_ACEOF
34859 #define HAVE_WCSLEN 1
34865 for ac_func
in wcsdup
34867 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34868 { echo "$as_me:$LINENO: checking for $ac_func" >&5
34869 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
34870 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
34871 echo $ECHO_N "(cached) $ECHO_C" >&6
34873 cat >conftest.
$ac_ext <<_ACEOF
34876 cat confdefs.h
>>conftest.
$ac_ext
34877 cat >>conftest.
$ac_ext <<_ACEOF
34878 /* end confdefs.h. */
34879 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34880 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34881 #define $ac_func innocuous_$ac_func
34883 /* System header to define __stub macros and hopefully few prototypes,
34884 which can conflict with char $ac_func (); below.
34885 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34886 <limits.h> exists even on freestanding compilers. */
34889 # include <limits.h>
34891 # include <assert.h>
34896 /* Override any GCC internal prototype to avoid an error.
34897 Use char because int might match the return type of a GCC
34898 builtin and then its argument prototype would still apply. */
34903 /* The GNU C library defines this for functions which it implements
34904 to always fail with ENOSYS. Some functions are actually named
34905 something starting with __ and the normal name is an alias. */
34906 #if defined __stub_$ac_func || defined __stub___$ac_func
34913 return $ac_func ();
34918 rm -f conftest.
$ac_objext conftest
$ac_exeext
34919 if { (ac_try
="$ac_link"
34920 case "(($ac_try" in
34921 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
34922 *) ac_try_echo=$ac_try;;
34924 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34925 (eval "$ac_link") 2>conftest.er1
34927 grep -v '^ *+' conftest.er1 >conftest.err
34929 cat conftest.err >&5
34930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34931 (exit $ac_status); } && {
34932 test -z "$ac_c_werror_flag" ||
34933 test ! -s conftest.err
34934 } && test -s conftest$ac_exeext &&
34935 $as_test_x conftest$ac_exeext; then
34936 eval "$as_ac_var=yes"
34938 echo "$as_me: failed program was:" >&5
34939 sed 's/^/| /' conftest.$ac_ext >&5
34941 eval "$as_ac_var=no"
34944 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34945 conftest$ac_exeext conftest.$ac_ext
34947 ac_res=`eval echo '${'$as_ac_var'}'`
34948 { echo "$as_me:$LINENO: result: $ac_res" >&5
34949 echo "${ECHO_T}$ac_res" >&6; }
34950 if test `eval echo '${'$as_ac_var'}'` = yes; then
34951 cat >>confdefs.h <<_ACEOF
34952 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34959 if test "$USE_HPUX" = 1 -a "$GCC" != "yes"; then
34960 CPPFLAGS="-D_INCLUDE__STDC_A1_SOURCE $CPPFLAGS"
34963 { echo "$as_me:$LINENO: checking for mbstate_t" >&5
34964 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6; }
34965 if test "${ac_cv_type_mbstate_t+set}" = set; then
34966 echo $ECHO_N "(cached) $ECHO_C" >&6
34968 cat >conftest.$ac_ext <<_ACEOF
34971 cat confdefs.h >>conftest.$ac_ext
34972 cat >>conftest.$ac_ext <<_ACEOF
34973 /* end confdefs.h. */
34976 typedef mbstate_t ac__type_new_;
34980 if ((ac__type_new_ *) 0)
34982 if (sizeof (ac__type_new_))
34988 rm -f conftest.$ac_objext
34989 if { (ac_try="$ac_compile"
34990 case "(($ac_try" in
34991 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
34992 *) ac_try_echo
=$ac_try;;
34994 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34995 (eval "$ac_compile") 2>conftest.er1
34997 grep -v '^ *+' conftest.er1
>conftest.err
34999 cat conftest.err
>&5
35000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35001 (exit $ac_status); } && {
35002 test -z "$ac_c_werror_flag" ||
35003 test ! -s conftest.err
35004 } && test -s conftest.
$ac_objext; then
35005 ac_cv_type_mbstate_t
=yes
35007 echo "$as_me: failed program was:" >&5
35008 sed 's/^/| /' conftest.
$ac_ext >&5
35010 ac_cv_type_mbstate_t
=no
35013 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
35015 { echo "$as_me:$LINENO: result: $ac_cv_type_mbstate_t" >&5
35016 echo "${ECHO_T}$ac_cv_type_mbstate_t" >&6; }
35017 if test $ac_cv_type_mbstate_t = yes; then
35019 cat >>confdefs.h
<<_ACEOF
35020 #define HAVE_MBSTATE_T 1
35024 for ac_func
in wcsrtombs
35026 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35027 { echo "$as_me:$LINENO: checking for $ac_func" >&5
35028 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
35029 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
35030 echo $ECHO_N "(cached) $ECHO_C" >&6
35032 cat >conftest.
$ac_ext <<_ACEOF
35035 cat confdefs.h
>>conftest.
$ac_ext
35036 cat >>conftest.
$ac_ext <<_ACEOF
35037 /* end confdefs.h. */
35038 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35039 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35040 #define $ac_func innocuous_$ac_func
35042 /* System header to define __stub macros and hopefully few prototypes,
35043 which can conflict with char $ac_func (); below.
35044 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35045 <limits.h> exists even on freestanding compilers. */
35048 # include <limits.h>
35050 # include <assert.h>
35055 /* Override any GCC internal prototype to avoid an error.
35056 Use char because int might match the return type of a GCC
35057 builtin and then its argument prototype would still apply. */
35062 /* The GNU C library defines this for functions which it implements
35063 to always fail with ENOSYS. Some functions are actually named
35064 something starting with __ and the normal name is an alias. */
35065 #if defined __stub_$ac_func || defined __stub___$ac_func
35072 return $ac_func ();
35077 rm -f conftest.
$ac_objext conftest
$ac_exeext
35078 if { (ac_try
="$ac_link"
35079 case "(($ac_try" in
35080 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
35081 *) ac_try_echo=$ac_try;;
35083 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35084 (eval "$ac_link") 2>conftest.er1
35086 grep -v '^ *+' conftest.er1 >conftest.err
35088 cat conftest.err >&5
35089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35090 (exit $ac_status); } && {
35091 test -z "$ac_c_werror_flag" ||
35092 test ! -s conftest.err
35093 } && test -s conftest$ac_exeext &&
35094 $as_test_x conftest$ac_exeext; then
35095 eval "$as_ac_var=yes"
35097 echo "$as_me: failed program was:" >&5
35098 sed 's/^/| /' conftest.$ac_ext >&5
35100 eval "$as_ac_var=no"
35103 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35104 conftest$ac_exeext conftest.$ac_ext
35106 ac_res=`eval echo '${'$as_ac_var'}'`
35107 { echo "$as_me:$LINENO: result: $ac_res" >&5
35108 echo "${ECHO_T}$ac_res" >&6; }
35109 if test `eval echo '${'$as_ac_var'}'` = yes; then
35110 cat >>confdefs.h <<_ACEOF
35111 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35120 { echo "$as_me:$LINENO: WARNING: Wide character support is unavailable" >&5
35121 echo "$as_me: WARNING: Wide character support is unavailable" >&2;}
35127 for ac_func in snprintf vsnprintf vsscanf
35129 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35130 { echo "$as_me:$LINENO: checking for $ac_func" >&5
35131 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
35132 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
35133 echo $ECHO_N "(cached) $ECHO_C" >&6
35135 cat >conftest.$ac_ext <<_ACEOF
35138 cat confdefs.h >>conftest.$ac_ext
35139 cat >>conftest.$ac_ext <<_ACEOF
35140 /* end confdefs.h. */
35141 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35142 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35143 #define $ac_func innocuous_$ac_func
35145 /* System header to define __stub macros and hopefully few prototypes,
35146 which can conflict with char $ac_func (); below.
35147 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35148 <limits.h> exists even on freestanding compilers. */
35151 # include <limits.h>
35153 # include <assert.h>
35158 /* Override any GCC internal prototype to avoid an error.
35159 Use char because int might match the return type of a GCC
35160 builtin and then its argument prototype would still apply. */
35165 /* The GNU C library defines this for functions which it implements
35166 to always fail with ENOSYS. Some functions are actually named
35167 something starting with __ and the normal name is an alias. */
35168 #if defined __stub_$ac_func || defined __stub___$ac_func
35175 return $ac_func ();
35180 rm -f conftest.$ac_objext conftest$ac_exeext
35181 if { (ac_try="$ac_link"
35182 case "(($ac_try" in
35183 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
35184 *) ac_try_echo
=$ac_try;;
35186 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35187 (eval "$ac_link") 2>conftest.er1
35189 grep -v '^ *+' conftest.er1
>conftest.err
35191 cat conftest.err
>&5
35192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35193 (exit $ac_status); } && {
35194 test -z "$ac_c_werror_flag" ||
35195 test ! -s conftest.err
35196 } && test -s conftest
$ac_exeext &&
35197 $as_test_x conftest
$ac_exeext; then
35198 eval "$as_ac_var=yes"
35200 echo "$as_me: failed program was:" >&5
35201 sed 's/^/| /' conftest.
$ac_ext >&5
35203 eval "$as_ac_var=no"
35206 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
35207 conftest
$ac_exeext conftest.
$ac_ext
35209 ac_res
=`eval echo '${'$as_ac_var'}'`
35210 { echo "$as_me:$LINENO: result: $ac_res" >&5
35211 echo "${ECHO_T}$ac_res" >&6; }
35212 if test `eval echo '${'$as_ac_var'}'` = yes; then
35213 cat >>confdefs.h
<<_ACEOF
35214 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35222 ac_cpp
='$CXXCPP $CPPFLAGS'
35223 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35224 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35225 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
35227 if test "$ac_cv_func_vsnprintf" = "yes"; then
35228 { echo "$as_me:$LINENO: checking for vsnprintf declaration" >&5
35229 echo $ECHO_N "checking for vsnprintf declaration... $ECHO_C" >&6; }
35230 if test "${wx_cv_func_vsnprintf_decl+set}" = set; then
35231 echo $ECHO_N "(cached) $ECHO_C" >&6
35234 cat >conftest.
$ac_ext <<_ACEOF
35237 cat confdefs.h
>>conftest.
$ac_ext
35238 cat >>conftest.
$ac_ext <<_ACEOF
35239 /* end confdefs.h. */
35242 #include <stdarg.h>
35244 #if __MSL__ >= 0x6000
35246 using namespace std;
35256 vsnprintf(buf, 10u, "%s", ap);
35262 rm -f conftest.
$ac_objext
35263 if { (ac_try
="$ac_compile"
35264 case "(($ac_try" in
35265 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
35266 *) ac_try_echo=$ac_try;;
35268 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35269 (eval "$ac_compile") 2>conftest.er1
35271 grep -v '^ *+' conftest.er1 >conftest.err
35273 cat conftest.err >&5
35274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35275 (exit $ac_status); } && {
35276 test -z "$ac_cxx_werror_flag" ||
35277 test ! -s conftest.err
35278 } && test -s conftest.$ac_objext; then
35279 wx_cv_func_vsnprintf_decl=yes
35281 echo "$as_me: failed program was:" >&5
35282 sed 's/^/| /' conftest.$ac_ext >&5
35284 wx_cv_func_vsnprintf_decl=no
35288 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35292 { echo "$as_me:$LINENO: result: $wx_cv_func_vsnprintf_decl" >&5
35293 echo "${ECHO_T}$wx_cv_func_vsnprintf_decl" >&6; }
35295 if test "$wx_cv_func_vsnprintf_decl" = "yes"; then
35296 cat >>confdefs.h <<\_ACEOF
35297 #define HAVE_VSNPRINTF_DECL 1
35301 { echo "$as_me:$LINENO: checking if vsnprintf declaration is broken" >&5
35302 echo $ECHO_N "checking if vsnprintf declaration is broken... $ECHO_C" >&6; }
35303 if test "${wx_cv_func_broken_vsnprintf_decl+set}" = set; then
35304 echo $ECHO_N "(cached) $ECHO_C" >&6
35307 cat >conftest.$ac_ext <<_ACEOF
35310 cat confdefs.h >>conftest.$ac_ext
35311 cat >>conftest.$ac_ext <<_ACEOF
35312 /* end confdefs.h. */
35315 #include <stdarg.h>
35317 #if __MSL__ >= 0x6000
35319 using namespace std;
35329 const char *fmt = "%s";
35330 vsnprintf(buf, 10u, fmt, ap);
35336 rm -f conftest.$ac_objext
35337 if { (ac_try="$ac_compile"
35338 case "(($ac_try" in
35339 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
35340 *) ac_try_echo
=$ac_try;;
35342 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35343 (eval "$ac_compile") 2>conftest.er1
35345 grep -v '^ *+' conftest.er1
>conftest.err
35347 cat conftest.err
>&5
35348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35349 (exit $ac_status); } && {
35350 test -z "$ac_cxx_werror_flag" ||
35351 test ! -s conftest.err
35352 } && test -s conftest.
$ac_objext; then
35353 wx_cv_func_broken_vsnprintf_decl
=no
35355 echo "$as_me: failed program was:" >&5
35356 sed 's/^/| /' conftest.
$ac_ext >&5
35358 wx_cv_func_broken_vsnprintf_decl
=yes
35362 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
35366 { echo "$as_me:$LINENO: result: $wx_cv_func_broken_vsnprintf_decl" >&5
35367 echo "${ECHO_T}$wx_cv_func_broken_vsnprintf_decl" >&6; }
35369 if test "$wx_cv_func_broken_vsnprintf_decl" = "yes"; then
35370 cat >>confdefs.h
<<\_ACEOF
35371 #define HAVE_BROKEN_VSNPRINTF_DECL 1
35378 if test "$ac_cv_func_snprintf" = "yes"; then
35379 { echo "$as_me:$LINENO: checking for snprintf declaration" >&5
35380 echo $ECHO_N "checking for snprintf declaration... $ECHO_C" >&6; }
35381 if test "${wx_cv_func_snprintf_decl+set}" = set; then
35382 echo $ECHO_N "(cached) $ECHO_C" >&6
35385 cat >conftest.
$ac_ext <<_ACEOF
35388 cat confdefs.h
>>conftest.
$ac_ext
35389 cat >>conftest.
$ac_ext <<_ACEOF
35390 /* end confdefs.h. */
35393 #include <stdarg.h>
35395 #if __MSL__ >= 0x6000
35397 using namespace std;
35406 snprintf(buf, 10u, "%s", "wx");
35412 rm -f conftest.
$ac_objext
35413 if { (ac_try
="$ac_compile"
35414 case "(($ac_try" in
35415 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
35416 *) ac_try_echo=$ac_try;;
35418 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35419 (eval "$ac_compile") 2>conftest.er1
35421 grep -v '^ *+' conftest.er1 >conftest.err
35423 cat conftest.err >&5
35424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35425 (exit $ac_status); } && {
35426 test -z "$ac_cxx_werror_flag" ||
35427 test ! -s conftest.err
35428 } && test -s conftest.$ac_objext; then
35429 wx_cv_func_snprintf_decl=yes
35431 echo "$as_me: failed program was:" >&5
35432 sed 's/^/| /' conftest.$ac_ext >&5
35434 wx_cv_func_snprintf_decl=no
35438 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35442 { echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_decl" >&5
35443 echo "${ECHO_T}$wx_cv_func_snprintf_decl" >&6; }
35445 if test "$wx_cv_func_snprintf_decl" = "yes"; then
35446 cat >>confdefs.h <<\_ACEOF
35447 #define HAVE_SNPRINTF_DECL 1
35452 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
35454 { echo "$as_me:$LINENO: checking if snprintf supports positional arguments" >&5
35455 echo $ECHO_N "checking if snprintf supports positional arguments... $ECHO_C" >&6; }
35456 if test "${wx_cv_func_snprintf_pos_params+set}" = set; then
35457 echo $ECHO_N "(cached) $ECHO_C" >&6
35460 if test "$cross_compiling" = yes; then
35462 { echo "$as_me:$LINENO: WARNING: Assuming Unix98 printf() is not available,
35463 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&5
35464 echo "$as_me: WARNING: Assuming Unix98 printf() is not available,
35465 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&2;}
35466 wx_cv_func_snprintf_pos_params=no
35470 cat >conftest.$ac_ext <<_ACEOF
35473 cat confdefs.h >>conftest.$ac_ext
35474 cat >>conftest.$ac_ext <<_ACEOF
35475 /* end confdefs.h. */
35482 snprintf (buffer, 128, "%2$d %3$d %1$d", 1, 2, 3);
35483 if (strcmp ("2 3 1", buffer) == 0)
35489 rm -f conftest$ac_exeext
35490 if { (ac_try="$ac_link"
35491 case "(($ac_try" in
35492 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
35493 *) ac_try_echo
=$ac_try;;
35495 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35496 (eval "$ac_link") 2>&5
35498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35499 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
35500 { (case "(($ac_try" in
35501 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
35502 *) ac_try_echo=$ac_try;;
35504 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35505 (eval "$ac_try") 2>&5
35507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35508 (exit $ac_status); }; }; then
35509 wx_cv_func_snprintf_pos_params=no
35511 echo "$as_me: program exited with status $ac_status" >&5
35512 echo "$as_me: failed program was:" >&5
35513 sed 's/^/| /' conftest.$ac_ext >&5
35515 ( exit $ac_status )
35516 wx_cv_func_snprintf_pos_params=yes
35518 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
35525 { echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_pos_params" >&5
35526 echo "${ECHO_T}$wx_cv_func_snprintf_pos_params" >&6; }
35528 if test "$wx_cv_func_snprintf_pos_params" = "yes"; then
35529 cat >>confdefs.h <<\_ACEOF
35530 #define HAVE_UNIX98_PRINTF 1
35537 if test "$ac_cv_func_vsscanf" = "yes"; then
35538 { echo "$as_me:$LINENO: checking for vsscanf declaration" >&5
35539 echo $ECHO_N "checking for vsscanf declaration... $ECHO_C" >&6; }
35540 if test "${wx_cv_func_vsscanf_decl+set}" = set; then
35541 echo $ECHO_N "(cached) $ECHO_C" >&6
35544 cat >conftest.$ac_ext <<_ACEOF
35547 cat confdefs.h >>conftest.$ac_ext
35548 cat >>conftest.$ac_ext <<_ACEOF
35549 /* end confdefs.h. */
35552 #include <stdarg.h>
35554 #if __MSL__ >= 0x6000
35556 using namespace std;
35566 vsscanf(buf, "%s", args);
35572 rm -f conftest.$ac_objext
35573 if { (ac_try="$ac_compile"
35574 case "(($ac_try" in
35575 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
35576 *) ac_try_echo
=$ac_try;;
35578 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35579 (eval "$ac_compile") 2>conftest.er1
35581 grep -v '^ *+' conftest.er1
>conftest.err
35583 cat conftest.err
>&5
35584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35585 (exit $ac_status); } && {
35586 test -z "$ac_cxx_werror_flag" ||
35587 test ! -s conftest.err
35588 } && test -s conftest.
$ac_objext; then
35589 wx_cv_func_vsscanf_decl
=yes
35591 echo "$as_me: failed program was:" >&5
35592 sed 's/^/| /' conftest.
$ac_ext >&5
35594 wx_cv_func_vsscanf_decl
=no
35598 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
35602 { echo "$as_me:$LINENO: result: $wx_cv_func_vsscanf_decl" >&5
35603 echo "${ECHO_T}$wx_cv_func_vsscanf_decl" >&6; }
35605 if test "$wx_cv_func_vsscanf_decl" = "yes"; then
35606 cat >>confdefs.h
<<\_ACEOF
35607 #define HAVE_VSSCANF_DECL 1
35613 ac_cpp
='$CPP $CPPFLAGS'
35614 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35615 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35616 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
35619 if test "$wxUSE_UNICODE" = yes; then
35621 wchar_headers
="#include <stdio.h>
35622 #include <wchar.h>"
35626 for ac_header
in widec.h
35628 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
35629 { echo "$as_me:$LINENO: checking for $ac_header" >&5
35630 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
35631 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
35632 echo $ECHO_N "(cached) $ECHO_C" >&6
35634 cat >conftest.
$ac_ext <<_ACEOF
35637 cat confdefs.h
>>conftest.
$ac_ext
35638 cat >>conftest.
$ac_ext <<_ACEOF
35639 /* end confdefs.h. */
35640 $ac_includes_default
35642 #include <$ac_header>
35644 rm -f conftest.
$ac_objext
35645 if { (ac_try
="$ac_compile"
35646 case "(($ac_try" in
35647 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
35648 *) ac_try_echo=$ac_try;;
35650 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35651 (eval "$ac_compile") 2>conftest.er1
35653 grep -v '^ *+' conftest.er1 >conftest.err
35655 cat conftest.err >&5
35656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35657 (exit $ac_status); } && {
35658 test -z "$ac_c_werror_flag" ||
35659 test ! -s conftest.err
35660 } && test -s conftest.$ac_objext; then
35661 eval "$as_ac_Header=yes"
35663 echo "$as_me: failed program was:" >&5
35664 sed 's/^/| /' conftest.$ac_ext >&5
35666 eval "$as_ac_Header=no"
35669 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35671 ac_res=`eval echo '${'$as_ac_Header'}'`
35672 { echo "$as_me:$LINENO: result: $ac_res" >&5
35673 echo "${ECHO_T}$ac_res" >&6; }
35674 if test `eval echo '${'$as_ac_Header'}'` = yes; then
35675 cat >>confdefs.h <<_ACEOF
35676 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
35683 if test "$ac_cv_header_widec_h" = "yes"; then
35684 wchar_headers="$wchar_headers
35685 #include <widec.h>"
35690 for wx_func in putws fputws wprintf vswprintf vswscanf
35692 { echo "$as_me:$LINENO: checking for $wx_func" >&5
35693 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
35694 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
35695 echo $ECHO_N "(cached) $ECHO_C" >&6
35698 cat >conftest.$ac_ext <<_ACEOF
35702 cat confdefs.h >>conftest.$ac_ext
35703 cat >>conftest.$ac_ext <<_ACEOF
35704 /* end confdefs.h. */
35707 $ac_includes_default
35723 rm -f conftest.$ac_objext conftest$ac_exeext
35724 if { (ac_try="$ac_link"
35725 case "(($ac_try" in
35726 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
35727 *) ac_try_echo
=$ac_try;;
35729 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35730 (eval "$ac_link") 2>conftest.er1
35732 grep -v '^ *+' conftest.er1
>conftest.err
35734 cat conftest.err
>&5
35735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35736 (exit $ac_status); } && {
35737 test -z "$ac_c_werror_flag" ||
35738 test ! -s conftest.err
35739 } && test -s conftest
$ac_exeext &&
35740 $as_test_x conftest
$ac_exeext; then
35741 eval wx_cv_func_
$wx_func=yes
35743 echo "$as_me: failed program was:" >&5
35744 sed 's/^/| /' conftest.
$ac_ext >&5
35746 eval wx_cv_func_
$wx_func=no
35749 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
35750 conftest
$ac_exeext conftest.
$ac_ext
35753 ac_res
=`eval echo '${'wx_cv_func_$wx_func'}'`
35754 { echo "$as_me:$LINENO: result: $ac_res" >&5
35755 echo "${ECHO_T}$ac_res" >&6; }
35757 if eval test \
$wx_cv_func_$wx_func = yes
35759 cat >>confdefs.h
<<_ACEOF
35760 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
35771 { echo "$as_me:$LINENO: checking for _vsnwprintf" >&5
35772 echo $ECHO_N "checking for _vsnwprintf... $ECHO_C" >&6; }
35773 cat >conftest.
$ac_ext <<_ACEOF
35776 cat confdefs.h
>>conftest.
$ac_ext
35777 cat >>conftest.
$ac_ext <<_ACEOF
35778 /* end confdefs.h. */
35788 rm -f conftest.
$ac_objext
35789 if { (ac_try
="$ac_compile"
35790 case "(($ac_try" in
35791 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
35792 *) ac_try_echo=$ac_try;;
35794 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35795 (eval "$ac_compile") 2>conftest.er1
35797 grep -v '^ *+' conftest.er1 >conftest.err
35799 cat conftest.err >&5
35800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35801 (exit $ac_status); } && {
35802 test -z "$ac_c_werror_flag" ||
35803 test ! -s conftest.err
35804 } && test -s conftest.$ac_objext; then
35805 { echo "$as_me:$LINENO: result: yes" >&5
35806 echo "${ECHO_T}yes" >&6; }
35807 cat >>confdefs.h <<\_ACEOF
35808 #define HAVE__VSNWPRINTF 1
35812 echo "$as_me: failed program was:" >&5
35813 sed 's/^/| /' conftest.$ac_ext >&5
35815 { echo "$as_me:$LINENO: result: no" >&5
35816 echo "${ECHO_T}no" >&6; }
35819 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext;
35822 if test "$wxUSE_FILE" = "yes"; then
35824 for wx_func in fsync
35826 { echo "$as_me:$LINENO: checking for $wx_func" >&5
35827 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
35828 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
35829 echo $ECHO_N "(cached) $ECHO_C" >&6
35832 cat >conftest.$ac_ext <<_ACEOF
35836 cat confdefs.h >>conftest.$ac_ext
35837 cat >>conftest.$ac_ext <<_ACEOF
35838 /* end confdefs.h. */
35841 $ac_includes_default
35857 rm -f conftest.$ac_objext conftest$ac_exeext
35858 if { (ac_try="$ac_link"
35859 case "(($ac_try" in
35860 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
35861 *) ac_try_echo
=$ac_try;;
35863 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35864 (eval "$ac_link") 2>conftest.er1
35866 grep -v '^ *+' conftest.er1
>conftest.err
35868 cat conftest.err
>&5
35869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35870 (exit $ac_status); } && {
35871 test -z "$ac_c_werror_flag" ||
35872 test ! -s conftest.err
35873 } && test -s conftest
$ac_exeext &&
35874 $as_test_x conftest
$ac_exeext; then
35875 eval wx_cv_func_
$wx_func=yes
35877 echo "$as_me: failed program was:" >&5
35878 sed 's/^/| /' conftest.
$ac_ext >&5
35880 eval wx_cv_func_
$wx_func=no
35883 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
35884 conftest
$ac_exeext conftest.
$ac_ext
35887 ac_res
=`eval echo '${'wx_cv_func_$wx_func'}'`
35888 { echo "$as_me:$LINENO: result: $ac_res" >&5
35889 echo "${ECHO_T}$ac_res" >&6; }
35891 if eval test \
$wx_cv_func_$wx_func = yes
35893 cat >>confdefs.h
<<_ACEOF
35894 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
35907 ac_cpp
='$CXXCPP $CPPFLAGS'
35908 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35909 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35910 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
35913 for wx_func
in round
35915 { echo "$as_me:$LINENO: checking for $wx_func" >&5
35916 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
35917 if { as_var
=wx_cv_func_
$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
35918 echo $ECHO_N "(cached) $ECHO_C" >&6
35921 cat >conftest.
$ac_ext <<_ACEOF
35925 cat confdefs.h
>>conftest.
$ac_ext
35926 cat >>conftest.
$ac_ext <<_ACEOF
35927 /* end confdefs.h. */
35930 $ac_includes_default
35946 rm -f conftest.
$ac_objext conftest
$ac_exeext
35947 if { (ac_try
="$ac_link"
35948 case "(($ac_try" in
35949 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
35950 *) ac_try_echo=$ac_try;;
35952 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35953 (eval "$ac_link") 2>conftest.er1
35955 grep -v '^ *+' conftest.er1 >conftest.err
35957 cat conftest.err >&5
35958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35959 (exit $ac_status); } && {
35960 test -z "$ac_cxx_werror_flag" ||
35961 test ! -s conftest.err
35962 } && test -s conftest$ac_exeext &&
35963 $as_test_x conftest$ac_exeext; then
35964 eval wx_cv_func_$wx_func=yes
35966 echo "$as_me: failed program was:" >&5
35967 sed 's/^/| /' conftest.$ac_ext >&5
35969 eval wx_cv_func_$wx_func=no
35972 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35973 conftest$ac_exeext conftest.$ac_ext
35976 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
35977 { echo "$as_me:$LINENO: result: $ac_res" >&5
35978 echo "${ECHO_T}$ac_res" >&6; }
35980 if eval test \$wx_cv_func_$wx_func = yes
35982 cat >>confdefs.h <<_ACEOF
35983 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
35994 ac_cpp='$CPP $CPPFLAGS'
35995 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35996 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35997 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36000 if test "$TOOLKIT" != "MSW"; then
36002 if test "$wxUSE_LIBICONV" != "no" ; then
36006 # Check whether --with-libiconv-prefix was given.
36007 if test "${with_libiconv_prefix+set}" = set; then
36008 withval=$with_libiconv_prefix;
36009 for dir in `echo "$withval" | tr : ' '`; do
36010 if test -d $dir/include; then CPPFLAGS="$CPPFLAGS -I$dir/include"; fi
36011 if test -d $dir/lib; then LDFLAGS="$LDFLAGS -L$dir/lib"; fi
36017 { echo "$as_me:$LINENO: checking for iconv" >&5
36018 echo $ECHO_N "checking for iconv... $ECHO_C" >&6; }
36019 if test "${am_cv_func_iconv+set}" = set; then
36020 echo $ECHO_N "(cached) $ECHO_C" >&6
36023 am_cv_func_iconv="no, consider installing GNU libiconv"
36025 cat >conftest.$ac_ext <<_ACEOF
36028 cat confdefs.h >>conftest.$ac_ext
36029 cat >>conftest.$ac_ext <<_ACEOF
36030 /* end confdefs.h. */
36031 #include <stdlib.h>
36036 iconv_t cd = iconv_open("","");
36037 iconv(cd,NULL,NULL,NULL,NULL);
36043 rm -f conftest.$ac_objext conftest$ac_exeext
36044 if { (ac_try="$ac_link"
36045 case "(($ac_try" in
36046 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
36047 *) ac_try_echo
=$ac_try;;
36049 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36050 (eval "$ac_link") 2>conftest.er1
36052 grep -v '^ *+' conftest.er1
>conftest.err
36054 cat conftest.err
>&5
36055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36056 (exit $ac_status); } && {
36057 test -z "$ac_c_werror_flag" ||
36058 test ! -s conftest.err
36059 } && test -s conftest
$ac_exeext &&
36060 $as_test_x conftest
$ac_exeext; then
36061 am_cv_func_iconv
=yes
36063 echo "$as_me: failed program was:" >&5
36064 sed 's/^/| /' conftest.
$ac_ext >&5
36069 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
36070 conftest
$ac_exeext conftest.
$ac_ext
36071 if test "$am_cv_func_iconv" != yes; then
36072 am_save_LIBS
="$LIBS"
36073 LIBS
="$LIBS -liconv"
36074 cat >conftest.
$ac_ext <<_ACEOF
36077 cat confdefs.h
>>conftest.
$ac_ext
36078 cat >>conftest.
$ac_ext <<_ACEOF
36079 /* end confdefs.h. */
36080 #include <stdlib.h>
36085 iconv_t cd = iconv_open("","");
36086 iconv(cd,NULL,NULL,NULL,NULL);
36092 rm -f conftest.
$ac_objext conftest
$ac_exeext
36093 if { (ac_try
="$ac_link"
36094 case "(($ac_try" in
36095 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
36096 *) ac_try_echo=$ac_try;;
36098 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36099 (eval "$ac_link") 2>conftest.er1
36101 grep -v '^ *+' conftest.er1 >conftest.err
36103 cat conftest.err >&5
36104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36105 (exit $ac_status); } && {
36106 test -z "$ac_c_werror_flag" ||
36107 test ! -s conftest.err
36108 } && test -s conftest$ac_exeext &&
36109 $as_test_x conftest$ac_exeext; then
36110 am_cv_lib_iconv=yes
36111 am_cv_func_iconv=yes
36113 echo "$as_me: failed program was:" >&5
36114 sed 's/^/| /' conftest.$ac_ext >&5
36119 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36120 conftest$ac_exeext conftest.$ac_ext
36121 LIBS="$am_save_LIBS"
36125 { echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
36126 echo "${ECHO_T}$am_cv_func_iconv" >&6; }
36127 if test "$am_cv_func_iconv" = yes; then
36129 cat >>confdefs.h <<\_ACEOF
36130 #define HAVE_ICONV 1
36133 { echo "$as_me:$LINENO: checking if iconv needs const" >&5
36134 echo $ECHO_N "checking if iconv needs const... $ECHO_C" >&6; }
36135 if test "${wx_cv_func_iconv_const+set}" = set; then
36136 echo $ECHO_N "(cached) $ECHO_C" >&6
36138 cat >conftest.$ac_ext <<_ACEOF
36141 cat confdefs.h >>conftest.$ac_ext
36142 cat >>conftest.$ac_ext <<_ACEOF
36143 /* end confdefs.h. */
36145 #include <stdlib.h>
36151 #if defined(__STDC__) || defined(__cplusplus)
36152 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
36165 rm -f conftest.$ac_objext
36166 if { (ac_try="$ac_compile"
36167 case "(($ac_try" in
36168 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
36169 *) ac_try_echo
=$ac_try;;
36171 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36172 (eval "$ac_compile") 2>conftest.er1
36174 grep -v '^ *+' conftest.er1
>conftest.err
36176 cat conftest.err
>&5
36177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36178 (exit $ac_status); } && {
36179 test -z "$ac_c_werror_flag" ||
36180 test ! -s conftest.err
36181 } && test -s conftest.
$ac_objext; then
36182 wx_cv_func_iconv_const
="no"
36184 echo "$as_me: failed program was:" >&5
36185 sed 's/^/| /' conftest.
$ac_ext >&5
36187 wx_cv_func_iconv_const
="yes"
36191 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
36194 { echo "$as_me:$LINENO: result: $wx_cv_func_iconv_const" >&5
36195 echo "${ECHO_T}$wx_cv_func_iconv_const" >&6; }
36198 if test "x$wx_cv_func_iconv_const" = "xyes"; then
36199 iconv_const
="const"
36203 cat >>confdefs.h
<<_ACEOF
36204 #define ICONV_CONST $iconv_const
36209 if test "$am_cv_lib_iconv" = yes; then
36214 LIBS
="$LIBICONV $LIBS"
36217 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
36219 for ac_func
in sigaction
36221 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36222 { echo "$as_me:$LINENO: checking for $ac_func" >&5
36223 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
36224 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
36225 echo $ECHO_N "(cached) $ECHO_C" >&6
36227 cat >conftest.
$ac_ext <<_ACEOF
36230 cat confdefs.h
>>conftest.
$ac_ext
36231 cat >>conftest.
$ac_ext <<_ACEOF
36232 /* end confdefs.h. */
36233 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36234 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36235 #define $ac_func innocuous_$ac_func
36237 /* System header to define __stub macros and hopefully few prototypes,
36238 which can conflict with char $ac_func (); below.
36239 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36240 <limits.h> exists even on freestanding compilers. */
36243 # include <limits.h>
36245 # include <assert.h>
36250 /* Override any GCC internal prototype to avoid an error.
36251 Use char because int might match the return type of a GCC
36252 builtin and then its argument prototype would still apply. */
36257 /* The GNU C library defines this for functions which it implements
36258 to always fail with ENOSYS. Some functions are actually named
36259 something starting with __ and the normal name is an alias. */
36260 #if defined __stub_$ac_func || defined __stub___$ac_func
36267 return $ac_func ();
36272 rm -f conftest.
$ac_objext conftest
$ac_exeext
36273 if { (ac_try
="$ac_link"
36274 case "(($ac_try" in
36275 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
36276 *) ac_try_echo=$ac_try;;
36278 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36279 (eval "$ac_link") 2>conftest.er1
36281 grep -v '^ *+' conftest.er1 >conftest.err
36283 cat conftest.err >&5
36284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36285 (exit $ac_status); } && {
36286 test -z "$ac_c_werror_flag" ||
36287 test ! -s conftest.err
36288 } && test -s conftest$ac_exeext &&
36289 $as_test_x conftest$ac_exeext; then
36290 eval "$as_ac_var=yes"
36292 echo "$as_me: failed program was:" >&5
36293 sed 's/^/| /' conftest.$ac_ext >&5
36295 eval "$as_ac_var=no"
36298 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36299 conftest$ac_exeext conftest.$ac_ext
36301 ac_res=`eval echo '${'$as_ac_var'}'`
36302 { echo "$as_me:$LINENO: result: $ac_res" >&5
36303 echo "${ECHO_T}$ac_res" >&6; }
36304 if test `eval echo '${'$as_ac_var'}'` = yes; then
36305 cat >>confdefs.h <<_ACEOF
36306 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36313 if test "$ac_cv_func_sigaction" = "no"; then
36314 { echo "$as_me:$LINENO: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&5
36315 echo "$as_me: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&2;}
36316 wxUSE_ON_FATAL_EXCEPTION=no
36319 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
36320 { echo "$as_me:$LINENO: checking for sa_handler type" >&5
36321 echo $ECHO_N "checking for sa_handler type... $ECHO_C" >&6; }
36322 if test "${wx_cv_type_sa_handler+set}" = set; then
36323 echo $ECHO_N "(cached) $ECHO_C" >&6
36327 ac_cpp='$CXXCPP $CPPFLAGS'
36328 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36329 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36330 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36332 cat >conftest.$ac_ext <<_ACEOF
36335 cat confdefs.h >>conftest.$ac_ext
36336 cat >>conftest.$ac_ext <<_ACEOF
36337 /* end confdefs.h. */
36338 #include <signal.h>
36343 extern void testSigHandler(int);
36345 struct sigaction sa;
36346 sa.sa_handler = testSigHandler;
36352 rm -f conftest.$ac_objext
36353 if { (ac_try="$ac_compile"
36354 case "(($ac_try" in
36355 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
36356 *) ac_try_echo
=$ac_try;;
36358 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36359 (eval "$ac_compile") 2>conftest.er1
36361 grep -v '^ *+' conftest.er1
>conftest.err
36363 cat conftest.err
>&5
36364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36365 (exit $ac_status); } && {
36366 test -z "$ac_cxx_werror_flag" ||
36367 test ! -s conftest.err
36368 } && test -s conftest.
$ac_objext; then
36370 wx_cv_type_sa_handler
=int
36373 echo "$as_me: failed program was:" >&5
36374 sed 's/^/| /' conftest.
$ac_ext >&5
36377 wx_cv_type_sa_handler
=void
36381 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
36383 ac_cpp
='$CPP $CPPFLAGS'
36384 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36385 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36386 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
36390 { echo "$as_me:$LINENO: result: $wx_cv_type_sa_handler" >&5
36391 echo "${ECHO_T}$wx_cv_type_sa_handler" >&6; }
36393 cat >>confdefs.h
<<_ACEOF
36394 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
36400 if test "$wxUSE_STACKWALKER" = "yes" -a "$wxUSE_UNIX" = "yes"; then
36401 { echo "$as_me:$LINENO: checking for backtrace() in <execinfo.h>" >&5
36402 echo $ECHO_N "checking for backtrace() in <execinfo.h>... $ECHO_C" >&6; }
36403 if test "${wx_cv_func_backtrace+set}" = set; then
36404 echo $ECHO_N "(cached) $ECHO_C" >&6
36408 ac_cpp
='$CXXCPP $CPPFLAGS'
36409 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36410 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36411 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
36413 cat >conftest.
$ac_ext <<_ACEOF
36416 cat confdefs.h
>>conftest.
$ac_ext
36417 cat >>conftest.
$ac_ext <<_ACEOF
36418 /* end confdefs.h. */
36419 #include <execinfo.h>
36427 backtrace(trace, 1);
36428 messages = backtrace_symbols(trace, 1);
36434 rm -f conftest.
$ac_objext
36435 if { (ac_try
="$ac_compile"
36436 case "(($ac_try" in
36437 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
36438 *) ac_try_echo=$ac_try;;
36440 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36441 (eval "$ac_compile") 2>conftest.er1
36443 grep -v '^ *+' conftest.er1 >conftest.err
36445 cat conftest.err >&5
36446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36447 (exit $ac_status); } && {
36448 test -z "$ac_cxx_werror_flag" ||
36449 test ! -s conftest.err
36450 } && test -s conftest.$ac_objext; then
36451 wx_cv_func_backtrace=yes
36453 echo "$as_me: failed program was:" >&5
36454 sed 's/^/| /' conftest.$ac_ext >&5
36456 wx_cv_func_backtrace=no
36460 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36462 ac_cpp='$CPP $CPPFLAGS'
36463 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36464 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36465 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36470 { echo "$as_me:$LINENO: result: $wx_cv_func_backtrace" >&5
36471 echo "${ECHO_T}$wx_cv_func_backtrace" >&6; }
36474 if test "$wx_cv_func_backtrace" = "no"; then
36475 { echo "$as_me:$LINENO: WARNING: backtrace() is not available, wxStackWalker will not be available" >&5
36476 echo "$as_me: WARNING: backtrace() is not available, wxStackWalker will not be available" >&2;}
36477 wxUSE_STACKWALKER=no
36479 { echo "$as_me:$LINENO: checking for __cxa_demangle() in <cxxabi.h>" >&5
36480 echo $ECHO_N "checking for __cxa_demangle() in <cxxabi.h>... $ECHO_C" >&6; }
36481 if test "${wx_cv_func_cxa_demangle+set}" = set; then
36482 echo $ECHO_N "(cached) $ECHO_C" >&6
36486 ac_cpp='$CXXCPP $CPPFLAGS'
36487 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36488 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36489 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36491 cat >conftest.$ac_ext <<_ACEOF
36494 cat confdefs.h >>conftest.$ac_ext
36495 cat >>conftest.$ac_ext <<_ACEOF
36496 /* end confdefs.h. */
36497 #include <cxxabi.h>
36503 __cxxabiv1::__cxa_demangle("foo", 0, 0, &rc);
36509 rm -f conftest.$ac_objext conftest$ac_exeext
36510 if { (ac_try="$ac_link"
36511 case "(($ac_try" in
36512 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
36513 *) ac_try_echo
=$ac_try;;
36515 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36516 (eval "$ac_link") 2>conftest.er1
36518 grep -v '^ *+' conftest.er1
>conftest.err
36520 cat conftest.err
>&5
36521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36522 (exit $ac_status); } && {
36523 test -z "$ac_cxx_werror_flag" ||
36524 test ! -s conftest.err
36525 } && test -s conftest
$ac_exeext &&
36526 $as_test_x conftest
$ac_exeext; then
36527 wx_cv_func_cxa_demangle
=yes
36529 echo "$as_me: failed program was:" >&5
36530 sed 's/^/| /' conftest.
$ac_ext >&5
36532 wx_cv_func_cxa_demangle
=no
36536 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
36537 conftest
$ac_exeext conftest.
$ac_ext
36539 ac_cpp
='$CPP $CPPFLAGS'
36540 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36541 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36542 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
36547 { echo "$as_me:$LINENO: result: $wx_cv_func_cxa_demangle" >&5
36548 echo "${ECHO_T}$wx_cv_func_cxa_demangle" >&6; }
36550 if test "$wx_cv_func_cxa_demangle" = "yes"; then
36551 cat >>confdefs.h
<<\_ACEOF
36552 #define HAVE_CXA_DEMANGLE 1
36559 if test "$wxUSE_STACKWALKER" = "yes" -a "$USE_WIN32" != 1 -a "$USE_UNIX" != 1; then
36560 { echo "$as_me:$LINENO: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&5
36561 echo "$as_me: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&2;}
36562 wxUSE_STACKWALKER
=no
36568 for ac_func
in mkstemp mktemp
36570 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36571 { echo "$as_me:$LINENO: checking for $ac_func" >&5
36572 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
36573 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
36574 echo $ECHO_N "(cached) $ECHO_C" >&6
36576 cat >conftest.
$ac_ext <<_ACEOF
36579 cat confdefs.h
>>conftest.
$ac_ext
36580 cat >>conftest.
$ac_ext <<_ACEOF
36581 /* end confdefs.h. */
36582 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36583 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36584 #define $ac_func innocuous_$ac_func
36586 /* System header to define __stub macros and hopefully few prototypes,
36587 which can conflict with char $ac_func (); below.
36588 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36589 <limits.h> exists even on freestanding compilers. */
36592 # include <limits.h>
36594 # include <assert.h>
36599 /* Override any GCC internal prototype to avoid an error.
36600 Use char because int might match the return type of a GCC
36601 builtin and then its argument prototype would still apply. */
36606 /* The GNU C library defines this for functions which it implements
36607 to always fail with ENOSYS. Some functions are actually named
36608 something starting with __ and the normal name is an alias. */
36609 #if defined __stub_$ac_func || defined __stub___$ac_func
36616 return $ac_func ();
36621 rm -f conftest.
$ac_objext conftest
$ac_exeext
36622 if { (ac_try
="$ac_link"
36623 case "(($ac_try" in
36624 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
36625 *) ac_try_echo=$ac_try;;
36627 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36628 (eval "$ac_link") 2>conftest.er1
36630 grep -v '^ *+' conftest.er1 >conftest.err
36632 cat conftest.err >&5
36633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36634 (exit $ac_status); } && {
36635 test -z "$ac_c_werror_flag" ||
36636 test ! -s conftest.err
36637 } && test -s conftest$ac_exeext &&
36638 $as_test_x conftest$ac_exeext; then
36639 eval "$as_ac_var=yes"
36641 echo "$as_me: failed program was:" >&5
36642 sed 's/^/| /' conftest.$ac_ext >&5
36644 eval "$as_ac_var=no"
36647 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36648 conftest$ac_exeext conftest.$ac_ext
36650 ac_res=`eval echo '${'$as_ac_var'}'`
36651 { echo "$as_me:$LINENO: result: $ac_res" >&5
36652 echo "${ECHO_T}$ac_res" >&6; }
36653 if test `eval echo '${'$as_ac_var'}'` = yes; then
36654 cat >>confdefs.h <<_ACEOF
36655 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36662 { echo "$as_me:$LINENO: checking for statfs" >&5
36663 echo $ECHO_N "checking for statfs... $ECHO_C" >&6; }
36664 if test "${wx_cv_func_statfs+set}" = set; then
36665 echo $ECHO_N "(cached) $ECHO_C" >&6
36667 cat >conftest.$ac_ext <<_ACEOF
36670 cat confdefs.h >>conftest.$ac_ext
36671 cat >>conftest.$ac_ext <<_ACEOF
36672 /* end confdefs.h. */
36674 #if defined(__BSD__)
36675 #include <sys/param.h>
36676 #include <sys/mount.h>
36678 #include <sys/vfs.h>
36696 rm -f conftest.$ac_objext
36697 if { (ac_try="$ac_compile"
36698 case "(($ac_try" in
36699 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
36700 *) ac_try_echo
=$ac_try;;
36702 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36703 (eval "$ac_compile") 2>conftest.er1
36705 grep -v '^ *+' conftest.er1
>conftest.err
36707 cat conftest.err
>&5
36708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36709 (exit $ac_status); } && {
36710 test -z "$ac_c_werror_flag" ||
36711 test ! -s conftest.err
36712 } && test -s conftest.
$ac_objext; then
36713 wx_cv_func_statfs
=yes
36715 echo "$as_me: failed program was:" >&5
36716 sed 's/^/| /' conftest.
$ac_ext >&5
36718 wx_cv_func_statfs
=no
36722 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
36725 { echo "$as_me:$LINENO: result: $wx_cv_func_statfs" >&5
36726 echo "${ECHO_T}$wx_cv_func_statfs" >&6; }
36728 if test "$wx_cv_func_statfs" = "yes"; then
36729 { echo "$as_me:$LINENO: checking for statfs declaration" >&5
36730 echo $ECHO_N "checking for statfs declaration... $ECHO_C" >&6; }
36731 if test "${wx_cv_func_statfs_decl+set}" = set; then
36732 echo $ECHO_N "(cached) $ECHO_C" >&6
36735 ac_cpp
='$CXXCPP $CPPFLAGS'
36736 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36737 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36738 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
36740 cat >conftest.
$ac_ext <<_ACEOF
36743 cat confdefs.h
>>conftest.
$ac_ext
36744 cat >>conftest.
$ac_ext <<_ACEOF
36745 /* end confdefs.h. */
36747 #if defined(__BSD__)
36748 #include <sys/param.h>
36749 #include <sys/mount.h>
36751 #include <sys/vfs.h>
36765 rm -f conftest.
$ac_objext
36766 if { (ac_try
="$ac_compile"
36767 case "(($ac_try" in
36768 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
36769 *) ac_try_echo=$ac_try;;
36771 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36772 (eval "$ac_compile") 2>conftest.er1
36774 grep -v '^ *+' conftest.er1 >conftest.err
36776 cat conftest.err >&5
36777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36778 (exit $ac_status); } && {
36779 test -z "$ac_cxx_werror_flag" ||
36780 test ! -s conftest.err
36781 } && test -s conftest.$ac_objext; then
36782 wx_cv_func_statfs_decl=yes
36784 echo "$as_me: failed program was:" >&5
36785 sed 's/^/| /' conftest.$ac_ext >&5
36787 wx_cv_func_statfs_decl=no
36791 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36793 ac_cpp='$CPP $CPPFLAGS'
36794 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36795 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36796 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36800 { echo "$as_me:$LINENO: result: $wx_cv_func_statfs_decl" >&5
36801 echo "${ECHO_T}$wx_cv_func_statfs_decl" >&6; }
36803 if test "$wx_cv_func_statfs_decl" = "yes"; then
36804 cat >>confdefs.h <<\_ACEOF
36805 #define HAVE_STATFS_DECL 1
36810 wx_cv_type_statvfs_t="struct statfs"
36811 cat >>confdefs.h <<\_ACEOF
36812 #define HAVE_STATFS 1
36816 { echo "$as_me:$LINENO: checking for statvfs" >&5
36817 echo $ECHO_N "checking for statvfs... $ECHO_C" >&6; }
36818 if test "${wx_cv_func_statvfs+set}" = set; then
36819 echo $ECHO_N "(cached) $ECHO_C" >&6
36821 cat >conftest.$ac_ext <<_ACEOF
36824 cat confdefs.h >>conftest.$ac_ext
36825 cat >>conftest.$ac_ext <<_ACEOF
36826 /* end confdefs.h. */
36828 #include <stddef.h>
36829 #include <sys/statvfs.h>
36835 statvfs("/", NULL);
36841 rm -f conftest.$ac_objext
36842 if { (ac_try="$ac_compile"
36843 case "(($ac_try" in
36844 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
36845 *) ac_try_echo
=$ac_try;;
36847 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36848 (eval "$ac_compile") 2>conftest.er1
36850 grep -v '^ *+' conftest.er1
>conftest.err
36852 cat conftest.err
>&5
36853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36854 (exit $ac_status); } && {
36855 test -z "$ac_c_werror_flag" ||
36856 test ! -s conftest.err
36857 } && test -s conftest.
$ac_objext; then
36858 wx_cv_func_statvfs
=yes
36860 echo "$as_me: failed program was:" >&5
36861 sed 's/^/| /' conftest.
$ac_ext >&5
36863 wx_cv_func_statvfs
=no
36867 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
36870 { echo "$as_me:$LINENO: result: $wx_cv_func_statvfs" >&5
36871 echo "${ECHO_T}$wx_cv_func_statvfs" >&6; }
36873 if test "$wx_cv_func_statvfs" = "yes"; then
36874 { echo "$as_me:$LINENO: checking for statvfs argument type" >&5
36875 echo $ECHO_N "checking for statvfs argument type... $ECHO_C" >&6; }
36876 if test "${wx_cv_type_statvfs_t+set}" = set; then
36877 echo $ECHO_N "(cached) $ECHO_C" >&6
36880 ac_cpp
='$CXXCPP $CPPFLAGS'
36881 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36882 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36883 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
36885 cat >conftest.
$ac_ext <<_ACEOF
36888 cat confdefs.h
>>conftest.
$ac_ext
36889 cat >>conftest.
$ac_ext <<_ACEOF
36890 /* end confdefs.h. */
36892 #include <sys/statvfs.h>
36909 rm -f conftest.
$ac_objext
36910 if { (ac_try
="$ac_compile"
36911 case "(($ac_try" in
36912 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
36913 *) ac_try_echo=$ac_try;;
36915 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36916 (eval "$ac_compile") 2>conftest.er1
36918 grep -v '^ *+' conftest.er1 >conftest.err
36920 cat conftest.err >&5
36921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36922 (exit $ac_status); } && {
36923 test -z "$ac_cxx_werror_flag" ||
36924 test ! -s conftest.err
36925 } && test -s conftest.$ac_objext; then
36926 wx_cv_type_statvfs_t=statvfs_t
36928 echo "$as_me: failed program was:" >&5
36929 sed 's/^/| /' conftest.$ac_ext >&5
36932 cat >conftest.$ac_ext <<_ACEOF
36935 cat confdefs.h >>conftest.$ac_ext
36936 cat >>conftest.$ac_ext <<_ACEOF
36937 /* end confdefs.h. */
36939 #include <sys/statvfs.h>
36956 rm -f conftest.$ac_objext
36957 if { (ac_try="$ac_compile"
36958 case "(($ac_try" in
36959 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
36960 *) ac_try_echo
=$ac_try;;
36962 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36963 (eval "$ac_compile") 2>conftest.er1
36965 grep -v '^ *+' conftest.er1
>conftest.err
36967 cat conftest.err
>&5
36968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36969 (exit $ac_status); } && {
36970 test -z "$ac_cxx_werror_flag" ||
36971 test ! -s conftest.err
36972 } && test -s conftest.
$ac_objext; then
36973 wx_cv_type_statvfs_t
="struct statvfs"
36975 echo "$as_me: failed program was:" >&5
36976 sed 's/^/| /' conftest.
$ac_ext >&5
36978 wx_cv_type_statvfs_t
="unknown"
36982 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
36987 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
36989 ac_cpp
='$CPP $CPPFLAGS'
36990 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36991 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36992 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
36996 { echo "$as_me:$LINENO: result: $wx_cv_type_statvfs_t" >&5
36997 echo "${ECHO_T}$wx_cv_type_statvfs_t" >&6; }
36999 if test "$wx_cv_type_statvfs_t" != "unknown"; then
37000 cat >>confdefs.h
<<\_ACEOF
37001 #define HAVE_STATVFS 1
37006 wx_cv_type_statvfs_t
="unknown"
37010 if test "$wx_cv_type_statvfs_t" != "unknown"; then
37011 cat >>confdefs.h
<<_ACEOF
37012 #define WX_STATFS_T $wx_cv_type_statvfs_t
37016 { echo "$as_me:$LINENO: WARNING: wxGetDiskSpace() function won't work without statfs()" >&5
37017 echo "$as_me: WARNING: wxGetDiskSpace() function won't work without statfs()" >&2;}
37020 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
37023 for ac_func
in fcntl flock
37025 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37026 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37027 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37028 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37029 echo $ECHO_N "(cached) $ECHO_C" >&6
37031 cat >conftest.
$ac_ext <<_ACEOF
37034 cat confdefs.h
>>conftest.
$ac_ext
37035 cat >>conftest.
$ac_ext <<_ACEOF
37036 /* end confdefs.h. */
37037 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37038 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37039 #define $ac_func innocuous_$ac_func
37041 /* System header to define __stub macros and hopefully few prototypes,
37042 which can conflict with char $ac_func (); below.
37043 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37044 <limits.h> exists even on freestanding compilers. */
37047 # include <limits.h>
37049 # include <assert.h>
37054 /* Override any GCC internal prototype to avoid an error.
37055 Use char because int might match the return type of a GCC
37056 builtin and then its argument prototype would still apply. */
37061 /* The GNU C library defines this for functions which it implements
37062 to always fail with ENOSYS. Some functions are actually named
37063 something starting with __ and the normal name is an alias. */
37064 #if defined __stub_$ac_func || defined __stub___$ac_func
37071 return $ac_func ();
37076 rm -f conftest.
$ac_objext conftest
$ac_exeext
37077 if { (ac_try
="$ac_link"
37078 case "(($ac_try" in
37079 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
37080 *) ac_try_echo=$ac_try;;
37082 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37083 (eval "$ac_link") 2>conftest.er1
37085 grep -v '^ *+' conftest.er1 >conftest.err
37087 cat conftest.err >&5
37088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37089 (exit $ac_status); } && {
37090 test -z "$ac_c_werror_flag" ||
37091 test ! -s conftest.err
37092 } && test -s conftest$ac_exeext &&
37093 $as_test_x conftest$ac_exeext; then
37094 eval "$as_ac_var=yes"
37096 echo "$as_me: failed program was:" >&5
37097 sed 's/^/| /' conftest.$ac_ext >&5
37099 eval "$as_ac_var=no"
37102 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37103 conftest$ac_exeext conftest.$ac_ext
37105 ac_res=`eval echo '${'$as_ac_var'}'`
37106 { echo "$as_me:$LINENO: result: $ac_res" >&5
37107 echo "${ECHO_T}$ac_res" >&6; }
37108 if test `eval echo '${'$as_ac_var'}'` = yes; then
37109 cat >>confdefs.h <<_ACEOF
37110 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37117 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
37118 { echo "$as_me:$LINENO: WARNING: wxSingleInstanceChecker not available" >&5
37119 echo "$as_me: WARNING: wxSingleInstanceChecker not available" >&2;}
37120 wxUSE_SNGLINST_CHECKER=no
37126 for ac_func in setenv putenv
37128 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37129 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37130 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37131 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37132 echo $ECHO_N "(cached) $ECHO_C" >&6
37134 cat >conftest.$ac_ext <<_ACEOF
37137 cat confdefs.h >>conftest.$ac_ext
37138 cat >>conftest.$ac_ext <<_ACEOF
37139 /* end confdefs.h. */
37140 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37141 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37142 #define $ac_func innocuous_$ac_func
37144 /* System header to define __stub macros and hopefully few prototypes,
37145 which can conflict with char $ac_func (); below.
37146 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37147 <limits.h> exists even on freestanding compilers. */
37150 # include <limits.h>
37152 # include <assert.h>
37157 /* Override any GCC internal prototype to avoid an error.
37158 Use char because int might match the return type of a GCC
37159 builtin and then its argument prototype would still apply. */
37164 /* The GNU C library defines this for functions which it implements
37165 to always fail with ENOSYS. Some functions are actually named
37166 something starting with __ and the normal name is an alias. */
37167 #if defined __stub_$ac_func || defined __stub___$ac_func
37174 return $ac_func ();
37179 rm -f conftest.$ac_objext conftest$ac_exeext
37180 if { (ac_try="$ac_link"
37181 case "(($ac_try" in
37182 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
37183 *) ac_try_echo
=$ac_try;;
37185 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37186 (eval "$ac_link") 2>conftest.er1
37188 grep -v '^ *+' conftest.er1
>conftest.err
37190 cat conftest.err
>&5
37191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37192 (exit $ac_status); } && {
37193 test -z "$ac_c_werror_flag" ||
37194 test ! -s conftest.err
37195 } && test -s conftest
$ac_exeext &&
37196 $as_test_x conftest
$ac_exeext; then
37197 eval "$as_ac_var=yes"
37199 echo "$as_me: failed program was:" >&5
37200 sed 's/^/| /' conftest.
$ac_ext >&5
37202 eval "$as_ac_var=no"
37205 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
37206 conftest
$ac_exeext conftest.
$ac_ext
37208 ac_res
=`eval echo '${'$as_ac_var'}'`
37209 { echo "$as_me:$LINENO: result: $ac_res" >&5
37210 echo "${ECHO_T}$ac_res" >&6; }
37211 if test `eval echo '${'$as_ac_var'}'` = yes; then
37212 cat >>confdefs.h
<<_ACEOF
37213 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37219 if test "$ac_cv_func_setenv" = "yes"; then
37221 for ac_func
in unsetenv
37223 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37224 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37225 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37226 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37227 echo $ECHO_N "(cached) $ECHO_C" >&6
37229 cat >conftest.
$ac_ext <<_ACEOF
37232 cat confdefs.h
>>conftest.
$ac_ext
37233 cat >>conftest.
$ac_ext <<_ACEOF
37234 /* end confdefs.h. */
37235 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37236 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37237 #define $ac_func innocuous_$ac_func
37239 /* System header to define __stub macros and hopefully few prototypes,
37240 which can conflict with char $ac_func (); below.
37241 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37242 <limits.h> exists even on freestanding compilers. */
37245 # include <limits.h>
37247 # include <assert.h>
37252 /* Override any GCC internal prototype to avoid an error.
37253 Use char because int might match the return type of a GCC
37254 builtin and then its argument prototype would still apply. */
37259 /* The GNU C library defines this for functions which it implements
37260 to always fail with ENOSYS. Some functions are actually named
37261 something starting with __ and the normal name is an alias. */
37262 #if defined __stub_$ac_func || defined __stub___$ac_func
37269 return $ac_func ();
37274 rm -f conftest.
$ac_objext conftest
$ac_exeext
37275 if { (ac_try
="$ac_link"
37276 case "(($ac_try" in
37277 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
37278 *) ac_try_echo=$ac_try;;
37280 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37281 (eval "$ac_link") 2>conftest.er1
37283 grep -v '^ *+' conftest.er1 >conftest.err
37285 cat conftest.err >&5
37286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37287 (exit $ac_status); } && {
37288 test -z "$ac_c_werror_flag" ||
37289 test ! -s conftest.err
37290 } && test -s conftest$ac_exeext &&
37291 $as_test_x conftest$ac_exeext; then
37292 eval "$as_ac_var=yes"
37294 echo "$as_me: failed program was:" >&5
37295 sed 's/^/| /' conftest.$ac_ext >&5
37297 eval "$as_ac_var=no"
37300 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37301 conftest$ac_exeext conftest.$ac_ext
37303 ac_res=`eval echo '${'$as_ac_var'}'`
37304 { echo "$as_me:$LINENO: result: $ac_res" >&5
37305 echo "${ECHO_T}$ac_res" >&6; }
37306 if test `eval echo '${'$as_ac_var'}'` = yes; then
37307 cat >>confdefs.h <<_ACEOF
37308 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37316 HAVE_SOME_SLEEP_FUNC=0
37317 if test "$USE_BEOS" = 1; then
37318 cat >>confdefs.h <<\_ACEOF
37319 #define HAVE_SLEEP 1
37322 HAVE_SOME_SLEEP_FUNC=1
37325 if test "$USE_DARWIN" = 1; then
37326 cat >>confdefs.h <<\_ACEOF
37327 #define HAVE_USLEEP 1
37330 HAVE_SOME_SLEEP_FUNC=1
37333 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
37336 for ac_func in nanosleep
37338 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37339 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37340 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37341 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37342 echo $ECHO_N "(cached) $ECHO_C" >&6
37344 cat >conftest.$ac_ext <<_ACEOF
37347 cat confdefs.h >>conftest.$ac_ext
37348 cat >>conftest.$ac_ext <<_ACEOF
37349 /* end confdefs.h. */
37350 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37351 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37352 #define $ac_func innocuous_$ac_func
37354 /* System header to define __stub macros and hopefully few prototypes,
37355 which can conflict with char $ac_func (); below.
37356 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37357 <limits.h> exists even on freestanding compilers. */
37360 # include <limits.h>
37362 # include <assert.h>
37367 /* Override any GCC internal prototype to avoid an error.
37368 Use char because int might match the return type of a GCC
37369 builtin and then its argument prototype would still apply. */
37374 /* The GNU C library defines this for functions which it implements
37375 to always fail with ENOSYS. Some functions are actually named
37376 something starting with __ and the normal name is an alias. */
37377 #if defined __stub_$ac_func || defined __stub___$ac_func
37384 return $ac_func ();
37389 rm -f conftest.$ac_objext conftest$ac_exeext
37390 if { (ac_try="$ac_link"
37391 case "(($ac_try" in
37392 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
37393 *) ac_try_echo
=$ac_try;;
37395 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37396 (eval "$ac_link") 2>conftest.er1
37398 grep -v '^ *+' conftest.er1
>conftest.err
37400 cat conftest.err
>&5
37401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37402 (exit $ac_status); } && {
37403 test -z "$ac_c_werror_flag" ||
37404 test ! -s conftest.err
37405 } && test -s conftest
$ac_exeext &&
37406 $as_test_x conftest
$ac_exeext; then
37407 eval "$as_ac_var=yes"
37409 echo "$as_me: failed program was:" >&5
37410 sed 's/^/| /' conftest.
$ac_ext >&5
37412 eval "$as_ac_var=no"
37415 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
37416 conftest
$ac_exeext conftest.
$ac_ext
37418 ac_res
=`eval echo '${'$as_ac_var'}'`
37419 { echo "$as_me:$LINENO: result: $ac_res" >&5
37420 echo "${ECHO_T}$ac_res" >&6; }
37421 if test `eval echo '${'$as_ac_var'}'` = yes; then
37422 cat >>confdefs.h
<<_ACEOF
37423 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37425 cat >>confdefs.h
<<\_ACEOF
37426 #define HAVE_NANOSLEEP 1
37431 { echo "$as_me:$LINENO: checking for nanosleep in -lposix4" >&5
37432 echo $ECHO_N "checking for nanosleep in -lposix4... $ECHO_C" >&6; }
37433 if test "${ac_cv_lib_posix4_nanosleep+set}" = set; then
37434 echo $ECHO_N "(cached) $ECHO_C" >&6
37436 ac_check_lib_save_LIBS
=$LIBS
37437 LIBS
="-lposix4 $LIBS"
37438 cat >conftest.
$ac_ext <<_ACEOF
37441 cat confdefs.h
>>conftest.
$ac_ext
37442 cat >>conftest.
$ac_ext <<_ACEOF
37443 /* end confdefs.h. */
37445 /* Override any GCC internal prototype to avoid an error.
37446 Use char because int might match the return type of a GCC
37447 builtin and then its argument prototype would still apply. */
37455 return nanosleep ();
37460 rm -f conftest.
$ac_objext conftest
$ac_exeext
37461 if { (ac_try
="$ac_link"
37462 case "(($ac_try" in
37463 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
37464 *) ac_try_echo=$ac_try;;
37466 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37467 (eval "$ac_link") 2>conftest.er1
37469 grep -v '^ *+' conftest.er1 >conftest.err
37471 cat conftest.err >&5
37472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37473 (exit $ac_status); } && {
37474 test -z "$ac_c_werror_flag" ||
37475 test ! -s conftest.err
37476 } && test -s conftest$ac_exeext &&
37477 $as_test_x conftest$ac_exeext; then
37478 ac_cv_lib_posix4_nanosleep=yes
37480 echo "$as_me: failed program was:" >&5
37481 sed 's/^/| /' conftest.$ac_ext >&5
37483 ac_cv_lib_posix4_nanosleep=no
37486 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37487 conftest$ac_exeext conftest.$ac_ext
37488 LIBS=$ac_check_lib_save_LIBS
37490 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_nanosleep" >&5
37491 echo "${ECHO_T}$ac_cv_lib_posix4_nanosleep" >&6; }
37492 if test $ac_cv_lib_posix4_nanosleep = yes; then
37494 cat >>confdefs.h <<\_ACEOF
37495 #define HAVE_NANOSLEEP 1
37498 POSIX4_LINK=" -lposix4"
37503 for wx_func in usleep
37505 { echo "$as_me:$LINENO: checking for $wx_func" >&5
37506 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
37507 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
37508 echo $ECHO_N "(cached) $ECHO_C" >&6
37511 cat >conftest.$ac_ext <<_ACEOF
37515 cat confdefs.h >>conftest.$ac_ext
37516 cat >>conftest.$ac_ext <<_ACEOF
37517 /* end confdefs.h. */
37520 $ac_includes_default
37536 rm -f conftest.$ac_objext conftest$ac_exeext
37537 if { (ac_try="$ac_link"
37538 case "(($ac_try" in
37539 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
37540 *) ac_try_echo
=$ac_try;;
37542 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37543 (eval "$ac_link") 2>conftest.er1
37545 grep -v '^ *+' conftest.er1
>conftest.err
37547 cat conftest.err
>&5
37548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37549 (exit $ac_status); } && {
37550 test -z "$ac_c_werror_flag" ||
37551 test ! -s conftest.err
37552 } && test -s conftest
$ac_exeext &&
37553 $as_test_x conftest
$ac_exeext; then
37554 eval wx_cv_func_
$wx_func=yes
37556 echo "$as_me: failed program was:" >&5
37557 sed 's/^/| /' conftest.
$ac_ext >&5
37559 eval wx_cv_func_
$wx_func=no
37562 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
37563 conftest
$ac_exeext conftest.
$ac_ext
37566 ac_res
=`eval echo '${'wx_cv_func_$wx_func'}'`
37567 { echo "$as_me:$LINENO: result: $ac_res" >&5
37568 echo "${ECHO_T}$ac_res" >&6; }
37570 if eval test \
$wx_cv_func_$wx_func = yes
37572 cat >>confdefs.h
<<_ACEOF
37573 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
37579 { echo "$as_me:$LINENO: WARNING: wxSleep() function will not work" >&5
37580 echo "$as_me: WARNING: wxSleep() function will not work" >&2;}
37597 for wx_func
in uname
37599 { echo "$as_me:$LINENO: checking for $wx_func" >&5
37600 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
37601 if { as_var
=wx_cv_func_
$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
37602 echo $ECHO_N "(cached) $ECHO_C" >&6
37605 cat >conftest.
$ac_ext <<_ACEOF
37609 cat confdefs.h
>>conftest.
$ac_ext
37610 cat >>conftest.
$ac_ext <<_ACEOF
37611 /* end confdefs.h. */
37613 #include <sys/utsname.h>
37614 $ac_includes_default
37630 rm -f conftest.
$ac_objext conftest
$ac_exeext
37631 if { (ac_try
="$ac_link"
37632 case "(($ac_try" in
37633 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
37634 *) ac_try_echo=$ac_try;;
37636 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37637 (eval "$ac_link") 2>conftest.er1
37639 grep -v '^ *+' conftest.er1 >conftest.err
37641 cat conftest.err >&5
37642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37643 (exit $ac_status); } && {
37644 test -z "$ac_c_werror_flag" ||
37645 test ! -s conftest.err
37646 } && test -s conftest$ac_exeext &&
37647 $as_test_x conftest$ac_exeext; then
37648 eval wx_cv_func_$wx_func=yes
37650 echo "$as_me: failed program was:" >&5
37651 sed 's/^/| /' conftest.$ac_ext >&5
37653 eval wx_cv_func_$wx_func=no
37656 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37657 conftest$ac_exeext conftest.$ac_ext
37660 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
37661 { echo "$as_me:$LINENO: result: $ac_res" >&5
37662 echo "${ECHO_T}$ac_res" >&6; }
37664 if eval test \$wx_cv_func_$wx_func = yes
37666 cat >>confdefs.h <<_ACEOF
37667 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
37677 if test "$wx_cv_func_uname" != yes; then
37679 for wx_func in gethostname
37681 { echo "$as_me:$LINENO: checking for $wx_func" >&5
37682 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
37683 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
37684 echo $ECHO_N "(cached) $ECHO_C" >&6
37687 cat >conftest.$ac_ext <<_ACEOF
37691 cat confdefs.h >>conftest.$ac_ext
37692 cat >>conftest.$ac_ext <<_ACEOF
37693 /* end confdefs.h. */
37696 $ac_includes_default
37712 rm -f conftest.$ac_objext conftest$ac_exeext
37713 if { (ac_try="$ac_link"
37714 case "(($ac_try" in
37715 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
37716 *) ac_try_echo
=$ac_try;;
37718 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37719 (eval "$ac_link") 2>conftest.er1
37721 grep -v '^ *+' conftest.er1
>conftest.err
37723 cat conftest.err
>&5
37724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37725 (exit $ac_status); } && {
37726 test -z "$ac_c_werror_flag" ||
37727 test ! -s conftest.err
37728 } && test -s conftest
$ac_exeext &&
37729 $as_test_x conftest
$ac_exeext; then
37730 eval wx_cv_func_
$wx_func=yes
37732 echo "$as_me: failed program was:" >&5
37733 sed 's/^/| /' conftest.
$ac_ext >&5
37735 eval wx_cv_func_
$wx_func=no
37738 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
37739 conftest
$ac_exeext conftest.
$ac_ext
37742 ac_res
=`eval echo '${'wx_cv_func_$wx_func'}'`
37743 { echo "$as_me:$LINENO: result: $ac_res" >&5
37744 echo "${ECHO_T}$ac_res" >&6; }
37746 if eval test \
$wx_cv_func_$wx_func = yes
37748 cat >>confdefs.h
<<_ACEOF
37749 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
37762 for wx_func
in strtok_r
37764 { echo "$as_me:$LINENO: checking for $wx_func" >&5
37765 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
37766 if { as_var
=wx_cv_func_
$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
37767 echo $ECHO_N "(cached) $ECHO_C" >&6
37770 cat >conftest.
$ac_ext <<_ACEOF
37774 cat confdefs.h
>>conftest.
$ac_ext
37775 cat >>conftest.
$ac_ext <<_ACEOF
37776 /* end confdefs.h. */
37779 $ac_includes_default
37795 rm -f conftest.
$ac_objext conftest
$ac_exeext
37796 if { (ac_try
="$ac_link"
37797 case "(($ac_try" in
37798 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
37799 *) ac_try_echo=$ac_try;;
37801 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37802 (eval "$ac_link") 2>conftest.er1
37804 grep -v '^ *+' conftest.er1 >conftest.err
37806 cat conftest.err >&5
37807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37808 (exit $ac_status); } && {
37809 test -z "$ac_c_werror_flag" ||
37810 test ! -s conftest.err
37811 } && test -s conftest$ac_exeext &&
37812 $as_test_x conftest$ac_exeext; then
37813 eval wx_cv_func_$wx_func=yes
37815 echo "$as_me: failed program was:" >&5
37816 sed 's/^/| /' conftest.$ac_ext >&5
37818 eval wx_cv_func_$wx_func=no
37821 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37822 conftest$ac_exeext conftest.$ac_ext
37825 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
37826 { echo "$as_me:$LINENO: result: $ac_res" >&5
37827 echo "${ECHO_T}$ac_res" >&6; }
37829 if eval test \$wx_cv_func_$wx_func = yes
37831 cat >>confdefs.h <<_ACEOF
37832 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
37845 for ac_func in inet_addr
37847 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37848 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37849 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37850 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37851 echo $ECHO_N "(cached) $ECHO_C" >&6
37853 cat >conftest.$ac_ext <<_ACEOF
37856 cat confdefs.h >>conftest.$ac_ext
37857 cat >>conftest.$ac_ext <<_ACEOF
37858 /* end confdefs.h. */
37859 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37860 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37861 #define $ac_func innocuous_$ac_func
37863 /* System header to define __stub macros and hopefully few prototypes,
37864 which can conflict with char $ac_func (); below.
37865 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37866 <limits.h> exists even on freestanding compilers. */
37869 # include <limits.h>
37871 # include <assert.h>
37876 /* Override any GCC internal prototype to avoid an error.
37877 Use char because int might match the return type of a GCC
37878 builtin and then its argument prototype would still apply. */
37883 /* The GNU C library defines this for functions which it implements
37884 to always fail with ENOSYS. Some functions are actually named
37885 something starting with __ and the normal name is an alias. */
37886 #if defined __stub_$ac_func || defined __stub___$ac_func
37893 return $ac_func ();
37898 rm -f conftest.$ac_objext conftest$ac_exeext
37899 if { (ac_try="$ac_link"
37900 case "(($ac_try" in
37901 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
37902 *) ac_try_echo
=$ac_try;;
37904 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37905 (eval "$ac_link") 2>conftest.er1
37907 grep -v '^ *+' conftest.er1
>conftest.err
37909 cat conftest.err
>&5
37910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37911 (exit $ac_status); } && {
37912 test -z "$ac_c_werror_flag" ||
37913 test ! -s conftest.err
37914 } && test -s conftest
$ac_exeext &&
37915 $as_test_x conftest
$ac_exeext; then
37916 eval "$as_ac_var=yes"
37918 echo "$as_me: failed program was:" >&5
37919 sed 's/^/| /' conftest.
$ac_ext >&5
37921 eval "$as_ac_var=no"
37924 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
37925 conftest
$ac_exeext conftest.
$ac_ext
37927 ac_res
=`eval echo '${'$as_ac_var'}'`
37928 { echo "$as_me:$LINENO: result: $ac_res" >&5
37929 echo "${ECHO_T}$ac_res" >&6; }
37930 if test `eval echo '${'$as_ac_var'}'` = yes; then
37931 cat >>confdefs.h
<<_ACEOF
37932 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37934 cat >>confdefs.h
<<\_ACEOF
37935 #define HAVE_INET_ADDR 1
37940 { echo "$as_me:$LINENO: checking for inet_addr in -lnsl" >&5
37941 echo $ECHO_N "checking for inet_addr in -lnsl... $ECHO_C" >&6; }
37942 if test "${ac_cv_lib_nsl_inet_addr+set}" = set; then
37943 echo $ECHO_N "(cached) $ECHO_C" >&6
37945 ac_check_lib_save_LIBS
=$LIBS
37947 cat >conftest.
$ac_ext <<_ACEOF
37950 cat confdefs.h
>>conftest.
$ac_ext
37951 cat >>conftest.
$ac_ext <<_ACEOF
37952 /* end confdefs.h. */
37954 /* Override any GCC internal prototype to avoid an error.
37955 Use char because int might match the return type of a GCC
37956 builtin and then its argument prototype would still apply. */
37964 return inet_addr ();
37969 rm -f conftest.
$ac_objext conftest
$ac_exeext
37970 if { (ac_try
="$ac_link"
37971 case "(($ac_try" in
37972 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
37973 *) ac_try_echo=$ac_try;;
37975 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37976 (eval "$ac_link") 2>conftest.er1
37978 grep -v '^ *+' conftest.er1 >conftest.err
37980 cat conftest.err >&5
37981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37982 (exit $ac_status); } && {
37983 test -z "$ac_c_werror_flag" ||
37984 test ! -s conftest.err
37985 } && test -s conftest$ac_exeext &&
37986 $as_test_x conftest$ac_exeext; then
37987 ac_cv_lib_nsl_inet_addr=yes
37989 echo "$as_me: failed program was:" >&5
37990 sed 's/^/| /' conftest.$ac_ext >&5
37992 ac_cv_lib_nsl_inet_addr=no
37995 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37996 conftest$ac_exeext conftest.$ac_ext
37997 LIBS=$ac_check_lib_save_LIBS
37999 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_inet_addr" >&5
38000 echo "${ECHO_T}$ac_cv_lib_nsl_inet_addr" >&6; }
38001 if test $ac_cv_lib_nsl_inet_addr = yes; then
38005 { echo "$as_me:$LINENO: checking for inet_addr in -lresolv" >&5
38006 echo $ECHO_N "checking for inet_addr in -lresolv... $ECHO_C" >&6; }
38007 if test "${ac_cv_lib_resolv_inet_addr+set}" = set; then
38008 echo $ECHO_N "(cached) $ECHO_C" >&6
38010 ac_check_lib_save_LIBS=$LIBS
38011 LIBS="-lresolv $LIBS"
38012 cat >conftest.$ac_ext <<_ACEOF
38015 cat confdefs.h >>conftest.$ac_ext
38016 cat >>conftest.$ac_ext <<_ACEOF
38017 /* end confdefs.h. */
38019 /* Override any GCC internal prototype to avoid an error.
38020 Use char because int might match the return type of a GCC
38021 builtin and then its argument prototype would still apply. */
38029 return inet_addr ();
38034 rm -f conftest.$ac_objext conftest$ac_exeext
38035 if { (ac_try="$ac_link"
38036 case "(($ac_try" in
38037 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
38038 *) ac_try_echo
=$ac_try;;
38040 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38041 (eval "$ac_link") 2>conftest.er1
38043 grep -v '^ *+' conftest.er1
>conftest.err
38045 cat conftest.err
>&5
38046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38047 (exit $ac_status); } && {
38048 test -z "$ac_c_werror_flag" ||
38049 test ! -s conftest.err
38050 } && test -s conftest
$ac_exeext &&
38051 $as_test_x conftest
$ac_exeext; then
38052 ac_cv_lib_resolv_inet_addr
=yes
38054 echo "$as_me: failed program was:" >&5
38055 sed 's/^/| /' conftest.
$ac_ext >&5
38057 ac_cv_lib_resolv_inet_addr
=no
38060 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
38061 conftest
$ac_exeext conftest.
$ac_ext
38062 LIBS
=$ac_check_lib_save_LIBS
38064 { echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_addr" >&5
38065 echo "${ECHO_T}$ac_cv_lib_resolv_inet_addr" >&6; }
38066 if test $ac_cv_lib_resolv_inet_addr = yes; then
38070 { echo "$as_me:$LINENO: checking for inet_addr in -lsocket" >&5
38071 echo $ECHO_N "checking for inet_addr in -lsocket... $ECHO_C" >&6; }
38072 if test "${ac_cv_lib_socket_inet_addr+set}" = set; then
38073 echo $ECHO_N "(cached) $ECHO_C" >&6
38075 ac_check_lib_save_LIBS
=$LIBS
38076 LIBS
="-lsocket $LIBS"
38077 cat >conftest.
$ac_ext <<_ACEOF
38080 cat confdefs.h
>>conftest.
$ac_ext
38081 cat >>conftest.
$ac_ext <<_ACEOF
38082 /* end confdefs.h. */
38084 /* Override any GCC internal prototype to avoid an error.
38085 Use char because int might match the return type of a GCC
38086 builtin and then its argument prototype would still apply. */
38094 return inet_addr ();
38099 rm -f conftest.
$ac_objext conftest
$ac_exeext
38100 if { (ac_try
="$ac_link"
38101 case "(($ac_try" in
38102 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
38103 *) ac_try_echo=$ac_try;;
38105 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38106 (eval "$ac_link") 2>conftest.er1
38108 grep -v '^ *+' conftest.er1 >conftest.err
38110 cat conftest.err >&5
38111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38112 (exit $ac_status); } && {
38113 test -z "$ac_c_werror_flag" ||
38114 test ! -s conftest.err
38115 } && test -s conftest$ac_exeext &&
38116 $as_test_x conftest$ac_exeext; then
38117 ac_cv_lib_socket_inet_addr=yes
38119 echo "$as_me: failed program was:" >&5
38120 sed 's/^/| /' conftest.$ac_ext >&5
38122 ac_cv_lib_socket_inet_addr=no
38125 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38126 conftest$ac_exeext conftest.$ac_ext
38127 LIBS=$ac_check_lib_save_LIBS
38129 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_inet_addr" >&5
38130 echo "${ECHO_T}$ac_cv_lib_socket_inet_addr" >&6; }
38131 if test $ac_cv_lib_socket_inet_addr = yes; then
38151 for ac_func in inet_aton
38153 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38154 { echo "$as_me:$LINENO: checking for $ac_func" >&5
38155 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
38156 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
38157 echo $ECHO_N "(cached) $ECHO_C" >&6
38159 cat >conftest.$ac_ext <<_ACEOF
38162 cat confdefs.h >>conftest.$ac_ext
38163 cat >>conftest.$ac_ext <<_ACEOF
38164 /* end confdefs.h. */
38165 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38166 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38167 #define $ac_func innocuous_$ac_func
38169 /* System header to define __stub macros and hopefully few prototypes,
38170 which can conflict with char $ac_func (); below.
38171 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38172 <limits.h> exists even on freestanding compilers. */
38175 # include <limits.h>
38177 # include <assert.h>
38182 /* Override any GCC internal prototype to avoid an error.
38183 Use char because int might match the return type of a GCC
38184 builtin and then its argument prototype would still apply. */
38189 /* The GNU C library defines this for functions which it implements
38190 to always fail with ENOSYS. Some functions are actually named
38191 something starting with __ and the normal name is an alias. */
38192 #if defined __stub_$ac_func || defined __stub___$ac_func
38199 return $ac_func ();
38204 rm -f conftest.$ac_objext conftest$ac_exeext
38205 if { (ac_try="$ac_link"
38206 case "(($ac_try" in
38207 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
38208 *) ac_try_echo
=$ac_try;;
38210 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38211 (eval "$ac_link") 2>conftest.er1
38213 grep -v '^ *+' conftest.er1
>conftest.err
38215 cat conftest.err
>&5
38216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38217 (exit $ac_status); } && {
38218 test -z "$ac_c_werror_flag" ||
38219 test ! -s conftest.err
38220 } && test -s conftest
$ac_exeext &&
38221 $as_test_x conftest
$ac_exeext; then
38222 eval "$as_ac_var=yes"
38224 echo "$as_me: failed program was:" >&5
38225 sed 's/^/| /' conftest.
$ac_ext >&5
38227 eval "$as_ac_var=no"
38230 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
38231 conftest
$ac_exeext conftest.
$ac_ext
38233 ac_res
=`eval echo '${'$as_ac_var'}'`
38234 { echo "$as_me:$LINENO: result: $ac_res" >&5
38235 echo "${ECHO_T}$ac_res" >&6; }
38236 if test `eval echo '${'$as_ac_var'}'` = yes; then
38237 cat >>confdefs.h
<<_ACEOF
38238 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38240 cat >>confdefs.h
<<\_ACEOF
38241 #define HAVE_INET_ATON 1
38246 as_ac_Lib
=`echo "ac_cv_lib_$INET_LINK''_inet_aton" | $as_tr_sh`
38247 { echo "$as_me:$LINENO: checking for inet_aton in -l$INET_LINK" >&5
38248 echo $ECHO_N "checking for inet_aton in -l$INET_LINK... $ECHO_C" >&6; }
38249 if { as_var
=$as_ac_Lib; eval "test \"\${$as_var+set}\" = set"; }; then
38250 echo $ECHO_N "(cached) $ECHO_C" >&6
38252 ac_check_lib_save_LIBS
=$LIBS
38253 LIBS
="-l$INET_LINK $LIBS"
38254 cat >conftest.
$ac_ext <<_ACEOF
38257 cat confdefs.h
>>conftest.
$ac_ext
38258 cat >>conftest.
$ac_ext <<_ACEOF
38259 /* end confdefs.h. */
38261 /* Override any GCC internal prototype to avoid an error.
38262 Use char because int might match the return type of a GCC
38263 builtin and then its argument prototype would still apply. */
38271 return inet_aton ();
38276 rm -f conftest.
$ac_objext conftest
$ac_exeext
38277 if { (ac_try
="$ac_link"
38278 case "(($ac_try" in
38279 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
38280 *) ac_try_echo=$ac_try;;
38282 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38283 (eval "$ac_link") 2>conftest.er1
38285 grep -v '^ *+' conftest.er1 >conftest.err
38287 cat conftest.err >&5
38288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38289 (exit $ac_status); } && {
38290 test -z "$ac_c_werror_flag" ||
38291 test ! -s conftest.err
38292 } && test -s conftest$ac_exeext &&
38293 $as_test_x conftest$ac_exeext; then
38294 eval "$as_ac_Lib=yes"
38296 echo "$as_me: failed program was:" >&5
38297 sed 's/^/| /' conftest.$ac_ext >&5
38299 eval "$as_ac_Lib=no"
38302 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38303 conftest$ac_exeext conftest.$ac_ext
38304 LIBS=$ac_check_lib_save_LIBS
38306 ac_res=`eval echo '${'$as_ac_Lib'}'`
38307 { echo "$as_me:$LINENO: result: $ac_res" >&5
38308 echo "${ECHO_T}$ac_res" >&6; }
38309 if test `eval echo '${'$as_ac_Lib'}'` = yes; then
38310 cat >>confdefs.h <<\_ACEOF
38311 #define HAVE_INET_ATON 1
38321 if test "x$INET_LINK" != "x"; then
38322 cat >>confdefs.h <<\_ACEOF
38323 #define HAVE_INET_ADDR 1
38326 INET_LINK=" -l$INET_LINK"
38330 for wx_func in fdopen
38332 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38333 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38334 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38335 echo $ECHO_N "(cached) $ECHO_C" >&6
38338 cat >conftest.$ac_ext <<_ACEOF
38342 cat confdefs.h >>conftest.$ac_ext
38343 cat >>conftest.$ac_ext <<_ACEOF
38344 /* end confdefs.h. */
38347 $ac_includes_default
38363 rm -f conftest.$ac_objext conftest$ac_exeext
38364 if { (ac_try="$ac_link"
38365 case "(($ac_try" in
38366 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
38367 *) ac_try_echo
=$ac_try;;
38369 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38370 (eval "$ac_link") 2>conftest.er1
38372 grep -v '^ *+' conftest.er1
>conftest.err
38374 cat conftest.err
>&5
38375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38376 (exit $ac_status); } && {
38377 test -z "$ac_c_werror_flag" ||
38378 test ! -s conftest.err
38379 } && test -s conftest
$ac_exeext &&
38380 $as_test_x conftest
$ac_exeext; then
38381 eval wx_cv_func_
$wx_func=yes
38383 echo "$as_me: failed program was:" >&5
38384 sed 's/^/| /' conftest.
$ac_ext >&5
38386 eval wx_cv_func_
$wx_func=no
38389 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
38390 conftest
$ac_exeext conftest.
$ac_ext
38393 ac_res
=`eval echo '${'wx_cv_func_$wx_func'}'`
38394 { echo "$as_me:$LINENO: result: $ac_res" >&5
38395 echo "${ECHO_T}$ac_res" >&6; }
38397 if eval test \
$wx_cv_func_$wx_func = yes
38399 cat >>confdefs.h
<<_ACEOF
38400 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
38411 if test "$wxUSE_TARSTREAM" = "yes"; then
38413 for wx_func
in sysconf
38415 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38416 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38417 if { as_var
=wx_cv_func_
$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38418 echo $ECHO_N "(cached) $ECHO_C" >&6
38421 cat >conftest.
$ac_ext <<_ACEOF
38425 cat confdefs.h
>>conftest.
$ac_ext
38426 cat >>conftest.
$ac_ext <<_ACEOF
38427 /* end confdefs.h. */
38430 $ac_includes_default
38446 rm -f conftest.
$ac_objext conftest
$ac_exeext
38447 if { (ac_try
="$ac_link"
38448 case "(($ac_try" in
38449 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
38450 *) ac_try_echo=$ac_try;;
38452 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38453 (eval "$ac_link") 2>conftest.er1
38455 grep -v '^ *+' conftest.er1 >conftest.err
38457 cat conftest.err >&5
38458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38459 (exit $ac_status); } && {
38460 test -z "$ac_c_werror_flag" ||
38461 test ! -s conftest.err
38462 } && test -s conftest$ac_exeext &&
38463 $as_test_x conftest$ac_exeext; then
38464 eval wx_cv_func_$wx_func=yes
38466 echo "$as_me: failed program was:" >&5
38467 sed 's/^/| /' conftest.$ac_ext >&5
38469 eval wx_cv_func_$wx_func=no
38472 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38473 conftest$ac_exeext conftest.$ac_ext
38476 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
38477 { echo "$as_me:$LINENO: result: $ac_res" >&5
38478 echo "${ECHO_T}$ac_res" >&6; }
38480 if eval test \$wx_cv_func_$wx_func = yes
38482 cat >>confdefs.h <<_ACEOF
38483 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
38495 for wx_func in getpwuid_r
38497 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38498 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38499 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38500 echo $ECHO_N "(cached) $ECHO_C" >&6
38503 cat >conftest.$ac_ext <<_ACEOF
38507 cat confdefs.h >>conftest.$ac_ext
38508 cat >>conftest.$ac_ext <<_ACEOF
38509 /* end confdefs.h. */
38515 $ac_includes_default
38525 struct passwd pw, *ppw;
38527 getpwuid_r(0, &pw, buf, sizeof(buf), &ppw)
38535 rm -f conftest.$ac_objext conftest$ac_exeext
38536 if { (ac_try="$ac_link"
38537 case "(($ac_try" in
38538 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
38539 *) ac_try_echo
=$ac_try;;
38541 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38542 (eval "$ac_link") 2>conftest.er1
38544 grep -v '^ *+' conftest.er1
>conftest.err
38546 cat conftest.err
>&5
38547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38548 (exit $ac_status); } && {
38549 test -z "$ac_c_werror_flag" ||
38550 test ! -s conftest.err
38551 } && test -s conftest
$ac_exeext &&
38552 $as_test_x conftest
$ac_exeext; then
38553 eval wx_cv_func_
$wx_func=yes
38555 echo "$as_me: failed program was:" >&5
38556 sed 's/^/| /' conftest.
$ac_ext >&5
38558 eval wx_cv_func_
$wx_func=no
38561 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
38562 conftest
$ac_exeext conftest.
$ac_ext
38565 ac_res
=`eval echo '${'wx_cv_func_$wx_func'}'`
38566 { echo "$as_me:$LINENO: result: $ac_res" >&5
38567 echo "${ECHO_T}$ac_res" >&6; }
38569 if eval test \
$wx_cv_func_$wx_func = yes
38571 cat >>confdefs.h
<<_ACEOF
38572 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
38584 for wx_func
in getgrgid_r
38586 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38587 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38588 if { as_var
=wx_cv_func_
$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38589 echo $ECHO_N "(cached) $ECHO_C" >&6
38592 cat >conftest.
$ac_ext <<_ACEOF
38596 cat confdefs.h
>>conftest.
$ac_ext
38597 cat >>conftest.
$ac_ext <<_ACEOF
38598 /* end confdefs.h. */
38604 $ac_includes_default
38614 struct group grp, *pgrp;
38616 getgrgid_r(0, &grp, buf, sizeof(buf), &pgrp)
38624 rm -f conftest.
$ac_objext conftest
$ac_exeext
38625 if { (ac_try
="$ac_link"
38626 case "(($ac_try" in
38627 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
38628 *) ac_try_echo=$ac_try;;
38630 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38631 (eval "$ac_link") 2>conftest.er1
38633 grep -v '^ *+' conftest.er1 >conftest.err
38635 cat conftest.err >&5
38636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38637 (exit $ac_status); } && {
38638 test -z "$ac_c_werror_flag" ||
38639 test ! -s conftest.err
38640 } && test -s conftest$ac_exeext &&
38641 $as_test_x conftest$ac_exeext; then
38642 eval wx_cv_func_$wx_func=yes
38644 echo "$as_me: failed program was:" >&5
38645 sed 's/^/| /' conftest.$ac_ext >&5
38647 eval wx_cv_func_$wx_func=no
38650 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38651 conftest$ac_exeext conftest.$ac_ext
38654 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
38655 { echo "$as_me:$LINENO: result: $ac_res" >&5
38656 echo "${ECHO_T}$ac_res" >&6; }
38658 if eval test \$wx_cv_func_$wx_func = yes
38660 cat >>confdefs.h <<_ACEOF
38661 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
38677 cat >confcache <<\_ACEOF
38678 # This file is a shell script that caches the results of configure
38679 # tests run on this system so they can be shared between configure
38680 # scripts and configure runs, see configure's option --config-cache.
38681 # It is not useful on other systems. If it contains results you don't
38682 # want to keep, you may remove or edit it.
38684 # config.status only pays attention to the cache file if you give it
38685 # the --recheck option to rerun configure.
38687 # `ac_cv_env_foo
' variables (set or unset) will be overridden when
38688 # loading this file, other *unset* `ac_cv_foo' will be assigned the
38689 # following values.
38693 # The following way of writing the cache mishandles newlines in values,
38694 # but we know of no workaround that is simple, portable, and efficient.
38695 # So, we kill variables containing newlines.
38696 # Ultrix sh set writes to stderr and can't be redirected directly,
38697 # and sets the high bit in the cache file unless we assign to the vars.
38699 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
38700 eval ac_val
=\$
$ac_var
38704 *_cv_
*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
38705 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
38708 _
| IFS
| as_nl
) ;; #(
38709 *) $as_unset $ac_var ;;
38715 case $as_nl`(ac_space=' '; set) 2>&1` in #(
38716 *${as_nl}ac_space
=\
*)
38717 # `set' does not quote correctly, so add quotes (double-quote
38718 # substitution turns \\\\ into \\, and sed turns \\ into \).
38721 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
38724 # `set' quotes correctly as required by POSIX, so do not add quotes.
38725 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
38734 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
38736 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
38738 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
38739 if test -w "$cache_file"; then
38740 test "x$cache_file" != "x/dev/null" &&
38741 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
38742 echo "$as_me: updating cache $cache_file" >&6;}
38743 cat confcache
>$cache_file
38745 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
38746 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
38752 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
38758 if test "$wxUSE_THREADS" = "yes" ; then
38759 if test "$USE_BEOS" = 1; then
38760 { echo "$as_me:$LINENO: WARNING: BeOS threads are not yet supported... disabled" >&5
38761 echo "$as_me: WARNING: BeOS threads are not yet supported... disabled" >&2;}
38766 if test "$wxUSE_THREADS" = "yes" ; then
38769 THREAD_OPTS
="-pthread"
38770 if test "x$SUNCXX" = xyes
; then
38771 THREAD_OPTS
="-mt lthread $THREAD_OPTS"
38775 *-*-solaris2* | *-*-sunos4* )
38776 if test "x$GCC" = "xyes"; then
38777 THREAD_OPTS
="-pthreads $THREAD_OPTS"
38781 THREAD_OPTS
="-kthread lthread $THREAD_OPTS c_r"
38783 *-*-darwin* | *-*-cygwin* )
38787 THREAD_OPTS
="pthreads"
38790 if test "x$GCC" = "xyes"; then
38791 $CXX -dumpspecs | grep 'pthread:' >/dev
/null
||
38799 if test "x$GCC" = "xyes"; then
38805 if test "x$GCC" != "xyes"; then
38806 THREAD_OPTS
="-Ethread"
38811 THREAD_OPTS
="$THREAD_OPTS pthread none"
38814 for flag
in $THREAD_OPTS; do
38817 { echo "$as_me:$LINENO: checking whether pthreads work without any flags" >&5
38818 echo $ECHO_N "checking whether pthreads work without any flags... $ECHO_C" >&6; }
38822 { echo "$as_me:$LINENO: checking whether pthreads work with $flag" >&5
38823 echo $ECHO_N "checking whether pthreads work with $flag... $ECHO_C" >&6; }
38824 THREADS_CFLAGS
="$flag"
38828 { echo "$as_me:$LINENO: checking for the pthreads library -l$flag" >&5
38829 echo $ECHO_N "checking for the pthreads library -l$flag... $ECHO_C" >&6; }
38830 THREADS_LINK
="-l$flag"
38835 save_CFLAGS
="$CFLAGS"
38836 LIBS
="$THREADS_LINK $LIBS"
38837 CFLAGS
="$THREADS_CFLAGS $CFLAGS"
38839 cat >conftest.
$ac_ext <<_ACEOF
38842 cat confdefs.h
>>conftest.
$ac_ext
38843 cat >>conftest.
$ac_ext <<_ACEOF
38844 /* end confdefs.h. */
38845 #include <pthread.h>
38849 pthread_create(0,0,0,0);
38854 rm -f conftest.
$ac_objext conftest
$ac_exeext
38855 if { (ac_try
="$ac_link"
38856 case "(($ac_try" in
38857 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
38858 *) ac_try_echo=$ac_try;;
38860 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38861 (eval "$ac_link") 2>conftest.er1
38863 grep -v '^ *+' conftest.er1 >conftest.err
38865 cat conftest.err >&5
38866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38867 (exit $ac_status); } && {
38868 test -z "$ac_c_werror_flag" ||
38869 test ! -s conftest.err
38870 } && test -s conftest$ac_exeext &&
38871 $as_test_x conftest$ac_exeext; then
38874 echo "$as_me: failed program was:" >&5
38875 sed 's/^/| /' conftest.$ac_ext >&5
38880 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38881 conftest$ac_exeext conftest.$ac_ext
38884 CFLAGS="$save_CFLAGS"
38886 { echo "$as_me:$LINENO: result: $THREADS_OK" >&5
38887 echo "${ECHO_T}$THREADS_OK" >&6; }
38888 if test "x$THREADS_OK" = "xyes"; then
38896 if test "x$THREADS_OK" != "xyes"; then
38898 { echo "$as_me:$LINENO: WARNING: No thread support on this system... disabled" >&5
38899 echo "$as_me: WARNING: No thread support on this system... disabled" >&2;}
38901 LDFLAGS="$THREADS_CFLAGS $LDFLAGS"
38902 LIBS="$THREADS_LINK $LIBS"
38904 { echo "$as_me:$LINENO: checking if more special flags are required for pthreads" >&5
38905 echo $ECHO_N "checking if more special flags are required for pthreads... $ECHO_C" >&6; }
38909 LDFLAGS="-L/usr/lib/threads $LDFLAGS"
38910 flag="-D_THREAD_SAFE"
38913 flag="-D_THREAD_SAFE"
38916 flag="-D_REENTRANT"
38917 if test "x$GCC" != "xyes"; then
38918 flag="$flag -D_RWSTD_MULTI_THREAD"
38921 *solaris* | alpha*-osf*)
38922 flag="-D_REENTRANT"
38925 { echo "$as_me:$LINENO: result: ${flag}" >&5
38926 echo "${ECHO_T}${flag}" >&6; }
38927 if test "x$flag" != xno; then
38928 THREADS_CFLAGS="$THREADS_CFLAGS $flag"
38931 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS $THREADS_CFLAGS"
38935 if test "$wxUSE_THREADS" = "yes" ; then
38937 for ac_func in thr_setconcurrency
38939 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38940 { echo "$as_me:$LINENO: checking for $ac_func" >&5
38941 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
38942 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
38943 echo $ECHO_N "(cached) $ECHO_C" >&6
38945 cat >conftest.$ac_ext <<_ACEOF
38948 cat confdefs.h >>conftest.$ac_ext
38949 cat >>conftest.$ac_ext <<_ACEOF
38950 /* end confdefs.h. */
38951 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38952 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38953 #define $ac_func innocuous_$ac_func
38955 /* System header to define __stub macros and hopefully few prototypes,
38956 which can conflict with char $ac_func (); below.
38957 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38958 <limits.h> exists even on freestanding compilers. */
38961 # include <limits.h>
38963 # include <assert.h>
38968 /* Override any GCC internal prototype to avoid an error.
38969 Use char because int might match the return type of a GCC
38970 builtin and then its argument prototype would still apply. */
38975 /* The GNU C library defines this for functions which it implements
38976 to always fail with ENOSYS. Some functions are actually named
38977 something starting with __ and the normal name is an alias. */
38978 #if defined __stub_$ac_func || defined __stub___$ac_func
38985 return $ac_func ();
38990 rm -f conftest.$ac_objext conftest$ac_exeext
38991 if { (ac_try="$ac_link"
38992 case "(($ac_try" in
38993 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
38994 *) ac_try_echo
=$ac_try;;
38996 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38997 (eval "$ac_link") 2>conftest.er1
38999 grep -v '^ *+' conftest.er1
>conftest.err
39001 cat conftest.err
>&5
39002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39003 (exit $ac_status); } && {
39004 test -z "$ac_c_werror_flag" ||
39005 test ! -s conftest.err
39006 } && test -s conftest
$ac_exeext &&
39007 $as_test_x conftest
$ac_exeext; then
39008 eval "$as_ac_var=yes"
39010 echo "$as_me: failed program was:" >&5
39011 sed 's/^/| /' conftest.
$ac_ext >&5
39013 eval "$as_ac_var=no"
39016 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
39017 conftest
$ac_exeext conftest.
$ac_ext
39019 ac_res
=`eval echo '${'$as_ac_var'}'`
39020 { echo "$as_me:$LINENO: result: $ac_res" >&5
39021 echo "${ECHO_T}$ac_res" >&6; }
39022 if test `eval echo '${'$as_ac_var'}'` = yes; then
39023 cat >>confdefs.h
<<_ACEOF
39024 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39031 { echo "$as_me:$LINENO: checking for pthread_cleanup_push/pop" >&5
39032 echo $ECHO_N "checking for pthread_cleanup_push/pop... $ECHO_C" >&6; }
39033 if test "${wx_cv_func_pthread_cleanup+set}" = set; then
39034 echo $ECHO_N "(cached) $ECHO_C" >&6
39038 ac_cpp
='$CXXCPP $CPPFLAGS'
39039 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39040 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39041 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
39043 cat >conftest.
$ac_ext <<_ACEOF
39046 cat confdefs.h
>>conftest.
$ac_ext
39047 cat >>conftest.
$ac_ext <<_ACEOF
39048 /* end confdefs.h. */
39049 #include <pthread.h>
39050 void ThreadCleanupFunc(void *p);
39057 pthread_cleanup_push(ThreadCleanupFunc, p);
39058 pthread_cleanup_pop(0);
39064 rm -f conftest.
$ac_objext
39065 if { (ac_try
="$ac_compile"
39066 case "(($ac_try" in
39067 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
39068 *) ac_try_echo=$ac_try;;
39070 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39071 (eval "$ac_compile") 2>conftest.er1
39073 grep -v '^ *+' conftest.er1 >conftest.err
39075 cat conftest.err >&5
39076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39077 (exit $ac_status); } && {
39078 test -z "$ac_cxx_werror_flag" ||
39079 test ! -s conftest.err
39080 } && test -s conftest.$ac_objext; then
39082 wx_cv_func_pthread_cleanup=yes
39085 echo "$as_me: failed program was:" >&5
39086 sed 's/^/| /' conftest.$ac_ext >&5
39089 wx_cv_func_pthread_cleanup=no
39094 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39096 ac_cpp='$CPP $CPPFLAGS'
39097 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39098 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39099 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39103 { echo "$as_me:$LINENO: result: $wx_cv_func_pthread_cleanup" >&5
39104 echo "${ECHO_T}$wx_cv_func_pthread_cleanup" >&6; }
39105 if test "x$wx_cv_func_pthread_cleanup" = "xyes"; then
39106 cat >>confdefs.h <<\_ACEOF
39107 #define wxHAVE_PTHREAD_CLEANUP 1
39113 for ac_header in sched.h
39115 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
39116 { echo "$as_me:$LINENO: checking for $ac_header" >&5
39117 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
39118 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
39119 echo $ECHO_N "(cached) $ECHO_C" >&6
39121 cat >conftest.$ac_ext <<_ACEOF
39124 cat confdefs.h >>conftest.$ac_ext
39125 cat >>conftest.$ac_ext <<_ACEOF
39126 /* end confdefs.h. */
39127 $ac_includes_default
39129 #include <$ac_header>
39131 rm -f conftest.$ac_objext
39132 if { (ac_try="$ac_compile"
39133 case "(($ac_try" in
39134 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
39135 *) ac_try_echo
=$ac_try;;
39137 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39138 (eval "$ac_compile") 2>conftest.er1
39140 grep -v '^ *+' conftest.er1
>conftest.err
39142 cat conftest.err
>&5
39143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39144 (exit $ac_status); } && {
39145 test -z "$ac_c_werror_flag" ||
39146 test ! -s conftest.err
39147 } && test -s conftest.
$ac_objext; then
39148 eval "$as_ac_Header=yes"
39150 echo "$as_me: failed program was:" >&5
39151 sed 's/^/| /' conftest.
$ac_ext >&5
39153 eval "$as_ac_Header=no"
39156 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
39158 ac_res
=`eval echo '${'$as_ac_Header'}'`
39159 { echo "$as_me:$LINENO: result: $ac_res" >&5
39160 echo "${ECHO_T}$ac_res" >&6; }
39161 if test `eval echo '${'$as_ac_Header'}'` = yes; then
39162 cat >>confdefs.h
<<_ACEOF
39163 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
39170 if test "$ac_cv_header_sched_h" = "yes"; then
39171 { echo "$as_me:$LINENO: checking for sched_yield" >&5
39172 echo $ECHO_N "checking for sched_yield... $ECHO_C" >&6; }
39173 if test "${ac_cv_func_sched_yield+set}" = set; then
39174 echo $ECHO_N "(cached) $ECHO_C" >&6
39176 cat >conftest.
$ac_ext <<_ACEOF
39179 cat confdefs.h
>>conftest.
$ac_ext
39180 cat >>conftest.
$ac_ext <<_ACEOF
39181 /* end confdefs.h. */
39182 /* Define sched_yield to an innocuous variant, in case <limits.h> declares sched_yield.
39183 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39184 #define sched_yield innocuous_sched_yield
39186 /* System header to define __stub macros and hopefully few prototypes,
39187 which can conflict with char sched_yield (); below.
39188 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39189 <limits.h> exists even on freestanding compilers. */
39192 # include <limits.h>
39194 # include <assert.h>
39199 /* Override any GCC internal prototype to avoid an error.
39200 Use char because int might match the return type of a GCC
39201 builtin and then its argument prototype would still apply. */
39205 char sched_yield ();
39206 /* The GNU C library defines this for functions which it implements
39207 to always fail with ENOSYS. Some functions are actually named
39208 something starting with __ and the normal name is an alias. */
39209 #if defined __stub_sched_yield || defined __stub___sched_yield
39216 return sched_yield ();
39221 rm -f conftest.
$ac_objext conftest
$ac_exeext
39222 if { (ac_try
="$ac_link"
39223 case "(($ac_try" in
39224 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
39225 *) ac_try_echo=$ac_try;;
39227 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39228 (eval "$ac_link") 2>conftest.er1
39230 grep -v '^ *+' conftest.er1 >conftest.err
39232 cat conftest.err >&5
39233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39234 (exit $ac_status); } && {
39235 test -z "$ac_c_werror_flag" ||
39236 test ! -s conftest.err
39237 } && test -s conftest$ac_exeext &&
39238 $as_test_x conftest$ac_exeext; then
39239 ac_cv_func_sched_yield=yes
39241 echo "$as_me: failed program was:" >&5
39242 sed 's/^/| /' conftest.$ac_ext >&5
39244 ac_cv_func_sched_yield=no
39247 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39248 conftest$ac_exeext conftest.$ac_ext
39250 { echo "$as_me:$LINENO: result: $ac_cv_func_sched_yield" >&5
39251 echo "${ECHO_T}$ac_cv_func_sched_yield" >&6; }
39252 if test $ac_cv_func_sched_yield = yes; then
39253 cat >>confdefs.h <<\_ACEOF
39254 #define HAVE_SCHED_YIELD 1
39259 { echo "$as_me:$LINENO: checking for sched_yield in -lposix4" >&5
39260 echo $ECHO_N "checking for sched_yield in -lposix4... $ECHO_C" >&6; }
39261 if test "${ac_cv_lib_posix4_sched_yield+set}" = set; then
39262 echo $ECHO_N "(cached) $ECHO_C" >&6
39264 ac_check_lib_save_LIBS=$LIBS
39265 LIBS="-lposix4 $LIBS"
39266 cat >conftest.$ac_ext <<_ACEOF
39269 cat confdefs.h >>conftest.$ac_ext
39270 cat >>conftest.$ac_ext <<_ACEOF
39271 /* end confdefs.h. */
39273 /* Override any GCC internal prototype to avoid an error.
39274 Use char because int might match the return type of a GCC
39275 builtin and then its argument prototype would still apply. */
39279 char sched_yield ();
39283 return sched_yield ();
39288 rm -f conftest.$ac_objext conftest$ac_exeext
39289 if { (ac_try="$ac_link"
39290 case "(($ac_try" in
39291 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
39292 *) ac_try_echo
=$ac_try;;
39294 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39295 (eval "$ac_link") 2>conftest.er1
39297 grep -v '^ *+' conftest.er1
>conftest.err
39299 cat conftest.err
>&5
39300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39301 (exit $ac_status); } && {
39302 test -z "$ac_c_werror_flag" ||
39303 test ! -s conftest.err
39304 } && test -s conftest
$ac_exeext &&
39305 $as_test_x conftest
$ac_exeext; then
39306 ac_cv_lib_posix4_sched_yield
=yes
39308 echo "$as_me: failed program was:" >&5
39309 sed 's/^/| /' conftest.
$ac_ext >&5
39311 ac_cv_lib_posix4_sched_yield
=no
39314 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
39315 conftest
$ac_exeext conftest.
$ac_ext
39316 LIBS
=$ac_check_lib_save_LIBS
39318 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_yield" >&5
39319 echo "${ECHO_T}$ac_cv_lib_posix4_sched_yield" >&6; }
39320 if test $ac_cv_lib_posix4_sched_yield = yes; then
39321 cat >>confdefs.h
<<\_ACEOF
39322 #define HAVE_SCHED_YIELD 1
39324 POSIX4_LINK
=" -lposix4"
39326 { echo "$as_me:$LINENO: WARNING: wxThread::Yield will not work properly" >&5
39327 echo "$as_me: WARNING: wxThread::Yield will not work properly" >&2;}
39338 { echo "$as_me:$LINENO: checking for pthread_attr_getschedpolicy" >&5
39339 echo $ECHO_N "checking for pthread_attr_getschedpolicy... $ECHO_C" >&6; }
39340 if test "${ac_cv_func_pthread_attr_getschedpolicy+set}" = set; then
39341 echo $ECHO_N "(cached) $ECHO_C" >&6
39343 cat >conftest.
$ac_ext <<_ACEOF
39346 cat confdefs.h
>>conftest.
$ac_ext
39347 cat >>conftest.
$ac_ext <<_ACEOF
39348 /* end confdefs.h. */
39349 /* Define pthread_attr_getschedpolicy to an innocuous variant, in case <limits.h> declares pthread_attr_getschedpolicy.
39350 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39351 #define pthread_attr_getschedpolicy innocuous_pthread_attr_getschedpolicy
39353 /* System header to define __stub macros and hopefully few prototypes,
39354 which can conflict with char pthread_attr_getschedpolicy (); below.
39355 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39356 <limits.h> exists even on freestanding compilers. */
39359 # include <limits.h>
39361 # include <assert.h>
39364 #undef pthread_attr_getschedpolicy
39366 /* Override any GCC internal prototype to avoid an error.
39367 Use char because int might match the return type of a GCC
39368 builtin and then its argument prototype would still apply. */
39372 char pthread_attr_getschedpolicy ();
39373 /* The GNU C library defines this for functions which it implements
39374 to always fail with ENOSYS. Some functions are actually named
39375 something starting with __ and the normal name is an alias. */
39376 #if defined __stub_pthread_attr_getschedpolicy || defined __stub___pthread_attr_getschedpolicy
39383 return pthread_attr_getschedpolicy ();
39388 rm -f conftest.
$ac_objext conftest
$ac_exeext
39389 if { (ac_try
="$ac_link"
39390 case "(($ac_try" in
39391 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
39392 *) ac_try_echo=$ac_try;;
39394 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39395 (eval "$ac_link") 2>conftest.er1
39397 grep -v '^ *+' conftest.er1 >conftest.err
39399 cat conftest.err >&5
39400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39401 (exit $ac_status); } && {
39402 test -z "$ac_c_werror_flag" ||
39403 test ! -s conftest.err
39404 } && test -s conftest$ac_exeext &&
39405 $as_test_x conftest$ac_exeext; then
39406 ac_cv_func_pthread_attr_getschedpolicy=yes
39408 echo "$as_me: failed program was:" >&5
39409 sed 's/^/| /' conftest.$ac_ext >&5
39411 ac_cv_func_pthread_attr_getschedpolicy=no
39414 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39415 conftest$ac_exeext conftest.$ac_ext
39417 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_getschedpolicy" >&5
39418 echo "${ECHO_T}$ac_cv_func_pthread_attr_getschedpolicy" >&6; }
39419 if test $ac_cv_func_pthread_attr_getschedpolicy = yes; then
39420 { echo "$as_me:$LINENO: checking for pthread_attr_setschedparam" >&5
39421 echo $ECHO_N "checking for pthread_attr_setschedparam... $ECHO_C" >&6; }
39422 if test "${ac_cv_func_pthread_attr_setschedparam+set}" = set; then
39423 echo $ECHO_N "(cached) $ECHO_C" >&6
39425 cat >conftest.$ac_ext <<_ACEOF
39428 cat confdefs.h >>conftest.$ac_ext
39429 cat >>conftest.$ac_ext <<_ACEOF
39430 /* end confdefs.h. */
39431 /* Define pthread_attr_setschedparam to an innocuous variant, in case <limits.h> declares pthread_attr_setschedparam.
39432 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39433 #define pthread_attr_setschedparam innocuous_pthread_attr_setschedparam
39435 /* System header to define __stub macros and hopefully few prototypes,
39436 which can conflict with char pthread_attr_setschedparam (); below.
39437 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39438 <limits.h> exists even on freestanding compilers. */
39441 # include <limits.h>
39443 # include <assert.h>
39446 #undef pthread_attr_setschedparam
39448 /* Override any GCC internal prototype to avoid an error.
39449 Use char because int might match the return type of a GCC
39450 builtin and then its argument prototype would still apply. */
39454 char pthread_attr_setschedparam ();
39455 /* The GNU C library defines this for functions which it implements
39456 to always fail with ENOSYS. Some functions are actually named
39457 something starting with __ and the normal name is an alias. */
39458 #if defined __stub_pthread_attr_setschedparam || defined __stub___pthread_attr_setschedparam
39465 return pthread_attr_setschedparam ();
39470 rm -f conftest.$ac_objext conftest$ac_exeext
39471 if { (ac_try="$ac_link"
39472 case "(($ac_try" in
39473 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
39474 *) ac_try_echo
=$ac_try;;
39476 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39477 (eval "$ac_link") 2>conftest.er1
39479 grep -v '^ *+' conftest.er1
>conftest.err
39481 cat conftest.err
>&5
39482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39483 (exit $ac_status); } && {
39484 test -z "$ac_c_werror_flag" ||
39485 test ! -s conftest.err
39486 } && test -s conftest
$ac_exeext &&
39487 $as_test_x conftest
$ac_exeext; then
39488 ac_cv_func_pthread_attr_setschedparam
=yes
39490 echo "$as_me: failed program was:" >&5
39491 sed 's/^/| /' conftest.
$ac_ext >&5
39493 ac_cv_func_pthread_attr_setschedparam
=no
39496 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
39497 conftest
$ac_exeext conftest.
$ac_ext
39499 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setschedparam" >&5
39500 echo "${ECHO_T}$ac_cv_func_pthread_attr_setschedparam" >&6; }
39501 if test $ac_cv_func_pthread_attr_setschedparam = yes; then
39502 { echo "$as_me:$LINENO: checking for sched_get_priority_max" >&5
39503 echo $ECHO_N "checking for sched_get_priority_max... $ECHO_C" >&6; }
39504 if test "${ac_cv_func_sched_get_priority_max+set}" = set; then
39505 echo $ECHO_N "(cached) $ECHO_C" >&6
39507 cat >conftest.
$ac_ext <<_ACEOF
39510 cat confdefs.h
>>conftest.
$ac_ext
39511 cat >>conftest.
$ac_ext <<_ACEOF
39512 /* end confdefs.h. */
39513 /* Define sched_get_priority_max to an innocuous variant, in case <limits.h> declares sched_get_priority_max.
39514 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39515 #define sched_get_priority_max innocuous_sched_get_priority_max
39517 /* System header to define __stub macros and hopefully few prototypes,
39518 which can conflict with char sched_get_priority_max (); below.
39519 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39520 <limits.h> exists even on freestanding compilers. */
39523 # include <limits.h>
39525 # include <assert.h>
39528 #undef sched_get_priority_max
39530 /* Override any GCC internal prototype to avoid an error.
39531 Use char because int might match the return type of a GCC
39532 builtin and then its argument prototype would still apply. */
39536 char sched_get_priority_max ();
39537 /* The GNU C library defines this for functions which it implements
39538 to always fail with ENOSYS. Some functions are actually named
39539 something starting with __ and the normal name is an alias. */
39540 #if defined __stub_sched_get_priority_max || defined __stub___sched_get_priority_max
39547 return sched_get_priority_max ();
39552 rm -f conftest.
$ac_objext conftest
$ac_exeext
39553 if { (ac_try
="$ac_link"
39554 case "(($ac_try" in
39555 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
39556 *) ac_try_echo=$ac_try;;
39558 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39559 (eval "$ac_link") 2>conftest.er1
39561 grep -v '^ *+' conftest.er1 >conftest.err
39563 cat conftest.err >&5
39564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39565 (exit $ac_status); } && {
39566 test -z "$ac_c_werror_flag" ||
39567 test ! -s conftest.err
39568 } && test -s conftest$ac_exeext &&
39569 $as_test_x conftest$ac_exeext; then
39570 ac_cv_func_sched_get_priority_max=yes
39572 echo "$as_me: failed program was:" >&5
39573 sed 's/^/| /' conftest.$ac_ext >&5
39575 ac_cv_func_sched_get_priority_max=no
39578 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39579 conftest$ac_exeext conftest.$ac_ext
39581 { echo "$as_me:$LINENO: result: $ac_cv_func_sched_get_priority_max" >&5
39582 echo "${ECHO_T}$ac_cv_func_sched_get_priority_max" >&6; }
39583 if test $ac_cv_func_sched_get_priority_max = yes; then
39586 { echo "$as_me:$LINENO: checking for sched_get_priority_max in -lposix4" >&5
39587 echo $ECHO_N "checking for sched_get_priority_max in -lposix4... $ECHO_C" >&6; }
39588 if test "${ac_cv_lib_posix4_sched_get_priority_max+set}" = set; then
39589 echo $ECHO_N "(cached) $ECHO_C" >&6
39591 ac_check_lib_save_LIBS=$LIBS
39592 LIBS="-lposix4 $LIBS"
39593 cat >conftest.$ac_ext <<_ACEOF
39596 cat confdefs.h >>conftest.$ac_ext
39597 cat >>conftest.$ac_ext <<_ACEOF
39598 /* end confdefs.h. */
39600 /* Override any GCC internal prototype to avoid an error.
39601 Use char because int might match the return type of a GCC
39602 builtin and then its argument prototype would still apply. */
39606 char sched_get_priority_max ();
39610 return sched_get_priority_max ();
39615 rm -f conftest.$ac_objext conftest$ac_exeext
39616 if { (ac_try="$ac_link"
39617 case "(($ac_try" in
39618 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
39619 *) ac_try_echo
=$ac_try;;
39621 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39622 (eval "$ac_link") 2>conftest.er1
39624 grep -v '^ *+' conftest.er1
>conftest.err
39626 cat conftest.err
>&5
39627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39628 (exit $ac_status); } && {
39629 test -z "$ac_c_werror_flag" ||
39630 test ! -s conftest.err
39631 } && test -s conftest
$ac_exeext &&
39632 $as_test_x conftest
$ac_exeext; then
39633 ac_cv_lib_posix4_sched_get_priority_max
=yes
39635 echo "$as_me: failed program was:" >&5
39636 sed 's/^/| /' conftest.
$ac_ext >&5
39638 ac_cv_lib_posix4_sched_get_priority_max
=no
39641 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
39642 conftest
$ac_exeext conftest.
$ac_ext
39643 LIBS
=$ac_check_lib_save_LIBS
39645 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_get_priority_max" >&5
39646 echo "${ECHO_T}$ac_cv_lib_posix4_sched_get_priority_max" >&6; }
39647 if test $ac_cv_lib_posix4_sched_get_priority_max = yes; then
39650 POSIX4_LINK
=" -lposix4"
39664 if test "$HAVE_PRIOR_FUNCS" = 1; then
39665 cat >>confdefs.h
<<\_ACEOF
39666 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
39670 { echo "$as_me:$LINENO: WARNING: Setting thread priority will not work" >&5
39671 echo "$as_me: WARNING: Setting thread priority will not work" >&2;}
39674 { echo "$as_me:$LINENO: checking for pthread_cancel" >&5
39675 echo $ECHO_N "checking for pthread_cancel... $ECHO_C" >&6; }
39676 if test "${ac_cv_func_pthread_cancel+set}" = set; then
39677 echo $ECHO_N "(cached) $ECHO_C" >&6
39679 cat >conftest.
$ac_ext <<_ACEOF
39682 cat confdefs.h
>>conftest.
$ac_ext
39683 cat >>conftest.
$ac_ext <<_ACEOF
39684 /* end confdefs.h. */
39685 /* Define pthread_cancel to an innocuous variant, in case <limits.h> declares pthread_cancel.
39686 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39687 #define pthread_cancel innocuous_pthread_cancel
39689 /* System header to define __stub macros and hopefully few prototypes,
39690 which can conflict with char pthread_cancel (); below.
39691 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39692 <limits.h> exists even on freestanding compilers. */
39695 # include <limits.h>
39697 # include <assert.h>
39700 #undef pthread_cancel
39702 /* Override any GCC internal prototype to avoid an error.
39703 Use char because int might match the return type of a GCC
39704 builtin and then its argument prototype would still apply. */
39708 char pthread_cancel ();
39709 /* The GNU C library defines this for functions which it implements
39710 to always fail with ENOSYS. Some functions are actually named
39711 something starting with __ and the normal name is an alias. */
39712 #if defined __stub_pthread_cancel || defined __stub___pthread_cancel
39719 return pthread_cancel ();
39724 rm -f conftest.
$ac_objext conftest
$ac_exeext
39725 if { (ac_try
="$ac_link"
39726 case "(($ac_try" in
39727 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
39728 *) ac_try_echo=$ac_try;;
39730 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39731 (eval "$ac_link") 2>conftest.er1
39733 grep -v '^ *+' conftest.er1 >conftest.err
39735 cat conftest.err >&5
39736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39737 (exit $ac_status); } && {
39738 test -z "$ac_c_werror_flag" ||
39739 test ! -s conftest.err
39740 } && test -s conftest$ac_exeext &&
39741 $as_test_x conftest$ac_exeext; then
39742 ac_cv_func_pthread_cancel=yes
39744 echo "$as_me: failed program was:" >&5
39745 sed 's/^/| /' conftest.$ac_ext >&5
39747 ac_cv_func_pthread_cancel=no
39750 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39751 conftest$ac_exeext conftest.$ac_ext
39753 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_cancel" >&5
39754 echo "${ECHO_T}$ac_cv_func_pthread_cancel" >&6; }
39755 if test $ac_cv_func_pthread_cancel = yes; then
39756 cat >>confdefs.h <<\_ACEOF
39757 #define HAVE_PTHREAD_CANCEL 1
39761 { echo "$as_me:$LINENO: WARNING: wxThread::Kill() will not work properly" >&5
39762 echo "$as_me: WARNING: wxThread::Kill() will not work properly" >&2;}
39766 { echo "$as_me:$LINENO: checking for pthread_mutex_timedlock" >&5
39767 echo $ECHO_N "checking for pthread_mutex_timedlock... $ECHO_C" >&6; }
39768 if test "${ac_cv_func_pthread_mutex_timedlock+set}" = set; then
39769 echo $ECHO_N "(cached) $ECHO_C" >&6
39771 cat >conftest.$ac_ext <<_ACEOF
39774 cat confdefs.h >>conftest.$ac_ext
39775 cat >>conftest.$ac_ext <<_ACEOF
39776 /* end confdefs.h. */
39777 /* Define pthread_mutex_timedlock to an innocuous variant, in case <limits.h> declares pthread_mutex_timedlock.
39778 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39779 #define pthread_mutex_timedlock innocuous_pthread_mutex_timedlock
39781 /* System header to define __stub macros and hopefully few prototypes,
39782 which can conflict with char pthread_mutex_timedlock (); below.
39783 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39784 <limits.h> exists even on freestanding compilers. */
39787 # include <limits.h>
39789 # include <assert.h>
39792 #undef pthread_mutex_timedlock
39794 /* Override any GCC internal prototype to avoid an error.
39795 Use char because int might match the return type of a GCC
39796 builtin and then its argument prototype would still apply. */
39800 char pthread_mutex_timedlock ();
39801 /* The GNU C library defines this for functions which it implements
39802 to always fail with ENOSYS. Some functions are actually named
39803 something starting with __ and the normal name is an alias. */
39804 #if defined __stub_pthread_mutex_timedlock || defined __stub___pthread_mutex_timedlock
39811 return pthread_mutex_timedlock ();
39816 rm -f conftest.$ac_objext conftest$ac_exeext
39817 if { (ac_try="$ac_link"
39818 case "(($ac_try" in
39819 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
39820 *) ac_try_echo
=$ac_try;;
39822 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39823 (eval "$ac_link") 2>conftest.er1
39825 grep -v '^ *+' conftest.er1
>conftest.err
39827 cat conftest.err
>&5
39828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39829 (exit $ac_status); } && {
39830 test -z "$ac_c_werror_flag" ||
39831 test ! -s conftest.err
39832 } && test -s conftest
$ac_exeext &&
39833 $as_test_x conftest
$ac_exeext; then
39834 ac_cv_func_pthread_mutex_timedlock
=yes
39836 echo "$as_me: failed program was:" >&5
39837 sed 's/^/| /' conftest.
$ac_ext >&5
39839 ac_cv_func_pthread_mutex_timedlock
=no
39842 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
39843 conftest
$ac_exeext conftest.
$ac_ext
39845 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_mutex_timedlock" >&5
39846 echo "${ECHO_T}$ac_cv_func_pthread_mutex_timedlock" >&6; }
39847 if test $ac_cv_func_pthread_mutex_timedlock = yes; then
39848 cat >>confdefs.h
<<\_ACEOF
39849 #define HAVE_PTHREAD_MUTEX_TIMEDLOCK 1
39853 { echo "$as_me:$LINENO: WARNING: wxMutex::LockTimeout() will not work" >&5
39854 echo "$as_me: WARNING: wxMutex::LockTimeout() will not work" >&2;}
39858 { echo "$as_me:$LINENO: checking for pthread_attr_setstacksize" >&5
39859 echo $ECHO_N "checking for pthread_attr_setstacksize... $ECHO_C" >&6; }
39860 if test "${ac_cv_func_pthread_attr_setstacksize+set}" = set; then
39861 echo $ECHO_N "(cached) $ECHO_C" >&6
39863 cat >conftest.
$ac_ext <<_ACEOF
39866 cat confdefs.h
>>conftest.
$ac_ext
39867 cat >>conftest.
$ac_ext <<_ACEOF
39868 /* end confdefs.h. */
39869 /* Define pthread_attr_setstacksize to an innocuous variant, in case <limits.h> declares pthread_attr_setstacksize.
39870 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39871 #define pthread_attr_setstacksize innocuous_pthread_attr_setstacksize
39873 /* System header to define __stub macros and hopefully few prototypes,
39874 which can conflict with char pthread_attr_setstacksize (); below.
39875 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39876 <limits.h> exists even on freestanding compilers. */
39879 # include <limits.h>
39881 # include <assert.h>
39884 #undef pthread_attr_setstacksize
39886 /* Override any GCC internal prototype to avoid an error.
39887 Use char because int might match the return type of a GCC
39888 builtin and then its argument prototype would still apply. */
39892 char pthread_attr_setstacksize ();
39893 /* The GNU C library defines this for functions which it implements
39894 to always fail with ENOSYS. Some functions are actually named
39895 something starting with __ and the normal name is an alias. */
39896 #if defined __stub_pthread_attr_setstacksize || defined __stub___pthread_attr_setstacksize
39903 return pthread_attr_setstacksize ();
39908 rm -f conftest.
$ac_objext conftest
$ac_exeext
39909 if { (ac_try
="$ac_link"
39910 case "(($ac_try" in
39911 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
39912 *) ac_try_echo=$ac_try;;
39914 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39915 (eval "$ac_link") 2>conftest.er1
39917 grep -v '^ *+' conftest.er1 >conftest.err
39919 cat conftest.err >&5
39920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39921 (exit $ac_status); } && {
39922 test -z "$ac_c_werror_flag" ||
39923 test ! -s conftest.err
39924 } && test -s conftest$ac_exeext &&
39925 $as_test_x conftest$ac_exeext; then
39926 ac_cv_func_pthread_attr_setstacksize=yes
39928 echo "$as_me: failed program was:" >&5
39929 sed 's/^/| /' conftest.$ac_ext >&5
39931 ac_cv_func_pthread_attr_setstacksize=no
39934 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39935 conftest$ac_exeext conftest.$ac_ext
39937 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setstacksize" >&5
39938 echo "${ECHO_T}$ac_cv_func_pthread_attr_setstacksize" >&6; }
39939 if test $ac_cv_func_pthread_attr_setstacksize = yes; then
39940 cat >>confdefs.h <<\_ACEOF
39941 #define HAVE_PTHREAD_ATTR_SETSTACKSIZE 1
39948 { echo "$as_me:$LINENO: checking for pthread_mutexattr_t" >&5
39949 echo $ECHO_N "checking for pthread_mutexattr_t... $ECHO_C" >&6; }
39950 if test "${wx_cv_type_pthread_mutexattr_t+set}" = set; then
39951 echo $ECHO_N "(cached) $ECHO_C" >&6
39954 cat >conftest.$ac_ext <<_ACEOF
39957 cat confdefs.h >>conftest.$ac_ext
39958 cat >>conftest.$ac_ext <<_ACEOF
39959 /* end confdefs.h. */
39960 #include <pthread.h>
39965 pthread_mutexattr_t attr;
39966 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
39972 rm -f conftest.$ac_objext
39973 if { (ac_try="$ac_compile"
39974 case "(($ac_try" in
39975 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
39976 *) ac_try_echo
=$ac_try;;
39978 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39979 (eval "$ac_compile") 2>conftest.er1
39981 grep -v '^ *+' conftest.er1
>conftest.err
39983 cat conftest.err
>&5
39984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39985 (exit $ac_status); } && {
39986 test -z "$ac_c_werror_flag" ||
39987 test ! -s conftest.err
39988 } && test -s conftest.
$ac_objext; then
39989 wx_cv_type_pthread_mutexattr_t
=yes
39991 echo "$as_me: failed program was:" >&5
39992 sed 's/^/| /' conftest.
$ac_ext >&5
39994 wx_cv_type_pthread_mutexattr_t
=no
39998 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
40001 { echo "$as_me:$LINENO: result: $wx_cv_type_pthread_mutexattr_t" >&5
40002 echo "${ECHO_T}$wx_cv_type_pthread_mutexattr_t" >&6; }
40004 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
40005 cat >>confdefs.h
<<\_ACEOF
40006 #define HAVE_PTHREAD_MUTEXATTR_T 1
40010 { echo "$as_me:$LINENO: checking for pthread_mutexattr_settype declaration" >&5
40011 echo $ECHO_N "checking for pthread_mutexattr_settype declaration... $ECHO_C" >&6; }
40012 if test "${wx_cv_func_pthread_mutexattr_settype_decl+set}" = set; then
40013 echo $ECHO_N "(cached) $ECHO_C" >&6
40016 cat >conftest.
$ac_ext <<_ACEOF
40019 cat confdefs.h
>>conftest.
$ac_ext
40020 cat >>conftest.
$ac_ext <<_ACEOF
40021 /* end confdefs.h. */
40022 #include <pthread.h>
40027 pthread_mutexattr_t attr;
40028 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
40034 rm -f conftest.
$ac_objext
40035 if { (ac_try
="$ac_compile"
40036 case "(($ac_try" in
40037 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
40038 *) ac_try_echo=$ac_try;;
40040 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40041 (eval "$ac_compile") 2>conftest.er1
40043 grep -v '^ *+' conftest.er1 >conftest.err
40045 cat conftest.err >&5
40046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40047 (exit $ac_status); } && {
40048 test -z "$ac_c_werror_flag" ||
40049 test ! -s conftest.err
40050 } && test -s conftest.$ac_objext; then
40051 wx_cv_func_pthread_mutexattr_settype_decl=yes
40053 echo "$as_me: failed program was:" >&5
40054 sed 's/^/| /' conftest.$ac_ext >&5
40056 wx_cv_func_pthread_mutexattr_settype_decl=no
40060 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40063 { echo "$as_me:$LINENO: result: $wx_cv_func_pthread_mutexattr_settype_decl" >&5
40064 echo "${ECHO_T}$wx_cv_func_pthread_mutexattr_settype_decl" >&6; }
40065 if test "$wx_cv_func_pthread_mutexattr_settype_decl" = "yes"; then
40066 cat >>confdefs.h <<\_ACEOF
40067 #define HAVE_PTHREAD_MUTEXATTR_SETTYPE_DECL 1
40072 { echo "$as_me:$LINENO: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
40073 echo $ECHO_N "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER... $ECHO_C" >&6; }
40074 if test "${wx_cv_type_pthread_rec_mutex_init+set}" = set; then
40075 echo $ECHO_N "(cached) $ECHO_C" >&6
40078 cat >conftest.$ac_ext <<_ACEOF
40081 cat confdefs.h >>conftest.$ac_ext
40082 cat >>conftest.$ac_ext <<_ACEOF
40083 /* end confdefs.h. */
40084 #include <pthread.h>
40089 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
40095 rm -f conftest.$ac_objext
40096 if { (ac_try="$ac_compile"
40097 case "(($ac_try" in
40098 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
40099 *) ac_try_echo
=$ac_try;;
40101 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40102 (eval "$ac_compile") 2>conftest.er1
40104 grep -v '^ *+' conftest.er1
>conftest.err
40106 cat conftest.err
>&5
40107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40108 (exit $ac_status); } && {
40109 test -z "$ac_c_werror_flag" ||
40110 test ! -s conftest.err
40111 } && test -s conftest.
$ac_objext; then
40113 wx_cv_type_pthread_rec_mutex_init
=yes
40116 echo "$as_me: failed program was:" >&5
40117 sed 's/^/| /' conftest.
$ac_ext >&5
40120 wx_cv_type_pthread_rec_mutex_init
=no
40125 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
40128 { echo "$as_me:$LINENO: result: $wx_cv_type_pthread_rec_mutex_init" >&5
40129 echo "${ECHO_T}$wx_cv_type_pthread_rec_mutex_init" >&6; }
40130 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
40131 cat >>confdefs.h
<<\_ACEOF
40132 #define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1
40136 { echo "$as_me:$LINENO: WARNING: wxMutex won't be recursive on this platform" >&5
40137 echo "$as_me: WARNING: wxMutex won't be recursive on this platform" >&2;}
40141 { echo "$as_me:$LINENO: checking for __thread keyword" >&5
40142 echo $ECHO_N "checking for __thread keyword... $ECHO_C" >&6; }
40143 if test "${wx_cv_cc___thread+set}" = set; then
40144 echo $ECHO_N "(cached) $ECHO_C" >&6
40147 cat >conftest.
$ac_ext <<_ACEOF
40150 cat confdefs.h
>>conftest.
$ac_ext
40151 cat >>conftest.
$ac_ext <<_ACEOF
40152 /* end confdefs.h. */
40153 #include <pthread.h>
40158 static __thread int n = 0;
40159 static __thread int *p = 0;
40165 rm -f conftest.
$ac_objext
40166 if { (ac_try
="$ac_compile"
40167 case "(($ac_try" in
40168 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
40169 *) ac_try_echo=$ac_try;;
40171 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40172 (eval "$ac_compile") 2>conftest.er1
40174 grep -v '^ *+' conftest.er1 >conftest.err
40176 cat conftest.err >&5
40177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40178 (exit $ac_status); } && {
40179 test -z "$ac_c_werror_flag" ||
40180 test ! -s conftest.err
40181 } && test -s conftest.$ac_objext; then
40182 wx_cv_cc___thread=yes
40184 echo "$as_me: failed program was:" >&5
40185 sed 's/^/| /' conftest.$ac_ext >&5
40187 wx_cv_cc___thread=no
40191 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40194 { echo "$as_me:$LINENO: result: $wx_cv_cc___thread" >&5
40195 echo "${ECHO_T}$wx_cv_cc___thread" >&6; }
40197 if test "$wx_cv_cc___thread" = "yes"; then
40198 cat >>confdefs.h <<\_ACEOF
40199 #define HAVE___THREAD_KEYWORD 1
40206 if test "$wxUSE_THREADS" = "yes" ; then
40208 x86_64-*-mingw32* )
40211 { echo "$as_me:$LINENO: checking if compiler supports -mthreads" >&5
40212 echo $ECHO_N "checking if compiler supports -mthreads... $ECHO_C" >&6; }
40213 if test "${wx_cv_cflags_mthread+set}" = set; then
40214 echo $ECHO_N "(cached) $ECHO_C" >&6
40217 CFLAGS_OLD="$CFLAGS"
40218 CFLAGS="-mthreads $CFLAGS"
40219 cat >conftest.$ac_ext <<_ACEOF
40222 cat confdefs.h >>conftest.$ac_ext
40223 cat >>conftest.$ac_ext <<_ACEOF
40224 /* end confdefs.h. */
40234 rm -f conftest.$ac_objext
40235 if { (ac_try="$ac_compile"
40236 case "(($ac_try" in
40237 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
40238 *) ac_try_echo
=$ac_try;;
40240 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40241 (eval "$ac_compile") 2>conftest.er1
40243 grep -v '^ *+' conftest.er1
>conftest.err
40245 cat conftest.err
>&5
40246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40247 (exit $ac_status); } && {
40248 test -z "$ac_c_werror_flag" ||
40249 test ! -s conftest.err
40250 } && test -s conftest.
$ac_objext; then
40251 wx_cv_cflags_mthread
=yes
40253 echo "$as_me: failed program was:" >&5
40254 sed 's/^/| /' conftest.
$ac_ext >&5
40256 wx_cv_cflags_mthread
=no
40260 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
40264 { echo "$as_me:$LINENO: result: $wx_cv_cflags_mthread" >&5
40265 echo "${ECHO_T}$wx_cv_cflags_mthread" >&6; }
40267 if test "$wx_cv_cflags_mthread" = "yes"; then
40268 WXCONFIG_CFLAGS
="$WXCONFIG_CFLAGS -mthreads"
40269 LDFLAGS
="$LDFLAGS -mthreads"
40271 CFLAGS
="$CFLAGS_OLD"
40275 WXCONFIG_CFLAGS
="$WXCONFIG_CFLAGS -Zmt -D__ST_MT_ERRNO__"
40276 LDFLAGS
="$LDFLAGS -Zmt"
40282 { echo "$as_me:$LINENO: checking for localtime_r" >&5
40283 echo $ECHO_N "checking for localtime_r... $ECHO_C" >&6; }
40284 if test "${ac_cv_func_localtime_r+set}" = set; then
40285 echo $ECHO_N "(cached) $ECHO_C" >&6
40287 cat >conftest.
$ac_ext <<_ACEOF
40290 cat confdefs.h
>>conftest.
$ac_ext
40291 cat >>conftest.
$ac_ext <<_ACEOF
40292 /* end confdefs.h. */
40293 /* Define localtime_r to an innocuous variant, in case <limits.h> declares localtime_r.
40294 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40295 #define localtime_r innocuous_localtime_r
40297 /* System header to define __stub macros and hopefully few prototypes,
40298 which can conflict with char localtime_r (); below.
40299 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40300 <limits.h> exists even on freestanding compilers. */
40303 # include <limits.h>
40305 # include <assert.h>
40310 /* Override any GCC internal prototype to avoid an error.
40311 Use char because int might match the return type of a GCC
40312 builtin and then its argument prototype would still apply. */
40316 char localtime_r ();
40317 /* The GNU C library defines this for functions which it implements
40318 to always fail with ENOSYS. Some functions are actually named
40319 something starting with __ and the normal name is an alias. */
40320 #if defined __stub_localtime_r || defined __stub___localtime_r
40327 return localtime_r ();
40332 rm -f conftest.
$ac_objext conftest
$ac_exeext
40333 if { (ac_try
="$ac_link"
40334 case "(($ac_try" in
40335 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
40336 *) ac_try_echo=$ac_try;;
40338 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40339 (eval "$ac_link") 2>conftest.er1
40341 grep -v '^ *+' conftest.er1 >conftest.err
40343 cat conftest.err >&5
40344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40345 (exit $ac_status); } && {
40346 test -z "$ac_c_werror_flag" ||
40347 test ! -s conftest.err
40348 } && test -s conftest$ac_exeext &&
40349 $as_test_x conftest$ac_exeext; then
40350 ac_cv_func_localtime_r=yes
40352 echo "$as_me: failed program was:" >&5
40353 sed 's/^/| /' conftest.$ac_ext >&5
40355 ac_cv_func_localtime_r=no
40358 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40359 conftest$ac_exeext conftest.$ac_ext
40361 { echo "$as_me:$LINENO: result: $ac_cv_func_localtime_r" >&5
40362 echo "${ECHO_T}$ac_cv_func_localtime_r" >&6; }
40363 if test $ac_cv_func_localtime_r = yes; then
40364 cat >>confdefs.h <<\_ACEOF
40365 #define HAVE_LOCALTIME_R 1
40370 { echo "$as_me:$LINENO: checking for gmtime_r" >&5
40371 echo $ECHO_N "checking for gmtime_r... $ECHO_C" >&6; }
40372 if test "${ac_cv_func_gmtime_r+set}" = set; then
40373 echo $ECHO_N "(cached) $ECHO_C" >&6
40375 cat >conftest.$ac_ext <<_ACEOF
40378 cat confdefs.h >>conftest.$ac_ext
40379 cat >>conftest.$ac_ext <<_ACEOF
40380 /* end confdefs.h. */
40381 /* Define gmtime_r to an innocuous variant, in case <limits.h> declares gmtime_r.
40382 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40383 #define gmtime_r innocuous_gmtime_r
40385 /* System header to define __stub macros and hopefully few prototypes,
40386 which can conflict with char gmtime_r (); below.
40387 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40388 <limits.h> exists even on freestanding compilers. */
40391 # include <limits.h>
40393 # include <assert.h>
40398 /* Override any GCC internal prototype to avoid an error.
40399 Use char because int might match the return type of a GCC
40400 builtin and then its argument prototype would still apply. */
40405 /* The GNU C library defines this for functions which it implements
40406 to always fail with ENOSYS. Some functions are actually named
40407 something starting with __ and the normal name is an alias. */
40408 #if defined __stub_gmtime_r || defined __stub___gmtime_r
40415 return gmtime_r ();
40420 rm -f conftest.$ac_objext conftest$ac_exeext
40421 if { (ac_try="$ac_link"
40422 case "(($ac_try" in
40423 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
40424 *) ac_try_echo
=$ac_try;;
40426 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40427 (eval "$ac_link") 2>conftest.er1
40429 grep -v '^ *+' conftest.er1
>conftest.err
40431 cat conftest.err
>&5
40432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40433 (exit $ac_status); } && {
40434 test -z "$ac_c_werror_flag" ||
40435 test ! -s conftest.err
40436 } && test -s conftest
$ac_exeext &&
40437 $as_test_x conftest
$ac_exeext; then
40438 ac_cv_func_gmtime_r
=yes
40440 echo "$as_me: failed program was:" >&5
40441 sed 's/^/| /' conftest.
$ac_ext >&5
40443 ac_cv_func_gmtime_r
=no
40446 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
40447 conftest
$ac_exeext conftest.
$ac_ext
40449 { echo "$as_me:$LINENO: result: $ac_cv_func_gmtime_r" >&5
40450 echo "${ECHO_T}$ac_cv_func_gmtime_r" >&6; }
40451 if test $ac_cv_func_gmtime_r = yes; then
40452 cat >>confdefs.h
<<\_ACEOF
40453 #define HAVE_GMTIME_R 1
40462 ac_cpp
='$CPP $CPPFLAGS'
40463 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40464 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40465 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
40467 { echo "$as_me:$LINENO: checking how many arguments gethostbyname_r() takes" >&5
40468 echo $ECHO_N "checking how many arguments gethostbyname_r() takes... $ECHO_C" >&6; }
40470 if test "${ac_cv_func_which_gethostbyname_r+set}" = set; then
40471 echo $ECHO_N "(cached) $ECHO_C" >&6
40475 ################################################################
40477 ac_cv_func_which_gethostbyname_r
=unknown
40480 # ONE ARGUMENT (sanity check)
40483 # This should fail, as there is no variant of gethostbyname_r() that takes
40484 # a single argument. If it actually compiles, then we can assume that
40485 # netdb.h is not declaring the function, and the compiler is thereby
40486 # assuming an implicit prototype. In which case, we're out of luck.
40488 cat >conftest.
$ac_ext <<_ACEOF
40491 cat confdefs.h
>>conftest.
$ac_ext
40492 cat >>conftest.
$ac_ext <<_ACEOF
40493 /* end confdefs.h. */
40499 char *name = "www.gnu.org";
40500 (void)gethostbyname_r(name) /* ; */
40506 rm -f conftest.
$ac_objext
40507 if { (ac_try
="$ac_compile"
40508 case "(($ac_try" in
40509 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
40510 *) ac_try_echo=$ac_try;;
40512 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40513 (eval "$ac_compile") 2>conftest.er1
40515 grep -v '^ *+' conftest.er1 >conftest.err
40517 cat conftest.err >&5
40518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40519 (exit $ac_status); } && {
40520 test -z "$ac_c_werror_flag" ||
40521 test ! -s conftest.err
40522 } && test -s conftest.$ac_objext; then
40523 ac_cv_func_which_gethostbyname_r=no
40525 echo "$as_me: failed program was:" >&5
40526 sed 's/^/| /' conftest.$ac_ext >&5
40531 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40538 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
40540 cat >conftest.$ac_ext <<_ACEOF
40543 cat confdefs.h >>conftest.$ac_ext
40544 cat >>conftest.$ac_ext <<_ACEOF
40545 /* end confdefs.h. */
40551 char *name = "www.gnu.org";
40552 struct hostent ret, *retp;
40556 (void)gethostbyname_r(name, &ret, buf, buflen, &retp, &my_h_errno) /* ; */
40562 rm -f conftest.$ac_objext
40563 if { (ac_try="$ac_compile"
40564 case "(($ac_try" in
40565 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
40566 *) ac_try_echo
=$ac_try;;
40568 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40569 (eval "$ac_compile") 2>conftest.er1
40571 grep -v '^ *+' conftest.er1
>conftest.err
40573 cat conftest.err
>&5
40574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40575 (exit $ac_status); } && {
40576 test -z "$ac_c_werror_flag" ||
40577 test ! -s conftest.err
40578 } && test -s conftest.
$ac_objext; then
40579 ac_cv_func_which_gethostbyname_r
=six
40581 echo "$as_me: failed program was:" >&5
40582 sed 's/^/| /' conftest.
$ac_ext >&5
40587 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
40596 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
40598 cat >conftest.
$ac_ext <<_ACEOF
40601 cat confdefs.h
>>conftest.
$ac_ext
40602 cat >>conftest.
$ac_ext <<_ACEOF
40603 /* end confdefs.h. */
40609 char *name = "www.gnu.org";
40610 struct hostent ret;
40614 (void)gethostbyname_r(name, &ret, buf, buflen, &my_h_errno) /* ; */
40620 rm -f conftest.
$ac_objext
40621 if { (ac_try
="$ac_compile"
40622 case "(($ac_try" in
40623 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
40624 *) ac_try_echo=$ac_try;;
40626 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40627 (eval "$ac_compile") 2>conftest.er1
40629 grep -v '^ *+' conftest.er1 >conftest.err
40631 cat conftest.err >&5
40632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40633 (exit $ac_status); } && {
40634 test -z "$ac_c_werror_flag" ||
40635 test ! -s conftest.err
40636 } && test -s conftest.$ac_objext; then
40637 ac_cv_func_which_gethostbyname_r=five
40639 echo "$as_me: failed program was:" >&5
40640 sed 's/^/| /' conftest.$ac_ext >&5
40645 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40651 # (e.g. AIX, HP-UX, Tru64)
40654 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
40656 cat >conftest.$ac_ext <<_ACEOF
40659 cat confdefs.h >>conftest.$ac_ext
40660 cat >>conftest.$ac_ext <<_ACEOF
40661 /* end confdefs.h. */
40667 char *name = "www.gnu.org";
40668 struct hostent ret;
40669 struct hostent_data data;
40670 (void)gethostbyname_r(name, &ret, &data) /* ; */
40676 rm -f conftest.$ac_objext
40677 if { (ac_try="$ac_compile"
40678 case "(($ac_try" in
40679 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
40680 *) ac_try_echo
=$ac_try;;
40682 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40683 (eval "$ac_compile") 2>conftest.er1
40685 grep -v '^ *+' conftest.er1
>conftest.err
40687 cat conftest.err
>&5
40688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40689 (exit $ac_status); } && {
40690 test -z "$ac_c_werror_flag" ||
40691 test ! -s conftest.err
40692 } && test -s conftest.
$ac_objext; then
40693 ac_cv_func_which_gethostbyname_r
=three
40695 echo "$as_me: failed program was:" >&5
40696 sed 's/^/| /' conftest.
$ac_ext >&5
40701 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
40705 ################################################################
40710 case "$ac_cv_func_which_gethostbyname_r" in
40712 { echo "$as_me:$LINENO: result: three" >&5
40713 echo "${ECHO_T}three" >&6; }
40714 cat >>confdefs.h
<<\_ACEOF
40715 #define HAVE_FUNC_GETHOSTBYNAME_R_3 1
40721 { echo "$as_me:$LINENO: result: five" >&5
40722 echo "${ECHO_T}five" >&6; }
40723 cat >>confdefs.h
<<\_ACEOF
40724 #define HAVE_FUNC_GETHOSTBYNAME_R_5 1
40730 { echo "$as_me:$LINENO: result: six" >&5
40731 echo "${ECHO_T}six" >&6; }
40732 cat >>confdefs.h
<<\_ACEOF
40733 #define HAVE_FUNC_GETHOSTBYNAME_R_6 1
40739 { echo "$as_me:$LINENO: result: cannot find function declaration in netdb.h" >&5
40740 echo "${ECHO_T}cannot find function declaration in netdb.h" >&6; }
40744 { echo "$as_me:$LINENO: result: can't tell" >&5
40745 echo "${ECHO_T}can't tell" >&6; }
40749 { { echo "$as_me:$LINENO: error: internal error" >&5
40750 echo "$as_me: error: internal error" >&2;}
40751 { (exit 1); exit 1; }; }
40756 ac_cpp
='$CPP $CPPFLAGS'
40757 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40758 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40759 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
40763 if test "x$ac_cv_func_which_gethostbyname_r" = "xno" -o \
40764 "x$ac_cv_func_which_gethostbyname_r" = "xunknown" ; then
40765 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
40766 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
40767 if test "${ac_cv_func_gethostbyname+set}" = set; then
40768 echo $ECHO_N "(cached) $ECHO_C" >&6
40770 cat >conftest.
$ac_ext <<_ACEOF
40773 cat confdefs.h
>>conftest.
$ac_ext
40774 cat >>conftest.
$ac_ext <<_ACEOF
40775 /* end confdefs.h. */
40776 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
40777 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40778 #define gethostbyname innocuous_gethostbyname
40780 /* System header to define __stub macros and hopefully few prototypes,
40781 which can conflict with char gethostbyname (); below.
40782 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40783 <limits.h> exists even on freestanding compilers. */
40786 # include <limits.h>
40788 # include <assert.h>
40791 #undef gethostbyname
40793 /* Override any GCC internal prototype to avoid an error.
40794 Use char because int might match the return type of a GCC
40795 builtin and then its argument prototype would still apply. */
40799 char gethostbyname ();
40800 /* The GNU C library defines this for functions which it implements
40801 to always fail with ENOSYS. Some functions are actually named
40802 something starting with __ and the normal name is an alias. */
40803 #if defined __stub_gethostbyname || defined __stub___gethostbyname
40810 return gethostbyname ();
40815 rm -f conftest.
$ac_objext conftest
$ac_exeext
40816 if { (ac_try
="$ac_link"
40817 case "(($ac_try" in
40818 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
40819 *) ac_try_echo=$ac_try;;
40821 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40822 (eval "$ac_link") 2>conftest.er1
40824 grep -v '^ *+' conftest.er1 >conftest.err
40826 cat conftest.err >&5
40827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40828 (exit $ac_status); } && {
40829 test -z "$ac_c_werror_flag" ||
40830 test ! -s conftest.err
40831 } && test -s conftest$ac_exeext &&
40832 $as_test_x conftest$ac_exeext; then
40833 ac_cv_func_gethostbyname=yes
40835 echo "$as_me: failed program was:" >&5
40836 sed 's/^/| /' conftest.$ac_ext >&5
40838 ac_cv_func_gethostbyname=no
40841 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40842 conftest$ac_exeext conftest.$ac_ext
40844 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
40845 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
40846 if test $ac_cv_func_gethostbyname = yes; then
40847 cat >>confdefs.h <<\_ACEOF
40848 #define HAVE_GETHOSTBYNAME 1
40855 { echo "$as_me:$LINENO: checking how many arguments getservbyname_r() takes" >&5
40856 echo $ECHO_N "checking how many arguments getservbyname_r() takes... $ECHO_C" >&6; }
40857 if test "${ac_cv_func_which_getservbyname_r+set}" = set; then
40858 echo $ECHO_N "(cached) $ECHO_C" >&6
40862 ac_cpp='$CXXCPP $CPPFLAGS'
40863 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40864 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40865 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40868 cat >conftest.$ac_ext <<_ACEOF
40871 cat confdefs.h >>conftest.$ac_ext
40872 cat >>conftest.$ac_ext <<_ACEOF
40873 /* end confdefs.h. */
40881 struct servent *se, *res;
40884 (void) getservbyname_r(name, proto, se, buffer, buflen, &res)
40890 rm -f conftest.$ac_objext
40891 if { (ac_try="$ac_compile"
40892 case "(($ac_try" in
40893 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
40894 *) ac_try_echo
=$ac_try;;
40896 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40897 (eval "$ac_compile") 2>conftest.er1
40899 grep -v '^ *+' conftest.er1
>conftest.err
40901 cat conftest.err
>&5
40902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40903 (exit $ac_status); } && {
40904 test -z "$ac_cxx_werror_flag" ||
40905 test ! -s conftest.err
40906 } && test -s conftest.
$ac_objext; then
40907 ac_cv_func_which_getservbyname_r
=six
40909 echo "$as_me: failed program was:" >&5
40910 sed 's/^/| /' conftest.
$ac_ext >&5
40913 cat >conftest.
$ac_ext <<_ACEOF
40916 cat confdefs.h
>>conftest.
$ac_ext
40917 cat >>conftest.
$ac_ext <<_ACEOF
40918 /* end confdefs.h. */
40926 struct servent *se;
40929 (void) getservbyname_r(name, proto, se, buffer, buflen)
40935 rm -f conftest.
$ac_objext
40936 if { (ac_try
="$ac_compile"
40937 case "(($ac_try" in
40938 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
40939 *) ac_try_echo=$ac_try;;
40941 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40942 (eval "$ac_compile") 2>conftest.er1
40944 grep -v '^ *+' conftest.er1 >conftest.err
40946 cat conftest.err >&5
40947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40948 (exit $ac_status); } && {
40949 test -z "$ac_cxx_werror_flag" ||
40950 test ! -s conftest.err
40951 } && test -s conftest.$ac_objext; then
40952 ac_cv_func_which_getservbyname_r=five
40954 echo "$as_me: failed program was:" >&5
40955 sed 's/^/| /' conftest.$ac_ext >&5
40958 cat >conftest.$ac_ext <<_ACEOF
40961 cat confdefs.h >>conftest.$ac_ext
40962 cat >>conftest.$ac_ext <<_ACEOF
40963 /* end confdefs.h. */
40971 struct servent *se;
40972 struct servent_data data;
40973 (void) getservbyname_r(name, proto, se, &data);
40979 rm -f conftest.$ac_objext
40980 if { (ac_try="$ac_compile"
40981 case "(($ac_try" in
40982 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
40983 *) ac_try_echo
=$ac_try;;
40985 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40986 (eval "$ac_compile") 2>conftest.er1
40988 grep -v '^ *+' conftest.er1
>conftest.err
40990 cat conftest.err
>&5
40991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40992 (exit $ac_status); } && {
40993 test -z "$ac_cxx_werror_flag" ||
40994 test ! -s conftest.err
40995 } && test -s conftest.
$ac_objext; then
40996 ac_cv_func_which_getservbyname_r
=four
40998 echo "$as_me: failed program was:" >&5
40999 sed 's/^/| /' conftest.
$ac_ext >&5
41001 ac_cv_func_which_getservbyname_r
=no
41005 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
41010 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
41015 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
41017 ac_cpp
='$CPP $CPPFLAGS'
41018 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41019 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41020 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
41025 { echo "$as_me:$LINENO: result: $ac_cv_func_which_getservbyname_r" >&5
41026 echo "${ECHO_T}$ac_cv_func_which_getservbyname_r" >&6; }
41028 if test $ac_cv_func_which_getservbyname_r = six
; then
41029 cat >>confdefs.h
<<\_ACEOF
41030 #define HAVE_FUNC_GETSERVBYNAME_R_6 1
41033 elif test $ac_cv_func_which_getservbyname_r = five
; then
41034 cat >>confdefs.h
<<\_ACEOF
41035 #define HAVE_FUNC_GETSERVBYNAME_R_5 1
41038 elif test $ac_cv_func_which_getservbyname_r = four
; then
41039 cat >>confdefs.h
<<\_ACEOF
41040 #define HAVE_FUNC_GETSERVBYNAME_R_4 1
41046 if test "x$ac_cv_func_which_getservbyname_r" = "xno" -o \
41047 "x$ac_cv_func_which_getservbyname_r" = "xunknown" ; then
41049 for ac_func
in getservbyname
41051 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41052 { echo "$as_me:$LINENO: checking for $ac_func" >&5
41053 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
41054 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
41055 echo $ECHO_N "(cached) $ECHO_C" >&6
41057 cat >conftest.
$ac_ext <<_ACEOF
41060 cat confdefs.h
>>conftest.
$ac_ext
41061 cat >>conftest.
$ac_ext <<_ACEOF
41062 /* end confdefs.h. */
41063 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41064 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41065 #define $ac_func innocuous_$ac_func
41067 /* System header to define __stub macros and hopefully few prototypes,
41068 which can conflict with char $ac_func (); below.
41069 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41070 <limits.h> exists even on freestanding compilers. */
41073 # include <limits.h>
41075 # include <assert.h>
41080 /* Override any GCC internal prototype to avoid an error.
41081 Use char because int might match the return type of a GCC
41082 builtin and then its argument prototype would still apply. */
41087 /* The GNU C library defines this for functions which it implements
41088 to always fail with ENOSYS. Some functions are actually named
41089 something starting with __ and the normal name is an alias. */
41090 #if defined __stub_$ac_func || defined __stub___$ac_func
41097 return $ac_func ();
41102 rm -f conftest.
$ac_objext conftest
$ac_exeext
41103 if { (ac_try
="$ac_link"
41104 case "(($ac_try" in
41105 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
41106 *) ac_try_echo=$ac_try;;
41108 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41109 (eval "$ac_link") 2>conftest.er1
41111 grep -v '^ *+' conftest.er1 >conftest.err
41113 cat conftest.err >&5
41114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41115 (exit $ac_status); } && {
41116 test -z "$ac_c_werror_flag" ||
41117 test ! -s conftest.err
41118 } && test -s conftest$ac_exeext &&
41119 $as_test_x conftest$ac_exeext; then
41120 eval "$as_ac_var=yes"
41122 echo "$as_me: failed program was:" >&5
41123 sed 's/^/| /' conftest.$ac_ext >&5
41125 eval "$as_ac_var=no"
41128 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41129 conftest$ac_exeext conftest.$ac_ext
41131 ac_res=`eval echo '${'$as_ac_var'}'`
41132 { echo "$as_me:$LINENO: result: $ac_res" >&5
41133 echo "${ECHO_T}$ac_res" >&6; }
41134 if test `eval echo '${'$as_ac_var'}'` = yes; then
41135 cat >>confdefs.h <<_ACEOF
41136 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41138 cat >>confdefs.h <<\_ACEOF
41139 #define HAVE_GETSERVBYNAME 1
41147 if test "$wxUSE_THREADS" = "yes"; then
41148 cat >>confdefs.h <<\_ACEOF
41149 #define wxUSE_THREADS 1
41153 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS thread"
41155 if test "$wx_cv_func_strtok_r" = "yes"; then
41156 { echo "$as_me:$LINENO: checking if -D_REENTRANT is needed" >&5
41157 echo $ECHO_N "checking if -D_REENTRANT is needed... $ECHO_C" >&6; }
41158 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
41159 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_REENTRANT"
41160 { echo "$as_me:$LINENO: result: yes" >&5
41161 echo "${ECHO_T}yes" >&6; }
41163 { echo "$as_me:$LINENO: result: no" >&5
41164 echo "${ECHO_T}no" >&6; }
41169 if test "$WXGTK2" = 1 ; then
41170 cat >>confdefs.h <<_ACEOF
41171 #define __WXGTK20__ $WXGTK2
41177 if test "$WXGTK12" = 1 ; then
41178 cat >>confdefs.h <<_ACEOF
41179 #define __WXGTK12__ $WXGTK12
41184 if test "$WXGTK127" = 1 ; then
41185 cat >>confdefs.h <<_ACEOF
41186 #define __WXGTK127__ $WXGTK127
41191 if test "$WXGPE" = 1 ; then
41192 cat >>confdefs.h <<_ACEOF
41193 #define __WXGPE__ $WXGPE
41199 if test "$wxUSE_DEBUG_INFO" = "yes" ; then
41203 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
41204 wxUSE_DEBUG_INFO=yes
41205 if test "$GCC" = yes; then
41206 DEBUG_CFLAGS="-ggdb"
41210 if test "$wxUSE_DEBUG_FLAG" = "yes" ; then
41211 cat >>confdefs.h <<\_ACEOF
41215 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D__WXDEBUG__"
41217 if test "$wxUSE_GTK" = 1 ; then
41218 if test "x$wxGTK_VERSION" = "x1" ; then
41219 CPPFLAGS="-DGTK_NO_CHECK_CASTS $CPPFLAGS"
41224 if test "$wxUSE_MEM_TRACING" = "yes" ; then
41225 cat >>confdefs.h <<\_ACEOF
41226 #define wxUSE_MEMORY_TRACING 1
41229 cat >>confdefs.h <<\_ACEOF
41230 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
41233 cat >>confdefs.h <<\_ACEOF
41234 #define wxUSE_DEBUG_NEW_ALWAYS 1
41237 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS memcheck"
41240 if test "$wxUSE_DMALLOC" = "yes" ; then
41241 DMALLOC_LIBS="-ldmallocthcxx"
41245 if test "$wxUSE_PROFILE" = "yes" ; then
41246 PROFILE_FLAGS=" -pg"
41249 if test "$GCC" = "yes" ; then
41250 if test "$wxUSE_NO_RTTI" = "yes" ; then
41251 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fno-rtti"
41253 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
41254 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fno-exceptions"
41256 if test "$wxUSE_PERMISSIVE" = "yes" ; then
41257 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -fpermissive"
41262 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -mminimal-toc"
41265 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -ffunction-sections"
41271 if test "$wxUSE_OPTIMISE" = "no" ; then
41272 if test "$GCC" = yes ; then
41273 OPTIMISE_CFLAGS="-O0"
41276 if test "$GCC" = yes ; then
41278 *-pc-os2_emx | *-pc-os2-emx )
41279 OPTIMISE_CFLAGS="-O2"
41282 OPTIMISE_CFLAGS="-O2 -fno-strict-aliasing"
41286 OPTIMISE_CFLAGS="-O"
41291 if test "x$WXWIN_COMPATIBILITY_2_6" = "xyes"; then
41292 cat >>confdefs.h <<\_ACEOF
41293 #define WXWIN_COMPATIBILITY_2_6 1
41297 WXWIN_COMPATIBILITY_2_8="yes"
41300 if test "x$WXWIN_COMPATIBILITY_2_8" != "xno"; then
41301 cat >>confdefs.h <<\_ACEOF
41302 #define WXWIN_COMPATIBILITY_2_8 1
41308 if test "$wxUSE_GUI" = "yes"; then
41309 cat >>confdefs.h <<\_ACEOF
41310 #define wxUSE_GUI 1
41317 if test "$wxUSE_UNIX" = "yes"; then
41318 cat >>confdefs.h <<\_ACEOF
41319 #define wxUSE_UNIX 1
41325 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
41329 if test "$wxUSE_DYNAMIC_LOADER" = "yes" -o "$wxUSE_DYNLIB_CLASS" = "yes" ; then
41330 if test "$USE_DOS" = 1; then
41334 for ac_func in dlopen
41336 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41337 { echo "$as_me:$LINENO: checking for $ac_func" >&5
41338 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
41339 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
41340 echo $ECHO_N "(cached) $ECHO_C" >&6
41342 cat >conftest.$ac_ext <<_ACEOF
41345 cat confdefs.h >>conftest.$ac_ext
41346 cat >>conftest.$ac_ext <<_ACEOF
41347 /* end confdefs.h. */
41348 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41349 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41350 #define $ac_func innocuous_$ac_func
41352 /* System header to define __stub macros and hopefully few prototypes,
41353 which can conflict with char $ac_func (); below.
41354 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41355 <limits.h> exists even on freestanding compilers. */
41358 # include <limits.h>
41360 # include <assert.h>
41365 /* Override any GCC internal prototype to avoid an error.
41366 Use char because int might match the return type of a GCC
41367 builtin and then its argument prototype would still apply. */
41372 /* The GNU C library defines this for functions which it implements
41373 to always fail with ENOSYS. Some functions are actually named
41374 something starting with __ and the normal name is an alias. */
41375 #if defined __stub_$ac_func || defined __stub___$ac_func
41382 return $ac_func ();
41387 rm -f conftest.$ac_objext conftest$ac_exeext
41388 if { (ac_try="$ac_link"
41389 case "(($ac_try" in
41390 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
41391 *) ac_try_echo
=$ac_try;;
41393 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41394 (eval "$ac_link") 2>conftest.er1
41396 grep -v '^ *+' conftest.er1
>conftest.err
41398 cat conftest.err
>&5
41399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41400 (exit $ac_status); } && {
41401 test -z "$ac_c_werror_flag" ||
41402 test ! -s conftest.err
41403 } && test -s conftest
$ac_exeext &&
41404 $as_test_x conftest
$ac_exeext; then
41405 eval "$as_ac_var=yes"
41407 echo "$as_me: failed program was:" >&5
41408 sed 's/^/| /' conftest.
$ac_ext >&5
41410 eval "$as_ac_var=no"
41413 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
41414 conftest
$ac_exeext conftest.
$ac_ext
41416 ac_res
=`eval echo '${'$as_ac_var'}'`
41417 { echo "$as_me:$LINENO: result: $ac_res" >&5
41418 echo "${ECHO_T}$ac_res" >&6; }
41419 if test `eval echo '${'$as_ac_var'}'` = yes; then
41420 cat >>confdefs.h
<<_ACEOF
41421 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41424 cat >>confdefs.h
<<\_ACEOF
41425 #define HAVE_DLOPEN 1
41432 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
41433 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
41434 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
41435 echo $ECHO_N "(cached) $ECHO_C" >&6
41437 ac_check_lib_save_LIBS
=$LIBS
41439 cat >conftest.
$ac_ext <<_ACEOF
41442 cat confdefs.h
>>conftest.
$ac_ext
41443 cat >>conftest.
$ac_ext <<_ACEOF
41444 /* end confdefs.h. */
41446 /* Override any GCC internal prototype to avoid an error.
41447 Use char because int might match the return type of a GCC
41448 builtin and then its argument prototype would still apply. */
41461 rm -f conftest.
$ac_objext conftest
$ac_exeext
41462 if { (ac_try
="$ac_link"
41463 case "(($ac_try" in
41464 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
41465 *) ac_try_echo=$ac_try;;
41467 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41468 (eval "$ac_link") 2>conftest.er1
41470 grep -v '^ *+' conftest.er1 >conftest.err
41472 cat conftest.err >&5
41473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41474 (exit $ac_status); } && {
41475 test -z "$ac_c_werror_flag" ||
41476 test ! -s conftest.err
41477 } && test -s conftest$ac_exeext &&
41478 $as_test_x conftest$ac_exeext; then
41479 ac_cv_lib_dl_dlopen=yes
41481 echo "$as_me: failed program was:" >&5
41482 sed 's/^/| /' conftest.$ac_ext >&5
41484 ac_cv_lib_dl_dlopen=no
41487 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41488 conftest$ac_exeext conftest.$ac_ext
41489 LIBS=$ac_check_lib_save_LIBS
41491 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
41492 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
41493 if test $ac_cv_lib_dl_dlopen = yes; then
41495 cat >>confdefs.h <<\_ACEOF
41496 #define HAVE_DLOPEN 1
41500 DL_LINK=" -ldl$DL_LINK"
41505 for ac_func in shl_load
41507 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41508 { echo "$as_me:$LINENO: checking for $ac_func" >&5
41509 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
41510 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
41511 echo $ECHO_N "(cached) $ECHO_C" >&6
41513 cat >conftest.$ac_ext <<_ACEOF
41516 cat confdefs.h >>conftest.$ac_ext
41517 cat >>conftest.$ac_ext <<_ACEOF
41518 /* end confdefs.h. */
41519 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41520 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41521 #define $ac_func innocuous_$ac_func
41523 /* System header to define __stub macros and hopefully few prototypes,
41524 which can conflict with char $ac_func (); below.
41525 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41526 <limits.h> exists even on freestanding compilers. */
41529 # include <limits.h>
41531 # include <assert.h>
41536 /* Override any GCC internal prototype to avoid an error.
41537 Use char because int might match the return type of a GCC
41538 builtin and then its argument prototype would still apply. */
41543 /* The GNU C library defines this for functions which it implements
41544 to always fail with ENOSYS. Some functions are actually named
41545 something starting with __ and the normal name is an alias. */
41546 #if defined __stub_$ac_func || defined __stub___$ac_func
41553 return $ac_func ();
41558 rm -f conftest.$ac_objext conftest$ac_exeext
41559 if { (ac_try="$ac_link"
41560 case "(($ac_try" in
41561 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
41562 *) ac_try_echo
=$ac_try;;
41564 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41565 (eval "$ac_link") 2>conftest.er1
41567 grep -v '^ *+' conftest.er1
>conftest.err
41569 cat conftest.err
>&5
41570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41571 (exit $ac_status); } && {
41572 test -z "$ac_c_werror_flag" ||
41573 test ! -s conftest.err
41574 } && test -s conftest
$ac_exeext &&
41575 $as_test_x conftest
$ac_exeext; then
41576 eval "$as_ac_var=yes"
41578 echo "$as_me: failed program was:" >&5
41579 sed 's/^/| /' conftest.
$ac_ext >&5
41581 eval "$as_ac_var=no"
41584 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
41585 conftest
$ac_exeext conftest.
$ac_ext
41587 ac_res
=`eval echo '${'$as_ac_var'}'`
41588 { echo "$as_me:$LINENO: result: $ac_res" >&5
41589 echo "${ECHO_T}$ac_res" >&6; }
41590 if test `eval echo '${'$as_ac_var'}'` = yes; then
41591 cat >>confdefs.h
<<_ACEOF
41592 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41595 cat >>confdefs.h
<<\_ACEOF
41596 #define HAVE_SHL_LOAD 1
41603 { echo "$as_me:$LINENO: checking for dld in -lshl_load" >&5
41604 echo $ECHO_N "checking for dld in -lshl_load... $ECHO_C" >&6; }
41605 if test "${ac_cv_lib_shl_load_dld+set}" = set; then
41606 echo $ECHO_N "(cached) $ECHO_C" >&6
41608 ac_check_lib_save_LIBS
=$LIBS
41609 LIBS
="-lshl_load $LIBS"
41610 cat >conftest.
$ac_ext <<_ACEOF
41613 cat confdefs.h
>>conftest.
$ac_ext
41614 cat >>conftest.
$ac_ext <<_ACEOF
41615 /* end confdefs.h. */
41617 /* Override any GCC internal prototype to avoid an error.
41618 Use char because int might match the return type of a GCC
41619 builtin and then its argument prototype would still apply. */
41632 rm -f conftest.
$ac_objext conftest
$ac_exeext
41633 if { (ac_try
="$ac_link"
41634 case "(($ac_try" in
41635 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
41636 *) ac_try_echo=$ac_try;;
41638 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41639 (eval "$ac_link") 2>conftest.er1
41641 grep -v '^ *+' conftest.er1 >conftest.err
41643 cat conftest.err >&5
41644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41645 (exit $ac_status); } && {
41646 test -z "$ac_c_werror_flag" ||
41647 test ! -s conftest.err
41648 } && test -s conftest$ac_exeext &&
41649 $as_test_x conftest$ac_exeext; then
41650 ac_cv_lib_shl_load_dld=yes
41652 echo "$as_me: failed program was:" >&5
41653 sed 's/^/| /' conftest.$ac_ext >&5
41655 ac_cv_lib_shl_load_dld=no
41658 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41659 conftest$ac_exeext conftest.$ac_ext
41660 LIBS=$ac_check_lib_save_LIBS
41662 { echo "$as_me:$LINENO: result: $ac_cv_lib_shl_load_dld" >&5
41663 echo "${ECHO_T}$ac_cv_lib_shl_load_dld" >&6; }
41664 if test $ac_cv_lib_shl_load_dld = yes; then
41667 DL_LINK=" -ldld$DL_LINK"
41683 if test "$HAVE_DL_FUNCS" = 1; then
41685 for ac_func in dlerror
41687 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41688 { echo "$as_me:$LINENO: checking for $ac_func" >&5
41689 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
41690 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
41691 echo $ECHO_N "(cached) $ECHO_C" >&6
41693 cat >conftest.$ac_ext <<_ACEOF
41696 cat confdefs.h >>conftest.$ac_ext
41697 cat >>conftest.$ac_ext <<_ACEOF
41698 /* end confdefs.h. */
41699 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41700 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41701 #define $ac_func innocuous_$ac_func
41703 /* System header to define __stub macros and hopefully few prototypes,
41704 which can conflict with char $ac_func (); below.
41705 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41706 <limits.h> exists even on freestanding compilers. */
41709 # include <limits.h>
41711 # include <assert.h>
41716 /* Override any GCC internal prototype to avoid an error.
41717 Use char because int might match the return type of a GCC
41718 builtin and then its argument prototype would still apply. */
41723 /* The GNU C library defines this for functions which it implements
41724 to always fail with ENOSYS. Some functions are actually named
41725 something starting with __ and the normal name is an alias. */
41726 #if defined __stub_$ac_func || defined __stub___$ac_func
41733 return $ac_func ();
41738 rm -f conftest.$ac_objext conftest$ac_exeext
41739 if { (ac_try="$ac_link"
41740 case "(($ac_try" in
41741 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
41742 *) ac_try_echo
=$ac_try;;
41744 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41745 (eval "$ac_link") 2>conftest.er1
41747 grep -v '^ *+' conftest.er1
>conftest.err
41749 cat conftest.err
>&5
41750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41751 (exit $ac_status); } && {
41752 test -z "$ac_c_werror_flag" ||
41753 test ! -s conftest.err
41754 } && test -s conftest
$ac_exeext &&
41755 $as_test_x conftest
$ac_exeext; then
41756 eval "$as_ac_var=yes"
41758 echo "$as_me: failed program was:" >&5
41759 sed 's/^/| /' conftest.
$ac_ext >&5
41761 eval "$as_ac_var=no"
41764 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
41765 conftest
$ac_exeext conftest.
$ac_ext
41767 ac_res
=`eval echo '${'$as_ac_var'}'`
41768 { echo "$as_me:$LINENO: result: $ac_res" >&5
41769 echo "${ECHO_T}$ac_res" >&6; }
41770 if test `eval echo '${'$as_ac_var'}'` = yes; then
41771 cat >>confdefs.h
<<_ACEOF
41772 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41774 cat >>confdefs.h
<<\_ACEOF
41775 #define HAVE_DLERROR 1
41780 { echo "$as_me:$LINENO: checking for dlerror in -ldl" >&5
41781 echo $ECHO_N "checking for dlerror in -ldl... $ECHO_C" >&6; }
41782 if test "${ac_cv_lib_dl_dlerror+set}" = set; then
41783 echo $ECHO_N "(cached) $ECHO_C" >&6
41785 ac_check_lib_save_LIBS
=$LIBS
41787 cat >conftest.
$ac_ext <<_ACEOF
41790 cat confdefs.h
>>conftest.
$ac_ext
41791 cat >>conftest.
$ac_ext <<_ACEOF
41792 /* end confdefs.h. */
41794 /* Override any GCC internal prototype to avoid an error.
41795 Use char because int might match the return type of a GCC
41796 builtin and then its argument prototype would still apply. */
41809 rm -f conftest.
$ac_objext conftest
$ac_exeext
41810 if { (ac_try
="$ac_link"
41811 case "(($ac_try" in
41812 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
41813 *) ac_try_echo=$ac_try;;
41815 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41816 (eval "$ac_link") 2>conftest.er1
41818 grep -v '^ *+' conftest.er1 >conftest.err
41820 cat conftest.err >&5
41821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41822 (exit $ac_status); } && {
41823 test -z "$ac_c_werror_flag" ||
41824 test ! -s conftest.err
41825 } && test -s conftest$ac_exeext &&
41826 $as_test_x conftest$ac_exeext; then
41827 ac_cv_lib_dl_dlerror=yes
41829 echo "$as_me: failed program was:" >&5
41830 sed 's/^/| /' conftest.$ac_ext >&5
41832 ac_cv_lib_dl_dlerror=no
41835 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41836 conftest$ac_exeext conftest.$ac_ext
41837 LIBS=$ac_check_lib_save_LIBS
41839 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlerror" >&5
41840 echo "${ECHO_T}$ac_cv_lib_dl_dlerror" >&6; }
41841 if test $ac_cv_lib_dl_dlerror = yes; then
41842 cat >>confdefs.h <<\_ACEOF
41843 #define HAVE_DLERROR 1
41856 if test "$USE_DARWIN" = 1; then
41860 if test "$HAVE_DL_FUNCS" = 0; then
41861 if test "$HAVE_SHL_FUNCS" = 0; then
41862 if test "$USE_UNIX" = 1 -o "$USE_DOS" = 1; then
41863 { echo "$as_me:$LINENO: WARNING: Missing dynamic loading support, several features will be disabled" >&5
41864 echo "$as_me: WARNING: Missing dynamic loading support, several features will be disabled" >&2;}
41865 wxUSE_DYNAMIC_LOADER=no
41866 wxUSE_DYNLIB_CLASS=no
41868 { echo "$as_me:$LINENO: WARNING: Assuming wxLibrary class works on this platform" >&5
41869 echo "$as_me: WARNING: Assuming wxLibrary class works on this platform" >&2;}
41876 if test "$wxUSE_DYNAMIC_LOADER" = "yes" ; then
41877 cat >>confdefs.h <<\_ACEOF
41878 #define wxUSE_DYNAMIC_LOADER 1
41882 if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
41883 cat >>confdefs.h <<\_ACEOF
41884 #define wxUSE_DYNLIB_CLASS 1
41891 if test "$wxUSE_PLUGINS" = "yes" ; then
41892 if test "$wxUSE_SHARED" = "no" ; then
41893 { echo "$as_me:$LINENO: WARNING: plugins supported only in shared build, disabling" >&5
41894 echo "$as_me: WARNING: plugins supported only in shared build, disabling" >&2;}
41897 if test "$wxUSE_MONOLITHIC" = "yes" ; then
41898 { echo "$as_me:$LINENO: WARNING: plugins not supported monolithic build, disabling" >&5
41899 echo "$as_me: WARNING: plugins not supported monolithic build, disabling" >&2;}
41902 if test "$wxUSE_DYNLIB_CLASS" = "no" ; then
41903 { echo "$as_me:$LINENO: WARNING: plugins require wxDynamicLibrary, disabling" >&5
41904 echo "$as_me: WARNING: plugins require wxDynamicLibrary, disabling" >&2;}
41907 if test "$wxUSE_PLUGINS" = "yes" ; then
41908 cat >>confdefs.h <<\_ACEOF
41909 #define wxUSE_PLUGINS 1
41916 if test "$wxUSE_STL" = "yes"; then
41917 cat >>confdefs.h <<\_ACEOF
41918 #define wxUSE_STL 1
41923 if test "$wxUSE_EXTENDED_RTTI" = "yes"; then
41924 cat >>confdefs.h <<\_ACEOF
41925 #define wxUSE_EXTENDED_RTTI 1
41930 if test "$wxUSE_APPLE_IEEE" = "yes"; then
41931 cat >>confdefs.h <<\_ACEOF
41932 #define wxUSE_APPLE_IEEE 1
41937 if test "$wxUSE_TIMER" = "yes"; then
41938 cat >>confdefs.h <<\_ACEOF
41939 #define wxUSE_TIMER 1
41944 if test "$USE_UNIX" = 1 ; then
41945 if test "$wxUSE_MGL" != 1; then
41946 { echo "$as_me:$LINENO: checking for SNDCTL_DSP_SPEED in sys/soundcard.h" >&5
41947 echo $ECHO_N "checking for SNDCTL_DSP_SPEED in sys/soundcard.h... $ECHO_C" >&6; }
41948 if test "${ac_cv_header_sys_soundcard+set}" = set; then
41949 echo $ECHO_N "(cached) $ECHO_C" >&6
41952 cat >conftest.$ac_ext <<_ACEOF
41955 cat confdefs.h >>conftest.$ac_ext
41956 cat >>conftest.$ac_ext <<_ACEOF
41957 /* end confdefs.h. */
41959 #include <sys/ioctl.h>
41960 #include <sys/soundcard.h>
41966 ioctl(0, SNDCTL_DSP_SPEED, 0);
41972 rm -f conftest.$ac_objext conftest$ac_exeext
41973 if { (ac_try="$ac_link"
41974 case "(($ac_try" in
41975 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
41976 *) ac_try_echo
=$ac_try;;
41978 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41979 (eval "$ac_link") 2>conftest.er1
41981 grep -v '^ *+' conftest.er1
>conftest.err
41983 cat conftest.err
>&5
41984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41985 (exit $ac_status); } && {
41986 test -z "$ac_c_werror_flag" ||
41987 test ! -s conftest.err
41988 } && test -s conftest
$ac_exeext &&
41989 $as_test_x conftest
$ac_exeext; then
41990 ac_cv_header_sys_soundcard
=yes
41992 echo "$as_me: failed program was:" >&5
41993 sed 's/^/| /' conftest.
$ac_ext >&5
41997 LIBS
="$saveLibs -lossaudio"
41998 cat >conftest.
$ac_ext <<_ACEOF
42001 cat confdefs.h
>>conftest.
$ac_ext
42002 cat >>conftest.
$ac_ext <<_ACEOF
42003 /* end confdefs.h. */
42005 #include <sys/ioctl.h>
42006 #include <sys/soundcard.h>
42012 ioctl(0, SNDCTL_DSP_SPEED, 0);
42018 rm -f conftest.
$ac_objext conftest
$ac_exeext
42019 if { (ac_try
="$ac_link"
42020 case "(($ac_try" in
42021 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
42022 *) ac_try_echo=$ac_try;;
42024 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42025 (eval "$ac_link") 2>conftest.er1
42027 grep -v '^ *+' conftest.er1 >conftest.err
42029 cat conftest.err >&5
42030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42031 (exit $ac_status); } && {
42032 test -z "$ac_c_werror_flag" ||
42033 test ! -s conftest.err
42034 } && test -s conftest$ac_exeext &&
42035 $as_test_x conftest$ac_exeext; then
42036 ac_cv_header_sys_soundcard=yes
42038 echo "$as_me: failed program was:" >&5
42039 sed 's/^/| /' conftest.$ac_ext >&5
42043 ac_cv_header_sys_soundcard=no
42048 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42049 conftest$ac_exeext conftest.$ac_ext
42054 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42055 conftest$ac_exeext conftest.$ac_ext
42058 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_soundcard" >&5
42059 echo "${ECHO_T}$ac_cv_header_sys_soundcard" >&6; }
42062 if test "$ac_cv_header_sys_soundcard" = "yes"; then
42063 cat >>confdefs.h <<\_ACEOF
42064 #define HAVE_SYS_SOUNDCARD_H 1
42071 if test "$wxUSE_SOUND" = "yes"; then
42072 if test "$USE_UNIX" = 1 ; then
42073 if test "$wxUSE_LIBSDL" != "no"; then
42075 # Check whether --with-sdl-prefix was given.
42076 if test "${with_sdl_prefix+set}" = set; then
42077 withval=$with_sdl_prefix; sdl_prefix="$withval"
42083 # Check whether --with-sdl-exec-prefix was given.
42084 if test "${with_sdl_exec_prefix+set}" = set; then
42085 withval=$with_sdl_exec_prefix; sdl_exec_prefix="$withval"
42090 # Check whether --enable-sdltest was given.
42091 if test "${enable_sdltest+set}" = set; then
42092 enableval=$enable_sdltest;
42098 if test x$sdl_exec_prefix != x ; then
42099 sdl_args="$sdl_args --exec-prefix=$sdl_exec_prefix"
42100 if test x${SDL_CONFIG+set} != xset ; then
42101 SDL_CONFIG=$sdl_exec_prefix/bin/sdl-config
42104 if test x$sdl_prefix != x ; then
42105 sdl_args="$sdl_args --prefix=$sdl_prefix"
42106 if test x${SDL_CONFIG+set} != xset ; then
42107 SDL_CONFIG=$sdl_prefix/bin/sdl-config
42111 if test "x$prefix" != xNONE; then
42112 PATH="$prefix/bin:$prefix/usr/bin:$PATH"
42114 # Extract the first word of "sdl-config", so it can be a program name with args.
42115 set dummy sdl-config; ac_word=$2
42116 { echo "$as_me:$LINENO: checking for $ac_word" >&5
42117 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
42118 if test "${ac_cv_path_SDL_CONFIG+set}" = set; then
42119 echo $ECHO_N "(cached) $ECHO_C" >&6
42121 case $SDL_CONFIG in
42123 ac_cv_path_SDL_CONFIG="$SDL_CONFIG" # Let the user override the test with a path.
42126 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
42127 for as_dir in $PATH
42130 test -z "$as_dir" && as_dir=.
42131 for ac_exec_ext in '' $ac_executable_extensions; do
42132 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
42133 ac_cv_path_SDL_CONFIG="$as_dir/$ac_word$ac_exec_ext"
42134 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
42141 test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG="no"
42145 SDL_CONFIG=$ac_cv_path_SDL_CONFIG
42146 if test -n "$SDL_CONFIG"; then
42147 { echo "$as_me:$LINENO: result: $SDL_CONFIG" >&5
42148 echo "${ECHO_T}$SDL_CONFIG" >&6; }
42150 { echo "$as_me:$LINENO: result: no" >&5
42151 echo "${ECHO_T}no" >&6; }
42155 min_sdl_version=1.2.0
42156 { echo "$as_me:$LINENO: checking for SDL - version >= $min_sdl_version" >&5
42157 echo $ECHO_N "checking for SDL - version >= $min_sdl_version... $ECHO_C" >&6; }
42159 if test "$SDL_CONFIG" = "no" ; then
42162 SDL_CFLAGS=`$SDL_CONFIG $sdlconf_args --cflags`
42163 SDL_LIBS=`$SDL_CONFIG $sdlconf_args --libs`
42165 sdl_major_version=`$SDL_CONFIG $sdl_args --version | \
42166 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
42167 sdl_minor_version=`$SDL_CONFIG $sdl_args --version | \
42168 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
42169 sdl_micro_version=`$SDL_CONFIG $sdl_config_args --version | \
42170 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
42171 if test "x$enable_sdltest" = "xyes" ; then
42172 ac_save_CFLAGS="$CFLAGS"
42173 ac_save_CXXFLAGS="$CXXFLAGS"
42174 ac_save_LIBS="$LIBS"
42175 CFLAGS="$CFLAGS $SDL_CFLAGS"
42176 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
42177 LIBS="$LIBS $SDL_LIBS"
42179 if test "$cross_compiling" = yes; then
42180 echo $ac_n "cross compiling; assumed OK... $ac_c"
42182 cat >conftest.$ac_ext <<_ACEOF
42185 cat confdefs.h >>conftest.$ac_ext
42186 cat >>conftest.$ac_ext <<_ACEOF
42187 /* end confdefs.h. */
42190 #include <stdlib.h>
42191 #include <string.h>
42195 my_strdup (char *str)
42201 new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
42202 strcpy (new_str, str);
42210 int main (int argc, char *argv[])
42212 int major, minor, micro;
42215 /* This hangs on some systems (?)
42216 system ("touch conf.sdltest");
42218 { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
42220 /* HP/UX 9 (%@#!) writes to sscanf strings */
42221 tmp_version = my_strdup("$min_sdl_version");
42222 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
42223 printf("%s, bad version string\n", "$min_sdl_version");
42227 if (($sdl_major_version > major) ||
42228 (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
42229 (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
42235 printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
42236 printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
42237 printf("*** best to upgrade to the required version.\n");
42238 printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
42239 printf("*** to point to the correct copy of sdl-config, and remove the file\n");
42240 printf("*** config.cache before re-running configure\n");
42247 rm -f conftest$ac_exeext
42248 if { (ac_try="$ac_link"
42249 case "(($ac_try" in
42250 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
42251 *) ac_try_echo
=$ac_try;;
42253 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42254 (eval "$ac_link") 2>&5
42256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42257 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
42258 { (case "(($ac_try" in
42259 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
42260 *) ac_try_echo=$ac_try;;
42262 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42263 (eval "$ac_try") 2>&5
42265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42266 (exit $ac_status); }; }; then
42269 echo "$as_me: program exited with status $ac_status" >&5
42270 echo "$as_me: failed program was:" >&5
42271 sed 's/^/| /' conftest.$ac_ext >&5
42273 ( exit $ac_status )
42276 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
42280 CFLAGS="$ac_save_CFLAGS"
42281 CXXFLAGS="$ac_save_CXXFLAGS"
42282 LIBS="$ac_save_LIBS"
42285 if test "x$no_sdl" = x ; then
42286 { echo "$as_me:$LINENO: result: yes" >&5
42287 echo "${ECHO_T}yes" >&6; }
42289 EXTRALIBS_SDL="$SDL_LIBS"
42290 CFLAGS="$SDL_CFLAGS $CFLAGS"
42291 CXXFLAGS="$SDL_CFLAGS $CXXFLAGS"
42292 cat >>confdefs.h <<\_ACEOF
42293 #define wxUSE_LIBSDL 1
42298 { echo "$as_me:$LINENO: result: no" >&5
42299 echo "${ECHO_T}no" >&6; }
42300 if test "$SDL_CONFIG" = "no" ; then
42301 echo "*** The sdl-config script installed by SDL could not be found"
42302 echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
42303 echo "*** your path, or set the SDL_CONFIG environment variable to the"
42304 echo "*** full path to sdl-config."
42306 if test -f conf.sdltest ; then
42309 echo "*** Could not run SDL test program, checking why..."
42310 CFLAGS="$CFLAGS $SDL_CFLAGS"
42311 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
42312 LIBS="$LIBS $SDL_LIBS"
42313 cat >conftest.$ac_ext <<_ACEOF
42316 cat confdefs.h >>conftest.$ac_ext
42317 cat >>conftest.$ac_ext <<_ACEOF
42318 /* end confdefs.h. */
42323 int main(int argc, char *argv[])
42326 #define main K_and_R_C_main
42336 rm -f conftest.$ac_objext conftest$ac_exeext
42337 if { (ac_try="$ac_link"
42338 case "(($ac_try" in
42339 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
42340 *) ac_try_echo
=$ac_try;;
42342 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42343 (eval "$ac_link") 2>conftest.er1
42345 grep -v '^ *+' conftest.er1
>conftest.err
42347 cat conftest.err
>&5
42348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42349 (exit $ac_status); } && {
42350 test -z "$ac_c_werror_flag" ||
42351 test ! -s conftest.err
42352 } && test -s conftest
$ac_exeext &&
42353 $as_test_x conftest
$ac_exeext; then
42354 echo "*** The test program compiled, but did not run. This usually means"
42355 echo "*** that the run-time linker is not finding SDL or finding the wrong"
42356 echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
42357 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
42358 echo "*** to the installed location Also, make sure you have run ldconfig if that"
42359 echo "*** is required on your system"
42361 echo "*** If you have an old version installed, it is best to remove it, although"
42362 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
42364 echo "$as_me: failed program was:" >&5
42365 sed 's/^/| /' conftest.
$ac_ext >&5
42367 echo "*** The test program failed to compile or link. See the file config.log for the"
42368 echo "*** exact error that occured. This usually means SDL was incorrectly installed"
42369 echo "*** or that you have moved SDL since it was installed. In the latter case, you"
42370 echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
42373 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
42374 conftest
$ac_exeext conftest.
$ac_ext
42375 CFLAGS
="$ac_save_CFLAGS"
42376 CXXFLAGS
="$ac_save_CXXFLAGS"
42377 LIBS
="$ac_save_LIBS"
42388 if test "$wxUSE_LIBSDL" = "yes" -a "$wxUSE_PLUGINS" = "yes" ; then
42393 if test "$wxUSE_MGL" = 1; then
42394 { echo "$as_me:$LINENO: WARNING: wxSound not supported in MGL under DOS... disabled" >&5
42395 echo "$as_me: WARNING: wxSound not supported in MGL under DOS... disabled" >&2;}
42401 if test "$wxUSE_SOUND" = "yes"; then
42402 cat >>confdefs.h
<<\_ACEOF
42403 #define wxUSE_SOUND 1
42406 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sound"
42409 if test "$WXGTK2" = 1; then
42412 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
42413 if test -n "$ac_tool_prefix"; then
42414 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
42415 set dummy
${ac_tool_prefix}pkg
-config; ac_word
=$2
42416 { echo "$as_me:$LINENO: checking for $ac_word" >&5
42417 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
42418 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
42419 echo $ECHO_N "(cached) $ECHO_C" >&6
42421 case $PKG_CONFIG in
42423 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
42426 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
42427 for as_dir
in $PATH
42430 test -z "$as_dir" && as_dir
=.
42431 for ac_exec_ext
in '' $ac_executable_extensions; do
42432 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
42433 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
42434 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
42444 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
42445 if test -n "$PKG_CONFIG"; then
42446 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
42447 echo "${ECHO_T}$PKG_CONFIG" >&6; }
42449 { echo "$as_me:$LINENO: result: no" >&5
42450 echo "${ECHO_T}no" >&6; }
42455 if test -z "$ac_cv_path_PKG_CONFIG"; then
42456 ac_pt_PKG_CONFIG
=$PKG_CONFIG
42457 # Extract the first word of "pkg-config", so it can be a program name with args.
42458 set dummy pkg
-config; ac_word
=$2
42459 { echo "$as_me:$LINENO: checking for $ac_word" >&5
42460 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
42461 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
42462 echo $ECHO_N "(cached) $ECHO_C" >&6
42464 case $ac_pt_PKG_CONFIG in
42466 ac_cv_path_ac_pt_PKG_CONFIG
="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
42469 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
42470 for as_dir
in $PATH
42473 test -z "$as_dir" && as_dir
=.
42474 for ac_exec_ext
in '' $ac_executable_extensions; do
42475 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
42476 ac_cv_path_ac_pt_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
42477 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
42487 ac_pt_PKG_CONFIG
=$ac_cv_path_ac_pt_PKG_CONFIG
42488 if test -n "$ac_pt_PKG_CONFIG"; then
42489 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
42490 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
42492 { echo "$as_me:$LINENO: result: no" >&5
42493 echo "${ECHO_T}no" >&6; }
42496 if test "x$ac_pt_PKG_CONFIG" = x
; then
42499 case $cross_compiling:$ac_tool_warned in
42501 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
42502 whose name does not start with the host triplet. If you think this
42503 configuration is useful to you, please write to autoconf@gnu.org." >&5
42504 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
42505 whose name does not start with the host triplet. If you think this
42506 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
42507 ac_tool_warned
=yes ;;
42509 PKG_CONFIG
=$ac_pt_PKG_CONFIG
42512 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
42516 if test -n "$PKG_CONFIG"; then
42517 _pkg_min_version
=0.9.0
42518 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
42519 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
42520 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
42521 { echo "$as_me:$LINENO: result: yes" >&5
42522 echo "${ECHO_T}yes" >&6; }
42524 { echo "$as_me:$LINENO: result: no" >&5
42525 echo "${ECHO_T}no" >&6; }
42531 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
42533 if test "$wxUSE_GTKPRINT" = "yes" ; then
42537 { echo "$as_me:$LINENO: checking for GTKPRINT" >&5
42538 echo $ECHO_N "checking for GTKPRINT... $ECHO_C" >&6; }
42540 if test -n "$PKG_CONFIG"; then
42541 if test -n "$GTKPRINT_CFLAGS"; then
42542 pkg_cv_GTKPRINT_CFLAGS
="$GTKPRINT_CFLAGS"
42544 if test -n "$PKG_CONFIG" && \
42545 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtk+-unix-print-2.0 >= 2.10\"") >&5
42546 ($PKG_CONFIG --exists --print-errors "gtk+-unix-print-2.0 >= 2.10") 2>&5
42548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42549 (exit $ac_status); }; then
42550 pkg_cv_GTKPRINT_CFLAGS
=`$PKG_CONFIG --cflags "gtk+-unix-print-2.0 >= 2.10" 2>/dev/null`
42558 if test -n "$PKG_CONFIG"; then
42559 if test -n "$GTKPRINT_LIBS"; then
42560 pkg_cv_GTKPRINT_LIBS
="$GTKPRINT_LIBS"
42562 if test -n "$PKG_CONFIG" && \
42563 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtk+-unix-print-2.0 >= 2.10\"") >&5
42564 ($PKG_CONFIG --exists --print-errors "gtk+-unix-print-2.0 >= 2.10") 2>&5
42566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42567 (exit $ac_status); }; then
42568 pkg_cv_GTKPRINT_LIBS
=`$PKG_CONFIG --libs "gtk+-unix-print-2.0 >= 2.10" 2>/dev/null`
42579 if test $pkg_failed = yes; then
42581 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
42582 _pkg_short_errors_supported
=yes
42584 _pkg_short_errors_supported
=no
42586 if test $_pkg_short_errors_supported = yes; then
42587 GTKPRINT_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gtk+-unix-print-2.0 >= 2.10"`
42589 GTKPRINT_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "gtk+-unix-print-2.0 >= 2.10"`
42591 # Put the nasty error message in config.log where it belongs
42592 echo "$GTKPRINT_PKG_ERRORS" >&5
42595 { echo "$as_me:$LINENO: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&5
42596 echo "$as_me: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&2;}
42597 wxUSE_GTKPRINT
="no"
42600 elif test $pkg_failed = untried
; then
42602 { echo "$as_me:$LINENO: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&5
42603 echo "$as_me: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&2;}
42604 wxUSE_GTKPRINT
="no"
42608 GTKPRINT_CFLAGS
=$pkg_cv_GTKPRINT_CFLAGS
42609 GTKPRINT_LIBS
=$pkg_cv_GTKPRINT_LIBS
42610 { echo "$as_me:$LINENO: result: yes" >&5
42611 echo "${ECHO_T}yes" >&6; }
42613 CFLAGS
="$GTKPRINT_CFLAGS $CFLAGS"
42614 CXXFLAGS
="$GTKPRINT_CFLAGS $CXXFLAGS"
42615 cat >>confdefs.h
<<\_ACEOF
42616 #define wxUSE_GTKPRINT 1
42623 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
42627 { echo "$as_me:$LINENO: checking for LIBGNOMEPRINTUI" >&5
42628 echo $ECHO_N "checking for LIBGNOMEPRINTUI... $ECHO_C" >&6; }
42630 if test -n "$PKG_CONFIG"; then
42631 if test -n "$LIBGNOMEPRINTUI_CFLAGS"; then
42632 pkg_cv_LIBGNOMEPRINTUI_CFLAGS
="$LIBGNOMEPRINTUI_CFLAGS"
42634 if test -n "$PKG_CONFIG" && \
42635 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
42636 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
42638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42639 (exit $ac_status); }; then
42640 pkg_cv_LIBGNOMEPRINTUI_CFLAGS
=`$PKG_CONFIG --cflags "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
42648 if test -n "$PKG_CONFIG"; then
42649 if test -n "$LIBGNOMEPRINTUI_LIBS"; then
42650 pkg_cv_LIBGNOMEPRINTUI_LIBS
="$LIBGNOMEPRINTUI_LIBS"
42652 if test -n "$PKG_CONFIG" && \
42653 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
42654 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
42656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42657 (exit $ac_status); }; then
42658 pkg_cv_LIBGNOMEPRINTUI_LIBS
=`$PKG_CONFIG --libs "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
42669 if test $pkg_failed = yes; then
42671 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
42672 _pkg_short_errors_supported
=yes
42674 _pkg_short_errors_supported
=no
42676 if test $_pkg_short_errors_supported = yes; then
42677 LIBGNOMEPRINTUI_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
42679 LIBGNOMEPRINTUI_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
42681 # Put the nasty error message in config.log where it belongs
42682 echo "$LIBGNOMEPRINTUI_PKG_ERRORS" >&5
42685 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
42686 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
42687 wxUSE_LIBGNOMEPRINT
="no"
42690 elif test $pkg_failed = untried
; then
42692 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
42693 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
42694 wxUSE_LIBGNOMEPRINT
="no"
42698 LIBGNOMEPRINTUI_CFLAGS
=$pkg_cv_LIBGNOMEPRINTUI_CFLAGS
42699 LIBGNOMEPRINTUI_LIBS
=$pkg_cv_LIBGNOMEPRINTUI_LIBS
42700 { echo "$as_me:$LINENO: result: yes" >&5
42701 echo "${ECHO_T}yes" >&6; }
42703 CFLAGS
="$LIBGNOMEPRINTUI_CFLAGS $CFLAGS"
42704 CXXFLAGS
="$LIBGNOMEPRINTUI_CFLAGS $CXXFLAGS"
42705 cat >>confdefs.h
<<\_ACEOF
42706 #define wxUSE_LIBGNOMEPRINT 1
42714 if test "$wxUSE_MIMETYPE" = "yes" ; then
42715 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
42719 { echo "$as_me:$LINENO: checking for GNOMEVFS" >&5
42720 echo $ECHO_N "checking for GNOMEVFS... $ECHO_C" >&6; }
42722 if test -n "$PKG_CONFIG"; then
42723 if test -n "$GNOMEVFS_CFLAGS"; then
42724 pkg_cv_GNOMEVFS_CFLAGS
="$GNOMEVFS_CFLAGS"
42726 if test -n "$PKG_CONFIG" && \
42727 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
42728 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
42730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42731 (exit $ac_status); }; then
42732 pkg_cv_GNOMEVFS_CFLAGS
=`$PKG_CONFIG --cflags "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
42740 if test -n "$PKG_CONFIG"; then
42741 if test -n "$GNOMEVFS_LIBS"; then
42742 pkg_cv_GNOMEVFS_LIBS
="$GNOMEVFS_LIBS"
42744 if test -n "$PKG_CONFIG" && \
42745 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
42746 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
42748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42749 (exit $ac_status); }; then
42750 pkg_cv_GNOMEVFS_LIBS
=`$PKG_CONFIG --libs "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
42761 if test $pkg_failed = yes; then
42763 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
42764 _pkg_short_errors_supported
=yes
42766 _pkg_short_errors_supported
=no
42768 if test $_pkg_short_errors_supported = yes; then
42769 GNOMEVFS_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
42771 GNOMEVFS_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
42773 # Put the nasty error message in config.log where it belongs
42774 echo "$GNOMEVFS_PKG_ERRORS" >&5
42777 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
42778 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
42779 wxUSE_LIBGNOMEVFS
="no"
42782 elif test $pkg_failed = untried
; then
42784 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
42785 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
42786 wxUSE_LIBGNOMEVFS
="no"
42790 GNOMEVFS_CFLAGS
=$pkg_cv_GNOMEVFS_CFLAGS
42791 GNOMEVFS_LIBS
=$pkg_cv_GNOMEVFS_LIBS
42792 { echo "$as_me:$LINENO: result: yes" >&5
42793 echo "${ECHO_T}yes" >&6; }
42795 CFLAGS
="$GNOMEVFS_CFLAGS $CFLAGS"
42796 CXXFLAGS
="$GNOMEVFS_CFLAGS $CXXFLAGS"
42797 cat >>confdefs.h
<<\_ACEOF
42798 #define wxUSE_LIBGNOMEVFS 1
42806 if test "$wxUSE_LIBHILDON" = "yes" ; then
42809 { echo "$as_me:$LINENO: checking for HILDON" >&5
42810 echo $ECHO_N "checking for HILDON... $ECHO_C" >&6; }
42812 if test -n "$PKG_CONFIG"; then
42813 if test -n "$HILDON_CFLAGS"; then
42814 pkg_cv_HILDON_CFLAGS
="$HILDON_CFLAGS"
42816 if test -n "$PKG_CONFIG" && \
42817 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
42818 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
42820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42821 (exit $ac_status); }; then
42822 pkg_cv_HILDON_CFLAGS
=`$PKG_CONFIG --cflags "hildon-lgpl >= 0.9" 2>/dev/null`
42830 if test -n "$PKG_CONFIG"; then
42831 if test -n "$HILDON_LIBS"; then
42832 pkg_cv_HILDON_LIBS
="$HILDON_LIBS"
42834 if test -n "$PKG_CONFIG" && \
42835 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
42836 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
42838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42839 (exit $ac_status); }; then
42840 pkg_cv_HILDON_LIBS
=`$PKG_CONFIG --libs "hildon-lgpl >= 0.9" 2>/dev/null`
42851 if test $pkg_failed = yes; then
42853 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
42854 _pkg_short_errors_supported
=yes
42856 _pkg_short_errors_supported
=no
42858 if test $_pkg_short_errors_supported = yes; then
42859 HILDON_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
42861 HILDON_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
42863 # Put the nasty error message in config.log where it belongs
42864 echo "$HILDON_PKG_ERRORS" >&5
42867 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
42868 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
42869 wxUSE_LIBHILDON
="no"
42872 elif test $pkg_failed = untried
; then
42874 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
42875 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
42876 wxUSE_LIBHILDON
="no"
42880 HILDON_CFLAGS
=$pkg_cv_HILDON_CFLAGS
42881 HILDON_LIBS
=$pkg_cv_HILDON_LIBS
42882 { echo "$as_me:$LINENO: result: yes" >&5
42883 echo "${ECHO_T}yes" >&6; }
42885 EXTRALIBS_HILDON
="$HILDON_LIBS"
42886 CFLAGS
="$CFLAGS $HILDON_CFLAGS"
42887 CXXFLAGS
="$CXXFLAGS $HILDON_CFLAGS"
42888 cat >>confdefs.h
<<\_ACEOF
42889 #define wxUSE_LIBHILDON 1
42897 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
42898 cat >>confdefs.h
<<\_ACEOF
42899 #define wxUSE_CMDLINE_PARSER 1
42904 if test "$wxUSE_STOPWATCH" = "yes"; then
42905 cat >>confdefs.h
<<\_ACEOF
42906 #define wxUSE_STOPWATCH 1
42911 if test "$wxUSE_DATETIME" = "yes"; then
42912 cat >>confdefs.h
<<\_ACEOF
42913 #define wxUSE_DATETIME 1
42918 if test "$wxUSE_FILE" = "yes"; then
42919 cat >>confdefs.h
<<\_ACEOF
42920 #define wxUSE_FILE 1
42925 if test "$wxUSE_FFILE" = "yes"; then
42926 cat >>confdefs.h
<<\_ACEOF
42927 #define wxUSE_FFILE 1
42932 if test "$wxUSE_ARCHIVE_STREAMS" = "yes"; then
42933 if test "$wxUSE_STREAMS" != yes; then
42934 { echo "$as_me:$LINENO: WARNING: wxArchive requires wxStreams... disabled" >&5
42935 echo "$as_me: WARNING: wxArchive requires wxStreams... disabled" >&2;}
42936 wxUSE_ARCHIVE_STREAMS
=no
42938 cat >>confdefs.h
<<\_ACEOF
42939 #define wxUSE_ARCHIVE_STREAMS 1
42945 if test "$wxUSE_ZIPSTREAM" = "yes"; then
42946 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
42947 { echo "$as_me:$LINENO: WARNING: wxZip requires wxArchive... disabled" >&5
42948 echo "$as_me: WARNING: wxZip requires wxArchive... disabled" >&2;}
42949 elif test "$wxUSE_ZLIB" = "no"; then
42950 { echo "$as_me:$LINENO: WARNING: wxZip requires wxZlib... disabled" >&5
42951 echo "$as_me: WARNING: wxZip requires wxZlib... disabled" >&2;}
42953 cat >>confdefs.h
<<\_ACEOF
42954 #define wxUSE_ZIPSTREAM 1
42960 if test "$wxUSE_TARSTREAM" = "yes"; then
42961 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
42962 { echo "$as_me:$LINENO: WARNING: wxTar requires wxArchive... disabled" >&5
42963 echo "$as_me: WARNING: wxTar requires wxArchive... disabled" >&2;}
42965 cat >>confdefs.h
<<\_ACEOF
42966 #define wxUSE_TARSTREAM 1
42972 if test "$wxUSE_FILESYSTEM" = "yes"; then
42973 if test "$wxUSE_STREAMS" != yes -o \
( "$wxUSE_FILE" != yes -a "$wxUSE_FFILE" != yes \
); then
42974 { echo "$as_me:$LINENO: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&5
42975 echo "$as_me: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&2;}
42976 wxUSE_FILESYSTEM
=no
42978 cat >>confdefs.h
<<\_ACEOF
42979 #define wxUSE_FILESYSTEM 1
42985 if test "$wxUSE_FS_ARCHIVE" = "yes"; then
42986 if test "$wxUSE_FILESYSTEM" != yes -o "$wxUSE_ARCHIVE_STREAMS" != yes; then
42987 { echo "$as_me:$LINENO: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&5
42988 echo "$as_me: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&2;}
42990 cat >>confdefs.h
<<\_ACEOF
42991 #define wxUSE_FS_ARCHIVE 1
42997 if test "$wxUSE_FS_ZIP" = "yes"; then
42998 if test "$wxUSE_FS_ARCHIVE" != yes; then
42999 { echo "$as_me:$LINENO: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&5
43000 echo "$as_me: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&2;}
43002 cat >>confdefs.h
<<\_ACEOF
43003 #define wxUSE_FS_ZIP 1
43009 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
43010 if test "$USE_UNIX" != 1; then
43011 { echo "$as_me:$LINENO: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&5
43012 echo "$as_me: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&2;}
43013 wxUSE_ON_FATAL_EXCEPTION
=no
43015 cat >>confdefs.h
<<\_ACEOF
43016 #define wxUSE_ON_FATAL_EXCEPTION 1
43022 if test "$wxUSE_STACKWALKER" = "yes"; then
43023 cat >>confdefs.h
<<\_ACEOF
43024 #define wxUSE_STACKWALKER 1
43029 if test "$wxUSE_DEBUGREPORT" = "yes"; then
43030 if test "$USE_UNIX" != 1 -a "$USE_WIN32" != 1; then
43031 { echo "$as_me:$LINENO: WARNING: Creating debug reports not currently supported on this system, disabled" >&5
43032 echo "$as_me: WARNING: Creating debug reports not currently supported on this system, disabled" >&2;}
43033 wxUSE_DEBUGREPORT
=no
43035 cat >>confdefs.h
<<\_ACEOF
43036 #define wxUSE_DEBUGREPORT 1
43039 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
43040 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS debugrpt"
43045 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
43046 cat >>confdefs.h
<<\_ACEOF
43047 #define wxUSE_SNGLINST_CHECKER 1
43052 if test "$wxUSE_BUSYINFO" = "yes"; then
43053 cat >>confdefs.h
<<\_ACEOF
43054 #define wxUSE_BUSYINFO 1
43059 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
43060 cat >>confdefs.h
<<\_ACEOF
43061 #define wxUSE_STD_IOSTREAM 1
43066 if test "$wxUSE_STD_STRING" = "yes"; then
43067 cat >>confdefs.h
<<\_ACEOF
43068 #define wxUSE_STD_STRING 1
43073 if test "$wxUSE_STDPATHS" = "yes"; then
43074 cat >>confdefs.h
<<\_ACEOF
43075 #define wxUSE_STDPATHS 1
43080 if test "$wxUSE_TEXTBUFFER" = "yes"; then
43081 cat >>confdefs.h
<<\_ACEOF
43082 #define wxUSE_TEXTBUFFER 1
43087 if test "$wxUSE_TEXTFILE" = "yes"; then
43088 if test "$wxUSE_FILE" != "yes" -o "$wxUSE_TEXTBUFFER" != "yes" ; then
43089 { echo "$as_me:$LINENO: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&5
43090 echo "$as_me: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&2;}
43092 cat >>confdefs.h
<<\_ACEOF
43093 #define wxUSE_TEXTFILE 1
43099 if test "$wxUSE_CONFIG" = "yes" ; then
43100 if test "$wxUSE_TEXTFILE" != "yes"; then
43101 { echo "$as_me:$LINENO: WARNING: wxConfig requires wxTextFile... disabled" >&5
43102 echo "$as_me: WARNING: wxConfig requires wxTextFile... disabled" >&2;}
43104 cat >>confdefs.h
<<\_ACEOF
43105 #define wxUSE_CONFIG 1
43108 cat >>confdefs.h
<<\_ACEOF
43109 #define wxUSE_CONFIG_NATIVE 1
43112 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS config"
43116 if test "$wxUSE_INTL" = "yes" ; then
43117 if test "$wxUSE_FILE" != "yes"; then
43118 { echo "$as_me:$LINENO: WARNING: I18n code requires wxFile... disabled" >&5
43119 echo "$as_me: WARNING: I18n code requires wxFile... disabled" >&2;}
43121 cat >>confdefs.h
<<\_ACEOF
43122 #define wxUSE_INTL 1
43125 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS internat"
43126 GUIDIST
="$GUIDIST INTL_DIST"
43130 if test "$wxUSE_XLOCALE" == "yes" ; then
43131 cat >>confdefs.h
<<\_ACEOF
43132 #define wxUSE_XLOCALE 1
43135 { echo "$as_me:$LINENO: checking for locale_t" >&5
43136 echo $ECHO_N "checking for locale_t... $ECHO_C" >&6; }
43137 if test "${ac_cv_type_locale_t+set}" = set; then
43138 echo $ECHO_N "(cached) $ECHO_C" >&6
43140 cat >conftest.
$ac_ext <<_ACEOF
43143 cat confdefs.h
>>conftest.
$ac_ext
43144 cat >>conftest.
$ac_ext <<_ACEOF
43145 /* end confdefs.h. */
43146 #include <xlocale.h>
43147 #include <locale.h>
43149 typedef locale_t ac__type_new_;
43153 if ((ac__type_new_ *) 0)
43155 if (sizeof (ac__type_new_))
43161 rm -f conftest.
$ac_objext
43162 if { (ac_try
="$ac_compile"
43163 case "(($ac_try" in
43164 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
43165 *) ac_try_echo=$ac_try;;
43167 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43168 (eval "$ac_compile") 2>conftest.er1
43170 grep -v '^ *+' conftest.er1 >conftest.err
43172 cat conftest.err >&5
43173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43174 (exit $ac_status); } && {
43175 test -z "$ac_c_werror_flag" ||
43176 test ! -s conftest.err
43177 } && test -s conftest.$ac_objext; then
43178 ac_cv_type_locale_t=yes
43180 echo "$as_me: failed program was:" >&5
43181 sed 's/^/| /' conftest.$ac_ext >&5
43183 ac_cv_type_locale_t=no
43186 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43188 { echo "$as_me:$LINENO: result: $ac_cv_type_locale_t" >&5
43189 echo "${ECHO_T}$ac_cv_type_locale_t" >&6; }
43190 if test $ac_cv_type_locale_t = yes; then
43192 cat >>confdefs.h <<_ACEOF
43193 #define HAVE_LOCALE_T 1
43201 if test "$wxUSE_LOG" = "yes"; then
43202 cat >>confdefs.h <<\_ACEOF
43203 #define wxUSE_LOG 1
43207 if test "$wxUSE_LOGGUI" = "yes"; then
43208 cat >>confdefs.h <<\_ACEOF
43209 #define wxUSE_LOGGUI 1
43214 if test "$wxUSE_LOGWINDOW" = "yes"; then
43215 cat >>confdefs.h <<\_ACEOF
43216 #define wxUSE_LOGWINDOW 1
43221 if test "$wxUSE_LOGDIALOG" = "yes"; then
43222 cat >>confdefs.h <<\_ACEOF
43223 #define wxUSE_LOG_DIALOG 1
43228 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS keyboard"
43231 if test "$wxUSE_LONGLONG" = "yes"; then
43232 cat >>confdefs.h <<\_ACEOF
43233 #define wxUSE_LONGLONG 1
43238 if test "$wxUSE_GEOMETRY" = "yes"; then
43239 cat >>confdefs.h <<\_ACEOF
43240 #define wxUSE_GEOMETRY 1
43245 if test "$wxUSE_BASE64" = "yes"; then
43246 cat >>confdefs.h <<\_ACEOF
43247 #define wxUSE_BASE64 1
43252 if test "$wxUSE_STREAMS" = "yes" ; then
43253 cat >>confdefs.h <<\_ACEOF
43254 #define wxUSE_STREAMS 1
43259 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
43260 cat >>confdefs.h <<\_ACEOF
43261 #define wxUSE_PRINTF_POS_PARAMS 1
43266 if test "$wxUSE_OBJC_UNIQUIFYING" = "yes"; then
43267 cat >>confdefs.h <<\_ACEOF
43268 #define wxUSE_OBJC_UNIQUIFYING 1
43274 if test "$wxUSE_CONSOLE_EVENTLOOP" = "yes"; then
43275 cat >>confdefs.h <<\_ACEOF
43276 #define wxUSE_CONSOLE_EVENTLOOP 1
43280 if test "$wxUSE_UNIX" = "yes"; then
43281 if test "$wxUSE_SELECT_DISPATCHER" = "yes"; then
43282 cat >>confdefs.h <<\_ACEOF
43283 #define wxUSE_SELECT_DISPATCHER 1
43288 if test "$wxUSE_EPOLL_DISPATCHER" = "yes"; then
43290 for ac_header in sys/epoll.h
43292 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
43293 { echo "$as_me:$LINENO: checking for $ac_header" >&5
43294 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
43295 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
43296 echo $ECHO_N "(cached) $ECHO_C" >&6
43298 cat >conftest.$ac_ext <<_ACEOF
43301 cat confdefs.h >>conftest.$ac_ext
43302 cat >>conftest.$ac_ext <<_ACEOF
43303 /* end confdefs.h. */
43304 $ac_includes_default
43306 #include <$ac_header>
43308 rm -f conftest.$ac_objext
43309 if { (ac_try="$ac_compile"
43310 case "(($ac_try" in
43311 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
43312 *) ac_try_echo
=$ac_try;;
43314 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43315 (eval "$ac_compile") 2>conftest.er1
43317 grep -v '^ *+' conftest.er1
>conftest.err
43319 cat conftest.err
>&5
43320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43321 (exit $ac_status); } && {
43322 test -z "$ac_c_werror_flag" ||
43323 test ! -s conftest.err
43324 } && test -s conftest.
$ac_objext; then
43325 eval "$as_ac_Header=yes"
43327 echo "$as_me: failed program was:" >&5
43328 sed 's/^/| /' conftest.
$ac_ext >&5
43330 eval "$as_ac_Header=no"
43333 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
43335 ac_res
=`eval echo '${'$as_ac_Header'}'`
43336 { echo "$as_me:$LINENO: result: $ac_res" >&5
43337 echo "${ECHO_T}$ac_res" >&6; }
43338 if test `eval echo '${'$as_ac_Header'}'` = yes; then
43339 cat >>confdefs.h
<<_ACEOF
43340 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
43347 if test "$ac_cv_header_sys_epoll_h" = "yes"; then
43348 cat >>confdefs.h
<<\_ACEOF
43349 #define wxUSE_EPOLL_DISPATCHER 1
43353 { echo "$as_me:$LINENO: WARNING: sys/epoll.h not available, wxEpollDispatcher disabled" >&5
43354 echo "$as_me: WARNING: sys/epoll.h not available, wxEpollDispatcher disabled" >&2;}
43363 for ac_func
in gettimeofday ftime
43365 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43366 { echo "$as_me:$LINENO: checking for $ac_func" >&5
43367 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
43368 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
43369 echo $ECHO_N "(cached) $ECHO_C" >&6
43371 cat >conftest.
$ac_ext <<_ACEOF
43374 cat confdefs.h
>>conftest.
$ac_ext
43375 cat >>conftest.
$ac_ext <<_ACEOF
43376 /* end confdefs.h. */
43377 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43378 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43379 #define $ac_func innocuous_$ac_func
43381 /* System header to define __stub macros and hopefully few prototypes,
43382 which can conflict with char $ac_func (); below.
43383 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43384 <limits.h> exists even on freestanding compilers. */
43387 # include <limits.h>
43389 # include <assert.h>
43394 /* Override any GCC internal prototype to avoid an error.
43395 Use char because int might match the return type of a GCC
43396 builtin and then its argument prototype would still apply. */
43401 /* The GNU C library defines this for functions which it implements
43402 to always fail with ENOSYS. Some functions are actually named
43403 something starting with __ and the normal name is an alias. */
43404 #if defined __stub_$ac_func || defined __stub___$ac_func
43411 return $ac_func ();
43416 rm -f conftest.
$ac_objext conftest
$ac_exeext
43417 if { (ac_try
="$ac_link"
43418 case "(($ac_try" in
43419 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
43420 *) ac_try_echo=$ac_try;;
43422 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43423 (eval "$ac_link") 2>conftest.er1
43425 grep -v '^ *+' conftest.er1 >conftest.err
43427 cat conftest.err >&5
43428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43429 (exit $ac_status); } && {
43430 test -z "$ac_c_werror_flag" ||
43431 test ! -s conftest.err
43432 } && test -s conftest$ac_exeext &&
43433 $as_test_x conftest$ac_exeext; then
43434 eval "$as_ac_var=yes"
43436 echo "$as_me: failed program was:" >&5
43437 sed 's/^/| /' conftest.$ac_ext >&5
43439 eval "$as_ac_var=no"
43442 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43443 conftest$ac_exeext conftest.$ac_ext
43445 ac_res=`eval echo '${'$as_ac_var'}'`
43446 { echo "$as_me:$LINENO: result: $ac_res" >&5
43447 echo "${ECHO_T}$ac_res" >&6; }
43448 if test `eval echo '${'$as_ac_var'}'` = yes; then
43449 cat >>confdefs.h <<_ACEOF
43450 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43457 if test "$ac_cv_func_gettimeofday" = "yes"; then
43458 { echo "$as_me:$LINENO: checking whether gettimeofday takes two arguments" >&5
43459 echo $ECHO_N "checking whether gettimeofday takes two arguments... $ECHO_C" >&6; }
43460 if test "${wx_cv_func_gettimeofday_has_2_args+set}" = set; then
43461 echo $ECHO_N "(cached) $ECHO_C" >&6
43464 cat >conftest.$ac_ext <<_ACEOF
43467 cat confdefs.h >>conftest.$ac_ext
43468 cat >>conftest.$ac_ext <<_ACEOF
43469 /* end confdefs.h. */
43471 #include <sys/time.h>
43472 #include <unistd.h>
43479 gettimeofday(&tv, NULL);
43485 rm -f conftest.$ac_objext
43486 if { (ac_try="$ac_compile"
43487 case "(($ac_try" in
43488 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
43489 *) ac_try_echo
=$ac_try;;
43491 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43492 (eval "$ac_compile") 2>conftest.er1
43494 grep -v '^ *+' conftest.er1
>conftest.err
43496 cat conftest.err
>&5
43497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43498 (exit $ac_status); } && {
43499 test -z "$ac_c_werror_flag" ||
43500 test ! -s conftest.err
43501 } && test -s conftest.
$ac_objext; then
43502 wx_cv_func_gettimeofday_has_2_args
=yes
43504 echo "$as_me: failed program was:" >&5
43505 sed 's/^/| /' conftest.
$ac_ext >&5
43507 cat >conftest.
$ac_ext <<_ACEOF
43510 cat confdefs.h
>>conftest.
$ac_ext
43511 cat >>conftest.
$ac_ext <<_ACEOF
43512 /* end confdefs.h. */
43514 #include <sys/time.h>
43515 #include <unistd.h>
43528 rm -f conftest.
$ac_objext
43529 if { (ac_try
="$ac_compile"
43530 case "(($ac_try" in
43531 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
43532 *) ac_try_echo=$ac_try;;
43534 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43535 (eval "$ac_compile") 2>conftest.er1
43537 grep -v '^ *+' conftest.er1 >conftest.err
43539 cat conftest.err >&5
43540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43541 (exit $ac_status); } && {
43542 test -z "$ac_c_werror_flag" ||
43543 test ! -s conftest.err
43544 } && test -s conftest.$ac_objext; then
43545 wx_cv_func_gettimeofday_has_2_args=no
43547 echo "$as_me: failed program was:" >&5
43548 sed 's/^/| /' conftest.$ac_ext >&5
43551 { echo "$as_me:$LINENO: WARNING: failed to determine number of gettimeofday() arguments" >&5
43552 echo "$as_me: WARNING: failed to determine number of gettimeofday() arguments" >&2;}
43553 wx_cv_func_gettimeofday_has_2_args=unknown
43558 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43562 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43565 { echo "$as_me:$LINENO: result: $wx_cv_func_gettimeofday_has_2_args" >&5
43566 echo "${ECHO_T}$wx_cv_func_gettimeofday_has_2_args" >&6; }
43568 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
43569 cat >>confdefs.h <<\_ACEOF
43570 #define WX_GETTIMEOFDAY_NO_TZ 1
43576 if test "$wxUSE_DATETIME" = "yes"; then
43577 { echo "$as_me:$LINENO: checking for strptime" >&5
43578 echo $ECHO_N "checking for strptime... $ECHO_C" >&6; }
43579 if test "${ac_cv_func_strptime+set}" = set; then
43580 echo $ECHO_N "(cached) $ECHO_C" >&6
43582 cat >conftest.$ac_ext <<_ACEOF
43585 cat confdefs.h >>conftest.$ac_ext
43586 cat >>conftest.$ac_ext <<_ACEOF
43587 /* end confdefs.h. */
43588 /* Define strptime to an innocuous variant, in case <limits.h> declares strptime.
43589 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43590 #define strptime innocuous_strptime
43592 /* System header to define __stub macros and hopefully few prototypes,
43593 which can conflict with char strptime (); below.
43594 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43595 <limits.h> exists even on freestanding compilers. */
43598 # include <limits.h>
43600 # include <assert.h>
43605 /* Override any GCC internal prototype to avoid an error.
43606 Use char because int might match the return type of a GCC
43607 builtin and then its argument prototype would still apply. */
43612 /* The GNU C library defines this for functions which it implements
43613 to always fail with ENOSYS. Some functions are actually named
43614 something starting with __ and the normal name is an alias. */
43615 #if defined __stub_strptime || defined __stub___strptime
43622 return strptime ();
43627 rm -f conftest.$ac_objext conftest$ac_exeext
43628 if { (ac_try="$ac_link"
43629 case "(($ac_try" in
43630 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
43631 *) ac_try_echo
=$ac_try;;
43633 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43634 (eval "$ac_link") 2>conftest.er1
43636 grep -v '^ *+' conftest.er1
>conftest.err
43638 cat conftest.err
>&5
43639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43640 (exit $ac_status); } && {
43641 test -z "$ac_c_werror_flag" ||
43642 test ! -s conftest.err
43643 } && test -s conftest
$ac_exeext &&
43644 $as_test_x conftest
$ac_exeext; then
43645 ac_cv_func_strptime
=yes
43647 echo "$as_me: failed program was:" >&5
43648 sed 's/^/| /' conftest.
$ac_ext >&5
43650 ac_cv_func_strptime
=no
43653 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
43654 conftest
$ac_exeext conftest.
$ac_ext
43656 { echo "$as_me:$LINENO: result: $ac_cv_func_strptime" >&5
43657 echo "${ECHO_T}$ac_cv_func_strptime" >&6; }
43659 if test "$ac_cv_func_strptime" = "yes"; then
43660 { echo "$as_me:$LINENO: checking for strptime declaration" >&5
43661 echo $ECHO_N "checking for strptime declaration... $ECHO_C" >&6; }
43662 if test "${wx_cv_func_strptime_decl+set}" = set; then
43663 echo $ECHO_N "(cached) $ECHO_C" >&6
43667 ac_cpp
='$CXXCPP $CPPFLAGS'
43668 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43669 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43670 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
43672 cat >conftest.
$ac_ext <<_ACEOF
43675 cat confdefs.h
>>conftest.
$ac_ext
43676 cat >>conftest.
$ac_ext <<_ACEOF
43677 /* end confdefs.h. */
43686 strptime("foo", "bar", &t);
43692 rm -f conftest.
$ac_objext
43693 if { (ac_try
="$ac_compile"
43694 case "(($ac_try" in
43695 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
43696 *) ac_try_echo=$ac_try;;
43698 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43699 (eval "$ac_compile") 2>conftest.er1
43701 grep -v '^ *+' conftest.er1 >conftest.err
43703 cat conftest.err >&5
43704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43705 (exit $ac_status); } && {
43706 test -z "$ac_cxx_werror_flag" ||
43707 test ! -s conftest.err
43708 } && test -s conftest.$ac_objext; then
43709 wx_cv_func_strptime_decl=yes
43711 echo "$as_me: failed program was:" >&5
43712 sed 's/^/| /' conftest.$ac_ext >&5
43714 wx_cv_func_strptime_decl=no
43718 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43720 ac_cpp='$CPP $CPPFLAGS'
43721 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43722 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43723 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43728 { echo "$as_me:$LINENO: result: $wx_cv_func_strptime_decl" >&5
43729 echo "${ECHO_T}$wx_cv_func_strptime_decl" >&6; }
43731 if test "$wx_cv_func_strptime_decl" = "yes"; then
43732 cat >>confdefs.h <<\_ACEOF
43733 #define HAVE_STRPTIME_DECL 1
43737 wx_strptime_decl="extern char *strptime(const char *, const char *, struct tm *);"
43739 if test "$ac_cv_func_strptime" = "yes"; then
43740 { echo "$as_me:$LINENO: checking whether strptime() fails on invalid strings" >&5
43741 echo $ECHO_N "checking whether strptime() fails on invalid strings... $ECHO_C" >&6; }
43742 if test "${wx_cv_func_strptime_ok+set}" = set; then
43743 echo $ECHO_N "(cached) $ECHO_C" >&6
43745 if test "$cross_compiling" = yes; then
43746 wx_cv_func_strptime_ok=no
43749 cat >conftest.$ac_ext <<_ACEOF
43751 #include <stdlib.h>
43753 #include "confdefs.h"
43760 return !!strptime("", "%x", &t);
43764 rm -f conftest$ac_exeext
43765 if { (ac_try="$ac_link"
43766 case "(($ac_try" in
43767 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
43768 *) ac_try_echo
=$ac_try;;
43770 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43771 (eval "$ac_link") 2>&5
43773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43774 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
43775 { (case "(($ac_try" in
43776 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
43777 *) ac_try_echo=$ac_try;;
43779 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43780 (eval "$ac_try") 2>&5
43782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43783 (exit $ac_status); }; }; then
43784 wx_cv_func_strptime_ok=yes
43786 echo "$as_me: program exited with status $ac_status" >&5
43787 echo "$as_me: failed program was:" >&5
43788 sed 's/^/| /' conftest.$ac_ext >&5
43790 ( exit $ac_status )
43791 wx_cv_func_strptime_ok=no
43793 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
43799 { echo "$as_me:$LINENO: result: $wx_cv_func_strptime_ok" >&5
43800 echo "${ECHO_T}$wx_cv_func_strptime_ok" >&6; }
43802 if test "$wx_cv_func_strptime_ok" = "yes"; then
43803 cat >>confdefs.h <<\_ACEOF
43804 #define HAVE_STRPTIME 1
43810 { echo "$as_me:$LINENO: checking for timezone variable in <time.h>" >&5
43811 echo $ECHO_N "checking for timezone variable in <time.h>... $ECHO_C" >&6; }
43812 if test "${wx_cv_var_timezone+set}" = set; then
43813 echo $ECHO_N "(cached) $ECHO_C" >&6
43817 ac_cpp='$CXXCPP $CPPFLAGS'
43818 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43819 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43820 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43822 cat >conftest.$ac_ext <<_ACEOF
43825 cat confdefs.h >>conftest.$ac_ext
43826 cat >>conftest.$ac_ext <<_ACEOF
43827 /* end confdefs.h. */
43842 rm -f conftest.$ac_objext
43843 if { (ac_try="$ac_compile"
43844 case "(($ac_try" in
43845 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
43846 *) ac_try_echo
=$ac_try;;
43848 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43849 (eval "$ac_compile") 2>conftest.er1
43851 grep -v '^ *+' conftest.er1
>conftest.err
43853 cat conftest.err
>&5
43854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43855 (exit $ac_status); } && {
43856 test -z "$ac_cxx_werror_flag" ||
43857 test ! -s conftest.err
43858 } && test -s conftest.
$ac_objext; then
43860 wx_cv_var_timezone
=timezone
43863 echo "$as_me: failed program was:" >&5
43864 sed 's/^/| /' conftest.
$ac_ext >&5
43867 cat >conftest.
$ac_ext <<_ACEOF
43870 cat confdefs.h
>>conftest.
$ac_ext
43871 cat >>conftest.
$ac_ext <<_ACEOF
43872 /* end confdefs.h. */
43887 rm -f conftest.
$ac_objext
43888 if { (ac_try
="$ac_compile"
43889 case "(($ac_try" in
43890 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
43891 *) ac_try_echo=$ac_try;;
43893 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43894 (eval "$ac_compile") 2>conftest.er1
43896 grep -v '^ *+' conftest.er1 >conftest.err
43898 cat conftest.err >&5
43899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43900 (exit $ac_status); } && {
43901 test -z "$ac_cxx_werror_flag" ||
43902 test ! -s conftest.err
43903 } && test -s conftest.$ac_objext; then
43905 wx_cv_var_timezone=_timezone
43908 echo "$as_me: failed program was:" >&5
43909 sed 's/^/| /' conftest.$ac_ext >&5
43912 cat >conftest.$ac_ext <<_ACEOF
43915 cat confdefs.h >>conftest.$ac_ext
43916 cat >>conftest.$ac_ext <<_ACEOF
43917 /* end confdefs.h. */
43932 rm -f conftest.$ac_objext
43933 if { (ac_try="$ac_compile"
43934 case "(($ac_try" in
43935 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
43936 *) ac_try_echo
=$ac_try;;
43938 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43939 (eval "$ac_compile") 2>conftest.er1
43941 grep -v '^ *+' conftest.er1
>conftest.err
43943 cat conftest.err
>&5
43944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43945 (exit $ac_status); } && {
43946 test -z "$ac_cxx_werror_flag" ||
43947 test ! -s conftest.err
43948 } && test -s conftest.
$ac_objext; then
43950 wx_cv_var_timezone
=__timezone
43953 echo "$as_me: failed program was:" >&5
43954 sed 's/^/| /' conftest.
$ac_ext >&5
43957 if test "$USE_DOS" = 0 ; then
43958 { echo "$as_me:$LINENO: WARNING: no timezone variable" >&5
43959 echo "$as_me: WARNING: no timezone variable" >&2;}
43965 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
43970 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
43975 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
43977 ac_cpp
='$CPP $CPPFLAGS'
43978 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43979 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43980 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
43985 { echo "$as_me:$LINENO: result: $wx_cv_var_timezone" >&5
43986 echo "${ECHO_T}$wx_cv_var_timezone" >&6; }
43988 if test "x$wx_cv_var_timezone" != x
; then
43989 cat >>confdefs.h
<<_ACEOF
43990 #define WX_TIMEZONE $wx_cv_var_timezone
43996 for ac_func
in localtime
43998 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43999 { echo "$as_me:$LINENO: checking for $ac_func" >&5
44000 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
44001 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
44002 echo $ECHO_N "(cached) $ECHO_C" >&6
44004 cat >conftest.
$ac_ext <<_ACEOF
44007 cat confdefs.h
>>conftest.
$ac_ext
44008 cat >>conftest.
$ac_ext <<_ACEOF
44009 /* end confdefs.h. */
44010 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44011 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44012 #define $ac_func innocuous_$ac_func
44014 /* System header to define __stub macros and hopefully few prototypes,
44015 which can conflict with char $ac_func (); below.
44016 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44017 <limits.h> exists even on freestanding compilers. */
44020 # include <limits.h>
44022 # include <assert.h>
44027 /* Override any GCC internal prototype to avoid an error.
44028 Use char because int might match the return type of a GCC
44029 builtin and then its argument prototype would still apply. */
44034 /* The GNU C library defines this for functions which it implements
44035 to always fail with ENOSYS. Some functions are actually named
44036 something starting with __ and the normal name is an alias. */
44037 #if defined __stub_$ac_func || defined __stub___$ac_func
44044 return $ac_func ();
44049 rm -f conftest.
$ac_objext conftest
$ac_exeext
44050 if { (ac_try
="$ac_link"
44051 case "(($ac_try" in
44052 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
44053 *) ac_try_echo=$ac_try;;
44055 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44056 (eval "$ac_link") 2>conftest.er1
44058 grep -v '^ *+' conftest.er1 >conftest.err
44060 cat conftest.err >&5
44061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44062 (exit $ac_status); } && {
44063 test -z "$ac_c_werror_flag" ||
44064 test ! -s conftest.err
44065 } && test -s conftest$ac_exeext &&
44066 $as_test_x conftest$ac_exeext; then
44067 eval "$as_ac_var=yes"
44069 echo "$as_me: failed program was:" >&5
44070 sed 's/^/| /' conftest.$ac_ext >&5
44072 eval "$as_ac_var=no"
44075 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
44076 conftest$ac_exeext conftest.$ac_ext
44078 ac_res=`eval echo '${'$as_ac_var'}'`
44079 { echo "$as_me:$LINENO: result: $ac_res" >&5
44080 echo "${ECHO_T}$ac_res" >&6; }
44081 if test `eval echo '${'$as_ac_var'}'` = yes; then
44082 cat >>confdefs.h <<_ACEOF
44083 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44090 if test "$ac_cv_func_localtime" = "yes"; then
44091 { echo "$as_me:$LINENO: checking for tm_gmtoff in struct tm" >&5
44092 echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6; }
44093 if test "${wx_cv_struct_tm_has_gmtoff+set}" = set; then
44094 echo $ECHO_N "(cached) $ECHO_C" >&6
44097 cat >conftest.$ac_ext <<_ACEOF
44100 cat confdefs.h >>conftest.$ac_ext
44101 cat >>conftest.$ac_ext <<_ACEOF
44102 /* end confdefs.h. */
44117 rm -f conftest.$ac_objext
44118 if { (ac_try="$ac_compile"
44119 case "(($ac_try" in
44120 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
44121 *) ac_try_echo
=$ac_try;;
44123 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44124 (eval "$ac_compile") 2>conftest.er1
44126 grep -v '^ *+' conftest.er1
>conftest.err
44128 cat conftest.err
>&5
44129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44130 (exit $ac_status); } && {
44131 test -z "$ac_c_werror_flag" ||
44132 test ! -s conftest.err
44133 } && test -s conftest.
$ac_objext; then
44135 wx_cv_struct_tm_has_gmtoff
=yes
44138 echo "$as_me: failed program was:" >&5
44139 sed 's/^/| /' conftest.
$ac_ext >&5
44141 wx_cv_struct_tm_has_gmtoff
=no
44145 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
44148 { echo "$as_me:$LINENO: result: $wx_cv_struct_tm_has_gmtoff" >&5
44149 echo "${ECHO_T}$wx_cv_struct_tm_has_gmtoff" >&6; }
44152 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
44153 cat >>confdefs.h
<<\_ACEOF
44154 #define WX_GMTOFF_IN_TM 1
44159 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS typetest"
44163 if test "$wxUSE_SOCKETS" = "yes"; then
44164 if test "$wxUSE_MGL" = 1; then
44165 { echo "$as_me:$LINENO: WARNING: wxSocket not yet supported under MGL... disabled" >&5
44166 echo "$as_me: WARNING: wxSocket not yet supported under MGL... disabled" >&2;}
44171 if test "$wxUSE_SOCKETS" = "yes"; then
44172 if test "$TOOLKIT" != "MSW"; then
44173 { echo "$as_me:$LINENO: checking for socket" >&5
44174 echo $ECHO_N "checking for socket... $ECHO_C" >&6; }
44175 if test "${ac_cv_func_socket+set}" = set; then
44176 echo $ECHO_N "(cached) $ECHO_C" >&6
44178 cat >conftest.
$ac_ext <<_ACEOF
44181 cat confdefs.h
>>conftest.
$ac_ext
44182 cat >>conftest.
$ac_ext <<_ACEOF
44183 /* end confdefs.h. */
44184 /* Define socket to an innocuous variant, in case <limits.h> declares socket.
44185 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44186 #define socket innocuous_socket
44188 /* System header to define __stub macros and hopefully few prototypes,
44189 which can conflict with char socket (); below.
44190 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44191 <limits.h> exists even on freestanding compilers. */
44194 # include <limits.h>
44196 # include <assert.h>
44201 /* Override any GCC internal prototype to avoid an error.
44202 Use char because int might match the return type of a GCC
44203 builtin and then its argument prototype would still apply. */
44208 /* The GNU C library defines this for functions which it implements
44209 to always fail with ENOSYS. Some functions are actually named
44210 something starting with __ and the normal name is an alias. */
44211 #if defined __stub_socket || defined __stub___socket
44223 rm -f conftest.
$ac_objext conftest
$ac_exeext
44224 if { (ac_try
="$ac_link"
44225 case "(($ac_try" in
44226 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
44227 *) ac_try_echo=$ac_try;;
44229 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44230 (eval "$ac_link") 2>conftest.er1
44232 grep -v '^ *+' conftest.er1 >conftest.err
44234 cat conftest.err >&5
44235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44236 (exit $ac_status); } && {
44237 test -z "$ac_c_werror_flag" ||
44238 test ! -s conftest.err
44239 } && test -s conftest$ac_exeext &&
44240 $as_test_x conftest$ac_exeext; then
44241 ac_cv_func_socket=yes
44243 echo "$as_me: failed program was:" >&5
44244 sed 's/^/| /' conftest.$ac_ext >&5
44246 ac_cv_func_socket=no
44249 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
44250 conftest$ac_exeext conftest.$ac_ext
44252 { echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5
44253 echo "${ECHO_T}$ac_cv_func_socket" >&6; }
44254 if test $ac_cv_func_socket = yes; then
44258 { echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
44259 echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6; }
44260 if test "${ac_cv_lib_socket_socket+set}" = set; then
44261 echo $ECHO_N "(cached) $ECHO_C" >&6
44263 ac_check_lib_save_LIBS=$LIBS
44264 LIBS="-lsocket $LIBS"
44265 cat >conftest.$ac_ext <<_ACEOF
44268 cat confdefs.h >>conftest.$ac_ext
44269 cat >>conftest.$ac_ext <<_ACEOF
44270 /* end confdefs.h. */
44272 /* Override any GCC internal prototype to avoid an error.
44273 Use char because int might match the return type of a GCC
44274 builtin and then its argument prototype would still apply. */
44287 rm -f conftest.$ac_objext conftest$ac_exeext
44288 if { (ac_try="$ac_link"
44289 case "(($ac_try" in
44290 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
44291 *) ac_try_echo
=$ac_try;;
44293 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44294 (eval "$ac_link") 2>conftest.er1
44296 grep -v '^ *+' conftest.er1
>conftest.err
44298 cat conftest.err
>&5
44299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44300 (exit $ac_status); } && {
44301 test -z "$ac_c_werror_flag" ||
44302 test ! -s conftest.err
44303 } && test -s conftest
$ac_exeext &&
44304 $as_test_x conftest
$ac_exeext; then
44305 ac_cv_lib_socket_socket
=yes
44307 echo "$as_me: failed program was:" >&5
44308 sed 's/^/| /' conftest.
$ac_ext >&5
44310 ac_cv_lib_socket_socket
=no
44313 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
44314 conftest
$ac_exeext conftest.
$ac_ext
44315 LIBS
=$ac_check_lib_save_LIBS
44317 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
44318 echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6; }
44319 if test $ac_cv_lib_socket_socket = yes; then
44320 if test "$INET_LINK" != " -lsocket"; then
44321 INET_LINK
="$INET_LINK -lsocket"
44325 { echo "$as_me:$LINENO: WARNING: socket library not found - sockets will be disabled" >&5
44326 echo "$as_me: WARNING: socket library not found - sockets will be disabled" >&2;}
44339 if test "$wxUSE_SOCKETS" = "yes" ; then
44340 if test "$TOOLKIT" != "MSW"; then
44341 { echo "$as_me:$LINENO: checking what is the type of the third argument of getsockname" >&5
44342 echo $ECHO_N "checking what is the type of the third argument of getsockname... $ECHO_C" >&6; }
44343 if test "${wx_cv_type_getsockname3+set}" = set; then
44344 echo $ECHO_N "(cached) $ECHO_C" >&6
44348 ac_cpp
='$CXXCPP $CPPFLAGS'
44349 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44350 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44351 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
44353 cat >conftest.
$ac_ext <<_ACEOF
44356 cat confdefs.h
>>conftest.
$ac_ext
44357 cat >>conftest.
$ac_ext <<_ACEOF
44358 /* end confdefs.h. */
44360 #include <sys/types.h>
44361 #include <sys/socket.h>
44368 getsockname(0, 0, &len);
44374 rm -f conftest.
$ac_objext
44375 if { (ac_try
="$ac_compile"
44376 case "(($ac_try" in
44377 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
44378 *) ac_try_echo=$ac_try;;
44380 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44381 (eval "$ac_compile") 2>conftest.er1
44383 grep -v '^ *+' conftest.er1 >conftest.err
44385 cat conftest.err >&5
44386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44387 (exit $ac_status); } && {
44388 test -z "$ac_cxx_werror_flag" ||
44389 test ! -s conftest.err
44390 } && test -s conftest.$ac_objext; then
44391 wx_cv_type_getsockname3=socklen_t
44393 echo "$as_me: failed program was:" >&5
44394 sed 's/^/| /' conftest.$ac_ext >&5
44397 CFLAGS_OLD="$CFLAGS"
44398 if test "$GCC" = yes ; then
44399 CFLAGS="-Werror $CFLAGS"
44402 cat >conftest.$ac_ext <<_ACEOF
44405 cat confdefs.h >>conftest.$ac_ext
44406 cat >>conftest.$ac_ext <<_ACEOF
44407 /* end confdefs.h. */
44409 #include <sys/types.h>
44410 #include <sys/socket.h>
44417 getsockname(0, 0, &len);
44423 rm -f conftest.$ac_objext
44424 if { (ac_try="$ac_compile"
44425 case "(($ac_try" in
44426 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
44427 *) ac_try_echo
=$ac_try;;
44429 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44430 (eval "$ac_compile") 2>conftest.er1
44432 grep -v '^ *+' conftest.er1
>conftest.err
44434 cat conftest.err
>&5
44435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44436 (exit $ac_status); } && {
44437 test -z "$ac_cxx_werror_flag" ||
44438 test ! -s conftest.err
44439 } && test -s conftest.
$ac_objext; then
44440 wx_cv_type_getsockname3
=size_t
44442 echo "$as_me: failed program was:" >&5
44443 sed 's/^/| /' conftest.
$ac_ext >&5
44445 cat >conftest.
$ac_ext <<_ACEOF
44448 cat confdefs.h
>>conftest.
$ac_ext
44449 cat >>conftest.
$ac_ext <<_ACEOF
44450 /* end confdefs.h. */
44452 #include <sys/types.h>
44453 #include <sys/socket.h>
44460 getsockname(0, 0, &len);
44466 rm -f conftest.
$ac_objext
44467 if { (ac_try
="$ac_compile"
44468 case "(($ac_try" in
44469 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
44470 *) ac_try_echo=$ac_try;;
44472 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44473 (eval "$ac_compile") 2>conftest.er1
44475 grep -v '^ *+' conftest.er1 >conftest.err
44477 cat conftest.err >&5
44478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44479 (exit $ac_status); } && {
44480 test -z "$ac_cxx_werror_flag" ||
44481 test ! -s conftest.err
44482 } && test -s conftest.$ac_objext; then
44483 wx_cv_type_getsockname3=int
44485 echo "$as_me: failed program was:" >&5
44486 sed 's/^/| /' conftest.$ac_ext >&5
44488 wx_cv_type_getsockname3=unknown
44492 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44496 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44498 CFLAGS="$CFLAGS_OLD"
44503 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44505 ac_cpp='$CPP $CPPFLAGS'
44506 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44507 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44508 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44512 { echo "$as_me:$LINENO: result: $wx_cv_type_getsockname3" >&5
44513 echo "${ECHO_T}$wx_cv_type_getsockname3" >&6; }
44515 if test "$wx_cv_type_getsockname3" = "unknown"; then
44517 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
44518 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
44520 cat >>confdefs.h <<_ACEOF
44521 #define WX_SOCKLEN_T $wx_cv_type_getsockname3
44525 { echo "$as_me:$LINENO: checking what is the type of the fifth argument of getsockopt" >&5
44526 echo $ECHO_N "checking what is the type of the fifth argument of getsockopt... $ECHO_C" >&6; }
44527 if test "${wx_cv_type_getsockopt5+set}" = set; then
44528 echo $ECHO_N "(cached) $ECHO_C" >&6
44532 ac_cpp='$CXXCPP $CPPFLAGS'
44533 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44534 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44535 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44537 cat >conftest.$ac_ext <<_ACEOF
44540 cat confdefs.h >>conftest.$ac_ext
44541 cat >>conftest.$ac_ext <<_ACEOF
44542 /* end confdefs.h. */
44544 #include <sys/types.h>
44545 #include <sys/socket.h>
44552 getsockopt(0, 0, 0, 0, &len);
44558 rm -f conftest.$ac_objext
44559 if { (ac_try="$ac_compile"
44560 case "(($ac_try" in
44561 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
44562 *) ac_try_echo
=$ac_try;;
44564 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44565 (eval "$ac_compile") 2>conftest.er1
44567 grep -v '^ *+' conftest.er1
>conftest.err
44569 cat conftest.err
>&5
44570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44571 (exit $ac_status); } && {
44572 test -z "$ac_cxx_werror_flag" ||
44573 test ! -s conftest.err
44574 } && test -s conftest.
$ac_objext; then
44575 wx_cv_type_getsockopt5
=socklen_t
44577 echo "$as_me: failed program was:" >&5
44578 sed 's/^/| /' conftest.
$ac_ext >&5
44581 cat >conftest.
$ac_ext <<_ACEOF
44584 cat confdefs.h
>>conftest.
$ac_ext
44585 cat >>conftest.
$ac_ext <<_ACEOF
44586 /* end confdefs.h. */
44588 #include <sys/types.h>
44589 #include <sys/socket.h>
44596 getsockopt(0, 0, 0, 0, &len);
44602 rm -f conftest.
$ac_objext
44603 if { (ac_try
="$ac_compile"
44604 case "(($ac_try" in
44605 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
44606 *) ac_try_echo=$ac_try;;
44608 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44609 (eval "$ac_compile") 2>conftest.er1
44611 grep -v '^ *+' conftest.er1 >conftest.err
44613 cat conftest.err >&5
44614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44615 (exit $ac_status); } && {
44616 test -z "$ac_cxx_werror_flag" ||
44617 test ! -s conftest.err
44618 } && test -s conftest.$ac_objext; then
44619 wx_cv_type_getsockopt5=size_t
44621 echo "$as_me: failed program was:" >&5
44622 sed 's/^/| /' conftest.$ac_ext >&5
44624 cat >conftest.$ac_ext <<_ACEOF
44627 cat confdefs.h >>conftest.$ac_ext
44628 cat >>conftest.$ac_ext <<_ACEOF
44629 /* end confdefs.h. */
44631 #include <sys/types.h>
44632 #include <sys/socket.h>
44639 getsockopt(0, 0, 0, 0, &len);
44645 rm -f conftest.$ac_objext
44646 if { (ac_try="$ac_compile"
44647 case "(($ac_try" in
44648 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
44649 *) ac_try_echo
=$ac_try;;
44651 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44652 (eval "$ac_compile") 2>conftest.er1
44654 grep -v '^ *+' conftest.er1
>conftest.err
44656 cat conftest.err
>&5
44657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44658 (exit $ac_status); } && {
44659 test -z "$ac_cxx_werror_flag" ||
44660 test ! -s conftest.err
44661 } && test -s conftest.
$ac_objext; then
44662 wx_cv_type_getsockopt5
=int
44664 echo "$as_me: failed program was:" >&5
44665 sed 's/^/| /' conftest.
$ac_ext >&5
44667 wx_cv_type_getsockopt5
=unknown
44671 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
44675 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
44680 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
44682 ac_cpp
='$CPP $CPPFLAGS'
44683 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44684 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44685 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
44689 { echo "$as_me:$LINENO: result: $wx_cv_type_getsockopt5" >&5
44690 echo "${ECHO_T}$wx_cv_type_getsockopt5" >&6; }
44692 if test "$wx_cv_type_getsockopt5" = "unknown"; then
44694 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
44695 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
44697 cat >>confdefs.h
<<_ACEOF
44698 #define SOCKOPTLEN_T $wx_cv_type_getsockopt5
44705 if test "$wxUSE_SOCKETS" = "yes" ; then
44706 if test "$wxUSE_IPV6" = "yes"; then
44707 { echo "$as_me:$LINENO: checking whether we have sockaddr_in6" >&5
44708 echo $ECHO_N "checking whether we have sockaddr_in6... $ECHO_C" >&6; }
44709 if test "${wx_cv_type_sockaddr_in6+set}" = set; then
44710 echo $ECHO_N "(cached) $ECHO_C" >&6
44713 cat >conftest.
$ac_ext <<_ACEOF
44716 cat confdefs.h
>>conftest.
$ac_ext
44717 cat >>conftest.
$ac_ext <<_ACEOF
44718 /* end confdefs.h. */
44720 #include <sys/types.h>
44721 #include <sys/socket.h>
44722 #include <netinet/in.h>
44728 struct sockaddr_in6 sa6;
44734 rm -f conftest.
$ac_objext
44735 if { (ac_try
="$ac_compile"
44736 case "(($ac_try" in
44737 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
44738 *) ac_try_echo=$ac_try;;
44740 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44741 (eval "$ac_compile") 2>conftest.er1
44743 grep -v '^ *+' conftest.er1 >conftest.err
44745 cat conftest.err >&5
44746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44747 (exit $ac_status); } && {
44748 test -z "$ac_c_werror_flag" ||
44749 test ! -s conftest.err
44750 } && test -s conftest.$ac_objext; then
44751 wx_cv_type_sockaddr_in6=yes
44753 echo "$as_me: failed program was:" >&5
44754 sed 's/^/| /' conftest.$ac_ext >&5
44756 wx_cv_type_sockaddr_in6=no
44760 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44764 { echo "$as_me:$LINENO: result: $wx_cv_type_sockaddr_in6" >&5
44765 echo "${ECHO_T}$wx_cv_type_sockaddr_in6" >&6; }
44767 if test "$wx_cv_type_sockaddr_in6"="yes"; then
44768 cat >>confdefs.h <<\_ACEOF
44769 #define wxUSE_IPV6 1
44773 { echo "$as_me:$LINENO: WARNING: IPv6 support not available... disabled" >&5
44774 echo "$as_me: WARNING: IPv6 support not available... disabled" >&2;}
44778 cat >>confdefs.h <<\_ACEOF
44779 #define wxUSE_SOCKETS 1
44782 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sockets"
44785 if test "$wxUSE_PROTOCOL" = "yes"; then
44786 if test "$wxUSE_SOCKETS" != "yes"; then
44787 { echo "$as_me:$LINENO: WARNING: Protocol classes require sockets... disabled" >&5
44788 echo "$as_me: WARNING: Protocol classes require sockets... disabled" >&2;}
44793 if test "$wxUSE_PROTOCOL" = "yes"; then
44794 cat >>confdefs.h <<\_ACEOF
44795 #define wxUSE_PROTOCOL 1
44799 if test "$wxUSE_PROTOCOL_HTTP" = "yes"; then
44800 cat >>confdefs.h <<\_ACEOF
44801 #define wxUSE_PROTOCOL_HTTP 1
44805 if test "$wxUSE_PROTOCOL_FTP" = "yes"; then
44806 cat >>confdefs.h <<\_ACEOF
44807 #define wxUSE_PROTOCOL_FTP 1
44811 if test "$wxUSE_PROTOCOL_FILE" = "yes"; then
44812 cat >>confdefs.h <<\_ACEOF
44813 #define wxUSE_PROTOCOL_FILE 1
44818 if test "$wxUSE_FS_INET" = "yes"; then
44819 { echo "$as_me:$LINENO: WARNING: HTTP filesystem require protocol classes... disabled" >&5
44820 echo "$as_me: WARNING: HTTP filesystem require protocol classes... disabled" >&2;}
44825 if test "$wxUSE_URL" = "yes"; then
44826 if test "$wxUSE_PROTOCOL" != "yes"; then
44827 { echo "$as_me:$LINENO: WARNING: wxURL class requires wxProtocol... disabled" >&5
44828 echo "$as_me: WARNING: wxURL class requires wxProtocol... disabled" >&2;}
44831 if test "$wxUSE_URL" = "yes"; then
44832 cat >>confdefs.h <<\_ACEOF
44833 #define wxUSE_URL 1
44839 if test "$wxUSE_VARIANT" = "yes"; then
44840 cat >>confdefs.h <<\_ACEOF
44841 #define wxUSE_VARIANT 1
44846 if test "$wxUSE_FS_INET" = "yes"; then
44847 cat >>confdefs.h <<\_ACEOF
44848 #define wxUSE_FS_INET 1
44854 if test "$wxUSE_GUI" = "yes" -a "$wxUSE_JOYSTICK" = "yes"; then
44857 if test "$TOOLKIT" = "MSW"; then
44860 elif test "$TOOLKIT" = "MAC" -o "$TOOLKIT" = "COCOA"; then
44861 if test "$USE_DARWIN" = 1; then
44862 { echo "$as_me:$LINENO: checking headers have declarations needed for joystick support" >&5
44863 echo $ECHO_N "checking headers have declarations needed for joystick support... $ECHO_C" >&6; }
44865 ac_cpp='$CXXCPP $CPPFLAGS'
44866 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44867 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44868 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44870 cat >conftest.$ac_ext <<_ACEOF
44873 cat confdefs.h >>conftest.$ac_ext
44874 cat >>conftest.$ac_ext <<_ACEOF
44875 /* end confdefs.h. */
44876 #include <IOKit/hid/IOHIDLib.h>
44880 IOHIDQueueInterface *qi = NULL;
44881 IOHIDCallbackFunction cb = NULL;
44882 qi->setEventCallout(NULL, cb, NULL, NULL);
44887 rm -f conftest.$ac_objext
44888 if { (ac_try="$ac_compile"
44889 case "(($ac_try" in
44890 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
44891 *) ac_try_echo
=$ac_try;;
44893 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44894 (eval "$ac_compile") 2>conftest.er1
44896 grep -v '^ *+' conftest.er1
>conftest.err
44898 cat conftest.err
>&5
44899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44900 (exit $ac_status); } && {
44901 test -z "$ac_cxx_werror_flag" ||
44902 test ! -s conftest.err
44903 } && test -s conftest.
$ac_objext; then
44907 echo "$as_me: failed program was:" >&5
44908 sed 's/^/| /' conftest.
$ac_ext >&5
44913 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
44915 ac_cpp
='$CPP $CPPFLAGS'
44916 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44917 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44918 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
44920 { echo "$as_me:$LINENO: result: $wxUSE_JOYSTICK" >&5
44921 echo "${ECHO_T}$wxUSE_JOYSTICK" >&6; }
44925 if test "$wxUSE_MGL" != 1; then
44927 for ac_header
in linux
/joystick.h
44929 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
44930 { echo "$as_me:$LINENO: checking for $ac_header" >&5
44931 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
44932 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
44933 echo $ECHO_N "(cached) $ECHO_C" >&6
44935 cat >conftest.
$ac_ext <<_ACEOF
44938 cat confdefs.h
>>conftest.
$ac_ext
44939 cat >>conftest.
$ac_ext <<_ACEOF
44940 /* end confdefs.h. */
44941 $ac_includes_default
44943 #include <$ac_header>
44945 rm -f conftest.
$ac_objext
44946 if { (ac_try
="$ac_compile"
44947 case "(($ac_try" in
44948 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
44949 *) ac_try_echo=$ac_try;;
44951 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44952 (eval "$ac_compile") 2>conftest.er1
44954 grep -v '^ *+' conftest.er1 >conftest.err
44956 cat conftest.err >&5
44957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44958 (exit $ac_status); } && {
44959 test -z "$ac_c_werror_flag" ||
44960 test ! -s conftest.err
44961 } && test -s conftest.$ac_objext; then
44962 eval "$as_ac_Header=yes"
44964 echo "$as_me: failed program was:" >&5
44965 sed 's/^/| /' conftest.$ac_ext >&5
44967 eval "$as_ac_Header=no"
44970 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44972 ac_res=`eval echo '${'$as_ac_Header'}'`
44973 { echo "$as_me:$LINENO: result: $ac_res" >&5
44974 echo "${ECHO_T}$ac_res" >&6; }
44975 if test `eval echo '${'$as_ac_Header'}'` = yes; then
44976 cat >>confdefs.h <<_ACEOF
44977 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
44987 if test "$wxUSE_JOYSTICK" = "yes"; then
44988 cat >>confdefs.h <<\_ACEOF
44989 #define wxUSE_JOYSTICK 1
44992 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS joytest"
44994 { echo "$as_me:$LINENO: WARNING: Joystick not supported by this system... disabled" >&5
44995 echo "$as_me: WARNING: Joystick not supported by this system... disabled" >&2;}
45001 if test "$wxUSE_FONTENUM" = "yes" ; then
45002 cat >>confdefs.h <<\_ACEOF
45003 #define wxUSE_FONTENUM 1
45008 if test "$wxUSE_FONTMAP" = "yes" ; then
45009 cat >>confdefs.h <<\_ACEOF
45010 #define wxUSE_FONTMAP 1
45015 if test "$wxUSE_UNICODE" = "yes" ; then
45016 cat >>confdefs.h <<\_ACEOF
45017 #define wxUSE_UNICODE 1
45021 if test "$USE_WIN32" != 1; then
45022 wxUSE_UNICODE_MSLU=no
45025 if test "$USE_WIN32" = 1 -a "$wxUSE_UNICODE_MSLU" = "yes"; then
45026 { echo "$as_me:$LINENO: checking for main in -lunicows" >&5
45027 echo $ECHO_N "checking for main in -lunicows... $ECHO_C" >&6; }
45028 if test "${ac_cv_lib_unicows_main+set}" = set; then
45029 echo $ECHO_N "(cached) $ECHO_C" >&6
45031 ac_check_lib_save_LIBS=$LIBS
45032 LIBS="-lunicows $LIBS"
45033 cat >conftest.$ac_ext <<_ACEOF
45036 cat confdefs.h >>conftest.$ac_ext
45037 cat >>conftest.$ac_ext <<_ACEOF
45038 /* end confdefs.h. */
45049 rm -f conftest.$ac_objext conftest$ac_exeext
45050 if { (ac_try="$ac_link"
45051 case "(($ac_try" in
45052 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
45053 *) ac_try_echo
=$ac_try;;
45055 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45056 (eval "$ac_link") 2>conftest.er1
45058 grep -v '^ *+' conftest.er1
>conftest.err
45060 cat conftest.err
>&5
45061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45062 (exit $ac_status); } && {
45063 test -z "$ac_c_werror_flag" ||
45064 test ! -s conftest.err
45065 } && test -s conftest
$ac_exeext &&
45066 $as_test_x conftest
$ac_exeext; then
45067 ac_cv_lib_unicows_main
=yes
45069 echo "$as_me: failed program was:" >&5
45070 sed 's/^/| /' conftest.
$ac_ext >&5
45072 ac_cv_lib_unicows_main
=no
45075 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
45076 conftest
$ac_exeext conftest.
$ac_ext
45077 LIBS
=$ac_check_lib_save_LIBS
45079 { echo "$as_me:$LINENO: result: $ac_cv_lib_unicows_main" >&5
45080 echo "${ECHO_T}$ac_cv_lib_unicows_main" >&6; }
45081 if test $ac_cv_lib_unicows_main = yes; then
45083 cat >>confdefs.h
<<\_ACEOF
45084 #define wxUSE_UNICODE_MSLU 1
45090 { echo "$as_me:$LINENO: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
45091 Applications will only run on Windows NT/2000/XP!" >&5
45092 echo "$as_me: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
45093 Applications will only run on Windows NT/2000/XP!" >&2;}
45094 wxUSE_UNICODE_MSLU
=no
45101 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_UTF8" = "yes"; then
45102 cat >>confdefs.h
<<\_ACEOF
45103 #define wxUSE_UNICODE_UTF8 1
45107 if test "$wxUSE_UNICODE_UTF8_LOCALE" = "yes"; then
45108 cat >>confdefs.h
<<\_ACEOF
45109 #define wxUSE_UTF8_LOCALE_ONLY 1
45116 if test "$wxUSE_CONSTRAINTS" = "yes"; then
45117 cat >>confdefs.h
<<\_ACEOF
45118 #define wxUSE_CONSTRAINTS 1
45121 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS layout"
45124 if test "$wxUSE_MDI" = "yes"; then
45125 cat >>confdefs.h
<<\_ACEOF
45126 #define wxUSE_MDI 1
45130 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
45131 cat >>confdefs.h
<<\_ACEOF
45132 #define wxUSE_MDI_ARCHITECTURE 1
45135 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS mdi"
45139 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
45140 cat >>confdefs.h
<<\_ACEOF
45141 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
45144 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS docview"
45145 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
45146 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS docvwmdi"
45150 if test "$wxUSE_HELP" = "yes"; then
45151 cat >>confdefs.h
<<\_ACEOF
45152 #define wxUSE_HELP 1
45155 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS help"
45157 if test "$wxUSE_MSW" = 1; then
45158 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
45159 cat >>confdefs.h
<<\_ACEOF
45160 #define wxUSE_MS_HTML_HELP 1
45166 if test "$wxUSE_WXHTML_HELP" = "yes"; then
45167 if test "$wxUSE_HTML" = "yes"; then
45168 cat >>confdefs.h
<<\_ACEOF
45169 #define wxUSE_WXHTML_HELP 1
45173 { echo "$as_me:$LINENO: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&5
45174 echo "$as_me: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&2;}
45175 wxUSE_WXHTML_HELP
=no
45180 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
45181 if test "$wxUSE_CONSTRAINTS" != "yes"; then
45182 { echo "$as_me:$LINENO: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&5
45183 echo "$as_me: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&2;}
45185 cat >>confdefs.h
<<\_ACEOF
45186 #define wxUSE_PRINTING_ARCHITECTURE 1
45190 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS printing"
45193 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
45194 cat >>confdefs.h
<<\_ACEOF
45195 #define wxUSE_POSTSCRIPT 1
45200 cat >>confdefs.h
<<\_ACEOF
45201 #define wxUSE_AFM_FOR_POSTSCRIPT 1
45205 if test "$wxUSE_SVG" = "yes"; then
45206 cat >>confdefs.h
<<\_ACEOF
45207 #define wxUSE_SVG 1
45213 if test "$wxUSE_METAFILE" = "yes"; then
45214 if test "$wxUSE_MSW" != 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_PM" != 1; then
45215 { echo "$as_me:$LINENO: WARNING: wxMetafile is not available on this system... disabled" >&5
45216 echo "$as_me: WARNING: wxMetafile is not available on this system... disabled" >&2;}
45222 if test "$USE_WIN32" = 1 -a \
( "$wxUSE_DATAOBJ" = "yes" \
45223 -o "$wxUSE_CLIPBOARD" = "yes" \
45224 -o "$wxUSE_OLE" = "yes" \
45225 -o "$wxUSE_DRAG_AND_DROP" = "yes" \
) ; then
45226 { echo "$as_me:$LINENO: checking for ole2.h" >&5
45227 echo $ECHO_N "checking for ole2.h... $ECHO_C" >&6; }
45228 if test "${ac_cv_header_ole2_h+set}" = set; then
45229 echo $ECHO_N "(cached) $ECHO_C" >&6
45231 cat >conftest.
$ac_ext <<_ACEOF
45234 cat confdefs.h
>>conftest.
$ac_ext
45235 cat >>conftest.
$ac_ext <<_ACEOF
45236 /* end confdefs.h. */
45241 rm -f conftest.
$ac_objext
45242 if { (ac_try
="$ac_compile"
45243 case "(($ac_try" in
45244 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
45245 *) ac_try_echo=$ac_try;;
45247 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45248 (eval "$ac_compile") 2>conftest.er1
45250 grep -v '^ *+' conftest.er1 >conftest.err
45252 cat conftest.err >&5
45253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45254 (exit $ac_status); } && {
45255 test -z "$ac_c_werror_flag" ||
45256 test ! -s conftest.err
45257 } && test -s conftest.$ac_objext; then
45258 ac_cv_header_ole2_h=yes
45260 echo "$as_me: failed program was:" >&5
45261 sed 's/^/| /' conftest.$ac_ext >&5
45263 ac_cv_header_ole2_h=no
45266 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45268 { echo "$as_me:$LINENO: result: $ac_cv_header_ole2_h" >&5
45269 echo "${ECHO_T}$ac_cv_header_ole2_h" >&6; }
45273 if test "$ac_cv_header_ole2_h" = "yes" ; then
45274 if test "$GCC" = yes ; then
45275 { echo "$as_me:$LINENO: checking if g++ requires -fvtable-thunks" >&5
45276 echo $ECHO_N "checking if g++ requires -fvtable-thunks... $ECHO_C" >&6; }
45277 cat >conftest.$ac_ext <<_ACEOF
45280 cat confdefs.h >>conftest.$ac_ext
45281 cat >>conftest.$ac_ext <<_ACEOF
45282 /* end confdefs.h. */
45283 #include <windows.h>
45293 rm -f conftest.$ac_objext
45294 if { (ac_try="$ac_compile"
45295 case "(($ac_try" in
45296 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
45297 *) ac_try_echo
=$ac_try;;
45299 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45300 (eval "$ac_compile") 2>conftest.er1
45302 grep -v '^ *+' conftest.er1
>conftest.err
45304 cat conftest.err
>&5
45305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45306 (exit $ac_status); } && {
45307 test -z "$ac_c_werror_flag" ||
45308 test ! -s conftest.err
45309 } && test -s conftest.
$ac_objext; then
45310 { echo "$as_me:$LINENO: result: no" >&5
45311 echo "${ECHO_T}no" >&6; }
45313 echo "$as_me: failed program was:" >&5
45314 sed 's/^/| /' conftest.
$ac_ext >&5
45316 { echo "$as_me:$LINENO: result: yes" >&5
45317 echo "${ECHO_T}yes" >&6; }
45318 WXCONFIG_CXXFLAGS
="$WXCONFIG_CXXFLAGS -fvtable-thunks"
45321 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
45322 LIBS
=" -lrpcrt4 -loleaut32 -lole32 -luuid$LIBS"
45323 if test "$wxUSE_OLE" = "yes" ; then
45324 cat >>confdefs.h
<<\_ACEOF
45325 #define wxUSE_OLE 1
45328 cat >>confdefs.h
<<\_ACEOF
45329 #define wxUSE_OLE_AUTOMATION 1
45332 cat >>confdefs.h
<<\_ACEOF
45333 #define wxUSE_ACTIVEX 1
45336 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS oleauto"
45340 if test "$wxUSE_DATAOBJ" = "yes" ; then
45341 cat >>confdefs.h
<<\_ACEOF
45342 #define wxUSE_DATAOBJ 1
45347 { echo "$as_me:$LINENO: WARNING: Some features disabled because OLE headers not found" >&5
45348 echo "$as_me: WARNING: Some features disabled because OLE headers not found" >&2;}
45351 wxUSE_DRAG_AND_DROP
=no
45356 if test "$wxUSE_METAFILE" = "yes"; then
45357 cat >>confdefs.h
<<\_ACEOF
45358 #define wxUSE_METAFILE 1
45362 cat >>confdefs.h
<<\_ACEOF
45363 #define wxUSE_ENH_METAFILE 1
45369 if test "$wxUSE_IPC" = "yes"; then
45370 if test "$wxUSE_SOCKETS" != "yes" -a "$USE_WIN32" != 1; then
45371 { echo "$as_me:$LINENO: WARNING: wxWidgets IPC classes require sockets... disabled" >&5
45372 echo "$as_me: WARNING: wxWidgets IPC classes require sockets... disabled" >&2;}
45376 if test "$wxUSE_IPC" = "yes"; then
45377 cat >>confdefs.h
<<\_ACEOF
45378 #define wxUSE_IPC 1
45381 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS ipc"
45385 if test "$wxUSE_DATAOBJ" = "yes"; then
45386 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = 1; then
45387 { echo "$as_me:$LINENO: WARNING: wxDataObject not yet supported under $TOOLKIT... disabled" >&5
45388 echo "$as_me: WARNING: wxDataObject not yet supported under $TOOLKIT... disabled" >&2;}
45391 cat >>confdefs.h
<<\_ACEOF
45392 #define wxUSE_DATAOBJ 1
45397 { echo "$as_me:$LINENO: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&5
45398 echo "$as_me: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&2;}
45400 wxUSE_DRAG_AND_DROP
=no
45403 if test "$wxUSE_CLIPBOARD" = "yes"; then
45404 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = 1; then
45405 { echo "$as_me:$LINENO: WARNING: Clipboard not yet supported under $TOOLKIT... disabled" >&5
45406 echo "$as_me: WARNING: Clipboard not yet supported under $TOOLKIT... disabled" >&2;}
45410 if test "$wxUSE_CLIPBOARD" = "yes"; then
45411 cat >>confdefs.h
<<\_ACEOF
45412 #define wxUSE_CLIPBOARD 1
45418 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
45419 if test "$wxUSE_GTK" = 1; then
45420 if test "$WXGTK12" != 1; then
45421 { echo "$as_me:$LINENO: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&5
45422 echo "$as_me: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&2;}
45423 wxUSE_DRAG_AND_DROP
=no
45427 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_X11" = 1 -o "$wxUSE_MGL" = 1 -o \
45428 "$wxUSE_DFB" = 1; then
45429 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under $TOOLKIT... disabled" >&5
45430 echo "$as_me: WARNING: Drag and drop not yet supported under $TOOLKIT... disabled" >&2;}
45431 wxUSE_DRAG_AND_DROP
=no
45434 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
45435 cat >>confdefs.h
<<\_ACEOF
45436 #define wxUSE_DRAG_AND_DROP 1
45443 if test "$wxUSE_DRAG_AND_DROP" = "yes" -o "$wxUSE_CLIPBOARD" = "yes"; then
45444 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dnd"
45447 if test "$wxUSE_SPLINES" = "yes" ; then
45448 cat >>confdefs.h
<<\_ACEOF
45449 #define wxUSE_SPLINES 1
45454 if test "$wxUSE_MOUSEWHEEL" = "yes" ; then
45455 cat >>confdefs.h
<<\_ACEOF
45456 #define wxUSE_MOUSEWHEEL 1
45463 if test "$wxUSE_CONTROLS" = "yes"; then
45467 if test "$wxUSE_ACCEL" = "yes"; then
45468 cat >>confdefs.h
<<\_ACEOF
45469 #define wxUSE_ACCEL 1
45475 if test "$wxUSE_ANIMATIONCTRL" = "yes"; then
45476 cat >>confdefs.h
<<\_ACEOF
45477 #define wxUSE_ANIMATIONCTRL 1
45481 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS animate"
45484 if test "$wxUSE_BUTTON" = "yes"; then
45485 cat >>confdefs.h
<<\_ACEOF
45486 #define wxUSE_BUTTON 1
45492 if test "$wxUSE_BMPBUTTON" = "yes"; then
45493 cat >>confdefs.h
<<\_ACEOF
45494 #define wxUSE_BMPBUTTON 1
45500 if test "$wxUSE_CALCTRL" = "yes"; then
45501 cat >>confdefs.h
<<\_ACEOF
45502 #define wxUSE_CALENDARCTRL 1
45506 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS calendar"
45509 if test "$wxUSE_CARET" = "yes"; then
45510 cat >>confdefs.h
<<\_ACEOF
45511 #define wxUSE_CARET 1
45515 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS caret"
45518 if test "$wxUSE_COLLPANE" = "yes"; then
45519 cat >>confdefs.h
<<\_ACEOF
45520 #define wxUSE_COLLPANE 1
45524 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS collpane"
45527 if test "$wxUSE_COMBOBOX" = "yes"; then
45528 cat >>confdefs.h
<<\_ACEOF
45529 #define wxUSE_COMBOBOX 1
45535 if test "$wxUSE_COMBOCTRL" = "yes"; then
45536 cat >>confdefs.h
<<\_ACEOF
45537 #define wxUSE_COMBOCTRL 1
45543 if test "$wxUSE_CHOICE" = "yes"; then
45544 cat >>confdefs.h
<<\_ACEOF
45545 #define wxUSE_CHOICE 1
45551 if test "$wxUSE_CHOICEBOOK" = "yes"; then
45552 cat >>confdefs.h
<<\_ACEOF
45553 #define wxUSE_CHOICEBOOK 1
45559 if test "$wxUSE_CHECKBOX" = "yes"; then
45560 cat >>confdefs.h
<<\_ACEOF
45561 #define wxUSE_CHECKBOX 1
45567 if test "$wxUSE_CHECKLST" = "yes"; then
45568 cat >>confdefs.h
<<\_ACEOF
45569 #define wxUSE_CHECKLISTBOX 1
45575 if test "$wxUSE_COLOURPICKERCTRL" = "yes"; then
45576 cat >>confdefs.h
<<\_ACEOF
45577 #define wxUSE_COLOURPICKERCTRL 1
45583 if test "$wxUSE_DATEPICKCTRL" = "yes"; then
45584 cat >>confdefs.h
<<\_ACEOF
45585 #define wxUSE_DATEPICKCTRL 1
45591 if test "$wxUSE_DIRPICKERCTRL" = "yes"; then
45592 cat >>confdefs.h
<<\_ACEOF
45593 #define wxUSE_DIRPICKERCTRL 1
45599 if test "$wxUSE_FILECTRL" = "yes"; then
45600 cat >>confdefs.h
<<\_ACEOF
45601 #define wxUSE_FILECTRL 1
45607 if test "$wxUSE_FILEPICKERCTRL" = "yes"; then
45608 cat >>confdefs.h
<<\_ACEOF
45609 #define wxUSE_FILEPICKERCTRL 1
45615 if test "$wxUSE_FONTPICKERCTRL" = "yes"; then
45616 cat >>confdefs.h
<<\_ACEOF
45617 #define wxUSE_FONTPICKERCTRL 1
45623 if test "$wxUSE_DISPLAY" = "yes"; then
45624 if test "$wxUSE_DFB" = 1 -o "$wxUSE_MGL" = 1; then
45625 { echo "$as_me:$LINENO: WARNING: wxDisplay not yet supported under $TOOLKIT... disabled" >&5
45626 echo "$as_me: WARNING: wxDisplay not yet supported under $TOOLKIT... disabled" >&2;}
45629 cat >>confdefs.h
<<\_ACEOF
45630 #define wxUSE_DISPLAY 1
45633 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS display"
45637 if test "$wxUSE_DETECT_SM" = "yes"; then
45638 cat >>confdefs.h
<<\_ACEOF
45639 #define wxUSE_DETECT_SM 1
45644 if test "$wxUSE_GAUGE" = "yes"; then
45645 cat >>confdefs.h
<<\_ACEOF
45646 #define wxUSE_GAUGE 1
45652 if test "$wxUSE_GRID" = "yes"; then
45653 cat >>confdefs.h
<<\_ACEOF
45654 #define wxUSE_GRID 1
45658 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS grid"
45661 if test "$wxUSE_HYPERLINKCTRL" = "yes"; then
45662 cat >>confdefs.h
<<\_ACEOF
45663 #define wxUSE_HYPERLINKCTRL 1
45669 if test "$wxUSE_BITMAPCOMBOBOX" = "yes"; then
45670 cat >>confdefs.h
<<\_ACEOF
45671 #define wxUSE_BITMAPCOMBOBOX 1
45677 if test "$wxUSE_DATAVIEWCTRL" = "yes"; then
45678 cat >>confdefs.h
<<\_ACEOF
45679 #define wxUSE_DATAVIEWCTRL 1
45683 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dataview"
45686 if test "$wxUSE_IMAGLIST" = "yes"; then
45687 cat >>confdefs.h
<<\_ACEOF
45688 #define wxUSE_IMAGLIST 1
45693 if test "$wxUSE_LISTBOOK" = "yes"; then
45694 cat >>confdefs.h
<<\_ACEOF
45695 #define wxUSE_LISTBOOK 1
45701 if test "$wxUSE_LISTBOX" = "yes"; then
45702 cat >>confdefs.h
<<\_ACEOF
45703 #define wxUSE_LISTBOX 1
45709 if test "$wxUSE_LISTCTRL" = "yes"; then
45710 if test "$wxUSE_IMAGLIST" = "yes"; then
45711 cat >>confdefs.h
<<\_ACEOF
45712 #define wxUSE_LISTCTRL 1
45716 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS listctrl"
45718 { echo "$as_me:$LINENO: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&5
45719 echo "$as_me: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&2;}
45723 if test "$wxUSE_EDITABLELISTBOX" = "yes"; then
45724 cat >>confdefs.h
<<\_ACEOF
45725 #define wxUSE_EDITABLELISTBOX 1
45729 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS editlbox"
45732 if test "$wxUSE_NOTEBOOK" = "yes"; then
45733 cat >>confdefs.h
<<\_ACEOF
45734 #define wxUSE_NOTEBOOK 1
45738 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS notebook"
45741 if test "$wxUSE_NOTIFICATION_MESSAGE" = "yes"; then
45742 cat >>confdefs.h
<<\_ACEOF
45743 #define wxUSE_NOTIFICATION_MESSAGE 1
45748 if test "$wxUSE_ODCOMBOBOX" = "yes"; then
45749 cat >>confdefs.h
<<\_ACEOF
45750 #define wxUSE_ODCOMBOBOX 1
45754 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS combo"
45757 if test "$wxUSE_RADIOBOX" = "yes"; then
45758 cat >>confdefs.h
<<\_ACEOF
45759 #define wxUSE_RADIOBOX 1
45765 if test "$wxUSE_RADIOBTN" = "yes"; then
45766 cat >>confdefs.h
<<\_ACEOF
45767 #define wxUSE_RADIOBTN 1
45773 if test "$wxUSE_SASH" = "yes"; then
45774 cat >>confdefs.h
<<\_ACEOF
45775 #define wxUSE_SASH 1
45778 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sashtest"
45781 if test "$wxUSE_SCROLLBAR" = "yes"; then
45782 cat >>confdefs.h
<<\_ACEOF
45783 #define wxUSE_SCROLLBAR 1
45787 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS scroll scrollsub"
45790 if test "$wxUSE_SEARCHCTRL" = "yes"; then
45791 cat >>confdefs.h
<<\_ACEOF
45792 #define wxUSE_SEARCHCTRL 1
45798 if test "$wxUSE_SLIDER" = "yes"; then
45799 cat >>confdefs.h
<<\_ACEOF
45800 #define wxUSE_SLIDER 1
45806 if test "$wxUSE_SPINBTN" = "yes"; then
45807 cat >>confdefs.h
<<\_ACEOF
45808 #define wxUSE_SPINBTN 1
45814 if test "$wxUSE_SPINCTRL" = "yes"; then
45815 cat >>confdefs.h
<<\_ACEOF
45816 #define wxUSE_SPINCTRL 1
45822 if test "$wxUSE_SPLITTER" = "yes"; then
45823 cat >>confdefs.h
<<\_ACEOF
45824 #define wxUSE_SPLITTER 1
45827 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS splitter"
45830 if test "$wxUSE_STATBMP" = "yes"; then
45831 cat >>confdefs.h
<<\_ACEOF
45832 #define wxUSE_STATBMP 1
45838 if test "$wxUSE_STATBOX" = "yes"; then
45839 cat >>confdefs.h
<<\_ACEOF
45840 #define wxUSE_STATBOX 1
45846 if test "$wxUSE_STATTEXT" = "yes"; then
45847 cat >>confdefs.h
<<\_ACEOF
45848 #define wxUSE_STATTEXT 1
45854 if test "$wxUSE_STATLINE" = "yes"; then
45855 cat >>confdefs.h
<<\_ACEOF
45856 #define wxUSE_STATLINE 1
45862 if test "$wxUSE_STATUSBAR" = "yes"; then
45863 cat >>confdefs.h
<<\_ACEOF
45864 #define wxUSE_NATIVE_STATUSBAR 1
45867 cat >>confdefs.h
<<\_ACEOF
45868 #define wxUSE_STATUSBAR 1
45873 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS statbar"
45876 if test "$wxUSE_TAB_DIALOG" = "yes"; then
45877 cat >>confdefs.h
<<\_ACEOF
45878 #define wxUSE_TAB_DIALOG 1
45883 if test "$wxUSE_TEXTCTRL" = "yes"; then
45884 cat >>confdefs.h
<<\_ACEOF
45885 #define wxUSE_TEXTCTRL 1
45889 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS text"
45891 cat >>confdefs.h
<<\_ACEOF
45892 #define wxUSE_RICHEDIT 1
45895 cat >>confdefs.h
<<\_ACEOF
45896 #define wxUSE_RICHEDIT2 1
45901 if test "$wxUSE_TOGGLEBTN" = "yes"; then
45902 if test "$wxUSE_COCOA" = 1 ; then
45903 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&5
45904 echo "$as_me: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&2;}
45908 if test "$wxUSE_TOGGLEBTN" = "yes"; then
45909 cat >>confdefs.h
<<\_ACEOF
45910 #define wxUSE_TOGGLEBTN 1
45917 if test "$wxUSE_TOOLBAR" = "yes"; then
45918 cat >>confdefs.h
<<\_ACEOF
45919 #define wxUSE_TOOLBAR 1
45924 if test "$wxUSE_UNIVERSAL" = "yes"; then
45925 wxUSE_TOOLBAR_NATIVE
="no"
45927 wxUSE_TOOLBAR_NATIVE
="yes"
45928 cat >>confdefs.h
<<\_ACEOF
45929 #define wxUSE_TOOLBAR_NATIVE 1
45934 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS toolbar"
45937 if test "$wxUSE_TOOLTIPS" = "yes"; then
45938 if test "$wxUSE_MOTIF" = 1; then
45939 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet under Motif... disabled" >&5
45940 echo "$as_me: WARNING: wxTooltip not supported yet under Motif... disabled" >&2;}
45942 if test "$wxUSE_UNIVERSAL" = "yes"; then
45943 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&5
45944 echo "$as_me: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&2;}
45946 cat >>confdefs.h
<<\_ACEOF
45947 #define wxUSE_TOOLTIPS 1
45954 if test "$wxUSE_TREEBOOK" = "yes"; then
45955 cat >>confdefs.h
<<\_ACEOF
45956 #define wxUSE_TREEBOOK 1
45962 if test "$wxUSE_TOOLBOOK" = "yes"; then
45963 cat >>confdefs.h
<<\_ACEOF
45964 #define wxUSE_TOOLBOOK 1
45970 if test "$wxUSE_TREECTRL" = "yes"; then
45971 if test "$wxUSE_IMAGLIST" = "yes"; then
45972 cat >>confdefs.h
<<\_ACEOF
45973 #define wxUSE_TREECTRL 1
45977 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS treectrl"
45979 { echo "$as_me:$LINENO: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&5
45980 echo "$as_me: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&2;}
45984 if test "$wxUSE_POPUPWIN" = "yes"; then
45985 if test "$wxUSE_COCOA" = 1 ; then
45986 { echo "$as_me:$LINENO: WARNING: Popup window not yet supported under Mac OS X... disabled" >&5
45987 echo "$as_me: WARNING: Popup window not yet supported under Mac OS X... disabled" >&2;}
45989 if test "$wxUSE_PM" = 1; then
45990 { echo "$as_me:$LINENO: WARNING: wxPopupWindow not yet supported under PM... disabled" >&5
45991 echo "$as_me: WARNING: wxPopupWindow not yet supported under PM... disabled" >&2;}
45993 cat >>confdefs.h
<<\_ACEOF
45994 #define wxUSE_POPUPWIN 1
45997 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS popup"
46004 if test "$wxUSE_DIALUP_MANAGER" = "yes"; then
46005 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 -o "$wxUSE_MGL" = 1; then
46006 { echo "$as_me:$LINENO: WARNING: Dialup manager not supported on this platform... disabled" >&5
46007 echo "$as_me: WARNING: Dialup manager not supported on this platform... disabled" >&2;}
46009 cat >>confdefs.h
<<\_ACEOF
46010 #define wxUSE_DIALUP_MANAGER 1
46013 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dialup"
46017 if test "$wxUSE_TIPWINDOW" = "yes"; then
46018 if test "$wxUSE_PM" = 1; then
46019 { echo "$as_me:$LINENO: WARNING: wxTipWindow not yet supported under PM... disabled" >&5
46020 echo "$as_me: WARNING: wxTipWindow not yet supported under PM... disabled" >&2;}
46022 cat >>confdefs.h
<<\_ACEOF
46023 #define wxUSE_TIPWINDOW 1
46029 if test "$USES_CONTROLS" = 1; then
46030 cat >>confdefs.h
<<\_ACEOF
46031 #define wxUSE_CONTROLS 1
46037 if test "$wxUSE_ACCESSIBILITY" = "yes"; then
46038 cat >>confdefs.h
<<\_ACEOF
46039 #define wxUSE_ACCESSIBILITY 1
46042 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS access"
46045 if test "$wxUSE_DRAGIMAGE" = "yes"; then
46046 cat >>confdefs.h
<<\_ACEOF
46047 #define wxUSE_DRAGIMAGE 1
46050 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dragimag"
46053 if test "$wxUSE_EXCEPTIONS" = "yes"; then
46054 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
46055 { echo "$as_me:$LINENO: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&5
46056 echo "$as_me: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&2;}
46058 cat >>confdefs.h
<<\_ACEOF
46059 #define wxUSE_EXCEPTIONS 1
46062 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS except"
46067 if test "$wxUSE_HTML" = "yes"; then
46068 cat >>confdefs.h
<<\_ACEOF
46069 #define wxUSE_HTML 1
46073 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS html html/about html/help html/helpview html/printing html/test html/virtual html/widget html/zip htlbox"
46074 if test "$wxUSE_MAC" = 1; then
46075 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS html/htmlctrl"
46078 if test "$wxUSE_WEBKIT" = "yes"; then
46079 if test "$wxUSE_MAC" = 1 -a "$USE_DARWIN" = 1; then
46080 old_CPPFLAGS
="$CPPFLAGS"
46081 CPPFLAGS
="-x objective-c++ $CPPFLAGS"
46082 { echo "$as_me:$LINENO: checking for WebKit/HIWebView.h" >&5
46083 echo $ECHO_N "checking for WebKit/HIWebView.h... $ECHO_C" >&6; }
46084 if test "${ac_cv_header_WebKit_HIWebView_h+set}" = set; then
46085 echo $ECHO_N "(cached) $ECHO_C" >&6
46087 cat >conftest.
$ac_ext <<_ACEOF
46090 cat confdefs.h
>>conftest.
$ac_ext
46091 cat >>conftest.
$ac_ext <<_ACEOF
46092 /* end confdefs.h. */
46094 #include <Carbon/Carbon.h>
46095 #include <WebKit/WebKit.h>
46098 #include <WebKit/HIWebView.h>
46100 rm -f conftest.
$ac_objext
46101 if { (ac_try
="$ac_compile"
46102 case "(($ac_try" in
46103 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
46104 *) ac_try_echo=$ac_try;;
46106 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46107 (eval "$ac_compile") 2>conftest.er1
46109 grep -v '^ *+' conftest.er1 >conftest.err
46111 cat conftest.err >&5
46112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46113 (exit $ac_status); } && {
46114 test -z "$ac_c_werror_flag" ||
46115 test ! -s conftest.err
46116 } && test -s conftest.$ac_objext; then
46117 ac_cv_header_WebKit_HIWebView_h=yes
46119 echo "$as_me: failed program was:" >&5
46120 sed 's/^/| /' conftest.$ac_ext >&5
46122 ac_cv_header_WebKit_HIWebView_h=no
46125 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46127 { echo "$as_me:$LINENO: result: $ac_cv_header_WebKit_HIWebView_h" >&5
46128 echo "${ECHO_T}$ac_cv_header_WebKit_HIWebView_h" >&6; }
46129 if test $ac_cv_header_WebKit_HIWebView_h = yes; then
46131 cat >>confdefs.h <<\_ACEOF
46132 #define wxUSE_WEBKIT 1
46135 WEBKIT_LINK="-framework WebKit"
46139 { echo "$as_me:$LINENO: WARNING: WebKit headers not found; disabling wxWebKit" >&5
46140 echo "$as_me: WARNING: WebKit headers not found; disabling wxWebKit" >&2;}
46146 CPPFLAGS="$old_CPPFLAGS"
46147 elif test "$wxUSE_COCOA" = 1; then
46148 cat >>confdefs.h <<\_ACEOF
46149 #define wxUSE_WEBKIT 1
46158 if test "$wxUSE_XRC" = "yes"; then
46159 if test "$wxUSE_XML" != "yes"; then
46160 { echo "$as_me:$LINENO: WARNING: XML library not built, XRC resources disabled" >&5
46161 echo "$as_me: WARNING: XML library not built, XRC resources disabled" >&2;}
46164 cat >>confdefs.h <<\_ACEOF
46165 #define wxUSE_XRC 1
46169 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS xrc"
46174 if test "$wxUSE_AUI" = "yes"; then
46175 cat >>confdefs.h <<\_ACEOF
46176 #define wxUSE_AUI 1
46180 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS aui"
46184 if test "$wxUSE_STC" = "yes"; then
46185 cat >>confdefs.h <<\_ACEOF
46186 #define wxUSE_STC 1
46190 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS stc"
46193 if test "$wxUSE_MENUS" = "yes"; then
46194 cat >>confdefs.h <<\_ACEOF
46195 #define wxUSE_MENUS 1
46198 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS menu"
46201 if test "$wxUSE_METAFILE" = "yes"; then
46202 cat >>confdefs.h <<\_ACEOF
46203 #define wxUSE_METAFILE 1
46208 if test "$wxUSE_MIMETYPE" = "yes"; then
46209 cat >>confdefs.h <<\_ACEOF
46210 #define wxUSE_MIMETYPE 1
46215 if test "$wxUSE_MINIFRAME" = "yes"; then
46216 cat >>confdefs.h <<\_ACEOF
46217 #define wxUSE_MINIFRAME 1
46222 if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
46223 cat >>confdefs.h <<\_ACEOF
46224 #define wxUSE_SYSTEM_OPTIONS 1
46229 if test "$wxUSE_TASKBARICON" = "yes"; then
46230 cat >>confdefs.h <<\_ACEOF
46231 #define wxUSE_TASKBARICON 1
46234 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS taskbar"
46238 if test "$wxUSE_VALIDATORS" = "yes"; then
46239 cat >>confdefs.h <<\_ACEOF
46240 #define wxUSE_VALIDATORS 1
46243 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS validate"
46246 if test "$wxUSE_PALETTE" = "yes" ; then
46247 if test "$wxUSE_DFB" = 1; then
46248 { echo "$as_me:$LINENO: WARNING: wxPalette not yet supported under DFB... disabled" >&5
46249 echo "$as_me: WARNING: wxPalette not yet supported under DFB... disabled" >&2;}
46252 cat >>confdefs.h <<\_ACEOF
46253 #define wxUSE_PALETTE 1
46259 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_MSLU" = "yes" ; then
46260 LIBS=" -lunicows $LIBS"
46264 if test "$wxUSE_RICHTEXT" = "yes"; then
46265 cat >>confdefs.h <<\_ACEOF
46266 #define wxUSE_RICHTEXT 1
46270 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS richtext"
46274 if test "$wxUSE_IMAGE" = "yes" ; then
46275 cat >>confdefs.h <<\_ACEOF
46276 #define wxUSE_IMAGE 1
46280 if test "$wxUSE_GIF" = "yes" ; then
46281 cat >>confdefs.h <<\_ACEOF
46282 #define wxUSE_GIF 1
46287 if test "$wxUSE_PCX" = "yes" ; then
46288 cat >>confdefs.h <<\_ACEOF
46289 #define wxUSE_PCX 1
46294 if test "$wxUSE_TGA" = "yes" ; then
46295 cat >>confdefs.h <<\_ACEOF
46296 #define wxUSE_TGA 1
46301 if test "$wxUSE_IFF" = "yes" ; then
46302 cat >>confdefs.h <<\_ACEOF
46303 #define wxUSE_IFF 1
46308 if test "$wxUSE_PNM" = "yes" ; then
46309 cat >>confdefs.h <<\_ACEOF
46310 #define wxUSE_PNM 1
46315 if test "$wxUSE_XPM" = "yes" ; then
46316 cat >>confdefs.h <<\_ACEOF
46317 #define wxUSE_XPM 1
46322 if test "$wxUSE_ICO_CUR" = "yes" ; then
46323 cat >>confdefs.h <<\_ACEOF
46324 #define wxUSE_ICO_CUR 1
46331 if test "$wxUSE_ABOUTDLG" = "yes"; then
46332 cat >>confdefs.h <<\_ACEOF
46333 #define wxUSE_ABOUTDLG 1
46338 if test "$wxUSE_CHOICEDLG" = "yes"; then
46339 cat >>confdefs.h <<\_ACEOF
46340 #define wxUSE_CHOICEDLG 1
46345 if test "$wxUSE_COLOURDLG" = "yes"; then
46346 cat >>confdefs.h <<\_ACEOF
46347 #define wxUSE_COLOURDLG 1
46352 if test "$wxUSE_FILEDLG" = "yes"; then
46353 cat >>confdefs.h <<\_ACEOF
46354 #define wxUSE_FILEDLG 1
46359 if test "$wxUSE_FINDREPLDLG" = "yes"; then
46360 cat >>confdefs.h <<\_ACEOF
46361 #define wxUSE_FINDREPLDLG 1
46366 if test "$wxUSE_FONTDLG" = "yes"; then
46367 cat >>confdefs.h <<\_ACEOF
46368 #define wxUSE_FONTDLG 1
46373 if test "$wxUSE_DIRDLG" = "yes"; then
46374 if test "$wxUSE_TREECTRL" != "yes"; then
46375 { echo "$as_me:$LINENO: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&5
46376 echo "$as_me: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&2;}
46378 cat >>confdefs.h <<\_ACEOF
46379 #define wxUSE_DIRDLG 1
46385 if test "$wxUSE_MSGDLG" = "yes"; then
46386 cat >>confdefs.h <<\_ACEOF
46387 #define wxUSE_MSGDLG 1
46392 if test "$wxUSE_NUMBERDLG" = "yes"; then
46393 cat >>confdefs.h <<\_ACEOF
46394 #define wxUSE_NUMBERDLG 1
46399 if test "$wxUSE_PROGRESSDLG" = "yes"; then
46400 if test "$wxUSE_CONSTRAINTS" != "yes"; then
46401 { echo "$as_me:$LINENO: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&5
46402 echo "$as_me: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&2;}
46404 cat >>confdefs.h <<\_ACEOF
46405 #define wxUSE_PROGRESSDLG 1
46411 if test "$wxUSE_SPLASH" = "yes"; then
46412 cat >>confdefs.h <<\_ACEOF
46413 #define wxUSE_SPLASH 1
46416 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splash"
46419 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
46420 if test "$wxUSE_CONSTRAINTS" != "yes"; then
46421 { echo "$as_me:$LINENO: WARNING: Startup tips requires constraints and won't be compiled without them" >&5
46422 echo "$as_me: WARNING: Startup tips requires constraints and won't be compiled without them" >&2;}
46424 cat >>confdefs.h <<\_ACEOF
46425 #define wxUSE_STARTUP_TIPS 1
46431 if test "$wxUSE_TEXTDLG" = "yes"; then
46432 cat >>confdefs.h <<\_ACEOF
46433 #define wxUSE_TEXTDLG 1
46438 if test "$wxUSE_WIZARDDLG" = "yes"; then
46439 cat >>confdefs.h <<\_ACEOF
46440 #define wxUSE_WIZARDDLG 1
46443 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS wizard"
46447 if test "$wxUSE_MSW" = 1 -o "$wxUSE_PM" = 1; then
46448 if test "$wxUSE_OWNER_DRAWN" = "yes"; then
46449 cat >>confdefs.h <<\_ACEOF
46450 #define wxUSE_OWNER_DRAWN 1
46457 if test "$wxUSE_MSW" = 1 ; then
46459 if test "$wxUSE_DC_CACHEING" = "yes"; then
46460 cat >>confdefs.h <<\_ACEOF
46461 #define wxUSE_DC_CACHEING 1
46466 if test "$wxUSE_DIB" = "yes"; then
46467 cat >>confdefs.h <<\_ACEOF
46468 #define wxUSE_WXDIB 1
46473 if test "$wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW" = "yes"; then
46474 cat >>confdefs.h <<\_ACEOF
46475 #define wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW 1
46480 if test "$wxUSE_UXTHEME" = "yes"; then
46481 cat >>confdefs.h <<\_ACEOF
46482 #define wxUSE_UXTHEME 1
46489 if test "$wxUSE_AUTOID_MANAGEMENT" = "yes"; then
46490 cat >>confdefs.h <<\_ACEOF
46491 #define wxUSE_AUTOID_MANAGEMENT 1
46496 if test "$USE_WIN32" = 1 ; then
46497 if test "$wxUSE_INICONF" = "yes"; then
46498 cat >>confdefs.h <<\_ACEOF
46499 #define wxUSE_INICONF 1
46504 if test "$wxUSE_REGKEY" = "yes"; then
46505 cat >>confdefs.h <<\_ACEOF
46506 #define wxUSE_REGKEY 1
46513 if test "$wxUSE_MAC" = 1; then
46514 wxUSE_GRAPHICS_CONTEXT="yes"
46517 if test "$wxUSE_GRAPHICS_CONTEXT" = "yes"; then
46518 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1; then
46519 cat >>confdefs.h <<\_ACEOF
46520 #define wxUSE_GRAPHICS_CONTEXT 1
46523 elif test "$wxUSE_GTK" != 1; then
46524 cat >>confdefs.h <<\_ACEOF
46525 #define wxUSE_GRAPHICS_CONTEXT 1
46531 { echo "$as_me:$LINENO: checking for CAIRO" >&5
46532 echo $ECHO_N "checking for CAIRO... $ECHO_C" >&6; }
46534 if test -n "$PKG_CONFIG"; then
46535 if test -n "$CAIRO_CFLAGS"; then
46536 pkg_cv_CAIRO_CFLAGS="$CAIRO_CFLAGS"
46538 if test -n "$PKG_CONFIG" && \
46539 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo\"") >&5
46540 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
46542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46543 (exit $ac_status); }; then
46544 pkg_cv_CAIRO_CFLAGS=`$PKG_CONFIG --cflags "cairo" 2>/dev
/null
`
46552 if test -n "$PKG_CONFIG"; then
46553 if test -n "$CAIRO_LIBS"; then
46554 pkg_cv_CAIRO_LIBS="$CAIRO_LIBS"
46556 if test -n "$PKG_CONFIG" && \
46557 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo\"") >&5
46558 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
46560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46561 (exit $ac_status); }; then
46562 pkg_cv_CAIRO_LIBS=`$PKG_CONFIG --libs "cairo" 2>/dev
/null
`
46573 if test $pkg_failed = yes; then
46575 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
46576 _pkg_short_errors_supported=yes
46578 _pkg_short_errors_supported=no
46580 if test $_pkg_short_errors_supported = yes; then
46581 CAIRO_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "cairo"`
46583 CAIRO_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "cairo"`
46585 # Put the nasty error message in config.log where it belongs
46586 echo "$CAIRO_PKG_ERRORS" >&5
46588 { echo "$as_me:$LINENO: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&5
46589 echo "$as_me: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&2;}
46591 elif test $pkg_failed = untried; then
46592 { echo "$as_me:$LINENO: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&5
46593 echo "$as_me: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&2;}
46596 CAIRO_CFLAGS=$pkg_cv_CAIRO_CFLAGS
46597 CAIRO_LIBS=$pkg_cv_CAIRO_LIBS
46598 { echo "$as_me:$LINENO: result: yes" >&5
46599 echo "${ECHO_T}yes" >&6; }
46600 cat >>confdefs.h <<\_ACEOF
46601 #define wxUSE_GRAPHICS_CONTEXT 1
46611 if test "$wxUSE_MEDIACTRL" = "yes"; then
46614 if test "$wxUSE_GTK" = 1; then
46615 wxUSE_GSTREAMER="no"
46617 GST_VERSION_MAJOR=0
46618 GST_VERSION_MINOR=10
46619 GST_VERSION=$GST_VERSION_MAJOR.$GST_VERSION_MINOR
46621 if test "$wxUSE_GSTREAMER8" = "no"; then
46624 { echo "$as_me:$LINENO: checking for GST" >&5
46625 echo $ECHO_N "checking for GST... $ECHO_C" >&6; }
46627 if test -n "$PKG_CONFIG"; then
46628 if test -n "$GST_CFLAGS"; then
46629 pkg_cv_GST_CFLAGS="$GST_CFLAGS"
46631 if test -n "$PKG_CONFIG" && \
46632 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION gconf-2.0\"") >&5
46633 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0") 2>&5
46635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46636 (exit $ac_status); }; then
46637 pkg_cv_GST_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" 2>/dev
/null
`
46645 if test -n "$PKG_CONFIG"; then
46646 if test -n "$GST_LIBS"; then
46647 pkg_cv_GST_LIBS="$GST_LIBS"
46649 if test -n "$PKG_CONFIG" && \
46650 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION gconf-2.0\"") >&5
46651 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0") 2>&5
46653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46654 (exit $ac_status); }; then
46655 pkg_cv_GST_LIBS=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" 2>/dev
/null
`
46666 if test $pkg_failed = yes; then
46668 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
46669 _pkg_short_errors_supported=yes
46671 _pkg_short_errors_supported=no
46673 if test $_pkg_short_errors_supported = yes; then
46674 GST_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
46676 GST_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
46678 # Put the nasty error message in config.log where it belongs
46679 echo "$GST_PKG_ERRORS" >&5
46682 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
46683 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
46684 GST_VERSION_MINOR=8
46687 elif test $pkg_failed = untried; then
46689 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
46690 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
46691 GST_VERSION_MINOR=8
46695 GST_CFLAGS=$pkg_cv_GST_CFLAGS
46696 GST_LIBS=$pkg_cv_GST_LIBS
46697 { echo "$as_me:$LINENO: result: yes" >&5
46698 echo "${ECHO_T}yes" >&6; }
46700 wxUSE_GSTREAMER="yes"
46701 GST_LIBS="$GST_LIBS -lgstinterfaces-$GST_VERSION"
46705 GST_VERSION_MINOR=8
46708 if test $GST_VERSION_MINOR = "8"; then
46709 GST_VERSION=$GST_VERSION_MAJOR.$GST_VERSION_MINOR
46712 { echo "$as_me:$LINENO: checking for GST" >&5
46713 echo $ECHO_N "checking for GST... $ECHO_C" >&6; }
46715 if test -n "$PKG_CONFIG"; then
46716 if test -n "$GST_CFLAGS"; then
46717 pkg_cv_GST_CFLAGS="$GST_CFLAGS"
46719 if test -n "$PKG_CONFIG" && \
46720 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
46721 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
46723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46724 (exit $ac_status); }; then
46725 pkg_cv_GST_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev
/null
`
46733 if test -n "$PKG_CONFIG"; then
46734 if test -n "$GST_LIBS"; then
46735 pkg_cv_GST_LIBS="$GST_LIBS"
46737 if test -n "$PKG_CONFIG" && \
46738 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
46739 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
46741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46742 (exit $ac_status); }; then
46743 pkg_cv_GST_LIBS=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev
/null
`
46754 if test $pkg_failed = yes; then
46756 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
46757 _pkg_short_errors_supported=yes
46759 _pkg_short_errors_supported=no
46761 if test $_pkg_short_errors_supported = yes; then
46762 GST_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
46764 GST_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
46766 # Put the nasty error message in config.log where it belongs
46767 echo "$GST_PKG_ERRORS" >&5
46770 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
46771 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
46773 elif test $pkg_failed = untried; then
46775 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
46776 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
46779 GST_CFLAGS=$pkg_cv_GST_CFLAGS
46780 GST_LIBS=$pkg_cv_GST_LIBS
46781 { echo "$as_me:$LINENO: result: yes" >&5
46782 echo "${ECHO_T}yes" >&6; }
46783 wxUSE_GSTREAMER="yes"
46788 if test "$wxUSE_GSTREAMER" = "yes"; then
46789 CPPFLAGS="$GST_CFLAGS $CPPFLAGS"
46790 EXTRALIBS_MEDIA="$GST_LIBS"
46792 cat >>confdefs.h <<\_ACEOF
46793 #define wxUSE_GSTREAMER 1
46801 if test $USE_MEDIA = 1; then
46802 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mediaplayer"
46803 cat >>confdefs.h <<\_ACEOF
46804 #define wxUSE_MEDIACTRL 1
46811 if test "$cross_compiling" = "yes"; then
46814 OSINFO=`uname
-s -r -m`
46815 OSINFO="\"$OSINFO\""
46818 cat >>confdefs.h <<_ACEOF
46819 #define WXWIN_OS_DESCRIPTION $OSINFO
46824 if test "x$prefix" != "xNONE"; then
46827 wxPREFIX=$ac_default_prefix
46830 cat >>confdefs.h <<_ACEOF
46831 #define wxINSTALL_PREFIX "$wxPREFIX"
46837 STD_BASE_LIBS="base"
46839 BUILT_WX_LIBS="base"
46840 ALL_WX_LIBS="xrc stc gl media qa html adv core xml net base"
46842 if test "$wxUSE_SOCKETS" = "yes" ; then
46843 STD_BASE_LIBS="net $STD_BASE_LIBS"
46844 BUILT_WX_LIBS="net $BUILT_WX_LIBS"
46846 if test "$wxUSE_XML" = "yes" ; then
46847 STD_BASE_LIBS="xml $STD_BASE_LIBS"
46848 BUILT_WX_LIBS="xml $BUILT_WX_LIBS"
46851 if test "$wxUSE_GUI" = "yes"; then
46852 STD_GUI_LIBS="adv core"
46853 BUILT_WX_LIBS="$STD_GUI_LIBS $BUILT_WX_LIBS"
46855 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
46856 STD_GUI_LIBS="qa $STD_GUI_LIBS"
46857 BUILT_WX_LIBS="qa $BUILT_WX_LIBS"
46859 if test "$wxUSE_HTML" = "yes" ; then
46860 STD_GUI_LIBS="html $STD_GUI_LIBS"
46861 BUILT_WX_LIBS="html $BUILT_WX_LIBS"
46863 if test "$wxUSE_MEDIACTRL" = "yes" ; then
46864 BUILT_WX_LIBS="media $BUILT_WX_LIBS"
46866 if test "$wxUSE_OPENGL" = "yes" ; then
46867 BUILT_WX_LIBS="gl $BUILT_WX_LIBS"
46869 if test "$wxUSE_AUI" = "yes" ; then
46870 BUILT_WX_LIBS="aui $BUILT_WX_LIBS"
46872 if test "$wxUSE_STC" = "yes" ; then
46873 BUILT_WX_LIBS="stc $BUILT_WX_LIBS"
46875 if test "$wxUSE_XRC" = "yes" ; then
46876 STD_GUI_LIBS="xrc $STD_GUI_LIBS"
46877 BUILT_WX_LIBS="xrc $BUILT_WX_LIBS"
46888 if test "$wxUSE_MAC" = 1 ; then
46889 if test "$wxUSE_SOUND" = "yes" || test "$wxUSE_MEDIACTRL" = "yes"; then
46890 if test "$USE_DARWIN" = 1; then
46891 LDFLAGS="$LDFLAGS -framework QuickTime"
46893 LDFLAGS="$LDFLAGS -lQuickTimeLib"
46896 if test "$USE_DARWIN" = 1; then
46897 LDFLAGS="$LDFLAGS -framework IOKit -framework Carbon -framework Cocoa -framework AudioToolbox -framework System"
46899 LDFLAGS="$LDFLAGS -lCarbonLib"
46902 if test "$wxUSE_COCOA" = 1 ; then
46903 LDFLAGS="$LDFLAGS -framework IOKit -framework Cocoa"
46904 if test "$wxUSE_MEDIACTRL" = "yes"; then
46905 LDFLAGS="$LDFLAGS -framework QuickTime"
46908 if test "$USE_DARWIN" = 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1 ; then
46909 LDFLAGS="$LDFLAGS -framework IOKit -framework CoreServices -framework System -framework ApplicationServices"
46912 LIBS="$ZLIB_LINK $POSIX4_LINK $INET_LINK $WCHAR_LINK $DL_LINK $LIBS"
46914 if test "$wxUSE_GUI" = "yes"; then
46917 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS artprov controls dialogs drawing \
46918 erase event exec font image minimal mobile \
46919 mobile/wxedit mobile/styles render \
46920 shaped svg taborder vscroll widgets"
46922 if test "$wxUSE_MONOLITHIC" != "yes"; then
46923 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS console"
46925 if test "$TOOLKIT" = "MSW"; then
46926 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS regtest"
46927 if test "$wxUSE_UNIVERSAL" != "yes"; then
46928 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ownerdrw nativdlg"
46931 if test "$TOOLKIT" = "PM" -a "$wxUSE_UNIVERSAL" != "yes"; then
46932 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ownerdrw"
46935 SAMPLES_SUBDIRS="console"
46936 if test "$wxUSE_SOCKETS" = "yes" ; then
46937 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sockets"
46939 if test "$wxUSE_IPC" = "yes" ; then
46940 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ipc"
46945 if test "x$INTELCC" = "xyes" ; then
46946 CWARNINGS="-Wall -wd810,869,981,1418,1572,1684"
46947 elif test "$GCC" = yes ; then
46948 CWARNINGS="-Wall -Wundef"
46951 if test "x$INTELCXX" = "xyes" ; then
46952 CXXWARNINGS="-Wall -wd279,383,444,810,869,981,1418,1419"
46953 elif test "$GXX" = yes ; then
46954 CXXWARNINGS="-Wall -Wundef -Wunused-parameter -Wno-ctor-dtor-privacy"
46958 WXCONFIG_CFLAGS=`echo $WXCONFIG_CFLAGS`
46959 WXCONFIG_CXXFLAGS=`echo $WXCONFIG_CFLAGS $WXCONFIG_CXXFLAGS`
46962 CPPFLAGS=`echo $WXCONFIG_CPPFLAGS \
46963 -I\\${wx_top_builddir}/lib
/wx
/include
/${TOOLCHAIN_FULLNAME} \
46964 -I\\${top_srcdir}/include
$TOOLKIT_INCLUDE \
46967 C_AND_CXX_FLAGS="$DEBUG_CFLAGS $PROFILE_FLAGS $OPTIMISE_CFLAGS"
46968 CFLAGS=`echo $WXCONFIG_CFLAGS $CWARNINGS $C_AND_CXX_FLAGS $CFLAGS `
46969 CXXFLAGS=`echo $WXCONFIG_CXXFLAGS $C_AND_CXX_FLAGS $CXXFLAGS `
46970 OBJCFLAGS=`echo $WXCONFIG_CFLAGS $CWARNINGS $C_AND_CXX_FLAGS $OBJCFLAGS `
46971 OBJCXXFLAGS=`echo $WXCONFIG_CXXFLAGS $C_AND_CXX_FLAGS $OBJCXXFLAGS `
46973 WXCONFIG_CPPFLAGS=`echo $WXCONFIG_CPPFLAGS $WXCONFIG_ONLY_CPPFLAGS`
46976 if test "x$MWCC" = "xyes"; then
46978 CC="$CC -cwd source -I-"
46979 CXX="$CXX -cwd source -I-"
46984 EXTRALIBS="$LDFLAGS $LDFLAGS_VERSIONING $LIBS $DMALLOC_LIBS"
46985 EXTRALIBS_XML="$EXPAT_LINK"
46986 EXTRALIBS_HTML="$MSPACK_LINK"
46987 EXTRALIBS_MEDIA="$GST_LIBS"
46988 EXTRALIBS_STC="-lwxscintilla${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX}"
46989 if test "$wxUSE_GUI" = "yes"; then
46990 EXTRALIBS_GUI=`echo $GUI_TK_LIBRARY $PNG_LINK $JPEG_LINK $TIFF_LINK $WEBKIT_LINK $EXTRALIBS_HILDON $EXTRALIBS_GNOMEVFS $EXTRALIBS_GNOMEPRINT`
46992 if test "$wxUSE_OPENGL" = "yes"; then
46993 EXTRALIBS_OPENGL="$LDFLAGS_GL $OPENGL_LIBS"
46996 LDFLAGS="$LDFLAGS $PROFILE_FLAGS"
46998 WXCONFIG_LIBS="$LIBS"
47000 if test "$wxUSE_REGEX" = "builtin" ; then
47001 wxconfig_3rdparty="regex${lib_unicode_suffix} $wxconfig_3rdparty"
47003 if test "$wxUSE_EXPAT" = "builtin" ; then
47004 wxconfig_3rdparty="expat $wxconfig_3rdparty"
47006 if test "$wxUSE_LIBTIFF" = "builtin" ; then
47007 wxconfig_3rdparty="tiff $wxconfig_3rdparty"
47009 if test "$wxUSE_LIBJPEG" = "builtin" ; then
47010 wxconfig_3rdparty="jpeg $wxconfig_3rdparty"
47012 if test "$wxUSE_LIBPNG" = "builtin" ; then
47013 wxconfig_3rdparty="png $wxconfig_3rdparty"
47015 if test "$wxUSE_ZLIB" = "builtin" ; then
47016 wxconfig_3rdparty="zlib $wxconfig_3rdparty"
47019 for i in $wxconfig_3rdparty ; do
47020 WXCONFIG_LIBS="-lwx${i}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX} $WXCONFIG_LIBS"
47024 if test "x$wxUSE_UNIVERSAL" = "xyes" ; then
47027 case "$wxUNIV_THEMES" in
47029 cat >>confdefs.h <<\_ACEOF
47030 #define wxUSE_ALL_THEMES 1
47036 for t in `echo $wxUNIV_THEMES | tr , ' ' | tr '[a-z]' '[A-Z]'`; do
47037 cat >>confdefs.h <<_ACEOF
47038 #define wxUSE_THEME_$t 1
47054 if test $wxUSE_MONOLITHIC = "yes" ; then
47060 if test $wxUSE_PLUGINS = "yes" ; then
47066 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
47072 if test $wxUSE_OFFICIAL_BUILD = "yes" ; then
47105 TOOLKIT_LOWERCASE=`echo $TOOLKIT | tr '[A-Z]' '[a-z]'`
47116 TOOLKIT_DESC="GTK+"
47117 if test "$WXGTK2" = 1; then
47118 TOOLKIT_DESC="$TOOLKIT_DESC 2"
47119 if test "$wxUSE_GTKPRINT" = "yes" ; then
47120 TOOLKIT_EXTRA="$TOOLKIT_EXTRA GTK+ printing";
47122 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
47123 TOOLKIT_EXTRA="$TOOLKIT_EXTRA gnomeprint";
47125 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
47126 TOOLKIT_EXTRA="$TOOLKIT_EXTRA gnomevfs"
47128 if test "$wxUSE_LIBHILDON" = "yes"; then
47129 TOOLKIT_EXTRA="$TOOLKIT_EXTRA hildon"
47132 if test "$TOOLKIT_EXTRA" != ""; then
47133 TOOLKIT_DESC="$TOOLKIT_DESC with support for `echo $TOOLKIT_EXTRA | tr -s ' '`"
47139 TOOLKIT_DESC=$TOOLKIT_LOWERCASE
47143 TOOLKIT_DESC="base only"
47147 if test "$wxUSE_WINE" = "yes"; then
47148 BAKEFILE_FORCE_PLATFORM=win32
47151 if test "$wxUSE_UNICODE" = yes -a "$GCC" = yes -a "$bk_use_pch" != no
47153 { echo "$as_me:$LINENO: checking for gcc precompiled header bug" >&5
47154 echo $ECHO_N "checking for gcc precompiled header bug... $ECHO_C" >&6; }
47155 if test "${wx_cv_gcc_pch_bug+set}" = set; then
47156 echo $ECHO_N "(cached) $ECHO_C" >&6
47159 echo '#include <stdio.h>
47160 const wchar_t test_var[] = L"awidetest";' > conftest.h
47162 echo '#include "conftest.h"
47165 printf("%ls", test_var);
47169 wx_cv_gcc_pch_bug="pch not supported"
47171 if $CXX conftest.h >/dev/null 2>&1
47175 if $CXX -o conftest$PROGRAM_EXT conftest.cpp >/dev/null 2>&1
47177 if tr -dc '[a-z]' < conftest$PROGRAM_EXT |
47178 grep awidetest >/dev/null
47180 wx_cv_gcc_pch_bug=no
47182 wx_cv_gcc_pch_bug=yes
47187 rm -f conftest.h conftest.gch conftest.cpp conftest$PROGRAM_EXT
47190 { echo "$as_me:$LINENO: result: $wx_cv_gcc_pch_bug" >&5
47191 echo "${ECHO_T}$wx_cv_gcc_pch_bug" >&6; }
47193 if test "$wx_cv_gcc_pch_bug" = yes; then
47204 if test "x$BAKEFILE_HOST" = "x"; then
47205 if test "x${host}" = "x" ; then
47206 { { echo "$as_me:$LINENO: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&5
47207 echo "$as_me: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&2;}
47208 { (exit 1); exit 1; }; }
47211 BAKEFILE_HOST="${host}"
47214 if test "x$BAKEFILE_CHECK_BASICS" != "xno"; then
47216 if test -n "$ac_tool_prefix"; then
47217 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
47218 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
47219 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47220 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47221 if test "${ac_cv_prog_RANLIB+set}" = set; then
47222 echo $ECHO_N "(cached) $ECHO_C" >&6
47224 if test -n "$RANLIB"; then
47225 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
47227 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47228 for as_dir in $PATH
47231 test -z "$as_dir" && as_dir=.
47232 for ac_exec_ext in '' $ac_executable_extensions; do
47233 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47234 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
47235 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47244 RANLIB=$ac_cv_prog_RANLIB
47245 if test -n "$RANLIB"; then
47246 { echo "$as_me:$LINENO: result: $RANLIB" >&5
47247 echo "${ECHO_T}$RANLIB" >&6; }
47249 { echo "$as_me:$LINENO: result: no" >&5
47250 echo "${ECHO_T}no" >&6; }
47255 if test -z "$ac_cv_prog_RANLIB"; then
47256 ac_ct_RANLIB=$RANLIB
47257 # Extract the first word of "ranlib", so it can be a program name with args.
47258 set dummy ranlib; ac_word=$2
47259 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47260 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47261 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
47262 echo $ECHO_N "(cached) $ECHO_C" >&6
47264 if test -n "$ac_ct_RANLIB"; then
47265 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
47267 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47268 for as_dir in $PATH
47271 test -z "$as_dir" && as_dir=.
47272 for ac_exec_ext in '' $ac_executable_extensions; do
47273 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47274 ac_cv_prog_ac_ct_RANLIB="ranlib"
47275 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47284 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
47285 if test -n "$ac_ct_RANLIB"; then
47286 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
47287 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
47289 { echo "$as_me:$LINENO: result: no" >&5
47290 echo "${ECHO_T}no" >&6; }
47293 if test "x$ac_ct_RANLIB" = x; then
47296 case $cross_compiling:$ac_tool_warned in
47298 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
47299 whose name does not start with the host triplet. If you think this
47300 configuration is useful to you, please write to autoconf@gnu.org." >&5
47301 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
47302 whose name does not start with the host triplet. If you think this
47303 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
47304 ac_tool_warned=yes ;;
47306 RANLIB=$ac_ct_RANLIB
47309 RANLIB="$ac_cv_prog_RANLIB"
47312 # Find a good install program. We prefer a C program (faster),
47313 # so one script is as good as another. But avoid the broken or
47314 # incompatible versions:
47315 # SysV /etc/install, /usr/sbin/install
47316 # SunOS /usr/etc/install
47317 # IRIX /sbin/install
47319 # AmigaOS /C/install, which installs bootblocks on floppy discs
47320 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
47321 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
47322 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
47323 # OS/2's system install, which has a completely different semantic
47324 # ./install, which can be erroneously created by make from ./install.sh.
47325 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
47326 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
47327 if test -z "$INSTALL"; then
47328 if test "${ac_cv_path_install+set}" = set; then
47329 echo $ECHO_N "(cached) $ECHO_C" >&6
47331 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47332 for as_dir in $PATH
47335 test -z "$as_dir" && as_dir=.
47336 # Account for people who put trailing slashes in PATH elements.
47338 ./ | .// | /cC/* | \
47339 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
47340 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
47343 # OSF1 and SCO ODT 3.0 have their own names for install.
47344 # Don't use installbsd from OSF since it installs stuff as root
47346 for ac_prog in ginstall scoinst install; do
47347 for ac_exec_ext in '' $ac_executable_extensions; do
47348 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
47349 if test $ac_prog = install &&
47350 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
47351 # AIX install. It has an incompatible calling convention.
47353 elif test $ac_prog = install &&
47354 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
47355 # program-specific install script used by HP pwplus--don't use.
47358 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
47371 if test "${ac_cv_path_install+set}" = set; then
47372 INSTALL=$ac_cv_path_install
47374 # As a last resort, use the slow shell script. Don't cache a
47375 # value for INSTALL within a source directory, because that will
47376 # break other packages using the cache if that directory is
47377 # removed, or if the value is a relative name.
47378 INSTALL=$ac_install_sh
47381 { echo "$as_me:$LINENO: result: $INSTALL" >&5
47382 echo "${ECHO_T}$INSTALL" >&6; }
47384 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
47385 # It thinks the first close brace ends the variable substitution.
47386 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
47388 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
47390 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
47392 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
47393 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
47395 if test "$LN_S" = "ln -s"; then
47396 { echo "$as_me:$LINENO: result: yes" >&5
47397 echo "${ECHO_T}yes" >&6; }
47399 { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
47400 echo "${ECHO_T}no, using $LN_S" >&6; }
47404 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
47405 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
47406 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
47407 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
47408 echo $ECHO_N "(cached) $ECHO_C" >&6
47410 cat >conftest.make <<\_ACEOF
47413 @echo '@@@%%%=$(MAKE)=@@@%%%'
47415 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
47416 case `${MAKE-make} -f conftest.
make 2>/dev
/null
` in
47417 *@@@%%%=?*=@@@%%%*)
47418 eval ac_cv_prog_make_${ac_make}_set=yes;;
47420 eval ac_cv_prog_make_${ac_make}_set=no;;
47422 rm -f conftest.make
47424 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
47425 { echo "$as_me:$LINENO: result: yes" >&5
47426 echo "${ECHO_T}yes" >&6; }
47429 { echo "$as_me:$LINENO: result: no" >&5
47430 echo "${ECHO_T}no" >&6; }
47431 SET_MAKE="MAKE=${MAKE-make}"
47436 if test "x$SUNCXX" = "xyes"; then
47438 AROPTIONS="-xar -o"
47440 elif test "x$SGICC" = "xyes"; then
47445 if test -n "$ac_tool_prefix"; then
47446 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
47447 set dummy ${ac_tool_prefix}ar; ac_word=$2
47448 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47449 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47450 if test "${ac_cv_prog_AR+set}" = set; then
47451 echo $ECHO_N "(cached) $ECHO_C" >&6
47453 if test -n "$AR"; then
47454 ac_cv_prog_AR="$AR" # Let the user override the test.
47456 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47457 for as_dir in $PATH
47460 test -z "$as_dir" && as_dir=.
47461 for ac_exec_ext in '' $ac_executable_extensions; do
47462 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47463 ac_cv_prog_AR="${ac_tool_prefix}ar"
47464 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47474 if test -n "$AR"; then
47475 { echo "$as_me:$LINENO: result: $AR" >&5
47476 echo "${ECHO_T}$AR" >&6; }
47478 { echo "$as_me:$LINENO: result: no" >&5
47479 echo "${ECHO_T}no" >&6; }
47484 if test -z "$ac_cv_prog_AR"; then
47486 # Extract the first word of "ar", so it can be a program name with args.
47487 set dummy ar; ac_word=$2
47488 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47489 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47490 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
47491 echo $ECHO_N "(cached) $ECHO_C" >&6
47493 if test -n "$ac_ct_AR"; then
47494 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
47496 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47497 for as_dir in $PATH
47500 test -z "$as_dir" && as_dir=.
47501 for ac_exec_ext in '' $ac_executable_extensions; do
47502 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47503 ac_cv_prog_ac_ct_AR="ar"
47504 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47513 ac_ct_AR=$ac_cv_prog_ac_ct_AR
47514 if test -n "$ac_ct_AR"; then
47515 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
47516 echo "${ECHO_T}$ac_ct_AR" >&6; }
47518 { echo "$as_me:$LINENO: result: no" >&5
47519 echo "${ECHO_T}no" >&6; }
47522 if test "x$ac_ct_AR" = x; then
47525 case $cross_compiling:$ac_tool_warned in
47527 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
47528 whose name does not start with the host triplet. If you think this
47529 configuration is useful to you, please write to autoconf@gnu.org." >&5
47530 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
47531 whose name does not start with the host triplet. If you think this
47532 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
47533 ac_tool_warned=yes ;;
47538 AR="$ac_cv_prog_AR"
47545 if test -n "$ac_tool_prefix"; then
47546 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
47547 set dummy ${ac_tool_prefix}strip; ac_word=$2
47548 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47549 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47550 if test "${ac_cv_prog_STRIP+set}" = set; then
47551 echo $ECHO_N "(cached) $ECHO_C" >&6
47553 if test -n "$STRIP"; then
47554 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
47556 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47557 for as_dir in $PATH
47560 test -z "$as_dir" && as_dir=.
47561 for ac_exec_ext in '' $ac_executable_extensions; do
47562 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47563 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
47564 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47573 STRIP=$ac_cv_prog_STRIP
47574 if test -n "$STRIP"; then
47575 { echo "$as_me:$LINENO: result: $STRIP" >&5
47576 echo "${ECHO_T}$STRIP" >&6; }
47578 { echo "$as_me:$LINENO: result: no" >&5
47579 echo "${ECHO_T}no" >&6; }
47584 if test -z "$ac_cv_prog_STRIP"; then
47586 # Extract the first word of "strip", so it can be a program name with args.
47587 set dummy strip; ac_word=$2
47588 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47589 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47590 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
47591 echo $ECHO_N "(cached) $ECHO_C" >&6
47593 if test -n "$ac_ct_STRIP"; then
47594 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
47596 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47597 for as_dir in $PATH
47600 test -z "$as_dir" && as_dir=.
47601 for ac_exec_ext in '' $ac_executable_extensions; do
47602 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47603 ac_cv_prog_ac_ct_STRIP="strip"
47604 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47613 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
47614 if test -n "$ac_ct_STRIP"; then
47615 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
47616 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
47618 { echo "$as_me:$LINENO: result: no" >&5
47619 echo "${ECHO_T}no" >&6; }
47622 if test "x$ac_ct_STRIP" = x; then
47625 case $cross_compiling:$ac_tool_warned in
47627 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
47628 whose name does not start with the host triplet. If you think this
47629 configuration is useful to you, please write to autoconf@gnu.org." >&5
47630 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
47631 whose name does not start with the host triplet. If you think this
47632 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
47633 ac_tool_warned=yes ;;
47638 STRIP="$ac_cv_prog_STRIP"
47641 if test -n "$ac_tool_prefix"; then
47642 # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args.
47643 set dummy ${ac_tool_prefix}nm; ac_word=$2
47644 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47645 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47646 if test "${ac_cv_prog_NM+set}" = set; then
47647 echo $ECHO_N "(cached) $ECHO_C" >&6
47649 if test -n "$NM"; then
47650 ac_cv_prog_NM="$NM" # Let the user override the test.
47652 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47653 for as_dir in $PATH
47656 test -z "$as_dir" && as_dir=.
47657 for ac_exec_ext in '' $ac_executable_extensions; do
47658 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47659 ac_cv_prog_NM="${ac_tool_prefix}nm"
47660 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47670 if test -n "$NM"; then
47671 { echo "$as_me:$LINENO: result: $NM" >&5
47672 echo "${ECHO_T}$NM" >&6; }
47674 { echo "$as_me:$LINENO: result: no" >&5
47675 echo "${ECHO_T}no" >&6; }
47680 if test -z "$ac_cv_prog_NM"; then
47682 # Extract the first word of "nm", so it can be a program name with args.
47683 set dummy nm; ac_word=$2
47684 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47685 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47686 if test "${ac_cv_prog_ac_ct_NM+set}" = set; then
47687 echo $ECHO_N "(cached) $ECHO_C" >&6
47689 if test -n "$ac_ct_NM"; then
47690 ac_cv_prog_ac_ct_NM="$ac_ct_NM" # Let the user override the test.
47692 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47693 for as_dir in $PATH
47696 test -z "$as_dir" && as_dir=.
47697 for ac_exec_ext in '' $ac_executable_extensions; do
47698 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47699 ac_cv_prog_ac_ct_NM="nm"
47700 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47709 ac_ct_NM=$ac_cv_prog_ac_ct_NM
47710 if test -n "$ac_ct_NM"; then
47711 { echo "$as_me:$LINENO: result: $ac_ct_NM" >&5
47712 echo "${ECHO_T}$ac_ct_NM" >&6; }
47714 { echo "$as_me:$LINENO: result: no" >&5
47715 echo "${ECHO_T}no" >&6; }
47718 if test "x$ac_ct_NM" = x; then
47721 case $cross_compiling:$ac_tool_warned in
47723 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
47724 whose name does not start with the host triplet. If you think this
47725 configuration is useful to you, please write to autoconf@gnu.org." >&5
47726 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
47727 whose name does not start with the host triplet. If you think this
47728 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
47729 ac_tool_warned=yes ;;
47734 NM="$ac_cv_prog_NM"
47738 { echo "$as_me:$LINENO: checking for command to install directories" >&5
47739 echo $ECHO_N "checking for command to install directories... $ECHO_C" >&6; }
47740 INSTALL_TEST_DIR=acbftest$$
47741 $INSTALL -d $INSTALL_TEST_DIR > /dev/null 2>&1
47742 if test $? = 0 -a -d $INSTALL_TEST_DIR; then
47743 rmdir $INSTALL_TEST_DIR
47744 INSTALL_DIR='$(INSTALL) -d'
47745 { echo "$as_me:$LINENO: result: $INSTALL -d" >&5
47746 echo "${ECHO_T}$INSTALL -d" >&6; }
47748 INSTALL_DIR="mkdir -p"
47749 { echo "$as_me:$LINENO: result: mkdir -p" >&5
47750 echo "${ECHO_T}mkdir -p" >&6; }
47755 case ${BAKEFILE_HOST} in
47756 *-*-cygwin* | *-*-mingw32* )
47757 LDFLAGS_GUI="-mwindows"
47763 { echo "$as_me:$LINENO: checking if make is GNU make" >&5
47764 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6; }
47765 if test "${bakefile_cv_prog_makeisgnu+set}" = set; then
47766 echo $ECHO_N "(cached) $ECHO_C" >&6
47769 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev/null |
47770 egrep -s GNU > /dev/null); then
47771 bakefile_cv_prog_makeisgnu="yes"
47773 bakefile_cv_prog_makeisgnu="no"
47777 { echo "$as_me:$LINENO: result: $bakefile_cv_prog_makeisgnu" >&5
47778 echo "${ECHO_T}$bakefile_cv_prog_makeisgnu" >&6; }
47780 if test "x$bakefile_cv_prog_makeisgnu" = "xyes"; then
47797 if test "x$BAKEFILE_FORCE_PLATFORM" = "x"; then
47798 case "${BAKEFILE_HOST}" in
47805 *-pc-os2_emx | *-pc-os2-emx )
47815 powerpc-apple-macos* )
47824 case "$BAKEFILE_FORCE_PLATFORM" in
47859 # Check whether --enable-omf was given.
47860 if test "${enable_omf+set}" = set; then
47861 enableval=$enable_omf; bk_os2_use_omf="$enableval"
47865 case "${BAKEFILE_HOST}" in
47867 if test "x$GCC" = "xyes"; then
47868 CFLAGS="$CFLAGS -fno-common"
47869 CXXFLAGS="$CXXFLAGS -fno-common"
47871 if test "x$XLCC" = "xyes"; then
47872 CFLAGS="$CFLAGS -qnocommon"
47873 CXXFLAGS="$CXXFLAGS -qnocommon"
47877 *-pc-os2_emx | *-pc-os2-emx )
47878 if test "x$bk_os2_use_omf" = "xyes" ; then
47881 LDFLAGS="-Zomf $LDFLAGS"
47882 CFLAGS="-Zomf $CFLAGS"
47883 CXXFLAGS="-Zomf $CXXFLAGS"
47891 LDFLAGS="-L/boot/develop/lib/x86 $LDFLAGS"
47897 SO_SUFFIX_MODULE="so"
47902 DLLPREFIX_MODULE=""
47906 case "${BAKEFILE_HOST}" in
47909 SO_SUFFIX_MODULE="sl"
47913 SO_SUFFIX_MODULE="a"
47917 SO_SUFFIX_MODULE="dll"
47918 DLLIMP_SUFFIX="dll.a"
47925 SO_SUFFIX_MODULE="dll"
47926 DLLIMP_SUFFIX="dll.a"
47936 *-pc-os2_emx | *-pc-os2-emx )
47938 SO_SUFFIX_MODULE="dll"
47939 DLLIMP_SUFFIX=$OS2_LIBEXT
47943 LIBEXT=".$OS2_LIBEXT"
47948 SO_SUFFIX_MODULE="bundle"
47952 if test "x$DLLIMP_SUFFIX" = "x" ; then
47953 DLLIMP_SUFFIX="$SO_SUFFIX"
47968 if test "x$GCC" = "xyes"; then
47972 SHARED_LD_CC="\$(CC) -shared ${PIC_FLAG} -o"
47973 SHARED_LD_CXX="\$(CXX) -shared ${PIC_FLAG} -o"
47976 case "${BAKEFILE_HOST}" in
47978 if test "x$GCC" != "xyes"; then
47979 LDFLAGS="$LDFLAGS -L/usr/lib"
47981 SHARED_LD_CC="${CC} -b -o"
47982 SHARED_LD_CXX="${CXX} -b -o"
47988 if test "$INTELCC" = "yes"; then
47990 elif test "x$SUNCXX" = "xyes"; then
47991 SHARED_LD_CC="${CC} -G -o"
47992 SHARED_LD_CXX="${CXX} -G -o"
47998 if test "x$SUNCXX" = xyes ; then
47999 SHARED_LD_CC="${CC} -G -o"
48000 SHARED_LD_CXX="${CXX} -G -o"
48008 cat <<EOF >shared-ld-sh
48010 #-----------------------------------------------------------------------------
48011 #-- Name: distrib/mac/shared-ld-sh
48012 #-- Purpose: Link a mach-o dynamic shared library for Darwin / Mac OS X
48013 #-- Author: Gilles Depeyrot
48014 #-- Copyright: (c) 2002 Gilles Depeyrot
48015 #-- Licence: any use permitted
48016 #-----------------------------------------------------------------------------
48021 linking_flag="-dynamiclib"
48022 ldargs="-r -keep_private_externs -nostdlib"
48024 if test "x${D}CXX" = "x"; then
48028 while test ${D}# -gt 0; do
48035 -o|-compatibility_version|-current_version|-framework|-undefined|-install_name)
48036 # collect these options and values
48037 args="${D}{args} ${D}1 ${D}2"
48042 # collect these options and values
48043 ldargs="${D}{ldargs} ${D}1 ${D}2"
48048 # collect these load args
48049 ldargs="${D}{ldargs} ${D}1"
48052 -l*|-L*|-flat_namespace|-headerpad_max_install_names)
48053 # collect these options
48054 args="${D}{args} ${D}1"
48057 -dynamiclib|-bundle)
48058 linking_flag="${D}1"
48062 echo "shared-ld: unhandled option '${D}1'"
48066 *.o | *.a | *.dylib)
48067 # collect object files
48068 objects="${D}{objects} ${D}1"
48072 echo "shared-ld: unhandled argument '${D}1'"
48083 # Link one module containing all the others
48085 if test ${D}{verbose} = 1; then
48086 echo "${D}CXX ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o"
48088 ${D}CXX ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o
48092 # Link the shared library from the single module created, but only if the
48093 # previous command didn't fail:
48095 if test ${D}{status} = 0; then
48096 if test ${D}{verbose} = 1; then
48097 echo "${D}CXX ${D}{linking_flag} master.${D}${D}.o ${D}{args}"
48099 ${D}CXX ${D}{linking_flag} master.${D}${D}.o ${D}{args}
48104 # Remove intermediate module
48106 rm -f master.${D}${D}.o
48111 chmod +x shared-ld-sh
48113 SHARED_LD_MODULE_CC="`pwd`/shared-ld-sh -bundle -headerpad_max_install_names -o"
48114 SHARED_LD_MODULE_CXX="CXX=\$(CXX) $SHARED_LD_MODULE_CC"
48117 { echo "$as_me:$LINENO: checking for gcc 3.1 or later" >&5
48118 echo $ECHO_N "checking for gcc 3.1 or later... $ECHO_C" >&6; }
48119 if test "${bakefile_cv_gcc31+set}" = set; then
48120 echo $ECHO_N "(cached) $ECHO_C" >&6
48123 cat >conftest.$ac_ext <<_ACEOF
48126 cat confdefs.h >>conftest.$ac_ext
48127 cat >>conftest.$ac_ext <<_ACEOF
48128 /* end confdefs.h. */
48134 #if (__GNUC__ < 3) || \
48135 ((__GNUC__ == 3) && (__GNUC_MINOR__ < 1))
48143 rm -f conftest.$ac_objext
48144 if { (ac_try="$ac_compile"
48145 case "(($ac_try" in
48146 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
48147 *) ac_try_echo
=$ac_try;;
48149 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48150 (eval "$ac_compile") 2>conftest.er1
48152 grep -v '^ *+' conftest.er1
>conftest.err
48154 cat conftest.err
>&5
48155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48156 (exit $ac_status); } && {
48157 test -z "$ac_c_werror_flag" ||
48158 test ! -s conftest.err
48159 } && test -s conftest.
$ac_objext; then
48161 bakefile_cv_gcc31
=yes
48164 echo "$as_me: failed program was:" >&5
48165 sed 's/^/| /' conftest.
$ac_ext >&5
48168 bakefile_cv_gcc31
=no
48173 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
48176 { echo "$as_me:$LINENO: result: $bakefile_cv_gcc31" >&5
48177 echo "${ECHO_T}$bakefile_cv_gcc31" >&6; }
48178 if test "$bakefile_cv_gcc31" = "no"; then
48179 SHARED_LD_CC
="`pwd`/shared-ld-sh -dynamiclib -headerpad_max_install_names -o"
48180 SHARED_LD_CXX
="$SHARED_LD_CC"
48182 SHARED_LD_CC
="\${CC} -dynamiclib -single_module -headerpad_max_install_names -o"
48183 SHARED_LD_CXX
="\${CXX} -dynamiclib -single_module -headerpad_max_install_names -o"
48186 if test "x$GCC" == "xyes"; then
48187 PIC_FLAG
="-dynamic -fPIC"
48189 if test "x$XLCC" = "xyes"; then
48190 PIC_FLAG
="-dynamic -DPIC"
48195 if test "x$GCC" = "xyes"; then
48198 case "${BAKEFILE_HOST}" in
48200 LD_EXPFULL
="-Wl,-bexpfull"
48204 SHARED_LD_CC
="\$(CC) -shared $LD_EXPFULL -o"
48205 SHARED_LD_CXX
="\$(CXX) -shared $LD_EXPFULL -o"
48207 # Extract the first word of "makeC++SharedLib", so it can be a program name with args.
48208 set dummy makeC
++SharedLib
; ac_word
=$2
48209 { echo "$as_me:$LINENO: checking for $ac_word" >&5
48210 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
48211 if test "${ac_cv_prog_AIX_CXX_LD+set}" = set; then
48212 echo $ECHO_N "(cached) $ECHO_C" >&6
48214 if test -n "$AIX_CXX_LD"; then
48215 ac_cv_prog_AIX_CXX_LD
="$AIX_CXX_LD" # Let the user override the test.
48217 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
48218 for as_dir
in $PATH
48221 test -z "$as_dir" && as_dir
=.
48222 for ac_exec_ext
in '' $ac_executable_extensions; do
48223 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
48224 ac_cv_prog_AIX_CXX_LD
="makeC++SharedLib"
48225 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48232 test -z "$ac_cv_prog_AIX_CXX_LD" && ac_cv_prog_AIX_CXX_LD
="/usr/lpp/xlC/bin/makeC++SharedLib"
48235 AIX_CXX_LD
=$ac_cv_prog_AIX_CXX_LD
48236 if test -n "$AIX_CXX_LD"; then
48237 { echo "$as_me:$LINENO: result: $AIX_CXX_LD" >&5
48238 echo "${ECHO_T}$AIX_CXX_LD" >&6; }
48240 { echo "$as_me:$LINENO: result: no" >&5
48241 echo "${ECHO_T}no" >&6; }
48245 SHARED_LD_CC
="$AIX_CC_LD -p 0 -o"
48246 SHARED_LD_CXX
="$AIX_CXX_LD -p 0 -o"
48251 SHARED_LD_CC
="${LD} -nostart -o"
48252 SHARED_LD_CXX
="${LD} -nostart -o"
48256 if test "x$GCC" != "xyes"; then
48261 *-*-cygwin* | *-*-mingw32* )
48263 SHARED_LD_CC
="\$(CC) -shared -o"
48264 SHARED_LD_CXX
="\$(CXX) -shared -o"
48268 *-pc-os2_emx | *-pc-os2-emx )
48269 SHARED_LD_CC
="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
48270 SHARED_LD_CXX
="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
48274 cat <<EOF >dllar.sh
48277 # dllar - a tool to build both a .dll and an .a file
48278 # from a set of object (.o) files for EMX/OS2.
48280 # Written by Andrew Zabolotny, bit@freya.etu.ru
48281 # Ported to Unix like shell by Stefan Neis, Stefan.Neis@t-online.de
48283 # This script will accept a set of files on the command line.
48284 # All the public symbols from the .o files will be exported into
48285 # a .DEF file, then linker will be run (through gcc) against them to
48286 # build a shared library consisting of all given .o files. All libraries
48287 # (.a) will be first decompressed into component .o files then act as
48288 # described above. You can optionally give a description (-d "description")
48289 # which will be put into .DLL. To see the list of accepted options (as well
48290 # as command-line format) simply run this program without options. The .DLL
48291 # is built to be imported by name (there is no guarantee that new versions
48292 # of the library you build will have same ordinals for same symbols).
48294 # dllar is free software; you can redistribute it and/or modify
48295 # it under the terms of the GNU General Public License as published by
48296 # the Free Software Foundation; either version 2, or (at your option)
48297 # any later version.
48299 # dllar is distributed in the hope that it will be useful,
48300 # but WITHOUT ANY WARRANTY; without even the implied warranty of
48301 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
48302 # GNU General Public License for more details.
48304 # You should have received a copy of the GNU General Public License
48305 # along with dllar; see the file COPYING. If not, write to the Free
48306 # Software Foundation, 59 Temple Place - Suite 330, Boston, MA
48309 # To successfuly run this program you will need:
48310 # - Current drive should have LFN support (HPFS, ext2, network, etc)
48311 # (Sometimes dllar generates filenames which won't fit 8.3 scheme)
48313 # (used to build the .dll)
48315 # (used to create .def file from .o files)
48317 # (used to create .a file from .def file)
48318 # - GNU text utilites (cat, sort, uniq)
48319 # used to process emxexp output
48320 # - GNU file utilities (mv, rm)
48322 # - lxlite (optional, see flag below)
48323 # (used for general .dll cleanup)
48330 # basnam, variant of basename, which does _not_ remove the path, _iff_
48331 # second argument (suffix to remove) is given
48335 echo ${D}1 | sed 's/.*\\///' | sed 's/.*\\\\//'
48338 echo ${D}1 | sed 's/'${D}2'${D}//'
48341 echo "error in basnam ${D}*"
48347 # Cleanup temporary files and output
48350 for i in ${D}inputFiles ; do
48353 rm -rf \`basnam ${D}i !\`
48360 # Kill result in case of failure as there is just to many stupid make/nmake
48361 # things out there which doesn't do this.
48362 if [ ${D}# -eq 0 ]; then
48363 rm -f ${D}arcFile ${D}arcFile2 ${D}defFile ${D}dllFile
48367 # Print usage and exit script with rc=1.
48369 echo 'Usage: dllar.sh [-o[utput] output_file] [-i[mport] importlib_name]'
48370 echo ' [-name-mangler-script script.sh]'
48371 echo ' [-d[escription] "dll descrption"] [-cc "CC"] [-f[lags] "CFLAGS"]'
48372 echo ' [-ord[inals]] -ex[clude] "symbol(s)"'
48373 echo ' [-libf[lags] "{INIT|TERM}{GLOBAL|INSTANCE}"] [-nocrt[dll]] [-nolxl[ite]]'
48374 echo ' [*.o] [*.a]'
48375 echo '*> "output_file" should have no extension.'
48376 echo ' If it has the .o, .a or .dll extension, it is automatically removed.'
48377 echo ' The import library name is derived from this and is set to "name".a,'
48378 echo ' unless overridden by -import'
48379 echo '*> "importlib_name" should have no extension.'
48380 echo ' If it has the .o, or .a extension, it is automatically removed.'
48381 echo ' This name is used as the import library name and may be longer and'
48382 echo ' more descriptive than the DLL name which has to follow the old '
48383 echo ' 8.3 convention of FAT.'
48384 echo '*> "script.sh may be given to override the output_file name by a'
48385 echo ' different name. It is mainly useful if the regular make process'
48386 echo ' of some package does not take into account OS/2 restriction of'
48387 echo ' DLL name lengths. It takes the importlib name as input and is'
48388 echo ' supposed to procude a shorter name as output. The script should'
48389 echo ' expect to get importlib_name without extension and should produce'
48390 echo ' a (max.) 8 letter name without extension.'
48391 echo '*> "cc" is used to use another GCC executable. (default: gcc.exe)'
48392 echo '*> "flags" should be any set of valid GCC flags. (default: -s -Zcrtdll)'
48393 echo ' These flags will be put at the start of GCC command line.'
48394 echo '*> -ord[inals] tells dllar to export entries by ordinals. Be careful.'
48395 echo '*> -ex[clude] defines symbols which will not be exported. You can define'
48396 echo ' multiple symbols, for example -ex "myfunc yourfunc _GLOBAL*".'
48397 echo ' If the last character of a symbol is "*", all symbols beginning'
48398 echo ' with the prefix before "*" will be exclude, (see _GLOBAL* above).'
48399 echo '*> -libf[lags] can be used to add INITGLOBAL/INITINSTANCE and/or'
48400 echo ' TERMGLOBAL/TERMINSTANCE flags to the dynamically-linked library.'
48401 echo '*> -nocrt[dll] switch will disable linking the library against emx''s'
48402 echo ' C runtime DLLs.'
48403 echo '*> -nolxl[ite] switch will disable running lxlite on the resulting DLL.'
48404 echo '*> All other switches (for example -L./ or -lmylib) will be passed'
48405 echo ' unchanged to GCC at the end of command line.'
48406 echo '*> If you create a DLL from a library and you do not specify -o,'
48407 echo ' the basename for DLL and import library will be set to library name,'
48408 echo ' the initial library will be renamed to 'name'_s.a (_s for static)'
48409 echo ' i.e. "dllar gcc.a" will create gcc.dll and gcc.a, and the initial'
48410 echo ' library will be renamed into gcc_s.a.'
48413 echo ' dllar -o gcc290.dll libgcc.a -d "GNU C runtime library" -ord'
48414 echo ' -ex "__main __ctordtor*" -libf "INITINSTANCE TERMINSTANCE"'
48419 # Execute a command.
48420 # If exit code of the commnad <> 0 CleanUp() is called and we'll exit the script.
48421 # @Uses Whatever CleanUp() uses.
48427 if [ ${D}rcCmd -ne 0 ]; then
48428 echo "command failed, exit code="${D}rcCmd
48443 CFLAGS="-s -Zcrtdll"
48445 EXPORT_BY_ORDINALS=0
48450 case ${D}curDirS in
48454 curDirS=${D}{curDirS}"/"
48457 # Parse commandline
48460 while [ ${D}1 ]; do
48463 EXPORT_BY_ORDINALS=1;
48473 -name-mangler-script)
48494 exclude_symbols=${D}{exclude_symbols}${D}1" "
48498 library_flags=${D}{library_flags}${D}1" "
48517 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
48520 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS} \`basnam ${D}1 .dll\`"
48521 if [ ${D}omfLinking -eq 1 ]; then
48522 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.lib"
48524 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.a"
48529 if [ ${D}libsToLink -ne 0 ]; then
48530 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
48532 for file in ${D}1 ; do
48533 if [ -f ${D}file ]; then
48534 inputFiles="${D}{inputFiles} ${D}file"
48538 if [ ${D}found -eq 0 ]; then
48539 echo "ERROR: No file(s) found: "${D}1
48546 done # iterate cmdline words
48549 if [ -z "${D}inputFiles" ]; then
48550 echo "dllar: no input files"
48554 # Now extract all .o files from .a files
48556 for file in ${D}inputFiles ; do
48567 EXTRA_CFLAGS="${D}EXTRA_CFLAGS -Zomf"
48572 dirname=\`basnam ${D}file ${D}suffix\`"_%"
48574 if [ ${D}? -ne 0 ]; then
48575 echo "Failed to create subdirectory ./${D}dirname"
48579 # Append '!' to indicate archive
48580 newInputFiles="${D}newInputFiles ${D}{dirname}!"
48581 doCommand "cd ${D}dirname; ${D}AR x ../${D}file"
48584 for subfile in ${D}dirname/*.o* ; do
48585 if [ -f ${D}subfile ]; then
48587 if [ -s ${D}subfile ]; then
48588 # FIXME: This should be: is file size > 32 byte, _not_ > 0!
48589 newInputFiles="${D}newInputFiles ${D}subfile"
48593 if [ ${D}found -eq 0 ]; then
48594 echo "WARNING: there are no files in archive \\'${D}file\\'"
48598 newInputFiles="${D}{newInputFiles} ${D}file"
48602 inputFiles="${D}newInputFiles"
48604 # Output filename(s).
48606 if [ -z ${D}outFile ]; then
48608 set outFile ${D}inputFiles; outFile=${D}2
48611 # If it is an archive, remove the '!' and the '_%' suffixes
48612 case ${D}outFile in
48614 outFile=\`basnam ${D}outFile _%!\`
48619 case ${D}outFile in
48621 outFile=\`basnam ${D}outFile .dll\`
48624 outFile=\`basnam ${D}outFile .DLL\`
48627 outFile=\`basnam ${D}outFile .o\`
48630 outFile=\`basnam ${D}outFile .obj\`
48633 outFile=\`basnam ${D}outFile .a\`
48636 outFile=\`basnam ${D}outFile .lib\`
48641 case ${D}outimpFile in
48643 outimpFile=\`basnam ${D}outimpFile .a\`
48646 outimpFile=\`basnam ${D}outimpFile .lib\`
48651 if [ -z ${D}outimpFile ]; then
48652 outimpFile=${D}outFile
48654 defFile="${D}{outFile}.def"
48655 arcFile="${D}{outimpFile}.a"
48656 arcFile2="${D}{outimpFile}.lib"
48658 #create ${D}dllFile as something matching 8.3 restrictions,
48659 if [ -z ${D}renameScript ] ; then
48660 dllFile="${D}outFile"
48662 dllFile=\`${D}renameScript ${D}outimpFile\`
48665 if [ ${D}do_backup -ne 0 ] ; then
48666 if [ -f ${D}arcFile ] ; then
48667 doCommand "mv ${D}arcFile ${D}{outFile}_s.a"
48669 if [ -f ${D}arcFile2 ] ; then
48670 doCommand "mv ${D}arcFile2 ${D}{outFile}_s.lib"
48674 # Extract public symbols from all the object files.
48675 tmpdefFile=${D}{defFile}_%
48676 rm -f ${D}tmpdefFile
48677 for file in ${D}inputFiles ; do
48682 doCommand "emxexp -u ${D}file >> ${D}tmpdefFile"
48687 # Create the def file.
48689 echo "LIBRARY \`basnam ${D}dllFile\` ${D}library_flags" >> ${D}defFile
48690 dllFile="${D}{dllFile}.dll"
48691 if [ ! -z ${D}description ]; then
48692 echo "DESCRIPTION \\"${D}{description}\\"" >> ${D}defFile
48694 echo "EXPORTS" >> ${D}defFile
48696 doCommand "cat ${D}tmpdefFile | sort.exe | uniq.exe > ${D}{tmpdefFile}%"
48697 grep -v "^ *;" < ${D}{tmpdefFile}% | grep -v "^ *${D}" >${D}tmpdefFile
48699 # Checks if the export is ok or not.
48700 for word in ${D}exclude_symbols; do
48701 grep -v ${D}word < ${D}tmpdefFile >${D}{tmpdefFile}%
48702 mv ${D}{tmpdefFile}% ${D}tmpdefFile
48706 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
48707 sed "=" < ${D}tmpdefFile | \\
48711 s/^\\([0-9]\\+\\)\\([^;]*\\)\\(;.*\\)\\?/\\2 @\\1 NONAME/
48713 ' > ${D}{tmpdefFile}%
48714 grep -v "^ *${D}" < ${D}{tmpdefFile}% > ${D}tmpdefFile
48716 rm -f ${D}{tmpdefFile}%
48718 cat ${D}tmpdefFile >> ${D}defFile
48719 rm -f ${D}tmpdefFile
48721 # Do linking, create implib, and apply lxlite.
48723 for file in ${D}inputFiles ; do
48728 gccCmdl="${D}gccCmdl ${D}file"
48732 doCommand "${D}CC ${D}CFLAGS -Zdll -o ${D}dllFile ${D}defFile ${D}gccCmdl ${D}EXTRA_CFLAGS"
48733 touch "${D}{outFile}.dll"
48735 doCommand "emximp -o ${D}arcFile ${D}defFile"
48736 if [ ${D}flag_USE_LXLITE -ne 0 ]; then
48738 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
48741 doCommand "lxlite -cs -t: -mrn -mln ${D}add_flags ${D}dllFile"
48743 doCommand "emxomf -s -l ${D}arcFile"
48753 powerpc
-apple-macos* | \
48754 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | *-*-k*bsd
*-gnu | \
48764 { { echo "$as_me:$LINENO: error: unknown system type $BAKEFILE_HOST." >&5
48765 echo "$as_me: error: unknown system type $BAKEFILE_HOST." >&2;}
48766 { (exit 1); exit 1; }; }
48769 if test "x$PIC_FLAG" != "x" ; then
48770 PIC_FLAG
="$PIC_FLAG -DPIC"
48773 if test "x$SHARED_LD_MODULE_CC" = "x" ; then
48774 SHARED_LD_MODULE_CC
="$SHARED_LD_CC"
48776 if test "x$SHARED_LD_MODULE_CXX" = "x" ; then
48777 SHARED_LD_MODULE_CXX
="$SHARED_LD_CXX"
48796 case "${BAKEFILE_HOST}" in
48797 *-*-linux* | *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | \
48798 *-*-k*bsd
*-gnu | *-*-mirbsd* )
48799 if test "x$SUNCXX" = "xyes"; then
48802 SONAME_FLAG
="-Wl,-soname,"
48837 # Check whether --enable-dependency-tracking was given.
48838 if test "${enable_dependency_tracking+set}" = set; then
48839 enableval
=$enable_dependency_tracking; bk_use_trackdeps
="$enableval"
48843 { echo "$as_me:$LINENO: checking for dependency tracking method" >&5
48844 echo $ECHO_N "checking for dependency tracking method... $ECHO_C" >&6; }
48847 if test "x$bk_use_trackdeps" = "xno" ; then
48849 { echo "$as_me:$LINENO: result: disabled" >&5
48850 echo "${ECHO_T}disabled" >&6; }
48854 if test "x$GCC" = "xyes"; then
48856 case "${BAKEFILE_HOST}" in
48858 DEPSFLAG
="-no-cpp-precomp -MMD"
48864 { echo "$as_me:$LINENO: result: gcc" >&5
48865 echo "${ECHO_T}gcc" >&6; }
48866 elif test "x$MWCC" = "xyes"; then
48869 { echo "$as_me:$LINENO: result: mwcc" >&5
48870 echo "${ECHO_T}mwcc" >&6; }
48871 elif test "x$SUNCC" = "xyes"; then
48874 { echo "$as_me:$LINENO: result: Sun cc" >&5
48875 echo "${ECHO_T}Sun cc" >&6; }
48876 elif test "x$SGICC" = "xyes"; then
48879 { echo "$as_me:$LINENO: result: SGI cc" >&5
48880 echo "${ECHO_T}SGI cc" >&6; }
48881 elif test "x$HPCC" = "xyes"; then
48884 { echo "$as_me:$LINENO: result: HP cc" >&5
48885 echo "${ECHO_T}HP cc" >&6; }
48886 elif test "x$COMPAQCC" = "xyes"; then
48889 { echo "$as_me:$LINENO: result: Compaq cc" >&5
48890 echo "${ECHO_T}Compaq cc" >&6; }
48893 { echo "$as_me:$LINENO: result: none" >&5
48894 echo "${ECHO_T}none" >&6; }
48897 if test $DEPS_TRACKING = 1 ; then
48903 # This script is part of Bakefile (http://www.bakefile.org) autoconf
48904 # script. It is used to track C/C++ files dependencies in portable way.
48906 # Permission is given to use this file in any way.
48908 DEPSMODE=${DEPSMODE}
48910 DEPSFLAG="${DEPSFLAG}"
48912 mkdir -p ${D}DEPSDIR
48914 if test ${D}DEPSMODE = gcc ; then
48915 ${D}* ${D}{DEPSFLAG}
48918 # determine location of created files:
48919 while test ${D}# -gt 0; do
48933 depfile=\`basename ${D}srcfile | sed -e 's/\\..*${D}/.d/g'\`
48934 depobjname=\`echo ${D}depfile |sed -e 's/\\.d/.o/g'\`
48936 # if the compiler failed, we're done:
48937 if test ${D}{status} != 0 ; then
48942 # move created file to the location we want it in:
48943 if test -f ${D}depfile ; then
48944 sed -e "s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
48947 # "g++ -MMD -o fooobj.o foosrc.cpp" produces fooobj.d
48948 depfile=\`basename ${D}objfile | sed -e 's/\\..*${D}/.d/g'\`
48949 if test ! -f ${D}depfile ; then
48950 # "cxx -MD -o fooobj.o foosrc.cpp" creates fooobj.o.d (Compaq C++)
48951 depfile="${D}objfile.d"
48953 if test -f ${D}depfile ; then
48954 sed -e "/^${D}objfile/!s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
48959 elif test ${D}DEPSMODE = mwcc ; then
48960 ${D}* || exit ${D}?
48961 # Run mwcc again with -MM and redirect into the dep file we want
48962 # NOTE: We can't use shift here because we need ${D}* to be valid
48964 for arg in ${D}* ; do
48965 if test "${D}prevarg" = "-o"; then
48978 ${D}* ${D}DEPSFLAG >${D}{DEPSDIR}/${D}{objfile}.d
48980 elif test ${D}DEPSMODE = unixcc; then
48981 ${D}* || exit ${D}?
48982 # Run compiler again with deps flag and redirect into the dep file.
48983 # It doesn't work if the '-o FILE' option is used, but without it the
48984 # dependency file will contain the wrong name for the object. So it is
48985 # removed from the command line, and the dep file is fixed with sed.
48987 while test ${D}# -gt 0; do
48994 eval arg${D}#=\\${D}1
48995 cmd="${D}cmd \\${D}arg${D}#"
49000 eval "${D}cmd ${D}DEPSFLAG" | sed "s|.*:|${D}objfile:|" >${D}{DEPSDIR}/${D}{objfile}.d
49009 BK_DEPS
="`pwd`/bk-deps"
49017 case ${BAKEFILE_HOST} in
49018 *-*-cygwin* | *-*-mingw32* )
49019 if test -n "$ac_tool_prefix"; then
49020 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
49021 set dummy
${ac_tool_prefix}windres
; ac_word
=$2
49022 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49023 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49024 if test "${ac_cv_prog_WINDRES+set}" = set; then
49025 echo $ECHO_N "(cached) $ECHO_C" >&6
49027 if test -n "$WINDRES"; then
49028 ac_cv_prog_WINDRES
="$WINDRES" # Let the user override the test.
49030 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
49031 for as_dir
in $PATH
49034 test -z "$as_dir" && as_dir
=.
49035 for ac_exec_ext
in '' $ac_executable_extensions; do
49036 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49037 ac_cv_prog_WINDRES
="${ac_tool_prefix}windres"
49038 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49047 WINDRES
=$ac_cv_prog_WINDRES
49048 if test -n "$WINDRES"; then
49049 { echo "$as_me:$LINENO: result: $WINDRES" >&5
49050 echo "${ECHO_T}$WINDRES" >&6; }
49052 { echo "$as_me:$LINENO: result: no" >&5
49053 echo "${ECHO_T}no" >&6; }
49058 if test -z "$ac_cv_prog_WINDRES"; then
49059 ac_ct_WINDRES
=$WINDRES
49060 # Extract the first word of "windres", so it can be a program name with args.
49061 set dummy windres
; ac_word
=$2
49062 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49063 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49064 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
49065 echo $ECHO_N "(cached) $ECHO_C" >&6
49067 if test -n "$ac_ct_WINDRES"; then
49068 ac_cv_prog_ac_ct_WINDRES
="$ac_ct_WINDRES" # Let the user override the test.
49070 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
49071 for as_dir
in $PATH
49074 test -z "$as_dir" && as_dir
=.
49075 for ac_exec_ext
in '' $ac_executable_extensions; do
49076 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49077 ac_cv_prog_ac_ct_WINDRES
="windres"
49078 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49087 ac_ct_WINDRES
=$ac_cv_prog_ac_ct_WINDRES
49088 if test -n "$ac_ct_WINDRES"; then
49089 { echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
49090 echo "${ECHO_T}$ac_ct_WINDRES" >&6; }
49092 { echo "$as_me:$LINENO: result: no" >&5
49093 echo "${ECHO_T}no" >&6; }
49096 if test "x$ac_ct_WINDRES" = x
; then
49099 case $cross_compiling:$ac_tool_warned in
49101 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
49102 whose name does not start with the host triplet. If you think this
49103 configuration is useful to you, please write to autoconf@gnu.org." >&5
49104 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
49105 whose name does not start with the host triplet. If you think this
49106 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
49107 ac_tool_warned
=yes ;;
49109 WINDRES
=$ac_ct_WINDRES
49112 WINDRES
="$ac_cv_prog_WINDRES"
49117 *-*-darwin* | powerpc
-apple-macos* )
49118 # Extract the first word of "Rez", so it can be a program name with args.
49119 set dummy Rez
; ac_word
=$2
49120 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49121 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49122 if test "${ac_cv_prog_REZ+set}" = set; then
49123 echo $ECHO_N "(cached) $ECHO_C" >&6
49125 if test -n "$REZ"; then
49126 ac_cv_prog_REZ
="$REZ" # Let the user override the test.
49128 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
49129 for as_dir
in $PATH
49132 test -z "$as_dir" && as_dir
=.
49133 for ac_exec_ext
in '' $ac_executable_extensions; do
49134 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49135 ac_cv_prog_REZ
="Rez"
49136 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49143 test -z "$ac_cv_prog_REZ" && ac_cv_prog_REZ
="/Developer/Tools/Rez"
49146 REZ
=$ac_cv_prog_REZ
49147 if test -n "$REZ"; then
49148 { echo "$as_me:$LINENO: result: $REZ" >&5
49149 echo "${ECHO_T}$REZ" >&6; }
49151 { echo "$as_me:$LINENO: result: no" >&5
49152 echo "${ECHO_T}no" >&6; }
49156 # Extract the first word of "SetFile", so it can be a program name with args.
49157 set dummy SetFile
; ac_word
=$2
49158 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49159 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49160 if test "${ac_cv_prog_SETFILE+set}" = set; then
49161 echo $ECHO_N "(cached) $ECHO_C" >&6
49163 if test -n "$SETFILE"; then
49164 ac_cv_prog_SETFILE
="$SETFILE" # Let the user override the test.
49166 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
49167 for as_dir
in $PATH
49170 test -z "$as_dir" && as_dir
=.
49171 for ac_exec_ext
in '' $ac_executable_extensions; do
49172 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49173 ac_cv_prog_SETFILE
="SetFile"
49174 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49181 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE
="/Developer/Tools/SetFile"
49184 SETFILE
=$ac_cv_prog_SETFILE
49185 if test -n "$SETFILE"; then
49186 { echo "$as_me:$LINENO: result: $SETFILE" >&5
49187 echo "${ECHO_T}$SETFILE" >&6; }
49189 { echo "$as_me:$LINENO: result: no" >&5
49190 echo "${ECHO_T}no" >&6; }
49202 BAKEFILE_BAKEFILE_M4_VERSION
="0.2.3"
49205 BAKEFILE_AUTOCONF_INC_M4_VERSION
="0.2.3"
49209 # Check whether --enable-precomp-headers was given.
49210 if test "${enable_precomp_headers+set}" = set; then
49211 enableval
=$enable_precomp_headers; bk_use_pch
="$enableval"
49220 case ${BAKEFILE_HOST} in
49226 if test "x$bk_use_pch" = "x" -o "x$bk_use_pch" = "xyes" ; then
49227 if test "x$GCC" = "xyes"; then
49228 { echo "$as_me:$LINENO: checking if the compiler supports precompiled headers" >&5
49229 echo $ECHO_N "checking if the compiler supports precompiled headers... $ECHO_C" >&6; }
49230 cat >conftest.
$ac_ext <<_ACEOF
49233 cat confdefs.h
>>conftest.
$ac_ext
49234 cat >>conftest.
$ac_ext <<_ACEOF
49235 /* end confdefs.h. */
49241 #if !defined(__GNUC__) || !defined(__GNUC_MINOR__)
49242 There is no PCH support
49245 There is no PCH support
49247 #if (__GNUC__ == 3) && \
49248 ((!defined(__APPLE_CC__) && (__GNUC_MINOR__ < 4)) || \
49249 ( defined(__APPLE_CC__) && (__GNUC_MINOR__ < 3))) || \
49250 ( defined(__INTEL_COMPILER) )
49251 There is no PCH support
49258 rm -f conftest.
$ac_objext
49259 if { (ac_try
="$ac_compile"
49260 case "(($ac_try" in
49261 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
49262 *) ac_try_echo=$ac_try;;
49264 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
49265 (eval "$ac_compile") 2>conftest.er1
49267 grep -v '^ *+' conftest.er1 >conftest.err
49269 cat conftest.err >&5
49270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49271 (exit $ac_status); } && {
49272 test -z "$ac_c_werror_flag" ||
49273 test ! -s conftest.err
49274 } && test -s conftest.$ac_objext; then
49276 { echo "$as_me:$LINENO: result: yes" >&5
49277 echo "${ECHO_T}yes" >&6; }
49281 echo "$as_me: failed program was:" >&5
49282 sed 's/^/| /' conftest.$ac_ext >&5
49285 cat >conftest.$ac_ext <<_ACEOF
49288 cat confdefs.h >>conftest.$ac_ext
49289 cat >>conftest.$ac_ext <<_ACEOF
49290 /* end confdefs.h. */
49296 #if !defined(__INTEL_COMPILER) || \
49297 (__INTEL_COMPILER < 800)
49298 There is no PCH support
49305 rm -f conftest.$ac_objext
49306 if { (ac_try="$ac_compile"
49307 case "(($ac_try" in
49308 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
49309 *) ac_try_echo
=$ac_try;;
49311 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
49312 (eval "$ac_compile") 2>conftest.er1
49314 grep -v '^ *+' conftest.er1
>conftest.err
49316 cat conftest.err
>&5
49317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49318 (exit $ac_status); } && {
49319 test -z "$ac_c_werror_flag" ||
49320 test ! -s conftest.err
49321 } && test -s conftest.
$ac_objext; then
49323 { echo "$as_me:$LINENO: result: yes" >&5
49324 echo "${ECHO_T}yes" >&6; }
49328 echo "$as_me: failed program was:" >&5
49329 sed 's/^/| /' conftest.
$ac_ext >&5
49332 { echo "$as_me:$LINENO: result: no" >&5
49333 echo "${ECHO_T}no" >&6; }
49337 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
49341 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
49342 if test $GCC_PCH = 1 -o $ICC_PCH = 1 ; then
49346 cat <<EOF >bk-make-pch
49349 # This script is part of Bakefile (http://www.bakefile.org) autoconf
49350 # script. It is used to generated precompiled headers.
49352 # Permission is given to use this file in any way.
49362 while test ${D}{#} -gt 0; do
49366 incdir=\`echo ${D}{1} | sed -e 's/-I\\(.*\\)/\\1/g'\`
49367 if test "x${D}{headerfile}" = "x" -a -f "${D}{incdir}/${D}{header}" ; then
49368 headerfile="${D}{incdir}/${D}{header}"
49371 -use-pch|-use_pch )
49376 if test ${D}add_to_cmdline = 1 ; then
49377 compiler="${D}{compiler} ${D}{1}"
49382 if test "x${D}{headerfile}" = "x" ; then
49383 echo "error: can't find header ${D}{header} in include paths" >&2
49385 if test -f ${D}{outfile} ; then
49386 rm -f ${D}{outfile}
49388 mkdir -p \`dirname ${D}{outfile}\`
49390 depsfile=".deps/\`echo ${D}{outfile} | tr '/.' '__'\`.d"
49392 if test "x${GCC_PCH}" = "x1" ; then
49393 # can do this because gcc is >= 3.4:
49394 ${D}{compiler} -o ${D}{outfile} -MMD -MF "${D}{depsfile}" "${D}{headerfile}"
49395 elif test "x${ICC_PCH}" = "x1" ; then
49396 filename=pch_gen-${D}${D}
49397 file=${D}{filename}.c
49398 dfile=${D}{filename}.d
49399 cat > ${D}file <<EOT
49400 #include "${D}header"
49402 # using -MF icc complains about differing command lines in creation/use
49403 ${D}compiler -c -create_pch ${D}outfile -MMD ${D}file && \\
49404 sed -e "s,^.*:,${D}outfile:," -e "s, ${D}file,," < ${D}dfile > ${D}depsfile && \\
49405 rm -f ${D}file ${D}dfile ${D}{filename}.o
49411 chmod +x bk
-make-pch
49412 BK_MAKE_PCH
="`pwd`/bk-make-pch"
49421 COND_BUILD_DEBUG
="#"
49422 if test "x$BUILD" = "xdebug" ; then
49423 COND_BUILD_DEBUG
=""
49426 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT
="#"
49427 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
49428 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT
=""
49431 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT
="#"
49432 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
49433 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT
=""
49436 COND_BUILD_DEBUG_UNICODE_0
="#"
49437 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
49438 COND_BUILD_DEBUG_UNICODE_0
=""
49441 COND_BUILD_DEBUG_UNICODE_1
="#"
49442 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
49443 COND_BUILD_DEBUG_UNICODE_1
=""
49446 COND_BUILD_RELEASE
="#"
49447 if test "x$BUILD" = "xrelease" ; then
49448 COND_BUILD_RELEASE
=""
49451 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT
="#"
49452 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
49453 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT
=""
49456 COND_BUILD_RELEASE_UNICODE_0
="#"
49457 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
49458 COND_BUILD_RELEASE_UNICODE_0
=""
49461 COND_BUILD_RELEASE_UNICODE_1
="#"
49462 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
49463 COND_BUILD_RELEASE_UNICODE_1
=""
49466 COND_DEBUG_FLAG_1
="#"
49467 if test "x$DEBUG_FLAG" = "x1" ; then
49468 COND_DEBUG_FLAG_1
=""
49471 COND_DEBUG_INFO_0
="#"
49472 if test "x$DEBUG_INFO" = "x0" ; then
49473 COND_DEBUG_INFO_0
=""
49476 COND_DEBUG_INFO_1
="#"
49477 if test "x$DEBUG_INFO" = "x1" ; then
49478 COND_DEBUG_INFO_1
=""
49481 COND_DEPS_TRACKING_0
="#"
49482 if test "x$DEPS_TRACKING" = "x0" ; then
49483 COND_DEPS_TRACKING_0
=""
49486 COND_DEPS_TRACKING_1
="#"
49487 if test "x$DEPS_TRACKING" = "x1" ; then
49488 COND_DEPS_TRACKING_1
=""
49492 if test "x$GCC_PCH" = "x1" ; then
49497 if test "x$ICC_PCH" = "x1" ; then
49501 COND_MONOLITHIC_0
="#"
49502 if test "x$MONOLITHIC" = "x0" ; then
49503 COND_MONOLITHIC_0
=""
49506 COND_MONOLITHIC_0_SHARED_0
="#"
49507 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" ; then
49508 COND_MONOLITHIC_0_SHARED_0
=""
49511 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1
="#"
49512 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_AUI" = "x1" ; then
49513 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1
=""
49516 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
="#"
49517 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" ; then
49518 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
=""
49521 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1
="#"
49522 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
49523 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1
=""
49526 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1
="#"
49527 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
49528 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1
=""
49531 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1
="#"
49532 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
49533 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1
=""
49536 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1
="#"
49537 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
49538 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1
=""
49541 COND_MONOLITHIC_0_SHARED_0_USE_STC_1
="#"
49542 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_STC" = "x1" ; then
49543 COND_MONOLITHIC_0_SHARED_0_USE_STC_1
=""
49546 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1
="#"
49547 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
49548 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1
=""
49551 COND_MONOLITHIC_0_SHARED_1
="#"
49552 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" ; then
49553 COND_MONOLITHIC_0_SHARED_1
=""
49556 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1
="#"
49557 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_AUI" = "x1" ; then
49558 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1
=""
49561 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
="#"
49562 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" ; then
49563 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
=""
49566 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1
="#"
49567 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
49568 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1
=""
49571 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1
="#"
49572 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
49573 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1
=""
49576 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1
="#"
49577 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
49578 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1
=""
49581 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1
="#"
49582 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_RICHTEXT" = "x1" ; then
49583 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1
=""
49586 COND_MONOLITHIC_0_SHARED_1_USE_STC_1
="#"
49587 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_STC" = "x1" ; then
49588 COND_MONOLITHIC_0_SHARED_1_USE_STC_1
=""
49591 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1
="#"
49592 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
49593 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1
=""
49596 COND_MONOLITHIC_0_USE_AUI_1
="#"
49597 if test "x$MONOLITHIC" = "x0" -a "x$USE_AUI" = "x1" ; then
49598 COND_MONOLITHIC_0_USE_AUI_1
=""
49601 COND_MONOLITHIC_0_USE_GUI_1
="#"
49602 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" ; then
49603 COND_MONOLITHIC_0_USE_GUI_1
=""
49606 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1
="#"
49607 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
49608 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1
=""
49611 COND_MONOLITHIC_0_USE_HTML_1
="#"
49612 if test "x$MONOLITHIC" = "x0" -a "x$USE_HTML" = "x1" ; then
49613 COND_MONOLITHIC_0_USE_HTML_1
=""
49616 COND_MONOLITHIC_0_USE_MEDIA_1
="#"
49617 if test "x$MONOLITHIC" = "x0" -a "x$USE_MEDIA" = "x1" ; then
49618 COND_MONOLITHIC_0_USE_MEDIA_1
=""
49621 COND_MONOLITHIC_0_USE_QA_1
="#"
49622 if test "x$MONOLITHIC" = "x0" -a "x$USE_QA" = "x1" ; then
49623 COND_MONOLITHIC_0_USE_QA_1
=""
49626 COND_MONOLITHIC_0_USE_RICHTEXT_1
="#"
49627 if test "x$MONOLITHIC" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
49628 COND_MONOLITHIC_0_USE_RICHTEXT_1
=""
49631 COND_MONOLITHIC_0_USE_STC_1
="#"
49632 if test "x$MONOLITHIC" = "x0" -a "x$USE_STC" = "x1" ; then
49633 COND_MONOLITHIC_0_USE_STC_1
=""
49636 COND_MONOLITHIC_0_USE_XRC_1
="#"
49637 if test "x$MONOLITHIC" = "x0" -a "x$USE_XRC" = "x1" ; then
49638 COND_MONOLITHIC_0_USE_XRC_1
=""
49641 COND_MONOLITHIC_1
="#"
49642 if test "x$MONOLITHIC" = "x1" ; then
49643 COND_MONOLITHIC_1
=""
49646 COND_MONOLITHIC_1_SHARED_0
="#"
49647 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x0" ; then
49648 COND_MONOLITHIC_1_SHARED_0
=""
49651 COND_MONOLITHIC_1_SHARED_1
="#"
49652 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x1" ; then
49653 COND_MONOLITHIC_1_SHARED_1
=""
49656 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
="#"
49657 if test "x$OFFICIAL_BUILD" = "x0" -a "x$PLATFORM_WIN32" = "x1" ; then
49658 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
=""
49661 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
="#"
49662 if test "x$OFFICIAL_BUILD" = "x1" -a "x$PLATFORM_WIN32" = "x1" ; then
49663 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
=""
49666 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1
="#"
49667 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERCYGWIN" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
49668 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1
=""
49671 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
="#"
49672 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
49673 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
=""
49676 COND_PLATFORM_MACOSX_1
="#"
49677 if test "x$PLATFORM_MACOSX" = "x1" ; then
49678 COND_PLATFORM_MACOSX_1
=""
49681 COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0
="#"
49682 if test "x$PLATFORM_MACOSX" = "x1" -a "x$PLATFORM_MSDOS" = "x0" ; then
49683 COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0
=""
49686 COND_PLATFORM_MACOSX_1_TOOLKIT_
="#"
49687 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "x" ; then
49688 COND_PLATFORM_MACOSX_1_TOOLKIT_
=""
49691 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA
="#"
49692 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xCOCOA" ; then
49693 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA
=""
49696 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA_USE_GUI_1
="#"
49697 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" ; then
49698 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA_USE_GUI_1
=""
49701 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK
="#"
49702 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xGTK" ; then
49703 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK
=""
49706 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC
="#"
49707 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" ; then
49708 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC
=""
49711 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1
="#"
49712 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
49713 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1
=""
49716 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF
="#"
49717 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMOTIF" ; then
49718 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF
=""
49721 COND_PLATFORM_MACOSX_1_TOOLKIT_X11
="#"
49722 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xX11" ; then
49723 COND_PLATFORM_MACOSX_1_TOOLKIT_X11
=""
49726 COND_PLATFORM_MACOSX_1_USE_GUI_1
="#"
49727 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_GUI" = "x1" ; then
49728 COND_PLATFORM_MACOSX_1_USE_GUI_1
=""
49731 COND_PLATFORM_MACOSX_1_USE_OPENGL_1
="#"
49732 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_OPENGL" = "x1" ; then
49733 COND_PLATFORM_MACOSX_1_USE_OPENGL_1
=""
49736 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
="#"
49737 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
49738 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
=""
49741 COND_PLATFORM_MACOS_1
="#"
49742 if test "x$PLATFORM_MACOS" = "x1" ; then
49743 COND_PLATFORM_MACOS_1
=""
49746 COND_PLATFORM_MAC_0
="#"
49747 if test "x$PLATFORM_MAC" = "x0" ; then
49748 COND_PLATFORM_MAC_0
=""
49751 COND_PLATFORM_MAC_1
="#"
49752 if test "x$PLATFORM_MAC" = "x1" ; then
49753 COND_PLATFORM_MAC_1
=""
49756 COND_PLATFORM_MSDOS_0
="#"
49757 if test "x$PLATFORM_MSDOS" = "x0" ; then
49758 COND_PLATFORM_MSDOS_0
=""
49761 COND_PLATFORM_MSDOS_1
="#"
49762 if test "x$PLATFORM_MSDOS" = "x1" ; then
49763 COND_PLATFORM_MSDOS_1
=""
49766 COND_PLATFORM_OS2_1
="#"
49767 if test "x$PLATFORM_OS2" = "x1" ; then
49768 COND_PLATFORM_OS2_1
=""
49771 COND_PLATFORM_UNIX_0
="#"
49772 if test "x$PLATFORM_UNIX" = "x0" ; then
49773 COND_PLATFORM_UNIX_0
=""
49776 COND_PLATFORM_UNIX_1
="#"
49777 if test "x$PLATFORM_UNIX" = "x1" ; then
49778 COND_PLATFORM_UNIX_1
=""
49781 COND_PLATFORM_UNIX_1_TOOLKIT_MGL
="#"
49782 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xMGL" ; then
49783 COND_PLATFORM_UNIX_1_TOOLKIT_MGL
=""
49786 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1
="#"
49787 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
49788 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1
=""
49791 COND_PLATFORM_UNIX_1_USE_GUI_1
="#"
49792 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_GUI" = "x1" ; then
49793 COND_PLATFORM_UNIX_1_USE_GUI_1
=""
49796 COND_PLATFORM_UNIX_1_USE_PLUGINS_0
="#"
49797 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_PLUGINS" = "x0" ; then
49798 COND_PLATFORM_UNIX_1_USE_PLUGINS_0
=""
49801 COND_PLATFORM_WIN32_0
="#"
49802 if test "x$PLATFORM_WIN32" = "x0" ; then
49803 COND_PLATFORM_WIN32_0
=""
49806 COND_PLATFORM_WIN32_1
="#"
49807 if test "x$PLATFORM_WIN32" = "x1" ; then
49808 COND_PLATFORM_WIN32_1
=""
49812 if test "x$SHARED" = "x0" ; then
49816 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0
="#"
49817 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMAC" -a "x$WXUNIV" = "x0" ; then
49818 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0
=""
49821 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0
="#"
49822 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
49823 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0
=""
49826 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0
="#"
49827 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xPM" -a "x$WXUNIV" = "x0" ; then
49828 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0
=""
49831 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
="#"
49832 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
49833 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
=""
49836 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
="#"
49837 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
49838 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
=""
49841 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
="#"
49842 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
49843 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
=""
49846 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
="#"
49847 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
49848 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
=""
49851 COND_SHARED_0_USE_STC_1
="#"
49852 if test "x$SHARED" = "x0" -a "x$USE_STC" = "x1" ; then
49853 COND_SHARED_0_USE_STC_1
=""
49856 COND_SHARED_0_WXUSE_EXPAT_BUILTIN
="#"
49857 if test "x$SHARED" = "x0" -a "x$wxUSE_EXPAT" = "xbuiltin" ; then
49858 COND_SHARED_0_WXUSE_EXPAT_BUILTIN
=""
49861 COND_SHARED_0_WXUSE_REGEX_BUILTIN
="#"
49862 if test "x$SHARED" = "x0" -a "x$wxUSE_REGEX" = "xbuiltin" ; then
49863 COND_SHARED_0_WXUSE_REGEX_BUILTIN
=""
49866 COND_SHARED_0_WXUSE_ZLIB_BUILTIN
="#"
49867 if test "x$SHARED" = "x0" -a "x$wxUSE_ZLIB" = "xbuiltin" ; then
49868 COND_SHARED_0_WXUSE_ZLIB_BUILTIN
=""
49872 if test "x$SHARED" = "x1" ; then
49876 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
="#"
49877 if test "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
49878 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
=""
49882 if test "x$TOOLKIT" = "x" ; then
49886 COND_TOOLKIT_COCOA
="#"
49887 if test "x$TOOLKIT" = "xCOCOA" ; then
49888 COND_TOOLKIT_COCOA
=""
49891 COND_TOOLKIT_COCOA_USE_GUI_1
="#"
49892 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" ; then
49893 COND_TOOLKIT_COCOA_USE_GUI_1
=""
49896 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
="#"
49897 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49898 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
=""
49901 COND_TOOLKIT_DFB
="#"
49902 if test "x$TOOLKIT" = "xDFB" ; then
49903 COND_TOOLKIT_DFB
=""
49906 COND_TOOLKIT_DFB_USE_GUI_1
="#"
49907 if test "x$TOOLKIT" = "xDFB" -a "x$USE_GUI" = "x1" ; then
49908 COND_TOOLKIT_DFB_USE_GUI_1
=""
49911 COND_TOOLKIT_GTK
="#"
49912 if test "x$TOOLKIT" = "xGTK" ; then
49913 COND_TOOLKIT_GTK
=""
49916 COND_TOOLKIT_GTK_TOOLKIT_VERSION_
="#"
49917 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" ; then
49918 COND_TOOLKIT_GTK_TOOLKIT_VERSION_
=""
49921 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2
="#"
49922 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" ; then
49923 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2
=""
49926 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1
="#"
49927 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" ; then
49928 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1
=""
49931 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0
="#"
49932 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49933 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0
=""
49936 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_WXUNIV_0
="#"
49937 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$WXUNIV" = "x0" ; then
49938 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_WXUNIV_0
=""
49941 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1
="#"
49942 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" ; then
49943 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1
=""
49946 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0
="#"
49947 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49948 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0
=""
49951 COND_TOOLKIT_GTK_USE_GUI_1
="#"
49952 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" ; then
49953 COND_TOOLKIT_GTK_USE_GUI_1
=""
49956 COND_TOOLKIT_MAC
="#"
49957 if test "x$TOOLKIT" = "xMAC" ; then
49958 COND_TOOLKIT_MAC
=""
49961 COND_TOOLKIT_MAC_USE_GUI_1
="#"
49962 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
49963 COND_TOOLKIT_MAC_USE_GUI_1
=""
49966 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0
="#"
49967 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49968 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0
=""
49971 COND_TOOLKIT_MGL
="#"
49972 if test "x$TOOLKIT" = "xMGL" ; then
49973 COND_TOOLKIT_MGL
=""
49976 COND_TOOLKIT_MGL_USE_GUI_1
="#"
49977 if test "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
49978 COND_TOOLKIT_MGL_USE_GUI_1
=""
49981 COND_TOOLKIT_MOTIF
="#"
49982 if test "x$TOOLKIT" = "xMOTIF" ; then
49983 COND_TOOLKIT_MOTIF
=""
49986 COND_TOOLKIT_MOTIF_USE_GUI_1
="#"
49987 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" ; then
49988 COND_TOOLKIT_MOTIF_USE_GUI_1
=""
49991 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
="#"
49992 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49993 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
=""
49996 COND_TOOLKIT_MSW
="#"
49997 if test "x$TOOLKIT" = "xMSW" ; then
49998 COND_TOOLKIT_MSW
=""
50001 COND_TOOLKIT_MSW_USE_GUI_1
="#"
50002 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" ; then
50003 COND_TOOLKIT_MSW_USE_GUI_1
=""
50006 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
="#"
50007 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50008 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
=""
50011 COND_TOOLKIT_MSW_WXUNIV_0
="#"
50012 if test "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
50013 COND_TOOLKIT_MSW_WXUNIV_0
=""
50016 COND_TOOLKIT_PM
="#"
50017 if test "x$TOOLKIT" = "xPM" ; then
50021 COND_TOOLKIT_PM_USE_GUI_1
="#"
50022 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" ; then
50023 COND_TOOLKIT_PM_USE_GUI_1
=""
50026 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
="#"
50027 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50028 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
=""
50031 COND_TOOLKIT_WINCE
="#"
50032 if test "x$TOOLKIT" = "xWINCE" ; then
50033 COND_TOOLKIT_WINCE
=""
50036 COND_TOOLKIT_WINCE_USE_GUI_1
="#"
50037 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" ; then
50038 COND_TOOLKIT_WINCE_USE_GUI_1
=""
50041 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0
="#"
50042 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50043 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0
=""
50046 COND_TOOLKIT_WINCE_WXUNIV_0
="#"
50047 if test "x$TOOLKIT" = "xWINCE" -a "x$WXUNIV" = "x0" ; then
50048 COND_TOOLKIT_WINCE_WXUNIV_0
=""
50051 COND_TOOLKIT_X11
="#"
50052 if test "x$TOOLKIT" = "xX11" ; then
50053 COND_TOOLKIT_X11
=""
50056 COND_TOOLKIT_X11_USE_GUI_1
="#"
50057 if test "x$TOOLKIT" = "xX11" -a "x$USE_GUI" = "x1" ; then
50058 COND_TOOLKIT_X11_USE_GUI_1
=""
50062 if test "x$UNICODE" = "x1" ; then
50066 COND_USE_EXCEPTIONS_0
="#"
50067 if test "x$USE_EXCEPTIONS" = "x0" ; then
50068 COND_USE_EXCEPTIONS_0
=""
50071 COND_USE_EXCEPTIONS_1
="#"
50072 if test "x$USE_EXCEPTIONS" = "x1" ; then
50073 COND_USE_EXCEPTIONS_1
=""
50077 if test "x$USE_GUI" = "x0" ; then
50082 if test "x$USE_GUI" = "x1" ; then
50086 COND_USE_GUI_1_USE_OPENGL_1
="#"
50087 if test "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
50088 COND_USE_GUI_1_USE_OPENGL_1
=""
50091 COND_USE_GUI_1_WXUNIV_0
="#"
50092 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50093 COND_USE_GUI_1_WXUNIV_0
=""
50096 COND_USE_GUI_1_WXUNIV_1
="#"
50097 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
50098 COND_USE_GUI_1_WXUNIV_1
=""
50101 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
="#"
50102 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
50103 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
=""
50106 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
="#"
50107 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
50108 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
=""
50111 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
="#"
50112 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
50113 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
=""
50116 COND_USE_OPENGL_1
="#"
50117 if test "x$USE_OPENGL" = "x1" ; then
50118 COND_USE_OPENGL_1
=""
50122 if test "x$USE_PCH" = "x1" ; then
50126 COND_USE_PLUGINS_0
="#"
50127 if test "x$USE_PLUGINS" = "x0" ; then
50128 COND_USE_PLUGINS_0
=""
50131 COND_USE_RTTI_0
="#"
50132 if test "x$USE_RTTI" = "x0" ; then
50136 COND_USE_RTTI_1
="#"
50137 if test "x$USE_RTTI" = "x1" ; then
50141 COND_USE_SOSYMLINKS_1
="#"
50142 if test "x$USE_SOSYMLINKS" = "x1" ; then
50143 COND_USE_SOSYMLINKS_1
=""
50146 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1
="#"
50147 if test "x$USE_SOVERCYGWIN" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
50148 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1
=""
50151 COND_USE_SOVERLINUX_1
="#"
50152 if test "x$USE_SOVERLINUX" = "x1" ; then
50153 COND_USE_SOVERLINUX_1
=""
50156 COND_USE_SOVERSION_0
="#"
50157 if test "x$USE_SOVERSION" = "x0" ; then
50158 COND_USE_SOVERSION_0
=""
50161 COND_USE_SOVERSOLARIS_1
="#"
50162 if test "x$USE_SOVERSOLARIS" = "x1" ; then
50163 COND_USE_SOVERSOLARIS_1
=""
50167 if test "x$USE_STC" = "x1" ; then
50171 COND_USE_THREADS_0
="#"
50172 if test "x$USE_THREADS" = "x0" ; then
50173 COND_USE_THREADS_0
=""
50176 COND_USE_THREADS_1
="#"
50177 if test "x$USE_THREADS" = "x1" ; then
50178 COND_USE_THREADS_1
=""
50182 if test "x$USE_XRC" = "x1" ; then
50186 COND_WINDOWS_IMPLIB_1
="#"
50187 if test "x$WINDOWS_IMPLIB" = "x1" ; then
50188 COND_WINDOWS_IMPLIB_1
=""
50191 COND_WITH_PLUGIN_SDL_1
="#"
50192 if test "x$WITH_PLUGIN_SDL" = "x1" ; then
50193 COND_WITH_PLUGIN_SDL_1
=""
50197 if test "x$WXUNIV" = "x0" ; then
50202 if test "x$WXUNIV" = "x1" ; then
50206 COND_WXUSE_EXPAT_BUILTIN
="#"
50207 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
50208 COND_WXUSE_EXPAT_BUILTIN
=""
50211 COND_WXUSE_LIBJPEG_BUILTIN
="#"
50212 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
50213 COND_WXUSE_LIBJPEG_BUILTIN
=""
50216 COND_WXUSE_LIBPNG_BUILTIN
="#"
50217 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
50218 COND_WXUSE_LIBPNG_BUILTIN
=""
50221 COND_WXUSE_LIBTIFF_BUILTIN
="#"
50222 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
50223 COND_WXUSE_LIBTIFF_BUILTIN
=""
50226 COND_WXUSE_REGEX_BUILTIN
="#"
50227 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
50228 COND_WXUSE_REGEX_BUILTIN
=""
50231 COND_WXUSE_ZLIB_BUILTIN
="#"
50232 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
50233 COND_WXUSE_ZLIB_BUILTIN
=""
50238 if test "$BAKEFILE_AUTOCONF_INC_M4_VERSION" = "" ; then
50239 { { 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
50240 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;}
50241 { (exit 1); exit 1; }; }
50244 if test "$BAKEFILE_BAKEFILE_M4_VERSION" != "$BAKEFILE_AUTOCONF_INC_M4_VERSION" ; then
50245 { { 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
50246 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;}
50247 { (exit 1); exit 1; }; }
50254 ?
:* ) # Drive letter, considered as absolute.
50257 INSTALL
=`pwd`/${INSTALL} ;;
50260 if test "$wxUSE_GUI" = "yes"; then
50262 if test "$wxUSE_MSW" = 1 ; then
50263 if test "x$WINDRES" = "x"; then
50264 { { echo "$as_me:$LINENO: error: Required windres program not found" >&5
50265 echo "$as_me: error: Required windres program not found" >&2;}
50266 { (exit 1); exit 1; }; }
50272 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1; then
50273 WX_RESOURCES_MACOSX_ASCII
="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.r"
50274 WX_RESOURCES_MACOSX_DATA
="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.rsrc"
50276 LIBWXMACRES
="\$(wx_top_builddir)/lib/${WX_RESOURCES_MACOSX_ASCII}"
50278 # Extract the first word of "DeRez", so it can be a program name with args.
50279 set dummy DeRez
; ac_word
=$2
50280 { echo "$as_me:$LINENO: checking for $ac_word" >&5
50281 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
50282 if test "${ac_cv_prog_DEREZ+set}" = set; then
50283 echo $ECHO_N "(cached) $ECHO_C" >&6
50285 if test -n "$DEREZ"; then
50286 ac_cv_prog_DEREZ
="$DEREZ" # Let the user override the test.
50288 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
50289 for as_dir
in $PATH
50292 test -z "$as_dir" && as_dir
=.
50293 for ac_exec_ext
in '' $ac_executable_extensions; do
50294 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
50295 ac_cv_prog_DEREZ
="DeRez"
50296 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
50303 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ
="/Developer/Tools/DeRez"
50306 DEREZ
=$ac_cv_prog_DEREZ
50307 if test -n "$DEREZ"; then
50308 { echo "$as_me:$LINENO: result: $DEREZ" >&5
50309 echo "${ECHO_T}$DEREZ" >&6; }
50311 { echo "$as_me:$LINENO: result: no" >&5
50312 echo "${ECHO_T}no" >&6; }
50317 MACSETFILE
="\$(SETFILE)"
50319 if test "$wxUSE_MAC" = 1; then
50320 POSTLINK_COMMAND
="\$(REZ) -d __DARWIN__ -t APPL Carbon.r -o"
50322 WXCONFIG_RESFLAGS
="-d __DARWIN__ -t APPL Carbon.r -o"
50324 POSTLINK_COMMAND
="cat /dev/null | \$(REZ) -d __DARWIN__ -t APPL ${LIBWXMACRES}"
50325 RESCOMP
="cat /dev/null \| $REZ"
50326 WXCONFIG_RESFLAGS
="-d __DARWIN__ -t APPL \$libdir/$WX_RESOURCES_MACOSX_ASCII"
50332 if test "$wxUSE_PM" = 1; then
50334 WXCONFIG_RESFLAGS
="-ep"
50336 POSTLINK_COMMAND
="$RESCOMP $WXCONFIG_RESFLAGS"
50338 POSTLINK_COMMAND
="@true"
50345 if test $GCC_PCH = 1
50347 if test "$wx_cv_gcc_pch_bug" = yes; then
50348 { echo "$as_me:$LINENO: WARNING: *** Precompiled header support is broken on this compiler" >&5
50349 echo "$as_me: WARNING: *** Precompiled header support is broken on this compiler" >&2;}
50350 { echo "$as_me:$LINENO: WARNING: *** --enable-precomp-headers is not recommended" >&5
50351 echo "$as_me: WARNING: *** --enable-precomp-headers is not recommended" >&2;}
50352 { echo "$as_me:$LINENO: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&5
50353 echo "$as_me: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&2;}
50356 # Our WX_PRECOMP flag does not make sense for any language except C++ because
50357 # the headers that benefit from precompilation are mostly C++ headers.
50358 CXXFLAGS
="-DWX_PRECOMP $CXXFLAGS"
50359 # When Bakefile can do multi-language PCH (e.g. C++ and Objective-C++) enable this:
50360 #OBJCXXFLAGS="-DWX_PRECOMP $CXXFLAGS"
50364 if test "$wxUSE_MAC" = 1 ; then
50365 if test "x$wxUSE_UNIVERSAL_BINARY" != "xno" ; then
50366 sed "s/DEPSMODE=gcc/DEPSMODE=none/" < bk
-deps > temp
50372 if test "$wxUSE_SHARED" = "yes"; then
50374 *-pc-os2_emx | *-pc-os2-emx )
50375 SHARED_LD_CC
="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
50376 SHARED_LD_CXX
="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
50377 cp -p ${srcdir}/src
/os
2/dllnames.sh .
50378 cp -p ${srcdir}/src
/os
2/dllar.sh .
50382 if test "$wxUSE_OMF" = "yes"; then
50384 *-pc-os2_emx | *-pc-os2-emx )
50385 LDFLAGS
="$LDFLAGS -Zlinker /EXEPACK"
50386 LDFLAGS_GUI
="-Zlinker /PMTYPE:PM"
50387 WXCONFIG_LDFLAGS_GUI
="-Zlinker /PMTYPE:PM"
50392 WXCONFIG_CPPFLAGS
="$WXCONFIG_CPPFLAGS $TOOLCHAIN_DEFS"
50397 if test "$GCC" = yes; then
50398 CPPFLAGS
=`echo $CPPFLAGS | sed 's/-mt//'`
50399 LIBS
=`echo $LIBS | sed 's/-mt//'`
50400 EXTRALIBS_GUI
=`echo $EXTRALIBS_GUI | sed 's/-mt//'`
50405 if test "x$SUNCXX" = xyes
; then
50406 CPPFLAGS
=`echo $CPPFLAGS | sed 's/-pthread//'`
50407 LIBS
=`echo $LIBS | sed 's/-pthread//'`
50408 EXTRALIBS_GUI
=`echo $EXTRALIBS_GUI | sed 's/-pthread//'`
50413 CFLAGS
="$CFLAGS $CFLAGS_VISIBILITY"
50414 CXXFLAGS
="$CXXFLAGS $CXXFLAGS_VISIBILITY"
50416 SAMPLES_SUBDIRS
="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
50477 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
50478 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
50479 set x
${MAKE-make}; ac_make
=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
50480 if { as_var
=ac_cv_prog_make_
${ac_make}_set
; eval "test \"\${$as_var+set}\" = set"; }; then
50481 echo $ECHO_N "(cached) $ECHO_C" >&6
50483 cat >conftest.
make <<\_ACEOF
50486 @
echo '@@@%%%=$(MAKE)=@@@%%%'
50488 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
50489 case `${MAKE-make} -f conftest.make 2>/dev/null` in
50490 *@@@
%%%=?
*=@@@
%%%*)
50491 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
50493 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
50495 rm -f conftest.
make
50497 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
50498 { echo "$as_me:$LINENO: result: yes" >&5
50499 echo "${ECHO_T}yes" >&6; }
50502 { echo "$as_me:$LINENO: result: no" >&5
50503 echo "${ECHO_T}no" >&6; }
50504 SET_MAKE
="MAKE=${MAKE-make}"
50509 ac_config_headers
="$ac_config_headers lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in"
50512 if test "$USE_WIN32" = 1; then
50513 ac_config_commands
="$ac_config_commands
50519 ac_config_files
="$ac_config_files lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in"
50522 ac_config_files
="$ac_config_files lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in"
50525 ac_config_files
="$ac_config_files utils/ifacecheck/rungccxml.sh"
50528 if test "$wx_cv_version_script" = "yes"; then
50529 ac_config_files
="$ac_config_files version-script"
50532 ac_config_files
="$ac_config_files Makefile"
50535 ac_config_commands
="$ac_config_commands wx-config"
50539 if test "$wxWITH_SUBDIRS" != "no"; then
50540 if test "$wxUSE_GUI" = "yes"; then
50541 SUBDIRS
="samples demos utils"
50543 SUBDIRS
="samples utils"
50548 # Check whether --with-cppunit-prefix was given.
50549 if test "${with_cppunit_prefix+set}" = set; then
50550 withval
=$with_cppunit_prefix; cppunit_config_prefix
="$withval"
50552 cppunit_config_prefix
=""
50556 # Check whether --with-cppunit-exec-prefix was given.
50557 if test "${with_cppunit_exec_prefix+set}" = set; then
50558 withval
=$with_cppunit_exec_prefix; cppunit_config_exec_prefix
="$withval"
50560 cppunit_config_exec_prefix
=""
50564 if test x
$cppunit_config_exec_prefix != x
; then
50565 cppunit_config_args
="$cppunit_config_args --exec-prefix=$cppunit_config_exec_prefix"
50566 if test x
${CPPUNIT_CONFIG+set} != xset
; then
50567 CPPUNIT_CONFIG
=$cppunit_config_exec_prefix/bin
/cppunit
-config
50570 if test x
$cppunit_config_prefix != x
; then
50571 cppunit_config_args
="$cppunit_config_args --prefix=$cppunit_config_prefix"
50572 if test x
${CPPUNIT_CONFIG+set} != xset
; then
50573 CPPUNIT_CONFIG
=$cppunit_config_prefix/bin
/cppunit
-config
50577 # Extract the first word of "cppunit-config", so it can be a program name with args.
50578 set dummy cppunit
-config; ac_word
=$2
50579 { echo "$as_me:$LINENO: checking for $ac_word" >&5
50580 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
50581 if test "${ac_cv_path_CPPUNIT_CONFIG+set}" = set; then
50582 echo $ECHO_N "(cached) $ECHO_C" >&6
50584 case $CPPUNIT_CONFIG in
50586 ac_cv_path_CPPUNIT_CONFIG
="$CPPUNIT_CONFIG" # Let the user override the test with a path.
50589 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
50590 for as_dir
in $PATH
50593 test -z "$as_dir" && as_dir
=.
50594 for ac_exec_ext
in '' $ac_executable_extensions; do
50595 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
50596 ac_cv_path_CPPUNIT_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
50597 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
50604 test -z "$ac_cv_path_CPPUNIT_CONFIG" && ac_cv_path_CPPUNIT_CONFIG
="no"
50608 CPPUNIT_CONFIG
=$ac_cv_path_CPPUNIT_CONFIG
50609 if test -n "$CPPUNIT_CONFIG"; then
50610 { echo "$as_me:$LINENO: result: $CPPUNIT_CONFIG" >&5
50611 echo "${ECHO_T}$CPPUNIT_CONFIG" >&6; }
50613 { echo "$as_me:$LINENO: result: no" >&5
50614 echo "${ECHO_T}no" >&6; }
50618 cppunit_version_min
=1.8.0
50620 { echo "$as_me:$LINENO: checking for Cppunit - version >= $cppunit_version_min" >&5
50621 echo $ECHO_N "checking for Cppunit - version >= $cppunit_version_min... $ECHO_C" >&6; }
50623 if test "$CPPUNIT_CONFIG" = "no" ; then
50624 { echo "$as_me:$LINENO: result: no" >&5
50625 echo "${ECHO_T}no" >&6; }
50628 CPPUNIT_CFLAGS
=`$CPPUNIT_CONFIG --cflags`
50629 CPPUNIT_LIBS
=`$CPPUNIT_CONFIG --libs`
50630 cppunit_version
=`$CPPUNIT_CONFIG --version`
50632 cppunit_major_version
=`echo $cppunit_version | \
50633 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
50634 cppunit_minor_version
=`echo $cppunit_version | \
50635 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
50636 cppunit_micro_version
=`echo $cppunit_version | \
50637 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
50639 cppunit_major_min
=`echo $cppunit_version_min | \
50640 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
50641 cppunit_minor_min
=`echo $cppunit_version_min | \
50642 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
50643 cppunit_micro_min
=`echo $cppunit_version_min | \
50644 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
50646 cppunit_version_proper
=`expr \
50647 $cppunit_major_version \> $cppunit_major_min \| \
50648 $cppunit_major_version \= $cppunit_major_min \& \
50649 $cppunit_minor_version \> $cppunit_minor_min \| \
50650 $cppunit_major_version \= $cppunit_major_min \& \
50651 $cppunit_minor_version \= $cppunit_minor_min \& \
50652 $cppunit_micro_version \>= $cppunit_micro_min `
50654 if test "$cppunit_version_proper" = "1" ; then
50655 { echo "$as_me:$LINENO: result: $cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&5
50656 echo "${ECHO_T}$cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&6; }
50658 { echo "$as_me:$LINENO: result: no" >&5
50659 echo "${ECHO_T}no" >&6; }
50664 if test "x$no_cppunit" = x
; then
50665 SUBDIRS
="$SUBDIRS tests"
50676 for subdir
in $SUBDIRS; do
50677 if test -d ${srcdir}/${subdir} ; then
50678 if test "$wxUSE_GUI" = "yes"; then
50679 if test ${subdir} = "samples"; then
50680 makefiles
="samples/Makefile.in $makefiles"
50681 for sample
in $SAMPLES_SUBDIRS; do
50682 if test -d $srcdir/samples
/$sample; then
50683 makefiles
="samples/$sample/Makefile.in $makefiles"
50687 disabled_var
=DISABLED_
`echo $subdir | tr '[a-z]' '[A-Z]'`
50688 eval "disabled=\$$disabled_var"
50689 disabled
=/`echo X $disabled | sed 's@ @/|/@g'`/
50690 makefiles
=`(cd $srcdir ; find $subdir -name Makefile.in) | $EGREP -v "$disabled"`
50693 if test ${subdir} = "samples"; then
50694 makefiles
="samples/Makefile.in $makefiles"
50695 for sample
in `echo $SAMPLES_SUBDIRS`; do
50696 if test -d $srcdir/samples
/$sample; then
50697 makefiles
="samples/$sample/Makefile.in $makefiles"
50700 elif test ${subdir} = "utils"; then
50702 for util
in ifacecheck
; do
50703 if test -d $srcdir/utils
/$util ; then
50704 makefiles
="utils/$util/src/Makefile.in \
50709 makefiles
=`(cd $srcdir ; find $subdir -name Makefile.in)`
50713 for mkin
in $makefiles ; do
50714 mk
=`echo $mkin | sed 's/Makefile\.in/Makefile/g'`
50715 ac_config_files
="$ac_config_files $mk"
50721 cat >confcache
<<\_ACEOF
50722 # This file is a shell script that caches the results of configure
50723 # tests run on this system so they can be shared between configure
50724 # scripts and configure runs, see configure's option --config-cache.
50725 # It is not useful on other systems. If it contains results you don't
50726 # want to keep, you may remove or edit it.
50728 # config.status only pays attention to the cache file if you give it
50729 # the --recheck option to rerun configure.
50731 # `ac_cv_env_foo' variables (set or unset) will be overridden when
50732 # loading this file, other *unset* `ac_cv_foo' will be assigned the
50733 # following values.
50737 # The following way of writing the cache mishandles newlines in values,
50738 # but we know of no workaround that is simple, portable, and efficient.
50739 # So, we kill variables containing newlines.
50740 # Ultrix sh set writes to stderr and can't be redirected directly,
50741 # and sets the high bit in the cache file unless we assign to the vars.
50743 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
50744 eval ac_val
=\$
$ac_var
50748 *_cv_
*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
50749 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
50752 _
| IFS
| as_nl
) ;; #(
50753 *) $as_unset $ac_var ;;
50759 case $as_nl`(ac_space=' '; set) 2>&1` in #(
50760 *${as_nl}ac_space
=\
*)
50761 # `set' does not quote correctly, so add quotes (double-quote
50762 # substitution turns \\\\ into \\, and sed turns \\ into \).
50765 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
50768 # `set' quotes correctly as required by POSIX, so do not add quotes.
50769 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
50778 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
50780 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
50782 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
50783 if test -w "$cache_file"; then
50784 test "x$cache_file" != "x/dev/null" &&
50785 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
50786 echo "$as_me: updating cache $cache_file" >&6;}
50787 cat confcache
>$cache_file
50789 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
50790 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
50795 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
50796 # Let make expand exec_prefix.
50797 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
50799 DEFS
=-DHAVE_CONFIG_H
50803 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
50804 # 1. Remove the extension, and $U if already installed.
50805 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
50806 ac_i
=`echo "$ac_i" | sed "$ac_script"`
50807 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
50808 # will be set to the directory where LIBOBJS objects are built.
50809 ac_libobjs
="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
50810 ac_ltlibobjs
="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
50812 LIBOBJS
=$ac_libobjs
50814 LTLIBOBJS
=$ac_ltlibobjs
50818 : ${CONFIG_STATUS=./config.status}
50819 ac_clean_files_save
=$ac_clean_files
50820 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
50821 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
50822 echo "$as_me: creating $CONFIG_STATUS" >&6;}
50823 cat >$CONFIG_STATUS <<_ACEOF
50825 # Generated by $as_me.
50826 # Run this file to recreate the current configuration.
50827 # Compiler output produced by configure, useful for debugging
50828 # configure, is in config.log if it exists.
50831 ac_cs_recheck=false
50833 SHELL=\${CONFIG_SHELL-$SHELL}
50836 cat >>$CONFIG_STATUS <<\_ACEOF
50837 ## --------------------- ##
50838 ## M4sh Initialization. ##
50839 ## --------------------- ##
50841 # Be more Bourne compatible
50842 DUALCASE
=1; export DUALCASE
# for MKS sh
50843 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
50846 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
50847 # is contrary to our usage. Disable this feature.
50848 alias -g '${1+"$@"}'='"$@"'
50849 setopt NO_GLOB_SUBST
50851 case `(set -o) 2>/dev/null` in
50852 *posix
*) set -o posix
;;
50861 # Avoid depending upon Character Ranges.
50862 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
50863 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
50864 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
50865 as_cr_digits
='0123456789'
50866 as_cr_alnum
=$as_cr_Letters$as_cr_digits
50868 # The user is always right.
50869 if test "${PATH_SEPARATOR+set}" != set; then
50870 echo "#! /bin/sh" >conf$$.sh
50871 echo "exit 0" >>conf$$.sh
50873 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
50881 # Support unset when possible.
50882 if ( (MAIL
=60; unset MAIL
) || exit) >/dev
/null
2>&1; then
50890 # We need space, tab and new line, in precisely that order. Quoting is
50891 # there to prevent editors from complaining about space-tab.
50892 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
50893 # splitting by setting IFS to empty value.)
50898 # Find who we are. Look in the path if we contain no directory separator.
50900 *[\\/]* ) as_myself
=$0 ;;
50901 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
50902 for as_dir
in $PATH
50905 test -z "$as_dir" && as_dir
=.
50906 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
50912 # We did not find ourselves, most probably we were run as `sh COMMAND'
50913 # in which case we are not to be found in the path.
50914 if test "x$as_myself" = x
; then
50917 if test ! -f "$as_myself"; then
50918 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
50919 { (exit 1); exit 1; }
50922 # Work around bugs in pre-3.0 UWIN ksh.
50923 for as_var
in ENV MAIL MAILPATH
50924 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
50932 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
50933 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
50934 LC_TELEPHONE LC_TIME
50936 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
50937 eval $as_var=C
; export $as_var
50939 ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
50943 # Required to use basename.
50944 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
50945 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
50951 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
50952 as_basename
=basename
50958 # Name of the executable.
50959 as_me
=`$as_basename -- "$0" ||
50960 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
50961 X"$0" : 'X\(//\)$' \| \
50962 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
50964 sed '/^.*\/\([^/][^/]*\)\/*$/{
50983 as_lineno_1
=$LINENO
50984 as_lineno_2
=$LINENO
50985 test "x$as_lineno_1" != "x$as_lineno_2" &&
50986 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
50988 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
50989 # uniformly replaced by the line number. The first 'sed' inserts a
50990 # line-number line after each line using $LINENO; the second 'sed'
50991 # does the real work. The second script uses 'N' to pair each
50992 # line-number line with the line containing $LINENO, and appends
50993 # trailing '-' during substitution so that $LINENO is not a special
50994 # case at line end.
50995 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
50996 # scripts with optimization help from Paolo Bonzini. Blame Lee
50997 # E. McMahon (1931-1989) for sed's syntax. :-)
51009 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
51012 ' >$as_me.lineno
&&
51013 chmod +x
"$as_me.lineno" ||
51014 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
51015 { (exit 1); exit 1; }; }
51017 # Don't try to exec as it changes $[0], causing all sort of problems
51018 # (the dirname of $[0] is not the place where we might find the
51019 # original and so on. Autoconf is especially sensitive to this).
51020 .
"./$as_me.lineno"
51021 # Exit status is that of the last command.
51026 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
51032 ECHO_C
= ECHO_N
= ECHO_T
=
51033 case `echo -n x` in
51035 case `echo 'x\c'` in
51036 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
51043 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
51044 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
51050 rm -f conf$$ conf$$.exe conf$$.
file
51051 if test -d conf$$.dir
; then
51052 rm -f conf$$.dir
/conf$$.
file
51058 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
51060 # ... but there are two gotchas:
51061 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
51062 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
51063 # In both cases, we have to default to `cp -p'.
51064 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe
||
51066 elif ln conf$$.
file conf$$
2>/dev
/null
; then
51071 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
51072 rmdir conf$$.dir
2>/dev
/null
51074 if mkdir -p .
2>/dev
/null
; then
51077 test -d .
/-p && rmdir .
/-p
51081 if test -x / >/dev
/null
2>&1; then
51082 as_test_x
='test -x'
51084 if ls -dL / >/dev
/null
2>&1; then
51091 if test -d "$1"; then
51097 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
51098 ???[sx]*):;;*)false;;esac;fi
51102 as_executable_p
=$as_test_x
51104 # Sed expression to map a string onto a valid CPP name.
51105 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
51107 # Sed expression to map a string onto a valid variable name.
51108 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
51113 # Save the log message, to keep $[0] and so on meaningful, and to
51114 # report actual input values of CONFIG_FILES etc. instead of their
51115 # values after options handling.
51117 This file was extended by wxWidgets $as_me 2.9.0, which was
51118 generated by GNU Autoconf 2.61. Invocation command line was
51120 CONFIG_FILES = $CONFIG_FILES
51121 CONFIG_HEADERS = $CONFIG_HEADERS
51122 CONFIG_LINKS = $CONFIG_LINKS
51123 CONFIG_COMMANDS = $CONFIG_COMMANDS
51126 on `(hostname || uname -n) 2>/dev/null | sed 1q`
51131 cat >>$CONFIG_STATUS <<_ACEOF
51132 # Files that config.status was made for.
51133 config_files="$ac_config_files"
51134 config_headers="$ac_config_headers"
51135 config_commands="$ac_config_commands"
51139 cat >>$CONFIG_STATUS <<\_ACEOF
51141 \`$as_me' instantiates files from templates according to the
51142 current configuration.
51144 Usage: $0 [OPTIONS] [FILE]...
51146 -h, --help print this help, then exit
51147 -V, --version print version number and configuration settings, then exit
51148 -q, --quiet do not print progress messages
51149 -d, --debug don't remove temporary files
51150 --recheck update $as_me by reconfiguring in the same conditions
51151 --file=FILE[:TEMPLATE]
51152 instantiate the configuration file FILE
51153 --header=FILE[:TEMPLATE]
51154 instantiate the configuration header FILE
51156 Configuration files:
51159 Configuration headers:
51162 Configuration commands:
51165 Report bugs to <bug-autoconf@gnu.org>."
51168 cat >>$CONFIG_STATUS <<_ACEOF
51170 wxWidgets config.status 2.9.0
51171 configured by $0, generated by GNU Autoconf 2.61,
51172 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
51174 Copyright (C) 2006 Free Software Foundation, Inc.
51175 This config.status script is free software; the Free Software Foundation
51176 gives unlimited permission to copy, distribute and modify it."
51183 cat >>$CONFIG_STATUS <<\_ACEOF
51184 # If no file are specified by the user, then we need to provide default
51185 # value. By we need to know if files were specified by the user.
51191 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
51192 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
51203 # Handling of the options.
51204 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
51206 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
51207 echo "$ac_cs_version"; exit ;;
51208 --debug | --debu | --deb | --de | --d | -d )
51210 --file | --fil | --fi | --f )
51212 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
51213 ac_need_defaults
=false
;;
51214 --header | --heade | --head | --hea )
51216 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
51217 ac_need_defaults
=false
;;
51219 # Conflict between --help and --header
51220 { echo "$as_me: error: ambiguous option: $1
51221 Try \`$0 --help' for more information." >&2
51222 { (exit 1); exit 1; }; };;
51223 --help | --hel | -h )
51224 echo "$ac_cs_usage"; exit ;;
51225 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
51226 | -silent | --silent | --silen | --sile | --sil | --si | --s)
51229 # This is an error.
51230 -*) { echo "$as_me: error: unrecognized option: $1
51231 Try \`$0 --help' for more information." >&2
51232 { (exit 1); exit 1; }; } ;;
51234 *) ac_config_targets
="$ac_config_targets $1"
51235 ac_need_defaults
=false
;;
51241 ac_configure_extra_args
=
51243 if $ac_cs_silent; then
51245 ac_configure_extra_args
="$ac_configure_extra_args --silent"
51249 cat >>$CONFIG_STATUS <<_ACEOF
51250 if \$ac_cs_recheck; then
51251 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
51252 CONFIG_SHELL=$SHELL
51253 export CONFIG_SHELL
51254 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
51258 cat >>$CONFIG_STATUS <<\_ACEOF
51262 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
51263 ## Running $as_me. ##
51269 cat >>$CONFIG_STATUS <<_ACEOF
51275 infile="$srcdir/include/wx/msw/genrcdefs.h"
51276 outdir="lib/wx/include/$TOOLCHAIN_FULLNAME/wx/msw"
51279 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
51280 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
51281 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
51287 cat >>$CONFIG_STATUS <<\_ACEOF
51289 # Handling of arguments.
51290 for ac_config_target
in $ac_config_targets
51292 case $ac_config_target in
51293 "lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h") CONFIG_HEADERS
="$CONFIG_HEADERS lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in" ;;
51294 "rcdefs.h") CONFIG_COMMANDS
="$CONFIG_COMMANDS rcdefs.h" ;;
51295 "lib/wx/config/${TOOLCHAIN_FULLNAME}") CONFIG_FILES
="$CONFIG_FILES lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in" ;;
51296 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}") CONFIG_FILES
="$CONFIG_FILES lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in" ;;
51297 "utils/ifacecheck/rungccxml.sh") CONFIG_FILES
="$CONFIG_FILES utils/ifacecheck/rungccxml.sh" ;;
51298 "version-script") CONFIG_FILES
="$CONFIG_FILES version-script" ;;
51299 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
51300 "wx-config") CONFIG_COMMANDS
="$CONFIG_COMMANDS wx-config" ;;
51301 "$mk") CONFIG_FILES
="$CONFIG_FILES $mk" ;;
51303 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
51304 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
51305 { (exit 1); exit 1; }; };;
51310 # If the user did not use the arguments to specify the items to instantiate,
51311 # then the envvar interface is used. Set only those that are not.
51312 # We use the long form for the default assignment because of an extremely
51313 # bizarre bug on SunOS 4.1.3.
51314 if $ac_need_defaults; then
51315 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
51316 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
51317 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
51320 # Have a temporary directory for convenience. Make it in the build tree
51321 # simply because there is no reason against having it here, and in addition,
51322 # creating and moving files from /tmp can sometimes cause problems.
51323 # Hook for its removal unless debugging.
51324 # Note that there is a small window in which the directory will not be cleaned:
51325 # after its creation but before its name has been assigned to `$tmp'.
51329 trap 'exit_status=$?
51330 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
51332 trap '{ (exit 1); exit 1; }' 1 2 13 15
51334 # Create a (secure) tmp directory for tmp files.
51337 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
51338 test -n "$tmp" && test -d "$tmp"
51341 tmp
=.
/conf$$
-$RANDOM
51342 (umask 077 && mkdir "$tmp")
51345 echo "$me: cannot create a temporary directory in ." >&2
51346 { (exit 1); exit 1; }
51350 # Set up the sed scripts for CONFIG_FILES section.
51353 # No need to generate the scripts if there are no CONFIG_FILES.
51354 # This happens for instance when ./config.status config.h
51355 if test -n "$CONFIG_FILES"; then
51362 for ac_last_try
in false false false false false
:; do
51363 cat >conf$
$subs.
sed <<_ACEOF
51364 SHELL!$SHELL$ac_delim
51365 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
51366 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
51367 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
51368 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
51369 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
51370 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
51371 exec_prefix!$exec_prefix$ac_delim
51372 prefix!$prefix$ac_delim
51373 program_transform_name!$program_transform_name$ac_delim
51374 bindir!$bindir$ac_delim
51375 sbindir!$sbindir$ac_delim
51376 libexecdir!$libexecdir$ac_delim
51377 datarootdir!$datarootdir$ac_delim
51378 datadir!$datadir$ac_delim
51379 sysconfdir!$sysconfdir$ac_delim
51380 sharedstatedir!$sharedstatedir$ac_delim
51381 localstatedir!$localstatedir$ac_delim
51382 includedir!$includedir$ac_delim
51383 oldincludedir!$oldincludedir$ac_delim
51384 docdir!$docdir$ac_delim
51385 infodir!$infodir$ac_delim
51386 htmldir!$htmldir$ac_delim
51387 dvidir!$dvidir$ac_delim
51388 pdfdir!$pdfdir$ac_delim
51389 psdir!$psdir$ac_delim
51390 libdir!$libdir$ac_delim
51391 localedir!$localedir$ac_delim
51392 mandir!$mandir$ac_delim
51393 DEFS!$DEFS$ac_delim
51394 ECHO_C!$ECHO_C$ac_delim
51395 ECHO_N!$ECHO_N$ac_delim
51396 ECHO_T!$ECHO_T$ac_delim
51397 LIBS!$LIBS$ac_delim
51398 build_alias!$build_alias$ac_delim
51399 host_alias!$host_alias$ac_delim
51400 target_alias!$target_alias$ac_delim
51401 build!$build$ac_delim
51402 build_cpu!$build_cpu$ac_delim
51403 build_vendor!$build_vendor$ac_delim
51404 build_os!$build_os$ac_delim
51405 host!$host$ac_delim
51406 host_cpu!$host_cpu$ac_delim
51407 host_vendor!$host_vendor$ac_delim
51408 host_os!$host_os$ac_delim
51409 target!$target$ac_delim
51410 target_cpu!$target_cpu$ac_delim
51411 target_vendor!$target_vendor$ac_delim
51412 target_os!$target_os$ac_delim
51413 wx_top_builddir!$wx_top_builddir$ac_delim
51415 CFLAGS!$CFLAGS$ac_delim
51416 LDFLAGS!$LDFLAGS$ac_delim
51417 CPPFLAGS!$CPPFLAGS$ac_delim
51418 ac_ct_CC!$ac_ct_CC$ac_delim
51419 EXEEXT!$EXEEXT$ac_delim
51420 OBJEXT!$OBJEXT$ac_delim
51422 GREP!$GREP$ac_delim
51423 EGREP!$EGREP$ac_delim
51425 CXXFLAGS!$CXXFLAGS$ac_delim
51426 ac_ct_CXX!$ac_ct_CXX$ac_delim
51428 subdirs!$subdirs$ac_delim
51429 PKG_CONFIG!$PKG_CONFIG$ac_delim
51430 GTK_CFLAGS!$GTK_CFLAGS$ac_delim
51431 GTK_LIBS!$GTK_LIBS$ac_delim
51432 GTK_CONFIG!$GTK_CONFIG$ac_delim
51433 DIRECTFB_CFLAGS!$DIRECTFB_CFLAGS$ac_delim
51434 DIRECTFB_LIBS!$DIRECTFB_LIBS$ac_delim
51435 XMKMF!$XMKMF$ac_delim
51436 X_CFLAGS!$X_CFLAGS$ac_delim
51437 X_PRE_LIBS!$X_PRE_LIBS$ac_delim
51438 X_LIBS!$X_LIBS$ac_delim
51439 X_EXTRA_LIBS!$X_EXTRA_LIBS$ac_delim
51440 PANGOX_CFLAGS!$PANGOX_CFLAGS$ac_delim
51441 PANGOX_LIBS!$PANGOX_LIBS$ac_delim
51442 PANGOFT2_CFLAGS!$PANGOFT2_CFLAGS$ac_delim
51443 PANGOFT2_LIBS!$PANGOFT2_LIBS$ac_delim
51444 PANGOXFT_CFLAGS!$PANGOXFT_CFLAGS$ac_delim
51445 PANGOXFT_LIBS!$PANGOXFT_LIBS$ac_delim
51446 CFLAGS_VISIBILITY!$CFLAGS_VISIBILITY$ac_delim
51447 CXXFLAGS_VISIBILITY!$CXXFLAGS_VISIBILITY$ac_delim
51448 LIBICONV!$LIBICONV$ac_delim
51449 SDL_CONFIG!$SDL_CONFIG$ac_delim
51450 SDL_CFLAGS!$SDL_CFLAGS$ac_delim
51451 SDL_LIBS!$SDL_LIBS$ac_delim
51452 GTKPRINT_CFLAGS!$GTKPRINT_CFLAGS$ac_delim
51453 GTKPRINT_LIBS!$GTKPRINT_LIBS$ac_delim
51454 LIBGNOMEPRINTUI_CFLAGS!$LIBGNOMEPRINTUI_CFLAGS$ac_delim
51455 LIBGNOMEPRINTUI_LIBS!$LIBGNOMEPRINTUI_LIBS$ac_delim
51456 GNOMEVFS_CFLAGS!$GNOMEVFS_CFLAGS$ac_delim
51457 GNOMEVFS_LIBS!$GNOMEVFS_LIBS$ac_delim
51458 HILDON_CFLAGS!$HILDON_CFLAGS$ac_delim
51459 HILDON_LIBS!$HILDON_LIBS$ac_delim
51460 CAIRO_CFLAGS!$CAIRO_CFLAGS$ac_delim
51463 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
51465 elif $ac_last_try; then
51466 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
51467 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
51468 { (exit 1); exit 1; }; }
51470 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
51474 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
51475 if test -n "$ac_eof"; then
51476 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
51477 ac_eof
=`expr $ac_eof + 1`
51480 cat >>$CONFIG_STATUS <<_ACEOF
51481 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
51482 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
51485 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
51486 s/^/s,@/; s/!/@,|#_!!_#|/
51489 s/'"$ac_delim"'$/,g/; t
51491 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
51492 ' >>$CONFIG_STATUS <conf$
$subs.
sed
51493 rm -f conf$
$subs.
sed
51494 cat >>$CONFIG_STATUS <<_ACEOF
51500 for ac_last_try
in false false false false false
:; do
51501 cat >conf$
$subs.
sed <<_ACEOF
51502 CAIRO_LIBS!$CAIRO_LIBS$ac_delim
51503 GST_CFLAGS!$GST_CFLAGS$ac_delim
51504 GST_LIBS!$GST_LIBS$ac_delim
51505 ALL_WX_LIBS!$ALL_WX_LIBS$ac_delim
51506 BUILT_WX_LIBS!$BUILT_WX_LIBS$ac_delim
51507 STD_BASE_LIBS!$STD_BASE_LIBS$ac_delim
51508 STD_GUI_LIBS!$STD_GUI_LIBS$ac_delim
51509 wxUSE_ZLIB!$wxUSE_ZLIB$ac_delim
51510 wxUSE_REGEX!$wxUSE_REGEX$ac_delim
51511 wxUSE_EXPAT!$wxUSE_EXPAT$ac_delim
51512 wxUSE_LIBJPEG!$wxUSE_LIBJPEG$ac_delim
51513 wxUSE_LIBPNG!$wxUSE_LIBPNG$ac_delim
51514 wxUSE_LIBTIFF!$wxUSE_LIBTIFF$ac_delim
51515 VENDOR!$VENDOR$ac_delim
51516 OFFICIAL_BUILD!$OFFICIAL_BUILD$ac_delim
51517 WX_FLAVOUR!$WX_FLAVOUR$ac_delim
51518 WX_LIB_FLAVOUR!$WX_LIB_FLAVOUR$ac_delim
51519 WXUNIV!$WXUNIV$ac_delim
51520 MONOLITHIC!$MONOLITHIC$ac_delim
51521 USE_PLUGINS!$USE_PLUGINS$ac_delim
51522 CXXWARNINGS!$CXXWARNINGS$ac_delim
51523 EXTRALIBS!$EXTRALIBS$ac_delim
51524 EXTRALIBS_XML!$EXTRALIBS_XML$ac_delim
51525 EXTRALIBS_HTML!$EXTRALIBS_HTML$ac_delim
51526 EXTRALIBS_MEDIA!$EXTRALIBS_MEDIA$ac_delim
51527 EXTRALIBS_GUI!$EXTRALIBS_GUI$ac_delim
51528 EXTRALIBS_OPENGL!$EXTRALIBS_OPENGL$ac_delim
51529 EXTRALIBS_SDL!$EXTRALIBS_SDL$ac_delim
51530 EXTRALIBS_STC!$EXTRALIBS_STC$ac_delim
51531 WITH_PLUGIN_SDL!$WITH_PLUGIN_SDL$ac_delim
51532 EXTRALIBS_GTKPRINT!$EXTRALIBS_GTKPRINT$ac_delim
51533 EXTRALIBS_GNOMEPRINT!$EXTRALIBS_GNOMEPRINT$ac_delim
51534 EXTRALIBS_GNOMEVFS!$EXTRALIBS_GNOMEVFS$ac_delim
51535 EXTRALIBS_HILDON!$EXTRALIBS_HILDON$ac_delim
51536 UNICODE!$UNICODE$ac_delim
51537 BUILD!$BUILD$ac_delim
51538 DEBUG_INFO!$DEBUG_INFO$ac_delim
51539 DEBUG_FLAG!$DEBUG_FLAG$ac_delim
51540 TOOLKIT_LOWERCASE!$TOOLKIT_LOWERCASE$ac_delim
51541 TOOLKIT_VERSION!$TOOLKIT_VERSION$ac_delim
51542 SAMPLES_RPATH_FLAG!$SAMPLES_RPATH_FLAG$ac_delim
51543 SAMPLES_RPATH_POSTLINK!$SAMPLES_RPATH_POSTLINK$ac_delim
51544 HOST_SUFFIX!$HOST_SUFFIX$ac_delim
51545 CPPUNIT_CFLAGS!$CPPUNIT_CFLAGS$ac_delim
51546 CPPUNIT_LIBS!$CPPUNIT_LIBS$ac_delim
51547 RANLIB!$RANLIB$ac_delim
51548 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
51549 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
51550 INSTALL_DATA!$INSTALL_DATA$ac_delim
51551 LN_S!$LN_S$ac_delim
51552 SET_MAKE!$SET_MAKE$ac_delim
51553 MAKE_SET!$MAKE_SET$ac_delim
51554 AROPTIONS!$AROPTIONS$ac_delim
51555 STRIP!$STRIP$ac_delim
51557 INSTALL_DIR!$INSTALL_DIR$ac_delim
51558 LDFLAGS_GUI!$LDFLAGS_GUI$ac_delim
51559 IF_GNU_MAKE!$IF_GNU_MAKE$ac_delim
51560 PLATFORM_UNIX!$PLATFORM_UNIX$ac_delim
51561 PLATFORM_WIN32!$PLATFORM_WIN32$ac_delim
51562 PLATFORM_MSDOS!$PLATFORM_MSDOS$ac_delim
51563 PLATFORM_MAC!$PLATFORM_MAC$ac_delim
51564 PLATFORM_MACOS!$PLATFORM_MACOS$ac_delim
51565 PLATFORM_MACOSX!$PLATFORM_MACOSX$ac_delim
51566 PLATFORM_OS2!$PLATFORM_OS2$ac_delim
51567 PLATFORM_BEOS!$PLATFORM_BEOS$ac_delim
51568 SO_SUFFIX!$SO_SUFFIX$ac_delim
51569 SO_SUFFIX_MODULE!$SO_SUFFIX_MODULE$ac_delim
51570 DLLIMP_SUFFIX!$DLLIMP_SUFFIX$ac_delim
51571 LIBPREFIX!$LIBPREFIX$ac_delim
51572 LIBEXT!$LIBEXT$ac_delim
51573 DLLPREFIX!$DLLPREFIX$ac_delim
51574 DLLPREFIX_MODULE!$DLLPREFIX_MODULE$ac_delim
51575 dlldir!$dlldir$ac_delim
51576 AIX_CXX_LD!$AIX_CXX_LD$ac_delim
51577 SHARED_LD_CC!$SHARED_LD_CC$ac_delim
51578 SHARED_LD_CXX!$SHARED_LD_CXX$ac_delim
51579 SHARED_LD_MODULE_CC!$SHARED_LD_MODULE_CC$ac_delim
51580 SHARED_LD_MODULE_CXX!$SHARED_LD_MODULE_CXX$ac_delim
51581 PIC_FLAG!$PIC_FLAG$ac_delim
51582 WINDOWS_IMPLIB!$WINDOWS_IMPLIB$ac_delim
51583 USE_SOVERSION!$USE_SOVERSION$ac_delim
51584 USE_SOVERLINUX!$USE_SOVERLINUX$ac_delim
51585 USE_SOVERSOLARIS!$USE_SOVERSOLARIS$ac_delim
51586 USE_SOVERCYGWIN!$USE_SOVERCYGWIN$ac_delim
51587 USE_MACVERSION!$USE_MACVERSION$ac_delim
51588 USE_SOSYMLINKS!$USE_SOSYMLINKS$ac_delim
51589 SONAME_FLAG!$SONAME_FLAG$ac_delim
51590 DEPS_TRACKING!$DEPS_TRACKING$ac_delim
51591 BK_DEPS!$BK_DEPS$ac_delim
51592 WINDRES!$WINDRES$ac_delim
51594 SETFILE!$SETFILE$ac_delim
51595 GCC_PCH!$GCC_PCH$ac_delim
51596 ICC_PCH!$ICC_PCH$ac_delim
51597 BK_MAKE_PCH!$BK_MAKE_PCH$ac_delim
51598 COND_BUILD_DEBUG!$COND_BUILD_DEBUG$ac_delim
51601 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
51603 elif $ac_last_try; then
51604 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
51605 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
51606 { (exit 1); exit 1; }; }
51608 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
51612 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
51613 if test -n "$ac_eof"; then
51614 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
51615 ac_eof
=`expr $ac_eof + 1`
51618 cat >>$CONFIG_STATUS <<_ACEOF
51619 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
51620 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
51623 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
51624 s/^/s,@/; s/!/@,|#_!!_#|/
51627 s/'"$ac_delim"'$/,g/; t
51629 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
51630 ' >>$CONFIG_STATUS <conf$
$subs.
sed
51631 rm -f conf$
$subs.
sed
51632 cat >>$CONFIG_STATUS <<_ACEOF
51638 for ac_last_try
in false false false false false
:; do
51639 cat >conf$
$subs.
sed <<_ACEOF
51640 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT!$COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT$ac_delim
51641 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT!$COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT$ac_delim
51642 COND_BUILD_DEBUG_UNICODE_0!$COND_BUILD_DEBUG_UNICODE_0$ac_delim
51643 COND_BUILD_DEBUG_UNICODE_1!$COND_BUILD_DEBUG_UNICODE_1$ac_delim
51644 COND_BUILD_RELEASE!$COND_BUILD_RELEASE$ac_delim
51645 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT!$COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT$ac_delim
51646 COND_BUILD_RELEASE_UNICODE_0!$COND_BUILD_RELEASE_UNICODE_0$ac_delim
51647 COND_BUILD_RELEASE_UNICODE_1!$COND_BUILD_RELEASE_UNICODE_1$ac_delim
51648 COND_DEBUG_FLAG_1!$COND_DEBUG_FLAG_1$ac_delim
51649 COND_DEBUG_INFO_0!$COND_DEBUG_INFO_0$ac_delim
51650 COND_DEBUG_INFO_1!$COND_DEBUG_INFO_1$ac_delim
51651 COND_DEPS_TRACKING_0!$COND_DEPS_TRACKING_0$ac_delim
51652 COND_DEPS_TRACKING_1!$COND_DEPS_TRACKING_1$ac_delim
51653 COND_GCC_PCH_1!$COND_GCC_PCH_1$ac_delim
51654 COND_ICC_PCH_1!$COND_ICC_PCH_1$ac_delim
51655 COND_MONOLITHIC_0!$COND_MONOLITHIC_0$ac_delim
51656 COND_MONOLITHIC_0_SHARED_0!$COND_MONOLITHIC_0_SHARED_0$ac_delim
51657 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1!$COND_MONOLITHIC_0_SHARED_0_USE_AUI_1$ac_delim
51658 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1$ac_delim
51659 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1$ac_delim
51660 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1$ac_delim
51661 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1$ac_delim
51662 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1!$COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1$ac_delim
51663 COND_MONOLITHIC_0_SHARED_0_USE_STC_1!$COND_MONOLITHIC_0_SHARED_0_USE_STC_1$ac_delim
51664 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1!$COND_MONOLITHIC_0_SHARED_0_USE_XRC_1$ac_delim
51665 COND_MONOLITHIC_0_SHARED_1!$COND_MONOLITHIC_0_SHARED_1$ac_delim
51666 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1!$COND_MONOLITHIC_0_SHARED_1_USE_AUI_1$ac_delim
51667 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1$ac_delim
51668 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1$ac_delim
51669 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1$ac_delim
51670 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1$ac_delim
51671 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1!$COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1$ac_delim
51672 COND_MONOLITHIC_0_SHARED_1_USE_STC_1!$COND_MONOLITHIC_0_SHARED_1_USE_STC_1$ac_delim
51673 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1!$COND_MONOLITHIC_0_SHARED_1_USE_XRC_1$ac_delim
51674 COND_MONOLITHIC_0_USE_AUI_1!$COND_MONOLITHIC_0_USE_AUI_1$ac_delim
51675 COND_MONOLITHIC_0_USE_GUI_1!$COND_MONOLITHIC_0_USE_GUI_1$ac_delim
51676 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1$ac_delim
51677 COND_MONOLITHIC_0_USE_HTML_1!$COND_MONOLITHIC_0_USE_HTML_1$ac_delim
51678 COND_MONOLITHIC_0_USE_MEDIA_1!$COND_MONOLITHIC_0_USE_MEDIA_1$ac_delim
51679 COND_MONOLITHIC_0_USE_QA_1!$COND_MONOLITHIC_0_USE_QA_1$ac_delim
51680 COND_MONOLITHIC_0_USE_RICHTEXT_1!$COND_MONOLITHIC_0_USE_RICHTEXT_1$ac_delim
51681 COND_MONOLITHIC_0_USE_STC_1!$COND_MONOLITHIC_0_USE_STC_1$ac_delim
51682 COND_MONOLITHIC_0_USE_XRC_1!$COND_MONOLITHIC_0_USE_XRC_1$ac_delim
51683 COND_MONOLITHIC_1!$COND_MONOLITHIC_1$ac_delim
51684 COND_MONOLITHIC_1_SHARED_0!$COND_MONOLITHIC_1_SHARED_0$ac_delim
51685 COND_MONOLITHIC_1_SHARED_1!$COND_MONOLITHIC_1_SHARED_1$ac_delim
51686 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1!$COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1$ac_delim
51687 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1!$COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1$ac_delim
51688 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1$ac_delim
51689 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_0_USE_SOVERSION_1$ac_delim
51690 COND_PLATFORM_MACOSX_1!$COND_PLATFORM_MACOSX_1$ac_delim
51691 COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0!$COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0$ac_delim
51692 COND_PLATFORM_MACOSX_1_TOOLKIT_!$COND_PLATFORM_MACOSX_1_TOOLKIT_$ac_delim
51693 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA!$COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA$ac_delim
51694 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA_USE_GUI_1!$COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA_USE_GUI_1$ac_delim
51695 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK!$COND_PLATFORM_MACOSX_1_TOOLKIT_GTK$ac_delim
51696 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC!$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC$ac_delim
51697 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1!$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1$ac_delim
51698 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF!$COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF$ac_delim
51699 COND_PLATFORM_MACOSX_1_TOOLKIT_X11!$COND_PLATFORM_MACOSX_1_TOOLKIT_X11$ac_delim
51700 COND_PLATFORM_MACOSX_1_USE_GUI_1!$COND_PLATFORM_MACOSX_1_USE_GUI_1$ac_delim
51701 COND_PLATFORM_MACOSX_1_USE_OPENGL_1!$COND_PLATFORM_MACOSX_1_USE_OPENGL_1$ac_delim
51702 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_1_USE_SOVERSION_1$ac_delim
51703 COND_PLATFORM_MACOS_1!$COND_PLATFORM_MACOS_1$ac_delim
51704 COND_PLATFORM_MAC_0!$COND_PLATFORM_MAC_0$ac_delim
51705 COND_PLATFORM_MAC_1!$COND_PLATFORM_MAC_1$ac_delim
51706 COND_PLATFORM_MSDOS_0!$COND_PLATFORM_MSDOS_0$ac_delim
51707 COND_PLATFORM_MSDOS_1!$COND_PLATFORM_MSDOS_1$ac_delim
51708 COND_PLATFORM_OS2_1!$COND_PLATFORM_OS2_1$ac_delim
51709 COND_PLATFORM_UNIX_0!$COND_PLATFORM_UNIX_0$ac_delim
51710 COND_PLATFORM_UNIX_1!$COND_PLATFORM_UNIX_1$ac_delim
51711 COND_PLATFORM_UNIX_1_TOOLKIT_MGL!$COND_PLATFORM_UNIX_1_TOOLKIT_MGL$ac_delim
51712 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1!$COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1$ac_delim
51713 COND_PLATFORM_UNIX_1_USE_GUI_1!$COND_PLATFORM_UNIX_1_USE_GUI_1$ac_delim
51714 COND_PLATFORM_UNIX_1_USE_PLUGINS_0!$COND_PLATFORM_UNIX_1_USE_PLUGINS_0$ac_delim
51715 COND_PLATFORM_WIN32_0!$COND_PLATFORM_WIN32_0$ac_delim
51716 COND_PLATFORM_WIN32_1!$COND_PLATFORM_WIN32_1$ac_delim
51717 COND_SHARED_0!$COND_SHARED_0$ac_delim
51718 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0!$COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0$ac_delim
51719 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0!$COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0$ac_delim
51720 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0!$COND_SHARED_0_TOOLKIT_PM_WXUNIV_0$ac_delim
51721 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1!$COND_SHARED_0_USE_GUI_1_USE_OPENGL_1$ac_delim
51722 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN!$COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN$ac_delim
51723 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN!$COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN$ac_delim
51724 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN!$COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN$ac_delim
51725 COND_SHARED_0_USE_STC_1!$COND_SHARED_0_USE_STC_1$ac_delim
51726 COND_SHARED_0_WXUSE_EXPAT_BUILTIN!$COND_SHARED_0_WXUSE_EXPAT_BUILTIN$ac_delim
51727 COND_SHARED_0_WXUSE_REGEX_BUILTIN!$COND_SHARED_0_WXUSE_REGEX_BUILTIN$ac_delim
51728 COND_SHARED_0_WXUSE_ZLIB_BUILTIN!$COND_SHARED_0_WXUSE_ZLIB_BUILTIN$ac_delim
51729 COND_SHARED_1!$COND_SHARED_1$ac_delim
51730 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1!$COND_SHARED_1_USE_GUI_1_USE_OPENGL_1$ac_delim
51731 COND_TOOLKIT_!$COND_TOOLKIT_$ac_delim
51732 COND_TOOLKIT_COCOA!$COND_TOOLKIT_COCOA$ac_delim
51733 COND_TOOLKIT_COCOA_USE_GUI_1!$COND_TOOLKIT_COCOA_USE_GUI_1$ac_delim
51734 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0$ac_delim
51735 COND_TOOLKIT_DFB!$COND_TOOLKIT_DFB$ac_delim
51736 COND_TOOLKIT_DFB_USE_GUI_1!$COND_TOOLKIT_DFB_USE_GUI_1$ac_delim
51739 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
51741 elif $ac_last_try; then
51742 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
51743 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
51744 { (exit 1); exit 1; }; }
51746 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
51750 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
51751 if test -n "$ac_eof"; then
51752 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
51753 ac_eof
=`expr $ac_eof + 1`
51756 cat >>$CONFIG_STATUS <<_ACEOF
51757 cat >"\$tmp/subs-3.sed" <<\CEOF$ac_eof
51758 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
51761 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
51762 s/^/s,@/; s/!/@,|#_!!_#|/
51765 s/'"$ac_delim"'$/,g/; t
51767 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
51768 ' >>$CONFIG_STATUS <conf$
$subs.
sed
51769 rm -f conf$
$subs.
sed
51770 cat >>$CONFIG_STATUS <<_ACEOF
51776 for ac_last_try
in false false false false false
:; do
51777 cat >conf$
$subs.
sed <<_ACEOF
51778 COND_TOOLKIT_GTK!$COND_TOOLKIT_GTK$ac_delim
51779 COND_TOOLKIT_GTK_TOOLKIT_VERSION_!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_$ac_delim
51780 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2$ac_delim
51781 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1$ac_delim
51782 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0$ac_delim
51783 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_WXUNIV_0!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_WXUNIV_0$ac_delim
51784 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1!$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1$ac_delim
51785 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0$ac_delim
51786 COND_TOOLKIT_GTK_USE_GUI_1!$COND_TOOLKIT_GTK_USE_GUI_1$ac_delim
51787 COND_TOOLKIT_MAC!$COND_TOOLKIT_MAC$ac_delim
51788 COND_TOOLKIT_MAC_USE_GUI_1!$COND_TOOLKIT_MAC_USE_GUI_1$ac_delim
51789 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0$ac_delim
51790 COND_TOOLKIT_MGL!$COND_TOOLKIT_MGL$ac_delim
51791 COND_TOOLKIT_MGL_USE_GUI_1!$COND_TOOLKIT_MGL_USE_GUI_1$ac_delim
51792 COND_TOOLKIT_MOTIF!$COND_TOOLKIT_MOTIF$ac_delim
51793 COND_TOOLKIT_MOTIF_USE_GUI_1!$COND_TOOLKIT_MOTIF_USE_GUI_1$ac_delim
51794 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0$ac_delim
51795 COND_TOOLKIT_MSW!$COND_TOOLKIT_MSW$ac_delim
51796 COND_TOOLKIT_MSW_USE_GUI_1!$COND_TOOLKIT_MSW_USE_GUI_1$ac_delim
51797 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0$ac_delim
51798 COND_TOOLKIT_MSW_WXUNIV_0!$COND_TOOLKIT_MSW_WXUNIV_0$ac_delim
51799 COND_TOOLKIT_PM!$COND_TOOLKIT_PM$ac_delim
51800 COND_TOOLKIT_PM_USE_GUI_1!$COND_TOOLKIT_PM_USE_GUI_1$ac_delim
51801 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0$ac_delim
51802 COND_TOOLKIT_WINCE!$COND_TOOLKIT_WINCE$ac_delim
51803 COND_TOOLKIT_WINCE_USE_GUI_1!$COND_TOOLKIT_WINCE_USE_GUI_1$ac_delim
51804 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0$ac_delim
51805 COND_TOOLKIT_WINCE_WXUNIV_0!$COND_TOOLKIT_WINCE_WXUNIV_0$ac_delim
51806 COND_TOOLKIT_X11!$COND_TOOLKIT_X11$ac_delim
51807 COND_TOOLKIT_X11_USE_GUI_1!$COND_TOOLKIT_X11_USE_GUI_1$ac_delim
51808 COND_UNICODE_1!$COND_UNICODE_1$ac_delim
51809 COND_USE_EXCEPTIONS_0!$COND_USE_EXCEPTIONS_0$ac_delim
51810 COND_USE_EXCEPTIONS_1!$COND_USE_EXCEPTIONS_1$ac_delim
51811 COND_USE_GUI_0!$COND_USE_GUI_0$ac_delim
51812 COND_USE_GUI_1!$COND_USE_GUI_1$ac_delim
51813 COND_USE_GUI_1_USE_OPENGL_1!$COND_USE_GUI_1_USE_OPENGL_1$ac_delim
51814 COND_USE_GUI_1_WXUNIV_0!$COND_USE_GUI_1_WXUNIV_0$ac_delim
51815 COND_USE_GUI_1_WXUNIV_1!$COND_USE_GUI_1_WXUNIV_1$ac_delim
51816 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN$ac_delim
51817 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN$ac_delim
51818 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN$ac_delim
51819 COND_USE_OPENGL_1!$COND_USE_OPENGL_1$ac_delim
51820 COND_USE_PCH_1!$COND_USE_PCH_1$ac_delim
51821 COND_USE_PLUGINS_0!$COND_USE_PLUGINS_0$ac_delim
51822 COND_USE_RTTI_0!$COND_USE_RTTI_0$ac_delim
51823 COND_USE_RTTI_1!$COND_USE_RTTI_1$ac_delim
51824 COND_USE_SOSYMLINKS_1!$COND_USE_SOSYMLINKS_1$ac_delim
51825 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1!$COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1$ac_delim
51826 COND_USE_SOVERLINUX_1!$COND_USE_SOVERLINUX_1$ac_delim
51827 COND_USE_SOVERSION_0!$COND_USE_SOVERSION_0$ac_delim
51828 COND_USE_SOVERSOLARIS_1!$COND_USE_SOVERSOLARIS_1$ac_delim
51829 COND_USE_STC_1!$COND_USE_STC_1$ac_delim
51830 COND_USE_THREADS_0!$COND_USE_THREADS_0$ac_delim
51831 COND_USE_THREADS_1!$COND_USE_THREADS_1$ac_delim
51832 COND_USE_XRC_1!$COND_USE_XRC_1$ac_delim
51833 COND_WINDOWS_IMPLIB_1!$COND_WINDOWS_IMPLIB_1$ac_delim
51834 COND_WITH_PLUGIN_SDL_1!$COND_WITH_PLUGIN_SDL_1$ac_delim
51835 COND_WXUNIV_0!$COND_WXUNIV_0$ac_delim
51836 COND_WXUNIV_1!$COND_WXUNIV_1$ac_delim
51837 COND_WXUSE_EXPAT_BUILTIN!$COND_WXUSE_EXPAT_BUILTIN$ac_delim
51838 COND_WXUSE_LIBJPEG_BUILTIN!$COND_WXUSE_LIBJPEG_BUILTIN$ac_delim
51839 COND_WXUSE_LIBPNG_BUILTIN!$COND_WXUSE_LIBPNG_BUILTIN$ac_delim
51840 COND_WXUSE_LIBTIFF_BUILTIN!$COND_WXUSE_LIBTIFF_BUILTIN$ac_delim
51841 COND_WXUSE_REGEX_BUILTIN!$COND_WXUSE_REGEX_BUILTIN$ac_delim
51842 COND_WXUSE_ZLIB_BUILTIN!$COND_WXUSE_ZLIB_BUILTIN$ac_delim
51843 DEREZ!$DEREZ$ac_delim
51844 SHARED!$SHARED$ac_delim
51845 WX_LIBRARY_BASENAME_NOGUI!$WX_LIBRARY_BASENAME_NOGUI$ac_delim
51846 WX_LIBRARY_BASENAME_GUI!$WX_LIBRARY_BASENAME_GUI$ac_delim
51847 USE_GUI!$USE_GUI$ac_delim
51848 AFMINSTALL!$AFMINSTALL$ac_delim
51849 WIN32INSTALL!$WIN32INSTALL$ac_delim
51850 TOOLKIT!$TOOLKIT$ac_delim
51851 TOOLKIT_DIR!$TOOLKIT_DIR$ac_delim
51852 TOOLCHAIN_NAME!$TOOLCHAIN_NAME$ac_delim
51853 TOOLCHAIN_FULLNAME!$TOOLCHAIN_FULLNAME$ac_delim
51854 cross_compiling!$cross_compiling$ac_delim
51855 WIDGET_SET!$WIDGET_SET$ac_delim
51856 WX_RELEASE!$WX_RELEASE$ac_delim
51857 WX_VERSION!$WX_VERSION$ac_delim
51858 WX_SUBVERSION!$WX_SUBVERSION$ac_delim
51859 WX_CHARTYPE!$WX_CHARTYPE$ac_delim
51860 WX_DEBUGTYPE!$WX_DEBUGTYPE$ac_delim
51861 WXCONFIG_CPPFLAGS!$WXCONFIG_CPPFLAGS$ac_delim
51862 WXCONFIG_CFLAGS!$WXCONFIG_CFLAGS$ac_delim
51863 WXCONFIG_CXXFLAGS!$WXCONFIG_CXXFLAGS$ac_delim
51864 WXCONFIG_LIBS!$WXCONFIG_LIBS$ac_delim
51865 WXCONFIG_RPATH!$WXCONFIG_RPATH$ac_delim
51866 WXCONFIG_LDFLAGS_GUI!$WXCONFIG_LDFLAGS_GUI$ac_delim
51867 WXCONFIG_RESFLAGS!$WXCONFIG_RESFLAGS$ac_delim
51868 GUIDIST!$GUIDIST$ac_delim
51869 DISTDIR!$DISTDIR$ac_delim
51870 SAMPLES_SUBDIRS!$SAMPLES_SUBDIRS$ac_delim
51871 LDFLAGS_GL!$LDFLAGS_GL$ac_delim
51872 OPENGL_LIBS!$OPENGL_LIBS$ac_delim
51873 DMALLOC_LIBS!$DMALLOC_LIBS$ac_delim
51874 WX_VERSION_TAG!$WX_VERSION_TAG$ac_delim
51877 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
51879 elif $ac_last_try; then
51880 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
51881 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
51882 { (exit 1); exit 1; }; }
51884 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
51888 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
51889 if test -n "$ac_eof"; then
51890 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
51891 ac_eof
=`expr $ac_eof + 1`
51894 cat >>$CONFIG_STATUS <<_ACEOF
51895 cat >"\$tmp/subs-4.sed" <<\CEOF$ac_eof
51896 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
51899 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
51900 s/^/s,@/; s/!/@,|#_!!_#|/
51903 s/'"$ac_delim"'$/,g/; t
51905 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
51906 ' >>$CONFIG_STATUS <conf$
$subs.
sed
51907 rm -f conf$
$subs.
sed
51908 cat >>$CONFIG_STATUS <<_ACEOF
51914 for ac_last_try
in false false false false false
:; do
51915 cat >conf$
$subs.
sed <<_ACEOF
51916 RESCOMP!$RESCOMP$ac_delim
51917 RESFLAGS!$RESFLAGS$ac_delim
51918 RESPROGRAMOBJ!$RESPROGRAMOBJ$ac_delim
51919 WX_RESOURCES_MACOSX_ASCII!$WX_RESOURCES_MACOSX_ASCII$ac_delim
51920 WX_RESOURCES_MACOSX_DATA!$WX_RESOURCES_MACOSX_DATA$ac_delim
51921 LIBWXMACRES!$LIBWXMACRES$ac_delim
51922 POSTLINK_COMMAND!$POSTLINK_COMMAND$ac_delim
51923 MACSETFILE!$MACSETFILE$ac_delim
51925 DLLTOOL!$DLLTOOL$ac_delim
51926 CPPUNIT_CONFIG!$CPPUNIT_CONFIG$ac_delim
51927 LIBOBJS!$LIBOBJS$ac_delim
51928 LTLIBOBJS!$LTLIBOBJS$ac_delim
51931 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 13; then
51933 elif $ac_last_try; then
51934 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
51935 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
51936 { (exit 1); exit 1; }; }
51938 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
51942 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
51943 if test -n "$ac_eof"; then
51944 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
51945 ac_eof
=`expr $ac_eof + 1`
51948 cat >>$CONFIG_STATUS <<_ACEOF
51949 cat >"\$tmp/subs-5.sed" <<\CEOF$ac_eof
51950 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
51953 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
51954 s/^/s,@/; s/!/@,|#_!!_#|/
51957 s/'"$ac_delim"'$/,g/; t
51959 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
51960 ' >>$CONFIG_STATUS <conf$
$subs.
sed
51961 rm -f conf$
$subs.
sed
51962 cat >>$CONFIG_STATUS <<_ACEOF
51969 # VPATH may cause trouble with some makes, so we remove $(srcdir),
51970 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
51971 # trailing colons and then remove the whole line if VPATH becomes empty
51972 # (actually we leave an empty line to preserve line numbers).
51973 if test "x$srcdir" = x.
; then
51974 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
51975 s/:*\$(srcdir):*/:/
51976 s/:*\${srcdir}:*/:/
51978 s/^\([^=]*=[ ]*\):*/\1/
51984 cat >>$CONFIG_STATUS <<\_ACEOF
51985 fi # test -n "$CONFIG_FILES"
51988 for ac_tag
in :F
$CONFIG_FILES :H
$CONFIG_HEADERS :C
$CONFIG_COMMANDS
51991 :[FHLC
]) ac_mode
=$ac_tag; continue;;
51993 case $ac_mode$ac_tag in
51995 :L
* | :C
*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
51996 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
51997 { (exit 1); exit 1; }; };;
51998 :[FH
]-) ac_tag
=-:-;;
51999 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
52016 -) ac_f
="$tmp/stdin";;
52017 *) # Look for the file first in the build tree, then in the source tree
52018 # (if the path is not absolute). The absolute path cannot be DOS-style,
52019 # because $ac_f cannot contain `:'.
52023 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
52025 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
52026 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
52027 { (exit 1); exit 1; }; };;
52029 ac_file_inputs
="$ac_file_inputs $ac_f"
52032 # Let's still pretend it is `configure' which instantiates (i.e., don't
52033 # use $as_me), people would be surprised to read:
52034 # /* config.h. Generated by config.status. */
52035 configure_input
="Generated from "`IFS=:
52036 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
52037 if test x
"$ac_file" != x
-; then
52038 configure_input
="$ac_file. $configure_input"
52039 { echo "$as_me:$LINENO: creating $ac_file" >&5
52040 echo "$as_me: creating $ac_file" >&6;}
52044 *:-:* | *:-) cat >"$tmp/stdin";;
52049 ac_dir
=`$as_dirname -- "$ac_file" ||
52050 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
52051 X"$ac_file" : 'X\(//\)[^/]' \| \
52052 X"$ac_file" : 'X\(//\)$' \| \
52053 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
52055 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
52059 /^X\(\/\/\)[^/].*/{
52074 -*) as_dir
=.
/$as_dir;;
52076 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
52080 *\'*) as_qdir
=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
52081 *) as_qdir
=$as_dir;;
52083 as_dirs
="'$as_qdir' $as_dirs"
52084 as_dir
=`$as_dirname -- "$as_dir" ||
52085 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
52086 X"$as_dir" : 'X\(//\)[^/]' \| \
52087 X"$as_dir" : 'X\(//\)$' \| \
52088 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
52090 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
52094 /^X\(\/\/\)[^/].*/{
52107 test -d "$as_dir" && break
52109 test -z "$as_dirs" || eval "mkdir $as_dirs"
52110 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
52111 echo "$as_me: error: cannot create directory $as_dir" >&2;}
52112 { (exit 1); exit 1; }; }; }
52116 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
52118 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
52119 # A ".." for each directory in $ac_dir_suffix.
52120 ac_top_builddir_sub
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
52121 case $ac_top_builddir_sub in
52122 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
52123 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
52126 ac_abs_top_builddir
=$ac_pwd
52127 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
52128 # for backward compatibility:
52129 ac_top_builddir
=$ac_top_build_prefix
52132 .
) # We are building in place.
52134 ac_top_srcdir
=$ac_top_builddir_sub
52135 ac_abs_top_srcdir
=$ac_pwd ;;
52136 [\\/]* | ?
:[\\/]* ) # Absolute name.
52137 ac_srcdir
=$srcdir$ac_dir_suffix;
52138 ac_top_srcdir
=$srcdir
52139 ac_abs_top_srcdir
=$srcdir ;;
52140 *) # Relative name.
52141 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
52142 ac_top_srcdir
=$ac_top_build_prefix$srcdir
52143 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
52145 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
52155 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
52156 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
52160 cat >>$CONFIG_STATUS <<\_ACEOF
52161 # If the template does not know about datarootdir, expand it.
52162 # FIXME: This hack should be removed a few years after 2.60.
52163 ac_datarootdir_hack
=; ac_datarootdir_seen
=
52165 case `sed -n '/datarootdir/ {
52174 ' $ac_file_inputs` in
52175 *datarootdir
*) ac_datarootdir_seen
=yes;;
52176 *@datadir@
*|*@docdir@
*|*@infodir@
*|*@localedir@
*|*@mandir@
*)
52177 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
52178 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
52180 cat >>$CONFIG_STATUS <<_ACEOF
52181 ac_datarootdir_hack='
52182 s&@datadir@&$datadir&g
52183 s&@docdir@&$docdir&g
52184 s&@infodir@&$infodir&g
52185 s&@localedir@&$localedir&g
52186 s&@mandir@&$mandir&g
52187 s&\\\${datarootdir}&$datarootdir&g' ;;
52191 # Neutralize VPATH when `$srcdir' = `.'.
52192 # Shell code in configure.ac might set extrasub.
52193 # FIXME: do we really want to maintain this feature?
52194 cat >>$CONFIG_STATUS <<_ACEOF
52198 cat >>$CONFIG_STATUS <<\_ACEOF
52200 /@
[a
-zA-Z_][a
-zA-Z_0-9]*@
/!b
52201 s
&@configure_input@
&$configure_input&;t t
52202 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
52203 s
&@srcdir@
&$ac_srcdir&;t t
52204 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
52205 s
&@top_srcdir@
&$ac_top_srcdir&;t t
52206 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
52207 s
&@builddir@
&$ac_builddir&;t t
52208 s
&@abs_builddir@
&$ac_abs_builddir&;t t
52209 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
52210 s
&@INSTALL@
&$ac_INSTALL&;t t
52211 $ac_datarootdir_hack
52212 " $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
52214 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
52215 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
52216 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
52217 { echo "$as_me:$LINENO: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
52218 which seems to be undefined. Please make sure it is defined." >&5
52219 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
52220 which seems to be undefined. Please make sure it is defined." >&2;}
52224 -) cat "$tmp/out"; rm -f "$tmp/out";;
52225 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
52234 # Transform confdefs.h into a sed script `conftest.defines', that
52235 # substitutes the proper values into config.h.in to produce config.h.
52236 rm -f conftest.defines conftest.
tail
52237 # First, append a space to every undef/define line, to ease matching.
52238 echo 's/$/ /' >conftest.defines
52239 # Then, protect against being on the right side of a sed subst, or in
52240 # an unquoted here document, in config.status. If some macros were
52241 # called several times there might be several #defines for the same
52242 # symbol, which is useless. But do not sort them, since the last
52243 # AC_DEFINE must be honored.
52244 ac_word_re
=[_
$as_cr_Letters][_
$as_cr_alnum]*
52245 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
52246 # NAME is the cpp macro being defined, VALUE is the value it is being given.
52247 # PARAMS is the parameter list in the macro definition--in most cases, it's
52248 # just an empty string.
52249 ac_dA
='s,^\\([ #]*\\)[^ ]*\\([ ]*'
52250 ac_dB
='\\)[ (].*,\\1define\\2'
52258 s/^[ ]*#[ ]*define[ ][ ]*//
52263 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
52264 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
52265 ' >>conftest.defines
52267 # Remove the space that was appended to ease matching.
52268 # Then replace #undef with comments. This is necessary, for
52269 # example, in the case of _POSIX_SOURCE, which is predefined and required
52270 # on some systems where configure will not decide to define it.
52271 # (The regexp can be short, since the line contains either #define or #undef.)
52273 s,^[ #]*u.*,/* & */,' >>conftest.defines
52275 # Break up conftest.defines:
52276 ac_max_sed_lines
=50
52278 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
52279 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
52280 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
52282 ac_in
='$ac_file_inputs'
52283 ac_out
='"$tmp/out1"'
52284 ac_nxt
='"$tmp/out2"'
52288 # Write a here document:
52289 cat >>$CONFIG_STATUS <<_ACEOF
52290 # First, check the format of the line:
52291 cat >"\$tmp/defines.sed" <<\\CEOF
52292 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
52293 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
52297 sed ${ac_max_sed_lines}q conftest.defines
>>$CONFIG_STATUS
52299 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
52300 ac_in
=$ac_out; ac_out
=$ac_nxt; ac_nxt
=$ac_in
52301 sed 1,${ac_max_sed_lines}d conftest.defines
>conftest.
tail
52302 grep . conftest.
tail >/dev
/null
|| break
52303 rm -f conftest.defines
52304 mv conftest.
tail conftest.defines
52306 rm -f conftest.defines conftest.
tail
52308 echo "ac_result=$ac_in" >>$CONFIG_STATUS
52309 cat >>$CONFIG_STATUS <<\_ACEOF
52310 if test x
"$ac_file" != x
-; then
52311 echo "/* $configure_input */" >"$tmp/config.h"
52312 cat "$ac_result" >>"$tmp/config.h"
52313 if diff $ac_file "$tmp/config.h" >/dev
/null
2>&1; then
52314 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
52315 echo "$as_me: $ac_file is unchanged" >&6;}
52318 mv "$tmp/config.h" $ac_file
52321 echo "/* $configure_input */"
52327 :C
) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
52328 echo "$as_me: executing $ac_file commands" >&6;}
52333 case $ac_file$ac_mode in
52335 mkdir -p $outdir &&
52336 $CPP $infile | sed 's/^# *[1-9].*//;s/^ *//;/./,/^$/!d' > $outdir/rcdefs.h
52338 "lib/wx/config/${TOOLCHAIN_FULLNAME}":F
) chmod +x lib
/wx
/config
/${TOOLCHAIN_FULLNAME} ;;
52339 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}":F
) chmod +x lib
/wx
/config
/inplace
-${TOOLCHAIN_FULLNAME} ;;
52340 "utils/ifacecheck/rungccxml.sh":F
) chmod +x utils
/ifacecheck
/rungccxml.sh
;;
52341 "wx-config":C
) rm -f wx
-config
52342 ${LN_S} lib
/wx
/config
/inplace
-${TOOLCHAIN_FULLNAME} wx
-config
52349 { (exit 0); exit 0; }
52351 chmod +x
$CONFIG_STATUS
52352 ac_clean_files
=$ac_clean_files_save
52355 # configure is writing to config.log, and then calls config.status.
52356 # config.status does its own redirection, appending to config.log.
52357 # Unfortunately, on DOS this fails, as config.log is still kept open
52358 # by configure, so config.status won't be able to write to it; its
52359 # output is simply discarded. So we exec the FD to /dev/null,
52360 # effectively closing config.log, so it can be properly (re)opened and
52361 # appended to by config.status. When coming back to configure, we
52362 # need to make the FD available again.
52363 if test "$no_create" != yes; then
52365 ac_config_status_args
=
52366 test "$silent" = yes &&
52367 ac_config_status_args
="$ac_config_status_args --quiet"
52369 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
52371 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
52372 # would make configure fail if this is the last instruction.
52373 $ac_cs_success || { (exit 1); exit 1; }
52377 # CONFIG_SUBDIRS section.
52379 if test "$no_recursion" != yes; then
52381 # Remove --cache-file and --srcdir arguments so they do not pile up.
52382 ac_sub_configure_args
=
52384 eval "set x $ac_configure_args"
52388 if test -n "$ac_prev"; then
52393 -cache-file | --cache-file | --cache-fil | --cache-fi \
52394 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
52395 ac_prev
=cache_file
;;
52396 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
52397 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
52400 --config-cache | -C)
52402 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
52404 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
52406 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
52408 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
52412 *\'*) ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
52414 ac_sub_configure_args
="$ac_sub_configure_args '$ac_arg'" ;;
52418 # Always prepend --prefix to ensure using the same prefix
52419 # in subdir configurations.
52420 ac_arg
="--prefix=$prefix"
52422 *\'*) ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
52424 ac_sub_configure_args
="'$ac_arg' $ac_sub_configure_args"
52427 if test "$silent" = yes; then
52428 ac_sub_configure_args
="--silent $ac_sub_configure_args"
52432 for ac_dir
in : $subdirs; do test "x$ac_dir" = x
: && continue
52434 # Do not complain, so a configure script can configure whichever
52435 # parts of a large source tree are present.
52436 test -d "$srcdir/$ac_dir" || continue
52438 ac_msg
="=== configuring in $ac_dir (`pwd`/$ac_dir)"
52439 echo "$as_me:$LINENO: $ac_msg" >&5
52443 -*) as_dir
=.
/$as_dir;;
52445 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
52449 *\'*) as_qdir
=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
52450 *) as_qdir
=$as_dir;;
52452 as_dirs
="'$as_qdir' $as_dirs"
52453 as_dir
=`$as_dirname -- "$as_dir" ||
52454 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
52455 X"$as_dir" : 'X\(//\)[^/]' \| \
52456 X"$as_dir" : 'X\(//\)$' \| \
52457 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
52459 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
52463 /^X\(\/\/\)[^/].*/{
52476 test -d "$as_dir" && break
52478 test -z "$as_dirs" || eval "mkdir $as_dirs"
52479 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
52480 echo "$as_me: error: cannot create directory $as_dir" >&2;}
52481 { (exit 1); exit 1; }; }; }
52485 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
52487 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
52488 # A ".." for each directory in $ac_dir_suffix.
52489 ac_top_builddir_sub
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
52490 case $ac_top_builddir_sub in
52491 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
52492 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
52495 ac_abs_top_builddir
=$ac_pwd
52496 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
52497 # for backward compatibility:
52498 ac_top_builddir
=$ac_top_build_prefix
52501 .
) # We are building in place.
52503 ac_top_srcdir
=$ac_top_builddir_sub
52504 ac_abs_top_srcdir
=$ac_pwd ;;
52505 [\\/]* | ?
:[\\/]* ) # Absolute name.
52506 ac_srcdir
=$srcdir$ac_dir_suffix;
52507 ac_top_srcdir
=$srcdir
52508 ac_abs_top_srcdir
=$srcdir ;;
52509 *) # Relative name.
52510 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
52511 ac_top_srcdir
=$ac_top_build_prefix$srcdir
52512 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
52514 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
52519 # Check for guested configure; otherwise get Cygnus style configure.
52520 if test -f "$ac_srcdir/configure.gnu"; then
52521 ac_sub_configure
=$ac_srcdir/configure.gnu
52522 elif test -f "$ac_srcdir/configure"; then
52523 ac_sub_configure
=$ac_srcdir/configure
52524 elif test -f "$ac_srcdir/configure.in"; then
52525 # This should be Cygnus configure.
52526 ac_sub_configure
=$ac_aux_dir/configure
52528 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
52529 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
52533 # The recursion is here.
52534 if test -n "$ac_sub_configure"; then
52535 # Make the cache file name correct relative to the subdirectory.
52536 case $cache_file in
52537 [\\/]* | ?
:[\\/]* ) ac_sub_cache_file
=$cache_file ;;
52538 *) # Relative name.
52539 ac_sub_cache_file
=$ac_top_build_prefix$cache_file ;;
52542 { echo "$as_me:$LINENO: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
52543 echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
52544 # The eval makes quoting arguments work.
52545 eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
52546 --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
52547 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
52548 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
52549 { (exit 1); exit 1; }; }
52558 echo "Configured wxWidgets ${WX_VERSION} for \`${host}'"
52560 echo " Which GUI toolkit should wxWidgets use? ${TOOLKIT_DESC}"
52561 echo " Should wxWidgets be compiled into single library? ${wxUSE_MONOLITHIC:-yes}"
52563 echo " Should wxWidgets be compiled in debug mode? ${wxUSE_DEBUG:-no}"
52564 echo " Should wxWidgets be linked as a shared library? ${wxUSE_SHARED:-no}"
52565 echo $ECHO_N " Should wxWidgets support Unicode? ${wxUSE_UNICODE:-no}$ECHO_C"
52566 if test "$wxUSE_UNICODE" = "yes"; then
52567 if test "$wxUSE_UNICODE_UTF8" = "yes"; then
52568 echo " (using UTF-8)"
52570 echo " (using wchar_t)"
52576 echo " What level of wxWidgets compatibility should be enabled?"
52577 echo " wxWidgets 2.6 ${WXWIN_COMPATIBILITY_2_6:-no}"
52578 echo " wxWidgets 2.8 ${WXWIN_COMPATIBILITY_2_8:-yes}"
52580 echo " Which libraries should wxWidgets use?"
52581 echo " STL ${wxUSE_STL}"
52582 echo " jpeg ${wxUSE_LIBJPEG-none}"
52583 echo " png ${wxUSE_LIBPNG-none}"
52584 echo " regex ${wxUSE_REGEX}"
52585 echo " tiff ${wxUSE_LIBTIFF-none}"
52586 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
52587 echo " xpm ${wxUSE_LIBXPM-none}"
52589 echo " zlib ${wxUSE_ZLIB}"
52590 echo " expat ${wxUSE_EXPAT}"
52591 echo " libmspack ${wxUSE_LIBMSPACK}"
52592 echo " sdl ${wxUSE_LIBSDL}"